chargebee 2.81.0 → 2.83.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 (49) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +233 -0
  3. data/Gemfile.lock +3 -3
  4. data/VERSION +1 -1
  5. data/chargebee.gemspec +25 -2
  6. data/lib/chargebee/models/billing_line_item.rb +10 -0
  7. data/lib/chargebee/models/billing_metadata.rb +10 -0
  8. data/lib/chargebee/models/business_entity.rb +32 -0
  9. data/lib/chargebee/models/citation.rb +10 -0
  10. data/lib/chargebee/models/collections_dispute.rb +12 -0
  11. data/lib/chargebee/models/collections_payment_promise.rb +48 -0
  12. data/lib/chargebee/models/collections_reminder_sequence.rb +15 -0
  13. data/lib/chargebee/models/custom_data.rb +10 -0
  14. data/lib/chargebee/models/discount.rb +3 -3
  15. data/lib/chargebee/models/draft_estimate.rb +10 -0
  16. data/lib/chargebee/models/draft_request.rb +24 -0
  17. data/lib/chargebee/models/email_attachment.rb +11 -0
  18. data/lib/chargebee/models/email_conversation.rb +11 -0
  19. data/lib/chargebee/models/email_log.rb +1 -1
  20. data/lib/chargebee/models/email_message.rb +16 -0
  21. data/lib/chargebee/models/execution.rb +10 -0
  22. data/lib/chargebee/models/gateway_payment_method_token.rb +2 -2
  23. data/lib/chargebee/models/gateway_request_log.rb +28 -0
  24. data/lib/chargebee/models/gateway_webhook_log.rb +27 -0
  25. data/lib/chargebee/models/grant_block.rb +5 -1
  26. data/lib/chargebee/models/group_by_attribute.rb +11 -0
  27. data/lib/chargebee/models/group_by_recommendation.rb +10 -0
  28. data/lib/chargebee/models/invoice.rb +16 -6
  29. data/lib/chargebee/models/item_price.rb +7 -6
  30. data/lib/chargebee/models/ledger_account_balance.rb +7 -0
  31. data/lib/chargebee/models/meter.rb +1 -1
  32. data/lib/chargebee/models/metered_feature.rb +2 -1
  33. data/lib/chargebee/models/omnichannel_subscription.rb +1 -1
  34. data/lib/chargebee/models/omnichannel_subscription_item.rb +4 -3
  35. data/lib/chargebee/models/organization_detail.rb +35 -0
  36. data/lib/chargebee/models/payment_source.rb +1 -1
  37. data/lib/chargebee/models/preference_variant.rb +10 -0
  38. data/lib/chargebee/models/price_ramp.rb +56 -0
  39. data/lib/chargebee/models/private_note.rb +11 -0
  40. data/lib/chargebee/models/ramp.rb +2 -2
  41. data/lib/chargebee/models/ramp_interval.rb +11 -0
  42. data/lib/chargebee/models/retry_segment.rb +17 -0
  43. data/lib/chargebee/models/subscription.rb +1 -1
  44. data/lib/chargebee/models/transaction.rb +5 -1
  45. data/lib/chargebee/models/usage.rb +1 -0
  46. data/lib/chargebee/models/usage_summary.rb +2 -1
  47. data/lib/chargebee/result.rb +121 -8
  48. data/lib/chargebee.rb +24 -2
  49. metadata +25 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3ba4dc754f4a2fdd42d6249c0fc555266a3deaa1b07b3597c7e6b414c85eb90b
4
- data.tar.gz: d58cfeebd63e3ad5bbafda1123c0d8d89a587176ffc600e715313dc59ff18694
3
+ metadata.gz: 82f476960529c7df7919970b5bb91dc1af551b8907d137ffd71f22091f25f878
4
+ data.tar.gz: a67e247695f1304241d635c4170b7daa76854939527f17a0e8a00621e62d64f2
5
5
  SHA512:
6
- metadata.gz: 7a82949f0c2145c9f6191e38f3e27a5466123fc8395c73bf50b2ea87d2ca353be26dd86cd7e490231249123eacba58809bec6b3769ffbcd5e43c9c05b7129d71
7
- data.tar.gz: 42d3ee9c9c6ef79bd1174360fdfd572b368eb04c0cae8d821ba34a73190c125bdf9138134593751af262563c4473cb26657b6152d51720e200b6cdacc69615a9
6
+ metadata.gz: b103560ad6502f78ec37ab4f27d5c06c41406922b57c5c238674c8d068fa1c2449cd5dfcbcd0f0576393a837fd43beba222f6b91697f98db8f2094f436fa7e00
7
+ data.tar.gz: 7347d177122ae3f4a5fae77508350aecaabd545cf88b4238199ec6e1fa204188f75f84f0fbdff8bdcbbffa34b39d8949dc2466878e8a937cac654b4a81d11d9e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,236 @@
1
+ ### v2.83.0 (2026-11-13)
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
+
62
+ ### v2.82.0 (2026-11-02)
63
+ * * *
64
+ ### New Resources:
65
+ - `Citation` has been added.
66
+ - `CollectionsDispute` has been added.
67
+ - `CollectionsPaymentPromise` has been added.
68
+ - `CollectionsReminderSequence` has been added.
69
+ - `CustomData` has been added.
70
+ - `DraftEstimate` has been added.
71
+ - `DraftRequest` has been added.
72
+ - `EmailAttachment` has been added.
73
+ - `EmailConversation` has been added.
74
+ - `EmailMessage` has been added.
75
+ - `Execution` has been added.
76
+ - `GroupByAttribute` has been added.
77
+ - `GroupByRecommendation` has been added.
78
+ - `PreferenceVariant` has been added.
79
+ - `PriceRamp` has been added.
80
+ - `PrivateNote` has been added.
81
+ - `RampInterval` has been added.
82
+ - `RetrySegment` has been added.
83
+
84
+
85
+ ### New Actions:
86
+ - `retrieve_a_business_entity` has been added to `BusinessEntity`.
87
+ - `update_business_entity` has been added to `BusinessEntity`.
88
+ - `list_business_entities` has been added to `BusinessEntity`.
89
+ - `create_a_business_entity` has been added to `BusinessEntity`.
90
+ - `remove_payment_schedule_scheme_from_an_invoice` has been added to `Invoice`.
91
+ - `update_overdraft_limit` has been added to `LedgerAccountBalance`.
92
+
93
+
94
+ ### New Attributes:
95
+ - `email_conversation_id` has been added to `EmailLog`.
96
+ - `gateway` has been added to `GatewayPaymentMethodToken`.
97
+ - `retry_segment_id` has been added to `Invoice`.
98
+ - `price_ramp_id` has been added to `ItemPrice`.
99
+ - `group_by` has been added to `Meter`.
100
+ - `group_by` has been added to `MeteredFeature`.
101
+ - `origin` has been added to `OmnichannelSubscription`.
102
+ - `expiration_reason_at_source` has been added to `OmnichannelSubscriptionItem`.
103
+ - `cancellation_reason_at_source` has been added to `OmnichannelSubscriptionItem`.
104
+ - `gateway_metadata` has been added to `Transaction`.
105
+ - `attributes` has been added to `UsageSummary`.
106
+
107
+
108
+ ### New Parameters:
109
+ - `limit` has been added as query parameter to `list_business_entities` in `BusinessEntity`.
110
+ - `offset` has been added as query parameter to `list_business_entities` in `BusinessEntity`.
111
+ - `include_deleted` has been added as query parameter to `list_business_entities` in `BusinessEntity`.
112
+ - `name` has been added as query parameter to `list_business_entities` in `BusinessEntity`.
113
+ - `group_by` has been added as query parameter to `retrieve_usage_summary_for_a_subscription` in `UsageSummary`.
114
+ - `name` has been added as request body parameter to `update_business_entity` in `BusinessEntity`.
115
+ - `status` has been added as request body parameter to `update_business_entity` in `BusinessEntity`.
116
+ - `name` has been added as request body parameter to `create_a_business_entity` in `BusinessEntity`.
117
+ - `status` has been added as request body parameter to `create_a_business_entity` in `BusinessEntity`.
118
+ - `customer_notes` has been added as request body parameter to `import_credit_note` in `CreditNote`.
119
+ - `line_items.tax_exempt_reason` has been added as request body parameter to `import_invoice` in `Invoice`.
120
+ - `comment` has been added as request body parameter to `remove_payment_schedule_scheme_from_an_invoice` in `Invoice`.
121
+ - `subscription_id` has been added as request body parameter to `update_overdraft_limit` in `LedgerAccountBalance`.
122
+ - `unit_id` has been added as request body parameter to `update_overdraft_limit` in `LedgerAccountBalance`.
123
+ - `is_unlimited` has been added as request body parameter to `update_overdraft_limit` in `LedgerAccountBalance`.
124
+ - `limit` has been added as request body parameter to `update_overdraft_limit` in `LedgerAccountBalance`.
125
+ - `change_reason` has been added as request body parameter to `update_overdraft_limit` in `LedgerAccountBalance`.
126
+ - `bank_account` has been added as request body parameter to `create_using_permanent_token` in `PaymentSource`.
127
+ - `purchase_items.trial_end` has been added as request body parameter to `create_a_purchase` in `Purchase`.
128
+ - `subscription_info.trial_end` has been added as request body parameter to `create_a_purchase` in `Purchase`.
129
+ - `subscription_info.start_date` has been added as request body parameter to `create_a_purchase` in `Purchase`.
130
+ - `purchase_items.trial_end` has been added as request body parameter to `estimates_for_purchase` in `Purchase`.
131
+ - `subscription_info.trial_end` has been added as request body parameter to `estimates_for_purchase` in `Purchase`.
132
+ - `subscription_info.start_date` has been added as request body parameter to `estimates_for_purchase` in `Purchase`.
133
+ - `items_to_add.description` has been added as request body parameter to `create_a_ramp` in `Ramp`.
134
+ - `items_to_update.description` has been added as request body parameter to `create_a_ramp` in `Ramp`.
135
+ - `items_to_add.description` has been added as request body parameter to `update_a_subscription_ramp` in `Ramp`.
136
+ - `items_to_update.description` has been added as request body parameter to `update_a_subscription_ramp` in `Ramp`.
137
+ - `group_by` has been added as request body parameter to `retrieve_usages_for_an_invoice_as_pdf` in `Usage`.
138
+
139
+
140
+ ### New Events:
141
+ - `chargeback_lost` has been added.
142
+ - `price_ramp_updated` has been added.
143
+ - `refund_failed` has been added.
144
+ - `chargeback_initiated` has been added.
145
+ - `collections_payment_promise_fulfilled` has been added.
146
+ - `collections_dispute_resolved` has been added.
147
+ - `collections_dispute_updated` has been added.
148
+ - `collections_payment_promise_updated` has been added.
149
+ - `chargeback_won` has been added.
150
+ - `price_ramp_created` has been added.
151
+ - `collections_reminder_sequence_created` has been added.
152
+ - `email_message_received` has been added.
153
+ - `collections_payment_promise_broken` has been added.
154
+ - `price_ramp_deleted` has been added.
155
+ - `collections_payment_promise_created` has been added.
156
+ - `private_note_added` has been added.
157
+ - `collections_dispute_created` has been added.
158
+ - `collections_payment_promise_cancelled` has been added.
159
+ - `collections_dispute_withdrawn` has been added.
160
+ - `collections_reminder_sequence_paused` has been added.
161
+ - `collections_reminder_sequence_resumed` has been added.
162
+ - `payment_schedules_cancelled` has been added.
163
+ - `collections_reminder_sequence_completed` has been added.
164
+
165
+
166
+ ### Deleted Resources:
167
+ - AppliedBusinessRule has been removed.
168
+
169
+
170
+ ### Deleted Attributes:
171
+ - `handle` has been removed from `AppliedBusinessRule`.
172
+ - `entity_type` has been removed from `AppliedBusinessRule`.
173
+ - `entity_id` has been removed from `AppliedBusinessRule`.
174
+ - `entity_version` has been removed from `AppliedBusinessRule`.
175
+ - `rule_id` has been removed from `AppliedBusinessRule`.
176
+ - `version` has been removed from `AppliedBusinessRule`.
177
+ - `created_at` has been removed from `AppliedBusinessRule`.
178
+ - `modified_at` has been removed from `AppliedBusinessRule`.
179
+ - `gateway_name` has been removed from `GatewayPaymentMethodToken`.
180
+
181
+
182
+ ### Deleted Events:
183
+ - `business_rules_applied` has been removed.
184
+
185
+
186
+ ### New Enums:
187
+ - `task` has been added as a new value enum `EntityType`.
188
+ - `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`.
189
+ - `mcp`, `copilot`, and `agent` have been added as new values enum `Source`.
190
+ - `low`, `medium`, `high`, and `not_provided` have been added as new values to enum attribute `confidence_level` in `Citation`.
191
+ - `open`, `resolved`, and `withdrawn` have been added as new values to enum attribute `status` in `CollectionsDispute`.
192
+ - `active`, `fulfilled`, `broken`, and `cancelled` have been added as new values to enum attribute `status` in `CollectionsPaymentPromise`.
193
+ - `active`, `completed`, `paused`, and `failed` have been added as new values to enum attribute `status` in `CollectionsReminderSequence`.
194
+ - `success` and `failed` have been added as new values to enum attribute `status` in `DraftEstimate`.
195
+ - `open` and `executed` have been added as new values to enum attribute `status` in `DraftRequest`.
196
+ - `contact`, `site_user`, `agent`, and `other` have been added as new values to enum attribute `author_type` in `EmailMessage`.
197
+ - `pending`, `sent`, and `failed` have been added as new values to enum attribute `send_status` in `EmailMessage`.
198
+ - `success` and `failed` have been added as new values to enum attribute `status` in `Execution`.
199
+ - `valid` and `invalid` have been added as new values to enum attribute `status` in `GatewayPaymentMethodToken`.
200
+ - `low_coverage` and `high_cardinality` have been added as new values to enum attribute `warning_reasons` in `GroupByAttribute`.
201
+ - `roku` and `amazon_app_store` have been added as new values to enum attribute `source` in `OmnichannelOneTimeOrder`.
202
+ - `roku` and `amazon_app_store` have been added as new values to enum attribute `source` in `OmnichannelSubscription`.
203
+ - `other` has been added as a new value to enum attribute `cancellation_reason` in `OmnichannelSubscriptionItem`.
204
+ - `active`, `archived`, and `deleted` have been added as new values to enum attribute `status` in `PriceRamp`.
205
+ - `site_user`, `agent`, and `other` have been added as new values to enum attribute `author_type` in `PrivateNote`.
206
+ - `roku` and `amazon_app_store` have been added as new values to enum attribute `source` in `RecordedPurchase`.
207
+ - `and` and `or` have been added as new values to enum attribute `condition_logic` in `RetrySegment`.
208
+ - `true` and `false` have been added as new values to enum query parameter `name.is_present` in `list_business_entities` of `BusinessEntity`.
209
+ - `broken`, `fulfilled`, `active`, and `cancelled` have been added as new values to enum query parameter `status.is` in `list_collections_payment_promises` of `CollectionsPaymentPromise`.
210
+ - `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`.
211
+ - `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`.
212
+ - `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`.
213
+ - `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`.
214
+ - `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`.
215
+ - `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`.
216
+ - `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`.
217
+ - `roku` and `amazon_app_store` have been added as new values to enum query parameter `source.is` in `list_omnichannel_subscriptions` of `OmnichannelSubscription`.
218
+ - `roku` and `amazon_app_store` have been added as new values to enum query parameter `source.is_not` in `list_omnichannel_subscriptions` of `OmnichannelSubscription`.
219
+ - `roku` and `amazon_app_store` have been added as new values to enum query parameter `source.in` in `list_omnichannel_subscriptions` of `OmnichannelSubscription`.
220
+ - `roku` and `amazon_app_store` have been added as new values to enum query parameter `source.not_in` in `list_omnichannel_subscriptions` of `OmnichannelSubscription`.
221
+ - `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`.
222
+ - `archived` and `active` have been added as new values to enum query parameter `status.is` in `list_price_ramps` of `PriceRamp`.
223
+ - `archived` and `active` have been added as new values to enum query parameter `status.is_not` in `list_price_ramps` of `PriceRamp`.
224
+ - `archived` and `active` have been added as new values to enum query parameter `status.in` in `list_price_ramps` of `PriceRamp`.
225
+ - `archived` and `active` have been added as new values to enum query parameter `status.not_in` in `list_price_ramps` of `PriceRamp`.
226
+ - `true` and `false` have been added as new values to enum query parameter `business_entity_id.is_present` in `list_price_ramps` of `PriceRamp`.
227
+ - `true` and `false` have been added as new values to enum query parameter `include_site_level_resources.is` in `list_price_ramps` of `PriceRamp`.
228
+ - `updated_at`, `id`, and `status` have been added as new values to enum query parameter `sort_by.asc` in `list_price_ramps` of `PriceRamp`.
229
+ - `updated_at`, `id`, and `status` have been added as new values to enum query parameter `sort_by.desc` in `list_price_ramps` of `PriceRamp`.
230
+ - `active` and `archived` have been added as new values to enum request body parameter `status` in `update_a_price_ramp` of `PriceRamp`.
231
+
232
+
233
+
1
234
  ### v2.81.0 (2026-10-27)
2
235
  * * *
3
236
  #### Security Fix:
data/Gemfile.lock CHANGED
@@ -1,14 +1,14 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- chargebee (2.81.0)
4
+ chargebee (2.83.0)
5
5
  cgi (>= 0.1.0, < 1.0.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- addressable (2.8.7)
11
- public_suffix (>= 2.0.2, < 7.0)
10
+ addressable (2.9.0)
11
+ public_suffix (>= 2.0.2, < 8.0)
12
12
  bigdecimal (3.2.2)
13
13
  cgi (0.5.2)
14
14
  crack (1.0.0)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.81.0
1
+ 2.83.0
data/chargebee.gemspec CHANGED
@@ -4,8 +4,8 @@ Gem::Specification.new do |s|
4
4
  s.rubygems_version = '1.3.5'
5
5
  s.required_ruby_version = '>= 1.9.3'
6
6
  s.name = 'chargebee'
7
- s.version = '2.81.0'
8
- s.date = '2026-10-27'
7
+ s.version = '2.83.0'
8
+ s.date = '2026-11-13'
9
9
  s.summary = "Ruby client for Chargebee API."
10
10
  s.description = "Subscription Billing - Simple. Secure. Affordable. More details at www.chargebee.com."
11
11
  s.metadata = {
@@ -55,6 +55,8 @@ Gem::Specification.new do |s|
55
55
  lib/chargebee/models/attached_item.rb
56
56
  lib/chargebee/models/attribute.rb
57
57
  lib/chargebee/models/billing_configuration.rb
58
+ lib/chargebee/models/billing_line_item.rb
59
+ lib/chargebee/models/billing_metadata.rb
58
60
  lib/chargebee/models/brand.rb
59
61
  lib/chargebee/models/business_entity.rb
60
62
  lib/chargebee/models/business_entity_transfer.rb
@@ -62,6 +64,10 @@ Gem::Specification.new do |s|
62
64
  lib/chargebee/models/business_ruleset.rb
63
65
  lib/chargebee/models/business_ruleset_rule.rb
64
66
  lib/chargebee/models/card.rb
67
+ lib/chargebee/models/citation.rb
68
+ lib/chargebee/models/collections_dispute.rb
69
+ lib/chargebee/models/collections_payment_promise.rb
70
+ lib/chargebee/models/collections_reminder_sequence.rb
65
71
  lib/chargebee/models/column_definition.rb
66
72
  lib/chargebee/models/comment.rb
67
73
  lib/chargebee/models/configuration.rb
@@ -76,6 +82,7 @@ Gem::Specification.new do |s|
76
82
  lib/chargebee/models/credit_unit.rb
77
83
  lib/chargebee/models/csv_tax_rule.rb
78
84
  lib/chargebee/models/currency.rb
85
+ lib/chargebee/models/custom_data.rb
79
86
  lib/chargebee/models/custom_data_schema.rb
80
87
  lib/chargebee/models/customer.rb
81
88
  lib/chargebee/models/customer_entitlement.rb
@@ -83,19 +90,29 @@ Gem::Specification.new do |s|
83
90
  lib/chargebee/models/discount.rb
84
91
  lib/chargebee/models/dispute.rb
85
92
  lib/chargebee/models/download.rb
93
+ lib/chargebee/models/draft_estimate.rb
94
+ lib/chargebee/models/draft_request.rb
86
95
  lib/chargebee/models/einvoice.rb
96
+ lib/chargebee/models/email_attachment.rb
97
+ lib/chargebee/models/email_conversation.rb
87
98
  lib/chargebee/models/email_log.rb
99
+ lib/chargebee/models/email_message.rb
88
100
  lib/chargebee/models/entitlement.rb
89
101
  lib/chargebee/models/entitlement_override.rb
90
102
  lib/chargebee/models/estimate.rb
91
103
  lib/chargebee/models/event.rb
104
+ lib/chargebee/models/execution.rb
92
105
  lib/chargebee/models/export.rb
93
106
  lib/chargebee/models/feature.rb
94
107
  lib/chargebee/models/filter_condition.rb
95
108
  lib/chargebee/models/gateway_error_detail.rb
96
109
  lib/chargebee/models/gateway_payment_method_token.rb
110
+ lib/chargebee/models/gateway_request_log.rb
111
+ lib/chargebee/models/gateway_webhook_log.rb
97
112
  lib/chargebee/models/gift.rb
98
113
  lib/chargebee/models/grant_block.rb
114
+ lib/chargebee/models/group_by_attribute.rb
115
+ lib/chargebee/models/group_by_recommendation.rb
99
116
  lib/chargebee/models/hierarchy.rb
100
117
  lib/chargebee/models/hosted_page.rb
101
118
  lib/chargebee/models/impacted_customer.rb
@@ -128,6 +145,7 @@ Gem::Specification.new do |s|
128
145
  lib/chargebee/models/omnichannel_subscription_item_scheduled_change.rb
129
146
  lib/chargebee/models/omnichannel_transaction.rb
130
147
  lib/chargebee/models/order.rb
148
+ lib/chargebee/models/organization_detail.rb
131
149
  lib/chargebee/models/payment_intent.rb
132
150
  lib/chargebee/models/payment_reference_number.rb
133
151
  lib/chargebee/models/payment_schedule.rb
@@ -138,8 +156,11 @@ Gem::Specification.new do |s|
138
156
  lib/chargebee/models/personalized_offer.rb
139
157
  lib/chargebee/models/plan.rb
140
158
  lib/chargebee/models/portal_session.rb
159
+ lib/chargebee/models/preference_variant.rb
160
+ lib/chargebee/models/price_ramp.rb
141
161
  lib/chargebee/models/price_variant.rb
142
162
  lib/chargebee/models/pricing_page_session.rb
163
+ lib/chargebee/models/private_note.rb
143
164
  lib/chargebee/models/promotional_credit.rb
144
165
  lib/chargebee/models/promotional_grant.rb
145
166
  lib/chargebee/models/purchase.rb
@@ -151,8 +172,10 @@ Gem::Specification.new do |s|
151
172
  lib/chargebee/models/quoted_ramp.rb
152
173
  lib/chargebee/models/quoted_subscription.rb
153
174
  lib/chargebee/models/ramp.rb
175
+ lib/chargebee/models/ramp_interval.rb
154
176
  lib/chargebee/models/recorded_purchase.rb
155
177
  lib/chargebee/models/resource_migration.rb
178
+ lib/chargebee/models/retry_segment.rb
156
179
  lib/chargebee/models/rule.rb
157
180
  lib/chargebee/models/site_migration_detail.rb
158
181
  lib/chargebee/models/subscription.rb
@@ -0,0 +1,10 @@
1
+ module ChargeBee
2
+ class BillingLineItem < Model
3
+
4
+ attr_accessor :id, :invoice_number, :quantity
5
+
6
+ # OPERATIONS
7
+ #-----------
8
+
9
+ end # ~BillingLineItem
10
+ end # ~ChargeBee
@@ -0,0 +1,10 @@
1
+ module ChargeBee
2
+ class BillingMetadata < Model
3
+
4
+ attr_accessor :item_price_id, :line_items
5
+
6
+ # OPERATIONS
7
+ #-----------
8
+
9
+ end # ~BillingMetadata
10
+ end # ~ChargeBee
@@ -6,6 +6,38 @@ module ChargeBee
6
6
  # OPERATIONS
7
7
  #-----------
8
8
 
9
+ def self.create(params, env=nil, headers={})
10
+ jsonKeys = {
11
+ }
12
+ options = {
13
+ :isIdempotent => true
14
+ }
15
+ Request.send('post', uri_path("business_entities"), params, env, headers,nil, false, jsonKeys, options, "businessEntity", "create")
16
+ end
17
+
18
+ def self.list(params={}, env=nil, headers={})
19
+ jsonKeys = {
20
+ }
21
+ options = {}
22
+ Request.send_list_request('get', uri_path("business_entities"), params, env, headers,nil, false, jsonKeys, options, "businessEntity", "list")
23
+ end
24
+
25
+ def self.retrieve(id, env=nil, headers={})
26
+ jsonKeys = {
27
+ }
28
+ options = {}
29
+ Request.send('get', uri_path("business_entities",id.to_s), {}, env, headers,nil, false, jsonKeys, options, "businessEntity", "retrieve")
30
+ end
31
+
32
+ def self.update(id, params={}, env=nil, headers={})
33
+ jsonKeys = {
34
+ }
35
+ options = {
36
+ :isIdempotent => true
37
+ }
38
+ Request.send('post', uri_path("business_entities",id.to_s), params, env, headers,nil, false, jsonKeys, options, "businessEntity", "update")
39
+ end
40
+
9
41
  def self.create_transfers(params, env=nil, headers={})
10
42
  jsonKeys = {
11
43
  }
@@ -0,0 +1,10 @@
1
+ module ChargeBee
2
+ class Citation < Model
3
+
4
+ attr_accessor :id, :param_name, :author_name, :confidence_level, :created_at, :content
5
+
6
+ # OPERATIONS
7
+ #-----------
8
+
9
+ end # ~Citation
10
+ end # ~ChargeBee
@@ -0,0 +1,12 @@
1
+ module ChargeBee
2
+ class CollectionsDispute < Model
3
+
4
+ attr_accessor :id, :customer_id, :invoice_id, :line_item_id, :currency_code, :billed_amount,
5
+ :claimed_deduction, :status, :dispute_reason_code, :resolved_reason_code, :reason, :opened_at,
6
+ :resolved_at, :created_at, :updated_at, :resource_version, :undisputed_amount
7
+
8
+ # OPERATIONS
9
+ #-----------
10
+
11
+ end # ~CollectionsDispute
12
+ end # ~ChargeBee
@@ -0,0 +1,48 @@
1
+ module ChargeBee
2
+ class CollectionsPaymentPromise < Model
3
+
4
+ attr_accessor :id, :customer_id, :invoice_id, :status, :reason, :promised_by, :promised_on,
5
+ :created_at, :updated_at, :resource_version
6
+
7
+ # OPERATIONS
8
+ #-----------
9
+
10
+ def self.retrieve(id, env=nil, headers={})
11
+ jsonKeys = {
12
+ }
13
+ options = {}
14
+ Request.send('get', uri_path("collections_payment_promises",id.to_s), {}, env, headers,nil, false, jsonKeys, options, "collectionsPaymentPromise", "retrieve")
15
+ end
16
+
17
+ def self.list_collections_payment_promises(params={}, env=nil, headers={})
18
+ jsonKeys = {
19
+ }
20
+ options = {}
21
+ Request.send('get', uri_path("collections_payment_promises"), params, env, headers,nil, false, jsonKeys, options, "collectionsPaymentPromise", "listCollectionsPaymentPromises")
22
+ end
23
+
24
+ def self.create_collections_payment_promise(params, env=nil, headers={})
25
+ jsonKeys = {
26
+ }
27
+ options = {}
28
+ Request.send('post', uri_path("collections_payment_promises"), params, env, headers,nil, false, jsonKeys, options, "collectionsPaymentPromise", "createCollectionsPaymentPromise")
29
+ end
30
+
31
+ def self.update_collections_payment_promise(id, params={}, env=nil, headers={})
32
+ jsonKeys = {
33
+ }
34
+ options = {
35
+ :isIdempotent => true
36
+ }
37
+ Request.send('post', uri_path("collections_payment_promises",id.to_s), params, env, headers,nil, false, jsonKeys, options, "collectionsPaymentPromise", "updateCollectionsPaymentPromise")
38
+ end
39
+
40
+ def self.cancel(id, env=nil, headers={})
41
+ jsonKeys = {
42
+ }
43
+ options = {}
44
+ Request.send('post', uri_path("collections_payment_promises",id.to_s,"cancel"), {}, env, headers,nil, false, jsonKeys, options, "collectionsPaymentPromise", "cancel")
45
+ end
46
+
47
+ end # ~CollectionsPaymentPromise
48
+ end # ~ChargeBee
@@ -0,0 +1,15 @@
1
+ module ChargeBee
2
+ class CollectionsReminderSequence < Model
3
+
4
+ class ActionLog < Model
5
+ attr_accessor :action_type, :status, :reason_code, :executed_at, :scheduled_at
6
+ end
7
+
8
+ attr_accessor :id, :invoice_id, :customer_id, :status, :paused_until, :pause_note, :started_at,
9
+ :completed_at, :created_at, :updated_at, :resource_version, :action_logs
10
+
11
+ # OPERATIONS
12
+ #-----------
13
+
14
+ end # ~CollectionsReminderSequence
15
+ end # ~ChargeBee
@@ -0,0 +1,10 @@
1
+ module ChargeBee
2
+ class CustomData < Model
3
+
4
+ attr_accessor :entity_type, :id, :schema_id, :schema_values, :created_at, :modified_at, :updated_at
5
+
6
+ # OPERATIONS
7
+ #-----------
8
+
9
+ end # ~CustomData
10
+ end # ~ChargeBee
@@ -1,9 +1,9 @@
1
1
  module ChargeBee
2
2
  class Discount < Model
3
3
 
4
- attr_accessor :id, :invoice_name, :type, :percentage, :amount, :quantity, :currency_code, :duration_type,
5
- :period, :period_unit, :included_in_mrr, :apply_on, :item_price_id, :created_at, :apply_till,
6
- :applied_count, :coupon_id, :index
4
+ attr_accessor :id, :invoice_name, :description, :type, :percentage, :amount, :quantity, :currency_code,
5
+ :duration_type, :period, :period_unit, :included_in_mrr, :apply_on, :item_price_id, :created_at,
6
+ :apply_till, :applied_count, :coupon_id, :index
7
7
 
8
8
  # OPERATIONS
9
9
  #-----------
@@ -0,0 +1,10 @@
1
+ module ChargeBee
2
+ class DraftEstimate < Model
3
+
4
+ attr_accessor :status, :http_status, :created_at, :result, :error_detail, :revision_version
5
+
6
+ # OPERATIONS
7
+ #-----------
8
+
9
+ end # ~DraftEstimate
10
+ end # ~ChargeBee
@@ -0,0 +1,24 @@
1
+ module ChargeBee
2
+ class DraftRequest < Model
3
+
4
+ class DraftRevision < Model
5
+ attr_accessor :version, :created_at, :payload
6
+ end
7
+
8
+ class Validation < Model
9
+ attr_accessor :category, :level, :message, :param_name, :type
10
+ end
11
+
12
+ class Execution < Model
13
+ attr_accessor :status, :created_at, :result, :error_detail, :revision_version
14
+ end
15
+
16
+ attr_accessor :id, :path_param, :request_uri, :operation_id, :status, :executed_at, :created_at,
17
+ :resource_version, :updated_at, :current_revision, :validations, :has_comments, :has_citations,
18
+ :executions
19
+
20
+ # OPERATIONS
21
+ #-----------
22
+
23
+ end # ~DraftRequest
24
+ end # ~ChargeBee
@@ -0,0 +1,11 @@
1
+ module ChargeBee
2
+ class EmailAttachment < Model
3
+
4
+ attr_accessor :id, :email_message_id, :file_name, :content_type, :size_bytes, :content_disposition,
5
+ :created_at, :updated_at, :resource_version
6
+
7
+ # OPERATIONS
8
+ #-----------
9
+
10
+ end # ~EmailAttachment
11
+ end # ~ChargeBee
@@ -0,0 +1,11 @@
1
+ module ChargeBee
2
+ class EmailConversation < Model
3
+
4
+ attr_accessor :id, :customer_id, :mailbox_id, :subject, :last_message_preview, :message_count,
5
+ :status, :last_message_at, :created_at, :updated_at, :resource_version
6
+
7
+ # OPERATIONS
8
+ #-----------
9
+
10
+ end # ~EmailConversation
11
+ end # ~ChargeBee
@@ -2,7 +2,7 @@ module ChargeBee
2
2
  class EmailLog < Model
3
3
 
4
4
  attr_accessor :id, :template_name, :from_address, :to_address, :subject, :status, :sent_on,
5
- :customer_id, :site_id, :business_entity_id, :brand_id, :error_message
5
+ :customer_id, :email_conversation_id, :site_id, :business_entity_id, :brand_id, :error_message
6
6
 
7
7
  # OPERATIONS
8
8
  #-----------
@@ -0,0 +1,16 @@
1
+ module ChargeBee
2
+ class EmailMessage < Model
3
+
4
+ class Attachment < Model
5
+ attr_accessor :id, :email_message_id, :file_name, :content_type, :size_bytes, :content_disposition, :created_at, :updated_at, :resource_version
6
+ end
7
+
8
+ attr_accessor :id, :email_conversation_id, :message_type, :author_type, :send_status, :content_html,
9
+ :content_text, :created_at, :updated_at, :resource_version, :mailbox_id, :author_id, :author_name,
10
+ :from_email, :to_emails, :cc_emails, :attachments
11
+
12
+ # OPERATIONS
13
+ #-----------
14
+
15
+ end # ~EmailMessage
16
+ end # ~ChargeBee
@@ -0,0 +1,10 @@
1
+ module ChargeBee
2
+ class Execution < Model
3
+
4
+ attr_accessor :status, :created_at, :result, :error_detail, :revision_version
5
+
6
+ # OPERATIONS
7
+ #-----------
8
+
9
+ end # ~Execution
10
+ end # ~ChargeBee