chargebee 3.33.0 → 3.35.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 +362 -0
- package/cjs/environment.js +1 -1
- package/cjs/resources/api_endpoints.js +496 -3
- package/cjs/resources/webhook/eventType.js +36 -0
- package/cjs/schema/business_entity.schema.js +28 -2
- package/cjs/schema/business_rule.schema.js +54 -0
- package/cjs/schema/business_ruleset.schema.js +68 -0
- package/cjs/schema/card.schema.js +3 -1
- package/cjs/schema/collections_payment_promise.schema.js +43 -0
- package/cjs/schema/comment.schema.js +2 -0
- package/cjs/schema/coupon.schema.js +1 -1
- package/cjs/schema/credit_note.schema.js +11 -4
- package/cjs/schema/credit_unit.schema.js +2 -2
- package/cjs/schema/customer.schema.js +81 -10
- package/cjs/schema/dispute.schema.js +104 -0
- package/cjs/schema/einvoice.schema.js +37 -0
- package/cjs/schema/email_log.schema.js +28 -0
- package/cjs/schema/entitlement.schema.js +4 -4
- package/cjs/schema/estimate.schema.js +39 -10
- package/cjs/schema/event.schema.js +156 -0
- package/cjs/schema/export.schema.js +75 -19
- package/cjs/schema/feature.schema.js +2 -2
- package/cjs/schema/gift.schema.js +26 -0
- package/cjs/schema/hosted_page.schema.js +26 -6
- package/cjs/schema/index.js +9 -0
- package/cjs/schema/invoice.schema.js +98 -14
- package/cjs/schema/item.schema.js +1 -1
- package/cjs/schema/item_family.schema.js +1 -1
- package/cjs/schema/item_price.schema.js +1 -1
- package/cjs/schema/ledger_account_balance.schema.js +11 -2
- package/cjs/schema/ledger_operation.schema.js +6 -2
- package/cjs/schema/meter.schema.js +1 -1
- package/cjs/schema/metered_feature.schema.js +1 -1
- package/cjs/schema/omnichannel_one_time_order.schema.js +12 -4
- package/cjs/schema/omnichannel_subscription.schema.js +16 -8
- package/cjs/schema/payment_intent.schema.js +27 -0
- package/cjs/schema/payment_schedule.schema.js +36 -0
- package/cjs/schema/payment_schedule_scheme.schema.js +23 -2
- package/cjs/schema/payment_source.schema.js +118 -1
- package/cjs/schema/price_ramp.schema.js +88 -0
- package/cjs/schema/price_variant.schema.js +1 -1
- package/cjs/schema/pricing_page_session.schema.js +1 -0
- package/cjs/schema/promotional_grant.schema.js +2 -0
- package/cjs/schema/purchase.schema.js +20 -1
- package/cjs/schema/quote.schema.js +6 -6
- package/cjs/schema/ramp.schema.js +18 -6
- package/cjs/schema/retry_segment.schema.js +12 -0
- package/cjs/schema/subscription.schema.js +179 -16
- package/cjs/schema/transaction.schema.js +60 -2
- package/cjs/schema/usage.schema.js +5 -0
- package/cjs/schema/usage_summary.schema.js +1 -0
- package/cjs/schema/webhook_endpoint.schema.js +72 -0
- package/esm/environment.js +1 -1
- package/esm/resources/api_endpoints.js +496 -3
- package/esm/resources/webhook/eventType.js +36 -0
- package/esm/schema/business_entity.schema.js +27 -1
- package/esm/schema/business_rule.schema.js +51 -0
- package/esm/schema/business_ruleset.schema.js +65 -0
- package/esm/schema/card.schema.js +3 -1
- package/esm/schema/collections_payment_promise.schema.js +40 -0
- package/esm/schema/comment.schema.js +2 -0
- package/esm/schema/coupon.schema.js +1 -1
- package/esm/schema/credit_note.schema.js +11 -4
- package/esm/schema/credit_unit.schema.js +2 -2
- package/esm/schema/customer.schema.js +81 -10
- package/esm/schema/dispute.schema.js +101 -0
- package/esm/schema/einvoice.schema.js +34 -0
- package/esm/schema/email_log.schema.js +25 -0
- package/esm/schema/entitlement.schema.js +4 -4
- package/esm/schema/estimate.schema.js +39 -10
- package/esm/schema/event.schema.js +156 -0
- package/esm/schema/export.schema.js +75 -19
- package/esm/schema/feature.schema.js +2 -2
- package/esm/schema/gift.schema.js +26 -0
- package/esm/schema/hosted_page.schema.js +26 -6
- package/esm/schema/index.js +9 -0
- package/esm/schema/invoice.schema.js +97 -13
- package/esm/schema/item.schema.js +1 -1
- package/esm/schema/item_family.schema.js +1 -1
- package/esm/schema/item_price.schema.js +1 -1
- package/esm/schema/ledger_account_balance.schema.js +10 -1
- package/esm/schema/ledger_operation.schema.js +6 -2
- package/esm/schema/meter.schema.js +1 -1
- package/esm/schema/metered_feature.schema.js +1 -1
- package/esm/schema/omnichannel_one_time_order.schema.js +12 -4
- package/esm/schema/omnichannel_subscription.schema.js +16 -8
- package/esm/schema/payment_intent.schema.js +27 -0
- package/esm/schema/payment_schedule.schema.js +33 -0
- package/esm/schema/payment_schedule_scheme.schema.js +22 -1
- package/esm/schema/payment_source.schema.js +118 -1
- package/esm/schema/price_ramp.schema.js +85 -0
- package/esm/schema/price_variant.schema.js +1 -1
- package/esm/schema/pricing_page_session.schema.js +1 -0
- package/esm/schema/promotional_grant.schema.js +2 -0
- package/esm/schema/purchase.schema.js +20 -1
- package/esm/schema/quote.schema.js +6 -6
- package/esm/schema/ramp.schema.js +18 -6
- package/esm/schema/retry_segment.schema.js +9 -0
- package/esm/schema/subscription.schema.js +179 -16
- package/esm/schema/transaction.schema.js +60 -2
- package/esm/schema/usage.schema.js +5 -0
- package/esm/schema/usage_summary.schema.js +1 -0
- package/esm/schema/webhook_endpoint.schema.js +72 -0
- package/package.json +1 -1
- package/types/core.d.ts +135 -72
- package/types/index.d.ts +36 -0
- package/types/resources/AppliedRule.d.ts +14 -0
- package/types/resources/ApplyRule.d.ts +28 -0
- package/types/resources/BusinessEntity.d.ts +52 -0
- package/types/resources/BusinessRule.d.ts +161 -0
- package/types/resources/BusinessRuleset.d.ts +165 -0
- package/types/resources/BusinessRulesetRule.d.ts +9 -0
- package/types/resources/Card.d.ts +1 -1
- package/types/resources/Citation.d.ts +13 -0
- package/types/resources/CollectionsDispute.d.ts +24 -0
- package/types/resources/CollectionsPaymentPromise.d.ts +93 -0
- package/types/resources/CollectionsReminderSequence.d.ts +35 -0
- package/types/resources/Comment.d.ts +2 -1
- package/types/resources/Content.d.ts +26 -0
- package/types/resources/CreditNote.d.ts +13 -0
- package/types/resources/CustomData.d.ts +14 -0
- package/types/resources/CustomDataSchema.d.ts +15 -0
- package/types/resources/Customer.d.ts +42 -5
- package/types/resources/Dispute.d.ts +65 -0
- package/types/resources/DraftEstimate.d.ts +13 -0
- package/types/resources/DraftRequest.d.ts +45 -0
- package/types/resources/Einvoice.d.ts +64 -1
- package/types/resources/EmailAttachment.d.ts +16 -0
- package/types/resources/EmailConversation.d.ts +18 -0
- package/types/resources/EmailLog.d.ts +46 -0
- package/types/resources/EmailMessage.d.ts +40 -0
- package/types/resources/Estimate.d.ts +31 -2
- package/types/resources/Event.d.ts +37 -0
- package/types/resources/Execution.d.ts +12 -0
- package/types/resources/GatewayPaymentMethodToken.d.ts +2 -2
- package/types/resources/Gift.d.ts +28 -2
- package/types/resources/GrantBlock.d.ts +26 -7
- package/types/resources/GroupByAttribute.d.ts +15 -0
- package/types/resources/GroupByRecommendation.d.ts +10 -0
- package/types/resources/HostedPage.d.ts +11 -0
- package/types/resources/Invoice.d.ts +57 -4
- package/types/resources/ItemPrice.d.ts +1 -0
- package/types/resources/LedgerAccountBalance.d.ts +19 -0
- package/types/resources/LedgerEntry.d.ts +4 -4
- package/types/resources/LedgerOperation.d.ts +15 -8
- package/types/resources/Meter.d.ts +1 -0
- package/types/resources/MeteredFeature.d.ts +1 -0
- package/types/resources/OmnichannelOneTimeOrder.d.ts +5 -1
- package/types/resources/OmnichannelSubscription.d.ts +6 -1
- package/types/resources/OmnichannelSubscriptionItem.d.ts +9 -2
- package/types/resources/PaymentIntent.d.ts +72 -5
- package/types/resources/PaymentSchedule.d.ts +39 -2
- package/types/resources/PaymentScheduleEstimate.d.ts +2 -1
- package/types/resources/PaymentScheduleScheme.d.ts +17 -1
- package/types/resources/PaymentSource.d.ts +50 -2
- package/types/resources/PreferenceVariant.d.ts +10 -0
- package/types/resources/PriceRamp.d.ts +113 -0
- package/types/resources/PricingPageSession.d.ts +1 -0
- package/types/resources/PrivateNote.d.ts +18 -0
- package/types/resources/PromotionalGrant.d.ts +2 -0
- package/types/resources/Purchase.d.ts +20 -1
- package/types/resources/QuotedSubscription.d.ts +1 -0
- package/types/resources/Ramp.d.ts +18 -0
- package/types/resources/RampInterval.d.ts +12 -0
- package/types/resources/RecordedPurchase.d.ts +5 -1
- package/types/resources/RetrySegment.d.ts +36 -0
- package/types/resources/Subscription.d.ts +110 -11
- package/types/resources/ThirdPartyPaymentMethod.d.ts +1 -0
- package/types/resources/Transaction.d.ts +9 -0
- package/types/resources/Usage.d.ts +6 -0
- package/types/resources/UsageSummary.d.ts +2 -0
- package/types/resources/WebhookEvent.d.ts +214 -0
|
@@ -12,12 +12,15 @@ declare module 'chargebee' {
|
|
|
12
12
|
UnbilledChargesDeleted = 'unbilled_charges_deleted',
|
|
13
13
|
CouponUpdated = 'coupon_updated',
|
|
14
14
|
GrantBlocksCreated = 'grant_blocks_created',
|
|
15
|
+
ChargebackLost = 'chargeback_lost',
|
|
16
|
+
PriceRampUpdated = 'price_ramp_updated',
|
|
15
17
|
OmnichannelSubscriptionItemReactivated = 'omnichannel_subscription_item_reactivated',
|
|
16
18
|
OmnichannelSubscriptionItemRenewed = 'omnichannel_subscription_item_renewed',
|
|
17
19
|
UnbilledChargesCreated = 'unbilled_charges_created',
|
|
18
20
|
SubscriptionResumed = 'subscription_resumed',
|
|
19
21
|
OmnichannelOneTimeOrderItemCancelled = 'omnichannel_one_time_order_item_cancelled',
|
|
20
22
|
SubscriptionCancelled = 'subscription_cancelled',
|
|
23
|
+
BusinessRuleDeleted = 'business_rule_deleted',
|
|
21
24
|
ItemEntitlementsRemoved = 'item_entitlements_removed',
|
|
22
25
|
BusinessEntityCreated = 'business_entity_created',
|
|
23
26
|
CouponSetUpdated = 'coupon_set_updated',
|
|
@@ -54,15 +57,20 @@ declare module 'chargebee' {
|
|
|
54
57
|
ContractTermTerminated = 'contract_term_terminated',
|
|
55
58
|
ItemFamilyUpdated = 'item_family_updated',
|
|
56
59
|
OrderCreated = 'order_created',
|
|
60
|
+
RefundFailed = 'refund_failed',
|
|
57
61
|
PriceVariantDeleted = 'price_variant_deleted',
|
|
58
62
|
AlertStatusChanged = 'alert_status_changed',
|
|
59
63
|
SubscriptionMovementFailed = 'subscription_movement_failed',
|
|
64
|
+
BusinessRulesetUpdated = 'business_ruleset_updated',
|
|
60
65
|
CustomerMovedIn = 'customer_moved_in',
|
|
61
66
|
SubscriptionAdvanceInvoiceScheduleUpdated = 'subscription_advance_invoice_schedule_updated',
|
|
62
67
|
ItemDeleted = 'item_deleted',
|
|
63
68
|
SubscriptionRampDrafted = 'subscription_ramp_drafted',
|
|
69
|
+
ChargebackInitiated = 'chargeback_initiated',
|
|
70
|
+
BusinessRuleCreated = 'business_rule_created',
|
|
64
71
|
VaultTokenUpdated = 'vault_token_updated',
|
|
65
72
|
DunningUpdated = 'dunning_updated',
|
|
73
|
+
EinvoiceCreated = 'einvoice_created',
|
|
66
74
|
OmnichannelSubscriptionItemRecovered = 'omnichannel_subscription_item_recovered',
|
|
67
75
|
ItemEntitlementsUpdated = 'item_entitlements_updated',
|
|
68
76
|
TokenConsumed = 'token_consumed',
|
|
@@ -71,10 +79,12 @@ declare module 'chargebee' {
|
|
|
71
79
|
SubscriptionCancellationScheduled = 'subscription_cancellation_scheduled',
|
|
72
80
|
SubscriptionRenewed = 'subscription_renewed',
|
|
73
81
|
FeatureUpdated = 'feature_updated',
|
|
82
|
+
CollectionsPaymentPromiseFulfilled = 'collections_payment_promise_fulfilled',
|
|
74
83
|
FeatureDeleted = 'feature_deleted',
|
|
75
84
|
ItemFamilyCreated = 'item_family_created',
|
|
76
85
|
OmnichannelSubscriptionItemScheduledChangeRemoved = 'omnichannel_subscription_item_scheduled_change_removed',
|
|
77
86
|
OmnichannelSubscriptionItemResumed = 'omnichannel_subscription_item_resumed',
|
|
87
|
+
CollectionsDisputeResolved = 'collections_dispute_resolved',
|
|
78
88
|
PurchaseCreated = 'purchase_created',
|
|
79
89
|
EntitlementOverridesUpdated = 'entitlement_overrides_updated',
|
|
80
90
|
ItemFamilyDeleted = 'item_family_deleted',
|
|
@@ -84,9 +94,12 @@ declare module 'chargebee' {
|
|
|
84
94
|
CardExpired = 'card_expired',
|
|
85
95
|
CreditNoteUpdated = 'credit_note_updated',
|
|
86
96
|
OmnichannelSubscriptionItemDowngraded = 'omnichannel_subscription_item_downgraded',
|
|
97
|
+
BusinessRulesetDeactivated = 'business_ruleset_deactivated',
|
|
87
98
|
PriceVariantUpdated = 'price_variant_updated',
|
|
99
|
+
CollectionsDisputeUpdated = 'collections_dispute_updated',
|
|
88
100
|
PromotionalCreditsDeducted = 'promotional_credits_deducted',
|
|
89
101
|
SubscriptionRampApplied = 'subscription_ramp_applied',
|
|
102
|
+
BusinessRulesetDeleted = 'business_ruleset_deleted',
|
|
90
103
|
SubscriptionPaused = 'subscription_paused',
|
|
91
104
|
OrderReadyToProcess = 'order_ready_to_process',
|
|
92
105
|
FeatureCreated = 'feature_created',
|
|
@@ -95,9 +108,12 @@ declare module 'chargebee' {
|
|
|
95
108
|
OmnichannelSubscriptionItemResubscribed = 'omnichannel_subscription_item_resubscribed',
|
|
96
109
|
RecordPurchaseFailed = 'record_purchase_failed',
|
|
97
110
|
ItemCreated = 'item_created',
|
|
111
|
+
BusinessRulesetCreated = 'business_ruleset_created',
|
|
98
112
|
TransactionUpdated = 'transaction_updated',
|
|
113
|
+
CollectionsPaymentPromiseUpdated = 'collections_payment_promise_updated',
|
|
99
114
|
MrrUpdated = 'mrr_updated',
|
|
100
115
|
UnbilledChargesInvoiced = 'unbilled_charges_invoiced',
|
|
116
|
+
ChargebackWon = 'chargeback_won',
|
|
101
117
|
ItemPriceUpdated = 'item_price_updated',
|
|
102
118
|
CouponCodesUpdated = 'coupon_codes_updated',
|
|
103
119
|
VirtualBankAccountUpdated = 'virtual_bank_account_updated',
|
|
@@ -110,6 +126,8 @@ declare module 'chargebee' {
|
|
|
110
126
|
PaymentSchedulesUpdated = 'payment_schedules_updated',
|
|
111
127
|
OmnichannelSubscriptionItemExpired = 'omnichannel_subscription_item_expired',
|
|
112
128
|
CardUpdated = 'card_updated',
|
|
129
|
+
PriceRampCreated = 'price_ramp_created',
|
|
130
|
+
CollectionsReminderSequenceCreated = 'collections_reminder_sequence_created',
|
|
113
131
|
CustomerCreated = 'customer_created',
|
|
114
132
|
SubscriptionRenewalReminder = 'subscription_renewal_reminder',
|
|
115
133
|
OmnichannelSubscriptionItemMrrUpdated = 'omnichannel_subscription_item_mrr_updated',
|
|
@@ -118,19 +136,25 @@ declare module 'chargebee' {
|
|
|
118
136
|
OmnichannelSubscriptionItemCancellationScheduled = 'omnichannel_subscription_item_cancellation_scheduled',
|
|
119
137
|
OmnichannelSubscriptionItemGracePeriodExpired = 'omnichannel_subscription_item_grace_period_expired',
|
|
120
138
|
CouponCodesAdded = 'coupon_codes_added',
|
|
139
|
+
EmailMessageReceived = 'email_message_received',
|
|
121
140
|
GiftCancelled = 'gift_cancelled',
|
|
122
141
|
OrderCancelled = 'order_cancelled',
|
|
123
142
|
CouponDeleted = 'coupon_deleted',
|
|
124
143
|
SubscriptionScheduledChangesRemoved = 'subscription_scheduled_changes_removed',
|
|
125
144
|
PendingInvoiceCreated = 'pending_invoice_created',
|
|
145
|
+
CollectionsPaymentPromiseBroken = 'collections_payment_promise_broken',
|
|
126
146
|
EntitlementOverridesAutoRemoved = 'entitlement_overrides_auto_removed',
|
|
147
|
+
PriceRampDeleted = 'price_ramp_deleted',
|
|
148
|
+
BusinessRulesetActivated = 'business_ruleset_activated',
|
|
127
149
|
OmnichannelSubscriptionItemUpgraded = 'omnichannel_subscription_item_upgraded',
|
|
128
150
|
SubscriptionBusinessEntityChanged = 'subscription_business_entity_changed',
|
|
129
151
|
OmnichannelOneTimeOrderCreated = 'omnichannel_one_time_order_created',
|
|
152
|
+
CollectionsPaymentPromiseCreated = 'collections_payment_promise_created',
|
|
130
153
|
PaymentSourceDeleted = 'payment_source_deleted',
|
|
131
154
|
OmnichannelSubscriptionItemCancelled = 'omnichannel_subscription_item_cancelled',
|
|
132
155
|
QuoteDeleted = 'quote_deleted',
|
|
133
156
|
InvoiceUpdated = 'invoice_updated',
|
|
157
|
+
PrivateNoteAdded = 'private_note_added',
|
|
134
158
|
SubscriptionAdvanceInvoiceScheduleRemoved = 'subscription_advance_invoice_schedule_removed',
|
|
135
159
|
CardDeleted = 'card_deleted',
|
|
136
160
|
OrderReadyToShip = 'order_ready_to_ship',
|
|
@@ -146,6 +170,7 @@ declare module 'chargebee' {
|
|
|
146
170
|
CardAdded = 'card_added',
|
|
147
171
|
CouponCreated = 'coupon_created',
|
|
148
172
|
RuleDeleted = 'rule_deleted',
|
|
173
|
+
CollectionsDisputeCreated = 'collections_dispute_created',
|
|
149
174
|
ItemPriceEntitlementsUpdated = 'item_price_entitlements_updated',
|
|
150
175
|
ItemPriceDeleted = 'item_price_deleted',
|
|
151
176
|
VirtualBankAccountDeleted = 'virtual_bank_account_deleted',
|
|
@@ -157,6 +182,7 @@ declare module 'chargebee' {
|
|
|
157
182
|
PaymentSourceAdded = 'payment_source_added',
|
|
158
183
|
SubscriptionMovedIn = 'subscription_moved_in',
|
|
159
184
|
LedgerUpdated = 'ledger_updated',
|
|
185
|
+
CollectionsPaymentPromiseCancelled = 'collections_payment_promise_cancelled',
|
|
160
186
|
ItemPriceCreated = 'item_price_created',
|
|
161
187
|
SubscriptionScheduledCancellationRemoved = 'subscription_scheduled_cancellation_removed',
|
|
162
188
|
PaymentRefunded = 'payment_refunded',
|
|
@@ -177,6 +203,7 @@ declare module 'chargebee' {
|
|
|
177
203
|
PaymentSourceExpiring = 'payment_source_expiring',
|
|
178
204
|
SubscriptionReactivated = 'subscription_reactivated',
|
|
179
205
|
OrderUpdated = 'order_updated',
|
|
206
|
+
CollectionsDisputeWithdrawn = 'collections_dispute_withdrawn',
|
|
180
207
|
SubscriptionScheduledPauseRemoved = 'subscription_scheduled_pause_removed',
|
|
181
208
|
SubscriptionCancellationReminder = 'subscription_cancellation_reminder',
|
|
182
209
|
SubscriptionCreatedWithBackdating = 'subscription_created_with_backdating',
|
|
@@ -188,20 +215,25 @@ declare module 'chargebee' {
|
|
|
188
215
|
OmnichannelSubscriptionItemGracePeriodStarted = 'omnichannel_subscription_item_grace_period_started',
|
|
189
216
|
CardExpiryReminder = 'card_expiry_reminder',
|
|
190
217
|
TokenCreated = 'token_created',
|
|
218
|
+
CollectionsReminderSequencePaused = 'collections_reminder_sequence_paused',
|
|
191
219
|
PaymentSourceBusinessEntityChanged = 'payment_source_business_entity_changed',
|
|
192
220
|
PromotionalCreditsAdded = 'promotional_credits_added',
|
|
193
221
|
SubscriptionRampUpdated = 'subscription_ramp_updated',
|
|
222
|
+
BusinessRuleDeactivated = 'business_rule_deactivated',
|
|
194
223
|
LedgerAccountBalanceUpdated = 'ledger_account_balance_updated',
|
|
195
224
|
VaultTokenCreated = 'vault_token_created',
|
|
225
|
+
EinvoiceUpdated = 'einvoice_updated',
|
|
196
226
|
CustomerEntitlementsUpdated = 'customer_entitlements_updated',
|
|
197
227
|
PaymentSourceExpired = 'payment_source_expired',
|
|
198
228
|
CustomerMovedOut = 'customer_moved_out',
|
|
229
|
+
BusinessRuleReleased = 'business_rule_released',
|
|
199
230
|
SubscriptionEntitlementsUpdated = 'subscription_entitlements_updated',
|
|
200
231
|
OmnichannelSubscriptionItemDunningExpired = 'omnichannel_subscription_item_dunning_expired',
|
|
201
232
|
HierarchyCreated = 'hierarchy_created',
|
|
202
233
|
AttachedItemDeleted = 'attached_item_deleted',
|
|
203
234
|
OmnichannelSubscriptionItemScheduledCancellationRemoved = 'omnichannel_subscription_item_scheduled_cancellation_removed',
|
|
204
235
|
ItemUpdated = 'item_updated',
|
|
236
|
+
CollectionsReminderSequenceResumed = 'collections_reminder_sequence_resumed',
|
|
205
237
|
CouponSetCreated = 'coupon_set_created',
|
|
206
238
|
PaymentIntentUpdated = 'payment_intent_updated',
|
|
207
239
|
OrderResent = 'order_resent',
|
|
@@ -209,11 +241,14 @@ declare module 'chargebee' {
|
|
|
209
241
|
TaxWithheldRecorded = 'tax_withheld_recorded',
|
|
210
242
|
PriceVariantCreated = 'price_variant_created',
|
|
211
243
|
DifferentialPriceDeleted = 'differential_price_deleted',
|
|
244
|
+
BusinessRuleActivated = 'business_rule_activated',
|
|
212
245
|
SubscriptionItemsRenewed = 'subscription_items_renewed',
|
|
246
|
+
PaymentSchedulesCancelled = 'payment_schedules_cancelled',
|
|
213
247
|
RuleCreated = 'rule_created',
|
|
214
248
|
ContractTermCancelled = 'contract_term_cancelled',
|
|
215
249
|
ContractTermRenewed = 'contract_term_renewed',
|
|
216
250
|
InvoiceDeleted = 'invoice_deleted',
|
|
251
|
+
BusinessRuleUpdated = 'business_rule_updated',
|
|
217
252
|
ItemPriceEntitlementsRemoved = 'item_price_entitlements_removed',
|
|
218
253
|
SalesOrderUpdated = 'sales_order_updated',
|
|
219
254
|
OmnichannelSubscriptionItemDunningStarted = 'omnichannel_subscription_item_dunning_started',
|
|
@@ -225,6 +260,7 @@ declare module 'chargebee' {
|
|
|
225
260
|
BusinessEntityDeleted = 'business_entity_deleted',
|
|
226
261
|
GrantBlocksUpdated = 'grant_blocks_updated',
|
|
227
262
|
AuthorizationVoided = 'authorization_voided',
|
|
263
|
+
CollectionsReminderSequenceCompleted = 'collections_reminder_sequence_completed',
|
|
228
264
|
SubscriptionRampDeleted = 'subscription_ramp_deleted',
|
|
229
265
|
PlanDeleted = 'plan_deleted',
|
|
230
266
|
AddonDeleted = 'addon_deleted',
|
|
@@ -248,12 +284,15 @@ declare module 'chargebee' {
|
|
|
248
284
|
[WebhookEventType.UnbilledChargesDeleted]: UnbilledChargesDeletedContent;
|
|
249
285
|
[WebhookEventType.CouponUpdated]: CouponUpdatedContent;
|
|
250
286
|
[WebhookEventType.GrantBlocksCreated]: GrantBlocksCreatedContent;
|
|
287
|
+
[WebhookEventType.ChargebackLost]: ChargebackLostContent;
|
|
288
|
+
[WebhookEventType.PriceRampUpdated]: PriceRampUpdatedContent;
|
|
251
289
|
[WebhookEventType.OmnichannelSubscriptionItemReactivated]: OmnichannelSubscriptionItemReactivatedContent;
|
|
252
290
|
[WebhookEventType.OmnichannelSubscriptionItemRenewed]: OmnichannelSubscriptionItemRenewedContent;
|
|
253
291
|
[WebhookEventType.UnbilledChargesCreated]: UnbilledChargesCreatedContent;
|
|
254
292
|
[WebhookEventType.SubscriptionResumed]: SubscriptionResumedContent;
|
|
255
293
|
[WebhookEventType.OmnichannelOneTimeOrderItemCancelled]: OmnichannelOneTimeOrderItemCancelledContent;
|
|
256
294
|
[WebhookEventType.SubscriptionCancelled]: SubscriptionCancelledContent;
|
|
295
|
+
[WebhookEventType.BusinessRuleDeleted]: BusinessRuleDeletedContent;
|
|
257
296
|
[WebhookEventType.ItemEntitlementsRemoved]: ItemEntitlementsRemovedContent;
|
|
258
297
|
[WebhookEventType.BusinessEntityCreated]: BusinessEntityCreatedContent;
|
|
259
298
|
[WebhookEventType.CouponSetUpdated]: CouponSetUpdatedContent;
|
|
@@ -290,15 +329,20 @@ declare module 'chargebee' {
|
|
|
290
329
|
[WebhookEventType.ContractTermTerminated]: ContractTermTerminatedContent;
|
|
291
330
|
[WebhookEventType.ItemFamilyUpdated]: ItemFamilyUpdatedContent;
|
|
292
331
|
[WebhookEventType.OrderCreated]: OrderCreatedContent;
|
|
332
|
+
[WebhookEventType.RefundFailed]: RefundFailedContent;
|
|
293
333
|
[WebhookEventType.PriceVariantDeleted]: PriceVariantDeletedContent;
|
|
294
334
|
[WebhookEventType.AlertStatusChanged]: AlertStatusChangedContent;
|
|
295
335
|
[WebhookEventType.SubscriptionMovementFailed]: SubscriptionMovementFailedContent;
|
|
336
|
+
[WebhookEventType.BusinessRulesetUpdated]: BusinessRulesetUpdatedContent;
|
|
296
337
|
[WebhookEventType.CustomerMovedIn]: CustomerMovedInContent;
|
|
297
338
|
[WebhookEventType.SubscriptionAdvanceInvoiceScheduleUpdated]: SubscriptionAdvanceInvoiceScheduleUpdatedContent;
|
|
298
339
|
[WebhookEventType.ItemDeleted]: ItemDeletedContent;
|
|
299
340
|
[WebhookEventType.SubscriptionRampDrafted]: SubscriptionRampDraftedContent;
|
|
341
|
+
[WebhookEventType.ChargebackInitiated]: ChargebackInitiatedContent;
|
|
342
|
+
[WebhookEventType.BusinessRuleCreated]: BusinessRuleCreatedContent;
|
|
300
343
|
[WebhookEventType.VaultTokenUpdated]: VaultTokenUpdatedContent;
|
|
301
344
|
[WebhookEventType.DunningUpdated]: DunningUpdatedContent;
|
|
345
|
+
[WebhookEventType.EinvoiceCreated]: EinvoiceCreatedContent;
|
|
302
346
|
[WebhookEventType.OmnichannelSubscriptionItemRecovered]: OmnichannelSubscriptionItemRecoveredContent;
|
|
303
347
|
[WebhookEventType.ItemEntitlementsUpdated]: ItemEntitlementsUpdatedContent;
|
|
304
348
|
[WebhookEventType.TokenConsumed]: TokenConsumedContent;
|
|
@@ -307,10 +351,12 @@ declare module 'chargebee' {
|
|
|
307
351
|
[WebhookEventType.SubscriptionCancellationScheduled]: SubscriptionCancellationScheduledContent;
|
|
308
352
|
[WebhookEventType.SubscriptionRenewed]: SubscriptionRenewedContent;
|
|
309
353
|
[WebhookEventType.FeatureUpdated]: FeatureUpdatedContent;
|
|
354
|
+
[WebhookEventType.CollectionsPaymentPromiseFulfilled]: CollectionsPaymentPromiseFulfilledContent;
|
|
310
355
|
[WebhookEventType.FeatureDeleted]: FeatureDeletedContent;
|
|
311
356
|
[WebhookEventType.ItemFamilyCreated]: ItemFamilyCreatedContent;
|
|
312
357
|
[WebhookEventType.OmnichannelSubscriptionItemScheduledChangeRemoved]: OmnichannelSubscriptionItemScheduledChangeRemovedContent;
|
|
313
358
|
[WebhookEventType.OmnichannelSubscriptionItemResumed]: OmnichannelSubscriptionItemResumedContent;
|
|
359
|
+
[WebhookEventType.CollectionsDisputeResolved]: CollectionsDisputeResolvedContent;
|
|
314
360
|
[WebhookEventType.PurchaseCreated]: PurchaseCreatedContent;
|
|
315
361
|
[WebhookEventType.EntitlementOverridesUpdated]: EntitlementOverridesUpdatedContent;
|
|
316
362
|
[WebhookEventType.ItemFamilyDeleted]: ItemFamilyDeletedContent;
|
|
@@ -320,9 +366,12 @@ declare module 'chargebee' {
|
|
|
320
366
|
[WebhookEventType.CardExpired]: CardExpiredContent;
|
|
321
367
|
[WebhookEventType.CreditNoteUpdated]: CreditNoteUpdatedContent;
|
|
322
368
|
[WebhookEventType.OmnichannelSubscriptionItemDowngraded]: OmnichannelSubscriptionItemDowngradedContent;
|
|
369
|
+
[WebhookEventType.BusinessRulesetDeactivated]: BusinessRulesetDeactivatedContent;
|
|
323
370
|
[WebhookEventType.PriceVariantUpdated]: PriceVariantUpdatedContent;
|
|
371
|
+
[WebhookEventType.CollectionsDisputeUpdated]: CollectionsDisputeUpdatedContent;
|
|
324
372
|
[WebhookEventType.PromotionalCreditsDeducted]: PromotionalCreditsDeductedContent;
|
|
325
373
|
[WebhookEventType.SubscriptionRampApplied]: SubscriptionRampAppliedContent;
|
|
374
|
+
[WebhookEventType.BusinessRulesetDeleted]: BusinessRulesetDeletedContent;
|
|
326
375
|
[WebhookEventType.SubscriptionPaused]: SubscriptionPausedContent;
|
|
327
376
|
[WebhookEventType.OrderReadyToProcess]: OrderReadyToProcessContent;
|
|
328
377
|
[WebhookEventType.FeatureCreated]: FeatureCreatedContent;
|
|
@@ -331,9 +380,12 @@ declare module 'chargebee' {
|
|
|
331
380
|
[WebhookEventType.OmnichannelSubscriptionItemResubscribed]: OmnichannelSubscriptionItemResubscribedContent;
|
|
332
381
|
[WebhookEventType.RecordPurchaseFailed]: RecordPurchaseFailedContent;
|
|
333
382
|
[WebhookEventType.ItemCreated]: ItemCreatedContent;
|
|
383
|
+
[WebhookEventType.BusinessRulesetCreated]: BusinessRulesetCreatedContent;
|
|
334
384
|
[WebhookEventType.TransactionUpdated]: TransactionUpdatedContent;
|
|
385
|
+
[WebhookEventType.CollectionsPaymentPromiseUpdated]: CollectionsPaymentPromiseUpdatedContent;
|
|
335
386
|
[WebhookEventType.MrrUpdated]: MrrUpdatedContent;
|
|
336
387
|
[WebhookEventType.UnbilledChargesInvoiced]: UnbilledChargesInvoicedContent;
|
|
388
|
+
[WebhookEventType.ChargebackWon]: ChargebackWonContent;
|
|
337
389
|
[WebhookEventType.ItemPriceUpdated]: ItemPriceUpdatedContent;
|
|
338
390
|
[WebhookEventType.CouponCodesUpdated]: CouponCodesUpdatedContent;
|
|
339
391
|
[WebhookEventType.VirtualBankAccountUpdated]: VirtualBankAccountUpdatedContent;
|
|
@@ -346,6 +398,8 @@ declare module 'chargebee' {
|
|
|
346
398
|
[WebhookEventType.PaymentSchedulesUpdated]: PaymentSchedulesUpdatedContent;
|
|
347
399
|
[WebhookEventType.OmnichannelSubscriptionItemExpired]: OmnichannelSubscriptionItemExpiredContent;
|
|
348
400
|
[WebhookEventType.CardUpdated]: CardUpdatedContent;
|
|
401
|
+
[WebhookEventType.PriceRampCreated]: PriceRampCreatedContent;
|
|
402
|
+
[WebhookEventType.CollectionsReminderSequenceCreated]: CollectionsReminderSequenceCreatedContent;
|
|
349
403
|
[WebhookEventType.CustomerCreated]: CustomerCreatedContent;
|
|
350
404
|
[WebhookEventType.SubscriptionRenewalReminder]: SubscriptionRenewalReminderContent;
|
|
351
405
|
[WebhookEventType.OmnichannelSubscriptionItemMrrUpdated]: OmnichannelSubscriptionItemMrrUpdatedContent;
|
|
@@ -354,19 +408,25 @@ declare module 'chargebee' {
|
|
|
354
408
|
[WebhookEventType.OmnichannelSubscriptionItemCancellationScheduled]: OmnichannelSubscriptionItemCancellationScheduledContent;
|
|
355
409
|
[WebhookEventType.OmnichannelSubscriptionItemGracePeriodExpired]: OmnichannelSubscriptionItemGracePeriodExpiredContent;
|
|
356
410
|
[WebhookEventType.CouponCodesAdded]: CouponCodesAddedContent;
|
|
411
|
+
[WebhookEventType.EmailMessageReceived]: EmailMessageReceivedContent;
|
|
357
412
|
[WebhookEventType.GiftCancelled]: GiftCancelledContent;
|
|
358
413
|
[WebhookEventType.OrderCancelled]: OrderCancelledContent;
|
|
359
414
|
[WebhookEventType.CouponDeleted]: CouponDeletedContent;
|
|
360
415
|
[WebhookEventType.SubscriptionScheduledChangesRemoved]: SubscriptionScheduledChangesRemovedContent;
|
|
361
416
|
[WebhookEventType.PendingInvoiceCreated]: PendingInvoiceCreatedContent;
|
|
417
|
+
[WebhookEventType.CollectionsPaymentPromiseBroken]: CollectionsPaymentPromiseBrokenContent;
|
|
362
418
|
[WebhookEventType.EntitlementOverridesAutoRemoved]: EntitlementOverridesAutoRemovedContent;
|
|
419
|
+
[WebhookEventType.PriceRampDeleted]: PriceRampDeletedContent;
|
|
420
|
+
[WebhookEventType.BusinessRulesetActivated]: BusinessRulesetActivatedContent;
|
|
363
421
|
[WebhookEventType.OmnichannelSubscriptionItemUpgraded]: OmnichannelSubscriptionItemUpgradedContent;
|
|
364
422
|
[WebhookEventType.SubscriptionBusinessEntityChanged]: SubscriptionBusinessEntityChangedContent;
|
|
365
423
|
[WebhookEventType.OmnichannelOneTimeOrderCreated]: OmnichannelOneTimeOrderCreatedContent;
|
|
424
|
+
[WebhookEventType.CollectionsPaymentPromiseCreated]: CollectionsPaymentPromiseCreatedContent;
|
|
366
425
|
[WebhookEventType.PaymentSourceDeleted]: PaymentSourceDeletedContent;
|
|
367
426
|
[WebhookEventType.OmnichannelSubscriptionItemCancelled]: OmnichannelSubscriptionItemCancelledContent;
|
|
368
427
|
[WebhookEventType.QuoteDeleted]: QuoteDeletedContent;
|
|
369
428
|
[WebhookEventType.InvoiceUpdated]: InvoiceUpdatedContent;
|
|
429
|
+
[WebhookEventType.PrivateNoteAdded]: PrivateNoteAddedContent;
|
|
370
430
|
[WebhookEventType.SubscriptionAdvanceInvoiceScheduleRemoved]: SubscriptionAdvanceInvoiceScheduleRemovedContent;
|
|
371
431
|
[WebhookEventType.CardDeleted]: CardDeletedContent;
|
|
372
432
|
[WebhookEventType.OrderReadyToShip]: OrderReadyToShipContent;
|
|
@@ -382,6 +442,7 @@ declare module 'chargebee' {
|
|
|
382
442
|
[WebhookEventType.CardAdded]: CardAddedContent;
|
|
383
443
|
[WebhookEventType.CouponCreated]: CouponCreatedContent;
|
|
384
444
|
[WebhookEventType.RuleDeleted]: RuleDeletedContent;
|
|
445
|
+
[WebhookEventType.CollectionsDisputeCreated]: CollectionsDisputeCreatedContent;
|
|
385
446
|
[WebhookEventType.ItemPriceEntitlementsUpdated]: ItemPriceEntitlementsUpdatedContent;
|
|
386
447
|
[WebhookEventType.ItemPriceDeleted]: ItemPriceDeletedContent;
|
|
387
448
|
[WebhookEventType.VirtualBankAccountDeleted]: VirtualBankAccountDeletedContent;
|
|
@@ -393,6 +454,7 @@ declare module 'chargebee' {
|
|
|
393
454
|
[WebhookEventType.PaymentSourceAdded]: PaymentSourceAddedContent;
|
|
394
455
|
[WebhookEventType.SubscriptionMovedIn]: SubscriptionMovedInContent;
|
|
395
456
|
[WebhookEventType.LedgerUpdated]: LedgerUpdatedContent;
|
|
457
|
+
[WebhookEventType.CollectionsPaymentPromiseCancelled]: CollectionsPaymentPromiseCancelledContent;
|
|
396
458
|
[WebhookEventType.ItemPriceCreated]: ItemPriceCreatedContent;
|
|
397
459
|
[WebhookEventType.SubscriptionScheduledCancellationRemoved]: SubscriptionScheduledCancellationRemovedContent;
|
|
398
460
|
[WebhookEventType.PaymentRefunded]: PaymentRefundedContent;
|
|
@@ -413,6 +475,7 @@ declare module 'chargebee' {
|
|
|
413
475
|
[WebhookEventType.PaymentSourceExpiring]: PaymentSourceExpiringContent;
|
|
414
476
|
[WebhookEventType.SubscriptionReactivated]: SubscriptionReactivatedContent;
|
|
415
477
|
[WebhookEventType.OrderUpdated]: OrderUpdatedContent;
|
|
478
|
+
[WebhookEventType.CollectionsDisputeWithdrawn]: CollectionsDisputeWithdrawnContent;
|
|
416
479
|
[WebhookEventType.SubscriptionScheduledPauseRemoved]: SubscriptionScheduledPauseRemovedContent;
|
|
417
480
|
[WebhookEventType.SubscriptionCancellationReminder]: SubscriptionCancellationReminderContent;
|
|
418
481
|
[WebhookEventType.SubscriptionCreatedWithBackdating]: SubscriptionCreatedWithBackdatingContent;
|
|
@@ -424,20 +487,25 @@ declare module 'chargebee' {
|
|
|
424
487
|
[WebhookEventType.OmnichannelSubscriptionItemGracePeriodStarted]: OmnichannelSubscriptionItemGracePeriodStartedContent;
|
|
425
488
|
[WebhookEventType.CardExpiryReminder]: CardExpiryReminderContent;
|
|
426
489
|
[WebhookEventType.TokenCreated]: TokenCreatedContent;
|
|
490
|
+
[WebhookEventType.CollectionsReminderSequencePaused]: CollectionsReminderSequencePausedContent;
|
|
427
491
|
[WebhookEventType.PaymentSourceBusinessEntityChanged]: PaymentSourceBusinessEntityChangedContent;
|
|
428
492
|
[WebhookEventType.PromotionalCreditsAdded]: PromotionalCreditsAddedContent;
|
|
429
493
|
[WebhookEventType.SubscriptionRampUpdated]: SubscriptionRampUpdatedContent;
|
|
494
|
+
[WebhookEventType.BusinessRuleDeactivated]: BusinessRuleDeactivatedContent;
|
|
430
495
|
[WebhookEventType.LedgerAccountBalanceUpdated]: LedgerAccountBalanceUpdatedContent;
|
|
431
496
|
[WebhookEventType.VaultTokenCreated]: VaultTokenCreatedContent;
|
|
497
|
+
[WebhookEventType.EinvoiceUpdated]: EinvoiceUpdatedContent;
|
|
432
498
|
[WebhookEventType.CustomerEntitlementsUpdated]: CustomerEntitlementsUpdatedContent;
|
|
433
499
|
[WebhookEventType.PaymentSourceExpired]: PaymentSourceExpiredContent;
|
|
434
500
|
[WebhookEventType.CustomerMovedOut]: CustomerMovedOutContent;
|
|
501
|
+
[WebhookEventType.BusinessRuleReleased]: BusinessRuleReleasedContent;
|
|
435
502
|
[WebhookEventType.SubscriptionEntitlementsUpdated]: SubscriptionEntitlementsUpdatedContent;
|
|
436
503
|
[WebhookEventType.OmnichannelSubscriptionItemDunningExpired]: OmnichannelSubscriptionItemDunningExpiredContent;
|
|
437
504
|
[WebhookEventType.HierarchyCreated]: HierarchyCreatedContent;
|
|
438
505
|
[WebhookEventType.AttachedItemDeleted]: AttachedItemDeletedContent;
|
|
439
506
|
[WebhookEventType.OmnichannelSubscriptionItemScheduledCancellationRemoved]: OmnichannelSubscriptionItemScheduledCancellationRemovedContent;
|
|
440
507
|
[WebhookEventType.ItemUpdated]: ItemUpdatedContent;
|
|
508
|
+
[WebhookEventType.CollectionsReminderSequenceResumed]: CollectionsReminderSequenceResumedContent;
|
|
441
509
|
[WebhookEventType.CouponSetCreated]: CouponSetCreatedContent;
|
|
442
510
|
[WebhookEventType.PaymentIntentUpdated]: PaymentIntentUpdatedContent;
|
|
443
511
|
[WebhookEventType.OrderResent]: OrderResentContent;
|
|
@@ -445,11 +513,14 @@ declare module 'chargebee' {
|
|
|
445
513
|
[WebhookEventType.TaxWithheldRecorded]: TaxWithheldRecordedContent;
|
|
446
514
|
[WebhookEventType.PriceVariantCreated]: PriceVariantCreatedContent;
|
|
447
515
|
[WebhookEventType.DifferentialPriceDeleted]: DifferentialPriceDeletedContent;
|
|
516
|
+
[WebhookEventType.BusinessRuleActivated]: BusinessRuleActivatedContent;
|
|
448
517
|
[WebhookEventType.SubscriptionItemsRenewed]: SubscriptionItemsRenewedContent;
|
|
518
|
+
[WebhookEventType.PaymentSchedulesCancelled]: PaymentSchedulesCancelledContent;
|
|
449
519
|
[WebhookEventType.RuleCreated]: RuleCreatedContent;
|
|
450
520
|
[WebhookEventType.ContractTermCancelled]: ContractTermCancelledContent;
|
|
451
521
|
[WebhookEventType.ContractTermRenewed]: ContractTermRenewedContent;
|
|
452
522
|
[WebhookEventType.InvoiceDeleted]: InvoiceDeletedContent;
|
|
523
|
+
[WebhookEventType.BusinessRuleUpdated]: BusinessRuleUpdatedContent;
|
|
453
524
|
[WebhookEventType.ItemPriceEntitlementsRemoved]: ItemPriceEntitlementsRemovedContent;
|
|
454
525
|
[WebhookEventType.SalesOrderUpdated]: SalesOrderUpdatedContent;
|
|
455
526
|
[WebhookEventType.OmnichannelSubscriptionItemDunningStarted]: OmnichannelSubscriptionItemDunningStartedContent;
|
|
@@ -461,6 +532,7 @@ declare module 'chargebee' {
|
|
|
461
532
|
[WebhookEventType.BusinessEntityDeleted]: BusinessEntityDeletedContent;
|
|
462
533
|
[WebhookEventType.GrantBlocksUpdated]: GrantBlocksUpdatedContent;
|
|
463
534
|
[WebhookEventType.AuthorizationVoided]: AuthorizationVoidedContent;
|
|
535
|
+
[WebhookEventType.CollectionsReminderSequenceCompleted]: CollectionsReminderSequenceCompletedContent;
|
|
464
536
|
[WebhookEventType.SubscriptionRampDeleted]: SubscriptionRampDeletedContent;
|
|
465
537
|
[WebhookEventType.PlanDeleted]: PlanDeletedContent;
|
|
466
538
|
[WebhookEventType.AddonDeleted]: AddonDeletedContent;
|
|
@@ -533,6 +605,20 @@ declare module 'chargebee' {
|
|
|
533
605
|
export type GrantBlocksCreatedContent = {
|
|
534
606
|
grant_block: GrantBlock[];
|
|
535
607
|
};
|
|
608
|
+
export type ChargebackLostContent = {
|
|
609
|
+
dispute: Dispute;
|
|
610
|
+
|
|
611
|
+
transaction: Transaction;
|
|
612
|
+
|
|
613
|
+
customer: Customer;
|
|
614
|
+
|
|
615
|
+
subscription: Subscription;
|
|
616
|
+
};
|
|
617
|
+
export type PriceRampUpdatedContent = {
|
|
618
|
+
price_ramp: PriceRamp;
|
|
619
|
+
|
|
620
|
+
ramp_interval: RampInterval;
|
|
621
|
+
};
|
|
536
622
|
export type OmnichannelSubscriptionItemReactivatedContent = {
|
|
537
623
|
omnichannel_subscription: OmnichannelSubscription;
|
|
538
624
|
|
|
@@ -585,6 +671,9 @@ declare module 'chargebee' {
|
|
|
585
671
|
|
|
586
672
|
unbilled_charge: UnbilledCharge[];
|
|
587
673
|
};
|
|
674
|
+
export type BusinessRuleDeletedContent = {
|
|
675
|
+
business_rule: BusinessRule;
|
|
676
|
+
};
|
|
588
677
|
export type ItemEntitlementsRemovedContent = {
|
|
589
678
|
feature: Feature;
|
|
590
679
|
|
|
@@ -783,6 +872,19 @@ declare module 'chargebee' {
|
|
|
783
872
|
export type OrderCreatedContent = {
|
|
784
873
|
order: Order;
|
|
785
874
|
};
|
|
875
|
+
export type RefundFailedContent = {
|
|
876
|
+
transaction: Transaction;
|
|
877
|
+
|
|
878
|
+
invoice: Invoice;
|
|
879
|
+
|
|
880
|
+
credit_note: CreditNote;
|
|
881
|
+
|
|
882
|
+
customer: Customer;
|
|
883
|
+
|
|
884
|
+
subscription: Subscription;
|
|
885
|
+
|
|
886
|
+
card: Card;
|
|
887
|
+
};
|
|
786
888
|
export type PriceVariantDeletedContent = {
|
|
787
889
|
price_variant: PriceVariant;
|
|
788
890
|
|
|
@@ -796,6 +898,9 @@ declare module 'chargebee' {
|
|
|
796
898
|
export type SubscriptionMovementFailedContent = {
|
|
797
899
|
subscription: Subscription;
|
|
798
900
|
};
|
|
901
|
+
export type BusinessRulesetUpdatedContent = {
|
|
902
|
+
business_ruleset: BusinessRuleset;
|
|
903
|
+
};
|
|
799
904
|
export type CustomerMovedInContent = {
|
|
800
905
|
customer: Customer;
|
|
801
906
|
|
|
@@ -814,12 +919,27 @@ declare module 'chargebee' {
|
|
|
814
919
|
export type SubscriptionRampDraftedContent = {
|
|
815
920
|
ramp: Ramp;
|
|
816
921
|
};
|
|
922
|
+
export type ChargebackInitiatedContent = {
|
|
923
|
+
dispute: Dispute;
|
|
924
|
+
|
|
925
|
+
transaction: Transaction;
|
|
926
|
+
|
|
927
|
+
customer: Customer;
|
|
928
|
+
|
|
929
|
+
subscription: Subscription;
|
|
930
|
+
};
|
|
931
|
+
export type BusinessRuleCreatedContent = {
|
|
932
|
+
business_rule: BusinessRule;
|
|
933
|
+
};
|
|
817
934
|
export type VaultTokenUpdatedContent = {
|
|
818
935
|
vaulted_payment_method: VaultedPaymentMethod;
|
|
819
936
|
};
|
|
820
937
|
export type DunningUpdatedContent = {
|
|
821
938
|
invoice: Invoice;
|
|
822
939
|
};
|
|
940
|
+
export type EinvoiceCreatedContent = {
|
|
941
|
+
einvoice: Einvoice;
|
|
942
|
+
};
|
|
823
943
|
export type OmnichannelSubscriptionItemRecoveredContent = {
|
|
824
944
|
omnichannel_subscription_item: OmnichannelSubscriptionItem;
|
|
825
945
|
|
|
@@ -872,6 +992,9 @@ declare module 'chargebee' {
|
|
|
872
992
|
|
|
873
993
|
metadata: Metadata;
|
|
874
994
|
};
|
|
995
|
+
export type CollectionsPaymentPromiseFulfilledContent = {
|
|
996
|
+
collections_payment_promise: CollectionsPaymentPromise;
|
|
997
|
+
};
|
|
875
998
|
export type FeatureDeletedContent = {
|
|
876
999
|
feature: Feature;
|
|
877
1000
|
|
|
@@ -898,6 +1021,9 @@ declare module 'chargebee' {
|
|
|
898
1021
|
|
|
899
1022
|
customer: Customer;
|
|
900
1023
|
};
|
|
1024
|
+
export type CollectionsDisputeResolvedContent = {
|
|
1025
|
+
collections_dispute: CollectionsDispute;
|
|
1026
|
+
};
|
|
901
1027
|
export type PurchaseCreatedContent = {
|
|
902
1028
|
purchase: Purchase;
|
|
903
1029
|
};
|
|
@@ -947,11 +1073,17 @@ declare module 'chargebee' {
|
|
|
947
1073
|
|
|
948
1074
|
customer: Customer;
|
|
949
1075
|
};
|
|
1076
|
+
export type BusinessRulesetDeactivatedContent = {
|
|
1077
|
+
business_ruleset: BusinessRuleset;
|
|
1078
|
+
};
|
|
950
1079
|
export type PriceVariantUpdatedContent = {
|
|
951
1080
|
price_variant: PriceVariant;
|
|
952
1081
|
|
|
953
1082
|
attribute: Attribute;
|
|
954
1083
|
};
|
|
1084
|
+
export type CollectionsDisputeUpdatedContent = {
|
|
1085
|
+
collections_dispute: CollectionsDispute;
|
|
1086
|
+
};
|
|
955
1087
|
export type PromotionalCreditsDeductedContent = {
|
|
956
1088
|
customer: Customer;
|
|
957
1089
|
|
|
@@ -960,6 +1092,9 @@ declare module 'chargebee' {
|
|
|
960
1092
|
export type SubscriptionRampAppliedContent = {
|
|
961
1093
|
ramp: Ramp;
|
|
962
1094
|
};
|
|
1095
|
+
export type BusinessRulesetDeletedContent = {
|
|
1096
|
+
business_ruleset: BusinessRuleset;
|
|
1097
|
+
};
|
|
963
1098
|
export type SubscriptionPausedContent = {
|
|
964
1099
|
subscription: Subscription;
|
|
965
1100
|
|
|
@@ -1010,9 +1145,15 @@ declare module 'chargebee' {
|
|
|
1010
1145
|
export type ItemCreatedContent = {
|
|
1011
1146
|
item: Item;
|
|
1012
1147
|
};
|
|
1148
|
+
export type BusinessRulesetCreatedContent = {
|
|
1149
|
+
business_ruleset: BusinessRuleset;
|
|
1150
|
+
};
|
|
1013
1151
|
export type TransactionUpdatedContent = {
|
|
1014
1152
|
transaction: Transaction;
|
|
1015
1153
|
};
|
|
1154
|
+
export type CollectionsPaymentPromiseUpdatedContent = {
|
|
1155
|
+
collections_payment_promise: CollectionsPaymentPromise;
|
|
1156
|
+
};
|
|
1016
1157
|
export type MrrUpdatedContent = {
|
|
1017
1158
|
subscription: Subscription;
|
|
1018
1159
|
};
|
|
@@ -1021,6 +1162,15 @@ declare module 'chargebee' {
|
|
|
1021
1162
|
|
|
1022
1163
|
invoice: Invoice;
|
|
1023
1164
|
};
|
|
1165
|
+
export type ChargebackWonContent = {
|
|
1166
|
+
dispute: Dispute;
|
|
1167
|
+
|
|
1168
|
+
transaction: Transaction;
|
|
1169
|
+
|
|
1170
|
+
customer: Customer;
|
|
1171
|
+
|
|
1172
|
+
subscription: Subscription;
|
|
1173
|
+
};
|
|
1024
1174
|
export type ItemPriceUpdatedContent = {
|
|
1025
1175
|
item_price: ItemPrice;
|
|
1026
1176
|
};
|
|
@@ -1089,6 +1239,14 @@ declare module 'chargebee' {
|
|
|
1089
1239
|
|
|
1090
1240
|
card: Card;
|
|
1091
1241
|
};
|
|
1242
|
+
export type PriceRampCreatedContent = {
|
|
1243
|
+
price_ramp: PriceRamp;
|
|
1244
|
+
|
|
1245
|
+
ramp_interval: RampInterval;
|
|
1246
|
+
};
|
|
1247
|
+
export type CollectionsReminderSequenceCreatedContent = {
|
|
1248
|
+
collections_reminder_sequence: CollectionsReminderSequence;
|
|
1249
|
+
};
|
|
1092
1250
|
export type CustomerCreatedContent = {
|
|
1093
1251
|
customer: Customer;
|
|
1094
1252
|
|
|
@@ -1137,6 +1295,9 @@ declare module 'chargebee' {
|
|
|
1137
1295
|
|
|
1138
1296
|
coupon_set: CouponSet;
|
|
1139
1297
|
};
|
|
1298
|
+
export type EmailMessageReceivedContent = {
|
|
1299
|
+
email_message: EmailMessage;
|
|
1300
|
+
};
|
|
1140
1301
|
export type GiftCancelledContent = {
|
|
1141
1302
|
gift: Gift;
|
|
1142
1303
|
};
|
|
@@ -1158,6 +1319,9 @@ declare module 'chargebee' {
|
|
|
1158
1319
|
export type PendingInvoiceCreatedContent = {
|
|
1159
1320
|
invoice: Invoice;
|
|
1160
1321
|
};
|
|
1322
|
+
export type CollectionsPaymentPromiseBrokenContent = {
|
|
1323
|
+
collections_payment_promise: CollectionsPaymentPromise;
|
|
1324
|
+
};
|
|
1161
1325
|
export type EntitlementOverridesAutoRemovedContent = {
|
|
1162
1326
|
feature: Feature;
|
|
1163
1327
|
|
|
@@ -1167,6 +1331,14 @@ declare module 'chargebee' {
|
|
|
1167
1331
|
|
|
1168
1332
|
impacted_subscription: ImpactedSubscription;
|
|
1169
1333
|
};
|
|
1334
|
+
export type PriceRampDeletedContent = {
|
|
1335
|
+
price_ramp: PriceRamp;
|
|
1336
|
+
|
|
1337
|
+
ramp_interval: RampInterval;
|
|
1338
|
+
};
|
|
1339
|
+
export type BusinessRulesetActivatedContent = {
|
|
1340
|
+
business_ruleset: BusinessRuleset;
|
|
1341
|
+
};
|
|
1170
1342
|
export type OmnichannelSubscriptionItemUpgradedContent = {
|
|
1171
1343
|
omnichannel_subscription_item: OmnichannelSubscriptionItem;
|
|
1172
1344
|
|
|
@@ -1192,6 +1364,9 @@ declare module 'chargebee' {
|
|
|
1192
1364
|
|
|
1193
1365
|
customer: Customer;
|
|
1194
1366
|
};
|
|
1367
|
+
export type CollectionsPaymentPromiseCreatedContent = {
|
|
1368
|
+
collections_payment_promise: CollectionsPaymentPromise;
|
|
1369
|
+
};
|
|
1195
1370
|
export type PaymentSourceDeletedContent = {
|
|
1196
1371
|
customer: Customer;
|
|
1197
1372
|
|
|
@@ -1210,6 +1385,9 @@ declare module 'chargebee' {
|
|
|
1210
1385
|
export type InvoiceUpdatedContent = {
|
|
1211
1386
|
invoice: Invoice;
|
|
1212
1387
|
};
|
|
1388
|
+
export type PrivateNoteAddedContent = {
|
|
1389
|
+
private_note: PrivateNote;
|
|
1390
|
+
};
|
|
1213
1391
|
export type SubscriptionAdvanceInvoiceScheduleRemovedContent = {
|
|
1214
1392
|
subscription: Subscription;
|
|
1215
1393
|
|
|
@@ -1295,6 +1473,9 @@ declare module 'chargebee' {
|
|
|
1295
1473
|
export type RuleDeletedContent = {
|
|
1296
1474
|
rule: Rule;
|
|
1297
1475
|
};
|
|
1476
|
+
export type CollectionsDisputeCreatedContent = {
|
|
1477
|
+
collections_dispute: CollectionsDispute;
|
|
1478
|
+
};
|
|
1298
1479
|
export type ItemPriceEntitlementsUpdatedContent = {
|
|
1299
1480
|
feature: Feature;
|
|
1300
1481
|
|
|
@@ -1358,6 +1539,9 @@ declare module 'chargebee' {
|
|
|
1358
1539
|
|
|
1359
1540
|
ledger_entry: LedgerEntry[];
|
|
1360
1541
|
};
|
|
1542
|
+
export type CollectionsPaymentPromiseCancelledContent = {
|
|
1543
|
+
collections_payment_promise: CollectionsPaymentPromise;
|
|
1544
|
+
};
|
|
1361
1545
|
export type ItemPriceCreatedContent = {
|
|
1362
1546
|
item_price: ItemPrice;
|
|
1363
1547
|
};
|
|
@@ -1478,6 +1662,9 @@ declare module 'chargebee' {
|
|
|
1478
1662
|
export type OrderUpdatedContent = {
|
|
1479
1663
|
order: Order;
|
|
1480
1664
|
};
|
|
1665
|
+
export type CollectionsDisputeWithdrawnContent = {
|
|
1666
|
+
collections_dispute: CollectionsDispute;
|
|
1667
|
+
};
|
|
1481
1668
|
export type SubscriptionScheduledPauseRemovedContent = {
|
|
1482
1669
|
subscription: Subscription;
|
|
1483
1670
|
|
|
@@ -1547,6 +1734,9 @@ declare module 'chargebee' {
|
|
|
1547
1734
|
export type TokenCreatedContent = {
|
|
1548
1735
|
token: Token;
|
|
1549
1736
|
};
|
|
1737
|
+
export type CollectionsReminderSequencePausedContent = {
|
|
1738
|
+
collections_reminder_sequence: CollectionsReminderSequence;
|
|
1739
|
+
};
|
|
1550
1740
|
export type PaymentSourceBusinessEntityChangedContent = {
|
|
1551
1741
|
business_entity_transfer: BusinessEntityTransfer;
|
|
1552
1742
|
|
|
@@ -1560,12 +1750,18 @@ declare module 'chargebee' {
|
|
|
1560
1750
|
export type SubscriptionRampUpdatedContent = {
|
|
1561
1751
|
ramp: Ramp;
|
|
1562
1752
|
};
|
|
1753
|
+
export type BusinessRuleDeactivatedContent = {
|
|
1754
|
+
business_rule: BusinessRule;
|
|
1755
|
+
};
|
|
1563
1756
|
export type LedgerAccountBalanceUpdatedContent = {
|
|
1564
1757
|
ledger_account_balance: LedgerAccountBalance;
|
|
1565
1758
|
};
|
|
1566
1759
|
export type VaultTokenCreatedContent = {
|
|
1567
1760
|
vaulted_payment_method: VaultedPaymentMethod;
|
|
1568
1761
|
};
|
|
1762
|
+
export type EinvoiceUpdatedContent = {
|
|
1763
|
+
einvoice: Einvoice;
|
|
1764
|
+
};
|
|
1569
1765
|
export type CustomerEntitlementsUpdatedContent = {
|
|
1570
1766
|
impacted_customer: ImpactedCustomer;
|
|
1571
1767
|
};
|
|
@@ -1579,6 +1775,9 @@ declare module 'chargebee' {
|
|
|
1579
1775
|
|
|
1580
1776
|
card: Card;
|
|
1581
1777
|
};
|
|
1778
|
+
export type BusinessRuleReleasedContent = {
|
|
1779
|
+
business_rule: BusinessRule;
|
|
1780
|
+
};
|
|
1582
1781
|
export type SubscriptionEntitlementsUpdatedContent = {
|
|
1583
1782
|
subscription_entitlements_updated_detail: SubscriptionEntitlementsUpdatedDetail;
|
|
1584
1783
|
};
|
|
@@ -1605,6 +1804,9 @@ declare module 'chargebee' {
|
|
|
1605
1804
|
export type ItemUpdatedContent = {
|
|
1606
1805
|
item: Item;
|
|
1607
1806
|
};
|
|
1807
|
+
export type CollectionsReminderSequenceResumedContent = {
|
|
1808
|
+
collections_reminder_sequence: CollectionsReminderSequence;
|
|
1809
|
+
};
|
|
1608
1810
|
export type CouponSetCreatedContent = {
|
|
1609
1811
|
coupon: Coupon;
|
|
1610
1812
|
|
|
@@ -1640,6 +1842,9 @@ declare module 'chargebee' {
|
|
|
1640
1842
|
export type DifferentialPriceDeletedContent = {
|
|
1641
1843
|
differential_price: DifferentialPrice;
|
|
1642
1844
|
};
|
|
1845
|
+
export type BusinessRuleActivatedContent = {
|
|
1846
|
+
business_rule: BusinessRule;
|
|
1847
|
+
};
|
|
1643
1848
|
export type SubscriptionItemsRenewedContent = {
|
|
1644
1849
|
subscription: Subscription;
|
|
1645
1850
|
|
|
@@ -1653,6 +1858,9 @@ declare module 'chargebee' {
|
|
|
1653
1858
|
|
|
1654
1859
|
unbilled_charge: UnbilledCharge[];
|
|
1655
1860
|
};
|
|
1861
|
+
export type PaymentSchedulesCancelledContent = {
|
|
1862
|
+
payment_schedule: PaymentSchedule;
|
|
1863
|
+
};
|
|
1656
1864
|
export type RuleCreatedContent = {
|
|
1657
1865
|
rule: Rule;
|
|
1658
1866
|
};
|
|
@@ -1665,6 +1873,9 @@ declare module 'chargebee' {
|
|
|
1665
1873
|
export type InvoiceDeletedContent = {
|
|
1666
1874
|
invoice: Invoice;
|
|
1667
1875
|
};
|
|
1876
|
+
export type BusinessRuleUpdatedContent = {
|
|
1877
|
+
business_rule: BusinessRule;
|
|
1878
|
+
};
|
|
1668
1879
|
export type ItemPriceEntitlementsRemovedContent = {
|
|
1669
1880
|
feature: Feature;
|
|
1670
1881
|
|
|
@@ -1712,6 +1923,9 @@ declare module 'chargebee' {
|
|
|
1712
1923
|
export type AuthorizationVoidedContent = {
|
|
1713
1924
|
transaction: Transaction;
|
|
1714
1925
|
};
|
|
1926
|
+
export type CollectionsReminderSequenceCompletedContent = {
|
|
1927
|
+
collections_reminder_sequence: CollectionsReminderSequence;
|
|
1928
|
+
};
|
|
1715
1929
|
export type SubscriptionRampDeletedContent = {
|
|
1716
1930
|
ramp: Ramp;
|
|
1717
1931
|
};
|