@wix/auto_sdk_ecom_draft-orders 1.0.165 → 1.0.166

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +1 -1
  2. package/build/cjs/index.js +164 -0
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +14 -1
  5. package/build/cjs/index.typings.js +146 -0
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +14 -1
  8. package/build/cjs/meta.js +148 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +1 -1
  11. package/build/es/index.mjs +164 -0
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +14 -1
  14. package/build/es/index.typings.mjs +146 -0
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +14 -1
  17. package/build/es/meta.mjs +148 -0
  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 +164 -0
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +308 -2
  23. package/build/internal/cjs/index.typings.js +146 -0
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +815 -3
  26. package/build/internal/cjs/meta.js +148 -0
  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 +164 -0
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +308 -2
  32. package/build/internal/es/index.typings.mjs +146 -0
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +815 -3
  35. package/build/internal/es/meta.mjs +148 -0
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +4 -4
@@ -1015,6 +1015,19 @@ interface ExtendedFields {
1015
1015
  */
1016
1016
  namespaces?: Record<string, Record<string, any>>;
1017
1017
  }
1018
+ interface ServiceProperties {
1019
+ /**
1020
+ * Date and time the service is to be provided, in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
1021
+ * For example, the start time of a class.
1022
+ */
1023
+ scheduledDate?: Date | null;
1024
+ /**
1025
+ * The number of people participating in the service. For example, the number of people attending a class or the number of people per hotel room.
1026
+ * @min 1
1027
+ * @max 10000
1028
+ */
1029
+ numberOfParticipants?: number | null;
1030
+ }
1018
1031
  interface ItemChangedDetails {
1019
1032
  /**
1020
1033
  * Line item quantity before change.
@@ -6201,4 +6214,4 @@ interface SetBusinessLocationOptions {
6201
6214
  businessLocation?: Location;
6202
6215
  }
6203
6216
 
6204
- 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 BillingSettings, 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 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 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, 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, 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 };
6217
+ 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 BillingSettings, 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 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 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, 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, 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, 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 };
@@ -122,6 +122,12 @@ function createDraftOrder(payload) {
122
122
  {
123
123
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
124
124
  },
125
+ {
126
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
127
+ },
128
+ {
129
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
130
+ },
125
131
  {
126
132
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
127
133
  },
@@ -259,6 +265,12 @@ function createEmptyDraftOrder(payload) {
259
265
  {
260
266
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
261
267
  },
268
+ {
269
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
270
+ },
271
+ {
272
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
273
+ },
262
274
  {
263
275
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
264
276
  },
@@ -414,6 +426,12 @@ function addLineItemsToDraftOrder(payload) {
414
426
  {
415
427
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
416
428
  },
429
+ {
430
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
431
+ },
432
+ {
433
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
434
+ },
417
435
  {
418
436
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
419
437
  },
@@ -557,6 +575,12 @@ function updateLineItems(payload) {
557
575
  {
558
576
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
559
577
  },
578
+ {
579
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
580
+ },
581
+ {
582
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
583
+ },
560
584
  {
561
585
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
562
586
  },
@@ -694,6 +718,12 @@ function setDeposit(payload) {
694
718
  {
695
719
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
696
720
  },
721
+ {
722
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
723
+ },
724
+ {
725
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
726
+ },
697
727
  {
698
728
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
699
729
  },
@@ -831,6 +861,12 @@ function setDiscounts(payload) {
831
861
  {
832
862
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
833
863
  },
864
+ {
865
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
866
+ },
867
+ {
868
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
869
+ },
834
870
  {
835
871
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
836
872
  },
@@ -968,6 +1004,12 @@ function createCustomDiscounts(payload) {
968
1004
  {
969
1005
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
970
1006
  },
1007
+ {
1008
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1009
+ },
1010
+ {
1011
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1012
+ },
971
1013
  {
972
1014
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
973
1015
  },
@@ -1105,6 +1147,12 @@ function deleteCustomDiscounts(payload) {
1105
1147
  {
1106
1148
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1107
1149
  },
1150
+ {
1151
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1152
+ },
1153
+ {
1154
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1155
+ },
1108
1156
  {
1109
1157
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1110
1158
  },
@@ -1242,6 +1290,12 @@ function setAdditionalFees(payload) {
1242
1290
  {
1243
1291
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1244
1292
  },
1293
+ {
1294
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1295
+ },
1296
+ {
1297
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1298
+ },
1245
1299
  {
1246
1300
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1247
1301
  },
@@ -1379,6 +1433,12 @@ function createCustomAdditionalFees(payload) {
1379
1433
  {
1380
1434
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1381
1435
  },
1436
+ {
1437
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1438
+ },
1439
+ {
1440
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1441
+ },
1382
1442
  {
1383
1443
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1384
1444
  },
@@ -1516,6 +1576,12 @@ function deleteCustomAdditionalFees(payload) {
1516
1576
  {
1517
1577
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1518
1578
  },
1579
+ {
1580
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1581
+ },
1582
+ {
1583
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1584
+ },
1519
1585
  {
1520
1586
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1521
1587
  },
@@ -1680,6 +1746,12 @@ function setShippingInfo(payload) {
1680
1746
  {
1681
1747
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1682
1748
  },
1749
+ {
1750
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1751
+ },
1752
+ {
1753
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1754
+ },
1683
1755
  {
1684
1756
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1685
1757
  },
@@ -1817,6 +1889,12 @@ function setBuyerInfo(payload) {
1817
1889
  {
1818
1890
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1819
1891
  },
1892
+ {
1893
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1894
+ },
1895
+ {
1896
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1897
+ },
1820
1898
  {
1821
1899
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1822
1900
  },
@@ -1963,6 +2041,12 @@ function setRecipientInfo(payload) {
1963
2041
  {
1964
2042
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1965
2043
  },
2044
+ {
2045
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
2046
+ },
2047
+ {
2048
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
2049
+ },
1966
2050
  {
1967
2051
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1968
2052
  },
@@ -2109,6 +2193,12 @@ function setBillingInfo(payload) {
2109
2193
  {
2110
2194
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2111
2195
  },
2196
+ {
2197
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
2198
+ },
2199
+ {
2200
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
2201
+ },
2112
2202
  {
2113
2203
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2114
2204
  },
@@ -2246,6 +2336,12 @@ function getDraftOrder(payload) {
2246
2336
  {
2247
2337
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2248
2338
  },
2339
+ {
2340
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
2341
+ },
2342
+ {
2343
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
2344
+ },
2249
2345
  {
2250
2346
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2251
2347
  },
@@ -2415,6 +2511,12 @@ function commitDraftOrder(payload) {
2415
2511
  {
2416
2512
  path: "committedDraftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2417
2513
  },
2514
+ {
2515
+ path: "committedDraftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
2516
+ },
2517
+ {
2518
+ path: "committedDraftOrder.lineItems.lineItem.serviceProperties.endDate"
2519
+ },
2418
2520
  {
2419
2521
  path: "committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2420
2522
  },
@@ -2441,6 +2543,10 @@ function commitDraftOrder(payload) {
2441
2543
  {
2442
2544
  path: "orderAfterCommit.lineItems.subscriptionInfo.subscriptionSettings.startDate"
2443
2545
  },
2546
+ {
2547
+ path: "orderAfterCommit.lineItems.serviceProperties.scheduledDate"
2548
+ },
2549
+ { path: "orderAfterCommit.lineItems.serviceProperties.endDate" },
2444
2550
  { path: "orderAfterCommit.shippingInfo.logistics.deliverByDate" },
2445
2551
  {
2446
2552
  path: "orderAfterCommit.shippingInfo.logistics.deliveryTimeSlot.from"
@@ -2581,6 +2687,12 @@ function createOrderFromDraft(payload) {
2581
2687
  {
2582
2688
  path: "committedDraftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2583
2689
  },
2690
+ {
2691
+ path: "committedDraftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
2692
+ },
2693
+ {
2694
+ path: "committedDraftOrder.lineItems.lineItem.serviceProperties.endDate"
2695
+ },
2584
2696
  {
2585
2697
  path: "committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2586
2698
  },
@@ -2607,6 +2719,10 @@ function createOrderFromDraft(payload) {
2607
2719
  {
2608
2720
  path: "createdOrder.lineItems.subscriptionInfo.subscriptionSettings.startDate"
2609
2721
  },
2722
+ {
2723
+ path: "createdOrder.lineItems.serviceProperties.scheduledDate"
2724
+ },
2725
+ { path: "createdOrder.lineItems.serviceProperties.endDate" },
2610
2726
  { path: "createdOrder.shippingInfo.logistics.deliverByDate" },
2611
2727
  {
2612
2728
  path: "createdOrder.shippingInfo.logistics.deliveryTimeSlot.from"
@@ -2771,6 +2887,12 @@ function queryDraftOrders(payload) {
2771
2887
  {
2772
2888
  path: "draftOrders.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2773
2889
  },
2890
+ {
2891
+ path: "draftOrders.lineItems.lineItem.serviceProperties.scheduledDate"
2892
+ },
2893
+ {
2894
+ path: "draftOrders.lineItems.lineItem.serviceProperties.endDate"
2895
+ },
2774
2896
  {
2775
2897
  path: "draftOrders.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2776
2898
  },
@@ -2886,6 +3008,12 @@ function updateExtendedFields(payload) {
2886
3008
  {
2887
3009
  path: "draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2888
3010
  },
3011
+ {
3012
+ path: "draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
3013
+ },
3014
+ {
3015
+ path: "draftOrder.lineItems.lineItem.serviceProperties.endDate"
3016
+ },
2889
3017
  {
2890
3018
  path: "draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2891
3019
  },
@@ -3003,6 +3131,12 @@ function setTaxExemption(payload) {
3003
3131
  {
3004
3132
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
3005
3133
  },
3134
+ {
3135
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
3136
+ },
3137
+ {
3138
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
3139
+ },
3006
3140
  {
3007
3141
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
3008
3142
  },
@@ -3140,6 +3274,12 @@ function setBusinessLocation(payload) {
3140
3274
  {
3141
3275
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
3142
3276
  },
3277
+ {
3278
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
3279
+ },
3280
+ {
3281
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
3282
+ },
3143
3283
  {
3144
3284
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
3145
3285
  },
@@ -3458,6 +3598,12 @@ var NonDraftableReason = /* @__PURE__ */ ((NonDraftableReason2) => {
3458
3598
  NonDraftableReason2["ORDER_AND_SITE_WEIGHT_UNITS_ARE_INCONSISTENT"] = "ORDER_AND_SITE_WEIGHT_UNITS_ARE_INCONSISTENT";
3459
3599
  NonDraftableReason2["ORDER_NOT_FOUND"] = "ORDER_NOT_FOUND";
3460
3600
  NonDraftableReason2["SUBSCRIPTION_LINE_ITEM_EXISTS"] = "SUBSCRIPTION_LINE_ITEM_EXISTS";
3601
+ NonDraftableReason2["AMOUNTS_DO_NOT_ADD_UP"] = "AMOUNTS_DO_NOT_ADD_UP";
3602
+ NonDraftableReason2["UNSUPPORTED_CATALOG_ITEM"] = "UNSUPPORTED_CATALOG_ITEM";
3603
+ NonDraftableReason2["TAXABLE_EXISTING_ADDITIONAL_FEE"] = "TAXABLE_EXISTING_ADDITIONAL_FEE";
3604
+ NonDraftableReason2["ORDER_HAS_CHARGEBACKS"] = "ORDER_HAS_CHARGEBACKS";
3605
+ NonDraftableReason2["EDITING_IS_NOT_ALLOWED_FOR_APP"] = "EDITING_IS_NOT_ALLOWED_FOR_APP";
3606
+ NonDraftableReason2["COUPON_BEHAVIOR_IS_UNDEFINED"] = "COUPON_BEHAVIOR_IS_UNDEFINED";
3461
3607
  return NonDraftableReason2;
3462
3608
  })(NonDraftableReason || {});
3463
3609
  var PaymentStatus = /* @__PURE__ */ ((PaymentStatus2) => {