@wix/auto_sdk_stores_customizations-v-3 1.0.81 → 1.0.82
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 +6 -3
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +25 -10
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +17 -5
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +20 -0
- package/build/cjs/schemas.js +43 -21
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +6 -3
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +25 -10
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +17 -5
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +20 -0
- package/build/es/schemas.mjs +43 -21
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +6 -3
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +19 -17
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +17 -5
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +20 -0
- package/build/internal/cjs/schemas.js +43 -21
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +6 -3
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +19 -17
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +17 -5
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +20 -0
- package/build/internal/es/schemas.mjs +43 -21
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/meta.d.ts
CHANGED
|
@@ -198,6 +198,18 @@ interface Choice extends ChoiceValueOneOf {
|
|
|
198
198
|
* Only valid for ONE_COLOR choices; not populated for other choice types.
|
|
199
199
|
*/
|
|
200
200
|
displayImage?: CommonImage;
|
|
201
|
+
/**
|
|
202
|
+
* IDs of the primary choices this choice is grouped under.
|
|
203
|
+
*
|
|
204
|
+
* A choice that has `primaryChoiceIds` is a "linked" choice; a choice without `primaryChoiceIds` is a "primary" choice.
|
|
205
|
+
* A linked choice can reference up to 4 primary choices and appears nested under each of them on the storefront,
|
|
206
|
+
* rather than in the top-level choice list.
|
|
207
|
+
*
|
|
208
|
+
* Only one level of grouping is supported: a primary choice cannot itself be a linked choice.
|
|
209
|
+
* @format GUID
|
|
210
|
+
* @maxSize 4
|
|
211
|
+
*/
|
|
212
|
+
primaryChoiceIds?: string[];
|
|
201
213
|
}
|
|
202
214
|
/** @oneof */
|
|
203
215
|
interface ChoiceValueOneOf {
|
|
@@ -849,7 +861,7 @@ interface ReorderCustomizationChoicesRequest {
|
|
|
849
861
|
/** Revision number, which increments by 1 each time the customization is updated. To prevent conflicting changes, the current revision must be passed when updating the customization. */
|
|
850
862
|
revision: string;
|
|
851
863
|
/**
|
|
852
|
-
* Choice IDs in the desired display order. Must contain exactly the same
|
|
864
|
+
* Choice IDs in the desired display order. Must contain exactly the same IDs as the customization's current choices, with no additions, removals, or duplicates.
|
|
853
865
|
* @format GUID
|
|
854
866
|
* @minSize 1
|
|
855
867
|
* @maxSize 200
|
|
@@ -858,20 +870,20 @@ interface ReorderCustomizationChoicesRequest {
|
|
|
858
870
|
/**
|
|
859
871
|
* Fields to include in the response.
|
|
860
872
|
*
|
|
861
|
-
* Supported values: `ASSIGNED_PRODUCTS_COUNT
|
|
873
|
+
* Supported values: `ASSIGNED_PRODUCTS_COUNT`.
|
|
862
874
|
* @maxSize 100
|
|
863
875
|
*/
|
|
864
876
|
fields?: RequestedFieldsWithLiterals[];
|
|
865
877
|
}
|
|
866
878
|
interface ReorderCustomizationChoicesResponse {
|
|
867
|
-
/** Updated customization. */
|
|
879
|
+
/** Updated customization, with `choices` in the new order and `choicesSettings.sortOrder` set to `MANUAL`. */
|
|
868
880
|
customization?: Customization;
|
|
869
881
|
}
|
|
870
882
|
/** Additional error details returned with the `CHOICE_IDS_MISMATCH` error. */
|
|
871
883
|
interface ChoiceIdsMismatchData {
|
|
872
|
-
/** Choice IDs that exist in the customization but are missing from
|
|
884
|
+
/** Choice IDs that exist in the customization but are missing from `choiceIds`. */
|
|
873
885
|
missingIds?: string[];
|
|
874
|
-
/** Choice IDs included in
|
|
886
|
+
/** Choice IDs included in `choiceIds` that don't exist in the customization, or that appear in `choiceIds` more than once. */
|
|
875
887
|
extraIds?: string[];
|
|
876
888
|
}
|
|
877
889
|
interface BulkAddCustomizationChoicesRequest {
|