@wix/auto_sdk_ecom_draft-orders 1.0.57 → 1.0.59

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.
@@ -199,6 +199,146 @@ interface PriceDescription {
199
199
  */
200
200
  translated?: string | null;
201
201
  }
202
+ interface ProductName {
203
+ /**
204
+ * __Required.__ Item name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
205
+ *
206
+ * Min: 1 character.
207
+ * Max: 200 characters.
208
+ * @minLength 1
209
+ * @maxLength 200
210
+ */
211
+ original?: string;
212
+ /**
213
+ * Item name translated into the buyer's language.
214
+ *
215
+ * Min: 1 character.
216
+ * Max: 400 characters.
217
+ * Default: Same as `original`.
218
+ * @minLength 1
219
+ * @maxLength 400
220
+ */
221
+ translated?: string | null;
222
+ }
223
+ interface DescriptionLine extends DescriptionLineValueOneOf, DescriptionLineDescriptionLineValueOneOf {
224
+ /** Description line plain text value. */
225
+ plainText?: PlainTextValue;
226
+ /** Description line color value. */
227
+ colorInfo?: Color;
228
+ /** Description line name. */
229
+ name?: DescriptionLineName;
230
+ }
231
+ /** @oneof */
232
+ interface DescriptionLineValueOneOf {
233
+ /** Description line plain text value. */
234
+ plainText?: PlainTextValue;
235
+ /** Description line color value. */
236
+ colorInfo?: Color;
237
+ }
238
+ /** @oneof */
239
+ interface DescriptionLineDescriptionLineValueOneOf {
240
+ }
241
+ interface DescriptionLineName {
242
+ /**
243
+ * Description line name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
244
+ * @maxLength 100
245
+ */
246
+ original?: string;
247
+ /**
248
+ * Description line name translated into the buyer's language.
249
+ *
250
+ * Default: Same as `original`.
251
+ * @maxLength 200
252
+ */
253
+ translated?: string | null;
254
+ }
255
+ interface PlainTextValue {
256
+ /**
257
+ * Description line plain text value in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
258
+ * @maxLength 600
259
+ */
260
+ original?: string;
261
+ /**
262
+ * Description line plain text value translated into the buyer's language.
263
+ *
264
+ * Default: Same as `original`.
265
+ * @maxLength 600
266
+ */
267
+ translated?: string | null;
268
+ }
269
+ interface Color {
270
+ /**
271
+ * Description line color name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
272
+ * @maxLength 500
273
+ */
274
+ original?: string;
275
+ /**
276
+ * Description line color name translated into the buyer's language.
277
+ *
278
+ * Default: Same as `original`.
279
+ * @maxLength 500
280
+ */
281
+ translated?: string | null;
282
+ /** HEX or RGB color code for display. */
283
+ code?: string | null;
284
+ }
285
+ interface ModifierGroup {
286
+ /**
287
+ * Modifier group ID.
288
+ * @minLength 1
289
+ * @maxLength 36
290
+ */
291
+ id?: string;
292
+ /** Modifier group name. */
293
+ name?: TranslatableString;
294
+ /**
295
+ * List of modifiers in this group.
296
+ * @minSize 1
297
+ * @maxSize 10
298
+ */
299
+ modifiers?: ItemModifier[];
300
+ }
301
+ interface TranslatableString {
302
+ /**
303
+ * __Required.__ String in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
304
+ *
305
+ * Min: 1 character.
306
+ * Max: 200 characters.
307
+ * @minLength 1
308
+ * @maxLength 200
309
+ */
310
+ original?: string;
311
+ /**
312
+ * String translated into the buyer's language.
313
+ *
314
+ * Min: 1 character.
315
+ * Max: 400 characters.
316
+ * Default: Same as `original`.
317
+ * @minLength 1
318
+ * @maxLength 400
319
+ */
320
+ translated?: string | null;
321
+ }
322
+ interface ItemModifier {
323
+ /**
324
+ * Modifier ID.
325
+ * @minLength 1
326
+ * @maxLength 36
327
+ */
328
+ id?: string;
329
+ /**
330
+ * The quantity of this modifier.
331
+ * @min 1
332
+ * @max 100000
333
+ */
334
+ quantity?: number | null;
335
+ /** Primary display label for the modifier. */
336
+ label?: TranslatableString;
337
+ /** Additional details. */
338
+ details?: TranslatableString;
339
+ /** The price of the modifier. */
340
+ price?: Price;
341
+ }
202
342
  interface OrderLineItem {
203
343
  /**
204
344
  * Line item ID.
@@ -324,27 +464,6 @@ interface OrderLineItem {
324
464
  */
325
465
  modifierGroups?: ModifierGroup[];
326
466
  }
327
- interface ProductName {
328
- /**
329
- * __Required.__ Item name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
330
- *
331
- * Min: 1 character.
332
- * Max: 200 characters.
333
- * @minLength 1
334
- * @maxLength 200
335
- */
336
- original?: string;
337
- /**
338
- * Item name translated into the buyer's language.
339
- *
340
- * Min: 1 character.
341
- * Max: 400 characters.
342
- * Default: Same as `original`.
343
- * @minLength 1
344
- * @maxLength 400
345
- */
346
- translated?: string | null;
347
- }
348
467
  /** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
349
468
  interface CatalogReference {
350
469
  /**
@@ -372,68 +491,6 @@ interface CatalogReference {
372
491
  */
373
492
  options?: Record<string, any> | null;
374
493
  }
375
- interface DescriptionLine extends DescriptionLineValueOneOf, DescriptionLineDescriptionLineValueOneOf {
376
- /** Description line plain text value. */
377
- plainText?: PlainTextValue;
378
- /** Description line color value. */
379
- colorInfo?: Color;
380
- /** Description line name. */
381
- name?: DescriptionLineName;
382
- }
383
- /** @oneof */
384
- interface DescriptionLineValueOneOf {
385
- /** Description line plain text value. */
386
- plainText?: PlainTextValue;
387
- /** Description line color value. */
388
- colorInfo?: Color;
389
- }
390
- /** @oneof */
391
- interface DescriptionLineDescriptionLineValueOneOf {
392
- }
393
- interface DescriptionLineName {
394
- /**
395
- * Description line name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
396
- * @maxLength 100
397
- */
398
- original?: string;
399
- /**
400
- * Description line name translated into the buyer's language.
401
- *
402
- * Default: Same as `original`.
403
- * @maxLength 200
404
- */
405
- translated?: string | null;
406
- }
407
- interface PlainTextValue {
408
- /**
409
- * Description line plain text value in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
410
- * @maxLength 600
411
- */
412
- original?: string;
413
- /**
414
- * Description line plain text value translated into the buyer's language.
415
- *
416
- * Default: Same as `original`.
417
- * @maxLength 600
418
- */
419
- translated?: string | null;
420
- }
421
- interface Color {
422
- /**
423
- * Description line color name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
424
- * @maxLength 500
425
- */
426
- original?: string;
427
- /**
428
- * Description line color name translated into the buyer's language.
429
- *
430
- * Default: Same as `original`.
431
- * @maxLength 500
432
- */
433
- translated?: string | null;
434
- /** HEX or RGB color code for display. */
435
- code?: string | null;
436
- }
437
494
  interface Image {
438
495
  /** WixMedia image ID. */
439
496
  id?: string;
@@ -742,63 +799,6 @@ interface ExtendedFields {
742
799
  */
743
800
  namespaces?: Record<string, Record<string, any>>;
744
801
  }
745
- interface ModifierGroup {
746
- /**
747
- * Modifier group ID.
748
- * @minLength 1
749
- * @maxLength 36
750
- */
751
- id?: string;
752
- /** Modifier group name. */
753
- name?: TranslatableString;
754
- /**
755
- * List of modifiers in this group.
756
- * @minSize 1
757
- * @maxSize 10
758
- */
759
- modifiers?: ItemModifier[];
760
- }
761
- interface TranslatableString {
762
- /**
763
- * __Required.__ String in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
764
- *
765
- * Min: 1 character.
766
- * Max: 200 characters.
767
- * @minLength 1
768
- * @maxLength 200
769
- */
770
- original?: string;
771
- /**
772
- * String translated into the buyer's language.
773
- *
774
- * Min: 1 character.
775
- * Max: 400 characters.
776
- * Default: Same as `original`.
777
- * @minLength 1
778
- * @maxLength 400
779
- */
780
- translated?: string | null;
781
- }
782
- interface ItemModifier {
783
- /**
784
- * Modifier ID.
785
- * @minLength 1
786
- * @maxLength 36
787
- */
788
- id?: string;
789
- /**
790
- * The quantity of this modifier.
791
- * @min 1
792
- * @max 100000
793
- */
794
- quantity?: number | null;
795
- /** Primary display label for the modifier. */
796
- label?: TranslatableString;
797
- /** Additional details. */
798
- details?: TranslatableString;
799
- /** The price of the modifier. */
800
- price?: Price;
801
- }
802
802
  interface ItemChangedDetails {
803
803
  /**
804
804
  * Line item quantity before change.
@@ -810,6 +810,11 @@ interface ItemChangedDetails {
810
810
  priceBeforeChange?: Price;
811
811
  /** Line item price description before change. */
812
812
  priceDescriptionBeforeChange?: PriceDescription;
813
+ /**
814
+ * Line item modifier groups before change.
815
+ * @maxSize 10
816
+ */
817
+ modifierGroupsBeforeChange?: ModifierGroup[];
813
818
  }
814
819
  interface ShippingDetails extends ShippingDetailsChangeTypeOneOf {
815
820
  /** Whether shipping info was added as part of the draft. */
@@ -2865,7 +2870,7 @@ interface LineItemChanges {
2865
2870
  * @format GUID
2866
2871
  */
2867
2872
  id?: string;
2868
- /** Item name. */
2873
+ /** Item name after change. */
2869
2874
  name?: ProductName;
2870
2875
  /** Item quantity change. */
2871
2876
  quantity?: LineItemQuantityChange;
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
2
  import { 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, DraftOrdersQueryBuilder, UpdateExtendedFieldsOptions, UpdateExtendedFieldsResponse, UpdateExtendedFieldsApplicationErrors, SetTaxExemptionOptions, SetTaxExemptionResponse, SetTaxExemptionApplicationErrors, SetBusinessLocationOptions, SetBusinessLocationResponse, SetBusinessLocationApplicationErrors, DraftOrderCreatedEnvelope, DraftOrderDeletedEnvelope, DraftOrderUpdatedEnvelope } from './index.typings.js';
3
- export { ActionEvent, Activity, ActivityContentOneOf, ActivityType, ActivityTypeWithLiterals, AddLineItemsToDraftOrderRequest, AdditionalFee, AdditionalFeeDetails, AdditionalFeeOption, Address, AddressLocation, AddressWithContact, AdjustmentType, AdjustmentTypeWithLiterals, ApplicationError, AppliedDiscount, AppliedDiscountDiscountSourceOneOf, AppliedDiscountDiscountType, AppliedDiscountDiscountTypeWithLiterals, AttributionSource, AttributionSourceWithLiterals, AuthorizedPaymentCaptured, AuthorizedPaymentCreated, AuthorizedPaymentVoided, Balance, BalanceSummary, BaseEventMetadata, BillingAdjustment, BillingAdjustmentPriceSummary, BillingChangedDetails, BillingDetails, BillingDetailsChangeTypeOneOf, BusinessLocationChangedDetails, BusinessLocationDetails, BusinessLocationDetailsChangeTypeOneOf, BuyerChangedDetails, BuyerDetails, BuyerDetailsChangeTypeOneOf, BuyerInfo, BuyerInfoIdOneOf, CalculatedDraftOrder, CalculationErrors, CalculationErrorsShippingCalculationErrorOneOf, CarrierError, CarrierErrors, CatalogReference, CatalogReferenceLineItem, ChannelInfo, ChannelType, ChannelTypeWithLiterals, ChargebackCreated, ChargebackReversed, Color, CommitDraftOrderRequest, Coupon, CreateCustomAdditionalFeesRequest, CreateCustomDiscountsRequest, CreateDraftOrderRequest, CreateEmptyDraftOrderRequest, CreateOrderFromDraftRequest, CreatedBy, CreatedByStringOneOf, CreditCardDetails, CurrencyConversionDetails, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomActivity, CustomField, CustomLineItem, DeleteCustomAdditionalFeesRequest, DeleteCustomDiscountsRequest, DeleteDraftOrderRequest, DeleteDraftOrderResponse, DeliveryLogistics, DeliveryTimeSlot, DescriptionLine, DescriptionLineDescriptionLineValueOneOf, DescriptionLineName, DescriptionLineType, DescriptionLineTypeWithLiterals, DescriptionLineValueOneOf, Details, DetailsKindOneOf, DigitalFile, DiscountDetails, DiscountOption, DiscountOptionDiscountAmountOneOf, DiscountReason, DiscountReasonWithLiterals, DiscountRule, DiscountRuleName, DiscountType, DiscountTypeWithLiterals, DomainEvent, DomainEventBodyOneOf, DraftOrder, DraftOrderChangesApplied, DraftOrderCommitSettings, DraftOrdersQueryResult, EditingStatus, EditingStatusWithLiterals, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, ExternalReceipt, FieldViolation, FileType, FileTypeWithLiterals, FocalPoint, FreeTrialPeriod, FulfillmentStatus, FulfillmentStatusWithLiterals, FulfillmentStatusesAggregate, FullAddressContactDetails, GetDraftOrderRequest, GetOrderDraftabilityStatusRequest, GiftCardPaymentRefund, IdentificationData, IdentificationDataIdOneOf, InventoryUpdate, ItemChangedDetails, ItemDetails, ItemDetailsChangeTypeOneOf, ItemModifier, ItemTaxFullDetails, ItemType, ItemTypeItemType, ItemTypeItemTypeDataOneOf, ItemTypeItemTypeWithLiterals, JurisdictionType, JurisdictionTypeWithLiterals, LineItemAmount, LineItemChanges, LineItemDiscount, LineItemExchangeData, LineItemPriceChange, LineItemQuantityChange, LineItemQuantityChangeType, LineItemQuantityChangeTypeWithLiterals, LineItemTaxBreakdown, LineItemTaxInfo, Location, LocationAndQuantity, ManagedAdditionalFee, ManagedDiscount, ManagedLineItem, MembershipPaymentRefund, MerchantComment, MerchantDiscount, MerchantDiscountMerchantDiscountReasonOneOf, MessageEnvelope, ModifierGroup, NewExchangeOrderCreated, NonDraftableReason, NonDraftableReasonWithLiterals, Order, OrderChange, OrderChangeValueOneOf, OrderCreateNotifications, OrderCreateSettings, OrderCreatedFromExchange, OrderLineItem, OrderRefunded, OrderStatus, OrderStatusWithLiterals, OrderTaxBreakdown, OrderTaxInfo, PaymentCanceled, PaymentCanceledPaymentDetailsOneOf, PaymentDeclined, PaymentDeclinedPaymentDetailsOneOf, PaymentOptionType, PaymentOptionTypeWithLiterals, PaymentPending, PaymentPendingPaymentDetailsOneOf, PaymentRefundFailed, PaymentRefunded, PaymentStatus, PaymentStatusWithLiterals, PhysicalProperties, PickupAddress, PickupDetails, PickupDetailsPickupMethod, PickupDetailsPickupMethodWithLiterals, PickupMethod, PickupMethodWithLiterals, PlainTextValue, Price, PriceDescription, PriceSummary, ProductName, QueryDraftOrdersRequest, QueryDraftOrdersResponse, ReceiptCreated, ReceiptCreatedReceiptInfoOneOf, ReceiptSent, ReceiptSentReceiptInfoOneOf, RecipientInfoChangedDetails, RecipientInfoDetails, RecipientInfoDetailsChangeTypeOneOf, RefundInitiated, RefundedAsStoreCredit, RefundedPayment, RefundedPaymentKindOneOf, RegularPayment, RegularPaymentPaymentMethodDetailsOneOf, RegularPaymentRefund, RestoreInfo, RuleType, RuleTypeWithLiterals, SavedPaymentMethod, SecuredMedia, SetAdditionalFeesRequest, SetBillingInfoRequest, SetBusinessLocationRequest, SetBuyerInfoRequest, SetDiscountsRequest, SetRecipientInfoRequest, SetShippingInfoRequest, SetTaxExemptionRequest, ShippingChangedDetails, ShippingDetails, ShippingDetailsChangeTypeOneOf, ShippingInformation, ShippingInformationChange, ShippingOption, ShippingPrice, ShippingRegion, SortOrder, SortOrderWithLiterals, Sorting, SourceType, SourceTypeWithLiterals, 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, V1PickupDetails, V1ShippingInformation, V1ShippingPrice, ValidationError, VatId, VatType, VatTypeWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WeightUnit, WeightUnitWithLiterals, WixReceipt } from './index.typings.js';
3
+ export { ActionEvent, Activity, ActivityContentOneOf, ActivityType, ActivityTypeWithLiterals, AddLineItemsToDraftOrderRequest, AdditionalFee, AdditionalFeeDetails, AdditionalFeeOption, Address, AddressLocation, AddressWithContact, AdjustmentType, AdjustmentTypeWithLiterals, ApplicationError, AppliedDiscount, AppliedDiscountDiscountSourceOneOf, AppliedDiscountDiscountType, AppliedDiscountDiscountTypeWithLiterals, AttributionSource, AttributionSourceWithLiterals, AuthorizedPaymentCaptured, AuthorizedPaymentCreated, AuthorizedPaymentVoided, Balance, BalanceSummary, BaseEventMetadata, BillingAdjustment, BillingAdjustmentPriceSummary, BillingChangedDetails, BillingDetails, BillingDetailsChangeTypeOneOf, BusinessLocationChangedDetails, BusinessLocationDetails, BusinessLocationDetailsChangeTypeOneOf, BuyerChangedDetails, BuyerDetails, BuyerDetailsChangeTypeOneOf, BuyerInfo, BuyerInfoIdOneOf, CalculatedDraftOrder, CalculationErrors, CalculationErrorsShippingCalculationErrorOneOf, CarrierError, CarrierErrors, CatalogReference, CatalogReferenceLineItem, ChannelInfo, ChannelType, ChannelTypeWithLiterals, ChargebackCreated, ChargebackReversed, Color, CommitDraftOrderRequest, Coupon, CreateCustomAdditionalFeesRequest, CreateCustomDiscountsRequest, CreateDraftOrderRequest, CreateEmptyDraftOrderRequest, CreateOrderFromDraftRequest, CreatedBy, CreatedByStringOneOf, CreditCardDetails, CurrencyConversionDetails, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, CustomActivity, CustomField, CustomLineItem, DeleteCustomAdditionalFeesRequest, DeleteCustomDiscountsRequest, DeleteDraftOrderRequest, DeleteDraftOrderResponse, DeliveryLogistics, DeliveryTimeSlot, DescriptionLine, DescriptionLineDescriptionLineValueOneOf, DescriptionLineName, DescriptionLineType, DescriptionLineTypeWithLiterals, DescriptionLineValueOneOf, DescriptionLinesOverride, Details, DetailsKindOneOf, DigitalFile, DiscountDetails, DiscountOption, DiscountOptionDiscountAmountOneOf, DiscountReason, DiscountReasonWithLiterals, DiscountRule, DiscountRuleName, DiscountType, DiscountTypeWithLiterals, DomainEvent, DomainEventBodyOneOf, DraftOrder, DraftOrderChangesApplied, DraftOrderCommitSettings, DraftOrdersQueryResult, EditingStatus, EditingStatusWithLiterals, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, ExternalReceipt, FieldViolation, FileType, FileTypeWithLiterals, FocalPoint, FreeTrialPeriod, FulfillmentStatus, FulfillmentStatusWithLiterals, FulfillmentStatusesAggregate, FullAddressContactDetails, GetDraftOrderRequest, GetOrderDraftabilityStatusRequest, GiftCardPaymentRefund, IdentificationData, IdentificationDataIdOneOf, InventoryUpdate, ItemChangedDetails, ItemDetails, ItemDetailsChangeTypeOneOf, ItemModifier, ItemTaxFullDetails, ItemType, ItemTypeItemType, ItemTypeItemTypeDataOneOf, ItemTypeItemTypeWithLiterals, JurisdictionType, JurisdictionTypeWithLiterals, LineItemAmount, LineItemChanges, LineItemDiscount, LineItemExchangeData, LineItemPriceChange, LineItemProductNameChange, LineItemQuantityChange, LineItemQuantityChangeType, LineItemQuantityChangeTypeWithLiterals, LineItemTaxBreakdown, LineItemTaxInfo, Location, LocationAndQuantity, ManagedAdditionalFee, ManagedDiscount, ManagedLineItem, MembershipPaymentRefund, MerchantComment, MerchantDiscount, MerchantDiscountMerchantDiscountReasonOneOf, MessageEnvelope, ModifierGroup, ModifiersGroupsOverride, NewExchangeOrderCreated, NonDraftableReason, NonDraftableReasonWithLiterals, Order, OrderChange, OrderChangeValueOneOf, OrderCreateNotifications, OrderCreateSettings, OrderCreatedFromExchange, OrderLineItem, OrderRefunded, OrderStatus, OrderStatusWithLiterals, OrderTaxBreakdown, OrderTaxInfo, PaymentCanceled, PaymentCanceledPaymentDetailsOneOf, PaymentDeclined, PaymentDeclinedPaymentDetailsOneOf, PaymentOptionType, PaymentOptionTypeWithLiterals, PaymentPending, PaymentPendingPaymentDetailsOneOf, PaymentRefundFailed, PaymentRefunded, PaymentStatus, PaymentStatusWithLiterals, PhysicalProperties, PickupAddress, PickupDetails, PickupDetailsPickupMethod, PickupDetailsPickupMethodWithLiterals, PickupMethod, PickupMethodWithLiterals, PlainTextValue, Price, PriceDescription, PriceSummary, ProductName, QueryDraftOrdersRequest, QueryDraftOrdersResponse, ReceiptCreated, ReceiptCreatedReceiptInfoOneOf, ReceiptSent, ReceiptSentReceiptInfoOneOf, RecipientInfoChangedDetails, RecipientInfoDetails, RecipientInfoDetailsChangeTypeOneOf, RefundInitiated, RefundedAsStoreCredit, RefundedPayment, RefundedPaymentKindOneOf, RegularPayment, RegularPaymentPaymentMethodDetailsOneOf, RegularPaymentRefund, RestoreInfo, RuleType, RuleTypeWithLiterals, SavedPaymentMethod, SecuredMedia, SetAdditionalFeesRequest, SetBillingInfoRequest, SetBusinessLocationRequest, SetBuyerInfoRequest, SetDiscountsRequest, SetRecipientInfoRequest, SetShippingInfoRequest, SetTaxExemptionRequest, ShippingChangedDetails, ShippingDetails, ShippingDetailsChangeTypeOneOf, ShippingInformation, ShippingInformationChange, ShippingOption, ShippingPrice, ShippingRegion, SortOrder, SortOrderWithLiterals, Sorting, SourceType, SourceTypeWithLiterals, 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, V1PickupDetails, V1ShippingInformation, V1ShippingPrice, ValidationError, VatId, VatType, VatTypeWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WeightUnit, WeightUnitWithLiterals, WixReceipt } from './index.typings.js';
4
4
 
5
5
  declare function createDraftOrder$1(httpClient: HttpClient): CreateDraftOrderSignature;
6
6
  interface CreateDraftOrderSignature {