Rocky_Mountain_Vending/.pnpm-store/v10/files/0c/78906f4ebdf0785e9fe6703e17e513f36323199ce40b4580c6a00630a6491af13398093573d26877618d91d4c5333353f6f727cc1e3c3200871c75e03eb988
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

147 lines
5.6 KiB
Text

// File generated from our OpenAPI spec
declare module 'stripe' {
namespace Stripe {
/**
* The DeletedDiscount object.
*/
interface DeletedDiscount {
/**
* The ID of the discount object. Discounts cannot be fetched by ID. Use `expand[]=discounts` in API calls to expand discount IDs in an array.
*/
id: string;
/**
* String representing the object's type. Objects of the same type share the same value.
*/
object: 'discount';
/**
* The Checkout session that this coupon is applied to, if it is applied to a particular session in payment mode. Will not be present for subscription mode.
*/
checkout_session: string | null;
/**
* A coupon contains information about a percent-off or amount-off discount you
* might want to apply to a customer. Coupons may be applied to [subscriptions](https://stripe.com/docs/api#subscriptions), [invoices](https://stripe.com/docs/api#invoices),
* [checkout sessions](https://stripe.com/docs/api/checkout/sessions), [quotes](https://stripe.com/docs/api#quotes), and more. Coupons do not work with conventional one-off [charges](https://stripe.com/docs/api#create_charge) or [payment intents](https://stripe.com/docs/api/payment_intents).
*/
coupon: Stripe.Coupon;
/**
* The ID of the customer associated with this discount.
*/
customer: string | Stripe.Customer | Stripe.DeletedCustomer | null;
/**
* Always true for a deleted object
*/
deleted: true;
/**
* The invoice that the discount's coupon was applied to, if it was applied directly to a particular invoice.
*/
invoice: string | null;
/**
* The invoice item `id` (or invoice line item `id` for invoice line items of type='subscription') that the discount's coupon was applied to, if it was applied directly to a particular invoice item or invoice line item.
*/
invoice_item: string | null;
/**
* The promotion code applied to create this discount.
*/
promotion_code: string | Stripe.PromotionCode | null;
/**
* Date that the coupon was applied.
*/
start: number;
/**
* The subscription that this coupon is applied to, if it is applied to a particular subscription.
*/
subscription: string | null;
/**
* The subscription item that this coupon is applied to, if it is applied to a particular subscription item.
*/
subscription_item: string | null;
}
/**
* A discount represents the actual application of a [coupon](https://stripe.com/docs/api#coupons) or [promotion code](https://stripe.com/docs/api#promotion_codes).
* It contains information about when the discount began, when it will end, and what it is applied to.
*
* Related guide: [Applying discounts to subscriptions](https://stripe.com/docs/billing/subscriptions/discounts)
*/
interface Discount {
/**
* The ID of the discount object. Discounts cannot be fetched by ID. Use `expand[]=discounts` in API calls to expand discount IDs in an array.
*/
id: string;
/**
* String representing the object's type. Objects of the same type share the same value.
*/
object: 'discount';
/**
* The Checkout session that this coupon is applied to, if it is applied to a particular session in payment mode. Will not be present for subscription mode.
*/
checkout_session: string | null;
/**
* A coupon contains information about a percent-off or amount-off discount you
* might want to apply to a customer. Coupons may be applied to [subscriptions](https://stripe.com/docs/api#subscriptions), [invoices](https://stripe.com/docs/api#invoices),
* [checkout sessions](https://stripe.com/docs/api/checkout/sessions), [quotes](https://stripe.com/docs/api#quotes), and more. Coupons do not work with conventional one-off [charges](https://stripe.com/docs/api#create_charge) or [payment intents](https://stripe.com/docs/api/payment_intents).
*/
coupon: Stripe.Coupon;
/**
* The ID of the customer associated with this discount.
*/
customer: string | Stripe.Customer | Stripe.DeletedCustomer | null;
/**
* Always true for a deleted object
*/
deleted?: void;
/**
* If the coupon has a duration of `repeating`, the date that this discount will end. If the coupon has a duration of `once` or `forever`, this attribute will be null.
*/
end: number | null;
/**
* The invoice that the discount's coupon was applied to, if it was applied directly to a particular invoice.
*/
invoice: string | null;
/**
* The invoice item `id` (or invoice line item `id` for invoice line items of type='subscription') that the discount's coupon was applied to, if it was applied directly to a particular invoice item or invoice line item.
*/
invoice_item: string | null;
/**
* The promotion code applied to create this discount.
*/
promotion_code: string | Stripe.PromotionCode | null;
/**
* Date that the coupon was applied.
*/
start: number;
/**
* The subscription that this coupon is applied to, if it is applied to a particular subscription.
*/
subscription: string | null;
/**
* The subscription item that this coupon is applied to, if it is applied to a particular subscription item.
*/
subscription_item: string | null;
}
}
}