@wix/auto_sdk_stores_customizations-v-3 1.0.106 → 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.
@@ -1375,6 +1375,10 @@ type UpdateCustomizationChoicesApplicationErrors = {
1375
1375
  code?: 'CHOICE_NOT_FOUND';
1376
1376
  description?: string;
1377
1377
  data?: Record<string, any>;
1378
+ } | {
1379
+ code?: 'CHOICE_PRICE_NOT_SUPPORTED';
1380
+ description?: string;
1381
+ data?: Record<string, any>;
1378
1382
  };
1379
1383
  /** @docsIgnore */
1380
1384
  type UpdateCustomizationChoicesValidationErrors = {
@@ -2057,7 +2061,8 @@ interface RemoveCustomizationChoicesOptions {
2057
2061
  * Updates properties of existing choices in a customization.
2058
2062
  * Choices are identified by their IDs. Only the fields specified in `fieldMask` are updated.
2059
2063
  *
2060
- * Currently supports updating `primaryChoiceIds`.
2064
+ * Supports updating `name`, `primaryChoiceIds`, `colorCode`, and `displayImage`.
2065
+ * Updating `addedPrice` is supported only for `MODIFIER` customizations.
2061
2066
  * @param customizationId - Customization ID.
2062
2067
  * @param revision - Revision number, which increments by 1 each time the customization is updated.
2063
2068
  * To prevent conflicting changes,
@@ -1506,6 +1506,10 @@ type UpdateCustomizationChoicesApplicationErrors = {
1506
1506
  code?: 'CHOICE_NOT_FOUND';
1507
1507
  description?: string;
1508
1508
  data?: Record<string, any>;
1509
+ } | {
1510
+ code?: 'CHOICE_PRICE_NOT_SUPPORTED';
1511
+ description?: string;
1512
+ data?: Record<string, any>;
1509
1513
  };
1510
1514
  /** @docsIgnore */
1511
1515
  type UpdateCustomizationChoicesValidationErrors = {
@@ -119,7 +119,8 @@ interface UpdateCustomizationChoicesSignature {
119
119
  * Updates properties of existing choices in a customization.
120
120
  * Choices are identified by their IDs. Only the fields specified in `fieldMask` are updated.
121
121
  *
122
- * Currently supports updating `primaryChoiceIds`.
122
+ * Supports updating `name`, `primaryChoiceIds`, `colorCode`, and `displayImage`.
123
+ * Updating `addedPrice` is supported only for `MODIFIER` customizations.
123
124
  * @param - Customization ID.
124
125
  * @param - Revision number, which increments by 1 each time the customization is updated.
125
126
  * To prevent conflicting changes,
@@ -1375,6 +1375,10 @@ type UpdateCustomizationChoicesApplicationErrors = {
1375
1375
  code?: 'CHOICE_NOT_FOUND';
1376
1376
  description?: string;
1377
1377
  data?: Record<string, any>;
1378
+ } | {
1379
+ code?: 'CHOICE_PRICE_NOT_SUPPORTED';
1380
+ description?: string;
1381
+ data?: Record<string, any>;
1378
1382
  };
1379
1383
  /** @docsIgnore */
1380
1384
  type UpdateCustomizationChoicesValidationErrors = {
@@ -2057,7 +2061,8 @@ interface RemoveCustomizationChoicesOptions {
2057
2061
  * Updates properties of existing choices in a customization.
2058
2062
  * Choices are identified by their IDs. Only the fields specified in `fieldMask` are updated.
2059
2063
  *
2060
- * Currently supports updating `primaryChoiceIds`.
2064
+ * Supports updating `name`, `primaryChoiceIds`, `colorCode`, and `displayImage`.
2065
+ * Updating `addedPrice` is supported only for `MODIFIER` customizations.
2061
2066
  * @param customizationId - Customization ID.
2062
2067
  * @param revision - Revision number, which increments by 1 each time the customization is updated.
2063
2068
  * To prevent conflicting changes,
@@ -1506,6 +1506,10 @@ type UpdateCustomizationChoicesApplicationErrors = {
1506
1506
  code?: 'CHOICE_NOT_FOUND';
1507
1507
  description?: string;
1508
1508
  data?: Record<string, any>;
1509
+ } | {
1510
+ code?: 'CHOICE_PRICE_NOT_SUPPORTED';
1511
+ description?: string;
1512
+ data?: Record<string, any>;
1509
1513
  };
1510
1514
  /** @docsIgnore */
1511
1515
  type UpdateCustomizationChoicesValidationErrors = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_stores_customizations-v-3",
3
- "version": "1.0.106",
3
+ "version": "1.0.107",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -50,5 +50,5 @@
50
50
  "fqdn": "wix.stores.catalog.v3.customization"
51
51
  }
52
52
  },
53
- "falconPackageHash": "06cf7dbe1979db19e0e8c09df801bf12ceb794bf27e9d1db4ce11736"
53
+ "falconPackageHash": "60229490919bc053afb6a47b85dd836d42ec58944ad04771e2cb59b1"
54
54
  }