chargebee
Advanced tools
Comparing version 3.0.2 to 3.1.0
@@ -14,3 +14,3 @@ "use strict"; | ||
timeout: DEFAULT_TIME_OUT, | ||
clientVersion: 'v3.0.2', | ||
clientVersion: 'v3.1.0', | ||
port: DEFAULT_PORT, | ||
@@ -17,0 +17,0 @@ timemachineWaitInMillis: DEFAULT_TIME_MACHINE_WAIT, |
@@ -1099,2 +1099,18 @@ "use strict"; | ||
], | ||
omnichannelSubscription: [ | ||
['retrieve', 'GET', '/omnichannel_subscriptions', null, true], | ||
['list', 'GET', '/omnichannel_subscriptions', null, false], | ||
[ | ||
'omnichannel_transactionsForOmnichannelSubscription', | ||
'GET', | ||
'/omnichannel_subscriptions', | ||
'/omnichannel_transactions', | ||
true, | ||
], | ||
], | ||
omnichannelTransaction: [], | ||
recordedPurchase: [ | ||
['create', 'POST', '/recorded_purchases', null, false], | ||
['retrieve', 'GET', '/recorded_purchases', null, true], | ||
], | ||
}; |
@@ -11,3 +11,3 @@ const DEFAULT_PROTOCOL = 'https'; | ||
timeout: DEFAULT_TIME_OUT, | ||
clientVersion: 'v3.0.2', | ||
clientVersion: 'v3.1.0', | ||
port: DEFAULT_PORT, | ||
@@ -14,0 +14,0 @@ timemachineWaitInMillis: DEFAULT_TIME_MACHINE_WAIT, |
@@ -1096,2 +1096,18 @@ export const Endpoints = { | ||
], | ||
omnichannelSubscription: [ | ||
['retrieve', 'GET', '/omnichannel_subscriptions', null, true], | ||
['list', 'GET', '/omnichannel_subscriptions', null, false], | ||
[ | ||
'omnichannel_transactionsForOmnichannelSubscription', | ||
'GET', | ||
'/omnichannel_subscriptions', | ||
'/omnichannel_transactions', | ||
true, | ||
], | ||
], | ||
omnichannelTransaction: [], | ||
recordedPurchase: [ | ||
['create', 'POST', '/recorded_purchases', null, false], | ||
['retrieve', 'GET', '/recorded_purchases', null, true], | ||
], | ||
}; |
{ | ||
"name": "chargebee", | ||
"version": "3.0.2", | ||
"version": "3.1.0", | ||
"description": "A library for integrating with Chargebee.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -135,3 +135,6 @@ declare module 'chargebee' { | ||
| 'business_entity' | ||
| 'price_variant'; | ||
| 'price_variant' | ||
| 'omnichannel_subscription' | ||
| 'omnichannel_subscription_item' | ||
| 'omnichannel_transaction'; | ||
type EventNameEnum = 'cancellation_page_loaded'; | ||
@@ -314,2 +317,13 @@ type EventTypeEnum = | ||
| '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' | ||
@@ -316,0 +330,0 @@ | 'plan_updated' |
@@ -44,2 +44,4 @@ ///<reference path='./resources/Address.d.ts' /> | ||
///<reference path='./resources/NonSubscription.d.ts' /> | ||
///<reference path='./resources/OmnichannelSubscription.d.ts' /> | ||
///<reference path='./resources/OmnichannelTransaction.d.ts' /> | ||
///<reference path='./resources/Order.d.ts' /> | ||
@@ -63,2 +65,3 @@ ///<reference path='./resources/PaymentIntent.d.ts' /> | ||
///<reference path='./resources/Ramp.d.ts' /> | ||
///<reference path='./resources/RecordedPurchase.d.ts' /> | ||
///<reference path='./resources/ResourceMigration.d.ts' /> | ||
@@ -147,2 +150,3 @@ ///<reference path='./resources/SiteMigrationDetail.d.ts' /> | ||
nonSubscription: NonSubscription.NonSubscriptionResource; | ||
omnichannelSubscription: OmnichannelSubscription.OmnichannelSubscriptionResource; | ||
order: Order.OrderResource; | ||
@@ -160,2 +164,3 @@ paymentIntent: PaymentIntent.PaymentIntentResource; | ||
ramp: Ramp.RampResource; | ||
recordedPurchase: RecordedPurchase.RecordedPurchaseResource; | ||
resourceMigration: ResourceMigration.ResourceMigrationResource; | ||
@@ -162,0 +167,0 @@ siteMigrationDetail: SiteMigrationDetail.SiteMigrationDetailResource; |
@@ -20,2 +20,3 @@ ///<reference path='./../core.d.ts'/> | ||
channel?: ChannelEnum; | ||
business_entity_id?: string; | ||
} | ||
@@ -88,2 +89,3 @@ | ||
charge_once?: boolean; | ||
business_entity_id?: string; | ||
} | ||
@@ -90,0 +92,0 @@ export interface UpdateInputParam { |
@@ -140,2 +140,3 @@ ///<reference path='./../core.d.ts'/> | ||
cvv?: string; | ||
preferred_scheme?: 'cartes_bancaires' | 'mastercard' | 'visa'; | ||
billing_addr1?: string; | ||
@@ -142,0 +143,0 @@ billing_addr2?: string; |
@@ -79,2 +79,5 @@ ///<reference path='./../core.d.ts'/> | ||
| 'business_entity' | ||
| 'omnichannel_subscription' | ||
| 'omnichannel_subscription_item' | ||
| 'omnichannel_transaction' | ||
| 'item_family' | ||
@@ -81,0 +84,0 @@ | 'item' |
@@ -17,5 +17,6 @@ ///<reference path='./../core.d.ts'/> | ||
duration_month?: number; | ||
valid_from?: number; | ||
valid_till?: number; | ||
max_redemptions?: number; | ||
status?: 'active' | 'expired' | 'archived' | 'deleted'; | ||
status?: 'active' | 'expired' | 'archived' | 'deleted' | 'future'; | ||
apply_discount_on: | ||
@@ -146,3 +147,7 @@ | 'plans' | ||
entity_type: 'customer'; | ||
type: 'max_redemptions' | 'unique_by'; | ||
type: | ||
| 'max_redemptions' | ||
| 'unique_by' | ||
| 'existing_customer' | ||
| 'new_customer'; | ||
value?: string; | ||
@@ -196,2 +201,3 @@ } | ||
duration_month?: number; | ||
valid_from?: number; | ||
valid_till?: number; | ||
@@ -224,2 +230,3 @@ max_redemptions?: number; | ||
duration_month?: number; | ||
valid_from?: number; | ||
valid_till?: number; | ||
@@ -293,3 +300,7 @@ max_redemptions?: number; | ||
entity_type: 'customer'; | ||
type: 'max_redemptions' | 'unique_by'; | ||
type: | ||
| 'max_redemptions' | ||
| 'unique_by' | ||
| 'existing_customer' | ||
| 'new_customer'; | ||
value?: string; | ||
@@ -310,3 +321,7 @@ } | ||
entity_type: 'customer'; | ||
type: 'max_redemptions' | 'unique_by'; | ||
type: | ||
| 'max_redemptions' | ||
| 'unique_by' | ||
| 'existing_customer' | ||
| 'new_customer'; | ||
value?: string; | ||
@@ -313,0 +328,0 @@ } |
@@ -344,3 +344,4 @@ ///<reference path='./../core.d.ts'/> | ||
| 'timeout' | ||
| 'needs_attention'; | ||
| 'needs_attention' | ||
| 'late_failure'; | ||
txn_date?: number; | ||
@@ -347,0 +348,0 @@ txn_amount?: number; |
@@ -746,2 +746,3 @@ ///<reference path='./../core.d.ts'/> | ||
cvv?: string; | ||
preferred_scheme?: 'cartes_bancaires' | 'mastercard' | 'visa'; | ||
billing_addr1?: string; | ||
@@ -909,2 +910,3 @@ billing_addr2?: string; | ||
cvv?: string; | ||
preferred_scheme?: 'cartes_bancaires' | 'mastercard' | 'visa'; | ||
billing_addr1?: string; | ||
@@ -911,0 +913,0 @@ billing_addr2?: string; |
@@ -19,2 +19,3 @@ ///<reference path='./../core.d.ts'/> | ||
parent_periods?: DifferentialPrice.ParentPeriod[]; | ||
business_entity_id?: string; | ||
} | ||
@@ -94,2 +95,3 @@ | ||
price_in_decimal?: string; | ||
business_entity_id?: string; | ||
parent_periods?: ParentPeriodsCreateInputParam[]; | ||
@@ -96,0 +98,0 @@ tiers?: TiersCreateInputParam[]; |
@@ -263,5 +263,9 @@ ///<reference path='./../core.d.ts'/> | ||
export interface ItemFamiliesInputParam { | ||
business_entity_id?: filter.String; | ||
include_site_level_resources?: filter.Boolean; | ||
item_family?: ItemFamilyItemFamiliesInputParam; | ||
} | ||
export interface ItemsInputParam { | ||
business_entity_id?: filter.String; | ||
include_site_level_resources?: filter.Boolean; | ||
item?: ItemItemsInputParam; | ||
@@ -273,2 +277,4 @@ } | ||
currency_code?: filter.String; | ||
business_entity_id?: filter.String; | ||
include_site_level_resources?: filter.Boolean; | ||
item_price?: ItemPriceItemPricesInputParam; | ||
@@ -285,2 +291,4 @@ } | ||
export interface PriceVariantsInputParam { | ||
business_entity_id?: filter.String; | ||
include_site_level_resources?: filter.Boolean; | ||
price_variant?: PriceVariantPriceVariantsInputParam; | ||
@@ -287,0 +295,0 @@ } |
@@ -589,3 +589,4 @@ ///<reference path='./../core.d.ts'/> | ||
| 'timeout' | ||
| 'needs_attention'; | ||
| 'needs_attention' | ||
| 'late_failure'; | ||
txn_date?: number; | ||
@@ -605,3 +606,4 @@ txn_amount?: number; | ||
| 'timeout' | ||
| 'needs_attention'; | ||
| 'needs_attention' | ||
| 'late_failure'; | ||
txn_amount?: number; | ||
@@ -1178,2 +1180,3 @@ } | ||
cvv?: string; | ||
preferred_scheme?: 'cartes_bancaires' | 'mastercard' | 'visa'; | ||
billing_addr1?: string; | ||
@@ -1324,2 +1327,3 @@ billing_addr2?: string; | ||
cvv?: string; | ||
preferred_scheme?: 'cartes_bancaires' | 'mastercard' | 'visa'; | ||
billing_addr1?: string; | ||
@@ -1604,3 +1608,3 @@ billing_addr2?: string; | ||
id_at_gateway?: string; | ||
status?: 'success' | 'failure'; | ||
status?: 'success' | 'failure' | 'late_failure'; | ||
date?: number; | ||
@@ -1607,0 +1611,0 @@ error_code?: string; |
@@ -33,2 +33,3 @@ ///<reference path='./../core.d.ts'/> | ||
metadata?: any; | ||
business_entity_id?: string; | ||
} | ||
@@ -121,2 +122,3 @@ | ||
metadata?: any; | ||
business_entity_id?: string; | ||
bundle_configuration?: BundleConfigurationCreateInputParam; | ||
@@ -169,2 +171,4 @@ bundle_items_to_add?: BundleItemsToAddCreateInputParam[]; | ||
channel?: filter.Enum; | ||
business_entity_id?: filter.String; | ||
include_site_level_resources?: filter.Boolean; | ||
'sort_by[asc]'?: string; | ||
@@ -171,0 +175,0 @@ 'sort_by[desc]'?: string; |
@@ -14,2 +14,3 @@ ///<reference path='./../core.d.ts'/> | ||
channel?: ChannelEnum; | ||
business_entity_id?: string; | ||
} | ||
@@ -74,2 +75,3 @@ | ||
description?: string; | ||
business_entity_id?: string; | ||
[key: `cf_${string}`]: unknown; | ||
@@ -83,2 +85,4 @@ } | ||
updated_at?: filter.Timestamp; | ||
business_entity_id?: filter.String; | ||
include_site_level_resources?: filter.Boolean; | ||
[key: `cf_${string}`]: unknown; | ||
@@ -85,0 +89,0 @@ } |
@@ -51,2 +51,3 @@ ///<reference path='./../core.d.ts'/> | ||
show_description_in_quotes?: boolean; | ||
business_entity_id?: string; | ||
} | ||
@@ -176,2 +177,3 @@ | ||
usage_accumulation_reset_frequency?: UsageAccumulationResetFrequencyEnum; | ||
business_entity_id?: string; | ||
pricing_model?: PricingModelEnum; | ||
@@ -248,2 +250,4 @@ price?: number; | ||
updated_at?: filter.Timestamp; | ||
business_entity_id?: filter.String; | ||
include_site_level_resources?: filter.Boolean; | ||
period_unit?: filter.Enum; | ||
@@ -250,0 +254,0 @@ period?: filter.Number; |
@@ -59,5 +59,10 @@ ///<reference path='./../core.d.ts'/> | ||
period?: number; | ||
description?: string; | ||
name: string; | ||
flexible_schedules?: FlexibleSchedulesCreateInputParam[]; | ||
} | ||
export interface FlexibleSchedulesCreateInputParam { | ||
period?: number; | ||
amount_percentage?: number; | ||
} | ||
} | ||
} |
@@ -479,2 +479,3 @@ ///<reference path='./../core.d.ts'/> | ||
cvv?: string; | ||
preferred_scheme?: 'cartes_bancaires' | 'mastercard' | 'visa'; | ||
billing_addr1?: string; | ||
@@ -481,0 +482,0 @@ billing_addr2?: string; |
@@ -17,2 +17,3 @@ ///<reference path='./../core.d.ts'/> | ||
attributes?: PriceVariant.Attribute[]; | ||
business_entity_id?: string; | ||
} | ||
@@ -83,2 +84,3 @@ | ||
variant_group?: string; | ||
business_entity_id?: string; | ||
attributes?: AttributesCreateInputParam[]; | ||
@@ -102,2 +104,4 @@ } | ||
created_at?: filter.Timestamp; | ||
business_entity_id?: filter.String; | ||
include_site_level_resources?: filter.Boolean; | ||
'sort_by[asc]'?: string; | ||
@@ -104,0 +108,0 @@ 'sort_by[desc]'?: string; |
@@ -27,3 +27,4 @@ ///<reference path='./../core.d.ts'/> | ||
| 'timeout' | ||
| 'needs_attention'; | ||
| 'needs_attention' | ||
| 'late_failure'; | ||
fraud_flag?: 'safe' | 'suspicious' | 'fraudulent'; | ||
@@ -209,3 +210,3 @@ initiator_type?: 'customer' | 'merchant'; | ||
cn_status: 'adjusted' | 'refunded' | 'refund_due' | 'voided'; | ||
cn_reference_invoice_id: string; | ||
cn_reference_invoice_id?: string; | ||
} | ||
@@ -220,3 +221,4 @@ export interface LinkedRefund { | ||
| 'timeout' | ||
| 'needs_attention'; | ||
| 'needs_attention' | ||
| 'late_failure'; | ||
txn_date: number; | ||
@@ -233,3 +235,4 @@ txn_amount: number; | ||
| 'timeout' | ||
| 'needs_attention'; | ||
| 'needs_attention' | ||
| 'late_failure'; | ||
amount?: number; | ||
@@ -236,0 +239,0 @@ date?: number; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
845325
115
20882
8