chargebee 3.32.0 → 3.34.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 +196 -0
- package/cjs/environment.js +1 -1
- package/cjs/resources/api_endpoints.js +323 -2
- package/cjs/resources/webhook/eventType.js +14 -0
- 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/credit_note.schema.js +10 -4
- 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/estimate.schema.js +38 -9
- package/cjs/schema/event.schema.js +56 -0
- package/cjs/schema/export.schema.js +68 -12
- package/cjs/schema/feature.schema.js +2 -2
- package/cjs/schema/gift.schema.js +27 -1
- package/cjs/schema/hosted_page.schema.js +26 -6
- package/cjs/schema/index.js +6 -0
- package/cjs/schema/invoice.schema.js +74 -10
- package/cjs/schema/ledger_operation.schema.js +4 -0
- package/cjs/schema/meter.schema.js +1 -1
- package/cjs/schema/metered_feature.schema.js +1 -1
- 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 +103 -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 +14 -1
- package/cjs/schema/quote.schema.js +2 -2
- package/cjs/schema/ramp.schema.js +8 -0
- package/cjs/schema/subscription.schema.js +179 -16
- package/cjs/schema/transaction.schema.js +60 -2
- package/cjs/schema/webhook_endpoint.schema.js +28 -0
- package/esm/environment.js +1 -1
- package/esm/resources/api_endpoints.js +323 -2
- package/esm/resources/webhook/eventType.js +14 -0
- 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/credit_note.schema.js +10 -4
- 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/estimate.schema.js +38 -9
- package/esm/schema/event.schema.js +56 -0
- package/esm/schema/export.schema.js +68 -12
- package/esm/schema/feature.schema.js +2 -2
- package/esm/schema/gift.schema.js +27 -1
- package/esm/schema/hosted_page.schema.js +26 -6
- package/esm/schema/index.js +6 -0
- package/esm/schema/invoice.schema.js +74 -10
- package/esm/schema/ledger_operation.schema.js +4 -0
- package/esm/schema/meter.schema.js +1 -1
- package/esm/schema/metered_feature.schema.js +1 -1
- package/esm/schema/omnichannel_subscription.schema.js +1 -1
- 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 +103 -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 +14 -1
- package/esm/schema/quote.schema.js +2 -2
- package/esm/schema/ramp.schema.js +8 -0
- package/esm/schema/subscription.schema.js +179 -16
- package/esm/schema/subscription_entitlement.schema.js +2 -2
- package/esm/schema/transaction.schema.js +60 -2
- package/esm/schema/webhook_endpoint.schema.js +28 -0
- package/package.json +1 -1
- package/types/core.d.ts +86 -8
- package/types/index.d.ts +15 -0
- package/types/resources/AppliedBusinessRule.d.ts +15 -0
- package/types/resources/AppliedRule.d.ts +14 -0
- package/types/resources/ApplyRule.d.ts +28 -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/Content.d.ts +9 -0
- package/types/resources/Coupon.d.ts +2 -2
- package/types/resources/CreditNote.d.ts +12 -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/Einvoice.d.ts +64 -1
- package/types/resources/EmailLog.d.ts +45 -0
- package/types/resources/Estimate.d.ts +34 -5
- package/types/resources/Event.d.ts +15 -0
- package/types/resources/Gift.d.ts +29 -3
- package/types/resources/GrantBlock.d.ts +26 -7
- package/types/resources/HostedPage.d.ts +14 -3
- package/types/resources/Invoice.d.ts +42 -4
- package/types/resources/LedgerEntry.d.ts +4 -4
- package/types/resources/LedgerOperation.d.ts +15 -8
- package/types/resources/OmnichannelSubscriptionItem.d.ts +5 -1
- package/types/resources/PaymentIntent.d.ts +72 -5
- package/types/resources/PaymentSchedule.d.ts +38 -1
- package/types/resources/PaymentScheduleEstimate.d.ts +1 -0
- package/types/resources/PaymentScheduleScheme.d.ts +17 -1
- package/types/resources/PaymentSource.d.ts +31 -2
- package/types/resources/PricingPageSession.d.ts +1 -0
- package/types/resources/PromotionalGrant.d.ts +2 -0
- package/types/resources/Purchase.d.ts +14 -1
- package/types/resources/Quote.d.ts +2 -2
- package/types/resources/QuotedSubscription.d.ts +3 -2
- package/types/resources/Ramp.d.ts +12 -0
- package/types/resources/Subscription.d.ts +116 -17
- package/types/resources/ThirdPartyPaymentMethod.d.ts +1 -0
- package/types/resources/Transaction.d.ts +5 -0
- package/types/resources/WebhookEvent.d.ts +70 -0
|
@@ -18,6 +18,7 @@ declare module 'chargebee' {
|
|
|
18
18
|
SubscriptionResumed = 'subscription_resumed',
|
|
19
19
|
OmnichannelOneTimeOrderItemCancelled = 'omnichannel_one_time_order_item_cancelled',
|
|
20
20
|
SubscriptionCancelled = 'subscription_cancelled',
|
|
21
|
+
BusinessRuleDeleted = 'business_rule_deleted',
|
|
21
22
|
ItemEntitlementsRemoved = 'item_entitlements_removed',
|
|
22
23
|
BusinessEntityCreated = 'business_entity_created',
|
|
23
24
|
CouponSetUpdated = 'coupon_set_updated',
|
|
@@ -29,6 +30,7 @@ declare module 'chargebee' {
|
|
|
29
30
|
SubscriptionShippingAddressUpdated = 'subscription_shipping_address_updated',
|
|
30
31
|
VoucherCreateFailed = 'voucher_create_failed',
|
|
31
32
|
GiftClaimed = 'gift_claimed',
|
|
33
|
+
BusinessRulesApplied = 'business_rules_applied',
|
|
32
34
|
CustomerDeleted = 'customer_deleted',
|
|
33
35
|
RefundInitiated = 'refund_initiated',
|
|
34
36
|
InvoiceGeneratedWithBackdating = 'invoice_generated_with_backdating',
|
|
@@ -57,12 +59,15 @@ declare module 'chargebee' {
|
|
|
57
59
|
PriceVariantDeleted = 'price_variant_deleted',
|
|
58
60
|
AlertStatusChanged = 'alert_status_changed',
|
|
59
61
|
SubscriptionMovementFailed = 'subscription_movement_failed',
|
|
62
|
+
BusinessRulesetUpdated = 'business_ruleset_updated',
|
|
60
63
|
CustomerMovedIn = 'customer_moved_in',
|
|
61
64
|
SubscriptionAdvanceInvoiceScheduleUpdated = 'subscription_advance_invoice_schedule_updated',
|
|
62
65
|
ItemDeleted = 'item_deleted',
|
|
63
66
|
SubscriptionRampDrafted = 'subscription_ramp_drafted',
|
|
67
|
+
BusinessRuleCreated = 'business_rule_created',
|
|
64
68
|
VaultTokenUpdated = 'vault_token_updated',
|
|
65
69
|
DunningUpdated = 'dunning_updated',
|
|
70
|
+
EinvoiceCreated = 'einvoice_created',
|
|
66
71
|
OmnichannelSubscriptionItemRecovered = 'omnichannel_subscription_item_recovered',
|
|
67
72
|
ItemEntitlementsUpdated = 'item_entitlements_updated',
|
|
68
73
|
TokenConsumed = 'token_consumed',
|
|
@@ -84,9 +89,11 @@ declare module 'chargebee' {
|
|
|
84
89
|
CardExpired = 'card_expired',
|
|
85
90
|
CreditNoteUpdated = 'credit_note_updated',
|
|
86
91
|
OmnichannelSubscriptionItemDowngraded = 'omnichannel_subscription_item_downgraded',
|
|
92
|
+
BusinessRulesetDeactivated = 'business_ruleset_deactivated',
|
|
87
93
|
PriceVariantUpdated = 'price_variant_updated',
|
|
88
94
|
PromotionalCreditsDeducted = 'promotional_credits_deducted',
|
|
89
95
|
SubscriptionRampApplied = 'subscription_ramp_applied',
|
|
96
|
+
BusinessRulesetDeleted = 'business_ruleset_deleted',
|
|
90
97
|
SubscriptionPaused = 'subscription_paused',
|
|
91
98
|
OrderReadyToProcess = 'order_ready_to_process',
|
|
92
99
|
FeatureCreated = 'feature_created',
|
|
@@ -95,6 +102,7 @@ declare module 'chargebee' {
|
|
|
95
102
|
OmnichannelSubscriptionItemResubscribed = 'omnichannel_subscription_item_resubscribed',
|
|
96
103
|
RecordPurchaseFailed = 'record_purchase_failed',
|
|
97
104
|
ItemCreated = 'item_created',
|
|
105
|
+
BusinessRulesetCreated = 'business_ruleset_created',
|
|
98
106
|
TransactionUpdated = 'transaction_updated',
|
|
99
107
|
MrrUpdated = 'mrr_updated',
|
|
100
108
|
UnbilledChargesInvoiced = 'unbilled_charges_invoiced',
|
|
@@ -124,6 +132,7 @@ declare module 'chargebee' {
|
|
|
124
132
|
SubscriptionScheduledChangesRemoved = 'subscription_scheduled_changes_removed',
|
|
125
133
|
PendingInvoiceCreated = 'pending_invoice_created',
|
|
126
134
|
EntitlementOverridesAutoRemoved = 'entitlement_overrides_auto_removed',
|
|
135
|
+
BusinessRulesetActivated = 'business_ruleset_activated',
|
|
127
136
|
OmnichannelSubscriptionItemUpgraded = 'omnichannel_subscription_item_upgraded',
|
|
128
137
|
SubscriptionBusinessEntityChanged = 'subscription_business_entity_changed',
|
|
129
138
|
OmnichannelOneTimeOrderCreated = 'omnichannel_one_time_order_created',
|
|
@@ -191,11 +200,14 @@ declare module 'chargebee' {
|
|
|
191
200
|
PaymentSourceBusinessEntityChanged = 'payment_source_business_entity_changed',
|
|
192
201
|
PromotionalCreditsAdded = 'promotional_credits_added',
|
|
193
202
|
SubscriptionRampUpdated = 'subscription_ramp_updated',
|
|
203
|
+
BusinessRuleDeactivated = 'business_rule_deactivated',
|
|
194
204
|
LedgerAccountBalanceUpdated = 'ledger_account_balance_updated',
|
|
195
205
|
VaultTokenCreated = 'vault_token_created',
|
|
206
|
+
EinvoiceUpdated = 'einvoice_updated',
|
|
196
207
|
CustomerEntitlementsUpdated = 'customer_entitlements_updated',
|
|
197
208
|
PaymentSourceExpired = 'payment_source_expired',
|
|
198
209
|
CustomerMovedOut = 'customer_moved_out',
|
|
210
|
+
BusinessRuleReleased = 'business_rule_released',
|
|
199
211
|
SubscriptionEntitlementsUpdated = 'subscription_entitlements_updated',
|
|
200
212
|
OmnichannelSubscriptionItemDunningExpired = 'omnichannel_subscription_item_dunning_expired',
|
|
201
213
|
HierarchyCreated = 'hierarchy_created',
|
|
@@ -209,11 +221,13 @@ declare module 'chargebee' {
|
|
|
209
221
|
TaxWithheldRecorded = 'tax_withheld_recorded',
|
|
210
222
|
PriceVariantCreated = 'price_variant_created',
|
|
211
223
|
DifferentialPriceDeleted = 'differential_price_deleted',
|
|
224
|
+
BusinessRuleActivated = 'business_rule_activated',
|
|
212
225
|
SubscriptionItemsRenewed = 'subscription_items_renewed',
|
|
213
226
|
RuleCreated = 'rule_created',
|
|
214
227
|
ContractTermCancelled = 'contract_term_cancelled',
|
|
215
228
|
ContractTermRenewed = 'contract_term_renewed',
|
|
216
229
|
InvoiceDeleted = 'invoice_deleted',
|
|
230
|
+
BusinessRuleUpdated = 'business_rule_updated',
|
|
217
231
|
ItemPriceEntitlementsRemoved = 'item_price_entitlements_removed',
|
|
218
232
|
SalesOrderUpdated = 'sales_order_updated',
|
|
219
233
|
OmnichannelSubscriptionItemDunningStarted = 'omnichannel_subscription_item_dunning_started',
|
|
@@ -254,6 +268,7 @@ declare module 'chargebee' {
|
|
|
254
268
|
[WebhookEventType.SubscriptionResumed]: SubscriptionResumedContent;
|
|
255
269
|
[WebhookEventType.OmnichannelOneTimeOrderItemCancelled]: OmnichannelOneTimeOrderItemCancelledContent;
|
|
256
270
|
[WebhookEventType.SubscriptionCancelled]: SubscriptionCancelledContent;
|
|
271
|
+
[WebhookEventType.BusinessRuleDeleted]: BusinessRuleDeletedContent;
|
|
257
272
|
[WebhookEventType.ItemEntitlementsRemoved]: ItemEntitlementsRemovedContent;
|
|
258
273
|
[WebhookEventType.BusinessEntityCreated]: BusinessEntityCreatedContent;
|
|
259
274
|
[WebhookEventType.CouponSetUpdated]: CouponSetUpdatedContent;
|
|
@@ -265,6 +280,7 @@ declare module 'chargebee' {
|
|
|
265
280
|
[WebhookEventType.SubscriptionShippingAddressUpdated]: SubscriptionShippingAddressUpdatedContent;
|
|
266
281
|
[WebhookEventType.VoucherCreateFailed]: VoucherCreateFailedContent;
|
|
267
282
|
[WebhookEventType.GiftClaimed]: GiftClaimedContent;
|
|
283
|
+
[WebhookEventType.BusinessRulesApplied]: BusinessRulesAppliedContent;
|
|
268
284
|
[WebhookEventType.CustomerDeleted]: CustomerDeletedContent;
|
|
269
285
|
[WebhookEventType.RefundInitiated]: RefundInitiatedContent;
|
|
270
286
|
[WebhookEventType.InvoiceGeneratedWithBackdating]: InvoiceGeneratedWithBackdatingContent;
|
|
@@ -293,12 +309,15 @@ declare module 'chargebee' {
|
|
|
293
309
|
[WebhookEventType.PriceVariantDeleted]: PriceVariantDeletedContent;
|
|
294
310
|
[WebhookEventType.AlertStatusChanged]: AlertStatusChangedContent;
|
|
295
311
|
[WebhookEventType.SubscriptionMovementFailed]: SubscriptionMovementFailedContent;
|
|
312
|
+
[WebhookEventType.BusinessRulesetUpdated]: BusinessRulesetUpdatedContent;
|
|
296
313
|
[WebhookEventType.CustomerMovedIn]: CustomerMovedInContent;
|
|
297
314
|
[WebhookEventType.SubscriptionAdvanceInvoiceScheduleUpdated]: SubscriptionAdvanceInvoiceScheduleUpdatedContent;
|
|
298
315
|
[WebhookEventType.ItemDeleted]: ItemDeletedContent;
|
|
299
316
|
[WebhookEventType.SubscriptionRampDrafted]: SubscriptionRampDraftedContent;
|
|
317
|
+
[WebhookEventType.BusinessRuleCreated]: BusinessRuleCreatedContent;
|
|
300
318
|
[WebhookEventType.VaultTokenUpdated]: VaultTokenUpdatedContent;
|
|
301
319
|
[WebhookEventType.DunningUpdated]: DunningUpdatedContent;
|
|
320
|
+
[WebhookEventType.EinvoiceCreated]: EinvoiceCreatedContent;
|
|
302
321
|
[WebhookEventType.OmnichannelSubscriptionItemRecovered]: OmnichannelSubscriptionItemRecoveredContent;
|
|
303
322
|
[WebhookEventType.ItemEntitlementsUpdated]: ItemEntitlementsUpdatedContent;
|
|
304
323
|
[WebhookEventType.TokenConsumed]: TokenConsumedContent;
|
|
@@ -320,9 +339,11 @@ declare module 'chargebee' {
|
|
|
320
339
|
[WebhookEventType.CardExpired]: CardExpiredContent;
|
|
321
340
|
[WebhookEventType.CreditNoteUpdated]: CreditNoteUpdatedContent;
|
|
322
341
|
[WebhookEventType.OmnichannelSubscriptionItemDowngraded]: OmnichannelSubscriptionItemDowngradedContent;
|
|
342
|
+
[WebhookEventType.BusinessRulesetDeactivated]: BusinessRulesetDeactivatedContent;
|
|
323
343
|
[WebhookEventType.PriceVariantUpdated]: PriceVariantUpdatedContent;
|
|
324
344
|
[WebhookEventType.PromotionalCreditsDeducted]: PromotionalCreditsDeductedContent;
|
|
325
345
|
[WebhookEventType.SubscriptionRampApplied]: SubscriptionRampAppliedContent;
|
|
346
|
+
[WebhookEventType.BusinessRulesetDeleted]: BusinessRulesetDeletedContent;
|
|
326
347
|
[WebhookEventType.SubscriptionPaused]: SubscriptionPausedContent;
|
|
327
348
|
[WebhookEventType.OrderReadyToProcess]: OrderReadyToProcessContent;
|
|
328
349
|
[WebhookEventType.FeatureCreated]: FeatureCreatedContent;
|
|
@@ -331,6 +352,7 @@ declare module 'chargebee' {
|
|
|
331
352
|
[WebhookEventType.OmnichannelSubscriptionItemResubscribed]: OmnichannelSubscriptionItemResubscribedContent;
|
|
332
353
|
[WebhookEventType.RecordPurchaseFailed]: RecordPurchaseFailedContent;
|
|
333
354
|
[WebhookEventType.ItemCreated]: ItemCreatedContent;
|
|
355
|
+
[WebhookEventType.BusinessRulesetCreated]: BusinessRulesetCreatedContent;
|
|
334
356
|
[WebhookEventType.TransactionUpdated]: TransactionUpdatedContent;
|
|
335
357
|
[WebhookEventType.MrrUpdated]: MrrUpdatedContent;
|
|
336
358
|
[WebhookEventType.UnbilledChargesInvoiced]: UnbilledChargesInvoicedContent;
|
|
@@ -360,6 +382,7 @@ declare module 'chargebee' {
|
|
|
360
382
|
[WebhookEventType.SubscriptionScheduledChangesRemoved]: SubscriptionScheduledChangesRemovedContent;
|
|
361
383
|
[WebhookEventType.PendingInvoiceCreated]: PendingInvoiceCreatedContent;
|
|
362
384
|
[WebhookEventType.EntitlementOverridesAutoRemoved]: EntitlementOverridesAutoRemovedContent;
|
|
385
|
+
[WebhookEventType.BusinessRulesetActivated]: BusinessRulesetActivatedContent;
|
|
363
386
|
[WebhookEventType.OmnichannelSubscriptionItemUpgraded]: OmnichannelSubscriptionItemUpgradedContent;
|
|
364
387
|
[WebhookEventType.SubscriptionBusinessEntityChanged]: SubscriptionBusinessEntityChangedContent;
|
|
365
388
|
[WebhookEventType.OmnichannelOneTimeOrderCreated]: OmnichannelOneTimeOrderCreatedContent;
|
|
@@ -427,11 +450,14 @@ declare module 'chargebee' {
|
|
|
427
450
|
[WebhookEventType.PaymentSourceBusinessEntityChanged]: PaymentSourceBusinessEntityChangedContent;
|
|
428
451
|
[WebhookEventType.PromotionalCreditsAdded]: PromotionalCreditsAddedContent;
|
|
429
452
|
[WebhookEventType.SubscriptionRampUpdated]: SubscriptionRampUpdatedContent;
|
|
453
|
+
[WebhookEventType.BusinessRuleDeactivated]: BusinessRuleDeactivatedContent;
|
|
430
454
|
[WebhookEventType.LedgerAccountBalanceUpdated]: LedgerAccountBalanceUpdatedContent;
|
|
431
455
|
[WebhookEventType.VaultTokenCreated]: VaultTokenCreatedContent;
|
|
456
|
+
[WebhookEventType.EinvoiceUpdated]: EinvoiceUpdatedContent;
|
|
432
457
|
[WebhookEventType.CustomerEntitlementsUpdated]: CustomerEntitlementsUpdatedContent;
|
|
433
458
|
[WebhookEventType.PaymentSourceExpired]: PaymentSourceExpiredContent;
|
|
434
459
|
[WebhookEventType.CustomerMovedOut]: CustomerMovedOutContent;
|
|
460
|
+
[WebhookEventType.BusinessRuleReleased]: BusinessRuleReleasedContent;
|
|
435
461
|
[WebhookEventType.SubscriptionEntitlementsUpdated]: SubscriptionEntitlementsUpdatedContent;
|
|
436
462
|
[WebhookEventType.OmnichannelSubscriptionItemDunningExpired]: OmnichannelSubscriptionItemDunningExpiredContent;
|
|
437
463
|
[WebhookEventType.HierarchyCreated]: HierarchyCreatedContent;
|
|
@@ -445,11 +471,13 @@ declare module 'chargebee' {
|
|
|
445
471
|
[WebhookEventType.TaxWithheldRecorded]: TaxWithheldRecordedContent;
|
|
446
472
|
[WebhookEventType.PriceVariantCreated]: PriceVariantCreatedContent;
|
|
447
473
|
[WebhookEventType.DifferentialPriceDeleted]: DifferentialPriceDeletedContent;
|
|
474
|
+
[WebhookEventType.BusinessRuleActivated]: BusinessRuleActivatedContent;
|
|
448
475
|
[WebhookEventType.SubscriptionItemsRenewed]: SubscriptionItemsRenewedContent;
|
|
449
476
|
[WebhookEventType.RuleCreated]: RuleCreatedContent;
|
|
450
477
|
[WebhookEventType.ContractTermCancelled]: ContractTermCancelledContent;
|
|
451
478
|
[WebhookEventType.ContractTermRenewed]: ContractTermRenewedContent;
|
|
452
479
|
[WebhookEventType.InvoiceDeleted]: InvoiceDeletedContent;
|
|
480
|
+
[WebhookEventType.BusinessRuleUpdated]: BusinessRuleUpdatedContent;
|
|
453
481
|
[WebhookEventType.ItemPriceEntitlementsRemoved]: ItemPriceEntitlementsRemovedContent;
|
|
454
482
|
[WebhookEventType.SalesOrderUpdated]: SalesOrderUpdatedContent;
|
|
455
483
|
[WebhookEventType.OmnichannelSubscriptionItemDunningStarted]: OmnichannelSubscriptionItemDunningStartedContent;
|
|
@@ -585,6 +613,9 @@ declare module 'chargebee' {
|
|
|
585
613
|
|
|
586
614
|
unbilled_charge: UnbilledCharge[];
|
|
587
615
|
};
|
|
616
|
+
export type BusinessRuleDeletedContent = {
|
|
617
|
+
business_rule: BusinessRule;
|
|
618
|
+
};
|
|
588
619
|
export type ItemEntitlementsRemovedContent = {
|
|
589
620
|
feature: Feature;
|
|
590
621
|
|
|
@@ -652,6 +683,9 @@ declare module 'chargebee' {
|
|
|
652
683
|
export type GiftClaimedContent = {
|
|
653
684
|
gift: Gift;
|
|
654
685
|
};
|
|
686
|
+
export type BusinessRulesAppliedContent = {
|
|
687
|
+
applied_business_rule: AppliedBusinessRule;
|
|
688
|
+
};
|
|
655
689
|
export type CustomerDeletedContent = {
|
|
656
690
|
customer: Customer;
|
|
657
691
|
|
|
@@ -796,6 +830,9 @@ declare module 'chargebee' {
|
|
|
796
830
|
export type SubscriptionMovementFailedContent = {
|
|
797
831
|
subscription: Subscription;
|
|
798
832
|
};
|
|
833
|
+
export type BusinessRulesetUpdatedContent = {
|
|
834
|
+
business_ruleset: BusinessRuleset;
|
|
835
|
+
};
|
|
799
836
|
export type CustomerMovedInContent = {
|
|
800
837
|
customer: Customer;
|
|
801
838
|
|
|
@@ -814,12 +851,18 @@ declare module 'chargebee' {
|
|
|
814
851
|
export type SubscriptionRampDraftedContent = {
|
|
815
852
|
ramp: Ramp;
|
|
816
853
|
};
|
|
854
|
+
export type BusinessRuleCreatedContent = {
|
|
855
|
+
business_rule: BusinessRule;
|
|
856
|
+
};
|
|
817
857
|
export type VaultTokenUpdatedContent = {
|
|
818
858
|
vaulted_payment_method: VaultedPaymentMethod;
|
|
819
859
|
};
|
|
820
860
|
export type DunningUpdatedContent = {
|
|
821
861
|
invoice: Invoice;
|
|
822
862
|
};
|
|
863
|
+
export type EinvoiceCreatedContent = {
|
|
864
|
+
einvoice: Einvoice;
|
|
865
|
+
};
|
|
823
866
|
export type OmnichannelSubscriptionItemRecoveredContent = {
|
|
824
867
|
omnichannel_subscription_item: OmnichannelSubscriptionItem;
|
|
825
868
|
|
|
@@ -947,6 +990,9 @@ declare module 'chargebee' {
|
|
|
947
990
|
|
|
948
991
|
customer: Customer;
|
|
949
992
|
};
|
|
993
|
+
export type BusinessRulesetDeactivatedContent = {
|
|
994
|
+
business_ruleset: BusinessRuleset;
|
|
995
|
+
};
|
|
950
996
|
export type PriceVariantUpdatedContent = {
|
|
951
997
|
price_variant: PriceVariant;
|
|
952
998
|
|
|
@@ -960,6 +1006,9 @@ declare module 'chargebee' {
|
|
|
960
1006
|
export type SubscriptionRampAppliedContent = {
|
|
961
1007
|
ramp: Ramp;
|
|
962
1008
|
};
|
|
1009
|
+
export type BusinessRulesetDeletedContent = {
|
|
1010
|
+
business_ruleset: BusinessRuleset;
|
|
1011
|
+
};
|
|
963
1012
|
export type SubscriptionPausedContent = {
|
|
964
1013
|
subscription: Subscription;
|
|
965
1014
|
|
|
@@ -1010,6 +1059,9 @@ declare module 'chargebee' {
|
|
|
1010
1059
|
export type ItemCreatedContent = {
|
|
1011
1060
|
item: Item;
|
|
1012
1061
|
};
|
|
1062
|
+
export type BusinessRulesetCreatedContent = {
|
|
1063
|
+
business_ruleset: BusinessRuleset;
|
|
1064
|
+
};
|
|
1013
1065
|
export type TransactionUpdatedContent = {
|
|
1014
1066
|
transaction: Transaction;
|
|
1015
1067
|
};
|
|
@@ -1167,6 +1219,9 @@ declare module 'chargebee' {
|
|
|
1167
1219
|
|
|
1168
1220
|
impacted_subscription: ImpactedSubscription;
|
|
1169
1221
|
};
|
|
1222
|
+
export type BusinessRulesetActivatedContent = {
|
|
1223
|
+
business_ruleset: BusinessRuleset;
|
|
1224
|
+
};
|
|
1170
1225
|
export type OmnichannelSubscriptionItemUpgradedContent = {
|
|
1171
1226
|
omnichannel_subscription_item: OmnichannelSubscriptionItem;
|
|
1172
1227
|
|
|
@@ -1560,12 +1615,18 @@ declare module 'chargebee' {
|
|
|
1560
1615
|
export type SubscriptionRampUpdatedContent = {
|
|
1561
1616
|
ramp: Ramp;
|
|
1562
1617
|
};
|
|
1618
|
+
export type BusinessRuleDeactivatedContent = {
|
|
1619
|
+
business_rule: BusinessRule;
|
|
1620
|
+
};
|
|
1563
1621
|
export type LedgerAccountBalanceUpdatedContent = {
|
|
1564
1622
|
ledger_account_balance: LedgerAccountBalance;
|
|
1565
1623
|
};
|
|
1566
1624
|
export type VaultTokenCreatedContent = {
|
|
1567
1625
|
vaulted_payment_method: VaultedPaymentMethod;
|
|
1568
1626
|
};
|
|
1627
|
+
export type EinvoiceUpdatedContent = {
|
|
1628
|
+
einvoice: Einvoice;
|
|
1629
|
+
};
|
|
1569
1630
|
export type CustomerEntitlementsUpdatedContent = {
|
|
1570
1631
|
impacted_customer: ImpactedCustomer;
|
|
1571
1632
|
};
|
|
@@ -1579,6 +1640,9 @@ declare module 'chargebee' {
|
|
|
1579
1640
|
|
|
1580
1641
|
card: Card;
|
|
1581
1642
|
};
|
|
1643
|
+
export type BusinessRuleReleasedContent = {
|
|
1644
|
+
business_rule: BusinessRule;
|
|
1645
|
+
};
|
|
1582
1646
|
export type SubscriptionEntitlementsUpdatedContent = {
|
|
1583
1647
|
subscription_entitlements_updated_detail: SubscriptionEntitlementsUpdatedDetail;
|
|
1584
1648
|
};
|
|
@@ -1640,6 +1704,9 @@ declare module 'chargebee' {
|
|
|
1640
1704
|
export type DifferentialPriceDeletedContent = {
|
|
1641
1705
|
differential_price: DifferentialPrice;
|
|
1642
1706
|
};
|
|
1707
|
+
export type BusinessRuleActivatedContent = {
|
|
1708
|
+
business_rule: BusinessRule;
|
|
1709
|
+
};
|
|
1643
1710
|
export type SubscriptionItemsRenewedContent = {
|
|
1644
1711
|
subscription: Subscription;
|
|
1645
1712
|
|
|
@@ -1665,6 +1732,9 @@ declare module 'chargebee' {
|
|
|
1665
1732
|
export type InvoiceDeletedContent = {
|
|
1666
1733
|
invoice: Invoice;
|
|
1667
1734
|
};
|
|
1735
|
+
export type BusinessRuleUpdatedContent = {
|
|
1736
|
+
business_rule: BusinessRule;
|
|
1737
|
+
};
|
|
1668
1738
|
export type ItemPriceEntitlementsRemovedContent = {
|
|
1669
1739
|
feature: Feature;
|
|
1670
1740
|
|