@wix/auto_sdk_stores_read-only-variants-v-3 1.0.42 → 1.0.43
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 +4 -4
- package/build/cjs/index.js +0 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +0 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +16 -17
- package/build/cjs/meta.js +0 -2
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/{stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-bxyvT3P6.d.ts → stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-DCmK2i6O.d.ts} +74 -23
- package/build/es/index.d.mts +4 -4
- package/build/es/index.mjs +0 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +0 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +16 -17
- package/build/es/meta.mjs +0 -2
- package/build/es/meta.mjs.map +1 -1
- package/build/es/{stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-bxyvT3P6.d.mts → stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-DCmK2i6O.d.mts} +74 -23
- package/build/internal/cjs/index.d.ts +4 -4
- 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 +2 -2
- 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 +16 -17
- package/build/internal/cjs/meta.js +0 -2
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/{stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-BBQUkXOZ.d.ts → stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-Rz7CJtzF.d.ts} +74 -23
- package/build/internal/es/index.d.mts +4 -4
- 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 +2 -2
- 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 +16 -17
- package/build/internal/es/meta.mjs +0 -2
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/{stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-BBQUkXOZ.d.mts → stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-Rz7CJtzF.d.mts} +74 -23
- package/package.json +3 -3
package/build/cjs/meta.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aW as QueryVariantsRequest$1,
|
|
1
|
+
import { aW as QueryVariantsRequest$1, a$ as QueryVariantsResponse$1, b2 as SearchVariantsRequest$1, a as SearchVariantsResponse$1 } from './stores-catalog-v3-read-only-variant-read-only-variants-v-3.universal-DCmK2i6O.js';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -4122,34 +4122,37 @@ interface ChoicesSettings {
|
|
|
4122
4122
|
}
|
|
4123
4123
|
interface ConnectedOptionChoice extends ConnectedOptionChoiceValueOneOf {
|
|
4124
4124
|
/**
|
|
4125
|
-
*
|
|
4125
|
+
* 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.
|
|
4126
4126
|
* @minLength 3
|
|
4127
4127
|
* @maxLength 20
|
|
4128
4128
|
*/
|
|
4129
4129
|
colorCode?: string;
|
|
4130
4130
|
/**
|
|
4131
|
-
*
|
|
4131
|
+
* Choice ID.
|
|
4132
4132
|
* @format GUID
|
|
4133
4133
|
*/
|
|
4134
4134
|
choiceId?: string | null;
|
|
4135
4135
|
/**
|
|
4136
|
-
* Product media
|
|
4137
|
-
*
|
|
4138
|
-
*
|
|
4136
|
+
* Product media to display when this choice is selected.
|
|
4137
|
+
*
|
|
4138
|
+
* When not empty, only these images are shown when a customer selects this choice. Otherwise, all product images are shown.
|
|
4139
|
+
* When multiple choices from different options are selected, only media present in `linkedMedia` of ALL selected choices are shown.
|
|
4140
|
+
* 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.
|
|
4139
4141
|
* @maxSize 100
|
|
4140
4142
|
*/
|
|
4141
4143
|
linkedMedia?: ProductMedia[];
|
|
4142
|
-
/**
|
|
4144
|
+
/** Choice type. */
|
|
4143
4145
|
choiceType?: ChoiceTypeWithLiterals;
|
|
4144
4146
|
/**
|
|
4145
|
-
* Choice name.
|
|
4147
|
+
* Choice name. For text choices, this field also contains the choice value.
|
|
4146
4148
|
* @minLength 1
|
|
4147
4149
|
* @maxLength 50
|
|
4148
4150
|
*/
|
|
4149
4151
|
name?: string | null;
|
|
4150
4152
|
/**
|
|
4151
|
-
*
|
|
4152
|
-
*
|
|
4153
|
+
* Whether at least one variant with this choice is in stock in the default location of the store.
|
|
4154
|
+
*
|
|
4155
|
+
* 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`.
|
|
4153
4156
|
* @readonly
|
|
4154
4157
|
*/
|
|
4155
4158
|
inStock?: boolean;
|
|
@@ -4164,7 +4167,7 @@ interface ConnectedOptionChoice extends ConnectedOptionChoiceValueOneOf {
|
|
|
4164
4167
|
/** @oneof */
|
|
4165
4168
|
interface ConnectedOptionChoiceValueOneOf {
|
|
4166
4169
|
/**
|
|
4167
|
-
*
|
|
4170
|
+
* 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.
|
|
4168
4171
|
* @minLength 3
|
|
4169
4172
|
* @maxLength 20
|
|
4170
4173
|
*/
|
|
@@ -4175,14 +4178,10 @@ declare enum ChoiceType {
|
|
|
4175
4178
|
/** Text choice. */
|
|
4176
4179
|
CHOICE_TEXT = "CHOICE_TEXT",
|
|
4177
4180
|
/** Single color choice. */
|
|
4178
|
-
ONE_COLOR = "ONE_COLOR"
|
|
4179
|
-
/** Multiple colors choice. */
|
|
4180
|
-
MULTIPLE_COLORS = "MULTIPLE_COLORS",
|
|
4181
|
-
/** Image choice. */
|
|
4182
|
-
IMAGE = "IMAGE"
|
|
4181
|
+
ONE_COLOR = "ONE_COLOR"
|
|
4183
4182
|
}
|
|
4184
4183
|
/** @enumType */
|
|
4185
|
-
type ChoiceTypeWithLiterals = ChoiceType | 'UNKNOWN_CHOICE_TYPE' | 'CHOICE_TEXT' | 'ONE_COLOR'
|
|
4184
|
+
type ChoiceTypeWithLiterals = ChoiceType | 'UNKNOWN_CHOICE_TYPE' | 'CHOICE_TEXT' | 'ONE_COLOR';
|
|
4186
4185
|
interface MultipleColors {
|
|
4187
4186
|
/**
|
|
4188
4187
|
* List of color codes.
|
package/build/cjs/meta.js
CHANGED
|
@@ -773,8 +773,6 @@ var ChoiceType = /* @__PURE__ */ ((ChoiceType2) => {
|
|
|
773
773
|
ChoiceType2["UNKNOWN_CHOICE_TYPE"] = "UNKNOWN_CHOICE_TYPE";
|
|
774
774
|
ChoiceType2["CHOICE_TEXT"] = "CHOICE_TEXT";
|
|
775
775
|
ChoiceType2["ONE_COLOR"] = "ONE_COLOR";
|
|
776
|
-
ChoiceType2["MULTIPLE_COLORS"] = "MULTIPLE_COLORS";
|
|
777
|
-
ChoiceType2["IMAGE"] = "IMAGE";
|
|
778
776
|
return ChoiceType2;
|
|
779
777
|
})(ChoiceType || {});
|
|
780
778
|
var ModifierRenderType = /* @__PURE__ */ ((ModifierRenderType2) => {
|