@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.
- package/build/cjs/index.js +0 -5
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +5 -11
- package/build/cjs/index.typings.js +0 -5
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +5 -11
- package/build/cjs/meta.js +0 -5
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +0 -5
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +5 -11
- package/build/es/index.typings.mjs +0 -5
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +5 -11
- package/build/es/meta.mjs +0 -5
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +0 -5
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +5 -11
- package/build/internal/cjs/index.typings.js +0 -5
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +5 -11
- package/build/internal/cjs/meta.js +0 -5
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +0 -5
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +5 -11
- package/build/internal/es/index.typings.mjs +0 -5
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +5 -11
- package/build/internal/es/meta.mjs +0 -5
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -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 | '
|
|
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 | '
|
|
113
|
+
type CustomizationRenderTypeWithLiterals = CustomizationRenderType | 'FREE_TEXT' | 'TEXT_CHOICES' | 'SWATCH_CHOICES';
|
|
116
114
|
interface FreeTextSettings {
|
|
117
115
|
/** Minimum text character length. */
|
|
118
116
|
minCharCount?: number;
|
|
@@ -227,14 +225,13 @@ interface ChoiceValueOneOf {
|
|
|
227
225
|
colorCode?: string;
|
|
228
226
|
}
|
|
229
227
|
declare enum ChoiceType {
|
|
230
|
-
UNKNOWN_CHOICE_TYPE = "UNKNOWN_CHOICE_TYPE",
|
|
231
228
|
/** For a `customizationRenderType` of `TEXT_CHOICES`. */
|
|
232
229
|
CHOICE_TEXT = "CHOICE_TEXT",
|
|
233
230
|
/** For `customizationRenderType: SWATCH_CHOICES`. */
|
|
234
231
|
ONE_COLOR = "ONE_COLOR"
|
|
235
232
|
}
|
|
236
233
|
/** @enumType */
|
|
237
|
-
type ChoiceTypeWithLiterals = ChoiceType | '
|
|
234
|
+
type ChoiceTypeWithLiterals = ChoiceType | 'CHOICE_TEXT' | 'ONE_COLOR';
|
|
238
235
|
interface MultipleColors {
|
|
239
236
|
/**
|
|
240
237
|
* A list of color codes.
|
|
@@ -256,7 +253,6 @@ interface FocalPoint {
|
|
|
256
253
|
width?: number | null;
|
|
257
254
|
}
|
|
258
255
|
declare enum ChoiceSortStrategy {
|
|
259
|
-
UNKNOWN_CHOICE_SORT_STRATEGY = "UNKNOWN_CHOICE_SORT_STRATEGY",
|
|
260
256
|
/** Default. Text choices are sorted by name, swatch choices are sorted by product count. */
|
|
261
257
|
DEFAULT = "DEFAULT",
|
|
262
258
|
/** Alphabetically by name, case-insensitive. Numeric values are sorted first. */
|
|
@@ -267,7 +263,7 @@ declare enum ChoiceSortStrategy {
|
|
|
267
263
|
MANUAL = "MANUAL"
|
|
268
264
|
}
|
|
269
265
|
/** @enumType */
|
|
270
|
-
type ChoiceSortStrategyWithLiterals = ChoiceSortStrategy | '
|
|
266
|
+
type ChoiceSortStrategyWithLiterals = ChoiceSortStrategy | 'DEFAULT' | 'BY_NAME' | 'BY_PRODUCT_COUNT' | 'MANUAL';
|
|
271
267
|
interface InvalidateCache extends InvalidateCacheGetByOneOf {
|
|
272
268
|
/**
|
|
273
269
|
* Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!
|
|
@@ -448,13 +444,11 @@ interface GetCustomizationRequest {
|
|
|
448
444
|
fields?: RequestedFieldsWithLiterals[];
|
|
449
445
|
}
|
|
450
446
|
declare enum RequestedFields {
|
|
451
|
-
/** Unknown requested field. */
|
|
452
|
-
UNKNOWN_REQUESTED_FIELD = "UNKNOWN_REQUESTED_FIELD",
|
|
453
447
|
/** Assigned products count. */
|
|
454
448
|
ASSIGNED_PRODUCTS_COUNT = "ASSIGNED_PRODUCTS_COUNT"
|
|
455
449
|
}
|
|
456
450
|
/** @enumType */
|
|
457
|
-
type RequestedFieldsWithLiterals = RequestedFields | '
|
|
451
|
+
type RequestedFieldsWithLiterals = RequestedFields | 'ASSIGNED_PRODUCTS_COUNT';
|
|
458
452
|
interface GetCustomizationResponse {
|
|
459
453
|
/** Customization. */
|
|
460
454
|
customization?: Customization;
|
|
@@ -824,26 +824,22 @@ var import_image2 = require("@wix/sdk-runtime/transformations/image");
|
|
|
824
824
|
var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
825
825
|
var import_query_builder_utils = require("@wix/sdk-runtime/query-builder-utils");
|
|
826
826
|
var CustomizationType = /* @__PURE__ */ ((CustomizationType2) => {
|
|
827
|
-
CustomizationType2["UNKNOWN_CUSTOMIZATION_TYPE"] = "UNKNOWN_CUSTOMIZATION_TYPE";
|
|
828
827
|
CustomizationType2["PRODUCT_OPTION"] = "PRODUCT_OPTION";
|
|
829
828
|
CustomizationType2["MODIFIER"] = "MODIFIER";
|
|
830
829
|
return CustomizationType2;
|
|
831
830
|
})(CustomizationType || {});
|
|
832
831
|
var CustomizationRenderType = /* @__PURE__ */ ((CustomizationRenderType2) => {
|
|
833
|
-
CustomizationRenderType2["UNKNOWN_CUSTOMIZATION_RENDER_TYPE"] = "UNKNOWN_CUSTOMIZATION_RENDER_TYPE";
|
|
834
832
|
CustomizationRenderType2["FREE_TEXT"] = "FREE_TEXT";
|
|
835
833
|
CustomizationRenderType2["TEXT_CHOICES"] = "TEXT_CHOICES";
|
|
836
834
|
CustomizationRenderType2["SWATCH_CHOICES"] = "SWATCH_CHOICES";
|
|
837
835
|
return CustomizationRenderType2;
|
|
838
836
|
})(CustomizationRenderType || {});
|
|
839
837
|
var ChoiceType = /* @__PURE__ */ ((ChoiceType2) => {
|
|
840
|
-
ChoiceType2["UNKNOWN_CHOICE_TYPE"] = "UNKNOWN_CHOICE_TYPE";
|
|
841
838
|
ChoiceType2["CHOICE_TEXT"] = "CHOICE_TEXT";
|
|
842
839
|
ChoiceType2["ONE_COLOR"] = "ONE_COLOR";
|
|
843
840
|
return ChoiceType2;
|
|
844
841
|
})(ChoiceType || {});
|
|
845
842
|
var ChoiceSortStrategy = /* @__PURE__ */ ((ChoiceSortStrategy2) => {
|
|
846
|
-
ChoiceSortStrategy2["UNKNOWN_CHOICE_SORT_STRATEGY"] = "UNKNOWN_CHOICE_SORT_STRATEGY";
|
|
847
843
|
ChoiceSortStrategy2["DEFAULT"] = "DEFAULT";
|
|
848
844
|
ChoiceSortStrategy2["BY_NAME"] = "BY_NAME";
|
|
849
845
|
ChoiceSortStrategy2["BY_PRODUCT_COUNT"] = "BY_PRODUCT_COUNT";
|
|
@@ -851,7 +847,6 @@ var ChoiceSortStrategy = /* @__PURE__ */ ((ChoiceSortStrategy2) => {
|
|
|
851
847
|
return ChoiceSortStrategy2;
|
|
852
848
|
})(ChoiceSortStrategy || {});
|
|
853
849
|
var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
|
|
854
|
-
RequestedFields2["UNKNOWN_REQUESTED_FIELD"] = "UNKNOWN_REQUESTED_FIELD";
|
|
855
850
|
RequestedFields2["ASSIGNED_PRODUCTS_COUNT"] = "ASSIGNED_PRODUCTS_COUNT";
|
|
856
851
|
return RequestedFields2;
|
|
857
852
|
})(RequestedFields || {});
|