chargebee 2.20.0 → 2.21.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 +29 -0
- package/lib/chargebee.js +1 -1
- package/lib/resources/api_endpoints.js +7 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,32 @@
|
|
|
1
|
+
### v2.21.0 (2023-04-28)
|
|
2
|
+
* * *
|
|
3
|
+
|
|
4
|
+
#### Fixes:
|
|
5
|
+
* SubscriptionId attribute has been maid as required in InAppSubscription resource.
|
|
6
|
+
|
|
7
|
+
#### New Attributes:
|
|
8
|
+
* TotalContractValueBeforeTax has been added to the ContractTerm resource.
|
|
9
|
+
* TotalContractValueBeforeTax#SubscriptionContractTerm has been added to the Subscription resource.
|
|
10
|
+
* TotalContractValueBeforeTax#SubscriptionEstimateContractTerm has been addded to the SubscriptionEstimate resource.
|
|
11
|
+
* CouponConstraints has been added to the Coupon resource.
|
|
12
|
+
|
|
13
|
+
#### New Resource:
|
|
14
|
+
* NonSubscription have been added.
|
|
15
|
+
|
|
16
|
+
#### Added Input Parameters:
|
|
17
|
+
* contract_term[total_amount_raised_before_tax]#ImportSubscriptionRequest, contract_term[total_amount_raised_before_tax]#ImportForItemsRequest, contract_term[total_amount_raised_before_tax]#ImportContractTermRequest and contract_term[total_amount_raised_before_tax]#ImportForCustomerRequest parameter has been added to Subscription resource.
|
|
18
|
+
* contract_term[total_contract_value_before_tax]#ImportContractTermRequest parameter has been added to Subscription resource.
|
|
19
|
+
* coupon_constraints[entity_type]#CreateForItemsRequestParams, coupon_constraints[type]#CreateForItemsRequestParams and coupon_constraints[value]#CreateForItemsRequestParams parameter has been added to the Coupon resource.
|
|
20
|
+
* coupon_constraints[entity_type]#UpdateForItemsRequestParams, coupon_constraints[type]#UpdateForItemsRequestParams and coupon_constraints[value]#UpdateForItemsRequestParams parameter has been added to the Coupon resource.
|
|
21
|
+
* export_type#CustomersRequest and export_type#SubscriptionsRequest parameter has been added to the Export resource.
|
|
22
|
+
|
|
23
|
+
#### New Enum Class:
|
|
24
|
+
* ExportType has been added.
|
|
25
|
+
|
|
26
|
+
#### New Enum values:
|
|
27
|
+
* pending_authorization has been added to StatusEnum#PaymentIntentPaymentAttempt to the PaymentIntent resource.
|
|
28
|
+
|
|
29
|
+
|
|
1
30
|
### v2.20.0 (2023-03-24)
|
|
2
31
|
* * *
|
|
3
32
|
|
package/lib/chargebee.js
CHANGED
|
@@ -2579,6 +2579,13 @@ var _endpoints = {
|
|
|
2579
2579
|
true
|
|
2580
2580
|
]
|
|
2581
2581
|
],
|
|
2582
|
+
"non_subscription": [[
|
|
2583
|
+
"process_receipt",
|
|
2584
|
+
"POST",
|
|
2585
|
+
"/non_subscriptions",
|
|
2586
|
+
"/one_time_purchase",
|
|
2587
|
+
true
|
|
2588
|
+
]],
|
|
2582
2589
|
"entitlement_override": [
|
|
2583
2590
|
[
|
|
2584
2591
|
"add_entitlement_override_for_subscription",
|