chargebee 2.19.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 +58 -0
- package/lib/chargebee.js +1 -1
- package/lib/resources/api_endpoints.js +38 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,61 @@
|
|
|
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
|
+
|
|
30
|
+
### v2.20.0 (2023-03-24)
|
|
31
|
+
* * *
|
|
32
|
+
|
|
33
|
+
#### Fixes:
|
|
34
|
+
* Fixed list_discounts subscriptions API error.
|
|
35
|
+
|
|
36
|
+
#### New Attributes:
|
|
37
|
+
* Einvoice#ReferenceNumber has been added to the CreditNote resource.
|
|
38
|
+
* Einvoice#ReferenceNumber has been added to the Invoice resource.
|
|
39
|
+
* einvoicing_method has been added to the Customer resource.
|
|
40
|
+
* StoreStatus and InvoiceId have been addded to the in_app_subscriptions resource.
|
|
41
|
+
|
|
42
|
+
#### Added Input Parameters:
|
|
43
|
+
* UpdateForItemsRequestParams#discount_quantity and UpdateRequestParams#discount_quantity parameter has been added to the coupon resource.
|
|
44
|
+
* UpdateBillingInfoRequestParams#einvoicing_method and CreateRequestParams#einvoicing_method parameter has been added to the customer resource.
|
|
45
|
+
* CreateCustomerParams#einvoicing_method , UpdateCustomerParams#einvoicing_metho and UpdateForItemsCustomerParams#einvoicing_method parameter has been added to the Subscription resource.
|
|
46
|
+
* CreateSubscriptionInfoParams#meta_data parameter has been added to the purchase resource.
|
|
47
|
+
|
|
48
|
+
#### New Endpoints:
|
|
49
|
+
* credit_note#SendEinvoice has been added to the CreditNote resource.
|
|
50
|
+
* invoice#SendEinvoice has been added to the Invoice resource.
|
|
51
|
+
* in_app_subscriptions#ImportSubscription and in_app_subscriptions#RetrieveStoreSubs requests have been added to the in_app_subscriptions resource.
|
|
52
|
+
|
|
53
|
+
#### New Enum Class:
|
|
54
|
+
* EinvoicingMethod has been added.
|
|
55
|
+
* StoreStatus has been added in in_app_subscriptions resource.
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
1
59
|
### v2.19.0 (2023-02-17)
|
|
2
60
|
* * *
|
|
3
61
|
|
package/lib/chargebee.js
CHANGED
|
@@ -900,6 +900,13 @@ var _endpoints = {
|
|
|
900
900
|
"/invoices",
|
|
901
901
|
"/resend_einvoice",
|
|
902
902
|
true
|
|
903
|
+
],
|
|
904
|
+
[
|
|
905
|
+
"send_einvoice",
|
|
906
|
+
"POST",
|
|
907
|
+
"/invoices",
|
|
908
|
+
"/send_einvoice",
|
|
909
|
+
true
|
|
903
910
|
]
|
|
904
911
|
],
|
|
905
912
|
"tax_withheld": [],
|
|
@@ -988,6 +995,13 @@ var _endpoints = {
|
|
|
988
995
|
"/resend_einvoice",
|
|
989
996
|
true
|
|
990
997
|
],
|
|
998
|
+
[
|
|
999
|
+
"send_einvoice",
|
|
1000
|
+
"POST",
|
|
1001
|
+
"/credit_notes",
|
|
1002
|
+
"/send_einvoice",
|
|
1003
|
+
true
|
|
1004
|
+
],
|
|
991
1005
|
[
|
|
992
1006
|
"import_credit_note",
|
|
993
1007
|
"POST",
|
|
@@ -2549,8 +2563,29 @@ var _endpoints = {
|
|
|
2549
2563
|
"/in_app_subscriptions",
|
|
2550
2564
|
"/import_receipt",
|
|
2551
2565
|
true
|
|
2566
|
+
],
|
|
2567
|
+
[
|
|
2568
|
+
"import_subscription",
|
|
2569
|
+
"POST",
|
|
2570
|
+
"/in_app_subscriptions",
|
|
2571
|
+
"/import_subscription",
|
|
2572
|
+
true
|
|
2573
|
+
],
|
|
2574
|
+
[
|
|
2575
|
+
"retrieve_store_subs",
|
|
2576
|
+
"POST",
|
|
2577
|
+
"/in_app_subscriptions",
|
|
2578
|
+
"/retrieve",
|
|
2579
|
+
true
|
|
2552
2580
|
]
|
|
2553
2581
|
],
|
|
2582
|
+
"non_subscription": [[
|
|
2583
|
+
"process_receipt",
|
|
2584
|
+
"POST",
|
|
2585
|
+
"/non_subscriptions",
|
|
2586
|
+
"/one_time_purchase",
|
|
2587
|
+
true
|
|
2588
|
+
]],
|
|
2554
2589
|
"entitlement_override": [
|
|
2555
2590
|
[
|
|
2556
2591
|
"add_entitlement_override_for_subscription",
|
|
@@ -2582,6 +2617,7 @@ var _endpoints = {
|
|
|
2582
2617
|
"/estimate",
|
|
2583
2618
|
false
|
|
2584
2619
|
]
|
|
2585
|
-
]
|
|
2620
|
+
],
|
|
2621
|
+
"media": []
|
|
2586
2622
|
};
|
|
2587
|
-
module.exports = _endpoints;
|
|
2623
|
+
module.exports = _endpoints;
|