stripe 17.6.0-beta.2 → 17.6.0-beta.3

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 CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 17.6.0-beta.3 - 2025-01-23
4
+ * [#2253](https://github.com/stripe/stripe-node/pull/2253) Update generated code for beta
5
+ * Change `Refund.destination_details.blik.network_decline_code` and `Refund.destination_details.swish.network_decline_code` to be required
6
+ * Remove support for `stripe_account` on `Terminal.Reader.action.collect_payment_method`, `Terminal.Reader.action.confirm_payment_intent`, `Terminal.Reader.action.process_payment_intent`, and `Terminal.Reader.action.refund_payment`
7
+
3
8
  ## 17.6.0-beta.2 - 2025-01-17
4
9
  * [#2247](https://github.com/stripe/stripe-node/pull/2247) Update generated code for beta
5
10
  * Add support for `pay_by_bank_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
package/VERSION CHANGED
@@ -1 +1 @@
1
- 17.6.0-beta.2
1
+ 17.6.0-beta.3
@@ -36,7 +36,7 @@ const ALLOWED_CONFIG_PROPERTIES = [
36
36
  ];
37
37
  const defaultRequestSenderFactory = (stripe) => new RequestSender_js_1.RequestSender(stripe, StripeResource_js_1.StripeResource.MAX_BUFFERED_REQUEST_METRICS);
38
38
  function createStripe(platformFunctions, requestSender = defaultRequestSenderFactory) {
39
- Stripe.PACKAGE_VERSION = '17.6.0-beta.2';
39
+ Stripe.PACKAGE_VERSION = '17.6.0-beta.3';
40
40
  Stripe.USER_AGENT = Object.assign({ bindings_version: Stripe.PACKAGE_VERSION, lang: 'node', publisher: 'stripe', uname: null, typescript: false }, (0, utils_js_1.determineProcessUserAgentProperties)());
41
41
  Stripe.StripeResource = StripeResource_js_1.StripeResource;
42
42
  Stripe.resources = resources;
@@ -33,7 +33,7 @@ const ALLOWED_CONFIG_PROPERTIES = [
33
33
  ];
34
34
  const defaultRequestSenderFactory = (stripe) => new RequestSender(stripe, StripeResource.MAX_BUFFERED_REQUEST_METRICS);
35
35
  export function createStripe(platformFunctions, requestSender = defaultRequestSenderFactory) {
36
- Stripe.PACKAGE_VERSION = '17.6.0-beta.2';
36
+ Stripe.PACKAGE_VERSION = '17.6.0-beta.3';
37
37
  Stripe.USER_AGENT = Object.assign({ bindings_version: Stripe.PACKAGE_VERSION, lang: 'node', publisher: 'stripe', uname: null, typescript: false }, determineProcessUserAgentProperties());
38
38
  Stripe.StripeResource = StripeResource;
39
39
  Stripe.resources = resources;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stripe",
3
- "version": "17.6.0-beta.2",
3
+ "version": "17.6.0-beta.3",
4
4
  "description": "Stripe API wrapper",
5
5
  "keywords": [
6
6
  "stripe",
@@ -910,7 +910,7 @@ declare module 'stripe' {
910
910
  network_token?: Card.NetworkToken | null;
911
911
 
912
912
  /**
913
- * This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent the date (MM/DD). This field will be available for successful Visa, Mastercard, or American Express transactions and always null for other card brands.
913
+ * This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
914
914
  */
915
915
  network_transaction_id: string | null;
916
916
 
@@ -1323,7 +1323,7 @@ declare module 'stripe' {
1323
1323
  network: string | null;
1324
1324
 
1325
1325
  /**
1326
- * This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent the date (MM/DD). This field will be available for successful Visa, Mastercard, or American Express transactions and always null for other card brands.
1326
+ * This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
1327
1327
  */
1328
1328
  network_transaction_id: string | null;
1329
1329
 
@@ -1753,7 +1753,7 @@ declare module 'stripe' {
1753
1753
  network: string | null;
1754
1754
 
1755
1755
  /**
1756
- * This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent the date (MM/DD). This field will be available for successful Visa, Mastercard, or American Express transactions and always null for other card brands.
1756
+ * This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
1757
1757
  */
1758
1758
  network_transaction_id: string | null;
1759
1759
 
@@ -598,7 +598,7 @@ declare module 'stripe' {
598
598
  network: string | null;
599
599
 
600
600
  /**
601
- * This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent the date (MM/DD). This field will be available for successful Visa, Mastercard, or American Express transactions and always null for other card brands.
601
+ * This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
602
602
  */
603
603
  network_transaction_id: string | null;
604
604
 
@@ -500,7 +500,7 @@ declare module 'stripe' {
500
500
  network: string | null;
501
501
 
502
502
  /**
503
- * This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent the date (MM/DD). This field will be available for successful Visa, Mastercard, or American Express transactions and always null for other card brands.
503
+ * This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
504
504
  */
505
505
  network_transaction_id: string | null;
506
506
 
@@ -194,7 +194,7 @@ declare module 'stripe' {
194
194
  /**
195
195
  * For refunds declined by the network, a decline code provided by the network which indicates the reason the refund failed.
196
196
  */
197
- network_decline_code?: string | null;
197
+ network_decline_code: string | null;
198
198
 
199
199
  /**
200
200
  * The reference assigned to the refund.
@@ -355,7 +355,7 @@ declare module 'stripe' {
355
355
  /**
356
356
  * For refunds declined by the network, a decline code provided by the network which indicates the reason the refund failed.
357
357
  */
358
- network_decline_code?: string | null;
358
+ network_decline_code: string | null;
359
359
 
360
360
  /**
361
361
  * The reference assigned to the refund.
@@ -374,11 +374,6 @@ declare module 'stripe' {
374
374
  * Related guides: [Payment Methods](https://stripe.com/docs/payments/payment-methods) and [More Payment Scenarios](https://stripe.com/docs/payments/more-payment-scenarios).
375
375
  */
376
376
  payment_method?: Stripe.PaymentMethod;
377
-
378
- /**
379
- * This field will be deprecated. Please use `account` instead.
380
- */
381
- stripe_account?: string;
382
377
  }
383
378
 
384
379
  namespace CollectPaymentMethod {
@@ -419,11 +414,6 @@ declare module 'stripe' {
419
414
  * Most recent PaymentIntent processed by the reader.
420
415
  */
421
416
  payment_intent: string | Stripe.PaymentIntent;
422
-
423
- /**
424
- * This field will be deprecated. Please use `account` instead.
425
- */
426
- stripe_account?: string;
427
417
  }
428
418
 
429
419
  interface ProcessPaymentIntent {
@@ -441,11 +431,6 @@ declare module 'stripe' {
441
431
  * Represents a per-transaction override of a reader configuration
442
432
  */
443
433
  process_config?: ProcessPaymentIntent.ProcessConfig;
444
-
445
- /**
446
- * This field will be deprecated. Please use `account` instead.
447
- */
448
- stripe_account?: string;
449
434
  }
450
435
 
451
436
  namespace ProcessPaymentIntent {
@@ -552,11 +537,6 @@ declare module 'stripe' {
552
537
  * Boolean indicating whether the transfer should be reversed when refunding this charge. The transfer will be reversed proportionally to the amount being refunded (either the entire or partial amount). A transfer can be reversed only by the application that created the charge.
553
538
  */
554
539
  reverse_transfer?: boolean;
555
-
556
- /**
557
- * This field will be deprecated. Please use `account` instead.
558
- */
559
- stripe_account?: string;
560
540
  }
561
541
 
562
542
  namespace RefundPayment {