@wix/auto_sdk_stores_customizations-v-3 1.0.80 → 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 +39 -3
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +77 -10
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +29 -7
- package/build/cjs/meta.js +1 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +186 -1
- package/build/cjs/schemas.js +336 -25
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +39 -3
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +77 -10
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +29 -7
- package/build/es/meta.mjs +1 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +186 -1
- package/build/es/schemas.mjs +332 -25
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +6 -7
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +22 -22
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +29 -7
- package/build/internal/cjs/meta.js +1 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +186 -1
- package/build/internal/cjs/schemas.js +336 -25
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +6 -7
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +22 -22
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +29 -7
- package/build/internal/es/meta.mjs +1 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +186 -1
- package/build/internal/es/schemas.mjs +332 -25
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -101,7 +101,6 @@ interface RemoveCustomizationChoicesSignature {
|
|
|
101
101
|
__validationErrorsType?: RemoveCustomizationChoicesValidationErrors;
|
|
102
102
|
}>;
|
|
103
103
|
}
|
|
104
|
-
/** @internal */
|
|
105
104
|
declare function updateCustomizationChoices$1(httpClient: HttpClient): UpdateCustomizationChoicesSignature;
|
|
106
105
|
interface UpdateCustomizationChoicesSignature {
|
|
107
106
|
/**
|
|
@@ -119,14 +118,16 @@ interface UpdateCustomizationChoicesSignature {
|
|
|
119
118
|
__validationErrorsType?: UpdateCustomizationChoicesValidationErrors;
|
|
120
119
|
}>;
|
|
121
120
|
}
|
|
122
|
-
/** @internal */
|
|
123
121
|
declare function reorderCustomizationChoices$1(httpClient: HttpClient): ReorderCustomizationChoicesSignature;
|
|
124
122
|
interface ReorderCustomizationChoicesSignature {
|
|
125
123
|
/**
|
|
126
|
-
*
|
|
127
|
-
* Calling this endpoint sets `choicesSettings.sortOrder` to `MANUAL`.
|
|
124
|
+
* Sets the display order of a customization's choices.
|
|
128
125
|
*
|
|
129
|
-
*
|
|
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.
|
|
130
131
|
* @param - Customization ID.
|
|
131
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.
|
|
132
133
|
*/
|
|
@@ -173,9 +174,7 @@ declare const bulkCreateCustomizations: MaybeContext<BuildRESTFunction<typeof bu
|
|
|
173
174
|
declare const addCustomizationChoices: MaybeContext<BuildRESTFunction<typeof addCustomizationChoices$1> & typeof addCustomizationChoices$1>;
|
|
174
175
|
declare const setCustomizationChoices: MaybeContext<BuildRESTFunction<typeof setCustomizationChoices$1> & typeof setCustomizationChoices$1>;
|
|
175
176
|
declare const removeCustomizationChoices: MaybeContext<BuildRESTFunction<typeof removeCustomizationChoices$1> & typeof removeCustomizationChoices$1>;
|
|
176
|
-
/** @internal */
|
|
177
177
|
declare const updateCustomizationChoices: MaybeContext<BuildRESTFunction<typeof updateCustomizationChoices$1> & typeof updateCustomizationChoices$1>;
|
|
178
|
-
/** @internal */
|
|
179
178
|
declare const reorderCustomizationChoices: MaybeContext<BuildRESTFunction<typeof reorderCustomizationChoices$1> & typeof reorderCustomizationChoices$1>;
|
|
180
179
|
declare const bulkAddCustomizationChoices: MaybeContext<BuildRESTFunction<typeof bulkAddCustomizationChoices$1> & typeof bulkAddCustomizationChoices$1>;
|
|
181
180
|
declare const bulkUpdateCustomizations: MaybeContext<BuildRESTFunction<typeof bulkUpdateCustomizations$1> & typeof bulkUpdateCustomizations$1>;
|