chargebee 2.70.0 → 2.71.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 +89 -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/quote_entitlement.rb +11 -0
- data/lib/chargebee/result.rb +10 -0
- 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: 8f99b041261e6ff81f49129f896e4bd1e8350c1e6f92c23c342a4ddf5b8e5bd8
|
|
4
|
+
data.tar.gz: 7a06dac9b5a9369546306f8c511df5da798fbfa3ec039a7c4c0c2970ae1f7495
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e917722fab3438a697fa0e49721a43fa9b593b2f0c3303e691b117ce65219b915a31d307e543c31e55446d6608916110058ef8242d39a20f989e07b6e6fda018
|
|
7
|
+
data.tar.gz: 74ae9a35b8ebf5bb51e52d5e8d0bbe1db1d8841effaa3767c3b89757f50dd6c854c9f82dc0ac5e62022a0b2f311e7476042fcd10bb8e96b0556ffb2ba64787cf
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,92 @@
|
|
|
1
|
+
### v2.71.0 (2026-05-04)
|
|
2
|
+
* * *
|
|
3
|
+
### New Resources:
|
|
4
|
+
- [`QuoteEntitlement`](https://apidocs.chargebee.com/docs/api/quote_entitlements) has been added.
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
### New Actions:
|
|
8
|
+
- [`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).
|
|
9
|
+
- [`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).
|
|
10
|
+
- [`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).
|
|
11
|
+
- [`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).
|
|
12
|
+
- [`list_alerts`](https://apidocs.chargebee.com/docs/api/alerts/list-alerts) has been added to [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
13
|
+
- [`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).
|
|
14
|
+
- [`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).
|
|
15
|
+
- [`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).
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### New Attributes:
|
|
19
|
+
- [`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).
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### New Parameters:
|
|
23
|
+
- [`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).
|
|
24
|
+
- [`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).
|
|
25
|
+
- [`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).
|
|
26
|
+
- [`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).
|
|
27
|
+
- [`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).
|
|
28
|
+
- [`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).
|
|
29
|
+
- [`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).
|
|
30
|
+
- [`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).
|
|
31
|
+
- [`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).
|
|
32
|
+
- [`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).
|
|
33
|
+
- [`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).
|
|
34
|
+
- [`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).
|
|
35
|
+
- [`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).
|
|
36
|
+
- [`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).
|
|
37
|
+
- [`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).
|
|
38
|
+
- [`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).
|
|
39
|
+
- [`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).
|
|
40
|
+
- [`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).
|
|
41
|
+
- [`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).
|
|
42
|
+
- [`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).
|
|
43
|
+
- [`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).
|
|
44
|
+
- [`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).
|
|
45
|
+
- [`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).
|
|
46
|
+
- [`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).
|
|
47
|
+
- [`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).
|
|
48
|
+
- [`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).
|
|
49
|
+
- [`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).
|
|
50
|
+
- [`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).
|
|
51
|
+
- [`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).
|
|
52
|
+
- [`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).
|
|
53
|
+
- [`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).
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
### Deleted Attributes:
|
|
57
|
+
- `alarm_triggered_at` has been removed from [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
58
|
+
- `scope` has been removed from [`Alert`](https://apidocs.chargebee.com/docs/api/alerts).
|
|
59
|
+
- `alert_status` has been removed from [`AlertStatus`](https://apidocs.chargebee.com/docs/api/alert_statuses).
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
### New Enums:
|
|
63
|
+
- `within_limit` and `in_alarm` have been added as new values enum `AlarmStatus`.
|
|
64
|
+
- `moyasar` and `payway` have been added as new values enum `Gateway`.
|
|
65
|
+
- `absolute` and `percentage` have been added as new values enum `Mode`.
|
|
66
|
+
- `twint`, `go_pay`, `grab_pay`, `pay_co`, `after_pay`, `swish`, and `payme` have been added as new values enum `PaymentMethod`.
|
|
67
|
+
- `twint`, `go_pay`, `grab_pay`, `pay_co`, `after_pay`, `swish`, and `payme` have been added as new values enum `PaymentMethodType`.
|
|
68
|
+
- `twint`, `go_pay`, `grab_pay`, `pay_co`, `after_pay`, `swish`, and `payme` have been added as new values enum `Type`.
|
|
69
|
+
- `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).
|
|
70
|
+
- `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).
|
|
71
|
+
- `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).
|
|
72
|
+
- `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).
|
|
73
|
+
- `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).
|
|
74
|
+
- `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).
|
|
75
|
+
- `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).
|
|
76
|
+
- `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).
|
|
77
|
+
- `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).
|
|
78
|
+
- `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).
|
|
79
|
+
- `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).
|
|
80
|
+
- `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).
|
|
81
|
+
- `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).
|
|
82
|
+
- `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).
|
|
83
|
+
- `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).
|
|
84
|
+
- `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).
|
|
85
|
+
- `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).
|
|
86
|
+
- `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).
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
1
90
|
### v2.70.0 (2026-03-27)
|
|
2
91
|
* * *
|
|
3
92
|
### New Resources:
|
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.
|
|
1
|
+
2.71.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.71.0'
|
|
8
|
+
s.date = '2026-05-04'
|
|
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
|
|
@@ -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
|
@@ -230,6 +230,11 @@ module ChargeBee
|
|
|
230
230
|
return quote_line_group;
|
|
231
231
|
end
|
|
232
232
|
|
|
233
|
+
def quote_entitlement()
|
|
234
|
+
quote_entitlement = get(:quote_entitlement, QuoteEntitlement);
|
|
235
|
+
return quote_entitlement;
|
|
236
|
+
end
|
|
237
|
+
|
|
233
238
|
def cpq_quote_signature()
|
|
234
239
|
cpq_quote_signature = get(:cpq_quote_signature, CpqQuoteSignature);
|
|
235
240
|
return cpq_quote_signature;
|
|
@@ -583,6 +588,11 @@ module ChargeBee
|
|
|
583
588
|
return alert;
|
|
584
589
|
end
|
|
585
590
|
|
|
591
|
+
def filter_condition()
|
|
592
|
+
filter_condition = get(:filter_condition, FilterCondition);
|
|
593
|
+
return filter_condition;
|
|
594
|
+
end
|
|
595
|
+
|
|
586
596
|
def alert_status()
|
|
587
597
|
alert_status = get(:alert_status, AlertStatus);
|
|
588
598
|
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.71.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-05-04 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
|