@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
|
@@ -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
|
/**
|
|
@@ -572,6 +581,14 @@ interface SubscriptionSettings {
|
|
|
572
581
|
* If None => no free trial
|
|
573
582
|
*/
|
|
574
583
|
freeTrialPeriod?: FreeTrialPeriod;
|
|
584
|
+
/**
|
|
585
|
+
* Date and time the subscription starts.
|
|
586
|
+
*
|
|
587
|
+
* The first charge happens when the order is placed. When `freeTrialPeriod` is set, the first charge happens when the free trial ends.
|
|
588
|
+
*/
|
|
589
|
+
startDate?: Date | null;
|
|
590
|
+
/** Billing configuration for recurring charges. */
|
|
591
|
+
billingSettings?: BillingSettings;
|
|
575
592
|
}
|
|
576
593
|
/** Frequency unit of recurring payment */
|
|
577
594
|
declare enum SubscriptionFrequency {
|
|
@@ -595,7 +612,9 @@ interface FreeTrialPeriod {
|
|
|
595
612
|
}
|
|
596
613
|
interface BillingSettings {
|
|
597
614
|
/**
|
|
598
|
-
* Day of month
|
|
615
|
+
* Day of the month that recurring charges fall on. For example, `15` to charge on the 15th of each month.
|
|
616
|
+
*
|
|
617
|
+
* Used only when the subscription's `frequency` is `MONTH` and `interval` is `1`.
|
|
599
618
|
* @min 1
|
|
600
619
|
* @max 28
|
|
601
620
|
*/
|
|
@@ -1686,6 +1705,97 @@ interface SelectedCarrierServiceOptionPrices {
|
|
|
1686
1705
|
/** Shipping price before discount and before tax. */
|
|
1687
1706
|
price?: MultiCurrencyPrice;
|
|
1688
1707
|
}
|
|
1708
|
+
/**
|
|
1709
|
+
* Record of the cross-border repricing of a single line item, shipping option or fee on a site whose catalog prices include tax:
|
|
1710
|
+
* the catalog price the merchant entered, the base region's tax removed from it per unit, and the rate used.
|
|
1711
|
+
*
|
|
1712
|
+
* The totals calculator form of `com.wix.ecommerce.platform_common.api.CrossBorderPriceAdjustment`: the same fields under the same numbers,
|
|
1713
|
+
* with the amounts as `MultiCurrencyPrice`. This record describes how the price was reached, not the resulting amount;
|
|
1714
|
+
* the repriced figures are on the line, shipping option or fee that carries it.
|
|
1715
|
+
*/
|
|
1716
|
+
interface CrossBorderPriceAdjustment {
|
|
1717
|
+
/**
|
|
1718
|
+
* ID of the tax region whose tax is built into the catalog prices.
|
|
1719
|
+
* @format GUID
|
|
1720
|
+
* @readonly
|
|
1721
|
+
*/
|
|
1722
|
+
baseTaxRegionId?: string;
|
|
1723
|
+
/**
|
|
1724
|
+
* ID of the tax region resolved for the destination. Absent when no region matched.
|
|
1725
|
+
* @format GUID
|
|
1726
|
+
* @readonly
|
|
1727
|
+
*/
|
|
1728
|
+
destinationTaxRegionId?: string | null;
|
|
1729
|
+
/**
|
|
1730
|
+
* Price per unit as entered by the merchant, with the base region's tax inside it.
|
|
1731
|
+
* @readonly
|
|
1732
|
+
*/
|
|
1733
|
+
catalogPrice?: MultiCurrencyPrice;
|
|
1734
|
+
/**
|
|
1735
|
+
* 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.
|
|
1736
|
+
* @readonly
|
|
1737
|
+
*/
|
|
1738
|
+
baseTaxAmount?: MultiCurrencyPrice;
|
|
1739
|
+
/**
|
|
1740
|
+
* Outcome of the repricing for this line.
|
|
1741
|
+
* @readonly
|
|
1742
|
+
*/
|
|
1743
|
+
status?: RepriceStatusWithLiterals;
|
|
1744
|
+
/**
|
|
1745
|
+
* 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`.
|
|
1746
|
+
* @readonly
|
|
1747
|
+
*/
|
|
1748
|
+
baseRateSource?: BaseRateSourceWithLiterals;
|
|
1749
|
+
/**
|
|
1750
|
+
* 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.
|
|
1751
|
+
* @format DECIMAL_VALUE
|
|
1752
|
+
* @decimalValue options { gte:0, maxScale:6 }
|
|
1753
|
+
* @readonly
|
|
1754
|
+
*/
|
|
1755
|
+
baseRate?: string | null;
|
|
1756
|
+
/**
|
|
1757
|
+
* When the base region's rate was captured. Set only when `baseRateSource` is `AVALARA_PROBE`.
|
|
1758
|
+
* @readonly
|
|
1759
|
+
*/
|
|
1760
|
+
baseRateCapturedDate?: Date | null;
|
|
1761
|
+
/**
|
|
1762
|
+
* Whether the destination's tax is included in the repriced amount. Reserved for per-region display; not populated.
|
|
1763
|
+
* @readonly
|
|
1764
|
+
*/
|
|
1765
|
+
destinationTaxIncluded?: boolean | null;
|
|
1766
|
+
}
|
|
1767
|
+
/** Outcome of the repricing for one line. */
|
|
1768
|
+
declare enum RepriceStatus {
|
|
1769
|
+
/** Base tax removed and the destination's tax applied. */
|
|
1770
|
+
APPLIED = "APPLIED",
|
|
1771
|
+
/** The caller asked for the line to be left at its price. Nothing was removed. */
|
|
1772
|
+
KEPT = "KEPT",
|
|
1773
|
+
/** 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`. */
|
|
1774
|
+
STRIP_ONLY = "STRIP_ONLY",
|
|
1775
|
+
/** The destination is the base region. Nothing was removed. */
|
|
1776
|
+
SAME_REGION = "SAME_REGION",
|
|
1777
|
+
/** 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. */
|
|
1778
|
+
SAME_COUNTRY = "SAME_COUNTRY",
|
|
1779
|
+
/** No tax region matched the destination. Base tax removed and no destination tax applied. */
|
|
1780
|
+
NO_DESTINATION_REGION = "NO_DESTINATION_REGION",
|
|
1781
|
+
/** The calculation didn't reprice this line, for example because the feature was off or a pass failed. Nothing was removed. */
|
|
1782
|
+
NOT_APPLICABLE = "NOT_APPLICABLE",
|
|
1783
|
+
/** The line's modifiers exceed its price at the destination's rate. Nothing was removed. */
|
|
1784
|
+
NOT_APPLICABLE_MODIFIERS = "NOT_APPLICABLE_MODIFIERS",
|
|
1785
|
+
/** A subscription line in a checkout whose currency differs from the site currency. Nothing was removed. */
|
|
1786
|
+
CONVERTED_CURRENCY_SUBSCRIPTION = "CONVERTED_CURRENCY_SUBSCRIPTION"
|
|
1787
|
+
}
|
|
1788
|
+
/** @enumType */
|
|
1789
|
+
type RepriceStatusWithLiterals = RepriceStatus | 'APPLIED' | 'KEPT' | 'STRIP_ONLY' | 'SAME_REGION' | 'SAME_COUNTRY' | 'NO_DESTINATION_REGION' | 'NOT_APPLICABLE' | 'NOT_APPLICABLE_MODIFIERS' | 'CONVERTED_CURRENCY_SUBSCRIPTION';
|
|
1790
|
+
/** Where the base region's rate came from. */
|
|
1791
|
+
declare enum BaseRateSource {
|
|
1792
|
+
/** The manual tax calculator computed the base tax for this calculation. */
|
|
1793
|
+
MANUAL_SPI = "MANUAL_SPI",
|
|
1794
|
+
/** The rate captured from Avalara by the embedded-rate probe. */
|
|
1795
|
+
AVALARA_PROBE = "AVALARA_PROBE"
|
|
1796
|
+
}
|
|
1797
|
+
/** @enumType */
|
|
1798
|
+
type BaseRateSourceWithLiterals = BaseRateSource | 'MANUAL_SPI' | 'AVALARA_PROBE';
|
|
1689
1799
|
interface SelectedCarrierServiceOptionOtherCharge {
|
|
1690
1800
|
/** Type of additional cost. */
|
|
1691
1801
|
type?: ChargeTypeWithLiterals;
|
|
@@ -3568,4 +3678,4 @@ declare function createAndRedirectToCheckout(checkoutTemplateId: string, siteId:
|
|
|
3568
3678
|
__applicationErrorsType?: CreateAndRedirectToCheckoutApplicationErrors;
|
|
3569
3679
|
}>;
|
|
3570
3680
|
|
|
3571
|
-
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type AdditionalFee, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type Address, type AddressLocation, type AddressWithContact, type AggregatedTaxBreakdown, type ApplicableLineItems, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails, BalanceType, type BalanceTypeWithLiterals, type BaseEventMetadata, type BillingSettings, type BulkActionMetadata, type BulkCheckoutTemplateResult, type BulkCreateCheckoutTemplatesApplicationErrors, type BulkCreateCheckoutTemplatesOptions, type BulkCreateCheckoutTemplatesRequest, type BulkCreateCheckoutTemplatesResponse, type BuyerInfo, type BuyerInfoIdOneOf, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type Carrier, type CarrierError, type CarrierErrors, type CarrierServiceOption, type CatalogOverrideFields, type CatalogReference, ChannelType, type ChannelTypeWithLiterals, type Charge, ChargeType, type ChargeTypeWithLiterals, type Checkout, type CheckoutCustomization, type CheckoutTemplate, type CheckoutTemplateCreatedEnvelope, type CheckoutTemplateDeletedEnvelope, type CheckoutTemplateQuery, type CheckoutTemplateQuerySpec, type CheckoutTemplateUpdatedEnvelope, type CheckoutTemplateUsed, type CheckoutTemplateUsedEnvelope, type CheckoutTemplatesQueryBuilder, type CheckoutTemplatesQueryResult, type Color, type CommonQueryWithEntityContext, type ConversionInfo, type Coupon, type CouponDiscountValueOneOf, type CreateAndRedirectToCheckoutApplicationErrors, type CreateAndRedirectToCheckoutRequest, type CreateCheckoutFromTemplateApplicationErrors, type CreateCheckoutFromTemplateRequest, type CreateCheckoutFromTemplateResponse, type CreateCheckoutTemplateApplicationErrors, type CreateCheckoutTemplateRequest, type CreateCheckoutTemplateResponse, type CreatedBy, type CreatedByIdOneOf, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomContentReference, type CustomField, type CustomLineItem, type CustomSettings, type CyclePriceOverride, type DeleteCheckoutTemplateRequest, type DeleteCheckoutTemplateResponse, type DeliveryAllocation, type DeliveryLogistics, type DeliveryTimeSlot, type Description, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type Details, type DetailsKindOneOf, type Dimensions, DimensionsUnit, type DimensionsUnitWithLiterals, type DiscountRule, type DiscountRuleDiscountValueOneOf, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, DiscountValueType, type DiscountValueTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type ExternalReference, FallbackReason, type FallbackReasonWithLiterals, type FieldViolation, FileType, type FileTypeWithLiterals, type FocalPoint, type FreeTrialPeriod, type FullAddressContactDetails, type GetCheckoutTemplateRequest, type GetCheckoutTemplateResponse, type GiftCard, type GiftCardCalculationError, type Group, type HeadersEntry, type IdentificationData, type IdentificationDataIdOneOf, type InvalidMembership, type ItemAvailabilityInfo, ItemAvailabilityStatus, type ItemAvailabilityStatusWithLiterals, type ItemCombination, type ItemCombinationLineItem, type ItemMetadata, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItem, type LineItemDiscount, ManualCalculationReason, type ManualCalculationReasonWithLiterals, type Membership, type MembershipName, type MembershipOptions, type MembershipPaymentCredits, type MerchantDiscount, type MessageEnvelope, type ModifierGroup, type MultiCurrencyPrice, NameInLineItem, type NameInLineItemWithLiterals, NameInOther, type NameInOtherWithLiterals, type Other, type OtherCharge, type PaymentOption, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PhysicalProperties, type PickupDetails, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type PlatformFee, PlatformFeeChargeType, type PlatformFeeChargeTypeWithLiterals, type Policy, type PriceDescription, type PriceSummary, type ProductName, ProductPeriodAlignment, type ProductPeriodAlignmentWithLiterals, type QueryCheckoutTemplatesRequest, type QueryCheckoutTemplatesResponse, RateType, type RateTypeWithLiterals, type RawHttpResponse, type Region, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type Scope, type SecuredMedia, type SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices, type SelectedMembership, type SelectedMemberships, type ServiceProperties, Severity, type SeverityWithLiterals, type ShippingInfo, type ShippingOption, type ShippingPrice, type ShippingRegion, SortOrder, type SortOrderWithLiterals, type Sorting, Status, type StatusWithLiterals, type StreetAddress, type SubscriptionCharges, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionOptionInfo, type SubscriptionSettings, SuggestedFix, type SuggestedFixWithLiterals, type SystemError, type Target, type TargetLineItem, type TargetTargetTypeOneOf, type TaxBreakdown, type TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type Title, type TranslatableString, type UpdateCheckoutTemplate, type UpdateCheckoutTemplateApplicationErrors, type UpdateCheckoutTemplateRequest, type UpdateCheckoutTemplateResponse, type V1ItemModifier, type V1LineItem, type V1ModifierGroup, type ValidationError, type VatId, VatType, type VatTypeWithLiterals, type Violation, type WebClientCustomization, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, createAndRedirectToCheckout, createCheckoutFromTemplate, createCheckoutTemplate, deleteCheckoutTemplate, getCheckoutTemplate, onCheckoutTemplateCreated, onCheckoutTemplateDeleted, onCheckoutTemplateUpdated, onCheckoutTemplateUsed, queryCheckoutTemplates, typedQueryCheckoutTemplates, updateCheckoutTemplate, utils };
|
|
3681
|
+
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type AdditionalFee, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type Address, type AddressLocation, type AddressWithContact, type AggregatedTaxBreakdown, type ApplicableLineItems, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails, BalanceType, type BalanceTypeWithLiterals, type BaseEventMetadata, BaseRateSource, type BaseRateSourceWithLiterals, type BillingSettings, type BulkActionMetadata, type BulkCheckoutTemplateResult, type BulkCreateCheckoutTemplatesApplicationErrors, type BulkCreateCheckoutTemplatesOptions, type BulkCreateCheckoutTemplatesRequest, type BulkCreateCheckoutTemplatesResponse, type BuyerInfo, type BuyerInfoIdOneOf, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type Carrier, type CarrierError, type CarrierErrors, type CarrierServiceOption, type CatalogOverrideFields, type CatalogReference, ChannelType, type ChannelTypeWithLiterals, type Charge, ChargeType, type ChargeTypeWithLiterals, type Checkout, type CheckoutCustomization, type CheckoutTemplate, type CheckoutTemplateCreatedEnvelope, type CheckoutTemplateDeletedEnvelope, type CheckoutTemplateQuery, type CheckoutTemplateQuerySpec, type CheckoutTemplateUpdatedEnvelope, type CheckoutTemplateUsed, type CheckoutTemplateUsedEnvelope, type CheckoutTemplatesQueryBuilder, type CheckoutTemplatesQueryResult, type Color, type CommonQueryWithEntityContext, type ConversionInfo, type Coupon, type CouponDiscountValueOneOf, type CreateAndRedirectToCheckoutApplicationErrors, type CreateAndRedirectToCheckoutRequest, type CreateCheckoutFromTemplateApplicationErrors, type CreateCheckoutFromTemplateRequest, type CreateCheckoutFromTemplateResponse, type CreateCheckoutTemplateApplicationErrors, type CreateCheckoutTemplateRequest, type CreateCheckoutTemplateResponse, type CreatedBy, type CreatedByIdOneOf, type CrossBorderPriceAdjustment, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomContentReference, type CustomField, type CustomLineItem, type CustomSettings, type CyclePriceOverride, type DeleteCheckoutTemplateRequest, type DeleteCheckoutTemplateResponse, type DeliveryAllocation, type DeliveryLogistics, type DeliveryTimeSlot, type Description, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type Details, type DetailsKindOneOf, type Dimensions, DimensionsUnit, type DimensionsUnitWithLiterals, type DiscountRule, type DiscountRuleDiscountValueOneOf, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, DiscountValueType, type DiscountValueTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type ExternalReference, FallbackReason, type FallbackReasonWithLiterals, type FieldViolation, FileType, type FileTypeWithLiterals, type FocalPoint, type FreeTrialPeriod, type FullAddressContactDetails, type GetCheckoutTemplateRequest, type GetCheckoutTemplateResponse, type GiftCard, type GiftCardCalculationError, type Group, type HeadersEntry, type IdentificationData, type IdentificationDataIdOneOf, type InvalidMembership, type ItemAvailabilityInfo, ItemAvailabilityStatus, type ItemAvailabilityStatusWithLiterals, type ItemCombination, type ItemCombinationLineItem, type ItemMetadata, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItem, type LineItemDiscount, ManualCalculationReason, type ManualCalculationReasonWithLiterals, type Membership, type MembershipName, type MembershipOptions, type MembershipPaymentCredits, type MerchantDiscount, type MessageEnvelope, type ModifierGroup, type MultiCurrencyPrice, NameInLineItem, type NameInLineItemWithLiterals, NameInOther, type NameInOtherWithLiterals, type Other, type OtherCharge, type PaymentOption, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PhysicalProperties, type PickupDetails, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type PlatformFee, PlatformFeeChargeType, type PlatformFeeChargeTypeWithLiterals, type Policy, type PriceDescription, type PriceSummary, type ProductName, ProductPeriodAlignment, type ProductPeriodAlignmentWithLiterals, type QueryCheckoutTemplatesRequest, type QueryCheckoutTemplatesResponse, RateType, type RateTypeWithLiterals, type RawHttpResponse, type Region, RepriceStatus, type RepriceStatusWithLiterals, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type Scope, type SecuredMedia, type SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices, type SelectedMembership, type SelectedMemberships, type ServiceProperties, Severity, type SeverityWithLiterals, type ShippingInfo, type ShippingOption, type ShippingPrice, type ShippingRegion, SortOrder, type SortOrderWithLiterals, type Sorting, Status, type StatusWithLiterals, type StreetAddress, type SubscriptionCharges, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionOptionInfo, type SubscriptionSettings, SuggestedFix, type SuggestedFixWithLiterals, type SystemError, type Target, type TargetLineItem, type TargetTargetTypeOneOf, type TaxBreakdown, type TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type Title, type TranslatableString, type UpdateCheckoutTemplate, type UpdateCheckoutTemplateApplicationErrors, type UpdateCheckoutTemplateRequest, type UpdateCheckoutTemplateResponse, type V1ItemModifier, type V1LineItem, type V1ModifierGroup, type ValidationError, type VatId, VatType, type VatTypeWithLiterals, type Violation, type WebClientCustomization, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, createAndRedirectToCheckout, createCheckoutFromTemplate, createCheckoutTemplate, deleteCheckoutTemplate, getCheckoutTemplate, onCheckoutTemplateCreated, onCheckoutTemplateDeleted, onCheckoutTemplateUpdated, onCheckoutTemplateUsed, queryCheckoutTemplates, typedQueryCheckoutTemplates, updateCheckoutTemplate, utils };
|
|
@@ -22,6 +22,7 @@ var index_typings_exports = {};
|
|
|
22
22
|
__export(index_typings_exports, {
|
|
23
23
|
AdditionalFeeSource: () => AdditionalFeeSource,
|
|
24
24
|
BalanceType: () => BalanceType,
|
|
25
|
+
BaseRateSource: () => BaseRateSource,
|
|
25
26
|
ChannelType: () => ChannelType,
|
|
26
27
|
ChargeType: () => ChargeType,
|
|
27
28
|
DescriptionLineType: () => DescriptionLineType,
|
|
@@ -41,6 +42,7 @@ __export(index_typings_exports, {
|
|
|
41
42
|
PlatformFeeChargeType: () => PlatformFeeChargeType,
|
|
42
43
|
ProductPeriodAlignment: () => ProductPeriodAlignment,
|
|
43
44
|
RateType: () => RateType,
|
|
45
|
+
RepriceStatus: () => RepriceStatus,
|
|
44
46
|
RuleType: () => RuleType,
|
|
45
47
|
Severity: () => Severity,
|
|
46
48
|
SortOrder: () => SortOrder,
|
|
@@ -537,6 +539,23 @@ var PickupMethod = /* @__PURE__ */ ((PickupMethod2) => {
|
|
|
537
539
|
PickupMethod2["PICKUP_POINT"] = "PICKUP_POINT";
|
|
538
540
|
return PickupMethod2;
|
|
539
541
|
})(PickupMethod || {});
|
|
542
|
+
var RepriceStatus = /* @__PURE__ */ ((RepriceStatus2) => {
|
|
543
|
+
RepriceStatus2["APPLIED"] = "APPLIED";
|
|
544
|
+
RepriceStatus2["KEPT"] = "KEPT";
|
|
545
|
+
RepriceStatus2["STRIP_ONLY"] = "STRIP_ONLY";
|
|
546
|
+
RepriceStatus2["SAME_REGION"] = "SAME_REGION";
|
|
547
|
+
RepriceStatus2["SAME_COUNTRY"] = "SAME_COUNTRY";
|
|
548
|
+
RepriceStatus2["NO_DESTINATION_REGION"] = "NO_DESTINATION_REGION";
|
|
549
|
+
RepriceStatus2["NOT_APPLICABLE"] = "NOT_APPLICABLE";
|
|
550
|
+
RepriceStatus2["NOT_APPLICABLE_MODIFIERS"] = "NOT_APPLICABLE_MODIFIERS";
|
|
551
|
+
RepriceStatus2["CONVERTED_CURRENCY_SUBSCRIPTION"] = "CONVERTED_CURRENCY_SUBSCRIPTION";
|
|
552
|
+
return RepriceStatus2;
|
|
553
|
+
})(RepriceStatus || {});
|
|
554
|
+
var BaseRateSource = /* @__PURE__ */ ((BaseRateSource2) => {
|
|
555
|
+
BaseRateSource2["MANUAL_SPI"] = "MANUAL_SPI";
|
|
556
|
+
BaseRateSource2["AVALARA_PROBE"] = "AVALARA_PROBE";
|
|
557
|
+
return BaseRateSource2;
|
|
558
|
+
})(BaseRateSource || {});
|
|
540
559
|
var ChargeType = /* @__PURE__ */ ((ChargeType2) => {
|
|
541
560
|
ChargeType2["HANDLING_FEE"] = "HANDLING_FEE";
|
|
542
561
|
ChargeType2["INSURANCE"] = "INSURANCE";
|
|
@@ -1031,6 +1050,7 @@ async function createAndRedirectToCheckout2(checkoutTemplateId, siteId) {
|
|
|
1031
1050
|
0 && (module.exports = {
|
|
1032
1051
|
AdditionalFeeSource,
|
|
1033
1052
|
BalanceType,
|
|
1053
|
+
BaseRateSource,
|
|
1034
1054
|
ChannelType,
|
|
1035
1055
|
ChargeType,
|
|
1036
1056
|
DescriptionLineType,
|
|
@@ -1050,6 +1070,7 @@ async function createAndRedirectToCheckout2(checkoutTemplateId, siteId) {
|
|
|
1050
1070
|
PlatformFeeChargeType,
|
|
1051
1071
|
ProductPeriodAlignment,
|
|
1052
1072
|
RateType,
|
|
1073
|
+
RepriceStatus,
|
|
1053
1074
|
RuleType,
|
|
1054
1075
|
Severity,
|
|
1055
1076
|
SortOrder,
|