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>
81 lines
2.4 KiB
Text
81 lines
2.4 KiB
Text
// File generated from our OpenAPI spec
|
|
|
|
declare module 'stripe' {
|
|
namespace Stripe {
|
|
namespace Climate {
|
|
/**
|
|
* A Climate product represents a type of carbon removal unit available for reservation.
|
|
* You can retrieve it to see the current price and availability.
|
|
*/
|
|
interface Product {
|
|
/**
|
|
* Unique identifier for the object. For convenience, Climate product IDs are human-readable strings
|
|
* that start with `climsku_`. See [carbon removal inventory](https://stripe.com/docs/climate/orders/carbon-removal-inventory)
|
|
* for a list of available carbon removal products.
|
|
*/
|
|
id: string;
|
|
|
|
/**
|
|
* String representing the object's type. Objects of the same type share the same value.
|
|
*/
|
|
object: 'climate.product';
|
|
|
|
/**
|
|
* Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
*/
|
|
created: number;
|
|
|
|
/**
|
|
* Current prices for a metric ton of carbon removal in a currency's smallest unit.
|
|
*/
|
|
current_prices_per_metric_ton: {
|
|
[key: string]: Product.CurrentPricesPerMetricTon;
|
|
};
|
|
|
|
/**
|
|
* The year in which the carbon removal is expected to be delivered.
|
|
*/
|
|
delivery_year: number | null;
|
|
|
|
/**
|
|
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
*/
|
|
livemode: boolean;
|
|
|
|
/**
|
|
* The quantity of metric tons available for reservation.
|
|
*/
|
|
metric_tons_available: string;
|
|
|
|
/**
|
|
* The Climate product's name.
|
|
*/
|
|
name: string;
|
|
|
|
/**
|
|
* The carbon removal suppliers that fulfill orders for this Climate product.
|
|
*/
|
|
suppliers: Array<Stripe.Climate.Supplier>;
|
|
}
|
|
|
|
namespace Product {
|
|
interface CurrentPricesPerMetricTon {
|
|
/**
|
|
* Fees for one metric ton of carbon removal in the currency's smallest unit.
|
|
*/
|
|
amount_fees: number;
|
|
|
|
/**
|
|
* Subtotal for one metric ton of carbon removal (excluding fees) in the currency's smallest unit.
|
|
*/
|
|
amount_subtotal: number;
|
|
|
|
/**
|
|
* Total for one metric ton of carbon removal (including fees) in the currency's smallest unit.
|
|
*/
|
|
amount_total: number;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|