@wix/auto_sdk_ecom_draft-orders 1.0.189 → 1.0.191

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.
@@ -423,6 +423,76 @@ declare enum JurisdictionType {
423
423
  }
424
424
  /** @enumType */
425
425
  type JurisdictionTypeWithLiterals = JurisdictionType | 'UNDEFINED' | 'COUNTRY' | 'STATE' | 'COUNTY' | 'CITY' | 'SPECIAL';
426
+ /**
427
+ * Record of the cross-border repricing of a single line item, shipping option or fee on a site whose catalog prices include tax:
428
+ * the catalog price the merchant entered, the base region's tax removed from it per unit, and the rate used.
429
+ *
430
+ * This record describes how the price was reached, not the resulting amount. The repriced figures are on the line itself:
431
+ * `price` and `taxInfo` on an order line item, and their counterparts on a shipping cost or a fee.
432
+ * Written by the calculation that priced the line and carried unchanged onto orders, draft orders and subscription contracts.
433
+ */
434
+ interface CrossBorderPriceAdjustment {
435
+ /**
436
+ * ID of the tax region whose tax is built into the catalog prices.
437
+ * @format GUID
438
+ */
439
+ baseTaxRegionId?: string;
440
+ /**
441
+ * ID of the tax region resolved for the destination. Absent when no region matched.
442
+ * @format GUID
443
+ */
444
+ destinationTaxRegionId?: string | null;
445
+ /** Price per unit as entered by the merchant, with the base region's tax inside it. */
446
+ catalogPrice?: Price;
447
+ /** 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. */
448
+ baseTaxAmount?: Price;
449
+ /** Outcome of the repricing for this line. */
450
+ status?: RepriceStatusWithLiterals;
451
+ /** 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`. */
452
+ baseRateSource?: BaseRateSourceWithLiterals;
453
+ /**
454
+ * 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.
455
+ * @format DECIMAL_VALUE
456
+ * @decimalValue options { gte:0, maxScale:6 }
457
+ */
458
+ baseRate?: string | null;
459
+ /** When the base region's rate was captured. Set only when `baseRateSource` is `AVALARA_PROBE`. */
460
+ baseRateCapturedDate?: Date | null;
461
+ /** Whether the destination's tax is included in the repriced amount. Reserved for per-region display; not populated. */
462
+ destinationTaxIncluded?: boolean | null;
463
+ }
464
+ /** Outcome of the repricing for one line. */
465
+ declare enum RepriceStatus {
466
+ /** Base tax removed and the destination's tax applied. */
467
+ APPLIED = "APPLIED",
468
+ /** The caller asked for the line to be left at its price. Nothing was removed. */
469
+ KEPT = "KEPT",
470
+ /** 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`. */
471
+ STRIP_ONLY = "STRIP_ONLY",
472
+ /** The destination is the base region. Nothing was removed. */
473
+ SAME_REGION = "SAME_REGION",
474
+ /** 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. */
475
+ SAME_COUNTRY = "SAME_COUNTRY",
476
+ /** No tax region matched the destination. Base tax removed and no destination tax applied. */
477
+ NO_DESTINATION_REGION = "NO_DESTINATION_REGION",
478
+ /** The calculation didn't reprice this line, for example because the feature was off or a pass failed. Nothing was removed. */
479
+ NOT_APPLICABLE = "NOT_APPLICABLE",
480
+ /** The line's modifiers exceed its price at the destination's rate. Nothing was removed. */
481
+ NOT_APPLICABLE_MODIFIERS = "NOT_APPLICABLE_MODIFIERS",
482
+ /** A subscription line in a checkout whose currency differs from the site currency. Nothing was removed. */
483
+ CONVERTED_CURRENCY_SUBSCRIPTION = "CONVERTED_CURRENCY_SUBSCRIPTION"
484
+ }
485
+ /** @enumType */
486
+ type RepriceStatusWithLiterals = RepriceStatus | 'APPLIED' | 'KEPT' | 'STRIP_ONLY' | 'SAME_REGION' | 'SAME_COUNTRY' | 'NO_DESTINATION_REGION' | 'NOT_APPLICABLE' | 'NOT_APPLICABLE_MODIFIERS' | 'CONVERTED_CURRENCY_SUBSCRIPTION';
487
+ /** Where the base region's rate came from. */
488
+ declare enum BaseRateSource {
489
+ /** The manual tax calculator computed the base tax for this calculation. */
490
+ MANUAL_SPI = "MANUAL_SPI",
491
+ /** The rate captured from Avalara by the embedded-rate probe. */
492
+ AVALARA_PROBE = "AVALARA_PROBE"
493
+ }
494
+ /** @enumType */
495
+ type BaseRateSourceWithLiterals = BaseRateSource | 'MANUAL_SPI' | 'AVALARA_PROBE';
426
496
  interface OrderLineItem {
427
497
  /**
428
498
  * Line item ID.
@@ -1052,76 +1122,6 @@ interface ServiceProperties {
1052
1122
  */
1053
1123
  numberOfParticipants?: number | null;
1054
1124
  }
1055
- /**
1056
- * Record of the cross-border repricing of a single line item, shipping option or fee on a site whose catalog prices include tax:
1057
- * the catalog price the merchant entered, the base region's tax removed from it per unit, and the rate used.
1058
- *
1059
- * This record describes how the price was reached, not the resulting amount. The repriced figures are on the line itself:
1060
- * `price` and `taxInfo` on an order line item, and their counterparts on a shipping cost or a fee.
1061
- * Written by the calculation that priced the line and carried unchanged onto orders, draft orders and subscription contracts.
1062
- */
1063
- interface CrossBorderPriceAdjustment {
1064
- /**
1065
- * ID of the tax region whose tax is built into the catalog prices.
1066
- * @format GUID
1067
- */
1068
- baseTaxRegionId?: string;
1069
- /**
1070
- * ID of the tax region resolved for the destination. Absent when no region matched.
1071
- * @format GUID
1072
- */
1073
- destinationTaxRegionId?: string | null;
1074
- /** Price per unit as entered by the merchant, with the base region's tax inside it. */
1075
- catalogPrice?: Price;
1076
- /** 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. */
1077
- baseTaxAmount?: Price;
1078
- /** Outcome of the repricing for this line. */
1079
- status?: RepriceStatusWithLiterals;
1080
- /** 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`. */
1081
- baseRateSource?: BaseRateSourceWithLiterals;
1082
- /**
1083
- * 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.
1084
- * @format DECIMAL_VALUE
1085
- * @decimalValue options { gte:0, maxScale:6 }
1086
- */
1087
- baseRate?: string | null;
1088
- /** When the base region's rate was captured. Set only when `baseRateSource` is `AVALARA_PROBE`. */
1089
- baseRateCapturedDate?: Date | null;
1090
- /** Whether the destination's tax is included in the repriced amount. Reserved for per-region display; not populated. */
1091
- destinationTaxIncluded?: boolean | null;
1092
- }
1093
- /** Outcome of the repricing for one line. */
1094
- declare enum RepriceStatus {
1095
- /** Base tax removed and the destination's tax applied. */
1096
- APPLIED = "APPLIED",
1097
- /** The caller asked for the line to be left at its price. Nothing was removed. */
1098
- KEPT = "KEPT",
1099
- /** 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`. */
1100
- STRIP_ONLY = "STRIP_ONLY",
1101
- /** The destination is the base region. Nothing was removed. */
1102
- SAME_REGION = "SAME_REGION",
1103
- /** 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. */
1104
- SAME_COUNTRY = "SAME_COUNTRY",
1105
- /** No tax region matched the destination. Base tax removed and no destination tax applied. */
1106
- NO_DESTINATION_REGION = "NO_DESTINATION_REGION",
1107
- /** The calculation didn't reprice this line, for example because the feature was off or a pass failed. Nothing was removed. */
1108
- NOT_APPLICABLE = "NOT_APPLICABLE",
1109
- /** The line's modifiers exceed its price at the destination's rate. Nothing was removed. */
1110
- NOT_APPLICABLE_MODIFIERS = "NOT_APPLICABLE_MODIFIERS",
1111
- /** A subscription line in a checkout whose currency differs from the site currency. Nothing was removed. */
1112
- CONVERTED_CURRENCY_SUBSCRIPTION = "CONVERTED_CURRENCY_SUBSCRIPTION"
1113
- }
1114
- /** @enumType */
1115
- type RepriceStatusWithLiterals = RepriceStatus | 'APPLIED' | 'KEPT' | 'STRIP_ONLY' | 'SAME_REGION' | 'SAME_COUNTRY' | 'NO_DESTINATION_REGION' | 'NOT_APPLICABLE' | 'NOT_APPLICABLE_MODIFIERS' | 'CONVERTED_CURRENCY_SUBSCRIPTION';
1116
- /** Where the base region's rate came from. */
1117
- declare enum BaseRateSource {
1118
- /** The manual tax calculator computed the base tax for this calculation. */
1119
- MANUAL_SPI = "MANUAL_SPI",
1120
- /** The rate captured from Avalara by the embedded-rate probe. */
1121
- AVALARA_PROBE = "AVALARA_PROBE"
1122
- }
1123
- /** @enumType */
1124
- type BaseRateSourceWithLiterals = BaseRateSource | 'MANUAL_SPI' | 'AVALARA_PROBE';
1125
1125
  interface ItemChangedDetails {
1126
1126
  /**
1127
1127
  * Line item quantity before change.
@@ -1608,6 +1608,7 @@ interface AppliedDiscount extends AppliedDiscountDiscountSourceOneOf {
1608
1608
  merchantDiscount?: MerchantDiscount;
1609
1609
  /** Automatic discount applied by the system based on configured discount rules. */
1610
1610
  discountRule?: DiscountRule;
1611
+ /** Discount type. */
1611
1612
  discountType?: AppliedDiscountDiscountTypeWithLiterals;
1612
1613
  /**
1613
1614
  * __Deprecated.__ Use `lineItemDiscounts` instead.
@@ -1655,16 +1656,24 @@ declare enum AppliedDiscountDiscountType {
1655
1656
  /** @enumType */
1656
1657
  type AppliedDiscountDiscountTypeWithLiterals = AppliedDiscountDiscountType | 'GLOBAL' | 'SPECIFIC_ITEMS' | 'SHIPPING';
1657
1658
  /** Coupon */
1658
- interface Coupon {
1659
+ interface Coupon extends CouponDiscountValueOneOf {
1659
1660
  /** Coupon ID. */
1660
1661
  _id?: string;
1661
1662
  /** Coupon code. */
1662
1663
  code?: string;
1663
1664
  /** Coupon name. */
1664
1665
  name?: string;
1665
- /** Coupon value. */
1666
+ /** Total amount the coupon took off. */
1666
1667
  amount?: Price;
1667
1668
  }
1669
+ /** @oneof */
1670
+ interface CouponDiscountValueOneOf {
1671
+ }
1672
+ /** How a coupon's or discount rule's discount value is expressed. */
1673
+ declare enum DiscountValueType {
1674
+ }
1675
+ /** @enumType */
1676
+ type DiscountValueTypeWithLiterals = DiscountValueType;
1668
1677
  /** Discount applied manually by the merchant through the dashboard. */
1669
1678
  interface MerchantDiscount extends MerchantDiscountMerchantDiscountReasonOneOf {
1670
1679
  /** Predefined discount reason. */
@@ -1698,7 +1707,7 @@ declare enum DiscountReason {
1698
1707
  }
1699
1708
  /** @enumType */
1700
1709
  type DiscountReasonWithLiterals = DiscountReason | 'UNSPECIFIED' | 'EXCHANGED_ITEMS' | 'BILLING_ADJUSTMENT';
1701
- interface DiscountRule {
1710
+ interface DiscountRule extends DiscountRuleDiscountValueOneOf {
1702
1711
  /**
1703
1712
  * Discount rule ID
1704
1713
  * @format GUID
@@ -1706,9 +1715,12 @@ interface DiscountRule {
1706
1715
  _id?: string;
1707
1716
  /** Discount rule name */
1708
1717
  name?: DiscountRuleName;
1709
- /** Discount value. */
1718
+ /** Total amount the discount rule took off. */
1710
1719
  amount?: Price;
1711
1720
  }
1721
+ /** @oneof */
1722
+ interface DiscountRuleDiscountValueOneOf {
1723
+ }
1712
1724
  interface DiscountRuleName {
1713
1725
  /**
1714
1726
  * Original discount rule name (in site's default language).
@@ -6599,4 +6611,4 @@ interface SetBusinessLocationOptions {
6599
6611
  businessLocation?: Location;
6600
6612
  }
6601
6613
 
6602
- export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type Activity, type ActivityContentOneOf, ActivityType, type ActivityTypeWithLiterals, type AddLineItemsToDraftOrderApplicationErrors, type AddLineItemsToDraftOrderOptions, type AddLineItemsToDraftOrderRequest, type AddLineItemsToDraftOrderResponse, type AdditionalFee, type AdditionalFeeDetails, type AdditionalFeeOption, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type Address, type AddressLocation, type AddressWithContact, AdjustmentType, type AdjustmentTypeWithLiterals, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, AppliedDiscountDiscountType, type AppliedDiscountDiscountTypeWithLiterals, AttributionSource, type AttributionSourceWithLiterals, type AuthorizedPaymentCaptured, type AuthorizedPaymentCreated, type AuthorizedPaymentVoided, type Balance, type BalanceSummary, type BaseEventMetadata, BaseRateSource, type BaseRateSourceWithLiterals, type BillingAdjustment, type BillingAdjustmentPriceSummary, type BillingChangedDetails, type BillingDetails, type BillingDetailsChangeTypeOneOf, type BillingSettings, type BusinessLocationChangedDetails, type BusinessLocationDetails, type BusinessLocationDetailsChangeTypeOneOf, type BuyerChangedDetails, type BuyerDetails, type BuyerDetailsChangeTypeOneOf, type BuyerInfo, type BuyerInfoIdOneOf, type CalculatedDraftOrder, CalculationBehavior, type CalculationBehaviorWithLiterals, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type CarrierError, type CarrierErrors, type CashRounding, type CatalogReference, type CatalogReferenceLineItem, type ChangeDraftOrderCurrencyApplicationErrors, type ChangeDraftOrderCurrencyRequest, type ChangeDraftOrderCurrencyResponse, type ChannelInfo, ChannelType, type ChannelTypeWithLiterals, ChargeType, type ChargeTypeWithLiterals, type ChargebackCreated, type ChargebackReversed, type Color, type CommitDraftOrderApplicationErrors, type CommitDraftOrderOptions, type CommitDraftOrderRequest, type CommitDraftOrderResponse, type CommonQueryWithEntityContext, type Coupon, type CreateCustomAdditionalFeesApplicationErrors, type CreateCustomAdditionalFeesOptions, type CreateCustomAdditionalFeesRequest, type CreateCustomAdditionalFeesResponse, type CreateCustomDiscountsApplicationErrors, type CreateCustomDiscountsOptions, type CreateCustomDiscountsRequest, type CreateCustomDiscountsResponse, type CreateDraftOrderApplicationErrors, type CreateDraftOrderOptions, type CreateDraftOrderOptionsSourceOneOf, type CreateDraftOrderRequest, type CreateDraftOrderRequestSourceOneOf, type CreateDraftOrderResponse, type CreateEmptyDraftOrderApplicationErrors, type CreateEmptyDraftOrderRequest, type CreateEmptyDraftOrderResponse, type CreateOrderFromDraftApplicationErrors, type CreateOrderFromDraftOptions, type CreateOrderFromDraftRequest, type CreateOrderFromDraftResponse, type CreatedBy, type CreatedByStringOneOf, type CreditCardDetails, type CrossBorderCalculation, CrossBorderNotApplicableReason, type CrossBorderNotApplicableReasonWithLiterals, type CrossBorderPriceAdjustment, type CrossBorderRepricing, CrossBorderRepricingMode, type CrossBorderRepricingModeWithLiterals, type CurrencyConversionDetails, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomActivity, type CustomAllowedActions, type CustomField, type CustomLineItem, type CyclePriceOverride, type DecimalQuantity, type DecimalQuantityOverride, type DecimalQuantityUnitOneOf, type DeleteCustomAdditionalFeesApplicationErrors, type DeleteCustomAdditionalFeesRequest, type DeleteCustomAdditionalFeesResponse, type DeleteCustomDiscountsApplicationErrors, type DeleteCustomDiscountsRequest, type DeleteCustomDiscountsResponse, type DeleteDraftOrderApplicationErrors, type DeleteDraftOrderRequest, type DeleteDraftOrderResponse, type DeliveryLogistics, type DeliveryTimeSlot, type DepositDetails, type DepositDetailsDepositOneOf, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type DescriptionLinesOverride, type Details, type DetailsKindOneOf, type DigitalFile, type Dimensions, DimensionsUnit, type DimensionsUnitWithLiterals, type DiscountDetails, type DiscountOption, type DiscountOptionDiscountAmountOneOf, DiscountReason, type DiscountReasonWithLiterals, type DiscountRule, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type DraftOrder, type DraftOrderChangesApplied, type DraftOrderCommitSettings, type DraftOrderCreatedEnvelope, type DraftOrderDeletedEnvelope, type DraftOrderInput, type DraftOrderQuery, type DraftOrderQuerySpec, type DraftOrderUpdatedEnvelope, type DraftOrdersQueryBuilder, type DraftOrdersQueryResult, EditingStatus, type EditingStatusWithLiterals, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type ExternalReceipt, type FieldViolation, FileType, type FileTypeWithLiterals, type FocalPoint, type FormIdentifier, type FormInfo, type FreeTrialPeriod, FulfillmentStatus, type FulfillmentStatusWithLiterals, type FulfillmentStatusesAggregate, type FullAddressContactDetails, type GetDraftOrderApplicationErrors, type GetDraftOrderRequest, type GetDraftOrderResponse, type GetOrderDraftabilityStatusRequest, type GetOrderDraftabilityStatusResponse, type GiftCardPaymentRefund, type IdAndApplied, type IdentificationData, type IdentificationDataIdOneOf, type InventoryUpdate, type ItemChangedDetails, type ItemChangedImplicitlyDetails, type ItemCombination, type ItemCombinationLineItem, type ItemDetails, type ItemDetailsChangeTypeOneOf, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItemAmount, type LineItemChangeDetails, type LineItemChanges, type LineItemDescriptionLineChange, type LineItemDiscount, type LineItemExchangeData, type LineItemModifiersChange, type LineItemPriceChange, type LineItemProductNameChange, type LineItemQuantityChange, LineItemQuantityChangeType, type LineItemQuantityChangeTypeWithLiterals, type LineItemTaxBreakdown, type LineItemTaxInfo, type Location, type LocationAndQuantity, type ManagedAdditionalFee, type ManagedDiscount, type ManagedLineItem, MeasurementUnit, type MeasurementUnitWithLiterals, type MembershipPaymentRefund, type MerchantComment, type MerchantDiscount, type MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope, type ModifierGroup, type ModifiersGroupsOverride, type NewExchangeOrderCreated, NonDraftableReason, type NonDraftableReasonWithLiterals, type Order, OrderActionType, type OrderActionTypeWithLiterals, OrderActivityTypeEnumActivityType, type OrderActivityTypeEnumActivityTypeWithLiterals, type OrderChange, type OrderChangeValueOneOf, type OrderCreateNotifications, type OrderCreateSettings, type OrderCreateSettingsEditableByOneOf, type OrderCreatedFromExchange, type OrderLineItem, type OrderRefunded, type OrderSettings, type OrderSettingsAllowedActionsOneOf, type OrderSettingsEditableByOneOf, OrderStatus, type OrderStatusWithLiterals, type OrderTaxBreakdown, type OrderTaxInfo, type OwnerApps, type PaymentCanceled, type PaymentCanceledPaymentDetailsOneOf, type PaymentDeclined, type PaymentDeclinedPaymentDetailsOneOf, type PaymentOptionOverride, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PaymentPending, type PaymentPendingPaymentDetailsOneOf, type PaymentRefundFailed, type PaymentRefunded, PaymentStatus, type PaymentStatusWithLiterals, type PhysicalProperties, type PickupAddress, type PickupDetails, PickupDetailsPickupMethod, type PickupDetailsPickupMethodWithLiterals, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type PlatformFee, type PlatformFeeSummary, type Price, type PriceDescription, type PriceSummary, type PricesRecalculatedForDestination, type ProductName, ProductPeriodAlignment, type ProductPeriodAlignmentWithLiterals, type QueryDraftOrdersRequest, type QueryDraftOrdersResponse, type ReceiptCreated, type ReceiptCreatedReceiptInfoOneOf, type ReceiptSent, type ReceiptSentReceiptInfoOneOf, type RecipientInfoChangedDetails, type RecipientInfoDetails, type RecipientInfoDetailsChangeTypeOneOf, type RefundInitiated, type RefundedAsStoreCredit, type RefundedPayment, type RefundedPaymentKindOneOf, type RegularPayment, type RegularPaymentPaymentMethodDetailsOneOf, type RegularPaymentRefund, RepriceStatus, type RepriceStatusWithLiterals, type RestockLocation, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type SavedPaymentMethod, type SecuredMedia, type ServiceProperties, type SetAdditionalFeesApplicationErrors, type SetAdditionalFeesRequest, type SetAdditionalFeesResponse, type SetBillingInfoApplicationErrors, type SetBillingInfoOptions, type SetBillingInfoRequest, type SetBillingInfoResponse, type SetBusinessLocationApplicationErrors, type SetBusinessLocationOptions, type SetBusinessLocationRequest, type SetBusinessLocationResponse, type SetBuyerInfoApplicationErrors, type SetBuyerInfoOptions, type SetBuyerInfoRequest, type SetBuyerInfoResponse, type SetDepositApplicationErrors, type SetDepositOptions, type SetDepositRequest, type SetDepositResponse, type SetDiscountsApplicationErrors, type SetDiscountsRequest, type SetDiscountsResponse, type SetRecipientInfoApplicationErrors, type SetRecipientInfoOptions, type SetRecipientInfoRequest, type SetRecipientInfoResponse, type SetShippingInfoApplicationErrors, type SetShippingInfoOptions, type SetShippingInfoRequest, type SetShippingInfoResponse, type SetTaxExemptionApplicationErrors, type SetTaxExemptionOptions, type SetTaxExemptionRequest, type SetTaxExemptionResponse, type ShippingChangedDetails, type ShippingDetails, type ShippingDetailsChangeTypeOneOf, type ShippingInformation, type ShippingInformationChange, type ShippingOption, type ShippingPrice, type ShippingRegion, SortOrder, type SortOrderWithLiterals, type Sorting, SourceType, type SourceTypeWithLiterals, SpecificItemsCouponBehavior, type SpecificItemsCouponBehaviorWithLiterals, type StreetAddress, SubscriptionActivation, type SubscriptionActivationWithLiterals, type SubscriptionCyclePricesOverride, type SubscriptionDescription, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionInfo, type SubscriptionSettings, type SubscriptionTitle, type SystemError, type TagList, type Tags, type TaxDetails, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type TotalPriceChange, type TranslatableString, type TranslatedValue, type UpdateExtendedFieldsApplicationErrors, type UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse, type UpdateLineItemsApplicationErrors, type UpdateLineItemsOptions, type UpdateLineItemsRequest, type UpdateLineItemsResponse, type UpdateShippingInfoRequest, type UpdateShippingInfoResponse, type V1BalanceSummary, type V1CreatedBy, type V1CreatedByStringOneOf, type V1CyclePriceOverride, type V1DeliveryLogistics, type V1DeliveryLogisticsAddressOneOf, type V1DeliveryTimeSlot, V1OrderStatus, type V1OrderStatusWithLiterals, type V1PickupDetails, type V1ShippingInformation, type V1ShippingPrice, type ValidationError, type VatId, VatType, type VatTypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, type WixReceipt, addLineItemsToDraftOrder, commitDraftOrder, createCustomAdditionalFees, createCustomDiscounts, createDraftOrder, createEmptyDraftOrder, createOrderFromDraft, deleteCustomAdditionalFees, deleteCustomDiscounts, deleteDraftOrder, getDraftOrder, getOrderDraftabilityStatus, onDraftOrderCreated, onDraftOrderDeleted, onDraftOrderUpdated, queryDraftOrders, setAdditionalFees, setBillingInfo, setBusinessLocation, setBuyerInfo, setDiscounts, setRecipientInfo, setShippingInfo, setTaxExemption, typedQueryDraftOrders, updateExtendedFields, updateLineItems, utils };
6614
+ export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type Activity, type ActivityContentOneOf, ActivityType, type ActivityTypeWithLiterals, type AddLineItemsToDraftOrderApplicationErrors, type AddLineItemsToDraftOrderOptions, type AddLineItemsToDraftOrderRequest, type AddLineItemsToDraftOrderResponse, type AdditionalFee, type AdditionalFeeDetails, type AdditionalFeeOption, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type Address, type AddressLocation, type AddressWithContact, AdjustmentType, type AdjustmentTypeWithLiterals, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, AppliedDiscountDiscountType, type AppliedDiscountDiscountTypeWithLiterals, AttributionSource, type AttributionSourceWithLiterals, type AuthorizedPaymentCaptured, type AuthorizedPaymentCreated, type AuthorizedPaymentVoided, type Balance, type BalanceSummary, type BaseEventMetadata, BaseRateSource, type BaseRateSourceWithLiterals, type BillingAdjustment, type BillingAdjustmentPriceSummary, type BillingChangedDetails, type BillingDetails, type BillingDetailsChangeTypeOneOf, type BillingSettings, type BusinessLocationChangedDetails, type BusinessLocationDetails, type BusinessLocationDetailsChangeTypeOneOf, type BuyerChangedDetails, type BuyerDetails, type BuyerDetailsChangeTypeOneOf, type BuyerInfo, type BuyerInfoIdOneOf, type CalculatedDraftOrder, CalculationBehavior, type CalculationBehaviorWithLiterals, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type CarrierError, type CarrierErrors, type CashRounding, type CatalogReference, type CatalogReferenceLineItem, type ChangeDraftOrderCurrencyApplicationErrors, type ChangeDraftOrderCurrencyRequest, type ChangeDraftOrderCurrencyResponse, type ChannelInfo, ChannelType, type ChannelTypeWithLiterals, ChargeType, type ChargeTypeWithLiterals, type ChargebackCreated, type ChargebackReversed, type Color, type CommitDraftOrderApplicationErrors, type CommitDraftOrderOptions, type CommitDraftOrderRequest, type CommitDraftOrderResponse, type CommonQueryWithEntityContext, type Coupon, type CouponDiscountValueOneOf, type CreateCustomAdditionalFeesApplicationErrors, type CreateCustomAdditionalFeesOptions, type CreateCustomAdditionalFeesRequest, type CreateCustomAdditionalFeesResponse, type CreateCustomDiscountsApplicationErrors, type CreateCustomDiscountsOptions, type CreateCustomDiscountsRequest, type CreateCustomDiscountsResponse, type CreateDraftOrderApplicationErrors, type CreateDraftOrderOptions, type CreateDraftOrderOptionsSourceOneOf, type CreateDraftOrderRequest, type CreateDraftOrderRequestSourceOneOf, type CreateDraftOrderResponse, type CreateEmptyDraftOrderApplicationErrors, type CreateEmptyDraftOrderRequest, type CreateEmptyDraftOrderResponse, type CreateOrderFromDraftApplicationErrors, type CreateOrderFromDraftOptions, type CreateOrderFromDraftRequest, type CreateOrderFromDraftResponse, type CreatedBy, type CreatedByStringOneOf, type CreditCardDetails, type CrossBorderCalculation, CrossBorderNotApplicableReason, type CrossBorderNotApplicableReasonWithLiterals, type CrossBorderPriceAdjustment, type CrossBorderRepricing, CrossBorderRepricingMode, type CrossBorderRepricingModeWithLiterals, type CurrencyConversionDetails, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomActivity, type CustomAllowedActions, type CustomField, type CustomLineItem, type CyclePriceOverride, type DecimalQuantity, type DecimalQuantityOverride, type DecimalQuantityUnitOneOf, type DeleteCustomAdditionalFeesApplicationErrors, type DeleteCustomAdditionalFeesRequest, type DeleteCustomAdditionalFeesResponse, type DeleteCustomDiscountsApplicationErrors, type DeleteCustomDiscountsRequest, type DeleteCustomDiscountsResponse, type DeleteDraftOrderApplicationErrors, type DeleteDraftOrderRequest, type DeleteDraftOrderResponse, type DeliveryLogistics, type DeliveryTimeSlot, type DepositDetails, type DepositDetailsDepositOneOf, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type DescriptionLinesOverride, type Details, type DetailsKindOneOf, type DigitalFile, type Dimensions, DimensionsUnit, type DimensionsUnitWithLiterals, type DiscountDetails, type DiscountOption, type DiscountOptionDiscountAmountOneOf, DiscountReason, type DiscountReasonWithLiterals, type DiscountRule, type DiscountRuleDiscountValueOneOf, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, DiscountValueType, type DiscountValueTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type DraftOrder, type DraftOrderChangesApplied, type DraftOrderCommitSettings, type DraftOrderCreatedEnvelope, type DraftOrderDeletedEnvelope, type DraftOrderInput, type DraftOrderQuery, type DraftOrderQuerySpec, type DraftOrderUpdatedEnvelope, type DraftOrdersQueryBuilder, type DraftOrdersQueryResult, EditingStatus, type EditingStatusWithLiterals, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type ExternalReceipt, type FieldViolation, FileType, type FileTypeWithLiterals, type FocalPoint, type FormIdentifier, type FormInfo, type FreeTrialPeriod, FulfillmentStatus, type FulfillmentStatusWithLiterals, type FulfillmentStatusesAggregate, type FullAddressContactDetails, type GetDraftOrderApplicationErrors, type GetDraftOrderRequest, type GetDraftOrderResponse, type GetOrderDraftabilityStatusRequest, type GetOrderDraftabilityStatusResponse, type GiftCardPaymentRefund, type IdAndApplied, type IdentificationData, type IdentificationDataIdOneOf, type InventoryUpdate, type ItemChangedDetails, type ItemChangedImplicitlyDetails, type ItemCombination, type ItemCombinationLineItem, type ItemDetails, type ItemDetailsChangeTypeOneOf, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItemAmount, type LineItemChangeDetails, type LineItemChanges, type LineItemDescriptionLineChange, type LineItemDiscount, type LineItemExchangeData, type LineItemModifiersChange, type LineItemPriceChange, type LineItemProductNameChange, type LineItemQuantityChange, LineItemQuantityChangeType, type LineItemQuantityChangeTypeWithLiterals, type LineItemTaxBreakdown, type LineItemTaxInfo, type Location, type LocationAndQuantity, type ManagedAdditionalFee, type ManagedDiscount, type ManagedLineItem, MeasurementUnit, type MeasurementUnitWithLiterals, type MembershipPaymentRefund, type MerchantComment, type MerchantDiscount, type MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope, type ModifierGroup, type ModifiersGroupsOverride, type NewExchangeOrderCreated, NonDraftableReason, type NonDraftableReasonWithLiterals, type Order, OrderActionType, type OrderActionTypeWithLiterals, OrderActivityTypeEnumActivityType, type OrderActivityTypeEnumActivityTypeWithLiterals, type OrderChange, type OrderChangeValueOneOf, type OrderCreateNotifications, type OrderCreateSettings, type OrderCreateSettingsEditableByOneOf, type OrderCreatedFromExchange, type OrderLineItem, type OrderRefunded, type OrderSettings, type OrderSettingsAllowedActionsOneOf, type OrderSettingsEditableByOneOf, OrderStatus, type OrderStatusWithLiterals, type OrderTaxBreakdown, type OrderTaxInfo, type OwnerApps, type PaymentCanceled, type PaymentCanceledPaymentDetailsOneOf, type PaymentDeclined, type PaymentDeclinedPaymentDetailsOneOf, type PaymentOptionOverride, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PaymentPending, type PaymentPendingPaymentDetailsOneOf, type PaymentRefundFailed, type PaymentRefunded, PaymentStatus, type PaymentStatusWithLiterals, type PhysicalProperties, type PickupAddress, type PickupDetails, PickupDetailsPickupMethod, type PickupDetailsPickupMethodWithLiterals, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type PlatformFee, type PlatformFeeSummary, type Price, type PriceDescription, type PriceSummary, type PricesRecalculatedForDestination, type ProductName, ProductPeriodAlignment, type ProductPeriodAlignmentWithLiterals, type QueryDraftOrdersRequest, type QueryDraftOrdersResponse, type ReceiptCreated, type ReceiptCreatedReceiptInfoOneOf, type ReceiptSent, type ReceiptSentReceiptInfoOneOf, type RecipientInfoChangedDetails, type RecipientInfoDetails, type RecipientInfoDetailsChangeTypeOneOf, type RefundInitiated, type RefundedAsStoreCredit, type RefundedPayment, type RefundedPaymentKindOneOf, type RegularPayment, type RegularPaymentPaymentMethodDetailsOneOf, type RegularPaymentRefund, RepriceStatus, type RepriceStatusWithLiterals, type RestockLocation, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type SavedPaymentMethod, type SecuredMedia, type ServiceProperties, type SetAdditionalFeesApplicationErrors, type SetAdditionalFeesRequest, type SetAdditionalFeesResponse, type SetBillingInfoApplicationErrors, type SetBillingInfoOptions, type SetBillingInfoRequest, type SetBillingInfoResponse, type SetBusinessLocationApplicationErrors, type SetBusinessLocationOptions, type SetBusinessLocationRequest, type SetBusinessLocationResponse, type SetBuyerInfoApplicationErrors, type SetBuyerInfoOptions, type SetBuyerInfoRequest, type SetBuyerInfoResponse, type SetDepositApplicationErrors, type SetDepositOptions, type SetDepositRequest, type SetDepositResponse, type SetDiscountsApplicationErrors, type SetDiscountsRequest, type SetDiscountsResponse, type SetRecipientInfoApplicationErrors, type SetRecipientInfoOptions, type SetRecipientInfoRequest, type SetRecipientInfoResponse, type SetShippingInfoApplicationErrors, type SetShippingInfoOptions, type SetShippingInfoRequest, type SetShippingInfoResponse, type SetTaxExemptionApplicationErrors, type SetTaxExemptionOptions, type SetTaxExemptionRequest, type SetTaxExemptionResponse, type ShippingChangedDetails, type ShippingDetails, type ShippingDetailsChangeTypeOneOf, type ShippingInformation, type ShippingInformationChange, type ShippingOption, type ShippingPrice, type ShippingRegion, SortOrder, type SortOrderWithLiterals, type Sorting, SourceType, type SourceTypeWithLiterals, SpecificItemsCouponBehavior, type SpecificItemsCouponBehaviorWithLiterals, type StreetAddress, SubscriptionActivation, type SubscriptionActivationWithLiterals, type SubscriptionCyclePricesOverride, type SubscriptionDescription, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionInfo, type SubscriptionSettings, type SubscriptionTitle, type SystemError, type TagList, type Tags, type TaxDetails, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type TotalPriceChange, type TranslatableString, type TranslatedValue, type UpdateExtendedFieldsApplicationErrors, type UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse, type UpdateLineItemsApplicationErrors, type UpdateLineItemsOptions, type UpdateLineItemsRequest, type UpdateLineItemsResponse, type UpdateShippingInfoRequest, type UpdateShippingInfoResponse, type V1BalanceSummary, type V1CreatedBy, type V1CreatedByStringOneOf, type V1CyclePriceOverride, type V1DeliveryLogistics, type V1DeliveryLogisticsAddressOneOf, type V1DeliveryTimeSlot, V1OrderStatus, type V1OrderStatusWithLiterals, type V1PickupDetails, type V1ShippingInformation, type V1ShippingPrice, type ValidationError, type VatId, VatType, type VatTypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, type WixReceipt, addLineItemsToDraftOrder, commitDraftOrder, createCustomAdditionalFees, createCustomDiscounts, createDraftOrder, createEmptyDraftOrder, createOrderFromDraft, deleteCustomAdditionalFees, deleteCustomDiscounts, deleteDraftOrder, getDraftOrder, getOrderDraftabilityStatus, onDraftOrderCreated, onDraftOrderDeleted, onDraftOrderUpdated, queryDraftOrders, setAdditionalFees, setBillingInfo, setBusinessLocation, setBuyerInfo, setDiscounts, setRecipientInfo, setShippingInfo, setTaxExemption, typedQueryDraftOrders, updateExtendedFields, updateLineItems, 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
  EditingStatus: () => EditingStatus,
39
40
  FileType: () => FileType,
40
41
  FulfillmentStatus: () => FulfillmentStatus,
@@ -141,6 +142,9 @@ var TRANSFORM_PATHS_1 = [
141
142
  var TRANSFORM_PATHS_2 = [
142
143
  { path: "calculatedDraftOrder.draftOrder.createdDate" },
143
144
  { path: "calculatedDraftOrder.draftOrder.updatedDate" },
145
+ {
146
+ path: "calculatedDraftOrder.draftOrder.lineItems.changedImplicitly.crossBorderAdjustmentBeforeChange.baseRateCapturedDate"
147
+ },
144
148
  {
145
149
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.image.urlExpirationDate"
146
150
  },
@@ -304,6 +308,9 @@ var TRANSFORM_PATHS_10 = [
304
308
  var TRANSFORM_PATHS_11 = [
305
309
  { path: "committedDraftOrder.createdDate" },
306
310
  { path: "committedDraftOrder.updatedDate" },
311
+ {
312
+ path: "committedDraftOrder.lineItems.changedImplicitly.crossBorderAdjustmentBeforeChange.baseRateCapturedDate"
313
+ },
307
314
  { path: "committedDraftOrder.lineItems.lineItem.image.urlExpirationDate" },
308
315
  { path: "committedDraftOrder.lineItems.lineItem.digitalFile.expirationDate" },
309
316
  {
@@ -444,6 +451,9 @@ var TRANSFORM_PATHS_12 = [
444
451
  var TRANSFORM_PATHS_13 = [
445
452
  { path: "committedDraftOrder.createdDate" },
446
453
  { path: "committedDraftOrder.updatedDate" },
454
+ {
455
+ path: "committedDraftOrder.lineItems.changedImplicitly.crossBorderAdjustmentBeforeChange.baseRateCapturedDate"
456
+ },
447
457
  { path: "committedDraftOrder.lineItems.lineItem.image.urlExpirationDate" },
448
458
  { path: "committedDraftOrder.lineItems.lineItem.digitalFile.expirationDate" },
449
459
  {
@@ -586,6 +596,9 @@ var TRANSFORM_PATHS_15 = [
586
596
  var TRANSFORM_PATHS_16 = [
587
597
  { path: "draftOrders.createdDate" },
588
598
  { path: "draftOrders.updatedDate" },
599
+ {
600
+ path: "draftOrders.lineItems.changedImplicitly.crossBorderAdjustmentBeforeChange.baseRateCapturedDate"
601
+ },
589
602
  { path: "draftOrders.lineItems.lineItem.image.urlExpirationDate" },
590
603
  { path: "draftOrders.lineItems.lineItem.digitalFile.expirationDate" },
591
604
  {
@@ -672,6 +685,9 @@ var TRANSFORM_PATHS_17 = [
672
685
  var TRANSFORM_PATHS_18 = [
673
686
  { path: "draftOrder.createdDate" },
674
687
  { path: "draftOrder.updatedDate" },
688
+ {
689
+ path: "draftOrder.lineItems.changedImplicitly.crossBorderAdjustmentBeforeChange.baseRateCapturedDate"
690
+ },
675
691
  { path: "draftOrder.lineItems.lineItem.image.urlExpirationDate" },
676
692
  { path: "draftOrder.lineItems.lineItem.digitalFile.expirationDate" },
677
693
  {
@@ -1798,6 +1814,23 @@ var JurisdictionType = /* @__PURE__ */ ((JurisdictionType2) => {
1798
1814
  JurisdictionType2["SPECIAL"] = "SPECIAL";
1799
1815
  return JurisdictionType2;
1800
1816
  })(JurisdictionType || {});
1817
+ var RepriceStatus = /* @__PURE__ */ ((RepriceStatus2) => {
1818
+ RepriceStatus2["APPLIED"] = "APPLIED";
1819
+ RepriceStatus2["KEPT"] = "KEPT";
1820
+ RepriceStatus2["STRIP_ONLY"] = "STRIP_ONLY";
1821
+ RepriceStatus2["SAME_REGION"] = "SAME_REGION";
1822
+ RepriceStatus2["SAME_COUNTRY"] = "SAME_COUNTRY";
1823
+ RepriceStatus2["NO_DESTINATION_REGION"] = "NO_DESTINATION_REGION";
1824
+ RepriceStatus2["NOT_APPLICABLE"] = "NOT_APPLICABLE";
1825
+ RepriceStatus2["NOT_APPLICABLE_MODIFIERS"] = "NOT_APPLICABLE_MODIFIERS";
1826
+ RepriceStatus2["CONVERTED_CURRENCY_SUBSCRIPTION"] = "CONVERTED_CURRENCY_SUBSCRIPTION";
1827
+ return RepriceStatus2;
1828
+ })(RepriceStatus || {});
1829
+ var BaseRateSource = /* @__PURE__ */ ((BaseRateSource2) => {
1830
+ BaseRateSource2["MANUAL_SPI"] = "MANUAL_SPI";
1831
+ BaseRateSource2["AVALARA_PROBE"] = "AVALARA_PROBE";
1832
+ return BaseRateSource2;
1833
+ })(BaseRateSource || {});
1801
1834
  var DimensionsUnit = /* @__PURE__ */ ((DimensionsUnit2) => {
1802
1835
  DimensionsUnit2["UNKNOWN_DIMENSIONS_UNIT"] = "UNKNOWN_DIMENSIONS_UNIT";
1803
1836
  DimensionsUnit2["MM"] = "MM";
@@ -1875,23 +1908,6 @@ var MeasurementUnit = /* @__PURE__ */ ((MeasurementUnit2) => {
1875
1908
  MeasurementUnit2["SQFT"] = "SQFT";
1876
1909
  return MeasurementUnit2;
1877
1910
  })(MeasurementUnit || {});
1878
- var RepriceStatus = /* @__PURE__ */ ((RepriceStatus2) => {
1879
- RepriceStatus2["APPLIED"] = "APPLIED";
1880
- RepriceStatus2["KEPT"] = "KEPT";
1881
- RepriceStatus2["STRIP_ONLY"] = "STRIP_ONLY";
1882
- RepriceStatus2["SAME_REGION"] = "SAME_REGION";
1883
- RepriceStatus2["SAME_COUNTRY"] = "SAME_COUNTRY";
1884
- RepriceStatus2["NO_DESTINATION_REGION"] = "NO_DESTINATION_REGION";
1885
- RepriceStatus2["NOT_APPLICABLE"] = "NOT_APPLICABLE";
1886
- RepriceStatus2["NOT_APPLICABLE_MODIFIERS"] = "NOT_APPLICABLE_MODIFIERS";
1887
- RepriceStatus2["CONVERTED_CURRENCY_SUBSCRIPTION"] = "CONVERTED_CURRENCY_SUBSCRIPTION";
1888
- return RepriceStatus2;
1889
- })(RepriceStatus || {});
1890
- var BaseRateSource = /* @__PURE__ */ ((BaseRateSource2) => {
1891
- BaseRateSource2["MANUAL_SPI"] = "MANUAL_SPI";
1892
- BaseRateSource2["AVALARA_PROBE"] = "AVALARA_PROBE";
1893
- return BaseRateSource2;
1894
- })(BaseRateSource || {});
1895
1911
  var VatType = /* @__PURE__ */ ((VatType2) => {
1896
1912
  VatType2["UNSPECIFIED"] = "UNSPECIFIED";
1897
1913
  VatType2["CPF"] = "CPF";
@@ -1923,6 +1939,13 @@ var AppliedDiscountDiscountType = /* @__PURE__ */ ((AppliedDiscountDiscountType2
1923
1939
  AppliedDiscountDiscountType2["SHIPPING"] = "SHIPPING";
1924
1940
  return AppliedDiscountDiscountType2;
1925
1941
  })(AppliedDiscountDiscountType || {});
1942
+ var DiscountValueType = /* @__PURE__ */ ((DiscountValueType2) => {
1943
+ DiscountValueType2["PERCENTAGE"] = "PERCENTAGE";
1944
+ DiscountValueType2["FIXED_AMOUNT"] = "FIXED_AMOUNT";
1945
+ DiscountValueType2["FIXED_PRICE"] = "FIXED_PRICE";
1946
+ DiscountValueType2["QUANTITY_BASED"] = "QUANTITY_BASED";
1947
+ return DiscountValueType2;
1948
+ })(DiscountValueType || {});
1926
1949
  var DiscountReason = /* @__PURE__ */ ((DiscountReason2) => {
1927
1950
  DiscountReason2["UNSPECIFIED"] = "UNSPECIFIED";
1928
1951
  DiscountReason2["EXCHANGED_ITEMS"] = "EXCHANGED_ITEMS";
@@ -3314,6 +3337,7 @@ async function setBusinessLocation2(draftOrderId, options) {
3314
3337
  DimensionsUnit,
3315
3338
  DiscountReason,
3316
3339
  DiscountType,
3340
+ DiscountValueType,
3317
3341
  EditingStatus,
3318
3342
  FileType,
3319
3343
  FulfillmentStatus,