chargebee 3.2.1 → 3.4.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 +81 -0
- package/cjs/RequestWrapper.js +9 -3
- package/cjs/coreCommon.js +1 -0
- package/cjs/createChargebee.js +3 -0
- package/cjs/environment.js +1 -1
- package/cjs/resources/api_endpoints.js +2099 -365
- package/cjs/util.js +22 -17
- package/esm/RequestWrapper.js +9 -3
- package/esm/coreCommon.js +1 -0
- package/esm/createChargebee.js +3 -0
- package/esm/environment.js +1 -1
- package/esm/resources/api_endpoints.js +2099 -365
- package/esm/util.js +22 -17
- package/package.json +1 -1
- package/types/core.d.ts +13 -1
- package/types/index.d.ts +6 -0
- package/types/resources/AttachedItem.d.ts +1 -0
- package/types/resources/Comment.d.ts +1 -0
- package/types/resources/Configuration.d.ts +24 -0
- package/types/resources/Coupon.d.ts +5 -16
- package/types/resources/CreditNote.d.ts +5 -3
- package/types/resources/CreditNoteEstimate.d.ts +2 -1
- package/types/resources/Customer.d.ts +0 -12
- package/types/resources/DifferentialPrice.d.ts +1 -0
- package/types/resources/Event.d.ts +4 -2
- package/types/resources/Feature.d.ts +1 -0
- package/types/resources/GatewayErrorDetail.d.ts +1 -0
- package/types/resources/Invoice.d.ts +8 -0
- package/types/resources/InvoiceEstimate.d.ts +7 -0
- package/types/resources/Item.d.ts +1 -0
- package/types/resources/ItemFamily.d.ts +1 -0
- package/types/resources/ItemPrice.d.ts +1 -0
- package/types/resources/OmnichannelSubscription.d.ts +13 -0
- package/types/resources/OmnichannelSubscriptionItem.d.ts +7 -1
- package/types/resources/Order.d.ts +1 -1
- package/types/resources/PriceVariant.d.ts +1 -0
- package/types/resources/Quote.d.ts +2 -0
- package/types/resources/QuoteLineGroup.d.ts +1 -0
- package/types/resources/QuotedSubscription.d.ts +3 -0
- package/types/resources/RecordedPurchase.d.ts +1 -1
- package/types/resources/Rule.d.ts +33 -0
- package/types/resources/Subscription.d.ts +19 -0
- package/types/resources/Transaction.d.ts +1 -0
- package/types/resources/UsageEvent.d.ts +53 -0
|
@@ -3,26 +3,88 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Endpoints = void 0;
|
|
4
4
|
exports.Endpoints = {
|
|
5
5
|
subscription: [
|
|
6
|
-
[
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
[
|
|
7
|
+
'create',
|
|
8
|
+
'POST',
|
|
9
|
+
'/subscriptions',
|
|
10
|
+
null,
|
|
11
|
+
false,
|
|
12
|
+
null,
|
|
13
|
+
false,
|
|
14
|
+
{
|
|
15
|
+
meta_data: 0,
|
|
16
|
+
exemption_details: 1,
|
|
17
|
+
additional_information: 1,
|
|
18
|
+
billing_address: 1,
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
|
+
[
|
|
22
|
+
'createForCustomer',
|
|
23
|
+
'POST',
|
|
24
|
+
'/customers',
|
|
25
|
+
'/subscriptions',
|
|
26
|
+
true,
|
|
27
|
+
null,
|
|
28
|
+
false,
|
|
29
|
+
{
|
|
30
|
+
meta_data: 0,
|
|
31
|
+
additional_information: 1,
|
|
32
|
+
},
|
|
33
|
+
],
|
|
34
|
+
[
|
|
35
|
+
'createWithItems',
|
|
36
|
+
'POST',
|
|
37
|
+
'/customers',
|
|
38
|
+
'/subscription_for_items',
|
|
39
|
+
true,
|
|
40
|
+
null,
|
|
41
|
+
false,
|
|
42
|
+
{
|
|
43
|
+
meta_data: 0,
|
|
44
|
+
additional_information: 1,
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
['list', 'GET', '/subscriptions', null, false, null, false, {}],
|
|
48
|
+
[
|
|
49
|
+
'subscriptionsForCustomer',
|
|
50
|
+
'GET',
|
|
51
|
+
'/customers',
|
|
52
|
+
'/subscriptions',
|
|
53
|
+
true,
|
|
54
|
+
null,
|
|
55
|
+
false,
|
|
56
|
+
{},
|
|
57
|
+
],
|
|
11
58
|
[
|
|
12
59
|
'contractTermsForSubscription',
|
|
13
60
|
'GET',
|
|
14
61
|
'/subscriptions',
|
|
15
62
|
'/contract_terms',
|
|
16
63
|
true,
|
|
64
|
+
null,
|
|
65
|
+
false,
|
|
66
|
+
{},
|
|
67
|
+
],
|
|
68
|
+
[
|
|
69
|
+
'listDiscounts',
|
|
70
|
+
'GET',
|
|
71
|
+
'/subscriptions',
|
|
72
|
+
'/discounts',
|
|
73
|
+
true,
|
|
74
|
+
null,
|
|
75
|
+
false,
|
|
76
|
+
{},
|
|
17
77
|
],
|
|
18
|
-
['
|
|
19
|
-
['retrieve', 'GET', '/subscriptions', null, true],
|
|
78
|
+
['retrieve', 'GET', '/subscriptions', null, true, null, false, {}],
|
|
20
79
|
[
|
|
21
80
|
'retrieveWithScheduledChanges',
|
|
22
81
|
'GET',
|
|
23
82
|
'/subscriptions',
|
|
24
83
|
'/retrieve_with_scheduled_changes',
|
|
25
84
|
true,
|
|
85
|
+
null,
|
|
86
|
+
false,
|
|
87
|
+
{},
|
|
26
88
|
],
|
|
27
89
|
[
|
|
28
90
|
'removeScheduledChanges',
|
|
@@ -30,6 +92,9 @@ exports.Endpoints = {
|
|
|
30
92
|
'/subscriptions',
|
|
31
93
|
'/remove_scheduled_changes',
|
|
32
94
|
true,
|
|
95
|
+
null,
|
|
96
|
+
false,
|
|
97
|
+
{},
|
|
33
98
|
],
|
|
34
99
|
[
|
|
35
100
|
'removeScheduledCancellation',
|
|
@@ -37,18 +102,77 @@ exports.Endpoints = {
|
|
|
37
102
|
'/subscriptions',
|
|
38
103
|
'/remove_scheduled_cancellation',
|
|
39
104
|
true,
|
|
105
|
+
null,
|
|
106
|
+
false,
|
|
107
|
+
{},
|
|
108
|
+
],
|
|
109
|
+
[
|
|
110
|
+
'removeCoupons',
|
|
111
|
+
'POST',
|
|
112
|
+
'/subscriptions',
|
|
113
|
+
'/remove_coupons',
|
|
114
|
+
true,
|
|
115
|
+
null,
|
|
116
|
+
false,
|
|
117
|
+
{},
|
|
118
|
+
],
|
|
119
|
+
[
|
|
120
|
+
'update',
|
|
121
|
+
'POST',
|
|
122
|
+
'/subscriptions',
|
|
123
|
+
null,
|
|
124
|
+
true,
|
|
125
|
+
null,
|
|
126
|
+
false,
|
|
127
|
+
{
|
|
128
|
+
meta_data: 0,
|
|
129
|
+
additional_information: 1,
|
|
130
|
+
},
|
|
131
|
+
],
|
|
132
|
+
[
|
|
133
|
+
'updateForItems',
|
|
134
|
+
'POST',
|
|
135
|
+
'/subscriptions',
|
|
136
|
+
'/update_for_items',
|
|
137
|
+
true,
|
|
138
|
+
null,
|
|
139
|
+
false,
|
|
140
|
+
{
|
|
141
|
+
meta_data: 0,
|
|
142
|
+
additional_information: 1,
|
|
143
|
+
},
|
|
144
|
+
],
|
|
145
|
+
[
|
|
146
|
+
'changeTermEnd',
|
|
147
|
+
'POST',
|
|
148
|
+
'/subscriptions',
|
|
149
|
+
'/change_term_end',
|
|
150
|
+
true,
|
|
151
|
+
null,
|
|
152
|
+
false,
|
|
153
|
+
{},
|
|
154
|
+
],
|
|
155
|
+
[
|
|
156
|
+
'reactivate',
|
|
157
|
+
'POST',
|
|
158
|
+
'/subscriptions',
|
|
159
|
+
'/reactivate',
|
|
160
|
+
true,
|
|
161
|
+
null,
|
|
162
|
+
false,
|
|
163
|
+
{
|
|
164
|
+
additional_information: 1,
|
|
165
|
+
},
|
|
40
166
|
],
|
|
41
|
-
['removeCoupons', 'POST', '/subscriptions', '/remove_coupons', true],
|
|
42
|
-
['update', 'POST', '/subscriptions', null, true],
|
|
43
|
-
['updateForItems', 'POST', '/subscriptions', '/update_for_items', true],
|
|
44
|
-
['changeTermEnd', 'POST', '/subscriptions', '/change_term_end', true],
|
|
45
|
-
['reactivate', 'POST', '/subscriptions', '/reactivate', true],
|
|
46
167
|
[
|
|
47
168
|
'addChargeAtTermEnd',
|
|
48
169
|
'POST',
|
|
49
170
|
'/subscriptions',
|
|
50
171
|
'/add_charge_at_term_end',
|
|
51
172
|
true,
|
|
173
|
+
null,
|
|
174
|
+
false,
|
|
175
|
+
{},
|
|
52
176
|
],
|
|
53
177
|
[
|
|
54
178
|
'chargeAddonAtTermEnd',
|
|
@@ -56,6 +180,9 @@ exports.Endpoints = {
|
|
|
56
180
|
'/subscriptions',
|
|
57
181
|
'/charge_addon_at_term_end',
|
|
58
182
|
true,
|
|
183
|
+
null,
|
|
184
|
+
false,
|
|
185
|
+
{},
|
|
59
186
|
],
|
|
60
187
|
[
|
|
61
188
|
'chargeFutureRenewals',
|
|
@@ -63,6 +190,9 @@ exports.Endpoints = {
|
|
|
63
190
|
'/subscriptions',
|
|
64
191
|
'/charge_future_renewals',
|
|
65
192
|
true,
|
|
193
|
+
null,
|
|
194
|
+
false,
|
|
195
|
+
{},
|
|
66
196
|
],
|
|
67
197
|
[
|
|
68
198
|
'editAdvanceInvoiceSchedule',
|
|
@@ -70,6 +200,9 @@ exports.Endpoints = {
|
|
|
70
200
|
'/subscriptions',
|
|
71
201
|
'/edit_advance_invoice_schedule',
|
|
72
202
|
true,
|
|
203
|
+
null,
|
|
204
|
+
false,
|
|
205
|
+
{},
|
|
73
206
|
],
|
|
74
207
|
[
|
|
75
208
|
'retrieveAdvanceInvoiceSchedule',
|
|
@@ -77,6 +210,9 @@ exports.Endpoints = {
|
|
|
77
210
|
'/subscriptions',
|
|
78
211
|
'/retrieve_advance_invoice_schedule',
|
|
79
212
|
true,
|
|
213
|
+
null,
|
|
214
|
+
false,
|
|
215
|
+
{},
|
|
80
216
|
],
|
|
81
217
|
[
|
|
82
218
|
'removeAdvanceInvoiceSchedule',
|
|
@@ -84,6 +220,9 @@ exports.Endpoints = {
|
|
|
84
220
|
'/subscriptions',
|
|
85
221
|
'/remove_advance_invoice_schedule',
|
|
86
222
|
true,
|
|
223
|
+
null,
|
|
224
|
+
false,
|
|
225
|
+
{},
|
|
87
226
|
],
|
|
88
227
|
[
|
|
89
228
|
'regenerateInvoice',
|
|
@@ -91,6 +230,9 @@ exports.Endpoints = {
|
|
|
91
230
|
'/subscriptions',
|
|
92
231
|
'/regenerate_invoice',
|
|
93
232
|
true,
|
|
233
|
+
null,
|
|
234
|
+
false,
|
|
235
|
+
{},
|
|
94
236
|
],
|
|
95
237
|
[
|
|
96
238
|
'importSubscription',
|
|
@@ -98,14 +240,34 @@ exports.Endpoints = {
|
|
|
98
240
|
'/subscriptions',
|
|
99
241
|
'/import_subscription',
|
|
100
242
|
false,
|
|
243
|
+
null,
|
|
244
|
+
false,
|
|
245
|
+
{
|
|
246
|
+
meta_data: 0,
|
|
247
|
+
additional_information: 1,
|
|
248
|
+
},
|
|
249
|
+
],
|
|
250
|
+
[
|
|
251
|
+
'importForCustomer',
|
|
252
|
+
'POST',
|
|
253
|
+
'/customers',
|
|
254
|
+
'/import_subscription',
|
|
255
|
+
true,
|
|
256
|
+
null,
|
|
257
|
+
false,
|
|
258
|
+
{
|
|
259
|
+
meta_data: 0,
|
|
260
|
+
},
|
|
101
261
|
],
|
|
102
|
-
['importForCustomer', 'POST', '/customers', '/import_subscription', true],
|
|
103
262
|
[
|
|
104
263
|
'importContractTerm',
|
|
105
264
|
'POST',
|
|
106
265
|
'/subscriptions',
|
|
107
266
|
'/import_contract_term',
|
|
108
267
|
true,
|
|
268
|
+
null,
|
|
269
|
+
false,
|
|
270
|
+
{},
|
|
109
271
|
],
|
|
110
272
|
[
|
|
111
273
|
'importUnbilledCharges',
|
|
@@ -113,26 +275,66 @@ exports.Endpoints = {
|
|
|
113
275
|
'/subscriptions',
|
|
114
276
|
'/import_unbilled_charges',
|
|
115
277
|
true,
|
|
278
|
+
null,
|
|
279
|
+
false,
|
|
280
|
+
{},
|
|
281
|
+
],
|
|
282
|
+
[
|
|
283
|
+
'importForItems',
|
|
284
|
+
'POST',
|
|
285
|
+
'/customers',
|
|
286
|
+
'/import_for_items',
|
|
287
|
+
true,
|
|
288
|
+
null,
|
|
289
|
+
false,
|
|
290
|
+
{
|
|
291
|
+
meta_data: 0,
|
|
292
|
+
},
|
|
116
293
|
],
|
|
117
|
-
['importForItems', 'POST', '/customers', '/import_for_items', true],
|
|
118
294
|
[
|
|
119
295
|
'overrideBillingProfile',
|
|
120
296
|
'POST',
|
|
121
297
|
'/subscriptions',
|
|
122
298
|
'/override_billing_profile',
|
|
123
299
|
true,
|
|
300
|
+
null,
|
|
301
|
+
false,
|
|
302
|
+
{},
|
|
303
|
+
],
|
|
304
|
+
['delete', 'POST', '/subscriptions', '/delete', true, null, false, {}],
|
|
305
|
+
['pause', 'POST', '/subscriptions', '/pause', true, null, false, {}],
|
|
306
|
+
['cancel', 'POST', '/subscriptions', '/cancel', true, null, false, {}],
|
|
307
|
+
[
|
|
308
|
+
'cancelForItems',
|
|
309
|
+
'POST',
|
|
310
|
+
'/subscriptions',
|
|
311
|
+
'/cancel_for_items',
|
|
312
|
+
true,
|
|
313
|
+
null,
|
|
314
|
+
false,
|
|
315
|
+
{},
|
|
316
|
+
],
|
|
317
|
+
[
|
|
318
|
+
'resume',
|
|
319
|
+
'POST',
|
|
320
|
+
'/subscriptions',
|
|
321
|
+
'/resume',
|
|
322
|
+
true,
|
|
323
|
+
null,
|
|
324
|
+
false,
|
|
325
|
+
{
|
|
326
|
+
additional_information: 1,
|
|
327
|
+
},
|
|
124
328
|
],
|
|
125
|
-
['delete', 'POST', '/subscriptions', '/delete', true],
|
|
126
|
-
['pause', 'POST', '/subscriptions', '/pause', true],
|
|
127
|
-
['cancel', 'POST', '/subscriptions', '/cancel', true],
|
|
128
|
-
['cancelForItems', 'POST', '/subscriptions', '/cancel_for_items', true],
|
|
129
|
-
['resume', 'POST', '/subscriptions', '/resume', true],
|
|
130
329
|
[
|
|
131
330
|
'removeScheduledPause',
|
|
132
331
|
'POST',
|
|
133
332
|
'/subscriptions',
|
|
134
333
|
'/remove_scheduled_pause',
|
|
135
334
|
true,
|
|
335
|
+
null,
|
|
336
|
+
false,
|
|
337
|
+
{},
|
|
136
338
|
],
|
|
137
339
|
[
|
|
138
340
|
'removeScheduledResumption',
|
|
@@ -140,36 +342,118 @@ exports.Endpoints = {
|
|
|
140
342
|
'/subscriptions',
|
|
141
343
|
'/remove_scheduled_resumption',
|
|
142
344
|
true,
|
|
345
|
+
null,
|
|
346
|
+
false,
|
|
347
|
+
{},
|
|
143
348
|
],
|
|
144
|
-
['move', 'POST', '/subscriptions', '/move', true],
|
|
349
|
+
['move', 'POST', '/subscriptions', '/move', true, null, false, {}],
|
|
145
350
|
],
|
|
146
351
|
contractTerm: [],
|
|
147
352
|
discount: [],
|
|
148
353
|
advanceInvoiceSchedule: [],
|
|
149
354
|
customer: [
|
|
150
|
-
[
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
355
|
+
[
|
|
356
|
+
'create',
|
|
357
|
+
'POST',
|
|
358
|
+
'/customers',
|
|
359
|
+
null,
|
|
360
|
+
false,
|
|
361
|
+
null,
|
|
362
|
+
false,
|
|
363
|
+
{
|
|
364
|
+
exemption_details: 0,
|
|
365
|
+
meta_data: 0,
|
|
366
|
+
additional_information: 1,
|
|
367
|
+
billing_address: 1,
|
|
368
|
+
},
|
|
369
|
+
],
|
|
370
|
+
['list', 'GET', '/customers', null, false, null, false, {}],
|
|
371
|
+
['retrieve', 'GET', '/customers', null, true, null, false, {}],
|
|
372
|
+
[
|
|
373
|
+
'update',
|
|
374
|
+
'POST',
|
|
375
|
+
'/customers',
|
|
376
|
+
null,
|
|
377
|
+
true,
|
|
378
|
+
null,
|
|
379
|
+
false,
|
|
380
|
+
{
|
|
381
|
+
exemption_details: 0,
|
|
382
|
+
meta_data: 0,
|
|
383
|
+
},
|
|
384
|
+
],
|
|
154
385
|
[
|
|
155
386
|
'updatePaymentMethod',
|
|
156
387
|
'POST',
|
|
157
388
|
'/customers',
|
|
158
389
|
'/update_payment_method',
|
|
159
390
|
true,
|
|
391
|
+
null,
|
|
392
|
+
false,
|
|
393
|
+
{
|
|
394
|
+
additional_information: 1,
|
|
395
|
+
},
|
|
396
|
+
],
|
|
397
|
+
[
|
|
398
|
+
'updateBillingInfo',
|
|
399
|
+
'POST',
|
|
400
|
+
'/customers',
|
|
401
|
+
'/update_billing_info',
|
|
402
|
+
true,
|
|
403
|
+
null,
|
|
404
|
+
false,
|
|
405
|
+
{},
|
|
406
|
+
],
|
|
407
|
+
[
|
|
408
|
+
'contactsForCustomer',
|
|
409
|
+
'GET',
|
|
410
|
+
'/customers',
|
|
411
|
+
'/contacts',
|
|
412
|
+
true,
|
|
413
|
+
null,
|
|
414
|
+
false,
|
|
415
|
+
{},
|
|
416
|
+
],
|
|
417
|
+
[
|
|
418
|
+
'assignPaymentRole',
|
|
419
|
+
'POST',
|
|
420
|
+
'/customers',
|
|
421
|
+
'/assign_payment_role',
|
|
422
|
+
true,
|
|
423
|
+
null,
|
|
424
|
+
false,
|
|
425
|
+
{},
|
|
426
|
+
],
|
|
427
|
+
['addContact', 'POST', '/customers', '/add_contact', true, null, false, {}],
|
|
428
|
+
[
|
|
429
|
+
'updateContact',
|
|
430
|
+
'POST',
|
|
431
|
+
'/customers',
|
|
432
|
+
'/update_contact',
|
|
433
|
+
true,
|
|
434
|
+
null,
|
|
435
|
+
false,
|
|
436
|
+
{},
|
|
437
|
+
],
|
|
438
|
+
[
|
|
439
|
+
'deleteContact',
|
|
440
|
+
'POST',
|
|
441
|
+
'/customers',
|
|
442
|
+
'/delete_contact',
|
|
443
|
+
true,
|
|
444
|
+
null,
|
|
445
|
+
false,
|
|
446
|
+
{},
|
|
160
447
|
],
|
|
161
|
-
['updateBillingInfo', 'POST', '/customers', '/update_billing_info', true],
|
|
162
|
-
['contactsForCustomer', 'GET', '/customers', '/contacts', true],
|
|
163
|
-
['assignPaymentRole', 'POST', '/customers', '/assign_payment_role', true],
|
|
164
|
-
['addContact', 'POST', '/customers', '/add_contact', true],
|
|
165
|
-
['updateContact', 'POST', '/customers', '/update_contact', true],
|
|
166
|
-
['deleteContact', 'POST', '/customers', '/delete_contact', true],
|
|
167
448
|
[
|
|
168
449
|
'addPromotionalCredits',
|
|
169
450
|
'POST',
|
|
170
451
|
'/customers',
|
|
171
452
|
'/add_promotional_credits',
|
|
172
453
|
true,
|
|
454
|
+
null,
|
|
455
|
+
false,
|
|
456
|
+
{},
|
|
173
457
|
],
|
|
174
458
|
[
|
|
175
459
|
'deductPromotionalCredits',
|
|
@@ -177,6 +461,9 @@ exports.Endpoints = {
|
|
|
177
461
|
'/customers',
|
|
178
462
|
'/deduct_promotional_credits',
|
|
179
463
|
true,
|
|
464
|
+
null,
|
|
465
|
+
false,
|
|
466
|
+
{},
|
|
180
467
|
],
|
|
181
468
|
[
|
|
182
469
|
'setPromotionalCredits',
|
|
@@ -184,6 +471,9 @@ exports.Endpoints = {
|
|
|
184
471
|
'/customers',
|
|
185
472
|
'/set_promotional_credits',
|
|
186
473
|
true,
|
|
474
|
+
null,
|
|
475
|
+
false,
|
|
476
|
+
{},
|
|
187
477
|
],
|
|
188
478
|
[
|
|
189
479
|
'recordExcessPayment',
|
|
@@ -191,22 +481,75 @@ exports.Endpoints = {
|
|
|
191
481
|
'/customers',
|
|
192
482
|
'/record_excess_payment',
|
|
193
483
|
true,
|
|
484
|
+
null,
|
|
485
|
+
false,
|
|
486
|
+
{},
|
|
487
|
+
],
|
|
488
|
+
[
|
|
489
|
+
'collectPayment',
|
|
490
|
+
'POST',
|
|
491
|
+
'/customers',
|
|
492
|
+
'/collect_payment',
|
|
493
|
+
true,
|
|
494
|
+
null,
|
|
495
|
+
false,
|
|
496
|
+
{
|
|
497
|
+
additional_information: 1,
|
|
498
|
+
},
|
|
499
|
+
],
|
|
500
|
+
['delete', 'POST', '/customers', '/delete', true, null, false, {}],
|
|
501
|
+
['move', 'POST', '/customers', '/move', false, null, false, {}],
|
|
502
|
+
[
|
|
503
|
+
'changeBillingDate',
|
|
504
|
+
'POST',
|
|
505
|
+
'/customers',
|
|
506
|
+
'/change_billing_date',
|
|
507
|
+
true,
|
|
508
|
+
null,
|
|
509
|
+
false,
|
|
510
|
+
{},
|
|
511
|
+
],
|
|
512
|
+
['merge', 'POST', '/customers', '/merge', false, null, false, {}],
|
|
513
|
+
[
|
|
514
|
+
'clearPersonalData',
|
|
515
|
+
'POST',
|
|
516
|
+
'/customers',
|
|
517
|
+
'/clear_personal_data',
|
|
518
|
+
true,
|
|
519
|
+
null,
|
|
520
|
+
false,
|
|
521
|
+
{},
|
|
522
|
+
],
|
|
523
|
+
[
|
|
524
|
+
'relationships',
|
|
525
|
+
'POST',
|
|
526
|
+
'/customers',
|
|
527
|
+
'/relationships',
|
|
528
|
+
true,
|
|
529
|
+
null,
|
|
530
|
+
false,
|
|
531
|
+
{},
|
|
532
|
+
],
|
|
533
|
+
[
|
|
534
|
+
'deleteRelationship',
|
|
535
|
+
'POST',
|
|
536
|
+
'/customers',
|
|
537
|
+
'/delete_relationship',
|
|
538
|
+
true,
|
|
539
|
+
null,
|
|
540
|
+
false,
|
|
541
|
+
{},
|
|
194
542
|
],
|
|
195
|
-
['
|
|
196
|
-
['delete', 'POST', '/customers', '/delete', true],
|
|
197
|
-
['move', 'POST', '/customers', '/move', false],
|
|
198
|
-
['changeBillingDate', 'POST', '/customers', '/change_billing_date', true],
|
|
199
|
-
['merge', 'POST', '/customers', '/merge', false],
|
|
200
|
-
['clearPersonalData', 'POST', '/customers', '/clear_personal_data', true],
|
|
201
|
-
['relationships', 'POST', '/customers', '/relationships', true],
|
|
202
|
-
['deleteRelationship', 'POST', '/customers', '/delete_relationship', true],
|
|
203
|
-
['hierarchy', 'GET', '/customers', '/hierarchy', true],
|
|
543
|
+
['hierarchy', 'GET', '/customers', '/hierarchy', true, null, false, {}],
|
|
204
544
|
[
|
|
205
545
|
'updateHierarchySettings',
|
|
206
546
|
'POST',
|
|
207
547
|
'/customers',
|
|
208
548
|
'/update_hierarchy_settings',
|
|
209
549
|
true,
|
|
550
|
+
null,
|
|
551
|
+
false,
|
|
552
|
+
{},
|
|
210
553
|
],
|
|
211
554
|
],
|
|
212
555
|
hierarchy: [],
|
|
@@ -220,6 +563,11 @@ exports.Endpoints = {
|
|
|
220
563
|
'/payment_sources',
|
|
221
564
|
'/create_using_temp_token',
|
|
222
565
|
false,
|
|
566
|
+
null,
|
|
567
|
+
false,
|
|
568
|
+
{
|
|
569
|
+
additional_information: 0,
|
|
570
|
+
},
|
|
223
571
|
],
|
|
224
572
|
[
|
|
225
573
|
'createUsingPermanentToken',
|
|
@@ -227,6 +575,11 @@ exports.Endpoints = {
|
|
|
227
575
|
'/payment_sources',
|
|
228
576
|
'/create_using_permanent_token',
|
|
229
577
|
false,
|
|
578
|
+
null,
|
|
579
|
+
false,
|
|
580
|
+
{
|
|
581
|
+
additional_information: 0,
|
|
582
|
+
},
|
|
230
583
|
],
|
|
231
584
|
[
|
|
232
585
|
'createUsingToken',
|
|
@@ -234,6 +587,9 @@ exports.Endpoints = {
|
|
|
234
587
|
'/payment_sources',
|
|
235
588
|
'/create_using_token',
|
|
236
589
|
false,
|
|
590
|
+
null,
|
|
591
|
+
false,
|
|
592
|
+
{},
|
|
237
593
|
],
|
|
238
594
|
[
|
|
239
595
|
'createUsingPaymentIntent',
|
|
@@ -241,6 +597,12 @@ exports.Endpoints = {
|
|
|
241
597
|
'/payment_sources',
|
|
242
598
|
'/create_using_payment_intent',
|
|
243
599
|
false,
|
|
600
|
+
null,
|
|
601
|
+
false,
|
|
602
|
+
{
|
|
603
|
+
additional_info: 1,
|
|
604
|
+
additional_information: 1,
|
|
605
|
+
},
|
|
244
606
|
],
|
|
245
607
|
[
|
|
246
608
|
'createVoucherPaymentSource',
|
|
@@ -248,22 +610,58 @@ exports.Endpoints = {
|
|
|
248
610
|
'/payment_sources',
|
|
249
611
|
'/create_voucher_payment_source',
|
|
250
612
|
false,
|
|
613
|
+
null,
|
|
614
|
+
false,
|
|
615
|
+
{
|
|
616
|
+
billing_address: 1,
|
|
617
|
+
},
|
|
618
|
+
],
|
|
619
|
+
[
|
|
620
|
+
'createCard',
|
|
621
|
+
'POST',
|
|
622
|
+
'/payment_sources',
|
|
623
|
+
'/create_card',
|
|
624
|
+
false,
|
|
625
|
+
null,
|
|
626
|
+
false,
|
|
627
|
+
{
|
|
628
|
+
additional_information: 1,
|
|
629
|
+
},
|
|
251
630
|
],
|
|
252
|
-
['createCard', 'POST', '/payment_sources', '/create_card', false],
|
|
253
631
|
[
|
|
254
632
|
'createBankAccount',
|
|
255
633
|
'POST',
|
|
256
634
|
'/payment_sources',
|
|
257
635
|
'/create_bank_account',
|
|
258
636
|
false,
|
|
637
|
+
null,
|
|
638
|
+
false,
|
|
639
|
+
{
|
|
640
|
+
billing_address: 1,
|
|
641
|
+
},
|
|
642
|
+
],
|
|
643
|
+
[
|
|
644
|
+
'updateCard',
|
|
645
|
+
'POST',
|
|
646
|
+
'/payment_sources',
|
|
647
|
+
'/update_card',
|
|
648
|
+
true,
|
|
649
|
+
null,
|
|
650
|
+
false,
|
|
651
|
+
{
|
|
652
|
+
gateway_meta_data: 0,
|
|
653
|
+
additional_information: 1,
|
|
654
|
+
},
|
|
259
655
|
],
|
|
260
|
-
['updateCard', 'POST', '/payment_sources', '/update_card', true],
|
|
261
656
|
[
|
|
262
657
|
'updateBankAccount',
|
|
263
658
|
'POST',
|
|
264
659
|
'/payment_sources',
|
|
265
660
|
'/update_bank_account',
|
|
266
661
|
true,
|
|
662
|
+
null,
|
|
663
|
+
false,
|
|
664
|
+
{},
|
|
267
665
|
],
|
|
268
666
|
[
|
|
269
667
|
'verifyBankAccount',
|
|
@@ -271,15 +669,21 @@ exports.Endpoints = {
|
|
|
271
669
|
'/payment_sources',
|
|
272
670
|
'/verify_bank_account',
|
|
273
671
|
true,
|
|
672
|
+
null,
|
|
673
|
+
false,
|
|
674
|
+
{},
|
|
274
675
|
],
|
|
275
|
-
['retrieve', 'GET', '/payment_sources', null, true],
|
|
276
|
-
['list', 'GET', '/payment_sources', null, false],
|
|
676
|
+
['retrieve', 'GET', '/payment_sources', null, true, null, false, {}],
|
|
677
|
+
['list', 'GET', '/payment_sources', null, false, null, false, {}],
|
|
277
678
|
[
|
|
278
679
|
'switchGatewayAccount',
|
|
279
680
|
'POST',
|
|
280
681
|
'/payment_sources',
|
|
281
682
|
'/switch_gateway_account',
|
|
282
683
|
true,
|
|
684
|
+
null,
|
|
685
|
+
false,
|
|
686
|
+
{},
|
|
283
687
|
],
|
|
284
688
|
[
|
|
285
689
|
'exportPaymentSource',
|
|
@@ -287,9 +691,21 @@ exports.Endpoints = {
|
|
|
287
691
|
'/payment_sources',
|
|
288
692
|
'/export_payment_source',
|
|
289
693
|
true,
|
|
694
|
+
null,
|
|
695
|
+
false,
|
|
696
|
+
{},
|
|
697
|
+
],
|
|
698
|
+
['delete', 'POST', '/payment_sources', '/delete', true, null, false, {}],
|
|
699
|
+
[
|
|
700
|
+
'deleteLocal',
|
|
701
|
+
'POST',
|
|
702
|
+
'/payment_sources',
|
|
703
|
+
'/delete_local',
|
|
704
|
+
true,
|
|
705
|
+
null,
|
|
706
|
+
false,
|
|
707
|
+
{},
|
|
290
708
|
],
|
|
291
|
-
['delete', 'POST', '/payment_sources', '/delete', true],
|
|
292
|
-
['deleteLocal', 'POST', '/payment_sources', '/delete_local', true],
|
|
293
709
|
],
|
|
294
710
|
thirdPartyPaymentMethod: [],
|
|
295
711
|
virtualBankAccount: [
|
|
@@ -299,205 +715,668 @@ exports.Endpoints = {
|
|
|
299
715
|
'/virtual_bank_accounts',
|
|
300
716
|
'/create_using_permanent_token',
|
|
301
717
|
false,
|
|
718
|
+
null,
|
|
719
|
+
false,
|
|
720
|
+
{},
|
|
302
721
|
],
|
|
303
|
-
['create', 'POST', '/virtual_bank_accounts', null, false],
|
|
304
|
-
['retrieve', 'GET', '/virtual_bank_accounts', null, true],
|
|
305
|
-
['list', 'GET', '/virtual_bank_accounts', null, false],
|
|
306
|
-
['delete', 'POST', '/virtual_bank_accounts', '/delete', true],
|
|
307
|
-
['deleteLocal', 'POST', '/virtual_bank_accounts', '/delete_local', true],
|
|
308
|
-
],
|
|
309
|
-
card: [
|
|
310
|
-
['retrieve', 'GET', '/cards', null, true],
|
|
311
|
-
['updateCardForCustomer', 'POST', '/customers', '/credit_card', true],
|
|
312
|
-
['switchGatewayForCustomer', 'POST', '/customers', '/switch_gateway', true],
|
|
313
|
-
['copyCardForCustomer', 'POST', '/customers', '/copy_card', true],
|
|
314
|
-
['deleteCardForCustomer', 'POST', '/customers', '/delete_card', true],
|
|
315
|
-
],
|
|
316
|
-
promotionalCredit: [
|
|
317
|
-
['add', 'POST', '/promotional_credits', '/add', false],
|
|
318
|
-
['deduct', 'POST', '/promotional_credits', '/deduct', false],
|
|
319
|
-
['set', 'POST', '/promotional_credits', '/set', false],
|
|
320
|
-
['list', 'GET', '/promotional_credits', null, false],
|
|
321
|
-
['retrieve', 'GET', '/promotional_credits', null, true],
|
|
322
|
-
],
|
|
323
|
-
invoice: [
|
|
324
|
-
['create', 'POST', '/invoices', null, false],
|
|
722
|
+
['create', 'POST', '/virtual_bank_accounts', null, false, null, false, {}],
|
|
723
|
+
['retrieve', 'GET', '/virtual_bank_accounts', null, true, null, false, {}],
|
|
724
|
+
['list', 'GET', '/virtual_bank_accounts', null, false, null, false, {}],
|
|
325
725
|
[
|
|
326
|
-
'
|
|
726
|
+
'delete',
|
|
327
727
|
'POST',
|
|
328
|
-
'/
|
|
329
|
-
'/
|
|
728
|
+
'/virtual_bank_accounts',
|
|
729
|
+
'/delete',
|
|
730
|
+
true,
|
|
731
|
+
null,
|
|
330
732
|
false,
|
|
733
|
+
{},
|
|
331
734
|
],
|
|
332
|
-
['charge', 'POST', '/invoices', '/charge', false],
|
|
333
|
-
['chargeAddon', 'POST', '/invoices', '/charge_addon', false],
|
|
334
735
|
[
|
|
335
|
-
'
|
|
736
|
+
'deleteLocal',
|
|
336
737
|
'POST',
|
|
337
|
-
'/
|
|
338
|
-
'/
|
|
738
|
+
'/virtual_bank_accounts',
|
|
739
|
+
'/delete_local',
|
|
740
|
+
true,
|
|
741
|
+
null,
|
|
339
742
|
false,
|
|
743
|
+
{},
|
|
340
744
|
],
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
['
|
|
344
|
-
['syncUsages', 'POST', '/invoices', '/sync_usages', true],
|
|
345
|
-
['deleteLineItems', 'POST', '/invoices', '/delete_line_items', true],
|
|
346
|
-
['applyCredits', 'POST', '/invoices', '/apply_credits', true],
|
|
347
|
-
['list', 'GET', '/invoices', null, false],
|
|
348
|
-
['invoicesForCustomer', 'GET', '/customers', '/invoices', true],
|
|
349
|
-
['invoicesForSubscription', 'GET', '/subscriptions', '/invoices', true],
|
|
350
|
-
['retrieve', 'GET', '/invoices', null, true],
|
|
351
|
-
['pdf', 'POST', '/invoices', '/pdf', true],
|
|
352
|
-
['downloadEinvoice', 'GET', '/invoices', '/download_einvoice', true],
|
|
745
|
+
],
|
|
746
|
+
card: [
|
|
747
|
+
['retrieve', 'GET', '/cards', null, true, null, false, {}],
|
|
353
748
|
[
|
|
354
|
-
'
|
|
355
|
-
'
|
|
356
|
-
'/
|
|
357
|
-
'/
|
|
749
|
+
'updateCardForCustomer',
|
|
750
|
+
'POST',
|
|
751
|
+
'/customers',
|
|
752
|
+
'/credit_card',
|
|
753
|
+
true,
|
|
754
|
+
null,
|
|
358
755
|
false,
|
|
756
|
+
{},
|
|
359
757
|
],
|
|
360
|
-
['addCharge', 'POST', '/invoices', '/add_charge', true],
|
|
361
|
-
['addAddonCharge', 'POST', '/invoices', '/add_addon_charge', true],
|
|
362
|
-
['addChargeItem', 'POST', '/invoices', '/add_charge_item', true],
|
|
363
|
-
['close', 'POST', '/invoices', '/close', true],
|
|
364
|
-
['collectPayment', 'POST', '/invoices', '/collect_payment', true],
|
|
365
|
-
['recordPayment', 'POST', '/invoices', '/record_payment', true],
|
|
366
|
-
['recordTaxWithheld', 'POST', '/invoices', '/record_tax_withheld', true],
|
|
367
|
-
['removeTaxWithheld', 'POST', '/invoices', '/remove_tax_withheld', true],
|
|
368
|
-
['refund', 'POST', '/invoices', '/refund', true],
|
|
369
|
-
['recordRefund', 'POST', '/invoices', '/record_refund', true],
|
|
370
|
-
['removePayment', 'POST', '/invoices', '/remove_payment', true],
|
|
371
|
-
['removeCreditNote', 'POST', '/invoices', '/remove_credit_note', true],
|
|
372
|
-
['voidInvoice', 'POST', '/invoices', '/void', true],
|
|
373
|
-
['writeOff', 'POST', '/invoices', '/write_off', true],
|
|
374
|
-
['delete', 'POST', '/invoices', '/delete', true],
|
|
375
|
-
['updateDetails', 'POST', '/invoices', '/update_details', true],
|
|
376
758
|
[
|
|
377
|
-
'
|
|
759
|
+
'switchGatewayForCustomer',
|
|
378
760
|
'POST',
|
|
379
|
-
'/
|
|
380
|
-
'/
|
|
761
|
+
'/customers',
|
|
762
|
+
'/switch_gateway',
|
|
381
763
|
true,
|
|
764
|
+
null,
|
|
765
|
+
false,
|
|
766
|
+
{},
|
|
382
767
|
],
|
|
383
|
-
['paymentSchedules', 'GET', '/invoices', '/payment_schedules', true],
|
|
384
|
-
['resendEinvoice', 'POST', '/invoices', '/resend_einvoice', true],
|
|
385
|
-
['sendEinvoice', 'POST', '/invoices', '/send_einvoice', true],
|
|
386
|
-
],
|
|
387
|
-
paymentReferenceNumber: [],
|
|
388
|
-
paymentSchedule: [],
|
|
389
|
-
taxWithheld: [],
|
|
390
|
-
creditNote: [
|
|
391
|
-
['create', 'POST', '/credit_notes', null, false],
|
|
392
|
-
['retrieve', 'GET', '/credit_notes', null, true],
|
|
393
|
-
['pdf', 'POST', '/credit_notes', '/pdf', true],
|
|
394
|
-
['downloadEinvoice', 'GET', '/credit_notes', '/download_einvoice', true],
|
|
395
|
-
['refund', 'POST', '/credit_notes', '/refund', true],
|
|
396
|
-
['recordRefund', 'POST', '/credit_notes', '/record_refund', true],
|
|
397
|
-
['voidCreditNote', 'POST', '/credit_notes', '/void', true],
|
|
398
|
-
['list', 'GET', '/credit_notes', null, false],
|
|
399
|
-
['creditNotesForCustomer', 'GET', '/customers', '/credit_notes', true],
|
|
400
|
-
['delete', 'POST', '/credit_notes', '/delete', true],
|
|
401
768
|
[
|
|
402
|
-
'
|
|
769
|
+
'copyCardForCustomer',
|
|
403
770
|
'POST',
|
|
404
|
-
'/
|
|
405
|
-
'/
|
|
771
|
+
'/customers',
|
|
772
|
+
'/copy_card',
|
|
406
773
|
true,
|
|
774
|
+
null,
|
|
775
|
+
false,
|
|
776
|
+
{},
|
|
407
777
|
],
|
|
408
|
-
['resendEinvoice', 'POST', '/credit_notes', '/resend_einvoice', true],
|
|
409
|
-
['sendEinvoice', 'POST', '/credit_notes', '/send_einvoice', true],
|
|
410
|
-
['importCreditNote', 'POST', '/credit_notes', '/import_credit_note', false],
|
|
411
|
-
],
|
|
412
|
-
unbilledCharge: [
|
|
413
|
-
['createUnbilledCharge', 'POST', '/unbilled_charges', '/create', false],
|
|
414
|
-
['create', 'POST', '/unbilled_charges', null, false],
|
|
415
778
|
[
|
|
416
|
-
'
|
|
779
|
+
'deleteCardForCustomer',
|
|
417
780
|
'POST',
|
|
418
|
-
'/
|
|
781
|
+
'/customers',
|
|
782
|
+
'/delete_card',
|
|
783
|
+
true,
|
|
784
|
+
null,
|
|
785
|
+
false,
|
|
786
|
+
{},
|
|
787
|
+
],
|
|
788
|
+
],
|
|
789
|
+
promotionalCredit: [
|
|
790
|
+
['add', 'POST', '/promotional_credits', '/add', false, null, false, {}],
|
|
791
|
+
[
|
|
792
|
+
'deduct',
|
|
793
|
+
'POST',
|
|
794
|
+
'/promotional_credits',
|
|
795
|
+
'/deduct',
|
|
796
|
+
false,
|
|
797
|
+
null,
|
|
798
|
+
false,
|
|
799
|
+
{},
|
|
800
|
+
],
|
|
801
|
+
['set', 'POST', '/promotional_credits', '/set', false, null, false, {}],
|
|
802
|
+
['list', 'GET', '/promotional_credits', null, false, null, false, {}],
|
|
803
|
+
['retrieve', 'GET', '/promotional_credits', null, true, null, false, {}],
|
|
804
|
+
],
|
|
805
|
+
invoice: [
|
|
806
|
+
[
|
|
807
|
+
'create',
|
|
808
|
+
'POST',
|
|
809
|
+
'/invoices',
|
|
810
|
+
null,
|
|
811
|
+
false,
|
|
812
|
+
null,
|
|
813
|
+
false,
|
|
814
|
+
{
|
|
815
|
+
additional_information: 1,
|
|
816
|
+
billing_address: 1,
|
|
817
|
+
},
|
|
818
|
+
],
|
|
819
|
+
[
|
|
820
|
+
'createForChargeItemsAndCharges',
|
|
821
|
+
'POST',
|
|
822
|
+
'/invoices',
|
|
823
|
+
'/create_for_charge_items_and_charges',
|
|
824
|
+
false,
|
|
825
|
+
null,
|
|
826
|
+
false,
|
|
827
|
+
{
|
|
828
|
+
additional_information: 1,
|
|
829
|
+
billing_address: 1,
|
|
830
|
+
},
|
|
831
|
+
],
|
|
832
|
+
['charge', 'POST', '/invoices', '/charge', false, null, false, {}],
|
|
833
|
+
[
|
|
834
|
+
'chargeAddon',
|
|
835
|
+
'POST',
|
|
836
|
+
'/invoices',
|
|
837
|
+
'/charge_addon',
|
|
838
|
+
false,
|
|
839
|
+
null,
|
|
840
|
+
false,
|
|
841
|
+
{},
|
|
842
|
+
],
|
|
843
|
+
[
|
|
844
|
+
'createForChargeItem',
|
|
845
|
+
'POST',
|
|
846
|
+
'/invoices',
|
|
847
|
+
'/create_for_charge_item',
|
|
848
|
+
false,
|
|
849
|
+
null,
|
|
850
|
+
false,
|
|
851
|
+
{},
|
|
852
|
+
],
|
|
853
|
+
[
|
|
854
|
+
'stopDunning',
|
|
855
|
+
'POST',
|
|
856
|
+
'/invoices',
|
|
857
|
+
'/stop_dunning',
|
|
858
|
+
true,
|
|
859
|
+
null,
|
|
860
|
+
false,
|
|
861
|
+
{},
|
|
862
|
+
],
|
|
863
|
+
[
|
|
864
|
+
'importInvoice',
|
|
865
|
+
'POST',
|
|
866
|
+
'/invoices',
|
|
867
|
+
'/import_invoice',
|
|
868
|
+
false,
|
|
869
|
+
null,
|
|
870
|
+
false,
|
|
871
|
+
{},
|
|
872
|
+
],
|
|
873
|
+
[
|
|
874
|
+
'applyPayments',
|
|
875
|
+
'POST',
|
|
876
|
+
'/invoices',
|
|
877
|
+
'/apply_payments',
|
|
878
|
+
true,
|
|
879
|
+
null,
|
|
880
|
+
false,
|
|
881
|
+
{},
|
|
882
|
+
],
|
|
883
|
+
['syncUsages', 'POST', '/invoices', '/sync_usages', true, null, false, {}],
|
|
884
|
+
[
|
|
885
|
+
'deleteLineItems',
|
|
886
|
+
'POST',
|
|
887
|
+
'/invoices',
|
|
888
|
+
'/delete_line_items',
|
|
889
|
+
true,
|
|
890
|
+
null,
|
|
891
|
+
false,
|
|
892
|
+
{},
|
|
893
|
+
],
|
|
894
|
+
[
|
|
895
|
+
'applyCredits',
|
|
896
|
+
'POST',
|
|
897
|
+
'/invoices',
|
|
898
|
+
'/apply_credits',
|
|
899
|
+
true,
|
|
900
|
+
null,
|
|
901
|
+
false,
|
|
902
|
+
{},
|
|
903
|
+
],
|
|
904
|
+
['list', 'GET', '/invoices', null, false, null, false, {}],
|
|
905
|
+
[
|
|
906
|
+
'invoicesForCustomer',
|
|
907
|
+
'GET',
|
|
908
|
+
'/customers',
|
|
909
|
+
'/invoices',
|
|
910
|
+
true,
|
|
911
|
+
null,
|
|
912
|
+
false,
|
|
913
|
+
{},
|
|
914
|
+
],
|
|
915
|
+
[
|
|
916
|
+
'invoicesForSubscription',
|
|
917
|
+
'GET',
|
|
918
|
+
'/subscriptions',
|
|
919
|
+
'/invoices',
|
|
920
|
+
true,
|
|
921
|
+
null,
|
|
922
|
+
false,
|
|
923
|
+
{},
|
|
924
|
+
],
|
|
925
|
+
['retrieve', 'GET', '/invoices', null, true, null, false, {}],
|
|
926
|
+
['pdf', 'POST', '/invoices', '/pdf', true, null, false, {}],
|
|
927
|
+
[
|
|
928
|
+
'downloadEinvoice',
|
|
929
|
+
'GET',
|
|
930
|
+
'/invoices',
|
|
931
|
+
'/download_einvoice',
|
|
932
|
+
true,
|
|
933
|
+
null,
|
|
934
|
+
false,
|
|
935
|
+
{},
|
|
936
|
+
],
|
|
937
|
+
[
|
|
938
|
+
'listPaymentReferenceNumbers',
|
|
939
|
+
'GET',
|
|
940
|
+
'/invoices',
|
|
941
|
+
'/payment_reference_numbers',
|
|
942
|
+
false,
|
|
943
|
+
null,
|
|
944
|
+
false,
|
|
945
|
+
{},
|
|
946
|
+
],
|
|
947
|
+
['addCharge', 'POST', '/invoices', '/add_charge', true, null, false, {}],
|
|
948
|
+
[
|
|
949
|
+
'addAddonCharge',
|
|
950
|
+
'POST',
|
|
951
|
+
'/invoices',
|
|
952
|
+
'/add_addon_charge',
|
|
953
|
+
true,
|
|
954
|
+
null,
|
|
955
|
+
false,
|
|
956
|
+
{},
|
|
957
|
+
],
|
|
958
|
+
[
|
|
959
|
+
'addChargeItem',
|
|
960
|
+
'POST',
|
|
961
|
+
'/invoices',
|
|
962
|
+
'/add_charge_item',
|
|
963
|
+
true,
|
|
964
|
+
null,
|
|
965
|
+
false,
|
|
966
|
+
{},
|
|
967
|
+
],
|
|
968
|
+
['close', 'POST', '/invoices', '/close', true, null, false, {}],
|
|
969
|
+
[
|
|
970
|
+
'collectPayment',
|
|
971
|
+
'POST',
|
|
972
|
+
'/invoices',
|
|
973
|
+
'/collect_payment',
|
|
974
|
+
true,
|
|
975
|
+
null,
|
|
976
|
+
false,
|
|
977
|
+
{},
|
|
978
|
+
],
|
|
979
|
+
[
|
|
980
|
+
'recordPayment',
|
|
981
|
+
'POST',
|
|
982
|
+
'/invoices',
|
|
983
|
+
'/record_payment',
|
|
984
|
+
true,
|
|
985
|
+
null,
|
|
986
|
+
false,
|
|
987
|
+
{},
|
|
988
|
+
],
|
|
989
|
+
[
|
|
990
|
+
'recordTaxWithheld',
|
|
991
|
+
'POST',
|
|
992
|
+
'/invoices',
|
|
993
|
+
'/record_tax_withheld',
|
|
994
|
+
true,
|
|
995
|
+
null,
|
|
996
|
+
false,
|
|
997
|
+
{},
|
|
998
|
+
],
|
|
999
|
+
[
|
|
1000
|
+
'removeTaxWithheld',
|
|
1001
|
+
'POST',
|
|
1002
|
+
'/invoices',
|
|
1003
|
+
'/remove_tax_withheld',
|
|
1004
|
+
true,
|
|
1005
|
+
null,
|
|
1006
|
+
false,
|
|
1007
|
+
{},
|
|
1008
|
+
],
|
|
1009
|
+
['refund', 'POST', '/invoices', '/refund', true, null, false, {}],
|
|
1010
|
+
[
|
|
1011
|
+
'recordRefund',
|
|
1012
|
+
'POST',
|
|
1013
|
+
'/invoices',
|
|
1014
|
+
'/record_refund',
|
|
1015
|
+
true,
|
|
1016
|
+
null,
|
|
1017
|
+
false,
|
|
1018
|
+
{},
|
|
1019
|
+
],
|
|
1020
|
+
[
|
|
1021
|
+
'removePayment',
|
|
1022
|
+
'POST',
|
|
1023
|
+
'/invoices',
|
|
1024
|
+
'/remove_payment',
|
|
1025
|
+
true,
|
|
1026
|
+
null,
|
|
1027
|
+
false,
|
|
1028
|
+
{},
|
|
1029
|
+
],
|
|
1030
|
+
[
|
|
1031
|
+
'removeCreditNote',
|
|
1032
|
+
'POST',
|
|
1033
|
+
'/invoices',
|
|
1034
|
+
'/remove_credit_note',
|
|
1035
|
+
true,
|
|
1036
|
+
null,
|
|
1037
|
+
false,
|
|
1038
|
+
{},
|
|
1039
|
+
],
|
|
1040
|
+
['voidInvoice', 'POST', '/invoices', '/void', true, null, false, {}],
|
|
1041
|
+
['writeOff', 'POST', '/invoices', '/write_off', true, null, false, {}],
|
|
1042
|
+
['delete', 'POST', '/invoices', '/delete', true, null, false, {}],
|
|
1043
|
+
[
|
|
1044
|
+
'updateDetails',
|
|
1045
|
+
'POST',
|
|
1046
|
+
'/invoices',
|
|
1047
|
+
'/update_details',
|
|
1048
|
+
true,
|
|
1049
|
+
null,
|
|
1050
|
+
false,
|
|
1051
|
+
{},
|
|
1052
|
+
],
|
|
1053
|
+
[
|
|
1054
|
+
'applyPaymentScheduleScheme',
|
|
1055
|
+
'POST',
|
|
1056
|
+
'/invoices',
|
|
1057
|
+
'/apply_payment_schedule_scheme',
|
|
1058
|
+
true,
|
|
1059
|
+
null,
|
|
1060
|
+
false,
|
|
1061
|
+
{},
|
|
1062
|
+
],
|
|
1063
|
+
[
|
|
1064
|
+
'paymentSchedules',
|
|
1065
|
+
'GET',
|
|
1066
|
+
'/invoices',
|
|
1067
|
+
'/payment_schedules',
|
|
1068
|
+
true,
|
|
1069
|
+
null,
|
|
1070
|
+
false,
|
|
1071
|
+
{},
|
|
1072
|
+
],
|
|
1073
|
+
[
|
|
1074
|
+
'resendEinvoice',
|
|
1075
|
+
'POST',
|
|
1076
|
+
'/invoices',
|
|
1077
|
+
'/resend_einvoice',
|
|
1078
|
+
true,
|
|
1079
|
+
null,
|
|
1080
|
+
false,
|
|
1081
|
+
{},
|
|
1082
|
+
],
|
|
1083
|
+
[
|
|
1084
|
+
'sendEinvoice',
|
|
1085
|
+
'POST',
|
|
1086
|
+
'/invoices',
|
|
1087
|
+
'/send_einvoice',
|
|
1088
|
+
true,
|
|
1089
|
+
null,
|
|
1090
|
+
false,
|
|
1091
|
+
{},
|
|
1092
|
+
],
|
|
1093
|
+
],
|
|
1094
|
+
paymentReferenceNumber: [],
|
|
1095
|
+
paymentSchedule: [],
|
|
1096
|
+
taxWithheld: [],
|
|
1097
|
+
creditNote: [
|
|
1098
|
+
['create', 'POST', '/credit_notes', null, false, null, false, {}],
|
|
1099
|
+
['retrieve', 'GET', '/credit_notes', null, true, null, false, {}],
|
|
1100
|
+
['pdf', 'POST', '/credit_notes', '/pdf', true, null, false, {}],
|
|
1101
|
+
[
|
|
1102
|
+
'downloadEinvoice',
|
|
1103
|
+
'GET',
|
|
1104
|
+
'/credit_notes',
|
|
1105
|
+
'/download_einvoice',
|
|
1106
|
+
true,
|
|
1107
|
+
null,
|
|
1108
|
+
false,
|
|
1109
|
+
{},
|
|
1110
|
+
],
|
|
1111
|
+
['refund', 'POST', '/credit_notes', '/refund', true, null, false, {}],
|
|
1112
|
+
[
|
|
1113
|
+
'recordRefund',
|
|
1114
|
+
'POST',
|
|
1115
|
+
'/credit_notes',
|
|
1116
|
+
'/record_refund',
|
|
1117
|
+
true,
|
|
1118
|
+
null,
|
|
1119
|
+
false,
|
|
1120
|
+
{},
|
|
1121
|
+
],
|
|
1122
|
+
['voidCreditNote', 'POST', '/credit_notes', '/void', true, null, false, {}],
|
|
1123
|
+
['list', 'GET', '/credit_notes', null, false, null, false, {}],
|
|
1124
|
+
[
|
|
1125
|
+
'creditNotesForCustomer',
|
|
1126
|
+
'GET',
|
|
1127
|
+
'/customers',
|
|
1128
|
+
'/credit_notes',
|
|
1129
|
+
true,
|
|
1130
|
+
null,
|
|
1131
|
+
false,
|
|
1132
|
+
{},
|
|
1133
|
+
],
|
|
1134
|
+
['delete', 'POST', '/credit_notes', '/delete', true, null, false, {}],
|
|
1135
|
+
[
|
|
1136
|
+
'removeTaxWithheldRefund',
|
|
1137
|
+
'POST',
|
|
1138
|
+
'/credit_notes',
|
|
1139
|
+
'/remove_tax_withheld_refund',
|
|
1140
|
+
true,
|
|
1141
|
+
null,
|
|
1142
|
+
false,
|
|
1143
|
+
{},
|
|
1144
|
+
],
|
|
1145
|
+
[
|
|
1146
|
+
'resendEinvoice',
|
|
1147
|
+
'POST',
|
|
1148
|
+
'/credit_notes',
|
|
1149
|
+
'/resend_einvoice',
|
|
1150
|
+
true,
|
|
1151
|
+
null,
|
|
1152
|
+
false,
|
|
1153
|
+
{},
|
|
1154
|
+
],
|
|
1155
|
+
[
|
|
1156
|
+
'sendEinvoice',
|
|
1157
|
+
'POST',
|
|
1158
|
+
'/credit_notes',
|
|
1159
|
+
'/send_einvoice',
|
|
1160
|
+
true,
|
|
1161
|
+
null,
|
|
1162
|
+
false,
|
|
1163
|
+
{},
|
|
1164
|
+
],
|
|
1165
|
+
[
|
|
1166
|
+
'importCreditNote',
|
|
1167
|
+
'POST',
|
|
1168
|
+
'/credit_notes',
|
|
1169
|
+
'/import_credit_note',
|
|
1170
|
+
false,
|
|
1171
|
+
null,
|
|
1172
|
+
false,
|
|
1173
|
+
{},
|
|
1174
|
+
],
|
|
1175
|
+
],
|
|
1176
|
+
unbilledCharge: [
|
|
1177
|
+
[
|
|
1178
|
+
'createUnbilledCharge',
|
|
1179
|
+
'POST',
|
|
1180
|
+
'/unbilled_charges',
|
|
1181
|
+
'/create',
|
|
1182
|
+
false,
|
|
1183
|
+
null,
|
|
1184
|
+
false,
|
|
1185
|
+
{},
|
|
1186
|
+
],
|
|
1187
|
+
['create', 'POST', '/unbilled_charges', null, false, null, false, {}],
|
|
1188
|
+
[
|
|
1189
|
+
'invoiceUnbilledCharges',
|
|
1190
|
+
'POST',
|
|
1191
|
+
'/unbilled_charges',
|
|
419
1192
|
'/invoice_unbilled_charges',
|
|
420
1193
|
false,
|
|
1194
|
+
null,
|
|
1195
|
+
false,
|
|
1196
|
+
{},
|
|
421
1197
|
],
|
|
422
|
-
['delete', 'POST', '/unbilled_charges', '/delete', true],
|
|
423
|
-
['list', 'GET', '/unbilled_charges', null, false],
|
|
1198
|
+
['delete', 'POST', '/unbilled_charges', '/delete', true, null, false, {}],
|
|
1199
|
+
['list', 'GET', '/unbilled_charges', null, false, null, false, {}],
|
|
424
1200
|
[
|
|
425
1201
|
'invoiceNowEstimate',
|
|
426
1202
|
'POST',
|
|
427
1203
|
'/unbilled_charges',
|
|
428
1204
|
'/invoice_now_estimate',
|
|
429
1205
|
false,
|
|
1206
|
+
null,
|
|
1207
|
+
false,
|
|
1208
|
+
{},
|
|
430
1209
|
],
|
|
431
1210
|
],
|
|
432
1211
|
order: [
|
|
433
|
-
['create', 'POST', '/orders', null, false],
|
|
434
|
-
['update', 'POST', '/orders', null, true],
|
|
435
|
-
['importOrder', 'POST', '/orders', '/import_order', false],
|
|
436
|
-
[
|
|
437
|
-
|
|
1212
|
+
['create', 'POST', '/orders', null, false, null, false, {}],
|
|
1213
|
+
['update', 'POST', '/orders', null, true, null, false, {}],
|
|
1214
|
+
['importOrder', 'POST', '/orders', '/import_order', false, null, false, {}],
|
|
1215
|
+
[
|
|
1216
|
+
'assignOrderNumber',
|
|
1217
|
+
'POST',
|
|
1218
|
+
'/orders',
|
|
1219
|
+
'/assign_order_number',
|
|
1220
|
+
true,
|
|
1221
|
+
null,
|
|
1222
|
+
false,
|
|
1223
|
+
{},
|
|
1224
|
+
],
|
|
1225
|
+
['cancel', 'POST', '/orders', '/cancel', true, null, false, {}],
|
|
1226
|
+
[
|
|
1227
|
+
'createRefundableCreditNote',
|
|
1228
|
+
'POST',
|
|
1229
|
+
'/orders',
|
|
1230
|
+
'/create_refundable_credit_note',
|
|
1231
|
+
true,
|
|
1232
|
+
null,
|
|
1233
|
+
false,
|
|
1234
|
+
{},
|
|
1235
|
+
],
|
|
1236
|
+
['reopen', 'POST', '/orders', '/reopen', true, null, false, {}],
|
|
1237
|
+
['retrieve', 'GET', '/orders', null, true, null, false, {}],
|
|
1238
|
+
['delete', 'POST', '/orders', '/delete', true, null, false, {}],
|
|
1239
|
+
['list', 'GET', '/orders', null, false, null, false, {}],
|
|
1240
|
+
['ordersForInvoice', 'GET', '/invoices', '/orders', true, null, false, {}],
|
|
1241
|
+
['resend', 'POST', '/orders', '/resend', true, null, false, {}],
|
|
1242
|
+
],
|
|
1243
|
+
gift: [
|
|
1244
|
+
[
|
|
1245
|
+
'create',
|
|
1246
|
+
'POST',
|
|
1247
|
+
'/gifts',
|
|
1248
|
+
null,
|
|
1249
|
+
false,
|
|
1250
|
+
null,
|
|
1251
|
+
false,
|
|
1252
|
+
{
|
|
1253
|
+
additional_information: 1,
|
|
1254
|
+
},
|
|
1255
|
+
],
|
|
1256
|
+
[
|
|
1257
|
+
'createForItems',
|
|
1258
|
+
'POST',
|
|
1259
|
+
'/gifts',
|
|
1260
|
+
'/create_for_items',
|
|
1261
|
+
false,
|
|
1262
|
+
null,
|
|
1263
|
+
false,
|
|
1264
|
+
{
|
|
1265
|
+
additional_information: 1,
|
|
1266
|
+
},
|
|
1267
|
+
],
|
|
1268
|
+
['retrieve', 'GET', '/gifts', null, true, null, false, {}],
|
|
1269
|
+
['list', 'GET', '/gifts', null, false, null, false, {}],
|
|
1270
|
+
['claim', 'POST', '/gifts', '/claim', true, null, false, {}],
|
|
1271
|
+
['cancel', 'POST', '/gifts', '/cancel', true, null, false, {}],
|
|
1272
|
+
['updateGift', 'POST', '/gifts', '/update_gift', true, null, false, {}],
|
|
1273
|
+
],
|
|
1274
|
+
transaction: [
|
|
1275
|
+
[
|
|
1276
|
+
'createAuthorization',
|
|
1277
|
+
'POST',
|
|
1278
|
+
'/transactions',
|
|
1279
|
+
'/create_authorization',
|
|
1280
|
+
false,
|
|
1281
|
+
null,
|
|
1282
|
+
false,
|
|
1283
|
+
{},
|
|
1284
|
+
],
|
|
1285
|
+
[
|
|
1286
|
+
'voidTransaction',
|
|
1287
|
+
'POST',
|
|
1288
|
+
'/transactions',
|
|
1289
|
+
'/void',
|
|
1290
|
+
true,
|
|
1291
|
+
null,
|
|
1292
|
+
false,
|
|
1293
|
+
{},
|
|
1294
|
+
],
|
|
438
1295
|
[
|
|
439
|
-
'
|
|
1296
|
+
'recordRefund',
|
|
440
1297
|
'POST',
|
|
441
|
-
'/
|
|
442
|
-
'/
|
|
1298
|
+
'/transactions',
|
|
1299
|
+
'/record_refund',
|
|
443
1300
|
true,
|
|
1301
|
+
null,
|
|
1302
|
+
false,
|
|
1303
|
+
{},
|
|
444
1304
|
],
|
|
445
|
-
['
|
|
446
|
-
['
|
|
447
|
-
['
|
|
448
|
-
['list', 'GET', '/orders', null, false],
|
|
449
|
-
['ordersForInvoice', 'GET', '/invoices', '/orders', true],
|
|
450
|
-
['resend', 'POST', '/orders', '/resend', true],
|
|
451
|
-
],
|
|
452
|
-
gift: [
|
|
453
|
-
['create', 'POST', '/gifts', null, false],
|
|
454
|
-
['createForItems', 'POST', '/gifts', '/create_for_items', false],
|
|
455
|
-
['retrieve', 'GET', '/gifts', null, true],
|
|
456
|
-
['list', 'GET', '/gifts', null, false],
|
|
457
|
-
['claim', 'POST', '/gifts', '/claim', true],
|
|
458
|
-
['cancel', 'POST', '/gifts', '/cancel', true],
|
|
459
|
-
['updateGift', 'POST', '/gifts', '/update_gift', true],
|
|
460
|
-
],
|
|
461
|
-
transaction: [
|
|
1305
|
+
['reconcile', 'POST', '/transactions', '/reconcile', true, null, false, {}],
|
|
1306
|
+
['refund', 'POST', '/transactions', '/refund', true, null, false, {}],
|
|
1307
|
+
['list', 'GET', '/transactions', null, false, null, false, {}],
|
|
462
1308
|
[
|
|
463
|
-
'
|
|
464
|
-
'
|
|
1309
|
+
'transactionsForCustomer',
|
|
1310
|
+
'GET',
|
|
1311
|
+
'/customers',
|
|
465
1312
|
'/transactions',
|
|
466
|
-
|
|
1313
|
+
true,
|
|
1314
|
+
null,
|
|
467
1315
|
false,
|
|
1316
|
+
{},
|
|
468
1317
|
],
|
|
469
|
-
['voidTransaction', 'POST', '/transactions', '/void', true],
|
|
470
|
-
['recordRefund', 'POST', '/transactions', '/record_refund', true],
|
|
471
|
-
['reconcile', 'POST', '/transactions', '/reconcile', true],
|
|
472
|
-
['refund', 'POST', '/transactions', '/refund', true],
|
|
473
|
-
['list', 'GET', '/transactions', null, false],
|
|
474
|
-
['transactionsForCustomer', 'GET', '/customers', '/transactions', true],
|
|
475
1318
|
[
|
|
476
1319
|
'transactionsForSubscription',
|
|
477
1320
|
'GET',
|
|
478
1321
|
'/subscriptions',
|
|
479
1322
|
'/transactions',
|
|
480
1323
|
true,
|
|
1324
|
+
null,
|
|
1325
|
+
false,
|
|
1326
|
+
{},
|
|
1327
|
+
],
|
|
1328
|
+
[
|
|
1329
|
+
'paymentsForInvoice',
|
|
1330
|
+
'GET',
|
|
1331
|
+
'/invoices',
|
|
1332
|
+
'/payments',
|
|
1333
|
+
true,
|
|
1334
|
+
null,
|
|
1335
|
+
false,
|
|
1336
|
+
{},
|
|
481
1337
|
],
|
|
482
|
-
['
|
|
483
|
-
['retrieve', 'GET', '/transactions', null, true],
|
|
1338
|
+
['retrieve', 'GET', '/transactions', null, true, null, false, {}],
|
|
484
1339
|
[
|
|
485
1340
|
'deleteOfflineTransaction',
|
|
486
1341
|
'POST',
|
|
487
1342
|
'/transactions',
|
|
488
1343
|
'/delete_offline_transaction',
|
|
489
1344
|
true,
|
|
1345
|
+
null,
|
|
1346
|
+
false,
|
|
1347
|
+
{},
|
|
490
1348
|
],
|
|
491
1349
|
],
|
|
492
1350
|
hostedPage: [
|
|
493
|
-
[
|
|
494
|
-
|
|
1351
|
+
[
|
|
1352
|
+
'checkoutNew',
|
|
1353
|
+
'POST',
|
|
1354
|
+
'/hosted_pages',
|
|
1355
|
+
'/checkout_new',
|
|
1356
|
+
false,
|
|
1357
|
+
null,
|
|
1358
|
+
false,
|
|
1359
|
+
{},
|
|
1360
|
+
],
|
|
1361
|
+
[
|
|
1362
|
+
'checkoutOneTime',
|
|
1363
|
+
'POST',
|
|
1364
|
+
'/hosted_pages',
|
|
1365
|
+
'/checkout_one_time',
|
|
1366
|
+
false,
|
|
1367
|
+
null,
|
|
1368
|
+
false,
|
|
1369
|
+
{},
|
|
1370
|
+
],
|
|
495
1371
|
[
|
|
496
1372
|
'checkoutOneTimeForItems',
|
|
497
1373
|
'POST',
|
|
498
1374
|
'/hosted_pages',
|
|
499
1375
|
'/checkout_one_time_for_items',
|
|
500
1376
|
false,
|
|
1377
|
+
null,
|
|
1378
|
+
false,
|
|
1379
|
+
{},
|
|
501
1380
|
],
|
|
502
1381
|
[
|
|
503
1382
|
'checkoutNewForItems',
|
|
@@ -505,22 +1384,49 @@ exports.Endpoints = {
|
|
|
505
1384
|
'/hosted_pages',
|
|
506
1385
|
'/checkout_new_for_items',
|
|
507
1386
|
false,
|
|
1387
|
+
null,
|
|
1388
|
+
false,
|
|
1389
|
+
{},
|
|
1390
|
+
],
|
|
1391
|
+
[
|
|
1392
|
+
'checkoutExisting',
|
|
1393
|
+
'POST',
|
|
1394
|
+
'/hosted_pages',
|
|
1395
|
+
'/checkout_existing',
|
|
1396
|
+
false,
|
|
1397
|
+
null,
|
|
1398
|
+
false,
|
|
1399
|
+
{},
|
|
508
1400
|
],
|
|
509
|
-
['checkoutExisting', 'POST', '/hosted_pages', '/checkout_existing', false],
|
|
510
1401
|
[
|
|
511
1402
|
'checkoutExistingForItems',
|
|
512
1403
|
'POST',
|
|
513
1404
|
'/hosted_pages',
|
|
514
1405
|
'/checkout_existing_for_items',
|
|
515
1406
|
false,
|
|
1407
|
+
null,
|
|
1408
|
+
false,
|
|
1409
|
+
{},
|
|
1410
|
+
],
|
|
1411
|
+
[
|
|
1412
|
+
'updateCard',
|
|
1413
|
+
'POST',
|
|
1414
|
+
'/hosted_pages',
|
|
1415
|
+
'/update_card',
|
|
1416
|
+
false,
|
|
1417
|
+
null,
|
|
1418
|
+
false,
|
|
1419
|
+
{},
|
|
516
1420
|
],
|
|
517
|
-
['updateCard', 'POST', '/hosted_pages', '/update_card', false],
|
|
518
1421
|
[
|
|
519
1422
|
'updatePaymentMethod',
|
|
520
1423
|
'POST',
|
|
521
1424
|
'/hosted_pages',
|
|
522
1425
|
'/update_payment_method',
|
|
523
1426
|
false,
|
|
1427
|
+
null,
|
|
1428
|
+
false,
|
|
1429
|
+
{},
|
|
524
1430
|
],
|
|
525
1431
|
[
|
|
526
1432
|
'managePaymentSources',
|
|
@@ -528,47 +1434,149 @@ exports.Endpoints = {
|
|
|
528
1434
|
'/hosted_pages',
|
|
529
1435
|
'/manage_payment_sources',
|
|
530
1436
|
false,
|
|
1437
|
+
null,
|
|
1438
|
+
false,
|
|
1439
|
+
{},
|
|
1440
|
+
],
|
|
1441
|
+
[
|
|
1442
|
+
'collectNow',
|
|
1443
|
+
'POST',
|
|
1444
|
+
'/hosted_pages',
|
|
1445
|
+
'/collect_now',
|
|
1446
|
+
false,
|
|
1447
|
+
null,
|
|
1448
|
+
false,
|
|
1449
|
+
{},
|
|
1450
|
+
],
|
|
1451
|
+
[
|
|
1452
|
+
'acceptQuote',
|
|
1453
|
+
'POST',
|
|
1454
|
+
'/hosted_pages',
|
|
1455
|
+
'/accept_quote',
|
|
1456
|
+
false,
|
|
1457
|
+
null,
|
|
1458
|
+
false,
|
|
1459
|
+
{},
|
|
531
1460
|
],
|
|
532
|
-
['collectNow', 'POST', '/hosted_pages', '/collect_now', false],
|
|
533
|
-
['acceptQuote', 'POST', '/hosted_pages', '/accept_quote', false],
|
|
534
1461
|
[
|
|
535
1462
|
'extendSubscription',
|
|
536
1463
|
'POST',
|
|
537
1464
|
'/hosted_pages',
|
|
538
1465
|
'/extend_subscription',
|
|
539
1466
|
false,
|
|
1467
|
+
null,
|
|
1468
|
+
false,
|
|
1469
|
+
{},
|
|
1470
|
+
],
|
|
1471
|
+
[
|
|
1472
|
+
'checkoutGift',
|
|
1473
|
+
'POST',
|
|
1474
|
+
'/hosted_pages',
|
|
1475
|
+
'/checkout_gift',
|
|
1476
|
+
false,
|
|
1477
|
+
null,
|
|
1478
|
+
false,
|
|
1479
|
+
{},
|
|
540
1480
|
],
|
|
541
|
-
['checkoutGift', 'POST', '/hosted_pages', '/checkout_gift', false],
|
|
542
1481
|
[
|
|
543
1482
|
'checkoutGiftForItems',
|
|
544
1483
|
'POST',
|
|
545
1484
|
'/hosted_pages',
|
|
546
1485
|
'/checkout_gift_for_items',
|
|
547
1486
|
false,
|
|
1487
|
+
null,
|
|
1488
|
+
false,
|
|
1489
|
+
{},
|
|
1490
|
+
],
|
|
1491
|
+
[
|
|
1492
|
+
'claimGift',
|
|
1493
|
+
'POST',
|
|
1494
|
+
'/hosted_pages',
|
|
1495
|
+
'/claim_gift',
|
|
1496
|
+
false,
|
|
1497
|
+
null,
|
|
1498
|
+
false,
|
|
1499
|
+
{},
|
|
548
1500
|
],
|
|
549
|
-
['claimGift', 'POST', '/hosted_pages', '/claim_gift', false],
|
|
550
1501
|
[
|
|
551
1502
|
'retrieveAgreementPdf',
|
|
552
1503
|
'POST',
|
|
553
1504
|
'/hosted_pages',
|
|
554
1505
|
'/retrieve_agreement_pdf',
|
|
555
1506
|
false,
|
|
1507
|
+
null,
|
|
1508
|
+
false,
|
|
1509
|
+
{},
|
|
1510
|
+
],
|
|
1511
|
+
[
|
|
1512
|
+
'acknowledge',
|
|
1513
|
+
'POST',
|
|
1514
|
+
'/hosted_pages',
|
|
1515
|
+
'/acknowledge',
|
|
1516
|
+
true,
|
|
1517
|
+
null,
|
|
1518
|
+
false,
|
|
1519
|
+
{},
|
|
1520
|
+
],
|
|
1521
|
+
['retrieve', 'GET', '/hosted_pages', null, true, null, false, {}],
|
|
1522
|
+
['list', 'GET', '/hosted_pages', null, false, null, false, {}],
|
|
1523
|
+
[
|
|
1524
|
+
'preCancel',
|
|
1525
|
+
'POST',
|
|
1526
|
+
'/hosted_pages',
|
|
1527
|
+
'/pre_cancel',
|
|
1528
|
+
false,
|
|
1529
|
+
null,
|
|
1530
|
+
false,
|
|
1531
|
+
{},
|
|
1532
|
+
],
|
|
1533
|
+
[
|
|
1534
|
+
'events',
|
|
1535
|
+
'POST',
|
|
1536
|
+
'/hosted_pages',
|
|
1537
|
+
'/events',
|
|
1538
|
+
false,
|
|
1539
|
+
null,
|
|
1540
|
+
false,
|
|
1541
|
+
{
|
|
1542
|
+
event_data: 0,
|
|
1543
|
+
},
|
|
1544
|
+
],
|
|
1545
|
+
[
|
|
1546
|
+
'viewVoucher',
|
|
1547
|
+
'POST',
|
|
1548
|
+
'/hosted_pages',
|
|
1549
|
+
'/view_voucher',
|
|
1550
|
+
false,
|
|
1551
|
+
null,
|
|
1552
|
+
false,
|
|
1553
|
+
{},
|
|
556
1554
|
],
|
|
557
|
-
['acknowledge', 'POST', '/hosted_pages', '/acknowledge', true],
|
|
558
|
-
['retrieve', 'GET', '/hosted_pages', null, true],
|
|
559
|
-
['list', 'GET', '/hosted_pages', null, false],
|
|
560
|
-
['preCancel', 'POST', '/hosted_pages', '/pre_cancel', false],
|
|
561
|
-
['events', 'POST', '/hosted_pages', '/events', false],
|
|
562
|
-
['viewVoucher', 'POST', '/hosted_pages', '/view_voucher', false],
|
|
563
1555
|
],
|
|
564
1556
|
estimate: [
|
|
565
|
-
[
|
|
1557
|
+
[
|
|
1558
|
+
'createSubscription',
|
|
1559
|
+
'POST',
|
|
1560
|
+
'/estimates',
|
|
1561
|
+
'/create_subscription',
|
|
1562
|
+
false,
|
|
1563
|
+
null,
|
|
1564
|
+
false,
|
|
1565
|
+
{
|
|
1566
|
+
exemption_details: 1,
|
|
1567
|
+
},
|
|
1568
|
+
],
|
|
566
1569
|
[
|
|
567
1570
|
'createSubItemEstimate',
|
|
568
1571
|
'POST',
|
|
569
1572
|
'/estimates',
|
|
570
1573
|
'/create_subscription_for_items',
|
|
571
1574
|
false,
|
|
1575
|
+
null,
|
|
1576
|
+
false,
|
|
1577
|
+
{
|
|
1578
|
+
exemption_details: 1,
|
|
1579
|
+
},
|
|
572
1580
|
],
|
|
573
1581
|
[
|
|
574
1582
|
'createSubForCustomerEstimate',
|
|
@@ -576,6 +1584,9 @@ exports.Endpoints = {
|
|
|
576
1584
|
'/customers',
|
|
577
1585
|
'/create_subscription_estimate',
|
|
578
1586
|
true,
|
|
1587
|
+
null,
|
|
1588
|
+
false,
|
|
1589
|
+
{},
|
|
579
1590
|
],
|
|
580
1591
|
[
|
|
581
1592
|
'createSubItemForCustomerEstimate',
|
|
@@ -583,22 +1594,49 @@ exports.Endpoints = {
|
|
|
583
1594
|
'/customers',
|
|
584
1595
|
'/create_subscription_for_items_estimate',
|
|
585
1596
|
true,
|
|
1597
|
+
null,
|
|
1598
|
+
false,
|
|
1599
|
+
{},
|
|
1600
|
+
],
|
|
1601
|
+
[
|
|
1602
|
+
'updateSubscription',
|
|
1603
|
+
'POST',
|
|
1604
|
+
'/estimates',
|
|
1605
|
+
'/update_subscription',
|
|
1606
|
+
false,
|
|
1607
|
+
null,
|
|
1608
|
+
false,
|
|
1609
|
+
{},
|
|
586
1610
|
],
|
|
587
|
-
['updateSubscription', 'POST', '/estimates', '/update_subscription', false],
|
|
588
1611
|
[
|
|
589
1612
|
'updateSubscriptionForItems',
|
|
590
1613
|
'POST',
|
|
591
1614
|
'/estimates',
|
|
592
1615
|
'/update_subscription_for_items',
|
|
593
1616
|
false,
|
|
1617
|
+
null,
|
|
1618
|
+
false,
|
|
1619
|
+
{},
|
|
1620
|
+
],
|
|
1621
|
+
[
|
|
1622
|
+
'renewalEstimate',
|
|
1623
|
+
'GET',
|
|
1624
|
+
'/subscriptions',
|
|
1625
|
+
'/renewal_estimate',
|
|
1626
|
+
true,
|
|
1627
|
+
null,
|
|
1628
|
+
false,
|
|
1629
|
+
{},
|
|
594
1630
|
],
|
|
595
|
-
['renewalEstimate', 'GET', '/subscriptions', '/renewal_estimate', true],
|
|
596
1631
|
[
|
|
597
1632
|
'advanceInvoiceEstimate',
|
|
598
1633
|
'POST',
|
|
599
1634
|
'/subscriptions',
|
|
600
1635
|
'/advance_invoice_estimate',
|
|
601
1636
|
true,
|
|
1637
|
+
null,
|
|
1638
|
+
false,
|
|
1639
|
+
{},
|
|
602
1640
|
],
|
|
603
1641
|
[
|
|
604
1642
|
'regenerateInvoiceEstimate',
|
|
@@ -606,6 +1644,9 @@ exports.Endpoints = {
|
|
|
606
1644
|
'/subscriptions',
|
|
607
1645
|
'/regenerate_invoice_estimate',
|
|
608
1646
|
true,
|
|
1647
|
+
null,
|
|
1648
|
+
false,
|
|
1649
|
+
{},
|
|
609
1650
|
],
|
|
610
1651
|
[
|
|
611
1652
|
'upcomingInvoicesEstimate',
|
|
@@ -613,6 +1654,9 @@ exports.Endpoints = {
|
|
|
613
1654
|
'/customers',
|
|
614
1655
|
'/upcoming_invoices_estimate',
|
|
615
1656
|
true,
|
|
1657
|
+
null,
|
|
1658
|
+
false,
|
|
1659
|
+
{},
|
|
616
1660
|
],
|
|
617
1661
|
[
|
|
618
1662
|
'changeTermEnd',
|
|
@@ -620,6 +1664,9 @@ exports.Endpoints = {
|
|
|
620
1664
|
'/subscriptions',
|
|
621
1665
|
'/change_term_end_estimate',
|
|
622
1666
|
true,
|
|
1667
|
+
null,
|
|
1668
|
+
false,
|
|
1669
|
+
{},
|
|
623
1670
|
],
|
|
624
1671
|
[
|
|
625
1672
|
'cancelSubscription',
|
|
@@ -627,6 +1674,9 @@ exports.Endpoints = {
|
|
|
627
1674
|
'/subscriptions',
|
|
628
1675
|
'/cancel_subscription_estimate',
|
|
629
1676
|
true,
|
|
1677
|
+
null,
|
|
1678
|
+
false,
|
|
1679
|
+
{},
|
|
630
1680
|
],
|
|
631
1681
|
[
|
|
632
1682
|
'cancelSubscriptionForItems',
|
|
@@ -634,6 +1684,9 @@ exports.Endpoints = {
|
|
|
634
1684
|
'/subscriptions',
|
|
635
1685
|
'/cancel_subscription_for_items_estimate',
|
|
636
1686
|
true,
|
|
1687
|
+
null,
|
|
1688
|
+
false,
|
|
1689
|
+
{},
|
|
637
1690
|
],
|
|
638
1691
|
[
|
|
639
1692
|
'pauseSubscription',
|
|
@@ -641,6 +1694,9 @@ exports.Endpoints = {
|
|
|
641
1694
|
'/subscriptions',
|
|
642
1695
|
'/pause_subscription_estimate',
|
|
643
1696
|
true,
|
|
1697
|
+
null,
|
|
1698
|
+
false,
|
|
1699
|
+
{},
|
|
644
1700
|
],
|
|
645
1701
|
[
|
|
646
1702
|
'resumeSubscription',
|
|
@@ -648,33 +1704,76 @@ exports.Endpoints = {
|
|
|
648
1704
|
'/subscriptions',
|
|
649
1705
|
'/resume_subscription_estimate',
|
|
650
1706
|
true,
|
|
1707
|
+
null,
|
|
1708
|
+
false,
|
|
1709
|
+
{},
|
|
1710
|
+
],
|
|
1711
|
+
[
|
|
1712
|
+
'giftSubscription',
|
|
1713
|
+
'POST',
|
|
1714
|
+
'/estimates',
|
|
1715
|
+
'/gift_subscription',
|
|
1716
|
+
false,
|
|
1717
|
+
null,
|
|
1718
|
+
false,
|
|
1719
|
+
{
|
|
1720
|
+
additional_information: 1,
|
|
1721
|
+
},
|
|
651
1722
|
],
|
|
652
|
-
['giftSubscription', 'POST', '/estimates', '/gift_subscription', false],
|
|
653
1723
|
[
|
|
654
1724
|
'giftSubscriptionForItems',
|
|
655
1725
|
'POST',
|
|
656
1726
|
'/estimates',
|
|
657
1727
|
'/gift_subscription_for_items',
|
|
658
1728
|
false,
|
|
1729
|
+
null,
|
|
1730
|
+
false,
|
|
1731
|
+
{
|
|
1732
|
+
additional_information: 1,
|
|
1733
|
+
},
|
|
1734
|
+
],
|
|
1735
|
+
[
|
|
1736
|
+
'createInvoice',
|
|
1737
|
+
'POST',
|
|
1738
|
+
'/estimates',
|
|
1739
|
+
'/create_invoice',
|
|
1740
|
+
false,
|
|
1741
|
+
null,
|
|
1742
|
+
false,
|
|
1743
|
+
{},
|
|
659
1744
|
],
|
|
660
|
-
['createInvoice', 'POST', '/estimates', '/create_invoice', false],
|
|
661
1745
|
[
|
|
662
1746
|
'createInvoiceForItems',
|
|
663
1747
|
'POST',
|
|
664
1748
|
'/estimates',
|
|
665
1749
|
'/create_invoice_for_items',
|
|
666
1750
|
false,
|
|
1751
|
+
null,
|
|
1752
|
+
false,
|
|
1753
|
+
{},
|
|
1754
|
+
],
|
|
1755
|
+
[
|
|
1756
|
+
'paymentSchedules',
|
|
1757
|
+
'POST',
|
|
1758
|
+
'/estimates',
|
|
1759
|
+
'/payment_schedules',
|
|
1760
|
+
false,
|
|
1761
|
+
null,
|
|
1762
|
+
false,
|
|
1763
|
+
{},
|
|
667
1764
|
],
|
|
668
|
-
['paymentSchedules', 'POST', '/estimates', '/payment_schedules', false],
|
|
669
1765
|
],
|
|
670
1766
|
quote: [
|
|
671
|
-
['retrieve', 'GET', '/quotes', null, true],
|
|
1767
|
+
['retrieve', 'GET', '/quotes', null, true, null, false, {}],
|
|
672
1768
|
[
|
|
673
1769
|
'createSubForCustomerQuote',
|
|
674
1770
|
'POST',
|
|
675
1771
|
'/customers',
|
|
676
1772
|
'/create_subscription_quote',
|
|
677
1773
|
true,
|
|
1774
|
+
null,
|
|
1775
|
+
false,
|
|
1776
|
+
{},
|
|
678
1777
|
],
|
|
679
1778
|
[
|
|
680
1779
|
'editCreateSubForCustomerQuote',
|
|
@@ -682,6 +1781,9 @@ exports.Endpoints = {
|
|
|
682
1781
|
'/quotes',
|
|
683
1782
|
'/edit_create_subscription_quote',
|
|
684
1783
|
true,
|
|
1784
|
+
null,
|
|
1785
|
+
false,
|
|
1786
|
+
{},
|
|
685
1787
|
],
|
|
686
1788
|
[
|
|
687
1789
|
'updateSubscriptionQuote',
|
|
@@ -689,6 +1791,9 @@ exports.Endpoints = {
|
|
|
689
1791
|
'/quotes',
|
|
690
1792
|
'/update_subscription_quote',
|
|
691
1793
|
false,
|
|
1794
|
+
null,
|
|
1795
|
+
false,
|
|
1796
|
+
{},
|
|
692
1797
|
],
|
|
693
1798
|
[
|
|
694
1799
|
'editUpdateSubscriptionQuote',
|
|
@@ -696,6 +1801,9 @@ exports.Endpoints = {
|
|
|
696
1801
|
'/quotes',
|
|
697
1802
|
'/edit_update_subscription_quote',
|
|
698
1803
|
true,
|
|
1804
|
+
null,
|
|
1805
|
+
false,
|
|
1806
|
+
{},
|
|
699
1807
|
],
|
|
700
1808
|
[
|
|
701
1809
|
'createForOnetimeCharges',
|
|
@@ -703,14 +1811,29 @@ exports.Endpoints = {
|
|
|
703
1811
|
'/quotes',
|
|
704
1812
|
'/create_for_onetime_charges',
|
|
705
1813
|
false,
|
|
1814
|
+
null,
|
|
1815
|
+
false,
|
|
1816
|
+
{},
|
|
1817
|
+
],
|
|
1818
|
+
[
|
|
1819
|
+
'editOneTimeQuote',
|
|
1820
|
+
'POST',
|
|
1821
|
+
'/quotes',
|
|
1822
|
+
'/edit_one_time_quote',
|
|
1823
|
+
true,
|
|
1824
|
+
null,
|
|
1825
|
+
false,
|
|
1826
|
+
{},
|
|
706
1827
|
],
|
|
707
|
-
['editOneTimeQuote', 'POST', '/quotes', '/edit_one_time_quote', true],
|
|
708
1828
|
[
|
|
709
1829
|
'createSubItemsForCustomerQuote',
|
|
710
1830
|
'POST',
|
|
711
1831
|
'/customers',
|
|
712
1832
|
'/create_subscription_quote_for_items',
|
|
713
1833
|
true,
|
|
1834
|
+
null,
|
|
1835
|
+
false,
|
|
1836
|
+
{},
|
|
714
1837
|
],
|
|
715
1838
|
[
|
|
716
1839
|
'editCreateSubCustomerQuoteForItems',
|
|
@@ -718,6 +1841,9 @@ exports.Endpoints = {
|
|
|
718
1841
|
'/quotes',
|
|
719
1842
|
'/edit_create_subscription_quote_for_items',
|
|
720
1843
|
true,
|
|
1844
|
+
null,
|
|
1845
|
+
false,
|
|
1846
|
+
{},
|
|
721
1847
|
],
|
|
722
1848
|
[
|
|
723
1849
|
'updateSubscriptionQuoteForItems',
|
|
@@ -725,6 +1851,9 @@ exports.Endpoints = {
|
|
|
725
1851
|
'/quotes',
|
|
726
1852
|
'/update_subscription_quote_for_items',
|
|
727
1853
|
false,
|
|
1854
|
+
null,
|
|
1855
|
+
false,
|
|
1856
|
+
{},
|
|
728
1857
|
],
|
|
729
1858
|
[
|
|
730
1859
|
'editUpdateSubscriptionQuoteForItems',
|
|
@@ -732,6 +1861,9 @@ exports.Endpoints = {
|
|
|
732
1861
|
'/quotes',
|
|
733
1862
|
'/edit_update_subscription_quote_for_items',
|
|
734
1863
|
true,
|
|
1864
|
+
null,
|
|
1865
|
+
false,
|
|
1866
|
+
{},
|
|
735
1867
|
],
|
|
736
1868
|
[
|
|
737
1869
|
'createForChargeItemsAndCharges',
|
|
@@ -739,105 +1871,286 @@ exports.Endpoints = {
|
|
|
739
1871
|
'/quotes',
|
|
740
1872
|
'/create_for_charge_items_and_charges',
|
|
741
1873
|
false,
|
|
1874
|
+
null,
|
|
1875
|
+
false,
|
|
1876
|
+
{},
|
|
1877
|
+
],
|
|
1878
|
+
[
|
|
1879
|
+
'editForChargeItemsAndCharges',
|
|
1880
|
+
'POST',
|
|
1881
|
+
'/quotes',
|
|
1882
|
+
'/edit_for_charge_items_and_charges',
|
|
1883
|
+
true,
|
|
1884
|
+
null,
|
|
1885
|
+
false,
|
|
1886
|
+
{},
|
|
1887
|
+
],
|
|
1888
|
+
['list', 'GET', '/quotes', null, false, null, false, {}],
|
|
1889
|
+
[
|
|
1890
|
+
'quoteLineGroupsForQuote',
|
|
1891
|
+
'GET',
|
|
1892
|
+
'/quotes',
|
|
1893
|
+
'/quote_line_groups',
|
|
1894
|
+
true,
|
|
1895
|
+
null,
|
|
1896
|
+
false,
|
|
1897
|
+
{},
|
|
1898
|
+
],
|
|
1899
|
+
['convert', 'POST', '/quotes', '/convert', true, null, false, {}],
|
|
1900
|
+
[
|
|
1901
|
+
'updateStatus',
|
|
1902
|
+
'POST',
|
|
1903
|
+
'/quotes',
|
|
1904
|
+
'/update_status',
|
|
1905
|
+
true,
|
|
1906
|
+
null,
|
|
1907
|
+
false,
|
|
1908
|
+
{},
|
|
1909
|
+
],
|
|
1910
|
+
[
|
|
1911
|
+
'extendExpiryDate',
|
|
1912
|
+
'POST',
|
|
1913
|
+
'/quotes',
|
|
1914
|
+
'/extend_expiry_date',
|
|
1915
|
+
true,
|
|
1916
|
+
null,
|
|
1917
|
+
false,
|
|
1918
|
+
{},
|
|
1919
|
+
],
|
|
1920
|
+
['delete', 'POST', '/quotes', '/delete', true, null, false, {}],
|
|
1921
|
+
['pdf', 'POST', '/quotes', '/pdf', true, null, false, {}],
|
|
1922
|
+
],
|
|
1923
|
+
quotedSubscription: [],
|
|
1924
|
+
quotedCharge: [],
|
|
1925
|
+
quoteLineGroup: [],
|
|
1926
|
+
plan: [
|
|
1927
|
+
[
|
|
1928
|
+
'create',
|
|
1929
|
+
'POST',
|
|
1930
|
+
'/plans',
|
|
1931
|
+
null,
|
|
1932
|
+
false,
|
|
1933
|
+
null,
|
|
1934
|
+
false,
|
|
1935
|
+
{
|
|
1936
|
+
meta_data: 0,
|
|
1937
|
+
},
|
|
1938
|
+
],
|
|
1939
|
+
[
|
|
1940
|
+
'update',
|
|
1941
|
+
'POST',
|
|
1942
|
+
'/plans',
|
|
1943
|
+
null,
|
|
1944
|
+
true,
|
|
1945
|
+
null,
|
|
1946
|
+
false,
|
|
1947
|
+
{
|
|
1948
|
+
meta_data: 0,
|
|
1949
|
+
},
|
|
1950
|
+
],
|
|
1951
|
+
['list', 'GET', '/plans', null, false, null, false, {}],
|
|
1952
|
+
['retrieve', 'GET', '/plans', null, true, null, false, {}],
|
|
1953
|
+
['delete', 'POST', '/plans', '/delete', true, null, false, {}],
|
|
1954
|
+
['copy', 'POST', '/plans', '/copy', false, null, false, {}],
|
|
1955
|
+
['unarchive', 'POST', '/plans', '/unarchive', true, null, false, {}],
|
|
1956
|
+
],
|
|
1957
|
+
addon: [
|
|
1958
|
+
[
|
|
1959
|
+
'create',
|
|
1960
|
+
'POST',
|
|
1961
|
+
'/addons',
|
|
1962
|
+
null,
|
|
1963
|
+
false,
|
|
1964
|
+
null,
|
|
1965
|
+
false,
|
|
1966
|
+
{
|
|
1967
|
+
meta_data: 0,
|
|
1968
|
+
},
|
|
1969
|
+
],
|
|
1970
|
+
[
|
|
1971
|
+
'update',
|
|
1972
|
+
'POST',
|
|
1973
|
+
'/addons',
|
|
1974
|
+
null,
|
|
1975
|
+
true,
|
|
1976
|
+
null,
|
|
1977
|
+
false,
|
|
1978
|
+
{
|
|
1979
|
+
meta_data: 0,
|
|
1980
|
+
},
|
|
1981
|
+
],
|
|
1982
|
+
['list', 'GET', '/addons', null, false, null, false, {}],
|
|
1983
|
+
['retrieve', 'GET', '/addons', null, true, null, false, {}],
|
|
1984
|
+
['delete', 'POST', '/addons', '/delete', true, null, false, {}],
|
|
1985
|
+
['copy', 'POST', '/addons', '/copy', false, null, false, {}],
|
|
1986
|
+
['unarchive', 'POST', '/addons', '/unarchive', true, null, false, {}],
|
|
1987
|
+
],
|
|
1988
|
+
coupon: [
|
|
1989
|
+
[
|
|
1990
|
+
'create',
|
|
1991
|
+
'POST',
|
|
1992
|
+
'/coupons',
|
|
1993
|
+
null,
|
|
1994
|
+
false,
|
|
1995
|
+
null,
|
|
1996
|
+
false,
|
|
1997
|
+
{
|
|
1998
|
+
meta_data: 0,
|
|
1999
|
+
},
|
|
2000
|
+
],
|
|
2001
|
+
[
|
|
2002
|
+
'createForItems',
|
|
2003
|
+
'POST',
|
|
2004
|
+
'/coupons',
|
|
2005
|
+
'/create_for_items',
|
|
2006
|
+
false,
|
|
2007
|
+
null,
|
|
2008
|
+
false,
|
|
2009
|
+
{
|
|
2010
|
+
meta_data: 0,
|
|
2011
|
+
item_price_ids: 1,
|
|
2012
|
+
item_family_ids: 1,
|
|
2013
|
+
currencies: 1,
|
|
2014
|
+
item_price_periods: 1,
|
|
2015
|
+
},
|
|
2016
|
+
],
|
|
2017
|
+
[
|
|
2018
|
+
'updateForItems',
|
|
2019
|
+
'POST',
|
|
2020
|
+
'/coupons',
|
|
2021
|
+
'/update_for_items',
|
|
2022
|
+
true,
|
|
2023
|
+
null,
|
|
2024
|
+
false,
|
|
2025
|
+
{
|
|
2026
|
+
meta_data: 0,
|
|
2027
|
+
item_price_ids: 1,
|
|
2028
|
+
item_family_ids: 1,
|
|
2029
|
+
currencies: 1,
|
|
2030
|
+
item_price_periods: 1,
|
|
2031
|
+
},
|
|
2032
|
+
],
|
|
2033
|
+
['list', 'GET', '/coupons', null, false, null, false, {}],
|
|
2034
|
+
['retrieve', 'GET', '/coupons', null, true, null, false, {}],
|
|
2035
|
+
[
|
|
2036
|
+
'update',
|
|
2037
|
+
'POST',
|
|
2038
|
+
'/coupons',
|
|
2039
|
+
null,
|
|
2040
|
+
true,
|
|
2041
|
+
null,
|
|
2042
|
+
false,
|
|
2043
|
+
{
|
|
2044
|
+
meta_data: 0,
|
|
2045
|
+
},
|
|
2046
|
+
],
|
|
2047
|
+
['delete', 'POST', '/coupons', '/delete', true, null, false, {}],
|
|
2048
|
+
['copy', 'POST', '/coupons', '/copy', false, null, false, {}],
|
|
2049
|
+
['unarchive', 'POST', '/coupons', '/unarchive', true, null, false, {}],
|
|
2050
|
+
],
|
|
2051
|
+
couponSet: [
|
|
2052
|
+
[
|
|
2053
|
+
'create',
|
|
2054
|
+
'POST',
|
|
2055
|
+
'/coupon_sets',
|
|
2056
|
+
null,
|
|
2057
|
+
false,
|
|
2058
|
+
null,
|
|
2059
|
+
false,
|
|
2060
|
+
{
|
|
2061
|
+
meta_data: 0,
|
|
2062
|
+
},
|
|
2063
|
+
],
|
|
2064
|
+
[
|
|
2065
|
+
'addCouponCodes',
|
|
2066
|
+
'POST',
|
|
2067
|
+
'/coupon_sets',
|
|
2068
|
+
'/add_coupon_codes',
|
|
2069
|
+
true,
|
|
2070
|
+
null,
|
|
2071
|
+
false,
|
|
2072
|
+
{},
|
|
742
2073
|
],
|
|
2074
|
+
['list', 'GET', '/coupon_sets', null, false, null, false, {}],
|
|
2075
|
+
['retrieve', 'GET', '/coupon_sets', null, true, null, false, {}],
|
|
743
2076
|
[
|
|
744
|
-
'
|
|
2077
|
+
'update',
|
|
745
2078
|
'POST',
|
|
746
|
-
'/
|
|
747
|
-
'/
|
|
2079
|
+
'/coupon_sets',
|
|
2080
|
+
'/update',
|
|
748
2081
|
true,
|
|
2082
|
+
null,
|
|
2083
|
+
false,
|
|
2084
|
+
{
|
|
2085
|
+
meta_data: 0,
|
|
2086
|
+
},
|
|
749
2087
|
],
|
|
750
|
-
['
|
|
751
|
-
['quoteLineGroupsForQuote', 'GET', '/quotes', '/quote_line_groups', true],
|
|
752
|
-
['convert', 'POST', '/quotes', '/convert', true],
|
|
753
|
-
['updateStatus', 'POST', '/quotes', '/update_status', true],
|
|
754
|
-
['extendExpiryDate', 'POST', '/quotes', '/extend_expiry_date', true],
|
|
755
|
-
['delete', 'POST', '/quotes', '/delete', true],
|
|
756
|
-
['pdf', 'POST', '/quotes', '/pdf', true],
|
|
757
|
-
],
|
|
758
|
-
quotedSubscription: [],
|
|
759
|
-
quotedCharge: [],
|
|
760
|
-
quoteLineGroup: [],
|
|
761
|
-
plan: [
|
|
762
|
-
['create', 'POST', '/plans', null, false],
|
|
763
|
-
['update', 'POST', '/plans', null, true],
|
|
764
|
-
['list', 'GET', '/plans', null, false],
|
|
765
|
-
['retrieve', 'GET', '/plans', null, true],
|
|
766
|
-
['delete', 'POST', '/plans', '/delete', true],
|
|
767
|
-
['copy', 'POST', '/plans', '/copy', false],
|
|
768
|
-
['unarchive', 'POST', '/plans', '/unarchive', true],
|
|
769
|
-
],
|
|
770
|
-
addon: [
|
|
771
|
-
['create', 'POST', '/addons', null, false],
|
|
772
|
-
['update', 'POST', '/addons', null, true],
|
|
773
|
-
['list', 'GET', '/addons', null, false],
|
|
774
|
-
['retrieve', 'GET', '/addons', null, true],
|
|
775
|
-
['delete', 'POST', '/addons', '/delete', true],
|
|
776
|
-
['copy', 'POST', '/addons', '/copy', false],
|
|
777
|
-
['unarchive', 'POST', '/addons', '/unarchive', true],
|
|
778
|
-
],
|
|
779
|
-
coupon: [
|
|
780
|
-
['create', 'POST', '/coupons', null, false],
|
|
781
|
-
['createForItems', 'POST', '/coupons', '/create_for_items', false],
|
|
782
|
-
['updateForItems', 'POST', '/coupons', '/update_for_items', true],
|
|
783
|
-
['list', 'GET', '/coupons', null, false],
|
|
784
|
-
['retrieve', 'GET', '/coupons', null, true],
|
|
785
|
-
['update', 'POST', '/coupons', null, true],
|
|
786
|
-
['delete', 'POST', '/coupons', '/delete', true],
|
|
787
|
-
['copy', 'POST', '/coupons', '/copy', false],
|
|
788
|
-
['unarchive', 'POST', '/coupons', '/unarchive', true],
|
|
789
|
-
],
|
|
790
|
-
couponSet: [
|
|
791
|
-
['create', 'POST', '/coupon_sets', null, false],
|
|
792
|
-
['addCouponCodes', 'POST', '/coupon_sets', '/add_coupon_codes', true],
|
|
793
|
-
['list', 'GET', '/coupon_sets', null, false],
|
|
794
|
-
['retrieve', 'GET', '/coupon_sets', null, true],
|
|
795
|
-
['update', 'POST', '/coupon_sets', '/update', true],
|
|
796
|
-
['delete', 'POST', '/coupon_sets', '/delete', true],
|
|
2088
|
+
['delete', 'POST', '/coupon_sets', '/delete', true, null, false, {}],
|
|
797
2089
|
[
|
|
798
2090
|
'deleteUnusedCouponCodes',
|
|
799
2091
|
'POST',
|
|
800
2092
|
'/coupon_sets',
|
|
801
2093
|
'/delete_unused_coupon_codes',
|
|
802
2094
|
true,
|
|
2095
|
+
null,
|
|
2096
|
+
false,
|
|
2097
|
+
{},
|
|
803
2098
|
],
|
|
804
2099
|
],
|
|
805
2100
|
couponCode: [
|
|
806
|
-
['create', 'POST', '/coupon_codes', null, false],
|
|
807
|
-
['retrieve', 'GET', '/coupon_codes', null, true],
|
|
808
|
-
['list', 'GET', '/coupon_codes', null, false],
|
|
809
|
-
['archive', 'POST', '/coupon_codes', '/archive', true],
|
|
2101
|
+
['create', 'POST', '/coupon_codes', null, false, null, false, {}],
|
|
2102
|
+
['retrieve', 'GET', '/coupon_codes', null, true, null, false, {}],
|
|
2103
|
+
['list', 'GET', '/coupon_codes', null, false, null, false, {}],
|
|
2104
|
+
['archive', 'POST', '/coupon_codes', '/archive', true, null, false, {}],
|
|
810
2105
|
],
|
|
811
2106
|
address: [
|
|
812
|
-
['retrieve', 'GET', '/addresses', null, false],
|
|
813
|
-
['update', 'POST', '/addresses', null, false],
|
|
2107
|
+
['retrieve', 'GET', '/addresses', null, false, null, false, {}],
|
|
2108
|
+
['update', 'POST', '/addresses', null, false, null, false, {}],
|
|
814
2109
|
],
|
|
815
2110
|
usage: [
|
|
816
|
-
['create', 'POST', '/subscriptions', '/usages', true],
|
|
817
|
-
['retrieve', 'GET', '/subscriptions', '/usages', true],
|
|
818
|
-
[
|
|
819
|
-
|
|
820
|
-
|
|
2111
|
+
['create', 'POST', '/subscriptions', '/usages', true, null, false, {}],
|
|
2112
|
+
['retrieve', 'GET', '/subscriptions', '/usages', true, null, false, {}],
|
|
2113
|
+
[
|
|
2114
|
+
'delete',
|
|
2115
|
+
'POST',
|
|
2116
|
+
'/subscriptions',
|
|
2117
|
+
'/delete_usage',
|
|
2118
|
+
true,
|
|
2119
|
+
null,
|
|
2120
|
+
false,
|
|
2121
|
+
{},
|
|
2122
|
+
],
|
|
2123
|
+
['list', 'GET', '/usages', null, false, null, false, {}],
|
|
2124
|
+
['pdf', 'POST', '/usages', '/pdf', false, null, false, {}],
|
|
821
2125
|
],
|
|
822
2126
|
event: [
|
|
823
|
-
['list', 'GET', '/events', null, false],
|
|
824
|
-
['retrieve', 'GET', '/events', null, true],
|
|
2127
|
+
['list', 'GET', '/events', null, false, null, false, {}],
|
|
2128
|
+
['retrieve', 'GET', '/events', null, true, null, false, {}],
|
|
825
2129
|
],
|
|
826
2130
|
comment: [
|
|
827
|
-
['create', 'POST', '/comments', null, false],
|
|
828
|
-
['retrieve', 'GET', '/comments', null, true],
|
|
829
|
-
['list', 'GET', '/comments', null, false],
|
|
830
|
-
['delete', 'POST', '/comments', '/delete', true],
|
|
2131
|
+
['create', 'POST', '/comments', null, false, null, false, {}],
|
|
2132
|
+
['retrieve', 'GET', '/comments', null, true, null, false, {}],
|
|
2133
|
+
['list', 'GET', '/comments', null, false, null, false, {}],
|
|
2134
|
+
['delete', 'POST', '/comments', '/delete', true, null, false, {}],
|
|
831
2135
|
],
|
|
832
2136
|
download: [],
|
|
833
2137
|
portalSession: [
|
|
834
|
-
['create', 'POST', '/portal_sessions', null, false],
|
|
835
|
-
['retrieve', 'GET', '/portal_sessions', null, true],
|
|
836
|
-
['logout', 'POST', '/portal_sessions', '/logout', true],
|
|
837
|
-
[
|
|
2138
|
+
['create', 'POST', '/portal_sessions', null, false, null, false, {}],
|
|
2139
|
+
['retrieve', 'GET', '/portal_sessions', null, true, null, false, {}],
|
|
2140
|
+
['logout', 'POST', '/portal_sessions', '/logout', true, null, false, {}],
|
|
2141
|
+
[
|
|
2142
|
+
'activate',
|
|
2143
|
+
'POST',
|
|
2144
|
+
'/portal_sessions',
|
|
2145
|
+
'/activate',
|
|
2146
|
+
true,
|
|
2147
|
+
null,
|
|
2148
|
+
false,
|
|
2149
|
+
{},
|
|
2150
|
+
],
|
|
838
2151
|
],
|
|
839
2152
|
siteMigrationDetail: [
|
|
840
|
-
['list', 'GET', '/site_migration_details', null, false],
|
|
2153
|
+
['list', 'GET', '/site_migration_details', null, false, null, false, {}],
|
|
841
2154
|
],
|
|
842
2155
|
resourceMigration: [
|
|
843
2156
|
[
|
|
@@ -846,99 +2159,309 @@ exports.Endpoints = {
|
|
|
846
2159
|
'/resource_migrations',
|
|
847
2160
|
'/retrieve_latest',
|
|
848
2161
|
false,
|
|
2162
|
+
null,
|
|
2163
|
+
false,
|
|
2164
|
+
{},
|
|
849
2165
|
],
|
|
850
2166
|
],
|
|
851
2167
|
timeMachine: [
|
|
852
|
-
['retrieve', 'GET', '/time_machines', null, true],
|
|
853
|
-
[
|
|
854
|
-
|
|
2168
|
+
['retrieve', 'GET', '/time_machines', null, true, null, false, {}],
|
|
2169
|
+
[
|
|
2170
|
+
'startAfresh',
|
|
2171
|
+
'POST',
|
|
2172
|
+
'/time_machines',
|
|
2173
|
+
'/start_afresh',
|
|
2174
|
+
true,
|
|
2175
|
+
null,
|
|
2176
|
+
false,
|
|
2177
|
+
{},
|
|
2178
|
+
],
|
|
2179
|
+
[
|
|
2180
|
+
'travelForward',
|
|
2181
|
+
'POST',
|
|
2182
|
+
'/time_machines',
|
|
2183
|
+
'/travel_forward',
|
|
2184
|
+
true,
|
|
2185
|
+
null,
|
|
2186
|
+
false,
|
|
2187
|
+
{},
|
|
2188
|
+
],
|
|
855
2189
|
],
|
|
856
2190
|
export: [
|
|
857
|
-
['retrieve', 'GET', '/exports', null, true],
|
|
858
|
-
[
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
[
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
2191
|
+
['retrieve', 'GET', '/exports', null, true, null, false, {}],
|
|
2192
|
+
[
|
|
2193
|
+
'revenueRecognition',
|
|
2194
|
+
'POST',
|
|
2195
|
+
'/exports',
|
|
2196
|
+
'/revenue_recognition',
|
|
2197
|
+
false,
|
|
2198
|
+
null,
|
|
2199
|
+
false,
|
|
2200
|
+
{},
|
|
2201
|
+
],
|
|
2202
|
+
[
|
|
2203
|
+
'deferredRevenue',
|
|
2204
|
+
'POST',
|
|
2205
|
+
'/exports',
|
|
2206
|
+
'/deferred_revenue',
|
|
2207
|
+
false,
|
|
2208
|
+
null,
|
|
2209
|
+
false,
|
|
2210
|
+
{},
|
|
2211
|
+
],
|
|
2212
|
+
['plans', 'POST', '/exports', '/plans', false, null, false, {}],
|
|
2213
|
+
['addons', 'POST', '/exports', '/addons', false, null, false, {}],
|
|
2214
|
+
['coupons', 'POST', '/exports', '/coupons', false, null, false, {}],
|
|
2215
|
+
['customers', 'POST', '/exports', '/customers', false, null, false, {}],
|
|
2216
|
+
[
|
|
2217
|
+
'subscriptions',
|
|
2218
|
+
'POST',
|
|
2219
|
+
'/exports',
|
|
2220
|
+
'/subscriptions',
|
|
2221
|
+
false,
|
|
2222
|
+
null,
|
|
2223
|
+
false,
|
|
2224
|
+
{},
|
|
2225
|
+
],
|
|
2226
|
+
['invoices', 'POST', '/exports', '/invoices', false, null, false, {}],
|
|
2227
|
+
[
|
|
2228
|
+
'creditNotes',
|
|
2229
|
+
'POST',
|
|
2230
|
+
'/exports',
|
|
2231
|
+
'/credit_notes',
|
|
2232
|
+
false,
|
|
2233
|
+
null,
|
|
2234
|
+
false,
|
|
2235
|
+
{},
|
|
2236
|
+
],
|
|
2237
|
+
[
|
|
2238
|
+
'transactions',
|
|
2239
|
+
'POST',
|
|
2240
|
+
'/exports',
|
|
2241
|
+
'/transactions',
|
|
2242
|
+
false,
|
|
2243
|
+
null,
|
|
2244
|
+
false,
|
|
2245
|
+
{},
|
|
2246
|
+
],
|
|
2247
|
+
['orders', 'POST', '/exports', '/orders', false, null, false, {}],
|
|
2248
|
+
[
|
|
2249
|
+
'itemFamilies',
|
|
2250
|
+
'POST',
|
|
2251
|
+
'/exports',
|
|
2252
|
+
'/item_families',
|
|
2253
|
+
false,
|
|
2254
|
+
null,
|
|
2255
|
+
false,
|
|
2256
|
+
{},
|
|
2257
|
+
],
|
|
2258
|
+
['items', 'POST', '/exports', '/items', false, null, false, {}],
|
|
2259
|
+
['itemPrices', 'POST', '/exports', '/item_prices', false, null, false, {}],
|
|
2260
|
+
[
|
|
2261
|
+
'attachedItems',
|
|
2262
|
+
'POST',
|
|
2263
|
+
'/exports',
|
|
2264
|
+
'/attached_items',
|
|
2265
|
+
false,
|
|
2266
|
+
null,
|
|
2267
|
+
false,
|
|
2268
|
+
{},
|
|
2269
|
+
],
|
|
2270
|
+
[
|
|
2271
|
+
'differentialPrices',
|
|
2272
|
+
'POST',
|
|
2273
|
+
'/exports',
|
|
2274
|
+
'/differential_prices',
|
|
2275
|
+
false,
|
|
2276
|
+
null,
|
|
2277
|
+
false,
|
|
2278
|
+
{},
|
|
2279
|
+
],
|
|
2280
|
+
[
|
|
2281
|
+
'priceVariants',
|
|
2282
|
+
'POST',
|
|
2283
|
+
'/exports',
|
|
2284
|
+
'/price_variants',
|
|
2285
|
+
false,
|
|
2286
|
+
null,
|
|
2287
|
+
false,
|
|
2288
|
+
{},
|
|
2289
|
+
],
|
|
875
2290
|
],
|
|
876
2291
|
paymentIntent: [
|
|
877
|
-
['create', 'POST', '/payment_intents', null, false],
|
|
878
|
-
['update', 'POST', '/payment_intents', null, true],
|
|
879
|
-
['retrieve', 'GET', '/payment_intents', null, true],
|
|
2292
|
+
['create', 'POST', '/payment_intents', null, false, null, false, {}],
|
|
2293
|
+
['update', 'POST', '/payment_intents', null, true, null, false, {}],
|
|
2294
|
+
['retrieve', 'GET', '/payment_intents', null, true, null, false, {}],
|
|
880
2295
|
],
|
|
881
2296
|
gatewayErrorDetail: [],
|
|
882
2297
|
itemFamily: [
|
|
883
|
-
['create', 'POST', '/item_families', null, false],
|
|
884
|
-
['retrieve', 'GET', '/item_families', null, true],
|
|
885
|
-
['list', 'GET', '/item_families', null, false],
|
|
886
|
-
['update', 'POST', '/item_families', null, true],
|
|
887
|
-
['delete', 'POST', '/item_families', '/delete', true],
|
|
2298
|
+
['create', 'POST', '/item_families', null, false, null, false, {}],
|
|
2299
|
+
['retrieve', 'GET', '/item_families', null, true, null, false, {}],
|
|
2300
|
+
['list', 'GET', '/item_families', null, false, null, false, {}],
|
|
2301
|
+
['update', 'POST', '/item_families', null, true, null, false, {}],
|
|
2302
|
+
['delete', 'POST', '/item_families', '/delete', true, null, false, {}],
|
|
888
2303
|
],
|
|
889
2304
|
item: [
|
|
890
|
-
[
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
2305
|
+
[
|
|
2306
|
+
'create',
|
|
2307
|
+
'POST',
|
|
2308
|
+
'/items',
|
|
2309
|
+
null,
|
|
2310
|
+
false,
|
|
2311
|
+
null,
|
|
2312
|
+
false,
|
|
2313
|
+
{
|
|
2314
|
+
metadata: 0,
|
|
2315
|
+
},
|
|
2316
|
+
],
|
|
2317
|
+
['retrieve', 'GET', '/items', null, true, null, false, {}],
|
|
2318
|
+
[
|
|
2319
|
+
'update',
|
|
2320
|
+
'POST',
|
|
2321
|
+
'/items',
|
|
2322
|
+
null,
|
|
2323
|
+
true,
|
|
2324
|
+
null,
|
|
2325
|
+
false,
|
|
2326
|
+
{
|
|
2327
|
+
metadata: 0,
|
|
2328
|
+
},
|
|
2329
|
+
],
|
|
2330
|
+
['list', 'GET', '/items', null, false, null, false, {}],
|
|
2331
|
+
['delete', 'POST', '/items', '/delete', true, null, false, {}],
|
|
895
2332
|
],
|
|
896
2333
|
priceVariant: [
|
|
897
|
-
['create', 'POST', '/price_variants', null, false],
|
|
898
|
-
['retrieve', 'GET', '/price_variants', null, true],
|
|
899
|
-
['update', 'POST', '/price_variants', null, true],
|
|
900
|
-
['delete', 'POST', '/price_variants', '/delete', true],
|
|
901
|
-
['list', 'GET', '/price_variants', null, false],
|
|
2334
|
+
['create', 'POST', '/price_variants', null, false, null, false, {}],
|
|
2335
|
+
['retrieve', 'GET', '/price_variants', null, true, null, false, {}],
|
|
2336
|
+
['update', 'POST', '/price_variants', null, true, null, false, {}],
|
|
2337
|
+
['delete', 'POST', '/price_variants', '/delete', true, null, false, {}],
|
|
2338
|
+
['list', 'GET', '/price_variants', null, false, null, false, {}],
|
|
902
2339
|
],
|
|
903
2340
|
attribute: [],
|
|
904
2341
|
itemPrice: [
|
|
905
|
-
[
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
2342
|
+
[
|
|
2343
|
+
'create',
|
|
2344
|
+
'POST',
|
|
2345
|
+
'/item_prices',
|
|
2346
|
+
null,
|
|
2347
|
+
false,
|
|
2348
|
+
null,
|
|
2349
|
+
false,
|
|
2350
|
+
{
|
|
2351
|
+
metadata: 0,
|
|
2352
|
+
},
|
|
2353
|
+
],
|
|
2354
|
+
['retrieve', 'GET', '/item_prices', null, true, null, false, {}],
|
|
2355
|
+
[
|
|
2356
|
+
'update',
|
|
2357
|
+
'POST',
|
|
2358
|
+
'/item_prices',
|
|
2359
|
+
null,
|
|
2360
|
+
true,
|
|
2361
|
+
null,
|
|
2362
|
+
false,
|
|
2363
|
+
{
|
|
2364
|
+
metadata: 0,
|
|
2365
|
+
},
|
|
2366
|
+
],
|
|
2367
|
+
['list', 'GET', '/item_prices', null, false, null, false, {}],
|
|
2368
|
+
['delete', 'POST', '/item_prices', '/delete', true, null, false, {}],
|
|
2369
|
+
[
|
|
2370
|
+
'findApplicableItems',
|
|
2371
|
+
'GET',
|
|
2372
|
+
'/item_prices',
|
|
2373
|
+
'/applicable_items',
|
|
2374
|
+
true,
|
|
2375
|
+
null,
|
|
2376
|
+
false,
|
|
2377
|
+
{},
|
|
2378
|
+
],
|
|
911
2379
|
[
|
|
912
2380
|
'findApplicableItemPrices',
|
|
913
2381
|
'GET',
|
|
914
2382
|
'/item_prices',
|
|
915
2383
|
'/applicable_item_prices',
|
|
916
2384
|
true,
|
|
2385
|
+
null,
|
|
2386
|
+
false,
|
|
2387
|
+
{},
|
|
917
2388
|
],
|
|
918
2389
|
],
|
|
919
2390
|
attachedItem: [
|
|
920
|
-
['create', 'POST', '/items', '/attached_items', true],
|
|
921
|
-
['update', 'POST', '/attached_items', null, true],
|
|
922
|
-
['retrieve', 'GET', '/attached_items', null, true],
|
|
923
|
-
['delete', 'POST', '/attached_items', '/delete', true],
|
|
924
|
-
['list', 'GET', '/items', '/attached_items', true],
|
|
2391
|
+
['create', 'POST', '/items', '/attached_items', true, null, false, {}],
|
|
2392
|
+
['update', 'POST', '/attached_items', null, true, null, false, {}],
|
|
2393
|
+
['retrieve', 'GET', '/attached_items', null, true, null, false, {}],
|
|
2394
|
+
['delete', 'POST', '/attached_items', '/delete', true, null, false, {}],
|
|
2395
|
+
['list', 'GET', '/items', '/attached_items', true, null, false, {}],
|
|
925
2396
|
],
|
|
926
2397
|
differentialPrice: [
|
|
927
|
-
[
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
2398
|
+
[
|
|
2399
|
+
'create',
|
|
2400
|
+
'POST',
|
|
2401
|
+
'/item_prices',
|
|
2402
|
+
'/differential_prices',
|
|
2403
|
+
true,
|
|
2404
|
+
null,
|
|
2405
|
+
false,
|
|
2406
|
+
{
|
|
2407
|
+
period: 1,
|
|
2408
|
+
},
|
|
2409
|
+
],
|
|
2410
|
+
['retrieve', 'GET', '/differential_prices', null, true, null, false, {}],
|
|
2411
|
+
[
|
|
2412
|
+
'update',
|
|
2413
|
+
'POST',
|
|
2414
|
+
'/differential_prices',
|
|
2415
|
+
null,
|
|
2416
|
+
true,
|
|
2417
|
+
null,
|
|
2418
|
+
false,
|
|
2419
|
+
{
|
|
2420
|
+
period: 1,
|
|
2421
|
+
},
|
|
2422
|
+
],
|
|
2423
|
+
[
|
|
2424
|
+
'delete',
|
|
2425
|
+
'POST',
|
|
2426
|
+
'/differential_prices',
|
|
2427
|
+
'/delete',
|
|
2428
|
+
true,
|
|
2429
|
+
null,
|
|
2430
|
+
false,
|
|
2431
|
+
{},
|
|
2432
|
+
],
|
|
2433
|
+
['list', 'GET', '/differential_prices', null, false, null, false, {}],
|
|
2434
|
+
],
|
|
2435
|
+
configuration: [
|
|
2436
|
+
['list', 'GET', '/configurations', null, false, null, false, {}],
|
|
932
2437
|
],
|
|
933
2438
|
feature: [
|
|
934
|
-
['list', 'GET', '/features', null, false],
|
|
935
|
-
['create', 'POST', '/features', null, false],
|
|
936
|
-
['update', 'POST', '/features', null, true],
|
|
937
|
-
['retrieve', 'GET', '/features', null, true],
|
|
938
|
-
['delete', 'POST', '/features', '/delete', true],
|
|
939
|
-
[
|
|
940
|
-
|
|
941
|
-
|
|
2439
|
+
['list', 'GET', '/features', null, false, null, false, {}],
|
|
2440
|
+
['create', 'POST', '/features', null, false, null, false, {}],
|
|
2441
|
+
['update', 'POST', '/features', null, true, null, false, {}],
|
|
2442
|
+
['retrieve', 'GET', '/features', null, true, null, false, {}],
|
|
2443
|
+
['delete', 'POST', '/features', '/delete', true, null, false, {}],
|
|
2444
|
+
[
|
|
2445
|
+
'activate',
|
|
2446
|
+
'POST',
|
|
2447
|
+
'/features',
|
|
2448
|
+
'/activate_command',
|
|
2449
|
+
true,
|
|
2450
|
+
null,
|
|
2451
|
+
false,
|
|
2452
|
+
{},
|
|
2453
|
+
],
|
|
2454
|
+
['archive', 'POST', '/features', '/archive_command', true, null, false, {}],
|
|
2455
|
+
[
|
|
2456
|
+
'reactivate',
|
|
2457
|
+
'POST',
|
|
2458
|
+
'/features',
|
|
2459
|
+
'/reactivate_command',
|
|
2460
|
+
true,
|
|
2461
|
+
null,
|
|
2462
|
+
false,
|
|
2463
|
+
{},
|
|
2464
|
+
],
|
|
942
2465
|
],
|
|
943
2466
|
impactedSubscription: [],
|
|
944
2467
|
impactedItem: [],
|
|
@@ -951,6 +2474,9 @@ exports.Endpoints = {
|
|
|
951
2474
|
'/subscriptions',
|
|
952
2475
|
'/subscription_entitlements',
|
|
953
2476
|
true,
|
|
2477
|
+
null,
|
|
2478
|
+
false,
|
|
2479
|
+
{},
|
|
954
2480
|
],
|
|
955
2481
|
[
|
|
956
2482
|
'setSubscriptionEntitlementAvailability',
|
|
@@ -958,6 +2484,9 @@ exports.Endpoints = {
|
|
|
958
2484
|
'/subscriptions',
|
|
959
2485
|
'/subscription_entitlements/set_availability',
|
|
960
2486
|
true,
|
|
2487
|
+
null,
|
|
2488
|
+
false,
|
|
2489
|
+
{},
|
|
961
2490
|
],
|
|
962
2491
|
],
|
|
963
2492
|
customerEntitlement: [
|
|
@@ -967,29 +2496,56 @@ exports.Endpoints = {
|
|
|
967
2496
|
'/customers',
|
|
968
2497
|
'/customer_entitlements',
|
|
969
2498
|
true,
|
|
2499
|
+
null,
|
|
2500
|
+
false,
|
|
2501
|
+
{},
|
|
970
2502
|
],
|
|
971
2503
|
],
|
|
972
2504
|
itemEntitlement: [
|
|
973
|
-
[
|
|
2505
|
+
[
|
|
2506
|
+
'itemEntitlementsForItem',
|
|
2507
|
+
'GET',
|
|
2508
|
+
'/items',
|
|
2509
|
+
'/item_entitlements',
|
|
2510
|
+
true,
|
|
2511
|
+
null,
|
|
2512
|
+
false,
|
|
2513
|
+
{},
|
|
2514
|
+
],
|
|
974
2515
|
[
|
|
975
2516
|
'itemEntitlementsForFeature',
|
|
976
2517
|
'GET',
|
|
977
2518
|
'/features',
|
|
978
2519
|
'/item_entitlements',
|
|
979
2520
|
true,
|
|
2521
|
+
null,
|
|
2522
|
+
false,
|
|
2523
|
+
{},
|
|
2524
|
+
],
|
|
2525
|
+
[
|
|
2526
|
+
'addItemEntitlements',
|
|
2527
|
+
'POST',
|
|
2528
|
+
'/features',
|
|
2529
|
+
'/item_entitlements',
|
|
2530
|
+
true,
|
|
2531
|
+
null,
|
|
2532
|
+
false,
|
|
2533
|
+
{},
|
|
980
2534
|
],
|
|
981
|
-
['addItemEntitlements', 'POST', '/features', '/item_entitlements', true],
|
|
982
2535
|
[
|
|
983
2536
|
'upsertOrRemoveItemEntitlementsForItem',
|
|
984
2537
|
'POST',
|
|
985
2538
|
'/items',
|
|
986
2539
|
'/item_entitlements',
|
|
987
2540
|
true,
|
|
2541
|
+
null,
|
|
2542
|
+
false,
|
|
2543
|
+
{},
|
|
988
2544
|
],
|
|
989
2545
|
],
|
|
990
2546
|
entitlement: [
|
|
991
|
-
['list', 'GET', '/entitlements', null, false],
|
|
992
|
-
['create', 'POST', '/entitlements', null, false],
|
|
2547
|
+
['list', 'GET', '/entitlements', null, false, null, false, {}],
|
|
2548
|
+
['create', 'POST', '/entitlements', null, false, null, false, {}],
|
|
993
2549
|
],
|
|
994
2550
|
inAppSubscription: [
|
|
995
2551
|
[
|
|
@@ -998,16 +2554,40 @@ exports.Endpoints = {
|
|
|
998
2554
|
'/in_app_subscriptions',
|
|
999
2555
|
'/process_purchase_command',
|
|
1000
2556
|
true,
|
|
2557
|
+
null,
|
|
2558
|
+
false,
|
|
2559
|
+
{},
|
|
2560
|
+
],
|
|
2561
|
+
[
|
|
2562
|
+
'importReceipt',
|
|
2563
|
+
'POST',
|
|
2564
|
+
'/in_app_subscriptions',
|
|
2565
|
+
'/import_receipt',
|
|
2566
|
+
true,
|
|
2567
|
+
null,
|
|
2568
|
+
false,
|
|
2569
|
+
{},
|
|
1001
2570
|
],
|
|
1002
|
-
['importReceipt', 'POST', '/in_app_subscriptions', '/import_receipt', true],
|
|
1003
2571
|
[
|
|
1004
2572
|
'importSubscription',
|
|
1005
2573
|
'POST',
|
|
1006
2574
|
'/in_app_subscriptions',
|
|
1007
2575
|
'/import_subscription',
|
|
1008
2576
|
true,
|
|
2577
|
+
null,
|
|
2578
|
+
false,
|
|
2579
|
+
{},
|
|
2580
|
+
],
|
|
2581
|
+
[
|
|
2582
|
+
'retrieveStoreSubs',
|
|
2583
|
+
'POST',
|
|
2584
|
+
'/in_app_subscriptions',
|
|
2585
|
+
'/retrieve',
|
|
2586
|
+
true,
|
|
2587
|
+
null,
|
|
2588
|
+
false,
|
|
2589
|
+
{},
|
|
1009
2590
|
],
|
|
1010
|
-
['retrieveStoreSubs', 'POST', '/in_app_subscriptions', '/retrieve', true],
|
|
1011
2591
|
],
|
|
1012
2592
|
nonSubscription: [
|
|
1013
2593
|
[
|
|
@@ -1016,6 +2596,9 @@ exports.Endpoints = {
|
|
|
1016
2596
|
'/non_subscriptions',
|
|
1017
2597
|
'/one_time_purchase',
|
|
1018
2598
|
true,
|
|
2599
|
+
null,
|
|
2600
|
+
false,
|
|
2601
|
+
{},
|
|
1019
2602
|
],
|
|
1020
2603
|
],
|
|
1021
2604
|
entitlementOverride: [
|
|
@@ -1025,6 +2608,9 @@ exports.Endpoints = {
|
|
|
1025
2608
|
'/subscriptions',
|
|
1026
2609
|
'/entitlement_overrides',
|
|
1027
2610
|
true,
|
|
2611
|
+
null,
|
|
2612
|
+
false,
|
|
2613
|
+
{},
|
|
1028
2614
|
],
|
|
1029
2615
|
[
|
|
1030
2616
|
'listEntitlementOverrideForSubscription',
|
|
@@ -1032,25 +2618,71 @@ exports.Endpoints = {
|
|
|
1032
2618
|
'/subscriptions',
|
|
1033
2619
|
'/entitlement_overrides',
|
|
1034
2620
|
true,
|
|
2621
|
+
null,
|
|
2622
|
+
false,
|
|
2623
|
+
{},
|
|
1035
2624
|
],
|
|
1036
2625
|
],
|
|
1037
2626
|
businessEntity: [
|
|
1038
|
-
[
|
|
1039
|
-
|
|
2627
|
+
[
|
|
2628
|
+
'createTransfers',
|
|
2629
|
+
'POST',
|
|
2630
|
+
'/business_entities',
|
|
2631
|
+
'/transfers',
|
|
2632
|
+
false,
|
|
2633
|
+
null,
|
|
2634
|
+
false,
|
|
2635
|
+
{},
|
|
2636
|
+
],
|
|
2637
|
+
[
|
|
2638
|
+
'getTransfers',
|
|
2639
|
+
'GET',
|
|
2640
|
+
'/business_entities',
|
|
2641
|
+
'/transfers',
|
|
2642
|
+
false,
|
|
2643
|
+
null,
|
|
2644
|
+
false,
|
|
2645
|
+
{},
|
|
2646
|
+
],
|
|
1040
2647
|
],
|
|
1041
2648
|
purchase: [
|
|
1042
|
-
[
|
|
1043
|
-
|
|
2649
|
+
[
|
|
2650
|
+
'create',
|
|
2651
|
+
'POST',
|
|
2652
|
+
'/purchases',
|
|
2653
|
+
null,
|
|
2654
|
+
false,
|
|
2655
|
+
null,
|
|
2656
|
+
false,
|
|
2657
|
+
{
|
|
2658
|
+
meta_data: 1,
|
|
2659
|
+
},
|
|
2660
|
+
],
|
|
2661
|
+
[
|
|
2662
|
+
'estimate',
|
|
2663
|
+
'POST',
|
|
2664
|
+
'/purchases',
|
|
2665
|
+
'/estimate',
|
|
2666
|
+
false,
|
|
2667
|
+
null,
|
|
2668
|
+
false,
|
|
2669
|
+
{
|
|
2670
|
+
exemption_details: 1,
|
|
2671
|
+
},
|
|
2672
|
+
],
|
|
1044
2673
|
],
|
|
1045
2674
|
paymentVoucher: [
|
|
1046
|
-
['create', 'POST', '/payment_vouchers', null, false],
|
|
1047
|
-
['retrieve', 'GET', '/payment_vouchers', null, true],
|
|
2675
|
+
['create', 'POST', '/payment_vouchers', null, false, null, false, {}],
|
|
2676
|
+
['retrieve', 'GET', '/payment_vouchers', null, true, null, false, {}],
|
|
1048
2677
|
[
|
|
1049
2678
|
'payment_vouchersForInvoice',
|
|
1050
2679
|
'GET',
|
|
1051
2680
|
'/invoices',
|
|
1052
2681
|
'/payment_vouchers',
|
|
1053
2682
|
true,
|
|
2683
|
+
null,
|
|
2684
|
+
false,
|
|
2685
|
+
{},
|
|
1054
2686
|
],
|
|
1055
2687
|
[
|
|
1056
2688
|
'payment_vouchersForCustomer',
|
|
@@ -1058,27 +2690,84 @@ exports.Endpoints = {
|
|
|
1058
2690
|
'/customers',
|
|
1059
2691
|
'/payment_vouchers',
|
|
1060
2692
|
true,
|
|
2693
|
+
null,
|
|
2694
|
+
false,
|
|
2695
|
+
{},
|
|
1061
2696
|
],
|
|
1062
2697
|
],
|
|
1063
2698
|
currency: [
|
|
1064
|
-
['list', 'GET', '/currencies', '/list', false],
|
|
1065
|
-
['retrieve', 'GET', '/currencies', null, true],
|
|
1066
|
-
['create', 'POST', '/currencies', null, false],
|
|
1067
|
-
['update', 'POST', '/currencies', null, true],
|
|
1068
|
-
[
|
|
1069
|
-
|
|
2699
|
+
['list', 'GET', '/currencies', '/list', false, null, false, {}],
|
|
2700
|
+
['retrieve', 'GET', '/currencies', null, true, null, false, {}],
|
|
2701
|
+
['create', 'POST', '/currencies', null, false, null, false, {}],
|
|
2702
|
+
['update', 'POST', '/currencies', null, true, null, false, {}],
|
|
2703
|
+
[
|
|
2704
|
+
'addSchedule',
|
|
2705
|
+
'POST',
|
|
2706
|
+
'/currencies',
|
|
2707
|
+
'/add_schedule',
|
|
2708
|
+
true,
|
|
2709
|
+
null,
|
|
2710
|
+
false,
|
|
2711
|
+
{},
|
|
2712
|
+
],
|
|
2713
|
+
[
|
|
2714
|
+
'removeSchedule',
|
|
2715
|
+
'POST',
|
|
2716
|
+
'/currencies',
|
|
2717
|
+
'/remove_schedule',
|
|
2718
|
+
true,
|
|
2719
|
+
null,
|
|
2720
|
+
false,
|
|
2721
|
+
{},
|
|
2722
|
+
],
|
|
1070
2723
|
],
|
|
1071
2724
|
ramp: [
|
|
1072
|
-
[
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
2725
|
+
[
|
|
2726
|
+
'createForSubscription',
|
|
2727
|
+
'POST',
|
|
2728
|
+
'/subscriptions',
|
|
2729
|
+
'/create_ramp',
|
|
2730
|
+
true,
|
|
2731
|
+
null,
|
|
2732
|
+
false,
|
|
2733
|
+
{},
|
|
2734
|
+
],
|
|
2735
|
+
['update', 'POST', '/ramps', '/update', true, null, false, {}],
|
|
2736
|
+
['retrieve', 'GET', '/ramps', null, true, null, false, {}],
|
|
2737
|
+
['delete', 'POST', '/ramps', '/delete', true, null, false, {}],
|
|
2738
|
+
['list', 'GET', '/ramps', null, false, null, false, {}],
|
|
1077
2739
|
],
|
|
1078
2740
|
paymentScheduleScheme: [
|
|
1079
|
-
[
|
|
1080
|
-
|
|
1081
|
-
|
|
2741
|
+
[
|
|
2742
|
+
'create',
|
|
2743
|
+
'POST',
|
|
2744
|
+
'/payment_schedule_schemes',
|
|
2745
|
+
null,
|
|
2746
|
+
false,
|
|
2747
|
+
null,
|
|
2748
|
+
false,
|
|
2749
|
+
{},
|
|
2750
|
+
],
|
|
2751
|
+
[
|
|
2752
|
+
'retrieve',
|
|
2753
|
+
'GET',
|
|
2754
|
+
'/payment_schedule_schemes',
|
|
2755
|
+
null,
|
|
2756
|
+
true,
|
|
2757
|
+
null,
|
|
2758
|
+
false,
|
|
2759
|
+
{},
|
|
2760
|
+
],
|
|
2761
|
+
[
|
|
2762
|
+
'delete',
|
|
2763
|
+
'POST',
|
|
2764
|
+
'/payment_schedule_schemes',
|
|
2765
|
+
'/delete',
|
|
2766
|
+
true,
|
|
2767
|
+
null,
|
|
2768
|
+
false,
|
|
2769
|
+
{},
|
|
2770
|
+
],
|
|
1082
2771
|
],
|
|
1083
2772
|
pricingPageSession: [
|
|
1084
2773
|
[
|
|
@@ -1087,6 +2776,9 @@ exports.Endpoints = {
|
|
|
1087
2776
|
'/pricing_page_sessions',
|
|
1088
2777
|
'/create_for_new_subscription',
|
|
1089
2778
|
false,
|
|
2779
|
+
null,
|
|
2780
|
+
false,
|
|
2781
|
+
{},
|
|
1090
2782
|
],
|
|
1091
2783
|
[
|
|
1092
2784
|
'createForExistingSubscription',
|
|
@@ -1094,23 +2786,65 @@ exports.Endpoints = {
|
|
|
1094
2786
|
'/pricing_page_sessions',
|
|
1095
2787
|
'/create_for_existing_subscription',
|
|
1096
2788
|
false,
|
|
2789
|
+
null,
|
|
2790
|
+
false,
|
|
2791
|
+
{},
|
|
1097
2792
|
],
|
|
1098
2793
|
],
|
|
1099
2794
|
omnichannelSubscription: [
|
|
1100
|
-
[
|
|
1101
|
-
|
|
2795
|
+
[
|
|
2796
|
+
'retrieve',
|
|
2797
|
+
'GET',
|
|
2798
|
+
'/omnichannel_subscriptions',
|
|
2799
|
+
null,
|
|
2800
|
+
true,
|
|
2801
|
+
null,
|
|
2802
|
+
false,
|
|
2803
|
+
{},
|
|
2804
|
+
],
|
|
2805
|
+
['list', 'GET', '/omnichannel_subscriptions', null, false, null, false, {}],
|
|
1102
2806
|
[
|
|
1103
2807
|
'omnichannel_transactionsForOmnichannelSubscription',
|
|
1104
2808
|
'GET',
|
|
1105
2809
|
'/omnichannel_subscriptions',
|
|
1106
2810
|
'/omnichannel_transactions',
|
|
1107
2811
|
true,
|
|
2812
|
+
null,
|
|
2813
|
+
false,
|
|
2814
|
+
{},
|
|
1108
2815
|
],
|
|
1109
2816
|
],
|
|
1110
2817
|
omnichannelTransaction: [],
|
|
1111
2818
|
omnichannelSubscriptionItem: [],
|
|
1112
2819
|
recordedPurchase: [
|
|
1113
|
-
['create', 'POST', '/recorded_purchases', null, false],
|
|
1114
|
-
['retrieve', 'GET', '/recorded_purchases', null, true],
|
|
2820
|
+
['create', 'POST', '/recorded_purchases', null, false, null, false, {}],
|
|
2821
|
+
['retrieve', 'GET', '/recorded_purchases', null, true, null, false, {}],
|
|
2822
|
+
],
|
|
2823
|
+
rule: [['retrieve', 'GET', '/rules', null, true, null, false, {}]],
|
|
2824
|
+
usageEvent: [
|
|
2825
|
+
[
|
|
2826
|
+
'create',
|
|
2827
|
+
'POST',
|
|
2828
|
+
'/usage_events',
|
|
2829
|
+
null,
|
|
2830
|
+
false,
|
|
2831
|
+
'ingest',
|
|
2832
|
+
true,
|
|
2833
|
+
{
|
|
2834
|
+
properties: 0,
|
|
2835
|
+
},
|
|
2836
|
+
],
|
|
2837
|
+
[
|
|
2838
|
+
'batchIngest',
|
|
2839
|
+
'POST',
|
|
2840
|
+
'/batch',
|
|
2841
|
+
'/usage_events',
|
|
2842
|
+
false,
|
|
2843
|
+
'ingest',
|
|
2844
|
+
true,
|
|
2845
|
+
{
|
|
2846
|
+
properties: 1,
|
|
2847
|
+
},
|
|
2848
|
+
],
|
|
1115
2849
|
],
|
|
1116
2850
|
};
|