stripe 19.3.0-beta.1 → 19.4.0-alpha.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 +235 -1
- package/OPENAPI_VERSION +1 -1
- package/VERSION +1 -1
- package/cjs/RequestSender.js +1 -1
- package/cjs/apiVersion.js +1 -1
- package/cjs/resources/DelegatedCheckout/RequestedSessions.js +28 -0
- package/cjs/resources/Identity/BlocklistEntries.js +25 -0
- package/cjs/resources/PaymentMethods.js +4 -0
- package/cjs/resources/TestHelpers/Capital/FinancingOffers.js +16 -0
- package/cjs/resources/V2/Billing/CustomPricingUnits.js +25 -0
- package/cjs/resources/V2/Billing/Intents/Actions.js +17 -0
- package/cjs/resources/V2/Billing/Intents.js +36 -0
- package/cjs/resources/V2/Billing/LicenseFeeSubscriptions.js +12 -0
- package/cjs/resources/V2/Billing/LicenseFees/Versions.js +17 -0
- package/cjs/resources/V2/Billing/LicenseFees.js +27 -0
- package/cjs/resources/V2/Billing/LicensedItems.js +25 -0
- package/cjs/resources/V2/Billing/MeteredItems.js +22 -0
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions/Components.js +12 -0
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +26 -0
- package/cjs/resources/V2/Billing/PricingPlans/Components.js +29 -0
- package/cjs/resources/V2/Billing/PricingPlans/Versions.js +17 -0
- package/cjs/resources/V2/Billing/PricingPlans.js +29 -0
- package/cjs/resources/V2/Billing/RateCardSubscriptions.js +29 -0
- package/cjs/resources/V2/Billing/RateCards/Rates.js +25 -0
- package/cjs/resources/V2/Billing/RateCards/Versions.js +17 -0
- package/cjs/resources/V2/Billing/RateCards.js +29 -0
- package/cjs/resources/V2/Billing/ServiceActions.js +20 -0
- package/cjs/resources/V2/Core/ClaimableSandboxes.js +16 -0
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +20 -0
- package/cjs/resources/V2/Reporting/ReportRuns.js +13 -0
- package/cjs/resources/V2/Reporting/Reports.js +12 -0
- package/cjs/resources/V2/Tax/AutomaticRules.js +22 -0
- package/cjs/resources/V2/TestHelpers/MoneyManagement.js +12 -0
- package/cjs/resources.js +47 -1
- package/cjs/stripe.core.js +1 -1
- package/esm/RequestSender.js +1 -1
- package/esm/apiVersion.js +1 -1
- package/esm/resources/DelegatedCheckout/RequestedSessions.js +25 -0
- package/esm/resources/Identity/BlocklistEntries.js +22 -0
- package/esm/resources/PaymentMethods.js +4 -0
- package/esm/resources/TestHelpers/Capital/FinancingOffers.js +13 -0
- package/esm/resources/V2/Billing/CustomPricingUnits.js +22 -0
- package/esm/resources/V2/Billing/Intents/Actions.js +14 -0
- package/esm/resources/V2/Billing/Intents.js +33 -0
- package/esm/resources/V2/Billing/LicenseFeeSubscriptions.js +9 -0
- package/esm/resources/V2/Billing/LicenseFees/Versions.js +14 -0
- package/esm/resources/V2/Billing/LicenseFees.js +24 -0
- package/esm/resources/V2/Billing/LicensedItems.js +22 -0
- package/esm/resources/V2/Billing/MeteredItems.js +19 -0
- package/esm/resources/V2/Billing/PricingPlanSubscriptions/Components.js +9 -0
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +23 -0
- package/esm/resources/V2/Billing/PricingPlans/Components.js +26 -0
- package/esm/resources/V2/Billing/PricingPlans/Versions.js +14 -0
- package/esm/resources/V2/Billing/PricingPlans.js +26 -0
- package/esm/resources/V2/Billing/RateCardSubscriptions.js +26 -0
- package/esm/resources/V2/Billing/RateCards/Rates.js +22 -0
- package/esm/resources/V2/Billing/RateCards/Versions.js +14 -0
- package/esm/resources/V2/Billing/RateCards.js +26 -0
- package/esm/resources/V2/Billing/ServiceActions.js +17 -0
- package/esm/resources/V2/Core/ClaimableSandboxes.js +13 -0
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +17 -0
- package/esm/resources/V2/Reporting/ReportRuns.js +10 -0
- package/esm/resources/V2/Reporting/Reports.js +9 -0
- package/esm/resources/V2/Tax/AutomaticRules.js +19 -0
- package/esm/resources/V2/TestHelpers/MoneyManagement.js +9 -0
- package/esm/resources.js +46 -0
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/ApplicationFees.d.ts +6 -1
- package/types/Balance.d.ts +82 -0
- package/types/BalanceTransactions.d.ts +2 -1
- package/types/Billing/AlertTriggereds.d.ts +15 -0
- package/types/Billing/Alerts.d.ts +116 -1
- package/types/Billing/AlertsResource.d.ts +149 -2
- package/types/Billing/Analytics/MeterUsageResource.d.ts +5 -0
- package/types/Billing/Analytics/MeterUsageRows.d.ts +7 -0
- package/types/Billing/CreditBalanceSummary.d.ts +118 -2
- package/types/Billing/CreditBalanceSummaryResource.d.ts +12 -0
- package/types/Billing/CreditBalanceTransactions.d.ts +118 -2
- package/types/Billing/CreditGrants.d.ts +71 -1
- package/types/Billing/CreditGrantsResource.d.ts +32 -1
- package/types/Billing/MeterEventSummaries.d.ts +7 -0
- package/types/Billing/Meters.d.ts +5 -0
- package/types/Billing/MetersResource.d.ts +17 -0
- package/types/Cards.d.ts +14 -0
- package/types/Charges.d.ts +14 -0
- package/types/ChargesResource.d.ts +4 -16
- package/types/Checkout/Sessions.d.ts +58 -0
- package/types/Checkout/SessionsResource.d.ts +50 -0
- package/types/ConfirmationTokens.d.ts +14 -0
- package/types/Coupons.d.ts +3 -1
- package/types/CouponsResource.d.ts +3 -1
- package/types/DelegatedCheckout/RequestedSessions.d.ts +360 -0
- package/types/DelegatedCheckout/RequestedSessionsResource.d.ts +593 -0
- package/types/Identity/BlocklistEntries.d.ts +78 -0
- package/types/Identity/BlocklistEntriesResource.d.ts +146 -0
- package/types/Identity/VerificationReports.d.ts +10 -0
- package/types/Identity/VerificationReportsResource.d.ts +5 -0
- package/types/InvoiceItems.d.ts +104 -2
- package/types/InvoiceLineItems.d.ts +113 -2
- package/types/InvoicePayments.d.ts +1 -1
- package/types/InvoicesResource.d.ts +5 -0
- package/types/PaymentIntentAmountDetailsLineItems.d.ts +7 -13
- package/types/PaymentIntents.d.ts +37 -18
- package/types/PaymentIntentsResource.d.ts +164 -145
- package/types/PaymentMethodBalances.d.ts +63 -0
- package/types/PaymentMethods.d.ts +14 -0
- package/types/PaymentMethodsResource.d.ts +20 -0
- package/types/SetupIntents.d.ts +24 -1
- package/types/SetupIntentsResource.d.ts +90 -0
- package/types/TestHelpers/Capital/FinancingOffersResource.d.ts +100 -0
- package/types/Transfers.d.ts +4 -0
- package/types/TransfersResource.d.ts +2 -0
- package/types/TransitBalances.d.ts +40 -0
- package/types/V2/Billing/Cadences.d.ts +51 -2
- package/types/V2/Billing/CadencesResource.d.ts +32 -3
- package/types/V2/Billing/CollectionSettingVersions.d.ts +6 -2
- package/types/V2/Billing/CollectionSettings.d.ts +6 -2
- package/types/V2/Billing/CollectionSettingsResource.d.ts +12 -4
- package/types/V2/Billing/CustomPricingUnits.d.ts +56 -0
- package/types/V2/Billing/CustomPricingUnitsResource.d.ts +122 -0
- package/types/V2/Billing/IntentActions.d.ts +459 -0
- package/types/V2/Billing/Intents/ActionsResource.d.ts +58 -0
- package/types/V2/Billing/Intents.d.ts +117 -0
- package/types/V2/Billing/IntentsResource.d.ts +575 -0
- package/types/V2/Billing/LicenseFeeSubscriptions.d.ts +64 -0
- package/types/V2/Billing/LicenseFeeSubscriptionsResource.d.ts +28 -0
- package/types/V2/Billing/LicenseFeeVersions.d.ts +106 -0
- package/types/V2/Billing/LicenseFees/VersionsResource.d.ts +58 -0
- package/types/V2/Billing/LicenseFees.d.ts +164 -0
- package/types/V2/Billing/LicenseFeesResource.d.ts +290 -0
- package/types/V2/Billing/LicensedItems.d.ts +73 -0
- package/types/V2/Billing/LicensedItemsResource.d.ts +157 -0
- package/types/V2/Billing/MeteredItems.d.ts +101 -0
- package/types/V2/Billing/MeteredItemsResource.d.ts +189 -0
- package/types/V2/Billing/PricingPlanComponents.d.ts +109 -0
- package/types/V2/Billing/PricingPlanSubscriptionComponents.d.ts +57 -0
- package/types/V2/Billing/PricingPlanSubscriptions/ComponentsResource.d.ts +40 -0
- package/types/V2/Billing/PricingPlanSubscriptions.d.ts +144 -0
- package/types/V2/Billing/PricingPlanSubscriptionsResource.d.ts +120 -0
- package/types/V2/Billing/PricingPlanVersions.d.ts +49 -0
- package/types/V2/Billing/PricingPlans/ComponentsResource.d.ts +197 -0
- package/types/V2/Billing/PricingPlans/VersionsResource.d.ts +58 -0
- package/types/V2/Billing/PricingPlans.d.ts +84 -0
- package/types/V2/Billing/PricingPlansResource.d.ts +151 -0
- package/types/V2/Billing/RateCardRates.d.ts +144 -0
- package/types/V2/Billing/RateCardSubscriptions.d.ts +144 -0
- package/types/V2/Billing/RateCardSubscriptionsResource.d.ts +157 -0
- package/types/V2/Billing/RateCardVersions.d.ts +39 -0
- package/types/V2/Billing/RateCards/RatesResource.d.ts +203 -0
- package/types/V2/Billing/RateCards/VersionsResource.d.ts +58 -0
- package/types/V2/Billing/RateCards.d.ts +98 -0
- package/types/V2/Billing/RateCardsResource.d.ts +162 -0
- package/types/V2/Billing/ServiceActions.d.ts +274 -0
- package/types/V2/Billing/ServiceActionsResource.d.ts +370 -0
- package/types/V2/Core/Accounts.d.ts +1491 -23
- package/types/V2/Core/AccountsResource.d.ts +1619 -0
- package/types/V2/Core/ClaimableSandboxes.d.ts +132 -0
- package/types/V2/Core/ClaimableSandboxesResource.d.ts +74 -0
- package/types/V2/Core/EventTypes.d.ts +7399 -343
- package/types/V2/Core/Events.d.ts +14 -0
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +14 -0
- package/types/V2/MoneyManagement/InboundTransfers.d.ts +9 -3
- package/types/V2/MoneyManagement/OutboundPayments.d.ts +5 -0
- package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +5 -0
- package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +34 -0
- package/types/V2/MoneyManagement/OutboundTransfers.d.ts +5 -0
- package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +5 -0
- package/types/V2/MoneyManagement/PayoutMethods.d.ts +41 -0
- package/types/V2/MoneyManagement/ReceivedCredits.d.ts +5 -0
- package/types/V2/MoneyManagement/ReceivedDebits.d.ts +10 -0
- package/types/V2/MoneyManagement/RecipientVerifications.d.ts +112 -0
- package/types/V2/MoneyManagement/RecipientVerificationsResource.d.ts +77 -0
- package/types/V2/Reporting/ReportRuns.d.ts +154 -0
- package/types/V2/Reporting/ReportRunsResource.d.ts +75 -0
- package/types/V2/Reporting/Reports.d.ts +120 -0
- package/types/V2/Reporting/ReportsResource.d.ts +30 -0
- package/types/V2/Tax/AutomaticRules.d.ts +53 -0
- package/types/V2/Tax/AutomaticRulesResource.d.ts +102 -0
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +6 -1
- package/types/V2/TestHelpers/MoneyManagementResource.d.ts +49 -0
- package/types/Webhooks.d.ts +2 -0
- package/types/apiVersion.d.ts +1 -1
- package/types/index.d.ts +82 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../../../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const Actions = StripeResource.extend({
|
|
5
|
+
retrieve: stripeMethod({
|
|
6
|
+
method: 'GET',
|
|
7
|
+
fullPath: '/v2/billing/intents/{intent_id}/actions/{id}',
|
|
8
|
+
}),
|
|
9
|
+
list: stripeMethod({
|
|
10
|
+
method: 'GET',
|
|
11
|
+
fullPath: '/v2/billing/intents/{intent_id}/actions',
|
|
12
|
+
methodType: 'list',
|
|
13
|
+
}),
|
|
14
|
+
});
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../../StripeResource.js';
|
|
3
|
+
import { Actions } from './Intents/Actions.js';
|
|
4
|
+
const stripeMethod = StripeResource.method;
|
|
5
|
+
export const Intents = StripeResource.extend({
|
|
6
|
+
constructor: function (...args) {
|
|
7
|
+
StripeResource.apply(this, args);
|
|
8
|
+
this.actions = new Actions(...args);
|
|
9
|
+
},
|
|
10
|
+
create: stripeMethod({ method: 'POST', fullPath: '/v2/billing/intents' }),
|
|
11
|
+
retrieve: stripeMethod({ method: 'GET', fullPath: '/v2/billing/intents/{id}' }),
|
|
12
|
+
list: stripeMethod({
|
|
13
|
+
method: 'GET',
|
|
14
|
+
fullPath: '/v2/billing/intents',
|
|
15
|
+
methodType: 'list',
|
|
16
|
+
}),
|
|
17
|
+
cancel: stripeMethod({
|
|
18
|
+
method: 'POST',
|
|
19
|
+
fullPath: '/v2/billing/intents/{id}/cancel',
|
|
20
|
+
}),
|
|
21
|
+
commit: stripeMethod({
|
|
22
|
+
method: 'POST',
|
|
23
|
+
fullPath: '/v2/billing/intents/{id}/commit',
|
|
24
|
+
}),
|
|
25
|
+
releaseReservation: stripeMethod({
|
|
26
|
+
method: 'POST',
|
|
27
|
+
fullPath: '/v2/billing/intents/{id}/release_reservation',
|
|
28
|
+
}),
|
|
29
|
+
reserve: stripeMethod({
|
|
30
|
+
method: 'POST',
|
|
31
|
+
fullPath: '/v2/billing/intents/{id}/reserve',
|
|
32
|
+
}),
|
|
33
|
+
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const LicenseFeeSubscriptions = StripeResource.extend({
|
|
5
|
+
retrieve: stripeMethod({
|
|
6
|
+
method: 'GET',
|
|
7
|
+
fullPath: '/v2/billing/license_fee_subscriptions/{id}',
|
|
8
|
+
}),
|
|
9
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../../../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const Versions = StripeResource.extend({
|
|
5
|
+
retrieve: stripeMethod({
|
|
6
|
+
method: 'GET',
|
|
7
|
+
fullPath: '/v2/billing/license_fees/{license_fee_id}/versions/{id}',
|
|
8
|
+
}),
|
|
9
|
+
list: stripeMethod({
|
|
10
|
+
method: 'GET',
|
|
11
|
+
fullPath: '/v2/billing/license_fees/{license_fee_id}/versions',
|
|
12
|
+
methodType: 'list',
|
|
13
|
+
}),
|
|
14
|
+
});
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../../StripeResource.js';
|
|
3
|
+
import { Versions } from './LicenseFees/Versions.js';
|
|
4
|
+
const stripeMethod = StripeResource.method;
|
|
5
|
+
export const LicenseFees = StripeResource.extend({
|
|
6
|
+
constructor: function (...args) {
|
|
7
|
+
StripeResource.apply(this, args);
|
|
8
|
+
this.versions = new Versions(...args);
|
|
9
|
+
},
|
|
10
|
+
create: stripeMethod({ method: 'POST', fullPath: '/v2/billing/license_fees' }),
|
|
11
|
+
retrieve: stripeMethod({
|
|
12
|
+
method: 'GET',
|
|
13
|
+
fullPath: '/v2/billing/license_fees/{id}',
|
|
14
|
+
}),
|
|
15
|
+
update: stripeMethod({
|
|
16
|
+
method: 'POST',
|
|
17
|
+
fullPath: '/v2/billing/license_fees/{id}',
|
|
18
|
+
}),
|
|
19
|
+
list: stripeMethod({
|
|
20
|
+
method: 'GET',
|
|
21
|
+
fullPath: '/v2/billing/license_fees',
|
|
22
|
+
methodType: 'list',
|
|
23
|
+
}),
|
|
24
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const LicensedItems = StripeResource.extend({
|
|
5
|
+
create: stripeMethod({
|
|
6
|
+
method: 'POST',
|
|
7
|
+
fullPath: '/v2/billing/licensed_items',
|
|
8
|
+
}),
|
|
9
|
+
retrieve: stripeMethod({
|
|
10
|
+
method: 'GET',
|
|
11
|
+
fullPath: '/v2/billing/licensed_items/{id}',
|
|
12
|
+
}),
|
|
13
|
+
update: stripeMethod({
|
|
14
|
+
method: 'POST',
|
|
15
|
+
fullPath: '/v2/billing/licensed_items/{id}',
|
|
16
|
+
}),
|
|
17
|
+
list: stripeMethod({
|
|
18
|
+
method: 'GET',
|
|
19
|
+
fullPath: '/v2/billing/licensed_items',
|
|
20
|
+
methodType: 'list',
|
|
21
|
+
}),
|
|
22
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const MeteredItems = StripeResource.extend({
|
|
5
|
+
create: stripeMethod({ method: 'POST', fullPath: '/v2/billing/metered_items' }),
|
|
6
|
+
retrieve: stripeMethod({
|
|
7
|
+
method: 'GET',
|
|
8
|
+
fullPath: '/v2/billing/metered_items/{id}',
|
|
9
|
+
}),
|
|
10
|
+
update: stripeMethod({
|
|
11
|
+
method: 'POST',
|
|
12
|
+
fullPath: '/v2/billing/metered_items/{id}',
|
|
13
|
+
}),
|
|
14
|
+
list: stripeMethod({
|
|
15
|
+
method: 'GET',
|
|
16
|
+
fullPath: '/v2/billing/metered_items',
|
|
17
|
+
methodType: 'list',
|
|
18
|
+
}),
|
|
19
|
+
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../../../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const Components = StripeResource.extend({
|
|
5
|
+
retrieve: stripeMethod({
|
|
6
|
+
method: 'GET',
|
|
7
|
+
fullPath: '/v2/billing/pricing_plan_subscriptions/{id}/components',
|
|
8
|
+
}),
|
|
9
|
+
});
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../../StripeResource.js';
|
|
3
|
+
import { Components } from './PricingPlanSubscriptions/Components.js';
|
|
4
|
+
const stripeMethod = StripeResource.method;
|
|
5
|
+
export const PricingPlanSubscriptions = StripeResource.extend({
|
|
6
|
+
constructor: function (...args) {
|
|
7
|
+
StripeResource.apply(this, args);
|
|
8
|
+
this.components = new Components(...args);
|
|
9
|
+
},
|
|
10
|
+
retrieve: stripeMethod({
|
|
11
|
+
method: 'GET',
|
|
12
|
+
fullPath: '/v2/billing/pricing_plan_subscriptions/{id}',
|
|
13
|
+
}),
|
|
14
|
+
update: stripeMethod({
|
|
15
|
+
method: 'POST',
|
|
16
|
+
fullPath: '/v2/billing/pricing_plan_subscriptions/{id}',
|
|
17
|
+
}),
|
|
18
|
+
list: stripeMethod({
|
|
19
|
+
method: 'GET',
|
|
20
|
+
fullPath: '/v2/billing/pricing_plan_subscriptions',
|
|
21
|
+
methodType: 'list',
|
|
22
|
+
}),
|
|
23
|
+
});
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../../../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const Components = StripeResource.extend({
|
|
5
|
+
create: stripeMethod({
|
|
6
|
+
method: 'POST',
|
|
7
|
+
fullPath: '/v2/billing/pricing_plans/{pricing_plan_id}/components',
|
|
8
|
+
}),
|
|
9
|
+
retrieve: stripeMethod({
|
|
10
|
+
method: 'GET',
|
|
11
|
+
fullPath: '/v2/billing/pricing_plans/{pricing_plan_id}/components/{id}',
|
|
12
|
+
}),
|
|
13
|
+
update: stripeMethod({
|
|
14
|
+
method: 'POST',
|
|
15
|
+
fullPath: '/v2/billing/pricing_plans/{pricing_plan_id}/components/{id}',
|
|
16
|
+
}),
|
|
17
|
+
list: stripeMethod({
|
|
18
|
+
method: 'GET',
|
|
19
|
+
fullPath: '/v2/billing/pricing_plans/{pricing_plan_id}/components',
|
|
20
|
+
methodType: 'list',
|
|
21
|
+
}),
|
|
22
|
+
del: stripeMethod({
|
|
23
|
+
method: 'DELETE',
|
|
24
|
+
fullPath: '/v2/billing/pricing_plans/{pricing_plan_id}/components/{id}',
|
|
25
|
+
}),
|
|
26
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../../../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const Versions = StripeResource.extend({
|
|
5
|
+
retrieve: stripeMethod({
|
|
6
|
+
method: 'GET',
|
|
7
|
+
fullPath: '/v2/billing/pricing_plans/{pricing_plan_id}/versions/{id}',
|
|
8
|
+
}),
|
|
9
|
+
list: stripeMethod({
|
|
10
|
+
method: 'GET',
|
|
11
|
+
fullPath: '/v2/billing/pricing_plans/{pricing_plan_id}/versions',
|
|
12
|
+
methodType: 'list',
|
|
13
|
+
}),
|
|
14
|
+
});
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../../StripeResource.js';
|
|
3
|
+
import { Components } from './PricingPlans/Components.js';
|
|
4
|
+
import { Versions } from './PricingPlans/Versions.js';
|
|
5
|
+
const stripeMethod = StripeResource.method;
|
|
6
|
+
export const PricingPlans = StripeResource.extend({
|
|
7
|
+
constructor: function (...args) {
|
|
8
|
+
StripeResource.apply(this, args);
|
|
9
|
+
this.components = new Components(...args);
|
|
10
|
+
this.versions = new Versions(...args);
|
|
11
|
+
},
|
|
12
|
+
create: stripeMethod({ method: 'POST', fullPath: '/v2/billing/pricing_plans' }),
|
|
13
|
+
retrieve: stripeMethod({
|
|
14
|
+
method: 'GET',
|
|
15
|
+
fullPath: '/v2/billing/pricing_plans/{id}',
|
|
16
|
+
}),
|
|
17
|
+
update: stripeMethod({
|
|
18
|
+
method: 'POST',
|
|
19
|
+
fullPath: '/v2/billing/pricing_plans/{id}',
|
|
20
|
+
}),
|
|
21
|
+
list: stripeMethod({
|
|
22
|
+
method: 'GET',
|
|
23
|
+
fullPath: '/v2/billing/pricing_plans',
|
|
24
|
+
methodType: 'list',
|
|
25
|
+
}),
|
|
26
|
+
});
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const RateCardSubscriptions = StripeResource.extend({
|
|
5
|
+
create: stripeMethod({
|
|
6
|
+
method: 'POST',
|
|
7
|
+
fullPath: '/v2/billing/rate_card_subscriptions',
|
|
8
|
+
}),
|
|
9
|
+
retrieve: stripeMethod({
|
|
10
|
+
method: 'GET',
|
|
11
|
+
fullPath: '/v2/billing/rate_card_subscriptions/{id}',
|
|
12
|
+
}),
|
|
13
|
+
update: stripeMethod({
|
|
14
|
+
method: 'POST',
|
|
15
|
+
fullPath: '/v2/billing/rate_card_subscriptions/{id}',
|
|
16
|
+
}),
|
|
17
|
+
list: stripeMethod({
|
|
18
|
+
method: 'GET',
|
|
19
|
+
fullPath: '/v2/billing/rate_card_subscriptions',
|
|
20
|
+
methodType: 'list',
|
|
21
|
+
}),
|
|
22
|
+
cancel: stripeMethod({
|
|
23
|
+
method: 'POST',
|
|
24
|
+
fullPath: '/v2/billing/rate_card_subscriptions/{id}/cancel',
|
|
25
|
+
}),
|
|
26
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../../../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const Rates = StripeResource.extend({
|
|
5
|
+
create: stripeMethod({
|
|
6
|
+
method: 'POST',
|
|
7
|
+
fullPath: '/v2/billing/rate_cards/{rate_card_id}/rates',
|
|
8
|
+
}),
|
|
9
|
+
retrieve: stripeMethod({
|
|
10
|
+
method: 'GET',
|
|
11
|
+
fullPath: '/v2/billing/rate_cards/{rate_card_id}/rates/{id}',
|
|
12
|
+
}),
|
|
13
|
+
list: stripeMethod({
|
|
14
|
+
method: 'GET',
|
|
15
|
+
fullPath: '/v2/billing/rate_cards/{rate_card_id}/rates',
|
|
16
|
+
methodType: 'list',
|
|
17
|
+
}),
|
|
18
|
+
del: stripeMethod({
|
|
19
|
+
method: 'DELETE',
|
|
20
|
+
fullPath: '/v2/billing/rate_cards/{rate_card_id}/rates/{id}',
|
|
21
|
+
}),
|
|
22
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../../../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const Versions = StripeResource.extend({
|
|
5
|
+
retrieve: stripeMethod({
|
|
6
|
+
method: 'GET',
|
|
7
|
+
fullPath: '/v2/billing/rate_cards/{rate_card_id}/versions/{id}',
|
|
8
|
+
}),
|
|
9
|
+
list: stripeMethod({
|
|
10
|
+
method: 'GET',
|
|
11
|
+
fullPath: '/v2/billing/rate_cards/{rate_card_id}/versions',
|
|
12
|
+
methodType: 'list',
|
|
13
|
+
}),
|
|
14
|
+
});
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../../StripeResource.js';
|
|
3
|
+
import { Rates } from './RateCards/Rates.js';
|
|
4
|
+
import { Versions } from './RateCards/Versions.js';
|
|
5
|
+
const stripeMethod = StripeResource.method;
|
|
6
|
+
export const RateCards = StripeResource.extend({
|
|
7
|
+
constructor: function (...args) {
|
|
8
|
+
StripeResource.apply(this, args);
|
|
9
|
+
this.rates = new Rates(...args);
|
|
10
|
+
this.versions = new Versions(...args);
|
|
11
|
+
},
|
|
12
|
+
create: stripeMethod({ method: 'POST', fullPath: '/v2/billing/rate_cards' }),
|
|
13
|
+
retrieve: stripeMethod({
|
|
14
|
+
method: 'GET',
|
|
15
|
+
fullPath: '/v2/billing/rate_cards/{id}',
|
|
16
|
+
}),
|
|
17
|
+
update: stripeMethod({
|
|
18
|
+
method: 'POST',
|
|
19
|
+
fullPath: '/v2/billing/rate_cards/{id}',
|
|
20
|
+
}),
|
|
21
|
+
list: stripeMethod({
|
|
22
|
+
method: 'GET',
|
|
23
|
+
fullPath: '/v2/billing/rate_cards',
|
|
24
|
+
methodType: 'list',
|
|
25
|
+
}),
|
|
26
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const ServiceActions = StripeResource.extend({
|
|
5
|
+
create: stripeMethod({
|
|
6
|
+
method: 'POST',
|
|
7
|
+
fullPath: '/v2/billing/service_actions',
|
|
8
|
+
}),
|
|
9
|
+
retrieve: stripeMethod({
|
|
10
|
+
method: 'GET',
|
|
11
|
+
fullPath: '/v2/billing/service_actions/{id}',
|
|
12
|
+
}),
|
|
13
|
+
update: stripeMethod({
|
|
14
|
+
method: 'POST',
|
|
15
|
+
fullPath: '/v2/billing/service_actions/{id}',
|
|
16
|
+
}),
|
|
17
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const ClaimableSandboxes = StripeResource.extend({
|
|
5
|
+
create: stripeMethod({
|
|
6
|
+
method: 'POST',
|
|
7
|
+
fullPath: '/v2/core/claimable_sandboxes',
|
|
8
|
+
}),
|
|
9
|
+
retrieve: stripeMethod({
|
|
10
|
+
method: 'GET',
|
|
11
|
+
fullPath: '/v2/core/claimable_sandboxes/{id}',
|
|
12
|
+
}),
|
|
13
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const RecipientVerifications = StripeResource.extend({
|
|
5
|
+
create: stripeMethod({
|
|
6
|
+
method: 'POST',
|
|
7
|
+
fullPath: '/v2/money_management/recipient_verifications',
|
|
8
|
+
}),
|
|
9
|
+
retrieve: stripeMethod({
|
|
10
|
+
method: 'GET',
|
|
11
|
+
fullPath: '/v2/money_management/recipient_verifications/{id}',
|
|
12
|
+
}),
|
|
13
|
+
acknowledge: stripeMethod({
|
|
14
|
+
method: 'POST',
|
|
15
|
+
fullPath: '/v2/money_management/recipient_verifications/{id}/acknowledge',
|
|
16
|
+
}),
|
|
17
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const ReportRuns = StripeResource.extend({
|
|
5
|
+
create: stripeMethod({ method: 'POST', fullPath: '/v2/reporting/report_runs' }),
|
|
6
|
+
retrieve: stripeMethod({
|
|
7
|
+
method: 'GET',
|
|
8
|
+
fullPath: '/v2/reporting/report_runs/{id}',
|
|
9
|
+
}),
|
|
10
|
+
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const Reports = StripeResource.extend({
|
|
5
|
+
retrieve: stripeMethod({
|
|
6
|
+
method: 'GET',
|
|
7
|
+
fullPath: '/v2/reporting/reports/{id}',
|
|
8
|
+
}),
|
|
9
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const AutomaticRules = StripeResource.extend({
|
|
5
|
+
create: stripeMethod({ method: 'POST', fullPath: '/v2/tax/automatic_rules' }),
|
|
6
|
+
retrieve: stripeMethod({
|
|
7
|
+
method: 'GET',
|
|
8
|
+
fullPath: '/v2/tax/automatic_rules/{id}',
|
|
9
|
+
}),
|
|
10
|
+
update: stripeMethod({
|
|
11
|
+
method: 'POST',
|
|
12
|
+
fullPath: '/v2/tax/automatic_rules/{id}',
|
|
13
|
+
}),
|
|
14
|
+
deactivate: stripeMethod({
|
|
15
|
+
method: 'POST',
|
|
16
|
+
fullPath: '/v2/tax/automatic_rules/{id}/deactivate',
|
|
17
|
+
}),
|
|
18
|
+
find: stripeMethod({ method: 'GET', fullPath: '/v2/tax/automatic_rules/find' }),
|
|
19
|
+
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const MoneyManagement = StripeResource.extend({
|
|
5
|
+
recipientVerifications: stripeMethod({
|
|
6
|
+
method: 'POST',
|
|
7
|
+
fullPath: '/v2/test_helpers/money_management/recipient_verifications',
|
|
8
|
+
}),
|
|
9
|
+
});
|
package/esm/resources.js
CHANGED
|
@@ -9,12 +9,15 @@ import { Alerts as BillingAlerts } from './resources/Billing/Alerts.js';
|
|
|
9
9
|
import { Associations as TaxAssociations } from './resources/Tax/Associations.js';
|
|
10
10
|
import { Authorizations as IssuingAuthorizations } from './resources/Issuing/Authorizations.js';
|
|
11
11
|
import { Authorizations as TestHelpersIssuingAuthorizations } from './resources/TestHelpers/Issuing/Authorizations.js';
|
|
12
|
+
import { AutomaticRules as V2TaxAutomaticRules } from './resources/V2/Tax/AutomaticRules.js';
|
|
12
13
|
import { BillSettings as V2BillingBillSettings } from './resources/V2/Billing/BillSettings.js';
|
|
14
|
+
import { BlocklistEntries as IdentityBlocklistEntries } from './resources/Identity/BlocklistEntries.js';
|
|
13
15
|
import { Cadences as V2BillingCadences } from './resources/V2/Billing/Cadences.js';
|
|
14
16
|
import { Calculations as TaxCalculations } from './resources/Tax/Calculations.js';
|
|
15
17
|
import { Cardholders as IssuingCardholders } from './resources/Issuing/Cardholders.js';
|
|
16
18
|
import { Cards as IssuingCards } from './resources/Issuing/Cards.js';
|
|
17
19
|
import { Cards as TestHelpersIssuingCards } from './resources/TestHelpers/Issuing/Cards.js';
|
|
20
|
+
import { ClaimableSandboxes as V2CoreClaimableSandboxes } from './resources/V2/Core/ClaimableSandboxes.js';
|
|
18
21
|
import { CollectionSettings as V2BillingCollectionSettings } from './resources/V2/Billing/CollectionSettings.js';
|
|
19
22
|
import { Configurations as BillingPortalConfigurations } from './resources/BillingPortal/Configurations.js';
|
|
20
23
|
import { Configurations as TerminalConfigurations } from './resources/Terminal/Configurations.js';
|
|
@@ -25,6 +28,7 @@ import { CreditBalanceTransactions as BillingCreditBalanceTransactions } from '.
|
|
|
25
28
|
import { CreditGrants as BillingCreditGrants } from './resources/Billing/CreditGrants.js';
|
|
26
29
|
import { CreditReversals as TreasuryCreditReversals } from './resources/Treasury/CreditReversals.js';
|
|
27
30
|
import { CreditUnderwritingRecords as IssuingCreditUnderwritingRecords } from './resources/Issuing/CreditUnderwritingRecords.js';
|
|
31
|
+
import { CustomPricingUnits as V2BillingCustomPricingUnits } from './resources/V2/Billing/CustomPricingUnits.js';
|
|
28
32
|
import { Customers as TestHelpersCustomers } from './resources/TestHelpers/Customers.js';
|
|
29
33
|
import { DebitReversals as TreasuryDebitReversals } from './resources/Treasury/DebitReversals.js';
|
|
30
34
|
import { DisputeSettlementDetails as IssuingDisputeSettlementDetails } from './resources/Issuing/DisputeSettlementDetails.js';
|
|
@@ -38,6 +42,7 @@ import { FinancialAccounts as V2MoneyManagementFinancialAccounts } from './resou
|
|
|
38
42
|
import { FinancialAddresses as V2MoneyManagementFinancialAddresses } from './resources/V2/MoneyManagement/FinancialAddresses.js';
|
|
39
43
|
import { FinancialAddresses as V2TestHelpersFinancialAddresses } from './resources/V2/TestHelpers/FinancialAddresses.js';
|
|
40
44
|
import { FinancingOffers as CapitalFinancingOffers } from './resources/Capital/FinancingOffers.js';
|
|
45
|
+
import { FinancingOffers as TestHelpersCapitalFinancingOffers } from './resources/TestHelpers/Capital/FinancingOffers.js';
|
|
41
46
|
import { FinancingSummary as CapitalFinancingSummary } from './resources/Capital/FinancingSummary.js';
|
|
42
47
|
import { FinancingTransactions as CapitalFinancingTransactions } from './resources/Capital/FinancingTransactions.js';
|
|
43
48
|
import { Forms as TaxForms } from './resources/Tax/Forms.js';
|
|
@@ -47,6 +52,10 @@ import { InboundTransfers as TestHelpersTreasuryInboundTransfers } from './resou
|
|
|
47
52
|
import { InboundTransfers as TreasuryInboundTransfers } from './resources/Treasury/InboundTransfers.js';
|
|
48
53
|
import { InboundTransfers as V2MoneyManagementInboundTransfers } from './resources/V2/MoneyManagement/InboundTransfers.js';
|
|
49
54
|
import { Institutions as FinancialConnectionsInstitutions } from './resources/FinancialConnections/Institutions.js';
|
|
55
|
+
import { Intents as V2BillingIntents } from './resources/V2/Billing/Intents.js';
|
|
56
|
+
import { LicenseFeeSubscriptions as V2BillingLicenseFeeSubscriptions } from './resources/V2/Billing/LicenseFeeSubscriptions.js';
|
|
57
|
+
import { LicenseFees as V2BillingLicenseFees } from './resources/V2/Billing/LicenseFees.js';
|
|
58
|
+
import { LicensedItems as V2BillingLicensedItems } from './resources/V2/Billing/LicensedItems.js';
|
|
50
59
|
import { Locations as TerminalLocations } from './resources/Terminal/Locations.js';
|
|
51
60
|
import { MeterEventAdjustments as BillingMeterEventAdjustments } from './resources/Billing/MeterEventAdjustments.js';
|
|
52
61
|
import { MeterEventAdjustments as V2BillingMeterEventAdjustments } from './resources/V2/Billing/MeterEventAdjustments.js';
|
|
@@ -55,7 +64,9 @@ import { MeterEventStream as V2BillingMeterEventStream } from './resources/V2/Bi
|
|
|
55
64
|
import { MeterEvents as BillingMeterEvents } from './resources/Billing/MeterEvents.js';
|
|
56
65
|
import { MeterEvents as V2BillingMeterEvents } from './resources/V2/Billing/MeterEvents.js';
|
|
57
66
|
import { MeterUsage as BillingAnalyticsMeterUsage } from './resources/Billing/Analytics/MeterUsage.js';
|
|
67
|
+
import { MeteredItems as V2BillingMeteredItems } from './resources/V2/Billing/MeteredItems.js';
|
|
58
68
|
import { Meters as BillingMeters } from './resources/Billing/Meters.js';
|
|
69
|
+
import { MoneyManagement as V2TestHelpersMoneyManagement } from './resources/V2/TestHelpers/MoneyManagement.js';
|
|
59
70
|
import { OffSessionPayments as V2PaymentsOffSessionPayments } from './resources/V2/Payments/OffSessionPayments.js';
|
|
60
71
|
import { OnboardingLinks as TerminalOnboardingLinks } from './resources/Terminal/OnboardingLinks.js';
|
|
61
72
|
import { Orders as ClimateOrders } from './resources/Climate/Orders.js';
|
|
@@ -72,8 +83,12 @@ import { PayoutMethodsBankAccountSpec as V2MoneyManagementPayoutMethodsBankAccou
|
|
|
72
83
|
import { PersonalizationDesigns as IssuingPersonalizationDesigns } from './resources/Issuing/PersonalizationDesigns.js';
|
|
73
84
|
import { PersonalizationDesigns as TestHelpersIssuingPersonalizationDesigns } from './resources/TestHelpers/Issuing/PersonalizationDesigns.js';
|
|
74
85
|
import { PhysicalBundles as IssuingPhysicalBundles } from './resources/Issuing/PhysicalBundles.js';
|
|
86
|
+
import { PricingPlanSubscriptions as V2BillingPricingPlanSubscriptions } from './resources/V2/Billing/PricingPlanSubscriptions.js';
|
|
87
|
+
import { PricingPlans as V2BillingPricingPlans } from './resources/V2/Billing/PricingPlans.js';
|
|
75
88
|
import { Products as ClimateProducts } from './resources/Climate/Products.js';
|
|
76
89
|
import { Profiles as V2BillingProfiles } from './resources/V2/Billing/Profiles.js';
|
|
90
|
+
import { RateCardSubscriptions as V2BillingRateCardSubscriptions } from './resources/V2/Billing/RateCardSubscriptions.js';
|
|
91
|
+
import { RateCards as V2BillingRateCards } from './resources/V2/Billing/RateCards.js';
|
|
77
92
|
import { ReaderCollectedData as TerminalReaderCollectedData } from './resources/Terminal/ReaderCollectedData.js';
|
|
78
93
|
import { Readers as TerminalReaders } from './resources/Terminal/Readers.js';
|
|
79
94
|
import { Readers as TestHelpersTerminalReaders } from './resources/TestHelpers/Terminal/Readers.js';
|
|
@@ -83,14 +98,19 @@ import { ReceivedCredits as V2MoneyManagementReceivedCredits } from './resources
|
|
|
83
98
|
import { ReceivedDebits as TestHelpersTreasuryReceivedDebits } from './resources/TestHelpers/Treasury/ReceivedDebits.js';
|
|
84
99
|
import { ReceivedDebits as TreasuryReceivedDebits } from './resources/Treasury/ReceivedDebits.js';
|
|
85
100
|
import { ReceivedDebits as V2MoneyManagementReceivedDebits } from './resources/V2/MoneyManagement/ReceivedDebits.js';
|
|
101
|
+
import { RecipientVerifications as V2MoneyManagementRecipientVerifications } from './resources/V2/MoneyManagement/RecipientVerifications.js';
|
|
86
102
|
import { RedactionJobs as PrivacyRedactionJobs } from './resources/Privacy/RedactionJobs.js';
|
|
87
103
|
import { Refunds as TestHelpersRefunds } from './resources/TestHelpers/Refunds.js';
|
|
88
104
|
import { Registrations as TaxRegistrations } from './resources/Tax/Registrations.js';
|
|
89
105
|
import { ReportRuns as ReportingReportRuns } from './resources/Reporting/ReportRuns.js';
|
|
106
|
+
import { ReportRuns as V2ReportingReportRuns } from './resources/V2/Reporting/ReportRuns.js';
|
|
90
107
|
import { ReportTypes as ReportingReportTypes } from './resources/Reporting/ReportTypes.js';
|
|
108
|
+
import { Reports as V2ReportingReports } from './resources/V2/Reporting/Reports.js';
|
|
109
|
+
import { RequestedSessions as DelegatedCheckoutRequestedSessions } from './resources/DelegatedCheckout/RequestedSessions.js';
|
|
91
110
|
import { Requests as ForwardingRequests } from './resources/Forwarding/Requests.js';
|
|
92
111
|
import { ScheduledQueryRuns as SigmaScheduledQueryRuns } from './resources/Sigma/ScheduledQueryRuns.js';
|
|
93
112
|
import { Secrets as AppsSecrets } from './resources/Apps/Secrets.js';
|
|
113
|
+
import { ServiceActions as V2BillingServiceActions } from './resources/V2/Billing/ServiceActions.js';
|
|
94
114
|
import { Sessions as BillingPortalSessions } from './resources/BillingPortal/Sessions.js';
|
|
95
115
|
import { Sessions as CheckoutSessions } from './resources/Checkout/Sessions.js';
|
|
96
116
|
import { Sessions as FinancialConnectionsSessions } from './resources/FinancialConnections/Sessions.js';
|
|
@@ -203,6 +223,9 @@ export const Climate = resourceNamespace('climate', {
|
|
|
203
223
|
Products: ClimateProducts,
|
|
204
224
|
Suppliers: ClimateSuppliers,
|
|
205
225
|
});
|
|
226
|
+
export const DelegatedCheckout = resourceNamespace('delegatedCheckout', {
|
|
227
|
+
RequestedSessions: DelegatedCheckoutRequestedSessions,
|
|
228
|
+
});
|
|
206
229
|
export const Entitlements = resourceNamespace('entitlements', {
|
|
207
230
|
ActiveEntitlements: EntitlementsActiveEntitlements,
|
|
208
231
|
Features: EntitlementsFeatures,
|
|
@@ -217,6 +240,7 @@ export const Forwarding = resourceNamespace('forwarding', {
|
|
|
217
240
|
Requests: ForwardingRequests,
|
|
218
241
|
});
|
|
219
242
|
export const Identity = resourceNamespace('identity', {
|
|
243
|
+
BlocklistEntries: IdentityBlocklistEntries,
|
|
220
244
|
VerificationReports: IdentityVerificationReports,
|
|
221
245
|
VerificationSessions: IdentityVerificationSessions,
|
|
222
246
|
});
|
|
@@ -269,6 +293,9 @@ export const TestHelpers = resourceNamespace('testHelpers', {
|
|
|
269
293
|
Customers: TestHelpersCustomers,
|
|
270
294
|
Refunds: TestHelpersRefunds,
|
|
271
295
|
TestClocks: TestHelpersTestClocks,
|
|
296
|
+
Capital: resourceNamespace('capital', {
|
|
297
|
+
FinancingOffers: TestHelpersCapitalFinancingOffers,
|
|
298
|
+
}),
|
|
272
299
|
Issuing: resourceNamespace('issuing', {
|
|
273
300
|
Authorizations: TestHelpersIssuingAuthorizations,
|
|
274
301
|
Cards: TestHelpersIssuingCards,
|
|
@@ -303,15 +330,27 @@ export const V2 = resourceNamespace('v2', {
|
|
|
303
330
|
BillSettings: V2BillingBillSettings,
|
|
304
331
|
Cadences: V2BillingCadences,
|
|
305
332
|
CollectionSettings: V2BillingCollectionSettings,
|
|
333
|
+
CustomPricingUnits: V2BillingCustomPricingUnits,
|
|
334
|
+
Intents: V2BillingIntents,
|
|
335
|
+
LicenseFeeSubscriptions: V2BillingLicenseFeeSubscriptions,
|
|
336
|
+
LicenseFees: V2BillingLicenseFees,
|
|
337
|
+
LicensedItems: V2BillingLicensedItems,
|
|
306
338
|
MeterEventAdjustments: V2BillingMeterEventAdjustments,
|
|
307
339
|
MeterEventSession: V2BillingMeterEventSession,
|
|
308
340
|
MeterEventStream: V2BillingMeterEventStream,
|
|
309
341
|
MeterEvents: V2BillingMeterEvents,
|
|
342
|
+
MeteredItems: V2BillingMeteredItems,
|
|
343
|
+
PricingPlanSubscriptions: V2BillingPricingPlanSubscriptions,
|
|
344
|
+
PricingPlans: V2BillingPricingPlans,
|
|
310
345
|
Profiles: V2BillingProfiles,
|
|
346
|
+
RateCardSubscriptions: V2BillingRateCardSubscriptions,
|
|
347
|
+
RateCards: V2BillingRateCards,
|
|
348
|
+
ServiceActions: V2BillingServiceActions,
|
|
311
349
|
}),
|
|
312
350
|
Core: resourceNamespace('core', {
|
|
313
351
|
AccountLinks: V2CoreAccountLinks,
|
|
314
352
|
Accounts: V2CoreAccounts,
|
|
353
|
+
ClaimableSandboxes: V2CoreClaimableSandboxes,
|
|
315
354
|
EventDestinations: V2CoreEventDestinations,
|
|
316
355
|
Events: V2CoreEvents,
|
|
317
356
|
Vault: resourceNamespace('vault', {
|
|
@@ -332,13 +371,20 @@ export const V2 = resourceNamespace('v2', {
|
|
|
332
371
|
PayoutMethodsBankAccountSpec: V2MoneyManagementPayoutMethodsBankAccountSpec,
|
|
333
372
|
ReceivedCredits: V2MoneyManagementReceivedCredits,
|
|
334
373
|
ReceivedDebits: V2MoneyManagementReceivedDebits,
|
|
374
|
+
RecipientVerifications: V2MoneyManagementRecipientVerifications,
|
|
335
375
|
TransactionEntries: V2MoneyManagementTransactionEntries,
|
|
336
376
|
Transactions: V2MoneyManagementTransactions,
|
|
337
377
|
}),
|
|
338
378
|
Payment: resourceNamespace('payment', {
|
|
339
379
|
OffSessionPayments: V2PaymentsOffSessionPayments,
|
|
340
380
|
}),
|
|
381
|
+
Reporting: resourceNamespace('reporting', {
|
|
382
|
+
ReportRuns: V2ReportingReportRuns,
|
|
383
|
+
Reports: V2ReportingReports,
|
|
384
|
+
}),
|
|
385
|
+
Tax: resourceNamespace('tax', { AutomaticRules: V2TaxAutomaticRules }),
|
|
341
386
|
TestHelper: resourceNamespace('testHelper', {
|
|
342
387
|
FinancialAddresses: V2TestHelpersFinancialAddresses,
|
|
388
|
+
MoneyManagement: V2TestHelpersMoneyManagement,
|
|
343
389
|
}),
|
|
344
390
|
});
|
package/esm/stripe.core.js
CHANGED
|
@@ -34,7 +34,7 @@ const ALLOWED_CONFIG_PROPERTIES = [
|
|
|
34
34
|
];
|
|
35
35
|
const defaultRequestSenderFactory = (stripe) => new RequestSender(stripe, StripeResource.MAX_BUFFERED_REQUEST_METRICS);
|
|
36
36
|
export function createStripe(platformFunctions, requestSender = defaultRequestSenderFactory) {
|
|
37
|
-
Stripe.PACKAGE_VERSION = '19.
|
|
37
|
+
Stripe.PACKAGE_VERSION = '19.4.0-alpha.1';
|
|
38
38
|
Stripe.API_VERSION = ApiVersion;
|
|
39
39
|
Stripe.USER_AGENT = Object.assign({ bindings_version: Stripe.PACKAGE_VERSION, lang: 'node', publisher: 'stripe', uname: null, typescript: false }, determineProcessUserAgentProperties());
|
|
40
40
|
Stripe.StripeResource = StripeResource;
|