@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/index.d.ts
CHANGED
|
@@ -121,10 +121,13 @@ interface UpdateCustomizationChoicesSignature {
|
|
|
121
121
|
declare function reorderCustomizationChoices$1(httpClient: HttpClient): ReorderCustomizationChoicesSignature;
|
|
122
122
|
interface ReorderCustomizationChoicesSignature {
|
|
123
123
|
/**
|
|
124
|
-
*
|
|
125
|
-
* Calling this endpoint sets `choicesSettings.sortOrder` to `MANUAL`.
|
|
124
|
+
* Sets the display order of a customization's choices.
|
|
126
125
|
*
|
|
127
|
-
*
|
|
126
|
+
* Each time the customization is updated, `revision` increments by 1. The current `revision` must be passed when updating the customization. This ensures you're working with the latest customization and prevents unintended overwrites.
|
|
127
|
+
*
|
|
128
|
+
* The new order is persisted in the customization's `choices` list. Calling this method also sets `choicesSettings.sortOrder` to `MANUAL`.
|
|
129
|
+
*
|
|
130
|
+
* To change how choices are sorted in storefront filter panels without specifying an explicit order, call [Update Customization](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/customizations-v3/update-customization) and set the `choicesSettings.sortOrder` field.
|
|
128
131
|
* @param - Customization ID.
|
|
129
132
|
* @param - 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.
|
|
130
133
|
*/
|