@wix/auto_sdk_ecom_draft-orders 1.0.148 → 1.0.150

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 +9 -9
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +94 -72
  5. package/build/cjs/index.typings.js +9 -9
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +94 -72
  8. package/build/cjs/meta.js +9 -9
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +1 -1
  11. package/build/es/index.mjs +9 -9
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +94 -72
  14. package/build/es/index.typings.mjs +9 -9
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +94 -72
  17. package/build/es/meta.mjs +9 -9
  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 +9 -9
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +107 -83
  23. package/build/internal/cjs/index.typings.js +9 -9
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +94 -72
  26. package/build/internal/cjs/meta.js +9 -9
  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 +9 -9
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +107 -83
  32. package/build/internal/es/index.typings.mjs +9 -9
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +94 -72
  35. package/build/internal/es/meta.mjs +9 -9
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -352,6 +352,77 @@ interface ItemModifier {
352
352
  /** The price of the modifier. */
353
353
  price?: Price;
354
354
  }
355
+ interface LineItemTaxInfo {
356
+ /** Calculated tax, based on `taxable_amount` and `tax_rate`. */
357
+ taxAmount?: Price;
358
+ /** Amount for which tax is calculated. */
359
+ taxableAmount?: Price;
360
+ /**
361
+ * Tax rate %, as a decimal point.
362
+ * @format DECIMAL_VALUE
363
+ * @decimalValue options { gte:0, maxScale:6 }
364
+ */
365
+ taxRate?: string | null;
366
+ /**
367
+ * Tax group ID.
368
+ * @format GUID
369
+ */
370
+ taxGroupId?: string | null;
371
+ /** Indicates whether the price already includes tax. */
372
+ taxIncludedInPrice?: boolean;
373
+ /**
374
+ * Tax information for a line item.
375
+ * @maxSize 7
376
+ */
377
+ taxBreakdown?: LineItemTaxBreakdown[];
378
+ }
379
+ /**
380
+ * TaxBreakdown represents tax information for a line item.
381
+ * It holds the tax amount and the tax rate for each tax authority that apply on the line item.
382
+ */
383
+ interface LineItemTaxBreakdown {
384
+ /**
385
+ * Jurisdiction that taxes were calculated for. For example, "New York", or "Quebec".
386
+ * @maxLength 200
387
+ */
388
+ jurisdiction?: string | null;
389
+ /**
390
+ * Tax rate used for this jurisdiction, as a decimal. For example, 10% tax is 0.1000.
391
+ * @format DECIMAL_VALUE
392
+ * @decimalValue options { gte:0, maxScale:6 }
393
+ */
394
+ rate?: string | null;
395
+ /** Amount of tax calculated for this line item. */
396
+ taxAmount?: Price;
397
+ /**
398
+ * The type of tax that was calculated. Depends on the jurisdiction's tax laws. For example, "Sales Tax", "Income Tax", "Value Added Tax", etc.
399
+ * @maxLength 200
400
+ */
401
+ taxType?: string | null;
402
+ /**
403
+ * The name of the tax against which this tax amount was calculated. For example, "NY State Sales Tax", "Quebec GST", etc.
404
+ * This name should be explicit enough to allow the merchant to understand what tax was calculated.
405
+ * @maxLength 200
406
+ */
407
+ taxName?: string | null;
408
+ /** Type of jurisdiction that taxes were calculated for. */
409
+ jurisdictionType?: JurisdictionTypeWithLiterals;
410
+ /** Non-taxable amount of the line item price. */
411
+ nonTaxableAmount?: Price;
412
+ /** Taxable amount of the line item price. */
413
+ taxableAmount?: Price;
414
+ }
415
+ /** JurisdictionType represents the type of the jurisdiction in which this tax detail applies (e.g. Country,State,County,City,Special). */
416
+ declare enum JurisdictionType {
417
+ UNDEFINED = "UNDEFINED",
418
+ COUNTRY = "COUNTRY",
419
+ STATE = "STATE",
420
+ COUNTY = "COUNTY",
421
+ CITY = "CITY",
422
+ SPECIAL = "SPECIAL"
423
+ }
424
+ /** @enumType */
425
+ type JurisdictionTypeWithLiterals = JurisdictionType | 'UNDEFINED' | 'COUNTRY' | 'STATE' | 'COUNTY' | 'CITY' | 'SPECIAL';
355
426
  interface OrderLineItem {
356
427
  /**
357
428
  * Line item ID.
@@ -639,77 +710,6 @@ interface ItemTaxFullDetails {
639
710
  /** The calculated tax, based on the `taxableAmount` and `taxRate`. */
640
711
  totalTax?: Price;
641
712
  }
642
- interface LineItemTaxInfo {
643
- /** Calculated tax, based on `taxable_amount` and `tax_rate`. */
644
- taxAmount?: Price;
645
- /** Amount for which tax is calculated. */
646
- taxableAmount?: Price;
647
- /**
648
- * Tax rate %, as a decimal point.
649
- * @format DECIMAL_VALUE
650
- * @decimalValue options { gte:0, maxScale:6 }
651
- */
652
- taxRate?: string | null;
653
- /**
654
- * Tax group ID.
655
- * @format GUID
656
- */
657
- taxGroupId?: string | null;
658
- /** Indicates whether the price already includes tax. */
659
- taxIncludedInPrice?: boolean;
660
- /**
661
- * Tax information for a line item.
662
- * @maxSize 7
663
- */
664
- taxBreakdown?: LineItemTaxBreakdown[];
665
- }
666
- /**
667
- * TaxBreakdown represents tax information for a line item.
668
- * It holds the tax amount and the tax rate for each tax authority that apply on the line item.
669
- */
670
- interface LineItemTaxBreakdown {
671
- /**
672
- * Jurisdiction that taxes were calculated for. For example, "New York", or "Quebec".
673
- * @maxLength 200
674
- */
675
- jurisdiction?: string | null;
676
- /**
677
- * Tax rate used for this jurisdiction, as a decimal. For example, 10% tax is 0.1000.
678
- * @format DECIMAL_VALUE
679
- * @decimalValue options { gte:0, maxScale:6 }
680
- */
681
- rate?: string | null;
682
- /** Amount of tax calculated for this line item. */
683
- taxAmount?: Price;
684
- /**
685
- * The type of tax that was calculated. Depends on the jurisdiction's tax laws. For example, "Sales Tax", "Income Tax", "Value Added Tax", etc.
686
- * @maxLength 200
687
- */
688
- taxType?: string | null;
689
- /**
690
- * The name of the tax against which this tax amount was calculated. For example, "NY State Sales Tax", "Quebec GST", etc.
691
- * This name should be explicit enough to allow the merchant to understand what tax was calculated.
692
- * @maxLength 200
693
- */
694
- taxName?: string | null;
695
- /** Type of jurisdiction that taxes were calculated for. */
696
- jurisdictionType?: JurisdictionTypeWithLiterals;
697
- /** Non-taxable amount of the line item price. */
698
- nonTaxableAmount?: Price;
699
- /** Taxable amount of the line item price. */
700
- taxableAmount?: Price;
701
- }
702
- /** JurisdictionType represents the type of the jurisdiction in which this tax detail applies (e.g. Country,State,County,City,Special). */
703
- declare enum JurisdictionType {
704
- UNDEFINED = "UNDEFINED",
705
- COUNTRY = "COUNTRY",
706
- STATE = "STATE",
707
- COUNTY = "COUNTY",
708
- CITY = "CITY",
709
- SPECIAL = "SPECIAL"
710
- }
711
- /** @enumType */
712
- type JurisdictionTypeWithLiterals = JurisdictionType | 'UNDEFINED' | 'COUNTRY' | 'STATE' | 'COUNTY' | 'CITY' | 'SPECIAL';
713
713
  interface DigitalFile {
714
714
  /**
715
715
  * ID of the secure file in media.
@@ -934,6 +934,28 @@ interface ItemChangedDetails {
934
934
  */
935
935
  modifierGroupsBeforeChange?: ModifierGroup[];
936
936
  }
937
+ /**
938
+ * Snapshot of derived fields before a recalculation-driven ("implicit") change.
939
+ * Only fields that actually changed are populated.
940
+ */
941
+ interface ItemChangedImplicitlyDetails {
942
+ /** Total discount for this line item before the implicit change. */
943
+ totalDiscountBeforeChange?: Price;
944
+ /** Line item tax info before the implicit change. */
945
+ taxInfoBeforeChange?: LineItemTaxInfo;
946
+ /** Line item price (after line-item discounts) before the implicit change. */
947
+ lineItemPriceBeforeChange?: Price;
948
+ /** Line item total price before tax, before the implicit change. */
949
+ totalPriceBeforeTaxBeforeChange?: Price;
950
+ /** Line item total price after tax, before the implicit change. */
951
+ totalPriceAfterTaxBeforeChange?: Price;
952
+ /** Line item unit price before the implicit change. */
953
+ priceBeforeChange?: Price;
954
+ /** Line item price before line-item discounts, before the implicit change. */
955
+ priceBeforeDiscountsBeforeChange?: Price;
956
+ /** Line item price before line-item discounts and tax, before the implicit change. */
957
+ priceBeforeDiscountsAndTaxBeforeChange?: Price;
958
+ }
937
959
  interface ShippingDetails extends ShippingDetailsChangeTypeOneOf {
938
960
  /** Whether shipping info was added as part of the draft. */
939
961
  added?: boolean;
@@ -6000,4 +6022,4 @@ interface SetBusinessLocationOptions {
6000
6022
  businessLocation?: Location;
6001
6023
  }
6002
6024
 
6003
- 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 DeleteCustomAdditionalFeesApplicationErrors, type DeleteCustomAdditionalFeesRequest, type DeleteCustomAdditionalFeesResponse, type DeleteCustomDiscountsApplicationErrors, type DeleteCustomDiscountsRequest, type DeleteCustomDiscountsResponse, type DeleteDraftOrderApplicationErrors, type DeleteDraftOrderRequest, type DeleteDraftOrderResponse, type DeliveryLogistics, type DeliveryTimeSlot, type DepositDetails, type DepositDetailsDepositOneOf, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type DescriptionLinesOverride, type Details, type DetailsKindOneOf, type DigitalFile, type Dimensions, DimensionsUnit, type DimensionsUnitWithLiterals, type DiscountDetails, type DiscountOption, type DiscountOptionDiscountAmountOneOf, DiscountReason, type DiscountReasonWithLiterals, type DiscountRule, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type DraftOrder, type DraftOrderChangesApplied, type DraftOrderCommitSettings, type DraftOrderCreatedEnvelope, type DraftOrderDeletedEnvelope, type DraftOrderInput, type DraftOrderQuery, type DraftOrderQuerySpec, type DraftOrderUpdatedEnvelope, type DraftOrdersQueryBuilder, type DraftOrdersQueryResult, EditingStatus, type EditingStatusWithLiterals, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type ExternalReceipt, type FieldViolation, FileType, type FileTypeWithLiterals, type FocalPoint, type FormIdentifier, type FormInfo, type FreeTrialPeriod, FulfillmentStatus, type FulfillmentStatusWithLiterals, type FulfillmentStatusesAggregate, type FullAddressContactDetails, type GetDraftOrderApplicationErrors, type GetDraftOrderRequest, type GetDraftOrderResponse, type GetOrderDraftabilityStatusRequest, type GetOrderDraftabilityStatusResponse, type GiftCardPaymentRefund, type IdAndApplied, type IdentificationData, type IdentificationDataIdOneOf, type InventoryUpdate, type ItemChangedDetails, type ItemCombination, type ItemCombinationLineItem, type ItemDetails, type ItemDetailsChangeTypeOneOf, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItemAmount, type LineItemChangeDetails, type LineItemChanges, type LineItemDescriptionLineChange, type LineItemDiscount, type LineItemExchangeData, type LineItemModifiersChange, type LineItemPriceChange, type LineItemProductNameChange, type LineItemQuantityChange, LineItemQuantityChangeType, type LineItemQuantityChangeTypeWithLiterals, type LineItemTaxBreakdown, type LineItemTaxInfo, type Location, type LocationAndQuantity, type ManagedAdditionalFee, type ManagedDiscount, type ManagedLineItem, type MembershipPaymentRefund, type MerchantComment, type MerchantDiscount, type MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope, type ModifierGroup, type ModifiersGroupsOverride, type NewExchangeOrderCreated, NonDraftableReason, type NonDraftableReasonWithLiterals, type Order, OrderActionType, type OrderActionTypeWithLiterals, OrderActivityTypeEnumActivityType, type OrderActivityTypeEnumActivityTypeWithLiterals, type OrderChange, type OrderChangeValueOneOf, type OrderCreateNotifications, type OrderCreateSettings, type OrderCreateSettingsEditableByOneOf, type OrderCreatedFromExchange, type OrderLineItem, type OrderRefunded, type OrderSettings, type OrderSettingsAllowedActionsOneOf, type OrderSettingsEditableByOneOf, OrderStatus, type OrderStatusWithLiterals, type OrderTaxBreakdown, type OrderTaxInfo, type OwnerApps, type PaymentCanceled, type PaymentCanceledPaymentDetailsOneOf, type PaymentDeclined, type PaymentDeclinedPaymentDetailsOneOf, 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, 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 };
6025
+ 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 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, 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, 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 };
@@ -3335,6 +3335,15 @@ var DescriptionLineType = /* @__PURE__ */ ((DescriptionLineType2) => {
3335
3335
  DescriptionLineType2["COLOR"] = "COLOR";
3336
3336
  return DescriptionLineType2;
3337
3337
  })(DescriptionLineType || {});
3338
+ var JurisdictionType = /* @__PURE__ */ ((JurisdictionType2) => {
3339
+ JurisdictionType2["UNDEFINED"] = "UNDEFINED";
3340
+ JurisdictionType2["COUNTRY"] = "COUNTRY";
3341
+ JurisdictionType2["STATE"] = "STATE";
3342
+ JurisdictionType2["COUNTY"] = "COUNTY";
3343
+ JurisdictionType2["CITY"] = "CITY";
3344
+ JurisdictionType2["SPECIAL"] = "SPECIAL";
3345
+ return JurisdictionType2;
3346
+ })(JurisdictionType || {});
3338
3347
  var DimensionsUnit = /* @__PURE__ */ ((DimensionsUnit2) => {
3339
3348
  DimensionsUnit2["UNKNOWN_DIMENSIONS_UNIT"] = "UNKNOWN_DIMENSIONS_UNIT";
3340
3349
  DimensionsUnit2["MM"] = "MM";
@@ -3362,15 +3371,6 @@ var PaymentOptionType = /* @__PURE__ */ ((PaymentOptionType2) => {
3362
3371
  PaymentOptionType2["MEMBERSHIP_ONLINE_WITH_OFFLINE_REMAINDER"] = "MEMBERSHIP_ONLINE_WITH_OFFLINE_REMAINDER";
3363
3372
  return PaymentOptionType2;
3364
3373
  })(PaymentOptionType || {});
3365
- var JurisdictionType = /* @__PURE__ */ ((JurisdictionType2) => {
3366
- JurisdictionType2["UNDEFINED"] = "UNDEFINED";
3367
- JurisdictionType2["COUNTRY"] = "COUNTRY";
3368
- JurisdictionType2["STATE"] = "STATE";
3369
- JurisdictionType2["COUNTY"] = "COUNTY";
3370
- JurisdictionType2["CITY"] = "CITY";
3371
- JurisdictionType2["SPECIAL"] = "SPECIAL";
3372
- return JurisdictionType2;
3373
- })(JurisdictionType || {});
3374
3374
  var SubscriptionFrequency = /* @__PURE__ */ ((SubscriptionFrequency2) => {
3375
3375
  SubscriptionFrequency2["UNDEFINED"] = "UNDEFINED";
3376
3376
  SubscriptionFrequency2["DAY"] = "DAY";