chargebee 2.41.0 → 3.0.0-beta.2
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 +11 -15
- package/LICENSE +1 -1
- package/README.md +90 -170
- package/cjs/RequestWrapper.js +84 -0
- package/cjs/asyncApiSupport.js +39 -0
- package/cjs/chargebee.cjs.js +13 -0
- package/cjs/chargebee.cjs.worker.js +9 -0
- package/cjs/chargebeeError.js +17 -0
- package/cjs/coreCommon.js +72 -0
- package/cjs/createChargebee.js +92 -0
- package/cjs/environment.js +18 -0
- package/cjs/filter.js +1 -0
- package/cjs/net/ClientInterface.js +40 -0
- package/cjs/net/FetchClient.js +86 -0
- package/cjs/net/NodeClient.js +61 -0
- package/cjs/package.json +1 -0
- package/cjs/resources/api_endpoints.js +1086 -0
- package/cjs/util.js +218 -0
- package/esm/RequestWrapper.js +80 -0
- package/esm/asyncApiSupport.js +35 -0
- package/esm/chargebee.esm.js +9 -0
- package/esm/chargebee.esm.worker.js +5 -0
- package/esm/chargebeeError.js +13 -0
- package/esm/coreCommon.js +67 -0
- package/esm/createChargebee.js +88 -0
- package/esm/environment.js +15 -0
- package/esm/filter.js +1 -0
- package/esm/net/ClientInterface.js +35 -0
- package/esm/net/FetchClient.js +81 -0
- package/esm/net/NodeClient.js +56 -0
- package/esm/package.json +1 -0
- package/esm/resources/api_endpoints.js +1083 -0
- package/esm/util.js +202 -0
- package/package.json +69 -38
- package/types/core.d.ts +558 -89
- package/types/index.d.ts +90 -55
- package/types/resources/Address.d.ts +57 -272
- package/types/resources/AdvanceInvoiceSchedule.d.ts +21 -94
- package/types/resources/AttachedItem.d.ts +91 -329
- package/types/resources/Attribute.d.ts +5 -5
- package/types/resources/BusinessEntity.d.ts +49 -69
- package/types/resources/BusinessEntityTransfer.d.ts +11 -17
- package/types/resources/Card.d.ts +146 -424
- package/types/resources/Comment.d.ts +72 -189
- package/types/resources/Contact.d.ts +12 -64
- package/types/resources/ContractTerm.d.ts +15 -96
- package/types/resources/Coupon.d.ts +282 -758
- package/types/resources/CouponCode.d.ts +56 -52
- package/types/resources/CouponSet.d.ts +92 -234
- package/types/resources/CreditNote.d.ts +588 -1758
- package/types/resources/CreditNoteEstimate.d.ts +131 -157
- package/types/resources/Currency.d.ts +75 -62
- package/types/resources/Customer.d.ts +892 -835
- package/types/resources/CustomerEntitlement.d.ts +24 -35
- package/types/resources/DifferentialPrice.d.ts +116 -314
- package/types/resources/Discount.d.ts +20 -125
- package/types/resources/Download.d.ts +6 -22
- package/types/resources/Entitlement.d.ts +51 -160
- package/types/resources/EntitlementOverride.d.ts +58 -139
- package/types/resources/Estimate.d.ts +1178 -527
- package/types/resources/Event.d.ts +67 -178
- package/types/resources/Export.d.ts +563 -723
- package/types/resources/Feature.d.ts +117 -433
- package/types/resources/GatewayErrorDetail.d.ts +16 -72
- package/types/resources/Gift.d.ts +265 -432
- package/types/resources/Hierarchy.d.ts +8 -36
- package/types/resources/HostedPage.d.ts +1017 -1153
- package/types/resources/ImpactedItem.d.ts +13 -50
- package/types/resources/ImpactedItemPrice.d.ts +13 -15
- package/types/resources/ImpactedSubscription.d.ts +13 -45
- package/types/resources/InAppSubscription.d.ts +93 -389
- package/types/resources/Installment.d.ts +35 -110
- package/types/resources/InstallmentConfig.d.ts +54 -155
- package/types/resources/InstallmentDetail.d.ts +19 -27
- package/types/resources/Invoice.d.ts +1574 -3157
- package/types/resources/InvoiceEstimate.d.ts +131 -161
- package/types/resources/Item.d.ts +133 -611
- package/types/resources/ItemEntitlement.d.ts +78 -215
- package/types/resources/ItemFamily.d.ts +69 -178
- package/types/resources/ItemPrice.d.ts +291 -1203
- package/types/resources/Metadata.d.ts +3 -5
- package/types/resources/Order.d.ts +538 -1471
- package/types/resources/PaymentIntent.d.ts +163 -347
- package/types/resources/PaymentReferenceNumber.d.ts +7 -29
- package/types/resources/PaymentSource.d.ts +476 -1272
- package/types/resources/PaymentVoucher.d.ts +87 -306
- package/types/resources/PortalSession.d.ts +71 -207
- package/types/resources/PriceVariant.d.ts +91 -279
- package/types/resources/PricingPageSession.d.ts +92 -41
- package/types/resources/PromotionalCredit.d.ts +90 -346
- package/types/resources/Purchase.d.ts +185 -315
- package/types/resources/Quote.d.ts +1406 -887
- package/types/resources/QuoteLineGroup.d.ts +125 -452
- package/types/resources/QuotedCharge.d.ts +45 -274
- package/types/resources/QuotedSubscription.d.ts +100 -488
- package/types/resources/Ramp.d.ts +230 -747
- package/types/resources/ResourceMigration.d.ts +25 -80
- package/types/resources/SiteMigrationDetail.d.ts +34 -112
- package/types/resources/Subscription.d.ts +2390 -4336
- package/types/resources/SubscriptionEntitlement.d.ts +59 -160
- package/types/resources/SubscriptionEstimate.d.ts +51 -75
- package/types/resources/TaxWithheld.d.ts +15 -40
- package/types/resources/ThirdPartyPaymentMethod.d.ts +7 -29
- package/types/resources/TimeMachine.d.ts +43 -97
- package/types/resources/Token.d.ts +15 -85
- package/types/resources/Transaction.d.ts +276 -911
- package/types/resources/UnbilledCharge.d.ts +189 -164
- package/types/resources/Usage.d.ts +89 -279
- package/types/resources/VirtualBankAccount.d.ts +103 -255
- package/types/resources/filter.d.ts +52 -0
- package/.github/ISSUE_TEMPLATE/bug_report.yml +0 -81
- package/.github/ISSUE_TEMPLATE/config.yml +0 -6
- package/.github/ISSUE_TEMPLATE/feature_request.yml +0 -34
- package/.github/PULL_REQUEST_TEMPLATE.md +0 -8
- package/lib/chargebee.js +0 -512
- package/lib/resources/api_endpoints.js +0 -2935
- package/types/resources/NonSubscription.d.ts +0 -30
- package/types/resources/Session.d.ts +0 -41
|
@@ -0,0 +1,1083 @@
|
|
|
1
|
+
export const Endpoints = {
|
|
2
|
+
subscription: [
|
|
3
|
+
['create', 'POST', '/subscriptions', null, false],
|
|
4
|
+
['createForCustomer', 'POST', '/customers', '/subscriptions', true],
|
|
5
|
+
['createWithItems', 'POST', '/customers', '/subscription_for_items', true],
|
|
6
|
+
['list', 'GET', '/subscriptions', null, false],
|
|
7
|
+
['subscriptionsForCustomer', 'GET', '/customers', '/subscriptions', true],
|
|
8
|
+
[
|
|
9
|
+
'contractTermsForSubscription',
|
|
10
|
+
'GET',
|
|
11
|
+
'/subscriptions',
|
|
12
|
+
'/contract_terms',
|
|
13
|
+
true,
|
|
14
|
+
],
|
|
15
|
+
['listDiscounts', 'GET', '/subscriptions', '/discounts', true],
|
|
16
|
+
['retrieve', 'GET', '/subscriptions', null, true],
|
|
17
|
+
[
|
|
18
|
+
'retrieveWithScheduledChanges',
|
|
19
|
+
'GET',
|
|
20
|
+
'/subscriptions',
|
|
21
|
+
'/retrieve_with_scheduled_changes',
|
|
22
|
+
true,
|
|
23
|
+
],
|
|
24
|
+
[
|
|
25
|
+
'removeScheduledChanges',
|
|
26
|
+
'POST',
|
|
27
|
+
'/subscriptions',
|
|
28
|
+
'/remove_scheduled_changes',
|
|
29
|
+
true,
|
|
30
|
+
],
|
|
31
|
+
[
|
|
32
|
+
'removeScheduledCancellation',
|
|
33
|
+
'POST',
|
|
34
|
+
'/subscriptions',
|
|
35
|
+
'/remove_scheduled_cancellation',
|
|
36
|
+
true,
|
|
37
|
+
],
|
|
38
|
+
['removeCoupons', 'POST', '/subscriptions', '/remove_coupons', true],
|
|
39
|
+
['update', 'POST', '/subscriptions', null, true],
|
|
40
|
+
['updateForItems', 'POST', '/subscriptions', '/update_for_items', true],
|
|
41
|
+
['changeTermEnd', 'POST', '/subscriptions', '/change_term_end', true],
|
|
42
|
+
['reactivate', 'POST', '/subscriptions', '/reactivate', true],
|
|
43
|
+
[
|
|
44
|
+
'addChargeAtTermEnd',
|
|
45
|
+
'POST',
|
|
46
|
+
'/subscriptions',
|
|
47
|
+
'/add_charge_at_term_end',
|
|
48
|
+
true,
|
|
49
|
+
],
|
|
50
|
+
[
|
|
51
|
+
'chargeAddonAtTermEnd',
|
|
52
|
+
'POST',
|
|
53
|
+
'/subscriptions',
|
|
54
|
+
'/charge_addon_at_term_end',
|
|
55
|
+
true,
|
|
56
|
+
],
|
|
57
|
+
[
|
|
58
|
+
'chargeFutureRenewals',
|
|
59
|
+
'POST',
|
|
60
|
+
'/subscriptions',
|
|
61
|
+
'/charge_future_renewals',
|
|
62
|
+
true,
|
|
63
|
+
],
|
|
64
|
+
[
|
|
65
|
+
'editAdvanceInvoiceSchedule',
|
|
66
|
+
'POST',
|
|
67
|
+
'/subscriptions',
|
|
68
|
+
'/edit_advance_invoice_schedule',
|
|
69
|
+
true,
|
|
70
|
+
],
|
|
71
|
+
[
|
|
72
|
+
'retrieveAdvanceInvoiceSchedule',
|
|
73
|
+
'GET',
|
|
74
|
+
'/subscriptions',
|
|
75
|
+
'/retrieve_advance_invoice_schedule',
|
|
76
|
+
true,
|
|
77
|
+
],
|
|
78
|
+
[
|
|
79
|
+
'removeAdvanceInvoiceSchedule',
|
|
80
|
+
'POST',
|
|
81
|
+
'/subscriptions',
|
|
82
|
+
'/remove_advance_invoice_schedule',
|
|
83
|
+
true,
|
|
84
|
+
],
|
|
85
|
+
[
|
|
86
|
+
'regenerateInvoice',
|
|
87
|
+
'POST',
|
|
88
|
+
'/subscriptions',
|
|
89
|
+
'/regenerate_invoice',
|
|
90
|
+
true,
|
|
91
|
+
],
|
|
92
|
+
[
|
|
93
|
+
'importSubscription',
|
|
94
|
+
'POST',
|
|
95
|
+
'/subscriptions',
|
|
96
|
+
'/import_subscription',
|
|
97
|
+
false,
|
|
98
|
+
],
|
|
99
|
+
['importForCustomer', 'POST', '/customers', '/import_subscription', true],
|
|
100
|
+
[
|
|
101
|
+
'importContractTerm',
|
|
102
|
+
'POST',
|
|
103
|
+
'/subscriptions',
|
|
104
|
+
'/import_contract_term',
|
|
105
|
+
true,
|
|
106
|
+
],
|
|
107
|
+
[
|
|
108
|
+
'importUnbilledCharges',
|
|
109
|
+
'POST',
|
|
110
|
+
'/subscriptions',
|
|
111
|
+
'/import_unbilled_charges',
|
|
112
|
+
true,
|
|
113
|
+
],
|
|
114
|
+
['importForItems', 'POST', '/customers', '/import_for_items', true],
|
|
115
|
+
[
|
|
116
|
+
'overrideBillingProfile',
|
|
117
|
+
'POST',
|
|
118
|
+
'/subscriptions',
|
|
119
|
+
'/override_billing_profile',
|
|
120
|
+
true,
|
|
121
|
+
],
|
|
122
|
+
['delete', 'POST', '/subscriptions', '/delete', true],
|
|
123
|
+
['pause', 'POST', '/subscriptions', '/pause', true],
|
|
124
|
+
['cancel', 'POST', '/subscriptions', '/cancel', true],
|
|
125
|
+
['cancelForItems', 'POST', '/subscriptions', '/cancel_for_items', true],
|
|
126
|
+
['resume', 'POST', '/subscriptions', '/resume', true],
|
|
127
|
+
[
|
|
128
|
+
'removeScheduledPause',
|
|
129
|
+
'POST',
|
|
130
|
+
'/subscriptions',
|
|
131
|
+
'/remove_scheduled_pause',
|
|
132
|
+
true,
|
|
133
|
+
],
|
|
134
|
+
[
|
|
135
|
+
'removeScheduledResumption',
|
|
136
|
+
'POST',
|
|
137
|
+
'/subscriptions',
|
|
138
|
+
'/remove_scheduled_resumption',
|
|
139
|
+
true,
|
|
140
|
+
],
|
|
141
|
+
['move', 'POST', '/subscriptions', '/move', true],
|
|
142
|
+
],
|
|
143
|
+
contractTerm: [],
|
|
144
|
+
discount: [],
|
|
145
|
+
advanceInvoiceSchedule: [],
|
|
146
|
+
customer: [
|
|
147
|
+
['create', 'POST', '/customers', null, false],
|
|
148
|
+
['list', 'GET', '/customers', null, false],
|
|
149
|
+
['retrieve', 'GET', '/customers', null, true],
|
|
150
|
+
['update', 'POST', '/customers', null, true],
|
|
151
|
+
[
|
|
152
|
+
'updatePaymentMethod',
|
|
153
|
+
'POST',
|
|
154
|
+
'/customers',
|
|
155
|
+
'/update_payment_method',
|
|
156
|
+
true,
|
|
157
|
+
],
|
|
158
|
+
['updateBillingInfo', 'POST', '/customers', '/update_billing_info', true],
|
|
159
|
+
['contactsForCustomer', 'GET', '/customers', '/contacts', true],
|
|
160
|
+
['assignPaymentRole', 'POST', '/customers', '/assign_payment_role', true],
|
|
161
|
+
['addContact', 'POST', '/customers', '/add_contact', true],
|
|
162
|
+
['updateContact', 'POST', '/customers', '/update_contact', true],
|
|
163
|
+
['deleteContact', 'POST', '/customers', '/delete_contact', true],
|
|
164
|
+
[
|
|
165
|
+
'addPromotionalCredits',
|
|
166
|
+
'POST',
|
|
167
|
+
'/customers',
|
|
168
|
+
'/add_promotional_credits',
|
|
169
|
+
true,
|
|
170
|
+
],
|
|
171
|
+
[
|
|
172
|
+
'deductPromotionalCredits',
|
|
173
|
+
'POST',
|
|
174
|
+
'/customers',
|
|
175
|
+
'/deduct_promotional_credits',
|
|
176
|
+
true,
|
|
177
|
+
],
|
|
178
|
+
[
|
|
179
|
+
'setPromotionalCredits',
|
|
180
|
+
'POST',
|
|
181
|
+
'/customers',
|
|
182
|
+
'/set_promotional_credits',
|
|
183
|
+
true,
|
|
184
|
+
],
|
|
185
|
+
[
|
|
186
|
+
'recordExcessPayment',
|
|
187
|
+
'POST',
|
|
188
|
+
'/customers',
|
|
189
|
+
'/record_excess_payment',
|
|
190
|
+
true,
|
|
191
|
+
],
|
|
192
|
+
['collectPayment', 'POST', '/customers', '/collect_payment', true],
|
|
193
|
+
['delete', 'POST', '/customers', '/delete', true],
|
|
194
|
+
['move', 'POST', '/customers', '/move', false],
|
|
195
|
+
['changeBillingDate', 'POST', '/customers', '/change_billing_date', true],
|
|
196
|
+
['merge', 'POST', '/customers', '/merge', false],
|
|
197
|
+
['clearPersonalData', 'POST', '/customers', '/clear_personal_data', true],
|
|
198
|
+
['relationships', 'POST', '/customers', '/relationships', true],
|
|
199
|
+
['deleteRelationship', 'POST', '/customers', '/delete_relationship', true],
|
|
200
|
+
['hierarchy', 'GET', '/customers', '/hierarchy', true],
|
|
201
|
+
[
|
|
202
|
+
'updateHierarchySettings',
|
|
203
|
+
'POST',
|
|
204
|
+
'/customers',
|
|
205
|
+
'/update_hierarchy_settings',
|
|
206
|
+
true,
|
|
207
|
+
],
|
|
208
|
+
],
|
|
209
|
+
hierarchy: [],
|
|
210
|
+
contact: [],
|
|
211
|
+
businessEntityTransfer: [],
|
|
212
|
+
token: [],
|
|
213
|
+
paymentSource: [
|
|
214
|
+
[
|
|
215
|
+
'createUsingTempToken',
|
|
216
|
+
'POST',
|
|
217
|
+
'/payment_sources',
|
|
218
|
+
'/create_using_temp_token',
|
|
219
|
+
false,
|
|
220
|
+
],
|
|
221
|
+
[
|
|
222
|
+
'createUsingPermanentToken',
|
|
223
|
+
'POST',
|
|
224
|
+
'/payment_sources',
|
|
225
|
+
'/create_using_permanent_token',
|
|
226
|
+
false,
|
|
227
|
+
],
|
|
228
|
+
[
|
|
229
|
+
'createUsingToken',
|
|
230
|
+
'POST',
|
|
231
|
+
'/payment_sources',
|
|
232
|
+
'/create_using_token',
|
|
233
|
+
false,
|
|
234
|
+
],
|
|
235
|
+
[
|
|
236
|
+
'createUsingPaymentIntent',
|
|
237
|
+
'POST',
|
|
238
|
+
'/payment_sources',
|
|
239
|
+
'/create_using_payment_intent',
|
|
240
|
+
false,
|
|
241
|
+
],
|
|
242
|
+
[
|
|
243
|
+
'createVoucherPaymentSource',
|
|
244
|
+
'POST',
|
|
245
|
+
'/payment_sources',
|
|
246
|
+
'/create_voucher_payment_source',
|
|
247
|
+
false,
|
|
248
|
+
],
|
|
249
|
+
['createCard', 'POST', '/payment_sources', '/create_card', false],
|
|
250
|
+
[
|
|
251
|
+
'createBankAccount',
|
|
252
|
+
'POST',
|
|
253
|
+
'/payment_sources',
|
|
254
|
+
'/create_bank_account',
|
|
255
|
+
false,
|
|
256
|
+
],
|
|
257
|
+
['updateCard', 'POST', '/payment_sources', '/update_card', true],
|
|
258
|
+
[
|
|
259
|
+
'updateBankAccount',
|
|
260
|
+
'POST',
|
|
261
|
+
'/payment_sources',
|
|
262
|
+
'/update_bank_account',
|
|
263
|
+
true,
|
|
264
|
+
],
|
|
265
|
+
[
|
|
266
|
+
'verifyBankAccount',
|
|
267
|
+
'POST',
|
|
268
|
+
'/payment_sources',
|
|
269
|
+
'/verify_bank_account',
|
|
270
|
+
true,
|
|
271
|
+
],
|
|
272
|
+
['retrieve', 'GET', '/payment_sources', null, true],
|
|
273
|
+
['list', 'GET', '/payment_sources', null, false],
|
|
274
|
+
[
|
|
275
|
+
'switchGatewayAccount',
|
|
276
|
+
'POST',
|
|
277
|
+
'/payment_sources',
|
|
278
|
+
'/switch_gateway_account',
|
|
279
|
+
true,
|
|
280
|
+
],
|
|
281
|
+
[
|
|
282
|
+
'exportPaymentSource',
|
|
283
|
+
'POST',
|
|
284
|
+
'/payment_sources',
|
|
285
|
+
'/export_payment_source',
|
|
286
|
+
true,
|
|
287
|
+
],
|
|
288
|
+
['delete', 'POST', '/payment_sources', '/delete', true],
|
|
289
|
+
['deleteLocal', 'POST', '/payment_sources', '/delete_local', true],
|
|
290
|
+
],
|
|
291
|
+
thirdPartyPaymentMethod: [],
|
|
292
|
+
virtualBankAccount: [
|
|
293
|
+
[
|
|
294
|
+
'createUsingPermanentToken',
|
|
295
|
+
'POST',
|
|
296
|
+
'/virtual_bank_accounts',
|
|
297
|
+
'/create_using_permanent_token',
|
|
298
|
+
false,
|
|
299
|
+
],
|
|
300
|
+
['create', 'POST', '/virtual_bank_accounts', null, false],
|
|
301
|
+
['retrieve', 'GET', '/virtual_bank_accounts', null, true],
|
|
302
|
+
['list', 'GET', '/virtual_bank_accounts', null, false],
|
|
303
|
+
['delete', 'POST', '/virtual_bank_accounts', '/delete', true],
|
|
304
|
+
['deleteLocal', 'POST', '/virtual_bank_accounts', '/delete_local', true],
|
|
305
|
+
],
|
|
306
|
+
card: [
|
|
307
|
+
['retrieve', 'GET', '/cards', null, true],
|
|
308
|
+
['updateCardForCustomer', 'POST', '/customers', '/credit_card', true],
|
|
309
|
+
['switchGatewayForCustomer', 'POST', '/customers', '/switch_gateway', true],
|
|
310
|
+
['copyCardForCustomer', 'POST', '/customers', '/copy_card', true],
|
|
311
|
+
['deleteCardForCustomer', 'POST', '/customers', '/delete_card', true],
|
|
312
|
+
],
|
|
313
|
+
promotionalCredit: [
|
|
314
|
+
['add', 'POST', '/promotional_credits', '/add', false],
|
|
315
|
+
['deduct', 'POST', '/promotional_credits', '/deduct', false],
|
|
316
|
+
['set', 'POST', '/promotional_credits', '/set', false],
|
|
317
|
+
['list', 'GET', '/promotional_credits', null, false],
|
|
318
|
+
['retrieve', 'GET', '/promotional_credits', null, true],
|
|
319
|
+
],
|
|
320
|
+
invoice: [
|
|
321
|
+
['create', 'POST', '/invoices', null, false],
|
|
322
|
+
[
|
|
323
|
+
'createForChargeItemsAndCharges',
|
|
324
|
+
'POST',
|
|
325
|
+
'/invoices',
|
|
326
|
+
'/create_for_charge_items_and_charges',
|
|
327
|
+
false,
|
|
328
|
+
],
|
|
329
|
+
['charge', 'POST', '/invoices', '/charge', false],
|
|
330
|
+
['chargeAddon', 'POST', '/invoices', '/charge_addon', false],
|
|
331
|
+
[
|
|
332
|
+
'createForChargeItem',
|
|
333
|
+
'POST',
|
|
334
|
+
'/invoices',
|
|
335
|
+
'/create_for_charge_item',
|
|
336
|
+
false,
|
|
337
|
+
],
|
|
338
|
+
['stopDunning', 'POST', '/invoices', '/stop_dunning', true],
|
|
339
|
+
['importInvoice', 'POST', '/invoices', '/import_invoice', false],
|
|
340
|
+
['applyPayments', 'POST', '/invoices', '/apply_payments', true],
|
|
341
|
+
['syncUsages', 'POST', '/invoices', '/sync_usages', true],
|
|
342
|
+
['deleteLineItems', 'POST', '/invoices', '/delete_line_items', true],
|
|
343
|
+
['applyCredits', 'POST', '/invoices', '/apply_credits', true],
|
|
344
|
+
['list', 'GET', '/invoices', null, false],
|
|
345
|
+
['invoicesForCustomer', 'GET', '/customers', '/invoices', true],
|
|
346
|
+
['invoicesForSubscription', 'GET', '/subscriptions', '/invoices', true],
|
|
347
|
+
['retrieve', 'GET', '/invoices', null, true],
|
|
348
|
+
['pdf', 'POST', '/invoices', '/pdf', true],
|
|
349
|
+
['downloadEinvoice', 'GET', '/invoices', '/download_einvoice', true],
|
|
350
|
+
[
|
|
351
|
+
'listPaymentReferenceNumbers',
|
|
352
|
+
'GET',
|
|
353
|
+
'/invoices',
|
|
354
|
+
'/payment_reference_numbers',
|
|
355
|
+
false,
|
|
356
|
+
],
|
|
357
|
+
['addCharge', 'POST', '/invoices', '/add_charge', true],
|
|
358
|
+
['addAddonCharge', 'POST', '/invoices', '/add_addon_charge', true],
|
|
359
|
+
['addChargeItem', 'POST', '/invoices', '/add_charge_item', true],
|
|
360
|
+
['close', 'POST', '/invoices', '/close', true],
|
|
361
|
+
['collectPayment', 'POST', '/invoices', '/collect_payment', true],
|
|
362
|
+
['recordPayment', 'POST', '/invoices', '/record_payment', true],
|
|
363
|
+
['recordTaxWithheld', 'POST', '/invoices', '/record_tax_withheld', true],
|
|
364
|
+
['removeTaxWithheld', 'POST', '/invoices', '/remove_tax_withheld', true],
|
|
365
|
+
['refund', 'POST', '/invoices', '/refund', true],
|
|
366
|
+
['recordRefund', 'POST', '/invoices', '/record_refund', true],
|
|
367
|
+
['removePayment', 'POST', '/invoices', '/remove_payment', true],
|
|
368
|
+
['removeCreditNote', 'POST', '/invoices', '/remove_credit_note', true],
|
|
369
|
+
['voidInvoice', 'POST', '/invoices', '/void', true],
|
|
370
|
+
['writeOff', 'POST', '/invoices', '/write_off', true],
|
|
371
|
+
['delete', 'POST', '/invoices', '/delete', true],
|
|
372
|
+
['updateDetails', 'POST', '/invoices', '/update_details', true],
|
|
373
|
+
['installments', 'POST', '/invoices', '/installments', true],
|
|
374
|
+
['resendEinvoice', 'POST', '/invoices', '/resend_einvoice', true],
|
|
375
|
+
['sendEinvoice', 'POST', '/invoices', '/send_einvoice', true],
|
|
376
|
+
],
|
|
377
|
+
paymentReferenceNumber: [],
|
|
378
|
+
taxWithheld: [],
|
|
379
|
+
creditNote: [
|
|
380
|
+
['create', 'POST', '/credit_notes', null, false],
|
|
381
|
+
['retrieve', 'GET', '/credit_notes', null, true],
|
|
382
|
+
['pdf', 'POST', '/credit_notes', '/pdf', true],
|
|
383
|
+
['downloadEinvoice', 'GET', '/credit_notes', '/download_einvoice', true],
|
|
384
|
+
['refund', 'POST', '/credit_notes', '/refund', true],
|
|
385
|
+
['recordRefund', 'POST', '/credit_notes', '/record_refund', true],
|
|
386
|
+
['voidCreditNote', 'POST', '/credit_notes', '/void', true],
|
|
387
|
+
['list', 'GET', '/credit_notes', null, false],
|
|
388
|
+
['creditNotesForCustomer', 'GET', '/customers', '/credit_notes', true],
|
|
389
|
+
['delete', 'POST', '/credit_notes', '/delete', true],
|
|
390
|
+
[
|
|
391
|
+
'removeTaxWithheldRefund',
|
|
392
|
+
'POST',
|
|
393
|
+
'/credit_notes',
|
|
394
|
+
'/remove_tax_withheld_refund',
|
|
395
|
+
true,
|
|
396
|
+
],
|
|
397
|
+
['resendEinvoice', 'POST', '/credit_notes', '/resend_einvoice', true],
|
|
398
|
+
['sendEinvoice', 'POST', '/credit_notes', '/send_einvoice', true],
|
|
399
|
+
['importCreditNote', 'POST', '/credit_notes', '/import_credit_note', false],
|
|
400
|
+
],
|
|
401
|
+
unbilledCharge: [
|
|
402
|
+
['createUnbilledCharge', 'POST', '/unbilled_charges', '/create', false],
|
|
403
|
+
['create', 'POST', '/unbilled_charges', null, false],
|
|
404
|
+
[
|
|
405
|
+
'invoiceUnbilledCharges',
|
|
406
|
+
'POST',
|
|
407
|
+
'/unbilled_charges',
|
|
408
|
+
'/invoice_unbilled_charges',
|
|
409
|
+
false,
|
|
410
|
+
],
|
|
411
|
+
['delete', 'POST', '/unbilled_charges', '/delete', true],
|
|
412
|
+
['list', 'GET', '/unbilled_charges', null, false],
|
|
413
|
+
[
|
|
414
|
+
'invoiceNowEstimate',
|
|
415
|
+
'POST',
|
|
416
|
+
'/unbilled_charges',
|
|
417
|
+
'/invoice_now_estimate',
|
|
418
|
+
false,
|
|
419
|
+
],
|
|
420
|
+
],
|
|
421
|
+
order: [
|
|
422
|
+
['create', 'POST', '/orders', null, false],
|
|
423
|
+
['update', 'POST', '/orders', null, true],
|
|
424
|
+
['importOrder', 'POST', '/orders', '/import_order', false],
|
|
425
|
+
['assignOrderNumber', 'POST', '/orders', '/assign_order_number', true],
|
|
426
|
+
['cancel', 'POST', '/orders', '/cancel', true],
|
|
427
|
+
[
|
|
428
|
+
'createRefundableCreditNote',
|
|
429
|
+
'POST',
|
|
430
|
+
'/orders',
|
|
431
|
+
'/create_refundable_credit_note',
|
|
432
|
+
true,
|
|
433
|
+
],
|
|
434
|
+
['reopen', 'POST', '/orders', '/reopen', true],
|
|
435
|
+
['retrieve', 'GET', '/orders', null, true],
|
|
436
|
+
['delete', 'POST', '/orders', '/delete', true],
|
|
437
|
+
['list', 'GET', '/orders', null, false],
|
|
438
|
+
['ordersForInvoice', 'GET', '/invoices', '/orders', true],
|
|
439
|
+
['resend', 'POST', '/orders', '/resend', true],
|
|
440
|
+
],
|
|
441
|
+
gift: [
|
|
442
|
+
['create', 'POST', '/gifts', null, false],
|
|
443
|
+
['createForItems', 'POST', '/gifts', '/create_for_items', false],
|
|
444
|
+
['retrieve', 'GET', '/gifts', null, true],
|
|
445
|
+
['list', 'GET', '/gifts', null, false],
|
|
446
|
+
['claim', 'POST', '/gifts', '/claim', true],
|
|
447
|
+
['cancel', 'POST', '/gifts', '/cancel', true],
|
|
448
|
+
['updateGift', 'POST', '/gifts', '/update_gift', true],
|
|
449
|
+
],
|
|
450
|
+
transaction: [
|
|
451
|
+
[
|
|
452
|
+
'createAuthorization',
|
|
453
|
+
'POST',
|
|
454
|
+
'/transactions',
|
|
455
|
+
'/create_authorization',
|
|
456
|
+
false,
|
|
457
|
+
],
|
|
458
|
+
['voidTransaction', 'POST', '/transactions', '/void', true],
|
|
459
|
+
['recordRefund', 'POST', '/transactions', '/record_refund', true],
|
|
460
|
+
['reconcile', 'POST', '/transactions', '/reconcile', true],
|
|
461
|
+
['refund', 'POST', '/transactions', '/refund', true],
|
|
462
|
+
['list', 'GET', '/transactions', null, false],
|
|
463
|
+
['transactionsForCustomer', 'GET', '/customers', '/transactions', true],
|
|
464
|
+
[
|
|
465
|
+
'transactionsForSubscription',
|
|
466
|
+
'GET',
|
|
467
|
+
'/subscriptions',
|
|
468
|
+
'/transactions',
|
|
469
|
+
true,
|
|
470
|
+
],
|
|
471
|
+
['paymentsForInvoice', 'GET', '/invoices', '/payments', true],
|
|
472
|
+
['retrieve', 'GET', '/transactions', null, true],
|
|
473
|
+
[
|
|
474
|
+
'deleteOfflineTransaction',
|
|
475
|
+
'POST',
|
|
476
|
+
'/transactions',
|
|
477
|
+
'/delete_offline_transaction',
|
|
478
|
+
true,
|
|
479
|
+
],
|
|
480
|
+
],
|
|
481
|
+
hostedPage: [
|
|
482
|
+
['checkoutNew', 'POST', '/hosted_pages', '/checkout_new', false],
|
|
483
|
+
['checkoutOneTime', 'POST', '/hosted_pages', '/checkout_one_time', false],
|
|
484
|
+
[
|
|
485
|
+
'checkoutOneTimeForItems',
|
|
486
|
+
'POST',
|
|
487
|
+
'/hosted_pages',
|
|
488
|
+
'/checkout_one_time_for_items',
|
|
489
|
+
false,
|
|
490
|
+
],
|
|
491
|
+
[
|
|
492
|
+
'checkoutNewForItems',
|
|
493
|
+
'POST',
|
|
494
|
+
'/hosted_pages',
|
|
495
|
+
'/checkout_new_for_items',
|
|
496
|
+
false,
|
|
497
|
+
],
|
|
498
|
+
['checkoutExisting', 'POST', '/hosted_pages', '/checkout_existing', false],
|
|
499
|
+
[
|
|
500
|
+
'checkoutExistingForItems',
|
|
501
|
+
'POST',
|
|
502
|
+
'/hosted_pages',
|
|
503
|
+
'/checkout_existing_for_items',
|
|
504
|
+
false,
|
|
505
|
+
],
|
|
506
|
+
['updateCard', 'POST', '/hosted_pages', '/update_card', false],
|
|
507
|
+
[
|
|
508
|
+
'updatePaymentMethod',
|
|
509
|
+
'POST',
|
|
510
|
+
'/hosted_pages',
|
|
511
|
+
'/update_payment_method',
|
|
512
|
+
false,
|
|
513
|
+
],
|
|
514
|
+
[
|
|
515
|
+
'managePaymentSources',
|
|
516
|
+
'POST',
|
|
517
|
+
'/hosted_pages',
|
|
518
|
+
'/manage_payment_sources',
|
|
519
|
+
false,
|
|
520
|
+
],
|
|
521
|
+
['collectNow', 'POST', '/hosted_pages', '/collect_now', false],
|
|
522
|
+
['acceptQuote', 'POST', '/hosted_pages', '/accept_quote', false],
|
|
523
|
+
[
|
|
524
|
+
'extendSubscription',
|
|
525
|
+
'POST',
|
|
526
|
+
'/hosted_pages',
|
|
527
|
+
'/extend_subscription',
|
|
528
|
+
false,
|
|
529
|
+
],
|
|
530
|
+
['checkoutGift', 'POST', '/hosted_pages', '/checkout_gift', false],
|
|
531
|
+
[
|
|
532
|
+
'checkoutGiftForItems',
|
|
533
|
+
'POST',
|
|
534
|
+
'/hosted_pages',
|
|
535
|
+
'/checkout_gift_for_items',
|
|
536
|
+
false,
|
|
537
|
+
],
|
|
538
|
+
['claimGift', 'POST', '/hosted_pages', '/claim_gift', false],
|
|
539
|
+
[
|
|
540
|
+
'retrieveAgreementPdf',
|
|
541
|
+
'POST',
|
|
542
|
+
'/hosted_pages',
|
|
543
|
+
'/retrieve_agreement_pdf',
|
|
544
|
+
false,
|
|
545
|
+
],
|
|
546
|
+
['acknowledge', 'POST', '/hosted_pages', '/acknowledge', true],
|
|
547
|
+
['retrieve', 'GET', '/hosted_pages', null, true],
|
|
548
|
+
['list', 'GET', '/hosted_pages', null, false],
|
|
549
|
+
['preCancel', 'POST', '/hosted_pages', '/pre_cancel', false],
|
|
550
|
+
['events', 'POST', '/hosted_pages', '/events', false],
|
|
551
|
+
['viewVoucher', 'POST', '/hosted_pages', '/view_voucher', false],
|
|
552
|
+
],
|
|
553
|
+
estimate: [
|
|
554
|
+
['createSubscription', 'POST', '/estimates', '/create_subscription', false],
|
|
555
|
+
[
|
|
556
|
+
'createSubItemEstimate',
|
|
557
|
+
'POST',
|
|
558
|
+
'/estimates',
|
|
559
|
+
'/create_subscription_for_items',
|
|
560
|
+
false,
|
|
561
|
+
],
|
|
562
|
+
[
|
|
563
|
+
'createSubForCustomerEstimate',
|
|
564
|
+
'GET',
|
|
565
|
+
'/customers',
|
|
566
|
+
'/create_subscription_estimate',
|
|
567
|
+
true,
|
|
568
|
+
],
|
|
569
|
+
[
|
|
570
|
+
'createSubItemForCustomerEstimate',
|
|
571
|
+
'POST',
|
|
572
|
+
'/customers',
|
|
573
|
+
'/create_subscription_for_items_estimate',
|
|
574
|
+
true,
|
|
575
|
+
],
|
|
576
|
+
['updateSubscription', 'POST', '/estimates', '/update_subscription', false],
|
|
577
|
+
[
|
|
578
|
+
'updateSubscriptionForItems',
|
|
579
|
+
'POST',
|
|
580
|
+
'/estimates',
|
|
581
|
+
'/update_subscription_for_items',
|
|
582
|
+
false,
|
|
583
|
+
],
|
|
584
|
+
['renewalEstimate', 'GET', '/subscriptions', '/renewal_estimate', true],
|
|
585
|
+
[
|
|
586
|
+
'advanceInvoiceEstimate',
|
|
587
|
+
'POST',
|
|
588
|
+
'/subscriptions',
|
|
589
|
+
'/advance_invoice_estimate',
|
|
590
|
+
true,
|
|
591
|
+
],
|
|
592
|
+
[
|
|
593
|
+
'regenerateInvoiceEstimate',
|
|
594
|
+
'POST',
|
|
595
|
+
'/subscriptions',
|
|
596
|
+
'/regenerate_invoice_estimate',
|
|
597
|
+
true,
|
|
598
|
+
],
|
|
599
|
+
[
|
|
600
|
+
'upcomingInvoicesEstimate',
|
|
601
|
+
'GET',
|
|
602
|
+
'/customers',
|
|
603
|
+
'/upcoming_invoices_estimate',
|
|
604
|
+
true,
|
|
605
|
+
],
|
|
606
|
+
[
|
|
607
|
+
'changeTermEnd',
|
|
608
|
+
'POST',
|
|
609
|
+
'/subscriptions',
|
|
610
|
+
'/change_term_end_estimate',
|
|
611
|
+
true,
|
|
612
|
+
],
|
|
613
|
+
[
|
|
614
|
+
'cancelSubscription',
|
|
615
|
+
'POST',
|
|
616
|
+
'/subscriptions',
|
|
617
|
+
'/cancel_subscription_estimate',
|
|
618
|
+
true,
|
|
619
|
+
],
|
|
620
|
+
[
|
|
621
|
+
'cancelSubscriptionForItems',
|
|
622
|
+
'POST',
|
|
623
|
+
'/subscriptions',
|
|
624
|
+
'/cancel_subscription_for_items_estimate',
|
|
625
|
+
true,
|
|
626
|
+
],
|
|
627
|
+
[
|
|
628
|
+
'pauseSubscription',
|
|
629
|
+
'POST',
|
|
630
|
+
'/subscriptions',
|
|
631
|
+
'/pause_subscription_estimate',
|
|
632
|
+
true,
|
|
633
|
+
],
|
|
634
|
+
[
|
|
635
|
+
'resumeSubscription',
|
|
636
|
+
'POST',
|
|
637
|
+
'/subscriptions',
|
|
638
|
+
'/resume_subscription_estimate',
|
|
639
|
+
true,
|
|
640
|
+
],
|
|
641
|
+
['giftSubscription', 'POST', '/estimates', '/gift_subscription', false],
|
|
642
|
+
[
|
|
643
|
+
'giftSubscriptionForItems',
|
|
644
|
+
'POST',
|
|
645
|
+
'/estimates',
|
|
646
|
+
'/gift_subscription_for_items',
|
|
647
|
+
false,
|
|
648
|
+
],
|
|
649
|
+
['createInvoice', 'POST', '/estimates', '/create_invoice', false],
|
|
650
|
+
[
|
|
651
|
+
'createInvoiceForItems',
|
|
652
|
+
'POST',
|
|
653
|
+
'/estimates',
|
|
654
|
+
'/create_invoice_for_items',
|
|
655
|
+
false,
|
|
656
|
+
],
|
|
657
|
+
],
|
|
658
|
+
quote: [
|
|
659
|
+
['retrieve', 'GET', '/quotes', null, true],
|
|
660
|
+
[
|
|
661
|
+
'createSubForCustomerQuote',
|
|
662
|
+
'POST',
|
|
663
|
+
'/customers',
|
|
664
|
+
'/create_subscription_quote',
|
|
665
|
+
true,
|
|
666
|
+
],
|
|
667
|
+
[
|
|
668
|
+
'editCreateSubForCustomerQuote',
|
|
669
|
+
'POST',
|
|
670
|
+
'/quotes',
|
|
671
|
+
'/edit_create_subscription_quote',
|
|
672
|
+
true,
|
|
673
|
+
],
|
|
674
|
+
[
|
|
675
|
+
'updateSubscriptionQuote',
|
|
676
|
+
'POST',
|
|
677
|
+
'/quotes',
|
|
678
|
+
'/update_subscription_quote',
|
|
679
|
+
false,
|
|
680
|
+
],
|
|
681
|
+
[
|
|
682
|
+
'editUpdateSubscriptionQuote',
|
|
683
|
+
'POST',
|
|
684
|
+
'/quotes',
|
|
685
|
+
'/edit_update_subscription_quote',
|
|
686
|
+
true,
|
|
687
|
+
],
|
|
688
|
+
[
|
|
689
|
+
'createForOnetimeCharges',
|
|
690
|
+
'POST',
|
|
691
|
+
'/quotes',
|
|
692
|
+
'/create_for_onetime_charges',
|
|
693
|
+
false,
|
|
694
|
+
],
|
|
695
|
+
['editOneTimeQuote', 'POST', '/quotes', '/edit_one_time_quote', true],
|
|
696
|
+
[
|
|
697
|
+
'createSubItemsForCustomerQuote',
|
|
698
|
+
'POST',
|
|
699
|
+
'/customers',
|
|
700
|
+
'/create_subscription_quote_for_items',
|
|
701
|
+
true,
|
|
702
|
+
],
|
|
703
|
+
[
|
|
704
|
+
'editCreateSubCustomerQuoteForItems',
|
|
705
|
+
'POST',
|
|
706
|
+
'/quotes',
|
|
707
|
+
'/edit_create_subscription_quote_for_items',
|
|
708
|
+
true,
|
|
709
|
+
],
|
|
710
|
+
[
|
|
711
|
+
'updateSubscriptionQuoteForItems',
|
|
712
|
+
'POST',
|
|
713
|
+
'/quotes',
|
|
714
|
+
'/update_subscription_quote_for_items',
|
|
715
|
+
false,
|
|
716
|
+
],
|
|
717
|
+
[
|
|
718
|
+
'editUpdateSubscriptionQuoteForItems',
|
|
719
|
+
'POST',
|
|
720
|
+
'/quotes',
|
|
721
|
+
'/edit_update_subscription_quote_for_items',
|
|
722
|
+
true,
|
|
723
|
+
],
|
|
724
|
+
[
|
|
725
|
+
'createForChargeItemsAndCharges',
|
|
726
|
+
'POST',
|
|
727
|
+
'/quotes',
|
|
728
|
+
'/create_for_charge_items_and_charges',
|
|
729
|
+
false,
|
|
730
|
+
],
|
|
731
|
+
[
|
|
732
|
+
'editForChargeItemsAndCharges',
|
|
733
|
+
'POST',
|
|
734
|
+
'/quotes',
|
|
735
|
+
'/edit_for_charge_items_and_charges',
|
|
736
|
+
true,
|
|
737
|
+
],
|
|
738
|
+
['list', 'GET', '/quotes', null, false],
|
|
739
|
+
['quoteLineGroupsForQuote', 'GET', '/quotes', '/quote_line_groups', true],
|
|
740
|
+
['convert', 'POST', '/quotes', '/convert', true],
|
|
741
|
+
['updateStatus', 'POST', '/quotes', '/update_status', true],
|
|
742
|
+
['extendExpiryDate', 'POST', '/quotes', '/extend_expiry_date', true],
|
|
743
|
+
['delete', 'POST', '/quotes', '/delete', true],
|
|
744
|
+
['pdf', 'POST', '/quotes', '/pdf', true],
|
|
745
|
+
],
|
|
746
|
+
quotedSubscription: [],
|
|
747
|
+
quotedCharge: [],
|
|
748
|
+
quoteLineGroup: [],
|
|
749
|
+
plan: [
|
|
750
|
+
['create', 'POST', '/plans', null, false],
|
|
751
|
+
['update', 'POST', '/plans', null, true],
|
|
752
|
+
['list', 'GET', '/plans', null, false],
|
|
753
|
+
['retrieve', 'GET', '/plans', null, true],
|
|
754
|
+
['delete', 'POST', '/plans', '/delete', true],
|
|
755
|
+
['copy', 'POST', '/plans', '/copy', false],
|
|
756
|
+
['unarchive', 'POST', '/plans', '/unarchive', true],
|
|
757
|
+
],
|
|
758
|
+
addon: [
|
|
759
|
+
['create', 'POST', '/addons', null, false],
|
|
760
|
+
['update', 'POST', '/addons', null, true],
|
|
761
|
+
['list', 'GET', '/addons', null, false],
|
|
762
|
+
['retrieve', 'GET', '/addons', null, true],
|
|
763
|
+
['delete', 'POST', '/addons', '/delete', true],
|
|
764
|
+
['copy', 'POST', '/addons', '/copy', false],
|
|
765
|
+
['unarchive', 'POST', '/addons', '/unarchive', true],
|
|
766
|
+
],
|
|
767
|
+
coupon: [
|
|
768
|
+
['create', 'POST', '/coupons', null, false],
|
|
769
|
+
['createForItems', 'POST', '/coupons', '/create_for_items', false],
|
|
770
|
+
['updateForItems', 'POST', '/coupons', '/update_for_items', true],
|
|
771
|
+
['list', 'GET', '/coupons', null, false],
|
|
772
|
+
['retrieve', 'GET', '/coupons', null, true],
|
|
773
|
+
['update', 'POST', '/coupons', null, true],
|
|
774
|
+
['delete', 'POST', '/coupons', '/delete', true],
|
|
775
|
+
['copy', 'POST', '/coupons', '/copy', false],
|
|
776
|
+
['unarchive', 'POST', '/coupons', '/unarchive', true],
|
|
777
|
+
],
|
|
778
|
+
couponSet: [
|
|
779
|
+
['create', 'POST', '/coupon_sets', null, false],
|
|
780
|
+
['addCouponCodes', 'POST', '/coupon_sets', '/add_coupon_codes', true],
|
|
781
|
+
['list', 'GET', '/coupon_sets', null, false],
|
|
782
|
+
['retrieve', 'GET', '/coupon_sets', null, true],
|
|
783
|
+
['update', 'POST', '/coupon_sets', '/update', true],
|
|
784
|
+
['delete', 'POST', '/coupon_sets', '/delete', true],
|
|
785
|
+
[
|
|
786
|
+
'deleteUnusedCouponCodes',
|
|
787
|
+
'POST',
|
|
788
|
+
'/coupon_sets',
|
|
789
|
+
'/delete_unused_coupon_codes',
|
|
790
|
+
true,
|
|
791
|
+
],
|
|
792
|
+
],
|
|
793
|
+
couponCode: [
|
|
794
|
+
['create', 'POST', '/coupon_codes', null, false],
|
|
795
|
+
['retrieve', 'GET', '/coupon_codes', null, true],
|
|
796
|
+
['list', 'GET', '/coupon_codes', null, false],
|
|
797
|
+
['archive', 'POST', '/coupon_codes', '/archive', true],
|
|
798
|
+
],
|
|
799
|
+
address: [
|
|
800
|
+
['retrieve', 'GET', '/addresses', null, false],
|
|
801
|
+
['update', 'POST', '/addresses', null, false],
|
|
802
|
+
],
|
|
803
|
+
usage: [
|
|
804
|
+
['create', 'POST', '/subscriptions', '/usages', true],
|
|
805
|
+
['retrieve', 'GET', '/subscriptions', '/usages', true],
|
|
806
|
+
['delete', 'POST', '/subscriptions', '/delete_usage', true],
|
|
807
|
+
['list', 'GET', '/usages', null, false],
|
|
808
|
+
['pdf', 'POST', '/usages', '/pdf', false],
|
|
809
|
+
],
|
|
810
|
+
event: [
|
|
811
|
+
['list', 'GET', '/events', null, false],
|
|
812
|
+
['retrieve', 'GET', '/events', null, true],
|
|
813
|
+
],
|
|
814
|
+
comment: [
|
|
815
|
+
['create', 'POST', '/comments', null, false],
|
|
816
|
+
['retrieve', 'GET', '/comments', null, true],
|
|
817
|
+
['list', 'GET', '/comments', null, false],
|
|
818
|
+
['delete', 'POST', '/comments', '/delete', true],
|
|
819
|
+
],
|
|
820
|
+
download: [],
|
|
821
|
+
portalSession: [
|
|
822
|
+
['create', 'POST', '/portal_sessions', null, false],
|
|
823
|
+
['retrieve', 'GET', '/portal_sessions', null, true],
|
|
824
|
+
['logout', 'POST', '/portal_sessions', '/logout', true],
|
|
825
|
+
['activate', 'POST', '/portal_sessions', '/activate', true],
|
|
826
|
+
],
|
|
827
|
+
siteMigrationDetail: [
|
|
828
|
+
['list', 'GET', '/site_migration_details', null, false],
|
|
829
|
+
],
|
|
830
|
+
resourceMigration: [
|
|
831
|
+
[
|
|
832
|
+
'retrieveLatest',
|
|
833
|
+
'GET',
|
|
834
|
+
'/resource_migrations',
|
|
835
|
+
'/retrieve_latest',
|
|
836
|
+
false,
|
|
837
|
+
],
|
|
838
|
+
],
|
|
839
|
+
timeMachine: [
|
|
840
|
+
['retrieve', 'GET', '/time_machines', null, true],
|
|
841
|
+
['startAfresh', 'POST', '/time_machines', '/start_afresh', true],
|
|
842
|
+
['travelForward', 'POST', '/time_machines', '/travel_forward', true],
|
|
843
|
+
],
|
|
844
|
+
export: [
|
|
845
|
+
['retrieve', 'GET', '/exports', null, true],
|
|
846
|
+
['revenueRecognition', 'POST', '/exports', '/revenue_recognition', false],
|
|
847
|
+
['deferredRevenue', 'POST', '/exports', '/deferred_revenue', false],
|
|
848
|
+
['plans', 'POST', '/exports', '/plans', false],
|
|
849
|
+
['addons', 'POST', '/exports', '/addons', false],
|
|
850
|
+
['coupons', 'POST', '/exports', '/coupons', false],
|
|
851
|
+
['customers', 'POST', '/exports', '/customers', false],
|
|
852
|
+
['subscriptions', 'POST', '/exports', '/subscriptions', false],
|
|
853
|
+
['invoices', 'POST', '/exports', '/invoices', false],
|
|
854
|
+
['creditNotes', 'POST', '/exports', '/credit_notes', false],
|
|
855
|
+
['transactions', 'POST', '/exports', '/transactions', false],
|
|
856
|
+
['orders', 'POST', '/exports', '/orders', false],
|
|
857
|
+
['itemFamilies', 'POST', '/exports', '/item_families', false],
|
|
858
|
+
['items', 'POST', '/exports', '/items', false],
|
|
859
|
+
['itemPrices', 'POST', '/exports', '/item_prices', false],
|
|
860
|
+
['attachedItems', 'POST', '/exports', '/attached_items', false],
|
|
861
|
+
['differentialPrices', 'POST', '/exports', '/differential_prices', false],
|
|
862
|
+
['priceVariants', 'POST', '/exports', '/price_variants', false],
|
|
863
|
+
],
|
|
864
|
+
paymentIntent: [
|
|
865
|
+
['create', 'POST', '/payment_intents', null, false],
|
|
866
|
+
['update', 'POST', '/payment_intents', null, true],
|
|
867
|
+
['retrieve', 'GET', '/payment_intents', null, true],
|
|
868
|
+
],
|
|
869
|
+
gatewayErrorDetail: [],
|
|
870
|
+
itemFamily: [
|
|
871
|
+
['create', 'POST', '/item_families', null, false],
|
|
872
|
+
['retrieve', 'GET', '/item_families', null, true],
|
|
873
|
+
['list', 'GET', '/item_families', null, false],
|
|
874
|
+
['update', 'POST', '/item_families', null, true],
|
|
875
|
+
['delete', 'POST', '/item_families', '/delete', true],
|
|
876
|
+
],
|
|
877
|
+
item: [
|
|
878
|
+
['create', 'POST', '/items', null, false],
|
|
879
|
+
['retrieve', 'GET', '/items', null, true],
|
|
880
|
+
['update', 'POST', '/items', null, true],
|
|
881
|
+
['list', 'GET', '/items', null, false],
|
|
882
|
+
['delete', 'POST', '/items', '/delete', true],
|
|
883
|
+
],
|
|
884
|
+
priceVariant: [
|
|
885
|
+
['create', 'POST', '/price_variants', null, false],
|
|
886
|
+
['retrieve', 'GET', '/price_variants', null, true],
|
|
887
|
+
['update', 'POST', '/price_variants', null, true],
|
|
888
|
+
['delete', 'POST', '/price_variants', '/delete', true],
|
|
889
|
+
['list', 'GET', '/price_variants', null, false],
|
|
890
|
+
],
|
|
891
|
+
attribute: [],
|
|
892
|
+
itemPrice: [
|
|
893
|
+
['create', 'POST', '/item_prices', null, false],
|
|
894
|
+
['retrieve', 'GET', '/item_prices', null, true],
|
|
895
|
+
['update', 'POST', '/item_prices', null, true],
|
|
896
|
+
['list', 'GET', '/item_prices', null, false],
|
|
897
|
+
['delete', 'POST', '/item_prices', '/delete', true],
|
|
898
|
+
['findApplicableItems', 'GET', '/item_prices', '/applicable_items', true],
|
|
899
|
+
[
|
|
900
|
+
'findApplicableItemPrices',
|
|
901
|
+
'GET',
|
|
902
|
+
'/item_prices',
|
|
903
|
+
'/applicable_item_prices',
|
|
904
|
+
true,
|
|
905
|
+
],
|
|
906
|
+
],
|
|
907
|
+
attachedItem: [
|
|
908
|
+
['create', 'POST', '/items', '/attached_items', true],
|
|
909
|
+
['update', 'POST', '/attached_items', null, true],
|
|
910
|
+
['retrieve', 'GET', '/attached_items', null, true],
|
|
911
|
+
['delete', 'POST', '/attached_items', '/delete', true],
|
|
912
|
+
['list', 'GET', '/items', '/attached_items', true],
|
|
913
|
+
],
|
|
914
|
+
differentialPrice: [
|
|
915
|
+
['create', 'POST', '/item_prices', '/differential_prices', true],
|
|
916
|
+
['retrieve', 'GET', '/differential_prices', null, true],
|
|
917
|
+
['update', 'POST', '/differential_prices', null, true],
|
|
918
|
+
['delete', 'POST', '/differential_prices', '/delete', true],
|
|
919
|
+
['list', 'GET', '/differential_prices', null, false],
|
|
920
|
+
],
|
|
921
|
+
feature: [
|
|
922
|
+
['list', 'GET', '/features', null, false],
|
|
923
|
+
['create', 'POST', '/features', null, false],
|
|
924
|
+
['update', 'POST', '/features', null, true],
|
|
925
|
+
['retrieve', 'GET', '/features', null, true],
|
|
926
|
+
['delete', 'POST', '/features', '/delete', true],
|
|
927
|
+
['activate', 'POST', '/features', '/activate_command', true],
|
|
928
|
+
['archive', 'POST', '/features', '/archive_command', true],
|
|
929
|
+
['reactivate', 'POST', '/features', '/reactivate_command', true],
|
|
930
|
+
],
|
|
931
|
+
impactedSubscription: [],
|
|
932
|
+
impactedItem: [],
|
|
933
|
+
impactedItemPrice: [],
|
|
934
|
+
metadata: [],
|
|
935
|
+
subscriptionEntitlement: [
|
|
936
|
+
[
|
|
937
|
+
'subscriptionEntitlementsForSubscription',
|
|
938
|
+
'GET',
|
|
939
|
+
'/subscriptions',
|
|
940
|
+
'/subscription_entitlements',
|
|
941
|
+
true,
|
|
942
|
+
],
|
|
943
|
+
[
|
|
944
|
+
'setSubscriptionEntitlementAvailability',
|
|
945
|
+
'POST',
|
|
946
|
+
'/subscriptions',
|
|
947
|
+
'/subscription_entitlements/set_availability',
|
|
948
|
+
true,
|
|
949
|
+
],
|
|
950
|
+
],
|
|
951
|
+
customerEntitlement: [
|
|
952
|
+
[
|
|
953
|
+
'entitlementsForCustomer',
|
|
954
|
+
'GET',
|
|
955
|
+
'/customers',
|
|
956
|
+
'/customer_entitlements',
|
|
957
|
+
true,
|
|
958
|
+
],
|
|
959
|
+
],
|
|
960
|
+
itemEntitlement: [
|
|
961
|
+
['itemEntitlementsForItem', 'GET', '/items', '/item_entitlements', true],
|
|
962
|
+
[
|
|
963
|
+
'itemEntitlementsForFeature',
|
|
964
|
+
'GET',
|
|
965
|
+
'/features',
|
|
966
|
+
'/item_entitlements',
|
|
967
|
+
true,
|
|
968
|
+
],
|
|
969
|
+
['addItemEntitlements', 'POST', '/features', '/item_entitlements', true],
|
|
970
|
+
[
|
|
971
|
+
'upsertOrRemoveItemEntitlementsForItem',
|
|
972
|
+
'POST',
|
|
973
|
+
'/items',
|
|
974
|
+
'/item_entitlements',
|
|
975
|
+
true,
|
|
976
|
+
],
|
|
977
|
+
],
|
|
978
|
+
entitlement: [
|
|
979
|
+
['list', 'GET', '/entitlements', null, false],
|
|
980
|
+
['create', 'POST', '/entitlements', null, false],
|
|
981
|
+
],
|
|
982
|
+
inAppSubscription: [
|
|
983
|
+
[
|
|
984
|
+
'processReceipt',
|
|
985
|
+
'POST',
|
|
986
|
+
'/in_app_subscriptions',
|
|
987
|
+
'/process_purchase_command',
|
|
988
|
+
true,
|
|
989
|
+
],
|
|
990
|
+
['importReceipt', 'POST', '/in_app_subscriptions', '/import_receipt', true],
|
|
991
|
+
[
|
|
992
|
+
'importSubscription',
|
|
993
|
+
'POST',
|
|
994
|
+
'/in_app_subscriptions',
|
|
995
|
+
'/import_subscription',
|
|
996
|
+
true,
|
|
997
|
+
],
|
|
998
|
+
['retrieveStoreSubs', 'POST', '/in_app_subscriptions', '/retrieve', true],
|
|
999
|
+
],
|
|
1000
|
+
entitlementOverride: [
|
|
1001
|
+
[
|
|
1002
|
+
'addEntitlementOverrideForSubscription',
|
|
1003
|
+
'POST',
|
|
1004
|
+
'/subscriptions',
|
|
1005
|
+
'/entitlement_overrides',
|
|
1006
|
+
true,
|
|
1007
|
+
],
|
|
1008
|
+
[
|
|
1009
|
+
'listEntitlementOverrideForSubscription',
|
|
1010
|
+
'GET',
|
|
1011
|
+
'/subscriptions',
|
|
1012
|
+
'/entitlement_overrides',
|
|
1013
|
+
true,
|
|
1014
|
+
],
|
|
1015
|
+
],
|
|
1016
|
+
businessEntity: [
|
|
1017
|
+
['createTransfers', 'POST', '/business_entities', '/transfers', false],
|
|
1018
|
+
['getTransfers', 'GET', '/business_entities', '/transfers', false],
|
|
1019
|
+
],
|
|
1020
|
+
purchase: [
|
|
1021
|
+
['create', 'POST', '/purchases', null, false],
|
|
1022
|
+
['estimate', 'POST', '/purchases', '/estimate', false],
|
|
1023
|
+
],
|
|
1024
|
+
paymentVoucher: [
|
|
1025
|
+
['create', 'POST', '/payment_vouchers', null, false],
|
|
1026
|
+
['retrieve', 'GET', '/payment_vouchers', null, true],
|
|
1027
|
+
[
|
|
1028
|
+
'payment_vouchersForInvoice',
|
|
1029
|
+
'GET',
|
|
1030
|
+
'/invoices',
|
|
1031
|
+
'/payment_vouchers',
|
|
1032
|
+
true,
|
|
1033
|
+
],
|
|
1034
|
+
[
|
|
1035
|
+
'payment_vouchersForCustomer',
|
|
1036
|
+
'GET',
|
|
1037
|
+
'/customers',
|
|
1038
|
+
'/payment_vouchers',
|
|
1039
|
+
true,
|
|
1040
|
+
],
|
|
1041
|
+
],
|
|
1042
|
+
currency: [
|
|
1043
|
+
['list', 'GET', '/currencies', '/list', false],
|
|
1044
|
+
['retrieve', 'GET', '/currencies', null, true],
|
|
1045
|
+
['create', 'POST', '/currencies', null, false],
|
|
1046
|
+
['update', 'POST', '/currencies', null, true],
|
|
1047
|
+
['addSchedule', 'POST', '/currencies', '/add_schedule', true],
|
|
1048
|
+
['removeSchedule', 'POST', '/currencies', '/remove_schedule', true],
|
|
1049
|
+
],
|
|
1050
|
+
ramp: [
|
|
1051
|
+
['createForSubscription', 'POST', '/subscriptions', '/create_ramp', true],
|
|
1052
|
+
['update', 'POST', '/ramps', '/update', true],
|
|
1053
|
+
['retrieve', 'GET', '/ramps', null, true],
|
|
1054
|
+
['delete', 'POST', '/ramps', '/delete', true],
|
|
1055
|
+
['list', 'GET', '/ramps', null, false],
|
|
1056
|
+
],
|
|
1057
|
+
installmentConfig: [
|
|
1058
|
+
['create', 'POST', '/installment_configs', null, false],
|
|
1059
|
+
['retrieve', 'GET', '/installment_configs', null, true],
|
|
1060
|
+
['delete', 'POST', '/installment_configs', '/delete', true],
|
|
1061
|
+
],
|
|
1062
|
+
installment: [
|
|
1063
|
+
['retrieve', 'GET', '/installments', null, true],
|
|
1064
|
+
['list', 'GET', '/installments', null, false],
|
|
1065
|
+
],
|
|
1066
|
+
installmentDetail: [],
|
|
1067
|
+
pricingPageSession: [
|
|
1068
|
+
[
|
|
1069
|
+
'createForNewSubscription',
|
|
1070
|
+
'POST',
|
|
1071
|
+
'/pricing_page_sessions',
|
|
1072
|
+
'/create_for_new_subscription',
|
|
1073
|
+
false,
|
|
1074
|
+
],
|
|
1075
|
+
[
|
|
1076
|
+
'createForExistingSubscription',
|
|
1077
|
+
'POST',
|
|
1078
|
+
'/pricing_page_sessions',
|
|
1079
|
+
'/create_for_existing_subscription',
|
|
1080
|
+
false,
|
|
1081
|
+
],
|
|
1082
|
+
],
|
|
1083
|
+
};
|