@wix/auto_sdk_stores_customizations-v-3 1.0.70 → 1.0.71

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.
@@ -96,14 +96,12 @@ interface CustomizationCustomizationSettingsOneOf {
96
96
  choicesSettings?: ChoicesSettings;
97
97
  }
98
98
  declare enum CustomizationType {
99
- UNKNOWN_CUSTOMIZATION_TYPE = "UNKNOWN_CUSTOMIZATION_TYPE",
100
99
  PRODUCT_OPTION = "PRODUCT_OPTION",
101
100
  MODIFIER = "MODIFIER"
102
101
  }
103
102
  /** @enumType */
104
- type CustomizationTypeWithLiterals = CustomizationType | 'UNKNOWN_CUSTOMIZATION_TYPE' | 'PRODUCT_OPTION' | 'MODIFIER';
103
+ type CustomizationTypeWithLiterals = CustomizationType | 'PRODUCT_OPTION' | 'MODIFIER';
105
104
  declare enum CustomizationRenderType {
106
- UNKNOWN_CUSTOMIZATION_RENDER_TYPE = "UNKNOWN_CUSTOMIZATION_RENDER_TYPE",
107
105
  /** Customization by free text input. */
108
106
  FREE_TEXT = "FREE_TEXT",
109
107
  /** Customization by selection of text choices. */
@@ -112,7 +110,7 @@ declare enum CustomizationRenderType {
112
110
  SWATCH_CHOICES = "SWATCH_CHOICES"
113
111
  }
114
112
  /** @enumType */
115
- type CustomizationRenderTypeWithLiterals = CustomizationRenderType | 'UNKNOWN_CUSTOMIZATION_RENDER_TYPE' | 'FREE_TEXT' | 'TEXT_CHOICES' | 'SWATCH_CHOICES';
113
+ type CustomizationRenderTypeWithLiterals = CustomizationRenderType | 'FREE_TEXT' | 'TEXT_CHOICES' | 'SWATCH_CHOICES';
116
114
  interface FreeTextSettings {
117
115
  /** Minimum text character length. */
118
116
  minCharCount?: number;
@@ -207,14 +205,13 @@ interface ChoiceValueOneOf {
207
205
  colorCode?: string;
208
206
  }
209
207
  declare enum ChoiceType {
210
- UNKNOWN_CHOICE_TYPE = "UNKNOWN_CHOICE_TYPE",
211
208
  /** For a `customizationRenderType` of `TEXT_CHOICES`. */
212
209
  CHOICE_TEXT = "CHOICE_TEXT",
213
210
  /** For `customizationRenderType: SWATCH_CHOICES`. */
214
211
  ONE_COLOR = "ONE_COLOR"
215
212
  }
216
213
  /** @enumType */
217
- type ChoiceTypeWithLiterals = ChoiceType | 'UNKNOWN_CHOICE_TYPE' | 'CHOICE_TEXT' | 'ONE_COLOR';
214
+ type ChoiceTypeWithLiterals = ChoiceType | 'CHOICE_TEXT' | 'ONE_COLOR';
218
215
  interface MultipleColors {
219
216
  /**
220
217
  * A list of color codes.
@@ -236,7 +233,6 @@ interface FocalPoint {
236
233
  width?: number | null;
237
234
  }
238
235
  declare enum ChoiceSortStrategy {
239
- UNKNOWN_CHOICE_SORT_STRATEGY = "UNKNOWN_CHOICE_SORT_STRATEGY",
240
236
  /** Default. Text choices are sorted by name, swatch choices are sorted by product count. */
241
237
  DEFAULT = "DEFAULT",
242
238
  /** Alphabetically by name, case-insensitive. Numeric values are sorted first. */
@@ -247,7 +243,7 @@ declare enum ChoiceSortStrategy {
247
243
  MANUAL = "MANUAL"
248
244
  }
249
245
  /** @enumType */
250
- type ChoiceSortStrategyWithLiterals = ChoiceSortStrategy | 'UNKNOWN_CHOICE_SORT_STRATEGY' | 'DEFAULT' | 'BY_NAME' | 'BY_PRODUCT_COUNT' | 'MANUAL';
246
+ type ChoiceSortStrategyWithLiterals = ChoiceSortStrategy | 'DEFAULT' | 'BY_NAME' | 'BY_PRODUCT_COUNT' | 'MANUAL';
251
247
  interface InvalidateCache extends InvalidateCacheGetByOneOf {
252
248
  /**
253
249
  * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
@@ -428,13 +424,11 @@ interface GetCustomizationRequest {
428
424
  fields?: RequestedFieldsWithLiterals[];
429
425
  }
430
426
  declare enum RequestedFields {
431
- /** Unknown requested field. */
432
- UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
433
427
  /** Assigned products count. */
434
428
  ASSIGNED_PRODUCTS_COUNT = "ASSIGNED_PRODUCTS_COUNT"
435
429
  }
436
430
  /** @enumType */
437
- type RequestedFieldsWithLiterals = RequestedFields | 'UNKNOWN_REQUESTED_FIELD' | 'ASSIGNED_PRODUCTS_COUNT';
431
+ type RequestedFieldsWithLiterals = RequestedFields | 'ASSIGNED_PRODUCTS_COUNT';
438
432
  interface GetCustomizationResponse {
439
433
  /** Customization. */
440
434
  customization?: Customization;
@@ -780,26 +780,22 @@ import { transformRESTImageToSDKImage } from "@wix/sdk-runtime/transformations/i
780
780
  import { transformPaths as transformPaths2 } from "@wix/sdk-runtime/transformations/transform-paths";
781
781
  import { createQueryUtils } from "@wix/sdk-runtime/query-builder-utils";
782
782
  var CustomizationType = /* @__PURE__ */ ((CustomizationType2) => {
783
- CustomizationType2["UNKNOWN_CUSTOMIZATION_TYPE"] = "UNKNOWN_CUSTOMIZATION_TYPE";
784
783
  CustomizationType2["PRODUCT_OPTION"] = "PRODUCT_OPTION";
785
784
  CustomizationType2["MODIFIER"] = "MODIFIER";
786
785
  return CustomizationType2;
787
786
  })(CustomizationType || {});
788
787
  var CustomizationRenderType = /* @__PURE__ */ ((CustomizationRenderType2) => {
789
- CustomizationRenderType2["UNKNOWN_CUSTOMIZATION_RENDER_TYPE"] = "UNKNOWN_CUSTOMIZATION_RENDER_TYPE";
790
788
  CustomizationRenderType2["FREE_TEXT"] = "FREE_TEXT";
791
789
  CustomizationRenderType2["TEXT_CHOICES"] = "TEXT_CHOICES";
792
790
  CustomizationRenderType2["SWATCH_CHOICES"] = "SWATCH_CHOICES";
793
791
  return CustomizationRenderType2;
794
792
  })(CustomizationRenderType || {});
795
793
  var ChoiceType = /* @__PURE__ */ ((ChoiceType2) => {
796
- ChoiceType2["UNKNOWN_CHOICE_TYPE"] = "UNKNOWN_CHOICE_TYPE";
797
794
  ChoiceType2["CHOICE_TEXT"] = "CHOICE_TEXT";
798
795
  ChoiceType2["ONE_COLOR"] = "ONE_COLOR";
799
796
  return ChoiceType2;
800
797
  })(ChoiceType || {});
801
798
  var ChoiceSortStrategy = /* @__PURE__ */ ((ChoiceSortStrategy2) => {
802
- ChoiceSortStrategy2["UNKNOWN_CHOICE_SORT_STRATEGY"] = "UNKNOWN_CHOICE_SORT_STRATEGY";
803
799
  ChoiceSortStrategy2["DEFAULT"] = "DEFAULT";
804
800
  ChoiceSortStrategy2["BY_NAME"] = "BY_NAME";
805
801
  ChoiceSortStrategy2["BY_PRODUCT_COUNT"] = "BY_PRODUCT_COUNT";
@@ -807,7 +803,6 @@ var ChoiceSortStrategy = /* @__PURE__ */ ((ChoiceSortStrategy2) => {
807
803
  return ChoiceSortStrategy2;
808
804
  })(ChoiceSortStrategy || {});
809
805
  var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
810
- RequestedFields2["UNKNOWN_REQUESTED_FIELD"] = "UNKNOWN_REQUESTED_FIELD";
811
806
  RequestedFields2["ASSIGNED_PRODUCTS_COUNT"] = "ASSIGNED_PRODUCTS_COUNT";
812
807
  return RequestedFields2;
813
808
  })(RequestedFields || {});