@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
package/build/es/meta.d.mts
CHANGED
|
@@ -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;
|
|
@@ -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 | '
|
|
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 | '
|
|
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 | '
|
|
454
|
+
type RequestedFieldsWithLiterals = RequestedFields | 'ASSIGNED_PRODUCTS_COUNT';
|
|
461
455
|
interface GetCustomizationResponse {
|
|
462
456
|
/** Customization. */
|
|
463
457
|
customization?: Customization;
|
package/build/es/meta.mjs
CHANGED
|
@@ -768,26 +768,22 @@ function bulkUpdateCustomizations(payload) {
|
|
|
768
768
|
|
|
769
769
|
// src/stores-catalog-v3-customization-customizations-v-3.types.ts
|
|
770
770
|
var CustomizationType = /* @__PURE__ */ ((CustomizationType2) => {
|
|
771
|
-
CustomizationType2["UNKNOWN_CUSTOMIZATION_TYPE"] = "UNKNOWN_CUSTOMIZATION_TYPE";
|
|
772
771
|
CustomizationType2["PRODUCT_OPTION"] = "PRODUCT_OPTION";
|
|
773
772
|
CustomizationType2["MODIFIER"] = "MODIFIER";
|
|
774
773
|
return CustomizationType2;
|
|
775
774
|
})(CustomizationType || {});
|
|
776
775
|
var CustomizationRenderType = /* @__PURE__ */ ((CustomizationRenderType2) => {
|
|
777
|
-
CustomizationRenderType2["UNKNOWN_CUSTOMIZATION_RENDER_TYPE"] = "UNKNOWN_CUSTOMIZATION_RENDER_TYPE";
|
|
778
776
|
CustomizationRenderType2["FREE_TEXT"] = "FREE_TEXT";
|
|
779
777
|
CustomizationRenderType2["TEXT_CHOICES"] = "TEXT_CHOICES";
|
|
780
778
|
CustomizationRenderType2["SWATCH_CHOICES"] = "SWATCH_CHOICES";
|
|
781
779
|
return CustomizationRenderType2;
|
|
782
780
|
})(CustomizationRenderType || {});
|
|
783
781
|
var ChoiceType = /* @__PURE__ */ ((ChoiceType2) => {
|
|
784
|
-
ChoiceType2["UNKNOWN_CHOICE_TYPE"] = "UNKNOWN_CHOICE_TYPE";
|
|
785
782
|
ChoiceType2["CHOICE_TEXT"] = "CHOICE_TEXT";
|
|
786
783
|
ChoiceType2["ONE_COLOR"] = "ONE_COLOR";
|
|
787
784
|
return ChoiceType2;
|
|
788
785
|
})(ChoiceType || {});
|
|
789
786
|
var ChoiceSortStrategy = /* @__PURE__ */ ((ChoiceSortStrategy2) => {
|
|
790
|
-
ChoiceSortStrategy2["UNKNOWN_CHOICE_SORT_STRATEGY"] = "UNKNOWN_CHOICE_SORT_STRATEGY";
|
|
791
787
|
ChoiceSortStrategy2["DEFAULT"] = "DEFAULT";
|
|
792
788
|
ChoiceSortStrategy2["BY_NAME"] = "BY_NAME";
|
|
793
789
|
ChoiceSortStrategy2["BY_PRODUCT_COUNT"] = "BY_PRODUCT_COUNT";
|
|
@@ -795,7 +791,6 @@ var ChoiceSortStrategy = /* @__PURE__ */ ((ChoiceSortStrategy2) => {
|
|
|
795
791
|
return ChoiceSortStrategy2;
|
|
796
792
|
})(ChoiceSortStrategy || {});
|
|
797
793
|
var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
|
|
798
|
-
RequestedFields2["UNKNOWN_REQUESTED_FIELD"] = "UNKNOWN_REQUESTED_FIELD";
|
|
799
794
|
RequestedFields2["ASSIGNED_PRODUCTS_COUNT"] = "ASSIGNED_PRODUCTS_COUNT";
|
|
800
795
|
return RequestedFields2;
|
|
801
796
|
})(RequestedFields || {});
|