chargebee 2.70.0 → 2.72.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +149 -0
- data/Gemfile.lock +1 -1
- data/VERSION +1 -1
- data/chargebee.gemspec +4 -2
- data/lib/chargebee/models/alert.rb +49 -1
- data/lib/chargebee/models/alert_status.rb +15 -1
- data/lib/chargebee/models/filter_condition.rb +10 -0
- data/lib/chargebee/models/gift.rb +1 -1
- data/lib/chargebee/models/omnichannel_subscription.rb +2 -2
- data/lib/chargebee/models/omnichannel_subscription_item.rb +2 -2
- data/lib/chargebee/models/quote_entitlement.rb +11 -0
- data/lib/chargebee/result.rb +11 -6
- data/lib/chargebee.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 29eeb65b66c6c0181993d43b31d7cbf036f210f833b338a187df568405daaf8c
|
|
4
|
+
data.tar.gz: 5b826c6b6c69a5feaefa487e7a5d3e0541e7fc88b83589cdee35e66acd0f13ac
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6d3b4a9de6d1ddb58f76028075a007b4e5a46849c030f2cf70808d580f80ed9860731743c111d351c0a950f45ec8190876b7f68756e4fb992638c50451f68f08
|
|
7
|
+
data.tar.gz: e901f416702bbcd73512aea70f70fb238d37134e90385657616e94a2f0a9a51ca9f84b982985ff3593c10df133d99fe129c28bcac0f5c32fd5e67bb69c1cf00c
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,152 @@
|
|
|
1
|
+
### v2.72.0 (2026-06-08)
|
|
2
|
+
* * *
|
|
3
|
+
### New Attributes:
|
|
4
|
+
- [`purchased_at`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/omnichannel-subscription-object#purchased_at) has been added to [`OmnichannelSubscription`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions).
|
|
5
|
+
- [`updated_at`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/omnichannel-subscription-object#updated_at) has been added to [`OmnichannelSubscription`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions).
|
|
6
|
+
- [`updated_at`](https://apidocs.chargebee.com/docs/api/omnichannel_subscription_items/omnichannel-subscription-item-object#updated_at) has been added to [`OmnichannelSubscriptionItem`](https://apidocs.chargebee.com/docs/api/omnichannel_subscription_items).
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### New Parameters:
|
|
10
|
+
- [`customer_id.in`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions#customer_id_in) has been added as query parameter to [`list_omnichannel_subscriptions`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions) in [`OmnichannelSubscription`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions).
|
|
11
|
+
- [`customer_id.not_in`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions#customer_id_not_in) has been added as query parameter to [`list_omnichannel_subscriptions`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions) in [`OmnichannelSubscription`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions).
|
|
12
|
+
- [`id`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions#id) has been added as query parameter to [`list_omnichannel_subscriptions`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions) in [`OmnichannelSubscription`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions).
|
|
13
|
+
- [`id_at_source`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions#id_at_source) has been added as query parameter to [`list_omnichannel_subscriptions`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions) in [`OmnichannelSubscription`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions).
|
|
14
|
+
- [`updated_at`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions#updated_at) has been added as query parameter to [`list_omnichannel_subscriptions`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions) in [`OmnichannelSubscription`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions).
|
|
15
|
+
- [`purchased_at`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions#purchased_at) has been added as query parameter to [`list_omnichannel_subscriptions`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions/list-omnichannel-subscriptions) in [`OmnichannelSubscription`](https://apidocs.chargebee.com/docs/api/omnichannel_subscriptions).
|
|
16
|
+
- [`gift_receiver`](https://apidocs.chargebee.com/docs/api/gifts/update-a-gift#gift_receiver) has been added as request body parameter to [`update_a_gift`](https://apidocs.chargebee.com/docs/api/gifts/update-a-gift) in [`Gift`](https://apidocs.chargebee.com/docs/api/gifts).
|
|
17
|
+
- [`layout`](https://apidocs.chargebee.com/docs/api/hosted_pages/checkout-gift-subscription-for-items#layout) has been added as request body parameter to [`checkout_gift_subscription_for_items`](https://apidocs.chargebee.com/docs/api/hosted_pages/checkout-gift-subscription-for-items) in [`HostedPage`](https://apidocs.chargebee.com/docs/api/hosted_pages).
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Parameter Updates:
|
|
21
|
+
- [`scheduled_at`](https://apidocs.chargebee.com/docs/api/gifts/update-a-gift#scheduled_at) has been changed from required to optional in [`update_a_gift`](https://apidocs.chargebee.com/docs/api/gifts/update-a-gift) of [`Gift`](https://apidocs.chargebee.com/docs/api/gifts).
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### New Events:
|
|
25
|
+
- [`omnichannel_subscription_item_updated`](https://apidocs.chargebee.com/docs/api/events/webhook/omnichannel_subscription_item_updated) has been added.
|
|
26
|
+
- [`omnichannel_subscription_item_recovered`](https://apidocs.chargebee.com/docs/api/events/webhook/omnichannel_subscription_item_recovered) has been added.
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Deleted Resources:
|
|
30
|
+
- QuoteEntitlement has been removed.
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Deleted Attributes:
|
|
34
|
+
- `entity_id` has been removed from `QuoteEntitlement`.
|
|
35
|
+
- `entity_type` has been removed from `QuoteEntitlement`.
|
|
36
|
+
- `feature_id` has been removed from `QuoteEntitlement`.
|
|
37
|
+
- `value` has been removed from `QuoteEntitlement`.
|
|
38
|
+
- `is_enabled` has been removed from `QuoteEntitlement`.
|
|
39
|
+
- `start_date` has been removed from `QuoteEntitlement`.
|
|
40
|
+
- `end_date` has been removed from `QuoteEntitlement`.
|
|
41
|
+
- `created_at` has been removed from `QuoteEntitlement`.
|
|
42
|
+
- `modified_at` has been removed from `QuoteEntitlement`.
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
### Deleted Parameters:
|
|
46
|
+
- `exclude` has been removed as query parameter from [`list_invoices`](https://apidocs.chargebee.com/docs/api/invoices/list-invoices) in [`Invoice`](https://apidocs.chargebee.com/docs/api/invoices).
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
### New Enums:
|
|
50
|
+
- `omnichannel_subscription_item_updated` and `omnichannel_subscription_item_recovered` have been added as new values enum `EventType`.
|
|
51
|
+
- `klarna`, `alipay_hk`, `paypay`, `gcash`, and `south_korean_cards` have been added as new values enum `PaymentMethod`.
|
|
52
|
+
- `klarna`, `alipay_hk`, `paypay`, `gcash`, and `south_korean_cards` have been added as new values enum `PaymentMethodType`.
|
|
53
|
+
- `klarna`, `alipay_hk`, `paypay`, `gcash`, and `south_korean_cards` have been added as new values enum `Type`.
|
|
54
|
+
- `klarna`, `alipay_hk`, `paypay`, `gcash`, and `south_korean_cards` have been added as new values to enum attribute [`payment_method_type`](https://apidocs.chargebee.com/docs/api/payment_intents/payment-intent-object#payment_method_type) in [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).
|
|
55
|
+
- `klarna`, `alipay_hk`, `paypay`, `gcash`, and `south_korean_cards` have been added as new values to enum attribute [`active_payment_attempt.payment_method_type`](https://apidocs.chargebee.com/docs/api/payment_intents/payment-intent-object#active_payment_attempt_payment_method_type) in [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).
|
|
56
|
+
- `klarna`, `alipay_hk`, `paypay`, `gcash`, and `south_korean_cards` have been added as new values to enum request body parameter `payment_method_type` in [`update_a_payment_intent`](https://apidocs.chargebee.com/docs/api/payment_intents/update-a-payment-intent) of [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).
|
|
57
|
+
- `klarna`, `alipay_hk`, `paypay`, `gcash`, and `south_korean_cards` have been added as new values to enum request body parameter `payment_method_type` in [`create_a_payment_intent`](https://apidocs.chargebee.com/docs/api/payment_intents/create-a-payment-intent) of [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
### v2.71.0 (2026-05-04)
|
|
62
|
+
* * *
|
|
63
|
+
### New Resources:
|
|
64
|
+
- [`QuoteEntitlement`](https://apidocs.chargebee.com/docs/api/quote_entitlements) has been added.
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
### New Actions:
|
|
68
|
+
- [`list_applicable_alerts_for_a_subscription`](https://apidocs.chargebee.com/docs/api/alerts/list-applicable-alerts-for-a-subscription) has been added to [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
69
|
+
- [`retrieve_an_alert`](https://apidocs.chargebee.com/docs/api/alerts/retrieve-an-alert) has been added to [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
70
|
+
- [`update_an_alert`](https://apidocs.chargebee.com/docs/api/alerts/update-an-alert) has been added to [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
71
|
+
- [`delete_an_alert`](https://apidocs.chargebee.com/docs/api/alerts/delete-an-alert) has been added to [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
72
|
+
- [`list_alerts`](https://apidocs.chargebee.com/docs/api/alerts/list-alerts) has been added to [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
73
|
+
- [`create_an_alert`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert) has been added to [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
74
|
+
- [`list_alert_statuses_for_a_subscription`](https://apidocs.chargebee.com/docs/api/alert_statuses/list-alert-statuses-for-a-subscription) has been added to [`AlertStatus`](https://apidocs.chargebee.com/docs/api/alert_statuses).
|
|
75
|
+
- [`list_alert_statuses_for_an_alert`](https://apidocs.chargebee.com/docs/api/alert_statuses/list-alert-statuses-for-an-alert) has been added to [`AlertStatus`](https://apidocs.chargebee.com/docs/api/alert_statuses).
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
### New Attributes:
|
|
79
|
+
- [`alarm_status`](https://apidocs.chargebee.com/docs/api/alert_statuses/alert-status-object#alarm_status) has been added to [`AlertStatus`](https://apidocs.chargebee.com/docs/api/alert_statuses).
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
### New Parameters:
|
|
83
|
+
- [`limit`](https://apidocs.chargebee.com/docs/api/alerts/list-applicable-alerts-for-a-subscription#limit) has been added as query parameter to [`list_applicable_alerts_for_a_subscription`](https://apidocs.chargebee.com/docs/api/alerts/list-applicable-alerts-for-a-subscription) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
84
|
+
- [`offset`](https://apidocs.chargebee.com/docs/api/alerts/list-applicable-alerts-for-a-subscription#offset) has been added as query parameter to [`list_applicable_alerts_for_a_subscription`](https://apidocs.chargebee.com/docs/api/alerts/list-applicable-alerts-for-a-subscription) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
85
|
+
- [`status`](https://apidocs.chargebee.com/docs/api/alerts/list-applicable-alerts-for-a-subscription#status) has been added as query parameter to [`list_applicable_alerts_for_a_subscription`](https://apidocs.chargebee.com/docs/api/alerts/list-applicable-alerts-for-a-subscription) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
86
|
+
- [`type`](https://apidocs.chargebee.com/docs/api/alerts/list-applicable-alerts-for-a-subscription#type) has been added as query parameter to [`list_applicable_alerts_for_a_subscription`](https://apidocs.chargebee.com/docs/api/alerts/list-applicable-alerts-for-a-subscription) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
87
|
+
- [`limit`](https://apidocs.chargebee.com/docs/api/alerts/list-alerts#limit) has been added as query parameter to [`list_alerts`](https://apidocs.chargebee.com/docs/api/alerts/list-alerts) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
88
|
+
- [`offset`](https://apidocs.chargebee.com/docs/api/alerts/list-alerts#offset) has been added as query parameter to [`list_alerts`](https://apidocs.chargebee.com/docs/api/alerts/list-alerts) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
89
|
+
- [`id`](https://apidocs.chargebee.com/docs/api/alerts/list-alerts#id) has been added as query parameter to [`list_alerts`](https://apidocs.chargebee.com/docs/api/alerts/list-alerts) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
90
|
+
- [`type`](https://apidocs.chargebee.com/docs/api/alerts/list-alerts#type) has been added as query parameter to [`list_alerts`](https://apidocs.chargebee.com/docs/api/alerts/list-alerts) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
91
|
+
- [`subscription_id`](https://apidocs.chargebee.com/docs/api/alerts/list-alerts#subscription_id) has been added as query parameter to [`list_alerts`](https://apidocs.chargebee.com/docs/api/alerts/list-alerts) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
92
|
+
- [`status`](https://apidocs.chargebee.com/docs/api/alerts/list-alerts#status) has been added as query parameter to [`list_alerts`](https://apidocs.chargebee.com/docs/api/alerts/list-alerts) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
93
|
+
- [`limit`](https://apidocs.chargebee.com/docs/api/alert_statuses/list-alert-statuses-for-a-subscription#limit) has been added as query parameter to [`list_alert_statuses_for_a_subscription`](https://apidocs.chargebee.com/docs/api/alert_statuses/list-alert-statuses-for-a-subscription) in [`AlertStatus`](https://apidocs.chargebee.com/docs/api/alert_statuses).
|
|
94
|
+
- [`offset`](https://apidocs.chargebee.com/docs/api/alert_statuses/list-alert-statuses-for-a-subscription#offset) has been added as query parameter to [`list_alert_statuses_for_a_subscription`](https://apidocs.chargebee.com/docs/api/alert_statuses/list-alert-statuses-for-a-subscription) in [`AlertStatus`](https://apidocs.chargebee.com/docs/api/alert_statuses).
|
|
95
|
+
- [`alarm_status`](https://apidocs.chargebee.com/docs/api/alert_statuses/list-alert-statuses-for-a-subscription#alarm_status) has been added as query parameter to [`list_alert_statuses_for_a_subscription`](https://apidocs.chargebee.com/docs/api/alert_statuses/list-alert-statuses-for-a-subscription) in [`AlertStatus`](https://apidocs.chargebee.com/docs/api/alert_statuses).
|
|
96
|
+
- [`alert_id`](https://apidocs.chargebee.com/docs/api/alert_statuses/list-alert-statuses-for-a-subscription#alert_id) has been added as query parameter to [`list_alert_statuses_for_a_subscription`](https://apidocs.chargebee.com/docs/api/alert_statuses/list-alert-statuses-for-a-subscription) in [`AlertStatus`](https://apidocs.chargebee.com/docs/api/alert_statuses).
|
|
97
|
+
- [`limit`](https://apidocs.chargebee.com/docs/api/alert_statuses/list-alert-statuses-for-an-alert#limit) has been added as query parameter to [`list_alert_statuses_for_an_alert`](https://apidocs.chargebee.com/docs/api/alert_statuses/list-alert-statuses-for-an-alert) in [`AlertStatus`](https://apidocs.chargebee.com/docs/api/alert_statuses).
|
|
98
|
+
- [`offset`](https://apidocs.chargebee.com/docs/api/alert_statuses/list-alert-statuses-for-an-alert#offset) has been added as query parameter to [`list_alert_statuses_for_an_alert`](https://apidocs.chargebee.com/docs/api/alert_statuses/list-alert-statuses-for-an-alert) in [`AlertStatus`](https://apidocs.chargebee.com/docs/api/alert_statuses).
|
|
99
|
+
- [`alarm_status`](https://apidocs.chargebee.com/docs/api/alert_statuses/list-alert-statuses-for-an-alert#alarm_status) has been added as query parameter to [`list_alert_statuses_for_an_alert`](https://apidocs.chargebee.com/docs/api/alert_statuses/list-alert-statuses-for-an-alert) in [`AlertStatus`](https://apidocs.chargebee.com/docs/api/alert_statuses).
|
|
100
|
+
- [`exclude`](https://apidocs.chargebee.com/docs/api/invoices/list-invoices#exclude) has been added as query parameter to [`list_invoices`](https://apidocs.chargebee.com/docs/api/invoices/list-invoices) in [`Invoice`](https://apidocs.chargebee.com/docs/api/invoices).
|
|
101
|
+
- [`threshold`](https://apidocs.chargebee.com/docs/api/alerts/update-an-alert#threshold) has been added as request body parameter to [`update_an_alert`](https://apidocs.chargebee.com/docs/api/alerts/update-an-alert) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
102
|
+
- [`status`](https://apidocs.chargebee.com/docs/api/alerts/update-an-alert#status) has been added as request body parameter to [`update_an_alert`](https://apidocs.chargebee.com/docs/api/alerts/update-an-alert) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
103
|
+
- [`threshold`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert#threshold) has been added as request body parameter to [`create_an_alert`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
104
|
+
- [`filter_conditions`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert#filter_conditions) has been added as request body parameter to [`create_an_alert`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
105
|
+
- [`type`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert#type) has been added as request body parameter to [`create_an_alert`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
106
|
+
- [`name`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert#name) has been added as request body parameter to [`create_an_alert`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
107
|
+
- [`description`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert#description) has been added as request body parameter to [`create_an_alert`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
108
|
+
- [`metered_feature_id`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert#metered_feature_id) has been added as request body parameter to [`create_an_alert`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
109
|
+
- [`subscription_id`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert#subscription_id) has been added as request body parameter to [`create_an_alert`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
110
|
+
- [`meta`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert#meta) has been added as request body parameter to [`create_an_alert`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert) in [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
111
|
+
- [`defer_payment_method_type`](https://apidocs.chargebee.com/docs/api/payment_intents/create-a-payment-intent#defer_payment_method_type) has been added as request body parameter to [`create_a_payment_intent`](https://apidocs.chargebee.com/docs/api/payment_intents/create-a-payment-intent) in [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).
|
|
112
|
+
- [`net_term_days`](https://apidocs.chargebee.com/docs/api/quotes/edit-quote-for-charge-items-and-charges#net_term_days) has been added as request body parameter to [`edit_quote_for_charge_items_and_charges`](https://apidocs.chargebee.com/docs/api/quotes/edit-quote-for-charge-items-and-charges) in [`Quote`](https://apidocs.chargebee.com/docs/api/quotes).
|
|
113
|
+
- [`net_term_days`](https://apidocs.chargebee.com/docs/api/quotes/create-a-quote-for-charge-and-charge-items#net_term_days) has been added as request body parameter to [`create_a_quote_for_charge_and_charge_items`](https://apidocs.chargebee.com/docs/api/quotes/create-a-quote-for-charge-and-charge-items) in [`Quote`](https://apidocs.chargebee.com/docs/api/quotes).
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
### Deleted Attributes:
|
|
117
|
+
- `alarm_triggered_at` has been removed from [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
118
|
+
- `scope` has been removed from [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
119
|
+
- `alert_status` has been removed from [`AlertStatus`](https://apidocs.chargebee.com/docs/api/alert_statuses).
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
### New Enums:
|
|
123
|
+
- `within_limit` and `in_alarm` have been added as new values enum `AlarmStatus`.
|
|
124
|
+
- `moyasar` and `payway` have been added as new values enum `Gateway`.
|
|
125
|
+
- `absolute` and `percentage` have been added as new values enum `Mode`.
|
|
126
|
+
- `twint`, `go_pay`, `grab_pay`, `pay_co`, `after_pay`, `swish`, and `payme` have been added as new values enum `PaymentMethod`.
|
|
127
|
+
- `twint`, `go_pay`, `grab_pay`, `pay_co`, `after_pay`, `swish`, and `payme` have been added as new values enum `PaymentMethodType`.
|
|
128
|
+
- `twint`, `go_pay`, `grab_pay`, `pay_co`, `after_pay`, `swish`, and `payme` have been added as new values enum `Type`.
|
|
129
|
+
- `mada` has been added as a new value to enum attribute [`card_type`](https://apidocs.chargebee.com/docs/api/cards/card-object#card_type) in [`Card`](https://apidocs.chargebee.com/docs/api/cards).
|
|
130
|
+
- `rate_limited` has been added as a new value to enum attribute [`webhook_status`](https://apidocs.chargebee.com/docs/api/events/event-object#webhook_status) in [`Event`](https://apidocs.chargebee.com/docs/api/events).
|
|
131
|
+
- `twint`, `go_pay`, `grab_pay`, `pay_co`, `after_pay`, `swish`, and `payme` have been added as new values to enum attribute [`payment_method_type`](https://apidocs.chargebee.com/docs/api/payment_intents/payment-intent-object#payment_method_type) in [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).
|
|
132
|
+
- `twint`, `go_pay`, `grab_pay`, `pay_co`, `after_pay`, `swish`, and `payme` have been added as new values to enum attribute [`active_payment_attempt.payment_method_type`](https://apidocs.chargebee.com/docs/api/payment_intents/payment-intent-object#active_payment_attempt_payment_method_type) in [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).
|
|
133
|
+
- `mada` has been added as a new value to enum attribute [`card.brand`](https://apidocs.chargebee.com/docs/api/payment_sources/payment-source-object#card_brand) in [`PaymentSource`](https://apidocs.chargebee.com/docs/api/payment_sources).
|
|
134
|
+
- `plan_price`, `addon_price`, `charge_price`, and `charge` have been added as new values to enum attribute [`entity_type`](https://apidocs.chargebee.com/docs/api/quote_entitlements/quote-entitlement-object#entity_type) in [`QuoteEntitlement`](https://apidocs.chargebee.com/docs/api/quote_entitlements).
|
|
135
|
+
- `disabled` and `enabled` have been added as new values to enum query parameter `status.is` in [`list_applicable_alerts_for_a_subscription`](https://apidocs.chargebee.com/docs/api/alerts/list-applicable-alerts-for-a-subscription) of [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
136
|
+
- `enabled` and `disabled` have been added as new values to enum request body parameter `status` in [`update_an_alert`](https://apidocs.chargebee.com/docs/api/alerts/update-an-alert) of [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
137
|
+
- `disabled` and `enabled` have been added as new values to enum query parameter `status.is` in [`list_alerts`](https://apidocs.chargebee.com/docs/api/alerts/list-alerts) of [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
138
|
+
- `plan_price_id` has been added as a new value to enum request body parameter `filter_conditions.field` in [`create_an_alert`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert) of [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
139
|
+
- `not_equals` and `equals` have been added as new values to enum request body parameter `filter_conditions.operator` in [`create_an_alert`](https://apidocs.chargebee.com/docs/api/alerts/create-an-alert) of [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
140
|
+
- `rate_limited` has been added as a new value to enum query parameter `webhook_status.is` in [`list_events`](https://apidocs.chargebee.com/docs/api/events/list-events) of [`Event`](https://apidocs.chargebee.com/docs/api/events).
|
|
141
|
+
- `rate_limited` has been added as a new value to enum query parameter `webhook_status.is_not` in [`list_events`](https://apidocs.chargebee.com/docs/api/events/list-events) of [`Event`](https://apidocs.chargebee.com/docs/api/events).
|
|
142
|
+
- `rate_limited` has been added as a new value to enum query parameter `webhook_status.in` in [`list_events`](https://apidocs.chargebee.com/docs/api/events/list-events) of [`Event`](https://apidocs.chargebee.com/docs/api/events).
|
|
143
|
+
- `rate_limited` has been added as a new value to enum query parameter `webhook_status.not_in` in [`list_events`](https://apidocs.chargebee.com/docs/api/events/list-events) of [`Event`](https://apidocs.chargebee.com/docs/api/events).
|
|
144
|
+
- `twint`, `go_pay`, `grab_pay`, `pay_co`, `after_pay`, `swish`, and `payme` have been added as new values to enum request body parameter `payment_method_type` in [`update_a_payment_intent`](https://apidocs.chargebee.com/docs/api/payment_intents/update-a-payment-intent) of [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).
|
|
145
|
+
- `twint`, `go_pay`, `grab_pay`, `pay_co`, `after_pay`, `swish`, and `payme` have been added as new values to enum request body parameter `payment_method_type` in [`create_a_payment_intent`](https://apidocs.chargebee.com/docs/api/payment_intents/create-a-payment-intent) of [`PaymentIntent`](https://apidocs.chargebee.com/docs/api/payment_intents).
|
|
146
|
+
- `mada` has been added as a new value to enum request body parameter `card.brand` in [`create_using_permanent_token`](https://apidocs.chargebee.com/docs/api/payment_sources/create-using-permanent-token) of [`PaymentSource`](https://apidocs.chargebee.com/docs/api/payment_sources).
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
1
150
|
### v2.70.0 (2026-03-27)
|
|
2
151
|
* * *
|
|
3
152
|
### New Resources:
|
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.
|
|
1
|
+
2.72.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.
|
|
8
|
-
s.date = '2026-
|
|
7
|
+
s.version = '2.72.0'
|
|
8
|
+
s.date = '2026-06-08'
|
|
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 = {
|
|
@@ -78,6 +78,7 @@ Gem::Specification.new do |s|
|
|
|
78
78
|
lib/chargebee/models/event.rb
|
|
79
79
|
lib/chargebee/models/export.rb
|
|
80
80
|
lib/chargebee/models/feature.rb
|
|
81
|
+
lib/chargebee/models/filter_condition.rb
|
|
81
82
|
lib/chargebee/models/gateway_error_detail.rb
|
|
82
83
|
lib/chargebee/models/gift.rb
|
|
83
84
|
lib/chargebee/models/hierarchy.rb
|
|
@@ -121,6 +122,7 @@ Gem::Specification.new do |s|
|
|
|
121
122
|
lib/chargebee/models/promotional_credit.rb
|
|
122
123
|
lib/chargebee/models/purchase.rb
|
|
123
124
|
lib/chargebee/models/quote.rb
|
|
125
|
+
lib/chargebee/models/quote_entitlement.rb
|
|
124
126
|
lib/chargebee/models/quote_line_group.rb
|
|
125
127
|
lib/chargebee/models/quoted_charge.rb
|
|
126
128
|
lib/chargebee/models/quoted_delta_ramp.rb
|
|
@@ -2,10 +2,58 @@ module ChargeBee
|
|
|
2
2
|
class Alert < Model
|
|
3
3
|
|
|
4
4
|
attr_accessor :id, :type, :name, :description, :metered_feature_id, :subscription_id, :status,
|
|
5
|
-
:
|
|
5
|
+
:meta, :created_at, :updated_at
|
|
6
6
|
|
|
7
7
|
# OPERATIONS
|
|
8
8
|
#-----------
|
|
9
9
|
|
|
10
|
+
def self.create(params, env=nil, headers={})
|
|
11
|
+
jsonKeys = {
|
|
12
|
+
}
|
|
13
|
+
options = {
|
|
14
|
+
:isIdempotent => true
|
|
15
|
+
}
|
|
16
|
+
Request.send('post', uri_path("alerts"), params, env, headers,nil, false, jsonKeys, options)
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
def self.retrieve(id, env=nil, headers={})
|
|
20
|
+
jsonKeys = {
|
|
21
|
+
}
|
|
22
|
+
options = {}
|
|
23
|
+
Request.send('get', uri_path("alerts",id.to_s), {}, env, headers,nil, false, jsonKeys, options)
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
def self.list(params={}, env=nil, headers={})
|
|
27
|
+
jsonKeys = {
|
|
28
|
+
}
|
|
29
|
+
options = {}
|
|
30
|
+
Request.send_list_request('get', uri_path("alerts"), params, env, headers,nil, false, jsonKeys, options)
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
def self.update(id, params={}, env=nil, headers={})
|
|
34
|
+
jsonKeys = {
|
|
35
|
+
}
|
|
36
|
+
options = {
|
|
37
|
+
:isIdempotent => true
|
|
38
|
+
}
|
|
39
|
+
Request.send('post', uri_path("alerts",id.to_s), params, env, headers,nil, false, jsonKeys, options)
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
def self.delete(id, env=nil, headers={})
|
|
43
|
+
jsonKeys = {
|
|
44
|
+
}
|
|
45
|
+
options = {
|
|
46
|
+
:isIdempotent => true
|
|
47
|
+
}
|
|
48
|
+
Request.send('post', uri_path("alerts",id.to_s,"delete"), {}, env, headers,nil, false, jsonKeys, options)
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
def self.application_alerts_for_subscription(id, params={}, env=nil, headers={})
|
|
52
|
+
jsonKeys = {
|
|
53
|
+
}
|
|
54
|
+
options = {}
|
|
55
|
+
Request.send('get', uri_path("subscriptions",id.to_s,"applicable_alerts"), params, env, headers,nil, false, jsonKeys, options)
|
|
56
|
+
end
|
|
57
|
+
|
|
10
58
|
end # ~Alert
|
|
11
59
|
end # ~ChargeBee
|
|
@@ -1,10 +1,24 @@
|
|
|
1
1
|
module ChargeBee
|
|
2
2
|
class AlertStatus < Model
|
|
3
3
|
|
|
4
|
-
attr_accessor :alert_id, :subscription_id, :
|
|
4
|
+
attr_accessor :alert_id, :subscription_id, :alarm_status, :alarm_triggered_at
|
|
5
5
|
|
|
6
6
|
# OPERATIONS
|
|
7
7
|
#-----------
|
|
8
8
|
|
|
9
|
+
def self.alert_statuses_for_subscription(id, params={}, env=nil, headers={})
|
|
10
|
+
jsonKeys = {
|
|
11
|
+
}
|
|
12
|
+
options = {}
|
|
13
|
+
Request.send('get', uri_path("subscriptions",id.to_s,"alert_statuses"), params, env, headers,nil, false, jsonKeys, options)
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
def self.alert_statuses_for_alert(id, params={}, env=nil, headers={})
|
|
17
|
+
jsonKeys = {
|
|
18
|
+
}
|
|
19
|
+
options = {}
|
|
20
|
+
Request.send('get', uri_path("alerts",id.to_s,"alert_statuses"), params, env, headers,nil, false, jsonKeys, options)
|
|
21
|
+
end
|
|
22
|
+
|
|
9
23
|
end # ~AlertStatus
|
|
10
24
|
end # ~ChargeBee
|
|
@@ -72,7 +72,7 @@ module ChargeBee
|
|
|
72
72
|
Request.send('post', uri_path("gifts",id.to_s,"cancel"), {}, env, headers,nil, false, jsonKeys, options)
|
|
73
73
|
end
|
|
74
74
|
|
|
75
|
-
def self.update_gift(id, params, env=nil, headers={})
|
|
75
|
+
def self.update_gift(id, params={}, env=nil, headers={})
|
|
76
76
|
jsonKeys = {
|
|
77
77
|
}
|
|
78
78
|
options = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
module ChargeBee
|
|
2
2
|
class OmnichannelSubscription < Model
|
|
3
3
|
|
|
4
|
-
attr_accessor :id, :id_at_source, :app_id, :source, :customer_id, :created_at, :
|
|
5
|
-
:omnichannel_subscription_items, :initial_purchase_transaction
|
|
4
|
+
attr_accessor :id, :id_at_source, :app_id, :source, :customer_id, :created_at, :purchased_at,
|
|
5
|
+
:updated_at, :resource_version, :omnichannel_subscription_items, :initial_purchase_transaction
|
|
6
6
|
|
|
7
7
|
# OPERATIONS
|
|
8
8
|
#-----------
|
|
@@ -11,8 +11,8 @@ module ChargeBee
|
|
|
11
11
|
|
|
12
12
|
attr_accessor :id, :item_id_at_source, :item_parent_id_at_source, :status, :auto_renew_status,
|
|
13
13
|
:current_term_start, :current_term_end, :expired_at, :expiration_reason, :cancelled_at, :cancellation_reason,
|
|
14
|
-
:grace_period_expires_at, :resumes_at, :has_scheduled_changes, :
|
|
15
|
-
:upcoming_renewal, :linked_item
|
|
14
|
+
:grace_period_expires_at, :resumes_at, :has_scheduled_changes, :updated_at, :resource_version,
|
|
15
|
+
:omnichannel_subscription_item_offers, :upcoming_renewal, :linked_item
|
|
16
16
|
|
|
17
17
|
# OPERATIONS
|
|
18
18
|
#-----------
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
module ChargeBee
|
|
2
|
+
class QuoteEntitlement < Model
|
|
3
|
+
|
|
4
|
+
attr_accessor :entity_id, :entity_type, :feature_id, :value, :is_enabled, :start_date, :end_date,
|
|
5
|
+
:created_at, :modified_at
|
|
6
|
+
|
|
7
|
+
# OPERATIONS
|
|
8
|
+
#-----------
|
|
9
|
+
|
|
10
|
+
end # ~QuoteEntitlement
|
|
11
|
+
end # ~ChargeBee
|
data/lib/chargebee/result.rb
CHANGED
|
@@ -474,6 +474,12 @@ module ChargeBee
|
|
|
474
474
|
return pricing_page_session;
|
|
475
475
|
end
|
|
476
476
|
|
|
477
|
+
def omnichannel_subscription_item_scheduled_change()
|
|
478
|
+
omnichannel_subscription_item_scheduled_change = get(:omnichannel_subscription_item_scheduled_change, OmnichannelSubscriptionItemScheduledChange,
|
|
479
|
+
{:current_state => OmnichannelSubscriptionItemScheduledChange::CurrentState, :scheduled_state => OmnichannelSubscriptionItemScheduledChange::ScheduledState});
|
|
480
|
+
return omnichannel_subscription_item_scheduled_change;
|
|
481
|
+
end
|
|
482
|
+
|
|
477
483
|
def omnichannel_subscription()
|
|
478
484
|
omnichannel_subscription = get(:omnichannel_subscription, OmnichannelSubscription, {},
|
|
479
485
|
{:omnichannel_subscription_items => OmnichannelSubscriptionItem, :initial_purchase_transaction => OmnichannelTransaction});
|
|
@@ -529,12 +535,6 @@ module ChargeBee
|
|
|
529
535
|
return usage_event;
|
|
530
536
|
end
|
|
531
537
|
|
|
532
|
-
def omnichannel_subscription_item_scheduled_change()
|
|
533
|
-
omnichannel_subscription_item_scheduled_change = get(:omnichannel_subscription_item_scheduled_change, OmnichannelSubscriptionItemScheduledChange,
|
|
534
|
-
{:current_state => OmnichannelSubscriptionItemScheduledChange::CurrentState, :scheduled_state => OmnichannelSubscriptionItemScheduledChange::ScheduledState});
|
|
535
|
-
return omnichannel_subscription_item_scheduled_change;
|
|
536
|
-
end
|
|
537
|
-
|
|
538
538
|
def usage_file()
|
|
539
539
|
usage_file = get(:usage_file, UsageFile,
|
|
540
540
|
{:upload_detail => UsageFile::UploadDetail});
|
|
@@ -583,6 +583,11 @@ module ChargeBee
|
|
|
583
583
|
return alert;
|
|
584
584
|
end
|
|
585
585
|
|
|
586
|
+
def filter_condition()
|
|
587
|
+
filter_condition = get(:filter_condition, FilterCondition);
|
|
588
|
+
return filter_condition;
|
|
589
|
+
end
|
|
590
|
+
|
|
586
591
|
def alert_status()
|
|
587
592
|
alert_status = get(:alert_status, AlertStatus);
|
|
588
593
|
return alert_status;
|
data/lib/chargebee.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: chargebee
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.72.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rajaraman S
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2026-
|
|
12
|
+
date: 2026-06-08 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: cgi
|
|
@@ -119,6 +119,7 @@ files:
|
|
|
119
119
|
- lib/chargebee/models/event.rb
|
|
120
120
|
- lib/chargebee/models/export.rb
|
|
121
121
|
- lib/chargebee/models/feature.rb
|
|
122
|
+
- lib/chargebee/models/filter_condition.rb
|
|
122
123
|
- lib/chargebee/models/gateway_error_detail.rb
|
|
123
124
|
- lib/chargebee/models/gift.rb
|
|
124
125
|
- lib/chargebee/models/hierarchy.rb
|
|
@@ -162,6 +163,7 @@ files:
|
|
|
162
163
|
- lib/chargebee/models/promotional_credit.rb
|
|
163
164
|
- lib/chargebee/models/purchase.rb
|
|
164
165
|
- lib/chargebee/models/quote.rb
|
|
166
|
+
- lib/chargebee/models/quote_entitlement.rb
|
|
165
167
|
- lib/chargebee/models/quote_line_group.rb
|
|
166
168
|
- lib/chargebee/models/quoted_charge.rb
|
|
167
169
|
- lib/chargebee/models/quoted_delta_ramp.rb
|