chargebee 2.18.0 → 2.20.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 +55 -0
- package/lib/chargebee.js +1 -1
- package/lib/resources/api_endpoints.js +51 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,58 @@
|
|
|
1
|
+
### v2.20.0 (2023-03-24)
|
|
2
|
+
* * *
|
|
3
|
+
|
|
4
|
+
#### Fixes:
|
|
5
|
+
* Fixed list_discounts subscriptions API error.
|
|
6
|
+
|
|
7
|
+
#### New Attributes:
|
|
8
|
+
* Einvoice#ReferenceNumber has been added to the CreditNote resource.
|
|
9
|
+
* Einvoice#ReferenceNumber has been added to the Invoice resource.
|
|
10
|
+
* einvoicing_method has been added to the Customer resource.
|
|
11
|
+
* StoreStatus and InvoiceId have been addded to the in_app_subscriptions resource.
|
|
12
|
+
|
|
13
|
+
#### Added Input Parameters:
|
|
14
|
+
* UpdateForItemsRequestParams#discount_quantity and UpdateRequestParams#discount_quantity parameter has been added to the coupon resource.
|
|
15
|
+
* UpdateBillingInfoRequestParams#einvoicing_method and CreateRequestParams#einvoicing_method parameter has been added to the customer resource.
|
|
16
|
+
* CreateCustomerParams#einvoicing_method , UpdateCustomerParams#einvoicing_metho and UpdateForItemsCustomerParams#einvoicing_method parameter has been added to the Subscription resource.
|
|
17
|
+
* CreateSubscriptionInfoParams#meta_data parameter has been added to the purchase resource.
|
|
18
|
+
|
|
19
|
+
#### New Endpoints:
|
|
20
|
+
* credit_note#SendEinvoice has been added to the CreditNote resource.
|
|
21
|
+
* invoice#SendEinvoice has been added to the Invoice resource.
|
|
22
|
+
* in_app_subscriptions#ImportSubscription and in_app_subscriptions#RetrieveStoreSubs requests have been added to the in_app_subscriptions resource.
|
|
23
|
+
|
|
24
|
+
#### New Enum Class:
|
|
25
|
+
* EinvoicingMethod has been added.
|
|
26
|
+
* StoreStatus has been added in in_app_subscriptions resource.
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### v2.19.0 (2023-02-17)
|
|
31
|
+
* * *
|
|
32
|
+
|
|
33
|
+
#### New Attributes:
|
|
34
|
+
* resource_version and updated_at parameter has been added to the tax_withheld resource.
|
|
35
|
+
|
|
36
|
+
#### Added input parameters:
|
|
37
|
+
* ListRequestParams#updated_at parameter has been added to attached_item resource.
|
|
38
|
+
* AttachedItemsAttachedItemParams#updated_at parameter has been added to export resource.
|
|
39
|
+
* CheckoutGiftRequestParams#coupon_ids parameter has been added to hosted_page resource.
|
|
40
|
+
* ProcessReceiptCustomerParams#email, ProcessReceiptCustomerParams#first_name and ProcessReceiptCustomerParams#last_name parameters has been added to in_app_subscription resource.
|
|
41
|
+
|
|
42
|
+
#### New endpoints:
|
|
43
|
+
* invoice#RecordTaxWithheld and invoice#RemoveTaxWithheld has been added to the invoice resource.
|
|
44
|
+
* credit_note#RemoveTaxWithheldRefund has been added to the credit_note resource.
|
|
45
|
+
|
|
46
|
+
#### New Enum values:
|
|
47
|
+
* custom has been added to payment_method Enum.
|
|
48
|
+
* ecentric has been added to gateway Enum.
|
|
49
|
+
|
|
50
|
+
#### Removed input parameters:
|
|
51
|
+
* EstimateRequestParams#EstimateInvoiceInfoParams parameter has been removed from purchase resource.
|
|
52
|
+
|
|
53
|
+
#### Deprecated input parameters:
|
|
54
|
+
* CheckoutGiftRequest#coupon parameter have been deprecated in hosted_page resource.
|
|
55
|
+
|
|
1
56
|
### v2.18.0 (2023-01-13)
|
|
2
57
|
* * *
|
|
3
58
|
|
package/lib/chargebee.js
CHANGED
|
@@ -824,6 +824,20 @@ var _endpoints = {
|
|
|
824
824
|
"/record_payment",
|
|
825
825
|
true
|
|
826
826
|
],
|
|
827
|
+
[
|
|
828
|
+
"record_tax_withheld",
|
|
829
|
+
"POST",
|
|
830
|
+
"/invoices",
|
|
831
|
+
"/record_tax_withheld",
|
|
832
|
+
true
|
|
833
|
+
],
|
|
834
|
+
[
|
|
835
|
+
"remove_tax_withheld",
|
|
836
|
+
"POST",
|
|
837
|
+
"/invoices",
|
|
838
|
+
"/remove_tax_withheld",
|
|
839
|
+
true
|
|
840
|
+
],
|
|
827
841
|
[
|
|
828
842
|
"refund",
|
|
829
843
|
"POST",
|
|
@@ -886,6 +900,13 @@ var _endpoints = {
|
|
|
886
900
|
"/invoices",
|
|
887
901
|
"/resend_einvoice",
|
|
888
902
|
true
|
|
903
|
+
],
|
|
904
|
+
[
|
|
905
|
+
"send_einvoice",
|
|
906
|
+
"POST",
|
|
907
|
+
"/invoices",
|
|
908
|
+
"/send_einvoice",
|
|
909
|
+
true
|
|
889
910
|
]
|
|
890
911
|
],
|
|
891
912
|
"tax_withheld": [],
|
|
@@ -960,6 +981,13 @@ var _endpoints = {
|
|
|
960
981
|
"/delete",
|
|
961
982
|
true
|
|
962
983
|
],
|
|
984
|
+
[
|
|
985
|
+
"remove_tax_withheld_refund",
|
|
986
|
+
"POST",
|
|
987
|
+
"/credit_notes",
|
|
988
|
+
"/remove_tax_withheld_refund",
|
|
989
|
+
true
|
|
990
|
+
],
|
|
963
991
|
[
|
|
964
992
|
"resend_einvoice",
|
|
965
993
|
"POST",
|
|
@@ -967,6 +995,13 @@ var _endpoints = {
|
|
|
967
995
|
"/resend_einvoice",
|
|
968
996
|
true
|
|
969
997
|
],
|
|
998
|
+
[
|
|
999
|
+
"send_einvoice",
|
|
1000
|
+
"POST",
|
|
1001
|
+
"/credit_notes",
|
|
1002
|
+
"/send_einvoice",
|
|
1003
|
+
true
|
|
1004
|
+
],
|
|
970
1005
|
[
|
|
971
1006
|
"import_credit_note",
|
|
972
1007
|
"POST",
|
|
@@ -2528,6 +2563,20 @@ var _endpoints = {
|
|
|
2528
2563
|
"/in_app_subscriptions",
|
|
2529
2564
|
"/import_receipt",
|
|
2530
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
|
|
2531
2580
|
]
|
|
2532
2581
|
],
|
|
2533
2582
|
"entitlement_override": [
|
|
@@ -2561,6 +2610,7 @@ var _endpoints = {
|
|
|
2561
2610
|
"/estimate",
|
|
2562
2611
|
false
|
|
2563
2612
|
]
|
|
2564
|
-
]
|
|
2613
|
+
],
|
|
2614
|
+
"media": []
|
|
2565
2615
|
};
|
|
2566
2616
|
module.exports = _endpoints;
|