chargebee 2.12.0 → 2.13.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,29 @@
1
+ ### v2.13.0 (2022-07-18)
2
+ * * *
3
+
4
+ ### Fixes:
5
+ * Fixed Status Enum related issues
6
+ * Fixed EmbeddedResource related issues
7
+
8
+ #### New endpoints:
9
+ * hostedpage#PreCancel has been added to the hostedpage resource.
10
+
11
+ #### New attributes:
12
+ * business_entity_id have been added to the CreditNote, Customer,HostedPage, Invoice, PaymentIntent, Quote, Subscription and Transaction resources.
13
+ * coupon_set_code have been added to the CreditNote, CreditNoteEstimate, Invoice, InvoiceEstimate, Quote and QuoteLineGroup resources.
14
+ * List of SubscriptionEstimate have been added to Estimate resource.
15
+
16
+ #### New Resource:
17
+ * ImpactedSubscription, ImpactedItem, Purchase have been added.
18
+
19
+ #### New Enum values:
20
+ * direct_debit has been added to payment_method_type enum.
21
+ * bancontact, not_applicable added to payment_source_card_brand enum.
22
+ * business_entity added to entity_type Enum
23
+ * business_entity_created, business_entity_updated, business_entity_deleted, purchase_created added to event_type Enum
24
+ * chargebee_payments added to gateway Enum
25
+
26
+
1
27
  ### v2.12.0 (2022-05-23)
2
28
  * * *
3
29
 
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.12.0',
11
+ clientVersion: 'v2.13.0',
12
12
  port: 443,
13
13
  timemachineWaitInMillis: 3000,
14
14
  exportWaitInMillis: 3000
@@ -1332,6 +1332,13 @@ var _endpoints = {
1332
1332
  "/hosted_pages",
1333
1333
  null,
1334
1334
  false
1335
+ ],
1336
+ [
1337
+ "pre_cancel",
1338
+ "POST",
1339
+ "/hosted_pages",
1340
+ "/pre_cancel",
1341
+ false
1335
1342
  ]
1336
1343
  ],
1337
1344
  "estimate": [
@@ -2430,6 +2437,8 @@ var _endpoints = {
2430
2437
  true
2431
2438
  ]
2432
2439
  ],
2440
+ "impacted_subscription": [],
2441
+ "impacted_item": [],
2433
2442
  "subscription_entitlement": [
2434
2443
  [
2435
2444
  "subscription_entitlements_for_subscription",
@@ -2491,6 +2500,22 @@ var _endpoints = {
2491
2500
  "/entitlement_overrides",
2492
2501
  true
2493
2502
  ]
2503
+ ],
2504
+ "purchase": [
2505
+ [
2506
+ "create",
2507
+ "POST",
2508
+ "/purchases",
2509
+ null,
2510
+ false
2511
+ ],
2512
+ [
2513
+ "estimate",
2514
+ "POST",
2515
+ "/purchases",
2516
+ "/estimate",
2517
+ false
2518
+ ]
2494
2519
  ]
2495
2520
  };
2496
2521
  module.exports = _endpoints;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"chargebee",
3
- "version":"2.12.0",
3
+ "version":"2.13.0",
4
4
  "description":"A library for integrating with ChargeBee.",
5
5
  "keywords":[
6
6
  "payments",