stripe 17.4.0-beta.1 → 17.4.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.
Files changed (97) hide show
  1. package/CHANGELOG.md +78 -36
  2. package/VERSION +1 -1
  3. package/cjs/apiVersion.js +1 -1
  4. package/cjs/resources/Issuing/FraudLiabilityDebits.js +17 -0
  5. package/cjs/resources/PaymentAttemptRecords.js +17 -0
  6. package/cjs/resources/PaymentRecords.js +29 -0
  7. package/cjs/resources/TestHelpers/Issuing/Authorizations.js +4 -0
  8. package/cjs/resources.js +28 -6
  9. package/cjs/stripe.core.js +1 -1
  10. package/esm/apiVersion.js +1 -1
  11. package/esm/resources/Issuing/FraudLiabilityDebits.js +14 -0
  12. package/esm/resources/PaymentAttemptRecords.js +14 -0
  13. package/esm/resources/PaymentRecords.js +26 -0
  14. package/esm/resources/TestHelpers/Issuing/Authorizations.js +4 -0
  15. package/esm/resources.js +22 -1
  16. package/esm/stripe.core.js +1 -1
  17. package/package.json +1 -1
  18. package/types/AccountSessions.d.ts +5 -5
  19. package/types/AccountSessionsResource.d.ts +29 -6
  20. package/types/Accounts.d.ts +39 -5
  21. package/types/AccountsResource.d.ts +15 -0
  22. package/types/Billing/CreditBalanceSummaryResource.d.ts +1 -1
  23. package/types/Billing/CreditGrants.d.ts +5 -6
  24. package/types/Billing/CreditGrantsResource.d.ts +11 -11
  25. package/types/Billing/MeterEventsResource.d.ts +1 -1
  26. package/types/Capabilities.d.ts +1 -1
  27. package/types/Charges.d.ts +5 -5
  28. package/types/Checkout/Sessions.d.ts +60 -3
  29. package/types/Checkout/SessionsResource.d.ts +91 -5
  30. package/types/ConfirmationTokens.d.ts +4 -4
  31. package/types/CustomersResource.d.ts +4 -2
  32. package/types/Disputes.d.ts +1 -1
  33. package/types/EventTypes.d.ts +34 -0
  34. package/types/Events.d.ts +2 -0
  35. package/types/FileLinksResource.d.ts +1 -1
  36. package/types/Files.d.ts +1 -0
  37. package/types/FilesResource.d.ts +1 -0
  38. package/types/FundingInstructions.d.ts +49 -0
  39. package/types/Identity/VerificationReports.d.ts +1 -1
  40. package/types/Identity/VerificationSessions.d.ts +1 -1
  41. package/types/Identity/VerificationSessionsResource.d.ts +1 -1
  42. package/types/InvoicePayments.d.ts +10 -35
  43. package/types/Invoices.d.ts +9 -2
  44. package/types/InvoicesResource.d.ts +24 -11
  45. package/types/Issuing/Authorizations.d.ts +41 -1
  46. package/types/Issuing/Cardholders.d.ts +1 -1
  47. package/types/Issuing/Cards.d.ts +2 -2
  48. package/types/Issuing/FraudLiabilityDebits.d.ts +52 -0
  49. package/types/Issuing/FraudLiabilityDebitsResource.d.ts +52 -0
  50. package/types/Orders.d.ts +2 -1
  51. package/types/OrdersResource.d.ts +4 -2
  52. package/types/PaymentAttemptRecords.d.ts +242 -0
  53. package/types/PaymentAttemptRecordsResource.d.ts +47 -0
  54. package/types/PaymentIntents.d.ts +52 -2
  55. package/types/PaymentIntentsResource.d.ts +9 -6
  56. package/types/PaymentLinks.d.ts +1 -1
  57. package/types/PaymentLinksResource.d.ts +10 -3
  58. package/types/PaymentMethods.d.ts +4 -4
  59. package/types/PaymentRecords.d.ts +259 -0
  60. package/types/PaymentRecordsResource.d.ts +455 -0
  61. package/types/Payouts.d.ts +17 -0
  62. package/types/Persons.d.ts +5 -0
  63. package/types/QuoteLines.d.ts +1 -1
  64. package/types/QuotePreviewInvoices.d.ts +9 -2
  65. package/types/QuotePreviewSubscriptionSchedules.d.ts +1 -1
  66. package/types/Refunds.d.ts +10 -0
  67. package/types/SetupAttempts.d.ts +2 -2
  68. package/types/SetupIntents.d.ts +2 -1
  69. package/types/SetupIntentsResource.d.ts +7 -4
  70. package/types/SubscriptionSchedules.d.ts +1 -1
  71. package/types/SubscriptionSchedulesResource.d.ts +2 -2
  72. package/types/Subscriptions.d.ts +4 -2
  73. package/types/SubscriptionsResource.d.ts +6 -2
  74. package/types/Tax/CalculationLineItems.d.ts +1 -0
  75. package/types/Tax/Calculations.d.ts +4 -1
  76. package/types/Tax/CalculationsResource.d.ts +2 -1
  77. package/types/Tax/Transactions.d.ts +3 -1
  78. package/types/TaxIds.d.ts +2 -1
  79. package/types/TaxIdsResource.d.ts +2 -1
  80. package/types/TaxRates.d.ts +1 -0
  81. package/types/TaxRatesResource.d.ts +2 -0
  82. package/types/TestHelpers/Issuing/AuthorizationsResource.d.ts +37 -4
  83. package/types/TokensResource.d.ts +5 -0
  84. package/types/Treasury/InboundTransfers.d.ts +1 -1
  85. package/types/WebhookEndpointsResource.d.ts +6 -1
  86. package/types/index.d.ts +21 -4
  87. package/types/lib.d.ts +1 -1
  88. package/types/test/typescriptTest.ts +3 -3
  89. package/cjs/resources/V2/Billing.js +0 -18
  90. package/cjs/resources/V2/Core.js +0 -14
  91. package/cjs/resources/V2.js +0 -14
  92. package/esm/resources/V2/Billing.js +0 -15
  93. package/esm/resources/V2/Core.js +0 -11
  94. package/esm/resources/V2.js +0 -11
  95. package/types/V2/BillingResource.d.ts +0 -14
  96. package/types/V2/CoreResource.d.ts +0 -12
  97. package/types/V2Resource.d.ts +0 -10
@@ -1,14 +0,0 @@
1
- // File generated from our OpenAPI spec
2
-
3
- declare module 'stripe' {
4
- namespace Stripe {
5
- namespace V2 {
6
- class BillingResource {
7
- meterEventSession: Stripe.V2.Billing.MeterEventSessionResource;
8
- meterEventAdjustments: Stripe.V2.Billing.MeterEventAdjustmentsResource;
9
- meterEventStream: Stripe.V2.Billing.MeterEventStreamResource;
10
- meterEvents: Stripe.V2.Billing.MeterEventsResource;
11
- }
12
- }
13
- }
14
- }
@@ -1,12 +0,0 @@
1
- // File generated from our OpenAPI spec
2
-
3
- declare module 'stripe' {
4
- namespace Stripe {
5
- namespace V2 {
6
- class CoreResource {
7
- eventDestinations: Stripe.V2.Core.EventDestinationsResource;
8
- events: Stripe.V2.Core.EventsResource;
9
- }
10
- }
11
- }
12
- }
@@ -1,10 +0,0 @@
1
- // File generated from our OpenAPI spec
2
-
3
- declare module 'stripe' {
4
- namespace Stripe {
5
- class V2Resource {
6
- billing: Stripe.V2.BillingResource;
7
- core: Stripe.V2.CoreResource;
8
- }
9
- }
10
- }