Skip to content

Commit 7f72656

Browse files
chargebee-sdk-release-bot[bot]chargebee-ci
andauthored
Releasing v3.31.0 (#138)
Co-authored-by: chargebee-ci <chargebee-ci@users.noreply.github.com>
1 parent 723f846 commit 7f72656

92 files changed

Lines changed: 1679 additions & 82 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎CHANGELOG.md‎

Lines changed: 172 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,175 @@
1+
### v3.31.0 (2026-11-02)
2+
* * *
3+
### New Resources:
4+
- `Citation` has been added.
5+
- `CollectionsDispute` has been added.
6+
- `CollectionsPaymentPromise` has been added.
7+
- `CollectionsReminderSequence` has been added.
8+
- `CustomData` has been added.
9+
- `DraftEstimate` has been added.
10+
- `DraftRequest` has been added.
11+
- `EmailAttachment` has been added.
12+
- `EmailConversation` has been added.
13+
- `EmailMessage` has been added.
14+
- `Execution` has been added.
15+
- `GroupByAttribute` has been added.
16+
- `GroupByRecommendation` has been added.
17+
- `PreferenceVariant` has been added.
18+
- `PriceRamp` has been added.
19+
- `PrivateNote` has been added.
20+
- `RampInterval` has been added.
21+
- `RetrySegment` has been added.
22+
23+
24+
### New Actions:
25+
- `retrieve_a_business_entity` has been added to `BusinessEntity`.
26+
- `update_business_entity` has been added to `BusinessEntity`.
27+
- `list_business_entities` has been added to `BusinessEntity`.
28+
- `create_a_business_entity` has been added to `BusinessEntity`.
29+
- `remove_payment_schedule_scheme_from_an_invoice` has been added to `Invoice`.
30+
- `update_overdraft_limit` has been added to `LedgerAccountBalance`.
31+
32+
33+
### New Attributes:
34+
- `email_conversation_id` has been added to `EmailLog`.
35+
- `gateway` has been added to `GatewayPaymentMethodToken`.
36+
- `retry_segment_id` has been added to `Invoice`.
37+
- `price_ramp_id` has been added to `ItemPrice`.
38+
- `group_by` has been added to `Meter`.
39+
- `group_by` has been added to `MeteredFeature`.
40+
- `origin` has been added to `OmnichannelSubscription`.
41+
- `expiration_reason_at_source` has been added to `OmnichannelSubscriptionItem`.
42+
- `cancellation_reason_at_source` has been added to `OmnichannelSubscriptionItem`.
43+
- `gateway_metadata` has been added to `Transaction`.
44+
- `attributes` has been added to `UsageSummary`.
45+
46+
47+
### New Parameters:
48+
- `limit` has been added as query parameter to `list_business_entities` in `BusinessEntity`.
49+
- `offset` has been added as query parameter to `list_business_entities` in `BusinessEntity`.
50+
- `include_deleted` has been added as query parameter to `list_business_entities` in `BusinessEntity`.
51+
- `name` has been added as query parameter to `list_business_entities` in `BusinessEntity`.
52+
- `group_by` has been added as query parameter to `retrieve_usage_summary_for_a_subscription` in `UsageSummary`.
53+
- `name` has been added as request body parameter to `update_business_entity` in `BusinessEntity`.
54+
- `status` has been added as request body parameter to `update_business_entity` in `BusinessEntity`.
55+
- `name` has been added as request body parameter to `create_a_business_entity` in `BusinessEntity`.
56+
- `status` has been added as request body parameter to `create_a_business_entity` in `BusinessEntity`.
57+
- `customer_notes` has been added as request body parameter to `import_credit_note` in `CreditNote`.
58+
- `line_items.tax_exempt_reason` has been added as request body parameter to `import_invoice` in `Invoice`.
59+
- `comment` has been added as request body parameter to `remove_payment_schedule_scheme_from_an_invoice` in `Invoice`.
60+
- `subscription_id` has been added as request body parameter to `update_overdraft_limit` in `LedgerAccountBalance`.
61+
- `unit_id` has been added as request body parameter to `update_overdraft_limit` in `LedgerAccountBalance`.
62+
- `is_unlimited` has been added as request body parameter to `update_overdraft_limit` in `LedgerAccountBalance`.
63+
- `limit` has been added as request body parameter to `update_overdraft_limit` in `LedgerAccountBalance`.
64+
- `change_reason` has been added as request body parameter to `update_overdraft_limit` in `LedgerAccountBalance`.
65+
- `bank_account` has been added as request body parameter to `create_using_permanent_token` in `PaymentSource`.
66+
- `purchase_items.trial_end` has been added as request body parameter to `create_a_purchase` in `Purchase`.
67+
- `subscription_info.trial_end` has been added as request body parameter to `create_a_purchase` in `Purchase`.
68+
- `subscription_info.start_date` has been added as request body parameter to `create_a_purchase` in `Purchase`.
69+
- `purchase_items.trial_end` has been added as request body parameter to `estimates_for_purchase` in `Purchase`.
70+
- `subscription_info.trial_end` has been added as request body parameter to `estimates_for_purchase` in `Purchase`.
71+
- `subscription_info.start_date` has been added as request body parameter to `estimates_for_purchase` in `Purchase`.
72+
- `items_to_add.description` has been added as request body parameter to `create_a_ramp` in `Ramp`.
73+
- `items_to_update.description` has been added as request body parameter to `create_a_ramp` in `Ramp`.
74+
- `items_to_add.description` has been added as request body parameter to `update_a_subscription_ramp` in `Ramp`.
75+
- `items_to_update.description` has been added as request body parameter to `update_a_subscription_ramp` in `Ramp`.
76+
- `group_by` has been added as request body parameter to `retrieve_usages_for_an_invoice_as_pdf` in `Usage`.
77+
78+
79+
### New Events:
80+
- `chargeback_lost` has been added.
81+
- `price_ramp_updated` has been added.
82+
- `refund_failed` has been added.
83+
- `chargeback_initiated` has been added.
84+
- `collections_payment_promise_fulfilled` has been added.
85+
- `collections_dispute_resolved` has been added.
86+
- `collections_dispute_updated` has been added.
87+
- `collections_payment_promise_updated` has been added.
88+
- `chargeback_won` has been added.
89+
- `price_ramp_created` has been added.
90+
- `collections_reminder_sequence_created` has been added.
91+
- `email_message_received` has been added.
92+
- `collections_payment_promise_broken` has been added.
93+
- `price_ramp_deleted` has been added.
94+
- `collections_payment_promise_created` has been added.
95+
- `private_note_added` has been added.
96+
- `collections_dispute_created` has been added.
97+
- `collections_payment_promise_cancelled` has been added.
98+
- `collections_dispute_withdrawn` has been added.
99+
- `collections_reminder_sequence_paused` has been added.
100+
- `collections_reminder_sequence_resumed` has been added.
101+
- `payment_schedules_cancelled` has been added.
102+
- `collections_reminder_sequence_completed` has been added.
103+
104+
105+
### Deleted Resources:
106+
- AppliedBusinessRule has been removed.
107+
108+
109+
### Deleted Attributes:
110+
- `handle` has been removed from `AppliedBusinessRule`.
111+
- `entity_type` has been removed from `AppliedBusinessRule`.
112+
- `entity_id` has been removed from `AppliedBusinessRule`.
113+
- `entity_version` has been removed from `AppliedBusinessRule`.
114+
- `rule_id` has been removed from `AppliedBusinessRule`.
115+
- `version` has been removed from `AppliedBusinessRule`.
116+
- `created_at` has been removed from `AppliedBusinessRule`.
117+
- `modified_at` has been removed from `AppliedBusinessRule`.
118+
- `gateway_name` has been removed from `GatewayPaymentMethodToken`.
119+
120+
121+
### Deleted Events:
122+
- `business_rules_applied` has been removed.
123+
124+
125+
### New Enums:
126+
- `task` has been added as a new value enum `EntityType`.
127+
- `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`.
128+
- `mcp`, `copilot`, and `agent` have been added as new values enum `Source`.
129+
- `low`, `medium`, `high`, and `not_provided` have been added as new values to enum attribute `confidence_level` in `Citation`.
130+
- `open`, `resolved`, and `withdrawn` have been added as new values to enum attribute `status` in `CollectionsDispute`.
131+
- `active`, `fulfilled`, `broken`, and `cancelled` have been added as new values to enum attribute `status` in `CollectionsPaymentPromise`.
132+
- `active`, `completed`, `paused`, and `failed` have been added as new values to enum attribute `status` in `CollectionsReminderSequence`.
133+
- `success` and `failed` have been added as new values to enum attribute `status` in `DraftEstimate`.
134+
- `open` and `executed` have been added as new values to enum attribute `status` in `DraftRequest`.
135+
- `contact`, `site_user`, `agent`, and `other` have been added as new values to enum attribute `author_type` in `EmailMessage`.
136+
- `pending`, `sent`, and `failed` have been added as new values to enum attribute `send_status` in `EmailMessage`.
137+
- `success` and `failed` have been added as new values to enum attribute `status` in `Execution`.
138+
- `valid` and `invalid` have been added as new values to enum attribute `status` in `GatewayPaymentMethodToken`.
139+
- `low_coverage` and `high_cardinality` have been added as new values to enum attribute `warning_reasons` in `GroupByAttribute`.
140+
- `roku` and `amazon_app_store` have been added as new values to enum attribute `source` in `OmnichannelOneTimeOrder`.
141+
- `roku` and `amazon_app_store` have been added as new values to enum attribute `source` in `OmnichannelSubscription`.
142+
- `other` has been added as a new value to enum attribute `cancellation_reason` in `OmnichannelSubscriptionItem`.
143+
- `active`, `archived`, and `deleted` have been added as new values to enum attribute `status` in `PriceRamp`.
144+
- `site_user`, `agent`, and `other` have been added as new values to enum attribute `author_type` in `PrivateNote`.
145+
- `roku` and `amazon_app_store` have been added as new values to enum attribute `source` in `RecordedPurchase`.
146+
- `and` and `or` have been added as new values to enum attribute `condition_logic` in `RetrySegment`.
147+
- `true` and `false` have been added as new values to enum query parameter `name.is_present` in `list_business_entities` of `BusinessEntity`.
148+
- `broken`, `fulfilled`, `active`, and `cancelled` have been added as new values to enum query parameter `status.is` in `list_collections_payment_promises` of `CollectionsPaymentPromise`.
149+
- `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`.
150+
- `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`.
151+
- `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`.
152+
- `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`.
153+
- `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`.
154+
- `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`.
155+
- `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`.
156+
- `roku` and `amazon_app_store` have been added as new values to enum query parameter `source.is` in `list_omnichannel_subscriptions` of `OmnichannelSubscription`.
157+
- `roku` and `amazon_app_store` have been added as new values to enum query parameter `source.is_not` in `list_omnichannel_subscriptions` of `OmnichannelSubscription`.
158+
- `roku` and `amazon_app_store` have been added as new values to enum query parameter `source.in` in `list_omnichannel_subscriptions` of `OmnichannelSubscription`.
159+
- `roku` and `amazon_app_store` have been added as new values to enum query parameter `source.not_in` in `list_omnichannel_subscriptions` of `OmnichannelSubscription`.
160+
- `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`.
161+
- `archived` and `active` have been added as new values to enum query parameter `status.is` in `list_price_ramps` of `PriceRamp`.
162+
- `archived` and `active` have been added as new values to enum query parameter `status.is_not` in `list_price_ramps` of `PriceRamp`.
163+
- `archived` and `active` have been added as new values to enum query parameter `status.in` in `list_price_ramps` of `PriceRamp`.
164+
- `archived` and `active` have been added as new values to enum query parameter `status.not_in` in `list_price_ramps` of `PriceRamp`.
165+
- `true` and `false` have been added as new values to enum query parameter `business_entity_id.is_present` in `list_price_ramps` of `PriceRamp`.
166+
- `true` and `false` have been added as new values to enum query parameter `include_site_level_resources.is` in `list_price_ramps` of `PriceRamp`.
167+
- `updated_at`, `id`, and `status` have been added as new values to enum query parameter `sort_by.asc` in `list_price_ramps` of `PriceRamp`.
168+
- `updated_at`, `id`, and `status` have been added as new values to enum query parameter `sort_by.desc` in `list_price_ramps` of `PriceRamp`.
169+
- `active` and `archived` have been added as new values to enum request body parameter `status` in `update_a_price_ramp` of `PriceRamp`.
170+
171+
172+
1173
### v3.30.0 (2026-10-27)
2174
* * *
3175
#### Security Fix:

‎VERSION‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.30.0
1+
3.31.0

‎chargebee/main.py‎

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ def __init__(
4444
self.AdvanceInvoiceSchedule = chargebee.AdvanceInvoiceSchedule(self.env)
4545
self.Alert = chargebee.Alert(self.env)
4646
self.AlertStatus = chargebee.AlertStatus(self.env)
47-
self.AppliedBusinessRule = chargebee.AppliedBusinessRule(self.env)
4847
self.AppliedRule = chargebee.AppliedRule(self.env)
4948
self.ApplyRule = chargebee.ApplyRule(self.env)
5049
self.AsyncResponse = chargebee.AsyncResponse(self.env)
@@ -59,6 +58,12 @@ def __init__(
5958
self.BusinessRuleset = chargebee.BusinessRuleset(self.env)
6059
self.BusinessRulesetRule = chargebee.BusinessRulesetRule(self.env)
6160
self.Card = chargebee.Card(self.env)
61+
self.Citation = chargebee.Citation(self.env)
62+
self.CollectionsDispute = chargebee.CollectionsDispute(self.env)
63+
self.CollectionsPaymentPromise = chargebee.CollectionsPaymentPromise(self.env)
64+
self.CollectionsReminderSequence = chargebee.CollectionsReminderSequence(
65+
self.env
66+
)
6267
self.ColumnDefinition = chargebee.ColumnDefinition(self.env)
6368
self.Comment = chargebee.Comment(self.env)
6469
self.Configuration = chargebee.Configuration(self.env)
@@ -72,26 +77,35 @@ def __init__(
7277
self.CreditNoteEstimate = chargebee.CreditNoteEstimate(self.env)
7378
self.CreditUnit = chargebee.CreditUnit(self.env)
7479
self.Currency = chargebee.Currency(self.env)
80+
self.CustomData = chargebee.CustomData(self.env)
7581
self.CustomDataSchema = chargebee.CustomDataSchema(self.env)
7682
self.Customer = chargebee.Customer(self.env)
7783
self.CustomerEntitlement = chargebee.CustomerEntitlement(self.env)
7884
self.DifferentialPrice = chargebee.DifferentialPrice(self.env)
7985
self.Discount = chargebee.Discount(self.env)
8086
self.Dispute = chargebee.Dispute(self.env)
8187
self.Download = chargebee.Download(self.env)
88+
self.DraftEstimate = chargebee.DraftEstimate(self.env)
89+
self.DraftRequest = chargebee.DraftRequest(self.env)
8290
self.Einvoice = chargebee.Einvoice(self.env)
91+
self.EmailAttachment = chargebee.EmailAttachment(self.env)
92+
self.EmailConversation = chargebee.EmailConversation(self.env)
8393
self.EmailLog = chargebee.EmailLog(self.env)
94+
self.EmailMessage = chargebee.EmailMessage(self.env)
8495
self.Entitlement = chargebee.Entitlement(self.env)
8596
self.EntitlementOverride = chargebee.EntitlementOverride(self.env)
8697
self.Estimate = chargebee.Estimate(self.env)
8798
self.Event = chargebee.Event(self.env)
99+
self.Execution = chargebee.Execution(self.env)
88100
self.Export = chargebee.Export(self.env)
89101
self.Feature = chargebee.Feature(self.env)
90102
self.FilterCondition = chargebee.FilterCondition(self.env)
91103
self.GatewayErrorDetail = chargebee.GatewayErrorDetail(self.env)
92104
self.GatewayPaymentMethodToken = chargebee.GatewayPaymentMethodToken(self.env)
93105
self.Gift = chargebee.Gift(self.env)
94106
self.GrantBlock = chargebee.GrantBlock(self.env)
107+
self.GroupByAttribute = chargebee.GroupByAttribute(self.env)
108+
self.GroupByRecommendation = chargebee.GroupByRecommendation(self.env)
95109
self.Hierarchy = chargebee.Hierarchy(self.env)
96110
self.HostedPage = chargebee.HostedPage(self.env)
97111
self.ImpactedCustomer = chargebee.ImpactedCustomer(self.env)
@@ -142,8 +156,11 @@ def __init__(
142156
self.PersonalizedOffer = chargebee.PersonalizedOffer(self.env)
143157
self.Plan = chargebee.Plan(self.env)
144158
self.PortalSession = chargebee.PortalSession(self.env)
159+
self.PreferenceVariant = chargebee.PreferenceVariant(self.env)
160+
self.PriceRamp = chargebee.PriceRamp(self.env)
145161
self.PriceVariant = chargebee.PriceVariant(self.env)
146162
self.PricingPageSession = chargebee.PricingPageSession(self.env)
163+
self.PrivateNote = chargebee.PrivateNote(self.env)
147164
self.PromotionalCredit = chargebee.PromotionalCredit(self.env)
148165
self.PromotionalGrant = chargebee.PromotionalGrant(self.env)
149166
self.Purchase = chargebee.Purchase(self.env)
@@ -155,8 +172,10 @@ def __init__(
155172
self.QuotedRamp = chargebee.QuotedRamp(self.env)
156173
self.QuotedSubscription = chargebee.QuotedSubscription(self.env)
157174
self.Ramp = chargebee.Ramp(self.env)
175+
self.RampInterval = chargebee.RampInterval(self.env)
158176
self.RecordedPurchase = chargebee.RecordedPurchase(self.env)
159177
self.ResourceMigration = chargebee.ResourceMigration(self.env)
178+
self.RetrySegment = chargebee.RetrySegment(self.env)
160179
self.Rule = chargebee.Rule(self.env)
161180
self.SiteMigrationDetail = chargebee.SiteMigrationDetail(self.env)
162181
self.Subscription = chargebee.Subscription(self.env)

0 commit comments

Comments
 (0)