@wix/auto_sdk_stores_customizations-v-3 1.0.48 → 1.0.50
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 +5 -3
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +8 -6
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +5 -3
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +8 -6
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +5 -3
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +8 -6
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +5 -3
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +8 -6
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -41,7 +41,9 @@ interface DeleteCustomizationSignature {
|
|
|
41
41
|
/**
|
|
42
42
|
* Deletes a customization.
|
|
43
43
|
*
|
|
44
|
-
* > **
|
|
44
|
+
* > **Notes:**
|
|
45
|
+
* > + **Options** (customizations with `customizationType: PRODUCT_OPTION`) can't be deleted while assigned to any product because they affect product variants and inventory.
|
|
46
|
+
* > + **Modifiers** can be deleted freely. When deleted, they are automatically removed from all products that reference them.
|
|
45
47
|
* @param - Customization ID.
|
|
46
48
|
*/
|
|
47
49
|
(customizationId: string): Promise<void & {
|
|
@@ -51,7 +53,7 @@ interface DeleteCustomizationSignature {
|
|
|
51
53
|
declare function bulkCreateCustomizations$1(httpClient: HttpClient): BulkCreateCustomizationsSignature;
|
|
52
54
|
interface BulkCreateCustomizationsSignature {
|
|
53
55
|
/**
|
|
54
|
-
* Creates multiple
|
|
56
|
+
* Creates multiple customizations.
|
|
55
57
|
* @param - Customizations to create.
|
|
56
58
|
*/
|
|
57
59
|
(customizations: Customization[], options?: BulkCreateCustomizationsOptions): Promise<NonNullablePaths<BulkCreateCustomizationsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.customization.freeTextInput.minCharCount` | `results.${number}.customization.freeTextInput.maxCharCount` | `results.${number}.customization.freeTextInput.title` | `results.${number}.customization.name` | `results.${number}.customization.customizationType` | `results.${number}.customization.customizationRenderType` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6> & {
|
|
@@ -90,7 +92,7 @@ interface RemoveCustomizationChoicesSignature {
|
|
|
90
92
|
/**
|
|
91
93
|
* Removes choices from a customization.
|
|
92
94
|
*
|
|
93
|
-
*
|
|
95
|
+
* > **Note:** A choice can't be removed if it's assigned to one or more product variants. This applies to option choices only; modifier choices can be removed freely.
|
|
94
96
|
* @param - Customization ID.
|
|
95
97
|
* @param - IDs of choices to remove.
|
|
96
98
|
*/
|