chargebee 2.11.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 +69 -0
- package/lib/chargebee.js +1 -1
- package/lib/resources/api_endpoints.js +189 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,72 @@
|
|
|
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)
|
|
23
|
+
* * *
|
|
24
|
+
|
|
25
|
+
### Fixes:
|
|
26
|
+
* Fixed Status Enum related issues
|
|
27
|
+
* Fixed EmbeddedResource related issues
|
|
28
|
+
|
|
29
|
+
#### New endpoints:
|
|
30
|
+
* hostedpage#PreCancel has been added to the hostedpage resource.
|
|
31
|
+
|
|
32
|
+
#### New attributes:
|
|
33
|
+
* business_entity_id have been added to the CreditNote, Customer,HostedPage, Invoice, PaymentIntent, Quote, Subscription and Transaction resources.
|
|
34
|
+
* coupon_set_code have been added to the CreditNote, CreditNoteEstimate, Invoice, InvoiceEstimate, Quote and QuoteLineGroup resources.
|
|
35
|
+
* List of SubscriptionEstimate have been added to Estimate resource.
|
|
36
|
+
|
|
37
|
+
#### New Resource:
|
|
38
|
+
* ImpactedSubscription, ImpactedItem, Purchase have been added.
|
|
39
|
+
|
|
40
|
+
#### New Enum values:
|
|
41
|
+
* direct_debit has been added to payment_method_type enum.
|
|
42
|
+
* bancontact, not_applicable added to payment_source_card_brand enum.
|
|
43
|
+
* business_entity added to entity_type Enum
|
|
44
|
+
* business_entity_created, business_entity_updated, business_entity_deleted, purchase_created added to event_type Enum
|
|
45
|
+
* chargebee_payments added to gateway Enum
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
### v2.12.0 (2022-05-23)
|
|
49
|
+
* * *
|
|
50
|
+
|
|
51
|
+
#### New endpoints:
|
|
52
|
+
* invoice#sync_usages and invoice#resend_einvoice have been added to the invoice resource.
|
|
53
|
+
* credit_notes#resend_einvoice has been added to the credit_notes resource.
|
|
54
|
+
* 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.
|
|
55
|
+
* subscription_entitlements#subscription_entitlements_for_subscription and subscription_entitlements#set_subscription_entitlement_availability have been added to the subscription_entitlements resource.
|
|
56
|
+
* 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.
|
|
57
|
+
* 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.
|
|
58
|
+
|
|
59
|
+
#### New Resource:
|
|
60
|
+
* features, subscription_entitlements, item_entitlements and entitlement_overrides have been added.
|
|
61
|
+
|
|
62
|
+
#### New filter parameters:
|
|
63
|
+
* einvoice[status] filter parameter has been added in credit_notes#list_credit_notes api.
|
|
64
|
+
|
|
65
|
+
#### New Enum values:
|
|
66
|
+
* paypal_express_checkout has been added to payment_method_type enum.
|
|
67
|
+
* 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.
|
|
68
|
+
* action enum has been added.
|
|
69
|
+
|
|
1
70
|
### v2.11.0 (2022-04-25)
|
|
2
71
|
* * *
|
|
3
72
|
|
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,6 +937,13 @@ 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": [
|
|
@@ -1311,6 +1332,13 @@ var _endpoints = {
|
|
|
1311
1332
|
"/hosted_pages",
|
|
1312
1333
|
null,
|
|
1313
1334
|
false
|
|
1335
|
+
],
|
|
1336
|
+
[
|
|
1337
|
+
"pre_cancel",
|
|
1338
|
+
"POST",
|
|
1339
|
+
"/hosted_pages",
|
|
1340
|
+
"/pre_cancel",
|
|
1341
|
+
false
|
|
1314
1342
|
]
|
|
1315
1343
|
],
|
|
1316
1344
|
"estimate": [
|
|
@@ -2350,6 +2378,167 @@ var _endpoints = {
|
|
|
2350
2378
|
null,
|
|
2351
2379
|
false
|
|
2352
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
|
+
"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
|
+
],
|
|
2504
|
+
"entitlement_override": [
|
|
2505
|
+
[
|
|
2506
|
+
"add_entitlement_override_for_subscription",
|
|
2507
|
+
"POST",
|
|
2508
|
+
"/subscriptions",
|
|
2509
|
+
"/entitlement_overrides",
|
|
2510
|
+
true
|
|
2511
|
+
],
|
|
2512
|
+
[
|
|
2513
|
+
"list_entitlement_override_for_subscription",
|
|
2514
|
+
"GET",
|
|
2515
|
+
"/subscriptions",
|
|
2516
|
+
"/entitlement_overrides",
|
|
2517
|
+
true
|
|
2518
|
+
]
|
|
2519
|
+
],
|
|
2520
|
+
"purchase": [
|
|
2521
|
+
[
|
|
2522
|
+
"create",
|
|
2523
|
+
"POST",
|
|
2524
|
+
"/purchases",
|
|
2525
|
+
null,
|
|
2526
|
+
false
|
|
2527
|
+
],
|
|
2528
|
+
[
|
|
2529
|
+
"retrieve",
|
|
2530
|
+
"GET",
|
|
2531
|
+
"/purchases",
|
|
2532
|
+
null,
|
|
2533
|
+
true
|
|
2534
|
+
],
|
|
2535
|
+
[
|
|
2536
|
+
"estimate",
|
|
2537
|
+
"POST",
|
|
2538
|
+
"/purchases",
|
|
2539
|
+
"/estimate",
|
|
2540
|
+
false
|
|
2541
|
+
]
|
|
2353
2542
|
]
|
|
2354
2543
|
};
|
|
2355
2544
|
module.exports = _endpoints;
|