chargebee 2.14.0 → 2.15.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.
- package/CHANGELOG.md +22 -1
- package/lib/chargebee.js +1 -1
- package/lib/resources/api_endpoints.js +7 -7
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
### v2.15.0 (2022-09-20)
|
|
2
|
+
* * *
|
|
3
|
+
|
|
4
|
+
#### New endpoints:
|
|
5
|
+
* subscriptions#list_discounts has been added to the subscriptions resource.
|
|
6
|
+
|
|
7
|
+
#### New attributes:
|
|
8
|
+
* billing_month has been added to the customer resource.
|
|
9
|
+
|
|
10
|
+
#### Added input parameters:
|
|
11
|
+
* billing_month has been added to the customers#change_billing_date API.
|
|
12
|
+
* line_items[subscription_id] has been added to the invoices#import_invoice API.
|
|
13
|
+
* layout has been added to hosted_pages#checkout_onetime_for_items, hosted_pages#checkout_new_for_items and hosted_pages#checkout_existing_for_items APIs.
|
|
14
|
+
* discounts[apply_on], discounts[percentage], discounts[amount] and discounts[item_price_id] have been added to estimates#create_subscription_for_items, estimates#create_subscription_for_items_estimate, estimates#update_subscription_for_items, hosted_pages#checkout_onetime_for_items, hosted_pages#checkout_new_for_items, hosted_pages#checkout_existing_for_items, invoices#create_for_charge_items_and_charges, quotes#create_subscription_for_items, quotes#edit_create_subscription_quote_for_items, quotes#update_subscription_quote_for_items, quotes#edit_update_subscription_quote_for_items, quotes#create_for_charge_items_and_charges, quotes#edit_for_charge_items_and_charges, subscriptions#create_subscription_for_items, subscriptions#update_subscription_for_items and subscriptions#import_subscription_for_items APIs.
|
|
15
|
+
* discounts[duration_type], discounts[period], discounts[period_unit] and discounts[included_in_mrr] have been added to estimates#create_subscription_for_items, estimates#create_subscription_for_items_estimate, estimates#update_subscription_for_items, hosted_pages#checkout_new_for_items, hosted_pages#checkout_existing_for_items, quotes#create_subscription_for_items, quotes#edit_create_subscription_quote_for_items, quotes#update_subscription_quote_for_items, quotes#edit_update_subscription_quote_for_items, subscriptions#create_subscription_for_items, subscriptions#update_subscription_for_items and subscriptions#import_subscription_for_items APIs.
|
|
16
|
+
* discounts[operation_type] and discounts[id] have been added to estimates#update_subscription_for_items, quotes#update_subscription_quote_for_items, hosted_pages#checkout_existing_for_items, quotes#edit_update_subscription_quote_for_items, subscriptions#update_subscription_for_items and subscriptions#import_subscription_for_items APIs.
|
|
17
|
+
|
|
18
|
+
#### New Enum values:
|
|
19
|
+
* global_payments has been added to gateway enum.
|
|
20
|
+
* layout enum has been added.
|
|
21
|
+
|
|
1
22
|
### v2.14.0 (2022-08-22)
|
|
2
23
|
* * *
|
|
3
24
|
|
|
@@ -15,7 +36,7 @@
|
|
|
15
36
|
#### New Resource:
|
|
16
37
|
* InAppSubscription have been added.
|
|
17
38
|
|
|
18
|
-
|
|
39
|
+
#### Removed input parameters:
|
|
19
40
|
* BusinessEntityId has been removed from Purchase#CreateRequest and Purchase#EstimateRequest.
|
|
20
41
|
|
|
21
42
|
|
package/lib/chargebee.js
CHANGED
|
@@ -42,6 +42,13 @@ var _endpoints = {
|
|
|
42
42
|
"/contract_terms",
|
|
43
43
|
true
|
|
44
44
|
],
|
|
45
|
+
[
|
|
46
|
+
"list_discounts",
|
|
47
|
+
"GET",
|
|
48
|
+
"/subscriptions",
|
|
49
|
+
"/discounts",
|
|
50
|
+
true
|
|
51
|
+
],
|
|
45
52
|
[
|
|
46
53
|
"retrieve",
|
|
47
54
|
"GET",
|
|
@@ -2525,13 +2532,6 @@ var _endpoints = {
|
|
|
2525
2532
|
null,
|
|
2526
2533
|
false
|
|
2527
2534
|
],
|
|
2528
|
-
[
|
|
2529
|
-
"retrieve",
|
|
2530
|
-
"GET",
|
|
2531
|
-
"/purchases",
|
|
2532
|
-
null,
|
|
2533
|
-
true
|
|
2534
|
-
],
|
|
2535
2535
|
[
|
|
2536
2536
|
"estimate",
|
|
2537
2537
|
"POST",
|