Initial project import

This commit is contained in:
drjones
2026-06-13 17:36:44 -07:00
commit ad2a18cc8d
18471 changed files with 4497570 additions and 0 deletions

265
node_modules/stripe/esm/resources/Climate/Orders.d.ts generated vendored Normal file
View File

@@ -0,0 +1,265 @@
import { StripeResource } from '../../StripeResource.js';
import { Product } from './Products.js';
import { Supplier } from './Suppliers.js';
import { MetadataParam, Decimal, Emptyable, PaginationParams, Metadata } from '../../shared.js';
import { RequestOptions, ApiListPromise, Response } from '../../lib.js';
export declare class OrderResource extends StripeResource {
/**
* Lists all Climate order objects. The orders are returned sorted by creation date, with the
* most recently created orders appearing first.
*/
list(params?: Climate.OrderListParams, options?: RequestOptions): ApiListPromise<Order>;
/**
* Creates a Climate order object for a given Climate product. The order will be processed immediately
* after creation and payment will be deducted your Stripe balance.
*/
create(params: Climate.OrderCreateParams, options?: RequestOptions): Promise<Response<Order>>;
/**
* Retrieves the details of a Climate order object with the given ID.
*/
retrieve(id: string, params?: Climate.OrderRetrieveParams, options?: RequestOptions): Promise<Response<Order>>;
/**
* Updates the specified order by setting the values of the parameters passed.
*/
update(id: string, params?: Climate.OrderUpdateParams, options?: RequestOptions): Promise<Response<Order>>;
/**
* Cancels a Climate order. You can cancel an order within 24 hours of creation. Stripe refunds the
* reservation amount_subtotal, but not the amount_fees for user-triggered cancellations. Frontier
* might cancel reservations if suppliers fail to deliver. If Frontier cancels the reservation, Stripe
* provides 90 days advance notice and refunds the amount_total.
*/
cancel(id: string, params?: Climate.OrderCancelParams, options?: RequestOptions): Promise<Response<Order>>;
}
export interface Order {
/**
* Unique identifier for the object.
*/
id: string;
/**
* String representing the object's type. Objects of the same type share the same value.
*/
object: 'climate.order';
/**
* Total amount of [Frontier](https://frontierclimate.com/)'s service fees in the currency's smallest unit.
*/
amount_fees: number;
/**
* Total amount of the carbon removal in the currency's smallest unit.
*/
amount_subtotal: number;
/**
* Total amount of the order including fees in the currency's smallest unit.
*/
amount_total: number;
beneficiary?: Climate.Order.Beneficiary;
/**
* Time at which the order was canceled. Measured in seconds since the Unix epoch.
*/
canceled_at: number | null;
/**
* Reason for the cancellation of this order.
*/
cancellation_reason: Climate.Order.CancellationReason | null;
/**
* For delivered orders, a URL to a delivery certificate for the order.
*/
certificate: string | null;
/**
* Time at which the order was confirmed. Measured in seconds since the Unix epoch.
*/
confirmed_at: number | null;
/**
* Time at which the object was created. Measured in seconds since the Unix epoch.
*/
created: number;
/**
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase, representing the currency for this order.
*/
currency: string;
/**
* Time at which the order's expected_delivery_year was delayed. Measured in seconds since the Unix epoch.
*/
delayed_at: number | null;
/**
* Time at which the order was delivered. Measured in seconds since the Unix epoch.
*/
delivered_at: number | null;
/**
* Details about the delivery of carbon removal for this order.
*/
delivery_details: Array<Climate.Order.DeliveryDetail>;
/**
* The year this order is expected to be delivered.
*/
expected_delivery_year: number;
/**
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
*/
livemode: boolean;
/**
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
*/
metadata: Metadata;
/**
* Quantity of carbon removal that is included in this order.
*/
metric_tons: Decimal;
/**
* Unique ID for the Climate `Product` this order is purchasing.
*/
product: string | Product;
/**
* Time at which the order's product was substituted for a different product. Measured in seconds since the Unix epoch.
*/
product_substituted_at: number | null;
/**
* The current status of this order.
*/
status: Climate.Order.Status;
}
export declare namespace Climate {
namespace Order {
interface Beneficiary {
/**
* Publicly displayable name for the end beneficiary of carbon removal.
*/
public_name: string;
}
type CancellationReason = 'expired' | 'product_unavailable' | 'requested';
interface DeliveryDetail {
/**
* Time at which the delivery occurred. Measured in seconds since the Unix epoch.
*/
delivered_at: number;
/**
* Specific location of this delivery.
*/
location: DeliveryDetail.Location | null;
/**
* Quantity of carbon removal supplied by this delivery.
*/
metric_tons: string;
/**
* Once retired, a URL to the registry entry for the tons from this delivery.
*/
registry_url: string | null;
/**
* A supplier of carbon removal.
*/
supplier: Supplier;
}
type Status = 'awaiting_funds' | 'canceled' | 'confirmed' | 'delivered' | 'open';
namespace DeliveryDetail {
interface Location {
/**
* The city where the supplier is located.
*/
city: string | null;
/**
* Two-letter ISO code representing the country where the supplier is located.
*/
country: string;
/**
* The geographic latitude where the supplier is located.
*/
latitude: number | null;
/**
* The geographic longitude where the supplier is located.
*/
longitude: number | null;
/**
* The state/county/province/region where the supplier is located.
*/
region: string | null;
}
}
}
}
export declare namespace Climate {
interface OrderCreateParams {
/**
* Unique identifier of the Climate product.
*/
product: string;
/**
* Requested amount of carbon removal units. Either this or `metric_tons` must be specified.
*/
amount?: number;
/**
* Publicly sharable reference for the end beneficiary of carbon removal. Assumed to be the Stripe account if not set.
*/
beneficiary?: OrderCreateParams.Beneficiary;
/**
* Request currency for the order as a three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a supported [settlement currency for your account](https://stripe.com/docs/currencies). If omitted, the account's default currency will be used.
*/
currency?: string;
/**
* Specifies which fields in the response should be expanded.
*/
expand?: Array<string>;
/**
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
*/
metadata?: MetadataParam;
/**
* Requested number of tons for the order. Either this or `amount` must be specified.
*/
metric_tons?: Decimal;
}
namespace OrderCreateParams {
interface Beneficiary {
/**
* Publicly displayable name for the end beneficiary of carbon removal.
*/
public_name: string;
}
}
}
export declare namespace Climate {
interface OrderRetrieveParams {
/**
* Specifies which fields in the response should be expanded.
*/
expand?: Array<string>;
}
}
export declare namespace Climate {
interface OrderUpdateParams {
/**
* Publicly sharable reference for the end beneficiary of carbon removal. Assumed to be the Stripe account if not set.
*/
beneficiary?: Emptyable<OrderUpdateParams.Beneficiary>;
/**
* Specifies which fields in the response should be expanded.
*/
expand?: Array<string>;
/**
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
*/
metadata?: MetadataParam;
}
namespace OrderUpdateParams {
interface Beneficiary {
/**
* Publicly displayable name for the end beneficiary of carbon removal.
*/
public_name: Emptyable<string>;
}
}
}
export declare namespace Climate {
interface OrderListParams extends PaginationParams {
/**
* Specifies which fields in the response should be expanded.
*/
expand?: Array<string>;
}
}
export declare namespace Climate {
interface OrderCancelParams {
/**
* Specifies which fields in the response should be expanded.
*/
expand?: Array<string>;
}
}

78
node_modules/stripe/esm/resources/Climate/Orders.js generated vendored Normal file
View File

@@ -0,0 +1,78 @@
// File generated from our OpenAPI spec
import { StripeResource } from '../../StripeResource.js';
export class OrderResource extends StripeResource {
/**
* Lists all Climate order objects. The orders are returned sorted by creation date, with the
* most recently created orders appearing first.
*/
list(params, options) {
return this._makeRequest('GET', '/v1/climate/orders', params, options, {
methodType: 'list',
responseSchema: {
kind: 'object',
fields: {
data: {
kind: 'array',
element: {
kind: 'object',
fields: { metric_tons: { kind: 'decimal_string' } },
},
},
},
},
});
}
/**
* Creates a Climate order object for a given Climate product. The order will be processed immediately
* after creation and payment will be deducted your Stripe balance.
*/
create(params, options) {
return this._makeRequest('POST', '/v1/climate/orders', params, options, {
requestSchema: {
kind: 'object',
fields: { metric_tons: { kind: 'decimal_string' } },
},
responseSchema: {
kind: 'object',
fields: { metric_tons: { kind: 'decimal_string' } },
},
});
}
/**
* Retrieves the details of a Climate order object with the given ID.
*/
retrieve(id, params, options) {
return this._makeRequest('GET', `/v1/climate/orders/${encodeURIComponent(id)}`, params, options, {
responseSchema: {
kind: 'object',
fields: { metric_tons: { kind: 'decimal_string' } },
},
});
}
/**
* Updates the specified order by setting the values of the parameters passed.
*/
update(id, params, options) {
return this._makeRequest('POST', `/v1/climate/orders/${encodeURIComponent(id)}`, params, options, {
responseSchema: {
kind: 'object',
fields: { metric_tons: { kind: 'decimal_string' } },
},
});
}
/**
* Cancels a Climate order. You can cancel an order within 24 hours of creation. Stripe refunds the
* reservation amount_subtotal, but not the amount_fees for user-triggered cancellations. Frontier
* might cancel reservations if suppliers fail to deliver. If Frontier cancels the reservation, Stripe
* provides 90 days advance notice and refunds the amount_total.
*/
cancel(id, params, options) {
return this._makeRequest('POST', `/v1/climate/orders/${encodeURIComponent(id)}/cancel`, params, options, {
responseSchema: {
kind: 'object',
fields: { metric_tons: { kind: 'decimal_string' } },
},
});
}
}
//# sourceMappingURL=Orders.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"Orders.js","sourceRoot":"","sources":["../../../src/resources/Climate/Orders.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAEvC,OAAO,EAAC,cAAc,EAAC,MAAM,yBAAyB,CAAC;AAYvD,MAAM,OAAO,aAAc,SAAQ,cAAc;IAC/C;;;OAGG;IACH,IAAI,CACF,MAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,oBAAoB,EAAE,MAAM,EAAE,OAAO,EAAE;YACrE,UAAU,EAAE,MAAM;YAClB,cAAc,EAAE;gBACd,IAAI,EAAE,QAAQ;gBACd,MAAM,EAAE;oBACN,IAAI,EAAE;wBACJ,IAAI,EAAE,OAAO;wBACb,OAAO,EAAE;4BACP,IAAI,EAAE,QAAQ;4BACd,MAAM,EAAE,EAAC,WAAW,EAAE,EAAC,IAAI,EAAE,gBAAgB,EAAC,EAAC;yBAChD;qBACF;iBACF;aACF;SACF,CAAQ,CAAC;IACZ,CAAC;IACD;;;OAGG;IACH,MAAM,CACJ,MAAiC,EACjC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE,oBAAoB,EAAE,MAAM,EAAE,OAAO,EAAE;YACtE,aAAa,EAAE;gBACb,IAAI,EAAE,QAAQ;gBACd,MAAM,EAAE,EAAC,WAAW,EAAE,EAAC,IAAI,EAAE,gBAAgB,EAAC,EAAC;aAChD;YACD,cAAc,EAAE;gBACd,IAAI,EAAE,QAAQ;gBACd,MAAM,EAAE,EAAC,WAAW,EAAE,EAAC,IAAI,EAAE,gBAAgB,EAAC,EAAC;aAChD;SACF,CAAQ,CAAC;IACZ,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAoC,EACpC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,sBAAsB,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAC9C,MAAM,EACN,OAAO,EACP;YACE,cAAc,EAAE;gBACd,IAAI,EAAE,QAAQ;gBACd,MAAM,EAAE,EAAC,WAAW,EAAE,EAAC,IAAI,EAAE,gBAAgB,EAAC,EAAC;aAChD;SACF,CACK,CAAC;IACX,CAAC;IACD;;OAEG;IACH,MAAM,CACJ,EAAU,EACV,MAAkC,EAClC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,sBAAsB,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAC9C,MAAM,EACN,OAAO,EACP;YACE,cAAc,EAAE;gBACd,IAAI,EAAE,QAAQ;gBACd,MAAM,EAAE,EAAC,WAAW,EAAE,EAAC,IAAI,EAAE,gBAAgB,EAAC,EAAC;aAChD;SACF,CACK,CAAC;IACX,CAAC;IACD;;;;;OAKG;IACH,MAAM,CACJ,EAAU,EACV,MAAkC,EAClC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,sBAAsB,kBAAkB,CAAC,EAAE,CAAC,SAAS,EACrD,MAAM,EACN,OAAO,EACP;YACE,cAAc,EAAE;gBACd,IAAI,EAAE,QAAQ;gBACd,MAAM,EAAE,EAAC,WAAW,EAAE,EAAC,IAAI,EAAE,gBAAgB,EAAC,EAAC;aAChD;SACF,CACK,CAAC;IACX,CAAC;CACF"}

View File

@@ -0,0 +1,90 @@
import { StripeResource } from '../../StripeResource.js';
import { Supplier } from './Suppliers.js';
import { PaginationParams, Decimal } from '../../shared.js';
import { RequestOptions, ApiListPromise, Response } from '../../lib.js';
export declare class ProductResource extends StripeResource {
/**
* Lists all available Climate product objects.
*/
list(params?: Climate.ProductListParams, options?: RequestOptions): ApiListPromise<Product>;
/**
* Retrieves the details of a Climate product with the given ID.
*/
retrieve(id: string, params?: Climate.ProductRetrieveParams, options?: RequestOptions): Promise<Response<Product>>;
}
export 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]: Climate.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: Decimal;
/**
* The Climate product's name.
*/
name: string;
/**
* The carbon removal suppliers that fulfill orders for this Climate product.
*/
suppliers: Array<Supplier>;
}
export declare namespace Climate {
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;
}
}
}
export declare namespace Climate {
interface ProductRetrieveParams {
/**
* Specifies which fields in the response should be expanded.
*/
expand?: Array<string>;
}
}
export declare namespace Climate {
interface ProductListParams extends PaginationParams {
/**
* Specifies which fields in the response should be expanded.
*/
expand?: Array<string>;
}
}

36
node_modules/stripe/esm/resources/Climate/Products.js generated vendored Normal file
View File

@@ -0,0 +1,36 @@
// File generated from our OpenAPI spec
import { StripeResource } from '../../StripeResource.js';
export class ProductResource extends StripeResource {
/**
* Lists all available Climate product objects.
*/
list(params, options) {
return this._makeRequest('GET', '/v1/climate/products', params, options, {
methodType: 'list',
responseSchema: {
kind: 'object',
fields: {
data: {
kind: 'array',
element: {
kind: 'object',
fields: { metric_tons_available: { kind: 'decimal_string' } },
},
},
},
},
});
}
/**
* Retrieves the details of a Climate product with the given ID.
*/
retrieve(id, params, options) {
return this._makeRequest('GET', `/v1/climate/products/${encodeURIComponent(id)}`, params, options, {
responseSchema: {
kind: 'object',
fields: { metric_tons_available: { kind: 'decimal_string' } },
},
});
}
}
//# sourceMappingURL=Products.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"Products.js","sourceRoot":"","sources":["../../../src/resources/Climate/Products.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAEvC,OAAO,EAAC,cAAc,EAAC,MAAM,yBAAyB,CAAC;AAKvD,MAAM,OAAO,eAAgB,SAAQ,cAAc;IACjD;;OAEG;IACH,IAAI,CACF,MAAkC,EAClC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,sBAAsB,EAAE,MAAM,EAAE,OAAO,EAAE;YACvE,UAAU,EAAE,MAAM;YAClB,cAAc,EAAE;gBACd,IAAI,EAAE,QAAQ;gBACd,MAAM,EAAE;oBACN,IAAI,EAAE;wBACJ,IAAI,EAAE,OAAO;wBACb,OAAO,EAAE;4BACP,IAAI,EAAE,QAAQ;4BACd,MAAM,EAAE,EAAC,qBAAqB,EAAE,EAAC,IAAI,EAAE,gBAAgB,EAAC,EAAC;yBAC1D;qBACF;iBACF;aACF;SACF,CAAQ,CAAC;IACZ,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAsC,EACtC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,wBAAwB,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAChD,MAAM,EACN,OAAO,EACP;YACE,cAAc,EAAE;gBACd,IAAI,EAAE,QAAQ;gBACd,MAAM,EAAE,EAAC,qBAAqB,EAAE,EAAC,IAAI,EAAE,gBAAgB,EAAC,EAAC;aAC1D;SACF,CACK,CAAC;IACX,CAAC;CACF"}

View File

@@ -0,0 +1,86 @@
import { StripeResource } from '../../StripeResource.js';
import { PaginationParams } from '../../shared.js';
import { RequestOptions, ApiListPromise, Response } from '../../lib.js';
export declare class SupplierResource extends StripeResource {
/**
* Lists all available Climate supplier objects.
*/
list(params?: Climate.SupplierListParams, options?: RequestOptions): ApiListPromise<Supplier>;
/**
* Retrieves a Climate supplier object.
*/
retrieve(id: string, params?: Climate.SupplierRetrieveParams, options?: RequestOptions): Promise<Response<Supplier>>;
}
export interface Supplier {
/**
* Unique identifier for the object.
*/
id: string;
/**
* String representing the object's type. Objects of the same type share the same value.
*/
object: 'climate.supplier';
/**
* Link to a webpage to learn more about the supplier.
*/
info_url: string;
/**
* 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 locations in which this supplier operates.
*/
locations: Array<Climate.Supplier.Location>;
/**
* Name of this carbon removal supplier.
*/
name: string;
/**
* The scientific pathway used for carbon removal.
*/
removal_pathway: Climate.Supplier.RemovalPathway;
}
export declare namespace Climate {
namespace Supplier {
interface Location {
/**
* The city where the supplier is located.
*/
city: string | null;
/**
* Two-letter ISO code representing the country where the supplier is located.
*/
country: string;
/**
* The geographic latitude where the supplier is located.
*/
latitude: number | null;
/**
* The geographic longitude where the supplier is located.
*/
longitude: number | null;
/**
* The state/county/province/region where the supplier is located.
*/
region: string | null;
}
type RemovalPathway = 'biomass_carbon_removal_and_storage' | 'direct_air_capture' | 'enhanced_weathering' | 'marine_carbon_removal';
}
}
export declare namespace Climate {
interface SupplierRetrieveParams {
/**
* Specifies which fields in the response should be expanded.
*/
expand?: Array<string>;
}
}
export declare namespace Climate {
interface SupplierListParams extends PaginationParams {
/**
* Specifies which fields in the response should be expanded.
*/
expand?: Array<string>;
}
}

19
node_modules/stripe/esm/resources/Climate/Suppliers.js generated vendored Normal file
View File

@@ -0,0 +1,19 @@
// File generated from our OpenAPI spec
import { StripeResource } from '../../StripeResource.js';
export class SupplierResource extends StripeResource {
/**
* Lists all available Climate supplier objects.
*/
list(params, options) {
return this._makeRequest('GET', '/v1/climate/suppliers', params, options, {
methodType: 'list',
});
}
/**
* Retrieves a Climate supplier object.
*/
retrieve(id, params, options) {
return this._makeRequest('GET', `/v1/climate/suppliers/${encodeURIComponent(id)}`, params, options);
}
}
//# sourceMappingURL=Suppliers.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"Suppliers.js","sourceRoot":"","sources":["../../../src/resources/Climate/Suppliers.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAEvC,OAAO,EAAC,cAAc,EAAC,MAAM,yBAAyB,CAAC;AAIvD,MAAM,OAAO,gBAAiB,SAAQ,cAAc;IAClD;;OAEG;IACH,IAAI,CACF,MAAmC,EACnC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,uBAAuB,EAAE,MAAM,EAAE,OAAO,EAAE;YACxE,UAAU,EAAE,MAAM;SACnB,CAAQ,CAAC;IACZ,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAuC,EACvC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,yBAAyB,kBAAkB,CAAC,EAAE,CAAC,EAAE,EACjD,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF"}

28
node_modules/stripe/esm/resources/Climate/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,28 @@
import { Stripe } from '../../stripe.core.js';
import { Climate as ClimateNamespace0, Order, OrderResource } from './Orders.js';
import { Climate as ClimateNamespace1, Product, ProductResource } from './Products.js';
import { Climate as ClimateNamespace2, Supplier, SupplierResource } from './Suppliers.js';
export { Order } from './Orders.js';
export { Product } from './Products.js';
export { Supplier } from './Suppliers.js';
export declare class Climate {
private readonly stripe;
orders: OrderResource;
products: ProductResource;
suppliers: SupplierResource;
constructor(stripe: Stripe);
}
export declare namespace Climate {
export import OrderListParams = ClimateNamespace0.OrderListParams;
export import OrderCreateParams = ClimateNamespace0.OrderCreateParams;
export import OrderRetrieveParams = ClimateNamespace0.OrderRetrieveParams;
export import OrderUpdateParams = ClimateNamespace0.OrderUpdateParams;
export import OrderCancelParams = ClimateNamespace0.OrderCancelParams;
export { Order };
export import ProductListParams = ClimateNamespace1.ProductListParams;
export import ProductRetrieveParams = ClimateNamespace1.ProductRetrieveParams;
export { Product };
export import SupplierListParams = ClimateNamespace2.SupplierListParams;
export import SupplierRetrieveParams = ClimateNamespace2.SupplierRetrieveParams;
export { Supplier };
}

13
node_modules/stripe/esm/resources/Climate/index.js generated vendored Normal file
View File

@@ -0,0 +1,13 @@
// File generated from our OpenAPI spec
import { OrderResource } from './Orders.js';
import { ProductResource, } from './Products.js';
import { SupplierResource, } from './Suppliers.js';
export class Climate {
constructor(stripe) {
this.stripe = stripe;
this.orders = new OrderResource(stripe);
this.products = new ProductResource(stripe);
this.suppliers = new SupplierResource(stripe);
}
}
//# sourceMappingURL=index.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/Climate/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAGvC,OAAO,EAAsC,aAAa,EAAC,MAAM,aAAa,CAAC;AAC/E,OAAO,EAGL,eAAe,GAChB,MAAM,eAAe,CAAC;AACvB,OAAO,EAGL,gBAAgB,GACjB,MAAM,gBAAgB,CAAC;AAMxB,MAAM,OAAO,OAAO;IAKlB,YAA6B,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;QACzC,IAAI,CAAC,MAAM,GAAG,IAAI,aAAa,CAAC,MAAM,CAAC,CAAC;QACxC,IAAI,CAAC,QAAQ,GAAG,IAAI,eAAe,CAAC,MAAM,CAAC,CAAC;QAC5C,IAAI,CAAC,SAAS,GAAG,IAAI,gBAAgB,CAAC,MAAM,CAAC,CAAC;IAChD,CAAC;CACF"}