@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 };
@@ -207,6 +207,12 @@ function createDraftOrder(payload) {
207
207
  {
208
208
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
209
209
  },
210
+ {
211
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
212
+ },
213
+ {
214
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
215
+ },
210
216
  {
211
217
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
212
218
  },
@@ -344,6 +350,12 @@ function createEmptyDraftOrder(payload) {
344
350
  {
345
351
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
346
352
  },
353
+ {
354
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
355
+ },
356
+ {
357
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
358
+ },
347
359
  {
348
360
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
349
361
  },
@@ -499,6 +511,12 @@ function addLineItemsToDraftOrder(payload) {
499
511
  {
500
512
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
501
513
  },
514
+ {
515
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
516
+ },
517
+ {
518
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
519
+ },
502
520
  {
503
521
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
504
522
  },
@@ -642,6 +660,12 @@ function updateLineItems(payload) {
642
660
  {
643
661
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
644
662
  },
663
+ {
664
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
665
+ },
666
+ {
667
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
668
+ },
645
669
  {
646
670
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
647
671
  },
@@ -779,6 +803,12 @@ function setDeposit(payload) {
779
803
  {
780
804
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
781
805
  },
806
+ {
807
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
808
+ },
809
+ {
810
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
811
+ },
782
812
  {
783
813
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
784
814
  },
@@ -916,6 +946,12 @@ function setDiscounts(payload) {
916
946
  {
917
947
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
918
948
  },
949
+ {
950
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
951
+ },
952
+ {
953
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
954
+ },
919
955
  {
920
956
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
921
957
  },
@@ -1053,6 +1089,12 @@ function createCustomDiscounts(payload) {
1053
1089
  {
1054
1090
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1055
1091
  },
1092
+ {
1093
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1094
+ },
1095
+ {
1096
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1097
+ },
1056
1098
  {
1057
1099
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1058
1100
  },
@@ -1190,6 +1232,12 @@ function deleteCustomDiscounts(payload) {
1190
1232
  {
1191
1233
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1192
1234
  },
1235
+ {
1236
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1237
+ },
1238
+ {
1239
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1240
+ },
1193
1241
  {
1194
1242
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1195
1243
  },
@@ -1327,6 +1375,12 @@ function setAdditionalFees(payload) {
1327
1375
  {
1328
1376
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1329
1377
  },
1378
+ {
1379
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1380
+ },
1381
+ {
1382
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1383
+ },
1330
1384
  {
1331
1385
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1332
1386
  },
@@ -1464,6 +1518,12 @@ function createCustomAdditionalFees(payload) {
1464
1518
  {
1465
1519
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1466
1520
  },
1521
+ {
1522
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1523
+ },
1524
+ {
1525
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1526
+ },
1467
1527
  {
1468
1528
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1469
1529
  },
@@ -1601,6 +1661,12 @@ function deleteCustomAdditionalFees(payload) {
1601
1661
  {
1602
1662
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1603
1663
  },
1664
+ {
1665
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1666
+ },
1667
+ {
1668
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1669
+ },
1604
1670
  {
1605
1671
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1606
1672
  },
@@ -1765,6 +1831,12 @@ function setShippingInfo(payload) {
1765
1831
  {
1766
1832
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1767
1833
  },
1834
+ {
1835
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1836
+ },
1837
+ {
1838
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1839
+ },
1768
1840
  {
1769
1841
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1770
1842
  },
@@ -1902,6 +1974,12 @@ function setBuyerInfo(payload) {
1902
1974
  {
1903
1975
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1904
1976
  },
1977
+ {
1978
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1979
+ },
1980
+ {
1981
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1982
+ },
1905
1983
  {
1906
1984
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1907
1985
  },
@@ -2048,6 +2126,12 @@ function setRecipientInfo(payload) {
2048
2126
  {
2049
2127
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2050
2128
  },
2129
+ {
2130
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
2131
+ },
2132
+ {
2133
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
2134
+ },
2051
2135
  {
2052
2136
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2053
2137
  },
@@ -2194,6 +2278,12 @@ function setBillingInfo(payload) {
2194
2278
  {
2195
2279
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2196
2280
  },
2281
+ {
2282
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
2283
+ },
2284
+ {
2285
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
2286
+ },
2197
2287
  {
2198
2288
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2199
2289
  },
@@ -2331,6 +2421,12 @@ function getDraftOrder(payload) {
2331
2421
  {
2332
2422
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2333
2423
  },
2424
+ {
2425
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
2426
+ },
2427
+ {
2428
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
2429
+ },
2334
2430
  {
2335
2431
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2336
2432
  },
@@ -2500,6 +2596,12 @@ function commitDraftOrder(payload) {
2500
2596
  {
2501
2597
  path: "committedDraftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2502
2598
  },
2599
+ {
2600
+ path: "committedDraftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
2601
+ },
2602
+ {
2603
+ path: "committedDraftOrder.lineItems.lineItem.serviceProperties.endDate"
2604
+ },
2503
2605
  {
2504
2606
  path: "committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2505
2607
  },
@@ -2526,6 +2628,10 @@ function commitDraftOrder(payload) {
2526
2628
  {
2527
2629
  path: "orderAfterCommit.lineItems.subscriptionInfo.subscriptionSettings.startDate"
2528
2630
  },
2631
+ {
2632
+ path: "orderAfterCommit.lineItems.serviceProperties.scheduledDate"
2633
+ },
2634
+ { path: "orderAfterCommit.lineItems.serviceProperties.endDate" },
2529
2635
  { path: "orderAfterCommit.shippingInfo.logistics.deliverByDate" },
2530
2636
  {
2531
2637
  path: "orderAfterCommit.shippingInfo.logistics.deliveryTimeSlot.from"
@@ -2666,6 +2772,12 @@ function createOrderFromDraft(payload) {
2666
2772
  {
2667
2773
  path: "committedDraftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2668
2774
  },
2775
+ {
2776
+ path: "committedDraftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
2777
+ },
2778
+ {
2779
+ path: "committedDraftOrder.lineItems.lineItem.serviceProperties.endDate"
2780
+ },
2669
2781
  {
2670
2782
  path: "committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2671
2783
  },
@@ -2692,6 +2804,10 @@ function createOrderFromDraft(payload) {
2692
2804
  {
2693
2805
  path: "createdOrder.lineItems.subscriptionInfo.subscriptionSettings.startDate"
2694
2806
  },
2807
+ {
2808
+ path: "createdOrder.lineItems.serviceProperties.scheduledDate"
2809
+ },
2810
+ { path: "createdOrder.lineItems.serviceProperties.endDate" },
2695
2811
  { path: "createdOrder.shippingInfo.logistics.deliverByDate" },
2696
2812
  {
2697
2813
  path: "createdOrder.shippingInfo.logistics.deliveryTimeSlot.from"
@@ -2856,6 +2972,12 @@ function queryDraftOrders(payload) {
2856
2972
  {
2857
2973
  path: "draftOrders.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2858
2974
  },
2975
+ {
2976
+ path: "draftOrders.lineItems.lineItem.serviceProperties.scheduledDate"
2977
+ },
2978
+ {
2979
+ path: "draftOrders.lineItems.lineItem.serviceProperties.endDate"
2980
+ },
2859
2981
  {
2860
2982
  path: "draftOrders.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2861
2983
  },
@@ -2971,6 +3093,12 @@ function updateExtendedFields(payload) {
2971
3093
  {
2972
3094
  path: "draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2973
3095
  },
3096
+ {
3097
+ path: "draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
3098
+ },
3099
+ {
3100
+ path: "draftOrder.lineItems.lineItem.serviceProperties.endDate"
3101
+ },
2974
3102
  {
2975
3103
  path: "draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2976
3104
  },
@@ -3088,6 +3216,12 @@ function setTaxExemption(payload) {
3088
3216
  {
3089
3217
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
3090
3218
  },
3219
+ {
3220
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
3221
+ },
3222
+ {
3223
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
3224
+ },
3091
3225
  {
3092
3226
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
3093
3227
  },
@@ -3225,6 +3359,12 @@ function setBusinessLocation(payload) {
3225
3359
  {
3226
3360
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
3227
3361
  },
3362
+ {
3363
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
3364
+ },
3365
+ {
3366
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
3367
+ },
3228
3368
  {
3229
3369
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
3230
3370
  },
@@ -3543,6 +3683,12 @@ var NonDraftableReason = /* @__PURE__ */ ((NonDraftableReason2) => {
3543
3683
  NonDraftableReason2["ORDER_AND_SITE_WEIGHT_UNITS_ARE_INCONSISTENT"] = "ORDER_AND_SITE_WEIGHT_UNITS_ARE_INCONSISTENT";
3544
3684
  NonDraftableReason2["ORDER_NOT_FOUND"] = "ORDER_NOT_FOUND";
3545
3685
  NonDraftableReason2["SUBSCRIPTION_LINE_ITEM_EXISTS"] = "SUBSCRIPTION_LINE_ITEM_EXISTS";
3686
+ NonDraftableReason2["AMOUNTS_DO_NOT_ADD_UP"] = "AMOUNTS_DO_NOT_ADD_UP";
3687
+ NonDraftableReason2["UNSUPPORTED_CATALOG_ITEM"] = "UNSUPPORTED_CATALOG_ITEM";
3688
+ NonDraftableReason2["TAXABLE_EXISTING_ADDITIONAL_FEE"] = "TAXABLE_EXISTING_ADDITIONAL_FEE";
3689
+ NonDraftableReason2["ORDER_HAS_CHARGEBACKS"] = "ORDER_HAS_CHARGEBACKS";
3690
+ NonDraftableReason2["EDITING_IS_NOT_ALLOWED_FOR_APP"] = "EDITING_IS_NOT_ALLOWED_FOR_APP";
3691
+ NonDraftableReason2["COUPON_BEHAVIOR_IS_UNDEFINED"] = "COUPON_BEHAVIOR_IS_UNDEFINED";
3546
3692
  return NonDraftableReason2;
3547
3693
  })(NonDraftableReason || {});
3548
3694
  var PaymentStatus = /* @__PURE__ */ ((PaymentStatus2) => {