chargebee 2.43.0 → 2.45.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,87 @@
1
+ ### v2.45.0 (2024-11-27)
2
+ * * *
3
+
4
+ #### New Resource:
5
+ * OmnichannelSubscriptionItem has been added.
6
+
7
+ #### New Attribute:
8
+ * resource_version has been added to OmnichannelSubscription.
9
+ * resource_version has been added to OmnichannelTransaction.
10
+ * resource_version has been added to RecordedPurchase.
11
+
12
+ #### New Input Parameters:
13
+ * limit has been added to OmnichannelSubscription#ListRequest.
14
+ * offset has been added to OmnichannelSubscription#ListRequest.
15
+ * customer_id has been added to OmnichannelSubscription#ListRequest.
16
+ * replace_coupon_list has been added to HostedPage#CheckoutExistingRequest.
17
+ * replace_coupon_list has been added to HostedPage#CheckoutExistingForItemsRequest.
18
+ * subscription[po_number] has been added to HostedPage#CheckoutNewForItemsRequest.
19
+
20
+ #### Removed Subresource:
21
+ * OmnichannelSubscriptionItem subresource has been removed from OmnichannelSubscription and is now a standalone resource.
22
+
23
+ #### Deprecated Attribute:
24
+ * metadata has been deprecated from subscription.
25
+
26
+ ### v2.44.0 (2024-11-14)
27
+ * * *
28
+
29
+ #### New Resource:
30
+ * OmnichannelTransaction has been added.
31
+ * OmnichannelSubscription has been added.
32
+ * RecordedPurchase has been added.
33
+
34
+
35
+ #### New Attributes:
36
+ * business_entity_id has been added to AttachedItem.
37
+ * business_entity_id has been added to DifferentialPrice.
38
+ * business_entity_id has been added to Items.
39
+ * business_entity_id has been added to ItemFamily.
40
+ * business_entity_id has been added to ItemPrice.
41
+ * business_entity_id has been added to PriceVariant.
42
+ * valid_from has been added to coupon.
43
+
44
+ #### New Input Parameters:
45
+ * business_entity_id has been added to AttachedItem#CreateRequest.
46
+ * preferred_scheme has been added to Card#UpdateCardForCustomerRequest.
47
+ * valid_from has been added to Coupon#CreateForItem & Coupon#UpdateForItemsRequest.
48
+ * preferred_scheme has been added to Customer#CreateRequest & Customer#CollectPaymentRequest.
49
+ * business_entity_id has been added to DifferentialPrice#CreateRequest.
50
+ * preferred_scheme has been added to Invoice#CreateRequest & Invoice#CreateForChargeItemsAndChargesRequest.
51
+ * business_entity_id has been added to Items#CreateRequest.
52
+ * business_entity_id & include_site_level_resources have been added to Items#ListItemParams.
53
+ * business_entity_id has been added to ItemFamily#CreateRequest.
54
+ * business_entity_id & include_site_level_resources have been added to ItemFamily#ListItemFamilyParams.
55
+ * business_entity_id has been added to ItemPrice#CreateRequest.
56
+ * business_entity_id & include_site_level_resources have been added to ItemPrice#ListItemPriceParams.
57
+ * business_entity_id & include_site_level_resources have been added to PriceVariant#ListItemFamilyParams.
58
+ * business_entity_id has been added to PriceVariant#CreateRequest.
59
+ * business_entity_id & include_site_level_resources have been added to PriceVariant#ListPriceVariantParams.
60
+ * preferred_scheme has been added to Subscription#CreateRequest, Subscription#UpdateRequest.
61
+ * preferred_scheme Subscription#UpdateForItemsRequest, & Subscription#ImportSubscriptionRequest.
62
+ * business_entity_id & include_site_level_resources have been added to Export#ItemFamiliesRequest & Export#ItemsRequest.
63
+ * business_entity_id & include_site_level_resources have been added to Export#ItemPricesRequest Export#PriceVariantsRequest
64
+ * name & flexible_schedules[period] have been added to PaymentScheduleScheme#CreateRequest.
65
+
66
+ #### New Enum Values:
67
+ * FUTURE has been added to Coupon#StatusEnum.
68
+ * EXISTING_CUSTOMER & NEW_CUSTOMER have been added to Coupon#TypeEnum.
69
+ * LATE_FAILURE has added to Transation#LinkedPaymentEnum & Transation#StatusEnum.
70
+ * OMNICHANNEL_SUBSCRIPTION, has been added to EntityTypeEnum.
71
+ * OMNICHANNEL_SUBSCRIPTION_ITEM, has been added to EntityTypeEnum.
72
+ * OMNICHANNEL_TRANSACTION, has been added to EntityTypeEnum.
73
+ * OMNICHANNEL_SUBSCRIPTION_ITEM_RENEWED, has been added to EventTypeEnum.
74
+ * OMNICHANNEL_SUBSCRIPTION_CREATED, has been added to EventTypeEnum.
75
+ * OMNICHANNEL_SUBSCRIPTION_ITEM_DOWNGRADE_SCHEDULED, has been added to EventTypeEnum.
76
+ * OMNICHANNEL_SUBSCRIPTION_ITEM_SCHEDULED_DOWNGRADE_REMOVED, has been added to EventTypeEnum.
77
+ * OMNICHANNEL_SUBSCRIPTION_ITEM_DOWNGRADED, has been added to EventTypeEnum.
78
+ * OMNICHANNEL_SUBSCRIPTION_ITEM_EXPIRED, has been added to EventTypeEnum.
79
+ * OMNICHANNEL_SUBSCRIPTION_ITEM_CANCELLATION_SCHEDULED, has been added to EventTypeEnum.
80
+ * OMNICHANNEL_SUBSCRIPTION_ITEM_SCHEDULED_CANCELLATION_REMOVED, has been added to EventTypeEnum.
81
+ * OMNICHANNEL_SUBSCRIPTION_ITEM_RESUBSCRIBED, has been added to EventTypeEnum.
82
+ * OMNICHANNEL_SUBSCRIPTION_ITEM_UPGRADED, has been added to EventTypeEnum.
83
+ * OMNICHANNEL_SUBSCRIPTION_ITEM_CANCELLED, has been added to EventTypeEnum.
84
+
1
85
  ### v2.43.0 (2024-10-17)
2
86
  * * *
3
87
 
package/README.md CHANGED
@@ -1,3 +1,6 @@
1
+ > [!WARNING]
2
+ > This branch contains the code for Chargebee Node.js SDK v2 which is deprecated. v2 will continue to receive updates till September 30, 2025. If you are using v2, we request you to upgrade to v3 by following [this migration guide](https://github.com/chargebee/chargebee-node/wiki/Migration-guide-for-v3) before September 30, 2025.
3
+
1
4
  # Chargebee Node.js Client Library
2
5
 
3
6
  [![npm](https://img.shields.io/npm/v/chargebee.svg?maxAge=3)](https://www.npmjs.com/package/chargebee)
package/lib/chargebee.js CHANGED
@@ -11,7 +11,7 @@ ChargeBee._env = {
11
11
  hostSuffix: '.chargebee.com',
12
12
  apiPath: '/api/v2',
13
13
  timeout: 80000,
14
- clientVersion: 'v2.43.0',
14
+ clientVersion: 'v2.45.0',
15
15
  port: 443,
16
16
  timemachineWaitInMillis: 3000,
17
17
  exportWaitInMillis: 3000
@@ -2928,6 +2928,47 @@ var _endpoints = {
2928
2928
  "/create_for_existing_subscription",
2929
2929
  false
2930
2930
  ]
2931
+ ],
2932
+ "omnichannel_subscription": [
2933
+ [
2934
+ "retrieve",
2935
+ "GET",
2936
+ "/omnichannel_subscriptions",
2937
+ null,
2938
+ true
2939
+ ],
2940
+ [
2941
+ "list",
2942
+ "GET",
2943
+ "/omnichannel_subscriptions",
2944
+ null,
2945
+ false
2946
+ ],
2947
+ [
2948
+ "omnichannel_transactions_for_omnichannel_subscription",
2949
+ "GET",
2950
+ "/omnichannel_subscriptions",
2951
+ "/omnichannel_transactions",
2952
+ true
2953
+ ]
2954
+ ],
2955
+ "omnichannel_transaction": [],
2956
+ "omnichannel_subscription_item": [],
2957
+ "recorded_purchase": [
2958
+ [
2959
+ "create",
2960
+ "POST",
2961
+ "/recorded_purchases",
2962
+ null,
2963
+ false
2964
+ ],
2965
+ [
2966
+ "retrieve",
2967
+ "GET",
2968
+ "/recorded_purchases",
2969
+ null,
2970
+ true
2971
+ ]
2931
2972
  ]
2932
2973
  };
2933
2974
  module.exports = _endpoints;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"chargebee",
3
- "version":"2.43.0",
3
+ "version":"2.45.0",
4
4
  "description":"A library for integrating with ChargeBee.",
5
5
  "keywords":[
6
6
  "payments",
package/types/core.d.ts CHANGED
@@ -42,9 +42,9 @@ declare module 'chargebee' {
42
42
  type EinvoicingMethod = 'automatic' | 'manual' | 'site_default'
43
43
  type EndScheduleOn = 'after_number_of_intervals' | 'specific_date' | 'subscription_end'
44
44
  type EntityCode = 'a' | 'b' | 'c' | 'd' | 'e' | 'f' | 'g' | 'h' | 'i' | 'j' | 'k' | 'l' | 'm' | 'n' | 'p' | 'q' | 'r' | 'med1' | 'med2'
45
- type EntityType = 'customer' | 'subscription' | 'coupon' | 'plan_item_price' | 'addon_item_price' | 'charge_item_price' | 'invoice' | 'quote' | 'credit_note' | 'transaction' | 'plan' | 'addon' | 'order' | 'item_family' | 'item' | 'item_price' | 'plan_item' | 'addon_item' | 'charge_item' | 'plan_price' | 'addon_price' | 'charge_price' | 'differential_price' | 'attached_item' | 'feature' | 'subscription_entitlement' | 'item_entitlement' | 'business_entity' | 'price_variant'
45
+ type EntityType = 'customer' | 'subscription' | 'coupon' | 'plan_item_price' | 'addon_item_price' | 'charge_item_price' | 'invoice' | 'quote' | 'credit_note' | 'transaction' | 'plan' | 'addon' | 'order' | 'item_family' | 'item' | 'item_price' | 'plan_item' | 'addon_item' | 'charge_item' | 'plan_price' | 'addon_price' | 'charge_price' | 'differential_price' | 'attached_item' | 'feature' | 'subscription_entitlement' | 'item_entitlement' | 'business_entity' | 'price_variant' | 'omnichannel_subscription' | 'omnichannel_subscription_item' | 'omnichannel_transaction'
46
46
  type EventName = 'cancellation_page_loaded'
47
- type EventType = 'coupon_created' | 'coupon_updated' | 'coupon_deleted' | 'coupon_set_created' | 'coupon_set_updated' | 'coupon_set_deleted' | 'coupon_codes_added' | 'coupon_codes_deleted' | 'coupon_codes_updated' | 'customer_created' | 'customer_changed' | 'customer_deleted' | 'customer_moved_out' | 'customer_moved_in' | 'promotional_credits_added' | 'promotional_credits_deducted' | 'subscription_created' | 'subscription_created_with_backdating' | 'subscription_started' | 'subscription_trial_end_reminder' | 'subscription_activated' | 'subscription_activated_with_backdating' | 'subscription_changed' | 'subscription_trial_extended' | 'mrr_updated' | 'subscription_changed_with_backdating' | 'subscription_cancellation_scheduled' | 'subscription_cancellation_reminder' | 'subscription_cancelled' | 'subscription_canceled_with_backdating' | 'subscription_reactivated' | 'subscription_reactivated_with_backdating' | 'subscription_renewed' | 'subscription_items_renewed' | 'subscription_scheduled_cancellation_removed' | 'subscription_changes_scheduled' | 'subscription_scheduled_changes_removed' | 'subscription_shipping_address_updated' | 'subscription_deleted' | 'subscription_paused' | 'subscription_pause_scheduled' | 'subscription_scheduled_pause_removed' | 'subscription_resumed' | 'subscription_resumption_scheduled' | 'subscription_scheduled_resumption_removed' | 'subscription_advance_invoice_schedule_added' | 'subscription_advance_invoice_schedule_updated' | 'subscription_advance_invoice_schedule_removed' | 'pending_invoice_created' | 'pending_invoice_updated' | 'invoice_generated' | 'invoice_generated_with_backdating' | 'invoice_updated' | 'invoice_deleted' | 'credit_note_created' | 'credit_note_created_with_backdating' | 'credit_note_updated' | 'credit_note_deleted' | 'payment_schedules_created' | 'payment_schedules_updated' | 'payment_schedule_scheme_created' | 'payment_schedule_scheme_deleted' | 'subscription_renewal_reminder' | 'add_usages_reminder' | 'transaction_created' | 'transaction_updated' | 'transaction_deleted' | 'payment_succeeded' | 'payment_failed' | 'payment_refunded' | 'payment_initiated' | 'refund_initiated' | 'authorization_succeeded' | 'authorization_voided' | 'card_added' | 'card_updated' | 'card_expiry_reminder' | 'card_expired' | 'card_deleted' | 'payment_source_added' | 'payment_source_updated' | 'payment_source_deleted' | 'payment_source_expiring' | 'payment_source_expired' | 'payment_source_locally_deleted' | 'virtual_bank_account_added' | 'virtual_bank_account_updated' | 'virtual_bank_account_deleted' | 'token_created' | 'token_consumed' | 'token_expired' | 'unbilled_charges_created' | 'unbilled_charges_voided' | 'unbilled_charges_deleted' | 'unbilled_charges_invoiced' | 'order_created' | 'order_updated' | 'order_cancelled' | 'order_delivered' | 'order_returned' | 'order_ready_to_process' | 'order_ready_to_ship' | 'order_deleted' | 'order_resent' | 'quote_created' | 'quote_updated' | 'quote_deleted' | 'tax_withheld_recorded' | 'tax_withheld_deleted' | 'tax_withheld_refunded' | 'gift_scheduled' | 'gift_unclaimed' | 'gift_claimed' | 'gift_expired' | 'gift_cancelled' | 'gift_updated' | 'hierarchy_created' | 'hierarchy_deleted' | 'payment_intent_created' | 'payment_intent_updated' | 'contract_term_created' | 'contract_term_renewed' | 'contract_term_terminated' | 'contract_term_completed' | 'contract_term_cancelled' | 'item_family_created' | 'item_family_updated' | 'item_family_deleted' | 'item_created' | 'item_updated' | 'item_deleted' | 'item_price_created' | 'item_price_updated' | 'item_price_deleted' | 'attached_item_created' | 'attached_item_updated' | 'attached_item_deleted' | 'differential_price_created' | 'differential_price_updated' | 'differential_price_deleted' | 'feature_created' | 'feature_updated' | 'feature_deleted' | 'feature_activated' | 'feature_reactivated' | 'feature_archived' | 'item_entitlements_updated' | 'entitlement_overrides_updated' | 'entitlement_overrides_removed' | 'item_entitlements_removed' | 'entitlement_overrides_auto_removed' | 'subscription_entitlements_created' | 'business_entity_created' | 'business_entity_updated' | 'business_entity_deleted' | 'customer_business_entity_changed' | 'subscription_business_entity_changed' | 'purchase_created' | 'voucher_created' | 'voucher_expired' | 'voucher_create_failed' | 'item_price_entitlements_updated' | 'item_price_entitlements_removed' | 'subscription_ramp_created' | 'subscription_ramp_deleted' | 'subscription_ramp_applied' | 'subscription_ramp_drafted' | 'subscription_ramp_updated' | 'price_variant_created' | 'price_variant_updated' | 'price_variant_deleted' | 'customer_entitlements_updated' | 'subscription_moved_in' | 'subscription_moved_out' | 'subscription_movement_failed' | 'plan_created' | 'plan_updated' | 'plan_deleted' | 'addon_created' | 'addon_updated' | 'addon_deleted'
47
+ type EventType = 'coupon_created' | 'coupon_updated' | 'coupon_deleted' | 'coupon_set_created' | 'coupon_set_updated' | 'coupon_set_deleted' | 'coupon_codes_added' | 'coupon_codes_deleted' | 'coupon_codes_updated' | 'customer_created' | 'customer_changed' | 'customer_deleted' | 'customer_moved_out' | 'customer_moved_in' | 'promotional_credits_added' | 'promotional_credits_deducted' | 'subscription_created' | 'subscription_created_with_backdating' | 'subscription_started' | 'subscription_trial_end_reminder' | 'subscription_activated' | 'subscription_activated_with_backdating' | 'subscription_changed' | 'subscription_trial_extended' | 'mrr_updated' | 'subscription_changed_with_backdating' | 'subscription_cancellation_scheduled' | 'subscription_cancellation_reminder' | 'subscription_cancelled' | 'subscription_canceled_with_backdating' | 'subscription_reactivated' | 'subscription_reactivated_with_backdating' | 'subscription_renewed' | 'subscription_items_renewed' | 'subscription_scheduled_cancellation_removed' | 'subscription_changes_scheduled' | 'subscription_scheduled_changes_removed' | 'subscription_shipping_address_updated' | 'subscription_deleted' | 'subscription_paused' | 'subscription_pause_scheduled' | 'subscription_scheduled_pause_removed' | 'subscription_resumed' | 'subscription_resumption_scheduled' | 'subscription_scheduled_resumption_removed' | 'subscription_advance_invoice_schedule_added' | 'subscription_advance_invoice_schedule_updated' | 'subscription_advance_invoice_schedule_removed' | 'pending_invoice_created' | 'pending_invoice_updated' | 'invoice_generated' | 'invoice_generated_with_backdating' | 'invoice_updated' | 'invoice_deleted' | 'credit_note_created' | 'credit_note_created_with_backdating' | 'credit_note_updated' | 'credit_note_deleted' | 'payment_schedules_created' | 'payment_schedules_updated' | 'payment_schedule_scheme_created' | 'payment_schedule_scheme_deleted' | 'subscription_renewal_reminder' | 'add_usages_reminder' | 'transaction_created' | 'transaction_updated' | 'transaction_deleted' | 'payment_succeeded' | 'payment_failed' | 'payment_refunded' | 'payment_initiated' | 'refund_initiated' | 'authorization_succeeded' | 'authorization_voided' | 'card_added' | 'card_updated' | 'card_expiry_reminder' | 'card_expired' | 'card_deleted' | 'payment_source_added' | 'payment_source_updated' | 'payment_source_deleted' | 'payment_source_expiring' | 'payment_source_expired' | 'payment_source_locally_deleted' | 'virtual_bank_account_added' | 'virtual_bank_account_updated' | 'virtual_bank_account_deleted' | 'token_created' | 'token_consumed' | 'token_expired' | 'unbilled_charges_created' | 'unbilled_charges_voided' | 'unbilled_charges_deleted' | 'unbilled_charges_invoiced' | 'order_created' | 'order_updated' | 'order_cancelled' | 'order_delivered' | 'order_returned' | 'order_ready_to_process' | 'order_ready_to_ship' | 'order_deleted' | 'order_resent' | 'quote_created' | 'quote_updated' | 'quote_deleted' | 'tax_withheld_recorded' | 'tax_withheld_deleted' | 'tax_withheld_refunded' | 'gift_scheduled' | 'gift_unclaimed' | 'gift_claimed' | 'gift_expired' | 'gift_cancelled' | 'gift_updated' | 'hierarchy_created' | 'hierarchy_deleted' | 'payment_intent_created' | 'payment_intent_updated' | 'contract_term_created' | 'contract_term_renewed' | 'contract_term_terminated' | 'contract_term_completed' | 'contract_term_cancelled' | 'item_family_created' | 'item_family_updated' | 'item_family_deleted' | 'item_created' | 'item_updated' | 'item_deleted' | 'item_price_created' | 'item_price_updated' | 'item_price_deleted' | 'attached_item_created' | 'attached_item_updated' | 'attached_item_deleted' | 'differential_price_created' | 'differential_price_updated' | 'differential_price_deleted' | 'feature_created' | 'feature_updated' | 'feature_deleted' | 'feature_activated' | 'feature_reactivated' | 'feature_archived' | 'item_entitlements_updated' | 'entitlement_overrides_updated' | 'entitlement_overrides_removed' | 'item_entitlements_removed' | 'entitlement_overrides_auto_removed' | 'subscription_entitlements_created' | 'business_entity_created' | 'business_entity_updated' | 'business_entity_deleted' | 'customer_business_entity_changed' | 'subscription_business_entity_changed' | 'purchase_created' | 'voucher_created' | 'voucher_expired' | 'voucher_create_failed' | 'item_price_entitlements_updated' | 'item_price_entitlements_removed' | 'subscription_ramp_created' | 'subscription_ramp_deleted' | 'subscription_ramp_applied' | 'subscription_ramp_drafted' | 'subscription_ramp_updated' | 'price_variant_created' | 'price_variant_updated' | 'price_variant_deleted' | 'customer_entitlements_updated' | 'subscription_moved_in' | 'subscription_moved_out' | 'subscription_movement_failed' | 'omnichannel_subscription_created' | 'omnichannel_subscription_item_renewed' | 'omnichannel_subscription_item_downgrade_scheduled' | 'omnichannel_subscription_item_scheduled_downgrade_removed' | 'omnichannel_subscription_item_downgraded' | 'omnichannel_subscription_item_expired' | 'omnichannel_subscription_item_cancellation_scheduled' | 'omnichannel_subscription_item_scheduled_cancellation_removed' | 'omnichannel_subscription_item_resubscribed' | 'omnichannel_subscription_item_upgraded' | 'omnichannel_subscription_item_cancelled' | 'plan_created' | 'plan_updated' | 'plan_deleted' | 'addon_created' | 'addon_updated' | 'addon_deleted'
48
48
  type ExportType = 'data' | 'import_friendly_data'
49
49
  type FreePeriodUnit = 'day' | 'week' | 'month' | 'year'
50
50
  type FriendOfferType = 'none' | 'coupon' | 'coupon_code'
package/types/index.d.ts CHANGED
@@ -41,6 +41,9 @@
41
41
  ///<reference path='./resources/ItemPrice.d.ts' />
42
42
  ///<reference path='./resources/Metadata.d.ts' />
43
43
  ///<reference path='./resources/NonSubscription.d.ts' />
44
+ ///<reference path='./resources/OmnichannelSubscription.d.ts' />
45
+ ///<reference path='./resources/OmnichannelSubscriptionItem.d.ts' />
46
+ ///<reference path='./resources/OmnichannelTransaction.d.ts' />
44
47
  ///<reference path='./resources/Order.d.ts' />
45
48
  ///<reference path='./resources/PaymentIntent.d.ts' />
46
49
  ///<reference path='./resources/PaymentReferenceNumber.d.ts' />
@@ -59,6 +62,7 @@
59
62
  ///<reference path='./resources/QuotedCharge.d.ts' />
60
63
  ///<reference path='./resources/QuotedSubscription.d.ts' />
61
64
  ///<reference path='./resources/Ramp.d.ts' />
65
+ ///<reference path='./resources/RecordedPurchase.d.ts' />
62
66
  ///<reference path='./resources/ResourceMigration.d.ts' />
63
67
  ///<reference path='./resources/SiteMigrationDetail.d.ts' />
64
68
  ///<reference path='./resources/Subscription.d.ts' />
@@ -104,6 +108,7 @@ declare module 'chargebee' {
104
108
  static item_family: ItemFamily.ItemFamilyResource;
105
109
  static item_price: ItemPrice.ItemPriceResource;
106
110
  static non_subscription: NonSubscription.NonSubscriptionResource;
111
+ static omnichannel_subscription: OmnichannelSubscription.OmnichannelSubscriptionResource;
107
112
  static order: Order.OrderResource;
108
113
  static payment_intent: PaymentIntent.PaymentIntentResource;
109
114
  static payment_schedule_scheme: PaymentScheduleScheme.PaymentScheduleSchemeResource;
@@ -116,6 +121,7 @@ declare module 'chargebee' {
116
121
  static purchase: Purchase.PurchaseResource;
117
122
  static quote: Quote.QuoteResource;
118
123
  static ramp: Ramp.RampResource;
124
+ static recorded_purchase: RecordedPurchase.RecordedPurchaseResource;
119
125
  static resource_migration: ResourceMigration.ResourceMigrationResource;
120
126
  static site_migration_detail: SiteMigrationDetail.SiteMigrationDetailResource;
121
127
  static subscription: Subscription.SubscriptionResource;
@@ -100,6 +100,8 @@ The value set explicitly for &#x60;billing_cycles&#x60; while [applying the addo
100
100
  */
101
101
 
102
102
  channel?:Channel;
103
+
104
+ business_entity_id?:string;
103
105
  }
104
106
  export namespace AttachedItem {
105
107
  export class AttachedItemResource {
@@ -193,6 +195,8 @@ The value set explicitly for &#x60;billing_cycles&#x60; while [applying the addo
193
195
  */
194
196
 
195
197
  charge_once?:boolean;
198
+
199
+ business_entity_id?:string;
196
200
  }
197
201
  export interface UpdateResponse {
198
202
  attached_item:AttachedItem;
@@ -411,6 +411,8 @@ If you have enabled [EU VAT](https://www.chargebee.com/docs/eu-vat.html) in 2021
411
411
  */
412
412
 
413
413
  billing_country?:string;
414
+
415
+ preferred_scheme?:'cartes_bancaires' | 'mastercard' | 'visa';
414
416
  }
415
417
  export interface SwitchGatewayForCustomerResponse {
416
418
  customer:Customer;