chargebee 2.10.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 +85 -0
- package/lib/chargebee.js +1 -1
- package/lib/resources/api_endpoints.js +173 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,88 @@
|
|
|
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
|
+
|
|
27
|
+
### v2.12.0 (2022-05-23)
|
|
28
|
+
* * *
|
|
29
|
+
|
|
30
|
+
#### New endpoints:
|
|
31
|
+
* invoice#sync_usages and invoice#resend_einvoice have been added to the invoice resource.
|
|
32
|
+
* credit_notes#resend_einvoice has been added to the credit_notes resource.
|
|
33
|
+
* features#list_features, features#create_a_feature, features#update_a_feature, features#retrieve_a_feature, features#delete_a_feature, features#activate_a_feature, features#archive_a_feature and features#reactivate_a_feature have been added to the features resource.
|
|
34
|
+
* subscription_entitlements#subscription_entitlements_for_subscription and subscription_entitlements#set_subscription_entitlement_availability have been added to the subscription_entitlements resource.
|
|
35
|
+
* item_entitlements#item_entitlements_for_an_item, item_entitlements#item_entitlements_for_a_feature, item_entitlements#add_an_item_entitlements and item_entitlements#upsert_or_remove_an_item_entitlements_for_item have been added to the item_entitlements resource.
|
|
36
|
+
* entitlement_overrides#add_entitlement_override_for_a_subscription and entitlement_overrides#list_entitlement_override_for_a_subscription have been added to the entitlement_overrides resource.
|
|
37
|
+
|
|
38
|
+
#### New Resource:
|
|
39
|
+
* features, subscription_entitlements, item_entitlements and entitlement_overrides have been added.
|
|
40
|
+
|
|
41
|
+
#### New filter parameters:
|
|
42
|
+
* einvoice[status] filter parameter has been added in credit_notes#list_credit_notes api.
|
|
43
|
+
|
|
44
|
+
#### New Enum values:
|
|
45
|
+
* paypal_express_checkout has been added to payment_method_type enum.
|
|
46
|
+
* feature_created, feature_updated, feature_deleted, feature_activated, feature_reactivated, feature_archived, item_entitlements_updated, entitlement_overrides_updated, entitlement_overrides_removed, item_entitlements_removed and entitlement_overrides_auto_removed have been added to the event_type enum.
|
|
47
|
+
* action enum has been added.
|
|
48
|
+
|
|
49
|
+
### v2.11.0 (2022-04-25)
|
|
50
|
+
* * *
|
|
51
|
+
|
|
52
|
+
#### New endpoints:
|
|
53
|
+
* UnbilledCharge#CreateUnbilledCharge has been added to UnbilledCharge resource. Applicable only for PC1.0.
|
|
54
|
+
|
|
55
|
+
#### New attributes:
|
|
56
|
+
* channel have been added to the Addon, AttachedItem, CreditNote, Customer, Invoice, ItemFamily, ItemPrice, Plan and Subscription resources.
|
|
57
|
+
* external_name and channel have been added to the Item resource.
|
|
58
|
+
|
|
59
|
+
#### New input parameters:
|
|
60
|
+
* external_name have been added to Item#CreateRequest and Item#UpdateRequest.
|
|
61
|
+
* channel have been added to Addon#AddonListRequest.
|
|
62
|
+
* channel have been added to CreditNote#CreditNoteListRequest.
|
|
63
|
+
* channel have been added to Customer#CustomerListRequest.
|
|
64
|
+
* invoice[channel], subscription[channel] and customer[channel] have been added to Export#RevenueRecognitionRequest and Export#DeferredRevenueRequest.
|
|
65
|
+
* plan[channel] have been added to Export#PlansRequest.
|
|
66
|
+
* addon[channel] have been added to Export#AddonsRequest.
|
|
67
|
+
* customer[channel] have been added to Export#CustomersRequest.
|
|
68
|
+
* subscription[channel] have been added to Export#SubscriptionsRequest.
|
|
69
|
+
* invoice[channel] have been added to Export#InvoicesRequest.
|
|
70
|
+
* credit_note[channel] have been added to Export#CreditNotesRequest.
|
|
71
|
+
* item[channel] have been added to Export#ItemsRequest.
|
|
72
|
+
* item_price[channel] have been added to Export#ItemPricesRequest.
|
|
73
|
+
* channel have been added to Invoice#InvoiceListRequest.
|
|
74
|
+
* channel have been added to Item#ItemListRequest.
|
|
75
|
+
* channel have been added to ItemPrice#ItemPriceListRequest.
|
|
76
|
+
* channel have been added to Plan#PlanListRequest.
|
|
77
|
+
* channel have been added to Subscription#SubscriptionListRequest.
|
|
78
|
+
|
|
79
|
+
### Existing input parameter changes:
|
|
80
|
+
* item_family_id in Item#CreateRequest has been made as required field.
|
|
81
|
+
|
|
82
|
+
### Removed enum values:
|
|
83
|
+
* coupon_expired has been removed from EventTypeEnum.
|
|
84
|
+
|
|
85
|
+
|
|
1
86
|
### v2.10.0 (2022-03-08)
|
|
2
87
|
* * *
|
|
3
88
|
|
package/lib/chargebee.js
CHANGED
|
@@ -704,6 +704,13 @@ var _endpoints = {
|
|
|
704
704
|
"/apply_payments",
|
|
705
705
|
true
|
|
706
706
|
],
|
|
707
|
+
[
|
|
708
|
+
"sync_usages",
|
|
709
|
+
"POST",
|
|
710
|
+
"/invoices",
|
|
711
|
+
"/sync_usages",
|
|
712
|
+
true
|
|
713
|
+
],
|
|
707
714
|
[
|
|
708
715
|
"apply_credits",
|
|
709
716
|
"POST",
|
|
@@ -850,6 +857,13 @@ var _endpoints = {
|
|
|
850
857
|
"/invoices",
|
|
851
858
|
"/update_details",
|
|
852
859
|
true
|
|
860
|
+
],
|
|
861
|
+
[
|
|
862
|
+
"resend_einvoice",
|
|
863
|
+
"POST",
|
|
864
|
+
"/invoices",
|
|
865
|
+
"/resend_einvoice",
|
|
866
|
+
true
|
|
853
867
|
]
|
|
854
868
|
],
|
|
855
869
|
"tax_withheld": [],
|
|
@@ -923,9 +937,23 @@ var _endpoints = {
|
|
|
923
937
|
"/credit_notes",
|
|
924
938
|
"/delete",
|
|
925
939
|
true
|
|
940
|
+
],
|
|
941
|
+
[
|
|
942
|
+
"resend_einvoice",
|
|
943
|
+
"POST",
|
|
944
|
+
"/credit_notes",
|
|
945
|
+
"/resend_einvoice",
|
|
946
|
+
true
|
|
926
947
|
]
|
|
927
948
|
],
|
|
928
949
|
"unbilled_charge": [
|
|
950
|
+
[
|
|
951
|
+
"create_unbilled_charge",
|
|
952
|
+
"POST",
|
|
953
|
+
"/unbilled_charges",
|
|
954
|
+
"/create",
|
|
955
|
+
false
|
|
956
|
+
],
|
|
929
957
|
[
|
|
930
958
|
"create",
|
|
931
959
|
"POST",
|
|
@@ -1304,6 +1332,13 @@ var _endpoints = {
|
|
|
1304
1332
|
"/hosted_pages",
|
|
1305
1333
|
null,
|
|
1306
1334
|
false
|
|
1335
|
+
],
|
|
1336
|
+
[
|
|
1337
|
+
"pre_cancel",
|
|
1338
|
+
"POST",
|
|
1339
|
+
"/hosted_pages",
|
|
1340
|
+
"/pre_cancel",
|
|
1341
|
+
false
|
|
1307
1342
|
]
|
|
1308
1343
|
],
|
|
1309
1344
|
"estimate": [
|
|
@@ -2343,6 +2378,144 @@ var _endpoints = {
|
|
|
2343
2378
|
null,
|
|
2344
2379
|
false
|
|
2345
2380
|
]
|
|
2381
|
+
],
|
|
2382
|
+
"feature": [
|
|
2383
|
+
[
|
|
2384
|
+
"list",
|
|
2385
|
+
"GET",
|
|
2386
|
+
"/features",
|
|
2387
|
+
null,
|
|
2388
|
+
false
|
|
2389
|
+
],
|
|
2390
|
+
[
|
|
2391
|
+
"create",
|
|
2392
|
+
"POST",
|
|
2393
|
+
"/features",
|
|
2394
|
+
null,
|
|
2395
|
+
false
|
|
2396
|
+
],
|
|
2397
|
+
[
|
|
2398
|
+
"update",
|
|
2399
|
+
"POST",
|
|
2400
|
+
"/features",
|
|
2401
|
+
null,
|
|
2402
|
+
true
|
|
2403
|
+
],
|
|
2404
|
+
[
|
|
2405
|
+
"retrieve",
|
|
2406
|
+
"GET",
|
|
2407
|
+
"/features",
|
|
2408
|
+
null,
|
|
2409
|
+
true
|
|
2410
|
+
],
|
|
2411
|
+
[
|
|
2412
|
+
"delete",
|
|
2413
|
+
"POST",
|
|
2414
|
+
"/features",
|
|
2415
|
+
"/delete",
|
|
2416
|
+
true
|
|
2417
|
+
],
|
|
2418
|
+
[
|
|
2419
|
+
"activate",
|
|
2420
|
+
"POST",
|
|
2421
|
+
"/features",
|
|
2422
|
+
"/activate_command",
|
|
2423
|
+
true
|
|
2424
|
+
],
|
|
2425
|
+
[
|
|
2426
|
+
"archive",
|
|
2427
|
+
"POST",
|
|
2428
|
+
"/features",
|
|
2429
|
+
"/archive_command",
|
|
2430
|
+
true
|
|
2431
|
+
],
|
|
2432
|
+
[
|
|
2433
|
+
"reactivate",
|
|
2434
|
+
"POST",
|
|
2435
|
+
"/features",
|
|
2436
|
+
"/reactivate_command",
|
|
2437
|
+
true
|
|
2438
|
+
]
|
|
2439
|
+
],
|
|
2440
|
+
"impacted_subscription": [],
|
|
2441
|
+
"impacted_item": [],
|
|
2442
|
+
"subscription_entitlement": [
|
|
2443
|
+
[
|
|
2444
|
+
"subscription_entitlements_for_subscription",
|
|
2445
|
+
"GET",
|
|
2446
|
+
"/subscriptions",
|
|
2447
|
+
"/subscription_entitlements",
|
|
2448
|
+
true
|
|
2449
|
+
],
|
|
2450
|
+
[
|
|
2451
|
+
"set_subscription_entitlement_availability",
|
|
2452
|
+
"POST",
|
|
2453
|
+
"/subscriptions",
|
|
2454
|
+
"/subscription_entitlements/set_availability",
|
|
2455
|
+
true
|
|
2456
|
+
]
|
|
2457
|
+
],
|
|
2458
|
+
"item_entitlement": [
|
|
2459
|
+
[
|
|
2460
|
+
"item_entitlements_for_item",
|
|
2461
|
+
"GET",
|
|
2462
|
+
"/items",
|
|
2463
|
+
"/item_entitlements",
|
|
2464
|
+
true
|
|
2465
|
+
],
|
|
2466
|
+
[
|
|
2467
|
+
"item_entitlements_for_feature",
|
|
2468
|
+
"GET",
|
|
2469
|
+
"/features",
|
|
2470
|
+
"/item_entitlements",
|
|
2471
|
+
true
|
|
2472
|
+
],
|
|
2473
|
+
[
|
|
2474
|
+
"add_item_entitlements",
|
|
2475
|
+
"POST",
|
|
2476
|
+
"/features",
|
|
2477
|
+
"/item_entitlements",
|
|
2478
|
+
true
|
|
2479
|
+
],
|
|
2480
|
+
[
|
|
2481
|
+
"upsert_or_remove_item_entitlements_for_item",
|
|
2482
|
+
"POST",
|
|
2483
|
+
"/items",
|
|
2484
|
+
"/item_entitlements",
|
|
2485
|
+
true
|
|
2486
|
+
]
|
|
2487
|
+
],
|
|
2488
|
+
"entitlement_override": [
|
|
2489
|
+
[
|
|
2490
|
+
"add_entitlement_override_for_subscription",
|
|
2491
|
+
"POST",
|
|
2492
|
+
"/subscriptions",
|
|
2493
|
+
"/entitlement_overrides",
|
|
2494
|
+
true
|
|
2495
|
+
],
|
|
2496
|
+
[
|
|
2497
|
+
"list_entitlement_override_for_subscription",
|
|
2498
|
+
"GET",
|
|
2499
|
+
"/subscriptions",
|
|
2500
|
+
"/entitlement_overrides",
|
|
2501
|
+
true
|
|
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
|
+
]
|
|
2346
2519
|
]
|
|
2347
2520
|
};
|
|
2348
2521
|
module.exports = _endpoints;
|