stripe 19.2.0-alpha.2 → 19.2.0-alpha.4

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.
Files changed (49) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/OPENAPI_VERSION +1 -1
  3. package/VERSION +1 -1
  4. package/cjs/resources/DelegatedCheckout/RequestedSessions.js +28 -0
  5. package/cjs/resources/Identity/BlocklistEntries.js +25 -0
  6. package/cjs/resources/V2/Billing/PricingPlanSubscriptions/Components.js +12 -0
  7. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +5 -0
  8. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +5 -0
  9. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +13 -0
  10. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +4 -0
  11. package/cjs/resources.js +7 -1
  12. package/cjs/stripe.core.js +1 -1
  13. package/esm/resources/DelegatedCheckout/RequestedSessions.js +25 -0
  14. package/esm/resources/Identity/BlocklistEntries.js +22 -0
  15. package/esm/resources/V2/Billing/PricingPlanSubscriptions/Components.js +9 -0
  16. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +5 -0
  17. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +5 -0
  18. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +13 -0
  19. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +4 -0
  20. package/esm/resources.js +6 -0
  21. package/esm/stripe.core.js +1 -1
  22. package/package.json +1 -1
  23. package/types/Billing/MeterEventSummaries.d.ts +7 -0
  24. package/types/Billing/Meters.d.ts +5 -0
  25. package/types/Billing/MetersResource.d.ts +17 -0
  26. package/types/DelegatedCheckout/RequestedSessions.d.ts +292 -0
  27. package/types/DelegatedCheckout/RequestedSessionsResource.d.ts +591 -0
  28. package/types/Identity/BlocklistEntries.d.ts +78 -0
  29. package/types/Identity/BlocklistEntriesResource.d.ts +146 -0
  30. package/types/Identity/VerificationReports.d.ts +10 -0
  31. package/types/Identity/VerificationReportsResource.d.ts +5 -0
  32. package/types/V2/Billing/Cadences.d.ts +2 -2
  33. package/types/V2/Billing/CollectionSettingVersions.d.ts +2 -2
  34. package/types/V2/Billing/CollectionSettings.d.ts +2 -2
  35. package/types/V2/Billing/CollectionSettingsResource.d.ts +4 -4
  36. package/types/V2/Billing/PricingPlanSubscriptionComponents.d.ts +57 -0
  37. package/types/V2/Billing/PricingPlanSubscriptions/ComponentsResource.d.ts +40 -0
  38. package/types/V2/Billing/PricingPlanSubscriptionsResource.d.ts +2 -0
  39. package/types/V2/Core/Accounts.d.ts +93 -2
  40. package/types/V2/Core/AccountsResource.d.ts +88 -5
  41. package/types/V2/Core/EventTypes.d.ts +99 -0
  42. package/types/V2/Core/EventsResource.d.ts +29 -3
  43. package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +22 -0
  44. package/types/V2/Core/Vault/UsBankAccounts.d.ts +46 -0
  45. package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +75 -0
  46. package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +25 -0
  47. package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +1 -1
  48. package/types/V2/TestHelpers/MoneyManagementResource.d.ts +1 -0
  49. package/types/index.d.ts +10 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Changelog
2
2
 
3
+ ## 19.2.0-alpha.4 - 2025-10-23
4
+ * [#2471](https://github.com/stripe/stripe-node/pull/2471) Update generated code for private-preview
5
+ * Add support for new resource `V2.Billing.PricingPlanSubscriptionComponents`
6
+ * Add support for `retrieve` method on resource `V2.Billing.PricingPlanSubscriptionComponents`
7
+ * Add support for `dimension_payload_keys` on `Billing.MeterCreateParams` and `Billing.Meter`
8
+ * Add support for `dimension_filters` and `dimension_group_by_keys` on `Billing.MeterListMeterEventSummariesParams`
9
+ * Add support for `dimensions` on `Billing.MeterEventSummary`
10
+ * Add support for `fulfillment_details` and `payment_method_data` on `DelegatedCheckout.RequestedSessionCreateParams` and `DelegatedCheckout.RequestedSessionUpdateParams`
11
+ * Add support for `line_item_details`, `metadata`, `payment_method`, and `shared_metadata` on `DelegatedCheckout.RequestedSessionCreateParams`, `DelegatedCheckout.RequestedSessionUpdateParams`, and `DelegatedCheckout.RequestedSession`
12
+ * Add support for `currency`, `customer`, and `risk_details` on `DelegatedCheckout.RequestedSessionCreateParams`
13
+ * Add support for `seller_details` and `setup_future_usage` on `DelegatedCheckout.RequestedSessionCreateParams` and `DelegatedCheckout.RequestedSession`
14
+ * Add support for `amount_subtotal`, `amount_total`, `created_at`, `expires_at`, `order_details`, `shared_payment_issued_token`, `status`, `total_details`, and `updated_at` on `DelegatedCheckout.RequestedSession`
15
+ * Add support for `address`, `email`, `fulfillment_options`, `name`, `phone`, and `selected_fulfillment_option` on `DelegatedCheckout.RequestedSession.fulfillment_details`
16
+ * Add support for new values `billie`, `crypto`, `kr_card`, `kriya`, `mb_way`, `mondu`, `ng_bank_transfer`, `ng_bank`, `ng_card`, `ng_market`, `ng_ussd`, `ng_wallet`, `payco`, `paypay`, `rechnung`, `samsung_pay`, `satispay`, `scalapay`, `sequra`, `sunbit`, `us_bank_account`, and `vipps` on enums `EventsV2CoreHealthAuthorizationRateDropFiringEvent.impact.payment_method_type`, `EventsV2CoreHealthAuthorizationRateDropResolvedEvent.impact.payment_method_type`, `EventsV2CoreHealthPaymentMethodErrorFiringEvent.impact.payment_method_type`, and `EventsV2CoreHealthPaymentMethodErrorResolvedEvent.impact.payment_method_type`
17
+
18
+ ## 19.2.0-alpha.3 - 2025-10-17
19
+ * [#2463](https://github.com/stripe/stripe-node/pull/2463) Update generated code for private-preview
20
+ * Add support for new resources `DelegatedCheckout.RequestedSession` and `Identity.BlocklistEntry`
21
+ * Add support for `confirm`, `create`, `expire`, `retrieve`, and `update` methods on resource `DelegatedCheckout.RequestedSession`
22
+ * Add support for `create`, `disable`, `list`, and `retrieve` methods on resource `Identity.BlocklistEntry`
23
+ * Add support for `blocked_by_entry` on `Identity.VerificationReport.document`, `Identity.VerificationReport.selfie`, and `Identity.VerificationReportListParams`
24
+
3
25
  ## 19.2.0-alpha.2 - 2025-10-09
4
26
  * [#2457](https://github.com/stripe/stripe-node/pull/2457) Update generated code for private-preview
5
27
  * Add support for new resource `PaymentMethodBalance`
package/OPENAPI_VERSION CHANGED
@@ -1 +1 @@
1
- v2049
1
+ v2100
package/VERSION CHANGED
@@ -1 +1 @@
1
- 19.2.0-alpha.2
1
+ 19.2.0-alpha.4
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.RequestedSessions = void 0;
5
+ const StripeResource_js_1 = require("../../StripeResource.js");
6
+ const stripeMethod = StripeResource_js_1.StripeResource.method;
7
+ exports.RequestedSessions = StripeResource_js_1.StripeResource.extend({
8
+ create: stripeMethod({
9
+ method: 'POST',
10
+ fullPath: '/v1/delegated_checkout/requested_sessions',
11
+ }),
12
+ retrieve: stripeMethod({
13
+ method: 'GET',
14
+ fullPath: '/v1/delegated_checkout/requested_sessions/{requested_session}',
15
+ }),
16
+ update: stripeMethod({
17
+ method: 'POST',
18
+ fullPath: '/v1/delegated_checkout/requested_sessions/{requested_session}',
19
+ }),
20
+ confirm: stripeMethod({
21
+ method: 'POST',
22
+ fullPath: '/v1/delegated_checkout/requested_sessions/{requested_session}/confirm',
23
+ }),
24
+ expire: stripeMethod({
25
+ method: 'POST',
26
+ fullPath: '/v1/delegated_checkout/requested_sessions/{requested_session}/expire',
27
+ }),
28
+ });
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.BlocklistEntries = void 0;
5
+ const StripeResource_js_1 = require("../../StripeResource.js");
6
+ const stripeMethod = StripeResource_js_1.StripeResource.method;
7
+ exports.BlocklistEntries = StripeResource_js_1.StripeResource.extend({
8
+ create: stripeMethod({
9
+ method: 'POST',
10
+ fullPath: '/v1/identity/blocklist_entries',
11
+ }),
12
+ retrieve: stripeMethod({
13
+ method: 'GET',
14
+ fullPath: '/v1/identity/blocklist_entries/{id}',
15
+ }),
16
+ list: stripeMethod({
17
+ method: 'GET',
18
+ fullPath: '/v1/identity/blocklist_entries',
19
+ methodType: 'list',
20
+ }),
21
+ disable: stripeMethod({
22
+ method: 'POST',
23
+ fullPath: '/v1/identity/blocklist_entries/{id}/disable',
24
+ }),
25
+ });
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Components = void 0;
5
+ const StripeResource_js_1 = require("../../../../StripeResource.js");
6
+ const stripeMethod = StripeResource_js_1.StripeResource.method;
7
+ exports.Components = StripeResource_js_1.StripeResource.extend({
8
+ retrieve: stripeMethod({
9
+ method: 'GET',
10
+ fullPath: '/v2/billing/pricing_plan_subscriptions/{id}/components',
11
+ }),
12
+ });
@@ -3,8 +3,13 @@
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.PricingPlanSubscriptions = void 0;
5
5
  const StripeResource_js_1 = require("../../../StripeResource.js");
6
+ const Components_js_1 = require("./PricingPlanSubscriptions/Components.js");
6
7
  const stripeMethod = StripeResource_js_1.StripeResource.method;
7
8
  exports.PricingPlanSubscriptions = StripeResource_js_1.StripeResource.extend({
9
+ constructor: function (...args) {
10
+ StripeResource_js_1.StripeResource.apply(this, args);
11
+ this.components = new Components_js_1.Components(...args);
12
+ },
8
13
  retrieve: stripeMethod({
9
14
  method: 'GET',
10
15
  fullPath: '/v2/billing/pricing_plan_subscriptions/{id}',
@@ -13,6 +13,11 @@ exports.GbBankAccounts = StripeResource_js_1.StripeResource.extend({
13
13
  method: 'GET',
14
14
  fullPath: '/v2/core/vault/gb_bank_accounts/{id}',
15
15
  }),
16
+ list: stripeMethod({
17
+ method: 'GET',
18
+ fullPath: '/v2/core/vault/gb_bank_accounts',
19
+ methodType: 'list',
20
+ }),
16
21
  acknowledgeConfirmationOfPayee: stripeMethod({
17
22
  method: 'POST',
18
23
  fullPath: '/v2/core/vault/gb_bank_accounts/{id}/acknowledge_confirmation_of_payee',
@@ -17,8 +17,21 @@ exports.UsBankAccounts = StripeResource_js_1.StripeResource.extend({
17
17
  method: 'POST',
18
18
  fullPath: '/v2/core/vault/us_bank_accounts/{id}',
19
19
  }),
20
+ list: stripeMethod({
21
+ method: 'GET',
22
+ fullPath: '/v2/core/vault/us_bank_accounts',
23
+ methodType: 'list',
24
+ }),
20
25
  archive: stripeMethod({
21
26
  method: 'POST',
22
27
  fullPath: '/v2/core/vault/us_bank_accounts/{id}/archive',
23
28
  }),
29
+ confirmMicrodeposits: stripeMethod({
30
+ method: 'POST',
31
+ fullPath: '/v2/core/vault/us_bank_accounts/{id}/confirm_microdeposits',
32
+ }),
33
+ sendMicrodeposits: stripeMethod({
34
+ method: 'POST',
35
+ fullPath: '/v2/core/vault/us_bank_accounts/{id}/send_microdeposits',
36
+ }),
24
37
  });
@@ -13,6 +13,10 @@ exports.FinancialAccounts = StripeResource_js_1.StripeResource.extend({
13
13
  method: 'GET',
14
14
  fullPath: '/v2/money_management/financial_accounts/{id}',
15
15
  }),
16
+ update: stripeMethod({
17
+ method: 'POST',
18
+ fullPath: '/v2/money_management/financial_accounts/{id}',
19
+ }),
16
20
  list: stripeMethod({
17
21
  method: 'GET',
18
22
  fullPath: '/v2/money_management/financial_accounts',
package/cjs/resources.js CHANGED
@@ -2,7 +2,7 @@
2
2
  // File generated from our OpenAPI spec
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.SetupIntents = exports.SetupAttempts = exports.Reviews = exports.Refunds = exports.Quotes = exports.PromotionCodes = exports.Products = exports.Prices = exports.Plans = exports.Payouts = exports.PaymentRecords = exports.PaymentMethods = exports.PaymentMethodDomains = exports.PaymentMethodConfigurations = exports.PaymentLinks = exports.PaymentIntents = exports.PaymentAttemptRecords = exports.Orders = exports.OAuth = exports.Margins = exports.Mandates = exports.Invoices = exports.InvoiceRenderingTemplates = exports.InvoicePayments = exports.InvoiceItems = exports.FxQuotes = exports.Files = exports.FileLinks = exports.ExternalAccounts = exports.ExchangeRates = exports.Events = exports.EphemeralKeys = exports.Disputes = exports.Customers = exports.CustomerSessions = exports.CreditNotes = exports.Coupons = exports.CountrySpecs = exports.ConfirmationTokens = exports.Charges = exports.BalanceTransactions = exports.BalanceSettings = exports.Balance = exports.ApplicationFees = exports.ApplePayDomains = exports.Accounts = exports.AccountSessions = exports.AccountNotices = exports.AccountLinks = exports.Account = void 0;
5
- exports.V2 = exports.Treasury = exports.TestHelpers = exports.Terminal = exports.Tax = exports.Sigma = exports.Reporting = exports.Radar = exports.Privacy = exports.Issuing = exports.Identity = exports.Forwarding = exports.FinancialConnections = exports.Entitlements = exports.Climate = exports.Checkout = exports.Capital = exports.BillingPortal = exports.Billing = exports.Apps = exports.WebhookEndpoints = exports.Transfers = exports.Topups = exports.Tokens = exports.TaxRates = exports.TaxIds = exports.TaxCodes = exports.Subscriptions = exports.SubscriptionSchedules = exports.SubscriptionItems = exports.Sources = exports.ShippingRates = void 0;
5
+ exports.V2 = exports.Treasury = exports.TestHelpers = exports.Terminal = exports.Tax = exports.Sigma = exports.Reporting = exports.Radar = exports.Privacy = exports.Issuing = exports.Identity = exports.Forwarding = exports.FinancialConnections = exports.Entitlements = exports.DelegatedCheckout = exports.Climate = exports.Checkout = exports.Capital = exports.BillingPortal = exports.Billing = exports.Apps = exports.WebhookEndpoints = exports.Transfers = exports.Topups = exports.Tokens = exports.TaxRates = exports.TaxIds = exports.TaxCodes = exports.Subscriptions = exports.SubscriptionSchedules = exports.SubscriptionItems = exports.Sources = exports.ShippingRates = void 0;
6
6
  const ResourceNamespace_js_1 = require("./ResourceNamespace.js");
7
7
  const AccountLinks_js_1 = require("./resources/V2/Core/AccountLinks.js");
8
8
  const Accounts_js_1 = require("./resources/FinancialConnections/Accounts.js");
@@ -15,6 +15,7 @@ const Authorizations_js_1 = require("./resources/Issuing/Authorizations.js");
15
15
  const Authorizations_js_2 = require("./resources/TestHelpers/Issuing/Authorizations.js");
16
16
  const AutomaticRules_js_1 = require("./resources/V2/Tax/AutomaticRules.js");
17
17
  const BillSettings_js_1 = require("./resources/V2/Billing/BillSettings.js");
18
+ const BlocklistEntries_js_1 = require("./resources/Identity/BlocklistEntries.js");
18
19
  const Cadences_js_1 = require("./resources/V2/Billing/Cadences.js");
19
20
  const Calculations_js_1 = require("./resources/Tax/Calculations.js");
20
21
  const Cardholders_js_1 = require("./resources/Issuing/Cardholders.js");
@@ -106,6 +107,7 @@ const Refunds_js_1 = require("./resources/TestHelpers/Refunds.js");
106
107
  const Registrations_js_1 = require("./resources/Tax/Registrations.js");
107
108
  const ReportRuns_js_1 = require("./resources/Reporting/ReportRuns.js");
108
109
  const ReportTypes_js_1 = require("./resources/Reporting/ReportTypes.js");
110
+ const RequestedSessions_js_1 = require("./resources/DelegatedCheckout/RequestedSessions.js");
109
111
  const Requests_js_1 = require("./resources/Forwarding/Requests.js");
110
112
  const ScheduledQueryRuns_js_1 = require("./resources/Sigma/ScheduledQueryRuns.js");
111
113
  const Secrets_js_1 = require("./resources/Apps/Secrets.js");
@@ -284,6 +286,9 @@ exports.Climate = (0, ResourceNamespace_js_1.resourceNamespace)('climate', {
284
286
  Products: Products_js_1.Products,
285
287
  Suppliers: Suppliers_js_1.Suppliers,
286
288
  });
289
+ exports.DelegatedCheckout = (0, ResourceNamespace_js_1.resourceNamespace)('delegatedCheckout', {
290
+ RequestedSessions: RequestedSessions_js_1.RequestedSessions,
291
+ });
287
292
  exports.Entitlements = (0, ResourceNamespace_js_1.resourceNamespace)('entitlements', {
288
293
  ActiveEntitlements: ActiveEntitlements_js_1.ActiveEntitlements,
289
294
  Features: Features_js_1.Features,
@@ -298,6 +303,7 @@ exports.Forwarding = (0, ResourceNamespace_js_1.resourceNamespace)('forwarding',
298
303
  Requests: Requests_js_1.Requests,
299
304
  });
300
305
  exports.Identity = (0, ResourceNamespace_js_1.resourceNamespace)('identity', {
306
+ BlocklistEntries: BlocklistEntries_js_1.BlocklistEntries,
301
307
  VerificationReports: VerificationReports_js_1.VerificationReports,
302
308
  VerificationSessions: VerificationSessions_js_1.VerificationSessions,
303
309
  });
@@ -37,7 +37,7 @@ const ALLOWED_CONFIG_PROPERTIES = [
37
37
  ];
38
38
  const defaultRequestSenderFactory = (stripe) => new RequestSender_js_1.RequestSender(stripe, StripeResource_js_1.StripeResource.MAX_BUFFERED_REQUEST_METRICS);
39
39
  function createStripe(platformFunctions, requestSender = defaultRequestSenderFactory) {
40
- Stripe.PACKAGE_VERSION = '19.2.0-alpha.2';
40
+ Stripe.PACKAGE_VERSION = '19.2.0-alpha.4';
41
41
  Stripe.API_VERSION = apiVersion_js_1.ApiVersion;
42
42
  Stripe.USER_AGENT = Object.assign({ bindings_version: Stripe.PACKAGE_VERSION, lang: 'node', publisher: 'stripe', uname: null, typescript: false }, (0, utils_js_1.determineProcessUserAgentProperties)());
43
43
  Stripe.StripeResource = StripeResource_js_1.StripeResource;
@@ -0,0 +1,25 @@
1
+ // File generated from our OpenAPI spec
2
+ import { StripeResource } from '../../StripeResource.js';
3
+ const stripeMethod = StripeResource.method;
4
+ export const RequestedSessions = StripeResource.extend({
5
+ create: stripeMethod({
6
+ method: 'POST',
7
+ fullPath: '/v1/delegated_checkout/requested_sessions',
8
+ }),
9
+ retrieve: stripeMethod({
10
+ method: 'GET',
11
+ fullPath: '/v1/delegated_checkout/requested_sessions/{requested_session}',
12
+ }),
13
+ update: stripeMethod({
14
+ method: 'POST',
15
+ fullPath: '/v1/delegated_checkout/requested_sessions/{requested_session}',
16
+ }),
17
+ confirm: stripeMethod({
18
+ method: 'POST',
19
+ fullPath: '/v1/delegated_checkout/requested_sessions/{requested_session}/confirm',
20
+ }),
21
+ expire: stripeMethod({
22
+ method: 'POST',
23
+ fullPath: '/v1/delegated_checkout/requested_sessions/{requested_session}/expire',
24
+ }),
25
+ });
@@ -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 BlocklistEntries = StripeResource.extend({
5
+ create: stripeMethod({
6
+ method: 'POST',
7
+ fullPath: '/v1/identity/blocklist_entries',
8
+ }),
9
+ retrieve: stripeMethod({
10
+ method: 'GET',
11
+ fullPath: '/v1/identity/blocklist_entries/{id}',
12
+ }),
13
+ list: stripeMethod({
14
+ method: 'GET',
15
+ fullPath: '/v1/identity/blocklist_entries',
16
+ methodType: 'list',
17
+ }),
18
+ disable: stripeMethod({
19
+ method: 'POST',
20
+ fullPath: '/v1/identity/blocklist_entries/{id}/disable',
21
+ }),
22
+ });
@@ -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
+ });
@@ -1,7 +1,12 @@
1
1
  // File generated from our OpenAPI spec
2
2
  import { StripeResource } from '../../../StripeResource.js';
3
+ import { Components } from './PricingPlanSubscriptions/Components.js';
3
4
  const stripeMethod = StripeResource.method;
4
5
  export const PricingPlanSubscriptions = StripeResource.extend({
6
+ constructor: function (...args) {
7
+ StripeResource.apply(this, args);
8
+ this.components = new Components(...args);
9
+ },
5
10
  retrieve: stripeMethod({
6
11
  method: 'GET',
7
12
  fullPath: '/v2/billing/pricing_plan_subscriptions/{id}',
@@ -10,6 +10,11 @@ export const GbBankAccounts = StripeResource.extend({
10
10
  method: 'GET',
11
11
  fullPath: '/v2/core/vault/gb_bank_accounts/{id}',
12
12
  }),
13
+ list: stripeMethod({
14
+ method: 'GET',
15
+ fullPath: '/v2/core/vault/gb_bank_accounts',
16
+ methodType: 'list',
17
+ }),
13
18
  acknowledgeConfirmationOfPayee: stripeMethod({
14
19
  method: 'POST',
15
20
  fullPath: '/v2/core/vault/gb_bank_accounts/{id}/acknowledge_confirmation_of_payee',
@@ -14,8 +14,21 @@ export const UsBankAccounts = StripeResource.extend({
14
14
  method: 'POST',
15
15
  fullPath: '/v2/core/vault/us_bank_accounts/{id}',
16
16
  }),
17
+ list: stripeMethod({
18
+ method: 'GET',
19
+ fullPath: '/v2/core/vault/us_bank_accounts',
20
+ methodType: 'list',
21
+ }),
17
22
  archive: stripeMethod({
18
23
  method: 'POST',
19
24
  fullPath: '/v2/core/vault/us_bank_accounts/{id}/archive',
20
25
  }),
26
+ confirmMicrodeposits: stripeMethod({
27
+ method: 'POST',
28
+ fullPath: '/v2/core/vault/us_bank_accounts/{id}/confirm_microdeposits',
29
+ }),
30
+ sendMicrodeposits: stripeMethod({
31
+ method: 'POST',
32
+ fullPath: '/v2/core/vault/us_bank_accounts/{id}/send_microdeposits',
33
+ }),
21
34
  });
@@ -10,6 +10,10 @@ export const FinancialAccounts = StripeResource.extend({
10
10
  method: 'GET',
11
11
  fullPath: '/v2/money_management/financial_accounts/{id}',
12
12
  }),
13
+ update: stripeMethod({
14
+ method: 'POST',
15
+ fullPath: '/v2/money_management/financial_accounts/{id}',
16
+ }),
13
17
  list: stripeMethod({
14
18
  method: 'GET',
15
19
  fullPath: '/v2/money_management/financial_accounts',
package/esm/resources.js CHANGED
@@ -11,6 +11,7 @@ import { Authorizations as IssuingAuthorizations } from './resources/Issuing/Aut
11
11
  import { Authorizations as TestHelpersIssuingAuthorizations } from './resources/TestHelpers/Issuing/Authorizations.js';
12
12
  import { AutomaticRules as V2TaxAutomaticRules } from './resources/V2/Tax/AutomaticRules.js';
13
13
  import { BillSettings as V2BillingBillSettings } from './resources/V2/Billing/BillSettings.js';
14
+ import { BlocklistEntries as IdentityBlocklistEntries } from './resources/Identity/BlocklistEntries.js';
14
15
  import { Cadences as V2BillingCadences } from './resources/V2/Billing/Cadences.js';
15
16
  import { Calculations as TaxCalculations } from './resources/Tax/Calculations.js';
16
17
  import { Cardholders as IssuingCardholders } from './resources/Issuing/Cardholders.js';
@@ -102,6 +103,7 @@ import { Refunds as TestHelpersRefunds } from './resources/TestHelpers/Refunds.j
102
103
  import { Registrations as TaxRegistrations } from './resources/Tax/Registrations.js';
103
104
  import { ReportRuns as ReportingReportRuns } from './resources/Reporting/ReportRuns.js';
104
105
  import { ReportTypes as ReportingReportTypes } from './resources/Reporting/ReportTypes.js';
106
+ import { RequestedSessions as DelegatedCheckoutRequestedSessions } from './resources/DelegatedCheckout/RequestedSessions.js';
105
107
  import { Requests as ForwardingRequests } from './resources/Forwarding/Requests.js';
106
108
  import { ScheduledQueryRuns as SigmaScheduledQueryRuns } from './resources/Sigma/ScheduledQueryRuns.js';
107
109
  import { Secrets as AppsSecrets } from './resources/Apps/Secrets.js';
@@ -218,6 +220,9 @@ export const Climate = resourceNamespace('climate', {
218
220
  Products: ClimateProducts,
219
221
  Suppliers: ClimateSuppliers,
220
222
  });
223
+ export const DelegatedCheckout = resourceNamespace('delegatedCheckout', {
224
+ RequestedSessions: DelegatedCheckoutRequestedSessions,
225
+ });
221
226
  export const Entitlements = resourceNamespace('entitlements', {
222
227
  ActiveEntitlements: EntitlementsActiveEntitlements,
223
228
  Features: EntitlementsFeatures,
@@ -232,6 +237,7 @@ export const Forwarding = resourceNamespace('forwarding', {
232
237
  Requests: ForwardingRequests,
233
238
  });
234
239
  export const Identity = resourceNamespace('identity', {
240
+ BlocklistEntries: IdentityBlocklistEntries,
235
241
  VerificationReports: IdentityVerificationReports,
236
242
  VerificationSessions: IdentityVerificationSessions,
237
243
  });
@@ -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.2.0-alpha.2';
37
+ Stripe.PACKAGE_VERSION = '19.2.0-alpha.4';
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stripe",
3
- "version": "19.2.0-alpha.2",
3
+ "version": "19.2.0-alpha.4",
4
4
  "description": "Stripe API wrapper",
5
5
  "keywords": [
6
6
  "stripe",
@@ -25,6 +25,13 @@ declare module 'stripe' {
25
25
  */
26
26
  aggregated_value: number;
27
27
 
28
+ /**
29
+ * Key-value pairs of dimension values for event summaries with grouping on dimensions.
30
+ */
31
+ dimensions?: {
32
+ [key: string]: string;
33
+ } | null;
34
+
28
35
  /**
29
36
  * End timestamp for this event summary (exclusive). Must be aligned with minute boundaries.
30
37
  */
@@ -28,6 +28,11 @@ declare module 'stripe' {
28
28
 
29
29
  default_aggregation: Meter.DefaultAggregation;
30
30
 
31
+ /**
32
+ * Set of keys that will be used to group meter events by.
33
+ */
34
+ dimension_payload_keys?: Array<string> | null;
35
+
31
36
  /**
32
37
  * The meter's name.
33
38
  */
@@ -24,6 +24,11 @@ declare module 'stripe' {
24
24
  */
25
25
  customer_mapping?: MeterCreateParams.CustomerMapping;
26
26
 
27
+ /**
28
+ * Set of keys that will be used to group meter events by. Each key must be present in the event payload.
29
+ */
30
+ dimension_payload_keys?: Array<string>;
31
+
27
32
  /**
28
33
  * The time window which meter events have been pre-aggregated for, if any.
29
34
  */
@@ -132,6 +137,18 @@ declare module 'stripe' {
132
137
  */
133
138
  start_time: number;
134
139
 
140
+ /**
141
+ * Key-value pairs used to filter meter events by dimension values. If specified, event summaries will be generated with only matching meter events.
142
+ */
143
+ dimension_filters?: {
144
+ [key: string]: string;
145
+ };
146
+
147
+ /**
148
+ * List of dimension payload keys to group by. If specified, event summaries will be grouped by the given dimension payload key values.
149
+ */
150
+ dimension_group_by_keys?: Array<string>;
151
+
135
152
  /**
136
153
  * Specifies which fields in the response should be expanded.
137
154
  */