@wix/auto_sdk_ecom_checkout-templates 1.0.164 → 1.0.166
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +30 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +112 -2
- package/build/cjs/index.typings.js +21 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +112 -2
- package/build/cjs/meta.js +21 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +28 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +112 -2
- package/build/es/index.typings.mjs +19 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +112 -2
- package/build/es/meta.mjs +19 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.typings.d.ts +121 -18
- package/build/internal/cjs/meta.d.ts +121 -18
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.typings.d.mts +121 -18
- package/build/internal/es/meta.d.mts +121 -18
- package/package.json +2 -2
package/build/cjs/meta.d.ts
CHANGED
|
@@ -182,6 +182,11 @@ interface CatalogOverrideFields {
|
|
|
182
182
|
* @format GUID
|
|
183
183
|
*/
|
|
184
184
|
inventoryAppId?: string | null;
|
|
185
|
+
/**
|
|
186
|
+
* Whether the line item quantity is fixed and can't be changed.
|
|
187
|
+
* When not set, falls back to the value from the catalog.
|
|
188
|
+
*/
|
|
189
|
+
fixedQuantity?: boolean | null;
|
|
185
190
|
}
|
|
186
191
|
interface ProductName {
|
|
187
192
|
/**
|
|
@@ -286,6 +291,10 @@ interface PhysicalProperties {
|
|
|
286
291
|
sku?: string | null;
|
|
287
292
|
/** Whether this line item is shippable. */
|
|
288
293
|
shippable?: boolean;
|
|
294
|
+
/** Product dimensions (length, width, height of the physical product). */
|
|
295
|
+
productDimensions?: Dimensions;
|
|
296
|
+
/** Package dimensions (length, width, height of the shipping package). */
|
|
297
|
+
packageDimensions?: Dimensions;
|
|
289
298
|
}
|
|
290
299
|
interface Dimensions {
|
|
291
300
|
/**
|
|
@@ -590,6 +599,14 @@ interface SubscriptionSettings {
|
|
|
590
599
|
* If None => no free trial
|
|
591
600
|
*/
|
|
592
601
|
freeTrialPeriod?: FreeTrialPeriod;
|
|
602
|
+
/**
|
|
603
|
+
* Date and time the subscription starts.
|
|
604
|
+
*
|
|
605
|
+
* The first charge happens when the order is placed. When `freeTrialPeriod` is set, the first charge happens when the free trial ends.
|
|
606
|
+
*/
|
|
607
|
+
startDate?: Date | null;
|
|
608
|
+
/** Billing configuration for recurring charges. */
|
|
609
|
+
billingSettings?: BillingSettings;
|
|
593
610
|
}
|
|
594
611
|
/** Frequency unit of recurring payment */
|
|
595
612
|
declare enum SubscriptionFrequency {
|
|
@@ -613,7 +630,9 @@ interface FreeTrialPeriod {
|
|
|
613
630
|
}
|
|
614
631
|
interface BillingSettings {
|
|
615
632
|
/**
|
|
616
|
-
* Day of month
|
|
633
|
+
* Day of the month that recurring charges fall on. For example, `15` to charge on the 15th of each month.
|
|
634
|
+
*
|
|
635
|
+
* Used only when the subscription's `frequency` is `MONTH` and `interval` is `1`.
|
|
617
636
|
* @min 1
|
|
618
637
|
* @max 28
|
|
619
638
|
*/
|
|
@@ -1727,6 +1746,97 @@ interface SelectedCarrierServiceOptionPrices {
|
|
|
1727
1746
|
/** Shipping price before discount and before tax. */
|
|
1728
1747
|
price?: MultiCurrencyPrice;
|
|
1729
1748
|
}
|
|
1749
|
+
/**
|
|
1750
|
+
* Record of the cross-border repricing of a single line item, shipping option or fee on a site whose catalog prices include tax:
|
|
1751
|
+
* the catalog price the merchant entered, the base region's tax removed from it per unit, and the rate used.
|
|
1752
|
+
*
|
|
1753
|
+
* The totals calculator form of `com.wix.ecommerce.platform_common.api.CrossBorderPriceAdjustment`: the same fields under the same numbers,
|
|
1754
|
+
* with the amounts as `MultiCurrencyPrice`. This record describes how the price was reached, not the resulting amount;
|
|
1755
|
+
* the repriced figures are on the line, shipping option or fee that carries it.
|
|
1756
|
+
*/
|
|
1757
|
+
interface CrossBorderPriceAdjustment {
|
|
1758
|
+
/**
|
|
1759
|
+
* ID of the tax region whose tax is built into the catalog prices.
|
|
1760
|
+
* @format GUID
|
|
1761
|
+
* @readonly
|
|
1762
|
+
*/
|
|
1763
|
+
baseTaxRegionId?: string;
|
|
1764
|
+
/**
|
|
1765
|
+
* ID of the tax region resolved for the destination. Absent when no region matched.
|
|
1766
|
+
* @format GUID
|
|
1767
|
+
* @readonly
|
|
1768
|
+
*/
|
|
1769
|
+
destinationTaxRegionId?: string | null;
|
|
1770
|
+
/**
|
|
1771
|
+
* Price per unit as entered by the merchant, with the base region's tax inside it.
|
|
1772
|
+
* @readonly
|
|
1773
|
+
*/
|
|
1774
|
+
catalogPrice?: MultiCurrencyPrice;
|
|
1775
|
+
/**
|
|
1776
|
+
* Base region's tax removed per unit. Zero when `status` is `KEPT`, `SAME_REGION`, `SAME_COUNTRY`, `NOT_APPLICABLE`, `NOT_APPLICABLE_MODIFIERS` or `CONVERTED_CURRENCY_SUBSCRIPTION`, where nothing was removed.
|
|
1777
|
+
* @readonly
|
|
1778
|
+
*/
|
|
1779
|
+
baseTaxAmount?: MultiCurrencyPrice;
|
|
1780
|
+
/**
|
|
1781
|
+
* Outcome of the repricing for this line.
|
|
1782
|
+
* @readonly
|
|
1783
|
+
*/
|
|
1784
|
+
status?: RepriceStatusWithLiterals;
|
|
1785
|
+
/**
|
|
1786
|
+
* Where the base region's rate came from. Meaningful only when a rate was applied, that is when `status` is `APPLIED`, `STRIP_ONLY` or `NO_DESTINATION_REGION`.
|
|
1787
|
+
* @readonly
|
|
1788
|
+
*/
|
|
1789
|
+
baseRateSource?: BaseRateSourceWithLiterals;
|
|
1790
|
+
/**
|
|
1791
|
+
* Base region's rate used to remove the tax, as a decimal numeral between 0 and 1. For example, `"0.22"`. Absent when no rate was applied.
|
|
1792
|
+
* @format DECIMAL_VALUE
|
|
1793
|
+
* @decimalValue options { gte:0, maxScale:6 }
|
|
1794
|
+
* @readonly
|
|
1795
|
+
*/
|
|
1796
|
+
baseRate?: string | null;
|
|
1797
|
+
/**
|
|
1798
|
+
* When the base region's rate was captured. Set only when `baseRateSource` is `AVALARA_PROBE`.
|
|
1799
|
+
* @readonly
|
|
1800
|
+
*/
|
|
1801
|
+
baseRateCapturedDate?: Date | null;
|
|
1802
|
+
/**
|
|
1803
|
+
* Whether the destination's tax is included in the repriced amount. Reserved for per-region display; not populated.
|
|
1804
|
+
* @readonly
|
|
1805
|
+
*/
|
|
1806
|
+
destinationTaxIncluded?: boolean | null;
|
|
1807
|
+
}
|
|
1808
|
+
/** Outcome of the repricing for one line. */
|
|
1809
|
+
declare enum RepriceStatus {
|
|
1810
|
+
/** Base tax removed and the destination's tax applied. */
|
|
1811
|
+
APPLIED = "APPLIED",
|
|
1812
|
+
/** The caller asked for the line to be left at its price. Nothing was removed. */
|
|
1813
|
+
KEPT = "KEPT",
|
|
1814
|
+
/** Base tax removed and no destination tax applied, as in a tax-exempt calculation. This is the outcome; the mode that asks for it is `CrossBorderRepricingMode.STRIP_ONLY`. */
|
|
1815
|
+
STRIP_ONLY = "STRIP_ONLY",
|
|
1816
|
+
/** The destination is the base region. Nothing was removed. */
|
|
1817
|
+
SAME_REGION = "SAME_REGION",
|
|
1818
|
+
/** The destination is in the base region's country, outside the US and Canada, so the catalog price already carries the destination's tax. Nothing was removed. */
|
|
1819
|
+
SAME_COUNTRY = "SAME_COUNTRY",
|
|
1820
|
+
/** No tax region matched the destination. Base tax removed and no destination tax applied. */
|
|
1821
|
+
NO_DESTINATION_REGION = "NO_DESTINATION_REGION",
|
|
1822
|
+
/** The calculation didn't reprice this line, for example because the feature was off or a pass failed. Nothing was removed. */
|
|
1823
|
+
NOT_APPLICABLE = "NOT_APPLICABLE",
|
|
1824
|
+
/** The line's modifiers exceed its price at the destination's rate. Nothing was removed. */
|
|
1825
|
+
NOT_APPLICABLE_MODIFIERS = "NOT_APPLICABLE_MODIFIERS",
|
|
1826
|
+
/** A subscription line in a checkout whose currency differs from the site currency. Nothing was removed. */
|
|
1827
|
+
CONVERTED_CURRENCY_SUBSCRIPTION = "CONVERTED_CURRENCY_SUBSCRIPTION"
|
|
1828
|
+
}
|
|
1829
|
+
/** @enumType */
|
|
1830
|
+
type RepriceStatusWithLiterals = RepriceStatus | 'APPLIED' | 'KEPT' | 'STRIP_ONLY' | 'SAME_REGION' | 'SAME_COUNTRY' | 'NO_DESTINATION_REGION' | 'NOT_APPLICABLE' | 'NOT_APPLICABLE_MODIFIERS' | 'CONVERTED_CURRENCY_SUBSCRIPTION';
|
|
1831
|
+
/** Where the base region's rate came from. */
|
|
1832
|
+
declare enum BaseRateSource {
|
|
1833
|
+
/** The manual tax calculator computed the base tax for this calculation. */
|
|
1834
|
+
MANUAL_SPI = "MANUAL_SPI",
|
|
1835
|
+
/** The rate captured from Avalara by the embedded-rate probe. */
|
|
1836
|
+
AVALARA_PROBE = "AVALARA_PROBE"
|
|
1837
|
+
}
|
|
1838
|
+
/** @enumType */
|
|
1839
|
+
type BaseRateSourceWithLiterals = BaseRateSource | 'MANUAL_SPI' | 'AVALARA_PROBE';
|
|
1730
1840
|
interface SelectedCarrierServiceOptionOtherCharge {
|
|
1731
1841
|
/** Type of additional cost. */
|
|
1732
1842
|
type?: ChargeTypeWithLiterals;
|
|
@@ -3199,4 +3309,4 @@ declare function createAndRedirectToCheckout(): __PublicMethodMetaInfo<'GET', {
|
|
|
3199
3309
|
checkoutTemplateId: string;
|
|
3200
3310
|
}, CreateAndRedirectToCheckoutRequest$1, CreateAndRedirectToCheckoutRequest, RawHttpResponse$1, RawHttpResponse>;
|
|
3201
3311
|
|
|
3202
|
-
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AdditionalFee as AdditionalFeeOriginal, AdditionalFeeSource as AdditionalFeeSourceOriginal, type AdditionalFeeSourceWithLiterals as AdditionalFeeSourceWithLiteralsOriginal, type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type AddressWithContact as AddressWithContactOriginal, type AggregatedTaxBreakdown as AggregatedTaxBreakdownOriginal, type ApplicableLineItems as ApplicableLineItemsOriginal, type ApplicationError as ApplicationErrorOriginal, type AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOfOriginal, type AppliedDiscount as AppliedDiscountOriginal, type AutoTaxFallbackCalculationDetails as AutoTaxFallbackCalculationDetailsOriginal, BalanceType as BalanceTypeOriginal, type BalanceTypeWithLiterals as BalanceTypeWithLiteralsOriginal, type BillingSettings as BillingSettingsOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCheckoutTemplateResult as BulkCheckoutTemplateResultOriginal, type BulkCreateCheckoutTemplatesApplicationErrors as BulkCreateCheckoutTemplatesApplicationErrorsOriginal, type BulkCreateCheckoutTemplatesRequest as BulkCreateCheckoutTemplatesRequestOriginal, type BulkCreateCheckoutTemplatesResponse as BulkCreateCheckoutTemplatesResponseOriginal, type BuyerInfoIdOneOf as BuyerInfoIdOneOfOriginal, type BuyerInfo as BuyerInfoOriginal, type CalculationErrors as CalculationErrorsOriginal, type CalculationErrorsShippingCalculationErrorOneOf as CalculationErrorsShippingCalculationErrorOneOfOriginal, type CarrierError as CarrierErrorOriginal, type CarrierErrors as CarrierErrorsOriginal, type Carrier as CarrierOriginal, type CarrierServiceOption as CarrierServiceOptionOriginal, type CatalogOverrideFields as CatalogOverrideFieldsOriginal, type CatalogReference as CatalogReferenceOriginal, ChannelType as ChannelTypeOriginal, type ChannelTypeWithLiterals as ChannelTypeWithLiteralsOriginal, type Charge as ChargeOriginal, ChargeType as ChargeTypeOriginal, type ChargeTypeWithLiterals as ChargeTypeWithLiteralsOriginal, type CheckoutCustomization as CheckoutCustomizationOriginal, type Checkout as CheckoutOriginal, type CheckoutTemplate as CheckoutTemplateOriginal, type CheckoutTemplateUsed as CheckoutTemplateUsedOriginal, type Color as ColorOriginal, type CommonImage as CommonImageOriginal, type ConversionInfo as ConversionInfoOriginal, type CouponDiscountValueOneOf as CouponDiscountValueOneOfOriginal, type Coupon as CouponOriginal, type CreateAndRedirectToCheckoutApplicationErrors as CreateAndRedirectToCheckoutApplicationErrorsOriginal, type CreateAndRedirectToCheckoutRequest as CreateAndRedirectToCheckoutRequestOriginal, type CreateCheckoutFromTemplateApplicationErrors as CreateCheckoutFromTemplateApplicationErrorsOriginal, type CreateCheckoutFromTemplateRequest as CreateCheckoutFromTemplateRequestOriginal, type CreateCheckoutFromTemplateResponse as CreateCheckoutFromTemplateResponseOriginal, type CreateCheckoutTemplateApplicationErrors as CreateCheckoutTemplateApplicationErrorsOriginal, type CreateCheckoutTemplateRequest as CreateCheckoutTemplateRequestOriginal, type CreateCheckoutTemplateResponse as CreateCheckoutTemplateResponseOriginal, type CreatedByIdOneOf as CreatedByIdOneOfOriginal, type CreatedBy as CreatedByOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type CustomContentReference as CustomContentReferenceOriginal, type CustomField as CustomFieldOriginal, type CustomLineItem as CustomLineItemOriginal, type CustomSettings as CustomSettingsOriginal, type CyclePriceOverride as CyclePriceOverrideOriginal, type DeleteCheckoutTemplateRequest as DeleteCheckoutTemplateRequestOriginal, type DeleteCheckoutTemplateResponse as DeleteCheckoutTemplateResponseOriginal, type DeliveryAllocation as DeliveryAllocationOriginal, type DeliveryLogistics as DeliveryLogisticsOriginal, type DeliveryTimeSlot as DeliveryTimeSlotOriginal, type DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOfOriginal, type DescriptionLineName as DescriptionLineNameOriginal, type DescriptionLine as DescriptionLineOriginal, DescriptionLineType as DescriptionLineTypeOriginal, type DescriptionLineTypeWithLiterals as DescriptionLineTypeWithLiteralsOriginal, type DescriptionLineValueOneOf as DescriptionLineValueOneOfOriginal, type Description as DescriptionOriginal, type DetailsKindOneOf as DetailsKindOneOfOriginal, type Details as DetailsOriginal, type Dimensions as DimensionsOriginal, DimensionsUnit as DimensionsUnitOriginal, type DimensionsUnitWithLiterals as DimensionsUnitWithLiteralsOriginal, type DiscountRuleDiscountValueOneOf as DiscountRuleDiscountValueOneOfOriginal, type DiscountRuleName as DiscountRuleNameOriginal, type DiscountRule as DiscountRuleOriginal, DiscountType as DiscountTypeOriginal, type DiscountTypeWithLiterals as DiscountTypeWithLiteralsOriginal, DiscountValueType as DiscountValueTypeOriginal, type DiscountValueTypeWithLiterals as DiscountValueTypeWithLiteralsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type ExternalReference as ExternalReferenceOriginal, FallbackReason as FallbackReasonOriginal, type FallbackReasonWithLiterals as FallbackReasonWithLiteralsOriginal, type FieldViolation as FieldViolationOriginal, FileType as FileTypeOriginal, type FileTypeWithLiterals as FileTypeWithLiteralsOriginal, type FocalPoint as FocalPointOriginal, type FreeTrialPeriod as FreeTrialPeriodOriginal, type FullAddressContactDetails as FullAddressContactDetailsOriginal, type GetCheckoutTemplateRequest as GetCheckoutTemplateRequestOriginal, type GetCheckoutTemplateResponse as GetCheckoutTemplateResponseOriginal, type GiftCardCalculationError as GiftCardCalculationErrorOriginal, type GiftCard as GiftCardOriginal, type Group as GroupOriginal, type HeadersEntry as HeadersEntryOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type Image as ImageOriginal, type InvalidMembership as InvalidMembershipOriginal, type ItemAvailabilityInfo as ItemAvailabilityInfoOriginal, ItemAvailabilityStatus as ItemAvailabilityStatusOriginal, type ItemAvailabilityStatusWithLiterals as ItemAvailabilityStatusWithLiteralsOriginal, type ItemCombinationLineItem as ItemCombinationLineItemOriginal, type ItemCombination as ItemCombinationOriginal, type ItemMetadata as ItemMetadataOriginal, type ItemModifier as ItemModifierOriginal, type ItemTaxFullDetails as ItemTaxFullDetailsOriginal, type ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOfOriginal, type ItemType as ItemTypeOriginal, ItemTypePreset as ItemTypePresetOriginal, type ItemTypePresetWithLiterals as ItemTypePresetWithLiteralsOriginal, JurisdictionType as JurisdictionTypeOriginal, type JurisdictionTypeWithLiterals as JurisdictionTypeWithLiteralsOriginal, type LineItemDiscount as LineItemDiscountOriginal, type LineItem as LineItemOriginal, ManualCalculationReason as ManualCalculationReasonOriginal, type ManualCalculationReasonWithLiterals as ManualCalculationReasonWithLiteralsOriginal, type MembershipName as MembershipNameOriginal, type MembershipOptions as MembershipOptionsOriginal, type Membership as MembershipOriginal, type MembershipPaymentCredits as MembershipPaymentCreditsOriginal, type MerchantDiscount as MerchantDiscountOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type ModifierGroup as ModifierGroupOriginal, type MultiCurrencyPrice as MultiCurrencyPriceOriginal, NameInLineItem as NameInLineItemOriginal, type NameInLineItemWithLiterals as NameInLineItemWithLiteralsOriginal, NameInOther as NameInOtherOriginal, type NameInOtherWithLiterals as NameInOtherWithLiteralsOriginal, type OtherCharge as OtherChargeOriginal, type Other as OtherOriginal, type PageUrlV2 as PageUrlV2Original, type PaymentOption as PaymentOptionOriginal, PaymentOptionType as PaymentOptionTypeOriginal, type PaymentOptionTypeWithLiterals as PaymentOptionTypeWithLiteralsOriginal, type PhysicalProperties as PhysicalPropertiesOriginal, type PickupDetails as PickupDetailsOriginal, PickupMethod as PickupMethodOriginal, type PickupMethodWithLiterals as PickupMethodWithLiteralsOriginal, type PlainTextValue as PlainTextValueOriginal, PlatformFeeChargeType as PlatformFeeChargeTypeOriginal, type PlatformFeeChargeTypeWithLiterals as PlatformFeeChargeTypeWithLiteralsOriginal, type PlatformFee as PlatformFeeOriginal, type Policy as PolicyOriginal, type PriceDescription as PriceDescriptionOriginal, type PriceSummary as PriceSummaryOriginal, type ProductName as ProductNameOriginal, ProductPeriodAlignment as ProductPeriodAlignmentOriginal, type ProductPeriodAlignmentWithLiterals as ProductPeriodAlignmentWithLiteralsOriginal, type QueryCheckoutTemplatesRequest as QueryCheckoutTemplatesRequestOriginal, type QueryCheckoutTemplatesResponse as QueryCheckoutTemplatesResponseOriginal, RateType as RateTypeOriginal, type RateTypeWithLiterals as RateTypeWithLiteralsOriginal, type RawHttpResponse as RawHttpResponseOriginal, type Region as RegionOriginal, type RestoreInfo as RestoreInfoOriginal, RuleType as RuleTypeOriginal, type RuleTypeWithLiterals as RuleTypeWithLiteralsOriginal, type Scope as ScopeOriginal, type SecuredMedia as SecuredMediaOriginal, type SelectedCarrierServiceOption as SelectedCarrierServiceOptionOriginal, type SelectedCarrierServiceOptionOtherCharge as SelectedCarrierServiceOptionOtherChargeOriginal, type SelectedCarrierServiceOptionPrices as SelectedCarrierServiceOptionPricesOriginal, type SelectedMembership as SelectedMembershipOriginal, type SelectedMemberships as SelectedMembershipsOriginal, type ServiceProperties as ServicePropertiesOriginal, Severity as SeverityOriginal, type SeverityWithLiterals as SeverityWithLiteralsOriginal, type ShippingInfo as ShippingInfoOriginal, type ShippingOption as ShippingOptionOriginal, type ShippingPrice as ShippingPriceOriginal, type ShippingRegion as ShippingRegionOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type StreetAddress as StreetAddressOriginal, type SubscriptionCharges as SubscriptionChargesOriginal, SubscriptionFrequency as SubscriptionFrequencyOriginal, type SubscriptionFrequencyWithLiterals as SubscriptionFrequencyWithLiteralsOriginal, type SubscriptionOptionInfo as SubscriptionOptionInfoOriginal, type SubscriptionSettings as SubscriptionSettingsOriginal, SuggestedFix as SuggestedFixOriginal, type SuggestedFixWithLiterals as SuggestedFixWithLiteralsOriginal, type SystemError as SystemErrorOriginal, type TargetLineItem as TargetLineItemOriginal, type Target as TargetOriginal, type TargetTargetTypeOneOf as TargetTargetTypeOneOfOriginal, type TaxBreakdown as TaxBreakdownOriginal, type TaxCalculationDetailsCalculationDetailsOneOf as TaxCalculationDetailsCalculationDetailsOneOfOriginal, type TaxCalculationDetails as TaxCalculationDetailsOriginal, type TaxRateBreakdown as TaxRateBreakdownOriginal, type TaxSummary as TaxSummaryOriginal, type TaxableAddress as TaxableAddressOriginal, type TaxableAddressTaxableAddressDataOneOf as TaxableAddressTaxableAddressDataOneOfOriginal, TaxableAddressType as TaxableAddressTypeOriginal, type TaxableAddressTypeWithLiterals as TaxableAddressTypeWithLiteralsOriginal, type Title as TitleOriginal, type TranslatableString as TranslatableStringOriginal, type UpdateCheckoutTemplateApplicationErrors as UpdateCheckoutTemplateApplicationErrorsOriginal, type UpdateCheckoutTemplateRequest as UpdateCheckoutTemplateRequestOriginal, type UpdateCheckoutTemplateResponse as UpdateCheckoutTemplateResponseOriginal, type V1ItemModifier as V1ItemModifierOriginal, type V1LineItem as V1LineItemOriginal, type V1ModifierGroup as V1ModifierGroupOriginal, type ValidationError as ValidationErrorOriginal, type VatId as VatIdOriginal, VatType as VatTypeOriginal, type VatTypeWithLiterals as VatTypeWithLiteralsOriginal, type Violation as ViolationOriginal, type WebClientCustomization as WebClientCustomizationOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, WeightUnit as WeightUnitOriginal, type WeightUnitWithLiterals as WeightUnitWithLiteralsOriginal, type __PublicMethodMetaInfo, bulkCreateCheckoutTemplates, createAndRedirectToCheckout, createCheckoutFromTemplate, createCheckoutTemplate, deleteCheckoutTemplate, getCheckoutTemplate, queryCheckoutTemplates, updateCheckoutTemplate };
|
|
3312
|
+
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AdditionalFee as AdditionalFeeOriginal, AdditionalFeeSource as AdditionalFeeSourceOriginal, type AdditionalFeeSourceWithLiterals as AdditionalFeeSourceWithLiteralsOriginal, type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type AddressWithContact as AddressWithContactOriginal, type AggregatedTaxBreakdown as AggregatedTaxBreakdownOriginal, type ApplicableLineItems as ApplicableLineItemsOriginal, type ApplicationError as ApplicationErrorOriginal, type AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOfOriginal, type AppliedDiscount as AppliedDiscountOriginal, type AutoTaxFallbackCalculationDetails as AutoTaxFallbackCalculationDetailsOriginal, BalanceType as BalanceTypeOriginal, type BalanceTypeWithLiterals as BalanceTypeWithLiteralsOriginal, BaseRateSource as BaseRateSourceOriginal, type BaseRateSourceWithLiterals as BaseRateSourceWithLiteralsOriginal, type BillingSettings as BillingSettingsOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCheckoutTemplateResult as BulkCheckoutTemplateResultOriginal, type BulkCreateCheckoutTemplatesApplicationErrors as BulkCreateCheckoutTemplatesApplicationErrorsOriginal, type BulkCreateCheckoutTemplatesRequest as BulkCreateCheckoutTemplatesRequestOriginal, type BulkCreateCheckoutTemplatesResponse as BulkCreateCheckoutTemplatesResponseOriginal, type BuyerInfoIdOneOf as BuyerInfoIdOneOfOriginal, type BuyerInfo as BuyerInfoOriginal, type CalculationErrors as CalculationErrorsOriginal, type CalculationErrorsShippingCalculationErrorOneOf as CalculationErrorsShippingCalculationErrorOneOfOriginal, type CarrierError as CarrierErrorOriginal, type CarrierErrors as CarrierErrorsOriginal, type Carrier as CarrierOriginal, type CarrierServiceOption as CarrierServiceOptionOriginal, type CatalogOverrideFields as CatalogOverrideFieldsOriginal, type CatalogReference as CatalogReferenceOriginal, ChannelType as ChannelTypeOriginal, type ChannelTypeWithLiterals as ChannelTypeWithLiteralsOriginal, type Charge as ChargeOriginal, ChargeType as ChargeTypeOriginal, type ChargeTypeWithLiterals as ChargeTypeWithLiteralsOriginal, type CheckoutCustomization as CheckoutCustomizationOriginal, type Checkout as CheckoutOriginal, type CheckoutTemplate as CheckoutTemplateOriginal, type CheckoutTemplateUsed as CheckoutTemplateUsedOriginal, type Color as ColorOriginal, type CommonImage as CommonImageOriginal, type ConversionInfo as ConversionInfoOriginal, type CouponDiscountValueOneOf as CouponDiscountValueOneOfOriginal, type Coupon as CouponOriginal, type CreateAndRedirectToCheckoutApplicationErrors as CreateAndRedirectToCheckoutApplicationErrorsOriginal, type CreateAndRedirectToCheckoutRequest as CreateAndRedirectToCheckoutRequestOriginal, type CreateCheckoutFromTemplateApplicationErrors as CreateCheckoutFromTemplateApplicationErrorsOriginal, type CreateCheckoutFromTemplateRequest as CreateCheckoutFromTemplateRequestOriginal, type CreateCheckoutFromTemplateResponse as CreateCheckoutFromTemplateResponseOriginal, type CreateCheckoutTemplateApplicationErrors as CreateCheckoutTemplateApplicationErrorsOriginal, type CreateCheckoutTemplateRequest as CreateCheckoutTemplateRequestOriginal, type CreateCheckoutTemplateResponse as CreateCheckoutTemplateResponseOriginal, type CreatedByIdOneOf as CreatedByIdOneOfOriginal, type CreatedBy as CreatedByOriginal, type CrossBorderPriceAdjustment as CrossBorderPriceAdjustmentOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type CustomContentReference as CustomContentReferenceOriginal, type CustomField as CustomFieldOriginal, type CustomLineItem as CustomLineItemOriginal, type CustomSettings as CustomSettingsOriginal, type CyclePriceOverride as CyclePriceOverrideOriginal, type DeleteCheckoutTemplateRequest as DeleteCheckoutTemplateRequestOriginal, type DeleteCheckoutTemplateResponse as DeleteCheckoutTemplateResponseOriginal, type DeliveryAllocation as DeliveryAllocationOriginal, type DeliveryLogistics as DeliveryLogisticsOriginal, type DeliveryTimeSlot as DeliveryTimeSlotOriginal, type DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOfOriginal, type DescriptionLineName as DescriptionLineNameOriginal, type DescriptionLine as DescriptionLineOriginal, DescriptionLineType as DescriptionLineTypeOriginal, type DescriptionLineTypeWithLiterals as DescriptionLineTypeWithLiteralsOriginal, type DescriptionLineValueOneOf as DescriptionLineValueOneOfOriginal, type Description as DescriptionOriginal, type DetailsKindOneOf as DetailsKindOneOfOriginal, type Details as DetailsOriginal, type Dimensions as DimensionsOriginal, DimensionsUnit as DimensionsUnitOriginal, type DimensionsUnitWithLiterals as DimensionsUnitWithLiteralsOriginal, type DiscountRuleDiscountValueOneOf as DiscountRuleDiscountValueOneOfOriginal, type DiscountRuleName as DiscountRuleNameOriginal, type DiscountRule as DiscountRuleOriginal, DiscountType as DiscountTypeOriginal, type DiscountTypeWithLiterals as DiscountTypeWithLiteralsOriginal, DiscountValueType as DiscountValueTypeOriginal, type DiscountValueTypeWithLiterals as DiscountValueTypeWithLiteralsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type ExternalReference as ExternalReferenceOriginal, FallbackReason as FallbackReasonOriginal, type FallbackReasonWithLiterals as FallbackReasonWithLiteralsOriginal, type FieldViolation as FieldViolationOriginal, FileType as FileTypeOriginal, type FileTypeWithLiterals as FileTypeWithLiteralsOriginal, type FocalPoint as FocalPointOriginal, type FreeTrialPeriod as FreeTrialPeriodOriginal, type FullAddressContactDetails as FullAddressContactDetailsOriginal, type GetCheckoutTemplateRequest as GetCheckoutTemplateRequestOriginal, type GetCheckoutTemplateResponse as GetCheckoutTemplateResponseOriginal, type GiftCardCalculationError as GiftCardCalculationErrorOriginal, type GiftCard as GiftCardOriginal, type Group as GroupOriginal, type HeadersEntry as HeadersEntryOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type Image as ImageOriginal, type InvalidMembership as InvalidMembershipOriginal, type ItemAvailabilityInfo as ItemAvailabilityInfoOriginal, ItemAvailabilityStatus as ItemAvailabilityStatusOriginal, type ItemAvailabilityStatusWithLiterals as ItemAvailabilityStatusWithLiteralsOriginal, type ItemCombinationLineItem as ItemCombinationLineItemOriginal, type ItemCombination as ItemCombinationOriginal, type ItemMetadata as ItemMetadataOriginal, type ItemModifier as ItemModifierOriginal, type ItemTaxFullDetails as ItemTaxFullDetailsOriginal, type ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOfOriginal, type ItemType as ItemTypeOriginal, ItemTypePreset as ItemTypePresetOriginal, type ItemTypePresetWithLiterals as ItemTypePresetWithLiteralsOriginal, JurisdictionType as JurisdictionTypeOriginal, type JurisdictionTypeWithLiterals as JurisdictionTypeWithLiteralsOriginal, type LineItemDiscount as LineItemDiscountOriginal, type LineItem as LineItemOriginal, ManualCalculationReason as ManualCalculationReasonOriginal, type ManualCalculationReasonWithLiterals as ManualCalculationReasonWithLiteralsOriginal, type MembershipName as MembershipNameOriginal, type MembershipOptions as MembershipOptionsOriginal, type Membership as MembershipOriginal, type MembershipPaymentCredits as MembershipPaymentCreditsOriginal, type MerchantDiscount as MerchantDiscountOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type ModifierGroup as ModifierGroupOriginal, type MultiCurrencyPrice as MultiCurrencyPriceOriginal, NameInLineItem as NameInLineItemOriginal, type NameInLineItemWithLiterals as NameInLineItemWithLiteralsOriginal, NameInOther as NameInOtherOriginal, type NameInOtherWithLiterals as NameInOtherWithLiteralsOriginal, type OtherCharge as OtherChargeOriginal, type Other as OtherOriginal, type PageUrlV2 as PageUrlV2Original, type PaymentOption as PaymentOptionOriginal, PaymentOptionType as PaymentOptionTypeOriginal, type PaymentOptionTypeWithLiterals as PaymentOptionTypeWithLiteralsOriginal, type PhysicalProperties as PhysicalPropertiesOriginal, type PickupDetails as PickupDetailsOriginal, PickupMethod as PickupMethodOriginal, type PickupMethodWithLiterals as PickupMethodWithLiteralsOriginal, type PlainTextValue as PlainTextValueOriginal, PlatformFeeChargeType as PlatformFeeChargeTypeOriginal, type PlatformFeeChargeTypeWithLiterals as PlatformFeeChargeTypeWithLiteralsOriginal, type PlatformFee as PlatformFeeOriginal, type Policy as PolicyOriginal, type PriceDescription as PriceDescriptionOriginal, type PriceSummary as PriceSummaryOriginal, type ProductName as ProductNameOriginal, ProductPeriodAlignment as ProductPeriodAlignmentOriginal, type ProductPeriodAlignmentWithLiterals as ProductPeriodAlignmentWithLiteralsOriginal, type QueryCheckoutTemplatesRequest as QueryCheckoutTemplatesRequestOriginal, type QueryCheckoutTemplatesResponse as QueryCheckoutTemplatesResponseOriginal, RateType as RateTypeOriginal, type RateTypeWithLiterals as RateTypeWithLiteralsOriginal, type RawHttpResponse as RawHttpResponseOriginal, type Region as RegionOriginal, RepriceStatus as RepriceStatusOriginal, type RepriceStatusWithLiterals as RepriceStatusWithLiteralsOriginal, type RestoreInfo as RestoreInfoOriginal, RuleType as RuleTypeOriginal, type RuleTypeWithLiterals as RuleTypeWithLiteralsOriginal, type Scope as ScopeOriginal, type SecuredMedia as SecuredMediaOriginal, type SelectedCarrierServiceOption as SelectedCarrierServiceOptionOriginal, type SelectedCarrierServiceOptionOtherCharge as SelectedCarrierServiceOptionOtherChargeOriginal, type SelectedCarrierServiceOptionPrices as SelectedCarrierServiceOptionPricesOriginal, type SelectedMembership as SelectedMembershipOriginal, type SelectedMemberships as SelectedMembershipsOriginal, type ServiceProperties as ServicePropertiesOriginal, Severity as SeverityOriginal, type SeverityWithLiterals as SeverityWithLiteralsOriginal, type ShippingInfo as ShippingInfoOriginal, type ShippingOption as ShippingOptionOriginal, type ShippingPrice as ShippingPriceOriginal, type ShippingRegion as ShippingRegionOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type StreetAddress as StreetAddressOriginal, type SubscriptionCharges as SubscriptionChargesOriginal, SubscriptionFrequency as SubscriptionFrequencyOriginal, type SubscriptionFrequencyWithLiterals as SubscriptionFrequencyWithLiteralsOriginal, type SubscriptionOptionInfo as SubscriptionOptionInfoOriginal, type SubscriptionSettings as SubscriptionSettingsOriginal, SuggestedFix as SuggestedFixOriginal, type SuggestedFixWithLiterals as SuggestedFixWithLiteralsOriginal, type SystemError as SystemErrorOriginal, type TargetLineItem as TargetLineItemOriginal, type Target as TargetOriginal, type TargetTargetTypeOneOf as TargetTargetTypeOneOfOriginal, type TaxBreakdown as TaxBreakdownOriginal, type TaxCalculationDetailsCalculationDetailsOneOf as TaxCalculationDetailsCalculationDetailsOneOfOriginal, type TaxCalculationDetails as TaxCalculationDetailsOriginal, type TaxRateBreakdown as TaxRateBreakdownOriginal, type TaxSummary as TaxSummaryOriginal, type TaxableAddress as TaxableAddressOriginal, type TaxableAddressTaxableAddressDataOneOf as TaxableAddressTaxableAddressDataOneOfOriginal, TaxableAddressType as TaxableAddressTypeOriginal, type TaxableAddressTypeWithLiterals as TaxableAddressTypeWithLiteralsOriginal, type Title as TitleOriginal, type TranslatableString as TranslatableStringOriginal, type UpdateCheckoutTemplateApplicationErrors as UpdateCheckoutTemplateApplicationErrorsOriginal, type UpdateCheckoutTemplateRequest as UpdateCheckoutTemplateRequestOriginal, type UpdateCheckoutTemplateResponse as UpdateCheckoutTemplateResponseOriginal, type V1ItemModifier as V1ItemModifierOriginal, type V1LineItem as V1LineItemOriginal, type V1ModifierGroup as V1ModifierGroupOriginal, type ValidationError as ValidationErrorOriginal, type VatId as VatIdOriginal, VatType as VatTypeOriginal, type VatTypeWithLiterals as VatTypeWithLiteralsOriginal, type Violation as ViolationOriginal, type WebClientCustomization as WebClientCustomizationOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, WeightUnit as WeightUnitOriginal, type WeightUnitWithLiterals as WeightUnitWithLiteralsOriginal, type __PublicMethodMetaInfo, bulkCreateCheckoutTemplates, createAndRedirectToCheckout, createCheckoutFromTemplate, createCheckoutTemplate, deleteCheckoutTemplate, getCheckoutTemplate, queryCheckoutTemplates, updateCheckoutTemplate };
|
package/build/cjs/meta.js
CHANGED
|
@@ -22,6 +22,7 @@ var meta_exports = {};
|
|
|
22
22
|
__export(meta_exports, {
|
|
23
23
|
AdditionalFeeSourceOriginal: () => AdditionalFeeSource,
|
|
24
24
|
BalanceTypeOriginal: () => BalanceType,
|
|
25
|
+
BaseRateSourceOriginal: () => BaseRateSource,
|
|
25
26
|
ChannelTypeOriginal: () => ChannelType,
|
|
26
27
|
ChargeTypeOriginal: () => ChargeType,
|
|
27
28
|
DescriptionLineTypeOriginal: () => DescriptionLineType,
|
|
@@ -41,6 +42,7 @@ __export(meta_exports, {
|
|
|
41
42
|
PlatformFeeChargeTypeOriginal: () => PlatformFeeChargeType,
|
|
42
43
|
ProductPeriodAlignmentOriginal: () => ProductPeriodAlignment,
|
|
43
44
|
RateTypeOriginal: () => RateType,
|
|
45
|
+
RepriceStatusOriginal: () => RepriceStatus,
|
|
44
46
|
RuleTypeOriginal: () => RuleType,
|
|
45
47
|
SeverityOriginal: () => Severity,
|
|
46
48
|
SortOrderOriginal: () => SortOrder,
|
|
@@ -509,6 +511,23 @@ var PickupMethod = /* @__PURE__ */ ((PickupMethod2) => {
|
|
|
509
511
|
PickupMethod2["PICKUP_POINT"] = "PICKUP_POINT";
|
|
510
512
|
return PickupMethod2;
|
|
511
513
|
})(PickupMethod || {});
|
|
514
|
+
var RepriceStatus = /* @__PURE__ */ ((RepriceStatus2) => {
|
|
515
|
+
RepriceStatus2["APPLIED"] = "APPLIED";
|
|
516
|
+
RepriceStatus2["KEPT"] = "KEPT";
|
|
517
|
+
RepriceStatus2["STRIP_ONLY"] = "STRIP_ONLY";
|
|
518
|
+
RepriceStatus2["SAME_REGION"] = "SAME_REGION";
|
|
519
|
+
RepriceStatus2["SAME_COUNTRY"] = "SAME_COUNTRY";
|
|
520
|
+
RepriceStatus2["NO_DESTINATION_REGION"] = "NO_DESTINATION_REGION";
|
|
521
|
+
RepriceStatus2["NOT_APPLICABLE"] = "NOT_APPLICABLE";
|
|
522
|
+
RepriceStatus2["NOT_APPLICABLE_MODIFIERS"] = "NOT_APPLICABLE_MODIFIERS";
|
|
523
|
+
RepriceStatus2["CONVERTED_CURRENCY_SUBSCRIPTION"] = "CONVERTED_CURRENCY_SUBSCRIPTION";
|
|
524
|
+
return RepriceStatus2;
|
|
525
|
+
})(RepriceStatus || {});
|
|
526
|
+
var BaseRateSource = /* @__PURE__ */ ((BaseRateSource2) => {
|
|
527
|
+
BaseRateSource2["MANUAL_SPI"] = "MANUAL_SPI";
|
|
528
|
+
BaseRateSource2["AVALARA_PROBE"] = "AVALARA_PROBE";
|
|
529
|
+
return BaseRateSource2;
|
|
530
|
+
})(BaseRateSource || {});
|
|
512
531
|
var ChargeType = /* @__PURE__ */ ((ChargeType2) => {
|
|
513
532
|
ChargeType2["HANDLING_FEE"] = "HANDLING_FEE";
|
|
514
533
|
ChargeType2["INSURANCE"] = "INSURANCE";
|
|
@@ -792,6 +811,7 @@ function createAndRedirectToCheckout2() {
|
|
|
792
811
|
0 && (module.exports = {
|
|
793
812
|
AdditionalFeeSourceOriginal,
|
|
794
813
|
BalanceTypeOriginal,
|
|
814
|
+
BaseRateSourceOriginal,
|
|
795
815
|
ChannelTypeOriginal,
|
|
796
816
|
ChargeTypeOriginal,
|
|
797
817
|
DescriptionLineTypeOriginal,
|
|
@@ -811,6 +831,7 @@ function createAndRedirectToCheckout2() {
|
|
|
811
831
|
PlatformFeeChargeTypeOriginal,
|
|
812
832
|
ProductPeriodAlignmentOriginal,
|
|
813
833
|
RateTypeOriginal,
|
|
834
|
+
RepriceStatusOriginal,
|
|
814
835
|
RuleTypeOriginal,
|
|
815
836
|
SeverityOriginal,
|
|
816
837
|
SortOrderOriginal,
|