chargebee 3.34.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 +172 -0
- package/cjs/environment.js +1 -1
- package/cjs/resources/api_endpoints.js +174 -2
- package/cjs/resources/webhook/eventType.js +23 -1
- package/cjs/schema/business_entity.schema.js +28 -2
- 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 +1 -0
- package/cjs/schema/credit_unit.schema.js +2 -2
- package/cjs/schema/einvoice.schema.js +2 -2
- package/cjs/schema/entitlement.schema.js +4 -4
- package/cjs/schema/estimate.schema.js +4 -4
- package/cjs/schema/event.schema.js +104 -4
- package/cjs/schema/export.schema.js +7 -7
- package/cjs/schema/hosted_page.schema.js +2 -2
- package/cjs/schema/index.js +3 -0
- package/cjs/schema/invoice.schema.js +24 -4
- 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 +2 -2
- package/cjs/schema/omnichannel_one_time_order.schema.js +12 -4
- package/cjs/schema/omnichannel_subscription.schema.js +18 -10
- package/cjs/schema/payment_source.schema.js +15 -0
- package/cjs/schema/price_ramp.schema.js +88 -0
- package/cjs/schema/price_variant.schema.js +1 -1
- package/cjs/schema/purchase.schema.js +6 -0
- package/cjs/schema/quote.schema.js +6 -6
- package/cjs/schema/ramp.schema.js +10 -6
- package/cjs/schema/retry_segment.schema.js +12 -0
- package/cjs/schema/subscription.schema.js +4 -4
- package/cjs/schema/usage.schema.js +5 -0
- package/cjs/schema/usage_summary.schema.js +1 -0
- package/cjs/schema/webhook_endpoint.schema.js +46 -2
- package/esm/environment.js +1 -1
- package/esm/resources/api_endpoints.js +174 -2
- package/esm/resources/webhook/eventType.js +23 -1
- package/esm/schema/business_entity.schema.js +27 -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 +1 -0
- package/esm/schema/credit_unit.schema.js +2 -2
- package/esm/schema/einvoice.schema.js +2 -2
- package/esm/schema/entitlement.schema.js +4 -4
- package/esm/schema/estimate.schema.js +4 -4
- package/esm/schema/event.schema.js +104 -4
- package/esm/schema/export.schema.js +7 -7
- package/esm/schema/hosted_page.schema.js +2 -2
- package/esm/schema/index.js +3 -0
- package/esm/schema/invoice.schema.js +23 -3
- 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 +2 -2
- package/esm/schema/omnichannel_one_time_order.schema.js +12 -4
- package/esm/schema/omnichannel_subscription.schema.js +18 -10
- package/esm/schema/payment_source.schema.js +15 -0
- package/esm/schema/price_ramp.schema.js +85 -0
- package/esm/schema/price_variant.schema.js +1 -1
- package/esm/schema/purchase.schema.js +6 -0
- package/esm/schema/quote.schema.js +6 -6
- package/esm/schema/ramp.schema.js +10 -6
- package/esm/schema/retry_segment.schema.js +9 -0
- package/esm/schema/subscription.schema.js +4 -4
- package/esm/schema/usage.schema.js +5 -0
- package/esm/schema/usage_summary.schema.js +1 -0
- package/esm/schema/webhook_endpoint.schema.js +46 -2
- package/package.json +1 -1
- package/types/core.d.ts +53 -68
- package/types/index.d.ts +22 -1
- package/types/resources/BusinessEntity.d.ts +52 -0
- 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 +18 -1
- package/types/resources/CreditNote.d.ts +1 -0
- package/types/resources/CustomData.d.ts +14 -0
- package/types/resources/DraftEstimate.d.ts +13 -0
- package/types/resources/DraftRequest.d.ts +45 -0
- package/types/resources/EmailAttachment.d.ts +16 -0
- package/types/resources/EmailConversation.d.ts +18 -0
- package/types/resources/EmailLog.d.ts +1 -0
- package/types/resources/EmailMessage.d.ts +40 -0
- package/types/resources/Event.d.ts +23 -1
- package/types/resources/Execution.d.ts +12 -0
- package/types/resources/GatewayPaymentMethodToken.d.ts +2 -2
- package/types/resources/GroupByAttribute.d.ts +15 -0
- package/types/resources/GroupByRecommendation.d.ts +10 -0
- package/types/resources/Invoice.d.ts +15 -0
- package/types/resources/ItemPrice.d.ts +1 -0
- package/types/resources/LedgerAccountBalance.d.ts +19 -0
- 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 +4 -1
- package/types/resources/PaymentSchedule.d.ts +1 -1
- package/types/resources/PaymentScheduleEstimate.d.ts +1 -1
- package/types/resources/PaymentSource.d.ts +19 -0
- package/types/resources/PreferenceVariant.d.ts +10 -0
- package/types/resources/PriceRamp.d.ts +113 -0
- package/types/resources/PrivateNote.d.ts +18 -0
- package/types/resources/Purchase.d.ts +6 -0
- package/types/resources/Ramp.d.ts +6 -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/Transaction.d.ts +4 -0
- package/types/resources/Usage.d.ts +6 -0
- package/types/resources/UsageSummary.d.ts +2 -0
- package/types/resources/WebhookEvent.d.ts +149 -5
- package/types/resources/AppliedBusinessRule.d.ts +0 -15
|
@@ -6,7 +6,11 @@ declare module 'chargebee' {
|
|
|
6
6
|
id: string;
|
|
7
7
|
customer_id: string;
|
|
8
8
|
app_id: string;
|
|
9
|
-
source:
|
|
9
|
+
source:
|
|
10
|
+
| 'apple_app_store'
|
|
11
|
+
| 'google_play_store'
|
|
12
|
+
| 'roku'
|
|
13
|
+
| 'amazon_app_store';
|
|
10
14
|
status: 'in_process' | 'completed' | 'failed' | 'ignored';
|
|
11
15
|
omnichannel_transaction_id?: string;
|
|
12
16
|
created_at: number;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
///<reference path='./../core.d.ts'/>
|
|
2
|
+
///<reference path='./../index.d.ts'/>
|
|
3
|
+
|
|
4
|
+
declare module 'chargebee' {
|
|
5
|
+
export interface RetrySegment {
|
|
6
|
+
id: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
invoice_id?: string;
|
|
9
|
+
enabled: boolean;
|
|
10
|
+
priority?: number;
|
|
11
|
+
condition_logic?: 'and' | 'or';
|
|
12
|
+
criteria?: any;
|
|
13
|
+
retry_settings?: any;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export namespace RetrySegment {
|
|
17
|
+
export class RetrySegmentResource {
|
|
18
|
+
retrieve(
|
|
19
|
+
retry_segment_id: string,
|
|
20
|
+
input?: RetrieveInputParam,
|
|
21
|
+
headers?: ChargebeeRequestHeader,
|
|
22
|
+
): Promise<ChargebeeResponse<RetrieveResponse>>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export interface RetrieveResponse {
|
|
26
|
+
retry_segment: RetrySegment;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
// REQUEST PARAMS
|
|
30
|
+
//---------------
|
|
31
|
+
|
|
32
|
+
export interface RetrieveInputParam {
|
|
33
|
+
invoice_id?: string;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -57,6 +57,7 @@ declare module 'chargebee' {
|
|
|
57
57
|
merchant_reference_id?: string;
|
|
58
58
|
business_entity_id?: string;
|
|
59
59
|
payment_method_details?: string;
|
|
60
|
+
gateway_metadata?: Transaction.GatewayMetadata;
|
|
60
61
|
error_detail?: Transaction.GatewayErrorDetail;
|
|
61
62
|
custom_payment_method_name?: string;
|
|
62
63
|
network_transaction_details?: Transaction.NetworkTransactionDetail;
|
|
@@ -246,6 +247,9 @@ declare module 'chargebee' {
|
|
|
246
247
|
amount?: number;
|
|
247
248
|
date?: number;
|
|
248
249
|
}
|
|
250
|
+
export interface GatewayMetadata {
|
|
251
|
+
acquirer_reference_id?: string;
|
|
252
|
+
}
|
|
249
253
|
export interface GatewayErrorDetail {
|
|
250
254
|
request_id?: string;
|
|
251
255
|
error_category?: string;
|
|
@@ -105,9 +105,15 @@ declare module 'chargebee' {
|
|
|
105
105
|
export interface PdfInputParam {
|
|
106
106
|
disposition_type?: DispositionTypeEnum;
|
|
107
107
|
invoice?: InvoicePdfInputParam;
|
|
108
|
+
group_by?: GroupByPdfInputParam[];
|
|
108
109
|
}
|
|
109
110
|
export interface InvoicePdfInputParam {
|
|
110
111
|
id: string;
|
|
111
112
|
}
|
|
113
|
+
|
|
114
|
+
export interface GroupByPdfInputParam {
|
|
115
|
+
feature_id?: string;
|
|
116
|
+
attributes?: any;
|
|
117
|
+
}
|
|
112
118
|
}
|
|
113
119
|
}
|
|
@@ -8,6 +8,7 @@ declare module 'chargebee' {
|
|
|
8
8
|
aggregated_value: string;
|
|
9
9
|
aggregated_from: number;
|
|
10
10
|
aggregated_to: number;
|
|
11
|
+
attributes?: any;
|
|
11
12
|
}
|
|
12
13
|
|
|
13
14
|
export namespace UsageSummary {
|
|
@@ -36,6 +37,7 @@ declare module 'chargebee' {
|
|
|
36
37
|
window_size?: 'month' | 'week' | 'day' | 'hour' | 'minute';
|
|
37
38
|
timeframe_start?: number;
|
|
38
39
|
timeframe_end?: number;
|
|
40
|
+
group_by?: string[];
|
|
39
41
|
}
|
|
40
42
|
}
|
|
41
43
|
}
|
|
@@ -12,6 +12,8 @@ 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',
|
|
@@ -30,7 +32,6 @@ declare module 'chargebee' {
|
|
|
30
32
|
SubscriptionShippingAddressUpdated = 'subscription_shipping_address_updated',
|
|
31
33
|
VoucherCreateFailed = 'voucher_create_failed',
|
|
32
34
|
GiftClaimed = 'gift_claimed',
|
|
33
|
-
BusinessRulesApplied = 'business_rules_applied',
|
|
34
35
|
CustomerDeleted = 'customer_deleted',
|
|
35
36
|
RefundInitiated = 'refund_initiated',
|
|
36
37
|
InvoiceGeneratedWithBackdating = 'invoice_generated_with_backdating',
|
|
@@ -56,6 +57,7 @@ declare module 'chargebee' {
|
|
|
56
57
|
ContractTermTerminated = 'contract_term_terminated',
|
|
57
58
|
ItemFamilyUpdated = 'item_family_updated',
|
|
58
59
|
OrderCreated = 'order_created',
|
|
60
|
+
RefundFailed = 'refund_failed',
|
|
59
61
|
PriceVariantDeleted = 'price_variant_deleted',
|
|
60
62
|
AlertStatusChanged = 'alert_status_changed',
|
|
61
63
|
SubscriptionMovementFailed = 'subscription_movement_failed',
|
|
@@ -64,6 +66,7 @@ declare module 'chargebee' {
|
|
|
64
66
|
SubscriptionAdvanceInvoiceScheduleUpdated = 'subscription_advance_invoice_schedule_updated',
|
|
65
67
|
ItemDeleted = 'item_deleted',
|
|
66
68
|
SubscriptionRampDrafted = 'subscription_ramp_drafted',
|
|
69
|
+
ChargebackInitiated = 'chargeback_initiated',
|
|
67
70
|
BusinessRuleCreated = 'business_rule_created',
|
|
68
71
|
VaultTokenUpdated = 'vault_token_updated',
|
|
69
72
|
DunningUpdated = 'dunning_updated',
|
|
@@ -76,10 +79,12 @@ declare module 'chargebee' {
|
|
|
76
79
|
SubscriptionCancellationScheduled = 'subscription_cancellation_scheduled',
|
|
77
80
|
SubscriptionRenewed = 'subscription_renewed',
|
|
78
81
|
FeatureUpdated = 'feature_updated',
|
|
82
|
+
CollectionsPaymentPromiseFulfilled = 'collections_payment_promise_fulfilled',
|
|
79
83
|
FeatureDeleted = 'feature_deleted',
|
|
80
84
|
ItemFamilyCreated = 'item_family_created',
|
|
81
85
|
OmnichannelSubscriptionItemScheduledChangeRemoved = 'omnichannel_subscription_item_scheduled_change_removed',
|
|
82
86
|
OmnichannelSubscriptionItemResumed = 'omnichannel_subscription_item_resumed',
|
|
87
|
+
CollectionsDisputeResolved = 'collections_dispute_resolved',
|
|
83
88
|
PurchaseCreated = 'purchase_created',
|
|
84
89
|
EntitlementOverridesUpdated = 'entitlement_overrides_updated',
|
|
85
90
|
ItemFamilyDeleted = 'item_family_deleted',
|
|
@@ -91,6 +96,7 @@ declare module 'chargebee' {
|
|
|
91
96
|
OmnichannelSubscriptionItemDowngraded = 'omnichannel_subscription_item_downgraded',
|
|
92
97
|
BusinessRulesetDeactivated = 'business_ruleset_deactivated',
|
|
93
98
|
PriceVariantUpdated = 'price_variant_updated',
|
|
99
|
+
CollectionsDisputeUpdated = 'collections_dispute_updated',
|
|
94
100
|
PromotionalCreditsDeducted = 'promotional_credits_deducted',
|
|
95
101
|
SubscriptionRampApplied = 'subscription_ramp_applied',
|
|
96
102
|
BusinessRulesetDeleted = 'business_ruleset_deleted',
|
|
@@ -104,8 +110,10 @@ declare module 'chargebee' {
|
|
|
104
110
|
ItemCreated = 'item_created',
|
|
105
111
|
BusinessRulesetCreated = 'business_ruleset_created',
|
|
106
112
|
TransactionUpdated = 'transaction_updated',
|
|
113
|
+
CollectionsPaymentPromiseUpdated = 'collections_payment_promise_updated',
|
|
107
114
|
MrrUpdated = 'mrr_updated',
|
|
108
115
|
UnbilledChargesInvoiced = 'unbilled_charges_invoiced',
|
|
116
|
+
ChargebackWon = 'chargeback_won',
|
|
109
117
|
ItemPriceUpdated = 'item_price_updated',
|
|
110
118
|
CouponCodesUpdated = 'coupon_codes_updated',
|
|
111
119
|
VirtualBankAccountUpdated = 'virtual_bank_account_updated',
|
|
@@ -118,6 +126,8 @@ declare module 'chargebee' {
|
|
|
118
126
|
PaymentSchedulesUpdated = 'payment_schedules_updated',
|
|
119
127
|
OmnichannelSubscriptionItemExpired = 'omnichannel_subscription_item_expired',
|
|
120
128
|
CardUpdated = 'card_updated',
|
|
129
|
+
PriceRampCreated = 'price_ramp_created',
|
|
130
|
+
CollectionsReminderSequenceCreated = 'collections_reminder_sequence_created',
|
|
121
131
|
CustomerCreated = 'customer_created',
|
|
122
132
|
SubscriptionRenewalReminder = 'subscription_renewal_reminder',
|
|
123
133
|
OmnichannelSubscriptionItemMrrUpdated = 'omnichannel_subscription_item_mrr_updated',
|
|
@@ -126,20 +136,25 @@ declare module 'chargebee' {
|
|
|
126
136
|
OmnichannelSubscriptionItemCancellationScheduled = 'omnichannel_subscription_item_cancellation_scheduled',
|
|
127
137
|
OmnichannelSubscriptionItemGracePeriodExpired = 'omnichannel_subscription_item_grace_period_expired',
|
|
128
138
|
CouponCodesAdded = 'coupon_codes_added',
|
|
139
|
+
EmailMessageReceived = 'email_message_received',
|
|
129
140
|
GiftCancelled = 'gift_cancelled',
|
|
130
141
|
OrderCancelled = 'order_cancelled',
|
|
131
142
|
CouponDeleted = 'coupon_deleted',
|
|
132
143
|
SubscriptionScheduledChangesRemoved = 'subscription_scheduled_changes_removed',
|
|
133
144
|
PendingInvoiceCreated = 'pending_invoice_created',
|
|
145
|
+
CollectionsPaymentPromiseBroken = 'collections_payment_promise_broken',
|
|
134
146
|
EntitlementOverridesAutoRemoved = 'entitlement_overrides_auto_removed',
|
|
147
|
+
PriceRampDeleted = 'price_ramp_deleted',
|
|
135
148
|
BusinessRulesetActivated = 'business_ruleset_activated',
|
|
136
149
|
OmnichannelSubscriptionItemUpgraded = 'omnichannel_subscription_item_upgraded',
|
|
137
150
|
SubscriptionBusinessEntityChanged = 'subscription_business_entity_changed',
|
|
138
151
|
OmnichannelOneTimeOrderCreated = 'omnichannel_one_time_order_created',
|
|
152
|
+
CollectionsPaymentPromiseCreated = 'collections_payment_promise_created',
|
|
139
153
|
PaymentSourceDeleted = 'payment_source_deleted',
|
|
140
154
|
OmnichannelSubscriptionItemCancelled = 'omnichannel_subscription_item_cancelled',
|
|
141
155
|
QuoteDeleted = 'quote_deleted',
|
|
142
156
|
InvoiceUpdated = 'invoice_updated',
|
|
157
|
+
PrivateNoteAdded = 'private_note_added',
|
|
143
158
|
SubscriptionAdvanceInvoiceScheduleRemoved = 'subscription_advance_invoice_schedule_removed',
|
|
144
159
|
CardDeleted = 'card_deleted',
|
|
145
160
|
OrderReadyToShip = 'order_ready_to_ship',
|
|
@@ -155,6 +170,7 @@ declare module 'chargebee' {
|
|
|
155
170
|
CardAdded = 'card_added',
|
|
156
171
|
CouponCreated = 'coupon_created',
|
|
157
172
|
RuleDeleted = 'rule_deleted',
|
|
173
|
+
CollectionsDisputeCreated = 'collections_dispute_created',
|
|
158
174
|
ItemPriceEntitlementsUpdated = 'item_price_entitlements_updated',
|
|
159
175
|
ItemPriceDeleted = 'item_price_deleted',
|
|
160
176
|
VirtualBankAccountDeleted = 'virtual_bank_account_deleted',
|
|
@@ -166,6 +182,7 @@ declare module 'chargebee' {
|
|
|
166
182
|
PaymentSourceAdded = 'payment_source_added',
|
|
167
183
|
SubscriptionMovedIn = 'subscription_moved_in',
|
|
168
184
|
LedgerUpdated = 'ledger_updated',
|
|
185
|
+
CollectionsPaymentPromiseCancelled = 'collections_payment_promise_cancelled',
|
|
169
186
|
ItemPriceCreated = 'item_price_created',
|
|
170
187
|
SubscriptionScheduledCancellationRemoved = 'subscription_scheduled_cancellation_removed',
|
|
171
188
|
PaymentRefunded = 'payment_refunded',
|
|
@@ -186,6 +203,7 @@ declare module 'chargebee' {
|
|
|
186
203
|
PaymentSourceExpiring = 'payment_source_expiring',
|
|
187
204
|
SubscriptionReactivated = 'subscription_reactivated',
|
|
188
205
|
OrderUpdated = 'order_updated',
|
|
206
|
+
CollectionsDisputeWithdrawn = 'collections_dispute_withdrawn',
|
|
189
207
|
SubscriptionScheduledPauseRemoved = 'subscription_scheduled_pause_removed',
|
|
190
208
|
SubscriptionCancellationReminder = 'subscription_cancellation_reminder',
|
|
191
209
|
SubscriptionCreatedWithBackdating = 'subscription_created_with_backdating',
|
|
@@ -197,6 +215,7 @@ declare module 'chargebee' {
|
|
|
197
215
|
OmnichannelSubscriptionItemGracePeriodStarted = 'omnichannel_subscription_item_grace_period_started',
|
|
198
216
|
CardExpiryReminder = 'card_expiry_reminder',
|
|
199
217
|
TokenCreated = 'token_created',
|
|
218
|
+
CollectionsReminderSequencePaused = 'collections_reminder_sequence_paused',
|
|
200
219
|
PaymentSourceBusinessEntityChanged = 'payment_source_business_entity_changed',
|
|
201
220
|
PromotionalCreditsAdded = 'promotional_credits_added',
|
|
202
221
|
SubscriptionRampUpdated = 'subscription_ramp_updated',
|
|
@@ -214,6 +233,7 @@ declare module 'chargebee' {
|
|
|
214
233
|
AttachedItemDeleted = 'attached_item_deleted',
|
|
215
234
|
OmnichannelSubscriptionItemScheduledCancellationRemoved = 'omnichannel_subscription_item_scheduled_cancellation_removed',
|
|
216
235
|
ItemUpdated = 'item_updated',
|
|
236
|
+
CollectionsReminderSequenceResumed = 'collections_reminder_sequence_resumed',
|
|
217
237
|
CouponSetCreated = 'coupon_set_created',
|
|
218
238
|
PaymentIntentUpdated = 'payment_intent_updated',
|
|
219
239
|
OrderResent = 'order_resent',
|
|
@@ -223,6 +243,7 @@ declare module 'chargebee' {
|
|
|
223
243
|
DifferentialPriceDeleted = 'differential_price_deleted',
|
|
224
244
|
BusinessRuleActivated = 'business_rule_activated',
|
|
225
245
|
SubscriptionItemsRenewed = 'subscription_items_renewed',
|
|
246
|
+
PaymentSchedulesCancelled = 'payment_schedules_cancelled',
|
|
226
247
|
RuleCreated = 'rule_created',
|
|
227
248
|
ContractTermCancelled = 'contract_term_cancelled',
|
|
228
249
|
ContractTermRenewed = 'contract_term_renewed',
|
|
@@ -239,6 +260,7 @@ declare module 'chargebee' {
|
|
|
239
260
|
BusinessEntityDeleted = 'business_entity_deleted',
|
|
240
261
|
GrantBlocksUpdated = 'grant_blocks_updated',
|
|
241
262
|
AuthorizationVoided = 'authorization_voided',
|
|
263
|
+
CollectionsReminderSequenceCompleted = 'collections_reminder_sequence_completed',
|
|
242
264
|
SubscriptionRampDeleted = 'subscription_ramp_deleted',
|
|
243
265
|
PlanDeleted = 'plan_deleted',
|
|
244
266
|
AddonDeleted = 'addon_deleted',
|
|
@@ -262,6 +284,8 @@ declare module 'chargebee' {
|
|
|
262
284
|
[WebhookEventType.UnbilledChargesDeleted]: UnbilledChargesDeletedContent;
|
|
263
285
|
[WebhookEventType.CouponUpdated]: CouponUpdatedContent;
|
|
264
286
|
[WebhookEventType.GrantBlocksCreated]: GrantBlocksCreatedContent;
|
|
287
|
+
[WebhookEventType.ChargebackLost]: ChargebackLostContent;
|
|
288
|
+
[WebhookEventType.PriceRampUpdated]: PriceRampUpdatedContent;
|
|
265
289
|
[WebhookEventType.OmnichannelSubscriptionItemReactivated]: OmnichannelSubscriptionItemReactivatedContent;
|
|
266
290
|
[WebhookEventType.OmnichannelSubscriptionItemRenewed]: OmnichannelSubscriptionItemRenewedContent;
|
|
267
291
|
[WebhookEventType.UnbilledChargesCreated]: UnbilledChargesCreatedContent;
|
|
@@ -280,7 +304,6 @@ declare module 'chargebee' {
|
|
|
280
304
|
[WebhookEventType.SubscriptionShippingAddressUpdated]: SubscriptionShippingAddressUpdatedContent;
|
|
281
305
|
[WebhookEventType.VoucherCreateFailed]: VoucherCreateFailedContent;
|
|
282
306
|
[WebhookEventType.GiftClaimed]: GiftClaimedContent;
|
|
283
|
-
[WebhookEventType.BusinessRulesApplied]: BusinessRulesAppliedContent;
|
|
284
307
|
[WebhookEventType.CustomerDeleted]: CustomerDeletedContent;
|
|
285
308
|
[WebhookEventType.RefundInitiated]: RefundInitiatedContent;
|
|
286
309
|
[WebhookEventType.InvoiceGeneratedWithBackdating]: InvoiceGeneratedWithBackdatingContent;
|
|
@@ -306,6 +329,7 @@ declare module 'chargebee' {
|
|
|
306
329
|
[WebhookEventType.ContractTermTerminated]: ContractTermTerminatedContent;
|
|
307
330
|
[WebhookEventType.ItemFamilyUpdated]: ItemFamilyUpdatedContent;
|
|
308
331
|
[WebhookEventType.OrderCreated]: OrderCreatedContent;
|
|
332
|
+
[WebhookEventType.RefundFailed]: RefundFailedContent;
|
|
309
333
|
[WebhookEventType.PriceVariantDeleted]: PriceVariantDeletedContent;
|
|
310
334
|
[WebhookEventType.AlertStatusChanged]: AlertStatusChangedContent;
|
|
311
335
|
[WebhookEventType.SubscriptionMovementFailed]: SubscriptionMovementFailedContent;
|
|
@@ -314,6 +338,7 @@ declare module 'chargebee' {
|
|
|
314
338
|
[WebhookEventType.SubscriptionAdvanceInvoiceScheduleUpdated]: SubscriptionAdvanceInvoiceScheduleUpdatedContent;
|
|
315
339
|
[WebhookEventType.ItemDeleted]: ItemDeletedContent;
|
|
316
340
|
[WebhookEventType.SubscriptionRampDrafted]: SubscriptionRampDraftedContent;
|
|
341
|
+
[WebhookEventType.ChargebackInitiated]: ChargebackInitiatedContent;
|
|
317
342
|
[WebhookEventType.BusinessRuleCreated]: BusinessRuleCreatedContent;
|
|
318
343
|
[WebhookEventType.VaultTokenUpdated]: VaultTokenUpdatedContent;
|
|
319
344
|
[WebhookEventType.DunningUpdated]: DunningUpdatedContent;
|
|
@@ -326,10 +351,12 @@ declare module 'chargebee' {
|
|
|
326
351
|
[WebhookEventType.SubscriptionCancellationScheduled]: SubscriptionCancellationScheduledContent;
|
|
327
352
|
[WebhookEventType.SubscriptionRenewed]: SubscriptionRenewedContent;
|
|
328
353
|
[WebhookEventType.FeatureUpdated]: FeatureUpdatedContent;
|
|
354
|
+
[WebhookEventType.CollectionsPaymentPromiseFulfilled]: CollectionsPaymentPromiseFulfilledContent;
|
|
329
355
|
[WebhookEventType.FeatureDeleted]: FeatureDeletedContent;
|
|
330
356
|
[WebhookEventType.ItemFamilyCreated]: ItemFamilyCreatedContent;
|
|
331
357
|
[WebhookEventType.OmnichannelSubscriptionItemScheduledChangeRemoved]: OmnichannelSubscriptionItemScheduledChangeRemovedContent;
|
|
332
358
|
[WebhookEventType.OmnichannelSubscriptionItemResumed]: OmnichannelSubscriptionItemResumedContent;
|
|
359
|
+
[WebhookEventType.CollectionsDisputeResolved]: CollectionsDisputeResolvedContent;
|
|
333
360
|
[WebhookEventType.PurchaseCreated]: PurchaseCreatedContent;
|
|
334
361
|
[WebhookEventType.EntitlementOverridesUpdated]: EntitlementOverridesUpdatedContent;
|
|
335
362
|
[WebhookEventType.ItemFamilyDeleted]: ItemFamilyDeletedContent;
|
|
@@ -341,6 +368,7 @@ declare module 'chargebee' {
|
|
|
341
368
|
[WebhookEventType.OmnichannelSubscriptionItemDowngraded]: OmnichannelSubscriptionItemDowngradedContent;
|
|
342
369
|
[WebhookEventType.BusinessRulesetDeactivated]: BusinessRulesetDeactivatedContent;
|
|
343
370
|
[WebhookEventType.PriceVariantUpdated]: PriceVariantUpdatedContent;
|
|
371
|
+
[WebhookEventType.CollectionsDisputeUpdated]: CollectionsDisputeUpdatedContent;
|
|
344
372
|
[WebhookEventType.PromotionalCreditsDeducted]: PromotionalCreditsDeductedContent;
|
|
345
373
|
[WebhookEventType.SubscriptionRampApplied]: SubscriptionRampAppliedContent;
|
|
346
374
|
[WebhookEventType.BusinessRulesetDeleted]: BusinessRulesetDeletedContent;
|
|
@@ -354,8 +382,10 @@ declare module 'chargebee' {
|
|
|
354
382
|
[WebhookEventType.ItemCreated]: ItemCreatedContent;
|
|
355
383
|
[WebhookEventType.BusinessRulesetCreated]: BusinessRulesetCreatedContent;
|
|
356
384
|
[WebhookEventType.TransactionUpdated]: TransactionUpdatedContent;
|
|
385
|
+
[WebhookEventType.CollectionsPaymentPromiseUpdated]: CollectionsPaymentPromiseUpdatedContent;
|
|
357
386
|
[WebhookEventType.MrrUpdated]: MrrUpdatedContent;
|
|
358
387
|
[WebhookEventType.UnbilledChargesInvoiced]: UnbilledChargesInvoicedContent;
|
|
388
|
+
[WebhookEventType.ChargebackWon]: ChargebackWonContent;
|
|
359
389
|
[WebhookEventType.ItemPriceUpdated]: ItemPriceUpdatedContent;
|
|
360
390
|
[WebhookEventType.CouponCodesUpdated]: CouponCodesUpdatedContent;
|
|
361
391
|
[WebhookEventType.VirtualBankAccountUpdated]: VirtualBankAccountUpdatedContent;
|
|
@@ -368,6 +398,8 @@ declare module 'chargebee' {
|
|
|
368
398
|
[WebhookEventType.PaymentSchedulesUpdated]: PaymentSchedulesUpdatedContent;
|
|
369
399
|
[WebhookEventType.OmnichannelSubscriptionItemExpired]: OmnichannelSubscriptionItemExpiredContent;
|
|
370
400
|
[WebhookEventType.CardUpdated]: CardUpdatedContent;
|
|
401
|
+
[WebhookEventType.PriceRampCreated]: PriceRampCreatedContent;
|
|
402
|
+
[WebhookEventType.CollectionsReminderSequenceCreated]: CollectionsReminderSequenceCreatedContent;
|
|
371
403
|
[WebhookEventType.CustomerCreated]: CustomerCreatedContent;
|
|
372
404
|
[WebhookEventType.SubscriptionRenewalReminder]: SubscriptionRenewalReminderContent;
|
|
373
405
|
[WebhookEventType.OmnichannelSubscriptionItemMrrUpdated]: OmnichannelSubscriptionItemMrrUpdatedContent;
|
|
@@ -376,20 +408,25 @@ declare module 'chargebee' {
|
|
|
376
408
|
[WebhookEventType.OmnichannelSubscriptionItemCancellationScheduled]: OmnichannelSubscriptionItemCancellationScheduledContent;
|
|
377
409
|
[WebhookEventType.OmnichannelSubscriptionItemGracePeriodExpired]: OmnichannelSubscriptionItemGracePeriodExpiredContent;
|
|
378
410
|
[WebhookEventType.CouponCodesAdded]: CouponCodesAddedContent;
|
|
411
|
+
[WebhookEventType.EmailMessageReceived]: EmailMessageReceivedContent;
|
|
379
412
|
[WebhookEventType.GiftCancelled]: GiftCancelledContent;
|
|
380
413
|
[WebhookEventType.OrderCancelled]: OrderCancelledContent;
|
|
381
414
|
[WebhookEventType.CouponDeleted]: CouponDeletedContent;
|
|
382
415
|
[WebhookEventType.SubscriptionScheduledChangesRemoved]: SubscriptionScheduledChangesRemovedContent;
|
|
383
416
|
[WebhookEventType.PendingInvoiceCreated]: PendingInvoiceCreatedContent;
|
|
417
|
+
[WebhookEventType.CollectionsPaymentPromiseBroken]: CollectionsPaymentPromiseBrokenContent;
|
|
384
418
|
[WebhookEventType.EntitlementOverridesAutoRemoved]: EntitlementOverridesAutoRemovedContent;
|
|
419
|
+
[WebhookEventType.PriceRampDeleted]: PriceRampDeletedContent;
|
|
385
420
|
[WebhookEventType.BusinessRulesetActivated]: BusinessRulesetActivatedContent;
|
|
386
421
|
[WebhookEventType.OmnichannelSubscriptionItemUpgraded]: OmnichannelSubscriptionItemUpgradedContent;
|
|
387
422
|
[WebhookEventType.SubscriptionBusinessEntityChanged]: SubscriptionBusinessEntityChangedContent;
|
|
388
423
|
[WebhookEventType.OmnichannelOneTimeOrderCreated]: OmnichannelOneTimeOrderCreatedContent;
|
|
424
|
+
[WebhookEventType.CollectionsPaymentPromiseCreated]: CollectionsPaymentPromiseCreatedContent;
|
|
389
425
|
[WebhookEventType.PaymentSourceDeleted]: PaymentSourceDeletedContent;
|
|
390
426
|
[WebhookEventType.OmnichannelSubscriptionItemCancelled]: OmnichannelSubscriptionItemCancelledContent;
|
|
391
427
|
[WebhookEventType.QuoteDeleted]: QuoteDeletedContent;
|
|
392
428
|
[WebhookEventType.InvoiceUpdated]: InvoiceUpdatedContent;
|
|
429
|
+
[WebhookEventType.PrivateNoteAdded]: PrivateNoteAddedContent;
|
|
393
430
|
[WebhookEventType.SubscriptionAdvanceInvoiceScheduleRemoved]: SubscriptionAdvanceInvoiceScheduleRemovedContent;
|
|
394
431
|
[WebhookEventType.CardDeleted]: CardDeletedContent;
|
|
395
432
|
[WebhookEventType.OrderReadyToShip]: OrderReadyToShipContent;
|
|
@@ -405,6 +442,7 @@ declare module 'chargebee' {
|
|
|
405
442
|
[WebhookEventType.CardAdded]: CardAddedContent;
|
|
406
443
|
[WebhookEventType.CouponCreated]: CouponCreatedContent;
|
|
407
444
|
[WebhookEventType.RuleDeleted]: RuleDeletedContent;
|
|
445
|
+
[WebhookEventType.CollectionsDisputeCreated]: CollectionsDisputeCreatedContent;
|
|
408
446
|
[WebhookEventType.ItemPriceEntitlementsUpdated]: ItemPriceEntitlementsUpdatedContent;
|
|
409
447
|
[WebhookEventType.ItemPriceDeleted]: ItemPriceDeletedContent;
|
|
410
448
|
[WebhookEventType.VirtualBankAccountDeleted]: VirtualBankAccountDeletedContent;
|
|
@@ -416,6 +454,7 @@ declare module 'chargebee' {
|
|
|
416
454
|
[WebhookEventType.PaymentSourceAdded]: PaymentSourceAddedContent;
|
|
417
455
|
[WebhookEventType.SubscriptionMovedIn]: SubscriptionMovedInContent;
|
|
418
456
|
[WebhookEventType.LedgerUpdated]: LedgerUpdatedContent;
|
|
457
|
+
[WebhookEventType.CollectionsPaymentPromiseCancelled]: CollectionsPaymentPromiseCancelledContent;
|
|
419
458
|
[WebhookEventType.ItemPriceCreated]: ItemPriceCreatedContent;
|
|
420
459
|
[WebhookEventType.SubscriptionScheduledCancellationRemoved]: SubscriptionScheduledCancellationRemovedContent;
|
|
421
460
|
[WebhookEventType.PaymentRefunded]: PaymentRefundedContent;
|
|
@@ -436,6 +475,7 @@ declare module 'chargebee' {
|
|
|
436
475
|
[WebhookEventType.PaymentSourceExpiring]: PaymentSourceExpiringContent;
|
|
437
476
|
[WebhookEventType.SubscriptionReactivated]: SubscriptionReactivatedContent;
|
|
438
477
|
[WebhookEventType.OrderUpdated]: OrderUpdatedContent;
|
|
478
|
+
[WebhookEventType.CollectionsDisputeWithdrawn]: CollectionsDisputeWithdrawnContent;
|
|
439
479
|
[WebhookEventType.SubscriptionScheduledPauseRemoved]: SubscriptionScheduledPauseRemovedContent;
|
|
440
480
|
[WebhookEventType.SubscriptionCancellationReminder]: SubscriptionCancellationReminderContent;
|
|
441
481
|
[WebhookEventType.SubscriptionCreatedWithBackdating]: SubscriptionCreatedWithBackdatingContent;
|
|
@@ -447,6 +487,7 @@ declare module 'chargebee' {
|
|
|
447
487
|
[WebhookEventType.OmnichannelSubscriptionItemGracePeriodStarted]: OmnichannelSubscriptionItemGracePeriodStartedContent;
|
|
448
488
|
[WebhookEventType.CardExpiryReminder]: CardExpiryReminderContent;
|
|
449
489
|
[WebhookEventType.TokenCreated]: TokenCreatedContent;
|
|
490
|
+
[WebhookEventType.CollectionsReminderSequencePaused]: CollectionsReminderSequencePausedContent;
|
|
450
491
|
[WebhookEventType.PaymentSourceBusinessEntityChanged]: PaymentSourceBusinessEntityChangedContent;
|
|
451
492
|
[WebhookEventType.PromotionalCreditsAdded]: PromotionalCreditsAddedContent;
|
|
452
493
|
[WebhookEventType.SubscriptionRampUpdated]: SubscriptionRampUpdatedContent;
|
|
@@ -464,6 +505,7 @@ declare module 'chargebee' {
|
|
|
464
505
|
[WebhookEventType.AttachedItemDeleted]: AttachedItemDeletedContent;
|
|
465
506
|
[WebhookEventType.OmnichannelSubscriptionItemScheduledCancellationRemoved]: OmnichannelSubscriptionItemScheduledCancellationRemovedContent;
|
|
466
507
|
[WebhookEventType.ItemUpdated]: ItemUpdatedContent;
|
|
508
|
+
[WebhookEventType.CollectionsReminderSequenceResumed]: CollectionsReminderSequenceResumedContent;
|
|
467
509
|
[WebhookEventType.CouponSetCreated]: CouponSetCreatedContent;
|
|
468
510
|
[WebhookEventType.PaymentIntentUpdated]: PaymentIntentUpdatedContent;
|
|
469
511
|
[WebhookEventType.OrderResent]: OrderResentContent;
|
|
@@ -473,6 +515,7 @@ declare module 'chargebee' {
|
|
|
473
515
|
[WebhookEventType.DifferentialPriceDeleted]: DifferentialPriceDeletedContent;
|
|
474
516
|
[WebhookEventType.BusinessRuleActivated]: BusinessRuleActivatedContent;
|
|
475
517
|
[WebhookEventType.SubscriptionItemsRenewed]: SubscriptionItemsRenewedContent;
|
|
518
|
+
[WebhookEventType.PaymentSchedulesCancelled]: PaymentSchedulesCancelledContent;
|
|
476
519
|
[WebhookEventType.RuleCreated]: RuleCreatedContent;
|
|
477
520
|
[WebhookEventType.ContractTermCancelled]: ContractTermCancelledContent;
|
|
478
521
|
[WebhookEventType.ContractTermRenewed]: ContractTermRenewedContent;
|
|
@@ -489,6 +532,7 @@ declare module 'chargebee' {
|
|
|
489
532
|
[WebhookEventType.BusinessEntityDeleted]: BusinessEntityDeletedContent;
|
|
490
533
|
[WebhookEventType.GrantBlocksUpdated]: GrantBlocksUpdatedContent;
|
|
491
534
|
[WebhookEventType.AuthorizationVoided]: AuthorizationVoidedContent;
|
|
535
|
+
[WebhookEventType.CollectionsReminderSequenceCompleted]: CollectionsReminderSequenceCompletedContent;
|
|
492
536
|
[WebhookEventType.SubscriptionRampDeleted]: SubscriptionRampDeletedContent;
|
|
493
537
|
[WebhookEventType.PlanDeleted]: PlanDeletedContent;
|
|
494
538
|
[WebhookEventType.AddonDeleted]: AddonDeletedContent;
|
|
@@ -561,6 +605,20 @@ declare module 'chargebee' {
|
|
|
561
605
|
export type GrantBlocksCreatedContent = {
|
|
562
606
|
grant_block: GrantBlock[];
|
|
563
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
|
+
};
|
|
564
622
|
export type OmnichannelSubscriptionItemReactivatedContent = {
|
|
565
623
|
omnichannel_subscription: OmnichannelSubscription;
|
|
566
624
|
|
|
@@ -683,9 +741,6 @@ declare module 'chargebee' {
|
|
|
683
741
|
export type GiftClaimedContent = {
|
|
684
742
|
gift: Gift;
|
|
685
743
|
};
|
|
686
|
-
export type BusinessRulesAppliedContent = {
|
|
687
|
-
applied_business_rule: AppliedBusinessRule;
|
|
688
|
-
};
|
|
689
744
|
export type CustomerDeletedContent = {
|
|
690
745
|
customer: Customer;
|
|
691
746
|
|
|
@@ -817,6 +872,19 @@ declare module 'chargebee' {
|
|
|
817
872
|
export type OrderCreatedContent = {
|
|
818
873
|
order: Order;
|
|
819
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
|
+
};
|
|
820
888
|
export type PriceVariantDeletedContent = {
|
|
821
889
|
price_variant: PriceVariant;
|
|
822
890
|
|
|
@@ -851,6 +919,15 @@ declare module 'chargebee' {
|
|
|
851
919
|
export type SubscriptionRampDraftedContent = {
|
|
852
920
|
ramp: Ramp;
|
|
853
921
|
};
|
|
922
|
+
export type ChargebackInitiatedContent = {
|
|
923
|
+
dispute: Dispute;
|
|
924
|
+
|
|
925
|
+
transaction: Transaction;
|
|
926
|
+
|
|
927
|
+
customer: Customer;
|
|
928
|
+
|
|
929
|
+
subscription: Subscription;
|
|
930
|
+
};
|
|
854
931
|
export type BusinessRuleCreatedContent = {
|
|
855
932
|
business_rule: BusinessRule;
|
|
856
933
|
};
|
|
@@ -915,6 +992,9 @@ declare module 'chargebee' {
|
|
|
915
992
|
|
|
916
993
|
metadata: Metadata;
|
|
917
994
|
};
|
|
995
|
+
export type CollectionsPaymentPromiseFulfilledContent = {
|
|
996
|
+
collections_payment_promise: CollectionsPaymentPromise;
|
|
997
|
+
};
|
|
918
998
|
export type FeatureDeletedContent = {
|
|
919
999
|
feature: Feature;
|
|
920
1000
|
|
|
@@ -941,6 +1021,9 @@ declare module 'chargebee' {
|
|
|
941
1021
|
|
|
942
1022
|
customer: Customer;
|
|
943
1023
|
};
|
|
1024
|
+
export type CollectionsDisputeResolvedContent = {
|
|
1025
|
+
collections_dispute: CollectionsDispute;
|
|
1026
|
+
};
|
|
944
1027
|
export type PurchaseCreatedContent = {
|
|
945
1028
|
purchase: Purchase;
|
|
946
1029
|
};
|
|
@@ -998,6 +1081,9 @@ declare module 'chargebee' {
|
|
|
998
1081
|
|
|
999
1082
|
attribute: Attribute;
|
|
1000
1083
|
};
|
|
1084
|
+
export type CollectionsDisputeUpdatedContent = {
|
|
1085
|
+
collections_dispute: CollectionsDispute;
|
|
1086
|
+
};
|
|
1001
1087
|
export type PromotionalCreditsDeductedContent = {
|
|
1002
1088
|
customer: Customer;
|
|
1003
1089
|
|
|
@@ -1065,6 +1151,9 @@ declare module 'chargebee' {
|
|
|
1065
1151
|
export type TransactionUpdatedContent = {
|
|
1066
1152
|
transaction: Transaction;
|
|
1067
1153
|
};
|
|
1154
|
+
export type CollectionsPaymentPromiseUpdatedContent = {
|
|
1155
|
+
collections_payment_promise: CollectionsPaymentPromise;
|
|
1156
|
+
};
|
|
1068
1157
|
export type MrrUpdatedContent = {
|
|
1069
1158
|
subscription: Subscription;
|
|
1070
1159
|
};
|
|
@@ -1073,6 +1162,15 @@ declare module 'chargebee' {
|
|
|
1073
1162
|
|
|
1074
1163
|
invoice: Invoice;
|
|
1075
1164
|
};
|
|
1165
|
+
export type ChargebackWonContent = {
|
|
1166
|
+
dispute: Dispute;
|
|
1167
|
+
|
|
1168
|
+
transaction: Transaction;
|
|
1169
|
+
|
|
1170
|
+
customer: Customer;
|
|
1171
|
+
|
|
1172
|
+
subscription: Subscription;
|
|
1173
|
+
};
|
|
1076
1174
|
export type ItemPriceUpdatedContent = {
|
|
1077
1175
|
item_price: ItemPrice;
|
|
1078
1176
|
};
|
|
@@ -1141,6 +1239,14 @@ declare module 'chargebee' {
|
|
|
1141
1239
|
|
|
1142
1240
|
card: Card;
|
|
1143
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
|
+
};
|
|
1144
1250
|
export type CustomerCreatedContent = {
|
|
1145
1251
|
customer: Customer;
|
|
1146
1252
|
|
|
@@ -1189,6 +1295,9 @@ declare module 'chargebee' {
|
|
|
1189
1295
|
|
|
1190
1296
|
coupon_set: CouponSet;
|
|
1191
1297
|
};
|
|
1298
|
+
export type EmailMessageReceivedContent = {
|
|
1299
|
+
email_message: EmailMessage;
|
|
1300
|
+
};
|
|
1192
1301
|
export type GiftCancelledContent = {
|
|
1193
1302
|
gift: Gift;
|
|
1194
1303
|
};
|
|
@@ -1210,6 +1319,9 @@ declare module 'chargebee' {
|
|
|
1210
1319
|
export type PendingInvoiceCreatedContent = {
|
|
1211
1320
|
invoice: Invoice;
|
|
1212
1321
|
};
|
|
1322
|
+
export type CollectionsPaymentPromiseBrokenContent = {
|
|
1323
|
+
collections_payment_promise: CollectionsPaymentPromise;
|
|
1324
|
+
};
|
|
1213
1325
|
export type EntitlementOverridesAutoRemovedContent = {
|
|
1214
1326
|
feature: Feature;
|
|
1215
1327
|
|
|
@@ -1219,6 +1331,11 @@ declare module 'chargebee' {
|
|
|
1219
1331
|
|
|
1220
1332
|
impacted_subscription: ImpactedSubscription;
|
|
1221
1333
|
};
|
|
1334
|
+
export type PriceRampDeletedContent = {
|
|
1335
|
+
price_ramp: PriceRamp;
|
|
1336
|
+
|
|
1337
|
+
ramp_interval: RampInterval;
|
|
1338
|
+
};
|
|
1222
1339
|
export type BusinessRulesetActivatedContent = {
|
|
1223
1340
|
business_ruleset: BusinessRuleset;
|
|
1224
1341
|
};
|
|
@@ -1247,6 +1364,9 @@ declare module 'chargebee' {
|
|
|
1247
1364
|
|
|
1248
1365
|
customer: Customer;
|
|
1249
1366
|
};
|
|
1367
|
+
export type CollectionsPaymentPromiseCreatedContent = {
|
|
1368
|
+
collections_payment_promise: CollectionsPaymentPromise;
|
|
1369
|
+
};
|
|
1250
1370
|
export type PaymentSourceDeletedContent = {
|
|
1251
1371
|
customer: Customer;
|
|
1252
1372
|
|
|
@@ -1265,6 +1385,9 @@ declare module 'chargebee' {
|
|
|
1265
1385
|
export type InvoiceUpdatedContent = {
|
|
1266
1386
|
invoice: Invoice;
|
|
1267
1387
|
};
|
|
1388
|
+
export type PrivateNoteAddedContent = {
|
|
1389
|
+
private_note: PrivateNote;
|
|
1390
|
+
};
|
|
1268
1391
|
export type SubscriptionAdvanceInvoiceScheduleRemovedContent = {
|
|
1269
1392
|
subscription: Subscription;
|
|
1270
1393
|
|
|
@@ -1350,6 +1473,9 @@ declare module 'chargebee' {
|
|
|
1350
1473
|
export type RuleDeletedContent = {
|
|
1351
1474
|
rule: Rule;
|
|
1352
1475
|
};
|
|
1476
|
+
export type CollectionsDisputeCreatedContent = {
|
|
1477
|
+
collections_dispute: CollectionsDispute;
|
|
1478
|
+
};
|
|
1353
1479
|
export type ItemPriceEntitlementsUpdatedContent = {
|
|
1354
1480
|
feature: Feature;
|
|
1355
1481
|
|
|
@@ -1413,6 +1539,9 @@ declare module 'chargebee' {
|
|
|
1413
1539
|
|
|
1414
1540
|
ledger_entry: LedgerEntry[];
|
|
1415
1541
|
};
|
|
1542
|
+
export type CollectionsPaymentPromiseCancelledContent = {
|
|
1543
|
+
collections_payment_promise: CollectionsPaymentPromise;
|
|
1544
|
+
};
|
|
1416
1545
|
export type ItemPriceCreatedContent = {
|
|
1417
1546
|
item_price: ItemPrice;
|
|
1418
1547
|
};
|
|
@@ -1533,6 +1662,9 @@ declare module 'chargebee' {
|
|
|
1533
1662
|
export type OrderUpdatedContent = {
|
|
1534
1663
|
order: Order;
|
|
1535
1664
|
};
|
|
1665
|
+
export type CollectionsDisputeWithdrawnContent = {
|
|
1666
|
+
collections_dispute: CollectionsDispute;
|
|
1667
|
+
};
|
|
1536
1668
|
export type SubscriptionScheduledPauseRemovedContent = {
|
|
1537
1669
|
subscription: Subscription;
|
|
1538
1670
|
|
|
@@ -1602,6 +1734,9 @@ declare module 'chargebee' {
|
|
|
1602
1734
|
export type TokenCreatedContent = {
|
|
1603
1735
|
token: Token;
|
|
1604
1736
|
};
|
|
1737
|
+
export type CollectionsReminderSequencePausedContent = {
|
|
1738
|
+
collections_reminder_sequence: CollectionsReminderSequence;
|
|
1739
|
+
};
|
|
1605
1740
|
export type PaymentSourceBusinessEntityChangedContent = {
|
|
1606
1741
|
business_entity_transfer: BusinessEntityTransfer;
|
|
1607
1742
|
|
|
@@ -1669,6 +1804,9 @@ declare module 'chargebee' {
|
|
|
1669
1804
|
export type ItemUpdatedContent = {
|
|
1670
1805
|
item: Item;
|
|
1671
1806
|
};
|
|
1807
|
+
export type CollectionsReminderSequenceResumedContent = {
|
|
1808
|
+
collections_reminder_sequence: CollectionsReminderSequence;
|
|
1809
|
+
};
|
|
1672
1810
|
export type CouponSetCreatedContent = {
|
|
1673
1811
|
coupon: Coupon;
|
|
1674
1812
|
|
|
@@ -1720,6 +1858,9 @@ declare module 'chargebee' {
|
|
|
1720
1858
|
|
|
1721
1859
|
unbilled_charge: UnbilledCharge[];
|
|
1722
1860
|
};
|
|
1861
|
+
export type PaymentSchedulesCancelledContent = {
|
|
1862
|
+
payment_schedule: PaymentSchedule;
|
|
1863
|
+
};
|
|
1723
1864
|
export type RuleCreatedContent = {
|
|
1724
1865
|
rule: Rule;
|
|
1725
1866
|
};
|
|
@@ -1782,6 +1923,9 @@ declare module 'chargebee' {
|
|
|
1782
1923
|
export type AuthorizationVoidedContent = {
|
|
1783
1924
|
transaction: Transaction;
|
|
1784
1925
|
};
|
|
1926
|
+
export type CollectionsReminderSequenceCompletedContent = {
|
|
1927
|
+
collections_reminder_sequence: CollectionsReminderSequence;
|
|
1928
|
+
};
|
|
1785
1929
|
export type SubscriptionRampDeletedContent = {
|
|
1786
1930
|
ramp: Ramp;
|
|
1787
1931
|
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
///<reference path='./../core.d.ts'/>
|
|
2
|
-
///<reference path='./../index.d.ts'/>
|
|
3
|
-
|
|
4
|
-
declare module 'chargebee' {
|
|
5
|
-
export interface AppliedBusinessRule {
|
|
6
|
-
handle: string;
|
|
7
|
-
entity_type: 'cpq_quote';
|
|
8
|
-
entity_id: number;
|
|
9
|
-
entity_version?: number;
|
|
10
|
-
rule_id: string;
|
|
11
|
-
version: number;
|
|
12
|
-
created_at: number;
|
|
13
|
-
modified_at: number;
|
|
14
|
-
}
|
|
15
|
-
}
|