chargebee 2.71.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 +60 -0
- data/Gemfile.lock +1 -1
- data/VERSION +1 -1
- data/chargebee.gemspec +2 -2
- 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/result.rb +6 -11
- data/lib/chargebee.rb +1 -1
- metadata +2 -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,63 @@
|
|
|
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
|
+
|
|
1
61
|
### v2.71.0 (2026-05-04)
|
|
2
62
|
* * *
|
|
3
63
|
### 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 = {
|
|
@@ -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
|
#-----------
|
data/lib/chargebee/result.rb
CHANGED
|
@@ -230,11 +230,6 @@ 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
|
-
|
|
238
233
|
def cpq_quote_signature()
|
|
239
234
|
cpq_quote_signature = get(:cpq_quote_signature, CpqQuoteSignature);
|
|
240
235
|
return cpq_quote_signature;
|
|
@@ -479,6 +474,12 @@ module ChargeBee
|
|
|
479
474
|
return pricing_page_session;
|
|
480
475
|
end
|
|
481
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
|
+
|
|
482
483
|
def omnichannel_subscription()
|
|
483
484
|
omnichannel_subscription = get(:omnichannel_subscription, OmnichannelSubscription, {},
|
|
484
485
|
{:omnichannel_subscription_items => OmnichannelSubscriptionItem, :initial_purchase_transaction => OmnichannelTransaction});
|
|
@@ -534,12 +535,6 @@ module ChargeBee
|
|
|
534
535
|
return usage_event;
|
|
535
536
|
end
|
|
536
537
|
|
|
537
|
-
def omnichannel_subscription_item_scheduled_change()
|
|
538
|
-
omnichannel_subscription_item_scheduled_change = get(:omnichannel_subscription_item_scheduled_change, OmnichannelSubscriptionItemScheduledChange,
|
|
539
|
-
{:current_state => OmnichannelSubscriptionItemScheduledChange::CurrentState, :scheduled_state => OmnichannelSubscriptionItemScheduledChange::ScheduledState});
|
|
540
|
-
return omnichannel_subscription_item_scheduled_change;
|
|
541
|
-
end
|
|
542
|
-
|
|
543
538
|
def usage_file()
|
|
544
539
|
usage_file = get(:usage_file, UsageFile,
|
|
545
540
|
{:upload_detail => UsageFile::UploadDetail});
|
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
|