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.
Files changed (123) hide show
  1. package/CHANGELOG.md +1 -106
  2. package/OPENAPI_VERSION +1 -1
  3. package/VERSION +1 -1
  4. package/cjs/resources.js +0 -30
  5. package/cjs/stripe.core.js +1 -1
  6. package/esm/resources.js +0 -30
  7. package/esm/stripe.core.js +1 -1
  8. package/package.json +1 -1
  9. package/types/Billing/AlertTriggereds.d.ts +0 -15
  10. package/types/Billing/Alerts.d.ts +1 -116
  11. package/types/Billing/AlertsResource.d.ts +2 -149
  12. package/types/Billing/CreditBalanceSummary.d.ts +2 -118
  13. package/types/Billing/CreditBalanceSummaryResource.d.ts +0 -12
  14. package/types/Billing/CreditBalanceTransactions.d.ts +2 -118
  15. package/types/Billing/CreditGrants.d.ts +1 -71
  16. package/types/Billing/CreditGrantsResource.d.ts +1 -32
  17. package/types/Checkout/Sessions.d.ts +0 -58
  18. package/types/Checkout/SessionsResource.d.ts +0 -50
  19. package/types/CreditNotes.d.ts +0 -26
  20. package/types/CreditNotesResource.d.ts +0 -78
  21. package/types/InvoiceItems.d.ts +2 -104
  22. package/types/InvoiceLineItems.d.ts +2 -113
  23. package/types/InvoicesResource.d.ts +0 -5
  24. package/types/V2/Billing/Cadences.d.ts +0 -45
  25. package/types/V2/Billing/CadencesResource.d.ts +3 -32
  26. package/types/V2/Core/Accounts.d.ts +0 -59
  27. package/types/V2/Core/AccountsResource.d.ts +0 -24
  28. package/types/V2/Core/EventTypes.d.ts +375 -7180
  29. package/types/V2/Core/Events.d.ts +0 -12
  30. package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +0 -14
  31. package/types/V2/MoneyManagement/OutboundPayments.d.ts +0 -5
  32. package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +0 -5
  33. package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +0 -34
  34. package/types/V2/MoneyManagement/OutboundTransfers.d.ts +0 -5
  35. package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +0 -5
  36. package/types/V2/MoneyManagement/PayoutMethods.d.ts +0 -41
  37. package/types/V2/MoneyManagement/ReceivedDebits.d.ts +0 -5
  38. package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +1 -6
  39. package/types/Webhooks.d.ts +0 -2
  40. package/types/index.d.ts +0 -58
  41. package/cjs/resources/V2/Billing/CustomPricingUnits.js +0 -25
  42. package/cjs/resources/V2/Billing/Intents/Actions.js +0 -17
  43. package/cjs/resources/V2/Billing/Intents.js +0 -36
  44. package/cjs/resources/V2/Billing/LicenseFeeSubscriptions.js +0 -12
  45. package/cjs/resources/V2/Billing/LicenseFees/Versions.js +0 -17
  46. package/cjs/resources/V2/Billing/LicenseFees.js +0 -27
  47. package/cjs/resources/V2/Billing/LicensedItems.js +0 -25
  48. package/cjs/resources/V2/Billing/MeteredItems.js +0 -22
  49. package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +0 -21
  50. package/cjs/resources/V2/Billing/PricingPlans/Components.js +0 -29
  51. package/cjs/resources/V2/Billing/PricingPlans/Versions.js +0 -17
  52. package/cjs/resources/V2/Billing/PricingPlans.js +0 -29
  53. package/cjs/resources/V2/Billing/RateCardSubscriptions.js +0 -29
  54. package/cjs/resources/V2/Billing/RateCards/Rates.js +0 -25
  55. package/cjs/resources/V2/Billing/RateCards/Versions.js +0 -17
  56. package/cjs/resources/V2/Billing/RateCards.js +0 -29
  57. package/cjs/resources/V2/Billing/ServiceActions.js +0 -20
  58. package/cjs/resources/V2/Core/ClaimableSandboxes.js +0 -16
  59. package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +0 -20
  60. package/cjs/resources/V2/Tax/AutomaticRules.js +0 -22
  61. package/cjs/resources/V2/TestHelpers/MoneyManagement.js +0 -12
  62. package/esm/resources/V2/Billing/CustomPricingUnits.js +0 -22
  63. package/esm/resources/V2/Billing/Intents/Actions.js +0 -14
  64. package/esm/resources/V2/Billing/Intents.js +0 -33
  65. package/esm/resources/V2/Billing/LicenseFeeSubscriptions.js +0 -9
  66. package/esm/resources/V2/Billing/LicenseFees/Versions.js +0 -14
  67. package/esm/resources/V2/Billing/LicenseFees.js +0 -24
  68. package/esm/resources/V2/Billing/LicensedItems.js +0 -22
  69. package/esm/resources/V2/Billing/MeteredItems.js +0 -19
  70. package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +0 -18
  71. package/esm/resources/V2/Billing/PricingPlans/Components.js +0 -26
  72. package/esm/resources/V2/Billing/PricingPlans/Versions.js +0 -14
  73. package/esm/resources/V2/Billing/PricingPlans.js +0 -26
  74. package/esm/resources/V2/Billing/RateCardSubscriptions.js +0 -26
  75. package/esm/resources/V2/Billing/RateCards/Rates.js +0 -22
  76. package/esm/resources/V2/Billing/RateCards/Versions.js +0 -14
  77. package/esm/resources/V2/Billing/RateCards.js +0 -26
  78. package/esm/resources/V2/Billing/ServiceActions.js +0 -17
  79. package/esm/resources/V2/Core/ClaimableSandboxes.js +0 -13
  80. package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +0 -17
  81. package/esm/resources/V2/Tax/AutomaticRules.js +0 -19
  82. package/esm/resources/V2/TestHelpers/MoneyManagement.js +0 -9
  83. package/types/V2/Billing/CustomPricingUnits.d.ts +0 -56
  84. package/types/V2/Billing/CustomPricingUnitsResource.d.ts +0 -122
  85. package/types/V2/Billing/IntentActions.d.ts +0 -459
  86. package/types/V2/Billing/Intents/ActionsResource.d.ts +0 -58
  87. package/types/V2/Billing/Intents.d.ts +0 -117
  88. package/types/V2/Billing/IntentsResource.d.ts +0 -575
  89. package/types/V2/Billing/LicenseFeeSubscriptions.d.ts +0 -64
  90. package/types/V2/Billing/LicenseFeeSubscriptionsResource.d.ts +0 -28
  91. package/types/V2/Billing/LicenseFeeVersions.d.ts +0 -106
  92. package/types/V2/Billing/LicenseFees/VersionsResource.d.ts +0 -58
  93. package/types/V2/Billing/LicenseFees.d.ts +0 -164
  94. package/types/V2/Billing/LicenseFeesResource.d.ts +0 -290
  95. package/types/V2/Billing/LicensedItems.d.ts +0 -73
  96. package/types/V2/Billing/LicensedItemsResource.d.ts +0 -157
  97. package/types/V2/Billing/MeteredItems.d.ts +0 -101
  98. package/types/V2/Billing/MeteredItemsResource.d.ts +0 -189
  99. package/types/V2/Billing/PricingPlanComponents.d.ts +0 -109
  100. package/types/V2/Billing/PricingPlanSubscriptions.d.ts +0 -144
  101. package/types/V2/Billing/PricingPlanSubscriptionsResource.d.ts +0 -118
  102. package/types/V2/Billing/PricingPlanVersions.d.ts +0 -49
  103. package/types/V2/Billing/PricingPlans/ComponentsResource.d.ts +0 -197
  104. package/types/V2/Billing/PricingPlans/VersionsResource.d.ts +0 -58
  105. package/types/V2/Billing/PricingPlans.d.ts +0 -84
  106. package/types/V2/Billing/PricingPlansResource.d.ts +0 -151
  107. package/types/V2/Billing/RateCardRates.d.ts +0 -144
  108. package/types/V2/Billing/RateCardSubscriptions.d.ts +0 -144
  109. package/types/V2/Billing/RateCardSubscriptionsResource.d.ts +0 -157
  110. package/types/V2/Billing/RateCardVersions.d.ts +0 -39
  111. package/types/V2/Billing/RateCards/RatesResource.d.ts +0 -203
  112. package/types/V2/Billing/RateCards/VersionsResource.d.ts +0 -58
  113. package/types/V2/Billing/RateCards.d.ts +0 -98
  114. package/types/V2/Billing/RateCardsResource.d.ts +0 -162
  115. package/types/V2/Billing/ServiceActions.d.ts +0 -274
  116. package/types/V2/Billing/ServiceActionsResource.d.ts +0 -370
  117. package/types/V2/Core/ClaimableSandboxes.d.ts +0 -132
  118. package/types/V2/Core/ClaimableSandboxesResource.d.ts +0 -74
  119. package/types/V2/MoneyManagement/RecipientVerifications.d.ts +0 -112
  120. package/types/V2/MoneyManagement/RecipientVerificationsResource.d.ts +0 -77
  121. package/types/V2/Tax/AutomaticRules.d.ts +0 -53
  122. package/types/V2/Tax/AutomaticRulesResource.d.ts +0 -102
  123. 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
- }