chargebee 3.34.0 → 3.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (198) hide show
  1. package/CHANGELOG.md +237 -0
  2. package/cjs/environment.js +1 -1
  3. package/cjs/resources/api_endpoints.js +230 -2
  4. package/cjs/resources/webhook/eventType.js +25 -1
  5. package/cjs/schema/addon.schema.js +221 -40
  6. package/cjs/schema/alert.schema.js +17 -2
  7. package/cjs/schema/alert_status.schema.js +6 -1
  8. package/cjs/schema/attached_item.schema.js +101 -26
  9. package/cjs/schema/business_entity.schema.js +43 -6
  10. package/cjs/schema/business_rule.schema.js +2 -2
  11. package/cjs/schema/business_ruleset.schema.js +2 -2
  12. package/cjs/schema/collections_payment_promise.schema.js +43 -0
  13. package/cjs/schema/comment.schema.js +17 -4
  14. package/cjs/schema/coupon.schema.js +218 -37
  15. package/cjs/schema/coupon_code.schema.js +36 -6
  16. package/cjs/schema/coupon_set.schema.js +108 -27
  17. package/cjs/schema/credit_note.schema.js +497 -105
  18. package/cjs/schema/credit_unit.schema.js +12 -2
  19. package/cjs/schema/customer.schema.js +212 -62
  20. package/cjs/schema/differential_price.schema.js +100 -12
  21. package/cjs/schema/dispute.schema.js +125 -33
  22. package/cjs/schema/einvoice.schema.js +27 -6
  23. package/cjs/schema/email_log.schema.js +15 -4
  24. package/cjs/schema/entitlement.schema.js +35 -6
  25. package/cjs/schema/entitlement_override.schema.js +17 -1
  26. package/cjs/schema/estimate.schema.js +585 -40
  27. package/cjs/schema/event.schema.js +1334 -585
  28. package/cjs/schema/export.schema.js +4459 -1412
  29. package/cjs/schema/feature.schema.js +73 -11
  30. package/cjs/schema/gateway_request_log.schema.js +309 -0
  31. package/cjs/schema/gateway_webhook_log.schema.js +257 -0
  32. package/cjs/schema/gift.schema.js +51 -5
  33. package/cjs/schema/grant_block.schema.js +45 -12
  34. package/cjs/schema/hosted_page.schema.js +564 -68
  35. package/cjs/schema/index.js +6 -0
  36. package/cjs/schema/invoice.schema.js +843 -123
  37. package/cjs/schema/item.schema.js +151 -28
  38. package/cjs/schema/item_entitlement.schema.js +23 -2
  39. package/cjs/schema/item_family.schema.js +29 -8
  40. package/cjs/schema/item_price.schema.js +263 -48
  41. package/cjs/schema/ledger_account_balance.schema.js +11 -2
  42. package/cjs/schema/ledger_operation.schema.js +44 -17
  43. package/cjs/schema/metered_feature.schema.js +10 -1
  44. package/cjs/schema/omnichannel_one_time_order.schema.js +42 -4
  45. package/cjs/schema/omnichannel_subscription.schema.js +146 -32
  46. package/cjs/schema/order.schema.js +233 -61
  47. package/cjs/schema/organization_detail.schema.js +36 -0
  48. package/cjs/schema/payment_schedule.schema.js +39 -8
  49. package/cjs/schema/payment_schedule_scheme.schema.js +37 -7
  50. package/cjs/schema/payment_source.schema.js +375 -148
  51. package/cjs/schema/payment_voucher.schema.js +33 -5
  52. package/cjs/schema/plan.schema.js +345 -57
  53. package/cjs/schema/price_ramp.schema.js +153 -0
  54. package/cjs/schema/price_variant.schema.js +88 -18
  55. package/cjs/schema/pricing_page_session.schema.js +36 -2
  56. package/cjs/schema/promotional_credit.schema.js +27 -6
  57. package/cjs/schema/purchase.schema.js +210 -12
  58. package/cjs/schema/quote.schema.js +907 -87
  59. package/cjs/schema/quote_entitlement.schema.js +6 -2
  60. package/cjs/schema/ramp.schema.js +242 -24
  61. package/cjs/schema/retry_segment.schema.js +12 -0
  62. package/cjs/schema/site_migration_detail.schema.js +50 -16
  63. package/cjs/schema/subscription.schema.js +1002 -173
  64. package/cjs/schema/subscription_entitlement.schema.js +9 -1
  65. package/cjs/schema/transaction.schema.js +780 -342
  66. package/cjs/schema/unbilled_charge.schema.js +141 -13
  67. package/cjs/schema/usage.schema.js +59 -11
  68. package/cjs/schema/usage_event.schema.js +13 -1
  69. package/cjs/schema/usage_summary.schema.js +1 -0
  70. package/cjs/schema/virtual_bank_account.schema.js +42 -10
  71. package/cjs/schema/webhook_endpoint.schema.js +50 -2
  72. package/esm/environment.js +1 -1
  73. package/esm/resources/api_endpoints.js +230 -2
  74. package/esm/resources/webhook/eventType.js +25 -1
  75. package/esm/schema/addon.schema.js +221 -40
  76. package/esm/schema/alert.schema.js +17 -2
  77. package/esm/schema/alert_status.schema.js +6 -1
  78. package/esm/schema/attached_item.schema.js +101 -26
  79. package/esm/schema/business_entity.schema.js +42 -5
  80. package/esm/schema/business_rule.schema.js +2 -2
  81. package/esm/schema/business_ruleset.schema.js +2 -2
  82. package/esm/schema/collections_payment_promise.schema.js +40 -0
  83. package/esm/schema/comment.schema.js +17 -4
  84. package/esm/schema/coupon.schema.js +218 -37
  85. package/esm/schema/coupon_code.schema.js +36 -6
  86. package/esm/schema/coupon_set.schema.js +108 -27
  87. package/esm/schema/credit_note.schema.js +497 -105
  88. package/esm/schema/credit_unit.schema.js +12 -2
  89. package/esm/schema/customer.schema.js +212 -62
  90. package/esm/schema/differential_price.schema.js +100 -12
  91. package/esm/schema/dispute.schema.js +125 -33
  92. package/esm/schema/einvoice.schema.js +27 -6
  93. package/esm/schema/email_log.schema.js +15 -4
  94. package/esm/schema/entitlement.schema.js +35 -6
  95. package/esm/schema/entitlement_override.schema.js +17 -1
  96. package/esm/schema/estimate.schema.js +585 -40
  97. package/esm/schema/event.schema.js +1334 -585
  98. package/esm/schema/export.schema.js +4459 -1412
  99. package/esm/schema/feature.schema.js +73 -11
  100. package/esm/schema/gateway_request_log.schema.js +306 -0
  101. package/esm/schema/gateway_webhook_log.schema.js +254 -0
  102. package/esm/schema/gift.schema.js +51 -5
  103. package/esm/schema/grant_block.schema.js +45 -12
  104. package/esm/schema/hosted_page.schema.js +564 -68
  105. package/esm/schema/index.js +6 -0
  106. package/esm/schema/invoice.schema.js +842 -122
  107. package/esm/schema/item.schema.js +151 -28
  108. package/esm/schema/item_entitlement.schema.js +23 -2
  109. package/esm/schema/item_family.schema.js +29 -8
  110. package/esm/schema/item_price.schema.js +263 -48
  111. package/esm/schema/ledger_account_balance.schema.js +10 -1
  112. package/esm/schema/ledger_operation.schema.js +44 -17
  113. package/esm/schema/metered_feature.schema.js +10 -1
  114. package/esm/schema/omnichannel_one_time_order.schema.js +42 -4
  115. package/esm/schema/omnichannel_subscription.schema.js +146 -32
  116. package/esm/schema/order.schema.js +233 -61
  117. package/esm/schema/organization_detail.schema.js +33 -0
  118. package/esm/schema/payment_schedule.schema.js +39 -8
  119. package/esm/schema/payment_schedule_scheme.schema.js +37 -7
  120. package/esm/schema/payment_source.schema.js +375 -148
  121. package/esm/schema/payment_voucher.schema.js +33 -5
  122. package/esm/schema/plan.schema.js +345 -57
  123. package/esm/schema/price_ramp.schema.js +150 -0
  124. package/esm/schema/price_variant.schema.js +88 -18
  125. package/esm/schema/pricing_page_session.schema.js +36 -2
  126. package/esm/schema/promotional_credit.schema.js +27 -6
  127. package/esm/schema/purchase.schema.js +210 -12
  128. package/esm/schema/quote.schema.js +907 -87
  129. package/esm/schema/quote_entitlement.schema.js +6 -2
  130. package/esm/schema/ramp.schema.js +242 -24
  131. package/esm/schema/retry_segment.schema.js +9 -0
  132. package/esm/schema/site_migration_detail.schema.js +50 -16
  133. package/esm/schema/subscription.schema.js +1002 -173
  134. package/esm/schema/subscription_entitlement.schema.js +9 -1
  135. package/esm/schema/transaction.schema.js +780 -342
  136. package/esm/schema/unbilled_charge.schema.js +141 -13
  137. package/esm/schema/usage.schema.js +59 -11
  138. package/esm/schema/usage_event.schema.js +13 -1
  139. package/esm/schema/usage_summary.schema.js +1 -0
  140. package/esm/schema/virtual_bank_account.schema.js +42 -10
  141. package/esm/schema/webhook_endpoint.schema.js +50 -2
  142. package/package.json +1 -1
  143. package/types/core.d.ts +63 -74
  144. package/types/index.d.ts +29 -1
  145. package/types/resources/BillingLineItem.d.ts +10 -0
  146. package/types/resources/BillingMetadata.d.ts +9 -0
  147. package/types/resources/BusinessEntity.d.ts +52 -0
  148. package/types/resources/Citation.d.ts +13 -0
  149. package/types/resources/CollectionsDispute.d.ts +24 -0
  150. package/types/resources/CollectionsPaymentPromise.d.ts +93 -0
  151. package/types/resources/CollectionsReminderSequence.d.ts +35 -0
  152. package/types/resources/Comment.d.ts +2 -1
  153. package/types/resources/Content.d.ts +23 -1
  154. package/types/resources/CreditNote.d.ts +1 -0
  155. package/types/resources/CustomData.d.ts +14 -0
  156. package/types/resources/Discount.d.ts +1 -0
  157. package/types/resources/DraftEstimate.d.ts +13 -0
  158. package/types/resources/DraftRequest.d.ts +45 -0
  159. package/types/resources/EmailAttachment.d.ts +16 -0
  160. package/types/resources/EmailConversation.d.ts +18 -0
  161. package/types/resources/EmailLog.d.ts +1 -0
  162. package/types/resources/EmailMessage.d.ts +40 -0
  163. package/types/resources/Estimate.d.ts +3 -0
  164. package/types/resources/Event.d.ts +25 -1
  165. package/types/resources/Execution.d.ts +12 -0
  166. package/types/resources/GatewayPaymentMethodToken.d.ts +2 -2
  167. package/types/resources/GatewayRequestLog.d.ts +82 -0
  168. package/types/resources/GatewayWebhookLog.d.ts +74 -0
  169. package/types/resources/GrantBlock.d.ts +5 -0
  170. package/types/resources/GroupByAttribute.d.ts +15 -0
  171. package/types/resources/GroupByRecommendation.d.ts +10 -0
  172. package/types/resources/HostedPage.d.ts +18 -0
  173. package/types/resources/Invoice.d.ts +19 -0
  174. package/types/resources/ItemPrice.d.ts +1 -0
  175. package/types/resources/LedgerAccountBalance.d.ts +19 -0
  176. package/types/resources/Meter.d.ts +1 -0
  177. package/types/resources/MeteredFeature.d.ts +1 -0
  178. package/types/resources/OmnichannelOneTimeOrder.d.ts +5 -1
  179. package/types/resources/OmnichannelSubscription.d.ts +6 -1
  180. package/types/resources/OmnichannelSubscriptionItem.d.ts +4 -1
  181. package/types/resources/OrganizationDetail.d.ts +84 -0
  182. package/types/resources/PaymentSchedule.d.ts +1 -1
  183. package/types/resources/PaymentScheduleEstimate.d.ts +1 -1
  184. package/types/resources/PaymentSource.d.ts +19 -0
  185. package/types/resources/PreferenceVariant.d.ts +10 -0
  186. package/types/resources/PriceRamp.d.ts +113 -0
  187. package/types/resources/PrivateNote.d.ts +18 -0
  188. package/types/resources/Purchase.d.ts +6 -0
  189. package/types/resources/Ramp.d.ts +6 -0
  190. package/types/resources/RampInterval.d.ts +12 -0
  191. package/types/resources/RecordedPurchase.d.ts +5 -1
  192. package/types/resources/RetrySegment.d.ts +36 -0
  193. package/types/resources/Subscription.d.ts +3 -0
  194. package/types/resources/Transaction.d.ts +4 -0
  195. package/types/resources/Usage.d.ts +7 -0
  196. package/types/resources/UsageSummary.d.ts +2 -0
  197. package/types/resources/WebhookEvent.d.ts +159 -5
  198. package/types/resources/AppliedBusinessRule.d.ts +0 -15
@@ -1225,6 +1225,34 @@ export const Endpoints = {
1225
1225
  {},
1226
1226
  ],
1227
1227
  ],
1228
+ gatewayRequestLog: [
1229
+ ['list', 'GET', '/gateway_request_logs', null, false, null, false, {}, {}],
1230
+ [
1231
+ 'retrieve',
1232
+ 'GET',
1233
+ '/gateway_request_logs',
1234
+ null,
1235
+ true,
1236
+ null,
1237
+ false,
1238
+ {},
1239
+ {},
1240
+ ],
1241
+ ],
1242
+ gatewayWebhookLog: [
1243
+ ['list', 'GET', '/gateway_webhook_logs', null, false, null, false, {}, {}],
1244
+ [
1245
+ 'retrieve',
1246
+ 'GET',
1247
+ '/gateway_webhook_logs',
1248
+ null,
1249
+ true,
1250
+ null,
1251
+ false,
1252
+ {},
1253
+ {},
1254
+ ],
1255
+ ],
1228
1256
  invoice: [
1229
1257
  [
1230
1258
  'create',
@@ -1707,6 +1735,19 @@ export const Endpoints = {
1707
1735
  isIdempotent: true,
1708
1736
  },
1709
1737
  ],
1738
+ [
1739
+ 'removePaymentScheduleScheme',
1740
+ 'POST',
1741
+ '/invoices',
1742
+ '/remove_payment_schedule_scheme',
1743
+ true,
1744
+ null,
1745
+ false,
1746
+ {},
1747
+ {
1748
+ isIdempotent: true,
1749
+ },
1750
+ ],
1710
1751
  [
1711
1752
  'paymentSchedules',
1712
1753
  'GET',
@@ -3566,7 +3607,9 @@ export const Endpoints = {
3566
3607
  false,
3567
3608
  null,
3568
3609
  false,
3569
- {},
3610
+ {
3611
+ attributes: 1,
3612
+ },
3570
3613
  {
3571
3614
  isIdempotent: true,
3572
3615
  },
@@ -4278,6 +4321,50 @@ export const Endpoints = {
4278
4321
  ],
4279
4322
  ['list', 'GET', '/differential_prices', null, false, null, false, {}, {}],
4280
4323
  ],
4324
+ priceRamp: [
4325
+ [
4326
+ 'create',
4327
+ 'POST',
4328
+ '/price_ramps',
4329
+ null,
4330
+ false,
4331
+ null,
4332
+ false,
4333
+ {},
4334
+ {
4335
+ isIdempotent: true,
4336
+ },
4337
+ ],
4338
+ ['retrieve', 'GET', '/price_ramps', null, true, null, false, {}, {}],
4339
+ [
4340
+ 'update',
4341
+ 'POST',
4342
+ '/price_ramps',
4343
+ null,
4344
+ true,
4345
+ null,
4346
+ false,
4347
+ {},
4348
+ {
4349
+ isIdempotent: true,
4350
+ },
4351
+ ],
4352
+ [
4353
+ 'delete',
4354
+ 'POST',
4355
+ '/price_ramps',
4356
+ '/delete',
4357
+ true,
4358
+ null,
4359
+ false,
4360
+ {},
4361
+ {
4362
+ isIdempotent: true,
4363
+ },
4364
+ ],
4365
+ ['list', 'GET', '/price_ramps', null, false, null, false, {}, {}],
4366
+ ],
4367
+ rampInterval: [],
4281
4368
  configuration: [
4282
4369
  ['list', 'GET', '/configurations', null, false, null, false, {}, {}],
4283
4370
  ],
@@ -4623,6 +4710,34 @@ export const Endpoints = {
4623
4710
  ],
4624
4711
  ],
4625
4712
  businessEntity: [
4713
+ [
4714
+ 'create',
4715
+ 'POST',
4716
+ '/business_entities',
4717
+ null,
4718
+ false,
4719
+ null,
4720
+ false,
4721
+ {},
4722
+ {
4723
+ isIdempotent: true,
4724
+ },
4725
+ ],
4726
+ ['list', 'GET', '/business_entities', null, false, null, false, {}, {}],
4727
+ ['retrieve', 'GET', '/business_entities', null, true, null, false, {}, {}],
4728
+ [
4729
+ 'update',
4730
+ 'POST',
4731
+ '/business_entities',
4732
+ null,
4733
+ true,
4734
+ null,
4735
+ false,
4736
+ {},
4737
+ {
4738
+ isIdempotent: true,
4739
+ },
4740
+ ],
4626
4741
  [
4627
4742
  'createTransfers',
4628
4743
  'POST',
@@ -4717,6 +4832,33 @@ export const Endpoints = {
4717
4832
  {},
4718
4833
  ],
4719
4834
  ],
4835
+ organizationDetail: [
4836
+ [
4837
+ 'create',
4838
+ 'POST',
4839
+ '/organization_details',
4840
+ null,
4841
+ false,
4842
+ null,
4843
+ false,
4844
+ {},
4845
+ {
4846
+ isIdempotent: true,
4847
+ },
4848
+ ],
4849
+ [
4850
+ 'retrieve',
4851
+ 'GET',
4852
+ '/organization_details',
4853
+ null,
4854
+ true,
4855
+ null,
4856
+ false,
4857
+ {},
4858
+ {},
4859
+ ],
4860
+ ['list', 'GET', '/organization_details', null, false, null, false, {}, {}],
4861
+ ],
4720
4862
  currency: [
4721
4863
  ['list', 'GET', '/currencies', '/list', false, null, false, {}, {}],
4722
4864
  ['retrieve', 'GET', '/currencies', null, true, null, false, {}, {}],
@@ -5004,7 +5146,12 @@ export const Endpoints = {
5004
5146
  ],
5005
5147
  omnichannelOneTimeOrderItem: [],
5006
5148
  rule: [['retrieve', 'GET', '/rules', null, true, null, false, {}, {}]],
5149
+ retrySegment: [
5150
+ ['retrieve', 'GET', '/retry_segments', null, true, null, false, {}, {}],
5151
+ ],
5007
5152
  meter: [['list', 'GET', '/meters', null, false, null, false, {}, {}]],
5153
+ groupByAttribute: [],
5154
+ groupByRecommendation: [],
5008
5155
  usageEvent: [
5009
5156
  [
5010
5157
  'create',
@@ -5088,6 +5235,7 @@ export const Endpoints = {
5088
5235
  ],
5089
5236
  ],
5090
5237
  customDataSchema: [],
5238
+ customData: [],
5091
5239
  usageFile: [
5092
5240
  [
5093
5241
  'uploadUrl',
@@ -5345,7 +5493,6 @@ export const Endpoints = {
5345
5493
  ],
5346
5494
  applyRule: [],
5347
5495
  appliedRule: [],
5348
- appliedBusinessRule: [],
5349
5496
  businessRuleset: [
5350
5497
  [
5351
5498
  'create',
@@ -5461,6 +5608,10 @@ export const Endpoints = {
5461
5608
  ['retrieve', 'GET', '/business_rulesets', null, true, null, false, {}, {}],
5462
5609
  ],
5463
5610
  businessRulesetRule: [],
5611
+ draftRequest: [],
5612
+ citation: [],
5613
+ execution: [],
5614
+ draftEstimate: [],
5464
5615
  usageSummary: [
5465
5616
  [
5466
5617
  'retrieveUsageSummaryForSubscription',
@@ -5566,6 +5717,71 @@ export const Endpoints = {
5566
5717
  {},
5567
5718
  ],
5568
5719
  ],
5720
+ collectionsPaymentPromise: [
5721
+ [
5722
+ 'retrieve',
5723
+ 'GET',
5724
+ '/collections_payment_promises',
5725
+ null,
5726
+ true,
5727
+ null,
5728
+ false,
5729
+ {},
5730
+ {},
5731
+ ],
5732
+ [
5733
+ 'listCollectionsPaymentPromises',
5734
+ 'GET',
5735
+ '/collections_payment_promises',
5736
+ null,
5737
+ false,
5738
+ null,
5739
+ false,
5740
+ {},
5741
+ {},
5742
+ ],
5743
+ [
5744
+ 'createCollectionsPaymentPromise',
5745
+ 'POST',
5746
+ '/collections_payment_promises',
5747
+ null,
5748
+ false,
5749
+ null,
5750
+ false,
5751
+ {},
5752
+ {},
5753
+ ],
5754
+ [
5755
+ 'updateCollectionsPaymentPromise',
5756
+ 'POST',
5757
+ '/collections_payment_promises',
5758
+ null,
5759
+ true,
5760
+ null,
5761
+ false,
5762
+ {},
5763
+ {
5764
+ isIdempotent: true,
5765
+ },
5766
+ ],
5767
+ [
5768
+ 'cancel',
5769
+ 'POST',
5770
+ '/collections_payment_promises',
5771
+ '/cancel',
5772
+ true,
5773
+ null,
5774
+ false,
5775
+ {},
5776
+ {},
5777
+ ],
5778
+ ],
5779
+ collectionsDispute: [],
5780
+ collectionsReminderSequence: [],
5781
+ emailConversation: [],
5782
+ emailMessage: [],
5783
+ privateNote: [],
5784
+ emailAttachment: [],
5569
5785
  ledgerAccountBalance: [
5570
5786
  [
5571
5787
  'listLedgerAccountBalances',
@@ -5578,6 +5794,17 @@ export const Endpoints = {
5578
5794
  {},
5579
5795
  {},
5580
5796
  ],
5797
+ [
5798
+ 'updateOverdraftLimit',
5799
+ 'POST',
5800
+ '/ledger_account_balances',
5801
+ '/update_overdraft_limit',
5802
+ false,
5803
+ null,
5804
+ false,
5805
+ {},
5806
+ {},
5807
+ ],
5581
5808
  ],
5582
5809
  ledgerOperation: [
5583
5810
  [
@@ -5668,6 +5895,7 @@ export const Endpoints = {
5668
5895
  {},
5669
5896
  ],
5670
5897
  ],
5898
+ billingMetadata: [],
5671
5899
  grantBlock: [
5672
5900
  [
5673
5901
  'listGrantBlocks',
@@ -23,7 +23,6 @@ export var WebhookEventType;
23
23
  WebhookEventType["BusinessRuleDeleted"] = "business_rule_deleted";
24
24
  WebhookEventType["BusinessRuleReleased"] = "business_rule_released";
25
25
  WebhookEventType["BusinessRuleUpdated"] = "business_rule_updated";
26
- WebhookEventType["BusinessRulesApplied"] = "business_rules_applied";
27
26
  WebhookEventType["BusinessRulesetActivated"] = "business_ruleset_activated";
28
27
  WebhookEventType["BusinessRulesetCreated"] = "business_ruleset_created";
29
28
  WebhookEventType["BusinessRulesetDeactivated"] = "business_ruleset_deactivated";
@@ -34,6 +33,22 @@ export var WebhookEventType;
34
33
  WebhookEventType["CardExpired"] = "card_expired";
35
34
  WebhookEventType["CardExpiryReminder"] = "card_expiry_reminder";
36
35
  WebhookEventType["CardUpdated"] = "card_updated";
36
+ WebhookEventType["ChargebackInitiated"] = "chargeback_initiated";
37
+ WebhookEventType["ChargebackLost"] = "chargeback_lost";
38
+ WebhookEventType["ChargebackWon"] = "chargeback_won";
39
+ WebhookEventType["CollectionsDisputeCreated"] = "collections_dispute_created";
40
+ WebhookEventType["CollectionsDisputeResolved"] = "collections_dispute_resolved";
41
+ WebhookEventType["CollectionsDisputeUpdated"] = "collections_dispute_updated";
42
+ WebhookEventType["CollectionsDisputeWithdrawn"] = "collections_dispute_withdrawn";
43
+ WebhookEventType["CollectionsPaymentPromiseBroken"] = "collections_payment_promise_broken";
44
+ WebhookEventType["CollectionsPaymentPromiseCancelled"] = "collections_payment_promise_cancelled";
45
+ WebhookEventType["CollectionsPaymentPromiseCreated"] = "collections_payment_promise_created";
46
+ WebhookEventType["CollectionsPaymentPromiseFulfilled"] = "collections_payment_promise_fulfilled";
47
+ WebhookEventType["CollectionsPaymentPromiseUpdated"] = "collections_payment_promise_updated";
48
+ WebhookEventType["CollectionsReminderSequenceCompleted"] = "collections_reminder_sequence_completed";
49
+ WebhookEventType["CollectionsReminderSequenceCreated"] = "collections_reminder_sequence_created";
50
+ WebhookEventType["CollectionsReminderSequencePaused"] = "collections_reminder_sequence_paused";
51
+ WebhookEventType["CollectionsReminderSequenceResumed"] = "collections_reminder_sequence_resumed";
37
52
  WebhookEventType["ContractTermCancelled"] = "contract_term_cancelled";
38
53
  WebhookEventType["ContractTermCompleted"] = "contract_term_completed";
39
54
  WebhookEventType["ContractTermCreated"] = "contract_term_created";
@@ -65,6 +80,7 @@ export var WebhookEventType;
65
80
  WebhookEventType["DunningUpdated"] = "dunning_updated";
66
81
  WebhookEventType["EinvoiceCreated"] = "einvoice_created";
67
82
  WebhookEventType["EinvoiceUpdated"] = "einvoice_updated";
83
+ WebhookEventType["EmailMessageReceived"] = "email_message_received";
68
84
  WebhookEventType["EntitlementOverridesAutoRemoved"] = "entitlement_overrides_auto_removed";
69
85
  WebhookEventType["EntitlementOverridesRemoved"] = "entitlement_overrides_removed";
70
86
  WebhookEventType["EntitlementOverridesUpdated"] = "entitlement_overrides_updated";
@@ -144,6 +160,8 @@ export var WebhookEventType;
144
160
  WebhookEventType["OrderResent"] = "order_resent";
145
161
  WebhookEventType["OrderReturned"] = "order_returned";
146
162
  WebhookEventType["OrderUpdated"] = "order_updated";
163
+ WebhookEventType["OrganizationDetailsCreated"] = "organization_details_created";
164
+ WebhookEventType["OrganizationDetailsUpdated"] = "organization_details_updated";
147
165
  WebhookEventType["PaymentDueReminder"] = "payment_due_reminder";
148
166
  WebhookEventType["PaymentFailed"] = "payment_failed";
149
167
  WebhookEventType["PaymentInitiated"] = "payment_initiated";
@@ -152,6 +170,7 @@ export var WebhookEventType;
152
170
  WebhookEventType["PaymentRefunded"] = "payment_refunded";
153
171
  WebhookEventType["PaymentScheduleSchemeCreated"] = "payment_schedule_scheme_created";
154
172
  WebhookEventType["PaymentScheduleSchemeDeleted"] = "payment_schedule_scheme_deleted";
173
+ WebhookEventType["PaymentSchedulesCancelled"] = "payment_schedules_cancelled";
155
174
  WebhookEventType["PaymentSchedulesCreated"] = "payment_schedules_created";
156
175
  WebhookEventType["PaymentSchedulesUpdated"] = "payment_schedules_updated";
157
176
  WebhookEventType["PaymentSourceAdded"] = "payment_source_added";
@@ -167,9 +186,13 @@ export var WebhookEventType;
167
186
  WebhookEventType["PlanCreated"] = "plan_created";
168
187
  WebhookEventType["PlanDeleted"] = "plan_deleted";
169
188
  WebhookEventType["PlanUpdated"] = "plan_updated";
189
+ WebhookEventType["PriceRampCreated"] = "price_ramp_created";
190
+ WebhookEventType["PriceRampDeleted"] = "price_ramp_deleted";
191
+ WebhookEventType["PriceRampUpdated"] = "price_ramp_updated";
170
192
  WebhookEventType["PriceVariantCreated"] = "price_variant_created";
171
193
  WebhookEventType["PriceVariantDeleted"] = "price_variant_deleted";
172
194
  WebhookEventType["PriceVariantUpdated"] = "price_variant_updated";
195
+ WebhookEventType["PrivateNoteAdded"] = "private_note_added";
173
196
  WebhookEventType["ProductCreated"] = "product_created";
174
197
  WebhookEventType["ProductDeleted"] = "product_deleted";
175
198
  WebhookEventType["ProductUpdated"] = "product_updated";
@@ -180,6 +203,7 @@ export var WebhookEventType;
180
203
  WebhookEventType["QuoteDeleted"] = "quote_deleted";
181
204
  WebhookEventType["QuoteUpdated"] = "quote_updated";
182
205
  WebhookEventType["RecordPurchaseFailed"] = "record_purchase_failed";
206
+ WebhookEventType["RefundFailed"] = "refund_failed";
183
207
  WebhookEventType["RefundInitiated"] = "refund_initiated";
184
208
  WebhookEventType["RuleCreated"] = "rule_created";
185
209
  WebhookEventType["RuleDeleted"] = "rule_deleted";