@wix/auto_sdk_stores_catalog-imports-v-3 1.0.13 → 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.
- package/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +0 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +18 -17
- package/build/cjs/index.typings.js +0 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +17 -16
- package/build/cjs/meta.js +0 -2
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +0 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +18 -17
- package/build/es/index.typings.mjs +0 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +17 -16
- package/build/es/meta.mjs +0 -2
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +0 -2
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +18 -17
- package/build/internal/cjs/index.typings.js +0 -2
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +17 -16
- package/build/internal/cjs/meta.js +0 -2
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +0 -2
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +18 -17
- package/build/internal/es/index.typings.mjs +0 -2
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +17 -16
- package/build/internal/es/meta.mjs +0 -2
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -2359,34 +2359,37 @@ interface ChoicesSettings {
|
|
|
2359
2359
|
}
|
|
2360
2360
|
interface ConnectedOptionChoice extends ConnectedOptionChoiceValueOneOf {
|
|
2361
2361
|
/**
|
|
2362
|
-
*
|
|
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
|
-
*
|
|
2368
|
+
* Choice ID.
|
|
2369
2369
|
* @format GUID
|
|
2370
2370
|
*/
|
|
2371
2371
|
choiceId?: string | null;
|
|
2372
2372
|
/**
|
|
2373
|
-
* Product media
|
|
2374
|
-
*
|
|
2375
|
-
*
|
|
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
|
-
/**
|
|
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
|
-
*
|
|
2389
|
-
*
|
|
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
|
-
*
|
|
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'
|
|
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
|
/**
|
|
@@ -609,8 +609,6 @@ var ChoiceType = /* @__PURE__ */ ((ChoiceType2) => {
|
|
|
609
609
|
ChoiceType2["UNKNOWN_CHOICE_TYPE"] = "UNKNOWN_CHOICE_TYPE";
|
|
610
610
|
ChoiceType2["CHOICE_TEXT"] = "CHOICE_TEXT";
|
|
611
611
|
ChoiceType2["ONE_COLOR"] = "ONE_COLOR";
|
|
612
|
-
ChoiceType2["MULTIPLE_COLORS"] = "MULTIPLE_COLORS";
|
|
613
|
-
ChoiceType2["IMAGE"] = "IMAGE";
|
|
614
612
|
return ChoiceType2;
|
|
615
613
|
})(ChoiceType || {});
|
|
616
614
|
var ModifierRenderType = /* @__PURE__ */ ((ModifierRenderType2) => {
|