@wix/auto_sdk_stores_catalog-imports-v-3 1.0.14 → 1.0.15

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.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +1 -1
  2. package/build/cjs/index.js +0 -2
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +18 -17
  5. package/build/cjs/index.typings.js +0 -2
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +17 -16
  8. package/build/cjs/meta.js +0 -2
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +1 -1
  11. package/build/es/index.mjs +0 -2
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +18 -17
  14. package/build/es/index.typings.mjs +0 -2
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +17 -16
  17. package/build/es/meta.mjs +0 -2
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +1 -1
  20. package/build/internal/cjs/index.js +0 -2
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +18 -17
  23. package/build/internal/cjs/index.typings.js +0 -2
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +17 -16
  26. package/build/internal/cjs/meta.js +0 -2
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +1 -1
  29. package/build/internal/es/index.mjs +0 -2
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +18 -17
  32. package/build/internal/es/index.typings.mjs +0 -2
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +17 -16
  35. package/build/internal/es/meta.mjs +0 -2
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +3 -3
@@ -2359,34 +2359,37 @@ interface ChoicesSettings {
2359
2359
  }
2360
2360
  interface ConnectedOptionChoice extends ConnectedOptionChoiceValueOneOf {
2361
2361
  /**
2362
- * Color code in HEX format, [as described by MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color).
2362
+ * Single color code in HEX format, [as described by MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color). For example, `#FF0000` for red.
2363
2363
  * @minLength 3
2364
2364
  * @maxLength 20
2365
2365
  */
2366
2366
  colorCode?: string;
2367
2367
  /**
2368
- * The id of the choice.
2368
+ * Choice ID.
2369
2369
  * @format GUID
2370
2370
  */
2371
2371
  choiceId?: string | null;
2372
2372
  /**
2373
- * Product media overrides. When not empty only these images will be shown when such choices selected by customer. Otherwise all images of product.
2374
- * When several choices from different options selected only media filter present in `media_overrides` of ALL choices will be shown.
2375
- * For example if Color:red has images 1,2,3 and Material:Silk has images 2,3,5 then only images 2,3 will be shown when both of them selected.
2373
+ * Product media to display when this choice is selected.
2374
+ *
2375
+ * When not empty, only these images are shown when a customer selects this choice. Otherwise, all product images are shown.
2376
+ * When multiple choices from different options are selected, only media present in `linkedMedia` of ALL selected choices are shown.
2377
+ * For example, if `Color: Red` has images 1, 2, 3 and `Material: Silk` has images 2, 3, 5, then only images 2 and 3 are shown when both are selected.
2376
2378
  * @maxSize 100
2377
2379
  */
2378
2380
  linkedMedia?: ProductMedia[];
2379
- /** The type of this choice. */
2381
+ /** Choice type. */
2380
2382
  choiceType?: ChoiceTypeWithLiterals;
2381
2383
  /**
2382
- * Choice name.
2384
+ * Choice name. For text choices, this field also contains the choice value.
2383
2385
  * @minLength 1
2384
2386
  * @maxLength 50
2385
2387
  */
2386
2388
  name?: string | null;
2387
2389
  /**
2388
- * A flag that indicates if at least one variant with this choice is in stock in the default store's location.
2389
- * For example, a product with 'Color' and 'Size' options with variants: [Blue, Small] which is out of stock and [Red Large] which is in stock. For choice 'Blue' ths flag will be 'false' and for 'Red' the flag will be true
2390
+ * Whether at least one variant with this choice is in stock in the default location of the store.
2391
+ *
2392
+ * For example, a product with Color and Size options has these variants: [Blue, Small] which is out of stock and [Red, Large] which is in stock. For choice Blue, this field is `false`. For choice Red, this field is `true`.
2390
2393
  * @readonly
2391
2394
  */
2392
2395
  inStock?: boolean;
@@ -2401,7 +2404,7 @@ interface ConnectedOptionChoice extends ConnectedOptionChoiceValueOneOf {
2401
2404
  /** @oneof */
2402
2405
  interface ConnectedOptionChoiceValueOneOf {
2403
2406
  /**
2404
- * Color code in HEX format, [as described by MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color).
2407
+ * Single color code in HEX format, [as described by MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color). For example, `#FF0000` for red.
2405
2408
  * @minLength 3
2406
2409
  * @maxLength 20
2407
2410
  */
@@ -2412,14 +2415,10 @@ declare enum ChoiceType {
2412
2415
  /** Text choice. */
2413
2416
  CHOICE_TEXT = "CHOICE_TEXT",
2414
2417
  /** Single color choice. */
2415
- ONE_COLOR = "ONE_COLOR",
2416
- /** Multiple colors choice. */
2417
- MULTIPLE_COLORS = "MULTIPLE_COLORS",
2418
- /** Image choice. */
2419
- IMAGE = "IMAGE"
2418
+ ONE_COLOR = "ONE_COLOR"
2420
2419
  }
2421
2420
  /** @enumType */
2422
- type ChoiceTypeWithLiterals = ChoiceType | 'UNKNOWN_CHOICE_TYPE' | 'CHOICE_TEXT' | 'ONE_COLOR' | 'MULTIPLE_COLORS' | 'IMAGE';
2421
+ type ChoiceTypeWithLiterals = ChoiceType | 'UNKNOWN_CHOICE_TYPE' | 'CHOICE_TEXT' | 'ONE_COLOR';
2423
2422
  interface MultipleColors {
2424
2423
  /**
2425
2424
  * List of color codes.
@@ -3248,6 +3247,8 @@ interface SubmitCatalogImportResponse {
3248
3247
  * @format GUID
3249
3248
  */
3250
3249
  jobId?: string;
3250
+ /** Total number of items that will be processed in this import */
3251
+ totalProductsCount?: number;
3251
3252
  }
3252
3253
  interface CatalogImportAlreadySubmittedErrorData {
3253
3254
  /**
package/build/cjs/meta.js CHANGED
@@ -689,8 +689,6 @@ var ChoiceType = /* @__PURE__ */ ((ChoiceType2) => {
689
689
  ChoiceType2["UNKNOWN_CHOICE_TYPE"] = "UNKNOWN_CHOICE_TYPE";
690
690
  ChoiceType2["CHOICE_TEXT"] = "CHOICE_TEXT";
691
691
  ChoiceType2["ONE_COLOR"] = "ONE_COLOR";
692
- ChoiceType2["MULTIPLE_COLORS"] = "MULTIPLE_COLORS";
693
- ChoiceType2["IMAGE"] = "IMAGE";
694
692
  return ChoiceType2;
695
693
  })(ChoiceType || {});
696
694
  var ModifierRenderType = /* @__PURE__ */ ((ModifierRenderType2) => {