@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.
@@ -259,7 +256,6 @@ interface FocalPoint {
259
256
  width?: number | null;
260
257
  }
261
258
  declare enum ChoiceSortStrategy {
262
- UNKNOWN_CHOICE_SORT_STRATEGY = "UNKNOWN_CHOICE_SORT_STRATEGY",
263
259
  /** Default. Text choices are sorted by name, swatch choices are sorted by product count. */
264
260
  DEFAULT = "DEFAULT",
265
261
  /** Alphabetically by name, case-insensitive. Numeric values are sorted first. */
@@ -270,7 +266,7 @@ declare enum ChoiceSortStrategy {
270
266
  MANUAL = "MANUAL"
271
267
  }
272
268
  /** @enumType */
273
- type ChoiceSortStrategyWithLiterals = ChoiceSortStrategy | 'UNKNOWN_CHOICE_SORT_STRATEGY' | 'DEFAULT' | 'BY_NAME' | 'BY_PRODUCT_COUNT' | 'MANUAL';
269
+ type ChoiceSortStrategyWithLiterals = ChoiceSortStrategy | 'DEFAULT' | 'BY_NAME' | 'BY_PRODUCT_COUNT' | 'MANUAL';
274
270
  interface InvalidateCache extends InvalidateCacheGetByOneOf {
275
271
  /**
276
272
  * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
@@ -451,13 +447,11 @@ interface GetCustomizationRequest {
451
447
  fields?: RequestedFieldsWithLiterals[];
452
448
  }
453
449
  declare enum RequestedFields {
454
- /** Unknown requested field. */
455
- UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
456
450
  /** Assigned products count. */
457
451
  ASSIGNED_PRODUCTS_COUNT = "ASSIGNED_PRODUCTS_COUNT"
458
452
  }
459
453
  /** @enumType */
460
- type RequestedFieldsWithLiterals = RequestedFields | 'UNKNOWN_REQUESTED_FIELD' | 'ASSIGNED_PRODUCTS_COUNT';
454
+ type RequestedFieldsWithLiterals = RequestedFields | 'ASSIGNED_PRODUCTS_COUNT';
461
455
  interface GetCustomizationResponse {
462
456
  /** Customization. */
463
457
  customization?: Customization;
package/build/cjs/meta.js CHANGED
@@ -813,26 +813,22 @@ function bulkUpdateCustomizations(payload) {
813
813
 
814
814
  // src/stores-catalog-v3-customization-customizations-v-3.types.ts
815
815
  var CustomizationType = /* @__PURE__ */ ((CustomizationType2) => {
816
- CustomizationType2["UNKNOWN_CUSTOMIZATION_TYPE"] = "UNKNOWN_CUSTOMIZATION_TYPE";
817
816
  CustomizationType2["PRODUCT_OPTION"] = "PRODUCT_OPTION";
818
817
  CustomizationType2["MODIFIER"] = "MODIFIER";
819
818
  return CustomizationType2;
820
819
  })(CustomizationType || {});
821
820
  var CustomizationRenderType = /* @__PURE__ */ ((CustomizationRenderType2) => {
822
- CustomizationRenderType2["UNKNOWN_CUSTOMIZATION_RENDER_TYPE"] = "UNKNOWN_CUSTOMIZATION_RENDER_TYPE";
823
821
  CustomizationRenderType2["FREE_TEXT"] = "FREE_TEXT";
824
822
  CustomizationRenderType2["TEXT_CHOICES"] = "TEXT_CHOICES";
825
823
  CustomizationRenderType2["SWATCH_CHOICES"] = "SWATCH_CHOICES";
826
824
  return CustomizationRenderType2;
827
825
  })(CustomizationRenderType || {});
828
826
  var ChoiceType = /* @__PURE__ */ ((ChoiceType2) => {
829
- ChoiceType2["UNKNOWN_CHOICE_TYPE"] = "UNKNOWN_CHOICE_TYPE";
830
827
  ChoiceType2["CHOICE_TEXT"] = "CHOICE_TEXT";
831
828
  ChoiceType2["ONE_COLOR"] = "ONE_COLOR";
832
829
  return ChoiceType2;
833
830
  })(ChoiceType || {});
834
831
  var ChoiceSortStrategy = /* @__PURE__ */ ((ChoiceSortStrategy2) => {
835
- ChoiceSortStrategy2["UNKNOWN_CHOICE_SORT_STRATEGY"] = "UNKNOWN_CHOICE_SORT_STRATEGY";
836
832
  ChoiceSortStrategy2["DEFAULT"] = "DEFAULT";
837
833
  ChoiceSortStrategy2["BY_NAME"] = "BY_NAME";
838
834
  ChoiceSortStrategy2["BY_PRODUCT_COUNT"] = "BY_PRODUCT_COUNT";
@@ -840,7 +836,6 @@ var ChoiceSortStrategy = /* @__PURE__ */ ((ChoiceSortStrategy2) => {
840
836
  return ChoiceSortStrategy2;
841
837
  })(ChoiceSortStrategy || {});
842
838
  var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
843
- RequestedFields2["UNKNOWN_REQUESTED_FIELD"] = "UNKNOWN_REQUESTED_FIELD";
844
839
  RequestedFields2["ASSIGNED_PRODUCTS_COUNT"] = "ASSIGNED_PRODUCTS_COUNT";
845
840
  return RequestedFields2;
846
841
  })(RequestedFields || {});