chargebee 3.12.0 → 3.13.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 +14 -0
- package/README.md +30 -1
- package/cjs/environment.js +1 -1
- package/esm/environment.js +1 -1
- package/package.json +2 -2
- package/types/index.d.ts +9 -0
- package/types/resources/BusinessEntityChange.d.ts +16 -0
- package/types/resources/Content.d.ts +106 -0
- package/types/resources/Event.d.ts +206 -1
- package/types/resources/HostedPage.d.ts +1 -1
- package/types/resources/Product.d.ts +135 -0
- package/types/resources/SalesOrder.d.ts +143 -0
- package/types/resources/UsageReminderInfo.d.ts +9 -0
- package/types/resources/Variant.d.ts +116 -0
- package/types/resources/WebhookEvent.d.ts +1607 -0
|
@@ -0,0 +1,1607 @@
|
|
|
1
|
+
///<reference path='./../core.d.ts'/>
|
|
2
|
+
///<reference path='./../index.d.ts'/>
|
|
3
|
+
///<reference path='./filter.d.ts'/>
|
|
4
|
+
|
|
5
|
+
declare module 'chargebee' {
|
|
6
|
+
export enum WebhookContentType {
|
|
7
|
+
SubscriptionPauseScheduled = 'subscription_pause_scheduled',
|
|
8
|
+
CustomerBusinessEntityChanged = 'customer_business_entity_changed',
|
|
9
|
+
SubscriptionAdvanceInvoiceScheduleAdded = 'subscription_advance_invoice_schedule_added',
|
|
10
|
+
GiftExpired = 'gift_expired',
|
|
11
|
+
TaxWithheldDeleted = 'tax_withheld_deleted',
|
|
12
|
+
UnbilledChargesDeleted = 'unbilled_charges_deleted',
|
|
13
|
+
CouponUpdated = 'coupon_updated',
|
|
14
|
+
OmnichannelSubscriptionItemReactivated = 'omnichannel_subscription_item_reactivated',
|
|
15
|
+
OmnichannelSubscriptionItemRenewed = 'omnichannel_subscription_item_renewed',
|
|
16
|
+
UnbilledChargesCreated = 'unbilled_charges_created',
|
|
17
|
+
SubscriptionResumed = 'subscription_resumed',
|
|
18
|
+
OmnichannelOneTimeOrderItemCancelled = 'omnichannel_one_time_order_item_cancelled',
|
|
19
|
+
SubscriptionCancelled = 'subscription_cancelled',
|
|
20
|
+
ItemEntitlementsRemoved = 'item_entitlements_removed',
|
|
21
|
+
BusinessEntityCreated = 'business_entity_created',
|
|
22
|
+
CouponSetUpdated = 'coupon_set_updated',
|
|
23
|
+
DifferentialPriceUpdated = 'differential_price_updated',
|
|
24
|
+
OmnichannelSubscriptionItemPaused = 'omnichannel_subscription_item_paused',
|
|
25
|
+
EntitlementOverridesRemoved = 'entitlement_overrides_removed',
|
|
26
|
+
SubscriptionActivatedWithBackdating = 'subscription_activated_with_backdating',
|
|
27
|
+
SubscriptionTrialEndReminder = 'subscription_trial_end_reminder',
|
|
28
|
+
SubscriptionShippingAddressUpdated = 'subscription_shipping_address_updated',
|
|
29
|
+
VoucherCreateFailed = 'voucher_create_failed',
|
|
30
|
+
GiftClaimed = 'gift_claimed',
|
|
31
|
+
CustomerDeleted = 'customer_deleted',
|
|
32
|
+
RefundInitiated = 'refund_initiated',
|
|
33
|
+
InvoiceGeneratedWithBackdating = 'invoice_generated_with_backdating',
|
|
34
|
+
AddUsagesReminder = 'add_usages_reminder',
|
|
35
|
+
VoucherCreated = 'voucher_created',
|
|
36
|
+
RuleUpdated = 'rule_updated',
|
|
37
|
+
PaymentSchedulesCreated = 'payment_schedules_created',
|
|
38
|
+
FeatureActivated = 'feature_activated',
|
|
39
|
+
PaymentSourceLocallyDeleted = 'payment_source_locally_deleted',
|
|
40
|
+
InvoiceGenerated = 'invoice_generated',
|
|
41
|
+
VoucherExpired = 'voucher_expired',
|
|
42
|
+
AuthorizationSucceeded = 'authorization_succeeded',
|
|
43
|
+
GiftScheduled = 'gift_scheduled',
|
|
44
|
+
SubscriptionChangesScheduled = 'subscription_changes_scheduled',
|
|
45
|
+
SubscriptionChangedWithBackdating = 'subscription_changed_with_backdating',
|
|
46
|
+
OmnichannelSubscriptionItemChanged = 'omnichannel_subscription_item_changed',
|
|
47
|
+
GiftUnclaimed = 'gift_unclaimed',
|
|
48
|
+
VirtualBankAccountAdded = 'virtual_bank_account_added',
|
|
49
|
+
PaymentIntentCreated = 'payment_intent_created',
|
|
50
|
+
CreditNoteCreatedWithBackdating = 'credit_note_created_with_backdating',
|
|
51
|
+
ContractTermTerminated = 'contract_term_terminated',
|
|
52
|
+
ItemFamilyUpdated = 'item_family_updated',
|
|
53
|
+
OrderCreated = 'order_created',
|
|
54
|
+
PriceVariantDeleted = 'price_variant_deleted',
|
|
55
|
+
SubscriptionMovementFailed = 'subscription_movement_failed',
|
|
56
|
+
CustomerMovedIn = 'customer_moved_in',
|
|
57
|
+
SubscriptionAdvanceInvoiceScheduleUpdated = 'subscription_advance_invoice_schedule_updated',
|
|
58
|
+
ItemDeleted = 'item_deleted',
|
|
59
|
+
SubscriptionRampDrafted = 'subscription_ramp_drafted',
|
|
60
|
+
ItemEntitlementsUpdated = 'item_entitlements_updated',
|
|
61
|
+
TokenConsumed = 'token_consumed',
|
|
62
|
+
HierarchyDeleted = 'hierarchy_deleted',
|
|
63
|
+
SubscriptionCancellationScheduled = 'subscription_cancellation_scheduled',
|
|
64
|
+
SubscriptionRenewed = 'subscription_renewed',
|
|
65
|
+
FeatureUpdated = 'feature_updated',
|
|
66
|
+
FeatureDeleted = 'feature_deleted',
|
|
67
|
+
ItemFamilyCreated = 'item_family_created',
|
|
68
|
+
OmnichannelSubscriptionItemScheduledChangeRemoved = 'omnichannel_subscription_item_scheduled_change_removed',
|
|
69
|
+
OmnichannelSubscriptionItemResumed = 'omnichannel_subscription_item_resumed',
|
|
70
|
+
PurchaseCreated = 'purchase_created',
|
|
71
|
+
EntitlementOverridesUpdated = 'entitlement_overrides_updated',
|
|
72
|
+
ItemFamilyDeleted = 'item_family_deleted',
|
|
73
|
+
SubscriptionResumptionScheduled = 'subscription_resumption_scheduled',
|
|
74
|
+
FeatureReactivated = 'feature_reactivated',
|
|
75
|
+
CouponCodesDeleted = 'coupon_codes_deleted',
|
|
76
|
+
CardExpired = 'card_expired',
|
|
77
|
+
CreditNoteUpdated = 'credit_note_updated',
|
|
78
|
+
OmnichannelSubscriptionItemDowngraded = 'omnichannel_subscription_item_downgraded',
|
|
79
|
+
PriceVariantUpdated = 'price_variant_updated',
|
|
80
|
+
PromotionalCreditsDeducted = 'promotional_credits_deducted',
|
|
81
|
+
SubscriptionRampApplied = 'subscription_ramp_applied',
|
|
82
|
+
SubscriptionPaused = 'subscription_paused',
|
|
83
|
+
OrderReadyToProcess = 'order_ready_to_process',
|
|
84
|
+
FeatureCreated = 'feature_created',
|
|
85
|
+
TransactionDeleted = 'transaction_deleted',
|
|
86
|
+
CreditNoteCreated = 'credit_note_created',
|
|
87
|
+
OmnichannelSubscriptionItemResubscribed = 'omnichannel_subscription_item_resubscribed',
|
|
88
|
+
RecordPurchaseFailed = 'record_purchase_failed',
|
|
89
|
+
ItemCreated = 'item_created',
|
|
90
|
+
TransactionUpdated = 'transaction_updated',
|
|
91
|
+
MrrUpdated = 'mrr_updated',
|
|
92
|
+
UnbilledChargesInvoiced = 'unbilled_charges_invoiced',
|
|
93
|
+
ItemPriceUpdated = 'item_price_updated',
|
|
94
|
+
CouponCodesUpdated = 'coupon_codes_updated',
|
|
95
|
+
VirtualBankAccountUpdated = 'virtual_bank_account_updated',
|
|
96
|
+
ContractTermCreated = 'contract_term_created',
|
|
97
|
+
SubscriptionChanged = 'subscription_changed',
|
|
98
|
+
PaymentFailed = 'payment_failed',
|
|
99
|
+
CreditNoteDeleted = 'credit_note_deleted',
|
|
100
|
+
TaxWithheldRefunded = 'tax_withheld_refunded',
|
|
101
|
+
ContractTermCompleted = 'contract_term_completed',
|
|
102
|
+
PaymentSchedulesUpdated = 'payment_schedules_updated',
|
|
103
|
+
OmnichannelSubscriptionItemExpired = 'omnichannel_subscription_item_expired',
|
|
104
|
+
CardUpdated = 'card_updated',
|
|
105
|
+
CustomerCreated = 'customer_created',
|
|
106
|
+
SubscriptionRenewalReminder = 'subscription_renewal_reminder',
|
|
107
|
+
OrderDelivered = 'order_delivered',
|
|
108
|
+
OmnichannelSubscriptionItemCancellationScheduled = 'omnichannel_subscription_item_cancellation_scheduled',
|
|
109
|
+
OmnichannelSubscriptionItemGracePeriodExpired = 'omnichannel_subscription_item_grace_period_expired',
|
|
110
|
+
CouponCodesAdded = 'coupon_codes_added',
|
|
111
|
+
GiftCancelled = 'gift_cancelled',
|
|
112
|
+
OrderCancelled = 'order_cancelled',
|
|
113
|
+
CouponDeleted = 'coupon_deleted',
|
|
114
|
+
SubscriptionScheduledChangesRemoved = 'subscription_scheduled_changes_removed',
|
|
115
|
+
PendingInvoiceCreated = 'pending_invoice_created',
|
|
116
|
+
EntitlementOverridesAutoRemoved = 'entitlement_overrides_auto_removed',
|
|
117
|
+
OmnichannelSubscriptionItemUpgraded = 'omnichannel_subscription_item_upgraded',
|
|
118
|
+
SubscriptionBusinessEntityChanged = 'subscription_business_entity_changed',
|
|
119
|
+
OmnichannelOneTimeOrderCreated = 'omnichannel_one_time_order_created',
|
|
120
|
+
PaymentSourceDeleted = 'payment_source_deleted',
|
|
121
|
+
OmnichannelSubscriptionItemCancelled = 'omnichannel_subscription_item_cancelled',
|
|
122
|
+
QuoteDeleted = 'quote_deleted',
|
|
123
|
+
InvoiceUpdated = 'invoice_updated',
|
|
124
|
+
SubscriptionAdvanceInvoiceScheduleRemoved = 'subscription_advance_invoice_schedule_removed',
|
|
125
|
+
CardDeleted = 'card_deleted',
|
|
126
|
+
OrderReadyToShip = 'order_ready_to_ship',
|
|
127
|
+
SubscriptionMovedOut = 'subscription_moved_out',
|
|
128
|
+
PaymentScheduleSchemeCreated = 'payment_schedule_scheme_created',
|
|
129
|
+
BusinessEntityUpdated = 'business_entity_updated',
|
|
130
|
+
SubscriptionScheduledResumptionRemoved = 'subscription_scheduled_resumption_removed',
|
|
131
|
+
PaymentInitiated = 'payment_initiated',
|
|
132
|
+
FeatureArchived = 'feature_archived',
|
|
133
|
+
SubscriptionReactivatedWithBackdating = 'subscription_reactivated_with_backdating',
|
|
134
|
+
OmnichannelSubscriptionImported = 'omnichannel_subscription_imported',
|
|
135
|
+
TokenExpired = 'token_expired',
|
|
136
|
+
CardAdded = 'card_added',
|
|
137
|
+
CouponCreated = 'coupon_created',
|
|
138
|
+
RuleDeleted = 'rule_deleted',
|
|
139
|
+
ItemPriceEntitlementsUpdated = 'item_price_entitlements_updated',
|
|
140
|
+
ItemPriceDeleted = 'item_price_deleted',
|
|
141
|
+
VirtualBankAccountDeleted = 'virtual_bank_account_deleted',
|
|
142
|
+
PaymentScheduleSchemeDeleted = 'payment_schedule_scheme_deleted',
|
|
143
|
+
SubscriptionCreated = 'subscription_created',
|
|
144
|
+
SubscriptionEntitlementsCreated = 'subscription_entitlements_created',
|
|
145
|
+
OrderReturned = 'order_returned',
|
|
146
|
+
SubscriptionDeleted = 'subscription_deleted',
|
|
147
|
+
PaymentSourceAdded = 'payment_source_added',
|
|
148
|
+
SubscriptionMovedIn = 'subscription_moved_in',
|
|
149
|
+
ItemPriceCreated = 'item_price_created',
|
|
150
|
+
SubscriptionScheduledCancellationRemoved = 'subscription_scheduled_cancellation_removed',
|
|
151
|
+
PaymentRefunded = 'payment_refunded',
|
|
152
|
+
UsageFileIngested = 'usage_file_ingested',
|
|
153
|
+
DifferentialPriceCreated = 'differential_price_created',
|
|
154
|
+
TransactionCreated = 'transaction_created',
|
|
155
|
+
PaymentSucceeded = 'payment_succeeded',
|
|
156
|
+
SubscriptionCanceledWithBackdating = 'subscription_canceled_with_backdating',
|
|
157
|
+
UnbilledChargesVoided = 'unbilled_charges_voided',
|
|
158
|
+
QuoteCreated = 'quote_created',
|
|
159
|
+
CouponSetDeleted = 'coupon_set_deleted',
|
|
160
|
+
AttachedItemCreated = 'attached_item_created',
|
|
161
|
+
SalesOrderCreated = 'sales_order_created',
|
|
162
|
+
CustomerChanged = 'customer_changed',
|
|
163
|
+
SubscriptionStarted = 'subscription_started',
|
|
164
|
+
SubscriptionActivated = 'subscription_activated',
|
|
165
|
+
PaymentSourceExpiring = 'payment_source_expiring',
|
|
166
|
+
SubscriptionReactivated = 'subscription_reactivated',
|
|
167
|
+
OrderUpdated = 'order_updated',
|
|
168
|
+
SubscriptionScheduledPauseRemoved = 'subscription_scheduled_pause_removed',
|
|
169
|
+
SubscriptionCancellationReminder = 'subscription_cancellation_reminder',
|
|
170
|
+
SubscriptionCreatedWithBackdating = 'subscription_created_with_backdating',
|
|
171
|
+
SubscriptionRampCreated = 'subscription_ramp_created',
|
|
172
|
+
OrderDeleted = 'order_deleted',
|
|
173
|
+
OmnichannelSubscriptionItemPauseScheduled = 'omnichannel_subscription_item_pause_scheduled',
|
|
174
|
+
GiftUpdated = 'gift_updated',
|
|
175
|
+
SubscriptionTrialExtended = 'subscription_trial_extended',
|
|
176
|
+
OmnichannelSubscriptionItemGracePeriodStarted = 'omnichannel_subscription_item_grace_period_started',
|
|
177
|
+
CardExpiryReminder = 'card_expiry_reminder',
|
|
178
|
+
TokenCreated = 'token_created',
|
|
179
|
+
PromotionalCreditsAdded = 'promotional_credits_added',
|
|
180
|
+
SubscriptionRampUpdated = 'subscription_ramp_updated',
|
|
181
|
+
CustomerEntitlementsUpdated = 'customer_entitlements_updated',
|
|
182
|
+
PaymentSourceExpired = 'payment_source_expired',
|
|
183
|
+
CustomerMovedOut = 'customer_moved_out',
|
|
184
|
+
SubscriptionEntitlementsUpdated = 'subscription_entitlements_updated',
|
|
185
|
+
OmnichannelSubscriptionItemDunningExpired = 'omnichannel_subscription_item_dunning_expired',
|
|
186
|
+
HierarchyCreated = 'hierarchy_created',
|
|
187
|
+
AttachedItemDeleted = 'attached_item_deleted',
|
|
188
|
+
OmnichannelSubscriptionItemScheduledCancellationRemoved = 'omnichannel_subscription_item_scheduled_cancellation_removed',
|
|
189
|
+
ItemUpdated = 'item_updated',
|
|
190
|
+
CouponSetCreated = 'coupon_set_created',
|
|
191
|
+
PaymentIntentUpdated = 'payment_intent_updated',
|
|
192
|
+
OrderResent = 'order_resent',
|
|
193
|
+
OmnichannelSubscriptionCreated = 'omnichannel_subscription_created',
|
|
194
|
+
TaxWithheldRecorded = 'tax_withheld_recorded',
|
|
195
|
+
PriceVariantCreated = 'price_variant_created',
|
|
196
|
+
DifferentialPriceDeleted = 'differential_price_deleted',
|
|
197
|
+
SubscriptionItemsRenewed = 'subscription_items_renewed',
|
|
198
|
+
RuleCreated = 'rule_created',
|
|
199
|
+
ContractTermCancelled = 'contract_term_cancelled',
|
|
200
|
+
ContractTermRenewed = 'contract_term_renewed',
|
|
201
|
+
InvoiceDeleted = 'invoice_deleted',
|
|
202
|
+
ItemPriceEntitlementsRemoved = 'item_price_entitlements_removed',
|
|
203
|
+
SalesOrderUpdated = 'sales_order_updated',
|
|
204
|
+
OmnichannelSubscriptionItemDunningStarted = 'omnichannel_subscription_item_dunning_started',
|
|
205
|
+
OmnichannelSubscriptionItemChangeScheduled = 'omnichannel_subscription_item_change_scheduled',
|
|
206
|
+
PendingInvoiceUpdated = 'pending_invoice_updated',
|
|
207
|
+
QuoteUpdated = 'quote_updated',
|
|
208
|
+
AttachedItemUpdated = 'attached_item_updated',
|
|
209
|
+
PaymentSourceUpdated = 'payment_source_updated',
|
|
210
|
+
BusinessEntityDeleted = 'business_entity_deleted',
|
|
211
|
+
AuthorizationVoided = 'authorization_voided',
|
|
212
|
+
SubscriptionRampDeleted = 'subscription_ramp_deleted',
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
export type WebhookContentMap = {
|
|
216
|
+
[WebhookContentType.SubscriptionPauseScheduled]: SubscriptionPauseScheduledContent;
|
|
217
|
+
[WebhookContentType.CustomerBusinessEntityChanged]: CustomerBusinessEntityChangedContent;
|
|
218
|
+
[WebhookContentType.SubscriptionAdvanceInvoiceScheduleAdded]: SubscriptionAdvanceInvoiceScheduleAddedContent;
|
|
219
|
+
[WebhookContentType.GiftExpired]: GiftExpiredContent;
|
|
220
|
+
[WebhookContentType.TaxWithheldDeleted]: TaxWithheldDeletedContent;
|
|
221
|
+
[WebhookContentType.UnbilledChargesDeleted]: UnbilledChargesDeletedContent;
|
|
222
|
+
[WebhookContentType.CouponUpdated]: CouponUpdatedContent;
|
|
223
|
+
[WebhookContentType.OmnichannelSubscriptionItemReactivated]: OmnichannelSubscriptionItemReactivatedContent;
|
|
224
|
+
[WebhookContentType.OmnichannelSubscriptionItemRenewed]: OmnichannelSubscriptionItemRenewedContent;
|
|
225
|
+
[WebhookContentType.UnbilledChargesCreated]: UnbilledChargesCreatedContent;
|
|
226
|
+
[WebhookContentType.SubscriptionResumed]: SubscriptionResumedContent;
|
|
227
|
+
[WebhookContentType.OmnichannelOneTimeOrderItemCancelled]: OmnichannelOneTimeOrderItemCancelledContent;
|
|
228
|
+
[WebhookContentType.SubscriptionCancelled]: SubscriptionCancelledContent;
|
|
229
|
+
[WebhookContentType.ItemEntitlementsRemoved]: ItemEntitlementsRemovedContent;
|
|
230
|
+
[WebhookContentType.BusinessEntityCreated]: BusinessEntityCreatedContent;
|
|
231
|
+
[WebhookContentType.CouponSetUpdated]: CouponSetUpdatedContent;
|
|
232
|
+
[WebhookContentType.DifferentialPriceUpdated]: DifferentialPriceUpdatedContent;
|
|
233
|
+
[WebhookContentType.OmnichannelSubscriptionItemPaused]: OmnichannelSubscriptionItemPausedContent;
|
|
234
|
+
[WebhookContentType.EntitlementOverridesRemoved]: EntitlementOverridesRemovedContent;
|
|
235
|
+
[WebhookContentType.SubscriptionActivatedWithBackdating]: SubscriptionActivatedWithBackdatingContent;
|
|
236
|
+
[WebhookContentType.SubscriptionTrialEndReminder]: SubscriptionTrialEndReminderContent;
|
|
237
|
+
[WebhookContentType.SubscriptionShippingAddressUpdated]: SubscriptionShippingAddressUpdatedContent;
|
|
238
|
+
[WebhookContentType.VoucherCreateFailed]: VoucherCreateFailedContent;
|
|
239
|
+
[WebhookContentType.GiftClaimed]: GiftClaimedContent;
|
|
240
|
+
[WebhookContentType.CustomerDeleted]: CustomerDeletedContent;
|
|
241
|
+
[WebhookContentType.RefundInitiated]: RefundInitiatedContent;
|
|
242
|
+
[WebhookContentType.InvoiceGeneratedWithBackdating]: InvoiceGeneratedWithBackdatingContent;
|
|
243
|
+
[WebhookContentType.AddUsagesReminder]: AddUsagesReminderContent;
|
|
244
|
+
[WebhookContentType.VoucherCreated]: VoucherCreatedContent;
|
|
245
|
+
[WebhookContentType.RuleUpdated]: RuleUpdatedContent;
|
|
246
|
+
[WebhookContentType.PaymentSchedulesCreated]: PaymentSchedulesCreatedContent;
|
|
247
|
+
[WebhookContentType.FeatureActivated]: FeatureActivatedContent;
|
|
248
|
+
[WebhookContentType.PaymentSourceLocallyDeleted]: PaymentSourceLocallyDeletedContent;
|
|
249
|
+
[WebhookContentType.InvoiceGenerated]: InvoiceGeneratedContent;
|
|
250
|
+
[WebhookContentType.VoucherExpired]: VoucherExpiredContent;
|
|
251
|
+
[WebhookContentType.AuthorizationSucceeded]: AuthorizationSucceededContent;
|
|
252
|
+
[WebhookContentType.GiftScheduled]: GiftScheduledContent;
|
|
253
|
+
[WebhookContentType.SubscriptionChangesScheduled]: SubscriptionChangesScheduledContent;
|
|
254
|
+
[WebhookContentType.SubscriptionChangedWithBackdating]: SubscriptionChangedWithBackdatingContent;
|
|
255
|
+
[WebhookContentType.OmnichannelSubscriptionItemChanged]: OmnichannelSubscriptionItemChangedContent;
|
|
256
|
+
[WebhookContentType.GiftUnclaimed]: GiftUnclaimedContent;
|
|
257
|
+
[WebhookContentType.VirtualBankAccountAdded]: VirtualBankAccountAddedContent;
|
|
258
|
+
[WebhookContentType.PaymentIntentCreated]: PaymentIntentCreatedContent;
|
|
259
|
+
[WebhookContentType.CreditNoteCreatedWithBackdating]: CreditNoteCreatedWithBackdatingContent;
|
|
260
|
+
[WebhookContentType.ContractTermTerminated]: ContractTermTerminatedContent;
|
|
261
|
+
[WebhookContentType.ItemFamilyUpdated]: ItemFamilyUpdatedContent;
|
|
262
|
+
[WebhookContentType.OrderCreated]: OrderCreatedContent;
|
|
263
|
+
[WebhookContentType.PriceVariantDeleted]: PriceVariantDeletedContent;
|
|
264
|
+
[WebhookContentType.SubscriptionMovementFailed]: SubscriptionMovementFailedContent;
|
|
265
|
+
[WebhookContentType.CustomerMovedIn]: CustomerMovedInContent;
|
|
266
|
+
[WebhookContentType.SubscriptionAdvanceInvoiceScheduleUpdated]: SubscriptionAdvanceInvoiceScheduleUpdatedContent;
|
|
267
|
+
[WebhookContentType.ItemDeleted]: ItemDeletedContent;
|
|
268
|
+
[WebhookContentType.SubscriptionRampDrafted]: SubscriptionRampDraftedContent;
|
|
269
|
+
[WebhookContentType.ItemEntitlementsUpdated]: ItemEntitlementsUpdatedContent;
|
|
270
|
+
[WebhookContentType.TokenConsumed]: TokenConsumedContent;
|
|
271
|
+
[WebhookContentType.HierarchyDeleted]: HierarchyDeletedContent;
|
|
272
|
+
[WebhookContentType.SubscriptionCancellationScheduled]: SubscriptionCancellationScheduledContent;
|
|
273
|
+
[WebhookContentType.SubscriptionRenewed]: SubscriptionRenewedContent;
|
|
274
|
+
[WebhookContentType.FeatureUpdated]: FeatureUpdatedContent;
|
|
275
|
+
[WebhookContentType.FeatureDeleted]: FeatureDeletedContent;
|
|
276
|
+
[WebhookContentType.ItemFamilyCreated]: ItemFamilyCreatedContent;
|
|
277
|
+
[WebhookContentType.OmnichannelSubscriptionItemScheduledChangeRemoved]: OmnichannelSubscriptionItemScheduledChangeRemovedContent;
|
|
278
|
+
[WebhookContentType.OmnichannelSubscriptionItemResumed]: OmnichannelSubscriptionItemResumedContent;
|
|
279
|
+
[WebhookContentType.PurchaseCreated]: PurchaseCreatedContent;
|
|
280
|
+
[WebhookContentType.EntitlementOverridesUpdated]: EntitlementOverridesUpdatedContent;
|
|
281
|
+
[WebhookContentType.ItemFamilyDeleted]: ItemFamilyDeletedContent;
|
|
282
|
+
[WebhookContentType.SubscriptionResumptionScheduled]: SubscriptionResumptionScheduledContent;
|
|
283
|
+
[WebhookContentType.FeatureReactivated]: FeatureReactivatedContent;
|
|
284
|
+
[WebhookContentType.CouponCodesDeleted]: CouponCodesDeletedContent;
|
|
285
|
+
[WebhookContentType.CardExpired]: CardExpiredContent;
|
|
286
|
+
[WebhookContentType.CreditNoteUpdated]: CreditNoteUpdatedContent;
|
|
287
|
+
[WebhookContentType.OmnichannelSubscriptionItemDowngraded]: OmnichannelSubscriptionItemDowngradedContent;
|
|
288
|
+
[WebhookContentType.PriceVariantUpdated]: PriceVariantUpdatedContent;
|
|
289
|
+
[WebhookContentType.PromotionalCreditsDeducted]: PromotionalCreditsDeductedContent;
|
|
290
|
+
[WebhookContentType.SubscriptionRampApplied]: SubscriptionRampAppliedContent;
|
|
291
|
+
[WebhookContentType.SubscriptionPaused]: SubscriptionPausedContent;
|
|
292
|
+
[WebhookContentType.OrderReadyToProcess]: OrderReadyToProcessContent;
|
|
293
|
+
[WebhookContentType.FeatureCreated]: FeatureCreatedContent;
|
|
294
|
+
[WebhookContentType.TransactionDeleted]: TransactionDeletedContent;
|
|
295
|
+
[WebhookContentType.CreditNoteCreated]: CreditNoteCreatedContent;
|
|
296
|
+
[WebhookContentType.OmnichannelSubscriptionItemResubscribed]: OmnichannelSubscriptionItemResubscribedContent;
|
|
297
|
+
[WebhookContentType.RecordPurchaseFailed]: RecordPurchaseFailedContent;
|
|
298
|
+
[WebhookContentType.ItemCreated]: ItemCreatedContent;
|
|
299
|
+
[WebhookContentType.TransactionUpdated]: TransactionUpdatedContent;
|
|
300
|
+
[WebhookContentType.MrrUpdated]: MrrUpdatedContent;
|
|
301
|
+
[WebhookContentType.UnbilledChargesInvoiced]: UnbilledChargesInvoicedContent;
|
|
302
|
+
[WebhookContentType.ItemPriceUpdated]: ItemPriceUpdatedContent;
|
|
303
|
+
[WebhookContentType.CouponCodesUpdated]: CouponCodesUpdatedContent;
|
|
304
|
+
[WebhookContentType.VirtualBankAccountUpdated]: VirtualBankAccountUpdatedContent;
|
|
305
|
+
[WebhookContentType.ContractTermCreated]: ContractTermCreatedContent;
|
|
306
|
+
[WebhookContentType.SubscriptionChanged]: SubscriptionChangedContent;
|
|
307
|
+
[WebhookContentType.PaymentFailed]: PaymentFailedContent;
|
|
308
|
+
[WebhookContentType.CreditNoteDeleted]: CreditNoteDeletedContent;
|
|
309
|
+
[WebhookContentType.TaxWithheldRefunded]: TaxWithheldRefundedContent;
|
|
310
|
+
[WebhookContentType.ContractTermCompleted]: ContractTermCompletedContent;
|
|
311
|
+
[WebhookContentType.PaymentSchedulesUpdated]: PaymentSchedulesUpdatedContent;
|
|
312
|
+
[WebhookContentType.OmnichannelSubscriptionItemExpired]: OmnichannelSubscriptionItemExpiredContent;
|
|
313
|
+
[WebhookContentType.CardUpdated]: CardUpdatedContent;
|
|
314
|
+
[WebhookContentType.CustomerCreated]: CustomerCreatedContent;
|
|
315
|
+
[WebhookContentType.SubscriptionRenewalReminder]: SubscriptionRenewalReminderContent;
|
|
316
|
+
[WebhookContentType.OrderDelivered]: OrderDeliveredContent;
|
|
317
|
+
[WebhookContentType.OmnichannelSubscriptionItemCancellationScheduled]: OmnichannelSubscriptionItemCancellationScheduledContent;
|
|
318
|
+
[WebhookContentType.OmnichannelSubscriptionItemGracePeriodExpired]: OmnichannelSubscriptionItemGracePeriodExpiredContent;
|
|
319
|
+
[WebhookContentType.CouponCodesAdded]: CouponCodesAddedContent;
|
|
320
|
+
[WebhookContentType.GiftCancelled]: GiftCancelledContent;
|
|
321
|
+
[WebhookContentType.OrderCancelled]: OrderCancelledContent;
|
|
322
|
+
[WebhookContentType.CouponDeleted]: CouponDeletedContent;
|
|
323
|
+
[WebhookContentType.SubscriptionScheduledChangesRemoved]: SubscriptionScheduledChangesRemovedContent;
|
|
324
|
+
[WebhookContentType.PendingInvoiceCreated]: PendingInvoiceCreatedContent;
|
|
325
|
+
[WebhookContentType.EntitlementOverridesAutoRemoved]: EntitlementOverridesAutoRemovedContent;
|
|
326
|
+
[WebhookContentType.OmnichannelSubscriptionItemUpgraded]: OmnichannelSubscriptionItemUpgradedContent;
|
|
327
|
+
[WebhookContentType.SubscriptionBusinessEntityChanged]: SubscriptionBusinessEntityChangedContent;
|
|
328
|
+
[WebhookContentType.OmnichannelOneTimeOrderCreated]: OmnichannelOneTimeOrderCreatedContent;
|
|
329
|
+
[WebhookContentType.PaymentSourceDeleted]: PaymentSourceDeletedContent;
|
|
330
|
+
[WebhookContentType.OmnichannelSubscriptionItemCancelled]: OmnichannelSubscriptionItemCancelledContent;
|
|
331
|
+
[WebhookContentType.QuoteDeleted]: QuoteDeletedContent;
|
|
332
|
+
[WebhookContentType.InvoiceUpdated]: InvoiceUpdatedContent;
|
|
333
|
+
[WebhookContentType.SubscriptionAdvanceInvoiceScheduleRemoved]: SubscriptionAdvanceInvoiceScheduleRemovedContent;
|
|
334
|
+
[WebhookContentType.CardDeleted]: CardDeletedContent;
|
|
335
|
+
[WebhookContentType.OrderReadyToShip]: OrderReadyToShipContent;
|
|
336
|
+
[WebhookContentType.SubscriptionMovedOut]: SubscriptionMovedOutContent;
|
|
337
|
+
[WebhookContentType.PaymentScheduleSchemeCreated]: PaymentScheduleSchemeCreatedContent;
|
|
338
|
+
[WebhookContentType.BusinessEntityUpdated]: BusinessEntityUpdatedContent;
|
|
339
|
+
[WebhookContentType.SubscriptionScheduledResumptionRemoved]: SubscriptionScheduledResumptionRemovedContent;
|
|
340
|
+
[WebhookContentType.PaymentInitiated]: PaymentInitiatedContent;
|
|
341
|
+
[WebhookContentType.FeatureArchived]: FeatureArchivedContent;
|
|
342
|
+
[WebhookContentType.SubscriptionReactivatedWithBackdating]: SubscriptionReactivatedWithBackdatingContent;
|
|
343
|
+
[WebhookContentType.OmnichannelSubscriptionImported]: OmnichannelSubscriptionImportedContent;
|
|
344
|
+
[WebhookContentType.TokenExpired]: TokenExpiredContent;
|
|
345
|
+
[WebhookContentType.CardAdded]: CardAddedContent;
|
|
346
|
+
[WebhookContentType.CouponCreated]: CouponCreatedContent;
|
|
347
|
+
[WebhookContentType.RuleDeleted]: RuleDeletedContent;
|
|
348
|
+
[WebhookContentType.ItemPriceEntitlementsUpdated]: ItemPriceEntitlementsUpdatedContent;
|
|
349
|
+
[WebhookContentType.ItemPriceDeleted]: ItemPriceDeletedContent;
|
|
350
|
+
[WebhookContentType.VirtualBankAccountDeleted]: VirtualBankAccountDeletedContent;
|
|
351
|
+
[WebhookContentType.PaymentScheduleSchemeDeleted]: PaymentScheduleSchemeDeletedContent;
|
|
352
|
+
[WebhookContentType.SubscriptionCreated]: SubscriptionCreatedContent;
|
|
353
|
+
[WebhookContentType.SubscriptionEntitlementsCreated]: SubscriptionEntitlementsCreatedContent;
|
|
354
|
+
[WebhookContentType.OrderReturned]: OrderReturnedContent;
|
|
355
|
+
[WebhookContentType.SubscriptionDeleted]: SubscriptionDeletedContent;
|
|
356
|
+
[WebhookContentType.PaymentSourceAdded]: PaymentSourceAddedContent;
|
|
357
|
+
[WebhookContentType.SubscriptionMovedIn]: SubscriptionMovedInContent;
|
|
358
|
+
[WebhookContentType.ItemPriceCreated]: ItemPriceCreatedContent;
|
|
359
|
+
[WebhookContentType.SubscriptionScheduledCancellationRemoved]: SubscriptionScheduledCancellationRemovedContent;
|
|
360
|
+
[WebhookContentType.PaymentRefunded]: PaymentRefundedContent;
|
|
361
|
+
[WebhookContentType.UsageFileIngested]: UsageFileIngestedContent;
|
|
362
|
+
[WebhookContentType.DifferentialPriceCreated]: DifferentialPriceCreatedContent;
|
|
363
|
+
[WebhookContentType.TransactionCreated]: TransactionCreatedContent;
|
|
364
|
+
[WebhookContentType.PaymentSucceeded]: PaymentSucceededContent;
|
|
365
|
+
[WebhookContentType.SubscriptionCanceledWithBackdating]: SubscriptionCanceledWithBackdatingContent;
|
|
366
|
+
[WebhookContentType.UnbilledChargesVoided]: UnbilledChargesVoidedContent;
|
|
367
|
+
[WebhookContentType.QuoteCreated]: QuoteCreatedContent;
|
|
368
|
+
[WebhookContentType.CouponSetDeleted]: CouponSetDeletedContent;
|
|
369
|
+
[WebhookContentType.AttachedItemCreated]: AttachedItemCreatedContent;
|
|
370
|
+
[WebhookContentType.SalesOrderCreated]: SalesOrderCreatedContent;
|
|
371
|
+
[WebhookContentType.CustomerChanged]: CustomerChangedContent;
|
|
372
|
+
[WebhookContentType.SubscriptionStarted]: SubscriptionStartedContent;
|
|
373
|
+
[WebhookContentType.SubscriptionActivated]: SubscriptionActivatedContent;
|
|
374
|
+
[WebhookContentType.PaymentSourceExpiring]: PaymentSourceExpiringContent;
|
|
375
|
+
[WebhookContentType.SubscriptionReactivated]: SubscriptionReactivatedContent;
|
|
376
|
+
[WebhookContentType.OrderUpdated]: OrderUpdatedContent;
|
|
377
|
+
[WebhookContentType.SubscriptionScheduledPauseRemoved]: SubscriptionScheduledPauseRemovedContent;
|
|
378
|
+
[WebhookContentType.SubscriptionCancellationReminder]: SubscriptionCancellationReminderContent;
|
|
379
|
+
[WebhookContentType.SubscriptionCreatedWithBackdating]: SubscriptionCreatedWithBackdatingContent;
|
|
380
|
+
[WebhookContentType.SubscriptionRampCreated]: SubscriptionRampCreatedContent;
|
|
381
|
+
[WebhookContentType.OrderDeleted]: OrderDeletedContent;
|
|
382
|
+
[WebhookContentType.OmnichannelSubscriptionItemPauseScheduled]: OmnichannelSubscriptionItemPauseScheduledContent;
|
|
383
|
+
[WebhookContentType.GiftUpdated]: GiftUpdatedContent;
|
|
384
|
+
[WebhookContentType.SubscriptionTrialExtended]: SubscriptionTrialExtendedContent;
|
|
385
|
+
[WebhookContentType.OmnichannelSubscriptionItemGracePeriodStarted]: OmnichannelSubscriptionItemGracePeriodStartedContent;
|
|
386
|
+
[WebhookContentType.CardExpiryReminder]: CardExpiryReminderContent;
|
|
387
|
+
[WebhookContentType.TokenCreated]: TokenCreatedContent;
|
|
388
|
+
[WebhookContentType.PromotionalCreditsAdded]: PromotionalCreditsAddedContent;
|
|
389
|
+
[WebhookContentType.SubscriptionRampUpdated]: SubscriptionRampUpdatedContent;
|
|
390
|
+
[WebhookContentType.CustomerEntitlementsUpdated]: CustomerEntitlementsUpdatedContent;
|
|
391
|
+
[WebhookContentType.PaymentSourceExpired]: PaymentSourceExpiredContent;
|
|
392
|
+
[WebhookContentType.CustomerMovedOut]: CustomerMovedOutContent;
|
|
393
|
+
[WebhookContentType.SubscriptionEntitlementsUpdated]: SubscriptionEntitlementsUpdatedContent;
|
|
394
|
+
[WebhookContentType.OmnichannelSubscriptionItemDunningExpired]: OmnichannelSubscriptionItemDunningExpiredContent;
|
|
395
|
+
[WebhookContentType.HierarchyCreated]: HierarchyCreatedContent;
|
|
396
|
+
[WebhookContentType.AttachedItemDeleted]: AttachedItemDeletedContent;
|
|
397
|
+
[WebhookContentType.OmnichannelSubscriptionItemScheduledCancellationRemoved]: OmnichannelSubscriptionItemScheduledCancellationRemovedContent;
|
|
398
|
+
[WebhookContentType.ItemUpdated]: ItemUpdatedContent;
|
|
399
|
+
[WebhookContentType.CouponSetCreated]: CouponSetCreatedContent;
|
|
400
|
+
[WebhookContentType.PaymentIntentUpdated]: PaymentIntentUpdatedContent;
|
|
401
|
+
[WebhookContentType.OrderResent]: OrderResentContent;
|
|
402
|
+
[WebhookContentType.OmnichannelSubscriptionCreated]: OmnichannelSubscriptionCreatedContent;
|
|
403
|
+
[WebhookContentType.TaxWithheldRecorded]: TaxWithheldRecordedContent;
|
|
404
|
+
[WebhookContentType.PriceVariantCreated]: PriceVariantCreatedContent;
|
|
405
|
+
[WebhookContentType.DifferentialPriceDeleted]: DifferentialPriceDeletedContent;
|
|
406
|
+
[WebhookContentType.SubscriptionItemsRenewed]: SubscriptionItemsRenewedContent;
|
|
407
|
+
[WebhookContentType.RuleCreated]: RuleCreatedContent;
|
|
408
|
+
[WebhookContentType.ContractTermCancelled]: ContractTermCancelledContent;
|
|
409
|
+
[WebhookContentType.ContractTermRenewed]: ContractTermRenewedContent;
|
|
410
|
+
[WebhookContentType.InvoiceDeleted]: InvoiceDeletedContent;
|
|
411
|
+
[WebhookContentType.ItemPriceEntitlementsRemoved]: ItemPriceEntitlementsRemovedContent;
|
|
412
|
+
[WebhookContentType.SalesOrderUpdated]: SalesOrderUpdatedContent;
|
|
413
|
+
[WebhookContentType.OmnichannelSubscriptionItemDunningStarted]: OmnichannelSubscriptionItemDunningStartedContent;
|
|
414
|
+
[WebhookContentType.OmnichannelSubscriptionItemChangeScheduled]: OmnichannelSubscriptionItemChangeScheduledContent;
|
|
415
|
+
[WebhookContentType.PendingInvoiceUpdated]: PendingInvoiceUpdatedContent;
|
|
416
|
+
[WebhookContentType.QuoteUpdated]: QuoteUpdatedContent;
|
|
417
|
+
[WebhookContentType.AttachedItemUpdated]: AttachedItemUpdatedContent;
|
|
418
|
+
[WebhookContentType.PaymentSourceUpdated]: PaymentSourceUpdatedContent;
|
|
419
|
+
[WebhookContentType.BusinessEntityDeleted]: BusinessEntityDeletedContent;
|
|
420
|
+
[WebhookContentType.AuthorizationVoided]: AuthorizationVoidedContent;
|
|
421
|
+
[WebhookContentType.SubscriptionRampDeleted]: SubscriptionRampDeletedContent;
|
|
422
|
+
};
|
|
423
|
+
|
|
424
|
+
export type ContentFor<T extends WebhookContentType> = WebhookContentMap[T];
|
|
425
|
+
|
|
426
|
+
export interface WebhookEvent<
|
|
427
|
+
T extends WebhookContentType = WebhookContentType,
|
|
428
|
+
> {
|
|
429
|
+
content: ContentFor<T>;
|
|
430
|
+
id: string;
|
|
431
|
+
occurred_at: number;
|
|
432
|
+
source: SourceEnum;
|
|
433
|
+
user?: string;
|
|
434
|
+
webhook_status:
|
|
435
|
+
| 'not_configured'
|
|
436
|
+
| 'scheduled'
|
|
437
|
+
| 'succeeded'
|
|
438
|
+
| 're_scheduled'
|
|
439
|
+
| 'failed'
|
|
440
|
+
| 'skipped'
|
|
441
|
+
| 'not_applicable'
|
|
442
|
+
| 'disabled';
|
|
443
|
+
webhook_failure_reason?: string;
|
|
444
|
+
webhooks?: Event.Webhook[];
|
|
445
|
+
event_type?: EventTypeEnum;
|
|
446
|
+
api_version?: ApiVersionEnum;
|
|
447
|
+
origin_user?: string;
|
|
448
|
+
}
|
|
449
|
+
export type SubscriptionPauseScheduledContent = {
|
|
450
|
+
subscription: Subscription;
|
|
451
|
+
|
|
452
|
+
customer: Customer;
|
|
453
|
+
|
|
454
|
+
card: Card;
|
|
455
|
+
|
|
456
|
+
advance_invoice_schedule: AdvanceInvoiceSchedule;
|
|
457
|
+
};
|
|
458
|
+
export type CustomerBusinessEntityChangedContent = {
|
|
459
|
+
business_entity_change: BusinessEntityChange;
|
|
460
|
+
|
|
461
|
+
business_entity_transfer: BusinessEntityTransfer;
|
|
462
|
+
|
|
463
|
+
customer: Customer;
|
|
464
|
+
};
|
|
465
|
+
export type SubscriptionAdvanceInvoiceScheduleAddedContent = {
|
|
466
|
+
subscription: Subscription;
|
|
467
|
+
|
|
468
|
+
customer: Customer;
|
|
469
|
+
|
|
470
|
+
advance_invoice_schedule: AdvanceInvoiceSchedule;
|
|
471
|
+
};
|
|
472
|
+
export type GiftExpiredContent = {
|
|
473
|
+
gift: Gift;
|
|
474
|
+
};
|
|
475
|
+
export type TaxWithheldDeletedContent = {
|
|
476
|
+
tax_withheld: TaxWithheld;
|
|
477
|
+
|
|
478
|
+
invoice: Invoice;
|
|
479
|
+
|
|
480
|
+
credit_note: CreditNote;
|
|
481
|
+
};
|
|
482
|
+
export type UnbilledChargesDeletedContent = {
|
|
483
|
+
unbilled_charge: UnbilledCharge;
|
|
484
|
+
};
|
|
485
|
+
export type CouponUpdatedContent = {
|
|
486
|
+
coupon: Coupon;
|
|
487
|
+
};
|
|
488
|
+
export type OmnichannelSubscriptionItemReactivatedContent = {
|
|
489
|
+
omnichannel_subscription: OmnichannelSubscription;
|
|
490
|
+
|
|
491
|
+
omnichannel_subscription_item: OmnichannelSubscriptionItem;
|
|
492
|
+
|
|
493
|
+
customer: Customer;
|
|
494
|
+
};
|
|
495
|
+
export type OmnichannelSubscriptionItemRenewedContent = {
|
|
496
|
+
omnichannel_subscription_item: OmnichannelSubscriptionItem;
|
|
497
|
+
|
|
498
|
+
omnichannel_subscription: OmnichannelSubscription;
|
|
499
|
+
|
|
500
|
+
omnichannel_transaction: OmnichannelTransaction;
|
|
501
|
+
|
|
502
|
+
omnichannel_subscription_item_scheduled_change: OmnichannelSubscriptionItemScheduledChange;
|
|
503
|
+
|
|
504
|
+
customer: Customer;
|
|
505
|
+
};
|
|
506
|
+
export type UnbilledChargesCreatedContent = {
|
|
507
|
+
unbilled_charge: UnbilledCharge;
|
|
508
|
+
};
|
|
509
|
+
export type SubscriptionResumedContent = {
|
|
510
|
+
subscription: Subscription;
|
|
511
|
+
|
|
512
|
+
customer: Customer;
|
|
513
|
+
|
|
514
|
+
card: Card;
|
|
515
|
+
|
|
516
|
+
invoice: Invoice;
|
|
517
|
+
|
|
518
|
+
unbilled_charge: UnbilledCharge;
|
|
519
|
+
};
|
|
520
|
+
export type OmnichannelOneTimeOrderItemCancelledContent = {
|
|
521
|
+
omnichannel_one_time_order: OmnichannelOneTimeOrder;
|
|
522
|
+
|
|
523
|
+
omnichannel_one_time_order_item: OmnichannelOneTimeOrderItem;
|
|
524
|
+
|
|
525
|
+
omnichannel_transaction: OmnichannelTransaction;
|
|
526
|
+
|
|
527
|
+
customer: Customer;
|
|
528
|
+
};
|
|
529
|
+
export type SubscriptionCancelledContent = {
|
|
530
|
+
subscription: Subscription;
|
|
531
|
+
|
|
532
|
+
customer: Customer;
|
|
533
|
+
|
|
534
|
+
card: Card;
|
|
535
|
+
|
|
536
|
+
invoice: Invoice;
|
|
537
|
+
|
|
538
|
+
credit_note: CreditNote;
|
|
539
|
+
|
|
540
|
+
unbilled_charge: UnbilledCharge;
|
|
541
|
+
};
|
|
542
|
+
export type ItemEntitlementsRemovedContent = {
|
|
543
|
+
feature: Feature;
|
|
544
|
+
|
|
545
|
+
metadata: Metadata;
|
|
546
|
+
|
|
547
|
+
impacted_item: ImpactedItem;
|
|
548
|
+
|
|
549
|
+
impacted_subscription: ImpactedSubscription;
|
|
550
|
+
};
|
|
551
|
+
export type BusinessEntityCreatedContent = {
|
|
552
|
+
business_entity: BusinessEntity;
|
|
553
|
+
};
|
|
554
|
+
export type CouponSetUpdatedContent = {
|
|
555
|
+
coupon: Coupon;
|
|
556
|
+
|
|
557
|
+
coupon_set: CouponSet;
|
|
558
|
+
};
|
|
559
|
+
export type DifferentialPriceUpdatedContent = {
|
|
560
|
+
differential_price: DifferentialPrice;
|
|
561
|
+
};
|
|
562
|
+
export type OmnichannelSubscriptionItemPausedContent = {
|
|
563
|
+
omnichannel_subscription: OmnichannelSubscription;
|
|
564
|
+
|
|
565
|
+
omnichannel_subscription_item: OmnichannelSubscriptionItem;
|
|
566
|
+
|
|
567
|
+
customer: Customer;
|
|
568
|
+
};
|
|
569
|
+
export type EntitlementOverridesRemovedContent = {
|
|
570
|
+
impacted_subscription: ImpactedSubscription;
|
|
571
|
+
|
|
572
|
+
metadata: Metadata;
|
|
573
|
+
};
|
|
574
|
+
export type SubscriptionActivatedWithBackdatingContent = {
|
|
575
|
+
subscription: Subscription;
|
|
576
|
+
|
|
577
|
+
customer: Customer;
|
|
578
|
+
|
|
579
|
+
card: Card;
|
|
580
|
+
|
|
581
|
+
invoice: Invoice;
|
|
582
|
+
|
|
583
|
+
unbilled_charge: UnbilledCharge;
|
|
584
|
+
};
|
|
585
|
+
export type SubscriptionTrialEndReminderContent = {
|
|
586
|
+
subscription: Subscription;
|
|
587
|
+
|
|
588
|
+
customer: Customer;
|
|
589
|
+
|
|
590
|
+
card: Card;
|
|
591
|
+
|
|
592
|
+
advance_invoice_schedule: AdvanceInvoiceSchedule;
|
|
593
|
+
};
|
|
594
|
+
export type SubscriptionShippingAddressUpdatedContent = {
|
|
595
|
+
subscription: Subscription;
|
|
596
|
+
|
|
597
|
+
customer: Customer;
|
|
598
|
+
|
|
599
|
+
card: Card;
|
|
600
|
+
|
|
601
|
+
advance_invoice_schedule: AdvanceInvoiceSchedule;
|
|
602
|
+
};
|
|
603
|
+
export type VoucherCreateFailedContent = {
|
|
604
|
+
payment_voucher: PaymentVoucher;
|
|
605
|
+
};
|
|
606
|
+
export type GiftClaimedContent = {
|
|
607
|
+
gift: Gift;
|
|
608
|
+
};
|
|
609
|
+
export type CustomerDeletedContent = {
|
|
610
|
+
customer: Customer;
|
|
611
|
+
|
|
612
|
+
card: Card;
|
|
613
|
+
|
|
614
|
+
subscription: Subscription;
|
|
615
|
+
};
|
|
616
|
+
export type RefundInitiatedContent = {
|
|
617
|
+
transaction: Transaction;
|
|
618
|
+
|
|
619
|
+
invoice: Invoice;
|
|
620
|
+
|
|
621
|
+
credit_note: CreditNote;
|
|
622
|
+
|
|
623
|
+
customer: Customer;
|
|
624
|
+
|
|
625
|
+
subscription: Subscription;
|
|
626
|
+
|
|
627
|
+
card: Card;
|
|
628
|
+
};
|
|
629
|
+
export type InvoiceGeneratedWithBackdatingContent = {
|
|
630
|
+
invoice: Invoice;
|
|
631
|
+
};
|
|
632
|
+
export type AddUsagesReminderContent = {
|
|
633
|
+
subscription: Subscription;
|
|
634
|
+
|
|
635
|
+
customer: Customer;
|
|
636
|
+
|
|
637
|
+
usage_reminder_info: UsageReminderInfo;
|
|
638
|
+
};
|
|
639
|
+
export type VoucherCreatedContent = {
|
|
640
|
+
payment_voucher: PaymentVoucher;
|
|
641
|
+
};
|
|
642
|
+
export type RuleUpdatedContent = {
|
|
643
|
+
rule: Rule;
|
|
644
|
+
};
|
|
645
|
+
export type PaymentSchedulesCreatedContent = {
|
|
646
|
+
payment_schedule: PaymentSchedule;
|
|
647
|
+
};
|
|
648
|
+
export type FeatureActivatedContent = {
|
|
649
|
+
feature: Feature;
|
|
650
|
+
|
|
651
|
+
metadata: Metadata;
|
|
652
|
+
|
|
653
|
+
impacted_item: ImpactedItem;
|
|
654
|
+
|
|
655
|
+
impacted_subscription: ImpactedSubscription;
|
|
656
|
+
};
|
|
657
|
+
export type PaymentSourceLocallyDeletedContent = {
|
|
658
|
+
customer: Customer;
|
|
659
|
+
|
|
660
|
+
payment_source: PaymentSource;
|
|
661
|
+
};
|
|
662
|
+
export type InvoiceGeneratedContent = {
|
|
663
|
+
invoice: Invoice;
|
|
664
|
+
};
|
|
665
|
+
export type VoucherExpiredContent = {
|
|
666
|
+
payment_voucher: PaymentVoucher;
|
|
667
|
+
};
|
|
668
|
+
export type AuthorizationSucceededContent = {
|
|
669
|
+
transaction: Transaction;
|
|
670
|
+
};
|
|
671
|
+
export type GiftScheduledContent = {
|
|
672
|
+
gift: Gift;
|
|
673
|
+
};
|
|
674
|
+
export type SubscriptionChangesScheduledContent = {
|
|
675
|
+
subscription: Subscription;
|
|
676
|
+
|
|
677
|
+
customer: Customer;
|
|
678
|
+
|
|
679
|
+
card: Card;
|
|
680
|
+
|
|
681
|
+
advance_invoice_schedule: AdvanceInvoiceSchedule;
|
|
682
|
+
};
|
|
683
|
+
export type SubscriptionChangedWithBackdatingContent = {
|
|
684
|
+
subscription: Subscription;
|
|
685
|
+
|
|
686
|
+
customer: Customer;
|
|
687
|
+
|
|
688
|
+
card: Card;
|
|
689
|
+
|
|
690
|
+
invoice: Invoice;
|
|
691
|
+
|
|
692
|
+
credit_note: CreditNote;
|
|
693
|
+
|
|
694
|
+
unbilled_charge: UnbilledCharge;
|
|
695
|
+
};
|
|
696
|
+
export type OmnichannelSubscriptionItemChangedContent = {
|
|
697
|
+
omnichannel_subscription_item: OmnichannelSubscriptionItem;
|
|
698
|
+
|
|
699
|
+
omnichannel_subscription: OmnichannelSubscription;
|
|
700
|
+
|
|
701
|
+
omnichannel_transaction: OmnichannelTransaction;
|
|
702
|
+
|
|
703
|
+
omnichannel_subscription_item_scheduled_change: OmnichannelSubscriptionItemScheduledChange;
|
|
704
|
+
|
|
705
|
+
customer: Customer;
|
|
706
|
+
};
|
|
707
|
+
export type GiftUnclaimedContent = {
|
|
708
|
+
gift: Gift;
|
|
709
|
+
};
|
|
710
|
+
export type VirtualBankAccountAddedContent = {
|
|
711
|
+
customer: Customer;
|
|
712
|
+
|
|
713
|
+
virtual_bank_account: VirtualBankAccount;
|
|
714
|
+
};
|
|
715
|
+
export type PaymentIntentCreatedContent = {
|
|
716
|
+
payment_intent: PaymentIntent;
|
|
717
|
+
};
|
|
718
|
+
export type CreditNoteCreatedWithBackdatingContent = {
|
|
719
|
+
credit_note: CreditNote;
|
|
720
|
+
};
|
|
721
|
+
export type ContractTermTerminatedContent = {
|
|
722
|
+
contract_term: ContractTerm;
|
|
723
|
+
};
|
|
724
|
+
export type ItemFamilyUpdatedContent = {
|
|
725
|
+
item_family: ItemFamily;
|
|
726
|
+
};
|
|
727
|
+
export type OrderCreatedContent = {
|
|
728
|
+
order: Order;
|
|
729
|
+
};
|
|
730
|
+
export type PriceVariantDeletedContent = {
|
|
731
|
+
price_variant: PriceVariant;
|
|
732
|
+
|
|
733
|
+
attribute: Attribute;
|
|
734
|
+
};
|
|
735
|
+
export type SubscriptionMovementFailedContent = {
|
|
736
|
+
subscription: Subscription;
|
|
737
|
+
};
|
|
738
|
+
export type CustomerMovedInContent = {
|
|
739
|
+
customer: Customer;
|
|
740
|
+
|
|
741
|
+
card: Card;
|
|
742
|
+
};
|
|
743
|
+
export type SubscriptionAdvanceInvoiceScheduleUpdatedContent = {
|
|
744
|
+
subscription: Subscription;
|
|
745
|
+
|
|
746
|
+
customer: Customer;
|
|
747
|
+
|
|
748
|
+
advance_invoice_schedule: AdvanceInvoiceSchedule;
|
|
749
|
+
};
|
|
750
|
+
export type ItemDeletedContent = {
|
|
751
|
+
item: Item;
|
|
752
|
+
};
|
|
753
|
+
export type SubscriptionRampDraftedContent = {
|
|
754
|
+
ramp: Ramp;
|
|
755
|
+
};
|
|
756
|
+
export type ItemEntitlementsUpdatedContent = {
|
|
757
|
+
feature: Feature;
|
|
758
|
+
|
|
759
|
+
metadata: Metadata;
|
|
760
|
+
|
|
761
|
+
impacted_item: ImpactedItem;
|
|
762
|
+
|
|
763
|
+
impacted_subscription: ImpactedSubscription;
|
|
764
|
+
};
|
|
765
|
+
export type TokenConsumedContent = {
|
|
766
|
+
token: Token;
|
|
767
|
+
};
|
|
768
|
+
export type HierarchyDeletedContent = {
|
|
769
|
+
customer: Customer;
|
|
770
|
+
};
|
|
771
|
+
export type SubscriptionCancellationScheduledContent = {
|
|
772
|
+
subscription: Subscription;
|
|
773
|
+
|
|
774
|
+
customer: Customer;
|
|
775
|
+
|
|
776
|
+
card: Card;
|
|
777
|
+
|
|
778
|
+
advance_invoice_schedule: AdvanceInvoiceSchedule;
|
|
779
|
+
};
|
|
780
|
+
export type SubscriptionRenewedContent = {
|
|
781
|
+
subscription: Subscription;
|
|
782
|
+
|
|
783
|
+
customer: Customer;
|
|
784
|
+
|
|
785
|
+
card: Card;
|
|
786
|
+
|
|
787
|
+
invoice: Invoice;
|
|
788
|
+
|
|
789
|
+
unbilled_charge: UnbilledCharge;
|
|
790
|
+
};
|
|
791
|
+
export type FeatureUpdatedContent = {
|
|
792
|
+
feature: Feature;
|
|
793
|
+
|
|
794
|
+
metadata: Metadata;
|
|
795
|
+
};
|
|
796
|
+
export type FeatureDeletedContent = {
|
|
797
|
+
feature: Feature;
|
|
798
|
+
|
|
799
|
+
metadata: Metadata;
|
|
800
|
+
|
|
801
|
+
impacted_item: ImpactedItem;
|
|
802
|
+
|
|
803
|
+
impacted_subscription: ImpactedSubscription;
|
|
804
|
+
};
|
|
805
|
+
export type ItemFamilyCreatedContent = {
|
|
806
|
+
item_family: ItemFamily;
|
|
807
|
+
};
|
|
808
|
+
export type OmnichannelSubscriptionItemScheduledChangeRemovedContent = {
|
|
809
|
+
omnichannel_subscription_item: OmnichannelSubscriptionItem;
|
|
810
|
+
|
|
811
|
+
omnichannel_subscription_item_scheduled_change: OmnichannelSubscriptionItemScheduledChange;
|
|
812
|
+
|
|
813
|
+
customer: Customer;
|
|
814
|
+
};
|
|
815
|
+
export type OmnichannelSubscriptionItemResumedContent = {
|
|
816
|
+
omnichannel_subscription: OmnichannelSubscription;
|
|
817
|
+
|
|
818
|
+
omnichannel_subscription_item: OmnichannelSubscriptionItem;
|
|
819
|
+
|
|
820
|
+
customer: Customer;
|
|
821
|
+
};
|
|
822
|
+
export type PurchaseCreatedContent = {
|
|
823
|
+
purchase: Purchase;
|
|
824
|
+
};
|
|
825
|
+
export type EntitlementOverridesUpdatedContent = {
|
|
826
|
+
impacted_subscription: ImpactedSubscription;
|
|
827
|
+
|
|
828
|
+
metadata: Metadata;
|
|
829
|
+
};
|
|
830
|
+
export type ItemFamilyDeletedContent = {
|
|
831
|
+
item_family: ItemFamily;
|
|
832
|
+
};
|
|
833
|
+
export type SubscriptionResumptionScheduledContent = {
|
|
834
|
+
subscription: Subscription;
|
|
835
|
+
|
|
836
|
+
customer: Customer;
|
|
837
|
+
|
|
838
|
+
card: Card;
|
|
839
|
+
|
|
840
|
+
advance_invoice_schedule: AdvanceInvoiceSchedule;
|
|
841
|
+
};
|
|
842
|
+
export type FeatureReactivatedContent = {
|
|
843
|
+
feature: Feature;
|
|
844
|
+
|
|
845
|
+
metadata: Metadata;
|
|
846
|
+
};
|
|
847
|
+
export type CouponCodesDeletedContent = {
|
|
848
|
+
coupon: Coupon;
|
|
849
|
+
|
|
850
|
+
coupon_set: CouponSet;
|
|
851
|
+
|
|
852
|
+
coupon_code: CouponCode;
|
|
853
|
+
};
|
|
854
|
+
export type CardExpiredContent = {
|
|
855
|
+
customer: Customer;
|
|
856
|
+
|
|
857
|
+
card: Card;
|
|
858
|
+
};
|
|
859
|
+
export type CreditNoteUpdatedContent = {
|
|
860
|
+
credit_note: CreditNote;
|
|
861
|
+
};
|
|
862
|
+
export type OmnichannelSubscriptionItemDowngradedContent = {
|
|
863
|
+
omnichannel_subscription_item: OmnichannelSubscriptionItem;
|
|
864
|
+
|
|
865
|
+
omnichannel_subscription: OmnichannelSubscription;
|
|
866
|
+
|
|
867
|
+
omnichannel_transaction: OmnichannelTransaction;
|
|
868
|
+
|
|
869
|
+
customer: Customer;
|
|
870
|
+
};
|
|
871
|
+
export type PriceVariantUpdatedContent = {
|
|
872
|
+
price_variant: PriceVariant;
|
|
873
|
+
|
|
874
|
+
attribute: Attribute;
|
|
875
|
+
};
|
|
876
|
+
export type PromotionalCreditsDeductedContent = {
|
|
877
|
+
customer: Customer;
|
|
878
|
+
|
|
879
|
+
promotional_credit: PromotionalCredit;
|
|
880
|
+
};
|
|
881
|
+
export type SubscriptionRampAppliedContent = {
|
|
882
|
+
ramp: Ramp;
|
|
883
|
+
};
|
|
884
|
+
export type SubscriptionPausedContent = {
|
|
885
|
+
subscription: Subscription;
|
|
886
|
+
|
|
887
|
+
customer: Customer;
|
|
888
|
+
|
|
889
|
+
card: Card;
|
|
890
|
+
|
|
891
|
+
invoice: Invoice;
|
|
892
|
+
|
|
893
|
+
credit_note: CreditNote;
|
|
894
|
+
|
|
895
|
+
unbilled_charge: UnbilledCharge;
|
|
896
|
+
};
|
|
897
|
+
export type OrderReadyToProcessContent = {
|
|
898
|
+
order: Order;
|
|
899
|
+
};
|
|
900
|
+
export type FeatureCreatedContent = {
|
|
901
|
+
feature: Feature;
|
|
902
|
+
|
|
903
|
+
metadata: Metadata;
|
|
904
|
+
|
|
905
|
+
impacted_item: ImpactedItem;
|
|
906
|
+
|
|
907
|
+
impacted_subscription: ImpactedSubscription;
|
|
908
|
+
};
|
|
909
|
+
export type TransactionDeletedContent = {
|
|
910
|
+
transaction: Transaction;
|
|
911
|
+
};
|
|
912
|
+
export type CreditNoteCreatedContent = {
|
|
913
|
+
credit_note: CreditNote;
|
|
914
|
+
};
|
|
915
|
+
export type OmnichannelSubscriptionItemResubscribedContent = {
|
|
916
|
+
omnichannel_subscription_item: OmnichannelSubscriptionItem;
|
|
917
|
+
|
|
918
|
+
omnichannel_subscription: OmnichannelSubscription;
|
|
919
|
+
|
|
920
|
+
omnichannel_transaction: OmnichannelTransaction;
|
|
921
|
+
|
|
922
|
+
omnichannel_subscription_item_scheduled_change: OmnichannelSubscriptionItemScheduledChange;
|
|
923
|
+
|
|
924
|
+
customer: Customer;
|
|
925
|
+
};
|
|
926
|
+
export type RecordPurchaseFailedContent = {
|
|
927
|
+
recorded_purchase: RecordedPurchase;
|
|
928
|
+
|
|
929
|
+
customer: Customer;
|
|
930
|
+
};
|
|
931
|
+
export type ItemCreatedContent = {
|
|
932
|
+
item: Item;
|
|
933
|
+
};
|
|
934
|
+
export type TransactionUpdatedContent = {
|
|
935
|
+
transaction: Transaction;
|
|
936
|
+
};
|
|
937
|
+
export type MrrUpdatedContent = {
|
|
938
|
+
subscription: Subscription;
|
|
939
|
+
};
|
|
940
|
+
export type UnbilledChargesInvoicedContent = {
|
|
941
|
+
unbilled_charge: UnbilledCharge;
|
|
942
|
+
|
|
943
|
+
invoice: Invoice;
|
|
944
|
+
};
|
|
945
|
+
export type ItemPriceUpdatedContent = {
|
|
946
|
+
item_price: ItemPrice;
|
|
947
|
+
};
|
|
948
|
+
export type CouponCodesUpdatedContent = {
|
|
949
|
+
coupon: Coupon;
|
|
950
|
+
|
|
951
|
+
coupon_set: CouponSet;
|
|
952
|
+
};
|
|
953
|
+
export type VirtualBankAccountUpdatedContent = {
|
|
954
|
+
customer: Customer;
|
|
955
|
+
|
|
956
|
+
virtual_bank_account: VirtualBankAccount;
|
|
957
|
+
};
|
|
958
|
+
export type ContractTermCreatedContent = {
|
|
959
|
+
contract_term: ContractTerm;
|
|
960
|
+
};
|
|
961
|
+
export type SubscriptionChangedContent = {
|
|
962
|
+
subscription: Subscription;
|
|
963
|
+
|
|
964
|
+
customer: Customer;
|
|
965
|
+
|
|
966
|
+
card: Card;
|
|
967
|
+
|
|
968
|
+
invoice: Invoice;
|
|
969
|
+
|
|
970
|
+
credit_note: CreditNote;
|
|
971
|
+
|
|
972
|
+
unbilled_charge: UnbilledCharge;
|
|
973
|
+
};
|
|
974
|
+
export type PaymentFailedContent = {
|
|
975
|
+
transaction: Transaction;
|
|
976
|
+
|
|
977
|
+
invoice: Invoice;
|
|
978
|
+
|
|
979
|
+
customer: Customer;
|
|
980
|
+
|
|
981
|
+
subscription: Subscription;
|
|
982
|
+
|
|
983
|
+
card: Card;
|
|
984
|
+
};
|
|
985
|
+
export type CreditNoteDeletedContent = {
|
|
986
|
+
credit_note: CreditNote;
|
|
987
|
+
};
|
|
988
|
+
export type TaxWithheldRefundedContent = {
|
|
989
|
+
tax_withheld: TaxWithheld;
|
|
990
|
+
|
|
991
|
+
invoice: Invoice;
|
|
992
|
+
|
|
993
|
+
credit_note: CreditNote;
|
|
994
|
+
};
|
|
995
|
+
export type ContractTermCompletedContent = {
|
|
996
|
+
contract_term: ContractTerm;
|
|
997
|
+
};
|
|
998
|
+
export type PaymentSchedulesUpdatedContent = {
|
|
999
|
+
payment_schedule: PaymentSchedule;
|
|
1000
|
+
};
|
|
1001
|
+
export type OmnichannelSubscriptionItemExpiredContent = {
|
|
1002
|
+
omnichannel_subscription: OmnichannelSubscription;
|
|
1003
|
+
|
|
1004
|
+
omnichannel_subscription_item: OmnichannelSubscriptionItem;
|
|
1005
|
+
|
|
1006
|
+
customer: Customer;
|
|
1007
|
+
};
|
|
1008
|
+
export type CardUpdatedContent = {
|
|
1009
|
+
customer: Customer;
|
|
1010
|
+
|
|
1011
|
+
card: Card;
|
|
1012
|
+
};
|
|
1013
|
+
export type CustomerCreatedContent = {
|
|
1014
|
+
customer: Customer;
|
|
1015
|
+
|
|
1016
|
+
card: Card;
|
|
1017
|
+
};
|
|
1018
|
+
export type SubscriptionRenewalReminderContent = {
|
|
1019
|
+
subscription: Subscription;
|
|
1020
|
+
|
|
1021
|
+
customer: Customer;
|
|
1022
|
+
|
|
1023
|
+
card: Card;
|
|
1024
|
+
|
|
1025
|
+
advance_invoice_schedule: AdvanceInvoiceSchedule;
|
|
1026
|
+
};
|
|
1027
|
+
export type OrderDeliveredContent = {
|
|
1028
|
+
order: Order;
|
|
1029
|
+
};
|
|
1030
|
+
export type OmnichannelSubscriptionItemCancellationScheduledContent = {
|
|
1031
|
+
omnichannel_subscription: OmnichannelSubscription;
|
|
1032
|
+
|
|
1033
|
+
omnichannel_subscription_item: OmnichannelSubscriptionItem;
|
|
1034
|
+
|
|
1035
|
+
customer: Customer;
|
|
1036
|
+
};
|
|
1037
|
+
export type OmnichannelSubscriptionItemGracePeriodExpiredContent = {
|
|
1038
|
+
omnichannel_subscription: OmnichannelSubscription;
|
|
1039
|
+
|
|
1040
|
+
omnichannel_subscription_item: OmnichannelSubscriptionItem;
|
|
1041
|
+
|
|
1042
|
+
customer: Customer;
|
|
1043
|
+
};
|
|
1044
|
+
export type CouponCodesAddedContent = {
|
|
1045
|
+
coupon: Coupon;
|
|
1046
|
+
|
|
1047
|
+
coupon_set: CouponSet;
|
|
1048
|
+
};
|
|
1049
|
+
export type GiftCancelledContent = {
|
|
1050
|
+
gift: Gift;
|
|
1051
|
+
};
|
|
1052
|
+
export type OrderCancelledContent = {
|
|
1053
|
+
order: Order;
|
|
1054
|
+
};
|
|
1055
|
+
export type CouponDeletedContent = {
|
|
1056
|
+
coupon: Coupon;
|
|
1057
|
+
};
|
|
1058
|
+
export type SubscriptionScheduledChangesRemovedContent = {
|
|
1059
|
+
subscription: Subscription;
|
|
1060
|
+
|
|
1061
|
+
customer: Customer;
|
|
1062
|
+
|
|
1063
|
+
card: Card;
|
|
1064
|
+
|
|
1065
|
+
advance_invoice_schedule: AdvanceInvoiceSchedule;
|
|
1066
|
+
};
|
|
1067
|
+
export type PendingInvoiceCreatedContent = {
|
|
1068
|
+
invoice: Invoice;
|
|
1069
|
+
};
|
|
1070
|
+
export type EntitlementOverridesAutoRemovedContent = {
|
|
1071
|
+
feature: Feature;
|
|
1072
|
+
|
|
1073
|
+
metadata: Metadata;
|
|
1074
|
+
|
|
1075
|
+
impacted_item: ImpactedItem;
|
|
1076
|
+
|
|
1077
|
+
impacted_subscription: ImpactedSubscription;
|
|
1078
|
+
};
|
|
1079
|
+
export type OmnichannelSubscriptionItemUpgradedContent = {
|
|
1080
|
+
omnichannel_subscription_item: OmnichannelSubscriptionItem;
|
|
1081
|
+
|
|
1082
|
+
omnichannel_subscription: OmnichannelSubscription;
|
|
1083
|
+
|
|
1084
|
+
omnichannel_transaction: OmnichannelTransaction;
|
|
1085
|
+
|
|
1086
|
+
omnichannel_subscription_item_scheduled_change: OmnichannelSubscriptionItemScheduledChange;
|
|
1087
|
+
|
|
1088
|
+
customer: Customer;
|
|
1089
|
+
};
|
|
1090
|
+
export type SubscriptionBusinessEntityChangedContent = {
|
|
1091
|
+
business_entity_change: BusinessEntityChange;
|
|
1092
|
+
|
|
1093
|
+
business_entity_transfer: BusinessEntityTransfer;
|
|
1094
|
+
|
|
1095
|
+
subscription: Subscription;
|
|
1096
|
+
};
|
|
1097
|
+
export type OmnichannelOneTimeOrderCreatedContent = {
|
|
1098
|
+
omnichannel_one_time_order: OmnichannelOneTimeOrder;
|
|
1099
|
+
|
|
1100
|
+
omnichannel_one_time_order_item: OmnichannelOneTimeOrderItem;
|
|
1101
|
+
|
|
1102
|
+
omnichannel_transaction: OmnichannelTransaction;
|
|
1103
|
+
|
|
1104
|
+
customer: Customer;
|
|
1105
|
+
};
|
|
1106
|
+
export type PaymentSourceDeletedContent = {
|
|
1107
|
+
customer: Customer;
|
|
1108
|
+
|
|
1109
|
+
payment_source: PaymentSource;
|
|
1110
|
+
};
|
|
1111
|
+
export type OmnichannelSubscriptionItemCancelledContent = {
|
|
1112
|
+
omnichannel_subscription: OmnichannelSubscription;
|
|
1113
|
+
|
|
1114
|
+
omnichannel_subscription_item: OmnichannelSubscriptionItem;
|
|
1115
|
+
|
|
1116
|
+
customer: Customer;
|
|
1117
|
+
};
|
|
1118
|
+
export type QuoteDeletedContent = {
|
|
1119
|
+
quote: Quote;
|
|
1120
|
+
};
|
|
1121
|
+
export type InvoiceUpdatedContent = {
|
|
1122
|
+
invoice: Invoice;
|
|
1123
|
+
};
|
|
1124
|
+
export type SubscriptionAdvanceInvoiceScheduleRemovedContent = {
|
|
1125
|
+
subscription: Subscription;
|
|
1126
|
+
|
|
1127
|
+
customer: Customer;
|
|
1128
|
+
|
|
1129
|
+
advance_invoice_schedule: AdvanceInvoiceSchedule;
|
|
1130
|
+
};
|
|
1131
|
+
export type CardDeletedContent = {
|
|
1132
|
+
customer: Customer;
|
|
1133
|
+
|
|
1134
|
+
card: Card;
|
|
1135
|
+
};
|
|
1136
|
+
export type OrderReadyToShipContent = {
|
|
1137
|
+
order: Order;
|
|
1138
|
+
};
|
|
1139
|
+
export type SubscriptionMovedOutContent = {
|
|
1140
|
+
subscription: Subscription;
|
|
1141
|
+
};
|
|
1142
|
+
export type PaymentScheduleSchemeCreatedContent = {
|
|
1143
|
+
payment_schedule_scheme: PaymentScheduleScheme;
|
|
1144
|
+
};
|
|
1145
|
+
export type BusinessEntityUpdatedContent = {
|
|
1146
|
+
business_entity: BusinessEntity;
|
|
1147
|
+
};
|
|
1148
|
+
export type SubscriptionScheduledResumptionRemovedContent = {
|
|
1149
|
+
subscription: Subscription;
|
|
1150
|
+
|
|
1151
|
+
customer: Customer;
|
|
1152
|
+
|
|
1153
|
+
card: Card;
|
|
1154
|
+
|
|
1155
|
+
advance_invoice_schedule: AdvanceInvoiceSchedule;
|
|
1156
|
+
};
|
|
1157
|
+
export type PaymentInitiatedContent = {
|
|
1158
|
+
transaction: Transaction;
|
|
1159
|
+
|
|
1160
|
+
invoice: Invoice;
|
|
1161
|
+
|
|
1162
|
+
customer: Customer;
|
|
1163
|
+
|
|
1164
|
+
subscription: Subscription;
|
|
1165
|
+
|
|
1166
|
+
card: Card;
|
|
1167
|
+
};
|
|
1168
|
+
export type FeatureArchivedContent = {
|
|
1169
|
+
feature: Feature;
|
|
1170
|
+
|
|
1171
|
+
metadata: Metadata;
|
|
1172
|
+
};
|
|
1173
|
+
export type SubscriptionReactivatedWithBackdatingContent = {
|
|
1174
|
+
subscription: Subscription;
|
|
1175
|
+
|
|
1176
|
+
customer: Customer;
|
|
1177
|
+
|
|
1178
|
+
card: Card;
|
|
1179
|
+
|
|
1180
|
+
invoice: Invoice;
|
|
1181
|
+
|
|
1182
|
+
unbilled_charge: UnbilledCharge;
|
|
1183
|
+
};
|
|
1184
|
+
export type OmnichannelSubscriptionImportedContent = {
|
|
1185
|
+
omnichannel_subscription_item: OmnichannelSubscriptionItem;
|
|
1186
|
+
|
|
1187
|
+
omnichannel_subscription: OmnichannelSubscription;
|
|
1188
|
+
|
|
1189
|
+
omnichannel_transaction: OmnichannelTransaction;
|
|
1190
|
+
|
|
1191
|
+
omnichannel_subscription_item_scheduled_change: OmnichannelSubscriptionItemScheduledChange;
|
|
1192
|
+
|
|
1193
|
+
customer: Customer;
|
|
1194
|
+
};
|
|
1195
|
+
export type TokenExpiredContent = {
|
|
1196
|
+
token: Token;
|
|
1197
|
+
};
|
|
1198
|
+
export type CardAddedContent = {
|
|
1199
|
+
customer: Customer;
|
|
1200
|
+
|
|
1201
|
+
card: Card;
|
|
1202
|
+
};
|
|
1203
|
+
export type CouponCreatedContent = {
|
|
1204
|
+
coupon: Coupon;
|
|
1205
|
+
};
|
|
1206
|
+
export type RuleDeletedContent = {
|
|
1207
|
+
rule: Rule;
|
|
1208
|
+
};
|
|
1209
|
+
export type ItemPriceEntitlementsUpdatedContent = {
|
|
1210
|
+
feature: Feature;
|
|
1211
|
+
|
|
1212
|
+
metadata: Metadata;
|
|
1213
|
+
|
|
1214
|
+
impacted_item_price: ImpactedItemPrice;
|
|
1215
|
+
|
|
1216
|
+
impacted_subscription: ImpactedSubscription;
|
|
1217
|
+
};
|
|
1218
|
+
export type ItemPriceDeletedContent = {
|
|
1219
|
+
item_price: ItemPrice;
|
|
1220
|
+
};
|
|
1221
|
+
export type VirtualBankAccountDeletedContent = {
|
|
1222
|
+
customer: Customer;
|
|
1223
|
+
|
|
1224
|
+
virtual_bank_account: VirtualBankAccount;
|
|
1225
|
+
};
|
|
1226
|
+
export type PaymentScheduleSchemeDeletedContent = {
|
|
1227
|
+
payment_schedule_scheme: PaymentScheduleScheme;
|
|
1228
|
+
};
|
|
1229
|
+
export type SubscriptionCreatedContent = {
|
|
1230
|
+
subscription: Subscription;
|
|
1231
|
+
|
|
1232
|
+
customer: Customer;
|
|
1233
|
+
|
|
1234
|
+
card: Card;
|
|
1235
|
+
|
|
1236
|
+
invoice: Invoice;
|
|
1237
|
+
|
|
1238
|
+
unbilled_charge: UnbilledCharge;
|
|
1239
|
+
};
|
|
1240
|
+
export type SubscriptionEntitlementsCreatedContent = {
|
|
1241
|
+
subscription_entitlements_created_detail: SubscriptionEntitlementsCreatedDetail;
|
|
1242
|
+
};
|
|
1243
|
+
export type OrderReturnedContent = {
|
|
1244
|
+
order: Order;
|
|
1245
|
+
};
|
|
1246
|
+
export type SubscriptionDeletedContent = {
|
|
1247
|
+
subscription: Subscription;
|
|
1248
|
+
|
|
1249
|
+
customer: Customer;
|
|
1250
|
+
|
|
1251
|
+
card: Card;
|
|
1252
|
+
|
|
1253
|
+
advance_invoice_schedule: AdvanceInvoiceSchedule;
|
|
1254
|
+
};
|
|
1255
|
+
export type PaymentSourceAddedContent = {
|
|
1256
|
+
customer: Customer;
|
|
1257
|
+
|
|
1258
|
+
payment_source: PaymentSource;
|
|
1259
|
+
};
|
|
1260
|
+
export type SubscriptionMovedInContent = {
|
|
1261
|
+
subscription: Subscription;
|
|
1262
|
+
};
|
|
1263
|
+
export type ItemPriceCreatedContent = {
|
|
1264
|
+
item_price: ItemPrice;
|
|
1265
|
+
};
|
|
1266
|
+
export type SubscriptionScheduledCancellationRemovedContent = {
|
|
1267
|
+
subscription: Subscription;
|
|
1268
|
+
|
|
1269
|
+
customer: Customer;
|
|
1270
|
+
|
|
1271
|
+
card: Card;
|
|
1272
|
+
|
|
1273
|
+
advance_invoice_schedule: AdvanceInvoiceSchedule;
|
|
1274
|
+
};
|
|
1275
|
+
export type PaymentRefundedContent = {
|
|
1276
|
+
transaction: Transaction;
|
|
1277
|
+
|
|
1278
|
+
invoice: Invoice;
|
|
1279
|
+
|
|
1280
|
+
credit_note: CreditNote;
|
|
1281
|
+
|
|
1282
|
+
customer: Customer;
|
|
1283
|
+
|
|
1284
|
+
subscription: Subscription;
|
|
1285
|
+
|
|
1286
|
+
card: Card;
|
|
1287
|
+
};
|
|
1288
|
+
export type UsageFileIngestedContent = {
|
|
1289
|
+
usage_file: UsageFile;
|
|
1290
|
+
};
|
|
1291
|
+
export type DifferentialPriceCreatedContent = {
|
|
1292
|
+
differential_price: DifferentialPrice;
|
|
1293
|
+
};
|
|
1294
|
+
export type TransactionCreatedContent = {
|
|
1295
|
+
transaction: Transaction;
|
|
1296
|
+
};
|
|
1297
|
+
export type PaymentSucceededContent = {
|
|
1298
|
+
transaction: Transaction;
|
|
1299
|
+
|
|
1300
|
+
invoice: Invoice;
|
|
1301
|
+
|
|
1302
|
+
customer: Customer;
|
|
1303
|
+
|
|
1304
|
+
subscription: Subscription;
|
|
1305
|
+
|
|
1306
|
+
card: Card;
|
|
1307
|
+
};
|
|
1308
|
+
export type SubscriptionCanceledWithBackdatingContent = {
|
|
1309
|
+
subscription: Subscription;
|
|
1310
|
+
|
|
1311
|
+
customer: Customer;
|
|
1312
|
+
|
|
1313
|
+
card: Card;
|
|
1314
|
+
|
|
1315
|
+
invoice: Invoice;
|
|
1316
|
+
|
|
1317
|
+
credit_note: CreditNote;
|
|
1318
|
+
|
|
1319
|
+
unbilled_charge: UnbilledCharge;
|
|
1320
|
+
};
|
|
1321
|
+
export type UnbilledChargesVoidedContent = {
|
|
1322
|
+
unbilled_charge: UnbilledCharge;
|
|
1323
|
+
};
|
|
1324
|
+
export type QuoteCreatedContent = {
|
|
1325
|
+
quote: Quote;
|
|
1326
|
+
};
|
|
1327
|
+
export type CouponSetDeletedContent = {
|
|
1328
|
+
coupon: Coupon;
|
|
1329
|
+
|
|
1330
|
+
coupon_set: CouponSet;
|
|
1331
|
+
};
|
|
1332
|
+
export type AttachedItemCreatedContent = {
|
|
1333
|
+
attached_item: AttachedItem;
|
|
1334
|
+
};
|
|
1335
|
+
export type SalesOrderCreatedContent = {
|
|
1336
|
+
sales_order: SalesOrder;
|
|
1337
|
+
};
|
|
1338
|
+
export type CustomerChangedContent = {
|
|
1339
|
+
customer: Customer;
|
|
1340
|
+
|
|
1341
|
+
card: Card;
|
|
1342
|
+
};
|
|
1343
|
+
export type SubscriptionStartedContent = {
|
|
1344
|
+
subscription: Subscription;
|
|
1345
|
+
|
|
1346
|
+
customer: Customer;
|
|
1347
|
+
|
|
1348
|
+
card: Card;
|
|
1349
|
+
|
|
1350
|
+
invoice: Invoice;
|
|
1351
|
+
};
|
|
1352
|
+
export type SubscriptionActivatedContent = {
|
|
1353
|
+
subscription: Subscription;
|
|
1354
|
+
|
|
1355
|
+
customer: Customer;
|
|
1356
|
+
|
|
1357
|
+
card: Card;
|
|
1358
|
+
|
|
1359
|
+
invoice: Invoice;
|
|
1360
|
+
};
|
|
1361
|
+
export type PaymentSourceExpiringContent = {
|
|
1362
|
+
customer: Customer;
|
|
1363
|
+
|
|
1364
|
+
payment_source: PaymentSource;
|
|
1365
|
+
};
|
|
1366
|
+
export type SubscriptionReactivatedContent = {
|
|
1367
|
+
subscription: Subscription;
|
|
1368
|
+
|
|
1369
|
+
customer: Customer;
|
|
1370
|
+
|
|
1371
|
+
card: Card;
|
|
1372
|
+
|
|
1373
|
+
invoice: Invoice;
|
|
1374
|
+
|
|
1375
|
+
unbilled_charge: UnbilledCharge;
|
|
1376
|
+
};
|
|
1377
|
+
export type OrderUpdatedContent = {
|
|
1378
|
+
order: Order;
|
|
1379
|
+
};
|
|
1380
|
+
export type SubscriptionScheduledPauseRemovedContent = {
|
|
1381
|
+
subscription: Subscription;
|
|
1382
|
+
|
|
1383
|
+
customer: Customer;
|
|
1384
|
+
|
|
1385
|
+
card: Card;
|
|
1386
|
+
|
|
1387
|
+
advance_invoice_schedule: AdvanceInvoiceSchedule;
|
|
1388
|
+
};
|
|
1389
|
+
export type SubscriptionCancellationReminderContent = {
|
|
1390
|
+
subscription: Subscription;
|
|
1391
|
+
|
|
1392
|
+
customer: Customer;
|
|
1393
|
+
|
|
1394
|
+
card: Card;
|
|
1395
|
+
|
|
1396
|
+
advance_invoice_schedule: AdvanceInvoiceSchedule;
|
|
1397
|
+
};
|
|
1398
|
+
export type SubscriptionCreatedWithBackdatingContent = {
|
|
1399
|
+
subscription: Subscription;
|
|
1400
|
+
|
|
1401
|
+
customer: Customer;
|
|
1402
|
+
|
|
1403
|
+
card: Card;
|
|
1404
|
+
|
|
1405
|
+
invoice: Invoice;
|
|
1406
|
+
|
|
1407
|
+
unbilled_charge: UnbilledCharge;
|
|
1408
|
+
};
|
|
1409
|
+
export type SubscriptionRampCreatedContent = {
|
|
1410
|
+
ramp: Ramp;
|
|
1411
|
+
};
|
|
1412
|
+
export type OrderDeletedContent = {
|
|
1413
|
+
order: Order;
|
|
1414
|
+
};
|
|
1415
|
+
export type OmnichannelSubscriptionItemPauseScheduledContent = {
|
|
1416
|
+
omnichannel_subscription_item: OmnichannelSubscriptionItem;
|
|
1417
|
+
|
|
1418
|
+
omnichannel_subscription_item_scheduled_change: OmnichannelSubscriptionItemScheduledChange;
|
|
1419
|
+
|
|
1420
|
+
customer: Customer;
|
|
1421
|
+
};
|
|
1422
|
+
export type GiftUpdatedContent = {
|
|
1423
|
+
gift: Gift;
|
|
1424
|
+
};
|
|
1425
|
+
export type SubscriptionTrialExtendedContent = {
|
|
1426
|
+
subscription: Subscription;
|
|
1427
|
+
|
|
1428
|
+
customer: Customer;
|
|
1429
|
+
|
|
1430
|
+
card: Card;
|
|
1431
|
+
|
|
1432
|
+
advance_invoice_schedule: AdvanceInvoiceSchedule;
|
|
1433
|
+
};
|
|
1434
|
+
export type OmnichannelSubscriptionItemGracePeriodStartedContent = {
|
|
1435
|
+
omnichannel_subscription: OmnichannelSubscription;
|
|
1436
|
+
|
|
1437
|
+
omnichannel_subscription_item: OmnichannelSubscriptionItem;
|
|
1438
|
+
|
|
1439
|
+
customer: Customer;
|
|
1440
|
+
};
|
|
1441
|
+
export type CardExpiryReminderContent = {
|
|
1442
|
+
customer: Customer;
|
|
1443
|
+
|
|
1444
|
+
card: Card;
|
|
1445
|
+
};
|
|
1446
|
+
export type TokenCreatedContent = {
|
|
1447
|
+
token: Token;
|
|
1448
|
+
};
|
|
1449
|
+
export type PromotionalCreditsAddedContent = {
|
|
1450
|
+
customer: Customer;
|
|
1451
|
+
|
|
1452
|
+
promotional_credit: PromotionalCredit;
|
|
1453
|
+
};
|
|
1454
|
+
export type SubscriptionRampUpdatedContent = {
|
|
1455
|
+
ramp: Ramp;
|
|
1456
|
+
};
|
|
1457
|
+
export type CustomerEntitlementsUpdatedContent = {
|
|
1458
|
+
impacted_customer: ImpactedCustomer;
|
|
1459
|
+
};
|
|
1460
|
+
export type PaymentSourceExpiredContent = {
|
|
1461
|
+
customer: Customer;
|
|
1462
|
+
|
|
1463
|
+
payment_source: PaymentSource;
|
|
1464
|
+
};
|
|
1465
|
+
export type CustomerMovedOutContent = {
|
|
1466
|
+
customer: Customer;
|
|
1467
|
+
|
|
1468
|
+
card: Card;
|
|
1469
|
+
};
|
|
1470
|
+
export type SubscriptionEntitlementsUpdatedContent = {
|
|
1471
|
+
subscription_entitlements_updated_detail: SubscriptionEntitlementsUpdatedDetail;
|
|
1472
|
+
};
|
|
1473
|
+
export type OmnichannelSubscriptionItemDunningExpiredContent = {
|
|
1474
|
+
omnichannel_subscription: OmnichannelSubscription;
|
|
1475
|
+
|
|
1476
|
+
omnichannel_subscription_item: OmnichannelSubscriptionItem;
|
|
1477
|
+
|
|
1478
|
+
customer: Customer;
|
|
1479
|
+
};
|
|
1480
|
+
export type HierarchyCreatedContent = {
|
|
1481
|
+
customer: Customer;
|
|
1482
|
+
};
|
|
1483
|
+
export type AttachedItemDeletedContent = {
|
|
1484
|
+
attached_item: AttachedItem;
|
|
1485
|
+
};
|
|
1486
|
+
export type OmnichannelSubscriptionItemScheduledCancellationRemovedContent = {
|
|
1487
|
+
omnichannel_subscription: OmnichannelSubscription;
|
|
1488
|
+
|
|
1489
|
+
omnichannel_subscription_item: OmnichannelSubscriptionItem;
|
|
1490
|
+
|
|
1491
|
+
customer: Customer;
|
|
1492
|
+
};
|
|
1493
|
+
export type ItemUpdatedContent = {
|
|
1494
|
+
item: Item;
|
|
1495
|
+
};
|
|
1496
|
+
export type CouponSetCreatedContent = {
|
|
1497
|
+
coupon: Coupon;
|
|
1498
|
+
|
|
1499
|
+
coupon_set: CouponSet;
|
|
1500
|
+
};
|
|
1501
|
+
export type PaymentIntentUpdatedContent = {
|
|
1502
|
+
payment_intent: PaymentIntent;
|
|
1503
|
+
};
|
|
1504
|
+
export type OrderResentContent = {
|
|
1505
|
+
order: Order;
|
|
1506
|
+
};
|
|
1507
|
+
export type OmnichannelSubscriptionCreatedContent = {
|
|
1508
|
+
omnichannel_subscription_item: OmnichannelSubscriptionItem;
|
|
1509
|
+
|
|
1510
|
+
omnichannel_subscription: OmnichannelSubscription;
|
|
1511
|
+
|
|
1512
|
+
omnichannel_transaction: OmnichannelTransaction;
|
|
1513
|
+
|
|
1514
|
+
omnichannel_subscription_item_scheduled_change: OmnichannelSubscriptionItemScheduledChange;
|
|
1515
|
+
|
|
1516
|
+
customer: Customer;
|
|
1517
|
+
};
|
|
1518
|
+
export type TaxWithheldRecordedContent = {
|
|
1519
|
+
tax_withheld: TaxWithheld;
|
|
1520
|
+
|
|
1521
|
+
invoice: Invoice;
|
|
1522
|
+
|
|
1523
|
+
credit_note: CreditNote;
|
|
1524
|
+
};
|
|
1525
|
+
export type PriceVariantCreatedContent = {
|
|
1526
|
+
price_variant: PriceVariant;
|
|
1527
|
+
|
|
1528
|
+
attribute: Attribute;
|
|
1529
|
+
};
|
|
1530
|
+
export type DifferentialPriceDeletedContent = {
|
|
1531
|
+
differential_price: DifferentialPrice;
|
|
1532
|
+
};
|
|
1533
|
+
export type SubscriptionItemsRenewedContent = {
|
|
1534
|
+
subscription: Subscription;
|
|
1535
|
+
|
|
1536
|
+
customer: Customer;
|
|
1537
|
+
|
|
1538
|
+
card: Card;
|
|
1539
|
+
|
|
1540
|
+
invoice: Invoice;
|
|
1541
|
+
|
|
1542
|
+
credit_note: CreditNote;
|
|
1543
|
+
|
|
1544
|
+
unbilled_charge: UnbilledCharge;
|
|
1545
|
+
};
|
|
1546
|
+
export type RuleCreatedContent = {
|
|
1547
|
+
rule: Rule;
|
|
1548
|
+
};
|
|
1549
|
+
export type ContractTermCancelledContent = {
|
|
1550
|
+
contract_term: ContractTerm;
|
|
1551
|
+
};
|
|
1552
|
+
export type ContractTermRenewedContent = {
|
|
1553
|
+
contract_term: ContractTerm;
|
|
1554
|
+
};
|
|
1555
|
+
export type InvoiceDeletedContent = {
|
|
1556
|
+
invoice: Invoice;
|
|
1557
|
+
};
|
|
1558
|
+
export type ItemPriceEntitlementsRemovedContent = {
|
|
1559
|
+
feature: Feature;
|
|
1560
|
+
|
|
1561
|
+
metadata: Metadata;
|
|
1562
|
+
|
|
1563
|
+
impacted_item_price: ImpactedItemPrice;
|
|
1564
|
+
|
|
1565
|
+
impacted_subscription: ImpactedSubscription;
|
|
1566
|
+
};
|
|
1567
|
+
export type SalesOrderUpdatedContent = {
|
|
1568
|
+
sales_order: SalesOrder;
|
|
1569
|
+
};
|
|
1570
|
+
export type OmnichannelSubscriptionItemDunningStartedContent = {
|
|
1571
|
+
omnichannel_subscription: OmnichannelSubscription;
|
|
1572
|
+
|
|
1573
|
+
omnichannel_subscription_item: OmnichannelSubscriptionItem;
|
|
1574
|
+
|
|
1575
|
+
customer: Customer;
|
|
1576
|
+
};
|
|
1577
|
+
export type OmnichannelSubscriptionItemChangeScheduledContent = {
|
|
1578
|
+
omnichannel_subscription_item: OmnichannelSubscriptionItem;
|
|
1579
|
+
|
|
1580
|
+
omnichannel_subscription_item_scheduled_change: OmnichannelSubscriptionItemScheduledChange;
|
|
1581
|
+
|
|
1582
|
+
customer: Customer;
|
|
1583
|
+
};
|
|
1584
|
+
export type PendingInvoiceUpdatedContent = {
|
|
1585
|
+
invoice: Invoice;
|
|
1586
|
+
};
|
|
1587
|
+
export type QuoteUpdatedContent = {
|
|
1588
|
+
quote: Quote;
|
|
1589
|
+
};
|
|
1590
|
+
export type AttachedItemUpdatedContent = {
|
|
1591
|
+
attached_item: AttachedItem;
|
|
1592
|
+
};
|
|
1593
|
+
export type PaymentSourceUpdatedContent = {
|
|
1594
|
+
customer: Customer;
|
|
1595
|
+
|
|
1596
|
+
payment_source: PaymentSource;
|
|
1597
|
+
};
|
|
1598
|
+
export type BusinessEntityDeletedContent = {
|
|
1599
|
+
business_entity: BusinessEntity;
|
|
1600
|
+
};
|
|
1601
|
+
export type AuthorizationVoidedContent = {
|
|
1602
|
+
transaction: Transaction;
|
|
1603
|
+
};
|
|
1604
|
+
export type SubscriptionRampDeletedContent = {
|
|
1605
|
+
ramp: Ramp;
|
|
1606
|
+
};
|
|
1607
|
+
}
|