chargebee 2.16.0 → 2.17.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 CHANGED
@@ -1,3 +1,25 @@
1
+ ### v2.17.0 (2022-11-10)
2
+ * * *
3
+
4
+ #### New endpoints:
5
+ * credit_notes#import_credit_note has been added to the credit_notes resource.
6
+ * subscriptions#import_unbilled_charges has been added to the subscriptions resource.
7
+
8
+ #### New attributes:
9
+ * shipped_at parameter has been added to the orders#list_orders API.
10
+
11
+ #### Added input parameters:
12
+ * voided_at and void_reason_code have been added to the invoices#import_invoice API.
13
+
14
+ #### New attributes:
15
+ * business_entity_id has been added to the orders resource.
16
+
17
+ #### New Enum values:
18
+ * registered has been added to the status enum in credit_note_einvoice and invoice_einvoice subresources.
19
+ * type enum has been added to the subscription_discount subresource.
20
+ * subscription_entitlements_created has been added to the event_type enum.
21
+
22
+
1
23
  ### v2.16.0 (2022-09-20)
2
24
 
3
25
  #### New Resource:
package/lib/chargebee.js CHANGED
@@ -8,7 +8,7 @@ ChargeBee._env = {
8
8
  hostSuffix: '.chargebee.com',
9
9
  apiPath: '/api/v2',
10
10
  timeout: 80000,
11
- clientVersion: 'v2.16.0',
11
+ clientVersion: 'v2.17.0',
12
12
  port: 443,
13
13
  timemachineWaitInMillis: 3000,
14
14
  exportWaitInMillis: 3000
@@ -182,6 +182,13 @@ var _endpoints = {
182
182
  "/import_contract_term",
183
183
  true
184
184
  ],
185
+ [
186
+ "import_unbilled_charges",
187
+ "POST",
188
+ "/subscriptions",
189
+ "/import_unbilled_charges",
190
+ true
191
+ ],
185
192
  [
186
193
  "import_for_items",
187
194
  "POST",
@@ -952,6 +959,13 @@ var _endpoints = {
952
959
  "/credit_notes",
953
960
  "/resend_einvoice",
954
961
  true
962
+ ],
963
+ [
964
+ "import_credit_note",
965
+ "POST",
966
+ "/credit_notes",
967
+ "/import_credit_note",
968
+ false
955
969
  ]
956
970
  ],
957
971
  "unbilled_charge": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"chargebee",
3
- "version":"2.16.0",
3
+ "version":"2.17.0",
4
4
  "description":"A library for integrating with ChargeBee.",
5
5
  "keywords":[
6
6
  "payments",