chargebee 2.17.0 → 2.18.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,24 @@
1
+ ### v2.18.0 (2023-01-13)
2
+ * * *
3
+
4
+ #### New Attributes:
5
+ * shipping_address and billing_address parameter has been added to the CreditNote.
6
+ * is_advance_charge has been added to the UnbilledCharge.
7
+
8
+ #### Added input parameters:
9
+ * CreateSubForCustomerQuoteRequest#subscription[po_number] and CreateSubItemsForCustomerQuoteRequest#subscription[po_number] parameter has been added to Quote resource.
10
+ * ImportUnbilledChargesRequest#unbilled_charges[is_advance_charge] parameter has been added to Subscription resource.
11
+ * ImportInvoiceRequest#has_advance_charges parameter has been added to Invoice resource.
12
+
13
+ #### New endpoints:
14
+ * Invoice#DeleteLineItemsRequest has been added to the Invoice resource.
15
+
16
+ #### New Enum values:
17
+ * SUBSCRIPTION_TRIAL_EXTENDED has been added to EventTypeEnum.
18
+ * ZERO_VALUE_ITEM has been added to TaxExemptReasonEnum.
19
+ * BANK_OF_AMERICA has been added to GatewayEnum.
20
+
21
+
1
22
  ### v2.17.0 (2022-11-10)
2
23
  * * *
3
24
 
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.17.0',
11
+ clientVersion: 'v2.18.0',
12
12
  port: 443,
13
13
  timemachineWaitInMillis: 3000,
14
14
  exportWaitInMillis: 3000
@@ -726,6 +726,13 @@ var _endpoints = {
726
726
  "/sync_usages",
727
727
  true
728
728
  ],
729
+ [
730
+ "delete_line_items",
731
+ "POST",
732
+ "/invoices",
733
+ "/delete_line_items",
734
+ true
735
+ ],
729
736
  [
730
737
  "apply_credits",
731
738
  "POST",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"chargebee",
3
- "version":"2.17.0",
3
+ "version":"2.18.0",
4
4
  "description":"A library for integrating with ChargeBee.",
5
5
  "keywords":[
6
6
  "payments",