chargebee 2.13.0 → 2.14.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,4 +1,25 @@
1
- ### v2.13.0 (2022-07-18)
1
+ ### v2.14.0 (2022-08-22)
2
+ * * *
3
+
4
+ #### New endpoints:
5
+ * Purchase#Retrieve has been added to the Purchase resource.
6
+
7
+ #### New attributes:
8
+ * ResourceVersion has been added to the Token resource.
9
+ * UpdatedAt has been added to the Token and UnbilledCharge resources.
10
+ * ReferenceLineItemId has been added to the CreditNote#LineItem, CreditNoteEstimate#LineItem, Quote#LineItem, QuoteLineGroup#LineItem, InvoiceEstimate#LineItem and Invoice#LineItem subResources.
11
+ * Index has been added to the Order#ShippingAddress, Invoice#ShippingAddress, Quote#ShippingAddress, QuotedCharge#ItemTier, QuotedSubscription#ItemTier, Subscription#ItemTier, Subscription#ShippingAddress and SubscriptionEstimate#ShippingAddress subResources.
12
+ * VoidWithCreditNote has been added to the Invoice#VoidInvoiceRequest subresources.
13
+ * PaymentMethodDetails has been added to the Transaction resource.
14
+
15
+ #### New Resource:
16
+ * InAppSubscription have been added.
17
+
18
+ ### Removed input parameters:
19
+ * BusinessEntityId has been removed from Purchase#CreateRequest and Purchase#EstimateRequest.
20
+
21
+
22
+ ### v2.13.0 (2022-07-08)
2
23
  * * *
3
24
 
4
25
  ### Fixes:
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.13.0',
11
+ clientVersion: 'v2.14.0',
12
12
  port: 443,
13
13
  timemachineWaitInMillis: 3000,
14
14
  exportWaitInMillis: 3000
@@ -2485,6 +2485,22 @@ var _endpoints = {
2485
2485
  true
2486
2486
  ]
2487
2487
  ],
2488
+ "in_app_subscription": [
2489
+ [
2490
+ "process_receipt",
2491
+ "POST",
2492
+ "/in_app_subscriptions",
2493
+ "/process_purchase_command",
2494
+ true
2495
+ ],
2496
+ [
2497
+ "import_receipt",
2498
+ "POST",
2499
+ "/in_app_subscriptions",
2500
+ "/import_receipt",
2501
+ true
2502
+ ]
2503
+ ],
2488
2504
  "entitlement_override": [
2489
2505
  [
2490
2506
  "add_entitlement_override_for_subscription",
@@ -2509,6 +2525,13 @@ var _endpoints = {
2509
2525
  null,
2510
2526
  false
2511
2527
  ],
2528
+ [
2529
+ "retrieve",
2530
+ "GET",
2531
+ "/purchases",
2532
+ null,
2533
+ true
2534
+ ],
2512
2535
  [
2513
2536
  "estimate",
2514
2537
  "POST",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"chargebee",
3
- "version":"2.13.0",
3
+ "version":"2.14.0",
4
4
  "description":"A library for integrating with ChargeBee.",
5
5
  "keywords":[
6
6
  "payments",