chargebee
Advanced tools
Comparing version 3.0.0-beta.4 to 3.0.0-beta.5
@@ -14,3 +14,3 @@ "use strict"; | ||
timeout: DEFAULT_TIME_OUT, | ||
clientVersion: 'v3.0.0-beta.4', | ||
clientVersion: 'v3.0.0-beta.5', | ||
port: DEFAULT_PORT, | ||
@@ -17,0 +17,0 @@ timemachineWaitInMillis: DEFAULT_TIME_MACHINE_WAIT, |
@@ -197,3 +197,3 @@ "use strict"; | ||
} | ||
else if (key === 'meta_data' || key === "metadata") { | ||
else if (key === 'meta_data' || key === 'metadata') { | ||
let attrVal = ''; | ||
@@ -200,0 +200,0 @@ if (value !== null) { |
@@ -11,3 +11,3 @@ const DEFAULT_PROTOCOL = 'https'; | ||
timeout: DEFAULT_TIME_OUT, | ||
clientVersion: 'v3.0.0-beta.4', | ||
clientVersion: 'v3.0.0-beta.5', | ||
port: DEFAULT_PORT, | ||
@@ -14,0 +14,0 @@ timemachineWaitInMillis: DEFAULT_TIME_MACHINE_WAIT, |
@@ -181,3 +181,3 @@ export const extend = (deep, target, copy) => { | ||
} | ||
else if (key === 'meta_data' || key === "metadata") { | ||
else if (key === 'meta_data' || key === 'metadata') { | ||
let attrVal = ''; | ||
@@ -184,0 +184,0 @@ if (value !== null) { |
{ | ||
"name": "chargebee", | ||
"version": "3.0.0-beta.4", | ||
"version": "3.0.0-beta.5", | ||
"description": "A library for integrating with Chargebee.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -22,17 +22,21 @@ declare module 'chargebee' { | ||
}; | ||
type AccountHolderType = 'individual' | 'company'; | ||
type AccountReceivablesHandling = | ||
type AccountHolderTypeEnum = 'individual' | 'company'; | ||
type AccountReceivablesHandlingEnum = | ||
| 'no_action' | ||
| 'schedule_payment_collection' | ||
| 'write_off'; | ||
type AccountType = 'checking' | 'savings' | 'business_checking' | 'current'; | ||
type Action = 'upsert' | 'remove'; | ||
type ApiVersion = 'v1' | 'v2'; | ||
type ApplyOn = 'invoice_amount' | 'specific_item_price'; | ||
type AutoCollection = 'on' | 'off'; | ||
type AvalaraSaleType = 'wholesale' | 'retail' | 'consumed' | 'vendor_use'; | ||
type BillingAlignmentMode = 'immediate' | 'delayed'; | ||
type BillingDateMode = 'using_defaults' | 'manually_set'; | ||
type BillingDayOfWeekMode = 'using_defaults' | 'manually_set'; | ||
type CancelOption = | ||
type AccountTypeEnum = | ||
| 'checking' | ||
| 'savings' | ||
| 'business_checking' | ||
| 'current'; | ||
type ActionEnum = 'upsert' | 'remove'; | ||
type ApiVersionEnum = 'v1' | 'v2'; | ||
type ApplyOnEnum = 'invoice_amount' | 'specific_item_price'; | ||
type AutoCollectionEnum = 'on' | 'off'; | ||
type AvalaraSaleTypeEnum = 'wholesale' | 'retail' | 'consumed' | 'vendor_use'; | ||
type BillingAlignmentModeEnum = 'immediate' | 'delayed'; | ||
type BillingDateModeEnum = 'using_defaults' | 'manually_set'; | ||
type BillingDayOfWeekModeEnum = 'using_defaults' | 'manually_set'; | ||
type CancelOptionEnum = | ||
| 'immediately' | ||
@@ -42,6 +46,6 @@ | 'end_of_term' | ||
| 'end_of_billing_term'; | ||
type ChangeOption = 'immediately' | 'end_of_term' | 'specific_date'; | ||
type Channel = 'web' | 'app_store' | 'play_store'; | ||
type ChargeModel = 'full_charge' | 'prorate'; | ||
type ChargeOnEvent = | ||
type ChangeOptionEnum = 'immediately' | 'end_of_term' | 'specific_date'; | ||
type ChannelEnum = 'web' | 'app_store' | 'play_store'; | ||
type ChargeModelEnum = 'full_charge' | 'prorate'; | ||
type ChargeOnEventEnum = | ||
| 'subscription_creation' | ||
@@ -53,10 +57,10 @@ | 'subscription_trial_start' | ||
| 'on_demand'; | ||
type ChargeOnOption = 'immediately' | 'on_event'; | ||
type ChargesHandling = 'invoice_immediately' | 'add_to_unbilled_charges'; | ||
type ContractTermCancelOption = | ||
type ChargeOnOptionEnum = 'immediately' | 'on_event'; | ||
type ChargesHandlingEnum = 'invoice_immediately' | 'add_to_unbilled_charges'; | ||
type ContractTermCancelOptionEnum = | ||
| 'terminate_immediately' | ||
| 'end_of_contract_term'; | ||
type CreditOptionForCurrentTermCharges = 'none' | 'prorate' | 'full'; | ||
type CreditType = 'loyalty_credits' | 'referral_rewards' | 'general'; | ||
type CustomerType = | ||
type CreditOptionForCurrentTermChargesEnum = 'none' | 'prorate' | 'full'; | ||
type CreditTypeEnum = 'loyalty_credits' | 'referral_rewards' | 'general'; | ||
type CustomerTypeEnum = | ||
| 'residential' | ||
@@ -66,4 +70,4 @@ | 'business' | ||
| 'industrial'; | ||
type DedupeOption = 'skip' | 'update_existing'; | ||
type DirectDebitScheme = | ||
type DedupeOptionEnum = 'skip' | 'update_existing'; | ||
type DirectDebitSchemeEnum = | ||
| 'ach' | ||
@@ -77,12 +81,12 @@ | 'bacs' | ||
| 'not_applicable'; | ||
type DispositionType = 'attachment' | 'inline'; | ||
type DunningType = 'auto_collect' | 'offline' | 'direct_debit'; | ||
type DurationType = 'one_time' | 'forever' | 'limited_period'; | ||
type EcheckType = 'web' | 'ppd' | 'ccd'; | ||
type EinvoicingMethod = 'automatic' | 'manual' | 'site_default'; | ||
type EndScheduleOn = | ||
type DispositionTypeEnum = 'attachment' | 'inline'; | ||
type DunningTypeEnum = 'auto_collect' | 'offline' | 'direct_debit'; | ||
type DurationTypeEnum = 'one_time' | 'forever' | 'limited_period'; | ||
type EcheckTypeEnum = 'web' | 'ppd' | 'ccd'; | ||
type EinvoicingMethodEnum = 'automatic' | 'manual' | 'site_default'; | ||
type EndScheduleOnEnum = | ||
| 'after_number_of_intervals' | ||
| 'specific_date' | ||
| 'subscription_end'; | ||
type EntityCode = | ||
type EntityCodeEnum = | ||
| 'a' | ||
@@ -107,3 +111,3 @@ | 'b' | ||
| 'med2'; | ||
type EntityType = | ||
type EntityTypeEnum = | ||
| 'customer' | ||
@@ -138,4 +142,4 @@ | 'subscription' | ||
| 'price_variant'; | ||
type EventName = 'cancellation_page_loaded'; | ||
type EventType = | ||
type EventNameEnum = 'cancellation_page_loaded'; | ||
type EventTypeEnum = | ||
| 'coupon_created' | ||
@@ -322,6 +326,6 @@ | 'coupon_updated' | ||
| 'addon_deleted'; | ||
type ExportType = 'data' | 'import_friendly_data'; | ||
type FreePeriodUnit = 'day' | 'week' | 'month' | 'year'; | ||
type FriendOfferType = 'none' | 'coupon' | 'coupon_code'; | ||
type Gateway = | ||
type ExportTypeEnum = 'data' | 'import_friendly_data'; | ||
type FreePeriodUnitEnum = 'day' | 'week' | 'month' | 'year'; | ||
type FriendOfferTypeEnum = 'none' | 'coupon' | 'coupon_code'; | ||
type GatewayEnum = | ||
| 'chargebee' | ||
@@ -379,11 +383,14 @@ | 'chargebee_payments' | ||
| 'not_applicable'; | ||
type HierarchyOperationType = | ||
type HierarchyOperationTypeEnum = | ||
| 'complete_hierarchy' | ||
| 'subordinates' | ||
| 'path_to_root'; | ||
type InvoiceDunningHandling = 'continue' | 'stop'; | ||
type ItemType = 'plan' | 'addon' | 'charge'; | ||
type Layout = 'in_app' | 'full_page'; | ||
type NotifyReferralSystem = 'none' | 'first_paid_conversion' | 'all_invoices'; | ||
type OfflinePaymentMethod = | ||
type InvoiceDunningHandlingEnum = 'continue' | 'stop'; | ||
type ItemTypeEnum = 'plan' | 'addon' | 'charge'; | ||
type LayoutEnum = 'in_app' | 'full_page'; | ||
type NotifyReferralSystemEnum = | ||
| 'none' | ||
| 'first_paid_conversion' | ||
| 'all_invoices'; | ||
type OfflinePaymentMethodEnum = | ||
| 'no_preference' | ||
@@ -402,3 +409,3 @@ | 'cash' | ||
| 'custom'; | ||
type OnEvent = | ||
type OnEventEnum = | ||
| 'subscription_creation' | ||
@@ -409,5 +416,5 @@ | 'subscription_trial_start' | ||
| 'contract_termination'; | ||
type Operation = 'create' | 'update' | 'delete'; | ||
type OperationType = 'add' | 'remove'; | ||
type PauseOption = | ||
type OperationEnum = 'create' | 'update' | 'delete'; | ||
type OperationTypeEnum = 'add' | 'remove'; | ||
type PauseOptionEnum = | ||
| 'immediately' | ||
@@ -417,4 +424,4 @@ | 'end_of_term' | ||
| 'billing_cycles'; | ||
type PaymentInitiator = 'customer' | 'merchant'; | ||
type PaymentMethod = | ||
type PaymentInitiatorEnum = 'customer' | 'merchant'; | ||
type PaymentMethodEnum = | ||
| 'cash' | ||
@@ -452,3 +459,3 @@ | 'check' | ||
| 'online_banking_poland'; | ||
type PaymentMethodType = | ||
type PaymentMethodTypeEnum = | ||
| 'card' | ||
@@ -478,6 +485,6 @@ | 'paypal_express_checkout' | ||
| 'online_banking_poland'; | ||
type PaymentVoucherType = 'boleto'; | ||
type PeriodUnit = 'day' | 'week' | 'month' | 'year'; | ||
type PriceType = 'tax_exclusive' | 'tax_inclusive'; | ||
type PricingModel = | ||
type PaymentVoucherTypeEnum = 'boleto'; | ||
type PeriodUnitEnum = 'day' | 'week' | 'month' | 'year'; | ||
type PriceTypeEnum = 'tax_exclusive' | 'tax_inclusive'; | ||
type PricingModelEnum = | ||
| 'flat_fee' | ||
@@ -488,5 +495,8 @@ | 'per_unit' | ||
| 'stairstep'; | ||
type ProrationType = 'full_term' | 'partial_term' | 'none'; | ||
type ReferralSystem = 'referral_candy' | 'referral_saasquatch' | 'friendbuy'; | ||
type ReferrerRewardType = | ||
type ProrationTypeEnum = 'full_term' | 'partial_term' | 'none'; | ||
type ReferralSystemEnum = | ||
| 'referral_candy' | ||
| 'referral_saasquatch' | ||
| 'friendbuy'; | ||
type ReferrerRewardTypeEnum = | ||
| 'none' | ||
@@ -496,8 +506,8 @@ | 'referral_direct_reward' | ||
| 'custom_revenue_percent_based'; | ||
type RefundableCreditsHandling = 'no_action' | 'schedule_refund'; | ||
type ReportBy = 'customer' | 'invoice' | 'product' | 'subscription'; | ||
type ResumeOption = 'immediately' | 'specific_date'; | ||
type Role = 'primary' | 'backup' | 'none'; | ||
type ScheduleType = 'immediate' | 'specific_dates' | 'fixed_intervals'; | ||
type Source = | ||
type RefundableCreditsHandlingEnum = 'no_action' | 'schedule_refund'; | ||
type ReportByEnum = 'customer' | 'invoice' | 'product' | 'subscription'; | ||
type ResumeOptionEnum = 'immediately' | 'specific_date'; | ||
type RoleEnum = 'primary' | 'backup' | 'none'; | ||
type ScheduleTypeEnum = 'immediate' | 'specific_dates' | 'fixed_intervals'; | ||
type SourceEnum = | ||
| 'admin_console' | ||
@@ -514,3 +524,3 @@ | 'api' | ||
| 'external_service'; | ||
type TaxExemptReason = | ||
type TaxExemptReasonEnum = | ||
| 'tax_not_configured' | ||
@@ -526,3 +536,3 @@ | 'region_non_taxable' | ||
| 'tax_not_configured_external_provider'; | ||
type TaxJurisType = | ||
type TaxJurisTypeEnum = | ||
| 'country' | ||
@@ -536,6 +546,6 @@ | 'federal' | ||
| 'other'; | ||
type TaxOverrideReason = 'id_exempt' | 'customer_exempt' | 'export'; | ||
type Taxability = 'taxable' | 'exempt'; | ||
type TaxjarExemptionCategory = 'wholesale' | 'government' | 'other'; | ||
type TrialEndAction = | ||
type TaxOverrideReasonEnum = 'id_exempt' | 'customer_exempt' | 'export'; | ||
type TaxabilityEnum = 'taxable' | 'exempt'; | ||
type TaxjarExemptionCategoryEnum = 'wholesale' | 'government' | 'other'; | ||
type TrialEndActionEnum = | ||
| 'site_default' | ||
@@ -545,3 +555,3 @@ | 'plan_default' | ||
| 'cancel_subscription'; | ||
type Type = | ||
type TypeEnum = | ||
| 'card' | ||
@@ -571,9 +581,9 @@ | 'paypal_express_checkout' | ||
| 'online_banking_poland'; | ||
type UnbilledChargesHandling = 'no_action' | 'invoice'; | ||
type UnbilledChargesOption = 'invoice' | 'delete'; | ||
type UnpaidInvoicesHandling = 'no_action' | 'schedule_payment_collection'; | ||
type UsageAccumulationResetFrequency = | ||
type UnbilledChargesHandlingEnum = 'no_action' | 'invoice'; | ||
type UnbilledChargesOptionEnum = 'invoice' | 'delete'; | ||
type UnpaidInvoicesHandlingEnum = 'no_action' | 'schedule_payment_collection'; | ||
type UsageAccumulationResetFrequencyEnum = | ||
| 'never' | ||
| 'subscription_billing_frequency'; | ||
type ValidationStatus = | ||
type ValidationStatusEnum = | ||
| 'not_validated' | ||
@@ -583,4 +593,4 @@ | 'valid' | ||
| 'invalid'; | ||
type VoucherType = 'boleto'; | ||
type ChargeOn = 'immediately' | 'on_event'; | ||
type VoucherTypeEnum = 'boleto'; | ||
type ChargeOnEnum = 'immediately' | 'on_event'; | ||
} |
@@ -20,3 +20,3 @@ ///<reference path='./../core.d.ts'/> | ||
zip?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
subscription_id: string; | ||
@@ -69,5 +69,5 @@ } | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
} | ||
} |
@@ -14,3 +14,3 @@ ///<reference path='./../core.d.ts'/> | ||
export interface FixedIntervalSchedule { | ||
end_schedule_on?: EndScheduleOn; | ||
end_schedule_on?: EndScheduleOnEnum; | ||
number_of_occurrences?: number; | ||
@@ -17,0 +17,0 @@ days_before_renewal?: number; |
@@ -14,3 +14,3 @@ ///<reference path='./../core.d.ts'/> | ||
billing_cycles?: number; | ||
charge_on_event: ChargeOnEvent; | ||
charge_on_event: ChargeOnEventEnum; | ||
charge_once: boolean; | ||
@@ -20,3 +20,3 @@ created_at: number; | ||
updated_at?: number; | ||
channel?: Channel; | ||
channel?: ChannelEnum; | ||
} | ||
@@ -87,3 +87,3 @@ | ||
quantity_in_decimal?: string; | ||
charge_on_event?: ChargeOnEvent; | ||
charge_on_event?: ChargeOnEventEnum; | ||
charge_once?: boolean; | ||
@@ -97,3 +97,3 @@ } | ||
quantity_in_decimal?: string; | ||
charge_on_event?: ChargeOnEvent; | ||
charge_on_event?: ChargeOnEventEnum; | ||
charge_once?: boolean; | ||
@@ -100,0 +100,0 @@ } |
@@ -8,3 +8,3 @@ ///<reference path='./../core.d.ts'/> | ||
status: 'valid' | 'expiring' | 'expired'; | ||
gateway: Gateway; | ||
gateway: GatewayEnum; | ||
gateway_account_id?: string; | ||
@@ -132,3 +132,3 @@ ref_tx_id?: string; | ||
gateway?: Gateway; | ||
gateway?: GatewayEnum; | ||
gateway_account_id?: string; | ||
@@ -160,3 +160,3 @@ tmp_token?: string; | ||
gateway?: Gateway; | ||
gateway?: GatewayEnum; | ||
gateway_account_id: string; | ||
@@ -163,0 +163,0 @@ } |
@@ -7,3 +7,3 @@ ///<reference path='./../core.d.ts'/> | ||
id: string; | ||
entity_type: EntityType; | ||
entity_type: EntityTypeEnum; | ||
added_by?: string; | ||
@@ -60,3 +60,3 @@ notes: string; | ||
export interface CreateInputParam { | ||
entity_type: EntityType; | ||
entity_type: EntityTypeEnum; | ||
entity_id: string; | ||
@@ -63,0 +63,0 @@ notes: string; |
@@ -34,3 +34,3 @@ ///<reference path='./../core.d.ts'/> | ||
period?: number; | ||
period_unit?: PeriodUnit; | ||
period_unit?: PeriodUnitEnum; | ||
plan_ids?: string[]; | ||
@@ -173,3 +173,3 @@ addon_ids?: string[]; | ||
period?: number; | ||
period_unit?: PeriodUnit; | ||
period_unit?: PeriodUnitEnum; | ||
plan_constraint?: 'none' | 'all' | 'specific'; | ||
@@ -202,3 +202,3 @@ addon_constraint?: 'none' | 'all' | 'specific'; | ||
period?: number; | ||
period_unit?: PeriodUnit; | ||
period_unit?: PeriodUnitEnum; | ||
status?: 'active' | 'archived'; | ||
@@ -230,3 +230,3 @@ item_constraints?: ItemConstraintsCreateForItemsInputParam[]; | ||
period?: number; | ||
period_unit?: PeriodUnit; | ||
period_unit?: PeriodUnitEnum; | ||
item_constraints?: ItemConstraintsUpdateForItemsInputParam[]; | ||
@@ -273,3 +273,3 @@ item_constraint_criteria?: ItemConstraintCriteriaUpdateForItemsInputParam[]; | ||
period?: number; | ||
period_unit?: PeriodUnit; | ||
period_unit?: PeriodUnitEnum; | ||
plan_constraint?: 'none' | 'all' | 'specific'; | ||
@@ -276,0 +276,0 @@ addon_constraint?: 'none' | 'all' | 'specific'; |
@@ -27,3 +27,3 @@ ///<reference path='./../core.d.ts'/> | ||
date?: number; | ||
price_type: PriceType; | ||
price_type: PriceTypeEnum; | ||
currency_code: string; | ||
@@ -39,3 +39,3 @@ total?: number; | ||
updated_at?: number; | ||
channel?: Channel; | ||
channel?: ChannelEnum; | ||
einvoice?: CreditNote.Einvoice; | ||
@@ -378,3 +378,3 @@ sub_total: number; | ||
zip?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
index: number; | ||
@@ -396,3 +396,3 @@ } | ||
zip?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -430,3 +430,3 @@ export interface SiteDetailsAtCreation { | ||
export interface PdfInputParam { | ||
disposition_type?: DispositionType; | ||
disposition_type?: DispositionTypeEnum; | ||
} | ||
@@ -524,3 +524,3 @@ export interface RefundInputParam { | ||
amount?: number; | ||
payment_method: PaymentMethod; | ||
payment_method: PaymentMethodEnum; | ||
reference_number?: string; | ||
@@ -557,3 +557,3 @@ custom_payment_method_id?: string; | ||
amount: number; | ||
payment_method: PaymentMethod; | ||
payment_method: PaymentMethodEnum; | ||
date: number; | ||
@@ -560,0 +560,0 @@ reference_number?: string; |
@@ -8,3 +8,3 @@ ///<reference path='./../core.d.ts'/> | ||
type: 'adjustment' | 'refundable'; | ||
price_type: PriceType; | ||
price_type: PriceTypeEnum; | ||
currency_code: string; | ||
@@ -11,0 +11,0 @@ sub_total: number; |
@@ -14,4 +14,4 @@ ///<reference path='./../core.d.ts'/> | ||
vat_number?: string; | ||
auto_collection: AutoCollection; | ||
offline_payment_method?: OfflinePaymentMethod; | ||
auto_collection: AutoCollectionEnum; | ||
offline_payment_method?: OfflinePaymentMethodEnum; | ||
net_term_days: number; | ||
@@ -25,4 +25,4 @@ vat_number_validated_time?: number; | ||
exemption_details?: any; | ||
taxability?: Taxability; | ||
entity_code?: EntityCode; | ||
taxability?: TaxabilityEnum; | ||
entity_code?: EntityCodeEnum; | ||
exempt_number?: string; | ||
@@ -34,3 +34,3 @@ resource_version?: number; | ||
billing_month?: number; | ||
billing_date_mode?: BillingDateMode; | ||
billing_date_mode?: BillingDateModeEnum; | ||
billing_day_of_week?: | ||
@@ -44,6 +44,6 @@ | 'sunday' | ||
| 'saturday'; | ||
billing_day_of_week_mode?: BillingDayOfWeekMode; | ||
billing_day_of_week_mode?: BillingDayOfWeekModeEnum; | ||
pii_cleared?: 'active' | 'scheduled_for_clear' | 'cleared'; | ||
auto_close_invoices?: boolean; | ||
channel?: Channel; | ||
channel?: ChannelEnum; | ||
active_id?: string; | ||
@@ -75,3 +75,3 @@ card_status?: | ||
is_einvoice_enabled?: boolean; | ||
einvoicing_method?: EinvoicingMethod; | ||
einvoicing_method?: EinvoicingMethodEnum; | ||
meta_data?: any; | ||
@@ -81,3 +81,3 @@ deleted: boolean; | ||
consolidated_invoicing?: boolean; | ||
customer_type?: CustomerType; | ||
customer_type?: CustomerTypeEnum; | ||
business_customer_without_vat_number?: boolean; | ||
@@ -368,3 +368,3 @@ client_profile_id?: string; | ||
zip?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -393,4 +393,4 @@ export interface ReferralUrl { | ||
export interface PaymentMethod { | ||
type: Type; | ||
gateway: Gateway; | ||
type: TypeEnum; | ||
gateway: GatewayEnum; | ||
gateway_account_id?: string; | ||
@@ -454,3 +454,3 @@ status: | ||
company?: string; | ||
auto_collection?: AutoCollection; | ||
auto_collection?: AutoCollectionEnum; | ||
net_term_days?: number; | ||
@@ -464,14 +464,14 @@ allow_direct_debit?: boolean; | ||
is_einvoice_enabled?: boolean; | ||
einvoicing_method?: EinvoicingMethod; | ||
taxability?: Taxability; | ||
einvoicing_method?: EinvoicingMethodEnum; | ||
taxability?: TaxabilityEnum; | ||
exemption_details?: any; | ||
customer_type?: CustomerType; | ||
customer_type?: CustomerTypeEnum; | ||
client_profile_id?: string; | ||
taxjar_exemption_category?: TaxjarExemptionCategory; | ||
taxjar_exemption_category?: TaxjarExemptionCategoryEnum; | ||
business_customer_without_vat_number?: boolean; | ||
locale?: string; | ||
entity_code?: EntityCode; | ||
entity_code?: EntityCodeEnum; | ||
exempt_number?: string; | ||
meta_data?: any; | ||
offline_payment_method?: OfflinePaymentMethod; | ||
offline_payment_method?: OfflinePaymentMethodEnum; | ||
auto_close_invoices?: boolean; | ||
@@ -525,14 +525,14 @@ consolidated_invoicing?: boolean; | ||
company?: string; | ||
auto_collection?: AutoCollection; | ||
auto_collection?: AutoCollectionEnum; | ||
allow_direct_debit?: boolean; | ||
net_term_days?: number; | ||
taxability?: Taxability; | ||
taxability?: TaxabilityEnum; | ||
exemption_details?: any; | ||
customer_type?: CustomerType; | ||
customer_type?: CustomerTypeEnum; | ||
client_profile_id?: string; | ||
taxjar_exemption_category?: TaxjarExemptionCategory; | ||
taxjar_exemption_category?: TaxjarExemptionCategoryEnum; | ||
locale?: string; | ||
entity_code?: EntityCode; | ||
entity_code?: EntityCodeEnum; | ||
exempt_number?: string; | ||
offline_payment_method?: OfflinePaymentMethod; | ||
offline_payment_method?: OfflinePaymentMethodEnum; | ||
invoice_notes?: string; | ||
@@ -557,3 +557,3 @@ auto_close_invoices?: boolean; | ||
is_einvoice_enabled?: boolean; | ||
einvoicing_method?: EinvoicingMethod; | ||
einvoicing_method?: EinvoicingMethodEnum; | ||
billing_address?: BillingAddressUpdateBillingInfoInputParam; | ||
@@ -569,3 +569,3 @@ entity_identifiers?: EntityIdentifiersUpdateBillingInfoInputParam[]; | ||
payment_source_id: string; | ||
role: Role; | ||
role: RoleEnum; | ||
} | ||
@@ -585,3 +585,3 @@ export interface AddContactInputParam { | ||
description: string; | ||
credit_type?: CreditType; | ||
credit_type?: CreditTypeEnum; | ||
reference?: string; | ||
@@ -593,3 +593,3 @@ } | ||
description: string; | ||
credit_type?: CreditType; | ||
credit_type?: CreditTypeEnum; | ||
reference?: string; | ||
@@ -601,3 +601,3 @@ } | ||
description: string; | ||
credit_type?: CreditType; | ||
credit_type?: CreditTypeEnum; | ||
reference?: string; | ||
@@ -615,3 +615,3 @@ } | ||
retain_payment_source?: boolean; | ||
payment_initiator?: PaymentInitiator; | ||
payment_initiator?: PaymentInitiatorEnum; | ||
payment_method?: PaymentMethodCollectPaymentInputParam; | ||
@@ -633,3 +633,3 @@ card?: CardCollectPaymentInputParam; | ||
billing_month?: number; | ||
billing_date_mode?: BillingDateMode; | ||
billing_date_mode?: BillingDateModeEnum; | ||
billing_day_of_week?: | ||
@@ -643,3 +643,3 @@ | 'sunday' | ||
| 'saturday'; | ||
billing_day_of_week_mode?: BillingDayOfWeekMode; | ||
billing_day_of_week_mode?: BillingDayOfWeekModeEnum; | ||
} | ||
@@ -684,10 +684,10 @@ export interface MergeInputParam { | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
export interface PaymentMethodCreateInputParam { | ||
type?: Type; | ||
type?: TypeEnum; | ||
/** | ||
* @deprecated Please refer API docs to use other attributes | ||
*/ | ||
gateway?: Gateway; | ||
gateway?: GatewayEnum; | ||
gateway_account_id?: string; | ||
@@ -711,5 +711,5 @@ reference_id?: string; | ||
bank_code?: string; | ||
account_type?: AccountType; | ||
account_holder_type?: AccountHolderType; | ||
echeck_type?: EcheckType; | ||
account_type?: AccountTypeEnum; | ||
account_holder_type?: AccountHolderTypeEnum; | ||
echeck_type?: EcheckTypeEnum; | ||
issuing_country?: string; | ||
@@ -755,3 +755,3 @@ swedish_identity_number?: string; | ||
*/ | ||
gateway?: Gateway; | ||
gateway?: GatewayEnum; | ||
gateway_account_id?: string; | ||
@@ -805,7 +805,7 @@ /** | ||
export interface PaymentMethodUpdatePaymentMethodInputParam { | ||
type: Type; | ||
type: TypeEnum; | ||
/** | ||
* @deprecated Please refer API docs to use other attributes | ||
*/ | ||
gateway?: Gateway; | ||
gateway?: GatewayEnum; | ||
gateway_account_id?: string; | ||
@@ -832,3 +832,3 @@ reference_id?: string; | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -840,3 +840,3 @@ | ||
value?: string; | ||
operation?: Operation; | ||
operation?: OperationEnum; | ||
standard?: string; | ||
@@ -881,3 +881,3 @@ } | ||
date: number; | ||
payment_method: PaymentMethod; | ||
payment_method: PaymentMethodEnum; | ||
reference_number?: string; | ||
@@ -888,3 +888,3 @@ custom_payment_method_id?: string; | ||
export interface PaymentMethodCollectPaymentInputParam { | ||
type?: Type; | ||
type?: TypeEnum; | ||
gateway_account_id?: string; | ||
@@ -891,0 +891,0 @@ reference_id?: string; |
@@ -12,7 +12,7 @@ ///<reference path='./../core.d.ts'/> | ||
currency_code?: string; | ||
duration_type: DurationType; | ||
duration_type: DurationTypeEnum; | ||
period?: number; | ||
period_unit?: PeriodUnit; | ||
period_unit?: PeriodUnitEnum; | ||
included_in_mrr: boolean; | ||
apply_on: ApplyOn; | ||
apply_on: ApplyOnEnum; | ||
item_price_id?: string; | ||
@@ -19,0 +19,0 @@ created_at: number; |
@@ -56,3 +56,3 @@ ///<reference path='./../core.d.ts'/> | ||
export interface CreateInputParam { | ||
action: Action; | ||
action: ActionEnum; | ||
entitlements?: EntitlementsCreateInputParam[]; | ||
@@ -59,0 +59,0 @@ } |
@@ -50,3 +50,3 @@ ///<reference path='./../core.d.ts'/> | ||
export interface AddEntitlementOverrideForSubscriptionInputParam { | ||
action?: Action; | ||
action?: ActionEnum; | ||
entitlement_overrides?: EntitlementOverridesAddEntitlementOverrideForSubscriptionInputParam[]; | ||
@@ -53,0 +53,0 @@ } |
@@ -217,3 +217,3 @@ ///<reference path='./../core.d.ts'/> | ||
terms_to_charge?: number; | ||
billing_alignment_mode?: BillingAlignmentMode; | ||
billing_alignment_mode?: BillingAlignmentModeEnum; | ||
coupon_ids?: string[]; | ||
@@ -236,3 +236,3 @@ invoice_immediately?: boolean; | ||
terms_to_charge?: number; | ||
billing_alignment_mode?: BillingAlignmentMode; | ||
billing_alignment_mode?: BillingAlignmentModeEnum; | ||
coupon_ids?: string[]; | ||
@@ -273,3 +273,3 @@ invoice_immediately?: boolean; | ||
terms_to_charge?: number; | ||
billing_alignment_mode?: BillingAlignmentMode; | ||
billing_alignment_mode?: BillingAlignmentModeEnum; | ||
invoice_date?: number; | ||
@@ -287,3 +287,3 @@ coupon_ids?: string[]; | ||
changes_scheduled_at?: number; | ||
change_option?: ChangeOption; | ||
change_option?: ChangeOptionEnum; | ||
replace_addon_list?: boolean; | ||
@@ -295,3 +295,3 @@ mandatory_addons_to_remove?: string[]; | ||
reactivate_from?: number; | ||
billing_alignment_mode?: BillingAlignmentMode; | ||
billing_alignment_mode?: BillingAlignmentModeEnum; | ||
coupon_ids?: string[]; | ||
@@ -315,3 +315,3 @@ replace_coupon_list?: boolean; | ||
changes_scheduled_at?: number; | ||
change_option?: ChangeOption; | ||
change_option?: ChangeOptionEnum; | ||
mandatory_items_to_remove?: string[]; | ||
@@ -323,3 +323,3 @@ replace_items_list?: boolean; | ||
reactivate_from?: number; | ||
billing_alignment_mode?: BillingAlignmentMode; | ||
billing_alignment_mode?: BillingAlignmentModeEnum; | ||
coupon_ids?: string[]; | ||
@@ -352,3 +352,3 @@ replace_coupon_list?: boolean; | ||
invoice_immediately?: boolean; | ||
schedule_type?: ScheduleType; | ||
schedule_type?: ScheduleTypeEnum; | ||
fixed_interval_schedule?: FixedIntervalScheduleAdvanceInvoiceEstimateInputParam; | ||
@@ -369,10 +369,10 @@ specific_dates_schedule?: SpecificDatesScheduleAdvanceInvoiceEstimateInputParam[]; | ||
export interface CancelSubscriptionInputParam { | ||
cancel_option?: CancelOption; | ||
cancel_option?: CancelOptionEnum; | ||
end_of_term?: boolean; | ||
cancel_at?: number; | ||
credit_option_for_current_term_charges?: CreditOptionForCurrentTermCharges; | ||
unbilled_charges_option?: UnbilledChargesOption; | ||
account_receivables_handling?: AccountReceivablesHandling; | ||
refundable_credits_handling?: RefundableCreditsHandling; | ||
contract_term_cancel_option?: ContractTermCancelOption; | ||
credit_option_for_current_term_charges?: CreditOptionForCurrentTermChargesEnum; | ||
unbilled_charges_option?: UnbilledChargesOptionEnum; | ||
account_receivables_handling?: AccountReceivablesHandlingEnum; | ||
refundable_credits_handling?: RefundableCreditsHandlingEnum; | ||
contract_term_cancel_option?: ContractTermCancelOptionEnum; | ||
invoice_date?: number; | ||
@@ -383,10 +383,10 @@ cancel_reason_code?: string; | ||
export interface CancelSubscriptionForItemsInputParam { | ||
cancel_option?: CancelOption; | ||
cancel_option?: CancelOptionEnum; | ||
end_of_term?: boolean; | ||
cancel_at?: number; | ||
credit_option_for_current_term_charges?: CreditOptionForCurrentTermCharges; | ||
unbilled_charges_option?: UnbilledChargesOption; | ||
account_receivables_handling?: AccountReceivablesHandling; | ||
refundable_credits_handling?: RefundableCreditsHandling; | ||
contract_term_cancel_option?: ContractTermCancelOption; | ||
credit_option_for_current_term_charges?: CreditOptionForCurrentTermChargesEnum; | ||
unbilled_charges_option?: UnbilledChargesOptionEnum; | ||
account_receivables_handling?: AccountReceivablesHandlingEnum; | ||
refundable_credits_handling?: RefundableCreditsHandlingEnum; | ||
contract_term_cancel_option?: ContractTermCancelOptionEnum; | ||
invoice_date?: number; | ||
@@ -397,9 +397,9 @@ cancel_reason_code?: string; | ||
export interface PauseSubscriptionInputParam { | ||
pause_option?: PauseOption; | ||
unbilled_charges_handling?: UnbilledChargesHandling; | ||
pause_option?: PauseOptionEnum; | ||
unbilled_charges_handling?: UnbilledChargesHandlingEnum; | ||
subscription?: SubscriptionPauseSubscriptionInputParam; | ||
} | ||
export interface ResumeSubscriptionInputParam { | ||
resume_option?: ResumeOption; | ||
charges_handling?: ChargesHandling; | ||
resume_option?: ResumeOptionEnum; | ||
charges_handling?: ChargesHandlingEnum; | ||
subscription?: SubscriptionResumeSubscriptionInputParam; | ||
@@ -437,3 +437,3 @@ } | ||
payment_source_id?: string; | ||
auto_collection?: AutoCollection; | ||
auto_collection?: AutoCollectionEnum; | ||
invoice_date?: number; | ||
@@ -458,3 +458,3 @@ invoice?: InvoiceCreateInvoiceInputParam; | ||
payment_source_id?: string; | ||
auto_collection?: AutoCollection; | ||
auto_collection?: AutoCollectionEnum; | ||
invoice_date?: number; | ||
@@ -484,3 +484,3 @@ invoice?: InvoiceCreateInvoiceForItemsInputParam; | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -491,7 +491,7 @@ export interface CustomerCreateSubscriptionInputParam { | ||
registered_for_gst?: boolean; | ||
taxability?: Taxability; | ||
entity_code?: EntityCode; | ||
taxability?: TaxabilityEnum; | ||
entity_code?: EntityCodeEnum; | ||
exempt_number?: string; | ||
exemption_details?: any; | ||
customer_type?: CustomerType; | ||
customer_type?: CustomerTypeEnum; | ||
} | ||
@@ -506,3 +506,3 @@ export interface ShippingAddressCreateSubscriptionInputParam { | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -527,7 +527,7 @@ export interface ContractTermCreateSubscriptionInputParam { | ||
coupon?: string; | ||
offline_payment_method?: OfflinePaymentMethod; | ||
offline_payment_method?: OfflinePaymentMethodEnum; | ||
free_period?: number; | ||
free_period_unit?: FreePeriodUnit; | ||
free_period_unit?: FreePeriodUnitEnum; | ||
contract_term_billing_cycle_on_renewal?: number; | ||
trial_end_action?: TrialEndAction; | ||
trial_end_action?: TrialEndActionEnum; | ||
} | ||
@@ -542,5 +542,5 @@ | ||
service_period_in_days?: number; | ||
on_event?: OnEvent; | ||
on_event?: OnEventEnum; | ||
charge_once?: boolean; | ||
charge_on?: ChargeOn; | ||
charge_on?: ChargeOnEnum; | ||
} | ||
@@ -569,3 +569,3 @@ export interface AddonsCreateSubscriptionInputParam { | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -576,7 +576,7 @@ export interface CustomerCreateSubItemEstimateInputParam { | ||
registered_for_gst?: boolean; | ||
taxability?: Taxability; | ||
entity_code?: EntityCode; | ||
taxability?: TaxabilityEnum; | ||
entity_code?: EntityCodeEnum; | ||
exempt_number?: string; | ||
exemption_details?: any; | ||
customer_type?: CustomerType; | ||
customer_type?: CustomerTypeEnum; | ||
} | ||
@@ -591,3 +591,3 @@ export interface ShippingAddressCreateSubItemEstimateInputParam { | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -615,5 +615,5 @@ export interface ContractTermCreateSubItemEstimateInputParam { | ||
free_period?: number; | ||
free_period_unit?: FreePeriodUnit; | ||
free_period_unit?: FreePeriodUnitEnum; | ||
contract_term_billing_cycle_on_renewal?: number; | ||
trial_end_action?: TrialEndAction; | ||
trial_end_action?: TrialEndActionEnum; | ||
} | ||
@@ -630,3 +630,3 @@ | ||
service_period_days?: number; | ||
charge_on_event?: ChargeOnEvent; | ||
charge_on_event?: ChargeOnEventEnum; | ||
charge_once?: boolean; | ||
@@ -636,12 +636,12 @@ /** | ||
*/ | ||
item_type?: ItemType; | ||
charge_on_option?: ChargeOnOption; | ||
item_type?: ItemTypeEnum; | ||
charge_on_option?: ChargeOnOptionEnum; | ||
} | ||
export interface DiscountsCreateSubItemEstimateInputParam { | ||
apply_on: ApplyOn; | ||
duration_type: DurationType; | ||
apply_on: ApplyOnEnum; | ||
duration_type: DurationTypeEnum; | ||
percentage?: number; | ||
amount?: number; | ||
period?: number; | ||
period_unit?: PeriodUnit; | ||
period_unit?: PeriodUnitEnum; | ||
included_in_mrr?: boolean; | ||
@@ -672,3 +672,3 @@ item_price_id?: string; | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -689,7 +689,7 @@ export interface ContractTermCreateSubForCustomerEstimateInputParam { | ||
start_date?: number; | ||
offline_payment_method?: OfflinePaymentMethod; | ||
offline_payment_method?: OfflinePaymentMethodEnum; | ||
free_period?: number; | ||
free_period_unit?: FreePeriodUnit; | ||
free_period_unit?: FreePeriodUnitEnum; | ||
contract_term_billing_cycle_on_renewal?: number; | ||
trial_end_action?: TrialEndAction; | ||
trial_end_action?: TrialEndActionEnum; | ||
} | ||
@@ -704,5 +704,5 @@ | ||
service_period_in_days?: number; | ||
on_event?: OnEvent; | ||
on_event?: OnEventEnum; | ||
charge_once?: boolean; | ||
charge_on?: ChargeOn; | ||
charge_on?: ChargeOnEnum; | ||
} | ||
@@ -726,3 +726,3 @@ export interface AddonsCreateSubForCustomerEstimateInputParam { | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -737,3 +737,3 @@ export interface ShippingAddressCreateSubItemForCustomerEstimateInputParam { | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -757,5 +757,5 @@ export interface ContractTermCreateSubItemForCustomerEstimateInputParam { | ||
free_period?: number; | ||
free_period_unit?: FreePeriodUnit; | ||
free_period_unit?: FreePeriodUnitEnum; | ||
contract_term_billing_cycle_on_renewal?: number; | ||
trial_end_action?: TrialEndAction; | ||
trial_end_action?: TrialEndActionEnum; | ||
} | ||
@@ -772,3 +772,3 @@ | ||
service_period_days?: number; | ||
charge_on_event?: ChargeOnEvent; | ||
charge_on_event?: ChargeOnEventEnum; | ||
charge_once?: boolean; | ||
@@ -778,12 +778,12 @@ /** | ||
*/ | ||
item_type?: ItemType; | ||
charge_on_option?: ChargeOnOption; | ||
item_type?: ItemTypeEnum; | ||
charge_on_option?: ChargeOnOptionEnum; | ||
} | ||
export interface DiscountsCreateSubItemForCustomerEstimateInputParam { | ||
apply_on: ApplyOn; | ||
duration_type: DurationType; | ||
apply_on: ApplyOnEnum; | ||
duration_type: DurationTypeEnum; | ||
percentage?: number; | ||
amount?: number; | ||
period?: number; | ||
period_unit?: PeriodUnit; | ||
period_unit?: PeriodUnitEnum; | ||
included_in_mrr?: boolean; | ||
@@ -809,3 +809,3 @@ item_price_id?: string; | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -819,3 +819,3 @@ export interface CustomerUpdateSubscriptionInputParam { | ||
*/ | ||
taxability?: Taxability; | ||
taxability?: TaxabilityEnum; | ||
} | ||
@@ -830,3 +830,3 @@ export interface ShippingAddressUpdateSubscriptionInputParam { | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -847,7 +847,7 @@ export interface SubscriptionUpdateSubscriptionInputParam { | ||
coupon?: string; | ||
auto_collection?: AutoCollection; | ||
offline_payment_method?: OfflinePaymentMethod; | ||
auto_collection?: AutoCollectionEnum; | ||
offline_payment_method?: OfflinePaymentMethodEnum; | ||
free_period?: number; | ||
free_period_unit?: FreePeriodUnit; | ||
trial_end_action?: TrialEndAction; | ||
free_period_unit?: FreePeriodUnitEnum; | ||
trial_end_action?: TrialEndActionEnum; | ||
} | ||
@@ -860,4 +860,4 @@ | ||
service_period_in_days?: number; | ||
charge_on?: ChargeOn; | ||
on_event?: OnEvent; | ||
charge_on?: ChargeOnEnum; | ||
on_event?: OnEventEnum; | ||
charge_once?: boolean; | ||
@@ -875,3 +875,3 @@ quantity_in_decimal?: string; | ||
trial_end?: number; | ||
proration_type?: ProrationType; | ||
proration_type?: ProrationTypeEnum; | ||
} | ||
@@ -886,3 +886,3 @@ export interface BillingAddressUpdateSubscriptionForItemsInputParam { | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -896,3 +896,3 @@ export interface CustomerUpdateSubscriptionForItemsInputParam { | ||
*/ | ||
taxability?: Taxability; | ||
taxability?: TaxabilityEnum; | ||
} | ||
@@ -907,3 +907,3 @@ export interface ShippingAddressUpdateSubscriptionForItemsInputParam { | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -922,7 +922,7 @@ export interface SubscriptionUpdateSubscriptionForItemsInputParam { | ||
coupon?: string; | ||
auto_collection?: AutoCollection; | ||
offline_payment_method?: OfflinePaymentMethod; | ||
auto_collection?: AutoCollectionEnum; | ||
offline_payment_method?: OfflinePaymentMethodEnum; | ||
free_period?: number; | ||
free_period_unit?: FreePeriodUnit; | ||
trial_end_action?: TrialEndAction; | ||
free_period_unit?: FreePeriodUnitEnum; | ||
trial_end_action?: TrialEndActionEnum; | ||
} | ||
@@ -939,21 +939,21 @@ | ||
service_period_days?: number; | ||
charge_on_event?: ChargeOnEvent; | ||
charge_on_event?: ChargeOnEventEnum; | ||
charge_once?: boolean; | ||
charge_on_option?: ChargeOnOption; | ||
charge_on_option?: ChargeOnOptionEnum; | ||
/** | ||
* @deprecated Please refer API docs to use other attributes | ||
*/ | ||
item_type?: ItemType; | ||
proration_type?: ProrationType; | ||
item_type?: ItemTypeEnum; | ||
proration_type?: ProrationTypeEnum; | ||
} | ||
export interface DiscountsUpdateSubscriptionForItemsInputParam { | ||
apply_on: ApplyOn; | ||
duration_type: DurationType; | ||
apply_on: ApplyOnEnum; | ||
duration_type: DurationTypeEnum; | ||
percentage?: number; | ||
amount?: number; | ||
period?: number; | ||
period_unit?: PeriodUnit; | ||
period_unit?: PeriodUnitEnum; | ||
included_in_mrr?: boolean; | ||
item_price_id?: string; | ||
operation_type: OperationType; | ||
operation_type: OperationTypeEnum; | ||
id?: string; | ||
@@ -973,3 +973,3 @@ } | ||
days_before_renewal?: number; | ||
end_schedule_on?: EndScheduleOn; | ||
end_schedule_on?: EndScheduleOnEnum; | ||
end_date?: number; | ||
@@ -1038,3 +1038,3 @@ } | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -1116,3 +1116,3 @@ export interface PaymentIntentGiftSubscriptionInputParam { | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -1176,3 +1176,3 @@ export interface PaymentIntentGiftSubscriptionForItemsInputParam { | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -1189,3 +1189,3 @@ | ||
taxjar_product_code?: string; | ||
avalara_sale_type?: AvalaraSaleType; | ||
avalara_sale_type?: AvalaraSaleTypeEnum; | ||
avalara_transaction_type?: number; | ||
@@ -1211,3 +1211,3 @@ avalara_service_type?: number; | ||
export interface NotesToRemoveCreateInvoiceInputParam { | ||
entity_type?: EntityType; | ||
entity_type?: EntityTypeEnum; | ||
entity_id?: string; | ||
@@ -1234,3 +1234,3 @@ } | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -1247,3 +1247,3 @@ | ||
taxjar_product_code?: string; | ||
avalara_sale_type?: AvalaraSaleType; | ||
avalara_sale_type?: AvalaraSaleTypeEnum; | ||
avalara_transaction_type?: number; | ||
@@ -1257,3 +1257,3 @@ avalara_service_type?: number; | ||
amount?: number; | ||
apply_on: ApplyOn; | ||
apply_on: ApplyOnEnum; | ||
item_price_id?: string; | ||
@@ -1285,3 +1285,3 @@ } | ||
export interface NotesToRemoveCreateInvoiceForItemsInputParam { | ||
entity_type?: EntityType; | ||
entity_type?: EntityTypeEnum; | ||
entity_id?: string; | ||
@@ -1288,0 +1288,0 @@ } |
@@ -8,3 +8,3 @@ ///<reference path='./../core.d.ts'/> | ||
occurred_at: number; | ||
source: Source; | ||
source: SourceEnum; | ||
user?: string; | ||
@@ -21,4 +21,4 @@ webhook_status: | ||
webhooks?: Event.Webhook[]; | ||
event_type?: EventType; | ||
api_version?: ApiVersion; | ||
event_type?: EventTypeEnum; | ||
api_version?: ApiVersionEnum; | ||
origin_user?: string; | ||
@@ -25,0 +25,0 @@ } |
@@ -188,3 +188,3 @@ ///<reference path='./../core.d.ts'/> | ||
export interface RevenueRecognitionInputParam { | ||
report_by: ReportBy; | ||
report_by: ReportByEnum; | ||
currency_code?: string; | ||
@@ -207,3 +207,3 @@ report_from_month: number; | ||
export interface DeferredRevenueInputParam { | ||
report_by: ReportBy; | ||
report_by: ReportByEnum; | ||
currency_code?: string; | ||
@@ -238,3 +238,3 @@ report_from_month: number; | ||
export interface CustomersInputParam { | ||
export_type?: ExportType; | ||
export_type?: ExportTypeEnum; | ||
business_entity_id?: filter.String; | ||
@@ -245,3 +245,3 @@ customer?: CustomerCustomersInputParam; | ||
export interface SubscriptionsInputParam { | ||
export_type?: ExportType; | ||
export_type?: ExportTypeEnum; | ||
item_id?: filter.String; | ||
@@ -248,0 +248,0 @@ item_price_id?: filter.String; |
@@ -177,3 +177,3 @@ ///<reference path='./../core.d.ts'/> | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -249,3 +249,3 @@ export interface PaymentIntentCreateInputParam { | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -252,0 +252,0 @@ export interface PaymentIntentCreateForItemsInputParam { |
@@ -246,3 +246,3 @@ ///<reference path='./../core.d.ts'/> | ||
terms_to_charge?: number; | ||
billing_alignment_mode?: BillingAlignmentMode; | ||
billing_alignment_mode?: BillingAlignmentModeEnum; | ||
coupon_ids?: string[]; | ||
@@ -287,3 +287,3 @@ redirect_url?: string; | ||
business_entity_id?: string; | ||
layout?: Layout; | ||
layout?: LayoutEnum; | ||
invoice_note?: string /** | ||
@@ -311,3 +311,3 @@ * @deprecated Please refer API docs to use other attributes | ||
export interface CheckoutNewForItemsInputParam { | ||
layout?: Layout; | ||
layout?: LayoutEnum; | ||
business_entity_id?: string; | ||
@@ -317,3 +317,3 @@ billing_cycles?: number; | ||
terms_to_charge?: number; | ||
billing_alignment_mode?: BillingAlignmentMode; | ||
billing_alignment_mode?: BillingAlignmentModeEnum; | ||
coupon_ids?: string[]; | ||
@@ -342,3 +342,3 @@ redirect_url?: string; | ||
reactivate_from?: number; | ||
billing_alignment_mode?: BillingAlignmentMode; | ||
billing_alignment_mode?: BillingAlignmentModeEnum; | ||
coupon_ids?: string[]; | ||
@@ -361,3 +361,3 @@ reactivate?: boolean; | ||
export interface CheckoutExistingForItemsInputParam { | ||
layout?: Layout; | ||
layout?: LayoutEnum; | ||
mandatory_items_to_remove?: string[]; | ||
@@ -369,7 +369,7 @@ replace_items_list?: boolean; | ||
reactivate_from?: number; | ||
billing_alignment_mode?: BillingAlignmentMode; | ||
billing_alignment_mode?: BillingAlignmentModeEnum; | ||
coupon_ids?: string[]; | ||
reactivate?: boolean; | ||
force_term_reset?: boolean; | ||
change_option?: ChangeOption; | ||
change_option?: ChangeOptionEnum; | ||
changes_scheduled_at?: number; | ||
@@ -420,3 +420,3 @@ redirect_url?: string; | ||
redirect_url?: string; | ||
layout?: Layout; | ||
layout?: LayoutEnum; | ||
quote?: QuoteAcceptQuoteInputParam; | ||
@@ -466,3 +466,3 @@ } | ||
export interface EventsInputParam { | ||
event_name: EventName; | ||
event_name: EventNameEnum; | ||
occurred_at?: number; | ||
@@ -489,3 +489,3 @@ event_data: any; | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -500,3 +500,3 @@ export interface CustomerCheckoutNewInputParam { | ||
locale?: string; | ||
taxability?: Taxability; | ||
taxability?: TaxabilityEnum; | ||
vat_number?: string; | ||
@@ -520,3 +520,3 @@ vat_number_prefix?: string; | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -541,4 +541,4 @@ export interface ContractTermCheckoutNewInputParam { | ||
coupon?: string; | ||
auto_collection?: AutoCollection; | ||
offline_payment_method?: OfflinePaymentMethod; | ||
auto_collection?: AutoCollectionEnum; | ||
offline_payment_method?: OfflinePaymentMethodEnum; | ||
invoice_notes?: string; | ||
@@ -552,3 +552,3 @@ affiliate_token?: string; | ||
*/ | ||
gateway?: Gateway; | ||
gateway?: GatewayEnum; | ||
gateway_account_id?: string; | ||
@@ -564,5 +564,5 @@ } | ||
service_period_in_days?: number; | ||
on_event?: OnEvent; | ||
on_event?: OnEventEnum; | ||
charge_once?: boolean; | ||
charge_on?: ChargeOn; | ||
charge_on?: ChargeOnEnum; | ||
} | ||
@@ -591,3 +591,3 @@ export interface AddonsCheckoutNewInputParam { | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -605,3 +605,3 @@ export interface InvoiceCheckoutOneTimeInputParam { | ||
locale?: string; | ||
taxability?: Taxability; | ||
taxability?: TaxabilityEnum; | ||
vat_number?: string; | ||
@@ -625,3 +625,3 @@ vat_number_prefix?: string; | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -632,3 +632,3 @@ export interface CardCheckoutOneTimeInputParam { | ||
*/ | ||
gateway?: Gateway; | ||
gateway?: GatewayEnum; | ||
gateway_account_id?: string; | ||
@@ -646,3 +646,3 @@ } | ||
taxjar_product_code?: string; | ||
avalara_sale_type?: AvalaraSaleType; | ||
avalara_sale_type?: AvalaraSaleTypeEnum; | ||
avalara_transaction_type?: number; | ||
@@ -676,3 +676,3 @@ avalara_service_type?: number; | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -690,6 +690,6 @@ export interface InvoiceCheckoutOneTimeForItemsInputParam { | ||
locale?: string; | ||
taxability?: Taxability; | ||
taxability?: TaxabilityEnum; | ||
vat_number?: string; | ||
vat_number_prefix?: string; | ||
einvoicing_method?: EinvoicingMethod; | ||
einvoicing_method?: EinvoicingMethodEnum; | ||
is_einvoice_enabled?: boolean; | ||
@@ -714,3 +714,3 @@ entity_identifier_scheme?: string; | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -721,3 +721,3 @@ export interface CardCheckoutOneTimeForItemsInputParam { | ||
*/ | ||
gateway?: Gateway; | ||
gateway?: GatewayEnum; | ||
gateway_account_id?: string; | ||
@@ -735,3 +735,3 @@ } | ||
taxjar_product_code?: string; | ||
avalara_sale_type?: AvalaraSaleType; | ||
avalara_sale_type?: AvalaraSaleTypeEnum; | ||
avalara_transaction_type?: number; | ||
@@ -745,3 +745,3 @@ avalara_service_type?: number; | ||
amount?: number; | ||
apply_on: ApplyOn; | ||
apply_on: ApplyOnEnum; | ||
item_price_id?: string; | ||
@@ -753,3 +753,3 @@ } | ||
value?: string; | ||
operation?: Operation; | ||
operation?: OperationEnum; | ||
standard?: string; | ||
@@ -789,3 +789,3 @@ } | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -800,3 +800,3 @@ export interface CustomerCheckoutNewForItemsInputParam { | ||
locale?: string; | ||
taxability?: Taxability; | ||
taxability?: TaxabilityEnum; | ||
vat_number?: string; | ||
@@ -807,3 +807,3 @@ vat_number_prefix?: string; | ||
entity_identifier_standard?: string; | ||
einvoicing_method?: EinvoicingMethod; | ||
einvoicing_method?: EinvoicingMethodEnum; | ||
} | ||
@@ -824,3 +824,3 @@ export interface ShippingAddressCheckoutNewForItemsInputParam { | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -840,3 +840,3 @@ export interface ContractTermCheckoutNewForItemsInputParam { | ||
coupon?: string; | ||
auto_collection?: AutoCollection; | ||
auto_collection?: AutoCollectionEnum; | ||
invoice_notes?: string; | ||
@@ -849,3 +849,3 @@ contract_term_billing_cycle_on_renewal?: number; | ||
*/ | ||
gateway?: Gateway; | ||
gateway?: GatewayEnum; | ||
gateway_account_id?: string; | ||
@@ -863,3 +863,3 @@ } | ||
service_period_days?: number; | ||
charge_on_event?: ChargeOnEvent; | ||
charge_on_event?: ChargeOnEventEnum; | ||
charge_once?: boolean; | ||
@@ -869,12 +869,12 @@ /** | ||
*/ | ||
item_type?: ItemType; | ||
charge_on_option?: ChargeOnOption; | ||
item_type?: ItemTypeEnum; | ||
charge_on_option?: ChargeOnOptionEnum; | ||
} | ||
export interface DiscountsCheckoutNewForItemsInputParam { | ||
apply_on: ApplyOn; | ||
duration_type: DurationType; | ||
apply_on: ApplyOnEnum; | ||
duration_type: DurationTypeEnum; | ||
percentage?: number; | ||
amount?: number; | ||
period?: number; | ||
period_unit?: PeriodUnit; | ||
period_unit?: PeriodUnitEnum; | ||
included_in_mrr?: boolean; | ||
@@ -887,3 +887,3 @@ item_price_id?: string; | ||
value?: string; | ||
operation?: Operation; | ||
operation?: OperationEnum; | ||
standard?: string; | ||
@@ -922,4 +922,4 @@ } | ||
coupon?: string; | ||
auto_collection?: AutoCollection; | ||
offline_payment_method?: OfflinePaymentMethod; | ||
auto_collection?: AutoCollectionEnum; | ||
offline_payment_method?: OfflinePaymentMethodEnum; | ||
invoice_notes?: string; | ||
@@ -932,3 +932,3 @@ contract_term_billing_cycle_on_renewal?: number; | ||
*/ | ||
gateway?: Gateway; | ||
gateway?: GatewayEnum; | ||
gateway_account_id?: string; | ||
@@ -942,4 +942,4 @@ } | ||
service_period_in_days?: number; | ||
charge_on?: ChargeOn; | ||
on_event?: OnEvent; | ||
charge_on?: ChargeOnEnum; | ||
on_event?: OnEventEnum; | ||
charge_once?: boolean; | ||
@@ -980,4 +980,4 @@ quantity_in_decimal?: string; | ||
coupon?: string; | ||
auto_collection?: AutoCollection; | ||
offline_payment_method?: OfflinePaymentMethod; | ||
auto_collection?: AutoCollectionEnum; | ||
offline_payment_method?: OfflinePaymentMethodEnum; | ||
invoice_notes?: string; | ||
@@ -990,3 +990,3 @@ contract_term_billing_cycle_on_renewal?: number; | ||
*/ | ||
gateway?: Gateway; | ||
gateway?: GatewayEnum; | ||
gateway_account_id?: string; | ||
@@ -1004,20 +1004,20 @@ } | ||
service_period_days?: number; | ||
charge_on_event?: ChargeOnEvent; | ||
charge_on_event?: ChargeOnEventEnum; | ||
charge_once?: boolean; | ||
charge_on_option?: ChargeOnOption; | ||
charge_on_option?: ChargeOnOptionEnum; | ||
/** | ||
* @deprecated Please refer API docs to use other attributes | ||
*/ | ||
item_type?: ItemType; | ||
item_type?: ItemTypeEnum; | ||
} | ||
export interface DiscountsCheckoutExistingForItemsInputParam { | ||
apply_on: ApplyOn; | ||
duration_type: DurationType; | ||
apply_on: ApplyOnEnum; | ||
duration_type: DurationTypeEnum; | ||
percentage?: number; | ||
amount?: number; | ||
period?: number; | ||
period_unit?: PeriodUnit; | ||
period_unit?: PeriodUnitEnum; | ||
included_in_mrr?: boolean; | ||
item_price_id?: string; | ||
operation_type: OperationType; | ||
operation_type: OperationTypeEnum; | ||
id?: string; | ||
@@ -1029,3 +1029,3 @@ } | ||
value?: string; | ||
operation?: Operation; | ||
operation?: OperationEnum; | ||
standard?: string; | ||
@@ -1057,3 +1057,3 @@ } | ||
*/ | ||
gateway?: Gateway; | ||
gateway?: GatewayEnum; | ||
gateway_account_id?: string; | ||
@@ -1077,3 +1077,3 @@ } | ||
*/ | ||
gateway?: Gateway; | ||
gateway?: GatewayEnum; | ||
gateway_account_id?: string; | ||
@@ -1089,3 +1089,3 @@ } | ||
*/ | ||
gateway?: Gateway; | ||
gateway?: GatewayEnum; | ||
gateway_account_id?: string; | ||
@@ -1101,3 +1101,3 @@ } | ||
*/ | ||
gateway?: Gateway; | ||
gateway?: GatewayEnum; | ||
gateway_account_id?: string; | ||
@@ -1104,0 +1104,0 @@ } |
@@ -19,3 +19,3 @@ ///<reference path='./../core.d.ts'/> | ||
vat_number?: string; | ||
price_type: PriceType; | ||
price_type: PriceTypeEnum; | ||
date?: number; | ||
@@ -75,3 +75,3 @@ due_date?: number; | ||
vat_number_prefix?: string; | ||
channel?: Channel; | ||
channel?: ChannelEnum; | ||
business_entity_id?: string; | ||
@@ -720,3 +720,3 @@ site_details_at_creation?: Invoice.SiteDetailsAtCreation; | ||
zip?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
index: number; | ||
@@ -742,3 +742,3 @@ } | ||
zip?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -783,7 +783,7 @@ export interface Einvoice { | ||
payment_source_id?: string; | ||
auto_collection?: AutoCollection; | ||
auto_collection?: AutoCollectionEnum; | ||
token_id?: string; | ||
replace_primary_payment_source?: boolean; | ||
retain_payment_source?: boolean; | ||
payment_initiator?: PaymentInitiator; | ||
payment_initiator?: PaymentInitiatorEnum; | ||
shipping_address?: ShippingAddressCreateInputParam; | ||
@@ -814,3 +814,3 @@ statement_descriptor?: StatementDescriptorCreateInputParam; | ||
payment_source_id?: string; | ||
auto_collection?: AutoCollection; | ||
auto_collection?: AutoCollectionEnum; | ||
invoice_date?: number; | ||
@@ -820,3 +820,3 @@ token_id?: string; | ||
retain_payment_source?: boolean; | ||
payment_initiator?: PaymentInitiator; | ||
payment_initiator?: PaymentInitiatorEnum; | ||
shipping_address?: ShippingAddressCreateForChargeItemsAndChargesInputParam; | ||
@@ -849,3 +849,3 @@ statement_descriptor?: StatementDescriptorCreateForChargeItemsAndChargesInputParam; | ||
coupon?: string; | ||
avalara_sale_type?: AvalaraSaleType; | ||
avalara_sale_type?: AvalaraSaleTypeEnum; | ||
avalara_transaction_type?: number; | ||
@@ -856,3 +856,3 @@ avalara_service_type?: number; | ||
payment_source_id?: string; | ||
payment_initiator?: PaymentInitiator; | ||
payment_initiator?: PaymentInitiatorEnum; | ||
tax_providers_fields?: TaxProvidersFieldsChargeInputParam[]; | ||
@@ -878,3 +878,3 @@ } | ||
payment_source_id?: string; | ||
payment_initiator?: PaymentInitiator; | ||
payment_initiator?: PaymentInitiatorEnum; | ||
} | ||
@@ -887,3 +887,3 @@ export interface CreateForChargeItemInputParam { | ||
payment_source_id?: string; | ||
payment_initiator?: PaymentInitiator; | ||
payment_initiator?: PaymentInitiatorEnum; | ||
invoice_date?: number; | ||
@@ -902,4 +902,4 @@ item_price?: ItemPriceCreateForChargeItemInputParam; | ||
po_number?: string; | ||
price_type?: PriceType; | ||
tax_override_reason?: TaxOverrideReason; | ||
price_type?: PriceTypeEnum; | ||
tax_override_reason?: TaxOverrideReasonEnum; | ||
vat_number?: string; | ||
@@ -988,3 +988,3 @@ vat_number_prefix?: string; | ||
export interface PdfInputParam { | ||
disposition_type?: DispositionType; | ||
disposition_type?: DispositionTypeEnum; | ||
} | ||
@@ -1000,3 +1000,3 @@ export interface ListPaymentReferenceNumbersInputParam { | ||
description: string; | ||
avalara_sale_type?: AvalaraSaleType; | ||
avalara_sale_type?: AvalaraSaleTypeEnum; | ||
avalara_transaction_type?: number; | ||
@@ -1039,3 +1039,3 @@ avalara_service_type?: number; | ||
comment?: string; | ||
payment_initiator?: PaymentInitiator; | ||
payment_initiator?: PaymentInitiatorEnum; | ||
} | ||
@@ -1110,10 +1110,10 @@ export interface RecordPaymentInputParam { | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
export interface PaymentMethodCreateInputParam { | ||
type?: Type; | ||
type?: TypeEnum; | ||
/** | ||
* @deprecated Please refer API docs to use other attributes | ||
*/ | ||
gateway?: Gateway; | ||
gateway?: GatewayEnum; | ||
gateway_account_id?: string; | ||
@@ -1137,5 +1137,5 @@ reference_id?: string; | ||
bank_code?: string; | ||
account_type?: AccountType; | ||
account_holder_type?: AccountHolderType; | ||
echeck_type?: EcheckType; | ||
account_type?: AccountTypeEnum; | ||
account_holder_type?: AccountHolderTypeEnum; | ||
echeck_type?: EcheckTypeEnum; | ||
issuing_country?: string; | ||
@@ -1181,3 +1181,3 @@ swedish_identity_number?: string; | ||
*/ | ||
gateway?: Gateway; | ||
gateway?: GatewayEnum; | ||
gateway_account_id?: string; | ||
@@ -1217,3 +1217,3 @@ /** | ||
taxjar_product_code?: string; | ||
avalara_sale_type?: AvalaraSaleType; | ||
avalara_sale_type?: AvalaraSaleTypeEnum; | ||
avalara_transaction_type?: number; | ||
@@ -1239,3 +1239,3 @@ avalara_service_type?: number; | ||
export interface NotesToRemoveCreateInputParam { | ||
entity_type?: EntityType; | ||
entity_type?: EntityTypeEnum; | ||
entity_id?: string; | ||
@@ -1260,10 +1260,10 @@ } | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
export interface PaymentMethodCreateForChargeItemsAndChargesInputParam { | ||
type?: Type; | ||
type?: TypeEnum; | ||
/** | ||
* @deprecated Please refer API docs to use other attributes | ||
*/ | ||
gateway?: Gateway; | ||
gateway?: GatewayEnum; | ||
gateway_account_id?: string; | ||
@@ -1287,5 +1287,5 @@ reference_id?: string; | ||
bank_code?: string; | ||
account_type?: AccountType; | ||
account_holder_type?: AccountHolderType; | ||
echeck_type?: EcheckType; | ||
account_type?: AccountTypeEnum; | ||
account_holder_type?: AccountHolderTypeEnum; | ||
echeck_type?: EcheckTypeEnum; | ||
issuing_country?: string; | ||
@@ -1331,3 +1331,3 @@ swedish_identity_number?: string; | ||
*/ | ||
gateway?: Gateway; | ||
gateway?: GatewayEnum; | ||
gateway_account_id?: string; | ||
@@ -1367,3 +1367,3 @@ /** | ||
taxjar_product_code?: string; | ||
avalara_sale_type?: AvalaraSaleType; | ||
avalara_sale_type?: AvalaraSaleTypeEnum; | ||
avalara_transaction_type?: number; | ||
@@ -1377,3 +1377,3 @@ avalara_service_type?: number; | ||
amount?: number; | ||
apply_on: ApplyOn; | ||
apply_on: ApplyOnEnum; | ||
item_price_id?: string; | ||
@@ -1405,3 +1405,3 @@ } | ||
export interface NotesToRemoveCreateForChargeItemsAndChargesInputParam { | ||
entity_type?: EntityType; | ||
entity_type?: EntityTypeEnum; | ||
entity_id?: string; | ||
@@ -1446,3 +1446,3 @@ } | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -1463,3 +1463,3 @@ export interface ShippingAddressImportInvoiceInputParam { | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -1497,3 +1497,3 @@ export interface CreditNoteImportInvoiceInputParam { | ||
amount: number; | ||
payment_method: PaymentMethod; | ||
payment_method: PaymentMethodEnum; | ||
date?: number; | ||
@@ -1620,3 +1620,3 @@ reference_number?: string; | ||
export interface NotesToRemoveCloseInputParam { | ||
entity_type?: EntityType; | ||
entity_type?: EntityTypeEnum; | ||
entity_id?: string; | ||
@@ -1626,3 +1626,3 @@ } | ||
amount?: number; | ||
payment_method: PaymentMethod; | ||
payment_method: PaymentMethodEnum; | ||
reference_number?: string; | ||
@@ -1661,3 +1661,3 @@ custom_payment_method_id?: string; | ||
amount?: number; | ||
payment_method: PaymentMethod; | ||
payment_method: PaymentMethodEnum; | ||
reference_number?: string; | ||
@@ -1701,3 +1701,3 @@ custom_payment_method_id?: string; | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -1721,5 +1721,5 @@ export interface StatementDescriptorUpdateDetailsInputParam { | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
} | ||
} |
@@ -7,3 +7,3 @@ ///<reference path='./../core.d.ts'/> | ||
recurring: boolean; | ||
price_type: PriceType; | ||
price_type: PriceTypeEnum; | ||
currency_code: string; | ||
@@ -10,0 +10,0 @@ sub_total: number; |
@@ -28,3 +28,3 @@ ///<reference path='./../core.d.ts'/> | ||
archived_at?: number; | ||
channel?: Channel; | ||
channel?: ChannelEnum; | ||
applicable_items?: Item.ApplicableItem[]; | ||
@@ -177,3 +177,3 @@ bundle_items?: Item.BundleItem[]; | ||
item_id?: string; | ||
item_type?: ItemType; | ||
item_type?: ItemTypeEnum; | ||
quantity?: number; | ||
@@ -188,3 +188,3 @@ price_allocation?: number; | ||
item_id?: string; | ||
item_type?: ItemType; | ||
item_type?: ItemTypeEnum; | ||
quantity?: number; | ||
@@ -195,3 +195,3 @@ price_allocation?: number; | ||
item_id?: string; | ||
item_type?: ItemType; | ||
item_type?: ItemTypeEnum; | ||
quantity?: number; | ||
@@ -202,3 +202,3 @@ price_allocation?: number; | ||
item_id?: string; | ||
item_type?: ItemType; | ||
item_type?: ItemTypeEnum; | ||
} | ||
@@ -205,0 +205,0 @@ export interface BundleConfigurationItemListInputParam { |
@@ -86,7 +86,7 @@ ///<reference path='./../core.d.ts'/> | ||
export interface AddItemEntitlementsInputParam { | ||
action: Action; | ||
action: ActionEnum; | ||
item_entitlements?: ItemEntitlementsAddItemEntitlementsInputParam[]; | ||
} | ||
export interface UpsertOrRemoveItemEntitlementsForItemInputParam { | ||
action: Action; | ||
action: ActionEnum; | ||
item_entitlements?: ItemEntitlementsUpsertOrRemoveItemEntitlementsForItemInputParam[]; | ||
@@ -93,0 +93,0 @@ } |
@@ -13,3 +13,3 @@ ///<reference path='./../core.d.ts'/> | ||
updated_at?: number; | ||
channel?: Channel; | ||
channel?: ChannelEnum; | ||
} | ||
@@ -16,0 +16,0 @@ |
@@ -16,3 +16,3 @@ ///<reference path='./../core.d.ts'/> | ||
proration_type?: 'site_default' | 'partial_term' | 'full_term'; | ||
pricing_model: PricingModel; | ||
pricing_model: PricingModelEnum; | ||
price?: number; | ||
@@ -34,7 +34,7 @@ price_in_decimal?: string; | ||
free_quantity_in_decimal?: string; | ||
channel?: Channel; | ||
channel?: ChannelEnum; | ||
resource_version?: number; | ||
updated_at?: number; | ||
created_at: number; | ||
usage_accumulation_reset_frequency?: UsageAccumulationResetFrequency; | ||
usage_accumulation_reset_frequency?: UsageAccumulationResetFrequencyEnum; | ||
archived_at?: number; | ||
@@ -48,3 +48,3 @@ invoice_notes?: string; | ||
metadata?: any; | ||
item_type?: ItemType; | ||
item_type?: ItemTypeEnum; | ||
archivable?: boolean; | ||
@@ -138,3 +138,3 @@ parent_item_id?: string; | ||
tax_profile_id?: string; | ||
avalara_sale_type?: AvalaraSaleType; | ||
avalara_sale_type?: AvalaraSaleTypeEnum; | ||
avalara_transaction_type?: number; | ||
@@ -178,4 +178,4 @@ avalara_service_type?: number; | ||
show_description_in_quotes?: boolean; | ||
usage_accumulation_reset_frequency?: UsageAccumulationResetFrequency; | ||
pricing_model?: PricingModel; | ||
usage_accumulation_reset_frequency?: UsageAccumulationResetFrequencyEnum; | ||
pricing_model?: PricingModelEnum; | ||
price?: number; | ||
@@ -207,3 +207,3 @@ price_in_decimal?: string; | ||
external_name?: string; | ||
usage_accumulation_reset_frequency?: UsageAccumulationResetFrequency; | ||
usage_accumulation_reset_frequency?: UsageAccumulationResetFrequencyEnum; | ||
currency_code?: string; | ||
@@ -215,3 +215,3 @@ invoice_notes?: string; | ||
metadata?: any; | ||
pricing_model?: PricingModel; | ||
pricing_model?: PricingModelEnum; | ||
price?: number; | ||
@@ -276,3 +276,3 @@ price_in_decimal?: string; | ||
hsn_code?: string; | ||
avalara_sale_type?: AvalaraSaleType; | ||
avalara_sale_type?: AvalaraSaleTypeEnum; | ||
avalara_transaction_type?: number; | ||
@@ -308,3 +308,3 @@ avalara_service_type?: number; | ||
hsn_code?: string; | ||
avalara_sale_type?: AvalaraSaleType; | ||
avalara_sale_type?: AvalaraSaleTypeEnum; | ||
avalara_transaction_type?: number; | ||
@@ -311,0 +311,0 @@ avalara_service_type?: number; |
@@ -41,3 +41,3 @@ ///<reference path='./../core.d.ts'/> | ||
order_type?: 'manual' | 'system_generated'; | ||
price_type: PriceType; | ||
price_type: PriceTypeEnum; | ||
reference_id?: string; | ||
@@ -261,3 +261,3 @@ fulfillment_status?: string; | ||
zip?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
index: number; | ||
@@ -279,3 +279,3 @@ } | ||
zip?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -514,3 +514,3 @@ export interface LineItemTax { | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -545,3 +545,3 @@ | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -562,3 +562,3 @@ export interface ShippingAddressImportOrderInputParam { | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -565,0 +565,0 @@ |
@@ -11,3 +11,3 @@ ///<reference path='./../core.d.ts'/> | ||
customer_id: string; | ||
type: Type; | ||
type: TypeEnum; | ||
reference_id: string; | ||
@@ -20,3 +20,3 @@ status: | ||
| 'pending_verification'; | ||
gateway: Gateway; | ||
gateway: GatewayEnum; | ||
gateway_account_id?: string; | ||
@@ -254,8 +254,8 @@ ip_address?: string; | ||
last_name?: string; | ||
direct_debit_scheme?: DirectDebitScheme; | ||
direct_debit_scheme?: DirectDebitSchemeEnum; | ||
bank_name?: string; | ||
mandate_id?: string; | ||
account_type?: AccountType; | ||
echeck_type?: EcheckType; | ||
account_holder_type?: AccountHolderType; | ||
account_type?: AccountTypeEnum; | ||
echeck_type?: EcheckTypeEnum; | ||
account_holder_type?: AccountHolderTypeEnum; | ||
email?: string; | ||
@@ -283,3 +283,3 @@ } | ||
zip?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -314,3 +314,3 @@ export interface AmazonPayment { | ||
gateway_account_id?: string; | ||
type: Type; | ||
type: TypeEnum; | ||
tmp_token: string; | ||
@@ -323,3 +323,3 @@ issuing_country?: string; | ||
customer_id: string; | ||
type: Type; | ||
type: TypeEnum; | ||
gateway_account_id?: string; | ||
@@ -471,3 +471,3 @@ reference_id?: string; | ||
export interface VoucherPaymentSourceCreateVoucherPaymentSourceInputParam { | ||
voucher_type: VoucherType; | ||
voucher_type: VoucherTypeEnum; | ||
gateway_account_id?: string; | ||
@@ -508,5 +508,5 @@ tax_id?: string; | ||
bank_code?: string; | ||
account_type?: AccountType; | ||
account_holder_type?: AccountHolderType; | ||
echeck_type?: EcheckType; | ||
account_type?: AccountTypeEnum; | ||
account_holder_type?: AccountHolderTypeEnum; | ||
echeck_type?: EcheckTypeEnum; | ||
swedish_identity_number?: string; | ||
@@ -513,0 +513,0 @@ billing_address?: any; |
@@ -8,3 +8,3 @@ ///<reference path='./../core.d.ts'/> | ||
id_at_gateway?: string; | ||
payment_voucher_type: PaymentVoucherType; | ||
payment_voucher_type: PaymentVoucherTypeEnum; | ||
expires_at?: number; | ||
@@ -17,3 +17,3 @@ status?: 'active' | 'consumed' | 'expired' | 'failure'; | ||
payment_source_id?: string; | ||
gateway: Gateway; | ||
gateway: GatewayEnum; | ||
payload?: string; | ||
@@ -42,13 +42,13 @@ error_code?: string; | ||
payment_vouchersForInvoice( | ||
paymentVouchersForInvoice( | ||
invoice_id: string, | ||
input?: PaymentVouchersForInvoiceInputParam, | ||
headers?: ChargebeeRequestHeader, | ||
): Promise<ChargebeeResponse<Payment_vouchersForInvoiceResponse>>; | ||
): Promise<ChargebeeResponse<PaymentVouchersForInvoiceResponse>>; | ||
payment_vouchersForCustomer( | ||
paymentVouchersForCustomer( | ||
customer_id: string, | ||
input?: PaymentVouchersForCustomerInputParam, | ||
headers?: ChargebeeRequestHeader, | ||
): Promise<ChargebeeResponse<Payment_vouchersForCustomerResponse>>; | ||
): Promise<ChargebeeResponse<PaymentVouchersForCustomerResponse>>; | ||
} | ||
@@ -64,3 +64,3 @@ | ||
export interface Payment_vouchersForInvoiceResponse { | ||
export interface PaymentVouchersForInvoiceResponse { | ||
list: { payment_voucher: PaymentVoucher }[]; | ||
@@ -70,3 +70,3 @@ next_offset?: string; | ||
export interface Payment_vouchersForCustomerResponse { | ||
export interface PaymentVouchersForCustomerResponse { | ||
list: { payment_voucher: PaymentVoucher }[]; | ||
@@ -105,3 +105,3 @@ next_offset?: string; | ||
export interface VoucherPaymentSourceCreateInputParam { | ||
voucher_type: VoucherType; | ||
voucher_type: VoucherTypeEnum; | ||
} | ||
@@ -108,0 +108,0 @@ |
@@ -66,3 +66,3 @@ ///<reference path='./../core.d.ts'/> | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -95,3 +95,3 @@ export interface PricingPageCreateForNewSubscriptionInputParam { | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -103,8 +103,8 @@ export interface SubscriptionCreateForNewSubscriptionInputParam { | ||
export interface DiscountsCreateForNewSubscriptionInputParam { | ||
apply_on: ApplyOn; | ||
duration_type: DurationType; | ||
apply_on: ApplyOnEnum; | ||
duration_type: DurationTypeEnum; | ||
percentage?: number; | ||
amount?: number; | ||
period?: number; | ||
period_unit?: PeriodUnit; | ||
period_unit?: PeriodUnitEnum; | ||
included_in_mrr?: boolean; | ||
@@ -122,8 +122,8 @@ item_price_id?: string; | ||
export interface DiscountsCreateForExistingSubscriptionInputParam { | ||
apply_on: ApplyOn; | ||
duration_type: DurationType; | ||
apply_on: ApplyOnEnum; | ||
duration_type: DurationTypeEnum; | ||
percentage?: number; | ||
amount?: number; | ||
period?: number; | ||
period_unit?: PeriodUnit; | ||
period_unit?: PeriodUnitEnum; | ||
included_in_mrr?: boolean; | ||
@@ -130,0 +130,0 @@ item_price_id?: string; |
@@ -13,3 +13,3 @@ ///<reference path='./../core.d.ts'/> | ||
description: string; | ||
credit_type: CreditType; | ||
credit_type: CreditTypeEnum; | ||
reference?: string; | ||
@@ -82,3 +82,3 @@ closing_balance: number; | ||
description: string; | ||
credit_type?: CreditType; | ||
credit_type?: CreditTypeEnum; | ||
reference?: string; | ||
@@ -92,3 +92,3 @@ } | ||
description: string; | ||
credit_type?: CreditType; | ||
credit_type?: CreditTypeEnum; | ||
reference?: string; | ||
@@ -102,3 +102,3 @@ } | ||
description: string; | ||
credit_type?: CreditType; | ||
credit_type?: CreditTypeEnum; | ||
reference?: string; | ||
@@ -105,0 +105,0 @@ } |
@@ -126,3 +126,3 @@ ///<reference path='./../core.d.ts'/> | ||
zip?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -137,3 +137,3 @@ export interface BillingAddressEstimateInputParam { | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -144,7 +144,7 @@ export interface CustomerEstimateInputParam { | ||
registered_for_gst?: boolean; | ||
taxability?: Taxability; | ||
entity_code?: EntityCode; | ||
taxability?: TaxabilityEnum; | ||
entity_code?: EntityCodeEnum; | ||
exempt_number?: string; | ||
exemption_details?: any; | ||
customer_type?: CustomerType; | ||
customer_type?: CustomerTypeEnum; | ||
} | ||
@@ -202,5 +202,5 @@ | ||
zip?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
} | ||
} |
@@ -18,3 +18,3 @@ ///<reference path='./../core.d.ts'/> | ||
vat_number?: string; | ||
price_type: PriceType; | ||
price_type: PriceTypeEnum; | ||
valid_till: number; | ||
@@ -407,3 +407,3 @@ date: number; | ||
zip?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
index: number; | ||
@@ -425,3 +425,3 @@ } | ||
zip?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -438,3 +438,3 @@ // REQUEST PARAMS | ||
terms_to_charge?: number; | ||
billing_alignment_mode?: BillingAlignmentMode; | ||
billing_alignment_mode?: BillingAlignmentModeEnum; | ||
coupon_ids?: string[]; | ||
@@ -453,3 +453,3 @@ subscription?: SubscriptionCreateSubForCustomerQuoteInputParam; | ||
terms_to_charge?: number; | ||
billing_alignment_mode?: BillingAlignmentMode; | ||
billing_alignment_mode?: BillingAlignmentModeEnum; | ||
coupon_ids?: string[]; | ||
@@ -471,6 +471,6 @@ subscription?: SubscriptionEditCreateSubForCustomerQuoteInputParam; | ||
reactivate_from?: number; | ||
billing_alignment_mode?: BillingAlignmentMode; | ||
billing_alignment_mode?: BillingAlignmentModeEnum; | ||
coupon_ids?: string[]; | ||
replace_coupon_list?: boolean; | ||
change_option?: ChangeOption; | ||
change_option?: ChangeOptionEnum; | ||
changes_scheduled_at?: number; | ||
@@ -495,6 +495,6 @@ force_term_reset?: boolean; | ||
reactivate_from?: number; | ||
billing_alignment_mode?: BillingAlignmentMode; | ||
billing_alignment_mode?: BillingAlignmentModeEnum; | ||
coupon_ids?: string[]; | ||
replace_coupon_list?: boolean; | ||
change_option?: ChangeOption; | ||
change_option?: ChangeOptionEnum; | ||
changes_scheduled_at?: number; | ||
@@ -544,3 +544,3 @@ force_term_reset?: boolean; | ||
terms_to_charge?: number; | ||
billing_alignment_mode?: BillingAlignmentMode; | ||
billing_alignment_mode?: BillingAlignmentModeEnum; | ||
coupon_ids?: string[]; | ||
@@ -560,3 +560,3 @@ subscription?: SubscriptionCreateSubItemsForCustomerQuoteInputParam; | ||
terms_to_charge?: number; | ||
billing_alignment_mode?: BillingAlignmentMode; | ||
billing_alignment_mode?: BillingAlignmentModeEnum; | ||
coupon_ids?: string[]; | ||
@@ -579,6 +579,6 @@ subscription?: SubscriptionEditCreateSubCustomerQuoteForItemsInputParam; | ||
reactivate_from?: number; | ||
billing_alignment_mode?: BillingAlignmentMode; | ||
billing_alignment_mode?: BillingAlignmentModeEnum; | ||
coupon_ids?: string[]; | ||
replace_coupon_list?: boolean; | ||
change_option?: ChangeOption; | ||
change_option?: ChangeOptionEnum; | ||
changes_scheduled_at?: number; | ||
@@ -604,6 +604,6 @@ force_term_reset?: boolean; | ||
reactivate_from?: number; | ||
billing_alignment_mode?: BillingAlignmentMode; | ||
billing_alignment_mode?: BillingAlignmentModeEnum; | ||
coupon_ids?: string[]; | ||
replace_coupon_list?: boolean; | ||
change_option?: ChangeOption; | ||
change_option?: ChangeOptionEnum; | ||
changes_scheduled_at?: number; | ||
@@ -687,3 +687,3 @@ force_term_reset?: boolean; | ||
consolidated_view?: boolean; | ||
disposition_type?: DispositionType; | ||
disposition_type?: DispositionTypeEnum; | ||
} | ||
@@ -704,3 +704,3 @@ export interface ShippingAddressCreateSubForCustomerQuoteInputParam { | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -722,3 +722,3 @@ export interface ContractTermCreateSubForCustomerQuoteInputParam { | ||
start_date?: number; | ||
offline_payment_method?: OfflinePaymentMethod; | ||
offline_payment_method?: OfflinePaymentMethodEnum; | ||
contract_term_billing_cycle_on_renewal?: number; | ||
@@ -734,5 +734,5 @@ } | ||
service_period_in_days?: number; | ||
on_event?: OnEvent; | ||
on_event?: OnEventEnum; | ||
charge_once?: boolean; | ||
charge_on?: ChargeOn; | ||
charge_on?: ChargeOnEnum; | ||
} | ||
@@ -762,3 +762,3 @@ export interface AddonsCreateSubForCustomerQuoteInputParam { | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -780,3 +780,3 @@ export interface ContractTermEditCreateSubForCustomerQuoteInputParam { | ||
start_date?: number; | ||
offline_payment_method?: OfflinePaymentMethod; | ||
offline_payment_method?: OfflinePaymentMethodEnum; | ||
contract_term_billing_cycle_on_renewal?: number; | ||
@@ -792,5 +792,5 @@ } | ||
service_period_in_days?: number; | ||
on_event?: OnEvent; | ||
on_event?: OnEventEnum; | ||
charge_once?: boolean; | ||
charge_on?: ChargeOn; | ||
charge_on?: ChargeOnEnum; | ||
} | ||
@@ -820,3 +820,3 @@ export interface AddonsEditCreateSubForCustomerQuoteInputParam { | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -842,3 +842,3 @@ export interface CustomerUpdateSubscriptionQuoteInputParam { | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -863,4 +863,4 @@ export interface ContractTermUpdateSubscriptionQuoteInputParam { | ||
coupon?: string; | ||
auto_collection?: AutoCollection; | ||
offline_payment_method?: OfflinePaymentMethod; | ||
auto_collection?: AutoCollectionEnum; | ||
offline_payment_method?: OfflinePaymentMethodEnum; | ||
contract_term_billing_cycle_on_renewal?: number; | ||
@@ -874,4 +874,4 @@ } | ||
service_period_in_days?: number; | ||
charge_on?: ChargeOn; | ||
on_event?: OnEvent; | ||
charge_on?: ChargeOnEnum; | ||
on_event?: OnEventEnum; | ||
charge_once?: boolean; | ||
@@ -904,3 +904,3 @@ quantity_in_decimal?: string; | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -926,3 +926,3 @@ export interface CustomerEditUpdateSubscriptionQuoteInputParam { | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -946,4 +946,4 @@ export interface ContractTermEditUpdateSubscriptionQuoteInputParam { | ||
coupon?: string; | ||
auto_collection?: AutoCollection; | ||
offline_payment_method?: OfflinePaymentMethod; | ||
auto_collection?: AutoCollectionEnum; | ||
offline_payment_method?: OfflinePaymentMethodEnum; | ||
contract_term_billing_cycle_on_renewal?: number; | ||
@@ -957,4 +957,4 @@ } | ||
service_period_in_days?: number; | ||
charge_on?: ChargeOn; | ||
on_event?: OnEvent; | ||
charge_on?: ChargeOnEnum; | ||
on_event?: OnEventEnum; | ||
charge_once?: boolean; | ||
@@ -987,3 +987,3 @@ quantity_in_decimal?: string; | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -995,3 +995,3 @@ | ||
description?: string; | ||
avalara_sale_type?: AvalaraSaleType; | ||
avalara_sale_type?: AvalaraSaleTypeEnum; | ||
avalara_transaction_type?: number; | ||
@@ -1028,3 +1028,3 @@ avalara_service_type?: number; | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -1036,3 +1036,3 @@ | ||
description?: string; | ||
avalara_sale_type?: AvalaraSaleType; | ||
avalara_sale_type?: AvalaraSaleTypeEnum; | ||
avalara_transaction_type?: number; | ||
@@ -1069,3 +1069,3 @@ avalara_service_type?: number; | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -1097,3 +1097,3 @@ export interface ContractTermCreateSubItemsForCustomerQuoteInputParam { | ||
service_period_days?: number; | ||
charge_on_event?: ChargeOnEvent; | ||
charge_on_event?: ChargeOnEventEnum; | ||
charge_once?: boolean; | ||
@@ -1103,12 +1103,12 @@ /** | ||
*/ | ||
item_type?: ItemType; | ||
charge_on_option?: ChargeOnOption; | ||
item_type?: ItemTypeEnum; | ||
charge_on_option?: ChargeOnOptionEnum; | ||
} | ||
export interface DiscountsCreateSubItemsForCustomerQuoteInputParam { | ||
apply_on: ApplyOn; | ||
duration_type: DurationType; | ||
apply_on: ApplyOnEnum; | ||
duration_type: DurationTypeEnum; | ||
percentage?: number; | ||
amount?: number; | ||
period?: number; | ||
period_unit?: PeriodUnit; | ||
period_unit?: PeriodUnitEnum; | ||
included_in_mrr?: boolean; | ||
@@ -1140,3 +1140,3 @@ item_price_id?: string; | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -1168,3 +1168,3 @@ export interface ContractTermEditCreateSubCustomerQuoteForItemsInputParam { | ||
service_period_days?: number; | ||
charge_on_event?: ChargeOnEvent; | ||
charge_on_event?: ChargeOnEventEnum; | ||
charge_once?: boolean; | ||
@@ -1174,12 +1174,12 @@ /** | ||
*/ | ||
item_type?: ItemType; | ||
charge_on_option?: ChargeOnOption; | ||
item_type?: ItemTypeEnum; | ||
charge_on_option?: ChargeOnOptionEnum; | ||
} | ||
export interface DiscountsEditCreateSubCustomerQuoteForItemsInputParam { | ||
apply_on: ApplyOn; | ||
duration_type: DurationType; | ||
apply_on: ApplyOnEnum; | ||
duration_type: DurationTypeEnum; | ||
percentage?: number; | ||
amount?: number; | ||
period?: number; | ||
period_unit?: PeriodUnit; | ||
period_unit?: PeriodUnitEnum; | ||
included_in_mrr?: boolean; | ||
@@ -1211,3 +1211,3 @@ item_price_id?: string; | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -1233,3 +1233,3 @@ export interface CustomerUpdateSubscriptionQuoteForItemsInputParam { | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -1252,4 +1252,4 @@ export interface ContractTermUpdateSubscriptionQuoteForItemsInputParam { | ||
coupon?: string; | ||
auto_collection?: AutoCollection; | ||
offline_payment_method?: OfflinePaymentMethod; | ||
auto_collection?: AutoCollectionEnum; | ||
offline_payment_method?: OfflinePaymentMethodEnum; | ||
contract_term_billing_cycle_on_renewal?: number; | ||
@@ -1267,20 +1267,20 @@ } | ||
service_period_days?: number; | ||
charge_on_event?: ChargeOnEvent; | ||
charge_on_event?: ChargeOnEventEnum; | ||
charge_once?: boolean; | ||
charge_on_option?: ChargeOnOption; | ||
charge_on_option?: ChargeOnOptionEnum; | ||
/** | ||
* @deprecated Please refer API docs to use other attributes | ||
*/ | ||
item_type?: ItemType; | ||
item_type?: ItemTypeEnum; | ||
} | ||
export interface DiscountsUpdateSubscriptionQuoteForItemsInputParam { | ||
apply_on: ApplyOn; | ||
duration_type: DurationType; | ||
apply_on: ApplyOnEnum; | ||
duration_type: DurationTypeEnum; | ||
percentage?: number; | ||
amount?: number; | ||
period?: number; | ||
period_unit?: PeriodUnit; | ||
period_unit?: PeriodUnitEnum; | ||
included_in_mrr?: boolean; | ||
item_price_id?: string; | ||
operation_type: OperationType; | ||
operation_type: OperationTypeEnum; | ||
id?: string; | ||
@@ -1311,3 +1311,3 @@ } | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -1333,3 +1333,3 @@ export interface CustomerEditUpdateSubscriptionQuoteForItemsInputParam { | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -1351,4 +1351,4 @@ export interface ContractTermEditUpdateSubscriptionQuoteForItemsInputParam { | ||
coupon?: string; | ||
auto_collection?: AutoCollection; | ||
offline_payment_method?: OfflinePaymentMethod; | ||
auto_collection?: AutoCollectionEnum; | ||
offline_payment_method?: OfflinePaymentMethodEnum; | ||
contract_term_billing_cycle_on_renewal?: number; | ||
@@ -1366,20 +1366,20 @@ } | ||
service_period_days?: number; | ||
charge_on_event?: ChargeOnEvent; | ||
charge_on_event?: ChargeOnEventEnum; | ||
charge_once?: boolean; | ||
charge_on_option?: ChargeOnOption; | ||
charge_on_option?: ChargeOnOptionEnum; | ||
/** | ||
* @deprecated Please refer API docs to use other attributes | ||
*/ | ||
item_type?: ItemType; | ||
item_type?: ItemTypeEnum; | ||
} | ||
export interface DiscountsEditUpdateSubscriptionQuoteForItemsInputParam { | ||
apply_on: ApplyOn; | ||
duration_type: DurationType; | ||
apply_on: ApplyOnEnum; | ||
duration_type: DurationTypeEnum; | ||
percentage?: number; | ||
amount?: number; | ||
period?: number; | ||
period_unit?: PeriodUnit; | ||
period_unit?: PeriodUnitEnum; | ||
included_in_mrr?: boolean; | ||
item_price_id?: string; | ||
operation_type: OperationType; | ||
operation_type: OperationTypeEnum; | ||
id?: string; | ||
@@ -1410,3 +1410,3 @@ } | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -1418,3 +1418,3 @@ | ||
description?: string; | ||
avalara_sale_type?: AvalaraSaleType; | ||
avalara_sale_type?: AvalaraSaleTypeEnum; | ||
avalara_transaction_type?: number; | ||
@@ -1427,3 +1427,3 @@ avalara_service_type?: number; | ||
amount?: number; | ||
apply_on: ApplyOn; | ||
apply_on: ApplyOnEnum; | ||
item_price_id?: string; | ||
@@ -1467,3 +1467,3 @@ } | ||
country?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
} | ||
@@ -1475,3 +1475,3 @@ | ||
description?: string; | ||
avalara_sale_type?: AvalaraSaleType; | ||
avalara_sale_type?: AvalaraSaleTypeEnum; | ||
avalara_transaction_type?: number; | ||
@@ -1484,3 +1484,3 @@ avalara_service_type?: number; | ||
amount?: number; | ||
apply_on: ApplyOn; | ||
apply_on: ApplyOnEnum; | ||
item_price_id?: string; | ||
@@ -1512,3 +1512,3 @@ } | ||
id?: string; | ||
auto_collection?: AutoCollection; | ||
auto_collection?: AutoCollectionEnum; | ||
po_number?: string; | ||
@@ -1515,0 +1515,0 @@ auto_close_invoices?: boolean; |
@@ -17,3 +17,3 @@ ///<reference path='./../core.d.ts'/> | ||
po_number?: string; | ||
auto_collection?: AutoCollection; | ||
auto_collection?: AutoCollectionEnum; | ||
plan_quantity_in_decimal?: string; | ||
@@ -20,0 +20,0 @@ plan_unit_price_in_decimal?: string; |
@@ -209,8 +209,8 @@ ///<reference path='./../core.d.ts'/> | ||
export interface DiscountsToAddCreateForSubscriptionInputParam { | ||
apply_on: ApplyOn; | ||
duration_type: DurationType; | ||
apply_on: ApplyOnEnum; | ||
duration_type: DurationTypeEnum; | ||
percentage?: number; | ||
amount?: number; | ||
period?: number; | ||
period_unit?: PeriodUnit; | ||
period_unit?: PeriodUnitEnum; | ||
included_in_mrr?: boolean; | ||
@@ -251,8 +251,8 @@ item_price_id?: string; | ||
export interface DiscountsToAddUpdateInputParam { | ||
apply_on: ApplyOn; | ||
duration_type: DurationType; | ||
apply_on: ApplyOnEnum; | ||
duration_type: DurationTypeEnum; | ||
percentage?: number; | ||
amount?: number; | ||
period?: number; | ||
period_unit?: PeriodUnit; | ||
period_unit?: PeriodUnitEnum; | ||
included_in_mrr?: boolean; | ||
@@ -259,0 +259,0 @@ item_price_id?: string; |
@@ -16,3 +16,3 @@ ///<reference path='./../core.d.ts'/> | ||
| 'transferred'; | ||
trial_end_action?: TrialEndAction; | ||
trial_end_action?: TrialEndActionEnum; | ||
next_billing_at?: number; | ||
@@ -40,3 +40,3 @@ pause_date?: number; | ||
zip?: string; | ||
validation_status?: ValidationStatus; | ||
validation_status?: ValidationStatusEnum; | ||
index: number; | ||
@@ -43,0 +43,0 @@ } |
@@ -6,4 +6,4 @@ ///<reference path='./../core.d.ts'/> | ||
export interface ThirdPartyPaymentMethod { | ||
type: Type; | ||
gateway: Gateway; | ||
type: TypeEnum; | ||
gateway: GatewayEnum; | ||
gateway_account_id?: string; | ||
@@ -10,0 +10,0 @@ reference_id: string; |
@@ -7,5 +7,5 @@ ///<reference path='./../core.d.ts'/> | ||
id: string; | ||
gateway: Gateway; | ||
gateway: GatewayEnum; | ||
gateway_account_id: string; | ||
payment_method_type: PaymentMethodType; | ||
payment_method_type: PaymentMethodTypeEnum; | ||
status: 'new' | 'expired' | 'consumed'; | ||
@@ -12,0 +12,0 @@ id_at_vault: string; |
@@ -11,5 +11,5 @@ ///<reference path='./../core.d.ts'/> | ||
payment_source_id?: string; | ||
payment_method: PaymentMethod; | ||
payment_method: PaymentMethodEnum; | ||
reference_number?: string; | ||
gateway: Gateway; | ||
gateway: GatewayEnum; | ||
type: 'authorization' | 'payment' | 'refund' | 'payment_reversal'; | ||
@@ -261,3 +261,3 @@ date?: number; | ||
amount?: number; | ||
payment_method: PaymentMethod; | ||
payment_method: PaymentMethodEnum; | ||
date: number; | ||
@@ -264,0 +264,0 @@ reference_number?: string; |
@@ -12,3 +12,3 @@ ///<reference path='./../core.d.ts'/> | ||
unit_amount?: number; | ||
pricing_model?: PricingModel; | ||
pricing_model?: PricingModelEnum; | ||
quantity?: number; | ||
@@ -151,3 +151,3 @@ amount?: number; | ||
taxjar_product_code?: string; | ||
avalara_sale_type?: AvalaraSaleType; | ||
avalara_sale_type?: AvalaraSaleTypeEnum; | ||
avalara_transaction_type?: number; | ||
@@ -181,3 +181,3 @@ avalara_service_type?: number; | ||
taxjar_product_code?: string; | ||
avalara_sale_type?: AvalaraSaleType; | ||
avalara_sale_type?: AvalaraSaleTypeEnum; | ||
avalara_transaction_type?: number; | ||
@@ -184,0 +184,0 @@ avalara_service_type?: number; |
@@ -13,3 +13,3 @@ ///<reference path='./../core.d.ts'/> | ||
quantity: string; | ||
source?: Source; | ||
source?: SourceEnum; | ||
note?: string; | ||
@@ -84,3 +84,3 @@ resource_version?: number; | ||
dedupe_option?: DedupeOption; | ||
dedupe_option?: DedupeOptionEnum; | ||
note?: string; | ||
@@ -108,3 +108,3 @@ } | ||
export interface PdfInputParam { | ||
disposition_type?: DispositionType; | ||
disposition_type?: DispositionTypeEnum; | ||
invoice?: InvoicePdfInputParam; | ||
@@ -111,0 +111,0 @@ } |
@@ -21,3 +21,3 @@ ///<reference path='./../core.d.ts'/> | ||
swift_code: string; | ||
gateway: Gateway; | ||
gateway: GatewayEnum; | ||
gateway_account_id: string; | ||
@@ -24,0 +24,0 @@ resource_version?: 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
832187
20629