@wix/auto_sdk_stores_customizations-v-3 1.0.82 → 1.0.83

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.
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/stores-catalog-v3-customization-customizations-v-3.schemas.ts"],"sourcesContent":["import * as z from 'zod';\n\nexport const CreateCustomizationRequest = z.object({\n customization: z\n .intersection(\n z.object({\n _id: z\n .string()\n .describe('Customization ID.')\n .min(1)\n .max(36)\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the customization is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the customization.\\n\\nIgnored when creating a customization.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the customization was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the customization was updated.')\n .optional()\n .nullable(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the customization name.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(50)\n .optional()\n .nullable(),\n name: z\n .string()\n .describe(\n 'Customization name for options (for example, `\"color\"`, `\"size\"`) and modifiers (for example, `\"greeting card\"`).'\n )\n .min(1)\n .max(50),\n customizationType: z.enum(['PRODUCT_OPTION', 'MODIFIER']),\n customizationRenderType: z.enum([\n 'FREE_TEXT',\n 'TEXT_CHOICES',\n 'SWATCH_CHOICES',\n ]),\n assignedProductsCount: z\n .number()\n .int()\n .describe(\n 'Number of products this customization is assigned to.\\n> **Note:** Returned only when you pass `\"ASSIGNED_PRODUCTS_COUNT\"` to the `fields` array in Customizations API requests.'\n )\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({\n choicesSettings: z.never().optional(),\n freeTextInput: z\n .object({\n minCharCount: z\n .number()\n .int()\n .describe('Minimum text character length.')\n .optional(),\n maxCharCount: z\n .number()\n .int()\n .describe('Maximum text character length.')\n .max(500)\n .optional(),\n defaultAddedPrice: z\n .string()\n .describe(\n \"Default amount added to a product's price when this choice is assigned to a modifier.\"\n )\n .optional()\n .nullable(),\n title: z\n .string()\n .describe(\n 'Title to display to customer for their free-text input.'\n )\n .min(1)\n .max(100),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the title.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(150)\n .optional()\n .nullable(),\n })\n .describe(\n 'Free text input settings.\\n\\n> **Note:** To be passed along with `customizationRenderType: FREE_TEXT`.'\n ),\n }),\n z.object({\n freeTextInput: z.never().optional(),\n choicesSettings: z\n .object({\n choices: z\n .array(\n z.intersection(\n z.object({\n _id: z\n .string()\n .describe('Choice ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n choiceType: z\n .enum(['CHOICE_TEXT', 'ONE_COLOR'])\n .optional(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the choice name.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(50)\n .optional()\n .nullable(),\n name: z\n .string()\n .describe('Choice name.')\n .min(1)\n .max(50)\n .optional(),\n defaultAddedPrice: z\n .string()\n .describe(\n \"Default amount added to a product's price when this customization is assigned to a modifier.\"\n )\n .optional()\n .nullable(),\n displayImage: z\n .string()\n .describe(\n 'Optional image displayed alongside a ONE_COLOR choice in the storefront.\\nOnly valid for ONE_COLOR choices; not populated for other choice types.'\n )\n .optional(),\n primaryChoiceIds: z.array(z.string()).max(4).optional(),\n }),\n z.xor([\n z.object({ colorCode: z.never().optional() }),\n z.object({\n colorCode: z\n .string()\n .describe(\n 'Color code in HEX format, [as described by MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color).'\n )\n .min(3)\n .max(20),\n }),\n ])\n )\n )\n .min(1)\n .max(200),\n })\n .describe(\n 'Choices settings.\\n\\n> **Note:** Must be passed along with `customizationRenderType` of `SWATCH_CHOICES` and `TEXT_CHOICES`.'\n ),\n }),\n ])\n )\n .describe('Customization to create.'),\n});\nexport const CreateCustomizationResponse = z.intersection(\n z.object({\n _id: z\n .string()\n .describe('Customization ID.')\n .min(1)\n .max(36)\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the customization is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the customization.\\n\\nIgnored when creating a customization.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the customization was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the customization was updated.')\n .optional()\n .nullable(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the customization name.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(50)\n .optional()\n .nullable(),\n name: z\n .string()\n .describe(\n 'Customization name for options (for example, `\"color\"`, `\"size\"`) and modifiers (for example, `\"greeting card\"`).'\n )\n .min(1)\n .max(50)\n .optional(),\n customizationType: z\n .enum(['PRODUCT_OPTION', 'MODIFIER'])\n .describe('Customization type.')\n .optional(),\n customizationRenderType: z\n .enum(['FREE_TEXT', 'TEXT_CHOICES', 'SWATCH_CHOICES'])\n .describe(\n 'Customization render type.\\n\\nDefines how the customization will be displayed in the storefront.'\n )\n .optional(),\n assignedProductsCount: z\n .number()\n .int()\n .describe(\n 'Number of products this customization is assigned to.\\n> **Note:** Returned only when you pass `\"ASSIGNED_PRODUCTS_COUNT\"` to the `fields` array in Customizations API requests.'\n )\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({\n freeTextInput: z.never().optional(),\n choicesSettings: z.never().optional(),\n }),\n z.object({\n choicesSettings: z.never().optional(),\n freeTextInput: z\n .object({\n minCharCount: z\n .number()\n .int()\n .describe('Minimum text character length.')\n .optional(),\n maxCharCount: z\n .number()\n .int()\n .describe('Maximum text character length.')\n .max(500)\n .optional(),\n defaultAddedPrice: z\n .string()\n .describe(\n \"Default amount added to a product's price when this choice is assigned to a modifier.\"\n )\n .optional()\n .nullable(),\n title: z\n .string()\n .describe('Title to display to customer for their free-text input.')\n .min(1)\n .max(100)\n .optional(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the title.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(150)\n .optional()\n .nullable(),\n })\n .describe(\n 'Free text input settings.\\n\\n> **Note:** To be passed along with `customizationRenderType: FREE_TEXT`.'\n ),\n }),\n z.object({\n freeTextInput: z.never().optional(),\n choicesSettings: z\n .object({\n choices: z\n .array(\n z.intersection(\n z.object({\n _id: z\n .string()\n .describe('Choice ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n choiceType: z\n .enum(['CHOICE_TEXT', 'ONE_COLOR'])\n .describe(\n 'Choice type.\\n\\n> **Notes:**\\n> + For `customizationRenderType: SWATCH_CHOICES`, the supported `choiceType` value is: `ONE_COLOR`.\\n> + For a `customizationRenderType` of `TEXT_CHOICES`, the supported `choiceType` value is: `CHOICE_TEXT`.'\n )\n .optional(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the choice name.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(50)\n .optional()\n .nullable(),\n name: z\n .string()\n .describe('Choice name.')\n .min(1)\n .max(50)\n .optional(),\n defaultAddedPrice: z\n .string()\n .describe(\n \"Default amount added to a product's price when this customization is assigned to a modifier.\"\n )\n .optional()\n .nullable(),\n displayImage: z\n .string()\n .describe(\n 'Optional image displayed alongside a ONE_COLOR choice in the storefront.\\nOnly valid for ONE_COLOR choices; not populated for other choice types.'\n )\n .optional(),\n primaryChoiceIds: z.array(z.string()).max(4).optional(),\n }),\n z.xor([\n z.object({ colorCode: z.never().optional() }),\n z.object({\n colorCode: z\n .string()\n .describe(\n 'Color code in HEX format, [as described by MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color).'\n )\n .min(3)\n .max(20),\n }),\n ])\n )\n )\n .min(1)\n .max(200)\n .optional(),\n })\n .describe(\n 'Choices settings.\\n\\n> **Note:** Must be passed along with `customizationRenderType` of `SWATCH_CHOICES` and `TEXT_CHOICES`.'\n ),\n }),\n ])\n);\nexport const GetCustomizationRequest = z.object({\n customizationId: z\n .string()\n .describe('Customization ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n ),\n options: z\n .object({\n fields: z\n .array(z.enum(['ASSIGNED_PRODUCTS_COUNT', 'CHOICE_DISPLAY_IMAGE']))\n .max(100)\n .optional(),\n })\n .optional(),\n});\nexport const GetCustomizationResponse = z.intersection(\n z.object({\n _id: z\n .string()\n .describe('Customization ID.')\n .min(1)\n .max(36)\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the customization is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the customization.\\n\\nIgnored when creating a customization.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the customization was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the customization was updated.')\n .optional()\n .nullable(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the customization name.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(50)\n .optional()\n .nullable(),\n name: z\n .string()\n .describe(\n 'Customization name for options (for example, `\"color\"`, `\"size\"`) and modifiers (for example, `\"greeting card\"`).'\n )\n .min(1)\n .max(50)\n .optional(),\n customizationType: z\n .enum(['PRODUCT_OPTION', 'MODIFIER'])\n .describe('Customization type.')\n .optional(),\n customizationRenderType: z\n .enum(['FREE_TEXT', 'TEXT_CHOICES', 'SWATCH_CHOICES'])\n .describe(\n 'Customization render type.\\n\\nDefines how the customization will be displayed in the storefront.'\n )\n .optional(),\n assignedProductsCount: z\n .number()\n .int()\n .describe(\n 'Number of products this customization is assigned to.\\n> **Note:** Returned only when you pass `\"ASSIGNED_PRODUCTS_COUNT\"` to the `fields` array in Customizations API requests.'\n )\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({\n freeTextInput: z.never().optional(),\n choicesSettings: z.never().optional(),\n }),\n z.object({\n choicesSettings: z.never().optional(),\n freeTextInput: z\n .object({\n minCharCount: z\n .number()\n .int()\n .describe('Minimum text character length.')\n .optional(),\n maxCharCount: z\n .number()\n .int()\n .describe('Maximum text character length.')\n .max(500)\n .optional(),\n defaultAddedPrice: z\n .string()\n .describe(\n \"Default amount added to a product's price when this choice is assigned to a modifier.\"\n )\n .optional()\n .nullable(),\n title: z\n .string()\n .describe('Title to display to customer for their free-text input.')\n .min(1)\n .max(100)\n .optional(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the title.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(150)\n .optional()\n .nullable(),\n })\n .describe(\n 'Free text input settings.\\n\\n> **Note:** To be passed along with `customizationRenderType: FREE_TEXT`.'\n ),\n }),\n z.object({\n freeTextInput: z.never().optional(),\n choicesSettings: z\n .object({\n choices: z\n .array(\n z.intersection(\n z.object({\n _id: z\n .string()\n .describe('Choice ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n choiceType: z\n .enum(['CHOICE_TEXT', 'ONE_COLOR'])\n .describe(\n 'Choice type.\\n\\n> **Notes:**\\n> + For `customizationRenderType: SWATCH_CHOICES`, the supported `choiceType` value is: `ONE_COLOR`.\\n> + For a `customizationRenderType` of `TEXT_CHOICES`, the supported `choiceType` value is: `CHOICE_TEXT`.'\n )\n .optional(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the choice name.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(50)\n .optional()\n .nullable(),\n name: z\n .string()\n .describe('Choice name.')\n .min(1)\n .max(50)\n .optional(),\n defaultAddedPrice: z\n .string()\n .describe(\n \"Default amount added to a product's price when this customization is assigned to a modifier.\"\n )\n .optional()\n .nullable(),\n displayImage: z\n .string()\n .describe(\n 'Optional image displayed alongside a ONE_COLOR choice in the storefront.\\nOnly valid for ONE_COLOR choices; not populated for other choice types.'\n )\n .optional(),\n primaryChoiceIds: z.array(z.string()).max(4).optional(),\n }),\n z.xor([\n z.object({ colorCode: z.never().optional() }),\n z.object({\n colorCode: z\n .string()\n .describe(\n 'Color code in HEX format, [as described by MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color).'\n )\n .min(3)\n .max(20),\n }),\n ])\n )\n )\n .min(1)\n .max(200)\n .optional(),\n })\n .describe(\n 'Choices settings.\\n\\n> **Note:** Must be passed along with `customizationRenderType` of `SWATCH_CHOICES` and `TEXT_CHOICES`.'\n ),\n }),\n ])\n);\nexport const UpdateCustomizationRequest = z.object({\n _id: z.string().describe('Customization ID.').min(1).max(36),\n customization: z\n .intersection(\n z.object({\n _id: z\n .string()\n .describe('Customization ID.')\n .min(1)\n .max(36)\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the customization is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the customization.\\n\\nIgnored when creating a customization.'\n ),\n _createdDate: z\n .date()\n .describe('Date and time the customization was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the customization was updated.')\n .optional()\n .nullable(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the customization name.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(50)\n .optional()\n .nullable(),\n name: z\n .string()\n .describe(\n 'Customization name for options (for example, `\"color\"`, `\"size\"`) and modifiers (for example, `\"greeting card\"`).'\n )\n .min(1)\n .max(50)\n .optional(),\n customizationType: z.enum(['PRODUCT_OPTION', 'MODIFIER']).optional(),\n customizationRenderType: z\n .enum(['FREE_TEXT', 'TEXT_CHOICES', 'SWATCH_CHOICES'])\n .optional(),\n assignedProductsCount: z\n .number()\n .int()\n .describe(\n 'Number of products this customization is assigned to.\\n> **Note:** Returned only when you pass `\"ASSIGNED_PRODUCTS_COUNT\"` to the `fields` array in Customizations API requests.'\n )\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({\n freeTextInput: z.never().optional(),\n choicesSettings: z.never().optional(),\n }),\n z.object({\n choicesSettings: z.never().optional(),\n freeTextInput: z\n .object({\n minCharCount: z\n .number()\n .int()\n .describe('Minimum text character length.')\n .optional(),\n maxCharCount: z\n .number()\n .int()\n .describe('Maximum text character length.')\n .max(500)\n .optional(),\n defaultAddedPrice: z\n .string()\n .describe(\n \"Default amount added to a product's price when this choice is assigned to a modifier.\"\n )\n .optional()\n .nullable(),\n title: z\n .string()\n .describe(\n 'Title to display to customer for their free-text input.'\n )\n .min(1)\n .max(100)\n .optional(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the title.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(150)\n .optional()\n .nullable(),\n })\n .describe(\n 'Free text input settings.\\n\\n> **Note:** To be passed along with `customizationRenderType: FREE_TEXT`.'\n ),\n }),\n z.object({\n freeTextInput: z.never().optional(),\n choicesSettings: z\n .object({\n choices: z\n .array(\n z.intersection(\n z.object({\n _id: z\n .string()\n .describe('Choice ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n ),\n choiceType: z\n .enum(['CHOICE_TEXT', 'ONE_COLOR'])\n .optional(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the choice name.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(50)\n .optional()\n .nullable(),\n name: z\n .string()\n .describe('Choice name.')\n .min(1)\n .max(50)\n .optional(),\n defaultAddedPrice: z\n .string()\n .describe(\n \"Default amount added to a product's price when this customization is assigned to a modifier.\"\n )\n .optional()\n .nullable(),\n displayImage: z\n .string()\n .describe(\n 'Optional image displayed alongside a ONE_COLOR choice in the storefront.\\nOnly valid for ONE_COLOR choices; not populated for other choice types.'\n )\n .optional(),\n primaryChoiceIds: z.array(z.string()).max(4).optional(),\n }),\n z.xor([\n z.object({ colorCode: z.never().optional() }),\n z.object({\n colorCode: z\n .string()\n .describe(\n 'Color code in HEX format, [as described by MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color).'\n )\n .min(3)\n .max(20),\n }),\n ])\n )\n )\n .min(1)\n .max(200)\n .optional(),\n })\n .describe(\n 'Choices settings.\\n\\n> **Note:** Must be passed along with `customizationRenderType` of `SWATCH_CHOICES` and `TEXT_CHOICES`.'\n ),\n }),\n ])\n )\n .describe('Customization to update.'),\n options: z\n .object({\n fields: z\n .array(z.enum(['ASSIGNED_PRODUCTS_COUNT', 'CHOICE_DISPLAY_IMAGE']))\n .max(100)\n .optional(),\n })\n .optional(),\n});\nexport const UpdateCustomizationResponse = z.intersection(\n z.object({\n _id: z\n .string()\n .describe('Customization ID.')\n .min(1)\n .max(36)\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the customization is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the customization.\\n\\nIgnored when creating a customization.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the customization was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the customization was updated.')\n .optional()\n .nullable(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the customization name.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(50)\n .optional()\n .nullable(),\n name: z\n .string()\n .describe(\n 'Customization name for options (for example, `\"color\"`, `\"size\"`) and modifiers (for example, `\"greeting card\"`).'\n )\n .min(1)\n .max(50)\n .optional(),\n customizationType: z\n .enum(['PRODUCT_OPTION', 'MODIFIER'])\n .describe('Customization type.')\n .optional(),\n customizationRenderType: z\n .enum(['FREE_TEXT', 'TEXT_CHOICES', 'SWATCH_CHOICES'])\n .describe(\n 'Customization render type.\\n\\nDefines how the customization will be displayed in the storefront.'\n )\n .optional(),\n assignedProductsCount: z\n .number()\n .int()\n .describe(\n 'Number of products this customization is assigned to.\\n> **Note:** Returned only when you pass `\"ASSIGNED_PRODUCTS_COUNT\"` to the `fields` array in Customizations API requests.'\n )\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({\n freeTextInput: z.never().optional(),\n choicesSettings: z.never().optional(),\n }),\n z.object({\n choicesSettings: z.never().optional(),\n freeTextInput: z\n .object({\n minCharCount: z\n .number()\n .int()\n .describe('Minimum text character length.')\n .optional(),\n maxCharCount: z\n .number()\n .int()\n .describe('Maximum text character length.')\n .max(500)\n .optional(),\n defaultAddedPrice: z\n .string()\n .describe(\n \"Default amount added to a product's price when this choice is assigned to a modifier.\"\n )\n .optional()\n .nullable(),\n title: z\n .string()\n .describe('Title to display to customer for their free-text input.')\n .min(1)\n .max(100)\n .optional(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the title.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(150)\n .optional()\n .nullable(),\n })\n .describe(\n 'Free text input settings.\\n\\n> **Note:** To be passed along with `customizationRenderType: FREE_TEXT`.'\n ),\n }),\n z.object({\n freeTextInput: z.never().optional(),\n choicesSettings: z\n .object({\n choices: z\n .array(\n z.intersection(\n z.object({\n _id: z\n .string()\n .describe('Choice ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n choiceType: z\n .enum(['CHOICE_TEXT', 'ONE_COLOR'])\n .describe(\n 'Choice type.\\n\\n> **Notes:**\\n> + For `customizationRenderType: SWATCH_CHOICES`, the supported `choiceType` value is: `ONE_COLOR`.\\n> + For a `customizationRenderType` of `TEXT_CHOICES`, the supported `choiceType` value is: `CHOICE_TEXT`.'\n )\n .optional(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the choice name.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(50)\n .optional()\n .nullable(),\n name: z\n .string()\n .describe('Choice name.')\n .min(1)\n .max(50)\n .optional(),\n defaultAddedPrice: z\n .string()\n .describe(\n \"Default amount added to a product's price when this customization is assigned to a modifier.\"\n )\n .optional()\n .nullable(),\n displayImage: z\n .string()\n .describe(\n 'Optional image displayed alongside a ONE_COLOR choice in the storefront.\\nOnly valid for ONE_COLOR choices; not populated for other choice types.'\n )\n .optional(),\n primaryChoiceIds: z.array(z.string()).max(4).optional(),\n }),\n z.xor([\n z.object({ colorCode: z.never().optional() }),\n z.object({\n colorCode: z\n .string()\n .describe(\n 'Color code in HEX format, [as described by MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color).'\n )\n .min(3)\n .max(20),\n }),\n ])\n )\n )\n .min(1)\n .max(200)\n .optional(),\n })\n .describe(\n 'Choices settings.\\n\\n> **Note:** Must be passed along with `customizationRenderType` of `SWATCH_CHOICES` and `TEXT_CHOICES`.'\n ),\n }),\n ])\n);\nexport const DeleteCustomizationRequest = z.object({\n customizationId: z\n .string()\n .describe('Customization ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n ),\n});\nexport const DeleteCustomizationResponse = z.object({});\nexport const QueryCustomizationsRequest = z.object({\n query: z\n .object({\n filter: z\n .object({\n _id: z\n .object({\n $eq: z.string(),\n $exists: z.boolean(),\n $gt: z.string(),\n $gte: z.string(),\n $hasAll: z.array(z.string()),\n $hasSome: z.array(z.string()),\n $in: z.array(z.string()),\n $lt: z.string(),\n $lte: z.string(),\n $ne: z.string(),\n $nin: z.array(z.string()),\n $startsWith: z.string(),\n })\n .partial()\n .strict()\n .optional(),\n _createdDate: z\n .object({\n $eq: z.string(),\n $exists: z.boolean(),\n $gt: z.string(),\n $gte: z.string(),\n $hasAll: z.array(z.string()),\n $hasSome: z.array(z.string()),\n $in: z.array(z.string()),\n $lt: z.string(),\n $lte: z.string(),\n $ne: z.string(),\n $nin: z.array(z.string()),\n $startsWith: z.string(),\n })\n .partial()\n .strict()\n .optional(),\n _updatedDate: z\n .object({\n $eq: z.string(),\n $exists: z.boolean(),\n $gt: z.string(),\n $gte: z.string(),\n $hasAll: z.array(z.string()),\n $hasSome: z.array(z.string()),\n $in: z.array(z.string()),\n $lt: z.string(),\n $lte: z.string(),\n $ne: z.string(),\n $nin: z.array(z.string()),\n $startsWith: z.string(),\n })\n .partial()\n .strict()\n .optional(),\n name: z\n .object({\n $eq: z.string(),\n $exists: z.boolean(),\n $gt: z.string(),\n $gte: z.string(),\n $hasAll: z.array(z.string()),\n $hasSome: z.array(z.string()),\n $in: z.array(z.string()),\n $lt: z.string(),\n $lte: z.string(),\n $ne: z.string(),\n $nin: z.array(z.string()),\n $startsWith: z.string(),\n })\n .partial()\n .strict()\n .optional(),\n customizationType: z\n .object({\n $eq: z.string(),\n $exists: z.boolean(),\n $gt: z.string(),\n $gte: z.string(),\n $hasAll: z.array(z.string()),\n $hasSome: z.array(z.string()),\n $in: z.array(z.string()),\n $lt: z.string(),\n $lte: z.string(),\n $ne: z.string(),\n $nin: z.array(z.string()),\n $startsWith: z.string(),\n })\n .partial()\n .strict()\n .optional(),\n customizationRenderType: z\n .object({\n $eq: z.string(),\n $exists: z.boolean(),\n $gt: z.string(),\n $gte: z.string(),\n $hasAll: z.array(z.string()),\n $hasSome: z.array(z.string()),\n $in: z.array(z.string()),\n $lt: z.string(),\n $lte: z.string(),\n $ne: z.string(),\n $nin: z.array(z.string()),\n $startsWith: z.string(),\n })\n .partial()\n .strict()\n .optional(),\n $and: z.array(z.any()).optional(),\n $or: z.array(z.any()).optional(),\n $not: z.any().optional(),\n })\n .strict()\n .optional(),\n sort: z\n .array(\n z.object({\n fieldName: z\n .enum(['_id', '_createdDate', '_updatedDate', 'name'])\n .optional(),\n order: z.enum(['ASC', 'DESC']).optional(),\n })\n )\n .optional(),\n })\n .catchall(z.any())\n .describe('Query options.'),\n options: z\n .object({\n fields: z\n .array(z.enum(['ASSIGNED_PRODUCTS_COUNT', 'CHOICE_DISPLAY_IMAGE']))\n .max(100)\n .optional(),\n })\n .optional(),\n});\nexport const QueryCustomizationsResponse = z.object({\n customizations: z\n .array(\n z.intersection(\n z.object({\n _id: z\n .string()\n .describe('Customization ID.')\n .min(1)\n .max(36)\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the customization is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the customization.\\n\\nIgnored when creating a customization.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the customization was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the customization was updated.')\n .optional()\n .nullable(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the customization name.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(50)\n .optional()\n .nullable(),\n name: z\n .string()\n .describe(\n 'Customization name for options (for example, `\"color\"`, `\"size\"`) and modifiers (for example, `\"greeting card\"`).'\n )\n .min(1)\n .max(50)\n .optional(),\n customizationType: z\n .enum(['PRODUCT_OPTION', 'MODIFIER'])\n .describe('Customization type.')\n .optional(),\n customizationRenderType: z\n .enum(['FREE_TEXT', 'TEXT_CHOICES', 'SWATCH_CHOICES'])\n .describe(\n 'Customization render type.\\n\\nDefines how the customization will be displayed in the storefront.'\n )\n .optional(),\n assignedProductsCount: z\n .number()\n .int()\n .describe(\n 'Number of products this customization is assigned to.\\n> **Note:** Returned only when you pass `\"ASSIGNED_PRODUCTS_COUNT\"` to the `fields` array in Customizations API requests.'\n )\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({\n freeTextInput: z.never().optional(),\n choicesSettings: z.never().optional(),\n }),\n z.object({\n choicesSettings: z.never().optional(),\n freeTextInput: z\n .object({\n minCharCount: z\n .number()\n .int()\n .describe('Minimum text character length.')\n .optional(),\n maxCharCount: z\n .number()\n .int()\n .describe('Maximum text character length.')\n .max(500)\n .optional(),\n defaultAddedPrice: z\n .string()\n .describe(\n \"Default amount added to a product's price when this choice is assigned to a modifier.\"\n )\n .optional()\n .nullable(),\n title: z\n .string()\n .describe(\n 'Title to display to customer for their free-text input.'\n )\n .min(1)\n .max(100)\n .optional(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the title.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(150)\n .optional()\n .nullable(),\n })\n .describe(\n 'Free text input settings.\\n\\n> **Note:** To be passed along with `customizationRenderType: FREE_TEXT`.'\n ),\n }),\n z.object({\n freeTextInput: z.never().optional(),\n choicesSettings: z\n .object({\n choices: z\n .array(\n z.intersection(\n z.object({\n _id: z\n .string()\n .describe('Choice ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n choiceType: z\n .enum(['CHOICE_TEXT', 'ONE_COLOR'])\n .describe(\n 'Choice type.\\n\\n> **Notes:**\\n> + For `customizationRenderType: SWATCH_CHOICES`, the supported `choiceType` value is: `ONE_COLOR`.\\n> + For a `customizationRenderType` of `TEXT_CHOICES`, the supported `choiceType` value is: `CHOICE_TEXT`.'\n )\n .optional(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the choice name.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(50)\n .optional()\n .nullable(),\n name: z\n .string()\n .describe('Choice name.')\n .min(1)\n .max(50)\n .optional(),\n defaultAddedPrice: z\n .string()\n .describe(\n \"Default amount added to a product's price when this customization is assigned to a modifier.\"\n )\n .optional()\n .nullable(),\n displayImage: z\n .string()\n .describe(\n 'Optional image displayed alongside a ONE_COLOR choice in the storefront.\\nOnly valid for ONE_COLOR choices; not populated for other choice types.'\n )\n .optional(),\n primaryChoiceIds: z.array(z.string()).max(4).optional(),\n }),\n z.xor([\n z.object({ colorCode: z.never().optional() }),\n z.object({\n colorCode: z\n .string()\n .describe(\n 'Color code in HEX format, [as described by MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color).'\n )\n .min(3)\n .max(20),\n }),\n ])\n )\n )\n .min(1)\n .max(200)\n .optional(),\n })\n .describe(\n 'Choices settings.\\n\\n> **Note:** Must be passed along with `customizationRenderType` of `SWATCH_CHOICES` and `TEXT_CHOICES`.'\n ),\n }),\n ])\n )\n )\n .min(1)\n .max(200)\n .optional(),\n pagingMetadata: z\n .object({\n count: z\n .number()\n .int()\n .describe('Number of items returned in the response.')\n .optional()\n .nullable(),\n cursors: z\n .object({\n next: z\n .string()\n .describe(\n 'Cursor string pointing to the next page in the list of results.'\n )\n .max(16000)\n .optional()\n .nullable(),\n prev: z\n .string()\n .describe(\n 'Cursor pointing to the previous page in the list of results.'\n )\n .max(16000)\n .optional()\n .nullable(),\n })\n .describe(\n 'Cursor strings that point to the next page, previous page, or both.'\n )\n .optional(),\n hasNext: z\n .boolean()\n .describe(\n 'Whether there are more pages to retrieve following the current page.\\n\\n+ `true`: Another page of results can be retrieved.\\n+ `false`: This is the last page.'\n )\n .optional()\n .nullable(),\n })\n .describe('Details on the paged set of results returned.')\n .optional(),\n});\nexport const BulkCreateCustomizationsRequest = z.object({\n customizations: z\n .array(\n z.intersection(\n z.object({\n _id: z\n .string()\n .describe('Customization ID.')\n .min(1)\n .max(36)\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the customization is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the customization.\\n\\nIgnored when creating a customization.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the customization was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the customization was updated.')\n .optional()\n .nullable(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the customization name.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(50)\n .optional()\n .nullable(),\n name: z\n .string()\n .describe(\n 'Customization name for options (for example, `\"color\"`, `\"size\"`) and modifiers (for example, `\"greeting card\"`).'\n )\n .min(1)\n .max(50)\n .optional(),\n customizationType: z.enum(['PRODUCT_OPTION', 'MODIFIER']).optional(),\n customizationRenderType: z\n .enum(['FREE_TEXT', 'TEXT_CHOICES', 'SWATCH_CHOICES'])\n .optional(),\n assignedProductsCount: z\n .number()\n .int()\n .describe(\n 'Number of products this customization is assigned to.\\n> **Note:** Returned only when you pass `\"ASSIGNED_PRODUCTS_COUNT\"` to the `fields` array in Customizations API requests.'\n )\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({\n freeTextInput: z.never().optional(),\n choicesSettings: z.never().optional(),\n }),\n z.object({\n choicesSettings: z.never().optional(),\n freeTextInput: z\n .object({\n minCharCount: z\n .number()\n .int()\n .describe('Minimum text character length.')\n .optional(),\n maxCharCount: z\n .number()\n .int()\n .describe('Maximum text character length.')\n .max(500)\n .optional(),\n defaultAddedPrice: z\n .string()\n .describe(\n \"Default amount added to a product's price when this choice is assigned to a modifier.\"\n )\n .optional()\n .nullable(),\n title: z\n .string()\n .describe(\n 'Title to display to customer for their free-text input.'\n )\n .min(1)\n .max(100)\n .optional(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the title.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(150)\n .optional()\n .nullable(),\n })\n .describe(\n 'Free text input settings.\\n\\n> **Note:** To be passed along with `customizationRenderType: FREE_TEXT`.'\n ),\n }),\n z.object({\n freeTextInput: z.never().optional(),\n choicesSettings: z\n .object({\n choices: z\n .array(\n z.intersection(\n z.object({\n _id: z\n .string()\n .describe('Choice ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n choiceType: z\n .enum(['CHOICE_TEXT', 'ONE_COLOR'])\n .optional(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the choice name.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(50)\n .optional()\n .nullable(),\n name: z\n .string()\n .describe('Choice name.')\n .min(1)\n .max(50)\n .optional(),\n defaultAddedPrice: z\n .string()\n .describe(\n \"Default amount added to a product's price when this customization is assigned to a modifier.\"\n )\n .optional()\n .nullable(),\n displayImage: z\n .string()\n .describe(\n 'Optional image displayed alongside a ONE_COLOR choice in the storefront.\\nOnly valid for ONE_COLOR choices; not populated for other choice types.'\n )\n .optional(),\n primaryChoiceIds: z.array(z.string()).max(4).optional(),\n }),\n z.xor([\n z.object({ colorCode: z.never().optional() }),\n z.object({\n colorCode: z\n .string()\n .describe(\n 'Color code in HEX format, [as described by MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color).'\n )\n .min(3)\n .max(20),\n }),\n ])\n )\n )\n .min(1)\n .max(200)\n .optional(),\n })\n .describe(\n 'Choices settings.\\n\\n> **Note:** Must be passed along with `customizationRenderType` of `SWATCH_CHOICES` and `TEXT_CHOICES`.'\n ),\n }),\n ])\n )\n )\n .min(1)\n .max(100),\n options: z\n .object({\n returnEntity: z\n .boolean()\n .describe(\n 'Whether to return the full customization entities in the response.\\n\\nDefault: `false`'\n )\n .optional(),\n })\n .optional(),\n});\nexport const BulkCreateCustomizationsResponse = z.object({\n results: z\n .array(\n z.object({\n itemMetadata: z\n .object({\n _id: z\n .string()\n .describe(\n \"Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).\"\n )\n .min(1)\n .max(36)\n .optional()\n .nullable(),\n originalIndex: z\n .number()\n .int()\n .describe(\n 'Index of the item within the request array. Allows for correlation between request and response items.'\n )\n .optional(),\n success: z\n .boolean()\n .describe(\n 'Whether the requested action was successful for this item. When `false`, the `error` field is populated.'\n )\n .optional(),\n error: z\n .object({\n code: z.string().describe('Error code.').optional(),\n description: z\n .string()\n .describe('Description of the error.')\n .optional(),\n data: z\n .record(z.string(), z.any())\n .describe('Data related to the error.')\n .optional()\n .nullable(),\n })\n .describe('Details about the error in case of failure.')\n .optional(),\n })\n .describe('Bulk action metadata for customization.')\n .optional(),\n customization: z\n .intersection(\n z.object({\n _id: z\n .string()\n .describe('Customization ID.')\n .min(1)\n .max(36)\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the customization is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the customization.\\n\\nIgnored when creating a customization.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the customization was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the customization was updated.')\n .optional()\n .nullable(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the customization name.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(50)\n .optional()\n .nullable(),\n name: z\n .string()\n .describe(\n 'Customization name for options (for example, `\"color\"`, `\"size\"`) and modifiers (for example, `\"greeting card\"`).'\n )\n .min(1)\n .max(50)\n .optional(),\n customizationType: z\n .enum(['PRODUCT_OPTION', 'MODIFIER'])\n .describe('Customization type.')\n .optional(),\n customizationRenderType: z\n .enum(['FREE_TEXT', 'TEXT_CHOICES', 'SWATCH_CHOICES'])\n .describe(\n 'Customization render type.\\n\\nDefines how the customization will be displayed in the storefront.'\n )\n .optional(),\n assignedProductsCount: z\n .number()\n .int()\n .describe(\n 'Number of products this customization is assigned to.\\n> **Note:** Returned only when you pass `\"ASSIGNED_PRODUCTS_COUNT\"` to the `fields` array in Customizations API requests.'\n )\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({\n freeTextInput: z.never().optional(),\n choicesSettings: z.never().optional(),\n }),\n z.object({\n choicesSettings: z.never().optional(),\n freeTextInput: z\n .object({\n minCharCount: z\n .number()\n .int()\n .describe('Minimum text character length.')\n .optional(),\n maxCharCount: z\n .number()\n .int()\n .describe('Maximum text character length.')\n .max(500)\n .optional(),\n defaultAddedPrice: z\n .string()\n .describe(\n \"Default amount added to a product's price when this choice is assigned to a modifier.\"\n )\n .optional()\n .nullable(),\n title: z\n .string()\n .describe(\n 'Title to display to customer for their free-text input.'\n )\n .min(1)\n .max(100)\n .optional(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the title.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(150)\n .optional()\n .nullable(),\n })\n .describe(\n 'Free text input settings.\\n\\n> **Note:** To be passed along with `customizationRenderType: FREE_TEXT`.'\n ),\n }),\n z.object({\n freeTextInput: z.never().optional(),\n choicesSettings: z\n .object({\n choices: z\n .array(\n z.intersection(\n z.object({\n _id: z\n .string()\n .describe('Choice ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n choiceType: z\n .enum(['CHOICE_TEXT', 'ONE_COLOR'])\n .describe(\n 'Choice type.\\n\\n> **Notes:**\\n> + For `customizationRenderType: SWATCH_CHOICES`, the supported `choiceType` value is: `ONE_COLOR`.\\n> + For a `customizationRenderType` of `TEXT_CHOICES`, the supported `choiceType` value is: `CHOICE_TEXT`.'\n )\n .optional(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the choice name.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(50)\n .optional()\n .nullable(),\n name: z\n .string()\n .describe('Choice name.')\n .min(1)\n .max(50)\n .optional(),\n defaultAddedPrice: z\n .string()\n .describe(\n \"Default amount added to a product's price when this customization is assigned to a modifier.\"\n )\n .optional()\n .nullable(),\n displayImage: z\n .string()\n .describe(\n 'Optional image displayed alongside a ONE_COLOR choice in the storefront.\\nOnly valid for ONE_COLOR choices; not populated for other choice types.'\n )\n .optional(),\n primaryChoiceIds: z\n .array(z.string())\n .max(4)\n .optional(),\n }),\n z.xor([\n z.object({ colorCode: z.never().optional() }),\n z.object({\n colorCode: z\n .string()\n .describe(\n 'Color code in HEX format, [as described by MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color).'\n )\n .min(3)\n .max(20),\n }),\n ])\n )\n )\n .min(1)\n .max(200)\n .optional(),\n })\n .describe(\n 'Choices settings.\\n\\n> **Note:** Must be passed along with `customizationRenderType` of `SWATCH_CHOICES` and `TEXT_CHOICES`.'\n ),\n }),\n ])\n )\n .describe(\n 'Full customization entity.\\n\\nReturned only if `returnEntity: true` is passed in the request.'\n )\n .optional(),\n })\n )\n .min(1)\n .max(100)\n .optional(),\n bulkActionMetadata: z\n .object({\n totalSuccesses: z\n .number()\n .int()\n .describe('Number of items that were successfully processed.')\n .optional(),\n totalFailures: z\n .number()\n .int()\n .describe(\"Number of items that couldn't be processed.\")\n .optional(),\n undetailedFailures: z\n .number()\n .int()\n .describe(\n 'Number of failures without details because detailed failure threshold was exceeded.'\n )\n .optional(),\n })\n .describe('Bulk action metadata.')\n .optional(),\n});\nexport const AddCustomizationChoicesRequest = z.object({\n customizationId: z\n .string()\n .describe('Customization ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n ),\n choices: z\n .array(\n z.intersection(\n z.object({\n _id: z\n .string()\n .describe('Choice ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n choiceType: z.enum(['CHOICE_TEXT', 'ONE_COLOR']).optional(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the choice name.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(50)\n .optional()\n .nullable(),\n name: z.string().describe('Choice name.').min(1).max(50).optional(),\n defaultAddedPrice: z\n .string()\n .describe(\n \"Default amount added to a product's price when this customization is assigned to a modifier.\"\n )\n .optional()\n .nullable(),\n displayImage: z\n .string()\n .describe(\n 'Optional image displayed alongside a ONE_COLOR choice in the storefront.\\nOnly valid for ONE_COLOR choices; not populated for other choice types.'\n )\n .optional(),\n primaryChoiceIds: z.array(z.string()).max(4).optional(),\n }),\n z.xor([\n z.object({ colorCode: z.never().optional() }),\n z.object({\n colorCode: z\n .string()\n .describe(\n 'Color code in HEX format, [as described by MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color).'\n )\n .min(3)\n .max(20),\n }),\n ])\n )\n )\n .min(1)\n .max(100),\n options: z\n .object({\n fields: z\n .array(z.enum(['ASSIGNED_PRODUCTS_COUNT', 'CHOICE_DISPLAY_IMAGE']))\n .max(100)\n .optional(),\n })\n .optional(),\n});\nexport const AddCustomizationChoicesResponse = z.object({\n customization: z\n .intersection(\n z.object({\n _id: z\n .string()\n .describe('Customization ID.')\n .min(1)\n .max(36)\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the customization is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the customization.\\n\\nIgnored when creating a customization.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the customization was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the customization was updated.')\n .optional()\n .nullable(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the customization name.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(50)\n .optional()\n .nullable(),\n name: z\n .string()\n .describe(\n 'Customization name for options (for example, `\"color\"`, `\"size\"`) and modifiers (for example, `\"greeting card\"`).'\n )\n .min(1)\n .max(50)\n .optional(),\n customizationType: z\n .enum(['PRODUCT_OPTION', 'MODIFIER'])\n .describe('Customization type.')\n .optional(),\n customizationRenderType: z\n .enum(['FREE_TEXT', 'TEXT_CHOICES', 'SWATCH_CHOICES'])\n .describe(\n 'Customization render type.\\n\\nDefines how the customization will be displayed in the storefront.'\n )\n .optional(),\n assignedProductsCount: z\n .number()\n .int()\n .describe(\n 'Number of products this customization is assigned to.\\n> **Note:** Returned only when you pass `\"ASSIGNED_PRODUCTS_COUNT\"` to the `fields` array in Customizations API requests.'\n )\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({\n freeTextInput: z.never().optional(),\n choicesSettings: z.never().optional(),\n }),\n z.object({\n choicesSettings: z.never().optional(),\n freeTextInput: z\n .object({\n minCharCount: z\n .number()\n .int()\n .describe('Minimum text character length.')\n .optional(),\n maxCharCount: z\n .number()\n .int()\n .describe('Maximum text character length.')\n .max(500)\n .optional(),\n defaultAddedPrice: z\n .string()\n .describe(\n \"Default amount added to a product's price when this choice is assigned to a modifier.\"\n )\n .optional()\n .nullable(),\n title: z\n .string()\n .describe(\n 'Title to display to customer for their free-text input.'\n )\n .min(1)\n .max(100)\n .optional(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the title.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(150)\n .optional()\n .nullable(),\n })\n .describe(\n 'Free text input settings.\\n\\n> **Note:** To be passed along with `customizationRenderType: FREE_TEXT`.'\n ),\n }),\n z.object({\n freeTextInput: z.never().optional(),\n choicesSettings: z\n .object({\n choices: z\n .array(\n z.intersection(\n z.object({\n _id: z\n .string()\n .describe('Choice ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n choiceType: z\n .enum(['CHOICE_TEXT', 'ONE_COLOR'])\n .describe(\n 'Choice type.\\n\\n> **Notes:**\\n> + For `customizationRenderType: SWATCH_CHOICES`, the supported `choiceType` value is: `ONE_COLOR`.\\n> + For a `customizationRenderType` of `TEXT_CHOICES`, the supported `choiceType` value is: `CHOICE_TEXT`.'\n )\n .optional(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the choice name.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(50)\n .optional()\n .nullable(),\n name: z\n .string()\n .describe('Choice name.')\n .min(1)\n .max(50)\n .optional(),\n defaultAddedPrice: z\n .string()\n .describe(\n \"Default amount added to a product's price when this customization is assigned to a modifier.\"\n )\n .optional()\n .nullable(),\n displayImage: z\n .string()\n .describe(\n 'Optional image displayed alongside a ONE_COLOR choice in the storefront.\\nOnly valid for ONE_COLOR choices; not populated for other choice types.'\n )\n .optional(),\n primaryChoiceIds: z.array(z.string()).max(4).optional(),\n }),\n z.xor([\n z.object({ colorCode: z.never().optional() }),\n z.object({\n colorCode: z\n .string()\n .describe(\n 'Color code in HEX format, [as described by MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color).'\n )\n .min(3)\n .max(20),\n }),\n ])\n )\n )\n .min(1)\n .max(200)\n .optional(),\n })\n .describe(\n 'Choices settings.\\n\\n> **Note:** Must be passed along with `customizationRenderType` of `SWATCH_CHOICES` and `TEXT_CHOICES`.'\n ),\n }),\n ])\n )\n .describe('Updated customization.')\n .optional(),\n});\nexport const SetCustomizationChoicesRequest = z.object({\n customizationId: z\n .string()\n .describe('Customization ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n ),\n choices: z\n .array(\n z.intersection(\n z.object({\n _id: z\n .string()\n .describe('Choice ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n choiceType: z.enum(['CHOICE_TEXT', 'ONE_COLOR']).optional(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the choice name.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(50)\n .optional()\n .nullable(),\n name: z.string().describe('Choice name.').min(1).max(50).optional(),\n defaultAddedPrice: z\n .string()\n .describe(\n \"Default amount added to a product's price when this customization is assigned to a modifier.\"\n )\n .optional()\n .nullable(),\n displayImage: z\n .string()\n .describe(\n 'Optional image displayed alongside a ONE_COLOR choice in the storefront.\\nOnly valid for ONE_COLOR choices; not populated for other choice types.'\n )\n .optional(),\n primaryChoiceIds: z.array(z.string()).max(4).optional(),\n }),\n z.xor([\n z.object({ colorCode: z.never().optional() }),\n z.object({\n colorCode: z\n .string()\n .describe(\n 'Color code in HEX format, [as described by MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color).'\n )\n .min(3)\n .max(20),\n }),\n ])\n )\n )\n .min(1)\n .max(200),\n options: z\n .object({\n fields: z\n .array(z.enum(['ASSIGNED_PRODUCTS_COUNT', 'CHOICE_DISPLAY_IMAGE']))\n .max(100)\n .optional(),\n })\n .optional(),\n});\nexport const SetCustomizationChoicesResponse = z.object({\n customization: z\n .intersection(\n z.object({\n _id: z\n .string()\n .describe('Customization ID.')\n .min(1)\n .max(36)\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the customization is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the customization.\\n\\nIgnored when creating a customization.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the customization was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the customization was updated.')\n .optional()\n .nullable(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the customization name.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(50)\n .optional()\n .nullable(),\n name: z\n .string()\n .describe(\n 'Customization name for options (for example, `\"color\"`, `\"size\"`) and modifiers (for example, `\"greeting card\"`).'\n )\n .min(1)\n .max(50)\n .optional(),\n customizationType: z\n .enum(['PRODUCT_OPTION', 'MODIFIER'])\n .describe('Customization type.')\n .optional(),\n customizationRenderType: z\n .enum(['FREE_TEXT', 'TEXT_CHOICES', 'SWATCH_CHOICES'])\n .describe(\n 'Customization render type.\\n\\nDefines how the customization will be displayed in the storefront.'\n )\n .optional(),\n assignedProductsCount: z\n .number()\n .int()\n .describe(\n 'Number of products this customization is assigned to.\\n> **Note:** Returned only when you pass `\"ASSIGNED_PRODUCTS_COUNT\"` to the `fields` array in Customizations API requests.'\n )\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({\n freeTextInput: z.never().optional(),\n choicesSettings: z.never().optional(),\n }),\n z.object({\n choicesSettings: z.never().optional(),\n freeTextInput: z\n .object({\n minCharCount: z\n .number()\n .int()\n .describe('Minimum text character length.')\n .optional(),\n maxCharCount: z\n .number()\n .int()\n .describe('Maximum text character length.')\n .max(500)\n .optional(),\n defaultAddedPrice: z\n .string()\n .describe(\n \"Default amount added to a product's price when this choice is assigned to a modifier.\"\n )\n .optional()\n .nullable(),\n title: z\n .string()\n .describe(\n 'Title to display to customer for their free-text input.'\n )\n .min(1)\n .max(100)\n .optional(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the title.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(150)\n .optional()\n .nullable(),\n })\n .describe(\n 'Free text input settings.\\n\\n> **Note:** To be passed along with `customizationRenderType: FREE_TEXT`.'\n ),\n }),\n z.object({\n freeTextInput: z.never().optional(),\n choicesSettings: z\n .object({\n choices: z\n .array(\n z.intersection(\n z.object({\n _id: z\n .string()\n .describe('Choice ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n choiceType: z\n .enum(['CHOICE_TEXT', 'ONE_COLOR'])\n .describe(\n 'Choice type.\\n\\n> **Notes:**\\n> + For `customizationRenderType: SWATCH_CHOICES`, the supported `choiceType` value is: `ONE_COLOR`.\\n> + For a `customizationRenderType` of `TEXT_CHOICES`, the supported `choiceType` value is: `CHOICE_TEXT`.'\n )\n .optional(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the choice name.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(50)\n .optional()\n .nullable(),\n name: z\n .string()\n .describe('Choice name.')\n .min(1)\n .max(50)\n .optional(),\n defaultAddedPrice: z\n .string()\n .describe(\n \"Default amount added to a product's price when this customization is assigned to a modifier.\"\n )\n .optional()\n .nullable(),\n displayImage: z\n .string()\n .describe(\n 'Optional image displayed alongside a ONE_COLOR choice in the storefront.\\nOnly valid for ONE_COLOR choices; not populated for other choice types.'\n )\n .optional(),\n primaryChoiceIds: z.array(z.string()).max(4).optional(),\n }),\n z.xor([\n z.object({ colorCode: z.never().optional() }),\n z.object({\n colorCode: z\n .string()\n .describe(\n 'Color code in HEX format, [as described by MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color).'\n )\n .min(3)\n .max(20),\n }),\n ])\n )\n )\n .min(1)\n .max(200)\n .optional(),\n })\n .describe(\n 'Choices settings.\\n\\n> **Note:** Must be passed along with `customizationRenderType` of `SWATCH_CHOICES` and `TEXT_CHOICES`.'\n ),\n }),\n ])\n )\n .describe('Updated customization.')\n .optional(),\n});\nexport const RemoveCustomizationChoicesRequest = z.object({\n customizationId: z\n .string()\n .describe('Customization ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n ),\n choiceIds: z.array(z.string()).min(1).max(100),\n options: z\n .object({\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe('Customization revision.')\n .optional(),\n fields: z\n .array(z.enum(['ASSIGNED_PRODUCTS_COUNT', 'CHOICE_DISPLAY_IMAGE']))\n .max(100)\n .optional(),\n })\n .optional(),\n});\nexport const RemoveCustomizationChoicesResponse = z.object({\n customization: z\n .intersection(\n z.object({\n _id: z\n .string()\n .describe('Customization ID.')\n .min(1)\n .max(36)\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the customization is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the customization.\\n\\nIgnored when creating a customization.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the customization was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the customization was updated.')\n .optional()\n .nullable(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the customization name.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(50)\n .optional()\n .nullable(),\n name: z\n .string()\n .describe(\n 'Customization name for options (for example, `\"color\"`, `\"size\"`) and modifiers (for example, `\"greeting card\"`).'\n )\n .min(1)\n .max(50)\n .optional(),\n customizationType: z\n .enum(['PRODUCT_OPTION', 'MODIFIER'])\n .describe('Customization type.')\n .optional(),\n customizationRenderType: z\n .enum(['FREE_TEXT', 'TEXT_CHOICES', 'SWATCH_CHOICES'])\n .describe(\n 'Customization render type.\\n\\nDefines how the customization will be displayed in the storefront.'\n )\n .optional(),\n assignedProductsCount: z\n .number()\n .int()\n .describe(\n 'Number of products this customization is assigned to.\\n> **Note:** Returned only when you pass `\"ASSIGNED_PRODUCTS_COUNT\"` to the `fields` array in Customizations API requests.'\n )\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({\n freeTextInput: z.never().optional(),\n choicesSettings: z.never().optional(),\n }),\n z.object({\n choicesSettings: z.never().optional(),\n freeTextInput: z\n .object({\n minCharCount: z\n .number()\n .int()\n .describe('Minimum text character length.')\n .optional(),\n maxCharCount: z\n .number()\n .int()\n .describe('Maximum text character length.')\n .max(500)\n .optional(),\n defaultAddedPrice: z\n .string()\n .describe(\n \"Default amount added to a product's price when this choice is assigned to a modifier.\"\n )\n .optional()\n .nullable(),\n title: z\n .string()\n .describe(\n 'Title to display to customer for their free-text input.'\n )\n .min(1)\n .max(100)\n .optional(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the title.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(150)\n .optional()\n .nullable(),\n })\n .describe(\n 'Free text input settings.\\n\\n> **Note:** To be passed along with `customizationRenderType: FREE_TEXT`.'\n ),\n }),\n z.object({\n freeTextInput: z.never().optional(),\n choicesSettings: z\n .object({\n choices: z\n .array(\n z.intersection(\n z.object({\n _id: z\n .string()\n .describe('Choice ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n choiceType: z\n .enum(['CHOICE_TEXT', 'ONE_COLOR'])\n .describe(\n 'Choice type.\\n\\n> **Notes:**\\n> + For `customizationRenderType: SWATCH_CHOICES`, the supported `choiceType` value is: `ONE_COLOR`.\\n> + For a `customizationRenderType` of `TEXT_CHOICES`, the supported `choiceType` value is: `CHOICE_TEXT`.'\n )\n .optional(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the choice name.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(50)\n .optional()\n .nullable(),\n name: z\n .string()\n .describe('Choice name.')\n .min(1)\n .max(50)\n .optional(),\n defaultAddedPrice: z\n .string()\n .describe(\n \"Default amount added to a product's price when this customization is assigned to a modifier.\"\n )\n .optional()\n .nullable(),\n displayImage: z\n .string()\n .describe(\n 'Optional image displayed alongside a ONE_COLOR choice in the storefront.\\nOnly valid for ONE_COLOR choices; not populated for other choice types.'\n )\n .optional(),\n primaryChoiceIds: z.array(z.string()).max(4).optional(),\n }),\n z.xor([\n z.object({ colorCode: z.never().optional() }),\n z.object({\n colorCode: z\n .string()\n .describe(\n 'Color code in HEX format, [as described by MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color).'\n )\n .min(3)\n .max(20),\n }),\n ])\n )\n )\n .min(1)\n .max(200)\n .optional(),\n })\n .describe(\n 'Choices settings.\\n\\n> **Note:** Must be passed along with `customizationRenderType` of `SWATCH_CHOICES` and `TEXT_CHOICES`.'\n ),\n }),\n ])\n )\n .describe('Updated customization.')\n .optional(),\n});\nexport const UpdateCustomizationChoicesRequest = z.object({\n customizationId: z\n .string()\n .describe('Customization ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n ),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the customization is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the customization.'\n ),\n options: z.object({\n choices: z\n .array(\n z.object({\n choice: z\n .intersection(\n z.object({\n _id: z\n .string()\n .describe('Choice ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n choiceType: z.enum(['CHOICE_TEXT', 'ONE_COLOR']).optional(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the choice name.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(50)\n .optional()\n .nullable(),\n name: z\n .string()\n .describe('Choice name.')\n .min(1)\n .max(50)\n .optional(),\n defaultAddedPrice: z\n .string()\n .describe(\n \"Default amount added to a product's price when this customization is assigned to a modifier.\"\n )\n .optional()\n .nullable(),\n displayImage: z\n .string()\n .describe(\n 'Optional image displayed alongside a ONE_COLOR choice in the storefront.\\nOnly valid for ONE_COLOR choices; not populated for other choice types.'\n )\n .optional(),\n primaryChoiceIds: z.array(z.string()).max(4).optional(),\n }),\n z.xor([\n z.object({ colorCode: z.never().optional() }),\n z.object({\n colorCode: z\n .string()\n .describe(\n 'Color code in HEX format, [as described by MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color).'\n )\n .min(3)\n .max(20),\n }),\n ])\n )\n .describe('Choice to update.'),\n })\n )\n .min(1)\n .max(100),\n fields: z\n .array(z.enum(['ASSIGNED_PRODUCTS_COUNT', 'CHOICE_DISPLAY_IMAGE']))\n .max(100)\n .optional(),\n }),\n});\nexport const UpdateCustomizationChoicesResponse = z.object({\n customization: z\n .intersection(\n z.object({\n _id: z\n .string()\n .describe('Customization ID.')\n .min(1)\n .max(36)\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the customization is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the customization.\\n\\nIgnored when creating a customization.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the customization was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the customization was updated.')\n .optional()\n .nullable(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the customization name.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(50)\n .optional()\n .nullable(),\n name: z\n .string()\n .describe(\n 'Customization name for options (for example, `\"color\"`, `\"size\"`) and modifiers (for example, `\"greeting card\"`).'\n )\n .min(1)\n .max(50)\n .optional(),\n customizationType: z\n .enum(['PRODUCT_OPTION', 'MODIFIER'])\n .describe('Customization type.')\n .optional(),\n customizationRenderType: z\n .enum(['FREE_TEXT', 'TEXT_CHOICES', 'SWATCH_CHOICES'])\n .describe(\n 'Customization render type.\\n\\nDefines how the customization will be displayed in the storefront.'\n )\n .optional(),\n assignedProductsCount: z\n .number()\n .int()\n .describe(\n 'Number of products this customization is assigned to.\\n> **Note:** Returned only when you pass `\"ASSIGNED_PRODUCTS_COUNT\"` to the `fields` array in Customizations API requests.'\n )\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({\n freeTextInput: z.never().optional(),\n choicesSettings: z.never().optional(),\n }),\n z.object({\n choicesSettings: z.never().optional(),\n freeTextInput: z\n .object({\n minCharCount: z\n .number()\n .int()\n .describe('Minimum text character length.')\n .optional(),\n maxCharCount: z\n .number()\n .int()\n .describe('Maximum text character length.')\n .max(500)\n .optional(),\n defaultAddedPrice: z\n .string()\n .describe(\n \"Default amount added to a product's price when this choice is assigned to a modifier.\"\n )\n .optional()\n .nullable(),\n title: z\n .string()\n .describe(\n 'Title to display to customer for their free-text input.'\n )\n .min(1)\n .max(100)\n .optional(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the title.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(150)\n .optional()\n .nullable(),\n })\n .describe(\n 'Free text input settings.\\n\\n> **Note:** To be passed along with `customizationRenderType: FREE_TEXT`.'\n ),\n }),\n z.object({\n freeTextInput: z.never().optional(),\n choicesSettings: z\n .object({\n choices: z\n .array(\n z.intersection(\n z.object({\n _id: z\n .string()\n .describe('Choice ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n choiceType: z\n .enum(['CHOICE_TEXT', 'ONE_COLOR'])\n .describe(\n 'Choice type.\\n\\n> **Notes:**\\n> + For `customizationRenderType: SWATCH_CHOICES`, the supported `choiceType` value is: `ONE_COLOR`.\\n> + For a `customizationRenderType` of `TEXT_CHOICES`, the supported `choiceType` value is: `CHOICE_TEXT`.'\n )\n .optional(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the choice name.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(50)\n .optional()\n .nullable(),\n name: z\n .string()\n .describe('Choice name.')\n .min(1)\n .max(50)\n .optional(),\n defaultAddedPrice: z\n .string()\n .describe(\n \"Default amount added to a product's price when this customization is assigned to a modifier.\"\n )\n .optional()\n .nullable(),\n displayImage: z\n .string()\n .describe(\n 'Optional image displayed alongside a ONE_COLOR choice in the storefront.\\nOnly valid for ONE_COLOR choices; not populated for other choice types.'\n )\n .optional(),\n primaryChoiceIds: z.array(z.string()).max(4).optional(),\n }),\n z.xor([\n z.object({ colorCode: z.never().optional() }),\n z.object({\n colorCode: z\n .string()\n .describe(\n 'Color code in HEX format, [as described by MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color).'\n )\n .min(3)\n .max(20),\n }),\n ])\n )\n )\n .min(1)\n .max(200)\n .optional(),\n })\n .describe(\n 'Choices settings.\\n\\n> **Note:** Must be passed along with `customizationRenderType` of `SWATCH_CHOICES` and `TEXT_CHOICES`.'\n ),\n }),\n ])\n )\n .describe('Updated customization.')\n .optional(),\n});\nexport const ReorderCustomizationChoicesRequest = z.object({\n customizationId: z\n .string()\n .describe('Customization ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n ),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n '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.'\n ),\n options: z.object({\n choiceIds: z.array(z.string()).min(1).max(200),\n fields: z\n .array(z.enum(['ASSIGNED_PRODUCTS_COUNT', 'CHOICE_DISPLAY_IMAGE']))\n .max(100)\n .optional(),\n }),\n});\nexport const ReorderCustomizationChoicesResponse = z.object({\n customization: z\n .intersection(\n z.object({\n _id: z\n .string()\n .describe('Customization ID.')\n .min(1)\n .max(36)\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the customization is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the customization.\\n\\nIgnored when creating a customization.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the customization was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the customization was updated.')\n .optional()\n .nullable(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the customization name.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(50)\n .optional()\n .nullable(),\n name: z\n .string()\n .describe(\n 'Customization name for options (for example, `\"color\"`, `\"size\"`) and modifiers (for example, `\"greeting card\"`).'\n )\n .min(1)\n .max(50)\n .optional(),\n customizationType: z\n .enum(['PRODUCT_OPTION', 'MODIFIER'])\n .describe('Customization type.')\n .optional(),\n customizationRenderType: z\n .enum(['FREE_TEXT', 'TEXT_CHOICES', 'SWATCH_CHOICES'])\n .describe(\n 'Customization render type.\\n\\nDefines how the customization will be displayed in the storefront.'\n )\n .optional(),\n assignedProductsCount: z\n .number()\n .int()\n .describe(\n 'Number of products this customization is assigned to.\\n> **Note:** Returned only when you pass `\"ASSIGNED_PRODUCTS_COUNT\"` to the `fields` array in Customizations API requests.'\n )\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({\n freeTextInput: z.never().optional(),\n choicesSettings: z.never().optional(),\n }),\n z.object({\n choicesSettings: z.never().optional(),\n freeTextInput: z\n .object({\n minCharCount: z\n .number()\n .int()\n .describe('Minimum text character length.')\n .optional(),\n maxCharCount: z\n .number()\n .int()\n .describe('Maximum text character length.')\n .max(500)\n .optional(),\n defaultAddedPrice: z\n .string()\n .describe(\n \"Default amount added to a product's price when this choice is assigned to a modifier.\"\n )\n .optional()\n .nullable(),\n title: z\n .string()\n .describe(\n 'Title to display to customer for their free-text input.'\n )\n .min(1)\n .max(100)\n .optional(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the title.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(150)\n .optional()\n .nullable(),\n })\n .describe(\n 'Free text input settings.\\n\\n> **Note:** To be passed along with `customizationRenderType: FREE_TEXT`.'\n ),\n }),\n z.object({\n freeTextInput: z.never().optional(),\n choicesSettings: z\n .object({\n choices: z\n .array(\n z.intersection(\n z.object({\n _id: z\n .string()\n .describe('Choice ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n choiceType: z\n .enum(['CHOICE_TEXT', 'ONE_COLOR'])\n .describe(\n 'Choice type.\\n\\n> **Notes:**\\n> + For `customizationRenderType: SWATCH_CHOICES`, the supported `choiceType` value is: `ONE_COLOR`.\\n> + For a `customizationRenderType` of `TEXT_CHOICES`, the supported `choiceType` value is: `CHOICE_TEXT`.'\n )\n .optional(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the choice name.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(50)\n .optional()\n .nullable(),\n name: z\n .string()\n .describe('Choice name.')\n .min(1)\n .max(50)\n .optional(),\n defaultAddedPrice: z\n .string()\n .describe(\n \"Default amount added to a product's price when this customization is assigned to a modifier.\"\n )\n .optional()\n .nullable(),\n displayImage: z\n .string()\n .describe(\n 'Optional image displayed alongside a ONE_COLOR choice in the storefront.\\nOnly valid for ONE_COLOR choices; not populated for other choice types.'\n )\n .optional(),\n primaryChoiceIds: z.array(z.string()).max(4).optional(),\n }),\n z.xor([\n z.object({ colorCode: z.never().optional() }),\n z.object({\n colorCode: z\n .string()\n .describe(\n 'Color code in HEX format, [as described by MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color).'\n )\n .min(3)\n .max(20),\n }),\n ])\n )\n )\n .min(1)\n .max(200)\n .optional(),\n })\n .describe(\n 'Choices settings.\\n\\n> **Note:** Must be passed along with `customizationRenderType` of `SWATCH_CHOICES` and `TEXT_CHOICES`.'\n ),\n }),\n ])\n )\n .describe(\n 'Updated customization, with `choices` in the new order and `choicesSettings.sortOrder` set to `MANUAL`.'\n )\n .optional(),\n});\nexport const BulkAddCustomizationChoicesRequest = z.object({\n customizationsChoices: z\n .array(\n z.object({\n customizationId: z\n .string()\n .describe('Customization ID.')\n .min(1)\n .max(36),\n choices: z\n .array(\n z.intersection(\n z.object({\n _id: z\n .string()\n .describe('Choice ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n choiceType: z.enum(['CHOICE_TEXT', 'ONE_COLOR']).optional(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the choice name.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(50)\n .optional()\n .nullable(),\n name: z\n .string()\n .describe('Choice name.')\n .min(1)\n .max(50)\n .optional(),\n defaultAddedPrice: z\n .string()\n .describe(\n \"Default amount added to a product's price when this customization is assigned to a modifier.\"\n )\n .optional()\n .nullable(),\n displayImage: z\n .string()\n .describe(\n 'Optional image displayed alongside a ONE_COLOR choice in the storefront.\\nOnly valid for ONE_COLOR choices; not populated for other choice types.'\n )\n .optional(),\n primaryChoiceIds: z.array(z.string()).max(4).optional(),\n }),\n z.xor([\n z.object({ colorCode: z.never().optional() }),\n z.object({\n colorCode: z\n .string()\n .describe(\n 'Color code in HEX format, [as described by MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color).'\n )\n .min(3)\n .max(20),\n }),\n ])\n )\n )\n .min(1)\n .max(100),\n })\n )\n .min(1)\n .max(100),\n options: z\n .object({\n returnEntity: z\n .boolean()\n .describe(\n 'Whether to return the full customization entities in the response.\\n\\nDefault: `false`'\n )\n .optional(),\n fields: z\n .array(z.enum(['ASSIGNED_PRODUCTS_COUNT', 'CHOICE_DISPLAY_IMAGE']))\n .max(100)\n .optional(),\n })\n .optional(),\n});\nexport const BulkAddCustomizationChoicesResponse = z.object({\n results: z\n .array(\n z.object({\n itemMetadata: z\n .object({\n _id: z\n .string()\n .describe(\n \"Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).\"\n )\n .min(1)\n .max(36)\n .optional()\n .nullable(),\n originalIndex: z\n .number()\n .int()\n .describe(\n 'Index of the item within the request array. Allows for correlation between request and response items.'\n )\n .optional(),\n success: z\n .boolean()\n .describe(\n 'Whether the requested action was successful for this item. When `false`, the `error` field is populated.'\n )\n .optional(),\n error: z\n .object({\n code: z.string().describe('Error code.').optional(),\n description: z\n .string()\n .describe('Description of the error.')\n .optional(),\n data: z\n .record(z.string(), z.any())\n .describe('Data related to the error.')\n .optional()\n .nullable(),\n })\n .describe('Details about the error in case of failure.')\n .optional(),\n })\n .describe('Bulk action metadata for customization.')\n .optional(),\n customization: z\n .intersection(\n z.object({\n _id: z\n .string()\n .describe('Customization ID.')\n .min(1)\n .max(36)\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the customization is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the customization.\\n\\nIgnored when creating a customization.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the customization was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the customization was updated.')\n .optional()\n .nullable(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the customization name.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(50)\n .optional()\n .nullable(),\n name: z\n .string()\n .describe(\n 'Customization name for options (for example, `\"color\"`, `\"size\"`) and modifiers (for example, `\"greeting card\"`).'\n )\n .min(1)\n .max(50)\n .optional(),\n customizationType: z\n .enum(['PRODUCT_OPTION', 'MODIFIER'])\n .describe('Customization type.')\n .optional(),\n customizationRenderType: z\n .enum(['FREE_TEXT', 'TEXT_CHOICES', 'SWATCH_CHOICES'])\n .describe(\n 'Customization render type.\\n\\nDefines how the customization will be displayed in the storefront.'\n )\n .optional(),\n assignedProductsCount: z\n .number()\n .int()\n .describe(\n 'Number of products this customization is assigned to.\\n> **Note:** Returned only when you pass `\"ASSIGNED_PRODUCTS_COUNT\"` to the `fields` array in Customizations API requests.'\n )\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({\n freeTextInput: z.never().optional(),\n choicesSettings: z.never().optional(),\n }),\n z.object({\n choicesSettings: z.never().optional(),\n freeTextInput: z\n .object({\n minCharCount: z\n .number()\n .int()\n .describe('Minimum text character length.')\n .optional(),\n maxCharCount: z\n .number()\n .int()\n .describe('Maximum text character length.')\n .max(500)\n .optional(),\n defaultAddedPrice: z\n .string()\n .describe(\n \"Default amount added to a product's price when this choice is assigned to a modifier.\"\n )\n .optional()\n .nullable(),\n title: z\n .string()\n .describe(\n 'Title to display to customer for their free-text input.'\n )\n .min(1)\n .max(100)\n .optional(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the title.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(150)\n .optional()\n .nullable(),\n })\n .describe(\n 'Free text input settings.\\n\\n> **Note:** To be passed along with `customizationRenderType: FREE_TEXT`.'\n ),\n }),\n z.object({\n freeTextInput: z.never().optional(),\n choicesSettings: z\n .object({\n choices: z\n .array(\n z.intersection(\n z.object({\n _id: z\n .string()\n .describe('Choice ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n choiceType: z\n .enum(['CHOICE_TEXT', 'ONE_COLOR'])\n .describe(\n 'Choice type.\\n\\n> **Notes:**\\n> + For `customizationRenderType: SWATCH_CHOICES`, the supported `choiceType` value is: `ONE_COLOR`.\\n> + For a `customizationRenderType` of `TEXT_CHOICES`, the supported `choiceType` value is: `CHOICE_TEXT`.'\n )\n .optional(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the choice name.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(50)\n .optional()\n .nullable(),\n name: z\n .string()\n .describe('Choice name.')\n .min(1)\n .max(50)\n .optional(),\n defaultAddedPrice: z\n .string()\n .describe(\n \"Default amount added to a product's price when this customization is assigned to a modifier.\"\n )\n .optional()\n .nullable(),\n displayImage: z\n .string()\n .describe(\n 'Optional image displayed alongside a ONE_COLOR choice in the storefront.\\nOnly valid for ONE_COLOR choices; not populated for other choice types.'\n )\n .optional(),\n primaryChoiceIds: z\n .array(z.string())\n .max(4)\n .optional(),\n }),\n z.xor([\n z.object({ colorCode: z.never().optional() }),\n z.object({\n colorCode: z\n .string()\n .describe(\n 'Color code in HEX format, [as described by MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color).'\n )\n .min(3)\n .max(20),\n }),\n ])\n )\n )\n .min(1)\n .max(200)\n .optional(),\n })\n .describe(\n 'Choices settings.\\n\\n> **Note:** Must be passed along with `customizationRenderType` of `SWATCH_CHOICES` and `TEXT_CHOICES`.'\n ),\n }),\n ])\n )\n .describe(\n 'Full customization entity.\\n\\nReturned only if `returnEntity: true` is passed in the request.'\n )\n .optional(),\n })\n )\n .min(1)\n .max(100)\n .optional(),\n bulkActionMetadata: z\n .object({\n totalSuccesses: z\n .number()\n .int()\n .describe('Number of items that were successfully processed.')\n .optional(),\n totalFailures: z\n .number()\n .int()\n .describe(\"Number of items that couldn't be processed.\")\n .optional(),\n undetailedFailures: z\n .number()\n .int()\n .describe(\n 'Number of failures without details because detailed failure threshold was exceeded.'\n )\n .optional(),\n })\n .describe('Bulk action metadata.')\n .optional(),\n});\nexport const BulkUpdateCustomizationsRequest = z.object({\n customizations: z\n .array(\n z.object({\n customization: z\n .intersection(\n z.object({\n _id: z.string().describe('Customization ID.').min(1).max(36),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the customization is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the customization.\\n\\nIgnored when creating a customization.'\n ),\n _createdDate: z\n .date()\n .describe('Date and time the customization was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the customization was updated.')\n .optional()\n .nullable(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the customization name.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(50)\n .optional()\n .nullable(),\n name: z\n .string()\n .describe(\n 'Customization name for options (for example, `\"color\"`, `\"size\"`) and modifiers (for example, `\"greeting card\"`).'\n )\n .min(1)\n .max(50),\n customizationType: z\n .enum(['PRODUCT_OPTION', 'MODIFIER'])\n .optional(),\n customizationRenderType: z\n .enum(['FREE_TEXT', 'TEXT_CHOICES', 'SWATCH_CHOICES'])\n .optional(),\n assignedProductsCount: z\n .number()\n .int()\n .describe(\n 'Number of products this customization is assigned to.\\n> **Note:** Returned only when you pass `\"ASSIGNED_PRODUCTS_COUNT\"` to the `fields` array in Customizations API requests.'\n )\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({\n freeTextInput: z.never().optional(),\n choicesSettings: z.never().optional(),\n }),\n z.object({\n choicesSettings: z.never().optional(),\n freeTextInput: z\n .object({\n minCharCount: z\n .number()\n .int()\n .describe('Minimum text character length.')\n .optional(),\n maxCharCount: z\n .number()\n .int()\n .describe('Maximum text character length.')\n .max(500)\n .optional(),\n defaultAddedPrice: z\n .string()\n .describe(\n \"Default amount added to a product's price when this choice is assigned to a modifier.\"\n )\n .optional()\n .nullable(),\n title: z\n .string()\n .describe(\n 'Title to display to customer for their free-text input.'\n )\n .min(1)\n .max(100)\n .optional(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the title.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(150)\n .optional()\n .nullable(),\n })\n .describe(\n 'Free text input settings.\\n\\n> **Note:** To be passed along with `customizationRenderType: FREE_TEXT`.'\n ),\n }),\n z.object({\n freeTextInput: z.never().optional(),\n choicesSettings: z\n .object({\n choices: z\n .array(\n z.intersection(\n z.object({\n _id: z\n .string()\n .describe('Choice ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n choiceType: z\n .enum(['CHOICE_TEXT', 'ONE_COLOR'])\n .optional(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the choice name.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(50)\n .optional()\n .nullable(),\n name: z\n .string()\n .describe('Choice name.')\n .min(1)\n .max(50)\n .optional(),\n defaultAddedPrice: z\n .string()\n .describe(\n \"Default amount added to a product's price when this customization is assigned to a modifier.\"\n )\n .optional()\n .nullable(),\n displayImage: z\n .string()\n .describe(\n 'Optional image displayed alongside a ONE_COLOR choice in the storefront.\\nOnly valid for ONE_COLOR choices; not populated for other choice types.'\n )\n .optional(),\n primaryChoiceIds: z\n .array(z.string())\n .max(4)\n .optional(),\n }),\n z.xor([\n z.object({ colorCode: z.never().optional() }),\n z.object({\n colorCode: z\n .string()\n .describe(\n 'Color code in HEX format, [as described by MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color).'\n )\n .min(3)\n .max(20),\n }),\n ])\n )\n )\n .min(1)\n .max(200)\n .optional(),\n })\n .describe(\n 'Choices settings.\\n\\n> **Note:** Must be passed along with `customizationRenderType` of `SWATCH_CHOICES` and `TEXT_CHOICES`.'\n ),\n }),\n ])\n )\n .describe('Customization to update.')\n .optional(),\n })\n )\n .min(1)\n .max(100),\n options: z\n .object({\n returnEntity: z\n .boolean()\n .describe(\n 'Whether to return the full customization entities in the response.\\n\\nDefault: `false`'\n )\n .optional(),\n fields: z\n .array(z.enum(['ASSIGNED_PRODUCTS_COUNT', 'CHOICE_DISPLAY_IMAGE']))\n .max(100)\n .optional(),\n })\n .optional(),\n});\nexport const BulkUpdateCustomizationsResponse = z.object({\n results: z\n .array(\n z.object({\n itemMetadata: z\n .object({\n _id: z\n .string()\n .describe(\n \"Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).\"\n )\n .min(1)\n .max(36)\n .optional()\n .nullable(),\n originalIndex: z\n .number()\n .int()\n .describe(\n 'Index of the item within the request array. Allows for correlation between request and response items.'\n )\n .optional(),\n success: z\n .boolean()\n .describe(\n 'Whether the requested action was successful for this item. When `false`, the `error` field is populated.'\n )\n .optional(),\n error: z\n .object({\n code: z.string().describe('Error code.').optional(),\n description: z\n .string()\n .describe('Description of the error.')\n .optional(),\n data: z\n .record(z.string(), z.any())\n .describe('Data related to the error.')\n .optional()\n .nullable(),\n })\n .describe('Details about the error in case of failure.')\n .optional(),\n })\n .describe('Bulk action metadata for customization.')\n .optional(),\n customization: z\n .intersection(\n z.object({\n _id: z\n .string()\n .describe('Customization ID.')\n .min(1)\n .max(36)\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the customization is updated.\\nTo prevent conflicting changes,\\nthe current revision must be passed when updating the customization.\\n\\nIgnored when creating a customization.'\n )\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the customization was created.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the customization was updated.')\n .optional()\n .nullable(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the customization name.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(50)\n .optional()\n .nullable(),\n name: z\n .string()\n .describe(\n 'Customization name for options (for example, `\"color\"`, `\"size\"`) and modifiers (for example, `\"greeting card\"`).'\n )\n .min(1)\n .max(50)\n .optional(),\n customizationType: z\n .enum(['PRODUCT_OPTION', 'MODIFIER'])\n .describe('Customization type.')\n .optional(),\n customizationRenderType: z\n .enum(['FREE_TEXT', 'TEXT_CHOICES', 'SWATCH_CHOICES'])\n .describe(\n 'Customization render type.\\n\\nDefines how the customization will be displayed in the storefront.'\n )\n .optional(),\n assignedProductsCount: z\n .number()\n .int()\n .describe(\n 'Number of products this customization is assigned to.\\n> **Note:** Returned only when you pass `\"ASSIGNED_PRODUCTS_COUNT\"` to the `fields` array in Customizations API requests.'\n )\n .optional()\n .nullable(),\n }),\n z.xor([\n z.object({\n freeTextInput: z.never().optional(),\n choicesSettings: z.never().optional(),\n }),\n z.object({\n choicesSettings: z.never().optional(),\n freeTextInput: z\n .object({\n minCharCount: z\n .number()\n .int()\n .describe('Minimum text character length.')\n .optional(),\n maxCharCount: z\n .number()\n .int()\n .describe('Maximum text character length.')\n .max(500)\n .optional(),\n defaultAddedPrice: z\n .string()\n .describe(\n \"Default amount added to a product's price when this choice is assigned to a modifier.\"\n )\n .optional()\n .nullable(),\n title: z\n .string()\n .describe(\n 'Title to display to customer for their free-text input.'\n )\n .min(1)\n .max(100)\n .optional(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the title.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(150)\n .optional()\n .nullable(),\n })\n .describe(\n 'Free text input settings.\\n\\n> **Note:** To be passed along with `customizationRenderType: FREE_TEXT`.'\n ),\n }),\n z.object({\n freeTextInput: z.never().optional(),\n choicesSettings: z\n .object({\n choices: z\n .array(\n z.intersection(\n z.object({\n _id: z\n .string()\n .describe('Choice ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n choiceType: z\n .enum(['CHOICE_TEXT', 'ONE_COLOR'])\n .describe(\n 'Choice type.\\n\\n> **Notes:**\\n> + For `customizationRenderType: SWATCH_CHOICES`, the supported `choiceType` value is: `ONE_COLOR`.\\n> + For a `customizationRenderType` of `TEXT_CHOICES`, the supported `choiceType` value is: `CHOICE_TEXT`.'\n )\n .optional(),\n key: z\n .string()\n .describe(\n 'A read-only identifier generated from the choice name.\\n\\nUse `key` in the `catalogReference.options` object when [integrating Catalog V3 with eCommerce APIs](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/e-commerce-integration).'\n )\n .min(1)\n .max(50)\n .optional()\n .nullable(),\n name: z\n .string()\n .describe('Choice name.')\n .min(1)\n .max(50)\n .optional(),\n defaultAddedPrice: z\n .string()\n .describe(\n \"Default amount added to a product's price when this customization is assigned to a modifier.\"\n )\n .optional()\n .nullable(),\n displayImage: z\n .string()\n .describe(\n 'Optional image displayed alongside a ONE_COLOR choice in the storefront.\\nOnly valid for ONE_COLOR choices; not populated for other choice types.'\n )\n .optional(),\n primaryChoiceIds: z\n .array(z.string())\n .max(4)\n .optional(),\n }),\n z.xor([\n z.object({ colorCode: z.never().optional() }),\n z.object({\n colorCode: z\n .string()\n .describe(\n 'Color code in HEX format, [as described by MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color).'\n )\n .min(3)\n .max(20),\n }),\n ])\n )\n )\n .min(1)\n .max(200)\n .optional(),\n })\n .describe(\n 'Choices settings.\\n\\n> **Note:** Must be passed along with `customizationRenderType` of `SWATCH_CHOICES` and `TEXT_CHOICES`.'\n ),\n }),\n ])\n )\n .describe(\n 'Full customization entity.\\n\\nReturned only if `returnEntity: true` is passed in the request.'\n )\n .optional(),\n })\n )\n .min(1)\n .max(100)\n .optional(),\n bulkActionMetadata: z\n .object({\n totalSuccesses: z\n .number()\n .int()\n .describe('Number of items that were successfully processed.')\n .optional(),\n totalFailures: z\n .number()\n .int()\n .describe(\"Number of items that couldn't be processed.\")\n .optional(),\n undetailedFailures: z\n .number()\n .int()\n .describe(\n 'Number of failures without details because detailed failure threshold was exceeded.'\n )\n .optional(),\n })\n .describe('Bulk action metadata.')\n .optional(),\n});\n"],"mappings":";AAAA,YAAY,OAAO;AAEZ,IAAM,6BAA+B,SAAO;AAAA,EACjD,eACG;AAAA,IACG,SAAO;AAAA,MACP,KACG,SAAO,EACP,SAAS,mBAAmB,EAC5B,IAAI,CAAC,EACL,IAAI,EAAE,EACN,SAAS,EACT,SAAS;AAAA,MACZ,UACG,SAAO,EACP,MAAM,WAAW,8BAA8B,EAC/C;AAAA,QACC;AAAA,MACF,EACC,SAAS,EACT,SAAS;AAAA,MACZ,cACG,OAAK,EACL,SAAS,8CAA8C,EACvD,SAAS,EACT,SAAS;AAAA,MACZ,cACG,OAAK,EACL,SAAS,8CAA8C,EACvD,SAAS,EACT,SAAS;AAAA,MACZ,KACG,SAAO,EACP;AAAA,QACC;AAAA,MACF,EACC,IAAI,CAAC,EACL,IAAI,EAAE,EACN,SAAS,EACT,SAA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