stripe 19.2.0-alpha.1 → 19.2.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -106
- package/OPENAPI_VERSION +1 -1
- package/VERSION +1 -1
- package/cjs/resources.js +0 -30
- package/cjs/stripe.core.js +1 -1
- package/esm/resources.js +0 -30
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/Billing/AlertTriggereds.d.ts +0 -15
- package/types/Billing/Alerts.d.ts +1 -116
- package/types/Billing/AlertsResource.d.ts +2 -149
- package/types/Billing/CreditBalanceSummary.d.ts +2 -118
- package/types/Billing/CreditBalanceSummaryResource.d.ts +0 -12
- package/types/Billing/CreditBalanceTransactions.d.ts +2 -118
- package/types/Billing/CreditGrants.d.ts +1 -71
- package/types/Billing/CreditGrantsResource.d.ts +1 -32
- package/types/Checkout/Sessions.d.ts +0 -58
- package/types/Checkout/SessionsResource.d.ts +0 -50
- package/types/CreditNotes.d.ts +0 -26
- package/types/CreditNotesResource.d.ts +0 -78
- package/types/InvoiceItems.d.ts +2 -104
- package/types/InvoiceLineItems.d.ts +2 -113
- package/types/InvoicesResource.d.ts +0 -5
- package/types/V2/Billing/Cadences.d.ts +0 -45
- package/types/V2/Billing/CadencesResource.d.ts +3 -32
- package/types/V2/Core/Accounts.d.ts +0 -59
- package/types/V2/Core/AccountsResource.d.ts +0 -24
- package/types/V2/Core/EventTypes.d.ts +375 -7180
- package/types/V2/Core/Events.d.ts +0 -12
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +0 -14
- package/types/V2/MoneyManagement/OutboundPayments.d.ts +0 -5
- package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +0 -5
- package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +0 -34
- package/types/V2/MoneyManagement/OutboundTransfers.d.ts +0 -5
- package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +0 -5
- package/types/V2/MoneyManagement/PayoutMethods.d.ts +0 -41
- package/types/V2/MoneyManagement/ReceivedDebits.d.ts +0 -5
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +1 -6
- package/types/Webhooks.d.ts +0 -2
- package/types/index.d.ts +0 -58
- package/cjs/resources/V2/Billing/CustomPricingUnits.js +0 -25
- package/cjs/resources/V2/Billing/Intents/Actions.js +0 -17
- package/cjs/resources/V2/Billing/Intents.js +0 -36
- package/cjs/resources/V2/Billing/LicenseFeeSubscriptions.js +0 -12
- package/cjs/resources/V2/Billing/LicenseFees/Versions.js +0 -17
- package/cjs/resources/V2/Billing/LicenseFees.js +0 -27
- package/cjs/resources/V2/Billing/LicensedItems.js +0 -25
- package/cjs/resources/V2/Billing/MeteredItems.js +0 -22
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +0 -21
- package/cjs/resources/V2/Billing/PricingPlans/Components.js +0 -29
- package/cjs/resources/V2/Billing/PricingPlans/Versions.js +0 -17
- package/cjs/resources/V2/Billing/PricingPlans.js +0 -29
- package/cjs/resources/V2/Billing/RateCardSubscriptions.js +0 -29
- package/cjs/resources/V2/Billing/RateCards/Rates.js +0 -25
- package/cjs/resources/V2/Billing/RateCards/Versions.js +0 -17
- package/cjs/resources/V2/Billing/RateCards.js +0 -29
- package/cjs/resources/V2/Billing/ServiceActions.js +0 -20
- package/cjs/resources/V2/Core/ClaimableSandboxes.js +0 -16
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +0 -20
- package/cjs/resources/V2/Tax/AutomaticRules.js +0 -22
- package/cjs/resources/V2/TestHelpers/MoneyManagement.js +0 -12
- package/esm/resources/V2/Billing/CustomPricingUnits.js +0 -22
- package/esm/resources/V2/Billing/Intents/Actions.js +0 -14
- package/esm/resources/V2/Billing/Intents.js +0 -33
- package/esm/resources/V2/Billing/LicenseFeeSubscriptions.js +0 -9
- package/esm/resources/V2/Billing/LicenseFees/Versions.js +0 -14
- package/esm/resources/V2/Billing/LicenseFees.js +0 -24
- package/esm/resources/V2/Billing/LicensedItems.js +0 -22
- package/esm/resources/V2/Billing/MeteredItems.js +0 -19
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +0 -18
- package/esm/resources/V2/Billing/PricingPlans/Components.js +0 -26
- package/esm/resources/V2/Billing/PricingPlans/Versions.js +0 -14
- package/esm/resources/V2/Billing/PricingPlans.js +0 -26
- package/esm/resources/V2/Billing/RateCardSubscriptions.js +0 -26
- package/esm/resources/V2/Billing/RateCards/Rates.js +0 -22
- package/esm/resources/V2/Billing/RateCards/Versions.js +0 -14
- package/esm/resources/V2/Billing/RateCards.js +0 -26
- package/esm/resources/V2/Billing/ServiceActions.js +0 -17
- package/esm/resources/V2/Core/ClaimableSandboxes.js +0 -13
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +0 -17
- package/esm/resources/V2/Tax/AutomaticRules.js +0 -19
- package/esm/resources/V2/TestHelpers/MoneyManagement.js +0 -9
- package/types/V2/Billing/CustomPricingUnits.d.ts +0 -56
- package/types/V2/Billing/CustomPricingUnitsResource.d.ts +0 -122
- package/types/V2/Billing/IntentActions.d.ts +0 -459
- package/types/V2/Billing/Intents/ActionsResource.d.ts +0 -58
- package/types/V2/Billing/Intents.d.ts +0 -117
- package/types/V2/Billing/IntentsResource.d.ts +0 -575
- package/types/V2/Billing/LicenseFeeSubscriptions.d.ts +0 -64
- package/types/V2/Billing/LicenseFeeSubscriptionsResource.d.ts +0 -28
- package/types/V2/Billing/LicenseFeeVersions.d.ts +0 -106
- package/types/V2/Billing/LicenseFees/VersionsResource.d.ts +0 -58
- package/types/V2/Billing/LicenseFees.d.ts +0 -164
- package/types/V2/Billing/LicenseFeesResource.d.ts +0 -290
- package/types/V2/Billing/LicensedItems.d.ts +0 -73
- package/types/V2/Billing/LicensedItemsResource.d.ts +0 -157
- package/types/V2/Billing/MeteredItems.d.ts +0 -101
- package/types/V2/Billing/MeteredItemsResource.d.ts +0 -189
- package/types/V2/Billing/PricingPlanComponents.d.ts +0 -109
- package/types/V2/Billing/PricingPlanSubscriptions.d.ts +0 -144
- package/types/V2/Billing/PricingPlanSubscriptionsResource.d.ts +0 -118
- package/types/V2/Billing/PricingPlanVersions.d.ts +0 -49
- package/types/V2/Billing/PricingPlans/ComponentsResource.d.ts +0 -197
- package/types/V2/Billing/PricingPlans/VersionsResource.d.ts +0 -58
- package/types/V2/Billing/PricingPlans.d.ts +0 -84
- package/types/V2/Billing/PricingPlansResource.d.ts +0 -151
- package/types/V2/Billing/RateCardRates.d.ts +0 -144
- package/types/V2/Billing/RateCardSubscriptions.d.ts +0 -144
- package/types/V2/Billing/RateCardSubscriptionsResource.d.ts +0 -157
- package/types/V2/Billing/RateCardVersions.d.ts +0 -39
- package/types/V2/Billing/RateCards/RatesResource.d.ts +0 -203
- package/types/V2/Billing/RateCards/VersionsResource.d.ts +0 -58
- package/types/V2/Billing/RateCards.d.ts +0 -98
- package/types/V2/Billing/RateCardsResource.d.ts +0 -162
- package/types/V2/Billing/ServiceActions.d.ts +0 -274
- package/types/V2/Billing/ServiceActionsResource.d.ts +0 -370
- package/types/V2/Core/ClaimableSandboxes.d.ts +0 -132
- package/types/V2/Core/ClaimableSandboxesResource.d.ts +0 -74
- package/types/V2/MoneyManagement/RecipientVerifications.d.ts +0 -112
- package/types/V2/MoneyManagement/RecipientVerificationsResource.d.ts +0 -77
- package/types/V2/Tax/AutomaticRules.d.ts +0 -53
- package/types/V2/Tax/AutomaticRulesResource.d.ts +0 -102
- package/types/V2/TestHelpers/MoneyManagementResource.d.ts +0 -48
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec
|
|
2
|
-
|
|
3
|
-
declare module 'stripe' {
|
|
4
|
-
namespace Stripe {
|
|
5
|
-
namespace V2 {
|
|
6
|
-
namespace Billing {
|
|
7
|
-
namespace Intents {
|
|
8
|
-
interface ActionRetrieveParams {}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
namespace Billing {
|
|
13
|
-
namespace Intents {
|
|
14
|
-
interface ActionListParams {
|
|
15
|
-
/**
|
|
16
|
-
* Optionally set the maximum number of results per page. Defaults to 10.
|
|
17
|
-
*/
|
|
18
|
-
limit?: number;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
namespace Billing {
|
|
24
|
-
namespace Intents {
|
|
25
|
-
class ActionsResource {
|
|
26
|
-
/**
|
|
27
|
-
* Retrieve a Billing Intent Action.
|
|
28
|
-
*/
|
|
29
|
-
retrieve(
|
|
30
|
-
intentId: string,
|
|
31
|
-
id: string,
|
|
32
|
-
params?: ActionRetrieveParams,
|
|
33
|
-
options?: RequestOptions
|
|
34
|
-
): Promise<Stripe.Response<Stripe.V2.Billing.IntentAction>>;
|
|
35
|
-
retrieve(
|
|
36
|
-
intentId: string,
|
|
37
|
-
id: string,
|
|
38
|
-
options?: RequestOptions
|
|
39
|
-
): Promise<Stripe.Response<Stripe.V2.Billing.IntentAction>>;
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* List Billing Intent Actions.
|
|
43
|
-
*/
|
|
44
|
-
list(
|
|
45
|
-
id: string,
|
|
46
|
-
params?: ActionListParams,
|
|
47
|
-
options?: RequestOptions
|
|
48
|
-
): ApiListPromise<Stripe.V2.Billing.IntentAction>;
|
|
49
|
-
list(
|
|
50
|
-
id: string,
|
|
51
|
-
options?: RequestOptions
|
|
52
|
-
): ApiListPromise<Stripe.V2.Billing.IntentAction>;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec
|
|
2
|
-
|
|
3
|
-
declare module 'stripe' {
|
|
4
|
-
namespace Stripe {
|
|
5
|
-
namespace V2 {
|
|
6
|
-
namespace Billing {
|
|
7
|
-
/**
|
|
8
|
-
* The Intent object.
|
|
9
|
-
*/
|
|
10
|
-
interface Intent {
|
|
11
|
-
/**
|
|
12
|
-
* Unique identifier for the object.
|
|
13
|
-
*/
|
|
14
|
-
id: string;
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* String representing the object's type. Objects of the same type share the same value of the object field.
|
|
18
|
-
*/
|
|
19
|
-
object: 'v2.billing.intent';
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Breakdown of the amount for this Billing Intent.
|
|
23
|
-
*/
|
|
24
|
-
amount_details: Intent.AmountDetails;
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* ID of an existing Cadence to use.
|
|
28
|
-
*/
|
|
29
|
-
cadence?: string;
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Time at which the object was created.
|
|
33
|
-
*/
|
|
34
|
-
created: string;
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Three-letter ISO currency code, in lowercase. Must be a supported currency.
|
|
38
|
-
*/
|
|
39
|
-
currency: string;
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
43
|
-
*/
|
|
44
|
-
livemode: boolean;
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Current status of the Billing Intent.
|
|
48
|
-
*/
|
|
49
|
-
status: Intent.Status;
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Timestamps for status transitions of the Billing Intent.
|
|
53
|
-
*/
|
|
54
|
-
status_transitions: Intent.StatusTransitions;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
namespace Intent {
|
|
58
|
-
interface AmountDetails {
|
|
59
|
-
/**
|
|
60
|
-
* Three-letter ISO currency code, in lowercase. Must be a supported currency.
|
|
61
|
-
*/
|
|
62
|
-
currency: string;
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* Amount of discount applied.
|
|
66
|
-
*/
|
|
67
|
-
discount: string;
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* Amount of shipping charges.
|
|
71
|
-
*/
|
|
72
|
-
shipping: string;
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* Subtotal amount before tax and discounts.
|
|
76
|
-
*/
|
|
77
|
-
subtotal: string;
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* Amount of tax.
|
|
81
|
-
*/
|
|
82
|
-
tax: string;
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* Total amount for the Billing Intent.
|
|
86
|
-
*/
|
|
87
|
-
total: string;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
type Status = 'canceled' | 'committed' | 'draft' | 'reserved';
|
|
91
|
-
|
|
92
|
-
interface StatusTransitions {
|
|
93
|
-
/**
|
|
94
|
-
* Time at which the Billing Intent was canceled.
|
|
95
|
-
*/
|
|
96
|
-
canceled_at?: string;
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* Time at which the Billing Intent was committed.
|
|
100
|
-
*/
|
|
101
|
-
committed_at?: string;
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* Time at which the Billing Intent was drafted.
|
|
105
|
-
*/
|
|
106
|
-
drafted_at?: string;
|
|
107
|
-
|
|
108
|
-
/**
|
|
109
|
-
* Time at which the Billing Intent was reserved.
|
|
110
|
-
*/
|
|
111
|
-
reserved_at?: string;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
}
|