@wix/auto_sdk_ecom_subscription-contracts 1.0.150 → 1.0.152
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 +9 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +28 -5
- package/build/cjs/index.typings.js +9 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +28 -5
- package/build/cjs/meta.js +9 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +8 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +28 -5
- package/build/es/index.typings.mjs +8 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +28 -5
- package/build/es/meta.mjs +8 -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 +110 -19
- package/build/internal/cjs/meta.d.ts +110 -19
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.typings.d.mts +110 -19
- package/build/internal/es/meta.d.mts +110 -19
- package/package.json +2 -2
|
@@ -690,6 +690,8 @@ interface LineItemTaxInfo {
|
|
|
690
690
|
* @maxSize 7
|
|
691
691
|
*/
|
|
692
692
|
taxBreakdown?: LineItemTaxBreakdown[];
|
|
693
|
+
/** Amount of the line item price that was exempt from tax. */
|
|
694
|
+
exemptAmount?: Price;
|
|
693
695
|
}
|
|
694
696
|
/**
|
|
695
697
|
* TaxBreakdown represents tax information for a line item.
|
|
@@ -726,6 +728,8 @@ interface LineItemTaxBreakdown {
|
|
|
726
728
|
nonTaxableAmount?: Price;
|
|
727
729
|
/** Taxable amount of the line item price. */
|
|
728
730
|
taxableAmount?: Price;
|
|
731
|
+
/** Amount of the line item price that was exempt from this authority. */
|
|
732
|
+
exemptAmount?: Price;
|
|
729
733
|
}
|
|
730
734
|
/** JurisdictionType represents the type of the jurisdiction in which this tax detail applies (e.g. Country,State,County,City,Special). */
|
|
731
735
|
declare enum JurisdictionType {
|
|
@@ -1620,6 +1624,11 @@ interface OrderTaxInfo {
|
|
|
1620
1624
|
* @readonly
|
|
1621
1625
|
*/
|
|
1622
1626
|
taxExempt?: boolean | null;
|
|
1627
|
+
/**
|
|
1628
|
+
* Total amount exempt from tax calculations.
|
|
1629
|
+
* @readonly
|
|
1630
|
+
*/
|
|
1631
|
+
totalExempt?: Price;
|
|
1623
1632
|
}
|
|
1624
1633
|
/**
|
|
1625
1634
|
* The summary of the tax breakdown for all the line items. It will hold for each tax name, the aggregated tax amount paid for it and the tax rate.
|
|
@@ -1651,6 +1660,8 @@ interface OrderTaxBreakdown {
|
|
|
1651
1660
|
rate?: string;
|
|
1652
1661
|
/** The sum of all the tax from line items that calculated by the tax identifiers. */
|
|
1653
1662
|
aggregatedTaxAmount?: Price;
|
|
1663
|
+
/** Total amount exempt from this tax, summed across all line items. */
|
|
1664
|
+
aggregatedExemptAmount?: Price;
|
|
1654
1665
|
}
|
|
1655
1666
|
/** Cross-border repricing outcome of one calculation. Replaced on every recalculation of the order; the order-level marker that never changes is `Order.crossBorderRepricing`. */
|
|
1656
1667
|
interface CrossBorderCalculation {
|
|
@@ -1709,6 +1720,7 @@ interface AppliedDiscount extends AppliedDiscountDiscountSourceOneOf {
|
|
|
1709
1720
|
merchantDiscount?: MerchantDiscount;
|
|
1710
1721
|
/** Automatic discount applied by the system based on configured discount rules. */
|
|
1711
1722
|
discountRule?: DiscountRule;
|
|
1723
|
+
/** Discount type. */
|
|
1712
1724
|
discountType?: DiscountTypeWithLiterals;
|
|
1713
1725
|
/**
|
|
1714
1726
|
* __Deprecated.__ Use `lineItemDiscounts` instead.
|
|
@@ -1756,16 +1768,24 @@ declare enum DiscountType {
|
|
|
1756
1768
|
/** @enumType */
|
|
1757
1769
|
type DiscountTypeWithLiterals = DiscountType | 'GLOBAL' | 'SPECIFIC_ITEMS' | 'SHIPPING';
|
|
1758
1770
|
/** Coupon */
|
|
1759
|
-
interface Coupon {
|
|
1771
|
+
interface Coupon extends CouponDiscountValueOneOf {
|
|
1760
1772
|
/** Coupon ID. */
|
|
1761
1773
|
_id?: string;
|
|
1762
1774
|
/** Coupon code. */
|
|
1763
1775
|
code?: string;
|
|
1764
1776
|
/** Coupon name. */
|
|
1765
1777
|
name?: string;
|
|
1766
|
-
/**
|
|
1778
|
+
/** Total amount the coupon took off. */
|
|
1767
1779
|
amount?: Price;
|
|
1768
1780
|
}
|
|
1781
|
+
/** @oneof */
|
|
1782
|
+
interface CouponDiscountValueOneOf {
|
|
1783
|
+
}
|
|
1784
|
+
/** How a coupon's or discount rule's discount value is expressed. */
|
|
1785
|
+
declare enum DiscountValueType {
|
|
1786
|
+
}
|
|
1787
|
+
/** @enumType */
|
|
1788
|
+
type DiscountValueTypeWithLiterals = DiscountValueType;
|
|
1769
1789
|
/** Discount applied manually by the merchant through the dashboard. */
|
|
1770
1790
|
interface MerchantDiscount extends MerchantDiscountMerchantDiscountReasonOneOf {
|
|
1771
1791
|
/** Predefined discount reason. */
|
|
@@ -1799,7 +1819,7 @@ declare enum DiscountReason {
|
|
|
1799
1819
|
}
|
|
1800
1820
|
/** @enumType */
|
|
1801
1821
|
type DiscountReasonWithLiterals = DiscountReason | 'UNSPECIFIED' | 'EXCHANGED_ITEMS' | 'BILLING_ADJUSTMENT';
|
|
1802
|
-
interface DiscountRule {
|
|
1822
|
+
interface DiscountRule extends DiscountRuleDiscountValueOneOf {
|
|
1803
1823
|
/**
|
|
1804
1824
|
* Discount rule ID
|
|
1805
1825
|
* @format GUID
|
|
@@ -1807,9 +1827,12 @@ interface DiscountRule {
|
|
|
1807
1827
|
_id?: string;
|
|
1808
1828
|
/** Discount rule name */
|
|
1809
1829
|
name?: DiscountRuleName;
|
|
1810
|
-
/**
|
|
1830
|
+
/** Total amount the discount rule took off. */
|
|
1811
1831
|
amount?: Price;
|
|
1812
1832
|
}
|
|
1833
|
+
/** @oneof */
|
|
1834
|
+
interface DiscountRuleDiscountValueOneOf {
|
|
1835
|
+
}
|
|
1813
1836
|
interface DiscountRuleName {
|
|
1814
1837
|
/**
|
|
1815
1838
|
* Original discount rule name (in site's default language).
|
|
@@ -3354,4 +3377,4 @@ declare const utils: {
|
|
|
3354
3377
|
query: _wix_sdk_types.QueryHelpers<SubscriptionContract, SubscriptionContractQuerySpec, SubscriptionContractQuery>;
|
|
3355
3378
|
};
|
|
3356
3379
|
|
|
3357
|
-
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, ActionInitiator, type ActionInitiatorWithLiterals, type ActivityAuthor, type ActivityAuthorValueOneOf, ActivityType, type ActivityTypeWithLiterals, type AdditionalFee, type AdditionalFeeDelta, type AdditionalFeeDeltaDeltaDetailsOneOf, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type AdditionalFeeSummary, type Address, type AddressLocation, type AddressWithContact, AdjustmentType, type AdjustmentTypeWithLiterals, type ApplicationError, type AppliedDiscount, type AppliedDiscountDelta, type AppliedDiscountDeltaDeltaDetailsOneOf, type AppliedDiscountDiscountSourceOneOf, type BaseEventMetadata, BaseRateSource, type BaseRateSourceWithLiterals, type BillingAdjustment, type BillingAdjustmentPriceSummary, type BillingSettings, type BulkActionMetadata, type BulkCreateSubscriptionContractsRequest, type BulkCreateSubscriptionContractsResponse, type BulkSubscriptionContractResult, type BulkUpdateSubscriptionContractsRequest, type BulkUpdateSubscriptionContractsResponse, type BuyerInfo, type BuyerInfoIdOneOf, type CatalogReference, type CatalogReferenceOptionsBeforeChange, ChangeType, type ChangeTypeWithLiterals, type ChangesAppliedActivity, type ChangesAppliedActivityTargetOneOf, type ChannelInfo, ChannelType, type ChannelTypeWithLiterals, ChargeType, type ChargeTypeWithLiterals, type Color, type CommitSubscriptionContractChangesRequest, type CommitSubscriptionContractChangesResponse, type CommonQueryWithEntityContext, type ContractChange, type ContractChangeChangeDetailsOneOf, ContractChangeType, type ContractChangeTypeWithLiterals, type ContractTarget, type Coupon, type CreateSubscriptionContractRequest, type CreateSubscriptionContractResponse, type CrossBorderCalculation, CrossBorderNotApplicableReason, type CrossBorderNotApplicableReasonWithLiterals, type CrossBorderPriceAdjustment, CrossBorderRepricingMode, type CrossBorderRepricingModeWithLiterals, type CurrencyConversionDetails, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomField, type CyclePriceOverride, type DecimalQuantity, type DecimalQuantityUnitOneOf, type DeliveryLogistics, type DeliveryLogisticsAddressOneOf, type DeliveryProfileIdBeforeChange, type DeliveryTimeSlot, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type DescriptionLinesBeforeChange, type DigitalFile, type DigitalFileBeforeChange, type Dimensions, DimensionsUnit, type DimensionsUnitWithLiterals, DiscountReason, type DiscountReasonWithLiterals, type DiscountRule, type DiscountRuleName, type DiscountSummary, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type FocalPoint, type FreeTrialPeriod, type FulfillerIdBeforeChange, type FullAddressContactDetails, type GetSubscriptionContractApplicationErrors, type GetSubscriptionContractRequest, type GetSubscriptionContractResponse, type IdentificationData, type IdentificationDataIdOneOf, type ImageBeforeChange, type InventoryAppIdBeforeChange, type ItemChangedDetails, type ItemCombination, type ItemCombinationLineItem, type ItemMetadata, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeBeforeChange, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItemChanges, type LineItemCyclePriceOverrides, type LineItemDelta, type LineItemDeltaDeltaDetailsOneOf, type LineItemDiscount, type LineItemQuantityChange, LineItemQuantityChangeType, type LineItemQuantityChangeTypeWithLiterals, type LineItemSummary, type LineItemTaxBreakdown, type LineItemTaxInfo, type Location, type LocationAndQuantity, type MaskedSubscriptionContract, MeasurementUnit, type MeasurementUnitWithLiterals, type MerchantDiscount, type MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope, type ModifierGroup, type ModifierGroupsBeforeChange, type OrderLineItem, type OrderTaxBreakdown, type OrderTaxInfo, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PhysicalProperties, type PhysicalPropertiesBeforeChange, type PickupAddress, type PickupDetails, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type PlatformFee, type PlatformFeeSummary, type Price, type PriceDescription, type PriceDescriptionBeforeChange, type PriceSummary, type PriceUndeterminedBeforeChange, type ProductName, type ProductNameBeforeChange, ProductPeriodAlignment, type ProductPeriodAlignmentWithLiterals, type QuerySubscriptionContractsRequest, type QuerySubscriptionContractsResponse, RepriceStatus, type RepriceStatusWithLiterals, type RestockLocation, type RestoreInfo, type RootCatalogItemIdBeforeChange, type ServiceProperties, type ShippingGroupIdBeforeChange, type ShippingInformation, type ShippingPrice, type ShippingRegion, SortOrder, type SortOrderWithLiterals, type Sorting, SpecificItemsCouponBehavior, type SpecificItemsCouponBehaviorWithLiterals, type StreetAddress, type SubscriptionCommitSettings, type SubscriptionContract, type SubscriptionContractActivity, type SubscriptionContractActivityContentOneOf, type SubscriptionContractActivityTargetOneOf, type SubscriptionContractCanceled, type SubscriptionContractChangesCommitted, type SubscriptionContractChargeUpcoming, type SubscriptionContractCommittedEnvelope, type SubscriptionContractCreatedEnvelope, type SubscriptionContractDeletedEnvelope, type SubscriptionContractDiffs, type SubscriptionContractExpired, type SubscriptionContractQuery, type SubscriptionContractQuerySpec, type SubscriptionContractSettings, type SubscriptionContractUpdatedEnvelope, type SubscriptionContractsQueryBuilder, type SubscriptionContractsQueryResult, type SubscriptionDescription, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionInfo, type SubscriptionSettings, SubscriptionSettingsProductPeriodAlignment, type SubscriptionSettingsProductPeriodAlignmentWithLiterals, type SubscriptionTitle, type TaxInfoBeforeChange, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type TotalPriceChange, type TranslatableString, type TranslatedValue, type UpdateSubscriptionContractRequest, type UpdateSubscriptionContractResponse, type V1BillingSettings, type V1CyclePriceOverride, type V1FreeTrialPeriod, type V1SubscriptionDescription, type V1SubscriptionSettings, type V1SubscriptionTitle, V2SubscriptionFrequency, type V2SubscriptionFrequencyWithLiterals, type VatId, VatType, type VatTypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, getSubscriptionContract, onSubscriptionContractCommitted, onSubscriptionContractCreated, onSubscriptionContractDeleted, onSubscriptionContractUpdated, querySubscriptionContracts, typedQuerySubscriptionContracts, utils };
|
|
3380
|
+
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, ActionInitiator, type ActionInitiatorWithLiterals, type ActivityAuthor, type ActivityAuthorValueOneOf, ActivityType, type ActivityTypeWithLiterals, type AdditionalFee, type AdditionalFeeDelta, type AdditionalFeeDeltaDeltaDetailsOneOf, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type AdditionalFeeSummary, type Address, type AddressLocation, type AddressWithContact, AdjustmentType, type AdjustmentTypeWithLiterals, type ApplicationError, type AppliedDiscount, type AppliedDiscountDelta, type AppliedDiscountDeltaDeltaDetailsOneOf, type AppliedDiscountDiscountSourceOneOf, type BaseEventMetadata, BaseRateSource, type BaseRateSourceWithLiterals, type BillingAdjustment, type BillingAdjustmentPriceSummary, type BillingSettings, type BulkActionMetadata, type BulkCreateSubscriptionContractsRequest, type BulkCreateSubscriptionContractsResponse, type BulkSubscriptionContractResult, type BulkUpdateSubscriptionContractsRequest, type BulkUpdateSubscriptionContractsResponse, type BuyerInfo, type BuyerInfoIdOneOf, type CatalogReference, type CatalogReferenceOptionsBeforeChange, ChangeType, type ChangeTypeWithLiterals, type ChangesAppliedActivity, type ChangesAppliedActivityTargetOneOf, type ChannelInfo, ChannelType, type ChannelTypeWithLiterals, ChargeType, type ChargeTypeWithLiterals, type Color, type CommitSubscriptionContractChangesRequest, type CommitSubscriptionContractChangesResponse, type CommonQueryWithEntityContext, type ContractChange, type ContractChangeChangeDetailsOneOf, ContractChangeType, type ContractChangeTypeWithLiterals, type ContractTarget, type Coupon, type CouponDiscountValueOneOf, type CreateSubscriptionContractRequest, type CreateSubscriptionContractResponse, type CrossBorderCalculation, CrossBorderNotApplicableReason, type CrossBorderNotApplicableReasonWithLiterals, type CrossBorderPriceAdjustment, CrossBorderRepricingMode, type CrossBorderRepricingModeWithLiterals, type CurrencyConversionDetails, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomField, type CyclePriceOverride, type DecimalQuantity, type DecimalQuantityUnitOneOf, type DeliveryLogistics, type DeliveryLogisticsAddressOneOf, type DeliveryProfileIdBeforeChange, type DeliveryTimeSlot, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type DescriptionLinesBeforeChange, type DigitalFile, type DigitalFileBeforeChange, type Dimensions, DimensionsUnit, type DimensionsUnitWithLiterals, DiscountReason, type DiscountReasonWithLiterals, type DiscountRule, type DiscountRuleDiscountValueOneOf, type DiscountRuleName, type DiscountSummary, DiscountType, type DiscountTypeWithLiterals, DiscountValueType, type DiscountValueTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type FocalPoint, type FreeTrialPeriod, type FulfillerIdBeforeChange, type FullAddressContactDetails, type GetSubscriptionContractApplicationErrors, type GetSubscriptionContractRequest, type GetSubscriptionContractResponse, type IdentificationData, type IdentificationDataIdOneOf, type ImageBeforeChange, type InventoryAppIdBeforeChange, type ItemChangedDetails, type ItemCombination, type ItemCombinationLineItem, type ItemMetadata, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeBeforeChange, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItemChanges, type LineItemCyclePriceOverrides, type LineItemDelta, type LineItemDeltaDeltaDetailsOneOf, type LineItemDiscount, type LineItemQuantityChange, LineItemQuantityChangeType, type LineItemQuantityChangeTypeWithLiterals, type LineItemSummary, type LineItemTaxBreakdown, type LineItemTaxInfo, type Location, type LocationAndQuantity, type MaskedSubscriptionContract, MeasurementUnit, type MeasurementUnitWithLiterals, type MerchantDiscount, type MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope, type ModifierGroup, type ModifierGroupsBeforeChange, type OrderLineItem, type OrderTaxBreakdown, type OrderTaxInfo, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PhysicalProperties, type PhysicalPropertiesBeforeChange, type PickupAddress, type PickupDetails, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type PlatformFee, type PlatformFeeSummary, type Price, type PriceDescription, type PriceDescriptionBeforeChange, type PriceSummary, type PriceUndeterminedBeforeChange, type ProductName, type ProductNameBeforeChange, ProductPeriodAlignment, type ProductPeriodAlignmentWithLiterals, type QuerySubscriptionContractsRequest, type QuerySubscriptionContractsResponse, RepriceStatus, type RepriceStatusWithLiterals, type RestockLocation, type RestoreInfo, type RootCatalogItemIdBeforeChange, type ServiceProperties, type ShippingGroupIdBeforeChange, type ShippingInformation, type ShippingPrice, type ShippingRegion, SortOrder, type SortOrderWithLiterals, type Sorting, SpecificItemsCouponBehavior, type SpecificItemsCouponBehaviorWithLiterals, type StreetAddress, type SubscriptionCommitSettings, type SubscriptionContract, type SubscriptionContractActivity, type SubscriptionContractActivityContentOneOf, type SubscriptionContractActivityTargetOneOf, type SubscriptionContractCanceled, type SubscriptionContractChangesCommitted, type SubscriptionContractChargeUpcoming, type SubscriptionContractCommittedEnvelope, type SubscriptionContractCreatedEnvelope, type SubscriptionContractDeletedEnvelope, type SubscriptionContractDiffs, type SubscriptionContractExpired, type SubscriptionContractQuery, type SubscriptionContractQuerySpec, type SubscriptionContractSettings, type SubscriptionContractUpdatedEnvelope, type SubscriptionContractsQueryBuilder, type SubscriptionContractsQueryResult, type SubscriptionDescription, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionInfo, type SubscriptionSettings, SubscriptionSettingsProductPeriodAlignment, type SubscriptionSettingsProductPeriodAlignmentWithLiterals, type SubscriptionTitle, type TaxInfoBeforeChange, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type TotalPriceChange, type TranslatableString, type TranslatedValue, type UpdateSubscriptionContractRequest, type UpdateSubscriptionContractResponse, type V1BillingSettings, type V1CyclePriceOverride, type V1FreeTrialPeriod, type V1SubscriptionDescription, type V1SubscriptionSettings, type V1SubscriptionTitle, V2SubscriptionFrequency, type V2SubscriptionFrequencyWithLiterals, type VatId, VatType, type VatTypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, getSubscriptionContract, onSubscriptionContractCommitted, onSubscriptionContractCreated, onSubscriptionContractDeleted, onSubscriptionContractUpdated, querySubscriptionContracts, typedQuerySubscriptionContracts, utils };
|
|
@@ -35,6 +35,7 @@ __export(index_typings_exports, {
|
|
|
35
35
|
DimensionsUnit: () => DimensionsUnit,
|
|
36
36
|
DiscountReason: () => DiscountReason,
|
|
37
37
|
DiscountType: () => DiscountType,
|
|
38
|
+
DiscountValueType: () => DiscountValueType,
|
|
38
39
|
ItemTypePreset: () => ItemTypePreset,
|
|
39
40
|
JurisdictionType: () => JurisdictionType,
|
|
40
41
|
LineItemQuantityChangeType: () => LineItemQuantityChangeType,
|
|
@@ -510,6 +511,13 @@ var DiscountType = /* @__PURE__ */ ((DiscountType2) => {
|
|
|
510
511
|
DiscountType2["SHIPPING"] = "SHIPPING";
|
|
511
512
|
return DiscountType2;
|
|
512
513
|
})(DiscountType || {});
|
|
514
|
+
var DiscountValueType = /* @__PURE__ */ ((DiscountValueType2) => {
|
|
515
|
+
DiscountValueType2["PERCENTAGE"] = "PERCENTAGE";
|
|
516
|
+
DiscountValueType2["FIXED_AMOUNT"] = "FIXED_AMOUNT";
|
|
517
|
+
DiscountValueType2["FIXED_PRICE"] = "FIXED_PRICE";
|
|
518
|
+
DiscountValueType2["QUANTITY_BASED"] = "QUANTITY_BASED";
|
|
519
|
+
return DiscountValueType2;
|
|
520
|
+
})(DiscountValueType || {});
|
|
513
521
|
var DiscountReason = /* @__PURE__ */ ((DiscountReason2) => {
|
|
514
522
|
DiscountReason2["UNSPECIFIED"] = "UNSPECIFIED";
|
|
515
523
|
DiscountReason2["EXCHANGED_ITEMS"] = "EXCHANGED_ITEMS";
|
|
@@ -756,6 +764,7 @@ var utils = {
|
|
|
756
764
|
DimensionsUnit,
|
|
757
765
|
DiscountReason,
|
|
758
766
|
DiscountType,
|
|
767
|
+
DiscountValueType,
|
|
759
768
|
ItemTypePreset,
|
|
760
769
|
JurisdictionType,
|
|
761
770
|
LineItemQuantityChangeType,
|