@wix/auto_sdk_ecom_draft-orders 1.0.135 → 1.0.137

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.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +1 -1
  2. package/build/cjs/index.js +0 -14
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +28 -32
  5. package/build/cjs/index.typings.js +0 -14
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +27 -31
  8. package/build/cjs/meta.js +0 -14
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +1 -1
  11. package/build/es/index.mjs +0 -14
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +28 -32
  14. package/build/es/index.typings.mjs +0 -14
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +27 -31
  17. package/build/es/meta.mjs +0 -14
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +1 -1
  20. package/build/internal/cjs/index.js +0 -14
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +39 -32
  23. package/build/internal/cjs/index.typings.js +0 -14
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +27 -31
  26. package/build/internal/cjs/meta.js +0 -14
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +1 -1
  29. package/build/internal/es/index.mjs +0 -14
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +39 -32
  32. package/build/internal/es/index.typings.mjs +0 -14
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +27 -31
  35. package/build/internal/es/meta.mjs +0 -14
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -419,9 +419,22 @@ interface OrderLineItem {
419
419
  refundQuantity?: number | null;
420
420
  /**
421
421
  * Number of items restocked.
422
+ *
423
+ * For a per-location breakdown, see `restockLocations`.
422
424
  * @max 100000
423
425
  */
424
426
  restockQuantity?: number | null;
427
+ /**
428
+ * Per-location restock breakdown.
429
+ *
430
+ * Populated when items are restocked to specific locations.
431
+ * The sum of all `quantity` values equals `restockQuantity`.
432
+ * Empty when no location-specific restock was performed.
433
+ * @internal
434
+ * @maxSize 5
435
+ * @readonly
436
+ */
437
+ restockLocations?: RestockLocation[];
425
438
  /** Line item price after line item discounts for display purposes. */
426
439
  price?: Price;
427
440
  /**
@@ -632,6 +645,20 @@ declare enum ItemTypePreset {
632
645
  }
633
646
  /** @enumType */
634
647
  type ItemTypePresetWithLiterals = ItemTypePreset | 'UNRECOGNISED' | 'PHYSICAL' | 'DIGITAL' | 'GIFT_CARD' | 'SERVICE';
648
+ /** Quantity of items restocked at a specific location. */
649
+ interface RestockLocation {
650
+ /**
651
+ * ID of the location where items were restocked.
652
+ * @format GUID
653
+ */
654
+ locationId?: string;
655
+ /**
656
+ * Number of items restocked at this location.
657
+ * @min 1
658
+ * @max 100000
659
+ */
660
+ quantity?: number;
661
+ }
635
662
  /** Type of selected payment option for catalog item */
636
663
  declare enum PaymentOptionType {
637
664
  /** The entire payment for this item happens as part of the checkout. */
@@ -900,14 +927,13 @@ interface BillingAdjustment {
900
927
  priceSummary?: BillingAdjustmentPriceSummary;
901
928
  }
902
929
  declare enum AdjustmentType {
903
- UNKNOWN_ADJUSTMENT_TYPE = "UNKNOWN_ADJUSTMENT_TYPE",
904
930
  /** Adjustment increases the total amount due to changes like covering extra billing days. Typically results in an additional fee. */
905
931
  EXTRA_CHARGE = "EXTRA_CHARGE",
906
932
  /** Adjustment reduces the total amount due to changes like covering fewer billing days. Typically results in a credit or discount. */
907
933
  CREDIT = "CREDIT"
908
934
  }
909
935
  /** @enumType */
910
- type AdjustmentTypeWithLiterals = AdjustmentType | 'UNKNOWN_ADJUSTMENT_TYPE' | 'EXTRA_CHARGE' | 'CREDIT';
936
+ type AdjustmentTypeWithLiterals = AdjustmentType | 'EXTRA_CHARGE' | 'CREDIT';
911
937
  interface BillingAdjustmentPriceSummary {
912
938
  /** Subtotal of adjustment, before tax. */
913
939
  subtotal?: Price;
@@ -952,13 +978,12 @@ interface TaxableAddressTaxableAddressDataOneOf {
952
978
  addressType?: TaxableAddressTypeWithLiterals;
953
979
  }
954
980
  declare enum TaxableAddressType {
955
- UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
956
981
  BUSINESS = "BUSINESS",
957
982
  BILLING = "BILLING",
958
983
  SHIPPING = "SHIPPING"
959
984
  }
960
985
  /** @enumType */
961
- type TaxableAddressTypeWithLiterals = TaxableAddressType | 'UNKNOWN_TAXABLE_ADDRESS' | 'BUSINESS' | 'BILLING' | 'SHIPPING';
986
+ type TaxableAddressTypeWithLiterals = TaxableAddressType | 'BUSINESS' | 'BILLING' | 'SHIPPING';
962
987
  interface ExtendedFields {
963
988
  /**
964
989
  * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
@@ -1243,12 +1268,11 @@ interface PickupAddress {
1243
1268
  subdivisionFullname?: string | null;
1244
1269
  }
1245
1270
  declare enum PickupDetailsPickupMethod {
1246
- UNKNOWN_METHOD = "UNKNOWN_METHOD",
1247
1271
  STORE_PICKUP = "STORE_PICKUP",
1248
1272
  PICKUP_POINT = "PICKUP_POINT"
1249
1273
  }
1250
1274
  /** @enumType */
1251
- type PickupDetailsPickupMethodWithLiterals = PickupDetailsPickupMethod | 'UNKNOWN_METHOD' | 'STORE_PICKUP' | 'PICKUP_POINT';
1275
+ type PickupDetailsPickupMethodWithLiterals = PickupDetailsPickupMethod | 'STORE_PICKUP' | 'PICKUP_POINT';
1252
1276
  interface V1DeliveryTimeSlot {
1253
1277
  /** Delivery slot starting time. */
1254
1278
  from?: Date | null;
@@ -1407,7 +1431,6 @@ interface AdditionalFee {
1407
1431
  source?: AdditionalFeeSourceWithLiterals;
1408
1432
  }
1409
1433
  declare enum AdditionalFeeSource {
1410
- UNKNOWN_ADDITIONAL_FEE_SOURCE = "UNKNOWN_ADDITIONAL_FEE_SOURCE",
1411
1434
  /** The additional fee was added by an additional fee service plugin. */
1412
1435
  SERVICE_PLUGIN = "SERVICE_PLUGIN",
1413
1436
  /** The additional fee was added to the item by a catalog or custom line item. */
@@ -1420,7 +1443,7 @@ declare enum AdditionalFeeSource {
1420
1443
  PLATFORM = "PLATFORM"
1421
1444
  }
1422
1445
  /** @enumType */
1423
- type AdditionalFeeSourceWithLiterals = AdditionalFeeSource | 'UNKNOWN_ADDITIONAL_FEE_SOURCE' | 'SERVICE_PLUGIN' | 'ITEM' | 'MANUAL' | 'SHIPPING' | 'PLATFORM';
1446
+ type AdditionalFeeSourceWithLiterals = AdditionalFeeSource | 'SERVICE_PLUGIN' | 'ITEM' | 'MANUAL' | 'SHIPPING' | 'PLATFORM';
1424
1447
  interface TaxDetails {
1425
1448
  /** Whether the additional fee is taxable. */
1426
1449
  taxable?: boolean;
@@ -2052,7 +2075,6 @@ interface PlatformFee {
2052
2075
  percentageRate?: string;
2053
2076
  }
2054
2077
  declare enum ChargeType {
2055
- UNKNOWN_CHARGE_TYPE = "UNKNOWN_CHARGE_TYPE",
2056
2078
  /**
2057
2079
  * Platform fee passed on to buyer.
2058
2080
  *
@@ -2067,7 +2089,7 @@ declare enum ChargeType {
2067
2089
  ABSORBED = "ABSORBED"
2068
2090
  }
2069
2091
  /** @enumType */
2070
- type ChargeTypeWithLiterals = ChargeType | 'UNKNOWN_CHARGE_TYPE' | 'PASS_ON' | 'ABSORBED';
2092
+ type ChargeTypeWithLiterals = ChargeType | 'PASS_ON' | 'ABSORBED';
2071
2093
  interface CreateDraftOrderRequest extends CreateDraftOrderRequestSourceOneOf {
2072
2094
  /**
2073
2095
  * ID of the order to create a draft for.
@@ -2368,7 +2390,6 @@ interface DiscountOptionDiscountAmountOneOf {
2368
2390
  percentage?: string | null;
2369
2391
  }
2370
2392
  declare enum DiscountType {
2371
- UNKNOWN_TYPE = "UNKNOWN_TYPE",
2372
2393
  /** Discount applies to the entire order. */
2373
2394
  GLOBAL = "GLOBAL",
2374
2395
  /** Discount applies to a specific item. */
@@ -2377,7 +2398,7 @@ declare enum DiscountType {
2377
2398
  SHIPPING = "SHIPPING"
2378
2399
  }
2379
2400
  /** @enumType */
2380
- type DiscountTypeWithLiterals = DiscountType | 'UNKNOWN_TYPE' | 'GLOBAL' | 'SPECIFIC_ITEMS' | 'SHIPPING';
2401
+ type DiscountTypeWithLiterals = DiscountType | 'GLOBAL' | 'SPECIFIC_ITEMS' | 'SHIPPING';
2381
2402
  interface AdditionalFeeOption {
2382
2403
  /**
2383
2404
  * Name of the additional fee.
@@ -2465,14 +2486,13 @@ interface PickupDetails {
2465
2486
  pickupMethod?: PickupMethodWithLiterals;
2466
2487
  }
2467
2488
  declare enum PickupMethod {
2468
- UNKNOWN_METHOD = "UNKNOWN_METHOD",
2469
2489
  /** Store pickup. */
2470
2490
  STORE_PICKUP = "STORE_PICKUP",
2471
2491
  /** Pickup point. */
2472
2492
  PICKUP_POINT = "PICKUP_POINT"
2473
2493
  }
2474
2494
  /** @enumType */
2475
- type PickupMethodWithLiterals = PickupMethod | 'UNKNOWN_METHOD' | 'STORE_PICKUP' | 'PICKUP_POINT';
2495
+ type PickupMethodWithLiterals = PickupMethod | 'STORE_PICKUP' | 'PICKUP_POINT';
2476
2496
  interface DeliveryTimeSlot {
2477
2497
  /** Delivery time slot start time. */
2478
2498
  from?: Date | null;
@@ -2965,7 +2985,6 @@ interface GetOrderDraftabilityStatusResponse {
2965
2985
  nonDraftableReasons?: NonDraftableReasonWithLiterals[];
2966
2986
  }
2967
2987
  declare enum NonDraftableReason {
2968
- UNSPECIFIED = "UNSPECIFIED",
2969
2988
  /** Modifications of refunded orders are not supported. */
2970
2989
  PARTIALLY_OR_FULLY_REFUNDED = "PARTIALLY_OR_FULLY_REFUNDED",
2971
2990
  /**
@@ -2988,7 +3007,7 @@ declare enum NonDraftableReason {
2988
3007
  SUBSCRIPTION_LINE_ITEM_EXISTS = "SUBSCRIPTION_LINE_ITEM_EXISTS"
2989
3008
  }
2990
3009
  /** @enumType */
2991
- type NonDraftableReasonWithLiterals = NonDraftableReason | 'UNSPECIFIED' | 'PARTIALLY_OR_FULLY_REFUNDED' | 'UNSUPPORTED_CHANNEL_TYPE' | 'ORDER_STATUS_IS_NOT_SUPPORTED' | 'ORDER_AND_SITE_CURRENCIES_ARE_INCONSISTENT' | 'ORDER_AND_SITE_WEIGHT_UNITS_ARE_INCONSISTENT' | 'ORDER_NOT_FOUND' | 'SUBSCRIPTION_LINE_ITEM_EXISTS';
3010
+ type NonDraftableReasonWithLiterals = NonDraftableReason | 'PARTIALLY_OR_FULLY_REFUNDED' | 'UNSUPPORTED_CHANNEL_TYPE' | 'ORDER_STATUS_IS_NOT_SUPPORTED' | 'ORDER_AND_SITE_CURRENCIES_ARE_INCONSISTENT' | 'ORDER_AND_SITE_WEIGHT_UNITS_ARE_INCONSISTENT' | 'ORDER_NOT_FOUND' | 'SUBSCRIPTION_LINE_ITEM_EXISTS';
2992
3011
  interface CommitDraftOrderRequest {
2993
3012
  /**
2994
3013
  * Draft order ID.
@@ -4113,10 +4132,6 @@ declare enum ActivityType {
4113
4132
  CUSTOM_ACTIVITY = "CUSTOM_ACTIVITY",
4114
4133
  /** Comment added to the order by a merchant. */
4115
4134
  MERCHANT_COMMENT = "MERCHANT_COMMENT",
4116
- /** Order was created as a result of an exchange. */
4117
- ORDER_CREATED_FROM_EXCHANGE = "ORDER_CREATED_FROM_EXCHANGE",
4118
- /** New exchange order was created from this order. */
4119
- NEW_EXCHANGE_ORDER_CREATED = "NEW_EXCHANGE_ORDER_CREATED",
4120
4135
  /** Partial payment was received for the order. */
4121
4136
  ORDER_PARTIALLY_PAID = "ORDER_PARTIALLY_PAID",
4122
4137
  /** Changes were applied to a draft order. */
@@ -4205,10 +4220,8 @@ declare enum ActivityType {
4205
4220
  CHARGEBACK_REVERSED = "CHARGEBACK_REVERSED"
4206
4221
  }
4207
4222
  /** @enumType */
4208
- type ActivityTypeWithLiterals = ActivityType | 'ORDER_REFUNDED' | 'ORDER_PLACED' | 'ORDER_PAID' | 'ORDER_FULFILLED' | 'ORDER_NOT_FULFILLED' | 'ORDER_CANCELED' | 'DOWNLOAD_LINK_SENT' | 'TRACKING_NUMBER_ADDED' | 'TRACKING_NUMBER_EDITED' | 'TRACKING_LINK_ADDED' | 'SHIPPING_CONFIRMATION_EMAIL_SENT' | 'INVOICE_ADDED' | 'INVOICE_REMOVED' | 'INVOICE_SENT' | 'FULFILLER_EMAIL_SENT' | 'SHIPPING_ADDRESS_EDITED' | 'EMAIL_EDITED' | 'PICKUP_READY_EMAIL_SENT' | 'CUSTOM_ACTIVITY' | 'MERCHANT_COMMENT' | 'ORDER_CREATED_FROM_EXCHANGE' | 'NEW_EXCHANGE_ORDER_CREATED' | 'ORDER_PARTIALLY_PAID' | 'DRAFT_ORDER_CHANGES_APPLIED' | 'SAVED_PAYMENT_METHOD' | 'AUTHORIZED_PAYMENT_CREATED' | 'AUTHORIZED_PAYMENT_CAPTURED' | 'AUTHORIZED_PAYMENT_VOIDED' | 'REFUND_INITIATED' | 'PAYMENT_REFUNDED' | 'PAYMENT_REFUND_FAILED' | 'REFUNDED_AS_STORE_CREDIT' | 'PAYMENT_PENDING' | 'PAYMENT_CANCELED' | 'PAYMENT_DECLINED' | 'ORDER_PENDING' | 'ORDER_REJECTED' | 'RECEIPT_CREATED' | 'RECEIPT_SENT' | 'CHARGEBACK_CREATED' | 'CHARGEBACK_REVERSED';
4223
+ type ActivityTypeWithLiterals = ActivityType | 'ORDER_REFUNDED' | 'ORDER_PLACED' | 'ORDER_PAID' | 'ORDER_FULFILLED' | 'ORDER_NOT_FULFILLED' | 'ORDER_CANCELED' | 'DOWNLOAD_LINK_SENT' | 'TRACKING_NUMBER_ADDED' | 'TRACKING_NUMBER_EDITED' | 'TRACKING_LINK_ADDED' | 'SHIPPING_CONFIRMATION_EMAIL_SENT' | 'INVOICE_ADDED' | 'INVOICE_REMOVED' | 'INVOICE_SENT' | 'FULFILLER_EMAIL_SENT' | 'SHIPPING_ADDRESS_EDITED' | 'EMAIL_EDITED' | 'PICKUP_READY_EMAIL_SENT' | 'CUSTOM_ACTIVITY' | 'MERCHANT_COMMENT' | 'ORDER_PARTIALLY_PAID' | 'DRAFT_ORDER_CHANGES_APPLIED' | 'SAVED_PAYMENT_METHOD' | 'AUTHORIZED_PAYMENT_CREATED' | 'AUTHORIZED_PAYMENT_CAPTURED' | 'AUTHORIZED_PAYMENT_VOIDED' | 'REFUND_INITIATED' | 'PAYMENT_REFUNDED' | 'PAYMENT_REFUND_FAILED' | 'REFUNDED_AS_STORE_CREDIT' | 'PAYMENT_PENDING' | 'PAYMENT_CANCELED' | 'PAYMENT_DECLINED' | 'ORDER_PENDING' | 'ORDER_REJECTED' | 'RECEIPT_CREATED' | 'RECEIPT_SENT' | 'CHARGEBACK_CREATED' | 'CHARGEBACK_REVERSED';
4209
4224
  declare enum OrderActivityTypeEnumActivityType {
4210
- /** Default value. This value is unused. */
4211
- UNKNOWN_ACTIVITY_TYPE = "UNKNOWN_ACTIVITY_TYPE",
4212
4225
  /** New order was created and placed. */
4213
4226
  ORDER_PLACED = "ORDER_PLACED",
4214
4227
  /** Order payment was completed and confirmed. */
@@ -4243,14 +4256,8 @@ declare enum OrderActivityTypeEnumActivityType {
4243
4256
  EMAIL_EDITED = "EMAIL_EDITED",
4244
4257
  /** Email notification for pickup readiness was sent. */
4245
4258
  PICKUP_READY_EMAIL_SENT = "PICKUP_READY_EMAIL_SENT",
4246
- /** Custom activity created by a third-party application. */
4247
- CUSTOM_ACTIVITY = "CUSTOM_ACTIVITY",
4248
4259
  /** Comment added to the order by a merchant. */
4249
4260
  MERCHANT_COMMENT = "MERCHANT_COMMENT",
4250
- /** Order was created as a result of an exchange. */
4251
- ORDER_CREATED_FROM_EXCHANGE = "ORDER_CREATED_FROM_EXCHANGE",
4252
- /** New exchange order was created from this order. */
4253
- NEW_EXCHANGE_ORDER_CREATED = "NEW_EXCHANGE_ORDER_CREATED",
4254
4261
  /** Partial payment was received for the order. */
4255
4262
  ORDER_PARTIALLY_PAID = "ORDER_PARTIALLY_PAID",
4256
4263
  /** Changes were applied to a draft order. */
@@ -4341,7 +4348,7 @@ declare enum OrderActivityTypeEnumActivityType {
4341
4348
  ORDER_REFUNDED = "ORDER_REFUNDED"
4342
4349
  }
4343
4350
  /** @enumType */
4344
- type OrderActivityTypeEnumActivityTypeWithLiterals = OrderActivityTypeEnumActivityType | 'UNKNOWN_ACTIVITY_TYPE' | 'ORDER_PLACED' | 'ORDER_PAID' | 'ORDER_FULFILLED' | 'ORDER_NOT_FULFILLED' | 'ORDER_CANCELED' | 'DOWNLOAD_LINK_SENT' | 'TRACKING_NUMBER_ADDED' | 'TRACKING_NUMBER_EDITED' | 'TRACKING_LINK_ADDED' | 'SHIPPING_CONFIRMATION_EMAIL_SENT' | 'INVOICE_ADDED' | 'INVOICE_REMOVED' | 'INVOICE_SENT' | 'FULFILLER_EMAIL_SENT' | 'SHIPPING_ADDRESS_EDITED' | 'EMAIL_EDITED' | 'PICKUP_READY_EMAIL_SENT' | 'CUSTOM_ACTIVITY' | 'MERCHANT_COMMENT' | 'ORDER_CREATED_FROM_EXCHANGE' | 'NEW_EXCHANGE_ORDER_CREATED' | 'ORDER_PARTIALLY_PAID' | 'DRAFT_ORDER_CHANGES_APPLIED' | 'SAVED_PAYMENT_METHOD' | 'AUTHORIZED_PAYMENT_CREATED' | 'AUTHORIZED_PAYMENT_CAPTURED' | 'AUTHORIZED_PAYMENT_VOIDED' | 'REFUND_INITIATED' | 'PAYMENT_REFUNDED' | 'PAYMENT_REFUND_FAILED' | 'REFUNDED_AS_STORE_CREDIT' | 'PAYMENT_PENDING' | 'PAYMENT_CANCELED' | 'PAYMENT_DECLINED' | 'ORDER_PENDING' | 'ORDER_REJECTED' | 'RECEIPT_CREATED' | 'RECEIPT_SENT' | 'CHARGEBACK_CREATED' | 'CHARGEBACK_REVERSED' | 'ORDER_REFUNDED';
4351
+ type OrderActivityTypeEnumActivityTypeWithLiterals = OrderActivityTypeEnumActivityType | 'ORDER_PLACED' | 'ORDER_PAID' | 'ORDER_FULFILLED' | 'ORDER_NOT_FULFILLED' | 'ORDER_CANCELED' | 'DOWNLOAD_LINK_SENT' | 'TRACKING_NUMBER_ADDED' | 'TRACKING_NUMBER_EDITED' | 'TRACKING_LINK_ADDED' | 'SHIPPING_CONFIRMATION_EMAIL_SENT' | 'INVOICE_ADDED' | 'INVOICE_REMOVED' | 'INVOICE_SENT' | 'FULFILLER_EMAIL_SENT' | 'SHIPPING_ADDRESS_EDITED' | 'EMAIL_EDITED' | 'PICKUP_READY_EMAIL_SENT' | 'MERCHANT_COMMENT' | 'ORDER_PARTIALLY_PAID' | 'DRAFT_ORDER_CHANGES_APPLIED' | 'SAVED_PAYMENT_METHOD' | 'AUTHORIZED_PAYMENT_CREATED' | 'AUTHORIZED_PAYMENT_CAPTURED' | 'AUTHORIZED_PAYMENT_VOIDED' | 'REFUND_INITIATED' | 'PAYMENT_REFUNDED' | 'PAYMENT_REFUND_FAILED' | 'REFUNDED_AS_STORE_CREDIT' | 'PAYMENT_PENDING' | 'PAYMENT_CANCELED' | 'PAYMENT_DECLINED' | 'ORDER_PENDING' | 'ORDER_REJECTED' | 'RECEIPT_CREATED' | 'RECEIPT_SENT' | 'CHARGEBACK_CREATED' | 'CHARGEBACK_REVERSED' | 'ORDER_REFUNDED';
4345
4352
  declare enum AttributionSource {
4346
4353
  UNSPECIFIED = "UNSPECIFIED",
4347
4354
  FACEBOOK_ADS = "FACEBOOK_ADS"
@@ -6243,7 +6250,7 @@ type DraftOrderQuery = {
6243
6250
  declare const utils: {
6244
6251
  query: {
6245
6252
  QueryBuilder: () => _wix_sdk_types.QueryBuilder<DraftOrder, DraftOrderQuerySpec, DraftOrderQuery>;
6246
- Filter: _wix_sdk_types.FilterFactory<DraftOrder, DraftOrderQuerySpec>;
6253
+ Filter: _wix_sdk_types.FilterFactory<DraftOrder, DraftOrderQuerySpec>; /** Discount details. */
6247
6254
  Sort: _wix_sdk_types.SortFactory<DraftOrderQuerySpec>;
6248
6255
  };
6249
6256
  };
@@ -6312,4 +6319,4 @@ interface SetBusinessLocationOptions {
6312
6319
  businessLocation?: Location;
6313
6320
  }
6314
6321
 
6315
- 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, type BillingAdjustment, type BillingAdjustmentPriceSummary, type BillingChangedDetails, type BillingDetails, type BillingDetailsChangeTypeOneOf, type BusinessLocationChangedDetails, type BusinessLocationDetails, type BusinessLocationDetailsChangeTypeOneOf, type BuyerChangedDetails, type BuyerDetails, type BuyerDetailsChangeTypeOneOf, type BuyerInfo, type BuyerInfoIdOneOf, type CalculatedDraftOrder, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type CarrierError, type CarrierErrors, type CashRounding, type CatalogReference, type CatalogReferenceLineItem, 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 CurrencyConversionDetails, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomActivity, type CustomAllowedActions, type CustomField, type CustomLineItem, 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 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, 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, 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 ProductName, 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, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type SavedPaymentMethod, type SecuredMedia, 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, 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 UpdateLineItemsRequest, type UpdateLineItemsResponse, type UpdateShippingInfoRequest, type UpdateShippingInfoResponse, type V1BalanceSummary, type V1CreatedBy, type V1CreatedByStringOneOf, type V1DeliveryLogistics, type V1DeliveryLogisticsAddressOneOf, type V1DeliveryTimeSlot, 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, setDeposit, setDiscounts, setRecipientInfo, setShippingInfo, setTaxExemption, typedQueryDraftOrders, updateExtendedFields, updateLineItems, utils };
6322
+ 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, type BillingAdjustment, type BillingAdjustmentPriceSummary, type BillingChangedDetails, type BillingDetails, type BillingDetailsChangeTypeOneOf, type BusinessLocationChangedDetails, type BusinessLocationDetails, type BusinessLocationDetailsChangeTypeOneOf, type BuyerChangedDetails, type BuyerDetails, type BuyerDetailsChangeTypeOneOf, type BuyerInfo, type BuyerInfoIdOneOf, type CalculatedDraftOrder, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type CarrierError, type CarrierErrors, type CashRounding, type CatalogReference, type CatalogReferenceLineItem, 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 CurrencyConversionDetails, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomActivity, type CustomAllowedActions, type CustomField, type CustomLineItem, 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 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, 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, 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 ProductName, 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, type RestockLocation, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type SavedPaymentMethod, type SecuredMedia, 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, 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 UpdateLineItemsRequest, type UpdateLineItemsResponse, type UpdateShippingInfoRequest, type UpdateShippingInfoResponse, type V1BalanceSummary, type V1CreatedBy, type V1CreatedByStringOneOf, type V1DeliveryLogistics, type V1DeliveryLogisticsAddressOneOf, type V1DeliveryTimeSlot, 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, setDeposit, setDiscounts, setRecipientInfo, setShippingInfo, setTaxExemption, typedQueryDraftOrders, updateExtendedFields, updateLineItems, utils };
@@ -3283,13 +3283,11 @@ var SubscriptionFrequency = /* @__PURE__ */ ((SubscriptionFrequency2) => {
3283
3283
  return SubscriptionFrequency2;
3284
3284
  })(SubscriptionFrequency || {});
3285
3285
  var AdjustmentType = /* @__PURE__ */ ((AdjustmentType2) => {
3286
- AdjustmentType2["UNKNOWN_ADJUSTMENT_TYPE"] = "UNKNOWN_ADJUSTMENT_TYPE";
3287
3286
  AdjustmentType2["EXTRA_CHARGE"] = "EXTRA_CHARGE";
3288
3287
  AdjustmentType2["CREDIT"] = "CREDIT";
3289
3288
  return AdjustmentType2;
3290
3289
  })(AdjustmentType || {});
3291
3290
  var TaxableAddressType = /* @__PURE__ */ ((TaxableAddressType2) => {
3292
- TaxableAddressType2["UNKNOWN_TAXABLE_ADDRESS"] = "UNKNOWN_TAXABLE_ADDRESS";
3293
3291
  TaxableAddressType2["BUSINESS"] = "BUSINESS";
3294
3292
  TaxableAddressType2["BILLING"] = "BILLING";
3295
3293
  TaxableAddressType2["SHIPPING"] = "SHIPPING";
@@ -3302,13 +3300,11 @@ var VatType = /* @__PURE__ */ ((VatType2) => {
3302
3300
  return VatType2;
3303
3301
  })(VatType || {});
3304
3302
  var PickupDetailsPickupMethod = /* @__PURE__ */ ((PickupDetailsPickupMethod2) => {
3305
- PickupDetailsPickupMethod2["UNKNOWN_METHOD"] = "UNKNOWN_METHOD";
3306
3303
  PickupDetailsPickupMethod2["STORE_PICKUP"] = "STORE_PICKUP";
3307
3304
  PickupDetailsPickupMethod2["PICKUP_POINT"] = "PICKUP_POINT";
3308
3305
  return PickupDetailsPickupMethod2;
3309
3306
  })(PickupDetailsPickupMethod || {});
3310
3307
  var AdditionalFeeSource = /* @__PURE__ */ ((AdditionalFeeSource2) => {
3311
- AdditionalFeeSource2["UNKNOWN_ADDITIONAL_FEE_SOURCE"] = "UNKNOWN_ADDITIONAL_FEE_SOURCE";
3312
3308
  AdditionalFeeSource2["SERVICE_PLUGIN"] = "SERVICE_PLUGIN";
3313
3309
  AdditionalFeeSource2["ITEM"] = "ITEM";
3314
3310
  AdditionalFeeSource2["MANUAL"] = "MANUAL";
@@ -3346,7 +3342,6 @@ var WeightUnit = /* @__PURE__ */ ((WeightUnit2) => {
3346
3342
  return WeightUnit2;
3347
3343
  })(WeightUnit || {});
3348
3344
  var ChargeType = /* @__PURE__ */ ((ChargeType2) => {
3349
- ChargeType2["UNKNOWN_CHARGE_TYPE"] = "UNKNOWN_CHARGE_TYPE";
3350
3345
  ChargeType2["PASS_ON"] = "PASS_ON";
3351
3346
  ChargeType2["ABSORBED"] = "ABSORBED";
3352
3347
  return ChargeType2;
@@ -3362,14 +3357,12 @@ var FileType = /* @__PURE__ */ ((FileType2) => {
3362
3357
  return FileType2;
3363
3358
  })(FileType || {});
3364
3359
  var DiscountType = /* @__PURE__ */ ((DiscountType2) => {
3365
- DiscountType2["UNKNOWN_TYPE"] = "UNKNOWN_TYPE";
3366
3360
  DiscountType2["GLOBAL"] = "GLOBAL";
3367
3361
  DiscountType2["SPECIFIC_ITEMS"] = "SPECIFIC_ITEMS";
3368
3362
  DiscountType2["SHIPPING"] = "SHIPPING";
3369
3363
  return DiscountType2;
3370
3364
  })(DiscountType || {});
3371
3365
  var PickupMethod = /* @__PURE__ */ ((PickupMethod2) => {
3372
- PickupMethod2["UNKNOWN_METHOD"] = "UNKNOWN_METHOD";
3373
3366
  PickupMethod2["STORE_PICKUP"] = "STORE_PICKUP";
3374
3367
  PickupMethod2["PICKUP_POINT"] = "PICKUP_POINT";
3375
3368
  return PickupMethod2;
@@ -3399,7 +3392,6 @@ var RuleType = /* @__PURE__ */ ((RuleType2) => {
3399
3392
  return RuleType2;
3400
3393
  })(RuleType || {});
3401
3394
  var NonDraftableReason = /* @__PURE__ */ ((NonDraftableReason2) => {
3402
- NonDraftableReason2["UNSPECIFIED"] = "UNSPECIFIED";
3403
3395
  NonDraftableReason2["PARTIALLY_OR_FULLY_REFUNDED"] = "PARTIALLY_OR_FULLY_REFUNDED";
3404
3396
  NonDraftableReason2["UNSUPPORTED_CHANNEL_TYPE"] = "UNSUPPORTED_CHANNEL_TYPE";
3405
3397
  NonDraftableReason2["ORDER_STATUS_IS_NOT_SUPPORTED"] = "ORDER_STATUS_IS_NOT_SUPPORTED";
@@ -3462,8 +3454,6 @@ var ActivityType = /* @__PURE__ */ ((ActivityType2) => {
3462
3454
  ActivityType2["PICKUP_READY_EMAIL_SENT"] = "PICKUP_READY_EMAIL_SENT";
3463
3455
  ActivityType2["CUSTOM_ACTIVITY"] = "CUSTOM_ACTIVITY";
3464
3456
  ActivityType2["MERCHANT_COMMENT"] = "MERCHANT_COMMENT";
3465
- ActivityType2["ORDER_CREATED_FROM_EXCHANGE"] = "ORDER_CREATED_FROM_EXCHANGE";
3466
- ActivityType2["NEW_EXCHANGE_ORDER_CREATED"] = "NEW_EXCHANGE_ORDER_CREATED";
3467
3457
  ActivityType2["ORDER_PARTIALLY_PAID"] = "ORDER_PARTIALLY_PAID";
3468
3458
  ActivityType2["DRAFT_ORDER_CHANGES_APPLIED"] = "DRAFT_ORDER_CHANGES_APPLIED";
3469
3459
  ActivityType2["SAVED_PAYMENT_METHOD"] = "SAVED_PAYMENT_METHOD";
@@ -3486,7 +3476,6 @@ var ActivityType = /* @__PURE__ */ ((ActivityType2) => {
3486
3476
  return ActivityType2;
3487
3477
  })(ActivityType || {});
3488
3478
  var OrderActivityTypeEnumActivityType = /* @__PURE__ */ ((OrderActivityTypeEnumActivityType2) => {
3489
- OrderActivityTypeEnumActivityType2["UNKNOWN_ACTIVITY_TYPE"] = "UNKNOWN_ACTIVITY_TYPE";
3490
3479
  OrderActivityTypeEnumActivityType2["ORDER_PLACED"] = "ORDER_PLACED";
3491
3480
  OrderActivityTypeEnumActivityType2["ORDER_PAID"] = "ORDER_PAID";
3492
3481
  OrderActivityTypeEnumActivityType2["ORDER_FULFILLED"] = "ORDER_FULFILLED";
@@ -3504,10 +3493,7 @@ var OrderActivityTypeEnumActivityType = /* @__PURE__ */ ((OrderActivityTypeEnumA
3504
3493
  OrderActivityTypeEnumActivityType2["SHIPPING_ADDRESS_EDITED"] = "SHIPPING_ADDRESS_EDITED";
3505
3494
  OrderActivityTypeEnumActivityType2["EMAIL_EDITED"] = "EMAIL_EDITED";
3506
3495
  OrderActivityTypeEnumActivityType2["PICKUP_READY_EMAIL_SENT"] = "PICKUP_READY_EMAIL_SENT";
3507
- OrderActivityTypeEnumActivityType2["CUSTOM_ACTIVITY"] = "CUSTOM_ACTIVITY";
3508
3496
  OrderActivityTypeEnumActivityType2["MERCHANT_COMMENT"] = "MERCHANT_COMMENT";
3509
- OrderActivityTypeEnumActivityType2["ORDER_CREATED_FROM_EXCHANGE"] = "ORDER_CREATED_FROM_EXCHANGE";
3510
- OrderActivityTypeEnumActivityType2["NEW_EXCHANGE_ORDER_CREATED"] = "NEW_EXCHANGE_ORDER_CREATED";
3511
3497
  OrderActivityTypeEnumActivityType2["ORDER_PARTIALLY_PAID"] = "ORDER_PARTIALLY_PAID";
3512
3498
  OrderActivityTypeEnumActivityType2["DRAFT_ORDER_CHANGES_APPLIED"] = "DRAFT_ORDER_CHANGES_APPLIED";
3513
3499
  OrderActivityTypeEnumActivityType2["SAVED_PAYMENT_METHOD"] = "SAVED_PAYMENT_METHOD";