@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
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
2
  import { CreateDraftOrderOptions, CreateDraftOrderResponse, CreateDraftOrderApplicationErrors, CreateEmptyDraftOrderResponse, CreateEmptyDraftOrderApplicationErrors, AddLineItemsToDraftOrderOptions, AddLineItemsToDraftOrderResponse, AddLineItemsToDraftOrderApplicationErrors, LineItemChangeDetails, UpdateLineItemsResponse, UpdateLineItemsApplicationErrors, IdAndApplied, SetDiscountsResponse, SetDiscountsApplicationErrors, CreateCustomDiscountsOptions, CreateCustomDiscountsResponse, CreateCustomDiscountsApplicationErrors, DeleteCustomDiscountsResponse, DeleteCustomDiscountsApplicationErrors, SetAdditionalFeesResponse, SetAdditionalFeesApplicationErrors, CreateCustomAdditionalFeesOptions, CreateCustomAdditionalFeesResponse, CreateCustomAdditionalFeesApplicationErrors, DeleteCustomAdditionalFeesResponse, DeleteCustomAdditionalFeesApplicationErrors, SetShippingInfoOptions, SetShippingInfoResponse, SetShippingInfoApplicationErrors, SetBuyerInfoOptions, SetBuyerInfoResponse, SetBuyerInfoApplicationErrors, SetRecipientInfoOptions, SetRecipientInfoResponse, SetRecipientInfoApplicationErrors, SetBillingInfoOptions, SetBillingInfoResponse, SetBillingInfoApplicationErrors, GetDraftOrderResponse, GetDraftOrderApplicationErrors, GetOrderDraftabilityStatusResponse, CommitDraftOrderOptions, CommitDraftOrderResponse, CommitDraftOrderApplicationErrors, CreateOrderFromDraftOptions, CreateOrderFromDraftResponse, CreateOrderFromDraftApplicationErrors, DeleteDraftOrderApplicationErrors, UpdateExtendedFieldsOptions, UpdateExtendedFieldsResponse, UpdateExtendedFieldsApplicationErrors, SetTaxExemptionOptions, SetTaxExemptionResponse, SetTaxExemptionApplicationErrors, SetBusinessLocationOptions, SetBusinessLocationResponse, SetBusinessLocationApplicationErrors, DraftOrderCreatedEnvelope, DraftOrderDeletedEnvelope, DraftOrderUpdatedEnvelope, DraftOrdersQueryBuilder, DraftOrderQuery, typedQueryDraftOrders } from './index.typings.js';
3
- export { AccountInfo, AccountInfoMetadata, ActionEvent, Activity, ActivityContentOneOf, ActivityType, ActivityTypeWithLiterals, AddLineItemsToDraftOrderRequest, AdditionalFee, AdditionalFeeDetails, AdditionalFeeOption, AdditionalFeeSource, AdditionalFeeSourceWithLiterals, Address, AddressLocation, AddressWithContact, AdjustmentType, AdjustmentTypeWithLiterals, ApplicationError, AppliedDiscount, AppliedDiscountDiscountSourceOneOf, AppliedDiscountDiscountType, AppliedDiscountDiscountTypeWithLiterals, AttributionSource, AttributionSourceWithLiterals, AuthorizedPaymentCaptured, AuthorizedPaymentCreated, AuthorizedPaymentVoided, Balance, BalanceSummary, BaseEventMetadata, BillingAdjustment, BillingAdjustmentPriceSummary, BillingChangedDetails, BillingDetails, BillingDetailsChangeTypeOneOf, BillingSettings, BusinessLocationChangedDetails, BusinessLocationDetails, BusinessLocationDetailsChangeTypeOneOf, BuyerChangedDetails, BuyerDetails, BuyerDetailsChangeTypeOneOf, BuyerInfo, BuyerInfoIdOneOf, CalculatedDraftOrder, CalculationErrors, CalculationErrorsShippingCalculationErrorOneOf, CarrierError, CarrierErrors, CashRounding, CatalogReference, CatalogReferenceLineItem, ChannelInfo, ChannelType, ChannelTypeWithLiterals, ChargeType, ChargeTypeWithLiterals, ChargebackCreated, ChargebackReversed, Color, CommitDraftOrderRequest, CommonQueryWithEntityContext, Coupon, CreateCustomAdditionalFeesRequest, CreateCustomDiscountsRequest, CreateDraftOrderOptionsSourceOneOf, CreateDraftOrderRequest, CreateDraftOrderRequestSourceOneOf, CreateEmptyDraftOrderRequest, CreateOrderFromDraftRequest, CreatedBy, CreatedByStringOneOf, CreditCardDetails, CurrencyConversionDetails, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomActivity, CustomAllowedActions, CustomField, CustomLineItem, DecimalQuantity, DecimalQuantityOverride, DecimalQuantityUnitOneOf, DeleteCustomAdditionalFeesRequest, DeleteCustomDiscountsRequest, DeleteDraftOrderRequest, DeleteDraftOrderResponse, DeliveryLogistics, DeliveryTimeSlot, DepositDetails, DepositDetailsDepositOneOf, DescriptionLine, DescriptionLineDescriptionLineValueOneOf, DescriptionLineName, DescriptionLineType, DescriptionLineTypeWithLiterals, DescriptionLineValueOneOf, DescriptionLinesOverride, Details, DetailsKindOneOf, DigitalFile, Dimensions, DimensionsUnit, DimensionsUnitWithLiterals, DiscountDetails, DiscountOption, DiscountOptionDiscountAmountOneOf, DiscountReason, DiscountReasonWithLiterals, DiscountRule, DiscountRuleName, DiscountType, DiscountTypeWithLiterals, DomainEvent, DomainEventBodyOneOf, DraftOrder, DraftOrderChangesApplied, DraftOrderCommitSettings, DraftOrderInput, DraftOrderQuerySpec, DraftOrdersQueryResult, EditingStatus, EditingStatusWithLiterals, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, ExternalReceipt, FieldViolation, FileType, FileTypeWithLiterals, FocalPoint, FormIdentifier, FormInfo, FreeTrialPeriod, FulfillmentStatus, FulfillmentStatusWithLiterals, FulfillmentStatusesAggregate, FullAddressContactDetails, GetDraftOrderRequest, GetOrderDraftabilityStatusRequest, GiftCardPaymentRefund, IdentificationData, IdentificationDataIdOneOf, InventoryUpdate, ItemChangedDetails, ItemChangedImplicitlyDetails, ItemCombination, ItemCombinationLineItem, ItemDetails, ItemDetailsChangeTypeOneOf, ItemModifier, ItemTaxFullDetails, ItemType, ItemTypeItemTypeDataOneOf, ItemTypePreset, ItemTypePresetWithLiterals, JurisdictionType, JurisdictionTypeWithLiterals, LineItemAmount, LineItemChanges, LineItemDescriptionLineChange, LineItemDiscount, LineItemExchangeData, LineItemModifiersChange, LineItemPriceChange, LineItemProductNameChange, LineItemQuantityChange, LineItemQuantityChangeType, LineItemQuantityChangeTypeWithLiterals, LineItemTaxBreakdown, LineItemTaxInfo, Location, LocationAndQuantity, ManagedAdditionalFee, ManagedDiscount, ManagedLineItem, MeasurementUnit, MeasurementUnitWithLiterals, MembershipPaymentRefund, MerchantComment, MerchantDiscount, MerchantDiscountMerchantDiscountReasonOneOf, MessageEnvelope, ModifierGroup, ModifiersGroupsOverride, NewExchangeOrderCreated, NonDraftableReason, NonDraftableReasonWithLiterals, Order, OrderActionType, OrderActionTypeWithLiterals, OrderActivityTypeEnumActivityType, OrderActivityTypeEnumActivityTypeWithLiterals, OrderChange, OrderChangeValueOneOf, OrderCreateNotifications, OrderCreateSettings, OrderCreateSettingsEditableByOneOf, OrderCreatedFromExchange, OrderLineItem, OrderRefunded, OrderSettings, OrderSettingsAllowedActionsOneOf, OrderSettingsEditableByOneOf, OrderStatus, OrderStatusWithLiterals, OrderTaxBreakdown, OrderTaxInfo, OwnerApps, PaymentCanceled, PaymentCanceledPaymentDetailsOneOf, PaymentDeclined, PaymentDeclinedPaymentDetailsOneOf, PaymentOptionOverride, PaymentOptionType, PaymentOptionTypeWithLiterals, PaymentPending, PaymentPendingPaymentDetailsOneOf, PaymentRefundFailed, PaymentRefunded, PaymentStatus, PaymentStatusWithLiterals, PhysicalProperties, PickupAddress, PickupDetails, PickupDetailsPickupMethod, PickupDetailsPickupMethodWithLiterals, PickupMethod, PickupMethodWithLiterals, PlainTextValue, PlatformFee, PlatformFeeSummary, Price, PriceDescription, PriceSummary, ProductName, ProductPeriodAlignment, ProductPeriodAlignmentWithLiterals, QueryDraftOrdersRequest, QueryDraftOrdersResponse, ReceiptCreated, ReceiptCreatedReceiptInfoOneOf, ReceiptSent, ReceiptSentReceiptInfoOneOf, RecipientInfoChangedDetails, RecipientInfoDetails, RecipientInfoDetailsChangeTypeOneOf, RefundInitiated, RefundedAsStoreCredit, RefundedPayment, RefundedPaymentKindOneOf, RegularPayment, RegularPaymentPaymentMethodDetailsOneOf, RegularPaymentRefund, RestockLocation, RestoreInfo, RuleType, RuleTypeWithLiterals, SavedPaymentMethod, SecuredMedia, SetAdditionalFeesRequest, SetBillingInfoRequest, SetBusinessLocationRequest, SetBuyerInfoRequest, SetDepositApplicationErrors, SetDepositOptions, SetDepositRequest, SetDepositResponse, SetDiscountsRequest, SetRecipientInfoRequest, SetShippingInfoRequest, SetTaxExemptionRequest, ShippingChangedDetails, ShippingDetails, ShippingDetailsChangeTypeOneOf, ShippingInformation, ShippingInformationChange, ShippingOption, ShippingPrice, ShippingRegion, SortOrder, SortOrderWithLiterals, Sorting, SourceType, SourceTypeWithLiterals, SpecificItemsCouponBehavior, SpecificItemsCouponBehaviorWithLiterals, StreetAddress, SubscriptionDescription, SubscriptionFrequency, SubscriptionFrequencyWithLiterals, SubscriptionInfo, SubscriptionSettings, SubscriptionTitle, SystemError, TagList, Tags, TaxDetails, TaxSummary, TaxableAddress, TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, TaxableAddressTypeWithLiterals, TotalPriceChange, TranslatableString, TranslatedValue, UpdateExtendedFieldsRequest, UpdateLineItemsRequest, UpdateShippingInfoRequest, UpdateShippingInfoResponse, V1BalanceSummary, V1CreatedBy, V1CreatedByStringOneOf, V1DeliveryLogistics, V1DeliveryLogisticsAddressOneOf, V1DeliveryTimeSlot, V1OrderStatus, V1OrderStatusWithLiterals, V1PickupDetails, V1ShippingInformation, V1ShippingPrice, ValidationError, VatId, VatType, VatTypeWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WeightUnit, WeightUnitWithLiterals, WixReceipt, utils } from './index.typings.js';
3
+ export { AccountInfo, AccountInfoMetadata, ActionEvent, Activity, ActivityContentOneOf, ActivityType, ActivityTypeWithLiterals, AddLineItemsToDraftOrderRequest, AdditionalFee, AdditionalFeeDetails, AdditionalFeeOption, AdditionalFeeSource, AdditionalFeeSourceWithLiterals, Address, AddressLocation, AddressWithContact, AdjustmentType, AdjustmentTypeWithLiterals, ApplicationError, AppliedDiscount, AppliedDiscountDiscountSourceOneOf, AppliedDiscountDiscountType, AppliedDiscountDiscountTypeWithLiterals, AttributionSource, AttributionSourceWithLiterals, AuthorizedPaymentCaptured, AuthorizedPaymentCreated, AuthorizedPaymentVoided, Balance, BalanceSummary, BaseEventMetadata, BillingAdjustment, BillingAdjustmentPriceSummary, BillingChangedDetails, BillingDetails, BillingDetailsChangeTypeOneOf, BillingSettings, BusinessLocationChangedDetails, BusinessLocationDetails, BusinessLocationDetailsChangeTypeOneOf, BuyerChangedDetails, BuyerDetails, BuyerDetailsChangeTypeOneOf, BuyerInfo, BuyerInfoIdOneOf, CalculatedDraftOrder, CalculationErrors, CalculationErrorsShippingCalculationErrorOneOf, CarrierError, CarrierErrors, CashRounding, CatalogReference, CatalogReferenceLineItem, ChannelInfo, ChannelType, ChannelTypeWithLiterals, ChargeType, ChargeTypeWithLiterals, ChargebackCreated, ChargebackReversed, Color, CommitDraftOrderRequest, CommonQueryWithEntityContext, Coupon, CreateCustomAdditionalFeesRequest, CreateCustomDiscountsRequest, CreateDraftOrderOptionsSourceOneOf, CreateDraftOrderRequest, CreateDraftOrderRequestSourceOneOf, CreateEmptyDraftOrderRequest, CreateOrderFromDraftRequest, CreatedBy, CreatedByStringOneOf, CreditCardDetails, CurrencyConversionDetails, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomActivity, CustomAllowedActions, CustomField, CustomLineItem, DecimalQuantity, DecimalQuantityOverride, DecimalQuantityUnitOneOf, DeleteCustomAdditionalFeesRequest, DeleteCustomDiscountsRequest, DeleteDraftOrderRequest, DeleteDraftOrderResponse, DeliveryLogistics, DeliveryTimeSlot, DepositDetails, DepositDetailsDepositOneOf, DescriptionLine, DescriptionLineDescriptionLineValueOneOf, DescriptionLineName, DescriptionLineType, DescriptionLineTypeWithLiterals, DescriptionLineValueOneOf, DescriptionLinesOverride, Details, DetailsKindOneOf, DigitalFile, Dimensions, DimensionsUnit, DimensionsUnitWithLiterals, DiscountDetails, DiscountOption, DiscountOptionDiscountAmountOneOf, DiscountReason, DiscountReasonWithLiterals, DiscountRule, DiscountRuleName, DiscountType, DiscountTypeWithLiterals, DomainEvent, DomainEventBodyOneOf, DraftOrder, DraftOrderChangesApplied, DraftOrderCommitSettings, DraftOrderInput, DraftOrderQuerySpec, DraftOrdersQueryResult, EditingStatus, EditingStatusWithLiterals, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, ExternalReceipt, FieldViolation, FileType, FileTypeWithLiterals, FocalPoint, FormIdentifier, FormInfo, FreeTrialPeriod, FulfillmentStatus, FulfillmentStatusWithLiterals, FulfillmentStatusesAggregate, FullAddressContactDetails, GetDraftOrderRequest, GetOrderDraftabilityStatusRequest, GiftCardPaymentRefund, IdentificationData, IdentificationDataIdOneOf, InventoryUpdate, ItemChangedDetails, ItemChangedImplicitlyDetails, ItemCombination, ItemCombinationLineItem, ItemDetails, ItemDetailsChangeTypeOneOf, ItemModifier, ItemTaxFullDetails, ItemType, ItemTypeItemTypeDataOneOf, ItemTypePreset, ItemTypePresetWithLiterals, JurisdictionType, JurisdictionTypeWithLiterals, LineItemAmount, LineItemChanges, LineItemDescriptionLineChange, LineItemDiscount, LineItemExchangeData, LineItemModifiersChange, LineItemPriceChange, LineItemProductNameChange, LineItemQuantityChange, LineItemQuantityChangeType, LineItemQuantityChangeTypeWithLiterals, LineItemTaxBreakdown, LineItemTaxInfo, Location, LocationAndQuantity, ManagedAdditionalFee, ManagedDiscount, ManagedLineItem, MeasurementUnit, MeasurementUnitWithLiterals, MembershipPaymentRefund, MerchantComment, MerchantDiscount, MerchantDiscountMerchantDiscountReasonOneOf, MessageEnvelope, ModifierGroup, ModifiersGroupsOverride, NewExchangeOrderCreated, NonDraftableReason, NonDraftableReasonWithLiterals, Order, OrderActionType, OrderActionTypeWithLiterals, OrderActivityTypeEnumActivityType, OrderActivityTypeEnumActivityTypeWithLiterals, OrderChange, OrderChangeValueOneOf, OrderCreateNotifications, OrderCreateSettings, OrderCreateSettingsEditableByOneOf, OrderCreatedFromExchange, OrderLineItem, OrderRefunded, OrderSettings, OrderSettingsAllowedActionsOneOf, OrderSettingsEditableByOneOf, OrderStatus, OrderStatusWithLiterals, OrderTaxBreakdown, OrderTaxInfo, OwnerApps, PaymentCanceled, PaymentCanceledPaymentDetailsOneOf, PaymentDeclined, PaymentDeclinedPaymentDetailsOneOf, PaymentOptionOverride, PaymentOptionType, PaymentOptionTypeWithLiterals, PaymentPending, PaymentPendingPaymentDetailsOneOf, PaymentRefundFailed, PaymentRefunded, PaymentStatus, PaymentStatusWithLiterals, PhysicalProperties, PickupAddress, PickupDetails, PickupDetailsPickupMethod, PickupDetailsPickupMethodWithLiterals, PickupMethod, PickupMethodWithLiterals, PlainTextValue, PlatformFee, PlatformFeeSummary, Price, PriceDescription, PriceSummary, ProductName, ProductPeriodAlignment, ProductPeriodAlignmentWithLiterals, QueryDraftOrdersRequest, QueryDraftOrdersResponse, ReceiptCreated, ReceiptCreatedReceiptInfoOneOf, ReceiptSent, ReceiptSentReceiptInfoOneOf, RecipientInfoChangedDetails, RecipientInfoDetails, RecipientInfoDetailsChangeTypeOneOf, RefundInitiated, RefundedAsStoreCredit, RefundedPayment, RefundedPaymentKindOneOf, RegularPayment, RegularPaymentPaymentMethodDetailsOneOf, RegularPaymentRefund, RestockLocation, RestoreInfo, RuleType, RuleTypeWithLiterals, SavedPaymentMethod, SecuredMedia, ServiceProperties, SetAdditionalFeesRequest, SetBillingInfoRequest, SetBusinessLocationRequest, SetBuyerInfoRequest, SetDepositApplicationErrors, SetDepositOptions, SetDepositRequest, SetDepositResponse, SetDiscountsRequest, SetRecipientInfoRequest, SetShippingInfoRequest, SetTaxExemptionRequest, ShippingChangedDetails, ShippingDetails, ShippingDetailsChangeTypeOneOf, ShippingInformation, ShippingInformationChange, ShippingOption, ShippingPrice, ShippingRegion, SortOrder, SortOrderWithLiterals, Sorting, SourceType, SourceTypeWithLiterals, SpecificItemsCouponBehavior, SpecificItemsCouponBehaviorWithLiterals, StreetAddress, SubscriptionDescription, SubscriptionFrequency, SubscriptionFrequencyWithLiterals, SubscriptionInfo, SubscriptionSettings, SubscriptionTitle, SystemError, TagList, Tags, TaxDetails, TaxSummary, TaxableAddress, TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, TaxableAddressTypeWithLiterals, TotalPriceChange, TranslatableString, TranslatedValue, UpdateExtendedFieldsRequest, UpdateLineItemsRequest, UpdateShippingInfoRequest, UpdateShippingInfoResponse, V1BalanceSummary, V1CreatedBy, V1CreatedByStringOneOf, V1DeliveryLogistics, V1DeliveryLogisticsAddressOneOf, V1DeliveryTimeSlot, V1OrderStatus, V1OrderStatusWithLiterals, V1PickupDetails, V1ShippingInformation, V1ShippingPrice, ValidationError, VatId, VatType, VatTypeWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WeightUnit, WeightUnitWithLiterals, WixReceipt, utils } from './index.typings.js';
4
4
 
5
5
  declare function createDraftOrder$1(httpClient: HttpClient): CreateDraftOrderSignature;
6
6
  interface CreateDraftOrderSignature {
@@ -218,6 +218,12 @@ function createDraftOrder(payload) {
218
218
  {
219
219
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
220
220
  },
221
+ {
222
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
223
+ },
224
+ {
225
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
226
+ },
221
227
  {
222
228
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
223
229
  },
@@ -355,6 +361,12 @@ function createEmptyDraftOrder(payload) {
355
361
  {
356
362
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
357
363
  },
364
+ {
365
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
366
+ },
367
+ {
368
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
369
+ },
358
370
  {
359
371
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
360
372
  },
@@ -510,6 +522,12 @@ function addLineItemsToDraftOrder(payload) {
510
522
  {
511
523
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
512
524
  },
525
+ {
526
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
527
+ },
528
+ {
529
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
530
+ },
513
531
  {
514
532
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
515
533
  },
@@ -653,6 +671,12 @@ function updateLineItems(payload) {
653
671
  {
654
672
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
655
673
  },
674
+ {
675
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
676
+ },
677
+ {
678
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
679
+ },
656
680
  {
657
681
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
658
682
  },
@@ -790,6 +814,12 @@ function setDeposit(payload) {
790
814
  {
791
815
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
792
816
  },
817
+ {
818
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
819
+ },
820
+ {
821
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
822
+ },
793
823
  {
794
824
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
795
825
  },
@@ -927,6 +957,12 @@ function setDiscounts(payload) {
927
957
  {
928
958
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
929
959
  },
960
+ {
961
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
962
+ },
963
+ {
964
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
965
+ },
930
966
  {
931
967
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
932
968
  },
@@ -1064,6 +1100,12 @@ function createCustomDiscounts(payload) {
1064
1100
  {
1065
1101
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1066
1102
  },
1103
+ {
1104
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1105
+ },
1106
+ {
1107
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1108
+ },
1067
1109
  {
1068
1110
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1069
1111
  },
@@ -1201,6 +1243,12 @@ function deleteCustomDiscounts(payload) {
1201
1243
  {
1202
1244
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1203
1245
  },
1246
+ {
1247
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1248
+ },
1249
+ {
1250
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1251
+ },
1204
1252
  {
1205
1253
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1206
1254
  },
@@ -1338,6 +1386,12 @@ function setAdditionalFees(payload) {
1338
1386
  {
1339
1387
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1340
1388
  },
1389
+ {
1390
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1391
+ },
1392
+ {
1393
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1394
+ },
1341
1395
  {
1342
1396
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1343
1397
  },
@@ -1475,6 +1529,12 @@ function createCustomAdditionalFees(payload) {
1475
1529
  {
1476
1530
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1477
1531
  },
1532
+ {
1533
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1534
+ },
1535
+ {
1536
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1537
+ },
1478
1538
  {
1479
1539
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1480
1540
  },
@@ -1612,6 +1672,12 @@ function deleteCustomAdditionalFees(payload) {
1612
1672
  {
1613
1673
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1614
1674
  },
1675
+ {
1676
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1677
+ },
1678
+ {
1679
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1680
+ },
1615
1681
  {
1616
1682
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1617
1683
  },
@@ -1776,6 +1842,12 @@ function setShippingInfo(payload) {
1776
1842
  {
1777
1843
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1778
1844
  },
1845
+ {
1846
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1847
+ },
1848
+ {
1849
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1850
+ },
1779
1851
  {
1780
1852
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1781
1853
  },
@@ -1913,6 +1985,12 @@ function setBuyerInfo(payload) {
1913
1985
  {
1914
1986
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1915
1987
  },
1988
+ {
1989
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1990
+ },
1991
+ {
1992
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1993
+ },
1916
1994
  {
1917
1995
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1918
1996
  },
@@ -2059,6 +2137,12 @@ function setRecipientInfo(payload) {
2059
2137
  {
2060
2138
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2061
2139
  },
2140
+ {
2141
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
2142
+ },
2143
+ {
2144
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
2145
+ },
2062
2146
  {
2063
2147
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2064
2148
  },
@@ -2205,6 +2289,12 @@ function setBillingInfo(payload) {
2205
2289
  {
2206
2290
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2207
2291
  },
2292
+ {
2293
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
2294
+ },
2295
+ {
2296
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
2297
+ },
2208
2298
  {
2209
2299
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2210
2300
  },
@@ -2342,6 +2432,12 @@ function getDraftOrder(payload) {
2342
2432
  {
2343
2433
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2344
2434
  },
2435
+ {
2436
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
2437
+ },
2438
+ {
2439
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
2440
+ },
2345
2441
  {
2346
2442
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2347
2443
  },
@@ -2511,6 +2607,12 @@ function commitDraftOrder(payload) {
2511
2607
  {
2512
2608
  path: "committedDraftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2513
2609
  },
2610
+ {
2611
+ path: "committedDraftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
2612
+ },
2613
+ {
2614
+ path: "committedDraftOrder.lineItems.lineItem.serviceProperties.endDate"
2615
+ },
2514
2616
  {
2515
2617
  path: "committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2516
2618
  },
@@ -2537,6 +2639,10 @@ function commitDraftOrder(payload) {
2537
2639
  {
2538
2640
  path: "orderAfterCommit.lineItems.subscriptionInfo.subscriptionSettings.startDate"
2539
2641
  },
2642
+ {
2643
+ path: "orderAfterCommit.lineItems.serviceProperties.scheduledDate"
2644
+ },
2645
+ { path: "orderAfterCommit.lineItems.serviceProperties.endDate" },
2540
2646
  { path: "orderAfterCommit.shippingInfo.logistics.deliverByDate" },
2541
2647
  {
2542
2648
  path: "orderAfterCommit.shippingInfo.logistics.deliveryTimeSlot.from"
@@ -2677,6 +2783,12 @@ function createOrderFromDraft(payload) {
2677
2783
  {
2678
2784
  path: "committedDraftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2679
2785
  },
2786
+ {
2787
+ path: "committedDraftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
2788
+ },
2789
+ {
2790
+ path: "committedDraftOrder.lineItems.lineItem.serviceProperties.endDate"
2791
+ },
2680
2792
  {
2681
2793
  path: "committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2682
2794
  },
@@ -2703,6 +2815,10 @@ function createOrderFromDraft(payload) {
2703
2815
  {
2704
2816
  path: "createdOrder.lineItems.subscriptionInfo.subscriptionSettings.startDate"
2705
2817
  },
2818
+ {
2819
+ path: "createdOrder.lineItems.serviceProperties.scheduledDate"
2820
+ },
2821
+ { path: "createdOrder.lineItems.serviceProperties.endDate" },
2706
2822
  { path: "createdOrder.shippingInfo.logistics.deliverByDate" },
2707
2823
  {
2708
2824
  path: "createdOrder.shippingInfo.logistics.deliveryTimeSlot.from"
@@ -2867,6 +2983,12 @@ function queryDraftOrders(payload) {
2867
2983
  {
2868
2984
  path: "draftOrders.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2869
2985
  },
2986
+ {
2987
+ path: "draftOrders.lineItems.lineItem.serviceProperties.scheduledDate"
2988
+ },
2989
+ {
2990
+ path: "draftOrders.lineItems.lineItem.serviceProperties.endDate"
2991
+ },
2870
2992
  {
2871
2993
  path: "draftOrders.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2872
2994
  },
@@ -2982,6 +3104,12 @@ function updateExtendedFields(payload) {
2982
3104
  {
2983
3105
  path: "draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2984
3106
  },
3107
+ {
3108
+ path: "draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
3109
+ },
3110
+ {
3111
+ path: "draftOrder.lineItems.lineItem.serviceProperties.endDate"
3112
+ },
2985
3113
  {
2986
3114
  path: "draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2987
3115
  },
@@ -3099,6 +3227,12 @@ function setTaxExemption(payload) {
3099
3227
  {
3100
3228
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
3101
3229
  },
3230
+ {
3231
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
3232
+ },
3233
+ {
3234
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
3235
+ },
3102
3236
  {
3103
3237
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
3104
3238
  },
@@ -3236,6 +3370,12 @@ function setBusinessLocation(payload) {
3236
3370
  {
3237
3371
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
3238
3372
  },
3373
+ {
3374
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
3375
+ },
3376
+ {
3377
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
3378
+ },
3239
3379
  {
3240
3380
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
3241
3381
  },
@@ -3554,6 +3694,12 @@ var NonDraftableReason = /* @__PURE__ */ ((NonDraftableReason2) => {
3554
3694
  NonDraftableReason2["ORDER_AND_SITE_WEIGHT_UNITS_ARE_INCONSISTENT"] = "ORDER_AND_SITE_WEIGHT_UNITS_ARE_INCONSISTENT";
3555
3695
  NonDraftableReason2["ORDER_NOT_FOUND"] = "ORDER_NOT_FOUND";
3556
3696
  NonDraftableReason2["SUBSCRIPTION_LINE_ITEM_EXISTS"] = "SUBSCRIPTION_LINE_ITEM_EXISTS";
3697
+ NonDraftableReason2["AMOUNTS_DO_NOT_ADD_UP"] = "AMOUNTS_DO_NOT_ADD_UP";
3698
+ NonDraftableReason2["UNSUPPORTED_CATALOG_ITEM"] = "UNSUPPORTED_CATALOG_ITEM";
3699
+ NonDraftableReason2["TAXABLE_EXISTING_ADDITIONAL_FEE"] = "TAXABLE_EXISTING_ADDITIONAL_FEE";
3700
+ NonDraftableReason2["ORDER_HAS_CHARGEBACKS"] = "ORDER_HAS_CHARGEBACKS";
3701
+ NonDraftableReason2["EDITING_IS_NOT_ALLOWED_FOR_APP"] = "EDITING_IS_NOT_ALLOWED_FOR_APP";
3702
+ NonDraftableReason2["COUPON_BEHAVIOR_IS_UNDEFINED"] = "COUPON_BEHAVIOR_IS_UNDEFINED";
3557
3703
  return NonDraftableReason2;
3558
3704
  })(NonDraftableReason || {});
3559
3705
  var PaymentStatus = /* @__PURE__ */ ((PaymentStatus2) => {
@@ -5707,6 +5853,10 @@ var onDraftOrderCreated = (0, import_sdk_types.EventDefinition)(
5707
5853
  {
5708
5854
  path: "entity.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
5709
5855
  },
5856
+ {
5857
+ path: "entity.lineItems.lineItem.serviceProperties.scheduledDate"
5858
+ },
5859
+ { path: "entity.lineItems.lineItem.serviceProperties.endDate" },
5710
5860
  {
5711
5861
  path: "entity.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
5712
5862
  },
@@ -5781,6 +5931,10 @@ var onDraftOrderDeleted = (0, import_sdk_types.EventDefinition)(
5781
5931
  {
5782
5932
  path: "entity.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
5783
5933
  },
5934
+ {
5935
+ path: "entity.lineItems.lineItem.serviceProperties.scheduledDate"
5936
+ },
5937
+ { path: "entity.lineItems.lineItem.serviceProperties.endDate" },
5784
5938
  {
5785
5939
  path: "entity.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
5786
5940
  },
@@ -5855,6 +6009,10 @@ var onDraftOrderUpdated = (0, import_sdk_types.EventDefinition)(
5855
6009
  {
5856
6010
  path: "entity.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
5857
6011
  },
6012
+ {
6013
+ path: "entity.lineItems.lineItem.serviceProperties.scheduledDate"
6014
+ },
6015
+ { path: "entity.lineItems.lineItem.serviceProperties.endDate" },
5858
6016
  {
5859
6017
  path: "entity.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
5860
6018
  },
@@ -5882,6 +6040,12 @@ var onDraftOrderUpdated = (0, import_sdk_types.EventDefinition)(
5882
6040
  {
5883
6041
  path: "modifiedFields.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
5884
6042
  },
6043
+ {
6044
+ path: "modifiedFields.lineItems.lineItem.serviceProperties.scheduledDate"
6045
+ },
6046
+ {
6047
+ path: "modifiedFields.lineItems.lineItem.serviceProperties.endDate"
6048
+ },
5885
6049
  {
5886
6050
  path: "modifiedFields.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
5887
6051
  },