@wix/auto_sdk_stores_customizations-v-3 1.0.105 → 1.0.107
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.d.ts +2 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +10 -1
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +8 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +2 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +10 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +8 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +2 -1
- package/build/internal/cjs/index.typings.d.ts +10 -1
- package/build/internal/cjs/meta.d.ts +8 -0
- package/build/internal/es/index.d.mts +2 -1
- package/build/internal/es/index.typings.d.mts +10 -1
- package/build/internal/es/meta.d.mts +8 -0
- package/package.json +2 -2
|
@@ -1181,6 +1181,10 @@ type BulkCreateCustomizationsApplicationErrors = {
|
|
|
1181
1181
|
code?: 'CHOICES_LIMIT_EXCEEDED';
|
|
1182
1182
|
description?: string;
|
|
1183
1183
|
data?: CustomizationIdsWrapper;
|
|
1184
|
+
} | {
|
|
1185
|
+
code?: 'INVALID_CUSTOMIZATION_RENDER_TYPE';
|
|
1186
|
+
description?: string;
|
|
1187
|
+
data?: Record<string, any>;
|
|
1184
1188
|
};
|
|
1185
1189
|
/** @docsIgnore */
|
|
1186
1190
|
type BulkCreateCustomizationsValidationErrors = {
|
|
@@ -1273,6 +1277,10 @@ type UpdateCustomizationChoicesApplicationErrors = {
|
|
|
1273
1277
|
code?: 'CHOICE_NOT_FOUND';
|
|
1274
1278
|
description?: string;
|
|
1275
1279
|
data?: Record<string, any>;
|
|
1280
|
+
} | {
|
|
1281
|
+
code?: 'CHOICE_PRICE_NOT_SUPPORTED';
|
|
1282
|
+
description?: string;
|
|
1283
|
+
data?: Record<string, any>;
|
|
1276
1284
|
};
|
|
1277
1285
|
/** @docsIgnore */
|
|
1278
1286
|
type UpdateCustomizationChoicesValidationErrors = {
|
|
@@ -1936,7 +1944,8 @@ interface RemoveCustomizationChoicesOptions {
|
|
|
1936
1944
|
* Updates properties of existing choices in a customization.
|
|
1937
1945
|
* Choices are identified by their IDs. Only the fields specified in `fieldMask` are updated.
|
|
1938
1946
|
*
|
|
1939
|
-
*
|
|
1947
|
+
* Supports updating `name`, `primaryChoiceIds`, `colorCode`, and `displayImage`.
|
|
1948
|
+
* Updating `addedPrice` is supported only for `MODIFIER` customizations.
|
|
1940
1949
|
* @param customizationId - Customization ID.
|
|
1941
1950
|
* @param revision - Revision number, which increments by 1 each time the customization is updated.
|
|
1942
1951
|
* To prevent conflicting changes,
|