@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.
@@ -503,6 +503,76 @@ declare enum JurisdictionType {
503
503
  }
504
504
  /** @enumType */
505
505
  type JurisdictionTypeWithLiterals = JurisdictionType | 'UNDEFINED' | 'COUNTRY' | 'STATE' | 'COUNTY' | 'CITY' | 'SPECIAL';
506
+ /**
507
+ * Record of the cross-border repricing of a single line item, shipping option or fee on a site whose catalog prices include tax:
508
+ * the catalog price the merchant entered, the base region's tax removed from it per unit, and the rate used.
509
+ *
510
+ * This record describes how the price was reached, not the resulting amount. The repriced figures are on the line itself:
511
+ * `price` and `taxInfo` on an order line item, and their counterparts on a shipping cost or a fee.
512
+ * Written by the calculation that priced the line and carried unchanged onto orders, draft orders and subscription contracts.
513
+ */
514
+ interface CrossBorderPriceAdjustment {
515
+ /**
516
+ * ID of the tax region whose tax is built into the catalog prices.
517
+ * @format GUID
518
+ */
519
+ baseTaxRegionId?: string;
520
+ /**
521
+ * ID of the tax region resolved for the destination. Absent when no region matched.
522
+ * @format GUID
523
+ */
524
+ destinationTaxRegionId?: string | null;
525
+ /** Price per unit as entered by the merchant, with the base region's tax inside it. */
526
+ catalogPrice?: Price;
527
+ /** 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. */
528
+ baseTaxAmount?: Price;
529
+ /** Outcome of the repricing for this line. */
530
+ status?: RepriceStatusWithLiterals;
531
+ /** 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`. */
532
+ baseRateSource?: BaseRateSourceWithLiterals;
533
+ /**
534
+ * 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.
535
+ * @format DECIMAL_VALUE
536
+ * @decimalValue options { gte:0, maxScale:6 }
537
+ */
538
+ baseRate?: string | null;
539
+ /** When the base region's rate was captured. Set only when `baseRateSource` is `AVALARA_PROBE`. */
540
+ baseRateCapturedDate?: Date | null;
541
+ /** Whether the destination's tax is included in the repriced amount. Reserved for per-region display; not populated. */
542
+ destinationTaxIncluded?: boolean | null;
543
+ }
544
+ /** Outcome of the repricing for one line. */
545
+ declare enum RepriceStatus {
546
+ /** Base tax removed and the destination's tax applied. */
547
+ APPLIED = "APPLIED",
548
+ /** The caller asked for the line to be left at its price. Nothing was removed. */
549
+ KEPT = "KEPT",
550
+ /** 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`. */
551
+ STRIP_ONLY = "STRIP_ONLY",
552
+ /** The destination is the base region. Nothing was removed. */
553
+ SAME_REGION = "SAME_REGION",
554
+ /** 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. */
555
+ SAME_COUNTRY = "SAME_COUNTRY",
556
+ /** No tax region matched the destination. Base tax removed and no destination tax applied. */
557
+ NO_DESTINATION_REGION = "NO_DESTINATION_REGION",
558
+ /** The calculation didn't reprice this line, for example because the feature was off or a pass failed. Nothing was removed. */
559
+ NOT_APPLICABLE = "NOT_APPLICABLE",
560
+ /** The line's modifiers exceed its price at the destination's rate. Nothing was removed. */
561
+ NOT_APPLICABLE_MODIFIERS = "NOT_APPLICABLE_MODIFIERS",
562
+ /** A subscription line in a checkout whose currency differs from the site currency. Nothing was removed. */
563
+ CONVERTED_CURRENCY_SUBSCRIPTION = "CONVERTED_CURRENCY_SUBSCRIPTION"
564
+ }
565
+ /** @enumType */
566
+ type RepriceStatusWithLiterals = RepriceStatus | 'APPLIED' | 'KEPT' | 'STRIP_ONLY' | 'SAME_REGION' | 'SAME_COUNTRY' | 'NO_DESTINATION_REGION' | 'NOT_APPLICABLE' | 'NOT_APPLICABLE_MODIFIERS' | 'CONVERTED_CURRENCY_SUBSCRIPTION';
567
+ /** Where the base region's rate came from. */
568
+ declare enum BaseRateSource {
569
+ /** The manual tax calculator computed the base tax for this calculation. */
570
+ MANUAL_SPI = "MANUAL_SPI",
571
+ /** The rate captured from Avalara by the embedded-rate probe. */
572
+ AVALARA_PROBE = "AVALARA_PROBE"
573
+ }
574
+ /** @enumType */
575
+ type BaseRateSourceWithLiterals = BaseRateSource | 'MANUAL_SPI' | 'AVALARA_PROBE';
506
576
  interface OrderLineItem {
507
577
  /**
508
578
  * Line item ID.
@@ -1270,76 +1340,6 @@ interface ServiceProperties {
1270
1340
  */
1271
1341
  endDate?: Date | null;
1272
1342
  }
1273
- /**
1274
- * Record of the cross-border repricing of a single line item, shipping option or fee on a site whose catalog prices include tax:
1275
- * the catalog price the merchant entered, the base region's tax removed from it per unit, and the rate used.
1276
- *
1277
- * This record describes how the price was reached, not the resulting amount. The repriced figures are on the line itself:
1278
- * `price` and `taxInfo` on an order line item, and their counterparts on a shipping cost or a fee.
1279
- * Written by the calculation that priced the line and carried unchanged onto orders, draft orders and subscription contracts.
1280
- */
1281
- interface CrossBorderPriceAdjustment {
1282
- /**
1283
- * ID of the tax region whose tax is built into the catalog prices.
1284
- * @format GUID
1285
- */
1286
- baseTaxRegionId?: string;
1287
- /**
1288
- * ID of the tax region resolved for the destination. Absent when no region matched.
1289
- * @format GUID
1290
- */
1291
- destinationTaxRegionId?: string | null;
1292
- /** Price per unit as entered by the merchant, with the base region's tax inside it. */
1293
- catalogPrice?: Price;
1294
- /** 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. */
1295
- baseTaxAmount?: Price;
1296
- /** Outcome of the repricing for this line. */
1297
- status?: RepriceStatusWithLiterals;
1298
- /** 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`. */
1299
- baseRateSource?: BaseRateSourceWithLiterals;
1300
- /**
1301
- * 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.
1302
- * @format DECIMAL_VALUE
1303
- * @decimalValue options { gte:0, maxScale:6 }
1304
- */
1305
- baseRate?: string | null;
1306
- /** When the base region's rate was captured. Set only when `baseRateSource` is `AVALARA_PROBE`. */
1307
- baseRateCapturedDate?: Date | null;
1308
- /** Whether the destination's tax is included in the repriced amount. Reserved for per-region display; not populated. */
1309
- destinationTaxIncluded?: boolean | null;
1310
- }
1311
- /** Outcome of the repricing for one line. */
1312
- declare enum RepriceStatus {
1313
- /** Base tax removed and the destination's tax applied. */
1314
- APPLIED = "APPLIED",
1315
- /** The caller asked for the line to be left at its price. Nothing was removed. */
1316
- KEPT = "KEPT",
1317
- /** 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`. */
1318
- STRIP_ONLY = "STRIP_ONLY",
1319
- /** The destination is the base region. Nothing was removed. */
1320
- SAME_REGION = "SAME_REGION",
1321
- /** 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. */
1322
- SAME_COUNTRY = "SAME_COUNTRY",
1323
- /** No tax region matched the destination. Base tax removed and no destination tax applied. */
1324
- NO_DESTINATION_REGION = "NO_DESTINATION_REGION",
1325
- /** The calculation didn't reprice this line, for example because the feature was off or a pass failed. Nothing was removed. */
1326
- NOT_APPLICABLE = "NOT_APPLICABLE",
1327
- /** The line's modifiers exceed its price at the destination's rate. Nothing was removed. */
1328
- NOT_APPLICABLE_MODIFIERS = "NOT_APPLICABLE_MODIFIERS",
1329
- /** A subscription line in a checkout whose currency differs from the site currency. Nothing was removed. */
1330
- CONVERTED_CURRENCY_SUBSCRIPTION = "CONVERTED_CURRENCY_SUBSCRIPTION"
1331
- }
1332
- /** @enumType */
1333
- type RepriceStatusWithLiterals = RepriceStatus | 'APPLIED' | 'KEPT' | 'STRIP_ONLY' | 'SAME_REGION' | 'SAME_COUNTRY' | 'NO_DESTINATION_REGION' | 'NOT_APPLICABLE' | 'NOT_APPLICABLE_MODIFIERS' | 'CONVERTED_CURRENCY_SUBSCRIPTION';
1334
- /** Where the base region's rate came from. */
1335
- declare enum BaseRateSource {
1336
- /** The manual tax calculator computed the base tax for this calculation. */
1337
- MANUAL_SPI = "MANUAL_SPI",
1338
- /** The rate captured from Avalara by the embedded-rate probe. */
1339
- AVALARA_PROBE = "AVALARA_PROBE"
1340
- }
1341
- /** @enumType */
1342
- type BaseRateSourceWithLiterals = BaseRateSource | 'MANUAL_SPI' | 'AVALARA_PROBE';
1343
1343
  interface ItemChangedDetails {
1344
1344
  /**
1345
1345
  * Line item quantity before change.
@@ -1394,6 +1394,11 @@ interface ItemChangedImplicitlyDetails {
1394
1394
  priceBeforeDiscountsBeforeChange?: Price;
1395
1395
  /** Line item price before line-item discounts and tax, before the implicit change. */
1396
1396
  priceBeforeDiscountsAndTaxBeforeChange?: Price;
1397
+ /**
1398
+ * Cross-border repricing record of the line item before the implicit change.
1399
+ * @internal
1400
+ */
1401
+ crossBorderAdjustmentBeforeChange?: CrossBorderPriceAdjustment;
1397
1402
  }
1398
1403
  interface ShippingDetails extends ShippingDetailsChangeTypeOneOf {
1399
1404
  /** Whether shipping info was added as part of the draft. */
@@ -1874,6 +1879,7 @@ interface AppliedDiscount extends AppliedDiscountDiscountSourceOneOf {
1874
1879
  merchantDiscount?: MerchantDiscount;
1875
1880
  /** Automatic discount applied by the system based on configured discount rules. */
1876
1881
  discountRule?: DiscountRule;
1882
+ /** Discount type. */
1877
1883
  discountType?: AppliedDiscountDiscountTypeWithLiterals;
1878
1884
  /**
1879
1885
  * __Deprecated.__ Use `lineItemDiscounts` instead.
@@ -1939,16 +1945,76 @@ declare enum AppliedDiscountDiscountType {
1939
1945
  /** @enumType */
1940
1946
  type AppliedDiscountDiscountTypeWithLiterals = AppliedDiscountDiscountType | 'GLOBAL' | 'SPECIFIC_ITEMS' | 'SHIPPING';
1941
1947
  /** Coupon */
1942
- interface Coupon {
1948
+ interface Coupon extends CouponDiscountValueOneOf {
1949
+ /**
1950
+ * Percentage the coupon took off the price. For example, `10.5` for 10.5%.
1951
+ *
1952
+ * For a `SPECIFIC_ITEMS` discount, the percentage applies to the price of the discounted units. For a `GLOBAL`
1953
+ * discount, it applies to the order subtotal. Either way, it's the price after any discounts applied earlier.
1954
+ * @internal
1955
+ * @format DECIMAL_VALUE
1956
+ * @decimalValue options { gt:0, lte:100, maxScale:2 }
1957
+ */
1958
+ percentage?: string;
1943
1959
  /** Coupon ID. */
1944
1960
  _id?: string;
1945
1961
  /** Coupon code. */
1946
1962
  code?: string;
1947
1963
  /** Coupon name. */
1948
1964
  name?: string;
1949
- /** Coupon value. */
1965
+ /** Total amount the coupon took off. */
1950
1966
  amount?: Price;
1967
+ /**
1968
+ * How the coupon's discount is expressed. `percentage` holds the rate of a percentage coupon, and `amount` holds
1969
+ * the total amount the coupon took off, whatever the type.
1970
+ *
1971
+ * Not returned for a free-shipping coupon.
1972
+ * @internal
1973
+ */
1974
+ discountValueType?: DiscountValueTypeWithLiterals;
1975
+ }
1976
+ /** @oneof */
1977
+ interface CouponDiscountValueOneOf {
1978
+ /**
1979
+ * Percentage the coupon took off the price. For example, `10.5` for 10.5%.
1980
+ *
1981
+ * For a `SPECIFIC_ITEMS` discount, the percentage applies to the price of the discounted units. For a `GLOBAL`
1982
+ * discount, it applies to the order subtotal. Either way, it's the price after any discounts applied earlier.
1983
+ * @internal
1984
+ * @format DECIMAL_VALUE
1985
+ * @decimalValue options { gt:0, lte:100, maxScale:2 }
1986
+ */
1987
+ percentage?: string;
1988
+ }
1989
+ /** How a coupon's or discount rule's discount value is expressed. */
1990
+ declare enum DiscountValueType {
1991
+ /**
1992
+ * The discount takes a percentage off the price it applies to.
1993
+ * @documentationMaturity preview
1994
+ * @internal
1995
+ */
1996
+ PERCENTAGE = "PERCENTAGE",
1997
+ /**
1998
+ * The discount takes a fixed amount off the price it applies to.
1999
+ * @documentationMaturity preview
2000
+ * @internal
2001
+ */
2002
+ FIXED_AMOUNT = "FIXED_AMOUNT",
2003
+ /**
2004
+ * The discount sets the price it applies to a fixed amount.
2005
+ * @documentationMaturity preview
2006
+ * @internal
2007
+ */
2008
+ FIXED_PRICE = "FIXED_PRICE",
2009
+ /**
2010
+ * The discount depends on the number of units bought. For example, 3 for $10, or buy 2 get 1 free.
2011
+ * @documentationMaturity preview
2012
+ * @internal
2013
+ */
2014
+ QUANTITY_BASED = "QUANTITY_BASED"
1951
2015
  }
2016
+ /** @enumType */
2017
+ type DiscountValueTypeWithLiterals = DiscountValueType;
1952
2018
  /** Discount applied manually by the merchant through the dashboard. */
1953
2019
  interface MerchantDiscount extends MerchantDiscountMerchantDiscountReasonOneOf {
1954
2020
  /** Predefined discount reason. */
@@ -1995,7 +2061,17 @@ declare enum DiscountReason {
1995
2061
  }
1996
2062
  /** @enumType */
1997
2063
  type DiscountReasonWithLiterals = DiscountReason | 'UNSPECIFIED' | 'EXCHANGED_ITEMS' | 'BILLING_ADJUSTMENT';
1998
- interface DiscountRule {
2064
+ interface DiscountRule extends DiscountRuleDiscountValueOneOf {
2065
+ /**
2066
+ * Percentage the discount rule took off the price. For example, `10.5` for 10.5%.
2067
+ *
2068
+ * For a `SPECIFIC_ITEMS` discount, the percentage applies to the price of the discounted units. For a `GLOBAL`
2069
+ * discount, it applies to the order subtotal. Either way, it's the price after any discounts applied earlier.
2070
+ * @internal
2071
+ * @format DECIMAL_VALUE
2072
+ * @decimalValue options { gt:0, lte:100, maxScale:2 }
2073
+ */
2074
+ percentage?: string;
1999
2075
  /**
2000
2076
  * Discount rule ID
2001
2077
  * @format GUID
@@ -2003,8 +2079,29 @@ interface DiscountRule {
2003
2079
  _id?: string;
2004
2080
  /** Discount rule name */
2005
2081
  name?: DiscountRuleName;
2006
- /** Discount value. */
2082
+ /** Total amount the discount rule took off. */
2007
2083
  amount?: Price;
2084
+ /**
2085
+ * How the discount rule's discount is expressed. `percentage` holds the rate of a percentage discount rule, and
2086
+ * `amount` holds the total amount the discount rule took off, whatever the type.
2087
+ *
2088
+ * Not returned for a free-shipping discount rule.
2089
+ * @internal
2090
+ */
2091
+ discountValueType?: DiscountValueTypeWithLiterals;
2092
+ }
2093
+ /** @oneof */
2094
+ interface DiscountRuleDiscountValueOneOf {
2095
+ /**
2096
+ * Percentage the discount rule took off the price. For example, `10.5` for 10.5%.
2097
+ *
2098
+ * For a `SPECIFIC_ITEMS` discount, the percentage applies to the price of the discounted units. For a `GLOBAL`
2099
+ * discount, it applies to the order subtotal. Either way, it's the price after any discounts applied earlier.
2100
+ * @internal
2101
+ * @format DECIMAL_VALUE
2102
+ * @decimalValue options { gt:0, lte:100, maxScale:2 }
2103
+ */
2104
+ percentage?: string;
2008
2105
  }
2009
2106
  interface DiscountRuleName {
2010
2107
  /**
@@ -2028,6 +2125,15 @@ interface LineItemDiscount {
2028
2125
  _id?: string;
2029
2126
  /** Total discount amount for this line item. */
2030
2127
  totalDiscount?: Price;
2128
+ /**
2129
+ * Number of the line item's units the discount was applied to.
2130
+ *
2131
+ * Returned only for a `SPECIFIC_ITEMS` discount.
2132
+ * @internal
2133
+ * @min 1
2134
+ * @max 100000
2135
+ */
2136
+ discountedQuantity?: number | null;
2031
2137
  }
2032
2138
  interface ItemCombination {
2033
2139
  /**
@@ -7603,4 +7709,4 @@ interface SetBusinessLocationOptions {
7603
7709
  businessLocation?: Location;
7604
7710
  }
7605
7711
 
7606
- 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, changeDraftOrderCurrency, commitDraftOrder, createCustomAdditionalFees, createCustomDiscounts, createDraftOrder, createEmptyDraftOrder, createOrderFromDraft, deleteCustomAdditionalFees, deleteCustomDiscounts, deleteDraftOrder, getDraftOrder, getOrderDraftabilityStatus, onDraftOrderCreated, onDraftOrderDeleted, onDraftOrderUpdated, queryDraftOrders, setAdditionalFees, setBillingInfo, setBusinessLocation, setBuyerInfo, setDeposit, setDiscounts, setRecipientInfo, setShippingInfo, setTaxExemption, typedQueryDraftOrders, updateExtendedFields, updateLineItems, utils };
7712
+ 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, changeDraftOrderCurrency, commitDraftOrder, createCustomAdditionalFees, createCustomDiscounts, createDraftOrder, createEmptyDraftOrder, createOrderFromDraft, deleteCustomAdditionalFees, deleteCustomDiscounts, deleteDraftOrder, getDraftOrder, getOrderDraftabilityStatus, onDraftOrderCreated, onDraftOrderDeleted, onDraftOrderUpdated, queryDraftOrders, setAdditionalFees, setBillingInfo, setBusinessLocation, setBuyerInfo, setDeposit, setDiscounts, setRecipientInfo, setShippingInfo, setTaxExemption, typedQueryDraftOrders, updateExtendedFields, updateLineItems, utils };