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
package/CHANGELOG.md CHANGED
@@ -1,3 +1,240 @@
1
+ ### v3.36.0 (2026-11-12)
2
+ * * *
3
+ ### New Resources:
4
+ - `BillingLineItem` has been added.
5
+ - `BillingMetadata` has been added.
6
+ - `GatewayRequestLog` has been added.
7
+ - `GatewayWebhookLog` has been added.
8
+ - `OrganizationDetail` has been added.
9
+
10
+
11
+ ### New Attributes:
12
+ - `description` has been added to `Discount`.
13
+ - `billing_metadata` has been added to `GrantBlock`.
14
+ - `offline_payment_method` has been added to `Invoice`.
15
+
16
+
17
+ ### New Parameters:
18
+ - `discounts.description` has been added as request body parameter to `estimate_for_creating_a_customer_and_subscription` in `Estimate`.
19
+ - `discounts.description` has been added as request body parameter to `estimate_for_updating_a_subscription` in `Estimate`.
20
+ - `discounts.description` has been added as request body parameter to `estimate_for_creating_a_subscription` in `Estimate`.
21
+ - `allowed_billing_frequencies` has been added as request body parameter to `checkout_gift_subscription_for_items` in `HostedPage`.
22
+ - `show_billing_frequency_selector` has been added as request body parameter to `checkout_gift_subscription_for_items` in `HostedPage`.
23
+ - `allowed_billing_frequencies` has been added as request body parameter to `create_checkout_for_a_new_subscription` in `HostedPage`.
24
+ - `show_billing_frequency_selector` has been added as request body parameter to `create_checkout_for_a_new_subscription` in `HostedPage`.
25
+ - `allowed_billing_frequencies` has been added as request body parameter to `create_checkout_to_update_a_subscription` in `HostedPage`.
26
+ - `show_billing_frequency_selector` has been added as request body parameter to `create_checkout_to_update_a_subscription` in `HostedPage`.
27
+ - `credit_notes.amount` has been added as request body parameter to `apply_credits_for_an_invoice` in `Invoice`.
28
+ - `credit_notes.applied_at` has been added as request body parameter to `apply_credits_for_an_invoice` in `Invoice`.
29
+ - `offline_payment_method` has been added as request body parameter to `create_invoice_for_items_and_one-time_charges` in `Invoice`.
30
+ - `discounts.description` has been added as request body parameter to `update_subscription_for_items` in `Subscription`.
31
+ - `discounts.description` has been added as request body parameter to `create_subscription_for_items` in `Subscription`.
32
+ - `group_by.window_size` has been added as request body parameter to `retrieve_usages_for_an_invoice_as_pdf` in `Usage`.
33
+
34
+
35
+ ### New Events:
36
+ - `organization_details_updated` has been added.
37
+ - `organization_details_created` has been added.
38
+
39
+
40
+ ### Deleted Actions:
41
+ - `list_citations_for_a_draft_request` has been removed from `DraftRequest`.
42
+ - `add_citations_to_a_draft_request` has been removed from `DraftRequest`.
43
+ - `execute_a_draft_request` has been removed from `DraftRequest`.
44
+ - `estimate_a_draft_request` has been removed from `DraftRequest`.
45
+ - `list_comments_for_a_draft_request` has been removed from `DraftRequest`.
46
+ - `add_comments_to_a_draft_request` has been removed from `DraftRequest`.
47
+ - `retrieve_a_draft_request` has been removed from `DraftRequest`.
48
+ - `update_a_draft_request` has been removed from `DraftRequest`.
49
+ - `create_a_draft_request` has been removed from `DraftRequest`.
50
+
51
+
52
+ ### New Enums:
53
+ - `organization_details_created` and `organization_details_updated` have been added as new values enum `EventType`.
54
+ - `invocation_time` has been added as a new value to enum query parameter `sort_by.asc` in `list_gateway_request_logs` of `GatewayRequestLog`.
55
+ - `invocation_time` has been added as a new value to enum query parameter `sort_by.desc` in `list_gateway_request_logs` of `GatewayRequestLog`.
56
+ - `received_at` has been added as a new value to enum query parameter `sort_by.asc` in `list_gateway_webhook_logs` of `GatewayWebhookLog`.
57
+ - `received_at` has been added as a new value to enum query parameter `sort_by.desc` in `list_gateway_webhook_logs` of `GatewayWebhookLog`.
58
+ - `none` and `day` have been added as new values to enum request body parameter `group_by.window_size` in `retrieve_usages_for_an_invoice_as_pdf` of `Usage`.
59
+
60
+
61
+ ### Bug Fixes:
62
+ - Fixed `enableValidation` rejecting correctly typed params: filter operators now accept arrays, numbers and booleans (e.g. `status: { in: ['active'] }`), and composite array params (e.g. `subscription_items`) accept an array of objects. Resolves https://github.com/chargebee/chargebee-node/issues/140.
63
+
64
+
65
+
66
+ ### v3.35.0 (2026-11-02)
67
+ * * *
68
+ ### New Resources:
69
+ - `Citation` has been added.
70
+ - `CollectionsDispute` has been added.
71
+ - `CollectionsPaymentPromise` has been added.
72
+ - `CollectionsReminderSequence` has been added.
73
+ - `CustomData` has been added.
74
+ - `DraftEstimate` has been added.
75
+ - `DraftRequest` has been added.
76
+ - `EmailAttachment` has been added.
77
+ - `EmailConversation` has been added.
78
+ - `EmailMessage` has been added.
79
+ - `Execution` has been added.
80
+ - `GroupByAttribute` has been added.
81
+ - `GroupByRecommendation` has been added.
82
+ - `PreferenceVariant` has been added.
83
+ - `PriceRamp` has been added.
84
+ - `PrivateNote` has been added.
85
+ - `RampInterval` has been added.
86
+ - `RetrySegment` has been added.
87
+
88
+
89
+ ### New Actions:
90
+ - `retrieve_a_business_entity` has been added to `BusinessEntity`.
91
+ - `update_business_entity` has been added to `BusinessEntity`.
92
+ - `list_business_entities` has been added to `BusinessEntity`.
93
+ - `create_a_business_entity` has been added to `BusinessEntity`.
94
+ - `remove_payment_schedule_scheme_from_an_invoice` has been added to `Invoice`.
95
+ - `update_overdraft_limit` has been added to `LedgerAccountBalance`.
96
+
97
+
98
+ ### New Attributes:
99
+ - `email_conversation_id` has been added to `EmailLog`.
100
+ - `gateway` has been added to `GatewayPaymentMethodToken`.
101
+ - `retry_segment_id` has been added to `Invoice`.
102
+ - `price_ramp_id` has been added to `ItemPrice`.
103
+ - `group_by` has been added to `Meter`.
104
+ - `group_by` has been added to `MeteredFeature`.
105
+ - `origin` has been added to `OmnichannelSubscription`.
106
+ - `expiration_reason_at_source` has been added to `OmnichannelSubscriptionItem`.
107
+ - `cancellation_reason_at_source` has been added to `OmnichannelSubscriptionItem`.
108
+ - `gateway_metadata` has been added to `Transaction`.
109
+ - `attributes` has been added to `UsageSummary`.
110
+
111
+
112
+ ### New Parameters:
113
+ - `limit` has been added as query parameter to `list_business_entities` in `BusinessEntity`.
114
+ - `offset` has been added as query parameter to `list_business_entities` in `BusinessEntity`.
115
+ - `include_deleted` has been added as query parameter to `list_business_entities` in `BusinessEntity`.
116
+ - `name` has been added as query parameter to `list_business_entities` in `BusinessEntity`.
117
+ - `group_by` has been added as query parameter to `retrieve_usage_summary_for_a_subscription` in `UsageSummary`.
118
+ - `name` has been added as request body parameter to `update_business_entity` in `BusinessEntity`.
119
+ - `status` has been added as request body parameter to `update_business_entity` in `BusinessEntity`.
120
+ - `name` has been added as request body parameter to `create_a_business_entity` in `BusinessEntity`.
121
+ - `status` has been added as request body parameter to `create_a_business_entity` in `BusinessEntity`.
122
+ - `customer_notes` has been added as request body parameter to `import_credit_note` in `CreditNote`.
123
+ - `line_items.tax_exempt_reason` has been added as request body parameter to `import_invoice` in `Invoice`.
124
+ - `comment` has been added as request body parameter to `remove_payment_schedule_scheme_from_an_invoice` in `Invoice`.
125
+ - `subscription_id` has been added as request body parameter to `update_overdraft_limit` in `LedgerAccountBalance`.
126
+ - `unit_id` has been added as request body parameter to `update_overdraft_limit` in `LedgerAccountBalance`.
127
+ - `is_unlimited` has been added as request body parameter to `update_overdraft_limit` in `LedgerAccountBalance`.
128
+ - `limit` has been added as request body parameter to `update_overdraft_limit` in `LedgerAccountBalance`.
129
+ - `change_reason` has been added as request body parameter to `update_overdraft_limit` in `LedgerAccountBalance`.
130
+ - `bank_account` has been added as request body parameter to `create_using_permanent_token` in `PaymentSource`.
131
+ - `purchase_items.trial_end` has been added as request body parameter to `create_a_purchase` in `Purchase`.
132
+ - `subscription_info.trial_end` has been added as request body parameter to `create_a_purchase` in `Purchase`.
133
+ - `subscription_info.start_date` has been added as request body parameter to `create_a_purchase` in `Purchase`.
134
+ - `purchase_items.trial_end` has been added as request body parameter to `estimates_for_purchase` in `Purchase`.
135
+ - `subscription_info.trial_end` has been added as request body parameter to `estimates_for_purchase` in `Purchase`.
136
+ - `subscription_info.start_date` has been added as request body parameter to `estimates_for_purchase` in `Purchase`.
137
+ - `items_to_add.description` has been added as request body parameter to `create_a_ramp` in `Ramp`.
138
+ - `items_to_update.description` has been added as request body parameter to `create_a_ramp` in `Ramp`.
139
+ - `items_to_add.description` has been added as request body parameter to `update_a_subscription_ramp` in `Ramp`.
140
+ - `items_to_update.description` has been added as request body parameter to `update_a_subscription_ramp` in `Ramp`.
141
+ - `group_by` has been added as request body parameter to `retrieve_usages_for_an_invoice_as_pdf` in `Usage`.
142
+
143
+
144
+ ### New Events:
145
+ - `chargeback_lost` has been added.
146
+ - `price_ramp_updated` has been added.
147
+ - `refund_failed` has been added.
148
+ - `chargeback_initiated` has been added.
149
+ - `collections_payment_promise_fulfilled` has been added.
150
+ - `collections_dispute_resolved` has been added.
151
+ - `collections_dispute_updated` has been added.
152
+ - `collections_payment_promise_updated` has been added.
153
+ - `chargeback_won` has been added.
154
+ - `price_ramp_created` has been added.
155
+ - `collections_reminder_sequence_created` has been added.
156
+ - `email_message_received` has been added.
157
+ - `collections_payment_promise_broken` has been added.
158
+ - `price_ramp_deleted` has been added.
159
+ - `collections_payment_promise_created` has been added.
160
+ - `private_note_added` has been added.
161
+ - `collections_dispute_created` has been added.
162
+ - `collections_payment_promise_cancelled` has been added.
163
+ - `collections_dispute_withdrawn` has been added.
164
+ - `collections_reminder_sequence_paused` has been added.
165
+ - `collections_reminder_sequence_resumed` has been added.
166
+ - `payment_schedules_cancelled` has been added.
167
+ - `collections_reminder_sequence_completed` has been added.
168
+
169
+
170
+ ### Deleted Resources:
171
+ - AppliedBusinessRule has been removed.
172
+
173
+
174
+ ### Deleted Attributes:
175
+ - `handle` has been removed from `AppliedBusinessRule`.
176
+ - `entity_type` has been removed from `AppliedBusinessRule`.
177
+ - `entity_id` has been removed from `AppliedBusinessRule`.
178
+ - `entity_version` has been removed from `AppliedBusinessRule`.
179
+ - `rule_id` has been removed from `AppliedBusinessRule`.
180
+ - `version` has been removed from `AppliedBusinessRule`.
181
+ - `created_at` has been removed from `AppliedBusinessRule`.
182
+ - `modified_at` has been removed from `AppliedBusinessRule`.
183
+ - `gateway_name` has been removed from `GatewayPaymentMethodToken`.
184
+
185
+
186
+ ### Deleted Events:
187
+ - `business_rules_applied` has been removed.
188
+
189
+
190
+ ### New Enums:
191
+ - `task` has been added as a new value enum `EntityType`.
192
+ - `payment_schedules_cancelled`, `refund_failed`, `price_ramp_created`, `price_ramp_updated`, `price_ramp_deleted`, `chargeback_initiated`, `chargeback_won`, `chargeback_lost`, `collections_reminder_sequence_created`, `collections_reminder_sequence_paused`, `collections_reminder_sequence_resumed`, `collections_reminder_sequence_completed`, `collections_payment_promise_created`, `collections_payment_promise_updated`, `collections_payment_promise_fulfilled`, `collections_payment_promise_cancelled`, `collections_payment_promise_broken`, `collections_dispute_created`, `collections_dispute_updated`, `collections_dispute_resolved`, `collections_dispute_withdrawn`, `email_message_received`, and `private_note_added` have been added as new values enum `EventType`.
193
+ - `mcp`, `copilot`, and `agent` have been added as new values enum `Source`.
194
+ - `low`, `medium`, `high`, and `not_provided` have been added as new values to enum attribute `confidence_level` in `Citation`.
195
+ - `open`, `resolved`, and `withdrawn` have been added as new values to enum attribute `status` in `CollectionsDispute`.
196
+ - `active`, `fulfilled`, `broken`, and `cancelled` have been added as new values to enum attribute `status` in `CollectionsPaymentPromise`.
197
+ - `active`, `completed`, `paused`, and `failed` have been added as new values to enum attribute `status` in `CollectionsReminderSequence`.
198
+ - `success` and `failed` have been added as new values to enum attribute `status` in `DraftEstimate`.
199
+ - `open` and `executed` have been added as new values to enum attribute `status` in `DraftRequest`.
200
+ - `contact`, `site_user`, `agent`, and `other` have been added as new values to enum attribute `author_type` in `EmailMessage`.
201
+ - `pending`, `sent`, and `failed` have been added as new values to enum attribute `send_status` in `EmailMessage`.
202
+ - `success` and `failed` have been added as new values to enum attribute `status` in `Execution`.
203
+ - `valid` and `invalid` have been added as new values to enum attribute `status` in `GatewayPaymentMethodToken`.
204
+ - `low_coverage` and `high_cardinality` have been added as new values to enum attribute `warning_reasons` in `GroupByAttribute`.
205
+ - `roku` and `amazon_app_store` have been added as new values to enum attribute `source` in `OmnichannelOneTimeOrder`.
206
+ - `roku` and `amazon_app_store` have been added as new values to enum attribute `source` in `OmnichannelSubscription`.
207
+ - `other` has been added as a new value to enum attribute `cancellation_reason` in `OmnichannelSubscriptionItem`.
208
+ - `active`, `archived`, and `deleted` have been added as new values to enum attribute `status` in `PriceRamp`.
209
+ - `site_user`, `agent`, and `other` have been added as new values to enum attribute `author_type` in `PrivateNote`.
210
+ - `roku` and `amazon_app_store` have been added as new values to enum attribute `source` in `RecordedPurchase`.
211
+ - `and` and `or` have been added as new values to enum attribute `condition_logic` in `RetrySegment`.
212
+ - `true` and `false` have been added as new values to enum query parameter `name.is_present` in `list_business_entities` of `BusinessEntity`.
213
+ - `broken`, `fulfilled`, `active`, and `cancelled` have been added as new values to enum query parameter `status.is` in `list_collections_payment_promises` of `CollectionsPaymentPromise`.
214
+ - `not_provided`, `high`, `low`, and `medium` have been added as new values to enum request body parameter `citations.confidence_level` in `add_citations_to_a_draft_request` of `DraftRequest`.
215
+ - `not_provided`, `high`, `low`, and `medium` have been added as new values to enum request body parameter `citations.confidence_level` in `update_a_draft_request` of `DraftRequest`.
216
+ - `not_provided`, `high`, `low`, and `medium` have been added as new values to enum request body parameter `citations.confidence_level` in `create_a_draft_request` of `DraftRequest`.
217
+ - `roku` and `amazon_app_store` have been added as new values to enum query parameter `source.is` in `list_omnichannel_one_time_orders` of `OmnichannelOneTimeOrder`.
218
+ - `roku` and `amazon_app_store` have been added as new values to enum query parameter `source.is_not` in `list_omnichannel_one_time_orders` of `OmnichannelOneTimeOrder`.
219
+ - `roku` and `amazon_app_store` have been added as new values to enum query parameter `source.in` in `list_omnichannel_one_time_orders` of `OmnichannelOneTimeOrder`.
220
+ - `roku` and `amazon_app_store` have been added as new values to enum query parameter `source.not_in` in `list_omnichannel_one_time_orders` of `OmnichannelOneTimeOrder`.
221
+ - `roku` and `amazon_app_store` have been added as new values to enum query parameter `source.is` in `list_omnichannel_subscriptions` of `OmnichannelSubscription`.
222
+ - `roku` and `amazon_app_store` have been added as new values to enum query parameter `source.is_not` in `list_omnichannel_subscriptions` of `OmnichannelSubscription`.
223
+ - `roku` and `amazon_app_store` have been added as new values to enum query parameter `source.in` in `list_omnichannel_subscriptions` of `OmnichannelSubscription`.
224
+ - `roku` and `amazon_app_store` have been added as new values to enum query parameter `source.not_in` in `list_omnichannel_subscriptions` of `OmnichannelSubscription`.
225
+ - `bacs`, `pad`, `sepa_core`, `ach`, `autogiro`, `becs_nz`, and `becs` have been added as new values to enum request body parameter `bank_account.scheme` in `create_using_permanent_token` of `PaymentSource`.
226
+ - `archived` and `active` have been added as new values to enum query parameter `status.is` in `list_price_ramps` of `PriceRamp`.
227
+ - `archived` and `active` have been added as new values to enum query parameter `status.is_not` in `list_price_ramps` of `PriceRamp`.
228
+ - `archived` and `active` have been added as new values to enum query parameter `status.in` in `list_price_ramps` of `PriceRamp`.
229
+ - `archived` and `active` have been added as new values to enum query parameter `status.not_in` in `list_price_ramps` of `PriceRamp`.
230
+ - `true` and `false` have been added as new values to enum query parameter `business_entity_id.is_present` in `list_price_ramps` of `PriceRamp`.
231
+ - `true` and `false` have been added as new values to enum query parameter `include_site_level_resources.is` in `list_price_ramps` of `PriceRamp`.
232
+ - `updated_at`, `id`, and `status` have been added as new values to enum query parameter `sort_by.asc` in `list_price_ramps` of `PriceRamp`.
233
+ - `updated_at`, `id`, and `status` have been added as new values to enum query parameter `sort_by.desc` in `list_price_ramps` of `PriceRamp`.
234
+ - `active` and `archived` have been added as new values to enum request body parameter `status` in `update_a_price_ramp` of `PriceRamp`.
235
+
236
+
237
+
1
238
  ### v3.34.0 (2026-09-24)
2
239
  * * *
3
240
  ### New Resources:
@@ -11,7 +11,7 @@ exports.Environment = {
11
11
  hostSuffix: '.chargebee.com',
12
12
  apiPath: '/api/v2',
13
13
  timeout: DEFAULT_TIME_OUT,
14
- clientVersion: 'v3.34.0',
14
+ clientVersion: 'v3.36.0',
15
15
  port: DEFAULT_PORT,
16
16
  timemachineWaitInMillis: DEFAULT_TIME_MACHINE_WAIT,
17
17
  exportWaitInMillis: DEFAULT_EXPORT_WAIT,
@@ -1228,6 +1228,34 @@ exports.Endpoints = {
1228
1228
  {},
1229
1229
  ],
1230
1230
  ],
1231
+ gatewayRequestLog: [
1232
+ ['list', 'GET', '/gateway_request_logs', null, false, null, false, {}, {}],
1233
+ [
1234
+ 'retrieve',
1235
+ 'GET',
1236
+ '/gateway_request_logs',
1237
+ null,
1238
+ true,
1239
+ null,
1240
+ false,
1241
+ {},
1242
+ {},
1243
+ ],
1244
+ ],
1245
+ gatewayWebhookLog: [
1246
+ ['list', 'GET', '/gateway_webhook_logs', null, false, null, false, {}, {}],
1247
+ [
1248
+ 'retrieve',
1249
+ 'GET',
1250
+ '/gateway_webhook_logs',
1251
+ null,
1252
+ true,
1253
+ null,
1254
+ false,
1255
+ {},
1256
+ {},
1257
+ ],
1258
+ ],
1231
1259
  invoice: [
1232
1260
  [
1233
1261
  'create',
@@ -1710,6 +1738,19 @@ exports.Endpoints = {
1710
1738
  isIdempotent: true,
1711
1739
  },
1712
1740
  ],
1741
+ [
1742
+ 'removePaymentScheduleScheme',
1743
+ 'POST',
1744
+ '/invoices',
1745
+ '/remove_payment_schedule_scheme',
1746
+ true,
1747
+ null,
1748
+ false,
1749
+ {},
1750
+ {
1751
+ isIdempotent: true,
1752
+ },
1753
+ ],
1713
1754
  [
1714
1755
  'paymentSchedules',
1715
1756
  'GET',
@@ -3569,7 +3610,9 @@ exports.Endpoints = {
3569
3610
  false,
3570
3611
  null,
3571
3612
  false,
3572
- {},
3613
+ {
3614
+ attributes: 1,
3615
+ },
3573
3616
  {
3574
3617
  isIdempotent: true,
3575
3618
  },
@@ -4281,6 +4324,50 @@ exports.Endpoints = {
4281
4324
  ],
4282
4325
  ['list', 'GET', '/differential_prices', null, false, null, false, {}, {}],
4283
4326
  ],
4327
+ priceRamp: [
4328
+ [
4329
+ 'create',
4330
+ 'POST',
4331
+ '/price_ramps',
4332
+ null,
4333
+ false,
4334
+ null,
4335
+ false,
4336
+ {},
4337
+ {
4338
+ isIdempotent: true,
4339
+ },
4340
+ ],
4341
+ ['retrieve', 'GET', '/price_ramps', null, true, null, false, {}, {}],
4342
+ [
4343
+ 'update',
4344
+ 'POST',
4345
+ '/price_ramps',
4346
+ null,
4347
+ true,
4348
+ null,
4349
+ false,
4350
+ {},
4351
+ {
4352
+ isIdempotent: true,
4353
+ },
4354
+ ],
4355
+ [
4356
+ 'delete',
4357
+ 'POST',
4358
+ '/price_ramps',
4359
+ '/delete',
4360
+ true,
4361
+ null,
4362
+ false,
4363
+ {},
4364
+ {
4365
+ isIdempotent: true,
4366
+ },
4367
+ ],
4368
+ ['list', 'GET', '/price_ramps', null, false, null, false, {}, {}],
4369
+ ],
4370
+ rampInterval: [],
4284
4371
  configuration: [
4285
4372
  ['list', 'GET', '/configurations', null, false, null, false, {}, {}],
4286
4373
  ],
@@ -4626,6 +4713,34 @@ exports.Endpoints = {
4626
4713
  ],
4627
4714
  ],
4628
4715
  businessEntity: [
4716
+ [
4717
+ 'create',
4718
+ 'POST',
4719
+ '/business_entities',
4720
+ null,
4721
+ false,
4722
+ null,
4723
+ false,
4724
+ {},
4725
+ {
4726
+ isIdempotent: true,
4727
+ },
4728
+ ],
4729
+ ['list', 'GET', '/business_entities', null, false, null, false, {}, {}],
4730
+ ['retrieve', 'GET', '/business_entities', null, true, null, false, {}, {}],
4731
+ [
4732
+ 'update',
4733
+ 'POST',
4734
+ '/business_entities',
4735
+ null,
4736
+ true,
4737
+ null,
4738
+ false,
4739
+ {},
4740
+ {
4741
+ isIdempotent: true,
4742
+ },
4743
+ ],
4629
4744
  [
4630
4745
  'createTransfers',
4631
4746
  'POST',
@@ -4720,6 +4835,33 @@ exports.Endpoints = {
4720
4835
  {},
4721
4836
  ],
4722
4837
  ],
4838
+ organizationDetail: [
4839
+ [
4840
+ 'create',
4841
+ 'POST',
4842
+ '/organization_details',
4843
+ null,
4844
+ false,
4845
+ null,
4846
+ false,
4847
+ {},
4848
+ {
4849
+ isIdempotent: true,
4850
+ },
4851
+ ],
4852
+ [
4853
+ 'retrieve',
4854
+ 'GET',
4855
+ '/organization_details',
4856
+ null,
4857
+ true,
4858
+ null,
4859
+ false,
4860
+ {},
4861
+ {},
4862
+ ],
4863
+ ['list', 'GET', '/organization_details', null, false, null, false, {}, {}],
4864
+ ],
4723
4865
  currency: [
4724
4866
  ['list', 'GET', '/currencies', '/list', false, null, false, {}, {}],
4725
4867
  ['retrieve', 'GET', '/currencies', null, true, null, false, {}, {}],
@@ -5007,7 +5149,12 @@ exports.Endpoints = {
5007
5149
  ],
5008
5150
  omnichannelOneTimeOrderItem: [],
5009
5151
  rule: [['retrieve', 'GET', '/rules', null, true, null, false, {}, {}]],
5152
+ retrySegment: [
5153
+ ['retrieve', 'GET', '/retry_segments', null, true, null, false, {}, {}],
5154
+ ],
5010
5155
  meter: [['list', 'GET', '/meters', null, false, null, false, {}, {}]],
5156
+ groupByAttribute: [],
5157
+ groupByRecommendation: [],
5011
5158
  usageEvent: [
5012
5159
  [
5013
5160
  'create',
@@ -5091,6 +5238,7 @@ exports.Endpoints = {
5091
5238
  ],
5092
5239
  ],
5093
5240
  customDataSchema: [],
5241
+ customData: [],
5094
5242
  usageFile: [
5095
5243
  [
5096
5244
  'uploadUrl',
@@ -5348,7 +5496,6 @@ exports.Endpoints = {
5348
5496
  ],
5349
5497
  applyRule: [],
5350
5498
  appliedRule: [],
5351
- appliedBusinessRule: [],
5352
5499
  businessRuleset: [
5353
5500
  [
5354
5501
  'create',
@@ -5464,6 +5611,10 @@ exports.Endpoints = {
5464
5611
  ['retrieve', 'GET', '/business_rulesets', null, true, null, false, {}, {}],
5465
5612
  ],
5466
5613
  businessRulesetRule: [],
5614
+ draftRequest: [],
5615
+ citation: [],
5616
+ execution: [],
5617
+ draftEstimate: [],
5467
5618
  usageSummary: [
5468
5619
  [
5469
5620
  'retrieveUsageSummaryForSubscription',
@@ -5569,6 +5720,71 @@ exports.Endpoints = {
5569
5720
  {},
5570
5721
  ],
5571
5722
  ],
5723
+ collectionsPaymentPromise: [
5724
+ [
5725
+ 'retrieve',
5726
+ 'GET',
5727
+ '/collections_payment_promises',
5728
+ null,
5729
+ true,
5730
+ null,
5731
+ false,
5732
+ {},
5733
+ {},
5734
+ ],
5735
+ [
5736
+ 'listCollectionsPaymentPromises',
5737
+ 'GET',
5738
+ '/collections_payment_promises',
5739
+ null,
5740
+ false,
5741
+ null,
5742
+ false,
5743
+ {},
5744
+ {},
5745
+ ],
5746
+ [
5747
+ 'createCollectionsPaymentPromise',
5748
+ 'POST',
5749
+ '/collections_payment_promises',
5750
+ null,
5751
+ false,
5752
+ null,
5753
+ false,
5754
+ {},
5755
+ {},
5756
+ ],
5757
+ [
5758
+ 'updateCollectionsPaymentPromise',
5759
+ 'POST',
5760
+ '/collections_payment_promises',
5761
+ null,
5762
+ true,
5763
+ null,
5764
+ false,
5765
+ {},
5766
+ {
5767
+ isIdempotent: true,
5768
+ },
5769
+ ],
5770
+ [
5771
+ 'cancel',
5772
+ 'POST',
5773
+ '/collections_payment_promises',
5774
+ '/cancel',
5775
+ true,
5776
+ null,
5777
+ false,
5778
+ {},
5779
+ {},
5780
+ ],
5781
+ ],
5782
+ collectionsDispute: [],
5783
+ collectionsReminderSequence: [],
5784
+ emailConversation: [],
5785
+ emailMessage: [],
5786
+ privateNote: [],
5787
+ emailAttachment: [],
5572
5788
  ledgerAccountBalance: [
5573
5789
  [
5574
5790
  'listLedgerAccountBalances',
@@ -5581,6 +5797,17 @@ exports.Endpoints = {
5581
5797
  {},
5582
5798
  {},
5583
5799
  ],
5800
+ [
5801
+ 'updateOverdraftLimit',
5802
+ 'POST',
5803
+ '/ledger_account_balances',
5804
+ '/update_overdraft_limit',
5805
+ false,
5806
+ null,
5807
+ false,
5808
+ {},
5809
+ {},
5810
+ ],
5584
5811
  ],
5585
5812
  ledgerOperation: [
5586
5813
  [
@@ -5671,6 +5898,7 @@ exports.Endpoints = {
5671
5898
  {},
5672
5899
  ],
5673
5900
  ],
5901
+ billingMetadata: [],
5674
5902
  grantBlock: [
5675
5903
  [
5676
5904
  'listGrantBlocks',
@@ -26,7 +26,6 @@ var WebhookEventType;
26
26
  WebhookEventType["BusinessRuleDeleted"] = "business_rule_deleted";
27
27
  WebhookEventType["BusinessRuleReleased"] = "business_rule_released";
28
28
  WebhookEventType["BusinessRuleUpdated"] = "business_rule_updated";
29
- WebhookEventType["BusinessRulesApplied"] = "business_rules_applied";
30
29
  WebhookEventType["BusinessRulesetActivated"] = "business_ruleset_activated";
31
30
  WebhookEventType["BusinessRulesetCreated"] = "business_ruleset_created";
32
31
  WebhookEventType["BusinessRulesetDeactivated"] = "business_ruleset_deactivated";
@@ -37,6 +36,22 @@ var WebhookEventType;
37
36
  WebhookEventType["CardExpired"] = "card_expired";
38
37
  WebhookEventType["CardExpiryReminder"] = "card_expiry_reminder";
39
38
  WebhookEventType["CardUpdated"] = "card_updated";
39
+ WebhookEventType["ChargebackInitiated"] = "chargeback_initiated";
40
+ WebhookEventType["ChargebackLost"] = "chargeback_lost";
41
+ WebhookEventType["ChargebackWon"] = "chargeback_won";
42
+ WebhookEventType["CollectionsDisputeCreated"] = "collections_dispute_created";
43
+ WebhookEventType["CollectionsDisputeResolved"] = "collections_dispute_resolved";
44
+ WebhookEventType["CollectionsDisputeUpdated"] = "collections_dispute_updated";
45
+ WebhookEventType["CollectionsDisputeWithdrawn"] = "collections_dispute_withdrawn";
46
+ WebhookEventType["CollectionsPaymentPromiseBroken"] = "collections_payment_promise_broken";
47
+ WebhookEventType["CollectionsPaymentPromiseCancelled"] = "collections_payment_promise_cancelled";
48
+ WebhookEventType["CollectionsPaymentPromiseCreated"] = "collections_payment_promise_created";
49
+ WebhookEventType["CollectionsPaymentPromiseFulfilled"] = "collections_payment_promise_fulfilled";
50
+ WebhookEventType["CollectionsPaymentPromiseUpdated"] = "collections_payment_promise_updated";
51
+ WebhookEventType["CollectionsReminderSequenceCompleted"] = "collections_reminder_sequence_completed";
52
+ WebhookEventType["CollectionsReminderSequenceCreated"] = "collections_reminder_sequence_created";
53
+ WebhookEventType["CollectionsReminderSequencePaused"] = "collections_reminder_sequence_paused";
54
+ WebhookEventType["CollectionsReminderSequenceResumed"] = "collections_reminder_sequence_resumed";
40
55
  WebhookEventType["ContractTermCancelled"] = "contract_term_cancelled";
41
56
  WebhookEventType["ContractTermCompleted"] = "contract_term_completed";
42
57
  WebhookEventType["ContractTermCreated"] = "contract_term_created";
@@ -68,6 +83,7 @@ var WebhookEventType;
68
83
  WebhookEventType["DunningUpdated"] = "dunning_updated";
69
84
  WebhookEventType["EinvoiceCreated"] = "einvoice_created";
70
85
  WebhookEventType["EinvoiceUpdated"] = "einvoice_updated";
86
+ WebhookEventType["EmailMessageReceived"] = "email_message_received";
71
87
  WebhookEventType["EntitlementOverridesAutoRemoved"] = "entitlement_overrides_auto_removed";
72
88
  WebhookEventType["EntitlementOverridesRemoved"] = "entitlement_overrides_removed";
73
89
  WebhookEventType["EntitlementOverridesUpdated"] = "entitlement_overrides_updated";
@@ -147,6 +163,8 @@ var WebhookEventType;
147
163
  WebhookEventType["OrderResent"] = "order_resent";
148
164
  WebhookEventType["OrderReturned"] = "order_returned";
149
165
  WebhookEventType["OrderUpdated"] = "order_updated";
166
+ WebhookEventType["OrganizationDetailsCreated"] = "organization_details_created";
167
+ WebhookEventType["OrganizationDetailsUpdated"] = "organization_details_updated";
150
168
  WebhookEventType["PaymentDueReminder"] = "payment_due_reminder";
151
169
  WebhookEventType["PaymentFailed"] = "payment_failed";
152
170
  WebhookEventType["PaymentInitiated"] = "payment_initiated";
@@ -155,6 +173,7 @@ var WebhookEventType;
155
173
  WebhookEventType["PaymentRefunded"] = "payment_refunded";
156
174
  WebhookEventType["PaymentScheduleSchemeCreated"] = "payment_schedule_scheme_created";
157
175
  WebhookEventType["PaymentScheduleSchemeDeleted"] = "payment_schedule_scheme_deleted";
176
+ WebhookEventType["PaymentSchedulesCancelled"] = "payment_schedules_cancelled";
158
177
  WebhookEventType["PaymentSchedulesCreated"] = "payment_schedules_created";
159
178
  WebhookEventType["PaymentSchedulesUpdated"] = "payment_schedules_updated";
160
179
  WebhookEventType["PaymentSourceAdded"] = "payment_source_added";
@@ -170,9 +189,13 @@ var WebhookEventType;
170
189
  WebhookEventType["PlanCreated"] = "plan_created";
171
190
  WebhookEventType["PlanDeleted"] = "plan_deleted";
172
191
  WebhookEventType["PlanUpdated"] = "plan_updated";
192
+ WebhookEventType["PriceRampCreated"] = "price_ramp_created";
193
+ WebhookEventType["PriceRampDeleted"] = "price_ramp_deleted";
194
+ WebhookEventType["PriceRampUpdated"] = "price_ramp_updated";
173
195
  WebhookEventType["PriceVariantCreated"] = "price_variant_created";
174
196
  WebhookEventType["PriceVariantDeleted"] = "price_variant_deleted";
175
197
  WebhookEventType["PriceVariantUpdated"] = "price_variant_updated";
198
+ WebhookEventType["PrivateNoteAdded"] = "private_note_added";
176
199
  WebhookEventType["ProductCreated"] = "product_created";
177
200
  WebhookEventType["ProductDeleted"] = "product_deleted";
178
201
  WebhookEventType["ProductUpdated"] = "product_updated";
@@ -183,6 +206,7 @@ var WebhookEventType;
183
206
  WebhookEventType["QuoteDeleted"] = "quote_deleted";
184
207
  WebhookEventType["QuoteUpdated"] = "quote_updated";
185
208
  WebhookEventType["RecordPurchaseFailed"] = "record_purchase_failed";
209
+ WebhookEventType["RefundFailed"] = "refund_failed";
186
210
  WebhookEventType["RefundInitiated"] = "refund_initiated";
187
211
  WebhookEventType["RuleCreated"] = "rule_created";
188
212
  WebhookEventType["RuleDeleted"] = "rule_deleted";