@wix/auto_sdk_stores_customizations-v-3 1.0.104 → 1.0.106

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.
@@ -139,9 +139,20 @@ interface FreeTextSettings {
139
139
  maxCharCount?: number;
140
140
  /**
141
141
  * Default amount added to a product's price when this choice is assigned to a modifier.
142
+ * Deprecated. Use `added_price` instead.
142
143
  * @decimalValue options { gte:0, lte:999999999.99, maxScale:3 }
144
+ * @deprecated Default amount added to a product's price when this choice is assigned to a modifier.
145
+ * Deprecated. Use `added_price` instead.
146
+ * @replacedBy added_price
147
+ * @targetRemovalDate 2027-06-30
143
148
  */
144
149
  defaultAddedPrice?: string | null;
150
+ /**
151
+ * Amount added to the product price for this free-text modifier.
152
+ * @internal
153
+ * @decimalValue options { gte:0, lte:999999999.99, maxScale:3 }
154
+ */
155
+ addedPrice?: string | null;
145
156
  /**
146
157
  * Title to display to customer for their free-text input.
147
158
  * @minLength 1
@@ -227,9 +238,20 @@ interface Choice extends ChoiceValueOneOf {
227
238
  name?: string;
228
239
  /**
229
240
  * Default amount added to a product's price when this customization is assigned to a modifier.
241
+ * Deprecated. Use `added_price` instead.
230
242
  * @decimalValue options { gte:0, lte:999999999.99, maxScale:3 }
243
+ * @deprecated Default amount added to a product's price when this customization is assigned to a modifier.
244
+ * Deprecated. Use `added_price` instead.
245
+ * @replacedBy added_price
246
+ * @targetRemovalDate 2027-06-30
231
247
  */
232
248
  defaultAddedPrice?: string | null;
249
+ /**
250
+ * Amount added to the product price in the store currency when this choice is selected.
251
+ * @internal
252
+ * @decimalValue options { gte:0, lte:999999999.99, maxScale:3 }
253
+ */
254
+ addedPrice?: string | null;
233
255
  /**
234
256
  * Optional image displayed alongside a `ONE_COLOR` choice in the storefront.
235
257
  * Only valid for `ONE_COLOR` choices; not populated for other choice types.
@@ -1257,6 +1279,10 @@ type BulkCreateCustomizationsApplicationErrors = {
1257
1279
  code?: 'CHOICES_LIMIT_EXCEEDED';
1258
1280
  description?: string;
1259
1281
  data?: CustomizationIdsWrapper;
1282
+ } | {
1283
+ code?: 'INVALID_CUSTOMIZATION_RENDER_TYPE';
1284
+ description?: string;
1285
+ data?: Record<string, any>;
1260
1286
  };
1261
1287
  /** @docsIgnore */
1262
1288
  type BulkCreateCustomizationsValidationErrors = {
@@ -139,9 +139,20 @@ interface FreeTextSettings {
139
139
  maxCharCount?: number;
140
140
  /**
141
141
  * Default amount added to a product's price when this choice is assigned to a modifier.
142
+ * Deprecated. Use `added_price` instead.
142
143
  * @decimalValue options { gte:0, lte:999999999.99, maxScale:3 }
144
+ * @deprecated Default amount added to a product's price when this choice is assigned to a modifier.
145
+ * Deprecated. Use `added_price` instead.
146
+ * @replacedBy added_price
147
+ * @targetRemovalDate 2027-06-30
143
148
  */
144
149
  defaultAddedPrice?: string | null;
150
+ /**
151
+ * Amount added to the product price for this free-text modifier.
152
+ * @internal
153
+ * @decimalValue options { gte:0, lte:999999999.99, maxScale:3 }
154
+ */
155
+ addedPrice?: string | null;
145
156
  /**
146
157
  * Title to display to customer for their free-text input.
147
158
  * @minLength 1
@@ -227,9 +238,20 @@ interface Choice extends ChoiceValueOneOf {
227
238
  name?: string;
228
239
  /**
229
240
  * Default amount added to a product's price when this customization is assigned to a modifier.
241
+ * Deprecated. Use `added_price` instead.
230
242
  * @decimalValue options { gte:0, lte:999999999.99, maxScale:3 }
243
+ * @deprecated Default amount added to a product's price when this customization is assigned to a modifier.
244
+ * Deprecated. Use `added_price` instead.
245
+ * @replacedBy added_price
246
+ * @targetRemovalDate 2027-06-30
231
247
  */
232
248
  defaultAddedPrice?: string | null;
249
+ /**
250
+ * Amount added to the product price in the store currency when this choice is selected.
251
+ * @internal
252
+ * @decimalValue options { gte:0, lte:999999999.99, maxScale:3 }
253
+ */
254
+ addedPrice?: string | null;
233
255
  /**
234
256
  * Optional image displayed alongside a `ONE_COLOR` choice in the storefront.
235
257
  * Only valid for `ONE_COLOR` choices; not populated for other choice types.
@@ -1388,6 +1410,10 @@ type BulkCreateCustomizationsApplicationErrors = {
1388
1410
  code?: 'CHOICES_LIMIT_EXCEEDED';
1389
1411
  description?: string;
1390
1412
  data?: CustomizationIdsWrapper;
1413
+ } | {
1414
+ code?: 'INVALID_CUSTOMIZATION_RENDER_TYPE';
1415
+ description?: string;
1416
+ data?: Record<string, any>;
1391
1417
  };
1392
1418
  /** @docsIgnore */
1393
1419
  type BulkCreateCustomizationsValidationErrors = {
@@ -139,9 +139,20 @@ interface FreeTextSettings {
139
139
  maxCharCount?: number;
140
140
  /**
141
141
  * Default amount added to a product's price when this choice is assigned to a modifier.
142
+ * Deprecated. Use `added_price` instead.
142
143
  * @decimalValue options { gte:0, lte:999999999.99, maxScale:3 }
144
+ * @deprecated Default amount added to a product's price when this choice is assigned to a modifier.
145
+ * Deprecated. Use `added_price` instead.
146
+ * @replacedBy added_price
147
+ * @targetRemovalDate 2027-06-30
143
148
  */
144
149
  defaultAddedPrice?: string | null;
150
+ /**
151
+ * Amount added to the product price for this free-text modifier.
152
+ * @internal
153
+ * @decimalValue options { gte:0, lte:999999999.99, maxScale:3 }
154
+ */
155
+ addedPrice?: string | null;
145
156
  /**
146
157
  * Title to display to customer for their free-text input.
147
158
  * @minLength 1
@@ -227,9 +238,20 @@ interface Choice extends ChoiceValueOneOf {
227
238
  name?: string;
228
239
  /**
229
240
  * Default amount added to a product's price when this customization is assigned to a modifier.
241
+ * Deprecated. Use `added_price` instead.
230
242
  * @decimalValue options { gte:0, lte:999999999.99, maxScale:3 }
243
+ * @deprecated Default amount added to a product's price when this customization is assigned to a modifier.
244
+ * Deprecated. Use `added_price` instead.
245
+ * @replacedBy added_price
246
+ * @targetRemovalDate 2027-06-30
231
247
  */
232
248
  defaultAddedPrice?: string | null;
249
+ /**
250
+ * Amount added to the product price in the store currency when this choice is selected.
251
+ * @internal
252
+ * @decimalValue options { gte:0, lte:999999999.99, maxScale:3 }
253
+ */
254
+ addedPrice?: string | null;
233
255
  /**
234
256
  * Optional image displayed alongside a `ONE_COLOR` choice in the storefront.
235
257
  * Only valid for `ONE_COLOR` choices; not populated for other choice types.
@@ -1257,6 +1279,10 @@ type BulkCreateCustomizationsApplicationErrors = {
1257
1279
  code?: 'CHOICES_LIMIT_EXCEEDED';
1258
1280
  description?: string;
1259
1281
  data?: CustomizationIdsWrapper;
1282
+ } | {
1283
+ code?: 'INVALID_CUSTOMIZATION_RENDER_TYPE';
1284
+ description?: string;
1285
+ data?: Record<string, any>;
1260
1286
  };
1261
1287
  /** @docsIgnore */
1262
1288
  type BulkCreateCustomizationsValidationErrors = {
@@ -139,9 +139,20 @@ interface FreeTextSettings {
139
139
  maxCharCount?: number;
140
140
  /**
141
141
  * Default amount added to a product's price when this choice is assigned to a modifier.
142
+ * Deprecated. Use `added_price` instead.
142
143
  * @decimalValue options { gte:0, lte:999999999.99, maxScale:3 }
144
+ * @deprecated Default amount added to a product's price when this choice is assigned to a modifier.
145
+ * Deprecated. Use `added_price` instead.
146
+ * @replacedBy added_price
147
+ * @targetRemovalDate 2027-06-30
143
148
  */
144
149
  defaultAddedPrice?: string | null;
150
+ /**
151
+ * Amount added to the product price for this free-text modifier.
152
+ * @internal
153
+ * @decimalValue options { gte:0, lte:999999999.99, maxScale:3 }
154
+ */
155
+ addedPrice?: string | null;
145
156
  /**
146
157
  * Title to display to customer for their free-text input.
147
158
  * @minLength 1
@@ -227,9 +238,20 @@ interface Choice extends ChoiceValueOneOf {
227
238
  name?: string;
228
239
  /**
229
240
  * Default amount added to a product's price when this customization is assigned to a modifier.
241
+ * Deprecated. Use `added_price` instead.
230
242
  * @decimalValue options { gte:0, lte:999999999.99, maxScale:3 }
243
+ * @deprecated Default amount added to a product's price when this customization is assigned to a modifier.
244
+ * Deprecated. Use `added_price` instead.
245
+ * @replacedBy added_price
246
+ * @targetRemovalDate 2027-06-30
231
247
  */
232
248
  defaultAddedPrice?: string | null;
249
+ /**
250
+ * Amount added to the product price in the store currency when this choice is selected.
251
+ * @internal
252
+ * @decimalValue options { gte:0, lte:999999999.99, maxScale:3 }
253
+ */
254
+ addedPrice?: string | null;
233
255
  /**
234
256
  * Optional image displayed alongside a `ONE_COLOR` choice in the storefront.
235
257
  * Only valid for `ONE_COLOR` choices; not populated for other choice types.
@@ -1388,6 +1410,10 @@ type BulkCreateCustomizationsApplicationErrors = {
1388
1410
  code?: 'CHOICES_LIMIT_EXCEEDED';
1389
1411
  description?: string;
1390
1412
  data?: CustomizationIdsWrapper;
1413
+ } | {
1414
+ code?: 'INVALID_CUSTOMIZATION_RENDER_TYPE';
1415
+ description?: string;
1416
+ data?: Record<string, any>;
1391
1417
  };
1392
1418
  /** @docsIgnore */
1393
1419
  type BulkCreateCustomizationsValidationErrors = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_stores_customizations-v-3",
3
- "version": "1.0.104",
3
+ "version": "1.0.106",
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": "a94017082ab925e5569c363189f1b1e2af72531d9236a6efdaf6c023"
53
+ "falconPackageHash": "06cf7dbe1979db19e0e8c09df801bf12ceb794bf27e9d1db4ce11736"
54
54
  }