dodopayments 2.43.0 → 2.45.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 +16 -0
- package/client.d.mts +2 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +2 -2
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- 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/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/misc.d.mts +1 -1
- package/resources/misc.d.mts.map +1 -1
- package/resources/misc.d.ts +1 -1
- package/resources/misc.d.ts.map +1 -1
- package/resources/payments.d.mts +3 -47
- package/resources/payments.d.mts.map +1 -1
- package/resources/payments.d.ts +3 -47
- package/resources/payments.d.ts.map +1 -1
- package/resources/webhook-events.d.mts +69 -2
- package/resources/webhook-events.d.mts.map +1 -1
- package/resources/webhook-events.d.ts +69 -2
- package/resources/webhook-events.d.ts.map +1 -1
- package/resources/webhook-events.js.map +1 -1
- package/resources/webhook-events.mjs.map +1 -1
- package/resources/webhooks/index.d.mts +1 -1
- package/resources/webhooks/index.d.mts.map +1 -1
- package/resources/webhooks/index.d.ts +1 -1
- package/resources/webhooks/index.d.ts.map +1 -1
- package/resources/webhooks/index.js.map +1 -1
- package/resources/webhooks/index.mjs.map +1 -1
- package/resources/webhooks/webhooks.d.mts +824 -3
- package/resources/webhooks/webhooks.d.mts.map +1 -1
- package/resources/webhooks/webhooks.d.ts +824 -3
- 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/client.ts +10 -0
- package/src/resources/checkout-sessions.ts +8 -0
- package/src/resources/index.ts +5 -0
- package/src/resources/misc.ts +1 -1
- package/src/resources/payments.ts +3 -82
- package/src/resources/webhook-events.ts +85 -1
- package/src/resources/webhooks/index.ts +5 -0
- package/src/resources/webhooks/webhooks.ts +1101 -75
- 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
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { APIResource } from "../core/resource.js";
|
|
2
2
|
import * as DisputesAPI from "./disputes.js";
|
|
3
3
|
import * as LicenseKeysAPI from "./license-keys.js";
|
|
4
|
+
import * as MiscAPI from "./misc.js";
|
|
4
5
|
import * as PaymentsAPI from "./payments.js";
|
|
5
6
|
import * as RefundsAPI from "./refunds.js";
|
|
6
7
|
import * as SubscriptionsAPI from "./subscriptions.js";
|
|
@@ -11,13 +12,13 @@ export declare class WebhookEvents extends APIResource {
|
|
|
11
12
|
/**
|
|
12
13
|
* Event types for Dodo events
|
|
13
14
|
*/
|
|
14
|
-
export type WebhookEventType = 'payment.succeeded' | 'payment.failed' | 'payment.processing' | 'payment.cancelled' | 'refund.succeeded' | 'refund.failed' | 'dispute.opened' | 'dispute.expired' | 'dispute.accepted' | 'dispute.cancelled' | 'dispute.challenged' | 'dispute.won' | 'dispute.lost' | 'subscription.active' | 'subscription.renewed' | 'subscription.on_hold' | 'subscription.paused' | 'subscription.cancelled' | 'subscription.failed' | 'subscription.expired' | 'subscription.plan_changed' | 'subscription.updated' | 'subscription.update_payment_method' | 'license_key.created' | 'payout.
|
|
15
|
+
export type WebhookEventType = 'payment.succeeded' | 'payment.failed' | 'payment.processing' | 'payment.cancelled' | 'refund.succeeded' | 'refund.failed' | 'dispute.opened' | 'dispute.expired' | 'dispute.accepted' | 'dispute.cancelled' | 'dispute.challenged' | 'dispute.won' | 'dispute.lost' | 'subscription.active' | 'subscription.renewed' | 'subscription.on_hold' | 'subscription.paused' | 'subscription.cancelled' | 'subscription.failed' | 'subscription.expired' | 'subscription.plan_changed' | 'subscription.updated' | 'subscription.update_payment_method' | 'license_key.created' | 'payout.created' | 'payout.on_hold' | 'payout.in_progress' | 'payout.failed' | 'payout.success' | 'credit.added' | 'credit.deducted' | 'credit.expired' | 'credit.rolled_over' | 'credit.rollover_forfeited' | 'credit.overage_charged' | 'credit.overage_reset' | 'credit.manual_adjustment' | 'credit.balance_low' | 'abandoned_checkout.detected' | 'abandoned_checkout.recovered' | 'dunning.started' | 'dunning.recovered' | 'entitlement_grant.created' | 'entitlement_grant.delivered' | 'entitlement_grant.failed' | 'entitlement_grant.revoked';
|
|
15
16
|
export interface WebhookPayload {
|
|
16
17
|
business_id: string;
|
|
17
18
|
/**
|
|
18
19
|
* The latest data at the time of delivery attempt
|
|
19
20
|
*/
|
|
20
|
-
data: WebhookPayload.Payment | WebhookPayload.Subscription | WebhookPayload.Refund | WebhookPayload.Dispute | WebhookPayload.LicenseKey | WebhookPayload.CreditLedgerEntry | WebhookPayload.CreditBalanceLow | WebhookPayload.AbandonedCheckout | WebhookPayload.DunningAttempt | WebhookPayload.EntitlementGrant;
|
|
21
|
+
data: WebhookPayload.Payment | WebhookPayload.Subscription | WebhookPayload.Refund | WebhookPayload.Dispute | WebhookPayload.LicenseKey | WebhookPayload.Payout | WebhookPayload.CreditLedgerEntry | WebhookPayload.CreditBalanceLow | WebhookPayload.AbandonedCheckout | WebhookPayload.DunningAttempt | WebhookPayload.EntitlementGrant;
|
|
21
22
|
/**
|
|
22
23
|
* The timestamp of when the event occurred (not necessarily the same of when it
|
|
23
24
|
* was delivered)
|
|
@@ -47,6 +48,72 @@ export declare namespace WebhookPayload {
|
|
|
47
48
|
interface LicenseKey extends LicenseKeysAPI.LicenseKey {
|
|
48
49
|
payload_type: 'LicenseKey';
|
|
49
50
|
}
|
|
51
|
+
interface Payout {
|
|
52
|
+
/**
|
|
53
|
+
* The total amount of the payout.
|
|
54
|
+
*/
|
|
55
|
+
amount: number;
|
|
56
|
+
/**
|
|
57
|
+
* The unique identifier of the business associated with the payout.
|
|
58
|
+
*/
|
|
59
|
+
business_id: string;
|
|
60
|
+
/**
|
|
61
|
+
* @deprecated Use the v3 payout breakup endpoints instead. Will be removed in a
|
|
62
|
+
* future release.
|
|
63
|
+
*/
|
|
64
|
+
chargebacks: number;
|
|
65
|
+
/**
|
|
66
|
+
* The timestamp when the payout was created, in UTC.
|
|
67
|
+
*/
|
|
68
|
+
created_at: string;
|
|
69
|
+
/**
|
|
70
|
+
* The currency of the payout, represented as an ISO 4217 currency code.
|
|
71
|
+
*/
|
|
72
|
+
currency: MiscAPI.Currency;
|
|
73
|
+
/**
|
|
74
|
+
* The fee charged for processing the payout.
|
|
75
|
+
*/
|
|
76
|
+
fee: number;
|
|
77
|
+
payload_type: 'Payout';
|
|
78
|
+
/**
|
|
79
|
+
* The payment method used for the payout (e.g., bank transfer, card, etc.).
|
|
80
|
+
*/
|
|
81
|
+
payment_method: string;
|
|
82
|
+
/**
|
|
83
|
+
* The unique identifier of the payout.
|
|
84
|
+
*/
|
|
85
|
+
payout_id: string;
|
|
86
|
+
/**
|
|
87
|
+
* @deprecated Use the v3 payout breakup endpoints instead. Will be removed in a
|
|
88
|
+
* future release.
|
|
89
|
+
*/
|
|
90
|
+
refunds: number;
|
|
91
|
+
/**
|
|
92
|
+
* The current status of the payout.
|
|
93
|
+
*/
|
|
94
|
+
status: 'not_initiated' | 'in_progress' | 'on_hold' | 'failed' | 'success';
|
|
95
|
+
/**
|
|
96
|
+
* @deprecated Use the v3 payout breakup endpoints instead. Will be removed in a
|
|
97
|
+
* future release.
|
|
98
|
+
*/
|
|
99
|
+
tax: number;
|
|
100
|
+
/**
|
|
101
|
+
* The timestamp when the payout was last updated, in UTC.
|
|
102
|
+
*/
|
|
103
|
+
updated_at: string;
|
|
104
|
+
/**
|
|
105
|
+
* The name of the payout recipient or purpose.
|
|
106
|
+
*/
|
|
107
|
+
name?: string | null;
|
|
108
|
+
/**
|
|
109
|
+
* The URL of the document associated with the payout.
|
|
110
|
+
*/
|
|
111
|
+
payout_document_url?: string | null;
|
|
112
|
+
/**
|
|
113
|
+
* Any additional remarks or notes associated with the payout.
|
|
114
|
+
*/
|
|
115
|
+
remarks?: string | null;
|
|
116
|
+
}
|
|
50
117
|
/**
|
|
51
118
|
* Response for a ledger entry
|
|
52
119
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhook-events.d.ts","sourceRoot":"","sources":["../src/resources/webhook-events.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,KAAK,WAAW,sBAAmB;AAC1C,OAAO,KAAK,cAAc,0BAAuB;AACjD,OAAO,KAAK,WAAW,sBAAmB;AAC1C,OAAO,KAAK,UAAU,qBAAkB;AACxC,OAAO,KAAK,gBAAgB,2BAAwB;AACpD,OAAO,KAAK,WAAW,0CAAuC;AAC9D,OAAO,KAAK,SAAS,iCAA8B;AAEnD,qBAAa,aAAc,SAAQ,WAAW;CAAG;AAEjD;;GAEG;AACH,MAAM,MAAM,gBAAgB,GACxB,mBAAmB,GACnB,gBAAgB,GAChB,oBAAoB,GACpB,mBAAmB,GACnB,kBAAkB,GAClB,eAAe,GACf,gBAAgB,GAChB,iBAAiB,GACjB,kBAAkB,GAClB,mBAAmB,GACnB,oBAAoB,GACpB,aAAa,GACb,cAAc,GACd,qBAAqB,GACrB,sBAAsB,GACtB,sBAAsB,GACtB,qBAAqB,GACrB,wBAAwB,GACxB,qBAAqB,GACrB,sBAAsB,GACtB,2BAA2B,GAC3B,sBAAsB,GACtB,oCAAoC,GACpC,qBAAqB,GACrB,
|
|
1
|
+
{"version":3,"file":"webhook-events.d.ts","sourceRoot":"","sources":["../src/resources/webhook-events.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,KAAK,WAAW,sBAAmB;AAC1C,OAAO,KAAK,cAAc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M,EAAE,YAAY,GAAG,WAAW,GAAG,WAAW,CAAC;QAEjD,eAAe,EAAE,MAAM,CAAC;QAExB,aAAa,EAAE,SAAS,GAAG,WAAW,CAAC;QAEvC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KAC5B;IAED;;;OAGG;IACH,UAAiB,gBAAiB,SAAQ,SAAS,CAAC,gBAAgB;QAClE,YAAY,EAAE,kBAAkB,CAAC;KAClC;CACF;AAED,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,KAAK,cAAc,IAAI,cAAc,EAAE,CAAC;CAC7F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhook-events.js","sourceRoot":"","sources":["../src/resources/webhook-events.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;
|
|
1
|
+
{"version":3,"file":"webhook-events.js","sourceRoot":"","sources":["../src/resources/webhook-events.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAU/C,MAAa,aAAc,SAAQ,sBAAW;CAAG;AAAjD,sCAAiD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhook-events.mjs","sourceRoot":"","sources":["../src/resources/webhook-events.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;
|
|
1
|
+
{"version":3,"file":"webhook-events.mjs","sourceRoot":"","sources":["../src/resources/webhook-events.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAU/C,MAAM,OAAO,aAAc,SAAQ,WAAW;CAAG"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { Headers, type HeaderRetrieveResponse, type HeaderUpdateParams } from "./headers.mjs";
|
|
2
|
-
export { Webhooks, type WebhookDetails, type WebhookRetrieveSecretResponse, type AbandonedCheckoutDetectedWebhookEvent, type AbandonedCheckoutRecoveredWebhookEvent, type CreditAddedWebhookEvent, type CreditBalanceLowWebhookEvent, type CreditDeductedWebhookEvent, type CreditExpiredWebhookEvent, type CreditManualAdjustmentWebhookEvent, type CreditOverageChargedWebhookEvent, type CreditOverageResetWebhookEvent, type CreditRolledOverWebhookEvent, type CreditRolloverForfeitedWebhookEvent, type DisputeAcceptedWebhookEvent, type DisputeCancelledWebhookEvent, type DisputeChallengedWebhookEvent, type DisputeExpiredWebhookEvent, type DisputeLostWebhookEvent, type DisputeOpenedWebhookEvent, type DisputeWonWebhookEvent, type DunningRecoveredWebhookEvent, type DunningStartedWebhookEvent, type EntitlementGrantCreatedWebhookEvent, type EntitlementGrantDeliveredWebhookEvent, type EntitlementGrantFailedWebhookEvent, type EntitlementGrantRevokedWebhookEvent, type LicenseKeyCreatedWebhookEvent, type PaymentCancelledWebhookEvent, type PaymentFailedWebhookEvent, type PaymentProcessingWebhookEvent, type PaymentSucceededWebhookEvent, type RefundFailedWebhookEvent, type RefundSucceededWebhookEvent, type SubscriptionActiveWebhookEvent, type SubscriptionCancelledWebhookEvent, type SubscriptionExpiredWebhookEvent, type SubscriptionFailedWebhookEvent, type SubscriptionOnHoldWebhookEvent, type SubscriptionPlanChangedWebhookEvent, type SubscriptionRenewedWebhookEvent, type SubscriptionUpdatePaymentMethodWebhookEvent, type SubscriptionUpdatedWebhookEvent, type UnsafeUnwrapWebhookEvent, type UnwrapWebhookEvent, type WebhookListParams, type WebhookCreateParams, type WebhookUpdateParams, type WebhookDetailsCursorPagePagination, } from "./webhooks.mjs";
|
|
2
|
+
export { Webhooks, type WebhookDetails, type WebhookRetrieveSecretResponse, type AbandonedCheckoutDetectedWebhookEvent, type AbandonedCheckoutRecoveredWebhookEvent, type CreditAddedWebhookEvent, type CreditBalanceLowWebhookEvent, type CreditDeductedWebhookEvent, type CreditExpiredWebhookEvent, type CreditManualAdjustmentWebhookEvent, type CreditOverageChargedWebhookEvent, type CreditOverageResetWebhookEvent, type CreditRolledOverWebhookEvent, type CreditRolloverForfeitedWebhookEvent, type DisputeAcceptedWebhookEvent, type DisputeCancelledWebhookEvent, type DisputeChallengedWebhookEvent, type DisputeExpiredWebhookEvent, type DisputeLostWebhookEvent, type DisputeOpenedWebhookEvent, type DisputeWonWebhookEvent, type DunningRecoveredWebhookEvent, type DunningStartedWebhookEvent, type EntitlementGrantCreatedWebhookEvent, type EntitlementGrantDeliveredWebhookEvent, type EntitlementGrantFailedWebhookEvent, type EntitlementGrantRevokedWebhookEvent, type LicenseKeyCreatedWebhookEvent, type PaymentCancelledWebhookEvent, type PaymentFailedWebhookEvent, type PaymentProcessingWebhookEvent, type PaymentSucceededWebhookEvent, type PayoutCreatedWebhookEvent, type PayoutFailedWebhookEvent, type PayoutInProgressWebhookEvent, type PayoutOnHoldWebhookEvent, type PayoutSuccessWebhookEvent, type RefundFailedWebhookEvent, type RefundSucceededWebhookEvent, type SubscriptionActiveWebhookEvent, type SubscriptionCancelledWebhookEvent, type SubscriptionExpiredWebhookEvent, type SubscriptionFailedWebhookEvent, type SubscriptionOnHoldWebhookEvent, type SubscriptionPlanChangedWebhookEvent, type SubscriptionRenewedWebhookEvent, type SubscriptionUpdatePaymentMethodWebhookEvent, type SubscriptionUpdatedWebhookEvent, type UnsafeUnwrapWebhookEvent, type UnwrapWebhookEvent, type WebhookListParams, type WebhookCreateParams, type WebhookUpdateParams, type WebhookDetailsCursorPagePagination, } from "./webhooks.mjs";
|
|
3
3
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/webhooks/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,KAAK,sBAAsB,EAAE,KAAK,kBAAkB,EAAE,sBAAkB;AAC1F,OAAO,EACL,QAAQ,EACR,KAAK,cAAc,EACnB,KAAK,6BAA6B,EAClC,KAAK,qCAAqC,EAC1C,KAAK,sCAA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KAAK,4BAA4B,EACjC,KAAK,0BAA0B,EAC/B,KAAK,yBAAyB,EAC9B,KAAK,kCAAkC,EACvC,KAAK,gCAAgC,EACrC,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,mCAAmC,EACxC,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAClC,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,sBAAsB,EAC3B,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,EAC/B,KAAK,mCAAmC,EACxC,KAAK,qCAAqC,EAC1C,KAAK,kCAAkC,EACvC,KAAK,mCAAmC,EACxC,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,EACjC,KAAK,yBAAyB,EAC9B,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,EACjC,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAChC,KAAK,8BAA8B,EACnC,KAAK,iCAAiC,EACtC,KAAK,+BAA+B,EACpC,KAAK,8BAA8B,EACnC,KAAK,8BAA8B,EACnC,KAAK,mCAAmC,EACxC,KAAK,+BAA+B,EACpC,KAAK,2CAA2C,EAChD,KAAK,+BAA+B,EACpC,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,kCAAkC,GACxC,uBAAmB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { Headers, type HeaderRetrieveResponse, type HeaderUpdateParams } from "./headers.js";
|
|
2
|
-
export { Webhooks, type WebhookDetails, type WebhookRetrieveSecretResponse, type AbandonedCheckoutDetectedWebhookEvent, type AbandonedCheckoutRecoveredWebhookEvent, type CreditAddedWebhookEvent, type CreditBalanceLowWebhookEvent, type CreditDeductedWebhookEvent, type CreditExpiredWebhookEvent, type CreditManualAdjustmentWebhookEvent, type CreditOverageChargedWebhookEvent, type CreditOverageResetWebhookEvent, type CreditRolledOverWebhookEvent, type CreditRolloverForfeitedWebhookEvent, type DisputeAcceptedWebhookEvent, type DisputeCancelledWebhookEvent, type DisputeChallengedWebhookEvent, type DisputeExpiredWebhookEvent, type DisputeLostWebhookEvent, type DisputeOpenedWebhookEvent, type DisputeWonWebhookEvent, type DunningRecoveredWebhookEvent, type DunningStartedWebhookEvent, type EntitlementGrantCreatedWebhookEvent, type EntitlementGrantDeliveredWebhookEvent, type EntitlementGrantFailedWebhookEvent, type EntitlementGrantRevokedWebhookEvent, type LicenseKeyCreatedWebhookEvent, type PaymentCancelledWebhookEvent, type PaymentFailedWebhookEvent, type PaymentProcessingWebhookEvent, type PaymentSucceededWebhookEvent, type RefundFailedWebhookEvent, type RefundSucceededWebhookEvent, type SubscriptionActiveWebhookEvent, type SubscriptionCancelledWebhookEvent, type SubscriptionExpiredWebhookEvent, type SubscriptionFailedWebhookEvent, type SubscriptionOnHoldWebhookEvent, type SubscriptionPlanChangedWebhookEvent, type SubscriptionRenewedWebhookEvent, type SubscriptionUpdatePaymentMethodWebhookEvent, type SubscriptionUpdatedWebhookEvent, type UnsafeUnwrapWebhookEvent, type UnwrapWebhookEvent, type WebhookListParams, type WebhookCreateParams, type WebhookUpdateParams, type WebhookDetailsCursorPagePagination, } from "./webhooks.js";
|
|
2
|
+
export { Webhooks, type WebhookDetails, type WebhookRetrieveSecretResponse, type AbandonedCheckoutDetectedWebhookEvent, type AbandonedCheckoutRecoveredWebhookEvent, type CreditAddedWebhookEvent, type CreditBalanceLowWebhookEvent, type CreditDeductedWebhookEvent, type CreditExpiredWebhookEvent, type CreditManualAdjustmentWebhookEvent, type CreditOverageChargedWebhookEvent, type CreditOverageResetWebhookEvent, type CreditRolledOverWebhookEvent, type CreditRolloverForfeitedWebhookEvent, type DisputeAcceptedWebhookEvent, type DisputeCancelledWebhookEvent, type DisputeChallengedWebhookEvent, type DisputeExpiredWebhookEvent, type DisputeLostWebhookEvent, type DisputeOpenedWebhookEvent, type DisputeWonWebhookEvent, type DunningRecoveredWebhookEvent, type DunningStartedWebhookEvent, type EntitlementGrantCreatedWebhookEvent, type EntitlementGrantDeliveredWebhookEvent, type EntitlementGrantFailedWebhookEvent, type EntitlementGrantRevokedWebhookEvent, type LicenseKeyCreatedWebhookEvent, type PaymentCancelledWebhookEvent, type PaymentFailedWebhookEvent, type PaymentProcessingWebhookEvent, type PaymentSucceededWebhookEvent, type PayoutCreatedWebhookEvent, type PayoutFailedWebhookEvent, type PayoutInProgressWebhookEvent, type PayoutOnHoldWebhookEvent, type PayoutSuccessWebhookEvent, type RefundFailedWebhookEvent, type RefundSucceededWebhookEvent, type SubscriptionActiveWebhookEvent, type SubscriptionCancelledWebhookEvent, type SubscriptionExpiredWebhookEvent, type SubscriptionFailedWebhookEvent, type SubscriptionOnHoldWebhookEvent, type SubscriptionPlanChangedWebhookEvent, type SubscriptionRenewedWebhookEvent, type SubscriptionUpdatePaymentMethodWebhookEvent, type SubscriptionUpdatedWebhookEvent, type UnsafeUnwrapWebhookEvent, type UnwrapWebhookEvent, type WebhookListParams, type WebhookCreateParams, type WebhookUpdateParams, type WebhookDetailsCursorPagePagination, } from "./webhooks.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/webhooks/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,KAAK,sBAAsB,EAAE,KAAK,kBAAkB,EAAE,qBAAkB;AAC1F,OAAO,EACL,QAAQ,EACR,KAAK,cAAc,EACnB,KAAK,6BAA6B,EAClC,KAAK,qCAAqC,EAC1C,KAAK,sCAAsC,EAC3C,KAAK,uBAAuB,EAC5B,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,EAC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CAAkC,EACvC,KAAK,gCAAgC,EACrC,KAAK,8BAA8B,EACnC,KAAK,4BAA4B,EACjC,KAAK,mCAAmC,EACxC,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EACjC,KAAK,6BAA6B,EAClC,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,sBAAsB,EAC3B,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,EAC/B,KAAK,mCAAmC,EACxC,KAAK,qCAAqC,EAC1C,KAAK,kCAAkC,EACvC,KAAK,mCAAmC,EACxC,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,EACjC,KAAK,yBAAyB,EAC9B,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,EACjC,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAChC,KAAK,8BAA8B,EACnC,KAAK,iCAAiC,EACtC,KAAK,+BAA+B,EACpC,KAAK,8BAA8B,EACnC,KAAK,8BAA8B,EACnC,KAAK,mCAAmC,EACxC,KAAK,+BAA+B,EACpC,KAAK,2CAA2C,EAChD,KAAK,+BAA+B,EACpC,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,kCAAkC,GACxC,sBAAmB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/webhooks/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAA0F;AAAjF,kGAAA,OAAO,OAAA;AAChB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/webhooks/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAA0F;AAAjF,kGAAA,OAAO,OAAA;AAChB,0CAuDoB;AAtDlB,oGAAA,QAAQ,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/webhooks/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,OAAO,EAAwD,sBAAkB;AAC1F,OAAO,EACL,QAAQ,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/webhooks/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,OAAO,EAAwD,sBAAkB;AAC1F,OAAO,EACL,QAAQ,GAsDT,uBAAmB"}
|