@wix/auto_sdk_ecom_draft-orders 1.0.165 → 1.0.167

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 +171 -0
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +29 -1
  5. package/build/cjs/index.typings.js +153 -0
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +29 -1
  8. package/build/cjs/meta.js +155 -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 +170 -0
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +29 -1
  14. package/build/es/index.typings.mjs +152 -0
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +29 -1
  17. package/build/es/meta.mjs +154 -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 +171 -0
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +333 -2
  23. package/build/internal/cjs/index.typings.js +153 -0
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +840 -3
  26. package/build/internal/cjs/meta.js +155 -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 +170 -0
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +333 -2
  32. package/build/internal/es/index.typings.mjs +152 -0
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +840 -3
  35. package/build/internal/es/meta.mjs +154 -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.
@@ -2965,6 +2978,21 @@ interface CommitDraftOrderRequest {
2965
2978
  */
2966
2979
  reason?: string | null;
2967
2980
  }
2981
+ /** How committing endpoints treat the draft order's totals calculation. */
2982
+ declare enum CalculationBehavior {
2983
+ /** Recalculate totals before committing. Default behavior. */
2984
+ RECALCULATE = "RECALCULATE",
2985
+ /**
2986
+ * Commit the last persisted calculation without recalculating totals.
2987
+ * A hint, not a command: the server falls back to `RECALCULATE` when the persisted
2988
+ * calculation cannot be safely reused, for example when it is older than a
2989
+ * server-configured staleness bound or completed with calculation errors.
2990
+ * The payment balance is always refreshed.
2991
+ */
2992
+ REUSE_LAST = "REUSE_LAST"
2993
+ }
2994
+ /** @enumType */
2995
+ type CalculationBehaviorWithLiterals = CalculationBehavior | 'RECALCULATE' | 'REUSE_LAST';
2968
2996
  interface CommitDraftOrderResponse {
2969
2997
  /** Draft order after commit. */
2970
2998
  committedDraftOrder?: DraftOrder;
@@ -6201,4 +6229,4 @@ interface SetBusinessLocationOptions {
6201
6229
  businessLocation?: Location;
6202
6230
  }
6203
6231
 
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 };
6232
+ 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, CalculationBehavior, type CalculationBehaviorWithLiterals, 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 };
@@ -25,6 +25,7 @@ __export(index_typings_exports, {
25
25
  AdjustmentType: () => AdjustmentType,
26
26
  AppliedDiscountDiscountType: () => AppliedDiscountDiscountType,
27
27
  AttributionSource: () => AttributionSource,
28
+ CalculationBehavior: () => CalculationBehavior,
28
29
  ChannelType: () => ChannelType,
29
30
  ChargeType: () => ChargeType,
30
31
  DescriptionLineType: () => DescriptionLineType,
@@ -207,6 +208,12 @@ function createDraftOrder(payload) {
207
208
  {
208
209
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
209
210
  },
211
+ {
212
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
213
+ },
214
+ {
215
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
216
+ },
210
217
  {
211
218
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
212
219
  },
@@ -344,6 +351,12 @@ function createEmptyDraftOrder(payload) {
344
351
  {
345
352
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
346
353
  },
354
+ {
355
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
356
+ },
357
+ {
358
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
359
+ },
347
360
  {
348
361
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
349
362
  },
@@ -499,6 +512,12 @@ function addLineItemsToDraftOrder(payload) {
499
512
  {
500
513
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
501
514
  },
515
+ {
516
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
517
+ },
518
+ {
519
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
520
+ },
502
521
  {
503
522
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
504
523
  },
@@ -642,6 +661,12 @@ function updateLineItems(payload) {
642
661
  {
643
662
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
644
663
  },
664
+ {
665
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
666
+ },
667
+ {
668
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
669
+ },
645
670
  {
646
671
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
647
672
  },
@@ -779,6 +804,12 @@ function setDeposit(payload) {
779
804
  {
780
805
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
781
806
  },
807
+ {
808
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
809
+ },
810
+ {
811
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
812
+ },
782
813
  {
783
814
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
784
815
  },
@@ -916,6 +947,12 @@ function setDiscounts(payload) {
916
947
  {
917
948
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
918
949
  },
950
+ {
951
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
952
+ },
953
+ {
954
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
955
+ },
919
956
  {
920
957
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
921
958
  },
@@ -1053,6 +1090,12 @@ function createCustomDiscounts(payload) {
1053
1090
  {
1054
1091
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1055
1092
  },
1093
+ {
1094
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1095
+ },
1096
+ {
1097
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1098
+ },
1056
1099
  {
1057
1100
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1058
1101
  },
@@ -1190,6 +1233,12 @@ function deleteCustomDiscounts(payload) {
1190
1233
  {
1191
1234
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1192
1235
  },
1236
+ {
1237
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1238
+ },
1239
+ {
1240
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1241
+ },
1193
1242
  {
1194
1243
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1195
1244
  },
@@ -1327,6 +1376,12 @@ function setAdditionalFees(payload) {
1327
1376
  {
1328
1377
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1329
1378
  },
1379
+ {
1380
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1381
+ },
1382
+ {
1383
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1384
+ },
1330
1385
  {
1331
1386
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1332
1387
  },
@@ -1464,6 +1519,12 @@ function createCustomAdditionalFees(payload) {
1464
1519
  {
1465
1520
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1466
1521
  },
1522
+ {
1523
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1524
+ },
1525
+ {
1526
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1527
+ },
1467
1528
  {
1468
1529
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1469
1530
  },
@@ -1601,6 +1662,12 @@ function deleteCustomAdditionalFees(payload) {
1601
1662
  {
1602
1663
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1603
1664
  },
1665
+ {
1666
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1667
+ },
1668
+ {
1669
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1670
+ },
1604
1671
  {
1605
1672
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1606
1673
  },
@@ -1765,6 +1832,12 @@ function setShippingInfo(payload) {
1765
1832
  {
1766
1833
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1767
1834
  },
1835
+ {
1836
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1837
+ },
1838
+ {
1839
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1840
+ },
1768
1841
  {
1769
1842
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1770
1843
  },
@@ -1902,6 +1975,12 @@ function setBuyerInfo(payload) {
1902
1975
  {
1903
1976
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1904
1977
  },
1978
+ {
1979
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1980
+ },
1981
+ {
1982
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1983
+ },
1905
1984
  {
1906
1985
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1907
1986
  },
@@ -2048,6 +2127,12 @@ function setRecipientInfo(payload) {
2048
2127
  {
2049
2128
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2050
2129
  },
2130
+ {
2131
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
2132
+ },
2133
+ {
2134
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
2135
+ },
2051
2136
  {
2052
2137
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2053
2138
  },
@@ -2194,6 +2279,12 @@ function setBillingInfo(payload) {
2194
2279
  {
2195
2280
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2196
2281
  },
2282
+ {
2283
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
2284
+ },
2285
+ {
2286
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
2287
+ },
2197
2288
  {
2198
2289
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2199
2290
  },
@@ -2331,6 +2422,12 @@ function getDraftOrder(payload) {
2331
2422
  {
2332
2423
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2333
2424
  },
2425
+ {
2426
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
2427
+ },
2428
+ {
2429
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
2430
+ },
2334
2431
  {
2335
2432
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2336
2433
  },
@@ -2500,6 +2597,12 @@ function commitDraftOrder(payload) {
2500
2597
  {
2501
2598
  path: "committedDraftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2502
2599
  },
2600
+ {
2601
+ path: "committedDraftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
2602
+ },
2603
+ {
2604
+ path: "committedDraftOrder.lineItems.lineItem.serviceProperties.endDate"
2605
+ },
2503
2606
  {
2504
2607
  path: "committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2505
2608
  },
@@ -2526,6 +2629,10 @@ function commitDraftOrder(payload) {
2526
2629
  {
2527
2630
  path: "orderAfterCommit.lineItems.subscriptionInfo.subscriptionSettings.startDate"
2528
2631
  },
2632
+ {
2633
+ path: "orderAfterCommit.lineItems.serviceProperties.scheduledDate"
2634
+ },
2635
+ { path: "orderAfterCommit.lineItems.serviceProperties.endDate" },
2529
2636
  { path: "orderAfterCommit.shippingInfo.logistics.deliverByDate" },
2530
2637
  {
2531
2638
  path: "orderAfterCommit.shippingInfo.logistics.deliveryTimeSlot.from"
@@ -2666,6 +2773,12 @@ function createOrderFromDraft(payload) {
2666
2773
  {
2667
2774
  path: "committedDraftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2668
2775
  },
2776
+ {
2777
+ path: "committedDraftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
2778
+ },
2779
+ {
2780
+ path: "committedDraftOrder.lineItems.lineItem.serviceProperties.endDate"
2781
+ },
2669
2782
  {
2670
2783
  path: "committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2671
2784
  },
@@ -2692,6 +2805,10 @@ function createOrderFromDraft(payload) {
2692
2805
  {
2693
2806
  path: "createdOrder.lineItems.subscriptionInfo.subscriptionSettings.startDate"
2694
2807
  },
2808
+ {
2809
+ path: "createdOrder.lineItems.serviceProperties.scheduledDate"
2810
+ },
2811
+ { path: "createdOrder.lineItems.serviceProperties.endDate" },
2695
2812
  { path: "createdOrder.shippingInfo.logistics.deliverByDate" },
2696
2813
  {
2697
2814
  path: "createdOrder.shippingInfo.logistics.deliveryTimeSlot.from"
@@ -2856,6 +2973,12 @@ function queryDraftOrders(payload) {
2856
2973
  {
2857
2974
  path: "draftOrders.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2858
2975
  },
2976
+ {
2977
+ path: "draftOrders.lineItems.lineItem.serviceProperties.scheduledDate"
2978
+ },
2979
+ {
2980
+ path: "draftOrders.lineItems.lineItem.serviceProperties.endDate"
2981
+ },
2859
2982
  {
2860
2983
  path: "draftOrders.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2861
2984
  },
@@ -2971,6 +3094,12 @@ function updateExtendedFields(payload) {
2971
3094
  {
2972
3095
  path: "draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2973
3096
  },
3097
+ {
3098
+ path: "draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
3099
+ },
3100
+ {
3101
+ path: "draftOrder.lineItems.lineItem.serviceProperties.endDate"
3102
+ },
2974
3103
  {
2975
3104
  path: "draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2976
3105
  },
@@ -3088,6 +3217,12 @@ function setTaxExemption(payload) {
3088
3217
  {
3089
3218
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
3090
3219
  },
3220
+ {
3221
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
3222
+ },
3223
+ {
3224
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
3225
+ },
3091
3226
  {
3092
3227
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
3093
3228
  },
@@ -3225,6 +3360,12 @@ function setBusinessLocation(payload) {
3225
3360
  {
3226
3361
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
3227
3362
  },
3363
+ {
3364
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
3365
+ },
3366
+ {
3367
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
3368
+ },
3228
3369
  {
3229
3370
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
3230
3371
  },
@@ -3543,8 +3684,19 @@ var NonDraftableReason = /* @__PURE__ */ ((NonDraftableReason2) => {
3543
3684
  NonDraftableReason2["ORDER_AND_SITE_WEIGHT_UNITS_ARE_INCONSISTENT"] = "ORDER_AND_SITE_WEIGHT_UNITS_ARE_INCONSISTENT";
3544
3685
  NonDraftableReason2["ORDER_NOT_FOUND"] = "ORDER_NOT_FOUND";
3545
3686
  NonDraftableReason2["SUBSCRIPTION_LINE_ITEM_EXISTS"] = "SUBSCRIPTION_LINE_ITEM_EXISTS";
3687
+ NonDraftableReason2["AMOUNTS_DO_NOT_ADD_UP"] = "AMOUNTS_DO_NOT_ADD_UP";
3688
+ NonDraftableReason2["UNSUPPORTED_CATALOG_ITEM"] = "UNSUPPORTED_CATALOG_ITEM";
3689
+ NonDraftableReason2["TAXABLE_EXISTING_ADDITIONAL_FEE"] = "TAXABLE_EXISTING_ADDITIONAL_FEE";
3690
+ NonDraftableReason2["ORDER_HAS_CHARGEBACKS"] = "ORDER_HAS_CHARGEBACKS";
3691
+ NonDraftableReason2["EDITING_IS_NOT_ALLOWED_FOR_APP"] = "EDITING_IS_NOT_ALLOWED_FOR_APP";
3692
+ NonDraftableReason2["COUPON_BEHAVIOR_IS_UNDEFINED"] = "COUPON_BEHAVIOR_IS_UNDEFINED";
3546
3693
  return NonDraftableReason2;
3547
3694
  })(NonDraftableReason || {});
3695
+ var CalculationBehavior = /* @__PURE__ */ ((CalculationBehavior2) => {
3696
+ CalculationBehavior2["RECALCULATE"] = "RECALCULATE";
3697
+ CalculationBehavior2["REUSE_LAST"] = "REUSE_LAST";
3698
+ return CalculationBehavior2;
3699
+ })(CalculationBehavior || {});
3548
3700
  var PaymentStatus = /* @__PURE__ */ ((PaymentStatus2) => {
3549
3701
  PaymentStatus2["UNSPECIFIED"] = "UNSPECIFIED";
3550
3702
  PaymentStatus2["NOT_PAID"] = "NOT_PAID";
@@ -5495,6 +5647,7 @@ async function setBusinessLocation2(draftOrderId, options) {
5495
5647
  AdjustmentType,
5496
5648
  AppliedDiscountDiscountType,
5497
5649
  AttributionSource,
5650
+ CalculationBehavior,
5498
5651
  ChannelType,
5499
5652
  ChargeType,
5500
5653
  DescriptionLineType,