chargebee 2.10.0 → 2.11.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,40 @@
1
+ ### v2.11.0 (2022-04-25)
2
+ * * *
3
+
4
+ #### New endpoints:
5
+ * UnbilledCharge#CreateUnbilledCharge has been added to UnbilledCharge resource. Applicable only for PC1.0.
6
+
7
+ #### New attributes:
8
+ * channel have been added to the Addon, AttachedItem, CreditNote, Customer, Invoice, ItemFamily, ItemPrice, Plan and Subscription resources.
9
+ * external_name and channel have been added to the Item resource.
10
+
11
+ #### New input parameters:
12
+ * external_name have been added to Item#CreateRequest and Item#UpdateRequest.
13
+ * channel have been added to Addon#AddonListRequest.
14
+ * channel have been added to CreditNote#CreditNoteListRequest.
15
+ * channel have been added to Customer#CustomerListRequest.
16
+ * invoice[channel], subscription[channel] and customer[channel] have been added to Export#RevenueRecognitionRequest and Export#DeferredRevenueRequest.
17
+ * plan[channel] have been added to Export#PlansRequest.
18
+ * addon[channel] have been added to Export#AddonsRequest.
19
+ * customer[channel] have been added to Export#CustomersRequest.
20
+ * subscription[channel] have been added to Export#SubscriptionsRequest.
21
+ * invoice[channel] have been added to Export#InvoicesRequest.
22
+ * credit_note[channel] have been added to Export#CreditNotesRequest.
23
+ * item[channel] have been added to Export#ItemsRequest.
24
+ * item_price[channel] have been added to Export#ItemPricesRequest.
25
+ * channel have been added to Invoice#InvoiceListRequest.
26
+ * channel have been added to Item#ItemListRequest.
27
+ * channel have been added to ItemPrice#ItemPriceListRequest.
28
+ * channel have been added to Plan#PlanListRequest.
29
+ * channel have been added to Subscription#SubscriptionListRequest.
30
+
31
+ ### Existing input parameter changes:
32
+ * item_family_id in Item#CreateRequest has been made as required field.
33
+
34
+ ### Removed enum values:
35
+ * coupon_expired has been removed from EventTypeEnum.
36
+
37
+
1
38
  ### v2.10.0 (2022-03-08)
2
39
  * * *
3
40
 
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.10.0',
11
+ clientVersion: 'v2.11.0',
12
12
  port: 443,
13
13
  timemachineWaitInMillis: 3000,
14
14
  exportWaitInMillis: 3000
@@ -926,6 +926,13 @@ var _endpoints = {
926
926
  ]
927
927
  ],
928
928
  "unbilled_charge": [
929
+ [
930
+ "create_unbilled_charge",
931
+ "POST",
932
+ "/unbilled_charges",
933
+ "/create",
934
+ false
935
+ ],
929
936
  [
930
937
  "create",
931
938
  "POST",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"chargebee",
3
- "version":"2.10.0",
3
+ "version":"2.11.0",
4
4
  "description":"A library for integrating with ChargeBee.",
5
5
  "keywords":[
6
6
  "payments",