chargebee 2.41.0 → 3.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/CHANGELOG.md +11 -15
  2. package/LICENSE +1 -1
  3. package/README.md +90 -170
  4. package/cjs/RequestWrapper.js +84 -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 +80 -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 +90 -55
  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 +24 -35
  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 +230 -747
  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 -4336
  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 +276 -911
  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 -2935
  117. package/types/resources/NonSubscription.d.ts +0 -30
  118. package/types/resources/Session.d.ts +0 -41
@@ -1,2935 +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
- "reconcile",
1248
- "POST",
1249
- "/transactions",
1250
- "/reconcile",
1251
- true
1252
- ],
1253
- [
1254
- "refund",
1255
- "POST",
1256
- "/transactions",
1257
- "/refund",
1258
- true
1259
- ],
1260
- [
1261
- "list",
1262
- "GET",
1263
- "/transactions",
1264
- null,
1265
- false
1266
- ],
1267
- [
1268
- "transactions_for_customer",
1269
- "GET",
1270
- "/customers",
1271
- "/transactions",
1272
- true
1273
- ],
1274
- [
1275
- "transactions_for_subscription",
1276
- "GET",
1277
- "/subscriptions",
1278
- "/transactions",
1279
- true
1280
- ],
1281
- [
1282
- "payments_for_invoice",
1283
- "GET",
1284
- "/invoices",
1285
- "/payments",
1286
- true
1287
- ],
1288
- [
1289
- "retrieve",
1290
- "GET",
1291
- "/transactions",
1292
- null,
1293
- true
1294
- ],
1295
- [
1296
- "delete_offline_transaction",
1297
- "POST",
1298
- "/transactions",
1299
- "/delete_offline_transaction",
1300
- true
1301
- ]
1302
- ],
1303
- "hosted_page": [
1304
- [
1305
- "checkout_new",
1306
- "POST",
1307
- "/hosted_pages",
1308
- "/checkout_new",
1309
- false
1310
- ],
1311
- [
1312
- "checkout_one_time",
1313
- "POST",
1314
- "/hosted_pages",
1315
- "/checkout_one_time",
1316
- false
1317
- ],
1318
- [
1319
- "checkout_one_time_for_items",
1320
- "POST",
1321
- "/hosted_pages",
1322
- "/checkout_one_time_for_items",
1323
- false
1324
- ],
1325
- [
1326
- "checkout_new_for_items",
1327
- "POST",
1328
- "/hosted_pages",
1329
- "/checkout_new_for_items",
1330
- false
1331
- ],
1332
- [
1333
- "checkout_existing",
1334
- "POST",
1335
- "/hosted_pages",
1336
- "/checkout_existing",
1337
- false
1338
- ],
1339
- [
1340
- "checkout_existing_for_items",
1341
- "POST",
1342
- "/hosted_pages",
1343
- "/checkout_existing_for_items",
1344
- false
1345
- ],
1346
- [
1347
- "update_card",
1348
- "POST",
1349
- "/hosted_pages",
1350
- "/update_card",
1351
- false
1352
- ],
1353
- [
1354
- "update_payment_method",
1355
- "POST",
1356
- "/hosted_pages",
1357
- "/update_payment_method",
1358
- false
1359
- ],
1360
- [
1361
- "manage_payment_sources",
1362
- "POST",
1363
- "/hosted_pages",
1364
- "/manage_payment_sources",
1365
- false
1366
- ],
1367
- [
1368
- "collect_now",
1369
- "POST",
1370
- "/hosted_pages",
1371
- "/collect_now",
1372
- false
1373
- ],
1374
- [
1375
- "accept_quote",
1376
- "POST",
1377
- "/hosted_pages",
1378
- "/accept_quote",
1379
- false
1380
- ],
1381
- [
1382
- "extend_subscription",
1383
- "POST",
1384
- "/hosted_pages",
1385
- "/extend_subscription",
1386
- false
1387
- ],
1388
- [
1389
- "checkout_gift",
1390
- "POST",
1391
- "/hosted_pages",
1392
- "/checkout_gift",
1393
- false
1394
- ],
1395
- [
1396
- "checkout_gift_for_items",
1397
- "POST",
1398
- "/hosted_pages",
1399
- "/checkout_gift_for_items",
1400
- false
1401
- ],
1402
- [
1403
- "claim_gift",
1404
- "POST",
1405
- "/hosted_pages",
1406
- "/claim_gift",
1407
- false
1408
- ],
1409
- [
1410
- "retrieve_agreement_pdf",
1411
- "POST",
1412
- "/hosted_pages",
1413
- "/retrieve_agreement_pdf",
1414
- false
1415
- ],
1416
- [
1417
- "acknowledge",
1418
- "POST",
1419
- "/hosted_pages",
1420
- "/acknowledge",
1421
- true
1422
- ],
1423
- [
1424
- "retrieve",
1425
- "GET",
1426
- "/hosted_pages",
1427
- null,
1428
- true
1429
- ],
1430
- [
1431
- "list",
1432
- "GET",
1433
- "/hosted_pages",
1434
- null,
1435
- false
1436
- ],
1437
- [
1438
- "pre_cancel",
1439
- "POST",
1440
- "/hosted_pages",
1441
- "/pre_cancel",
1442
- false
1443
- ],
1444
- [
1445
- "events",
1446
- "POST",
1447
- "/hosted_pages",
1448
- "/events",
1449
- false
1450
- ],
1451
- [
1452
- "view_voucher",
1453
- "POST",
1454
- "/hosted_pages",
1455
- "/view_voucher",
1456
- false
1457
- ]
1458
- ],
1459
- "estimate": [
1460
- [
1461
- "create_subscription",
1462
- "POST",
1463
- "/estimates",
1464
- "/create_subscription",
1465
- false
1466
- ],
1467
- [
1468
- "create_sub_item_estimate",
1469
- "POST",
1470
- "/estimates",
1471
- "/create_subscription_for_items",
1472
- false
1473
- ],
1474
- [
1475
- "create_sub_for_customer_estimate",
1476
- "GET",
1477
- "/customers",
1478
- "/create_subscription_estimate",
1479
- true
1480
- ],
1481
- [
1482
- "create_sub_item_for_customer_estimate",
1483
- "POST",
1484
- "/customers",
1485
- "/create_subscription_for_items_estimate",
1486
- true
1487
- ],
1488
- [
1489
- "update_subscription",
1490
- "POST",
1491
- "/estimates",
1492
- "/update_subscription",
1493
- false
1494
- ],
1495
- [
1496
- "update_subscription_for_items",
1497
- "POST",
1498
- "/estimates",
1499
- "/update_subscription_for_items",
1500
- false
1501
- ],
1502
- [
1503
- "renewal_estimate",
1504
- "GET",
1505
- "/subscriptions",
1506
- "/renewal_estimate",
1507
- true
1508
- ],
1509
- [
1510
- "advance_invoice_estimate",
1511
- "POST",
1512
- "/subscriptions",
1513
- "/advance_invoice_estimate",
1514
- true
1515
- ],
1516
- [
1517
- "regenerate_invoice_estimate",
1518
- "POST",
1519
- "/subscriptions",
1520
- "/regenerate_invoice_estimate",
1521
- true
1522
- ],
1523
- [
1524
- "upcoming_invoices_estimate",
1525
- "GET",
1526
- "/customers",
1527
- "/upcoming_invoices_estimate",
1528
- true
1529
- ],
1530
- [
1531
- "change_term_end",
1532
- "POST",
1533
- "/subscriptions",
1534
- "/change_term_end_estimate",
1535
- true
1536
- ],
1537
- [
1538
- "cancel_subscription",
1539
- "POST",
1540
- "/subscriptions",
1541
- "/cancel_subscription_estimate",
1542
- true
1543
- ],
1544
- [
1545
- "cancel_subscription_for_items",
1546
- "POST",
1547
- "/subscriptions",
1548
- "/cancel_subscription_for_items_estimate",
1549
- true
1550
- ],
1551
- [
1552
- "pause_subscription",
1553
- "POST",
1554
- "/subscriptions",
1555
- "/pause_subscription_estimate",
1556
- true
1557
- ],
1558
- [
1559
- "resume_subscription",
1560
- "POST",
1561
- "/subscriptions",
1562
- "/resume_subscription_estimate",
1563
- true
1564
- ],
1565
- [
1566
- "gift_subscription",
1567
- "POST",
1568
- "/estimates",
1569
- "/gift_subscription",
1570
- false
1571
- ],
1572
- [
1573
- "gift_subscription_for_items",
1574
- "POST",
1575
- "/estimates",
1576
- "/gift_subscription_for_items",
1577
- false
1578
- ],
1579
- [
1580
- "create_invoice",
1581
- "POST",
1582
- "/estimates",
1583
- "/create_invoice",
1584
- false
1585
- ],
1586
- [
1587
- "create_invoice_for_items",
1588
- "POST",
1589
- "/estimates",
1590
- "/create_invoice_for_items",
1591
- false
1592
- ]
1593
- ],
1594
- "quote": [
1595
- [
1596
- "retrieve",
1597
- "GET",
1598
- "/quotes",
1599
- null,
1600
- true
1601
- ],
1602
- [
1603
- "create_sub_for_customer_quote",
1604
- "POST",
1605
- "/customers",
1606
- "/create_subscription_quote",
1607
- true
1608
- ],
1609
- [
1610
- "edit_create_sub_for_customer_quote",
1611
- "POST",
1612
- "/quotes",
1613
- "/edit_create_subscription_quote",
1614
- true
1615
- ],
1616
- [
1617
- "update_subscription_quote",
1618
- "POST",
1619
- "/quotes",
1620
- "/update_subscription_quote",
1621
- false
1622
- ],
1623
- [
1624
- "edit_update_subscription_quote",
1625
- "POST",
1626
- "/quotes",
1627
- "/edit_update_subscription_quote",
1628
- true
1629
- ],
1630
- [
1631
- "create_for_onetime_charges",
1632
- "POST",
1633
- "/quotes",
1634
- "/create_for_onetime_charges",
1635
- false
1636
- ],
1637
- [
1638
- "edit_one_time_quote",
1639
- "POST",
1640
- "/quotes",
1641
- "/edit_one_time_quote",
1642
- true
1643
- ],
1644
- [
1645
- "create_sub_items_for_customer_quote",
1646
- "POST",
1647
- "/customers",
1648
- "/create_subscription_quote_for_items",
1649
- true
1650
- ],
1651
- [
1652
- "edit_create_sub_customer_quote_for_items",
1653
- "POST",
1654
- "/quotes",
1655
- "/edit_create_subscription_quote_for_items",
1656
- true
1657
- ],
1658
- [
1659
- "update_subscription_quote_for_items",
1660
- "POST",
1661
- "/quotes",
1662
- "/update_subscription_quote_for_items",
1663
- false
1664
- ],
1665
- [
1666
- "edit_update_subscription_quote_for_items",
1667
- "POST",
1668
- "/quotes",
1669
- "/edit_update_subscription_quote_for_items",
1670
- true
1671
- ],
1672
- [
1673
- "create_for_charge_items_and_charges",
1674
- "POST",
1675
- "/quotes",
1676
- "/create_for_charge_items_and_charges",
1677
- false
1678
- ],
1679
- [
1680
- "edit_for_charge_items_and_charges",
1681
- "POST",
1682
- "/quotes",
1683
- "/edit_for_charge_items_and_charges",
1684
- true
1685
- ],
1686
- [
1687
- "list",
1688
- "GET",
1689
- "/quotes",
1690
- null,
1691
- false
1692
- ],
1693
- [
1694
- "quote_line_groups_for_quote",
1695
- "GET",
1696
- "/quotes",
1697
- "/quote_line_groups",
1698
- true
1699
- ],
1700
- [
1701
- "convert",
1702
- "POST",
1703
- "/quotes",
1704
- "/convert",
1705
- true
1706
- ],
1707
- [
1708
- "update_status",
1709
- "POST",
1710
- "/quotes",
1711
- "/update_status",
1712
- true
1713
- ],
1714
- [
1715
- "extend_expiry_date",
1716
- "POST",
1717
- "/quotes",
1718
- "/extend_expiry_date",
1719
- true
1720
- ],
1721
- [
1722
- "delete",
1723
- "POST",
1724
- "/quotes",
1725
- "/delete",
1726
- true
1727
- ],
1728
- [
1729
- "pdf",
1730
- "POST",
1731
- "/quotes",
1732
- "/pdf",
1733
- true
1734
- ]
1735
- ],
1736
- "quoted_subscription": [],
1737
- "quoted_charge": [],
1738
- "quote_line_group": [],
1739
- "plan": [
1740
- [
1741
- "create",
1742
- "POST",
1743
- "/plans",
1744
- null,
1745
- false
1746
- ],
1747
- [
1748
- "update",
1749
- "POST",
1750
- "/plans",
1751
- null,
1752
- true
1753
- ],
1754
- [
1755
- "list",
1756
- "GET",
1757
- "/plans",
1758
- null,
1759
- false
1760
- ],
1761
- [
1762
- "retrieve",
1763
- "GET",
1764
- "/plans",
1765
- null,
1766
- true
1767
- ],
1768
- [
1769
- "delete",
1770
- "POST",
1771
- "/plans",
1772
- "/delete",
1773
- true
1774
- ],
1775
- [
1776
- "copy",
1777
- "POST",
1778
- "/plans",
1779
- "/copy",
1780
- false
1781
- ],
1782
- [
1783
- "unarchive",
1784
- "POST",
1785
- "/plans",
1786
- "/unarchive",
1787
- true
1788
- ]
1789
- ],
1790
- "addon": [
1791
- [
1792
- "create",
1793
- "POST",
1794
- "/addons",
1795
- null,
1796
- false
1797
- ],
1798
- [
1799
- "update",
1800
- "POST",
1801
- "/addons",
1802
- null,
1803
- true
1804
- ],
1805
- [
1806
- "list",
1807
- "GET",
1808
- "/addons",
1809
- null,
1810
- false
1811
- ],
1812
- [
1813
- "retrieve",
1814
- "GET",
1815
- "/addons",
1816
- null,
1817
- true
1818
- ],
1819
- [
1820
- "delete",
1821
- "POST",
1822
- "/addons",
1823
- "/delete",
1824
- true
1825
- ],
1826
- [
1827
- "copy",
1828
- "POST",
1829
- "/addons",
1830
- "/copy",
1831
- false
1832
- ],
1833
- [
1834
- "unarchive",
1835
- "POST",
1836
- "/addons",
1837
- "/unarchive",
1838
- true
1839
- ]
1840
- ],
1841
- "coupon": [
1842
- [
1843
- "create",
1844
- "POST",
1845
- "/coupons",
1846
- null,
1847
- false
1848
- ],
1849
- [
1850
- "create_for_items",
1851
- "POST",
1852
- "/coupons",
1853
- "/create_for_items",
1854
- false
1855
- ],
1856
- [
1857
- "update_for_items",
1858
- "POST",
1859
- "/coupons",
1860
- "/update_for_items",
1861
- true
1862
- ],
1863
- [
1864
- "list",
1865
- "GET",
1866
- "/coupons",
1867
- null,
1868
- false
1869
- ],
1870
- [
1871
- "retrieve",
1872
- "GET",
1873
- "/coupons",
1874
- null,
1875
- true
1876
- ],
1877
- [
1878
- "update",
1879
- "POST",
1880
- "/coupons",
1881
- null,
1882
- true
1883
- ],
1884
- [
1885
- "delete",
1886
- "POST",
1887
- "/coupons",
1888
- "/delete",
1889
- true
1890
- ],
1891
- [
1892
- "copy",
1893
- "POST",
1894
- "/coupons",
1895
- "/copy",
1896
- false
1897
- ],
1898
- [
1899
- "unarchive",
1900
- "POST",
1901
- "/coupons",
1902
- "/unarchive",
1903
- true
1904
- ]
1905
- ],
1906
- "coupon_set": [
1907
- [
1908
- "create",
1909
- "POST",
1910
- "/coupon_sets",
1911
- null,
1912
- false
1913
- ],
1914
- [
1915
- "add_coupon_codes",
1916
- "POST",
1917
- "/coupon_sets",
1918
- "/add_coupon_codes",
1919
- true
1920
- ],
1921
- [
1922
- "list",
1923
- "GET",
1924
- "/coupon_sets",
1925
- null,
1926
- false
1927
- ],
1928
- [
1929
- "retrieve",
1930
- "GET",
1931
- "/coupon_sets",
1932
- null,
1933
- true
1934
- ],
1935
- [
1936
- "update",
1937
- "POST",
1938
- "/coupon_sets",
1939
- "/update",
1940
- true
1941
- ],
1942
- [
1943
- "delete",
1944
- "POST",
1945
- "/coupon_sets",
1946
- "/delete",
1947
- true
1948
- ],
1949
- [
1950
- "delete_unused_coupon_codes",
1951
- "POST",
1952
- "/coupon_sets",
1953
- "/delete_unused_coupon_codes",
1954
- true
1955
- ]
1956
- ],
1957
- "coupon_code": [
1958
- [
1959
- "create",
1960
- "POST",
1961
- "/coupon_codes",
1962
- null,
1963
- false
1964
- ],
1965
- [
1966
- "retrieve",
1967
- "GET",
1968
- "/coupon_codes",
1969
- null,
1970
- true
1971
- ],
1972
- [
1973
- "list",
1974
- "GET",
1975
- "/coupon_codes",
1976
- null,
1977
- false
1978
- ],
1979
- [
1980
- "archive",
1981
- "POST",
1982
- "/coupon_codes",
1983
- "/archive",
1984
- true
1985
- ]
1986
- ],
1987
- "address": [
1988
- [
1989
- "retrieve",
1990
- "GET",
1991
- "/addresses",
1992
- null,
1993
- false
1994
- ],
1995
- [
1996
- "update",
1997
- "POST",
1998
- "/addresses",
1999
- null,
2000
- false
2001
- ]
2002
- ],
2003
- "usage": [
2004
- [
2005
- "create",
2006
- "POST",
2007
- "/subscriptions",
2008
- "/usages",
2009
- true
2010
- ],
2011
- [
2012
- "retrieve",
2013
- "GET",
2014
- "/subscriptions",
2015
- "/usages",
2016
- true
2017
- ],
2018
- [
2019
- "delete",
2020
- "POST",
2021
- "/subscriptions",
2022
- "/delete_usage",
2023
- true
2024
- ],
2025
- [
2026
- "list",
2027
- "GET",
2028
- "/usages",
2029
- null,
2030
- false
2031
- ],
2032
- [
2033
- "pdf",
2034
- "POST",
2035
- "/usages",
2036
- "/pdf",
2037
- false
2038
- ]
2039
- ],
2040
- "event": [
2041
- [
2042
- "list",
2043
- "GET",
2044
- "/events",
2045
- null,
2046
- false
2047
- ],
2048
- [
2049
- "retrieve",
2050
- "GET",
2051
- "/events",
2052
- null,
2053
- true
2054
- ]
2055
- ],
2056
- "comment": [
2057
- [
2058
- "create",
2059
- "POST",
2060
- "/comments",
2061
- null,
2062
- false
2063
- ],
2064
- [
2065
- "retrieve",
2066
- "GET",
2067
- "/comments",
2068
- null,
2069
- true
2070
- ],
2071
- [
2072
- "list",
2073
- "GET",
2074
- "/comments",
2075
- null,
2076
- false
2077
- ],
2078
- [
2079
- "delete",
2080
- "POST",
2081
- "/comments",
2082
- "/delete",
2083
- true
2084
- ]
2085
- ],
2086
- "download": [],
2087
- "portal_session": [
2088
- [
2089
- "create",
2090
- "POST",
2091
- "/portal_sessions",
2092
- null,
2093
- false
2094
- ],
2095
- [
2096
- "retrieve",
2097
- "GET",
2098
- "/portal_sessions",
2099
- null,
2100
- true
2101
- ],
2102
- [
2103
- "logout",
2104
- "POST",
2105
- "/portal_sessions",
2106
- "/logout",
2107
- true
2108
- ],
2109
- [
2110
- "activate",
2111
- "POST",
2112
- "/portal_sessions",
2113
- "/activate",
2114
- true
2115
- ]
2116
- ],
2117
- "site_migration_detail": [
2118
- [
2119
- "list",
2120
- "GET",
2121
- "/site_migration_details",
2122
- null,
2123
- false
2124
- ]
2125
- ],
2126
- "resource_migration": [
2127
- [
2128
- "retrieve_latest",
2129
- "GET",
2130
- "/resource_migrations",
2131
- "/retrieve_latest",
2132
- false
2133
- ]
2134
- ],
2135
- "time_machine": [
2136
- [
2137
- "retrieve",
2138
- "GET",
2139
- "/time_machines",
2140
- null,
2141
- true
2142
- ],
2143
- [
2144
- "start_afresh",
2145
- "POST",
2146
- "/time_machines",
2147
- "/start_afresh",
2148
- true
2149
- ],
2150
- [
2151
- "travel_forward",
2152
- "POST",
2153
- "/time_machines",
2154
- "/travel_forward",
2155
- true
2156
- ]
2157
- ],
2158
- "export": [
2159
- [
2160
- "retrieve",
2161
- "GET",
2162
- "/exports",
2163
- null,
2164
- true
2165
- ],
2166
- [
2167
- "revenue_recognition",
2168
- "POST",
2169
- "/exports",
2170
- "/revenue_recognition",
2171
- false
2172
- ],
2173
- [
2174
- "deferred_revenue",
2175
- "POST",
2176
- "/exports",
2177
- "/deferred_revenue",
2178
- false
2179
- ],
2180
- [
2181
- "plans",
2182
- "POST",
2183
- "/exports",
2184
- "/plans",
2185
- false
2186
- ],
2187
- [
2188
- "addons",
2189
- "POST",
2190
- "/exports",
2191
- "/addons",
2192
- false
2193
- ],
2194
- [
2195
- "coupons",
2196
- "POST",
2197
- "/exports",
2198
- "/coupons",
2199
- false
2200
- ],
2201
- [
2202
- "customers",
2203
- "POST",
2204
- "/exports",
2205
- "/customers",
2206
- false
2207
- ],
2208
- [
2209
- "subscriptions",
2210
- "POST",
2211
- "/exports",
2212
- "/subscriptions",
2213
- false
2214
- ],
2215
- [
2216
- "invoices",
2217
- "POST",
2218
- "/exports",
2219
- "/invoices",
2220
- false
2221
- ],
2222
- [
2223
- "credit_notes",
2224
- "POST",
2225
- "/exports",
2226
- "/credit_notes",
2227
- false
2228
- ],
2229
- [
2230
- "transactions",
2231
- "POST",
2232
- "/exports",
2233
- "/transactions",
2234
- false
2235
- ],
2236
- [
2237
- "orders",
2238
- "POST",
2239
- "/exports",
2240
- "/orders",
2241
- false
2242
- ],
2243
- [
2244
- "item_families",
2245
- "POST",
2246
- "/exports",
2247
- "/item_families",
2248
- false
2249
- ],
2250
- [
2251
- "items",
2252
- "POST",
2253
- "/exports",
2254
- "/items",
2255
- false
2256
- ],
2257
- [
2258
- "item_prices",
2259
- "POST",
2260
- "/exports",
2261
- "/item_prices",
2262
- false
2263
- ],
2264
- [
2265
- "attached_items",
2266
- "POST",
2267
- "/exports",
2268
- "/attached_items",
2269
- false
2270
- ],
2271
- [
2272
- "differential_prices",
2273
- "POST",
2274
- "/exports",
2275
- "/differential_prices",
2276
- false
2277
- ],
2278
- [
2279
- "price_variants",
2280
- "POST",
2281
- "/exports",
2282
- "/price_variants",
2283
- false
2284
- ]
2285
- ],
2286
- "payment_intent": [
2287
- [
2288
- "create",
2289
- "POST",
2290
- "/payment_intents",
2291
- null,
2292
- false
2293
- ],
2294
- [
2295
- "update",
2296
- "POST",
2297
- "/payment_intents",
2298
- null,
2299
- true
2300
- ],
2301
- [
2302
- "retrieve",
2303
- "GET",
2304
- "/payment_intents",
2305
- null,
2306
- true
2307
- ]
2308
- ],
2309
- "gateway_error_detail": [],
2310
- "item_family": [
2311
- [
2312
- "create",
2313
- "POST",
2314
- "/item_families",
2315
- null,
2316
- false
2317
- ],
2318
- [
2319
- "retrieve",
2320
- "GET",
2321
- "/item_families",
2322
- null,
2323
- true
2324
- ],
2325
- [
2326
- "list",
2327
- "GET",
2328
- "/item_families",
2329
- null,
2330
- false
2331
- ],
2332
- [
2333
- "update",
2334
- "POST",
2335
- "/item_families",
2336
- null,
2337
- true
2338
- ],
2339
- [
2340
- "delete",
2341
- "POST",
2342
- "/item_families",
2343
- "/delete",
2344
- true
2345
- ]
2346
- ],
2347
- "item": [
2348
- [
2349
- "create",
2350
- "POST",
2351
- "/items",
2352
- null,
2353
- false
2354
- ],
2355
- [
2356
- "retrieve",
2357
- "GET",
2358
- "/items",
2359
- null,
2360
- true
2361
- ],
2362
- [
2363
- "update",
2364
- "POST",
2365
- "/items",
2366
- null,
2367
- true
2368
- ],
2369
- [
2370
- "list",
2371
- "GET",
2372
- "/items",
2373
- null,
2374
- false
2375
- ],
2376
- [
2377
- "delete",
2378
- "POST",
2379
- "/items",
2380
- "/delete",
2381
- true
2382
- ]
2383
- ],
2384
- "price_variant": [
2385
- [
2386
- "create",
2387
- "POST",
2388
- "/price_variants",
2389
- null,
2390
- false
2391
- ],
2392
- [
2393
- "retrieve",
2394
- "GET",
2395
- "/price_variants",
2396
- null,
2397
- true
2398
- ],
2399
- [
2400
- "update",
2401
- "POST",
2402
- "/price_variants",
2403
- null,
2404
- true
2405
- ],
2406
- [
2407
- "delete",
2408
- "POST",
2409
- "/price_variants",
2410
- "/delete",
2411
- true
2412
- ],
2413
- [
2414
- "list",
2415
- "GET",
2416
- "/price_variants",
2417
- null,
2418
- false
2419
- ]
2420
- ],
2421
- "attribute": [],
2422
- "item_price": [
2423
- [
2424
- "create",
2425
- "POST",
2426
- "/item_prices",
2427
- null,
2428
- false
2429
- ],
2430
- [
2431
- "retrieve",
2432
- "GET",
2433
- "/item_prices",
2434
- null,
2435
- true
2436
- ],
2437
- [
2438
- "update",
2439
- "POST",
2440
- "/item_prices",
2441
- null,
2442
- true
2443
- ],
2444
- [
2445
- "list",
2446
- "GET",
2447
- "/item_prices",
2448
- null,
2449
- false
2450
- ],
2451
- [
2452
- "delete",
2453
- "POST",
2454
- "/item_prices",
2455
- "/delete",
2456
- true
2457
- ],
2458
- [
2459
- "find_applicable_items",
2460
- "GET",
2461
- "/item_prices",
2462
- "/applicable_items",
2463
- true
2464
- ],
2465
- [
2466
- "find_applicable_item_prices",
2467
- "GET",
2468
- "/item_prices",
2469
- "/applicable_item_prices",
2470
- true
2471
- ]
2472
- ],
2473
- "attached_item": [
2474
- [
2475
- "create",
2476
- "POST",
2477
- "/items",
2478
- "/attached_items",
2479
- true
2480
- ],
2481
- [
2482
- "update",
2483
- "POST",
2484
- "/attached_items",
2485
- null,
2486
- true
2487
- ],
2488
- [
2489
- "retrieve",
2490
- "GET",
2491
- "/attached_items",
2492
- null,
2493
- true
2494
- ],
2495
- [
2496
- "delete",
2497
- "POST",
2498
- "/attached_items",
2499
- "/delete",
2500
- true
2501
- ],
2502
- [
2503
- "list",
2504
- "GET",
2505
- "/items",
2506
- "/attached_items",
2507
- true
2508
- ]
2509
- ],
2510
- "differential_price": [
2511
- [
2512
- "create",
2513
- "POST",
2514
- "/item_prices",
2515
- "/differential_prices",
2516
- true
2517
- ],
2518
- [
2519
- "retrieve",
2520
- "GET",
2521
- "/differential_prices",
2522
- null,
2523
- true
2524
- ],
2525
- [
2526
- "update",
2527
- "POST",
2528
- "/differential_prices",
2529
- null,
2530
- true
2531
- ],
2532
- [
2533
- "delete",
2534
- "POST",
2535
- "/differential_prices",
2536
- "/delete",
2537
- true
2538
- ],
2539
- [
2540
- "list",
2541
- "GET",
2542
- "/differential_prices",
2543
- null,
2544
- false
2545
- ]
2546
- ],
2547
- "feature": [
2548
- [
2549
- "list",
2550
- "GET",
2551
- "/features",
2552
- null,
2553
- false
2554
- ],
2555
- [
2556
- "create",
2557
- "POST",
2558
- "/features",
2559
- null,
2560
- false
2561
- ],
2562
- [
2563
- "update",
2564
- "POST",
2565
- "/features",
2566
- null,
2567
- true
2568
- ],
2569
- [
2570
- "retrieve",
2571
- "GET",
2572
- "/features",
2573
- null,
2574
- true
2575
- ],
2576
- [
2577
- "delete",
2578
- "POST",
2579
- "/features",
2580
- "/delete",
2581
- true
2582
- ],
2583
- [
2584
- "activate",
2585
- "POST",
2586
- "/features",
2587
- "/activate_command",
2588
- true
2589
- ],
2590
- [
2591
- "archive",
2592
- "POST",
2593
- "/features",
2594
- "/archive_command",
2595
- true
2596
- ],
2597
- [
2598
- "reactivate",
2599
- "POST",
2600
- "/features",
2601
- "/reactivate_command",
2602
- true
2603
- ]
2604
- ],
2605
- "impacted_subscription": [],
2606
- "impacted_item": [],
2607
- "impacted_item_price": [],
2608
- "metadata": [],
2609
- "subscription_entitlement": [
2610
- [
2611
- "subscription_entitlements_for_subscription",
2612
- "GET",
2613
- "/subscriptions",
2614
- "/subscription_entitlements",
2615
- true
2616
- ],
2617
- [
2618
- "set_subscription_entitlement_availability",
2619
- "POST",
2620
- "/subscriptions",
2621
- "/subscription_entitlements/set_availability",
2622
- true
2623
- ]
2624
- ],
2625
- "customer_entitlement": [
2626
- [
2627
- "entitlements_for_customer",
2628
- "GET",
2629
- "/customers",
2630
- "/customer_entitlements",
2631
- true
2632
- ]
2633
- ],
2634
- "item_entitlement": [
2635
- [
2636
- "item_entitlements_for_item",
2637
- "GET",
2638
- "/items",
2639
- "/item_entitlements",
2640
- true
2641
- ],
2642
- [
2643
- "item_entitlements_for_feature",
2644
- "GET",
2645
- "/features",
2646
- "/item_entitlements",
2647
- true
2648
- ],
2649
- [
2650
- "add_item_entitlements",
2651
- "POST",
2652
- "/features",
2653
- "/item_entitlements",
2654
- true
2655
- ],
2656
- [
2657
- "upsert_or_remove_item_entitlements_for_item",
2658
- "POST",
2659
- "/items",
2660
- "/item_entitlements",
2661
- true
2662
- ]
2663
- ],
2664
- "entitlement": [
2665
- [
2666
- "list",
2667
- "GET",
2668
- "/entitlements",
2669
- null,
2670
- false
2671
- ],
2672
- [
2673
- "create",
2674
- "POST",
2675
- "/entitlements",
2676
- null,
2677
- false
2678
- ]
2679
- ],
2680
- "in_app_subscription": [
2681
- [
2682
- "process_receipt",
2683
- "POST",
2684
- "/in_app_subscriptions",
2685
- "/process_purchase_command",
2686
- true
2687
- ],
2688
- [
2689
- "import_receipt",
2690
- "POST",
2691
- "/in_app_subscriptions",
2692
- "/import_receipt",
2693
- true
2694
- ],
2695
- [
2696
- "import_subscription",
2697
- "POST",
2698
- "/in_app_subscriptions",
2699
- "/import_subscription",
2700
- true
2701
- ],
2702
- [
2703
- "retrieve_store_subs",
2704
- "POST",
2705
- "/in_app_subscriptions",
2706
- "/retrieve",
2707
- true
2708
- ]
2709
- ],
2710
- "non_subscription": [
2711
- [
2712
- "process_receipt",
2713
- "POST",
2714
- "/non_subscriptions",
2715
- "/one_time_purchase",
2716
- true
2717
- ]
2718
- ],
2719
- "entitlement_override": [
2720
- [
2721
- "add_entitlement_override_for_subscription",
2722
- "POST",
2723
- "/subscriptions",
2724
- "/entitlement_overrides",
2725
- true
2726
- ],
2727
- [
2728
- "list_entitlement_override_for_subscription",
2729
- "GET",
2730
- "/subscriptions",
2731
- "/entitlement_overrides",
2732
- true
2733
- ]
2734
- ],
2735
- "business_entity": [
2736
- [
2737
- "create_transfers",
2738
- "POST",
2739
- "/business_entities",
2740
- "/transfers",
2741
- false
2742
- ],
2743
- [
2744
- "get_transfers",
2745
- "GET",
2746
- "/business_entities",
2747
- "/transfers",
2748
- false
2749
- ]
2750
- ],
2751
- "purchase": [
2752
- [
2753
- "create",
2754
- "POST",
2755
- "/purchases",
2756
- null,
2757
- false
2758
- ],
2759
- [
2760
- "estimate",
2761
- "POST",
2762
- "/purchases",
2763
- "/estimate",
2764
- false
2765
- ]
2766
- ],
2767
- "payment_voucher": [
2768
- [
2769
- "create",
2770
- "POST",
2771
- "/payment_vouchers",
2772
- null,
2773
- false
2774
- ],
2775
- [
2776
- "retrieve",
2777
- "GET",
2778
- "/payment_vouchers",
2779
- null,
2780
- true
2781
- ],
2782
- [
2783
- "payment_vouchers_for_invoice",
2784
- "GET",
2785
- "/invoices",
2786
- "/payment_vouchers",
2787
- true
2788
- ],
2789
- [
2790
- "payment_vouchers_for_customer",
2791
- "GET",
2792
- "/customers",
2793
- "/payment_vouchers",
2794
- true
2795
- ]
2796
- ],
2797
- "currency": [
2798
- [
2799
- "list",
2800
- "GET",
2801
- "/currencies",
2802
- "/list",
2803
- false
2804
- ],
2805
- [
2806
- "retrieve",
2807
- "GET",
2808
- "/currencies",
2809
- null,
2810
- true
2811
- ],
2812
- [
2813
- "create",
2814
- "POST",
2815
- "/currencies",
2816
- null,
2817
- false
2818
- ],
2819
- [
2820
- "update",
2821
- "POST",
2822
- "/currencies",
2823
- null,
2824
- true
2825
- ],
2826
- [
2827
- "add_schedule",
2828
- "POST",
2829
- "/currencies",
2830
- "/add_schedule",
2831
- true
2832
- ],
2833
- [
2834
- "remove_schedule",
2835
- "POST",
2836
- "/currencies",
2837
- "/remove_schedule",
2838
- true
2839
- ]
2840
- ],
2841
- "ramp": [
2842
- [
2843
- "create_for_subscription",
2844
- "POST",
2845
- "/subscriptions",
2846
- "/create_ramp",
2847
- true
2848
- ],
2849
- [
2850
- "update",
2851
- "POST",
2852
- "/ramps",
2853
- "/update",
2854
- true
2855
- ],
2856
- [
2857
- "retrieve",
2858
- "GET",
2859
- "/ramps",
2860
- null,
2861
- true
2862
- ],
2863
- [
2864
- "delete",
2865
- "POST",
2866
- "/ramps",
2867
- "/delete",
2868
- true
2869
- ],
2870
- [
2871
- "list",
2872
- "GET",
2873
- "/ramps",
2874
- null,
2875
- false
2876
- ]
2877
- ],
2878
- "installment_config": [
2879
- [
2880
- "create",
2881
- "POST",
2882
- "/installment_configs",
2883
- null,
2884
- false
2885
- ],
2886
- [
2887
- "retrieve",
2888
- "GET",
2889
- "/installment_configs",
2890
- null,
2891
- true
2892
- ],
2893
- [
2894
- "delete",
2895
- "POST",
2896
- "/installment_configs",
2897
- "/delete",
2898
- true
2899
- ]
2900
- ],
2901
- "installment": [
2902
- [
2903
- "retrieve",
2904
- "GET",
2905
- "/installments",
2906
- null,
2907
- true
2908
- ],
2909
- [
2910
- "list",
2911
- "GET",
2912
- "/installments",
2913
- null,
2914
- false
2915
- ]
2916
- ],
2917
- "installment_detail": [],
2918
- "pricing_page_session": [
2919
- [
2920
- "create_for_new_subscription",
2921
- "POST",
2922
- "/pricing_page_sessions",
2923
- "/create_for_new_subscription",
2924
- false
2925
- ],
2926
- [
2927
- "create_for_existing_subscription",
2928
- "POST",
2929
- "/pricing_page_sessions",
2930
- "/create_for_existing_subscription",
2931
- false
2932
- ]
2933
- ]
2934
- };
2935
- module.exports = _endpoints;