chargebee 2.13.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 +43 -1
- package/lib/chargebee.js +1 -1
- package/lib/resources/api_endpoints.js +23 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,46 @@
|
|
|
1
|
-
### v2.
|
|
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
|
+
|
|
22
|
+
### v2.14.0 (2022-08-22)
|
|
23
|
+
* * *
|
|
24
|
+
|
|
25
|
+
#### New endpoints:
|
|
26
|
+
* Purchase#Retrieve has been added to the Purchase resource.
|
|
27
|
+
|
|
28
|
+
#### New attributes:
|
|
29
|
+
* ResourceVersion has been added to the Token resource.
|
|
30
|
+
* UpdatedAt has been added to the Token and UnbilledCharge resources.
|
|
31
|
+
* ReferenceLineItemId has been added to the CreditNote#LineItem, CreditNoteEstimate#LineItem, Quote#LineItem, QuoteLineGroup#LineItem, InvoiceEstimate#LineItem and Invoice#LineItem subResources.
|
|
32
|
+
* Index has been added to the Order#ShippingAddress, Invoice#ShippingAddress, Quote#ShippingAddress, QuotedCharge#ItemTier, QuotedSubscription#ItemTier, Subscription#ItemTier, Subscription#ShippingAddress and SubscriptionEstimate#ShippingAddress subResources.
|
|
33
|
+
* VoidWithCreditNote has been added to the Invoice#VoidInvoiceRequest subresources.
|
|
34
|
+
* PaymentMethodDetails has been added to the Transaction resource.
|
|
35
|
+
|
|
36
|
+
#### New Resource:
|
|
37
|
+
* InAppSubscription have been added.
|
|
38
|
+
|
|
39
|
+
#### Removed input parameters:
|
|
40
|
+
* BusinessEntityId has been removed from Purchase#CreateRequest and Purchase#EstimateRequest.
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
### v2.13.0 (2022-07-08)
|
|
2
44
|
* * *
|
|
3
45
|
|
|
4
46
|
### Fixes:
|
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",
|
|
@@ -2485,6 +2492,22 @@ var _endpoints = {
|
|
|
2485
2492
|
true
|
|
2486
2493
|
]
|
|
2487
2494
|
],
|
|
2495
|
+
"in_app_subscription": [
|
|
2496
|
+
[
|
|
2497
|
+
"process_receipt",
|
|
2498
|
+
"POST",
|
|
2499
|
+
"/in_app_subscriptions",
|
|
2500
|
+
"/process_purchase_command",
|
|
2501
|
+
true
|
|
2502
|
+
],
|
|
2503
|
+
[
|
|
2504
|
+
"import_receipt",
|
|
2505
|
+
"POST",
|
|
2506
|
+
"/in_app_subscriptions",
|
|
2507
|
+
"/import_receipt",
|
|
2508
|
+
true
|
|
2509
|
+
]
|
|
2510
|
+
],
|
|
2488
2511
|
"entitlement_override": [
|
|
2489
2512
|
[
|
|
2490
2513
|
"add_entitlement_override_for_subscription",
|