dodopayments 2.36.0 → 2.37.0
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 +5 -1771
- package/package.json +1 -1
- package/resources/checkout-sessions.d.mts +7 -0
- package/resources/checkout-sessions.d.mts.map +1 -1
- package/resources/checkout-sessions.d.ts +7 -0
- package/resources/checkout-sessions.d.ts.map +1 -1
- package/resources/credit-entitlements/balances.d.mts +4 -0
- package/resources/credit-entitlements/balances.d.mts.map +1 -1
- package/resources/credit-entitlements/balances.d.ts +4 -0
- package/resources/credit-entitlements/balances.d.ts.map +1 -1
- package/resources/disputes.d.mts +10 -0
- package/resources/disputes.d.mts.map +1 -1
- package/resources/disputes.d.ts +10 -0
- package/resources/disputes.d.ts.map +1 -1
- package/resources/entitlements/entitlements.d.mts +6 -8
- package/resources/entitlements/entitlements.d.mts.map +1 -1
- package/resources/entitlements/entitlements.d.ts +6 -8
- package/resources/entitlements/entitlements.d.ts.map +1 -1
- package/resources/entitlements/entitlements.js.map +1 -1
- package/resources/entitlements/entitlements.mjs.map +1 -1
- package/resources/entitlements/grants.d.mts +4 -4
- package/resources/entitlements/grants.d.mts.map +1 -1
- package/resources/entitlements/grants.d.ts +4 -4
- package/resources/entitlements/grants.d.ts.map +1 -1
- package/resources/license-keys.d.mts +4 -0
- package/resources/license-keys.d.mts.map +1 -1
- package/resources/license-keys.d.ts +4 -0
- package/resources/license-keys.d.ts.map +1 -1
- package/resources/payments.d.mts +7 -4
- package/resources/payments.d.mts.map +1 -1
- package/resources/payments.d.ts +7 -4
- package/resources/payments.d.ts.map +1 -1
- package/resources/payouts/breakup/breakup.d.mts +2 -2
- package/resources/payouts/breakup/breakup.d.ts +2 -2
- package/resources/payouts/breakup/details.d.mts +5 -4
- package/resources/payouts/breakup/details.d.mts.map +1 -1
- package/resources/payouts/breakup/details.d.ts +5 -4
- package/resources/payouts/breakup/details.d.ts.map +1 -1
- package/resources/products/products.d.mts +19 -2
- package/resources/products/products.d.mts.map +1 -1
- package/resources/products/products.d.ts +19 -2
- package/resources/products/products.d.ts.map +1 -1
- package/resources/products/products.js.map +1 -1
- package/resources/products/products.mjs.map +1 -1
- package/resources/refunds.d.mts +4 -0
- package/resources/refunds.d.mts.map +1 -1
- package/resources/refunds.d.ts +4 -0
- package/resources/refunds.d.ts.map +1 -1
- package/resources/subscriptions.d.mts +17 -5
- package/resources/subscriptions.d.mts.map +1 -1
- package/resources/subscriptions.d.ts +17 -5
- package/resources/subscriptions.d.ts.map +1 -1
- package/resources/webhook-events.d.mts +12 -0
- package/resources/webhook-events.d.mts.map +1 -1
- package/resources/webhook-events.d.ts +12 -0
- package/resources/webhook-events.d.ts.map +1 -1
- package/resources/webhooks/webhooks.d.mts +40 -0
- package/resources/webhooks/webhooks.d.mts.map +1 -1
- package/resources/webhooks/webhooks.d.ts +40 -0
- package/resources/webhooks/webhooks.d.ts.map +1 -1
- package/resources/webhooks/webhooks.js.map +1 -1
- package/resources/webhooks/webhooks.mjs.map +1 -1
- package/src/resources/checkout-sessions.ts +8 -0
- package/src/resources/credit-entitlements/balances.ts +5 -0
- package/src/resources/disputes.ts +12 -0
- package/src/resources/entitlements/entitlements.ts +6 -8
- package/src/resources/entitlements/grants.ts +5 -13
- package/src/resources/license-keys.ts +5 -0
- package/src/resources/payments.ts +7 -4
- package/src/resources/payouts/breakup/breakup.ts +2 -2
- package/src/resources/payouts/breakup/details.ts +5 -4
- package/src/resources/products/products.ts +22 -2
- package/src/resources/refunds.ts +5 -0
- package/src/resources/subscriptions.ts +18 -5
- package/src/resources/webhook-events.ts +15 -0
- package/src/resources/webhooks/webhooks.ts +50 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -177,6 +177,11 @@ export namespace AbandonedCheckoutDetectedWebhookEvent {
|
|
|
177
177
|
|
|
178
178
|
abandonment_reason: 'payment_failed' | 'checkout_incomplete';
|
|
179
179
|
|
|
180
|
+
/**
|
|
181
|
+
* Brand id this abandoned checkout belongs to
|
|
182
|
+
*/
|
|
183
|
+
brand_id: string;
|
|
184
|
+
|
|
180
185
|
customer_id: string;
|
|
181
186
|
|
|
182
187
|
payment_id: string;
|
|
@@ -220,6 +225,11 @@ export namespace AbandonedCheckoutRecoveredWebhookEvent {
|
|
|
220
225
|
|
|
221
226
|
abandonment_reason: 'payment_failed' | 'checkout_incomplete';
|
|
222
227
|
|
|
228
|
+
/**
|
|
229
|
+
* Brand id this abandoned checkout belongs to
|
|
230
|
+
*/
|
|
231
|
+
brand_id: string;
|
|
232
|
+
|
|
223
233
|
customer_id: string;
|
|
224
234
|
|
|
225
235
|
payment_id: string;
|
|
@@ -281,6 +291,11 @@ export namespace CreditBalanceLowWebhookEvent {
|
|
|
281
291
|
export interface Data {
|
|
282
292
|
available_balance: string;
|
|
283
293
|
|
|
294
|
+
/**
|
|
295
|
+
* Brand id this credit entitlement belongs to
|
|
296
|
+
*/
|
|
297
|
+
brand_id: string;
|
|
298
|
+
|
|
284
299
|
credit_entitlement_id: string;
|
|
285
300
|
|
|
286
301
|
credit_entitlement_name: string;
|
|
@@ -611,6 +626,11 @@ export namespace DunningRecoveredWebhookEvent {
|
|
|
611
626
|
* Webhook payload for dunning.started and dunning.recovered events
|
|
612
627
|
*/
|
|
613
628
|
export interface Data {
|
|
629
|
+
/**
|
|
630
|
+
* Brand id this dunning attempt belongs to
|
|
631
|
+
*/
|
|
632
|
+
brand_id: string;
|
|
633
|
+
|
|
614
634
|
created_at: string;
|
|
615
635
|
|
|
616
636
|
customer_id: string;
|
|
@@ -652,6 +672,11 @@ export namespace DunningStartedWebhookEvent {
|
|
|
652
672
|
* Webhook payload for dunning.started and dunning.recovered events
|
|
653
673
|
*/
|
|
654
674
|
export interface Data {
|
|
675
|
+
/**
|
|
676
|
+
* Brand id this dunning attempt belongs to
|
|
677
|
+
*/
|
|
678
|
+
brand_id: string;
|
|
679
|
+
|
|
655
680
|
created_at: string;
|
|
656
681
|
|
|
657
682
|
customer_id: string;
|
|
@@ -1100,6 +1125,11 @@ export namespace AbandonedCheckoutDetectedWebhookEvent {
|
|
|
1100
1125
|
|
|
1101
1126
|
abandonment_reason: 'payment_failed' | 'checkout_incomplete';
|
|
1102
1127
|
|
|
1128
|
+
/**
|
|
1129
|
+
* Brand id this abandoned checkout belongs to
|
|
1130
|
+
*/
|
|
1131
|
+
brand_id: string;
|
|
1132
|
+
|
|
1103
1133
|
customer_id: string;
|
|
1104
1134
|
|
|
1105
1135
|
payment_id: string;
|
|
@@ -1143,6 +1173,11 @@ export namespace AbandonedCheckoutRecoveredWebhookEvent {
|
|
|
1143
1173
|
|
|
1144
1174
|
abandonment_reason: 'payment_failed' | 'checkout_incomplete';
|
|
1145
1175
|
|
|
1176
|
+
/**
|
|
1177
|
+
* Brand id this abandoned checkout belongs to
|
|
1178
|
+
*/
|
|
1179
|
+
brand_id: string;
|
|
1180
|
+
|
|
1146
1181
|
customer_id: string;
|
|
1147
1182
|
|
|
1148
1183
|
payment_id: string;
|
|
@@ -1204,6 +1239,11 @@ export namespace CreditBalanceLowWebhookEvent {
|
|
|
1204
1239
|
export interface Data {
|
|
1205
1240
|
available_balance: string;
|
|
1206
1241
|
|
|
1242
|
+
/**
|
|
1243
|
+
* Brand id this credit entitlement belongs to
|
|
1244
|
+
*/
|
|
1245
|
+
brand_id: string;
|
|
1246
|
+
|
|
1207
1247
|
credit_entitlement_id: string;
|
|
1208
1248
|
|
|
1209
1249
|
credit_entitlement_name: string;
|
|
@@ -1534,6 +1574,11 @@ export namespace DunningRecoveredWebhookEvent {
|
|
|
1534
1574
|
* Webhook payload for dunning.started and dunning.recovered events
|
|
1535
1575
|
*/
|
|
1536
1576
|
export interface Data {
|
|
1577
|
+
/**
|
|
1578
|
+
* Brand id this dunning attempt belongs to
|
|
1579
|
+
*/
|
|
1580
|
+
brand_id: string;
|
|
1581
|
+
|
|
1537
1582
|
created_at: string;
|
|
1538
1583
|
|
|
1539
1584
|
customer_id: string;
|
|
@@ -1575,6 +1620,11 @@ export namespace DunningStartedWebhookEvent {
|
|
|
1575
1620
|
* Webhook payload for dunning.started and dunning.recovered events
|
|
1576
1621
|
*/
|
|
1577
1622
|
export interface Data {
|
|
1623
|
+
/**
|
|
1624
|
+
* Brand id this dunning attempt belongs to
|
|
1625
|
+
*/
|
|
1626
|
+
brand_id: string;
|
|
1627
|
+
|
|
1578
1628
|
created_at: string;
|
|
1579
1629
|
|
|
1580
1630
|
customer_id: string;
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '2.
|
|
1
|
+
export const VERSION = '2.37.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "2.
|
|
1
|
+
export declare const VERSION = "2.37.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "2.
|
|
1
|
+
export declare const VERSION = "2.37.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '2.
|
|
1
|
+
export const VERSION = '2.37.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|