@wix/auto_sdk_ecom_draft-orders 1.0.61 → 1.0.62

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.
@@ -483,6 +483,14 @@ interface OrderLineItem {
483
483
  * @maxSize 10
484
484
  */
485
485
  modifierGroups?: ModifierGroup[];
486
+ /**
487
+ * Line item ID in external systems.
488
+ * @internal
489
+ * @minLength 1
490
+ * @maxLength 64
491
+ * @immutable
492
+ */
493
+ externalLineItemId?: string | null;
486
494
  }
487
495
  /** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
488
496
  interface CatalogReference {
@@ -2040,6 +2048,19 @@ interface CatalogReferenceLineItem {
2040
2048
  * @internal
2041
2049
  */
2042
2050
  descriptionLinesInfo?: DescriptionLinesOverride;
2051
+ /**
2052
+ * Line item ID in external systems.
2053
+ * @internal
2054
+ * @minLength 1
2055
+ * @maxLength 64
2056
+ */
2057
+ externalLineItemId?: string | null;
2058
+ /**
2059
+ * Tax group ID.
2060
+ * @internal
2061
+ * @format GUID
2062
+ */
2063
+ taxGroupId?: string | null;
2043
2064
  }
2044
2065
  interface DescriptionLinesOverride {
2045
2066
  /**
@@ -2112,6 +2133,19 @@ interface CustomLineItem {
2112
2133
  * @maxSize 5
2113
2134
  */
2114
2135
  locations?: LocationAndQuantity[];
2136
+ /**
2137
+ * Line item ID in external systems.
2138
+ * @internal
2139
+ * @minLength 1
2140
+ * @maxLength 64
2141
+ */
2142
+ externalLineItemId?: string | null;
2143
+ /**
2144
+ * Tax group ID.
2145
+ * @internal
2146
+ * @format GUID
2147
+ */
2148
+ taxGroupId?: string | null;
2115
2149
  }
2116
2150
  interface SecuredMedia {
2117
2151
  /**
@@ -4327,6 +4361,10 @@ type AddLineItemsToDraftOrderApplicationErrors = {
4327
4361
  code?: 'SUBSCRIPTION_ITEM_UNSUPPORTED';
4328
4362
  description?: string;
4329
4363
  data?: Record<string, any>;
4364
+ } | {
4365
+ code?: 'DUPLICATED_EXTERNAL_LINE_ITEM_ID';
4366
+ description?: string;
4367
+ data?: Record<string, any>;
4330
4368
  };
4331
4369
  /** @docsIgnore */
4332
4370
  type UpdateLineItemsApplicationErrors = {