@wix/auto_sdk_stores_customizations-v-3 1.0.101 → 1.0.103
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -1
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +1 -1
- package/build/internal/cjs/meta.d.ts +1 -1
- package/build/internal/es/index.typings.d.mts +1 -1
- package/build/internal/es/meta.d.mts +1 -1
- package/package.json +4 -4
package/build/cjs/meta.d.ts
CHANGED
package/build/cjs/meta.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../meta.ts","../../src/stores-catalog-v3-customization-customizations-v-3.http.ts","../../src/stores-catalog-v3-customization-customizations-v-3.types.ts","../../src/stores-catalog-v3-customization-customizations-v-3.meta.ts"],"sourcesContent":["export * from './src/stores-catalog-v3-customization-customizations-v-3.meta.js';\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nconst TRANSFORM_PATHS_0 = [\n { path: 'customization.createdDate' },\n { path: 'customization.updatedDate' },\n { path: 'customization.choicesSettings.choices.image.urlExpirationDate' },\n {\n path: 'customization.choicesSettings.choices.displayImage.urlExpirationDate',\n },\n];\nconst TRANSFORM_PATHS_1 = [\n { path: 'customization.choicesSettings.choices.image.focalPoint.x' },\n { path: 'customization.choicesSettings.choices.image.focalPoint.y' },\n];\nconst TRANSFORM_PATHS_2 = [{ path: 'fieldMask' }];\nconst TRANSFORM_PATHS_3 = [\n { path: 'customizations.createdDate' },\n { path: 'customizations.updatedDate' },\n { path: 'customizations.choicesSettings.choices.image.urlExpirationDate' },\n {\n path: 'customizations.choicesSettings.choices.displayImage.urlExpirationDate',\n },\n];\nconst TRANSFORM_PATHS_4 = [\n { path: 'customizations.choicesSettings.choices.image.focalPoint.x' },\n { path: 'customizations.choicesSettings.choices.image.focalPoint.y' },\n];\nconst TRANSFORM_PATHS_5 = [\n { path: 'results.customization.createdDate' },\n { path: 'results.customization.updatedDate' },\n {\n path: 'results.customization.choicesSettings.choices.image.urlExpirationDate',\n },\n {\n path: 'results.customization.choicesSettings.choices.displayImage.urlExpirationDate',\n },\n];\nconst TRANSFORM_PATHS_6 = [\n { path: 'results.customization.choicesSettings.choices.image.focalPoint.x' },\n { path: 'results.customization.choicesSettings.choices.image.focalPoint.y' },\n];\nconst TRANSFORM_PATHS_7 = [\n { path: 'choices.image.urlExpirationDate' },\n { path: 'choices.displayImage.urlExpirationDate' },\n];\nconst TRANSFORM_PATHS_8 = [\n { path: 'choices.image.focalPoint.x' },\n { path: 'choices.image.focalPoint.y' },\n];\nconst TRANSFORM_PATHS_9 = [{ path: 'choices.fieldMask' }];\nconst TRANSFORM_PATHS_10 = [\n { path: 'choices.choice.image.urlExpirationDate' },\n { path: 'choices.choice.displayImage.urlExpirationDate' },\n];\nconst TRANSFORM_PATHS_11 = [\n { path: 'choices.choice.image.focalPoint.x' },\n { path: 'choices.choice.image.focalPoint.y' },\n];\nconst TRANSFORM_PATHS_12 = [\n { path: 'customizationsChoices.choices.image.urlExpirationDate' },\n { path: 'customizationsChoices.choices.displayImage.urlExpirationDate' },\n];\nconst TRANSFORM_PATHS_13 = [\n { path: 'customizationsChoices.choices.image.focalPoint.x' },\n { path: 'customizationsChoices.choices.image.focalPoint.y' },\n];\nconst TRANSFORM_PATHS_14 = [{ path: 'customizations.fieldMask' }];\nconst TRANSFORM_PATHS_15 = [\n { path: 'customizations.customization.createdDate' },\n { path: 'customizations.customization.updatedDate' },\n {\n path: 'customizations.customization.choicesSettings.choices.image.urlExpirationDate',\n },\n {\n path: 'customizations.customization.choicesSettings.choices.displayImage.urlExpirationDate',\n },\n];\nconst TRANSFORM_PATHS_16 = [\n {\n path: 'customizations.customization.choicesSettings.choices.image.focalPoint.x',\n },\n {\n path: 'customizations.customization.choicesSettings.choices.image.focalPoint.y',\n },\n];\n\nfunction resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/customization',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/stores/v3/customizations',\n destPath: '/v3/customizations',\n },\n {\n srcPath: '/stores/v3/bulk/customizations',\n destPath: '/v3/bulk/customizations',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/customization',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/customization',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/customization',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/_api/customization',\n destPath: '',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/customization',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_stores_customizations-v-3';\n\n/** Creates a customization. */\nexport function createCustomization(\n payload: object\n): RequestOptionsFactory<any> {\n function __createCustomization({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: TRANSFORM_PATHS_1,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'POST' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.CreateCustomization',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: TRANSFORM_PATHS_1,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createCustomization;\n}\n\n/** Retrieves a customization. */\nexport function getCustomization(payload: object): RequestOptionsFactory<any> {\n function __getCustomization({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'GET' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.GetCustomization',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations/{customizationId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: TRANSFORM_PATHS_1,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getCustomization;\n}\n\n/**\n * Updates a customization.\n *\n * Each time the customization is updated, `revision` increments by 1.\n * The current `revision` must be passed when updating the customization.\n * This ensures you're working with the latest customization and prevents unintended overwrites.\n */\nexport function updateCustomization(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateCustomization({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: TRANSFORM_PATHS_2,\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: TRANSFORM_PATHS_1,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'PATCH' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.UpdateCustomization',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations/{customization.id}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: TRANSFORM_PATHS_1,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateCustomization;\n}\n\n/**\n * Deletes a customization.\n *\n * > **Notes:**\n * > + **Options** (customizations with `customizationType: PRODUCT_OPTION`) can't be deleted while assigned to any product because they affect product variants and inventory.\n * > + **Modifiers** can be deleted freely. When deleted, they are automatically removed from all products that reference them.\n */\nexport function deleteCustomization(\n payload: object\n): RequestOptionsFactory<any> {\n function __deleteCustomization({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'DELETE' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.DeleteCustomization',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations/{customizationId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteCustomization;\n}\n\n/**\n * Retrieves a list of up to 100 customizations, given the provided filtering, sorting, and cursor paging.\n * Pass supported values to the `fields` array in the request to include those fields in the response.\n *\n *\n * Query Customizations runs with these defaults, which you can override:\n *\n * - `createdDate` is sorted in `DESC` order\n * - `cursorPaging.limit` is `100`\n *\n * To learn about working with _Query_ endpoints, see\n * [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language),\n * and [Sorting and Paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging).\n */\nexport function queryCustomizations(\n payload: object\n): RequestOptionsFactory<any> {\n function __queryCustomizations({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'GET' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.QueryCustomizations',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations/query',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload, true),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_3,\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: TRANSFORM_PATHS_4,\n },\n ]),\n fallback: [\n {\n method: 'POST' as any,\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations/query',\n data: payload,\n host,\n }),\n data: payload,\n },\n ],\n };\n\n return metadata;\n }\n\n return __queryCustomizations;\n}\n\n/** Counts the customizations that match the provided filter. */\nexport function countCustomizations(\n payload: object\n): RequestOptionsFactory<any> {\n function __countCustomizations({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'POST' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.CountCustomizations',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations/count',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __countCustomizations;\n}\n\n/** Creates multiple customizations. */\nexport function bulkCreateCustomizations(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkCreateCustomizations({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: TRANSFORM_PATHS_3,\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: TRANSFORM_PATHS_4,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'POST' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.BulkCreateCustomizations',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/bulk/customizations/create',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_5,\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: TRANSFORM_PATHS_6,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkCreateCustomizations;\n}\n\n/** Adds choices to a customization. */\nexport function addCustomizationChoices(\n payload: object\n): RequestOptionsFactory<any> {\n function __addCustomizationChoices({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: TRANSFORM_PATHS_7,\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: TRANSFORM_PATHS_8,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'POST' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.AddCustomizationChoices',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations/{customizationId}/add-choices',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: TRANSFORM_PATHS_1,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __addCustomizationChoices;\n}\n\n/**\n * Sets a customization's choices. Any and all existing choices will be overridden.\n *\n * > **Note:** A choice cannot be overridden if it is assigned to one or more products.\n */\nexport function setCustomizationChoices(\n payload: object\n): RequestOptionsFactory<any> {\n function __setCustomizationChoices({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: TRANSFORM_PATHS_7,\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: TRANSFORM_PATHS_8,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'POST' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.SetCustomizationChoices',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations/{customizationId}/set-choices',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: TRANSFORM_PATHS_1,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __setCustomizationChoices;\n}\n\n/**\n * Removes choices from a customization.\n *\n * > **Notes:**\n * > + You can't remove an option choice while it's assigned to a product, because option choices create variants.\n * > + You can remove a modifier choice while it's assigned to a product. The connected products are updated asynchronously.\n * > + If you remove a choice that other choices reference as a primary, it's removed from their `primaryChoiceIds`. The linked choices remain in the customization.\n */\nexport function removeCustomizationChoices(\n payload: object\n): RequestOptionsFactory<any> {\n function __removeCustomizationChoices({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'POST' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.RemoveCustomizationChoices',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations/{customizationId}/remove-choices',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: TRANSFORM_PATHS_1,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __removeCustomizationChoices;\n}\n\n/**\n * Updates properties of existing choices in a customization.\n * Choices are identified by their IDs. Only the fields specified in `fieldMask` are updated.\n *\n * Currently supports updating `primaryChoiceIds`.\n */\nexport function updateCustomizationChoices(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateCustomizationChoices({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: TRANSFORM_PATHS_9,\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: TRANSFORM_PATHS_10,\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: TRANSFORM_PATHS_11,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'POST' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.UpdateCustomizationChoices',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations/{customizationId}/update-choices',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: TRANSFORM_PATHS_1,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateCustomizationChoices;\n}\n\n/**\n * Sets the display order of a customization's choices.\n *\n * Each time the customization is updated, `revision` increments by 1. The current `revision` must be passed when updating the customization. This ensures you're working with the latest customization and prevents unintended overwrites.\n *\n * The new order is persisted in the customization's `choices` list. Calling this method also sets `choicesSettings.sortOrder` to `MANUAL`.\n *\n * To change how choices are sorted in storefront filter panels without specifying an explicit order, call [Update Customization](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/customizations-v3/update-customization) and set the `choicesSettings.sortOrder` field.\n */\nexport function reorderCustomizationChoices(\n payload: object\n): RequestOptionsFactory<any> {\n function __reorderCustomizationChoices({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'POST' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.ReorderCustomizationChoices',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations/{customizationId}/reorder-choices',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: TRANSFORM_PATHS_1,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __reorderCustomizationChoices;\n}\n\n/** Adds choices to multiple customizations. */\nexport function bulkAddCustomizationChoices(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkAddCustomizationChoices({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: TRANSFORM_PATHS_12,\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: TRANSFORM_PATHS_13,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'POST' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.BulkAddCustomizationChoices',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/bulk/customizations/add-choices',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_5,\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: TRANSFORM_PATHS_6,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkAddCustomizationChoices;\n}\n\n/**\n * Updates multiple customizations.\n *\n * Each time the customization is updated, `revision` increments by 1.\n * The current `revision` must be passed when updating the customization.\n * This ensures you're working with the latest customization and prevents unintended overwrites.\n */\nexport function bulkUpdateCustomizations(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateCustomizations({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: TRANSFORM_PATHS_14,\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: TRANSFORM_PATHS_15,\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: TRANSFORM_PATHS_16,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'POST' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.BulkUpdateCustomizations',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/bulk/customizations/update',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_5,\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: TRANSFORM_PATHS_6,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkUpdateCustomizations;\n}\n","/**\n * Customizations include options and modifiers which can later be applied to products.\n * Options are designed to add variations to a product, where modifiers add a customizable change to the product but without creating another variant.\n */\nexport interface Customization\n extends CustomizationTypeSpecificSettingsOneOf,\n CustomizationCustomizationSettingsOneOf {\n /**\n * Modifier-specific settings. Not supported for product options.\n * @internal\n */\n modifierSettings?: ModifierSettings;\n /**\n * Free text input settings.\n *\n * > **Note:** To be passed along with `customizationRenderType: FREE_TEXT`.\n */\n freeTextInput?: FreeTextSettings;\n /**\n * Choices settings.\n *\n * > **Note:** Must be passed along with `customizationRenderType` of `SWATCH_CHOICES` and `TEXT_CHOICES`.\n */\n choicesSettings?: ChoicesSettings;\n /**\n * Customization ID.\n * @minLength 1\n * @maxLength 36\n * @readonly\n */\n id?: string | null;\n /**\n * Revision number, which increments by 1 each time the customization is updated.\n * To prevent conflicting changes,\n * the current revision must be passed when updating the customization.\n *\n * Ignored when creating a customization.\n * @readonly\n */\n revision?: string | null;\n /**\n * Date and time the customization was created.\n * @readonly\n */\n createdDate?: Date | null;\n /**\n * Date and time the customization was updated.\n * @readonly\n */\n updatedDate?: Date | null;\n /**\n * A read-only identifier generated from the customization name.\n *\n * Use `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 * @readonly\n * @minLength 1\n * @maxLength 50\n */\n key?: string | null;\n /**\n * Customization name for options (for example, `\"color\"`, `\"size\"`) and modifiers (for example, `\"greeting card\"`).\n * @minLength 1\n * @maxLength 50\n */\n name?: string;\n /**\n * Customization type.\n * @immutable\n */\n customizationType?: CustomizationTypeWithLiterals;\n /**\n * Customization render type.\n *\n * Defines how the customization will be displayed in the storefront.\n * @immutable\n */\n customizationRenderType?: CustomizationRenderTypeWithLiterals;\n /**\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 * @readonly\n */\n assignedProductsCount?: number | null;\n}\n\n/** @oneof */\nexport interface CustomizationTypeSpecificSettingsOneOf {\n /**\n * Modifier-specific settings. Not supported for product options.\n * @internal\n */\n modifierSettings?: ModifierSettings;\n}\n\n/** @oneof */\nexport interface CustomizationCustomizationSettingsOneOf {\n /**\n * Free text input settings.\n *\n * > **Note:** To be passed along with `customizationRenderType: FREE_TEXT`.\n */\n freeTextInput?: FreeTextSettings;\n /**\n * Choices settings.\n *\n * > **Note:** Must be passed along with `customizationRenderType` of `SWATCH_CHOICES` and `TEXT_CHOICES`.\n */\n choicesSettings?: ChoicesSettings;\n}\n\nexport enum CustomizationType {\n PRODUCT_OPTION = 'PRODUCT_OPTION',\n MODIFIER = 'MODIFIER',\n}\n\n/** @enumType */\nexport type CustomizationTypeWithLiterals =\n | CustomizationType\n | 'PRODUCT_OPTION'\n | 'MODIFIER';\n\nexport enum CustomizationRenderType {\n /** Customization by free text input. */\n FREE_TEXT = 'FREE_TEXT',\n /** Customization by selection of text choices. */\n TEXT_CHOICES = 'TEXT_CHOICES',\n /** Customization by selection of colors. */\n SWATCH_CHOICES = 'SWATCH_CHOICES',\n}\n\n/** @enumType */\nexport type CustomizationRenderTypeWithLiterals =\n | CustomizationRenderType\n | 'FREE_TEXT'\n | 'TEXT_CHOICES'\n | 'SWATCH_CHOICES';\n\nexport interface ModifierSettings {\n /**\n * Whether the modifier is mandatory by default.\n * @internal\n */\n defaultMandatory?: boolean | null;\n}\n\nexport interface FreeTextSettings {\n /** Minimum text character length. */\n minCharCount?: number;\n /**\n * Maximum text character length.\n * @max 500\n */\n maxCharCount?: number;\n /**\n * Default amount added to a product's price when this choice is assigned to a modifier.\n * @decimalValue options { gte:0, lte:999999999.99, maxScale:3 }\n */\n defaultAddedPrice?: string | null;\n /**\n * Title to display to customer for their free-text input.\n * @minLength 1\n * @maxLength 100\n */\n title?: string;\n /**\n * A read-only identifier generated from the title.\n *\n * Use `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 * @readonly\n * @minLength 1\n * @maxLength 150\n */\n key?: string | null;\n}\n\n/** Settings for choice-based customizations. */\nexport interface ChoicesSettings {\n /**\n * List of choices.\n * @minSize 1\n * @maxSize 1000\n * @immutable\n */\n choices?: Choice[];\n /**\n * Strategy for sorting choices in storefront filter panels. Use [Update Customization](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/customizations-v3/update-customization) to change this value.\n * `sortOrder` is set to `MANUAL` when calling [Reorder Customization Choices](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/customizations-v3/reorder-customization-choices).\n *\n * Default: `DEFAULT`\n * @internal\n */\n sortOrder?: ChoiceSortStrategyWithLiterals;\n}\n\nexport interface Choice extends ChoiceValueOneOf {\n /**\n * Color code in HEX format, [as described by MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color).\n * @minLength 3\n * @maxLength 20\n * @format COLOR_HEX\n */\n colorCode?: string;\n /**\n * Multiple colors - HEX (#RRGGBB) color code\n * @internal\n */\n colorCodes?: MultipleColors;\n /**\n * The choice value when the choice type is IMAGE — the image itself is what's being selected.\n * Not to be confused with display_image (field 14), which is a decorative overlay independent of choice type.\n * @internal\n */\n image?: Image;\n /**\n * Choice ID.\n * @format GUID\n * @readonly\n */\n id?: string;\n /**\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 * @immutable\n */\n choiceType?: ChoiceTypeWithLiterals;\n /**\n * A read-only identifier generated from the choice name.\n *\n * Use `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 * @readonly\n * @minLength 1\n * @maxLength 50\n */\n key?: string | null;\n /**\n * Choice name.\n * @minLength 1\n * @maxLength 50\n */\n name?: string;\n /**\n * Default amount added to a product's price when this customization is assigned to a modifier.\n * @decimalValue options { gte:0, lte:999999999.99, maxScale:3 }\n */\n defaultAddedPrice?: string | null;\n /**\n * Optional image displayed alongside a `ONE_COLOR` choice in the storefront.\n * Only valid for `ONE_COLOR` choices; not populated for other choice types.\n */\n displayImage?: CommonImage;\n /**\n * IDs of the primary choices this choice is grouped under.\n *\n * A choice that has `primaryChoiceIds` is a \"linked\" choice; a choice without `primaryChoiceIds` is a \"primary\" choice.\n * A linked choice can reference up to 4 primary choices and appears nested under each of them on the storefront,\n * rather than in the top-level choice list.\n *\n * Only one level of grouping is supported: a primary choice cannot itself be a linked choice.\n * @format GUID\n * @maxSize 4\n */\n primaryChoiceIds?: string[];\n}\n\n/** @oneof */\nexport interface ChoiceValueOneOf {\n /**\n * Color code in HEX format, [as described by MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color).\n * @minLength 3\n * @maxLength 20\n * @format COLOR_HEX\n */\n colorCode?: string;\n /**\n * Multiple colors - HEX (#RRGGBB) color code\n * @internal\n */\n colorCodes?: MultipleColors;\n /**\n * The choice value when the choice type is IMAGE — the image itself is what's being selected.\n * Not to be confused with display_image (field 14), which is a decorative overlay independent of choice type.\n * @internal\n */\n image?: Image;\n}\n\nexport enum ChoiceType {\n /** For a `customizationRenderType` of `TEXT_CHOICES`. */\n CHOICE_TEXT = 'CHOICE_TEXT',\n /** For `customizationRenderType: SWATCH_CHOICES`. */\n ONE_COLOR = 'ONE_COLOR',\n /**\n * For `customizationRenderType: SWATCH_CHOICES`.\n * @internal\n */\n MULTIPLE_COLORS = 'MULTIPLE_COLORS',\n /**\n * For `customizationRenderType: SWATCH_CHOICES`.\n * @internal\n */\n IMAGE = 'IMAGE',\n}\n\n/** @enumType */\nexport type ChoiceTypeWithLiterals = ChoiceType | 'CHOICE_TEXT' | 'ONE_COLOR';\n\nexport interface MultipleColors {\n /**\n * A list of color codes.\n * @minLength 3\n * @maxLength 20\n * @minSize 2\n * @maxSize 2\n */\n colorCodes?: string[];\n}\n\nexport interface Image {\n /** WixMedia image ID. */\n id?: string;\n /** Image URL. */\n url?: string;\n /**\n * Original image height.\n * @readonly\n */\n height?: number;\n /**\n * Original image width.\n * @readonly\n */\n width?: number;\n /** Image alt text. */\n altText?: string | null;\n /**\n * Image URL expiration date (when relevant).\n * @internal\n * @readonly\n */\n urlExpirationDate?: Date | null;\n /**\n * Image filename.\n * @readonly\n */\n filename?: string | null;\n /**\n * Image size in bytes.\n * @internal\n * @readonly\n * @format DECIMAL_VALUE\n */\n sizeInBytes?: string | null;\n /**\n * Focal point of the image.\n * @internal\n */\n focalPoint?: FocalPoint;\n}\n\nexport interface FocalPoint {\n /** X-coordinate of the focal point. */\n x?: number;\n /** Y-coordinate of the focal point. */\n y?: number;\n /** crop by height */\n height?: number | null;\n /** crop by width */\n width?: number | null;\n}\n\nexport interface CommonImage {\n /**\n * WixMedia image ID.\n * @maxLength 400\n */\n id?: string;\n /**\n * Image URL.\n * @format WEB_URL\n */\n url?: string;\n /**\n * Original image height.\n * @readonly\n */\n height?: number;\n /**\n * Original image width.\n * @readonly\n */\n width?: number;\n /**\n * Image alt text.\n * @maxLength 200\n */\n altText?: string | null;\n /**\n * Image URL expiration date (when relevant).\n * @internal\n * @readonly\n */\n urlExpirationDate?: Date | null;\n /**\n * Image filename.\n * @readonly\n * @maxLength 200\n */\n filename?: string | null;\n /**\n * Image size in bytes.\n * @internal\n * @readonly\n * @format DECIMAL_VALUE\n */\n sizeInBytes?: string | null;\n}\n\nexport enum ChoiceSortStrategy {\n /** Default. Text choices are sorted by name, swatch choices are sorted by product count. */\n DEFAULT = 'DEFAULT',\n /** Alphabetically by name, case-insensitive. Numeric values are sorted first. */\n BY_NAME = 'BY_NAME',\n /** By the number of products assigned to each choice, in descending order. */\n BY_PRODUCT_COUNT = 'BY_PRODUCT_COUNT',\n /** By the order of the choices list. Use [Reorder Customization Choices](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/customizations-v3/reorder-customization-choices) to set the order. */\n MANUAL = 'MANUAL',\n}\n\n/** @enumType */\nexport type ChoiceSortStrategyWithLiterals =\n | ChoiceSortStrategy\n | 'DEFAULT'\n | 'BY_NAME'\n | 'BY_PRODUCT_COUNT'\n | 'MANUAL';\n\nexport interface InvalidateCache extends InvalidateCacheGetByOneOf {\n /**\n * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n siteId?: string;\n /** Invalidate by App */\n app?: App;\n /** Invalidate by page id */\n page?: Page;\n /** Invalidate by URI path */\n uri?: URI;\n /** Invalidate by file (for media files such as PDFs) */\n file?: File;\n /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n customTag?: CustomTag;\n /** Invalidate by multiple page ids */\n pages?: Pages;\n /** Invalidate by multiple URI paths */\n uris?: URIs;\n /**\n * tell us why you're invalidating the cache. You don't need to add your app name\n * @maxLength 256\n */\n reason?: string | null;\n /** Is local DS */\n localDc?: boolean;\n hardPurge?: boolean;\n /**\n * Optional caller-provided ID for tracking this invalidation through the system.\n * When set, the corresponding CDN purge completion event will include this ID,\n * allowing you to confirm when the invalidation has fully propagated.\n * Example: generate a UUID, pass it here, and later match it in the CDN purge completion event.\n * @maxLength 256\n */\n correlationId?: string | null;\n}\n\n/** @oneof */\nexport interface InvalidateCacheGetByOneOf {\n /**\n * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n siteId?: string;\n /** Invalidate by App */\n app?: App;\n /** Invalidate by page id */\n page?: Page;\n /** Invalidate by URI path */\n uri?: URI;\n /** Invalidate by file (for media files such as PDFs) */\n file?: File;\n /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n customTag?: CustomTag;\n /** Invalidate by multiple page ids */\n pages?: Pages;\n /** Invalidate by multiple URI paths */\n uris?: URIs;\n}\n\nexport interface App {\n /**\n * The AppDefId\n * @minLength 1\n */\n appDefId?: string;\n /**\n * The instance Id\n * @format GUID\n */\n instanceId?: string;\n}\n\nexport interface Page {\n /**\n * the msid the page is on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Page ID\n * @minLength 1\n */\n pageId?: string;\n}\n\nexport interface URI {\n /**\n * the msid the URI is on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes\n * @minLength 1\n */\n uriPath?: string;\n}\n\nexport interface File {\n /**\n * the msid the file is related to\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by filename (for media files such as PDFs)\n * @minLength 1\n * @maxLength 256\n */\n fileName?: string;\n}\n\nexport interface CustomTag {\n /**\n * the msid the tag is related to\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Tag to invalidate by\n * @minLength 1\n * @maxLength 256\n */\n tag?: string;\n}\n\nexport interface Pages {\n /**\n * the msid the pages are on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by multiple Page IDs in a single message\n * @maxSize 100\n * @minLength 1\n */\n pageIds?: string[];\n}\n\nexport interface URIs {\n /**\n * the msid the URIs are on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * URI paths to invalidate (e.g. page/my/path) - without leading/trailing slashes\n * @maxSize 100\n * @minLength 1\n */\n uriPaths?: string[];\n}\n\nexport interface CreateCustomizationRequest {\n /** Customization to create. */\n customization: Customization;\n}\n\nexport interface CreateCustomizationResponse {\n /** Created customization. */\n customization?: Customization;\n}\n\nexport interface GetCustomizationRequest {\n /**\n * Customization ID.\n * @format GUID\n */\n customizationId: string;\n /**\n * Fields to include in the response.\n *\n * Supported values: `ASSIGNED_PRODUCTS_COUNT`\n * @maxSize 100\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport enum RequestedFields {\n /** Assigned products count. */\n ASSIGNED_PRODUCTS_COUNT = 'ASSIGNED_PRODUCTS_COUNT',\n /** Returns display images for choices. */\n CHOICE_DISPLAY_IMAGE = 'CHOICE_DISPLAY_IMAGE',\n}\n\n/** @enumType */\nexport type RequestedFieldsWithLiterals =\n | RequestedFields\n | 'ASSIGNED_PRODUCTS_COUNT'\n | 'CHOICE_DISPLAY_IMAGE';\n\nexport interface GetCustomizationResponse {\n /** Customization. */\n customization?: Customization;\n}\n\nexport interface UpdateCustomizationRequest {\n /** Customization to update. */\n customization: Customization;\n /**\n * Set of fields to update.\n *\n * Fields that aren't included in `fieldMask.paths` are ignored.\n * @internal\n */\n fieldMask?: string[];\n /**\n * Fields to include in the response.\n *\n * Supported values: `ASSIGNED_PRODUCTS_COUNT`\n * @maxSize 100\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface UpdateCustomizationResponse {\n /** Updated customization. */\n customization?: Customization;\n}\n\nexport interface DeleteCustomizationRequest {\n /**\n * Customization ID.\n * @format GUID\n */\n customizationId: string;\n}\n\nexport interface DeleteCustomizationResponse {}\n\nexport interface QueryCustomizationsRequest {\n /** Query options. */\n query?: CursorQuery;\n /**\n * Fields to include in the response.\n *\n * Supported values: `ASSIGNED_PRODUCTS_COUNT`\n * @maxSize 100\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface CursorQuery extends CursorQueryPagingMethodOneOf {\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n /**\n * Filter object in the following format:\n * `\"filter\" : {\n * \"fieldName1\": \"value1\",\n * \"fieldName2\":{\"$operator\":\"value2\"}\n * }`\n * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object in the following format:\n * `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]`\n * @maxSize 5\n */\n sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface CursorQueryPagingMethodOneOf {\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n /**\n * Name of the field to sort by.\n * @maxLength 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: SortOrderWithLiterals;\n /**\n * When `field_name` is a property of repeated field that is marked as `MATCH_ITEMS` and sort should be done by\n * a specific element from a collection, filter can/should be provided to ensure correct sort value is picked.\n *\n * If multiple filters are provided, they are combined with AND operator.\n *\n * Example:\n * Given we have document like {\"id\": \"1\", \"nestedField\": [{\"price\": 10, \"region\": \"EU\"}, {\"price\": 20, \"region\": \"US\"}]}\n * and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be\n * { fieldName: \"nestedField.price\", \"select_items_by\": [{\"nestedField.region\": \"US\"}] }\n * @internal\n * @maxSize 10\n */\n selectItemsBy?: Record<string, any>[] | null;\n}\n\nexport enum SortOrder {\n /** Ascending order. */\n ASC = 'ASC',\n /** Descending order. */\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface CursorPaging {\n /**\n * Maximum number of items to return in the results.\n * @max 100\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n *\n * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n * Not relevant for the first request.\n * @maxLength 16000\n */\n cursor?: string | null;\n}\n\nexport interface QueryCustomizationsResponse {\n /**\n * List of customizations.\n * @minSize 1\n * @maxSize 200\n */\n customizations?: Customization[];\n /** Details on the paged set of results returned. */\n pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface CursorPagingMetadata {\n /** Number of items returned in the response. */\n count?: number | null;\n /** Cursor strings that point to the next page, previous page, or both. */\n cursors?: Cursors;\n /**\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 hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n /**\n * Cursor string pointing to the next page in the list of results.\n * @maxLength 16000\n */\n next?: string | null;\n /**\n * Cursor pointing to the previous page in the list of results.\n * @maxLength 16000\n */\n prev?: string | null;\n}\n\nexport interface CountCustomizationsRequest {\n /** Filter object. See API Query Language for more information. */\n filter?: Record<string, any> | null;\n}\n\nexport interface CountCustomizationsResponse {\n /** Number of customizations that match the filter. */\n count?: number;\n}\n\nexport interface BulkCreateCustomizationsRequest {\n /**\n * Customizations to create.\n * @minSize 1\n * @maxSize 100\n */\n customizations: Customization[];\n /**\n * Whether to return the full customization entities in the response.\n *\n * Default: `false`\n */\n returnEntity?: boolean;\n}\n\nexport interface BulkCreateCustomizationsResponse {\n /**\n * Customizations created by bulk action.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkCustomizationResult[];\n /** Bulk action metadata. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkCustomizationResult {\n /** Bulk action metadata for customization. */\n itemMetadata?: ItemMetadata;\n /**\n * Full customization entity.\n *\n * Returned only if `returnEntity: true` is passed in the request.\n */\n customization?: Customization;\n}\n\nexport interface ItemMetadata {\n /**\n * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).\n * @minLength 1\n * @maxLength 36\n */\n id?: string | null;\n /** Index of the item within the request array. Allows for correlation between request and response items. */\n originalIndex?: number;\n /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */\n success?: boolean;\n /** Details about the error in case of failure. */\n error?: ApplicationError;\n}\n\nexport interface ApplicationError {\n /** Error code. */\n code?: string;\n /** Description of the error. */\n description?: string;\n /** Data related to the error. */\n data?: Record<string, any> | null;\n}\n\nexport interface BulkActionMetadata {\n /** Number of items that were successfully processed. */\n totalSuccesses?: number;\n /** Number of items that couldn't be processed. */\n totalFailures?: number;\n /** Number of failures without details because detailed failure threshold was exceeded. */\n undetailedFailures?: number;\n}\n\nexport interface CustomizationIdsWrapper {\n /**\n * list of all the customization ids that are invalid\n * e.g list of failed choices ids\n * @minSize 1\n * @maxSize 100\n * @minLength 1\n * @maxLength 36\n */\n customizationIds?: string[];\n}\n\nexport interface BulkCreateCustomizationsForMigrationRequest {\n /**\n * Customizations to create.\n * @minSize 1\n * @maxSize 100\n */\n customizations?: Customization[];\n /**\n * Whether to return the full customization entities in the response.\n *\n * Default: `false`\n */\n returnEntity?: boolean;\n /**\n * Fields to include in the response.\n *\n * Supported values: `ASSIGNED_PRODUCTS_COUNT`\n * @maxSize 100\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface BulkCreateCustomizationsForMigrationResponse {\n /**\n * Customizations created by bulk action.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkCustomizationResult[];\n /** Bulk action metadata. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface AddCustomizationChoicesRequest {\n /**\n * Customization ID.\n * @format GUID\n */\n customizationId: string;\n /**\n * Choices to add.\n * @minSize 1\n * @maxSize 1000\n */\n choices: Choice[];\n /**\n * Fields to include in the response.\n *\n * Supported values: `ASSIGNED_PRODUCTS_COUNT`\n * @maxSize 100\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface AddCustomizationChoicesResponse {\n /** Updated customization. */\n customization?: Customization;\n}\n\nexport interface SetCustomizationChoicesRequest {\n /**\n * Customization ID.\n * @format GUID\n */\n customizationId: string;\n /**\n * Choices to set.\n * @minSize 1\n * @maxSize 1000\n */\n choices: Choice[];\n /**\n * Fields to include in the response.\n *\n * Supported values: `ASSIGNED_PRODUCTS_COUNT`\n * @maxSize 100\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface SetCustomizationChoicesResponse {\n /** Updated customization. */\n customization?: Customization;\n}\n\nexport interface RemoveCustomizationChoicesRequest {\n /**\n * Customization ID.\n * @format GUID\n */\n customizationId: string;\n /**\n * IDs of choices to remove.\n * @format GUID\n * @minSize 1\n * @maxSize 100\n */\n choiceIds: string[];\n /** Customization revision. */\n revision?: string;\n /**\n * Fields to include in the response.\n *\n * Supported values: `ASSIGNED_PRODUCTS_COUNT`\n * @maxSize 100\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface RemoveCustomizationChoicesResponse {\n /** Updated customization. */\n customization?: Customization;\n}\n\nexport interface UpdateCustomizationChoicesRequest {\n /**\n * Customization ID.\n * @format GUID\n */\n customizationId: string;\n /**\n * Revision number, which increments by 1 each time the customization is updated.\n * To prevent conflicting changes,\n * the current revision must be passed when updating the customization.\n */\n revision: string;\n /**\n * Choices to update. Each item must include a `choice` with a valid `id` matching an existing choice in the customization.\n * @minSize 1\n * @maxSize 100\n */\n choices: MaskedChoice[];\n /**\n * Fields to include in the response.\n *\n * Supported values: `ASSIGNED_PRODUCTS_COUNT`\n * @maxSize 100\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface MaskedChoice {\n /** Choice to update. */\n choice?: Choice;\n /**\n * Set of choice fields to update.\n * @internal\n */\n fieldMask?: string[];\n}\n\nexport interface UpdateCustomizationChoicesResponse {\n /** Updated customization. */\n customization?: Customization;\n}\n\nexport interface ReorderCustomizationChoicesRequest {\n /**\n * Customization ID.\n * @format GUID\n */\n customizationId: string;\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 revision: string;\n /**\n * Choice IDs in the desired display order. Must contain exactly the same IDs as the customization's current choices, with no additions, removals, or duplicates.\n * @format GUID\n * @minSize 1\n * @maxSize 1000\n */\n choiceIds: string[];\n /**\n * Fields to include in the response.\n *\n * Supported values: `ASSIGNED_PRODUCTS_COUNT`.\n * @maxSize 100\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface ReorderCustomizationChoicesResponse {\n /** Updated customization, with `choices` in the new order and `choicesSettings.sortOrder` set to `MANUAL`. */\n customization?: Customization;\n}\n\n/** Additional error details returned with the `CHOICE_IDS_MISMATCH` error. */\nexport interface ChoiceIdsMismatchData {\n /** Choice IDs that exist in the customization but are missing from `choiceIds`. */\n missingIds?: string[];\n /** Choice IDs included in `choiceIds` that don't exist in the customization, or that appear in `choiceIds` more than once. */\n extraIds?: string[];\n}\n\nexport interface BulkAddCustomizationChoicesRequest {\n /**\n * List of customization IDs and choices.\n * @minSize 1\n * @maxSize 1000\n */\n customizationsChoices: CustomizationChoices[];\n /**\n * Whether to return the full customization entities in the response.\n *\n * Default: `false`\n */\n returnEntity?: boolean;\n /**\n * Fields to include in the response.\n *\n * Supported values: `ASSIGNED_PRODUCTS_COUNT`\n * @maxSize 100\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface CustomizationChoices {\n /**\n * Customization ID.\n * @minLength 1\n * @maxLength 36\n */\n customizationId?: string;\n /**\n * Choices to add.\n * @minSize 1\n * @maxSize 100\n */\n choices?: Choice[];\n}\n\nexport interface BulkAddCustomizationChoicesResponse {\n /**\n * Customizations updated by bulk action.\n * @minSize 1\n * @maxSize 1000\n */\n results?: BulkCustomizationResult[];\n /** Bulk action metadata. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkUpdateCustomizationsRequest {\n /**\n * List of customizations to update.\n * @minSize 1\n * @maxSize 100\n */\n customizations: MaskedCustomization[];\n /**\n * Whether to return the full customization entities in the response.\n *\n * Default: `false`\n */\n returnEntity?: boolean;\n /**\n * Fields to include in the response.\n *\n * Supported values: `ASSIGNED_PRODUCTS_COUNT`\n * @maxSize 100\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface MaskedCustomization {\n /** Customization to update. */\n customization?: Customization;\n /**\n * Explicit list of fields to update.\n * @internal\n */\n fieldMask?: string[];\n}\n\nexport interface BulkUpdateCustomizationsResponse {\n /**\n * Customizations updated by bulk action.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkCustomizationResult[];\n /** Bulk action metadata. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entityAsJson?: string;\n /**\n * Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity\n * @internal\n */\n triggeredByUndelete?: boolean | null;\n /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n restoreInfo?: RestoreInfo;\n /**\n * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n * @internal\n */\n additionalMetadataAsJson?: string | null;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntityAsJson?: string;\n /**\n * This field is currently part of the of the EntityUpdatedEvent msg, but scala/node libraries which implements the domain events standard\n * wont populate it / have any reference to it in the API.\n * The main reason for it is that fetching the old entity from the DB will have a performance hit on an update operation so unless truly needed,\n * the developer should send only the new (current) entity.\n * An additional reason is not wanting to send this additional entity over the wire (kafka) since in some cases it can be really big\n * Developers that must reflect the old entity will have to implement their own domain event sender mechanism which will follow the DomainEvent proto message.\n * @internal\n * @deprecated\n */\n previousEntityAsJson?: string | null;\n /**\n * Map of fully qualified field paths to their previous values for fields that changed.\n * For more details please see [AIP](https://dev.wix.com/docs/rnd-general/articles/p13n-guidelines-aips/guidance-aips/design-patterns/7016-events#modified-fields-format)\n * @internal\n */\n modifiedFields?: Record<string, any>;\n /**\n * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n * @internal\n */\n additionalMetadataAsJson?: string | null;\n}\n\nexport interface EntityDeletedEvent {\n /**\n * Indicates if the entity is sent to trash-bin. only available when trash-bin is enabled\n * @internal\n */\n movedToTrash?: boolean | null;\n /** Entity that was deleted. */\n deletedEntityAsJson?: string | null;\n /**\n * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n * @internal\n */\n additionalMetadataAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n bodyAsJson?: string;\n}\n\nexport interface Empty {}\n\nexport interface RecloneSiteRequest {\n /** @format GUID */\n cloneFrom?: string;\n}\n\nexport interface RecloneSiteResponse {}\n\n/**\n * Published on Greyhound topic \"catalog-rollback-requested\" after the site is handled by the V3 population rollback.\n * Each owning service reacts to this rollback request according to its own policy.\n */\nexport interface CatalogRollbackRequested {\n /**\n * The MetaSite ID of the store whose catalog migration rollback was requested.\n * @format GUID\n */\n metaSiteId?: string;\n /** Whether owner services should clean V3 catalog data as a reaction to this rollback request. */\n cleanData?: boolean;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n /** Details related to the account */\n accountInfo?: AccountInfo;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\nexport interface AccountInfo {\n /**\n * ID of the Wix account associated with the event.\n * @format GUID\n */\n accountId?: string | null;\n /**\n * ID of the parent Wix account. Only included when accountId belongs to a child account.\n * @format GUID\n */\n parentAccountId?: string | null;\n /**\n * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n * @format GUID\n */\n siteId?: string | null;\n}\n\n/** @docsIgnore */\nexport type CreateCustomizationApplicationErrors =\n | {\n code?: 'OPTIONS_LIMIT_EXCEEDED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'MODIFIERS_LIMIT_EXCEEDED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'INVALID_CUSTOMIZATION_RENDER_TYPE';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'INVALID_FREE_TEXT_SETTINGS';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'MODIFIER_SETTINGS_NOT_SUPPORTED_FOR_PRODUCT_OPTION';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type CreateCustomizationValidationErrors =\n | {\n ruleName?: 'ONLY_SPACES_STRING_ERROR';\n }\n | {\n ruleName?: 'DUPLICATE_CHOICE_NAME';\n }\n | {\n ruleName?: 'CUSTOMIZATION_WITH_ONLY_ID_OR_CHOICE_IDS';\n }\n | {\n ruleName?: 'MIXED_CHOICE_IDS_CONSISTENCY';\n }\n | {\n ruleName?: 'ID_NOT_ALLOWED_IN_REQUEST';\n }\n | {\n ruleName?: 'PRIMARY_CHOICE_SELF_REFERENCE';\n }\n | {\n ruleName?: 'PRIMARY_CHOICE_NOT_FOUND';\n }\n | {\n ruleName?: 'PRIMARY_CHOICE_HIERARCHY_VIOLATION';\n };\n/** @docsIgnore */\nexport type UpdateCustomizationApplicationErrors =\n | {\n code?: 'INVALID_FREE_TEXT_SETTINGS';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DOESNT_SUPPORT_FREE_TEXT';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'MODIFIER_SETTINGS_NOT_SUPPORTED_FOR_PRODUCT_OPTION';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type DeleteCustomizationValidationErrors = {\n ruleName?: 'NOT_ALLOWED_DELETE_CUSTOMIZATION_ASSIGNED_TO_PRODUCT';\n};\n/** @docsIgnore */\nexport type BulkCreateCustomizationsApplicationErrors =\n | {\n code?: 'MODIFIER_SETTINGS_NOT_SUPPORTED_FOR_PRODUCT_OPTION';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'OPTIONS_LIMIT_EXCEEDED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'MODIFIERS_LIMIT_EXCEEDED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DOESNT_SUPPORT_CHOICES';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'CHOICES_LIMIT_EXCEEDED';\n description?: string;\n data?: CustomizationIdsWrapper;\n };\n/** @docsIgnore */\nexport type BulkCreateCustomizationsValidationErrors =\n | {\n ruleName?: 'ONLY_SPACES_STRING_ERROR';\n }\n | {\n ruleName?: 'INVALID_CHOICE_TYPE';\n }\n | {\n ruleName?: 'DUPLICATE_CHOICE_NAME';\n }\n | {\n ruleName?: 'INVALID_CHOICE_VALUE';\n }\n | {\n ruleName?: 'CUSTOMIZATION_WITH_ONLY_ID_OR_CHOICE_IDS';\n }\n | {\n ruleName?: 'MIXED_CHOICE_IDS_CONSISTENCY';\n }\n | {\n ruleName?: 'ID_NOT_ALLOWED_IN_REQUEST';\n }\n | {\n ruleName?: 'PRIMARY_CHOICE_SELF_REFERENCE';\n }\n | {\n ruleName?: 'PRIMARY_CHOICE_NOT_FOUND';\n }\n | {\n ruleName?: 'PRIMARY_CHOICE_HIERARCHY_VIOLATION';\n };\n/** @docsIgnore */\nexport type AddCustomizationChoicesApplicationErrors =\n | {\n code?: 'CHOICES_LIMIT_EXCEEDED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DOESNT_SUPPORT_CHOICES';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type AddCustomizationChoicesValidationErrors =\n | {\n ruleName?: 'INVALID_CHOICE_TYPE';\n }\n | {\n ruleName?: 'INVALID_CHOICE_VALUE';\n }\n | {\n ruleName?: 'DUPLICATE_CHOICE_NAME';\n }\n | {\n ruleName?: 'PRIMARY_CHOICE_SELF_REFERENCE';\n }\n | {\n ruleName?: 'PRIMARY_CHOICE_NOT_FOUND';\n }\n | {\n ruleName?: 'PRIMARY_CHOICE_HIERARCHY_VIOLATION';\n };\n/** @docsIgnore */\nexport type SetCustomizationChoicesApplicationErrors =\n | {\n code?: 'DOESNT_SUPPORT_CHOICES';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'CHOICES_LIMIT_EXCEEDED';\n description?: string;\n data?: CustomizationIdsWrapper;\n };\n/** @docsIgnore */\nexport type SetCustomizationChoicesValidationErrors =\n | {\n ruleName?: 'INVALID_CHOICE_TYPE';\n }\n | {\n ruleName?: 'INVALID_CHOICE_VALUE';\n }\n | {\n ruleName?: 'NOT_ALLOWED_DELETE_CHOICE_ASSIGNED_TO_PRODUCT';\n }\n | {\n ruleName?: 'DUPLICATE_CHOICE_NAME';\n }\n | {\n ruleName?: 'PRIMARY_CHOICE_SELF_REFERENCE';\n }\n | {\n ruleName?: 'PRIMARY_CHOICE_NOT_FOUND';\n }\n | {\n ruleName?: 'PRIMARY_CHOICE_HIERARCHY_VIOLATION';\n };\n/** @docsIgnore */\nexport type RemoveCustomizationChoicesApplicationErrors =\n | {\n code?: 'CHOICE_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'CHOICE_ASSIGNED_TO_PRODUCT';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type RemoveCustomizationChoicesValidationErrors = {\n ruleName?: 'NOT_ALLOWED_CUSTOMIZATION_WITHOUT_CHOICES';\n};\n/** @docsIgnore */\nexport type UpdateCustomizationChoicesApplicationErrors = {\n code?: 'CHOICE_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type UpdateCustomizationChoicesValidationErrors =\n | {\n ruleName?: 'UNSUPPORTED_CHOICE_FIELD';\n }\n | {\n ruleName?: 'PRIMARY_CHOICE_SELF_REFERENCE';\n }\n | {\n ruleName?: 'PRIMARY_CHOICE_NOT_FOUND';\n }\n | {\n ruleName?: 'PRIMARY_CHOICE_HIERARCHY_VIOLATION';\n };\n/** @docsIgnore */\nexport type ReorderCustomizationChoicesApplicationErrors =\n | {\n code?: 'DOESNT_SUPPORT_CHOICES';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'CHOICE_IDS_MISMATCH';\n description?: string;\n data?: ChoiceIdsMismatchData;\n };\n/** @docsIgnore */\nexport type BulkAddCustomizationChoicesApplicationErrors =\n | {\n code?: 'CHOICES_LIMIT_EXCEEDED';\n description?: string;\n data?: CustomizationIdsWrapper;\n }\n | {\n code?: 'DOESNT_SUPPORT_CHOICES';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type BulkAddCustomizationChoicesValidationErrors =\n | {\n ruleName?: 'INVALID_CHOICE_TYPE';\n }\n | {\n ruleName?: 'INVALID_CHOICE_VALUE';\n }\n | {\n ruleName?: 'PRIMARY_CHOICE_SELF_REFERENCE';\n }\n | {\n ruleName?: 'PRIMARY_CHOICE_NOT_FOUND';\n }\n | {\n ruleName?: 'PRIMARY_CHOICE_HIERARCHY_VIOLATION';\n };\n/** @docsIgnore */\nexport type BulkUpdateCustomizationsApplicationErrors =\n | {\n code?: 'INVALID_FREE_TEXT_SETTINGS';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DOESNT_SUPPORT_FREE_TEXT';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'MODIFIER_SETTINGS_NOT_SUPPORTED_FOR_PRODUCT_OPTION';\n description?: string;\n data?: Record<string, any>;\n };\n","import * as ambassadorWixStoresCatalogV3Customization from './stores-catalog-v3-customization-customizations-v-3.http.js';\nimport * as ambassadorWixStoresCatalogV3CustomizationTypes from './stores-catalog-v3-customization-customizations-v-3.types.js';\nimport * as ambassadorWixStoresCatalogV3CustomizationUniversalTypes from './stores-catalog-v3-customization-customizations-v-3.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function createCustomization(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.CreateCustomizationRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.CreateCustomizationRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.CreateCustomizationResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.CreateCustomizationResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.createCustomization(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/customizations',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getCustomization(): __PublicMethodMetaInfo<\n 'GET',\n { customizationId: string },\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.GetCustomizationRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.GetCustomizationRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.GetCustomizationResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.GetCustomizationResponse\n> {\n const payload = { customizationId: ':customizationId' } as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.getCustomization(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v3/customizations/{customizationId}',\n pathParams: { customizationId: 'customizationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function updateCustomization(): __PublicMethodMetaInfo<\n 'PATCH',\n { customizationId: string },\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.UpdateCustomizationRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.UpdateCustomizationRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.UpdateCustomizationResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.UpdateCustomizationResponse\n> {\n const payload = { customization: { id: ':customizationId' } } as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.updateCustomization(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PATCH',\n path: '/v3/customizations/{customization.id}',\n pathParams: { customizationId: 'customizationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function deleteCustomization(): __PublicMethodMetaInfo<\n 'DELETE',\n { customizationId: string },\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.DeleteCustomizationRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.DeleteCustomizationRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.DeleteCustomizationResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.DeleteCustomizationResponse\n> {\n const payload = { customizationId: ':customizationId' } as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.deleteCustomization(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'DELETE',\n path: '/v3/customizations/{customizationId}',\n pathParams: { customizationId: 'customizationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function queryCustomizations(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.QueryCustomizationsRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.QueryCustomizationsRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.QueryCustomizationsResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.QueryCustomizationsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.queryCustomizations(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v3/customizations/query',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function countCustomizations(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.CountCustomizationsRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.CountCustomizationsRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.CountCustomizationsResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.CountCustomizationsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.countCustomizations(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/customizations/count',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkCreateCustomizations(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.BulkCreateCustomizationsRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.BulkCreateCustomizationsRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.BulkCreateCustomizationsResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.BulkCreateCustomizationsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.bulkCreateCustomizations(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/bulk/customizations/create',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function addCustomizationChoices(): __PublicMethodMetaInfo<\n 'POST',\n { customizationId: string },\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.AddCustomizationChoicesRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.AddCustomizationChoicesRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.AddCustomizationChoicesResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.AddCustomizationChoicesResponse\n> {\n const payload = { customizationId: ':customizationId' } as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.addCustomizationChoices(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/customizations/{customizationId}/add-choices',\n pathParams: { customizationId: 'customizationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function setCustomizationChoices(): __PublicMethodMetaInfo<\n 'POST',\n { customizationId: string },\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.SetCustomizationChoicesRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.SetCustomizationChoicesRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.SetCustomizationChoicesResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.SetCustomizationChoicesResponse\n> {\n const payload = { customizationId: ':customizationId' } as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.setCustomizationChoices(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/customizations/{customizationId}/set-choices',\n pathParams: { customizationId: 'customizationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function removeCustomizationChoices(): __PublicMethodMetaInfo<\n 'POST',\n { customizationId: string },\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.RemoveCustomizationChoicesRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.RemoveCustomizationChoicesRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.RemoveCustomizationChoicesResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.RemoveCustomizationChoicesResponse\n> {\n const payload = { customizationId: ':customizationId' } as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.removeCustomizationChoices(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/customizations/{customizationId}/remove-choices',\n pathParams: { customizationId: 'customizationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function updateCustomizationChoices(): __PublicMethodMetaInfo<\n 'POST',\n { customizationId: string },\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.UpdateCustomizationChoicesRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.UpdateCustomizationChoicesRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.UpdateCustomizationChoicesResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.UpdateCustomizationChoicesResponse\n> {\n const payload = { customizationId: ':customizationId' } as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.updateCustomizationChoices(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/customizations/{customizationId}/update-choices',\n pathParams: { customizationId: 'customizationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function reorderCustomizationChoices(): __PublicMethodMetaInfo<\n 'POST',\n { customizationId: string },\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.ReorderCustomizationChoicesRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.ReorderCustomizationChoicesRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.ReorderCustomizationChoicesResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.ReorderCustomizationChoicesResponse\n> {\n const payload = { customizationId: ':customizationId' } as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.reorderCustomizationChoices(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/customizations/{customizationId}/reorder-choices',\n pathParams: { customizationId: 'customizationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkAddCustomizationChoices(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.BulkAddCustomizationChoicesRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.BulkAddCustomizationChoicesRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.BulkAddCustomizationChoicesResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.BulkAddCustomizationChoicesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.bulkAddCustomizationChoices(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/bulk/customizations/add-choices',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkUpdateCustomizations(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.BulkUpdateCustomizationsRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.BulkUpdateCustomizationsRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.BulkUpdateCustomizationsResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.BulkUpdateCustomizationsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.bulkUpdateCustomizations(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/bulk/customizations/update',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport {\n Customization as CustomizationOriginal,\n CustomizationTypeSpecificSettingsOneOf as CustomizationTypeSpecificSettingsOneOfOriginal,\n CustomizationCustomizationSettingsOneOf as CustomizationCustomizationSettingsOneOfOriginal,\n CustomizationType as CustomizationTypeOriginal,\n CustomizationTypeWithLiterals as CustomizationTypeWithLiteralsOriginal,\n CustomizationRenderType as CustomizationRenderTypeOriginal,\n CustomizationRenderTypeWithLiterals as CustomizationRenderTypeWithLiteralsOriginal,\n ModifierSettings as ModifierSettingsOriginal,\n FreeTextSettings as FreeTextSettingsOriginal,\n ChoicesSettings as ChoicesSettingsOriginal,\n Choice as ChoiceOriginal,\n ChoiceValueOneOf as ChoiceValueOneOfOriginal,\n ChoiceType as ChoiceTypeOriginal,\n ChoiceTypeWithLiterals as ChoiceTypeWithLiteralsOriginal,\n MultipleColors as MultipleColorsOriginal,\n Image as ImageOriginal,\n FocalPoint as FocalPointOriginal,\n CommonImage as CommonImageOriginal,\n ChoiceSortStrategy as ChoiceSortStrategyOriginal,\n ChoiceSortStrategyWithLiterals as ChoiceSortStrategyWithLiteralsOriginal,\n InvalidateCache as InvalidateCacheOriginal,\n InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOfOriginal,\n App as AppOriginal,\n Page as PageOriginal,\n URI as URIOriginal,\n File as FileOriginal,\n CustomTag as CustomTagOriginal,\n Pages as PagesOriginal,\n URIs as URIsOriginal,\n CreateCustomizationRequest as CreateCustomizationRequestOriginal,\n CreateCustomizationResponse as CreateCustomizationResponseOriginal,\n GetCustomizationRequest as GetCustomizationRequestOriginal,\n RequestedFields as RequestedFieldsOriginal,\n RequestedFieldsWithLiterals as RequestedFieldsWithLiteralsOriginal,\n GetCustomizationResponse as GetCustomizationResponseOriginal,\n UpdateCustomizationRequest as UpdateCustomizationRequestOriginal,\n UpdateCustomizationResponse as UpdateCustomizationResponseOriginal,\n DeleteCustomizationRequest as DeleteCustomizationRequestOriginal,\n DeleteCustomizationResponse as DeleteCustomizationResponseOriginal,\n QueryCustomizationsRequest as QueryCustomizationsRequestOriginal,\n CursorQuery as CursorQueryOriginal,\n CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal,\n Sorting as SortingOriginal,\n SortOrder as SortOrderOriginal,\n SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n CursorPaging as CursorPagingOriginal,\n QueryCustomizationsResponse as QueryCustomizationsResponseOriginal,\n CursorPagingMetadata as CursorPagingMetadataOriginal,\n Cursors as CursorsOriginal,\n CountCustomizationsRequest as CountCustomizationsRequestOriginal,\n CountCustomizationsResponse as CountCustomizationsResponseOriginal,\n BulkCreateCustomizationsRequest as BulkCreateCustomizationsRequestOriginal,\n BulkCreateCustomizationsResponse as BulkCreateCustomizationsResponseOriginal,\n BulkCustomizationResult as BulkCustomizationResultOriginal,\n ItemMetadata as ItemMetadataOriginal,\n ApplicationError as ApplicationErrorOriginal,\n BulkActionMetadata as BulkActionMetadataOriginal,\n CustomizationIdsWrapper as CustomizationIdsWrapperOriginal,\n BulkCreateCustomizationsForMigrationRequest as BulkCreateCustomizationsForMigrationRequestOriginal,\n BulkCreateCustomizationsForMigrationResponse as BulkCreateCustomizationsForMigrationResponseOriginal,\n AddCustomizationChoicesRequest as AddCustomizationChoicesRequestOriginal,\n AddCustomizationChoicesResponse as AddCustomizationChoicesResponseOriginal,\n SetCustomizationChoicesRequest as SetCustomizationChoicesRequestOriginal,\n SetCustomizationChoicesResponse as SetCustomizationChoicesResponseOriginal,\n RemoveCustomizationChoicesRequest as RemoveCustomizationChoicesRequestOriginal,\n RemoveCustomizationChoicesResponse as RemoveCustomizationChoicesResponseOriginal,\n UpdateCustomizationChoicesRequest as UpdateCustomizationChoicesRequestOriginal,\n MaskedChoice as MaskedChoiceOriginal,\n UpdateCustomizationChoicesResponse as UpdateCustomizationChoicesResponseOriginal,\n ReorderCustomizationChoicesRequest as ReorderCustomizationChoicesRequestOriginal,\n ReorderCustomizationChoicesResponse as ReorderCustomizationChoicesResponseOriginal,\n ChoiceIdsMismatchData as ChoiceIdsMismatchDataOriginal,\n BulkAddCustomizationChoicesRequest as BulkAddCustomizationChoicesRequestOriginal,\n CustomizationChoices as CustomizationChoicesOriginal,\n BulkAddCustomizationChoicesResponse as BulkAddCustomizationChoicesResponseOriginal,\n BulkUpdateCustomizationsRequest as BulkUpdateCustomizationsRequestOriginal,\n MaskedCustomization as MaskedCustomizationOriginal,\n BulkUpdateCustomizationsResponse as BulkUpdateCustomizationsResponseOriginal,\n DomainEvent as DomainEventOriginal,\n DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n EntityCreatedEvent as EntityCreatedEventOriginal,\n RestoreInfo as RestoreInfoOriginal,\n EntityUpdatedEvent as EntityUpdatedEventOriginal,\n EntityDeletedEvent as EntityDeletedEventOriginal,\n ActionEvent as ActionEventOriginal,\n Empty as EmptyOriginal,\n RecloneSiteRequest as RecloneSiteRequestOriginal,\n RecloneSiteResponse as RecloneSiteResponseOriginal,\n CatalogRollbackRequested as CatalogRollbackRequestedOriginal,\n MessageEnvelope as MessageEnvelopeOriginal,\n IdentificationData as IdentificationDataOriginal,\n IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n WebhookIdentityType as WebhookIdentityTypeOriginal,\n WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n AccountInfo as AccountInfoOriginal,\n CreateCustomizationApplicationErrors as CreateCustomizationApplicationErrorsOriginal,\n CreateCustomizationValidationErrors as CreateCustomizationValidationErrorsOriginal,\n UpdateCustomizationApplicationErrors as UpdateCustomizationApplicationErrorsOriginal,\n DeleteCustomizationValidationErrors as DeleteCustomizationValidationErrorsOriginal,\n BulkCreateCustomizationsApplicationErrors as BulkCreateCustomizationsApplicationErrorsOriginal,\n BulkCreateCustomizationsValidationErrors as BulkCreateCustomizationsValidationErrorsOriginal,\n AddCustomizationChoicesApplicationErrors as AddCustomizationChoicesApplicationErrorsOriginal,\n AddCustomizationChoicesValidationErrors as AddCustomizationChoicesValidationErrorsOriginal,\n SetCustomizationChoicesApplicationErrors as SetCustomizationChoicesApplicationErrorsOriginal,\n SetCustomizationChoicesValidationErrors as SetCustomizationChoicesValidationErrorsOriginal,\n RemoveCustomizationChoicesApplicationErrors as RemoveCustomizationChoicesApplicationErrorsOriginal,\n RemoveCustomizationChoicesValidationErrors as RemoveCustomizationChoicesValidationErrorsOriginal,\n UpdateCustomizationChoicesApplicationErrors as UpdateCustomizationChoicesApplicationErrorsOriginal,\n UpdateCustomizationChoicesValidationErrors as UpdateCustomizationChoicesValidationErrorsOriginal,\n ReorderCustomizationChoicesApplicationErrors as ReorderCustomizationChoicesApplicationErrorsOriginal,\n BulkAddCustomizationChoicesApplicationErrors as BulkAddCustomizationChoicesApplicationErrorsOriginal,\n BulkAddCustomizationChoicesValidationErrors as BulkAddCustomizationChoicesValidationErrorsOriginal,\n BulkUpdateCustomizationsApplicationErrors as BulkUpdateCustomizationsApplicationErrorsOriginal,\n} from './stores-catalog-v3-customization-customizations-v-3.types.js';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iCAAAA;AAAA,EAAA,mCAAAC;AAAA,EAAA,gCAAAC;AAAA,EAAA,gCAAAC;AAAA,EAAA,2BAAAC;AAAA,EAAA,2BAAAC;AAAA,EAAA,2BAAAC;AAAA,EAAA,wBAAAC;AAAA,EAAA,2BAAAC;AAAA,EAAA,kCAAAC;AAAA,EAAA,mCAAAC;AAAA,EAAA,+BAAAC;AAAA,EAAA,2BAAAC;AAAA,EAAA,kCAAAC;AAAA;AAAA;;;ACAA,0BAAkC;AAClC,mBAA6C;AAC7C,IAAAC,gBAA6C;AAC7C,uBAAqD;AACrD,IAAAC,oBAAqD;AACrD,wBAAqD;AACrD,6BAA+B;AAC/B,IAAAC,uBAA2B;AAI3B,IAAM,oBAAoB;AAAA,EACxB,EAAE,MAAM,4BAA4B;AAAA,EACpC,EAAE,MAAM,4BAA4B;AAAA,EACpC,EAAE,MAAM,gEAAgE;AAAA,EACxE;AAAA,IACE,MAAM;AAAA,EACR;AACF;AACA,IAAM,oBAAoB;AAAA,EACxB,EAAE,MAAM,2DAA2D;AAAA,EACnE,EAAE,MAAM,2DAA2D;AACrE;AACA,IAAM,oBAAoB,CAAC,EAAE,MAAM,YAAY,CAAC;AAChD,IAAM,oBAA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ACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["addCustomizationChoices","bulkAddCustomizationChoices","bulkCreateCustomizations","bulkUpdateCustomizations","countCustomizations","createCustomization","deleteCustomization","getCustomization","queryCustomizations","removeCustomizationChoices","reorderCustomizationChoices","setCustomizationChoices","updateCustomization","updateCustomizationChoices","import_float","import_timestamp","import_rest_modules","payload","CustomizationType","CustomizationRenderType","ChoiceType","ChoiceSortStrategy","RequestedFields","SortOrder","WebhookIdentityType","createCustomization","getCustomization","updateCustomization","deleteCustomization","queryCustomizations","countCustomizations","bulkCreateCustomizations","addCustomizationChoices","setCustomizationChoices","removeCustomizationChoices","updateCustomizationChoices","reorderCustomizationChoices","bulkAddCustomizationChoices","bulkUpdateCustomizations"]}
|
|
1
|
+
{"version":3,"sources":["../../meta.ts","../../src/stores-catalog-v3-customization-customizations-v-3.http.ts","../../src/stores-catalog-v3-customization-customizations-v-3.types.ts","../../src/stores-catalog-v3-customization-customizations-v-3.meta.ts"],"sourcesContent":["export * from './src/stores-catalog-v3-customization-customizations-v-3.meta.js';\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKFloatToRESTFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nconst TRANSFORM_PATHS_0 = [\n { path: 'customization.createdDate' },\n { path: 'customization.updatedDate' },\n { path: 'customization.choicesSettings.choices.image.urlExpirationDate' },\n {\n path: 'customization.choicesSettings.choices.displayImage.urlExpirationDate',\n },\n];\nconst TRANSFORM_PATHS_1 = [\n { path: 'customization.choicesSettings.choices.image.focalPoint.x' },\n { path: 'customization.choicesSettings.choices.image.focalPoint.y' },\n];\nconst TRANSFORM_PATHS_2 = [{ path: 'fieldMask' }];\nconst TRANSFORM_PATHS_3 = [\n { path: 'customizations.createdDate' },\n { path: 'customizations.updatedDate' },\n { path: 'customizations.choicesSettings.choices.image.urlExpirationDate' },\n {\n path: 'customizations.choicesSettings.choices.displayImage.urlExpirationDate',\n },\n];\nconst TRANSFORM_PATHS_4 = [\n { path: 'customizations.choicesSettings.choices.image.focalPoint.x' },\n { path: 'customizations.choicesSettings.choices.image.focalPoint.y' },\n];\nconst TRANSFORM_PATHS_5 = [\n { path: 'results.customization.createdDate' },\n { path: 'results.customization.updatedDate' },\n {\n path: 'results.customization.choicesSettings.choices.image.urlExpirationDate',\n },\n {\n path: 'results.customization.choicesSettings.choices.displayImage.urlExpirationDate',\n },\n];\nconst TRANSFORM_PATHS_6 = [\n { path: 'results.customization.choicesSettings.choices.image.focalPoint.x' },\n { path: 'results.customization.choicesSettings.choices.image.focalPoint.y' },\n];\nconst TRANSFORM_PATHS_7 = [\n { path: 'choices.image.urlExpirationDate' },\n { path: 'choices.displayImage.urlExpirationDate' },\n];\nconst TRANSFORM_PATHS_8 = [\n { path: 'choices.image.focalPoint.x' },\n { path: 'choices.image.focalPoint.y' },\n];\nconst TRANSFORM_PATHS_9 = [{ path: 'choices.fieldMask' }];\nconst TRANSFORM_PATHS_10 = [\n { path: 'choices.choice.image.urlExpirationDate' },\n { path: 'choices.choice.displayImage.urlExpirationDate' },\n];\nconst TRANSFORM_PATHS_11 = [\n { path: 'choices.choice.image.focalPoint.x' },\n { path: 'choices.choice.image.focalPoint.y' },\n];\nconst TRANSFORM_PATHS_12 = [\n { path: 'customizationsChoices.choices.image.urlExpirationDate' },\n { path: 'customizationsChoices.choices.displayImage.urlExpirationDate' },\n];\nconst TRANSFORM_PATHS_13 = [\n { path: 'customizationsChoices.choices.image.focalPoint.x' },\n { path: 'customizationsChoices.choices.image.focalPoint.y' },\n];\nconst TRANSFORM_PATHS_14 = [{ path: 'customizations.fieldMask' }];\nconst TRANSFORM_PATHS_15 = [\n { path: 'customizations.customization.createdDate' },\n { path: 'customizations.customization.updatedDate' },\n {\n path: 'customizations.customization.choicesSettings.choices.image.urlExpirationDate',\n },\n {\n path: 'customizations.customization.choicesSettings.choices.displayImage.urlExpirationDate',\n },\n];\nconst TRANSFORM_PATHS_16 = [\n {\n path: 'customizations.customization.choicesSettings.choices.image.focalPoint.x',\n },\n {\n path: 'customizations.customization.choicesSettings.choices.image.focalPoint.y',\n },\n];\n\nfunction resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/customization',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/stores/v3/customizations',\n destPath: '/v3/customizations',\n },\n {\n srcPath: '/stores/v3/bulk/customizations',\n destPath: '/v3/bulk/customizations',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/customization',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/customization',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/customization',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/_api/customization',\n destPath: '',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/customization',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_stores_customizations-v-3';\n\n/** Creates a customization. */\nexport function createCustomization(\n payload: object\n): RequestOptionsFactory<any> {\n function __createCustomization({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: TRANSFORM_PATHS_1,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'POST' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.CreateCustomization',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: TRANSFORM_PATHS_1,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createCustomization;\n}\n\n/** Retrieves a customization. */\nexport function getCustomization(payload: object): RequestOptionsFactory<any> {\n function __getCustomization({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'GET' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.GetCustomization',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations/{customizationId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: TRANSFORM_PATHS_1,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getCustomization;\n}\n\n/**\n * Updates a customization.\n *\n * Each time the customization is updated, `revision` increments by 1.\n * The current `revision` must be passed when updating the customization.\n * This ensures you're working with the latest customization and prevents unintended overwrites.\n */\nexport function updateCustomization(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateCustomization({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: TRANSFORM_PATHS_2,\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: TRANSFORM_PATHS_1,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'PATCH' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.UpdateCustomization',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations/{customization.id}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: TRANSFORM_PATHS_1,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateCustomization;\n}\n\n/**\n * Deletes a customization.\n *\n * > **Notes:**\n * > + **Options** (customizations with `customizationType: PRODUCT_OPTION`) can't be deleted while assigned to any product because they affect product variants and inventory.\n * > + **Modifiers** can be deleted freely. When deleted, they are automatically removed from all products that reference them.\n */\nexport function deleteCustomization(\n payload: object\n): RequestOptionsFactory<any> {\n function __deleteCustomization({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'DELETE' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.DeleteCustomization',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations/{customizationId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteCustomization;\n}\n\n/**\n * Retrieves a list of up to 100 customizations, given the provided filtering, sorting, and cursor paging.\n * Pass supported values to the `fields` array in the request to include those fields in the response.\n *\n *\n * Query Customizations runs with these defaults, which you can override:\n *\n * - `createdDate` is sorted in `DESC` order\n * - `cursorPaging.limit` is `100`\n *\n * To learn about working with _Query_ endpoints, see\n * [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language),\n * and [Sorting and Paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging).\n */\nexport function queryCustomizations(\n payload: object\n): RequestOptionsFactory<any> {\n function __queryCustomizations({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'GET' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.QueryCustomizations',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations/query',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload, true),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_3,\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: TRANSFORM_PATHS_4,\n },\n ]),\n fallback: [\n {\n method: 'POST' as any,\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations/query',\n data: payload,\n host,\n }),\n data: payload,\n },\n ],\n };\n\n return metadata;\n }\n\n return __queryCustomizations;\n}\n\n/** Counts the customizations that match the provided filter. */\nexport function countCustomizations(\n payload: object\n): RequestOptionsFactory<any> {\n function __countCustomizations({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'POST' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.CountCustomizations',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations/count',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __countCustomizations;\n}\n\n/** Creates multiple customizations. */\nexport function bulkCreateCustomizations(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkCreateCustomizations({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: TRANSFORM_PATHS_3,\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: TRANSFORM_PATHS_4,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'POST' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.BulkCreateCustomizations',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/bulk/customizations/create',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_5,\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: TRANSFORM_PATHS_6,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkCreateCustomizations;\n}\n\n/** Adds choices to a customization. */\nexport function addCustomizationChoices(\n payload: object\n): RequestOptionsFactory<any> {\n function __addCustomizationChoices({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: TRANSFORM_PATHS_7,\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: TRANSFORM_PATHS_8,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'POST' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.AddCustomizationChoices',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations/{customizationId}/add-choices',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: TRANSFORM_PATHS_1,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __addCustomizationChoices;\n}\n\n/**\n * Sets a customization's choices. Any and all existing choices will be overridden.\n *\n * > **Note:** A choice cannot be overridden if it is assigned to one or more products.\n */\nexport function setCustomizationChoices(\n payload: object\n): RequestOptionsFactory<any> {\n function __setCustomizationChoices({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: TRANSFORM_PATHS_7,\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: TRANSFORM_PATHS_8,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'POST' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.SetCustomizationChoices',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations/{customizationId}/set-choices',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: TRANSFORM_PATHS_1,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __setCustomizationChoices;\n}\n\n/**\n * Removes choices from a customization.\n *\n * > **Notes:**\n * > + You can't remove an option choice while it's assigned to a product, because option choices create variants.\n * > + You can remove a modifier choice while it's assigned to a product. The connected products are updated asynchronously.\n * > + If you remove a choice that other choices reference as a primary, it's removed from their `primaryChoiceIds`. The linked choices remain in the customization.\n */\nexport function removeCustomizationChoices(\n payload: object\n): RequestOptionsFactory<any> {\n function __removeCustomizationChoices({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'POST' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.RemoveCustomizationChoices',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations/{customizationId}/remove-choices',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: TRANSFORM_PATHS_1,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __removeCustomizationChoices;\n}\n\n/**\n * Updates properties of existing choices in a customization.\n * Choices are identified by their IDs. Only the fields specified in `fieldMask` are updated.\n *\n * Currently supports updating `primaryChoiceIds`.\n */\nexport function updateCustomizationChoices(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateCustomizationChoices({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: TRANSFORM_PATHS_9,\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: TRANSFORM_PATHS_10,\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: TRANSFORM_PATHS_11,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'POST' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.UpdateCustomizationChoices',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations/{customizationId}/update-choices',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: TRANSFORM_PATHS_1,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateCustomizationChoices;\n}\n\n/**\n * Sets the display order of a customization's choices.\n *\n * Each time the customization is updated, `revision` increments by 1. The current `revision` must be passed when updating the customization. This ensures you're working with the latest customization and prevents unintended overwrites.\n *\n * The new order is persisted in the customization's `choices` list. Calling this method also sets `choicesSettings.sortOrder` to `MANUAL`.\n *\n * To change how choices are sorted in storefront filter panels without specifying an explicit order, call [Update Customization](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/customizations-v3/update-customization) and set the `choicesSettings.sortOrder` field.\n */\nexport function reorderCustomizationChoices(\n payload: object\n): RequestOptionsFactory<any> {\n function __reorderCustomizationChoices({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'POST' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.ReorderCustomizationChoices',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/customizations/{customizationId}/reorder-choices',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_0,\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: TRANSFORM_PATHS_1,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __reorderCustomizationChoices;\n}\n\n/** Adds choices to multiple customizations. */\nexport function bulkAddCustomizationChoices(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkAddCustomizationChoices({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: TRANSFORM_PATHS_12,\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: TRANSFORM_PATHS_13,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'POST' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.BulkAddCustomizationChoices',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/bulk/customizations/add-choices',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_5,\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: TRANSFORM_PATHS_6,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkAddCustomizationChoices;\n}\n\n/**\n * Updates multiple customizations.\n *\n * Each time the customization is updated, `revision` increments by 1.\n * The current `revision` must be passed when updating the customization.\n * This ensures you're working with the latest customization and prevents unintended overwrites.\n */\nexport function bulkUpdateCustomizations(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateCustomizations({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: TRANSFORM_PATHS_14,\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: TRANSFORM_PATHS_15,\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: TRANSFORM_PATHS_16,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.stores.catalog.v3.customization',\n method: 'POST' as any,\n methodFqn:\n 'wix.stores.catalog.customization.v3.CustomizationService.BulkUpdateCustomizations',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixStoresCatalogCustomizationV3CustomizationServiceUrl({\n protoPath: '/v3/bulk/customizations/update',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_5,\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: TRANSFORM_PATHS_6,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkUpdateCustomizations;\n}\n","/**\n * Customizations include options and modifiers which can later be applied to products.\n * Options are designed to add variations to a product, where modifiers add a customizable change to the product but without creating another variant.\n */\nexport interface Customization\n extends CustomizationTypeSpecificSettingsOneOf,\n CustomizationCustomizationSettingsOneOf {\n /**\n * Modifier-specific settings. Not supported for product options.\n * @internal\n */\n modifierSettings?: ModifierSettings;\n /**\n * Free text input settings.\n *\n * > **Note:** To be passed along with `customizationRenderType: FREE_TEXT`.\n */\n freeTextInput?: FreeTextSettings;\n /**\n * Choices settings.\n *\n * > **Note:** Must be passed along with `customizationRenderType` of `SWATCH_CHOICES` and `TEXT_CHOICES`.\n */\n choicesSettings?: ChoicesSettings;\n /**\n * Customization ID.\n * @minLength 1\n * @maxLength 36\n * @readonly\n */\n id?: string | null;\n /**\n * Revision number, which increments by 1 each time the customization is updated.\n * To prevent conflicting changes,\n * the current revision must be passed when updating the customization.\n *\n * Ignored when creating a customization.\n * @readonly\n */\n revision?: string | null;\n /**\n * Date and time the customization was created.\n * @readonly\n */\n createdDate?: Date | null;\n /**\n * Date and time the customization was updated.\n * @readonly\n */\n updatedDate?: Date | null;\n /**\n * A read-only identifier generated from the customization name.\n *\n * Use `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 * @readonly\n * @minLength 1\n * @maxLength 50\n */\n key?: string | null;\n /**\n * Customization name for options (for example, `\"color\"`, `\"size\"`) and modifiers (for example, `\"greeting card\"`).\n * @minLength 1\n * @maxLength 50\n */\n name?: string;\n /**\n * Customization type.\n * @immutable\n */\n customizationType?: CustomizationTypeWithLiterals;\n /**\n * Customization render type.\n *\n * Defines how the customization will be displayed in the storefront.\n * @immutable\n */\n customizationRenderType?: CustomizationRenderTypeWithLiterals;\n /**\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 * @readonly\n */\n assignedProductsCount?: number | null;\n}\n\n/** @oneof */\nexport interface CustomizationTypeSpecificSettingsOneOf {\n /**\n * Modifier-specific settings. Not supported for product options.\n * @internal\n */\n modifierSettings?: ModifierSettings;\n}\n\n/** @oneof */\nexport interface CustomizationCustomizationSettingsOneOf {\n /**\n * Free text input settings.\n *\n * > **Note:** To be passed along with `customizationRenderType: FREE_TEXT`.\n */\n freeTextInput?: FreeTextSettings;\n /**\n * Choices settings.\n *\n * > **Note:** Must be passed along with `customizationRenderType` of `SWATCH_CHOICES` and `TEXT_CHOICES`.\n */\n choicesSettings?: ChoicesSettings;\n}\n\nexport enum CustomizationType {\n PRODUCT_OPTION = 'PRODUCT_OPTION',\n MODIFIER = 'MODIFIER',\n}\n\n/** @enumType */\nexport type CustomizationTypeWithLiterals =\n | CustomizationType\n | 'PRODUCT_OPTION'\n | 'MODIFIER';\n\nexport enum CustomizationRenderType {\n /** Customization by free text input. */\n FREE_TEXT = 'FREE_TEXT',\n /** Customization by selection of text choices. */\n TEXT_CHOICES = 'TEXT_CHOICES',\n /** Customization by selection of colors. */\n SWATCH_CHOICES = 'SWATCH_CHOICES',\n}\n\n/** @enumType */\nexport type CustomizationRenderTypeWithLiterals =\n | CustomizationRenderType\n | 'FREE_TEXT'\n | 'TEXT_CHOICES'\n | 'SWATCH_CHOICES';\n\nexport interface ModifierSettings {\n /**\n * Whether the modifier is mandatory by default.\n * @internal\n */\n defaultMandatory?: boolean | null;\n}\n\nexport interface FreeTextSettings {\n /** Minimum text character length. */\n minCharCount?: number;\n /**\n * Maximum text character length.\n * @max 500\n */\n maxCharCount?: number;\n /**\n * Default amount added to a product's price when this choice is assigned to a modifier.\n * @decimalValue options { gte:0, lte:999999999.99, maxScale:3 }\n */\n defaultAddedPrice?: string | null;\n /**\n * Title to display to customer for their free-text input.\n * @minLength 1\n * @maxLength 100\n */\n title?: string;\n /**\n * A read-only identifier generated from the title.\n *\n * Use `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 * @readonly\n * @minLength 1\n * @maxLength 150\n */\n key?: string | null;\n}\n\n/** Settings for choice-based customizations. */\nexport interface ChoicesSettings {\n /**\n * List of choices.\n * @minSize 1\n * @maxSize 1000\n * @immutable\n */\n choices?: Choice[];\n /**\n * Strategy for sorting choices in storefront filter panels. Use [Update Customization](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/customizations-v3/update-customization) to change this value.\n * `sortOrder` is set to `MANUAL` when calling [Reorder Customization Choices](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/customizations-v3/reorder-customization-choices).\n *\n * Default: `DEFAULT`\n * @internal\n */\n sortOrder?: ChoiceSortStrategyWithLiterals;\n}\n\nexport interface Choice extends ChoiceValueOneOf {\n /**\n * Color code in HEX format, [as described by MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color).\n * @minLength 3\n * @maxLength 20\n * @format COLOR_HEX\n */\n colorCode?: string;\n /**\n * Multiple colors - HEX (#RRGGBB) color code\n * @internal\n */\n colorCodes?: MultipleColors;\n /**\n * The choice value when the choice type is IMAGE — the image itself is what's being selected.\n * Not to be confused with display_image (field 14), which is a decorative overlay independent of choice type.\n * @internal\n */\n image?: Image;\n /**\n * Choice ID.\n * @format GUID\n * @readonly\n */\n id?: string;\n /**\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 * @immutable\n */\n choiceType?: ChoiceTypeWithLiterals;\n /**\n * A read-only identifier generated from the choice name.\n *\n * Use `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 * @readonly\n * @minLength 1\n * @maxLength 50\n */\n key?: string | null;\n /**\n * Choice name.\n * @minLength 1\n * @maxLength 50\n */\n name?: string;\n /**\n * Default amount added to a product's price when this customization is assigned to a modifier.\n * @decimalValue options { gte:0, lte:999999999.99, maxScale:3 }\n */\n defaultAddedPrice?: string | null;\n /**\n * Optional image displayed alongside a `ONE_COLOR` choice in the storefront.\n * Only valid for `ONE_COLOR` choices; not populated for other choice types.\n */\n displayImage?: CommonImage;\n /**\n * IDs of the primary choices this choice is grouped under.\n *\n * A choice that has `primaryChoiceIds` is a \"linked\" choice; a choice without `primaryChoiceIds` is a \"primary\" choice.\n * A linked choice can reference up to 4 primary choices and appears nested under each of them on the storefront,\n * rather than in the top-level choice list.\n *\n * Only one level of grouping is supported: a primary choice cannot itself be a linked choice.\n * @format GUID\n * @maxSize 4\n */\n primaryChoiceIds?: string[];\n}\n\n/** @oneof */\nexport interface ChoiceValueOneOf {\n /**\n * Color code in HEX format, [as described by MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color).\n * @minLength 3\n * @maxLength 20\n * @format COLOR_HEX\n */\n colorCode?: string;\n /**\n * Multiple colors - HEX (#RRGGBB) color code\n * @internal\n */\n colorCodes?: MultipleColors;\n /**\n * The choice value when the choice type is IMAGE — the image itself is what's being selected.\n * Not to be confused with display_image (field 14), which is a decorative overlay independent of choice type.\n * @internal\n */\n image?: Image;\n}\n\nexport enum ChoiceType {\n /** For a `customizationRenderType` of `TEXT_CHOICES`. */\n CHOICE_TEXT = 'CHOICE_TEXT',\n /** For `customizationRenderType: SWATCH_CHOICES`. */\n ONE_COLOR = 'ONE_COLOR',\n /**\n * For `customizationRenderType: SWATCH_CHOICES`.\n * @internal\n */\n MULTIPLE_COLORS = 'MULTIPLE_COLORS',\n /**\n * For `customizationRenderType: SWATCH_CHOICES`.\n * @internal\n */\n IMAGE = 'IMAGE',\n}\n\n/** @enumType */\nexport type ChoiceTypeWithLiterals = ChoiceType | 'CHOICE_TEXT' | 'ONE_COLOR';\n\nexport interface MultipleColors {\n /**\n * A list of color codes.\n * @minLength 3\n * @maxLength 20\n * @minSize 2\n * @maxSize 2\n */\n colorCodes?: string[];\n}\n\nexport interface Image {\n /** WixMedia image ID. */\n id?: string;\n /** Image URL. */\n url?: string;\n /**\n * Original image height.\n * @readonly\n */\n height?: number;\n /**\n * Original image width.\n * @readonly\n */\n width?: number;\n /** Image alt text. */\n altText?: string | null;\n /**\n * Image URL expiration date (when relevant).\n * @internal\n * @readonly\n */\n urlExpirationDate?: Date | null;\n /**\n * Image filename.\n * @readonly\n */\n filename?: string | null;\n /**\n * Image size in bytes.\n * @internal\n * @readonly\n * @format DECIMAL_VALUE\n */\n sizeInBytes?: string | null;\n /**\n * Focal point of the image.\n * @internal\n */\n focalPoint?: FocalPoint;\n}\n\nexport interface FocalPoint {\n /** X-coordinate of the focal point. */\n x?: number;\n /** Y-coordinate of the focal point. */\n y?: number;\n /** crop by height */\n height?: number | null;\n /** crop by width */\n width?: number | null;\n}\n\nexport interface CommonImage {\n /**\n * WixMedia image ID.\n * @maxLength 400\n */\n id?: string;\n /**\n * Image URL.\n * @format WEB_URL\n */\n url?: string;\n /**\n * Original image height.\n * @readonly\n */\n height?: number;\n /**\n * Original image width.\n * @readonly\n */\n width?: number;\n /**\n * Image alt text.\n * @maxLength 200\n */\n altText?: string | null;\n /**\n * Image URL expiration date (when relevant).\n * @internal\n * @readonly\n */\n urlExpirationDate?: Date | null;\n /**\n * Image filename.\n * @readonly\n * @maxLength 200\n */\n filename?: string | null;\n /**\n * Image size in bytes.\n * @internal\n * @readonly\n * @format DECIMAL_VALUE\n */\n sizeInBytes?: string | null;\n}\n\nexport enum ChoiceSortStrategy {\n /** Default. Text choices are sorted by name, swatch choices are sorted by product count. */\n DEFAULT = 'DEFAULT',\n /** Alphabetically by name, case-insensitive. Numeric values are sorted first. */\n BY_NAME = 'BY_NAME',\n /** By the number of products assigned to each choice, in descending order. */\n BY_PRODUCT_COUNT = 'BY_PRODUCT_COUNT',\n /** By the order of the choices list. Use [Reorder Customization Choices](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/customizations-v3/reorder-customization-choices) to set the order. */\n MANUAL = 'MANUAL',\n}\n\n/** @enumType */\nexport type ChoiceSortStrategyWithLiterals =\n | ChoiceSortStrategy\n | 'DEFAULT'\n | 'BY_NAME'\n | 'BY_PRODUCT_COUNT'\n | 'MANUAL';\n\nexport interface InvalidateCache extends InvalidateCacheGetByOneOf {\n /**\n * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n siteId?: string;\n /** Invalidate by App */\n app?: App;\n /** Invalidate by page id */\n page?: Page;\n /** Invalidate by URI path */\n uri?: URI;\n /** Invalidate by file (for media files such as PDFs) */\n file?: File;\n /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n customTag?: CustomTag;\n /** Invalidate by multiple page ids */\n pages?: Pages;\n /** Invalidate by multiple URI paths */\n uris?: URIs;\n /**\n * tell us why you're invalidating the cache. You don't need to add your app name\n * @maxLength 256\n */\n reason?: string | null;\n /** Is local DS */\n localDc?: boolean;\n hardPurge?: boolean;\n /**\n * Optional caller-provided ID for tracking this invalidation through the system.\n * When set, the corresponding CDN purge completion event will include this ID,\n * allowing you to confirm when the invalidation has fully propagated.\n * Example: generate a UUID, pass it here, and later match it in the CDN purge completion event.\n * @maxLength 256\n */\n correlationId?: string | null;\n}\n\n/** @oneof */\nexport interface InvalidateCacheGetByOneOf {\n /**\n * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n * @format GUID\n */\n siteId?: string;\n /** Invalidate by App */\n app?: App;\n /** Invalidate by page id */\n page?: Page;\n /** Invalidate by URI path */\n uri?: URI;\n /** Invalidate by file (for media files such as PDFs) */\n file?: File;\n /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n customTag?: CustomTag;\n /** Invalidate by multiple page ids */\n pages?: Pages;\n /** Invalidate by multiple URI paths */\n uris?: URIs;\n}\n\nexport interface App {\n /**\n * The AppDefId\n * @minLength 1\n */\n appDefId?: string;\n /**\n * The instance Id\n * @format GUID\n */\n instanceId?: string;\n}\n\nexport interface Page {\n /**\n * the msid the page is on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by Page ID\n * @minLength 1\n */\n pageId?: string;\n}\n\nexport interface URI {\n /**\n * the msid the URI is on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes\n * @minLength 1\n */\n uriPath?: string;\n}\n\nexport interface File {\n /**\n * the msid the file is related to\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by filename (for media files such as PDFs)\n * @minLength 1\n * @maxLength 256\n */\n fileName?: string;\n}\n\nexport interface CustomTag {\n /**\n * the msid the tag is related to\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Tag to invalidate by\n * @minLength 1\n * @maxLength 256\n */\n tag?: string;\n}\n\nexport interface Pages {\n /**\n * the msid the pages are on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * Invalidate by multiple Page IDs in a single message\n * @maxSize 100\n * @minLength 1\n */\n pageIds?: string[];\n}\n\nexport interface URIs {\n /**\n * the msid the URIs are on\n * @format GUID\n */\n metaSiteId?: string;\n /**\n * URI paths to invalidate (e.g. page/my/path) - without leading/trailing slashes\n * @maxSize 100\n * @minLength 1\n */\n uriPaths?: string[];\n}\n\nexport interface CreateCustomizationRequest {\n /** Customization to create. */\n customization: Customization;\n}\n\nexport interface CreateCustomizationResponse {\n /** Created customization. */\n customization?: Customization;\n}\n\nexport interface GetCustomizationRequest {\n /**\n * Customization ID.\n * @format GUID\n */\n customizationId: string;\n /**\n * Fields to include in the response.\n *\n * Supported values: `ASSIGNED_PRODUCTS_COUNT`\n * @maxSize 100\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport enum RequestedFields {\n /** Assigned products count. */\n ASSIGNED_PRODUCTS_COUNT = 'ASSIGNED_PRODUCTS_COUNT',\n /** Returns display images for choices. */\n CHOICE_DISPLAY_IMAGE = 'CHOICE_DISPLAY_IMAGE',\n}\n\n/** @enumType */\nexport type RequestedFieldsWithLiterals =\n | RequestedFields\n | 'ASSIGNED_PRODUCTS_COUNT'\n | 'CHOICE_DISPLAY_IMAGE';\n\nexport interface GetCustomizationResponse {\n /** Customization. */\n customization?: Customization;\n}\n\nexport interface UpdateCustomizationRequest {\n /** Customization to update. */\n customization: Customization;\n /**\n * Set of fields to update.\n *\n * Fields that aren't included in `fieldMask.paths` are ignored.\n * @internal\n */\n fieldMask?: string[];\n /**\n * Fields to include in the response.\n *\n * Supported values: `ASSIGNED_PRODUCTS_COUNT`\n * @maxSize 100\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface UpdateCustomizationResponse {\n /** Updated customization. */\n customization?: Customization;\n}\n\nexport interface DeleteCustomizationRequest {\n /**\n * Customization ID.\n * @format GUID\n */\n customizationId: string;\n}\n\nexport interface DeleteCustomizationResponse {}\n\nexport interface QueryCustomizationsRequest {\n /** Query options. */\n query?: CursorQuery;\n /**\n * Fields to include in the response.\n *\n * Supported values: `ASSIGNED_PRODUCTS_COUNT`\n * @maxSize 100\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface CursorQuery extends CursorQueryPagingMethodOneOf {\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n /**\n * Filter object in the following format:\n * `\"filter\" : {\n * \"fieldName1\": \"value1\",\n * \"fieldName2\":{\"$operator\":\"value2\"}\n * }`\n * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object in the following format:\n * `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]`\n * @maxSize 5\n */\n sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface CursorQueryPagingMethodOneOf {\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n /**\n * Name of the field to sort by.\n * @maxLength 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: SortOrderWithLiterals;\n /**\n * When `field_name` is a property of repeated field that is marked as `MATCH_ITEMS` and sort should be done by\n * a specific element from a collection, filter can/should be provided to ensure correct sort value is picked.\n *\n * If multiple filters are provided, they are combined with AND operator.\n *\n * Example:\n * Given we have document like {\"id\": \"1\", \"nestedField\": [{\"price\": 10, \"region\": \"EU\"}, {\"price\": 20, \"region\": \"US\"}]}\n * and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be\n * { fieldName: \"nestedField.price\", \"select_items_by\": [{\"nestedField.region\": \"US\"}] }\n * @internal\n * @maxSize 10\n */\n selectItemsBy?: Record<string, any>[] | null;\n}\n\nexport enum SortOrder {\n /** Ascending order. */\n ASC = 'ASC',\n /** Descending order. */\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface CursorPaging {\n /**\n * Maximum number of items to return in the results.\n * @max 100\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n *\n * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n * Not relevant for the first request.\n * @maxLength 16000\n */\n cursor?: string | null;\n}\n\nexport interface QueryCustomizationsResponse {\n /**\n * List of customizations.\n * @minSize 1\n * @maxSize 200\n */\n customizations?: Customization[];\n /** Details on the paged set of results returned. */\n pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface CursorPagingMetadata {\n /** Number of items returned in the response. */\n count?: number | null;\n /** Cursor strings that point to the next page, previous page, or both. */\n cursors?: Cursors;\n /**\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 hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n /**\n * Cursor string pointing to the next page in the list of results.\n * @maxLength 16000\n */\n next?: string | null;\n /**\n * Cursor pointing to the previous page in the list of results.\n * @maxLength 16000\n */\n prev?: string | null;\n}\n\nexport interface CountCustomizationsRequest {\n /** Filter object. See API Query Language for more information. */\n filter?: Record<string, any> | null;\n}\n\nexport interface CountCustomizationsResponse {\n /** Number of customizations that match the filter. */\n count?: number;\n}\n\nexport interface BulkCreateCustomizationsRequest {\n /**\n * Customizations to create.\n * @minSize 1\n * @maxSize 100\n */\n customizations: Customization[];\n /**\n * Whether to return the full customization entities in the response.\n *\n * Default: `false`\n */\n returnEntity?: boolean;\n}\n\nexport interface BulkCreateCustomizationsResponse {\n /**\n * Customizations created by bulk action.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkCustomizationResult[];\n /** Bulk action metadata. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkCustomizationResult {\n /** Bulk action metadata for customization. */\n itemMetadata?: ItemMetadata;\n /**\n * Full customization entity.\n *\n * Returned only if `returnEntity: true` is passed in the request.\n */\n customization?: Customization;\n}\n\nexport interface ItemMetadata {\n /**\n * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).\n * @minLength 1\n * @maxLength 36\n */\n id?: string | null;\n /** Index of the item within the request array. Allows for correlation between request and response items. */\n originalIndex?: number;\n /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */\n success?: boolean;\n /** Details about the error in case of failure. */\n error?: ApplicationError;\n}\n\nexport interface ApplicationError {\n /** Error code. */\n code?: string;\n /** Description of the error. */\n description?: string;\n /** Data related to the error. */\n data?: Record<string, any> | null;\n}\n\nexport interface BulkActionMetadata {\n /** Number of items that were successfully processed. */\n totalSuccesses?: number;\n /** Number of items that couldn't be processed. */\n totalFailures?: number;\n /** Number of failures without details because detailed failure threshold was exceeded. */\n undetailedFailures?: number;\n}\n\nexport interface CustomizationIdsWrapper {\n /**\n * list of all the customization ids that are invalid\n * e.g list of failed choices ids\n * @minSize 1\n * @maxSize 100\n * @minLength 1\n * @maxLength 36\n */\n customizationIds?: string[];\n}\n\nexport interface BulkCreateCustomizationsForMigrationRequest {\n /**\n * Customizations to create.\n * @minSize 1\n * @maxSize 100\n */\n customizations?: Customization[];\n /**\n * Whether to return the full customization entities in the response.\n *\n * Default: `false`\n */\n returnEntity?: boolean;\n /**\n * Fields to include in the response.\n *\n * Supported values: `ASSIGNED_PRODUCTS_COUNT`\n * @maxSize 100\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface BulkCreateCustomizationsForMigrationResponse {\n /**\n * Customizations created by bulk action.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkCustomizationResult[];\n /** Bulk action metadata. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface AddCustomizationChoicesRequest {\n /**\n * Customization ID.\n * @format GUID\n */\n customizationId: string;\n /**\n * Choices to add.\n * @minSize 1\n * @maxSize 1000\n */\n choices: Choice[];\n /**\n * Fields to include in the response.\n *\n * Supported values: `ASSIGNED_PRODUCTS_COUNT`\n * @maxSize 100\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface AddCustomizationChoicesResponse {\n /** Updated customization. */\n customization?: Customization;\n}\n\nexport interface SetCustomizationChoicesRequest {\n /**\n * Customization ID.\n * @format GUID\n */\n customizationId: string;\n /**\n * Choices to set.\n * @minSize 1\n * @maxSize 1000\n */\n choices: Choice[];\n /**\n * Fields to include in the response.\n *\n * Supported values: `ASSIGNED_PRODUCTS_COUNT`\n * @maxSize 100\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface SetCustomizationChoicesResponse {\n /** Updated customization. */\n customization?: Customization;\n}\n\nexport interface RemoveCustomizationChoicesRequest {\n /**\n * Customization ID.\n * @format GUID\n */\n customizationId: string;\n /**\n * IDs of choices to remove.\n * @format GUID\n * @minSize 1\n * @maxSize 100\n */\n choiceIds: string[];\n /** Customization revision. */\n revision?: string;\n /**\n * Fields to include in the response.\n *\n * Supported values: `ASSIGNED_PRODUCTS_COUNT`\n * @maxSize 100\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface RemoveCustomizationChoicesResponse {\n /** Updated customization. */\n customization?: Customization;\n}\n\nexport interface UpdateCustomizationChoicesRequest {\n /**\n * Customization ID.\n * @format GUID\n */\n customizationId: string;\n /**\n * Revision number, which increments by 1 each time the customization is updated.\n * To prevent conflicting changes,\n * the current revision must be passed when updating the customization.\n */\n revision: string;\n /**\n * Choices to update. Each item must include a `choice` with a valid `id` matching an existing choice in the customization.\n * @minSize 1\n * @maxSize 100\n */\n choices: MaskedChoice[];\n /**\n * Fields to include in the response.\n *\n * Supported values: `ASSIGNED_PRODUCTS_COUNT`\n * @maxSize 100\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface MaskedChoice {\n /** Choice to update. */\n choice?: Choice;\n /**\n * Set of choice fields to update.\n * @internal\n */\n fieldMask?: string[];\n}\n\nexport interface UpdateCustomizationChoicesResponse {\n /** Updated customization. */\n customization?: Customization;\n}\n\nexport interface ReorderCustomizationChoicesRequest {\n /**\n * Customization ID.\n * @format GUID\n */\n customizationId: string;\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 revision: string;\n /**\n * Choice IDs in the desired display order. Must contain exactly the same IDs as the customization's current choices, with no additions, removals, or duplicates.\n * @format GUID\n * @minSize 1\n * @maxSize 1000\n */\n choiceIds: string[];\n /**\n * Fields to include in the response.\n *\n * Supported values: `ASSIGNED_PRODUCTS_COUNT`.\n * @maxSize 100\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface ReorderCustomizationChoicesResponse {\n /** Updated customization, with `choices` in the new order and `choicesSettings.sortOrder` set to `MANUAL`. */\n customization?: Customization;\n}\n\n/** Additional error details returned with the `CHOICE_IDS_MISMATCH` error. */\nexport interface ChoiceIdsMismatchData {\n /** Choice IDs that exist in the customization but are missing from `choiceIds`. */\n missingIds?: string[];\n /** Choice IDs included in `choiceIds` that don't exist in the customization, or that appear in `choiceIds` more than once. */\n extraIds?: string[];\n}\n\nexport interface BulkAddCustomizationChoicesRequest {\n /**\n * List of customization IDs and choices.\n * @minSize 1\n * @maxSize 1000\n */\n customizationsChoices: CustomizationChoices[];\n /**\n * Whether to return the full customization entities in the response.\n *\n * Default: `false`\n */\n returnEntity?: boolean;\n /**\n * Fields to include in the response.\n *\n * Supported values: `ASSIGNED_PRODUCTS_COUNT`\n * @maxSize 100\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface CustomizationChoices {\n /**\n * Customization ID.\n * @minLength 1\n * @maxLength 36\n */\n customizationId?: string;\n /**\n * Choices to add.\n * @minSize 1\n * @maxSize 1000\n */\n choices?: Choice[];\n}\n\nexport interface BulkAddCustomizationChoicesResponse {\n /**\n * Customizations updated by bulk action.\n * @minSize 1\n * @maxSize 1000\n */\n results?: BulkCustomizationResult[];\n /** Bulk action metadata. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkUpdateCustomizationsRequest {\n /**\n * List of customizations to update.\n * @minSize 1\n * @maxSize 100\n */\n customizations: MaskedCustomization[];\n /**\n * Whether to return the full customization entities in the response.\n *\n * Default: `false`\n */\n returnEntity?: boolean;\n /**\n * Fields to include in the response.\n *\n * Supported values: `ASSIGNED_PRODUCTS_COUNT`\n * @maxSize 100\n */\n fields?: RequestedFieldsWithLiterals[];\n}\n\nexport interface MaskedCustomization {\n /** Customization to update. */\n customization?: Customization;\n /**\n * Explicit list of fields to update.\n * @internal\n */\n fieldMask?: string[];\n}\n\nexport interface BulkUpdateCustomizationsResponse {\n /**\n * Customizations updated by bulk action.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkCustomizationResult[];\n /** Bulk action metadata. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entityAsJson?: string;\n /**\n * Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity\n * @internal\n */\n triggeredByUndelete?: boolean | null;\n /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n restoreInfo?: RestoreInfo;\n /**\n * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n * @internal\n */\n additionalMetadataAsJson?: string | null;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntityAsJson?: string;\n /**\n * This field is currently part of the of the EntityUpdatedEvent msg, but scala/node libraries which implements the domain events standard\n * wont populate it / have any reference to it in the API.\n * The main reason for it is that fetching the old entity from the DB will have a performance hit on an update operation so unless truly needed,\n * the developer should send only the new (current) entity.\n * An additional reason is not wanting to send this additional entity over the wire (kafka) since in some cases it can be really big\n * Developers that must reflect the old entity will have to implement their own domain event sender mechanism which will follow the DomainEvent proto message.\n * @internal\n * @deprecated\n */\n previousEntityAsJson?: string | null;\n /**\n * Map of fully qualified field paths to their previous values for fields that changed.\n * For more details please see [AIP](https://dev.wix.com/docs/rnd-general/articles/p13n-guidelines-aips/guidance-aips/design-patterns/7016-events#modified-fields-format)\n * @internal\n */\n modifiedFields?: Record<string, any>;\n /**\n * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n * @internal\n */\n additionalMetadataAsJson?: string | null;\n}\n\nexport interface EntityDeletedEvent {\n /**\n * Indicates if the entity is sent to trash-bin. only available when trash-bin is enabled\n * @internal\n */\n movedToTrash?: boolean | null;\n /** Entity that was deleted. */\n deletedEntityAsJson?: string | null;\n /**\n * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n * @internal\n */\n additionalMetadataAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n bodyAsJson?: string;\n}\n\nexport interface Empty {}\n\nexport interface RecloneSiteRequest {\n /** @format GUID */\n cloneFrom?: string;\n}\n\nexport interface RecloneSiteResponse {}\n\n/**\n * Published on Greyhound topic \"catalog-rollback-requested\" after the site is handled by the V3 population rollback.\n * Each owning service reacts to this rollback request according to its own policy.\n */\nexport interface CatalogRollbackRequested {\n /**\n * The MetaSite ID of the store whose catalog migration rollback was requested.\n * @format GUID\n */\n metaSiteId?: string;\n /** Whether owner services should clean V3 catalog data as a reaction to this rollback request. */\n cleanData?: boolean;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n /** Details related to the account */\n accountInfo?: AccountInfo;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\nexport interface AccountInfo {\n /**\n * ID of the Wix account associated with the event.\n * @format GUID\n */\n accountId?: string | null;\n /**\n * ID of the parent Wix account. Only included when accountId belongs to a child account.\n * @format GUID\n */\n parentAccountId?: string | null;\n /**\n * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n * @format GUID\n */\n siteId?: string | null;\n}\n\n/** @docsIgnore */\nexport type CreateCustomizationApplicationErrors =\n | {\n code?: 'OPTIONS_LIMIT_EXCEEDED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'MODIFIERS_LIMIT_EXCEEDED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'INVALID_CUSTOMIZATION_RENDER_TYPE';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'INVALID_FREE_TEXT_SETTINGS';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'MODIFIER_SETTINGS_NOT_SUPPORTED_FOR_PRODUCT_OPTION';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type CreateCustomizationValidationErrors =\n | {\n ruleName?: 'ONLY_SPACES_STRING_ERROR';\n }\n | {\n ruleName?: 'DUPLICATE_CHOICE_NAME';\n }\n | {\n ruleName?: 'CUSTOMIZATION_WITH_ONLY_ID_OR_CHOICE_IDS';\n }\n | {\n ruleName?: 'MIXED_CHOICE_IDS_CONSISTENCY';\n }\n | {\n ruleName?: 'ID_NOT_ALLOWED_IN_REQUEST';\n }\n | {\n ruleName?: 'PRIMARY_CHOICE_SELF_REFERENCE';\n }\n | {\n ruleName?: 'PRIMARY_CHOICE_NOT_FOUND';\n }\n | {\n ruleName?: 'PRIMARY_CHOICE_HIERARCHY_VIOLATION';\n };\n/** @docsIgnore */\nexport type UpdateCustomizationApplicationErrors =\n | {\n code?: 'INVALID_FREE_TEXT_SETTINGS';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DOESNT_SUPPORT_FREE_TEXT';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'MODIFIER_SETTINGS_NOT_SUPPORTED_FOR_PRODUCT_OPTION';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type DeleteCustomizationValidationErrors = {\n ruleName?: 'NOT_ALLOWED_DELETE_CUSTOMIZATION_ASSIGNED_TO_PRODUCT';\n};\n/** @docsIgnore */\nexport type BulkCreateCustomizationsApplicationErrors =\n | {\n code?: 'MODIFIER_SETTINGS_NOT_SUPPORTED_FOR_PRODUCT_OPTION';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'OPTIONS_LIMIT_EXCEEDED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'MODIFIERS_LIMIT_EXCEEDED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DOESNT_SUPPORT_CHOICES';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'CHOICES_LIMIT_EXCEEDED';\n description?: string;\n data?: CustomizationIdsWrapper;\n };\n/** @docsIgnore */\nexport type BulkCreateCustomizationsValidationErrors =\n | {\n ruleName?: 'ONLY_SPACES_STRING_ERROR';\n }\n | {\n ruleName?: 'INVALID_CHOICE_TYPE';\n }\n | {\n ruleName?: 'DUPLICATE_CHOICE_NAME';\n }\n | {\n ruleName?: 'INVALID_CHOICE_VALUE';\n }\n | {\n ruleName?: 'CUSTOMIZATION_WITH_ONLY_ID_OR_CHOICE_IDS';\n }\n | {\n ruleName?: 'MIXED_CHOICE_IDS_CONSISTENCY';\n }\n | {\n ruleName?: 'ID_NOT_ALLOWED_IN_REQUEST';\n }\n | {\n ruleName?: 'PRIMARY_CHOICE_SELF_REFERENCE';\n }\n | {\n ruleName?: 'PRIMARY_CHOICE_NOT_FOUND';\n }\n | {\n ruleName?: 'PRIMARY_CHOICE_HIERARCHY_VIOLATION';\n };\n/** @docsIgnore */\nexport type AddCustomizationChoicesApplicationErrors =\n | {\n code?: 'CHOICES_LIMIT_EXCEEDED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DOESNT_SUPPORT_CHOICES';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type AddCustomizationChoicesValidationErrors =\n | {\n ruleName?: 'INVALID_CHOICE_TYPE';\n }\n | {\n ruleName?: 'INVALID_CHOICE_VALUE';\n }\n | {\n ruleName?: 'DUPLICATE_CHOICE_NAME';\n }\n | {\n ruleName?: 'PRIMARY_CHOICE_SELF_REFERENCE';\n }\n | {\n ruleName?: 'PRIMARY_CHOICE_NOT_FOUND';\n }\n | {\n ruleName?: 'PRIMARY_CHOICE_HIERARCHY_VIOLATION';\n };\n/** @docsIgnore */\nexport type SetCustomizationChoicesApplicationErrors =\n | {\n code?: 'DOESNT_SUPPORT_CHOICES';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'CHOICES_LIMIT_EXCEEDED';\n description?: string;\n data?: CustomizationIdsWrapper;\n };\n/** @docsIgnore */\nexport type SetCustomizationChoicesValidationErrors =\n | {\n ruleName?: 'INVALID_CHOICE_TYPE';\n }\n | {\n ruleName?: 'INVALID_CHOICE_VALUE';\n }\n | {\n ruleName?: 'NOT_ALLOWED_DELETE_CHOICE_ASSIGNED_TO_PRODUCT';\n }\n | {\n ruleName?: 'DUPLICATE_CHOICE_NAME';\n }\n | {\n ruleName?: 'PRIMARY_CHOICE_SELF_REFERENCE';\n }\n | {\n ruleName?: 'PRIMARY_CHOICE_NOT_FOUND';\n }\n | {\n ruleName?: 'PRIMARY_CHOICE_HIERARCHY_VIOLATION';\n };\n/** @docsIgnore */\nexport type RemoveCustomizationChoicesApplicationErrors =\n | {\n code?: 'CHOICE_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'CHOICE_ASSIGNED_TO_PRODUCT';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type RemoveCustomizationChoicesValidationErrors = {\n ruleName?: 'NOT_ALLOWED_CUSTOMIZATION_WITHOUT_CHOICES';\n};\n/** @docsIgnore */\nexport type UpdateCustomizationChoicesApplicationErrors = {\n code?: 'CHOICE_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type UpdateCustomizationChoicesValidationErrors =\n | {\n ruleName?: 'UNSUPPORTED_CHOICE_FIELD';\n }\n | {\n ruleName?: 'PRIMARY_CHOICE_SELF_REFERENCE';\n }\n | {\n ruleName?: 'PRIMARY_CHOICE_NOT_FOUND';\n }\n | {\n ruleName?: 'PRIMARY_CHOICE_HIERARCHY_VIOLATION';\n };\n/** @docsIgnore */\nexport type ReorderCustomizationChoicesApplicationErrors =\n | {\n code?: 'DOESNT_SUPPORT_CHOICES';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'CHOICE_IDS_MISMATCH';\n description?: string;\n data?: ChoiceIdsMismatchData;\n };\n/** @docsIgnore */\nexport type BulkAddCustomizationChoicesApplicationErrors =\n | {\n code?: 'CHOICES_LIMIT_EXCEEDED';\n description?: string;\n data?: CustomizationIdsWrapper;\n }\n | {\n code?: 'DOESNT_SUPPORT_CHOICES';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type BulkAddCustomizationChoicesValidationErrors =\n | {\n ruleName?: 'INVALID_CHOICE_TYPE';\n }\n | {\n ruleName?: 'INVALID_CHOICE_VALUE';\n }\n | {\n ruleName?: 'PRIMARY_CHOICE_SELF_REFERENCE';\n }\n | {\n ruleName?: 'PRIMARY_CHOICE_NOT_FOUND';\n }\n | {\n ruleName?: 'PRIMARY_CHOICE_HIERARCHY_VIOLATION';\n };\n/** @docsIgnore */\nexport type BulkUpdateCustomizationsApplicationErrors =\n | {\n code?: 'INVALID_FREE_TEXT_SETTINGS';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DOESNT_SUPPORT_FREE_TEXT';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'MODIFIER_SETTINGS_NOT_SUPPORTED_FOR_PRODUCT_OPTION';\n description?: string;\n data?: Record<string, any>;\n };\n","import * as ambassadorWixStoresCatalogV3Customization from './stores-catalog-v3-customization-customizations-v-3.http.js';\nimport * as ambassadorWixStoresCatalogV3CustomizationTypes from './stores-catalog-v3-customization-customizations-v-3.types.js';\nimport * as ambassadorWixStoresCatalogV3CustomizationUniversalTypes from './stores-catalog-v3-customization-customizations-v-3.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function createCustomization(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.CreateCustomizationRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.CreateCustomizationRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.CreateCustomizationResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.CreateCustomizationResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.createCustomization(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/customizations',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getCustomization(): __PublicMethodMetaInfo<\n 'GET',\n { customizationId: string },\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.GetCustomizationRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.GetCustomizationRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.GetCustomizationResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.GetCustomizationResponse\n> {\n const payload = { customizationId: ':customizationId' } as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.getCustomization(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v3/customizations/{customizationId}',\n pathParams: { customizationId: 'customizationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function updateCustomization(): __PublicMethodMetaInfo<\n 'PATCH',\n { customizationId: string },\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.UpdateCustomizationRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.UpdateCustomizationRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.UpdateCustomizationResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.UpdateCustomizationResponse\n> {\n const payload = { customization: { id: ':customizationId' } } as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.updateCustomization(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PATCH',\n path: '/v3/customizations/{customization.id}',\n pathParams: { customizationId: 'customizationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function deleteCustomization(): __PublicMethodMetaInfo<\n 'DELETE',\n { customizationId: string },\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.DeleteCustomizationRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.DeleteCustomizationRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.DeleteCustomizationResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.DeleteCustomizationResponse\n> {\n const payload = { customizationId: ':customizationId' } as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.deleteCustomization(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'DELETE',\n path: '/v3/customizations/{customizationId}',\n pathParams: { customizationId: 'customizationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function queryCustomizations(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.QueryCustomizationsRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.QueryCustomizationsRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.QueryCustomizationsResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.QueryCustomizationsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.queryCustomizations(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v3/customizations/query',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function countCustomizations(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.CountCustomizationsRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.CountCustomizationsRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.CountCustomizationsResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.CountCustomizationsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.countCustomizations(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/customizations/count',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkCreateCustomizations(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.BulkCreateCustomizationsRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.BulkCreateCustomizationsRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.BulkCreateCustomizationsResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.BulkCreateCustomizationsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.bulkCreateCustomizations(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/bulk/customizations/create',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function addCustomizationChoices(): __PublicMethodMetaInfo<\n 'POST',\n { customizationId: string },\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.AddCustomizationChoicesRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.AddCustomizationChoicesRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.AddCustomizationChoicesResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.AddCustomizationChoicesResponse\n> {\n const payload = { customizationId: ':customizationId' } as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.addCustomizationChoices(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/customizations/{customizationId}/add-choices',\n pathParams: { customizationId: 'customizationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function setCustomizationChoices(): __PublicMethodMetaInfo<\n 'POST',\n { customizationId: string },\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.SetCustomizationChoicesRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.SetCustomizationChoicesRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.SetCustomizationChoicesResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.SetCustomizationChoicesResponse\n> {\n const payload = { customizationId: ':customizationId' } as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.setCustomizationChoices(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/customizations/{customizationId}/set-choices',\n pathParams: { customizationId: 'customizationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function removeCustomizationChoices(): __PublicMethodMetaInfo<\n 'POST',\n { customizationId: string },\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.RemoveCustomizationChoicesRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.RemoveCustomizationChoicesRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.RemoveCustomizationChoicesResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.RemoveCustomizationChoicesResponse\n> {\n const payload = { customizationId: ':customizationId' } as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.removeCustomizationChoices(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/customizations/{customizationId}/remove-choices',\n pathParams: { customizationId: 'customizationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function updateCustomizationChoices(): __PublicMethodMetaInfo<\n 'POST',\n { customizationId: string },\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.UpdateCustomizationChoicesRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.UpdateCustomizationChoicesRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.UpdateCustomizationChoicesResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.UpdateCustomizationChoicesResponse\n> {\n const payload = { customizationId: ':customizationId' } as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.updateCustomizationChoices(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/customizations/{customizationId}/update-choices',\n pathParams: { customizationId: 'customizationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function reorderCustomizationChoices(): __PublicMethodMetaInfo<\n 'POST',\n { customizationId: string },\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.ReorderCustomizationChoicesRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.ReorderCustomizationChoicesRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.ReorderCustomizationChoicesResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.ReorderCustomizationChoicesResponse\n> {\n const payload = { customizationId: ':customizationId' } as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.reorderCustomizationChoices(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/customizations/{customizationId}/reorder-choices',\n pathParams: { customizationId: 'customizationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkAddCustomizationChoices(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.BulkAddCustomizationChoicesRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.BulkAddCustomizationChoicesRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.BulkAddCustomizationChoicesResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.BulkAddCustomizationChoicesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.bulkAddCustomizationChoices(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/bulk/customizations/add-choices',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkUpdateCustomizations(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.BulkUpdateCustomizationsRequest,\n ambassadorWixStoresCatalogV3CustomizationTypes.BulkUpdateCustomizationsRequest,\n ambassadorWixStoresCatalogV3CustomizationUniversalTypes.BulkUpdateCustomizationsResponse,\n ambassadorWixStoresCatalogV3CustomizationTypes.BulkUpdateCustomizationsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixStoresCatalogV3Customization.bulkUpdateCustomizations(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v3/bulk/customizations/update',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport {\n Customization as CustomizationOriginal,\n CustomizationTypeSpecificSettingsOneOf as CustomizationTypeSpecificSettingsOneOfOriginal,\n CustomizationCustomizationSettingsOneOf as CustomizationCustomizationSettingsOneOfOriginal,\n CustomizationType as CustomizationTypeOriginal,\n CustomizationTypeWithLiterals as CustomizationTypeWithLiteralsOriginal,\n CustomizationRenderType as CustomizationRenderTypeOriginal,\n CustomizationRenderTypeWithLiterals as CustomizationRenderTypeWithLiteralsOriginal,\n ModifierSettings as ModifierSettingsOriginal,\n FreeTextSettings as FreeTextSettingsOriginal,\n ChoicesSettings as ChoicesSettingsOriginal,\n Choice as ChoiceOriginal,\n ChoiceValueOneOf as ChoiceValueOneOfOriginal,\n ChoiceType as ChoiceTypeOriginal,\n ChoiceTypeWithLiterals as ChoiceTypeWithLiteralsOriginal,\n MultipleColors as MultipleColorsOriginal,\n Image as ImageOriginal,\n FocalPoint as FocalPointOriginal,\n CommonImage as CommonImageOriginal,\n ChoiceSortStrategy as ChoiceSortStrategyOriginal,\n ChoiceSortStrategyWithLiterals as ChoiceSortStrategyWithLiteralsOriginal,\n InvalidateCache as InvalidateCacheOriginal,\n InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOfOriginal,\n App as AppOriginal,\n Page as PageOriginal,\n URI as URIOriginal,\n File as FileOriginal,\n CustomTag as CustomTagOriginal,\n Pages as PagesOriginal,\n URIs as URIsOriginal,\n CreateCustomizationRequest as CreateCustomizationRequestOriginal,\n CreateCustomizationResponse as CreateCustomizationResponseOriginal,\n GetCustomizationRequest as GetCustomizationRequestOriginal,\n RequestedFields as RequestedFieldsOriginal,\n RequestedFieldsWithLiterals as RequestedFieldsWithLiteralsOriginal,\n GetCustomizationResponse as GetCustomizationResponseOriginal,\n UpdateCustomizationRequest as UpdateCustomizationRequestOriginal,\n UpdateCustomizationResponse as UpdateCustomizationResponseOriginal,\n DeleteCustomizationRequest as DeleteCustomizationRequestOriginal,\n DeleteCustomizationResponse as DeleteCustomizationResponseOriginal,\n QueryCustomizationsRequest as QueryCustomizationsRequestOriginal,\n CursorQuery as CursorQueryOriginal,\n CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal,\n Sorting as SortingOriginal,\n SortOrder as SortOrderOriginal,\n SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n CursorPaging as CursorPagingOriginal,\n QueryCustomizationsResponse as QueryCustomizationsResponseOriginal,\n CursorPagingMetadata as CursorPagingMetadataOriginal,\n Cursors as CursorsOriginal,\n CountCustomizationsRequest as CountCustomizationsRequestOriginal,\n CountCustomizationsResponse as CountCustomizationsResponseOriginal,\n BulkCreateCustomizationsRequest as BulkCreateCustomizationsRequestOriginal,\n BulkCreateCustomizationsResponse as BulkCreateCustomizationsResponseOriginal,\n BulkCustomizationResult as BulkCustomizationResultOriginal,\n ItemMetadata as ItemMetadataOriginal,\n ApplicationError as ApplicationErrorOriginal,\n BulkActionMetadata as BulkActionMetadataOriginal,\n CustomizationIdsWrapper as CustomizationIdsWrapperOriginal,\n BulkCreateCustomizationsForMigrationRequest as BulkCreateCustomizationsForMigrationRequestOriginal,\n BulkCreateCustomizationsForMigrationResponse as BulkCreateCustomizationsForMigrationResponseOriginal,\n AddCustomizationChoicesRequest as AddCustomizationChoicesRequestOriginal,\n AddCustomizationChoicesResponse as AddCustomizationChoicesResponseOriginal,\n SetCustomizationChoicesRequest as SetCustomizationChoicesRequestOriginal,\n SetCustomizationChoicesResponse as SetCustomizationChoicesResponseOriginal,\n RemoveCustomizationChoicesRequest as RemoveCustomizationChoicesRequestOriginal,\n RemoveCustomizationChoicesResponse as RemoveCustomizationChoicesResponseOriginal,\n UpdateCustomizationChoicesRequest as UpdateCustomizationChoicesRequestOriginal,\n MaskedChoice as MaskedChoiceOriginal,\n UpdateCustomizationChoicesResponse as UpdateCustomizationChoicesResponseOriginal,\n ReorderCustomizationChoicesRequest as ReorderCustomizationChoicesRequestOriginal,\n ReorderCustomizationChoicesResponse as ReorderCustomizationChoicesResponseOriginal,\n ChoiceIdsMismatchData as ChoiceIdsMismatchDataOriginal,\n BulkAddCustomizationChoicesRequest as BulkAddCustomizationChoicesRequestOriginal,\n CustomizationChoices as CustomizationChoicesOriginal,\n BulkAddCustomizationChoicesResponse as BulkAddCustomizationChoicesResponseOriginal,\n BulkUpdateCustomizationsRequest as BulkUpdateCustomizationsRequestOriginal,\n MaskedCustomization as MaskedCustomizationOriginal,\n BulkUpdateCustomizationsResponse as BulkUpdateCustomizationsResponseOriginal,\n DomainEvent as DomainEventOriginal,\n DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n EntityCreatedEvent as EntityCreatedEventOriginal,\n RestoreInfo as RestoreInfoOriginal,\n EntityUpdatedEvent as EntityUpdatedEventOriginal,\n EntityDeletedEvent as EntityDeletedEventOriginal,\n ActionEvent as ActionEventOriginal,\n Empty as EmptyOriginal,\n RecloneSiteRequest as RecloneSiteRequestOriginal,\n RecloneSiteResponse as RecloneSiteResponseOriginal,\n CatalogRollbackRequested as CatalogRollbackRequestedOriginal,\n MessageEnvelope as MessageEnvelopeOriginal,\n IdentificationData as IdentificationDataOriginal,\n IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n WebhookIdentityType as WebhookIdentityTypeOriginal,\n WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n AccountInfo as AccountInfoOriginal,\n CreateCustomizationApplicationErrors as CreateCustomizationApplicationErrorsOriginal,\n CreateCustomizationValidationErrors as CreateCustomizationValidationErrorsOriginal,\n UpdateCustomizationApplicationErrors as UpdateCustomizationApplicationErrorsOriginal,\n DeleteCustomizationValidationErrors as DeleteCustomizationValidationErrorsOriginal,\n BulkCreateCustomizationsApplicationErrors as BulkCreateCustomizationsApplicationErrorsOriginal,\n BulkCreateCustomizationsValidationErrors as BulkCreateCustomizationsValidationErrorsOriginal,\n AddCustomizationChoicesApplicationErrors as AddCustomizationChoicesApplicationErrorsOriginal,\n AddCustomizationChoicesValidationErrors as AddCustomizationChoicesValidationErrorsOriginal,\n SetCustomizationChoicesApplicationErrors as SetCustomizationChoicesApplicationErrorsOriginal,\n SetCustomizationChoicesValidationErrors as SetCustomizationChoicesValidationErrorsOriginal,\n RemoveCustomizationChoicesApplicationErrors as RemoveCustomizationChoicesApplicationErrorsOriginal,\n RemoveCustomizationChoicesValidationErrors as RemoveCustomizationChoicesValidationErrorsOriginal,\n UpdateCustomizationChoicesApplicationErrors as UpdateCustomizationChoicesApplicationErrorsOriginal,\n UpdateCustomizationChoicesValidationErrors as UpdateCustomizationChoicesValidationErrorsOriginal,\n ReorderCustomizationChoicesApplicationErrors as ReorderCustomizationChoicesApplicationErrorsOriginal,\n BulkAddCustomizationChoicesApplicationErrors as BulkAddCustomizationChoicesApplicationErrorsOriginal,\n BulkAddCustomizationChoicesValidationErrors as BulkAddCustomizationChoicesValidationErrorsOriginal,\n BulkUpdateCustomizationsApplicationErrors as BulkUpdateCustomizationsApplicationErrorsOriginal,\n} from './stores-catalog-v3-customization-customizations-v-3.types.js';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iCAAAA;AAAA,EAAA,mCAAAC;AAAA,EAAA,gCAAAC;AAAA,EAAA,gCAAAC;AAAA,EAAA,2BAAAC;AAAA,EAAA,2BAAAC;AAAA,EAAA,2BAAAC;AAAA,EAAA,wBAAAC;AAAA,EAAA,2BAAAC;AAAA,EAAA,kCAAAC;AAAA,EAAA,mCAAAC;AAAA,EAAA,+BAAAC;AAAA,EAAA,2BAAAC;AAAA,EAAA,kCAAAC;AAAA;AAAA;;;ACAA,0BAAkC;AAClC,mBAA6C;AAC7C,IAAAC,gBAA6C;AAC7C,uBAAqD;AACrD,IAAAC,oBAAqD;AACrD,wBAAqD;AACrD,6BAA+B;AAC/B,IAAAC,uBAA2B;AAI3B,IAAM,oBAAoB;AAAA,EACxB,EAAE,MAAM,4BAA4B;AAAA,EACpC,EAAE,MAAM,4BAA4B;AAAA,EACpC,EAAE,MAAM,gEAAgE;AAAA,EACxE;AAAA,IACE,MAAM;AAAA,EACR;AACF;AACA,IAAM,oBAAoB;AAAA,EACxB,EAAE,MAAM,2DAA2D;AAAA,EACnE,EAAE,MAAM,2DAA2D;AACrE;AACA,IAAM,oBAAoB,CAAC,EAAE,MAAM,YAAY,CAAC;AAChD,IAAM,oBAAoB;AAAA,EACxB,EAAE,MAAM,6BA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C;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["addCustomizationChoices","bulkAddCustomizationChoices","bulkCreateCustomizations","bulkUpdateCustomizations","countCustomizations","createCustomization","deleteCustomization","getCustomization","queryCustomizations","removeCustomizationChoices","reorderCustomizationChoices","setCustomizationChoices","updateCustomization","updateCustomizationChoices","import_float","import_timestamp","import_rest_modules","payload","CustomizationType","CustomizationRenderType","ChoiceType","ChoiceSortStrategy","RequestedFields","SortOrder","WebhookIdentityType","createCustomization","getCustomization","updateCustomization","deleteCustomization","queryCustomizations","countCustomizations","bulkCreateCustomizations","addCustomizationChoices","setCustomizationChoices","removeCustomizationChoices","updateCustomizationChoices","reorderCustomizationChoices","bulkAddCustomizationChoices","bulkUpdateCustomizations"]}
|