chargebee 2.40.0 → 3.0.0-beta.1

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