chargebee 3.0.1 → 3.1.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 +65 -0
- package/cjs/environment.js +1 -1
- package/cjs/resources/api_endpoints.js +16 -0
- package/esm/environment.js +1 -1
- package/esm/resources/api_endpoints.js +16 -0
- package/package.json +1 -1
- package/types/core.d.ts +588 -0
- package/types/index.d.ts +172 -0
- package/types/resources/Address.d.ts +71 -0
- package/types/resources/AdvanceInvoiceSchedule.d.ts +29 -0
- package/types/resources/AttachedItem.d.ts +116 -0
- package/types/resources/Attribute.d.ts +9 -0
- package/types/resources/BusinessEntity.d.ts +64 -0
- package/types/resources/BusinessEntityTransfer.d.ts +15 -0
- package/types/resources/Card.d.ts +172 -0
- package/types/resources/Comment.d.ts +92 -0
- package/types/resources/Contact.d.ts +16 -0
- package/types/resources/ContractTerm.d.ts +19 -0
- package/types/resources/Coupon.d.ts +329 -0
- package/types/resources/CouponCode.d.ts +70 -0
- package/types/resources/CouponSet.d.ts +111 -0
- package/types/resources/CreditNote.d.ts +629 -0
- package/types/resources/CreditNoteEstimate.d.ts +143 -0
- package/types/resources/Currency.d.ts +91 -0
- package/types/resources/Customer.d.ts +964 -0
- package/types/resources/CustomerEntitlement.d.ts +36 -0
- package/types/resources/DifferentialPrice.d.ts +144 -0
- package/types/resources/Discount.d.ts +24 -0
- package/types/resources/Download.d.ts +10 -0
- package/types/resources/Entitlement.d.ts +66 -0
- package/types/resources/EntitlementOverride.d.ts +76 -0
- package/types/resources/Estimate.d.ts +1237 -0
- package/types/resources/Event.d.ts +81 -0
- package/types/resources/Export.d.ts +615 -0
- package/types/resources/Feature.d.ts +142 -0
- package/types/resources/GatewayErrorDetail.d.ts +20 -0
- package/types/resources/Gift.d.ts +296 -0
- package/types/resources/Hierarchy.d.ts +12 -0
- package/types/resources/HostedPage.d.ts +1112 -0
- package/types/resources/ImpactedItem.d.ts +20 -0
- package/types/resources/ImpactedItemPrice.d.ts +20 -0
- package/types/resources/ImpactedSubscription.d.ts +20 -0
- package/types/resources/InAppSubscription.d.ts +116 -0
- package/types/resources/Invoice.d.ts +1695 -0
- package/types/resources/InvoiceEstimate.d.ts +143 -0
- package/types/resources/Item.d.ts +208 -0
- package/types/resources/ItemEntitlement.d.ts +103 -0
- package/types/resources/ItemFamily.d.ts +93 -0
- package/types/resources/ItemPrice.d.ts +332 -0
- package/types/resources/Metadata.d.ts +8 -0
- package/types/resources/NonSubscription.d.ts +48 -0
- package/types/resources/OmnichannelSubscription.d.ts +75 -0
- package/types/resources/OmnichannelTransaction.d.ts +16 -0
- package/types/resources/Order.d.ts +586 -0
- package/types/resources/PaymentIntent.d.ts +178 -0
- package/types/resources/PaymentReferenceNumber.d.ts +11 -0
- package/types/resources/PaymentSchedule.d.ts +28 -0
- package/types/resources/PaymentScheduleEstimate.d.ts +25 -0
- package/types/resources/PaymentScheduleScheme.d.ts +67 -0
- package/types/resources/PaymentSource.d.ts +530 -0
- package/types/resources/PaymentVoucher.d.ts +107 -0
- package/types/resources/PortalSession.d.ts +88 -0
- package/types/resources/PriceVariant.d.ts +116 -0
- package/types/resources/PricingPageSession.d.ts +130 -0
- package/types/resources/PromotionalCredit.d.ts +111 -0
- package/types/resources/Purchase.d.ts +202 -0
- package/types/resources/Quote.d.ts +1467 -0
- package/types/resources/QuoteLineGroup.d.ts +136 -0
- package/types/resources/QuotedCharge.d.ts +56 -0
- package/types/resources/QuotedSubscription.d.ts +114 -0
- package/types/resources/Ramp.d.ts +260 -0
- package/types/resources/RecordedPurchase.d.ts +60 -0
- package/types/resources/ResourceMigration.d.ts +36 -0
- package/types/resources/SiteMigrationDetail.d.ts +46 -0
- package/types/resources/Subscription.d.ts +2447 -0
- package/types/resources/SubscriptionEntitlement.d.ts +79 -0
- package/types/resources/SubscriptionEstimate.d.ts +59 -0
- package/types/resources/TaxWithheld.d.ts +19 -0
- package/types/resources/ThirdPartyPaymentMethod.d.ts +11 -0
- package/types/resources/TimeMachine.d.ts +57 -0
- package/types/resources/Token.d.ts +19 -0
- package/types/resources/Transaction.d.ts +316 -0
- package/types/resources/UnbilledCharge.d.ts +209 -0
- package/types/resources/Usage.d.ts +113 -0
- package/types/resources/VirtualBankAccount.d.ts +125 -0
- package/types/resources/filter.d.ts +52 -0
package/types/core.d.ts
ADDED
|
@@ -0,0 +1,588 @@
|
|
|
1
|
+
declare module 'chargebee' {
|
|
2
|
+
export class RequestConfig {
|
|
3
|
+
site?: string;
|
|
4
|
+
apiKey?: string;
|
|
5
|
+
timeout?: number;
|
|
6
|
+
timemachineWaitInMillis?: number;
|
|
7
|
+
exportWaitInMillis?: number;
|
|
8
|
+
}
|
|
9
|
+
export type ChargebeeResponse<T> = T & {
|
|
10
|
+
headers: { [key: string]: string };
|
|
11
|
+
isIdempotencyReplayed?: boolean | string;
|
|
12
|
+
};
|
|
13
|
+
export type ChargebeeRequestHeader = {
|
|
14
|
+
[key: string]: string | undefined;
|
|
15
|
+
'chargebee-idempotency-key'?: string;
|
|
16
|
+
'chargebee-event-email'?: string;
|
|
17
|
+
'chargebee-request-origin-ip'?: string;
|
|
18
|
+
'chargebee-request-origin-user'?: string;
|
|
19
|
+
'chargebee-request-origin-user-encoded'?: string;
|
|
20
|
+
'chargebee-request-origin-device'?: string;
|
|
21
|
+
};
|
|
22
|
+
type AccountHolderTypeEnum = 'individual' | 'company';
|
|
23
|
+
type AccountReceivablesHandlingEnum =
|
|
24
|
+
| 'no_action'
|
|
25
|
+
| 'schedule_payment_collection'
|
|
26
|
+
| 'write_off';
|
|
27
|
+
type AccountTypeEnum =
|
|
28
|
+
| 'checking'
|
|
29
|
+
| 'savings'
|
|
30
|
+
| 'business_checking'
|
|
31
|
+
| 'current';
|
|
32
|
+
type ActionEnum = 'upsert' | 'remove';
|
|
33
|
+
type ApiVersionEnum = 'v1' | 'v2';
|
|
34
|
+
type ApplyOnEnum = 'invoice_amount' | 'specific_item_price';
|
|
35
|
+
type AutoCollectionEnum = 'on' | 'off';
|
|
36
|
+
type AvalaraSaleTypeEnum = 'wholesale' | 'retail' | 'consumed' | 'vendor_use';
|
|
37
|
+
type BillingAlignmentModeEnum = 'immediate' | 'delayed';
|
|
38
|
+
type BillingDateModeEnum = 'using_defaults' | 'manually_set';
|
|
39
|
+
type BillingDayOfWeekModeEnum = 'using_defaults' | 'manually_set';
|
|
40
|
+
type CancelOptionEnum =
|
|
41
|
+
| 'immediately'
|
|
42
|
+
| 'end_of_term'
|
|
43
|
+
| 'specific_date'
|
|
44
|
+
| 'end_of_billing_term';
|
|
45
|
+
type ChangeOptionEnum = 'immediately' | 'end_of_term' | 'specific_date';
|
|
46
|
+
type ChannelEnum = 'web' | 'app_store' | 'play_store';
|
|
47
|
+
type ChargeModelEnum = 'full_charge' | 'prorate';
|
|
48
|
+
type ChargeOnEventEnum =
|
|
49
|
+
| 'subscription_creation'
|
|
50
|
+
| 'subscription_trial_start'
|
|
51
|
+
| 'plan_activation'
|
|
52
|
+
| 'subscription_activation'
|
|
53
|
+
| 'contract_termination'
|
|
54
|
+
| 'on_demand';
|
|
55
|
+
type ChargeOnOptionEnum = 'immediately' | 'on_event';
|
|
56
|
+
type ChargesHandlingEnum = 'invoice_immediately' | 'add_to_unbilled_charges';
|
|
57
|
+
type ContractTermCancelOptionEnum =
|
|
58
|
+
| 'terminate_immediately'
|
|
59
|
+
| 'end_of_contract_term';
|
|
60
|
+
type CreditOptionForCurrentTermChargesEnum = 'none' | 'prorate' | 'full';
|
|
61
|
+
type CreditTypeEnum = 'loyalty_credits' | 'referral_rewards' | 'general';
|
|
62
|
+
type CustomerTypeEnum =
|
|
63
|
+
| 'residential'
|
|
64
|
+
| 'business'
|
|
65
|
+
| 'senior_citizen'
|
|
66
|
+
| 'industrial';
|
|
67
|
+
type DedupeOptionEnum = 'skip' | 'update_existing';
|
|
68
|
+
type DirectDebitSchemeEnum =
|
|
69
|
+
| 'ach'
|
|
70
|
+
| 'bacs'
|
|
71
|
+
| 'sepa_core'
|
|
72
|
+
| 'autogiro'
|
|
73
|
+
| 'becs'
|
|
74
|
+
| 'becs_nz'
|
|
75
|
+
| 'pad'
|
|
76
|
+
| 'not_applicable';
|
|
77
|
+
type DispositionTypeEnum = 'attachment' | 'inline';
|
|
78
|
+
type DunningTypeEnum = 'auto_collect' | 'offline' | 'direct_debit';
|
|
79
|
+
type DurationTypeEnum = 'one_time' | 'forever' | 'limited_period';
|
|
80
|
+
type EcheckTypeEnum = 'web' | 'ppd' | 'ccd';
|
|
81
|
+
type EinvoicingMethodEnum = 'automatic' | 'manual' | 'site_default';
|
|
82
|
+
type EndScheduleOnEnum =
|
|
83
|
+
| 'after_number_of_intervals'
|
|
84
|
+
| 'specific_date'
|
|
85
|
+
| 'subscription_end';
|
|
86
|
+
type EntityCodeEnum =
|
|
87
|
+
| 'a'
|
|
88
|
+
| 'b'
|
|
89
|
+
| 'c'
|
|
90
|
+
| 'd'
|
|
91
|
+
| 'e'
|
|
92
|
+
| 'f'
|
|
93
|
+
| 'g'
|
|
94
|
+
| 'h'
|
|
95
|
+
| 'i'
|
|
96
|
+
| 'j'
|
|
97
|
+
| 'k'
|
|
98
|
+
| 'l'
|
|
99
|
+
| 'm'
|
|
100
|
+
| 'n'
|
|
101
|
+
| 'p'
|
|
102
|
+
| 'q'
|
|
103
|
+
| 'r'
|
|
104
|
+
| 'med1'
|
|
105
|
+
| 'med2';
|
|
106
|
+
type EntityTypeEnum =
|
|
107
|
+
| 'customer'
|
|
108
|
+
| 'subscription'
|
|
109
|
+
| 'coupon'
|
|
110
|
+
| 'plan_item_price'
|
|
111
|
+
| 'addon_item_price'
|
|
112
|
+
| 'charge_item_price'
|
|
113
|
+
| 'invoice'
|
|
114
|
+
| 'quote'
|
|
115
|
+
| 'credit_note'
|
|
116
|
+
| 'transaction'
|
|
117
|
+
| 'plan'
|
|
118
|
+
| 'addon'
|
|
119
|
+
| 'order'
|
|
120
|
+
| 'item_family'
|
|
121
|
+
| 'item'
|
|
122
|
+
| 'item_price'
|
|
123
|
+
| 'plan_item'
|
|
124
|
+
| 'addon_item'
|
|
125
|
+
| 'charge_item'
|
|
126
|
+
| 'plan_price'
|
|
127
|
+
| 'addon_price'
|
|
128
|
+
| 'charge_price'
|
|
129
|
+
| 'differential_price'
|
|
130
|
+
| 'attached_item'
|
|
131
|
+
| 'feature'
|
|
132
|
+
| 'subscription_entitlement'
|
|
133
|
+
| 'item_entitlement'
|
|
134
|
+
| 'business_entity'
|
|
135
|
+
| 'price_variant'
|
|
136
|
+
| 'omnichannel_subscription'
|
|
137
|
+
| 'omnichannel_subscription_item'
|
|
138
|
+
| 'omnichannel_transaction';
|
|
139
|
+
type EventNameEnum = 'cancellation_page_loaded';
|
|
140
|
+
type EventTypeEnum =
|
|
141
|
+
| 'coupon_created'
|
|
142
|
+
| 'coupon_updated'
|
|
143
|
+
| 'coupon_deleted'
|
|
144
|
+
| 'coupon_set_created'
|
|
145
|
+
| 'coupon_set_updated'
|
|
146
|
+
| 'coupon_set_deleted'
|
|
147
|
+
| 'coupon_codes_added'
|
|
148
|
+
| 'coupon_codes_deleted'
|
|
149
|
+
| 'coupon_codes_updated'
|
|
150
|
+
| 'customer_created'
|
|
151
|
+
| 'customer_changed'
|
|
152
|
+
| 'customer_deleted'
|
|
153
|
+
| 'customer_moved_out'
|
|
154
|
+
| 'customer_moved_in'
|
|
155
|
+
| 'promotional_credits_added'
|
|
156
|
+
| 'promotional_credits_deducted'
|
|
157
|
+
| 'subscription_created'
|
|
158
|
+
| 'subscription_created_with_backdating'
|
|
159
|
+
| 'subscription_started'
|
|
160
|
+
| 'subscription_trial_end_reminder'
|
|
161
|
+
| 'subscription_activated'
|
|
162
|
+
| 'subscription_activated_with_backdating'
|
|
163
|
+
| 'subscription_changed'
|
|
164
|
+
| 'subscription_trial_extended'
|
|
165
|
+
| 'mrr_updated'
|
|
166
|
+
| 'subscription_changed_with_backdating'
|
|
167
|
+
| 'subscription_cancellation_scheduled'
|
|
168
|
+
| 'subscription_cancellation_reminder'
|
|
169
|
+
| 'subscription_cancelled'
|
|
170
|
+
| 'subscription_canceled_with_backdating'
|
|
171
|
+
| 'subscription_reactivated'
|
|
172
|
+
| 'subscription_reactivated_with_backdating'
|
|
173
|
+
| 'subscription_renewed'
|
|
174
|
+
| 'subscription_items_renewed'
|
|
175
|
+
| 'subscription_scheduled_cancellation_removed'
|
|
176
|
+
| 'subscription_changes_scheduled'
|
|
177
|
+
| 'subscription_scheduled_changes_removed'
|
|
178
|
+
| 'subscription_shipping_address_updated'
|
|
179
|
+
| 'subscription_deleted'
|
|
180
|
+
| 'subscription_paused'
|
|
181
|
+
| 'subscription_pause_scheduled'
|
|
182
|
+
| 'subscription_scheduled_pause_removed'
|
|
183
|
+
| 'subscription_resumed'
|
|
184
|
+
| 'subscription_resumption_scheduled'
|
|
185
|
+
| 'subscription_scheduled_resumption_removed'
|
|
186
|
+
| 'subscription_advance_invoice_schedule_added'
|
|
187
|
+
| 'subscription_advance_invoice_schedule_updated'
|
|
188
|
+
| 'subscription_advance_invoice_schedule_removed'
|
|
189
|
+
| 'pending_invoice_created'
|
|
190
|
+
| 'pending_invoice_updated'
|
|
191
|
+
| 'invoice_generated'
|
|
192
|
+
| 'invoice_generated_with_backdating'
|
|
193
|
+
| 'invoice_updated'
|
|
194
|
+
| 'invoice_deleted'
|
|
195
|
+
| 'credit_note_created'
|
|
196
|
+
| 'credit_note_created_with_backdating'
|
|
197
|
+
| 'credit_note_updated'
|
|
198
|
+
| 'credit_note_deleted'
|
|
199
|
+
| 'payment_schedules_created'
|
|
200
|
+
| 'payment_schedules_updated'
|
|
201
|
+
| 'payment_schedule_scheme_created'
|
|
202
|
+
| 'payment_schedule_scheme_deleted'
|
|
203
|
+
| 'subscription_renewal_reminder'
|
|
204
|
+
| 'add_usages_reminder'
|
|
205
|
+
| 'transaction_created'
|
|
206
|
+
| 'transaction_updated'
|
|
207
|
+
| 'transaction_deleted'
|
|
208
|
+
| 'payment_succeeded'
|
|
209
|
+
| 'payment_failed'
|
|
210
|
+
| 'payment_refunded'
|
|
211
|
+
| 'payment_initiated'
|
|
212
|
+
| 'refund_initiated'
|
|
213
|
+
| 'authorization_succeeded'
|
|
214
|
+
| 'authorization_voided'
|
|
215
|
+
| 'card_added'
|
|
216
|
+
| 'card_updated'
|
|
217
|
+
| 'card_expiry_reminder'
|
|
218
|
+
| 'card_expired'
|
|
219
|
+
| 'card_deleted'
|
|
220
|
+
| 'payment_source_added'
|
|
221
|
+
| 'payment_source_updated'
|
|
222
|
+
| 'payment_source_deleted'
|
|
223
|
+
| 'payment_source_expiring'
|
|
224
|
+
| 'payment_source_expired'
|
|
225
|
+
| 'payment_source_locally_deleted'
|
|
226
|
+
| 'virtual_bank_account_added'
|
|
227
|
+
| 'virtual_bank_account_updated'
|
|
228
|
+
| 'virtual_bank_account_deleted'
|
|
229
|
+
| 'token_created'
|
|
230
|
+
| 'token_consumed'
|
|
231
|
+
| 'token_expired'
|
|
232
|
+
| 'unbilled_charges_created'
|
|
233
|
+
| 'unbilled_charges_voided'
|
|
234
|
+
| 'unbilled_charges_deleted'
|
|
235
|
+
| 'unbilled_charges_invoiced'
|
|
236
|
+
| 'order_created'
|
|
237
|
+
| 'order_updated'
|
|
238
|
+
| 'order_cancelled'
|
|
239
|
+
| 'order_delivered'
|
|
240
|
+
| 'order_returned'
|
|
241
|
+
| 'order_ready_to_process'
|
|
242
|
+
| 'order_ready_to_ship'
|
|
243
|
+
| 'order_deleted'
|
|
244
|
+
| 'order_resent'
|
|
245
|
+
| 'quote_created'
|
|
246
|
+
| 'quote_updated'
|
|
247
|
+
| 'quote_deleted'
|
|
248
|
+
| 'tax_withheld_recorded'
|
|
249
|
+
| 'tax_withheld_deleted'
|
|
250
|
+
| 'tax_withheld_refunded'
|
|
251
|
+
| 'gift_scheduled'
|
|
252
|
+
| 'gift_unclaimed'
|
|
253
|
+
| 'gift_claimed'
|
|
254
|
+
| 'gift_expired'
|
|
255
|
+
| 'gift_cancelled'
|
|
256
|
+
| 'gift_updated'
|
|
257
|
+
| 'hierarchy_created'
|
|
258
|
+
| 'hierarchy_deleted'
|
|
259
|
+
| 'payment_intent_created'
|
|
260
|
+
| 'payment_intent_updated'
|
|
261
|
+
| 'contract_term_created'
|
|
262
|
+
| 'contract_term_renewed'
|
|
263
|
+
| 'contract_term_terminated'
|
|
264
|
+
| 'contract_term_completed'
|
|
265
|
+
| 'contract_term_cancelled'
|
|
266
|
+
| 'item_family_created'
|
|
267
|
+
| 'item_family_updated'
|
|
268
|
+
| 'item_family_deleted'
|
|
269
|
+
| 'item_created'
|
|
270
|
+
| 'item_updated'
|
|
271
|
+
| 'item_deleted'
|
|
272
|
+
| 'item_price_created'
|
|
273
|
+
| 'item_price_updated'
|
|
274
|
+
| 'item_price_deleted'
|
|
275
|
+
| 'attached_item_created'
|
|
276
|
+
| 'attached_item_updated'
|
|
277
|
+
| 'attached_item_deleted'
|
|
278
|
+
| 'differential_price_created'
|
|
279
|
+
| 'differential_price_updated'
|
|
280
|
+
| 'differential_price_deleted'
|
|
281
|
+
| 'feature_created'
|
|
282
|
+
| 'feature_updated'
|
|
283
|
+
| 'feature_deleted'
|
|
284
|
+
| 'feature_activated'
|
|
285
|
+
| 'feature_reactivated'
|
|
286
|
+
| 'feature_archived'
|
|
287
|
+
| 'item_entitlements_updated'
|
|
288
|
+
| 'entitlement_overrides_updated'
|
|
289
|
+
| 'entitlement_overrides_removed'
|
|
290
|
+
| 'item_entitlements_removed'
|
|
291
|
+
| 'entitlement_overrides_auto_removed'
|
|
292
|
+
| 'subscription_entitlements_created'
|
|
293
|
+
| 'business_entity_created'
|
|
294
|
+
| 'business_entity_updated'
|
|
295
|
+
| 'business_entity_deleted'
|
|
296
|
+
| 'customer_business_entity_changed'
|
|
297
|
+
| 'subscription_business_entity_changed'
|
|
298
|
+
| 'purchase_created'
|
|
299
|
+
| 'voucher_created'
|
|
300
|
+
| 'voucher_expired'
|
|
301
|
+
| 'voucher_create_failed'
|
|
302
|
+
| 'item_price_entitlements_updated'
|
|
303
|
+
| 'item_price_entitlements_removed'
|
|
304
|
+
| 'subscription_ramp_created'
|
|
305
|
+
| 'subscription_ramp_deleted'
|
|
306
|
+
| 'subscription_ramp_applied'
|
|
307
|
+
| 'subscription_ramp_drafted'
|
|
308
|
+
| 'subscription_ramp_updated'
|
|
309
|
+
| 'price_variant_created'
|
|
310
|
+
| 'price_variant_updated'
|
|
311
|
+
| 'price_variant_deleted'
|
|
312
|
+
| 'customer_entitlements_updated'
|
|
313
|
+
| 'subscription_moved_in'
|
|
314
|
+
| 'subscription_moved_out'
|
|
315
|
+
| 'subscription_movement_failed'
|
|
316
|
+
| 'omnichannel_subscription_created'
|
|
317
|
+
| 'omnichannel_subscription_item_renewed'
|
|
318
|
+
| 'omnichannel_subscription_item_downgrade_scheduled'
|
|
319
|
+
| 'omnichannel_subscription_item_scheduled_downgrade_removed'
|
|
320
|
+
| 'omnichannel_subscription_item_downgraded'
|
|
321
|
+
| 'omnichannel_subscription_item_expired'
|
|
322
|
+
| 'omnichannel_subscription_item_cancellation_scheduled'
|
|
323
|
+
| 'omnichannel_subscription_item_scheduled_cancellation_removed'
|
|
324
|
+
| 'omnichannel_subscription_item_resubscribed'
|
|
325
|
+
| 'omnichannel_subscription_item_upgraded'
|
|
326
|
+
| 'omnichannel_subscription_item_cancelled'
|
|
327
|
+
| 'plan_created'
|
|
328
|
+
| 'plan_updated'
|
|
329
|
+
| 'plan_deleted'
|
|
330
|
+
| 'addon_created'
|
|
331
|
+
| 'addon_updated'
|
|
332
|
+
| 'addon_deleted';
|
|
333
|
+
type ExportTypeEnum = 'data' | 'import_friendly_data';
|
|
334
|
+
type FreePeriodUnitEnum = 'day' | 'week' | 'month' | 'year';
|
|
335
|
+
type FriendOfferTypeEnum = 'none' | 'coupon' | 'coupon_code';
|
|
336
|
+
type GatewayEnum =
|
|
337
|
+
| 'chargebee'
|
|
338
|
+
| 'chargebee_payments'
|
|
339
|
+
| 'stripe'
|
|
340
|
+
| 'wepay'
|
|
341
|
+
| 'braintree'
|
|
342
|
+
| 'authorize_net'
|
|
343
|
+
| 'paypal_pro'
|
|
344
|
+
| 'pin'
|
|
345
|
+
| 'eway'
|
|
346
|
+
| 'eway_rapid'
|
|
347
|
+
| 'worldpay'
|
|
348
|
+
| 'balanced_payments'
|
|
349
|
+
| 'beanstream'
|
|
350
|
+
| 'bluepay'
|
|
351
|
+
| 'elavon'
|
|
352
|
+
| 'first_data_global'
|
|
353
|
+
| 'hdfc'
|
|
354
|
+
| 'migs'
|
|
355
|
+
| 'nmi'
|
|
356
|
+
| 'ogone'
|
|
357
|
+
| 'paymill'
|
|
358
|
+
| 'paypal_payflow_pro'
|
|
359
|
+
| 'sage_pay'
|
|
360
|
+
| 'tco'
|
|
361
|
+
| 'wirecard'
|
|
362
|
+
| 'amazon_payments'
|
|
363
|
+
| 'paypal_express_checkout'
|
|
364
|
+
| 'adyen'
|
|
365
|
+
| 'orbital'
|
|
366
|
+
| 'moneris_us'
|
|
367
|
+
| 'moneris'
|
|
368
|
+
| 'bluesnap'
|
|
369
|
+
| 'cybersource'
|
|
370
|
+
| 'vantiv'
|
|
371
|
+
| 'checkout_com'
|
|
372
|
+
| 'paypal'
|
|
373
|
+
| 'ingenico_direct'
|
|
374
|
+
| 'exact'
|
|
375
|
+
| 'mollie'
|
|
376
|
+
| 'quickbooks'
|
|
377
|
+
| 'razorpay'
|
|
378
|
+
| 'global_payments'
|
|
379
|
+
| 'bank_of_america'
|
|
380
|
+
| 'ecentric'
|
|
381
|
+
| 'metrics_global'
|
|
382
|
+
| 'windcave'
|
|
383
|
+
| 'pay_com'
|
|
384
|
+
| 'ebanx'
|
|
385
|
+
| 'dlocal'
|
|
386
|
+
| 'nuvei'
|
|
387
|
+
| 'gocardless'
|
|
388
|
+
| 'not_applicable';
|
|
389
|
+
type HierarchyOperationTypeEnum =
|
|
390
|
+
| 'complete_hierarchy'
|
|
391
|
+
| 'subordinates'
|
|
392
|
+
| 'path_to_root';
|
|
393
|
+
type InvoiceDunningHandlingEnum = 'continue' | 'stop';
|
|
394
|
+
type ItemTypeEnum = 'plan' | 'addon' | 'charge';
|
|
395
|
+
type LayoutEnum = 'in_app' | 'full_page';
|
|
396
|
+
type NotifyReferralSystemEnum =
|
|
397
|
+
| 'none'
|
|
398
|
+
| 'first_paid_conversion'
|
|
399
|
+
| 'all_invoices';
|
|
400
|
+
type OfflinePaymentMethodEnum =
|
|
401
|
+
| 'no_preference'
|
|
402
|
+
| 'cash'
|
|
403
|
+
| 'check'
|
|
404
|
+
| 'bank_transfer'
|
|
405
|
+
| 'ach_credit'
|
|
406
|
+
| 'sepa_credit'
|
|
407
|
+
| 'boleto'
|
|
408
|
+
| 'us_automated_bank_transfer'
|
|
409
|
+
| 'eu_automated_bank_transfer'
|
|
410
|
+
| 'uk_automated_bank_transfer'
|
|
411
|
+
| 'jp_automated_bank_transfer'
|
|
412
|
+
| 'mx_automated_bank_transfer'
|
|
413
|
+
| 'custom';
|
|
414
|
+
type OnEventEnum =
|
|
415
|
+
| 'subscription_creation'
|
|
416
|
+
| 'subscription_trial_start'
|
|
417
|
+
| 'plan_activation'
|
|
418
|
+
| 'subscription_activation'
|
|
419
|
+
| 'contract_termination';
|
|
420
|
+
type OperationEnum = 'create' | 'update' | 'delete';
|
|
421
|
+
type OperationTypeEnum = 'add' | 'remove';
|
|
422
|
+
type PauseOptionEnum =
|
|
423
|
+
| 'immediately'
|
|
424
|
+
| 'end_of_term'
|
|
425
|
+
| 'specific_date'
|
|
426
|
+
| 'billing_cycles';
|
|
427
|
+
type PaymentInitiatorEnum = 'customer' | 'merchant';
|
|
428
|
+
type PaymentMethodEnum =
|
|
429
|
+
| 'cash'
|
|
430
|
+
| 'check'
|
|
431
|
+
| 'bank_transfer'
|
|
432
|
+
| 'other'
|
|
433
|
+
| 'custom'
|
|
434
|
+
| 'chargeback'
|
|
435
|
+
| 'card'
|
|
436
|
+
| 'amazon_payments'
|
|
437
|
+
| 'paypal_express_checkout'
|
|
438
|
+
| 'direct_debit'
|
|
439
|
+
| 'alipay'
|
|
440
|
+
| 'unionpay'
|
|
441
|
+
| 'apple_pay'
|
|
442
|
+
| 'wechat_pay'
|
|
443
|
+
| 'ach_credit'
|
|
444
|
+
| 'sepa_credit'
|
|
445
|
+
| 'ideal'
|
|
446
|
+
| 'google_pay'
|
|
447
|
+
| 'sofort'
|
|
448
|
+
| 'bancontact'
|
|
449
|
+
| 'giropay'
|
|
450
|
+
| 'dotpay'
|
|
451
|
+
| 'upi'
|
|
452
|
+
| 'netbanking_emandates'
|
|
453
|
+
| 'boleto'
|
|
454
|
+
| 'venmo'
|
|
455
|
+
| 'pay_to'
|
|
456
|
+
| 'faster_payments'
|
|
457
|
+
| 'sepa_instant_transfer'
|
|
458
|
+
| 'automated_bank_transfer'
|
|
459
|
+
| 'klarna_pay_now'
|
|
460
|
+
| 'online_banking_poland';
|
|
461
|
+
type PaymentMethodTypeEnum =
|
|
462
|
+
| 'card'
|
|
463
|
+
| 'paypal_express_checkout'
|
|
464
|
+
| 'amazon_payments'
|
|
465
|
+
| 'direct_debit'
|
|
466
|
+
| 'generic'
|
|
467
|
+
| 'alipay'
|
|
468
|
+
| 'unionpay'
|
|
469
|
+
| 'apple_pay'
|
|
470
|
+
| 'wechat_pay'
|
|
471
|
+
| 'ideal'
|
|
472
|
+
| 'google_pay'
|
|
473
|
+
| 'sofort'
|
|
474
|
+
| 'bancontact'
|
|
475
|
+
| 'giropay'
|
|
476
|
+
| 'dotpay'
|
|
477
|
+
| 'upi'
|
|
478
|
+
| 'netbanking_emandates'
|
|
479
|
+
| 'venmo'
|
|
480
|
+
| 'pay_to'
|
|
481
|
+
| 'faster_payments'
|
|
482
|
+
| 'sepa_instant_transfer'
|
|
483
|
+
| 'automated_bank_transfer'
|
|
484
|
+
| 'klarna_pay_now'
|
|
485
|
+
| 'online_banking_poland';
|
|
486
|
+
type PaymentVoucherTypeEnum = 'boleto';
|
|
487
|
+
type PeriodUnitEnum = 'day' | 'week' | 'month' | 'year';
|
|
488
|
+
type PriceTypeEnum = 'tax_exclusive' | 'tax_inclusive';
|
|
489
|
+
type PricingModelEnum =
|
|
490
|
+
| 'flat_fee'
|
|
491
|
+
| 'per_unit'
|
|
492
|
+
| 'tiered'
|
|
493
|
+
| 'volume'
|
|
494
|
+
| 'stairstep';
|
|
495
|
+
type ProrationTypeEnum = 'full_term' | 'partial_term' | 'none';
|
|
496
|
+
type ReferralSystemEnum =
|
|
497
|
+
| 'referral_candy'
|
|
498
|
+
| 'referral_saasquatch'
|
|
499
|
+
| 'friendbuy';
|
|
500
|
+
type ReferrerRewardTypeEnum =
|
|
501
|
+
| 'none'
|
|
502
|
+
| 'referral_direct_reward'
|
|
503
|
+
| 'custom_promotional_credit'
|
|
504
|
+
| 'custom_revenue_percent_based';
|
|
505
|
+
type RefundableCreditsHandlingEnum = 'no_action' | 'schedule_refund';
|
|
506
|
+
type ReportByEnum = 'customer' | 'invoice' | 'product' | 'subscription';
|
|
507
|
+
type ResumeOptionEnum = 'immediately' | 'specific_date';
|
|
508
|
+
type RoleEnum = 'primary' | 'backup' | 'none';
|
|
509
|
+
type ScheduleTypeEnum = 'immediate' | 'specific_dates' | 'fixed_intervals';
|
|
510
|
+
type SourceEnum =
|
|
511
|
+
| 'admin_console'
|
|
512
|
+
| 'api'
|
|
513
|
+
| 'bulk_operation'
|
|
514
|
+
| 'scheduled_job'
|
|
515
|
+
| 'hosted_page'
|
|
516
|
+
| 'portal'
|
|
517
|
+
| 'system'
|
|
518
|
+
| 'none'
|
|
519
|
+
| 'js_api'
|
|
520
|
+
| 'migration'
|
|
521
|
+
| 'external_service';
|
|
522
|
+
type TaxExemptReasonEnum =
|
|
523
|
+
| 'tax_not_configured'
|
|
524
|
+
| 'region_non_taxable'
|
|
525
|
+
| 'export'
|
|
526
|
+
| 'customer_exempt'
|
|
527
|
+
| 'product_exempt'
|
|
528
|
+
| 'zero_rated'
|
|
529
|
+
| 'reverse_charge'
|
|
530
|
+
| 'high_value_physical_goods'
|
|
531
|
+
| 'zero_value_item'
|
|
532
|
+
| 'tax_not_configured_external_provider';
|
|
533
|
+
type TaxJurisTypeEnum =
|
|
534
|
+
| 'country'
|
|
535
|
+
| 'federal'
|
|
536
|
+
| 'state'
|
|
537
|
+
| 'county'
|
|
538
|
+
| 'city'
|
|
539
|
+
| 'special'
|
|
540
|
+
| 'unincorporated'
|
|
541
|
+
| 'other';
|
|
542
|
+
type TaxOverrideReasonEnum = 'id_exempt' | 'customer_exempt' | 'export';
|
|
543
|
+
type TaxabilityEnum = 'taxable' | 'exempt';
|
|
544
|
+
type TaxjarExemptionCategoryEnum = 'wholesale' | 'government' | 'other';
|
|
545
|
+
type TrialEndActionEnum =
|
|
546
|
+
| 'site_default'
|
|
547
|
+
| 'plan_default'
|
|
548
|
+
| 'activate_subscription'
|
|
549
|
+
| 'cancel_subscription';
|
|
550
|
+
type TypeEnum =
|
|
551
|
+
| 'card'
|
|
552
|
+
| 'paypal_express_checkout'
|
|
553
|
+
| 'amazon_payments'
|
|
554
|
+
| 'direct_debit'
|
|
555
|
+
| 'generic'
|
|
556
|
+
| 'alipay'
|
|
557
|
+
| 'unionpay'
|
|
558
|
+
| 'apple_pay'
|
|
559
|
+
| 'wechat_pay'
|
|
560
|
+
| 'ideal'
|
|
561
|
+
| 'google_pay'
|
|
562
|
+
| 'sofort'
|
|
563
|
+
| 'bancontact'
|
|
564
|
+
| 'giropay'
|
|
565
|
+
| 'dotpay'
|
|
566
|
+
| 'upi'
|
|
567
|
+
| 'netbanking_emandates'
|
|
568
|
+
| 'venmo'
|
|
569
|
+
| 'pay_to'
|
|
570
|
+
| 'faster_payments'
|
|
571
|
+
| 'sepa_instant_transfer'
|
|
572
|
+
| 'automated_bank_transfer'
|
|
573
|
+
| 'klarna_pay_now'
|
|
574
|
+
| 'online_banking_poland';
|
|
575
|
+
type UnbilledChargesHandlingEnum = 'no_action' | 'invoice';
|
|
576
|
+
type UnbilledChargesOptionEnum = 'invoice' | 'delete';
|
|
577
|
+
type UnpaidInvoicesHandlingEnum = 'no_action' | 'schedule_payment_collection';
|
|
578
|
+
type UsageAccumulationResetFrequencyEnum =
|
|
579
|
+
| 'never'
|
|
580
|
+
| 'subscription_billing_frequency';
|
|
581
|
+
type ValidationStatusEnum =
|
|
582
|
+
| 'not_validated'
|
|
583
|
+
| 'valid'
|
|
584
|
+
| 'partially_valid'
|
|
585
|
+
| 'invalid';
|
|
586
|
+
type VoucherTypeEnum = 'boleto';
|
|
587
|
+
type ChargeOnEnum = 'immediately' | 'on_event';
|
|
588
|
+
}
|