{"version":3,"sources":["../../src/stores-catalog-v1-product-products.http.ts","../../src/stores-catalog-v1-product-products.types.ts","../../src/stores-catalog-v1-product-products.meta.ts"],"sourcesContent":["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 { 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: 'product.weight' },\n  { path: 'product.price.price' },\n  { path: 'product.price.pricePerUnit' },\n  { path: 'product.priceData.price' },\n  { path: 'product.priceData.pricePerUnit' },\n  { path: 'product.convertedPriceData.price' },\n  { path: 'product.convertedPriceData.pricePerUnit' },\n  { path: 'product.costAndProfitData.itemCost' },\n  { path: 'product.variants.variant.priceData.price' },\n  { path: 'product.variants.variant.priceData.pricePerUnit' },\n  { path: 'product.variants.variant.convertedPriceData.price' },\n  { path: 'product.variants.variant.convertedPriceData.pricePerUnit' },\n  { path: 'product.variants.variant.costAndProfitData.itemCost' },\n  { path: 'product.weightRange.minValue' },\n  { path: 'product.weightRange.maxValue' },\n  { path: 'product.price.discountedPrice' },\n  { path: 'product.priceData.discountedPrice' },\n  { path: 'product.convertedPriceData.discountedPrice' },\n  { path: 'product.priceRange.minValue' },\n  { path: 'product.priceRange.maxValue' },\n  { path: 'product.costAndProfitData.profit' },\n  { path: 'product.costAndProfitData.profitMargin' },\n  { path: 'product.costRange.minValue' },\n  { path: 'product.costRange.maxValue' },\n  { path: 'product.pricePerUnitData.totalQuantity' },\n  { path: 'product.pricePerUnitData.baseQuantity' },\n  { path: 'product.discount.value' },\n  { path: 'product.variants.variant.weight' },\n  { path: 'product.variants.variant.priceData.discountedPrice' },\n  { path: 'product.variants.variant.convertedPriceData.discountedPrice' },\n  { path: 'product.variants.variant.costAndProfitData.profit' },\n  { path: 'product.variants.variant.costAndProfitData.profitMargin' },\n];\nconst TRANSFORM_PATHS_1 = [\n  { path: 'product.lastUpdated' },\n  { path: 'product.createdDate' },\n];\nconst TRANSFORM_PATHS_2 = [\n  { path: 'variants.price' },\n  { path: 'variants.cost' },\n  { path: 'variants.weight' },\n];\nconst TRANSFORM_PATHS_3 = [\n  { path: 'variants.variant.weight' },\n  { path: 'variants.variant.priceData.discountedPrice' },\n  { path: 'variants.variant.convertedPriceData.discountedPrice' },\n  { path: 'variants.variant.costAndProfitData.profit' },\n  { path: 'variants.variant.costAndProfitData.profitMargin' },\n  { path: 'variants.variant.priceData.price' },\n  { path: 'variants.variant.priceData.pricePerUnit' },\n  { path: 'variants.variant.convertedPriceData.price' },\n  { path: 'variants.variant.convertedPriceData.pricePerUnit' },\n  { path: 'variants.variant.costAndProfitData.itemCost' },\n];\nconst TRANSFORM_PATHS_4 = [{ path: 'collection.lastUpdated' }];\nconst TRANSFORM_PATHS_5 = [\n  { path: 'set.price' },\n  { path: 'set.cost' },\n  { path: 'set.weight' },\n];\nconst TRANSFORM_PATHS_6 = [\n  { path: 'adjust.price.amount' },\n  { path: 'adjust.cost.amount' },\n  { path: 'adjust.weight.amount' },\n];\nconst TRANSFORM_PATHS_7 = [\n  { path: 'query.sort.origin.latitude' },\n  { path: 'query.sort.origin.longitude' },\n];\nconst TRANSFORM_PATHS_8 = [\n  { path: 'products.weight' },\n  { path: 'products.price.price' },\n  { path: 'products.price.pricePerUnit' },\n  { path: 'products.priceData.price' },\n  { path: 'products.priceData.pricePerUnit' },\n  { path: 'products.convertedPriceData.price' },\n  { path: 'products.convertedPriceData.pricePerUnit' },\n  { path: 'products.costAndProfitData.itemCost' },\n  { path: 'products.variants.variant.priceData.price' },\n  { path: 'products.variants.variant.priceData.pricePerUnit' },\n  { path: 'products.variants.variant.convertedPriceData.price' },\n  { path: 'products.variants.variant.convertedPriceData.pricePerUnit' },\n  { path: 'products.variants.variant.costAndProfitData.itemCost' },\n  { path: 'products.weightRange.minValue' },\n  { path: 'products.weightRange.maxValue' },\n  { path: 'products.price.discountedPrice' },\n  { path: 'products.priceData.discountedPrice' },\n  { path: 'products.convertedPriceData.discountedPrice' },\n  { path: 'products.priceRange.minValue' },\n  { path: 'products.priceRange.maxValue' },\n  { path: 'products.costAndProfitData.profit' },\n  { path: 'products.costAndProfitData.profitMargin' },\n  { path: 'products.costRange.minValue' },\n  { path: 'products.costRange.maxValue' },\n  { path: 'products.pricePerUnitData.totalQuantity' },\n  { path: 'products.pricePerUnitData.baseQuantity' },\n  { path: 'products.discount.value' },\n  { path: 'products.variants.variant.weight' },\n  { path: 'products.variants.variant.priceData.discountedPrice' },\n  { path: 'products.variants.variant.convertedPriceData.discountedPrice' },\n  { path: 'products.variants.variant.costAndProfitData.profit' },\n  { path: 'products.variants.variant.costAndProfitData.profitMargin' },\n];\nconst TRANSFORM_PATHS_9 = [\n  { path: 'products.lastUpdated' },\n  { path: 'products.createdDate' },\n];\nconst TRANSFORM_PATHS_10 = [\n  { path: 'selectedVariant.weight' },\n  { path: 'selectedVariant.price.price' },\n  { path: 'selectedVariant.price.pricePerUnit' },\n  { path: 'selectedVariant.convertedPriceData.price' },\n  { path: 'selectedVariant.convertedPriceData.pricePerUnit' },\n  { path: 'selectedVariant.price.discountedPrice' },\n  { path: 'selectedVariant.convertedPriceData.discountedPrice' },\n];\nconst TRANSFORM_PATHS_11 = [\n  { path: 'variants.media.image.urlExpirationDate' },\n  { path: 'variants.media.video.urlExpirationDate' },\n  { path: 'variants.media.video.resolutions.urlExpirationDate' },\n  { path: 'variants.media.video.resolutions.poster.urlExpirationDate' },\n  { path: 'variants.media.video.posters.urlExpirationDate' },\n];\nconst TRANSFORM_PATHS_12 = [\n  { path: 'variants.media.image.focalPoint.x' },\n  { path: 'variants.media.image.focalPoint.y' },\n  { path: 'variants.media.video.resolutions.poster.focalPoint.x' },\n  { path: 'variants.media.video.resolutions.poster.focalPoint.y' },\n  { path: 'variants.media.video.posters.focalPoint.x' },\n  { path: 'variants.media.video.posters.focalPoint.y' },\n];\nconst TRANSFORM_PATHS_13 = [\n  { path: 'variant.media.image.urlExpirationDate' },\n  { path: 'variant.media.video.urlExpirationDate' },\n  { path: 'variant.media.video.resolutions.urlExpirationDate' },\n  { path: 'variant.media.video.resolutions.poster.urlExpirationDate' },\n  { path: 'variant.media.video.posters.urlExpirationDate' },\n];\nconst TRANSFORM_PATHS_14 = [\n  { path: 'variant.media.image.focalPoint.x' },\n  { path: 'variant.media.image.focalPoint.y' },\n  { path: 'variant.media.video.resolutions.poster.focalPoint.x' },\n  { path: 'variant.media.video.resolutions.poster.focalPoint.y' },\n  { path: 'variant.media.video.posters.focalPoint.x' },\n  { path: 'variant.media.video.posters.focalPoint.y' },\n];\n\nfunction resolveWixCatalogApiV1CatalogReadApiUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    '*.dev.wix-code.com': [\n      {\n        srcPath: '/_api/catalog-reader-server',\n        destPath: '',\n      },\n    ],\n    _: [\n      {\n        srcPath: '/_api/catalog-reader-server',\n        destPath: '',\n      },\n      {\n        srcPath: '/stores-reader/v2/collections',\n        destPath: '/v2/collections',\n      },\n    ],\n    'manage._base_domain_': [\n      {\n        srcPath: '/_api/catalog-reader-server',\n        destPath: '',\n      },\n      {\n        srcPath: '/catalog-read-proxy',\n        destPath: '',\n      },\n    ],\n    'www._base_domain_': [\n      {\n        srcPath: '/_api/catalog-reader-server',\n        destPath: '',\n      },\n    ],\n    'www.wixapis.com': [\n      {\n        srcPath: '/stores-reader/v1/products',\n        destPath: '/v1/products',\n      },\n      {\n        srcPath: '/stores-reader/v2/collections',\n        destPath: '/v2/collections',\n      },\n      {\n        srcPath: '/stores-reader/v1/variants',\n        destPath: '/v1/variants',\n      },\n      {\n        srcPath: '/stores-reader/api/v1/products',\n        destPath: '/api/v1/products',\n      },\n      {\n        srcPath: '/stores-reader/v1/collections',\n        destPath: '/v1/collections',\n      },\n    ],\n    'api._api_base_domain_': [\n      {\n        srcPath: '/catalog-read-proxy',\n        destPath: '',\n      },\n    ],\n    'editor._base_domain_': [\n      {\n        srcPath: '/_api/catalog-read-proxy',\n        destPath: '',\n      },\n    ],\n    'blocks._base_domain_': [\n      {\n        srcPath: '/_api/catalog-read-proxy',\n        destPath: '',\n      },\n    ],\n    'create.editorx': [\n      {\n        srcPath: '/_api/catalog-read-proxy',\n        destPath: '',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nfunction resolveWixCatalogApiV1CatalogWriteApiUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    _: [\n      {\n        srcPath: '/_api/catalog-server',\n        destPath: '',\n      },\n    ],\n    '*.dev.wix-code.com': [\n      {\n        srcPath: '/_api/catalog-server',\n        destPath: '',\n      },\n    ],\n    'www.wixapis.com': [\n      {\n        srcPath: '/stores/v1/collections',\n        destPath: '/v1/collections',\n      },\n      {\n        srcPath: '/stores/v1/products',\n        destPath: '/v1/products',\n      },\n      {\n        srcPath: '/stores/v2/inventoryItems',\n        destPath: '/v2/inventoryItems',\n      },\n      {\n        srcPath: '/stores/v1/variants',\n        destPath: '/v1/variants',\n      },\n      {\n        srcPath: '/stores/v1/bulk/products',\n        destPath: '/v1/bulk/products',\n      },\n      {\n        srcPath: '/stores/v1/products-digital',\n        destPath: '/v1/products-digital',\n      },\n    ],\n    'manage._base_domain_': [\n      {\n        srcPath: '/_api/catalog-server',\n        destPath: '',\n      },\n      {\n        srcPath: '/catalog-write-api-proxy',\n        destPath: '',\n      },\n    ],\n    'bo._base_domain_': [\n      {\n        srcPath: '/_api/catalog-write-api-proxy',\n        destPath: '',\n      },\n    ],\n    'wixbo.ai': [\n      {\n        srcPath: '/_api/catalog-write-api-proxy',\n        destPath: '',\n      },\n    ],\n    'wix-bo.com': [\n      {\n        srcPath: '/_api/catalog-write-api-proxy',\n        destPath: '',\n      },\n    ],\n    'api._api_base_domain_': [\n      {\n        srcPath: '/catalog-write-api-proxy',\n        destPath: '',\n      },\n    ],\n    'www._base_domain_': [\n      {\n        srcPath: '/catalog-write-api-proxy',\n        destPath: '',\n      },\n      {\n        srcPath: '/_api/catalog-server/v1/products',\n        destPath: '/v1/products',\n      },\n      {\n        srcPath: '/_api/catalog-server/v1/collections',\n        destPath: '/v1/collections',\n      },\n      {\n        srcPath: '/_api/catalog-server/v1/bulk/products',\n        destPath: '/v1/bulk/products',\n      },\n    ],\n    'editor._base_domain_': [\n      {\n        srcPath: '/_api/catalog-write-api-proxy',\n        destPath: '',\n      },\n    ],\n    'blocks._base_domain_': [\n      {\n        srcPath: '/_api/catalog-write-api-proxy',\n        destPath: '',\n      },\n    ],\n    'create.editorx': [\n      {\n        srcPath: '/_api/catalog-write-api-proxy',\n        destPath: '',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_stores_products';\n\n/** Creates a new product. */\nexport function createProduct(payload: object): RequestOptionsFactory<any> {\n  function __createProduct({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFloatToRESTFloat,\n        paths: TRANSFORM_PATHS_0,\n      },\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: TRANSFORM_PATHS_1,\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v1.product',\n      method: 'POST' as any,\n      methodFqn: 'wix.catalog.api.v1.CatalogWriteApi.CreateProduct',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixCatalogApiV1CatalogWriteApiUrl({\n        protoPath: '/v1/products',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: TRANSFORM_PATHS_0,\n          },\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: TRANSFORM_PATHS_1,\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __createProduct;\n}\n\n/**\n * Updates specified fields in a product.\n *\n * To update a single field across multiple products, use [Bulk Update Product Property](https://dev.wix.com/docs/rest/business-solutions/stores/catalog/bulk-update-product-property).\n */\nexport function updateProduct(payload: object): RequestOptionsFactory<any> {\n  function __updateProduct({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFloatToRESTFloat,\n        paths: TRANSFORM_PATHS_0,\n      },\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: TRANSFORM_PATHS_1,\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v1.product',\n      method: 'PATCH' as any,\n      methodFqn: 'wix.catalog.api.v1.CatalogWriteApi.UpdateProduct',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixCatalogApiV1CatalogWriteApiUrl({\n        protoPath: '/v1/products/{product.id}',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: TRANSFORM_PATHS_0,\n          },\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: TRANSFORM_PATHS_1,\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __updateProduct;\n}\n\n/** Deletes a product. */\nexport function deleteProduct(payload: object): RequestOptionsFactory<any> {\n  function __deleteProduct({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v1.product',\n      method: 'DELETE' as any,\n      methodFqn: 'wix.catalog.api.v1.CatalogWriteApi.DeleteProduct',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixCatalogApiV1CatalogWriteApiUrl({\n        protoPath: '/v1/products/{id}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __deleteProduct;\n}\n\n/** Updates variants of a specified product. */\nexport function updateVariants(payload: object): RequestOptionsFactory<any> {\n  function __updateVariants({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFloatToRESTFloat,\n        paths: TRANSFORM_PATHS_2,\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v1.product',\n      method: 'PATCH' as any,\n      methodFqn: 'wix.catalog.api.v1.CatalogWriteApi.UpdateVariants',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixCatalogApiV1CatalogWriteApiUrl({\n        protoPath: '/v1/products/{id}/variants',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: TRANSFORM_PATHS_3,\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __updateVariants;\n}\n\n/** Resets the data (such as the price and the weight) of all variants for a given product to their default values. */\nexport function resetAllVariantData(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __resetAllVariantData({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v1.product',\n      method: 'POST' as any,\n      methodFqn: 'wix.catalog.api.v1.CatalogWriteApi.ResetAllVariantData',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixCatalogApiV1CatalogWriteApiUrl({\n        protoPath: '/v1/products/{id}/variants/resetToDefault',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __resetAllVariantData;\n}\n\n/** Adds products to a specified collection. */\nexport function addProductsToCollection(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __addProductsToCollection({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v1.product',\n      method: 'POST' as any,\n      methodFqn: 'wix.catalog.api.v1.CatalogWriteApi.AddProductsToCollection',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixCatalogApiV1CatalogWriteApiUrl({\n        protoPath: '/v1/collections/{id}/productIds',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __addProductsToCollection;\n}\n\n/** Deletes products from a specified collection. */\nexport function removeProductsFromCollection(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __removeProductsFromCollection({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v1.product',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.catalog.api.v1.CatalogWriteApi.RemoveProductsFromCollection',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixCatalogApiV1CatalogWriteApiUrl({\n        protoPath: '/v1/collections/{id}/productIds/delete',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __removeProductsFromCollection;\n}\n\n/**\n * Adds media items to a specified product, either via URL or existing media ID.\n *\n * > **NOTE:** The URL is not validated and no event is triggered to indicate if the media was added successfully.\n */\nexport function addProductMedia(payload: object): RequestOptionsFactory<any> {\n  function __addProductMedia({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v1.product',\n      method: 'POST' as any,\n      methodFqn: 'wix.catalog.api.v1.CatalogWriteApi.AddProductMedia',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixCatalogApiV1CatalogWriteApiUrl({\n        protoPath: '/v1/products/{id}/media',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __addProductMedia;\n}\n\n/**\n * Removes specified media items from a product.\n * Pass an empty array to remove all media items.\n */\nexport function removeProductMedia(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __removeProductMedia({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v1.product',\n      method: 'POST' as any,\n      methodFqn: 'wix.catalog.api.v1.CatalogWriteApi.RemoveProductMedia',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixCatalogApiV1CatalogWriteApiUrl({\n        protoPath: '/v1/products/{id}/media/delete',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __removeProductMedia;\n}\n\n/**\n * Links media items that are already associated with a specific product to a choice within the same product.\n *\n * Media items can only be set for choices within one option at a time - e.g., if you set media items for some or all of the choices within the Colors option (blue, green, and red), you won't be able to also assign media items to choices within the Size option (S, M, and L).\n *\n * To remove all existing media items, call the [Remove Product Media From Choices](https://dev.wix.com/api/rest/wix-stores/catalog/products/remove-product-media-from-choices) endpoint.\n */\nexport function addProductMediaToChoices(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __addProductMediaToChoices({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v1.product',\n      method: 'PATCH' as any,\n      methodFqn: 'wix.catalog.api.v1.CatalogWriteApi.AddProductMediaToChoices',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixCatalogApiV1CatalogWriteApiUrl({\n        protoPath: '/v1/products/{id}/choices/media',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __addProductMediaToChoices;\n}\n\n/**\n * Removes media items from all or some of a product's choices.\n * (Media items can only be set for choices within one option at a time - e.g., if you set media items for some or all of the choices within the Colors option (blue, green, and red), you won't be able to also assign media items to choices within the Size option (S, M, and L).)\n */\nexport function removeProductMediaFromChoices(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __removeProductMediaFromChoices({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v1.product',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.catalog.api.v1.CatalogWriteApi.RemoveProductMediaFromChoices',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixCatalogApiV1CatalogWriteApiUrl({\n        protoPath: '/v1/products/{id}/choices/media/delete',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __removeProductMediaFromChoices;\n}\n\n/** Delete all options from a specific product. Only available when [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is disabled. */\nexport function deleteProductOptions(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __deleteProductOptions({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v1.product',\n      method: 'DELETE' as any,\n      methodFqn: 'wix.catalog.api.v1.CatalogWriteApi.DeleteProductOptions',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixCatalogApiV1CatalogWriteApiUrl({\n        protoPath: '/v1/products/{id}/options',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __deleteProductOptions;\n}\n\n/** Deletes a product's brand. */\nexport function removeBrand(payload: object): RequestOptionsFactory<any> {\n  function __removeBrand({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v1.product',\n      method: 'POST' as any,\n      methodFqn: 'wix.catalog.api.v1.CatalogWriteApi.RemoveBrand',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixCatalogApiV1CatalogWriteApiUrl({\n        protoPath: '/v1/products/{id}/remove-brand',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __removeBrand;\n}\n\n/** Creates a new collection. */\nexport function createCollection(payload: object): RequestOptionsFactory<any> {\n  function __createCollection({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: TRANSFORM_PATHS_4,\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v1.product',\n      method: 'POST' as any,\n      methodFqn: 'wix.catalog.api.v1.CatalogWriteApi.CreateCollection',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixCatalogApiV1CatalogWriteApiUrl({\n        protoPath: '/v1/collections',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: TRANSFORM_PATHS_4,\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __createCollection;\n}\n\n/** Updates specified properties of a collection. To add products to a collection, call the [addProductsToCollection](#addproductstocollection) function. */\nexport function updateCollection(payload: object): RequestOptionsFactory<any> {\n  function __updateCollection({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: TRANSFORM_PATHS_4,\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v1.product',\n      method: 'PATCH' as any,\n      methodFqn: 'wix.catalog.api.v1.CatalogWriteApi.UpdateCollection',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixCatalogApiV1CatalogWriteApiUrl({\n        protoPath: '/v1/collections/{collection.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_4,\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __updateCollection;\n}\n\n/** Deletes a collection. */\nexport function deleteCollection(payload: object): RequestOptionsFactory<any> {\n  function __deleteCollection({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v1.product',\n      method: 'DELETE' as any,\n      methodFqn: 'wix.catalog.api.v1.CatalogWriteApi.DeleteCollection',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixCatalogApiV1CatalogWriteApiUrl({\n        protoPath: '/v1/collections/{id}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __deleteCollection;\n}\n\n/** Deletes a product's ribbon. */\nexport function removeRibbon(payload: object): RequestOptionsFactory<any> {\n  function __removeRibbon({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v1.product',\n      method: 'POST' as any,\n      methodFqn: 'wix.catalog.api.v1.CatalogWriteApi.RemoveRibbon',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixCatalogApiV1CatalogWriteApiUrl({\n        protoPath: '/v1/products/{id}/remove-ribbon',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __removeRibbon;\n}\n\n/** Updates a specified property for up to 100 products at a time. */\nexport function bulkUpdateProducts(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkUpdateProducts({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFloatToRESTFloat,\n        paths: TRANSFORM_PATHS_5,\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v1.product',\n      method: 'POST' as any,\n      methodFqn: 'wix.catalog.api.v1.CatalogWriteApi.BulkUpdateProducts',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixCatalogApiV1CatalogWriteApiUrl({\n        protoPath: '/v1/bulk/products/update',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n    };\n\n    return metadata;\n  }\n\n  return __bulkUpdateProducts;\n}\n\n/**\n * Adjusts a specified numerical property for up to 100 products at a time.\n * The property can be increased or decreased either by percentage or amount.\n */\nexport function bulkAdjustProductProperties(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkAdjustProductProperties({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFloatToRESTFloat,\n        paths: TRANSFORM_PATHS_6,\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v1.product',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.catalog.api.v1.CatalogWriteApi.BulkAdjustProductProperties',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixCatalogApiV1CatalogWriteApiUrl({\n        protoPath: '/v1/bulk/products/adjust-properties',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n    };\n\n    return metadata;\n  }\n\n  return __bulkAdjustProductProperties;\n}\n\n/** Returns a list of up to 100 products, given the provided paging, sorting and filtering. */\nexport function queryProductsPlatformized(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __queryProductsPlatformized({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFloatToRESTFloat,\n        paths: TRANSFORM_PATHS_7,\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v1.product',\n      method: 'GET' as any,\n      methodFqn: 'wix.catalog.api.v1.CatalogReadApi.QueryProductsPlatformized',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixCatalogApiV1CatalogReadApiUrl({\n        protoPath: '/v1/products/query-platformized',\n        data: serializedData,\n        host,\n      }),\n      params: toURLSearchParams(serializedData, true),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: TRANSFORM_PATHS_8,\n          },\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: TRANSFORM_PATHS_9,\n          },\n        ]),\n      fallback: [\n        {\n          method: 'POST' as any,\n          url: resolveWixCatalogApiV1CatalogReadApiUrl({\n            protoPath: '/v1/products/query-platformized',\n            data: serializedData,\n            host,\n          }),\n          data: serializedData,\n        },\n      ],\n    };\n\n    return metadata;\n  }\n\n  return __queryProductsPlatformized;\n}\n\n/** Retrieves a product with the provided ID. */\nexport function getProduct(payload: object): RequestOptionsFactory<any> {\n  function __getProduct({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v1.product',\n      method: 'GET' as any,\n      methodFqn: 'wix.catalog.api.v1.CatalogReadApi.GetProduct',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixCatalogApiV1CatalogReadApiUrl({\n        protoPath: '/v1/products/{id}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: TRANSFORM_PATHS_0,\n          },\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: TRANSFORM_PATHS_1,\n          },\n        ]),\n      fallback: [\n        {\n          method: 'GET' as any,\n          url: resolveWixCatalogApiV1CatalogReadApiUrl({\n            protoPath: '/v1/products/{id}',\n            data: payload,\n            host,\n          }),\n          params: toURLSearchParams(payload),\n        },\n      ],\n    };\n\n    return metadata;\n  }\n\n  return __getProduct;\n}\n\n/** Retrieves a collection with the provided slug. */\nexport function getCollectionBySlug(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __getCollectionBySlug({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v1.product',\n      method: 'GET' as any,\n      methodFqn: 'wix.catalog.api.v1.CatalogReadApi.GetCollectionBySlug',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixCatalogApiV1CatalogReadApiUrl({\n        protoPath: '/v1/collections/slug/{slug}',\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_4,\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __getCollectionBySlug;\n}\n\n/** Gets the availability of relevant product variants based on the product ID and selections provided. See [Use Cases](https://dev.wix.com/api/rest/wix-stores/catalog/use-cases) for an example. */\nexport function productOptionsAvailability(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __productOptionsAvailability({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v1.product',\n      method: 'POST' as any,\n      methodFqn: 'wix.catalog.api.v1.CatalogReadApi.ProductOptionsAvailability',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixCatalogApiV1CatalogReadApiUrl({\n        protoPath: '/v1/products/{id}/productOptionsAvailability',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: TRANSFORM_PATHS_10,\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __productOptionsAvailability;\n}\n\n/**\n * Retrieves product variants, based on either choices (option-choice key-value pairs) or variant IDs.\n * See [Stores Pagination](https://dev.wix.com/api/rest/wix-stores/pagination) for more information.\n */\nexport function queryProductVariants(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __queryProductVariants({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v1.product',\n      method: 'POST' as any,\n      methodFqn: 'wix.catalog.api.v1.CatalogReadApi.QueryProductVariants',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixCatalogApiV1CatalogReadApiUrl({\n        protoPath: '/v1/products/{id}/variants/query',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: TRANSFORM_PATHS_3,\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __queryProductVariants;\n}\n\n/** Retrieves up to 100 store variants, given the provided paging, filtering, and sorting. */\nexport function queryStoreVariants(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __queryStoreVariants({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFloatToRESTFloat,\n        paths: TRANSFORM_PATHS_7,\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v1.product',\n      method: 'POST' as any,\n      methodFqn: 'wix.catalog.api.v1.CatalogReadApi.QueryStoreVariants',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixCatalogApiV1CatalogReadApiUrl({\n        protoPath: '/v1/variants/query',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: TRANSFORM_PATHS_11,\n          },\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: TRANSFORM_PATHS_12,\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __queryStoreVariants;\n}\n\n/** Retrieves a store variant with the provided ID. */\nexport function getStoreVariant(payload: object): RequestOptionsFactory<any> {\n  function __getStoreVariant({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v1.product',\n      method: 'GET' as any,\n      methodFqn: 'wix.catalog.api.v1.CatalogReadApi.GetStoreVariant',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixCatalogApiV1CatalogReadApiUrl({\n        protoPath: '/v1/variants/{id}',\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_13,\n          },\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: TRANSFORM_PATHS_14,\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __getStoreVariant;\n}\n","export interface Product {\n  /**\n   * Product ID (generated automatically by the catalog).\n   * @readonly\n   */\n  id?: string;\n  /**\n   * Product name.\n   *\n   * Min: 1 character\n   * Max: 80 characters\n   * @minLength 1\n   * @maxLength 80\n   */\n  name?: string | null;\n  /**\n   * A friendly URL name (generated automatically by the catalog when a product is created), can be updated.\n   * @maxLength 100\n   */\n  slug?: string;\n  /**\n   * Whether the product is visible to site visitors.\n   *\n   * Supported as a `filter` field in [Query Products](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v1/catalog/query-products).\n   * Unless the request sets `includeHiddenProducts` to `true`, the server adds a `visible`\n   * equals `true` condition to every filter, so `{\"visible\": false}` matches nothing. Set\n   * `includeHiddenProducts` to `true` to include hidden and draft products, and combine it\n   * with a `{\"visible\": false}` filter to get hidden products alone.\n   *\n   * While `includeHiddenProducts` is `false`, the response excludes hidden products and\n   * contains no flag or notice indicating that products were filtered out. `totalResults`\n   * counts the visible products.\n   */\n  visible?: boolean | null;\n  /** Currently, only creating physical products ( `\"productType\": \"physical\"` ) is supported via the API. */\n  productType?: ProductTypeWithLiterals;\n  /**\n   * Product description. Accepts [rich text](https://dev.wix.com/api/rest/wix-stores/rich-text).\n   * @maxLength 8000\n   */\n  description?: string | null;\n  /**\n   * Stock keeping unit. If [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is enabled, SKUs will be set per variant, and this field will be empty.\n   * @maxLength 40\n   */\n  sku?: string | null;\n  /**\n   * Product weight. If [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is enabled, weight will be set per variant, and this field will be empty.\n   * @max 999999999.99\n   */\n  weight?: number | null;\n  /**\n   * Product weight range. The minimum and maximum weights of all the variants.\n   * @readonly\n   */\n  weightRange?: NumericPropertyRange;\n  /** Product dimensions (length, width, height of the physical product). If [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is enabled, dimensions will be set per variant, and this field will be empty. */\n  productDimensions?: Dimensions;\n  /** Package dimensions (length, width, height of the shipping package). If [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is enabled, dimensions will be set per variant, and this field will be empty. */\n  packageDimensions?: Dimensions;\n  /**\n   * Product inventory status (in future this will be writable via Inventory API).\n   * @readonly\n   */\n  stock?: Stock;\n  /**\n   * Deprecated (use `priceData` instead).\n   * @readonly\n   * @deprecated\n   */\n  price?: PriceData;\n  /** Price data. */\n  priceData?: PriceData;\n  /**\n   * Price data, converted to the currency specified in request header.\n   * @readonly\n   */\n  convertedPriceData?: PriceData;\n  /**\n   * Product price range. The minimum and maximum prices of all the variants.\n   * @readonly\n   */\n  priceRange?: NumericPropertyRange;\n  /** Cost and profit data. */\n  costAndProfitData?: CostAndProfitData;\n  /**\n   * Product cost range. The minimum and maximum costs of all the variants.\n   * @readonly\n   */\n  costRange?: NumericPropertyRange;\n  /** Price per unit data. */\n  pricePerUnitData?: PricePerUnitData;\n  /** Additional text that the store owner can assign to the product (e.g. shipping details, refund policy, etc.). */\n  additionalInfoSections?: AdditionalInfoSection[];\n  /**\n   * Deprecated (use `ribbon` instead).\n   * @readonly\n   * @deprecated\n   */\n  ribbons?: Ribbon[];\n  /**\n   * Media items (images, videos etc) associated with this product (writable via [Add Product Media](https://dev.wix.com/api/rest/wix-stores/catalog/products/add-product-media) endpoint).\n   * @readonly\n   */\n  media?: Media;\n  /**\n   * Text box for the customer to add a message to their order (e.g., customization request). Currently writable only from the UI.\n   * @readonly\n   */\n  customTextFields?: CustomTextField[];\n  /** Whether variants are being managed for this product - enables unique SKU, price and weight per variant. Also affects inventory data. */\n  manageVariants?: boolean | null;\n  /**\n   * Options for this product.\n   * @maxSize 6\n   */\n  productOptions?: ProductOption[];\n  /**\n   * Product page URL for this product (generated automatically by the server).\n   * @readonly\n   */\n  productPageUrl?: PageUrl;\n  /**\n   * Product's unique numeric ID (assigned in ascending order).\n   * Primarily used for sorting and filtering when crawling all products.\n   * @readonly\n   */\n  numericId?: string;\n  /**\n   * Inventory item ID - ID referencing the inventory system.\n   * @readonly\n   */\n  inventoryItemId?: string;\n  /** Discount deducted from the product's original price. */\n  discount?: Discount;\n  /**\n   * A list of all collection IDs that this product is included in (writable via the Catalog > Collection APIs).\n   * @readonly\n   */\n  collectionIds?: string[];\n  /**\n   * Product variants, will be provided if the request was sent with the `includeVariants: true`.\n   *\n   * Max: 1,000 variants\n   * @readonly\n   * @maxSize 1000\n   */\n  variants?: Variant[];\n  /**\n   * Date and time the product was last updated.\n   * @readonly\n   */\n  lastUpdated?: Date | null;\n  /**\n   * Date and time the product was created.\n   * @readonly\n   */\n  createdDate?: Date | null;\n  /** Custom SEO data for the product. */\n  seoData?: SeoSchema;\n  /**\n   * Product ribbon. Used to highlight relevant information about a product. For example, \"Sale\", \"New Arrival\", \"Sold Out\".\n   * @maxLength 30\n   */\n  ribbon?: string | null;\n  /**\n   * Product brand. Including a brand name can help improve site and product [visibility on search engines](https://support.wix.com/en/article/adding-brand-names-to-boost-product-page-seo-in-wix-stores).\n   * @minLength 1\n   * @maxLength 50\n   */\n  brand?: string | null;\n  /**\n   * tax group id\n   * @internal\n   * @format GUID\n   */\n  taxGroupId?: string | null;\n  /**\n   * internal field used by import/export to know how to link products in csv file to product ids\n   * @internal\n   * @readonly\n   * @maxLength 100\n   */\n  exportProductId?: string;\n  /**\n   * Digital file which will be downloaded by buyer after successful purchase.\n   * @internal\n   * @readonly\n   */\n  digitalFile?: SecuredMedia;\n}\n\nexport enum ProductType {\n  unspecified_product_type = 'unspecified_product_type',\n  physical = 'physical',\n  digital = 'digital',\n}\n\n/** @enumType */\nexport type ProductTypeWithLiterals =\n  | ProductType\n  | 'unspecified_product_type'\n  | 'physical'\n  | 'digital';\n\nexport interface NumericPropertyRange {\n  /** Minimum value. */\n  minValue?: number;\n  /** Maximum value. */\n  maxValue?: number;\n}\n\nexport interface Dimensions {\n  /**\n   * Length. Measurement unit is handled at the system level (metric/imperial).\n   * @decimalValue options { gte:0, lte:999999999, maxScale:6 }\n   */\n  length?: string | null;\n  /**\n   * Width. Measurement unit is handled at the system level (metric/imperial).\n   * @decimalValue options { gte:0, lte:999999999, maxScale:6 }\n   */\n  width?: string | null;\n  /**\n   * Height. Measurement unit is handled at the system level (metric/imperial).\n   * @decimalValue options { gte:0, lte:999999999, maxScale:6 }\n   */\n  height?: string | null;\n  /** Unit of measurement for dimensions (length, width, height). */\n  unit?: DimensionsUnitWithLiterals;\n}\n\nexport enum DimensionsUnit {\n  UNKNOWN_DIMENSIONS_UNIT = 'UNKNOWN_DIMENSIONS_UNIT',\n  /** Millimeters. */\n  MM = 'MM',\n  /** Centimeters. */\n  CM = 'CM',\n  /** Meters. */\n  M = 'M',\n  /** Inches. */\n  IN = 'IN',\n  /** Feet. */\n  FT = 'FT',\n  /** Yards. */\n  YD = 'YD',\n}\n\n/** @enumType */\nexport type DimensionsUnitWithLiterals =\n  | DimensionsUnit\n  | 'UNKNOWN_DIMENSIONS_UNIT'\n  | 'MM'\n  | 'CM'\n  | 'M'\n  | 'IN'\n  | 'FT'\n  | 'YD';\n\nexport interface Stock {\n  /** Whether inventory is being tracked */\n  trackInventory?: boolean;\n  /**\n   * Quantity currently left in inventory\n   * @max 99999\n   */\n  quantity?: number | null;\n  /**\n   * Whether the product is currently in stock (relevant only when tracking manually)\n   * Deprecated (use `inventoryStatus` instead)\n   * @deprecated\n   */\n  inStock?: boolean;\n  /**\n   * The current status of the inventory\n   * + `IN_STOCK` - In stock\n   * + `OUT_OF_STOCK` - Not in stock\n   * + `PARTIALLY_OUT_OF_STOCK` - Some of the variants are not in stock\n   */\n  inventoryStatus?: InventoryStatusWithLiterals;\n}\n\nexport enum InventoryStatus {\n  /** In stock */\n  IN_STOCK = 'IN_STOCK',\n  /** Not in stock */\n  OUT_OF_STOCK = 'OUT_OF_STOCK',\n  /** Some of the variants are not in stock */\n  PARTIALLY_OUT_OF_STOCK = 'PARTIALLY_OUT_OF_STOCK',\n}\n\n/** @enumType */\nexport type InventoryStatusWithLiterals =\n  | InventoryStatus\n  | 'IN_STOCK'\n  | 'OUT_OF_STOCK'\n  | 'PARTIALLY_OUT_OF_STOCK';\n\nexport interface PriceData {\n  /**\n   * Product price currency\n   * @readonly\n   */\n  currency?: string;\n  /**\n   * Product price\n   * @max 999999999.99\n   */\n  price?: number | null;\n  /**\n   * Discounted product price (if no discounted price is set, the product price is returned)\n   * @readonly\n   */\n  discountedPrice?: number;\n  /**\n   * The product price and discounted price, formatted with the currency\n   * @readonly\n   */\n  formatted?: FormattedPrice;\n  /**\n   * Price per unit\n   * @readonly\n   */\n  pricePerUnit?: number | null;\n}\n\nexport interface FormattedPrice {\n  /** Product price formatted with the currency */\n  price?: string;\n  /** Discounted product price formatted with the currency (if no discounted price is set, the product formatted price is returned) */\n  discountedPrice?: string;\n  /**\n   * Price per unit\n   * @readonly\n   */\n  pricePerUnit?: string | null;\n}\n\nexport interface CostAndProfitData {\n  /**\n   * Item cost.\n   * @max 999999999.99\n   */\n  itemCost?: number | null;\n  /**\n   * Item cost formatted with currency symbol.\n   * @readonly\n   */\n  formattedItemCost?: string;\n  /**\n   * Profit. Calculated by reducing `cost` from `discounted_price`.\n   * @readonly\n   * @max 999999999.99\n   */\n  profit?: number;\n  /**\n   * Profit formatted with currency symbol.\n   * @readonly\n   */\n  formattedProfit?: string;\n  /**\n   * Profit Margin. Calculated by dividing `profit` by `discounted_price`.\n   * The result is rounded to 4 decimal places.\n   * @readonly\n   * @max 1\n   */\n  profitMargin?: number;\n}\n\nexport interface PricePerUnitData {\n  /**\n   * Total quantity\n   * @min 0.01\n   * @max 999999999.99\n   */\n  totalQuantity?: number;\n  /** Total measurement unit */\n  totalMeasurementUnit?: MeasurementUnitWithLiterals;\n  /**\n   * Base quantity\n   * @min 0.01\n   * @max 999999999.99\n   */\n  baseQuantity?: number;\n  /** Base measurement unit */\n  baseMeasurementUnit?: MeasurementUnitWithLiterals;\n}\n\nexport enum MeasurementUnit {\n  UNSPECIFIED = 'UNSPECIFIED',\n  ML = 'ML',\n  CL = 'CL',\n  L = 'L',\n  CBM = 'CBM',\n  MG = 'MG',\n  G = 'G',\n  KG = 'KG',\n  MM = 'MM',\n  CM = 'CM',\n  M = 'M',\n  SQM = 'SQM',\n  OZ = 'OZ',\n  LB = 'LB',\n  FLOZ = 'FLOZ',\n  PT = 'PT',\n  QT = 'QT',\n  GAL = 'GAL',\n  IN = 'IN',\n  FT = 'FT',\n  YD = 'YD',\n  SQFT = 'SQFT',\n}\n\n/** @enumType */\nexport type MeasurementUnitWithLiterals =\n  | MeasurementUnit\n  | 'UNSPECIFIED'\n  | 'ML'\n  | 'CL'\n  | 'L'\n  | 'CBM'\n  | 'MG'\n  | 'G'\n  | 'KG'\n  | 'MM'\n  | 'CM'\n  | 'M'\n  | 'SQM'\n  | 'OZ'\n  | 'LB'\n  | 'FLOZ'\n  | 'PT'\n  | 'QT'\n  | 'GAL'\n  | 'IN'\n  | 'FT'\n  | 'YD'\n  | 'SQFT';\n\nexport interface AdditionalInfoSection {\n  /**\n   * Product info section title\n   * @maxLength 50\n   */\n  title?: string;\n  /**\n   * Product info section description\n   * @maxLength 16000\n   */\n  description?: string;\n}\n\nexport interface Ribbon {\n  /**\n   * Ribbon text\n   * @maxLength 30\n   */\n  text?: string;\n}\n\nexport interface Media {\n  /** Primary media (image, video etc) associated with this product. */\n  mainMedia?: MediaItem;\n  /** Media (images, videos etc) associated with this product. */\n  items?: MediaItem[];\n}\n\nexport interface MediaItem extends MediaItemItemOneOf {\n  /** Image data (URL, size). */\n  image?: MediaItemUrlAndSize;\n  /** Video data (URL, size). */\n  video?: MediaItemVideo;\n  /** Media item thumbnail details. */\n  thumbnail?: MediaItemUrlAndSize;\n  /** Media item type (image, video, etc.). */\n  mediaType?: MediaItemTypeWithLiterals;\n  /** Media item title. */\n  title?: string;\n  /** Media ID (for example, `\"nsplsh_306d666a123a4a74306459~mv2_d_4517_2992_s_4_2.jpg\"`). */\n  id?: string;\n}\n\n/** @oneof */\nexport interface MediaItemItemOneOf {\n  /** Image data (URL, size). */\n  image?: MediaItemUrlAndSize;\n  /** Video data (URL, size). */\n  video?: MediaItemVideo;\n}\n\nexport interface MediaItemUrlAndSize {\n  /**\n   * Media item URL.\n   * @format WEB_URL\n   */\n  url?: string;\n  /** Media item width. */\n  width?: number;\n  /** Media item height. */\n  height?: number;\n  /** Media format (mp4, png, etc.). */\n  format?: string | null;\n  /** Alt text. This text will be shown in case the image is not available. */\n  altText?: string | null;\n}\n\nexport enum MediaItemType {\n  unspecified_media_item_type = 'unspecified_media_item_type',\n  /** Image media type. */\n  image = 'image',\n  /** Video media type. */\n  video = 'video',\n  /** Audio media type. */\n  audio = 'audio',\n  /** Document media type. */\n  document = 'document',\n  /** Zip media type. */\n  zip = 'zip',\n}\n\n/** @enumType */\nexport type MediaItemTypeWithLiterals =\n  | MediaItemType\n  | 'unspecified_media_item_type'\n  | 'image'\n  | 'video'\n  | 'audio'\n  | 'document'\n  | 'zip';\n\nexport interface MediaItemVideo {\n  /** Data (URL, size) about each resolution for which this video is available. */\n  files?: MediaItemUrlAndSize[];\n  /** ID of an image taken from the video. Used primarily for Wix Search indexing. For example, `\"nsplsh_306d666a123a4a74306459~mv2_d_4517_2992_s_4_2.jpg\"`. */\n  stillFrameMediaId?: string;\n}\n\nexport interface CustomTextField {\n  /**\n   * Text box title\n   * @maxLength 100\n   */\n  title?: string;\n  /**\n   * Text box input max length\n   * @max 500\n   */\n  maxLength?: number;\n  /** Whether this text box is mandatory */\n  mandatory?: boolean;\n}\n\nexport interface ProductOption {\n  /**\n   * Option type.\n   * @readonly\n   */\n  optionType?: OptionTypeWithLiterals;\n  /**\n   * Option name.\n   * @minLength 1\n   * @maxLength 50\n   */\n  name?: string;\n  /**\n   * Choices available for this option.\n   * @minSize 1\n   * @maxSize 100\n   */\n  choices?: Choice[];\n}\n\nexport enum OptionType {\n  /** Unspecified option type. */\n  unspecified_option_type = 'unspecified_option_type',\n  /** Drop down. */\n  drop_down = 'drop_down',\n  /** Color. */\n  color = 'color',\n}\n\n/** @enumType */\nexport type OptionTypeWithLiterals =\n  | OptionType\n  | 'unspecified_option_type'\n  | 'drop_down'\n  | 'color';\n\nexport interface Choice {\n  /**\n   * Choice value.\n   * @minLength 1\n   * @maxLength 50\n   */\n  value?: string;\n  /**\n   * Choice description.\n   * @minLength 1\n   * @maxLength 50\n   */\n  description?: string;\n  /**\n   * Media items (images, videos) associated with this choice\n   * @readonly\n   */\n  media?: Media;\n  /**\n   * Based on the customer’s choices, which (if any) variants that include the selected choices are in stock\n   * @readonly\n   */\n  inStock?: boolean;\n  /**\n   * Based on the customer’s choices, which (if any) variants that include the selected choices are visible\n   * @readonly\n   */\n  visible?: boolean;\n}\n\nexport interface PageUrl {\n  /** Base URL. For premium sites, this is the domain. For free sites, this is the site URL (e.g mysite.wixsite.com/mysite). */\n  base?: string;\n  /** Path to the product page - e.g /product-page/a-product. */\n  path?: string;\n}\n\nexport interface Discount {\n  /**\n   * Discount type:\n   * + `\"AMOUNT\"`\n   * + `\"PERCENT\"`\n   */\n  type?: DiscountTypeWithLiterals;\n  /** Discount value */\n  value?: number;\n}\n\nexport enum DiscountType {\n  UNDEFINED = 'UNDEFINED',\n  /** No discount */\n  NONE = 'NONE',\n  /** Discount by a fixed amount */\n  AMOUNT = 'AMOUNT',\n  /** Discount by a percentage */\n  PERCENT = 'PERCENT',\n}\n\n/** @enumType */\nexport type DiscountTypeWithLiterals =\n  | DiscountType\n  | 'UNDEFINED'\n  | 'NONE'\n  | 'AMOUNT'\n  | 'PERCENT';\n\nexport interface Variant {\n  /**\n   * Requested Variant ID\n   * @format GUID\n   */\n  id?: string;\n  /** Specific choices within a selection, as option-choice key-value pairs */\n  choices?: Record<string, string>;\n  variant?: VariantDataWithNoStock;\n  /**\n   * Variant inventory status.\n   * @readonly\n   */\n  stock?: VariantStock;\n}\n\nexport interface VariantDataWithNoStock {\n  /** Variant price. */\n  priceData?: PriceData;\n  /**\n   * Variant price data, converted to currency requested in header.\n   * @readonly\n   */\n  convertedPriceData?: PriceData;\n  /** Cost and profit data. */\n  costAndProfitData?: CostAndProfitData;\n  /** Variant weight. */\n  weight?: number;\n  /** Variant SKU (stock keeping unit). */\n  sku?: string;\n  /** Whether the variant is visible to customers. */\n  visible?: boolean;\n  /** Product dimensions (length, width, height of the physical product). */\n  productDimensions?: Dimensions;\n  /** Package dimensions (length, width, height of the shipping package). */\n  packageDimensions?: Dimensions;\n}\n\nexport interface VariantStock {\n  /** Whether inventory is being tracked. */\n  trackQuantity?: boolean;\n  /**\n   * Quantity currently left in inventory.\n   * @max 99999\n   */\n  quantity?: number | null;\n  /** Whether the product is currently in stock (relevant only when tracking manually). */\n  inStock?: boolean;\n  /**\n   * The location of the inventory in question. None indicates the online-store default location.\n   * @internal\n   * @format GUID\n   */\n  locationId?: string | null;\n}\n\n/**\n * The SEO data for a single page or dynamic item, in the shape stored today.\n *\n * FROZEN. Existing server code maps onto this message field by field, so its\n * field set must never change (see the file header). New writers use\n * `SeoSchemaV2`.\n *\n * These tags are rendered into the <head> of the HTML document and are not\n * visible on the page itself. They override every other source of tags\n * (site defaults, vertical presets, patterns) for this page.\n */\nexport interface SeoSchema {\n  /**\n   * The tags rendered into <head>, in no particular order. Render order is\n   * decided by the renderer, not by position in this list.\n   *\n   * No maxSize: this list is already populated by data written years ago, and\n   * a bound added now could reject a page that is already stored.\n   */\n  tags?: Tag[];\n  /** Page-level SEO settings that are not themselves tags. */\n  settings?: Settings;\n}\n\n/** A keyword term the user is targeting. */\nexport interface Keyword {\n  /**\n   * The term itself, e.g. \"trail running shoes\".\n   *\n   * No maxLength, for the same reason as the legacy tag fields: keywords are\n   * already stored, and a bound added now could reject a record written\n   * before the bound existed. The flynt `missing-string-validations` warning\n   * on this field is accepted deliberately.\n   */\n  term?: string;\n  /** Whether this is the page's primary focus keyword. At most one per page. */\n  isMain?: boolean;\n  /**\n   * Which surface added the term, e.g. a panel or a suggestion flow. Used for\n   * attribution in BI. Opaque to the renderer.\n   * @maxLength 1000\n   */\n  origin?: string | null;\n}\n\n/**\n * One tag in the page's <head>.\n *\n * Not deprecated, and with no removal date, deliberately: stored data is\n * never migrated, so this shape stays valid input forever. `seo-renderer`\n * normalizes both shapes on READ.\n */\nexport interface Tag {\n  /**\n   * Legacy. Was a free-form string: \"title\" | \"meta\" | \"script\" | \"link\".\n   * The typed replacement is the `kind` oneof on `SeoSchemaV2.Tag`, which makes\n   * the invalid combinations unrepresentable rather than merely discouraged.\n   *\n   * Which of these an API actually accepts depends on where the tag is being\n   * set: this list is not a blanket guarantee across every API that reuses\n   * this message. Site SEO Tags in particular accepts only `meta` (see\n   * `SiteSeoTags.tags`) and rejects `title`/`script`/`link` with a validation\n   * error even though they appear here — check the field description of the\n   * specific `tags`-typed field you are writing to.\n   *\n   * Limitation: `title` and `script` (e.g. a `script` tag with `props.type`\n   * \"application/ld+json\" carrying structured data) are supported only when\n   * `custom` is unset or `false`. Setting `custom: true` on a `title` or\n   * `script` tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because\n   * `custom: true` routes the write through the site's Advanced/Custom Tags\n   * list. To write structured data, omit `custom` (or set it to `false`).\n   *\n   * No length limit: this field holds data written years ago by writers we\n   * are not migrating. A constraint here could reject a record that is\n   * already stored, which is exactly the promise this design makes.\n   */\n  type?: string;\n  /**\n   * Legacy. Was an untyped bag of HTML attributes.\n   * Typed replacement: `SeoSchemaV2.TitleTag` / `MetaTag` / `LinkTag`.\n   */\n  props?: Record<string, any> | null;\n  /**\n   * Legacy. Was an untyped bag of 16 mixed-purpose keys. In `SeoSchemaV2`\n   * its contents are split by purpose: per-page structured-data state moves to\n   * StructuredDataTag, authorship to `written_by`, and render-time preset\n   * logic (variants, enabledByExperiment, removeSchemaIf*) moved out of the\n   * stored document entirely — it belongs to the preset definition, not to the\n   * page. See the design log for the full key-by-key mapping.\n   */\n  meta?: Record<string, any> | null;\n  /**\n   * Legacy. Was the tag's inner content, doubling as the JSON-LD payload\n   * for script tags. Typed replacement: `SeoSchemaV2.TitleTag.text` and\n   * `StructuredDataTag.json_ld`.\n   * No length limit, for the same reason as `type` above.\n   */\n  children?: string;\n  /**\n   * Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —\n   * i.e. an entry from the site's Advanced/Custom Tags list.\n   *\n   * Setting this to `true` on a write restricts which `type` values are\n   * accepted — the same restriction the Advanced/Custom Tags UI enforces.\n   * `title` and `script` tags (including JSON-LD structured data) must be sent\n   * with `custom` omitted or `false`; sending them with `custom: true` is\n   * rejected with `TAG_TYPE_NOT_ALLOWED`.\n   *\n   * Note this is a separate restriction from Site SEO Tags' own type\n   * restriction on `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags\n   * rejects `script` (e.g. for site-wide structured data) unconditionally.\n   * There is currently no way to set site-wide, every-page structured data\n   * through any of these APIs — write a per-page `script` tag through the Item\n   * SEO Tags API instead.\n   *\n   * This flag is scoped to that feature only. It is NOT an indicator of whether a standard tag\n   * (`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed\n   * default/pattern — standard tags always resolve with `custom: false`, even when their content comes\n   * from a page's manually saved SEO title/description override. Don't use this field to verify whether\n   * a live page reflects a manual per-page SEO edit.\n   *\n   * Limitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read\n   * only from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor\n   * or Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the\n   * response entirely — there, `false` means this API could not tell, not that no custom tag exists.\n   * Pass `seoData` explicitly to resolve against a known set of tags.\n   *\n   * `SeoSchemaV2.Tag` expresses this as `written_by = USER_CUSTOM`.\n   */\n  custom?: boolean;\n  /**\n   * Whether the tag is excluded from the rendered <head>.\n   *\n   * A disabled tag is still stored, so the user can re-enable it and so a\n   * pattern-provided tag stays suppressed on this page. Default false.\n   */\n  disabled?: boolean;\n}\n\n/** Page-level SEO settings that are not tags. */\nexport interface Settings {\n  /**\n   * Whether to suppress the automatic redirect from this page's previous URL to\n   * its current one after a slug change.\n   *\n   * Default false, meaning the redirect IS created. The field is named for the\n   * exception rather than the rule, which reads backwards; kept as-is because\n   * renaming a stored boolean is not worth the migration.\n   */\n  preventAutoRedirect?: boolean;\n  /**\n   * Keyword terms the user is targeting for this page. Used by the SEO\n   * assistant and checklist; never rendered into <head>.\n   *\n   * 20 is a sanity bound, not the product limit. v1 declared 5 — the number\n   * the panel happens to allow today — which is exactly the mistake we are\n   * fixing for structured data. A product decision to allow 8 should not need\n   * a proto release, so the panel owns that number and the proto only stops\n   * something absurd.\n   * @maxSize 20\n   */\n  keywords?: Keyword[];\n}\n\nexport interface SecuredMedia {\n  /**\n   * Media ID in Wix Media Manager.\n   * @minLength 1\n   * @maxLength 100\n   */\n  id?: string;\n  /**\n   * Original filename.\n   * @minLength 1\n   * @maxLength 1000\n   */\n  fileName?: string;\n  /** File type. */\n  fileType?: FileTypeWithLiterals;\n}\n\nexport enum FileType {\n  /** Unspecified file type. */\n  UNSPECIFIED = 'UNSPECIFIED',\n  /** Secure picture file. */\n  SECURE_PICTURE = 'SECURE_PICTURE',\n  /** Secure video file. */\n  SECURE_VIDEO = 'SECURE_VIDEO',\n  /** Secure document file. */\n  SECURE_DOCUMENT = 'SECURE_DOCUMENT',\n  /** Secure music file. */\n  SECURE_MUSIC = 'SECURE_MUSIC',\n  /** Secure archive file. */\n  SECURE_ARCHIVE = 'SECURE_ARCHIVE',\n  /** Secure raw file. */\n  SECURE_RAW = 'SECURE_RAW',\n  /**\n   * Secure vector graphics file, such as an SVG file.\n   * @documentationMaturity preview\n   * @internal\n   */\n  SECURE_VECTOR = 'SECURE_VECTOR',\n}\n\n/** @enumType */\nexport type FileTypeWithLiterals =\n  | FileType\n  | 'UNSPECIFIED'\n  | 'SECURE_PICTURE'\n  | 'SECURE_VIDEO'\n  | 'SECURE_DOCUMENT'\n  | 'SECURE_MUSIC'\n  | 'SECURE_ARCHIVE'\n  | 'SECURE_RAW';\n\nexport interface CreateProductRequest {\n  /** Product information. */\n  product?: Product;\n}\n\nexport interface CreateProductResponse {\n  product?: Product;\n}\n\nexport interface CreateProductPlatformizedRequest {\n  /** Product information. */\n  product?: Product;\n}\n\nexport interface CreateProductPlatformizedResponse {\n  product?: Product;\n}\n\nexport interface CreateDigitalProductRequest {\n  /** Product information. */\n  product?: Product;\n}\n\nexport interface CreateDigitalProductResponse {\n  /** Created product. */\n  product?: Product;\n}\n\nexport interface UpdateProductRequest {\n  product: Product;\n}\n\nexport interface UpdateProductResponse {\n  product?: Product;\n}\n\nexport interface UpdateProductPlatformizedRequest {\n  product?: Product;\n}\n\nexport interface UpdateProductPlatformizedResponse {\n  product?: Product;\n}\n\nexport interface DeleteProductRequest {\n  /** ID of the product to delete. */\n  id: string;\n}\n\nexport interface DeleteProductResponse {}\n\nexport interface DeleteProductPlatformizedRequest {\n  /** ID of the product to delete. */\n  id?: string;\n}\n\nexport interface DeleteProductPlatformizedResponse {}\n\nexport interface BulkDeleteProductsRequest {\n  /**\n   * IDs of the products to be deleted.\n   * @maxSize 1000\n   */\n  ids?: string[];\n}\n\nexport interface BulkDeleteProductsResponse {}\n\nexport interface UpdateVariantsRequest {\n  /** ID of the product with managed variants. */\n  id: string;\n  /** Variant info to update. */\n  variants?: VariantOverride[];\n}\n\nexport interface VariantOverride {\n  /** The specific choices available or chosen from within a selection (e.g., choosing the red Selection triggers the red Choice). You may specify all the relevant choices for a specific variant, or only some of the options, which will return all corresponding variants (Not relevant when passing variant IDs) */\n  choices?: Record<string, string>;\n  /**\n   * List of variant IDs\n   * (Not relevant when passing choices)\n   */\n  variantIds?: string[];\n  /**\n   * Variant price\n   * @max 999999999.99\n   */\n  price?: number | null;\n  /**\n   * Variant cost of goods\n   * @max 999999999.99\n   */\n  cost?: number | null;\n  /**\n   * Variant weight\n   * @max 999999999.99\n   */\n  weight?: number | null;\n  /**\n   * Variant SKU (stock keeping unit)\n   * @maxLength 40\n   */\n  sku?: string | null;\n  /** Whether the variant is visible to  customers */\n  visible?: boolean | null;\n  /** Product dimensions (length, width, height of the physical product) */\n  productDimensions?: Dimensions;\n  /** Package dimensions (length, width, height of the shipping package) */\n  packageDimensions?: Dimensions;\n}\n\nexport interface UpdateVariantsResponse {\n  /** List of the product's variants. */\n  variants?: Variant[];\n}\n\nexport interface ResetAllVariantDataRequest {\n  /** Product ID. */\n  id: string;\n}\n\nexport interface ResetAllVariantDataResponse {}\n\nexport interface AddProductsToCollectionRequest {\n  /**\n   * Collection ID.\n   * @format GUID\n   */\n  id: string;\n  /**\n   * IDs of the products to add to the collection, separated by commas.\n   * @maxSize 1000\n   */\n  productIds?: string[];\n}\n\nexport interface AddProductsToCollectionResponse {}\n\nexport interface RemoveProductsFromCollectionRequest {\n  /**\n   * Collection ID.\n   * @format GUID\n   */\n  id: string;\n  /**\n   * IDs of the products to remove from the collection.\n   * @maxSize 1000\n   */\n  productIds: string[];\n}\n\nexport interface RemoveProductsFromCollectionResponse {}\n\nexport interface AddProductMediaRequest {\n  /** Product ID. */\n  id: string;\n  /**\n   * Sources of media items already uploaded to the Wix site.\n   * @minSize 1\n   * @maxSize 50\n   */\n  media?: MediaDataForWrite[];\n}\n\nexport interface MediaDataForWrite extends MediaDataForWriteMediaSourceOneOf {\n  /** Media ID. For media items previously saved in Wix Media, the media ID is returned in the Query Product response. */\n  mediaId?: string;\n  /**\n   * Media external URL (for new media items).\n   * @format WEB_URL\n   */\n  url?: string;\n  /**\n   * Assign this media item to a specific product choice.\n   * Note that you may set media items for choices under only one option (e.g., if Colors blue, green, and red have media items, Sizes S, M, and L can't have media items assigned to them).\n   * You may clear existing media from choices with the [Remove Product Media From Choices](/catalog/products/remove-product-media-from-choices).\n   */\n  choice?: OptionAndChoice;\n}\n\n/** @oneof */\nexport interface MediaDataForWriteMediaSourceOneOf {\n  /** Media ID. For media items previously saved in Wix Media, the media ID is returned in the Query Product response. */\n  mediaId?: string;\n  /**\n   * Media external URL (for new media items).\n   * @format WEB_URL\n   */\n  url?: string;\n}\n\nexport interface OptionAndChoice {\n  /**\n   * Option to add the media to.\n   * @minLength 1\n   * @maxLength 50\n   */\n  option?: string;\n  /**\n   * Choice to add the media to.\n   * @minLength 1\n   * @maxLength 50\n   */\n  choice?: string;\n}\n\nexport interface AddProductMediaResponse {}\n\nexport interface RemoveProductMediaRequest {\n  /** Product ID. */\n  id: string;\n  /**\n   * List of media IDs to remove. Pass an empty array to delete all media items for the product.\n   * @maxSize 50\n   */\n  mediaIds?: string[];\n}\n\nexport interface RemoveProductMediaResponse {}\n\nexport interface AddProductMediaToChoicesRequest {\n  /** Product ID. */\n  id: string;\n  /**\n   * Product media items and the choices to add the media to.\n   * @minSize 1\n   * @maxSize 10\n   */\n  media?: MediaAssignmentToChoice[];\n}\n\nexport interface MediaAssignmentToChoice {\n  /**\n   * Option name.\n   * @minLength 1\n   * @maxLength 50\n   */\n  option?: string;\n  /**\n   * Choice name.\n   * @minLength 1\n   * @maxLength 50\n   */\n  choice?: string;\n  /**\n   * Media IDs (available via the Query Product endpoint).\n   * @maxSize 50\n   */\n  mediaIds?: string[];\n}\n\nexport interface AddProductMediaToChoicesResponse {}\n\nexport interface RemoveProductMediaFromChoicesRequest {\n  /** Product ID from whose choices to remove media items. */\n  id: string;\n  /**\n   * Media to remove from choices.\n   * @minSize 1\n   * @maxSize 10\n   */\n  media?: MediaAssignmentToChoice[];\n}\n\nexport interface RemoveProductMediaFromChoicesResponse {}\n\nexport interface DeleteProductOptionsRequest {\n  /** ID of the product with options to delete. */\n  id: string;\n}\n\nexport interface DeleteProductOptionsResponse {}\n\nexport interface SetCustomFieldsRequest {\n  /** Product ID. */\n  id?: string;\n  /** Custom field that will be added, if a custom field with the same name already exists, the value of the custom field will be overridden. */\n  customFields?: Record<string, any>;\n}\n\nexport interface SetCustomFieldsResponse {}\n\nexport interface RemoveCustomFieldsRequest {\n  /** Product ID. */\n  id?: string;\n  /**\n   * Custom fields to be removed (by name).\n   * @minLength 1\n   * @maxLength 100\n   */\n  names?: string[];\n}\n\nexport interface RemoveCustomFieldsResponse {}\n\nexport interface RemoveProductBrandRequest {\n  /** Product ID. */\n  id: string;\n}\n\nexport interface RemoveProductBrandResponse {}\n\nexport interface BulkSetCustomFieldsRequest {\n  /** Filter string. */\n  filter?: string | null;\n  /** Custom field that will be added, if a custom field with same name already exists, the value of the custom field will be overridden. */\n  customFields?: Record<string, any>;\n}\n\nexport interface BulkSetCustomFieldsResponse {}\n\nexport interface BulkRemoveCustomFieldsRequest {\n  /** Filter string. */\n  filter?: string | null;\n  /**\n   * Custom fields names.\n   * @minLength 1\n   * @maxLength 100\n   */\n  names?: string[];\n}\n\nexport interface BulkRemoveCustomFieldsResponse {}\n\nexport interface CreateCollectionRequest {\n  /** Collection info. */\n  collection: Collection;\n}\n\nexport interface Collection {\n  /**\n   * Collection ID (generated automatically by the catalog).\n   * @minLength 35\n   * @maxLength 36\n   * @readonly\n   */\n  id?: string | null;\n  /**\n   * Collection name.\n   * @minLength 1\n   * @maxLength 50\n   */\n  name?: string | null;\n  /**\n   * Media items (images, videos etc) associated with this collection. Read only.\n   * @readonly\n   */\n  media?: Media;\n  /**\n   * Number of products in the collection. Read only.\n   * @readonly\n   */\n  numberOfProducts?: number;\n  /**\n   * Collection description.\n   * @maxLength 600\n   */\n  description?: string | null;\n  /**\n   * Collection slug.\n   * @minLength 1\n   * @maxLength 100\n   */\n  slug?: string | null;\n  /** Collection visibility. Only impacts dynamic pages, no impact on static pages. Default: `true`. */\n  visible?: boolean | null;\n  /**\n   * Custom SEO data for the collection.\n   * @internal\n   */\n  seoSchema?: SeoSchema;\n  /**\n   * Date and time the collection was updated.\n   * @internal\n   * @readonly\n   */\n  lastUpdated?: Date | null;\n}\n\nexport interface CreateCollectionResponse {\n  /** Collection. */\n  collection?: Collection;\n}\n\nexport interface UpdateCollectionRequest {\n  /** Collection info. */\n  collection: Collection;\n}\n\nexport interface UpdateCollectionResponse {\n  /** Updated collection. */\n  collection?: Collection;\n}\n\nexport interface DeleteCollectionRequest {\n  /**\n   * ID of the collection to delete.\n   * @format GUID\n   */\n  id: string;\n}\n\nexport interface DeleteCollectionResponse {}\n\nexport interface RemoveProductRibbonRequest {\n  /** Product ID. */\n  id: string;\n}\n\nexport interface RemoveProductRibbonResponse {}\n\nexport interface BulkUpdateProductsRequest {\n  /**\n   * Product IDs.\n   * @minSize 1\n   * @maxSize 100\n   */\n  ids: string[];\n  /** Field to update. */\n  set?: SetValue;\n}\n\nexport interface SetValue extends SetValueValueOneOf {\n  /**\n   * Set product price.\n   * If [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is enabled,\n   * variant prices will be calculated according to the set product price.\n   * If variant price is negative after setting new price, the update will fail.\n   * @max 999999999.99\n   */\n  price?: number;\n  /**\n   * Set product cost of goods.\n   * If [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is enabled,\n   * cost of goods will be set per variant.\n   * @max 999999999.99\n   */\n  cost?: number;\n  /**\n   * Set product weight.\n   * If [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is enabled,\n   * weight will be set per variant.\n   * @max 999999999.99\n   */\n  weight?: number;\n  /**\n   * Set product ribbon. Pass empty string to remove existing ribbon.\n   * @maxLength 30\n   */\n  ribbon?: string;\n  /**\n   * Set product brand. Pass empty string to remove existing brand.\n   * @maxLength 50\n   */\n  brand?: string;\n}\n\n/** @oneof */\nexport interface SetValueValueOneOf {\n  /**\n   * Set product price.\n   * If [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is enabled,\n   * variant prices will be calculated according to the set product price.\n   * If variant price is negative after setting new price, the update will fail.\n   * @max 999999999.99\n   */\n  price?: number;\n  /**\n   * Set product cost of goods.\n   * If [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is enabled,\n   * cost of goods will be set per variant.\n   * @max 999999999.99\n   */\n  cost?: number;\n  /**\n   * Set product weight.\n   * If [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is enabled,\n   * weight will be set per variant.\n   * @max 999999999.99\n   */\n  weight?: number;\n  /**\n   * Set product ribbon. Pass empty string to remove existing ribbon.\n   * @maxLength 30\n   */\n  ribbon?: string;\n  /**\n   * Set product brand. Pass empty string to remove existing brand.\n   * @maxLength 50\n   */\n  brand?: string;\n}\n\nexport interface BulkUpdateProductsResponse {\n  /** Bulk action results. */\n  results?: BulkProductResult[];\n  /** Bulk action metadata. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkProductResult {\n  /** Item metadata. */\n  itemMetadata?: ItemMetadata;\n}\n\nexport interface ItemMetadata {\n  /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */\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 BulkUpdateProductsByFilterSyncRequest {\n  /** Filter object. Learn more about supported filters [here](https://bo.wix.com/wix-docs/rest/stores/stores-catalog/filter-and-sort). */\n  filter?: Record<string, any> | null;\n  /** The field to update. */\n  set?: SetValue;\n}\n\nexport interface BulkUpdateProductsByFilterSyncResponse {\n  /** Items updated by bulk action. */\n  results?: BulkProductResult[];\n  /** Bulk action metadata. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface AllowedProductsCountLimitExceededErrorData {\n  /** Total number of products */\n  totalCount?: number;\n}\n\nexport interface BulkAdjustProductPropertiesRequest {\n  /**\n   * Product IDs.\n   * @minSize 1\n   * @maxSize 100\n   */\n  ids: string[];\n  /** Numerical property to adjust. */\n  adjust?: AdjustValue;\n}\n\nexport interface AdjustValue extends AdjustValueValueOneOf {\n  /**\n   * Adjust product price.\n   * If [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is enabled,\n   * variants prices will be calculated according to the adjusted price.\n   * If variant price is negative after the adjustment, the update will fail.\n   */\n  price?: PropertyAdjustmentData;\n  /**\n   * Adjust product cost of goods.\n   * If [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is enabled,\n   * cost of goods will be adjusted per variant.\n   */\n  cost?: PropertyAdjustmentData;\n  /**\n   * Adjust product weight.\n   * If [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is enabled,\n   * weight will be adjusted per variant.\n   */\n  weight?: PropertyAdjustmentData;\n}\n\n/** @oneof */\nexport interface AdjustValueValueOneOf {\n  /**\n   * Adjust product price.\n   * If [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is enabled,\n   * variants prices will be calculated according to the adjusted price.\n   * If variant price is negative after the adjustment, the update will fail.\n   */\n  price?: PropertyAdjustmentData;\n  /**\n   * Adjust product cost of goods.\n   * If [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is enabled,\n   * cost of goods will be adjusted per variant.\n   */\n  cost?: PropertyAdjustmentData;\n  /**\n   * Adjust product weight.\n   * If [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is enabled,\n   * weight will be adjusted per variant.\n   */\n  weight?: PropertyAdjustmentData;\n}\n\nexport interface PropertyAdjustmentData extends PropertyAdjustmentDataByOneOf {\n  /** Adjust by percentage. */\n  percentage?: PercentageData;\n  /**\n   * Adjust by amount.\n   * @min -999999999.99\n   * @max 999999999.99\n   */\n  amount?: number;\n}\n\n/** @oneof */\nexport interface PropertyAdjustmentDataByOneOf {\n  /** Adjust by percentage. */\n  percentage?: PercentageData;\n  /**\n   * Adjust by amount.\n   * @min -999999999.99\n   * @max 999999999.99\n   */\n  amount?: number;\n}\n\nexport interface PercentageData {\n  /**\n   * If `true`, result will be rounded to the nearest whole number.\n   * If `false`, result will be rounded to 2 places after the decimal point.\n   */\n  roundToInt?: boolean;\n  /**\n   * Percentage value, as a whole number (integer) between `-100` and `1000`.\n   *\n   * For example:\n   * + Pass `100` to increase value by 100% (multiply original value by 2).\n   * + Pass `1000` to increase value by 1000% (multiply original value by 10).\n   * + Pass `-50` to decrease value by 50% (original value is halved).\n   * @min -100\n   * @max 1000\n   */\n  rate?: number;\n}\n\nexport interface BulkAdjustProductPropertiesResponse {\n  /** Bulk action results. */\n  results?: BulkProductResult[];\n  /** Bulk action metadata. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkAdjustProductPropertiesByFilterSyncRequest {\n  /** Filter object. Learn more about supported filters [here](https://bo.wix.com/wix-docs/rest/stores/stores-catalog/filter-and-sort). */\n  filter?: Record<string, any> | null;\n  /** Numerical property to adjust. */\n  adjust?: AdjustValue;\n}\n\nexport interface BulkAdjustProductPropertiesByFilterSyncResponse {\n  /** Items updated by bulk action. */\n  results?: BulkProductResult[];\n  /** Bulk action metadata. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface ReCloneStoreRequest {\n  /**\n   * Description of value\n   * @format GUID\n   */\n  metasiteId?: string | null;\n  /** @format GUID */\n  originalMetasiteId?: string | null;\n}\n\nexport interface ReCloneStoreResponse {}\n\nexport interface ProductCreated {\n  /** Product ID (generated automatically by the catalog). */\n  productId?: string;\n  /** Product name. */\n  name?: string;\n  /** Product price. */\n  price?: PriceData;\n  /** Whether the product is visible to customers. */\n  visible?: boolean;\n  /** Media items (images, videos, etc.) associated with this product. */\n  media?: Media;\n  /** Product stock keeping unit (SKU). If variants are being managed, this will be empty. */\n  sku?: string;\n  /** Product page URL for this product (generated automatically by the server). */\n  productPageUrl?: PageUrl;\n  /** Product brand. */\n  brand?: string | null;\n  /** Cost and profit data */\n  costAndProfitData?: CostAndProfitData;\n  /** Information about the version of the catalog from where this event was triggered. */\n  originatedFromVersion?: VersionWithLiterals;\n  /** Event slug. A human readable identifier of the event. */\n  slug?: string;\n}\n\nexport enum Version {\n  /** Version 1 of the catalog. */\n  V1_CATALOG = 'V1_CATALOG',\n  /** Version 3 of the catalog. */\n  V3_CATALOG = 'V3_CATALOG',\n  /** Stores app is not installed. */\n  STORES_NOT_INSTALLED = 'STORES_NOT_INSTALLED',\n}\n\n/** @enumType */\nexport type VersionWithLiterals =\n  | Version\n  | 'V1_CATALOG'\n  | 'V3_CATALOG'\n  | 'STORES_NOT_INSTALLED';\n\nexport interface ProductChanged {\n  /** Product ID. */\n  productId?: string;\n  /** List of product fields that were changed. */\n  changedFields?: string[];\n  /**\n   * product revision\n   * @internal\n   */\n  revision?: string;\n  /** Information about the version of the catalog from where this event was triggered. */\n  originatedFromVersion?: VersionWithLiterals;\n}\n\nexport interface ProductDeleted {\n  /** ID of the product that was deleted. */\n  productId?: string;\n  /** Information about the version of the catalog from where this event was triggered. */\n  originatedFromVersion?: VersionWithLiterals;\n}\n\nexport interface CollectionCreated {\n  /** Collection ID (generated automatically by the catalog). */\n  collection_Id?: string;\n  /** Collection name. */\n  name?: string;\n  /** Media items (images, videos, etc.) associated with this collection. */\n  media?: Media;\n  /** Collection slug */\n  slug?: string;\n  /** Collection visible status */\n  visible?: boolean;\n  /** Information about the version of the catalog from where this event was triggered. */\n  originatedFromVersion?: VersionWithLiterals;\n}\n\nexport interface CollectionChanged {\n  /** Collection ID (generated automatically by the catalog). */\n  collection_Id?: string;\n  /** List of collection fields that were changed. */\n  changedFields?: string[];\n  /** Information about the version of the catalog from where this event was triggered. */\n  originatedFromVersion?: VersionWithLiterals;\n}\n\nexport interface CollectionDeleted {\n  /** ID of the collection that was deleted. */\n  collection_Id?: string;\n  /** Information about the version of the catalog from where this event was triggered. */\n  originatedFromVersion?: VersionWithLiterals;\n}\n\nexport interface VariantsChanged {\n  /** Product ID. */\n  productId?: string;\n  /** List of variants that were changed. */\n  variants?: VariantChanged[];\n  /** Information about the version of the catalog from where this event was triggered. */\n  originatedFromVersion?: VersionWithLiterals;\n}\n\nexport interface VariantChanged {\n  /** Variant ID. */\n  variantId?: string;\n  choices?: Record<string, string>;\n  /** List of variant fields that were changed. */\n  changedFields?: string[];\n  /** Information about the version of the catalog from where this event was triggered. */\n  originatedFromVersion?: VersionWithLiterals;\n}\n\nexport interface QueryProductsRequest {\n  query?: Query;\n  /** Whether variants should be included in the response. */\n  includeVariants?: boolean;\n  /**\n   * Whether hidden products should be included in the response. Requires permissions to manage products.\n   * Defaults to `false`. If omitted on a catalog that contains hidden/draft products, those products are\n   * silently excluded — the response carries no indication that any products were filtered out, and\n   * `totalResults` will only count the visible ones.\n   */\n  includeHiddenProducts?: boolean;\n  /** Whether merchant specific data should be included in the response. Requires permissions to manage products. */\n  includeMerchantSpecificData?: boolean;\n}\n\nexport interface Query {\n  paging?: Paging;\n  /** Filter string */\n  filter?: string | null;\n  /** Sort string */\n  sort?: string | null;\n}\n\nexport interface Paging {\n  /**\n   * Amount of items to load per page\n   * @max 100\n   */\n  limit?: number | null;\n  /** Number of items to skip in the display (relevant for all pages after the first) */\n  offset?: number | null;\n}\n\nexport interface QueryProductsResponse {\n  products?: Product[];\n  metadata?: PagingMetadata;\n  totalResults?: number;\n}\n\nexport interface PagingMetadata {\n  /** Amount of items to load per page */\n  items?: number;\n  /** Number of items to skip in the display (relevant for all pages after the first) */\n  offset?: number;\n}\n\nexport interface QueryProductsPlatformizedRequest {\n  query?: PlatformQuery;\n}\n\nexport interface PlatformQuery extends PlatformQueryPagingMethodOneOf {\n  /** Pointer to page of results using offset. Cannot be used together with `cursorPaging`. */\n  paging?: PlatformPaging;\n  /** Cursor pointing to page of results. Cannot be used together with `paging`. `cursorPaging.cursor` can not be used together with `filter` or `sort`. */\n  cursorPaging?: CursorPaging;\n  /** Filter object. */\n  filter?: Record<string, any> | null;\n  /** Sorting options. For example, `[{\"fieldName\":\"sortField1\"},{\"fieldName\":\"sortField2\",\"direction\":\"DESC\"}]`. */\n  sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface PlatformQueryPagingMethodOneOf {\n  /** Pointer to page of results using offset. Cannot be used together with `cursorPaging`. */\n  paging?: PlatformPaging;\n  /** Cursor pointing to page of results. Cannot be used together with `paging`. `cursorPaging.cursor` can not be used together with `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   * Origin point for geo-distance sorting on a GEO field\n   * results are ordered by distance from this point (ASC = nearest first, DESC = farthest first).\n   */\n  origin?: AddressLocation;\n}\n\nexport enum SortOrder {\n  ASC = 'ASC',\n  DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface AddressLocation {\n  /** Address latitude. */\n  latitude?: number | null;\n  /** Address longitude. */\n  longitude?: number | null;\n}\n\nexport interface PlatformPaging {\n  /**\n   * Number of items to load.\n   * @max 100\n   */\n  limit?: number | null;\n  /** Number of items to skip in the current sort order. */\n  offset?: number | null;\n}\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 QueryProductsPlatformizedResponse {\n  /** @maxSize 100 */\n  products?: Product[];\n  metadata?: PlatformPagingMetadata;\n}\n\nexport interface PlatformPagingMetadata {\n  /** The number of items returned in this response. */\n  count?: number | null;\n  /** The offset which was requested. Returned if offset paging was used. */\n  offset?: number | null;\n  /** The total number of items that match the query. Returned if offset paging was used. */\n  total?: number | null;\n  /** Cursors to navigate through result pages. Returned if cursor paging was used. */\n  cursors?: Cursors;\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 QueryProductsWithBigPageLimitRequest {\n  query?: QueryWithBigPageLimit;\n  /** Whether variants should be included in the response. */\n  includeVariants?: boolean;\n  /** Whether hidden products should be included in the response. Requires permissions to manage products. */\n  includeHiddenProducts?: boolean;\n  /** Whether merchant specific data should be included in the response. Requires permissions to manage products. */\n  includeMerchantSpecificData?: boolean;\n}\n\nexport interface QueryWithBigPageLimit {\n  paging?: PagingWithBigLimit;\n  /** Filter string */\n  filter?: string | null;\n  /** Sort string */\n  sort?: string | null;\n}\n\nexport interface PagingWithBigLimit {\n  /**\n   * Amount of items to load per page\n   * @max 600\n   */\n  limit?: number | null;\n  /** Number of items to skip in the display (relevant for all pages after the first) */\n  offset?: number | null;\n}\n\nexport interface GetProductsRequest {\n  /**\n   * Requested product IDs.\n   * @minSize 1\n   * @maxSize 250\n   */\n  ids?: string[];\n  /** @internal */\n  includeMerchantSpecificData?: boolean | null;\n}\n\nexport interface GetProductsResponse {\n  products?: Product[];\n}\n\nexport interface GetProductRequest {\n  /**\n   * Requested product ID.\n   * @minLength 1\n   */\n  id: string;\n  /** Whether merchant specific data, such as cost and profit data, should be included in the response. Requires permissions to manage products. */\n  includeMerchantSpecificData?: boolean;\n}\n\nexport interface GetProductResponse {\n  /** Requested product data. */\n  product?: Product;\n}\n\nexport interface GetProductPlatformizedRequest {\n  /**\n   * Requested product ID.\n   * @minLength 1\n   */\n  id?: string;\n  /** Whether merchant specific data, such as cost and profit data, should be included in the response. Requires permissions to manage products. */\n  includeMerchantSpecificData?: boolean;\n}\n\nexport interface GetProductPlatformizedResponse {\n  /** Requested product data. */\n  product?: Product;\n}\n\nexport interface QueryCollectionsRequest {\n  /** Query options. */\n  query?: Query;\n  /** Whether number of products should be included in the response. */\n  includeNumberOfProducts?: boolean;\n  /** Wether to include collection description in the response. When `false` is passed, `collection.description` will return null. */\n  includeDescription?: boolean;\n  /**\n   * Include SeoSchema in response. When False, SeoSchema will be null\n   * @internal\n   */\n  includeSeoSchema?: boolean;\n}\n\nexport interface QueryCollectionsResponse {\n  /** List of collections. */\n  collections?: Collection[];\n  /** Details on the paged set of results returned. */\n  metadata?: PagingMetadata;\n  /** Total number of results returned. */\n  totalResults?: number;\n}\n\nexport interface QueryCollectionsPlatformizedRequest {\n  query?: PlatformQuery;\n}\n\nexport interface QueryCollectionsPlatformizedResponse {\n  /** @maxSize 100 */\n  collections?: Collection[];\n  metadata?: PlatformPagingMetadata;\n}\n\nexport interface GetCollectionRequest {\n  /**\n   * Requested collection ID.\n   * @minLength 35\n   * @maxLength 36\n   */\n  id?: string;\n  /**\n   * Whether to return the `collection.numberOfProducts` field in the response.\n   * Defaults to `false`, in which case the value of `collection.numberOfProducts` will be `0`.\n   */\n  includeNumberOfProducts?: boolean;\n}\n\nexport interface GetCollectionResponse {\n  /** The requested collection. */\n  collection?: Collection;\n}\n\nexport interface GetCollectionBySlugRequest {\n  /**\n   * Slug of the collection to retrieve.\n   * @minLength 1\n   * @maxLength 100\n   */\n  slug: string;\n}\n\nexport interface GetCollectionBySlugResponse {\n  /** The requested collection. */\n  collection?: Collection;\n}\n\nexport interface ProductOptionsAvailabilityRequest {\n  /**\n   * Requested product ID.\n   * @minLength 1\n   */\n  id: string;\n  /** Array containing the selected options. For example, `{\"color\": \"Blue\", \"size\": \"Large\"}`. */\n  options?: Record<string, string>;\n}\n\nexport interface ProductOptionsAvailabilityResponse {\n  /** Variant information, given that all the choices were provided. */\n  selectedVariant?: VariantData;\n  /** Information about media items (images, videos, etc.) associated with this choice. */\n  media?: Media;\n  /** Options information (color, size, etc.) for this product, with the inventory and visibility fields updated based on the provided choices. */\n  productOptions?: ProductOption[];\n  /** Whether all the selected choices result in a visible, in-stock variant. */\n  availableForPurchase?: boolean;\n  /**\n   * Whether the variant is managed or represents a product.\n   * @internal\n   */\n  managedProduct?: boolean;\n}\n\nexport interface VariantData {\n  /** Variant price. */\n  price?: PriceData;\n  /**\n   * Variant price data converted to currency provided in header.\n   * @readonly\n   */\n  convertedPriceData?: PriceData;\n  /** Variant weight. */\n  weight?: number | null;\n  /** Variant SKU (stock keeping unit). */\n  sku?: string;\n  /** Quantity currently in inventory (relevant only when tracking by inventory). */\n  quantity?: number | null;\n  /** Whether the product is currently in stock (relevant only when tracking manually). */\n  inStock?: boolean;\n  /** Whether the variant is visible to customers. */\n  visible?: boolean;\n  /**\n   * Variant ID.\n   * @internal\n   * @format GUID\n   */\n  variantId?: string;\n  /** Product dimensions (length, width, height of the physical product). */\n  productDimensions?: Dimensions;\n  /** Package dimensions (length, width, height of the shipping package). */\n  packageDimensions?: Dimensions;\n}\n\nexport interface QueryProductVariantsRequest {\n  /**\n   * Requested product ID.\n   * @minLength 1\n   */\n  id: string;\n  /**\n   * The specific choices available or chosen from within a selection (e.g., choosing the red Selection triggers the red Choice).\n   * You may specify all the relevant choices for a specific variant, or only some of the options, which will return all corresponding variants (not relevant when passing variant IDs).\n   */\n  choices?: Record<string, string>;\n  /** List of variant IDs (not relevant when passing choices). */\n  variantIds?: string[];\n  paging?: Paging;\n  /** Whether merchant specific data should be included in the response. Requires permissions to manage products. */\n  includeMerchantSpecificData?: boolean;\n}\n\nexport interface QueryProductVariantsResponse {\n  /** List of variants based on the specified filters and sorting. */\n  variants?: Variant[];\n  metadata?: PagingMetadata;\n  totalResults?: number;\n}\n\nexport interface QueryStoreVariantsRequest {\n  /** Query options. */\n  query?: PlatformQuery;\n  /**\n   * Requested custom field names.\n   * @internal\n   * @maxLength 100\n   */\n  customFields?: string[];\n  /**\n   * Include variants for different locations\n   * @internal\n   */\n  includeLocationVariants?: boolean;\n}\n\nexport interface QueryStoreVariantsResponse {\n  /** List of variants based on the specified filters and sorting. */\n  variants?: StoreVariant[];\n  /** Details on the paged set of results returned. */\n  metadata?: PlatformPagingMetadata;\n}\n\nexport interface StoreVariant {\n  /** Store variant ID. Comprised of the `productId` and the `variantId`, separated by a hyphen: {productId}.{variantId}. */\n  id?: string;\n  /**\n   * Variant ID.\n   * @format GUID\n   */\n  variantId?: string;\n  /** Product ID. */\n  productId?: string;\n  /**\n   * Variant name.\n   * @minLength 1\n   * @maxLength 80\n   */\n  variantName?: string;\n  /**\n   * Product name.\n   * @minLength 1\n   * @maxLength 80\n   */\n  productName?: string;\n  /** Whether the variant is managed or represents a product. */\n  managedVariant?: boolean;\n  /**\n   * Variant SKU (stock keeping unit).\n   * @maxLength 40\n   */\n  sku?: string;\n  /** Variant inventory status. */\n  stock?: VariantStock;\n  /** The selected options of this variant. For example, `{\"Color\": \"Blue\", \"Size\": \"Large\"}`. */\n  choices?: Record<string, string>;\n  /**\n   * Collections that include this variant.\n   * @format GUID\n   */\n  collectionIds?: string[];\n  /**\n   * Media items (images, videos) associated with this variant.\n   * @readonly\n   */\n  media?: PlatformMedia;\n  /** @internal */\n  customFields?: Record<string, any>;\n  /** Preorder information. */\n  preorderInfo?: PreorderInfo;\n}\n\nexport interface PlatformMedia extends PlatformMediaMediaOneOf {\n  image?: Image;\n  video?: VideoV2;\n}\n\n/** @oneof */\nexport interface PlatformMediaMediaOneOf {\n  image?: Image;\n  video?: VideoV2;\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 VideoV2 {\n  /** WixMedia ID. */\n  id?: string;\n  /**\n   * Original video URL.\n   * @internal\n   */\n  url?: string;\n  /**\n   * Available resolutions for the video, starting with the optimal resolution.\n   * @readonly\n   * @maxSize 100\n   */\n  resolutions?: VideoResolution[];\n  /**\n   * Video filename.\n   * @readonly\n   */\n  filename?: string | null;\n  /**\n   * Video posters.\n   * @internal\n   * @readonly\n   */\n  posters?: Image[];\n  /**\n   * Original video size in bytes.\n   * @internal\n   * @readonly\n   * @format DECIMAL_VALUE\n   */\n  sizeInBytes?: string | null;\n  /**\n   * Video URL expiration date (when relevant).\n   * @internal\n   * @readonly\n   */\n  urlExpirationDate?: Date | null;\n  /**\n   * Original video duration in milliseconds.\n   * @internal\n   * @readonly\n   */\n  durationInMilliseconds?: number | null;\n  /**\n   * A short title for the video. will be used for SEO purposes.\n   * @internal\n   * @maxLength 300\n   */\n  title?: string | null;\n  /**\n   * A long description for the video. will be used for SEO purposes.\n   * @internal\n   * @maxLength 2000\n   */\n  description?: string | null;\n  /**\n   * Original video height.\n   * @internal\n   * @readonly\n   */\n  height?: number | null;\n  /**\n   * Original video width.\n   * @internal\n   * @readonly\n   */\n  width?: number | null;\n}\n\nexport interface VideoResolution {\n  /** Video URL. */\n  url?: string;\n  /** Video height. */\n  height?: number;\n  /** Video width. */\n  width?: number;\n  /**\n   * Deprecated. Use the `posters` property in the parent entity instead.\n   * @internal\n   * @deprecated\n   */\n  poster?: Image;\n  /** Video format for example, mp4, hls. */\n  format?: string;\n  /**\n   * Deprecated. Use the `urlExpirationDate` property in the parent entity instead.\n   * @internal\n   * @deprecated\n   */\n  urlExpirationDate?: Date | null;\n  /**\n   * Deprecated. Use the `sizeInBytes` property in the parent entity instead. Size cannot be provided per resolution.\n   * @internal\n   * @format DECIMAL_VALUE\n   * @deprecated\n   */\n  sizeInBytes?: string | null;\n  /**\n   * Video quality. For example: 480p, 720p.\n   * @internal\n   */\n  quality?: string | null;\n  /**\n   * Video filename.\n   * @internal\n   */\n  filename?: string | null;\n  /**\n   * Video duration in seconds.\n   * @internal\n   * @readonly\n   * @deprecated Video duration in seconds.\n   * @replacedBy duration_in_milliseconds\n   * @targetRemovalDate 2024-08-01\n   */\n  durationInSeconds?: number | null;\n  /**\n   * Video duration in milliseconds.\n   * @internal\n   * @readonly\n   */\n  durationInMilliseconds?: number | null;\n  /**\n   * When true, this is a protected asset, and calling the URL will return a 403 error.\n   * In order to access private assets, make a request to:\n   * `GenerateFileDownloadUrl` with the WixMedia id and specify the asset_key in the request\n   * @internal\n   * @readonly\n   */\n  private?: boolean | null;\n  /**\n   * Key to identify the video resolution's relationship to the original media in WixMedia.\n   * Can be used to request a download for the specific video resolution.\n   * For example: 480p.mp4, 720p.mp4, 1080p.mp4, trailer-720p.mp4, clip-720p.mp4\n   * @internal\n   * @readonly\n   */\n  assetKey?: string | null;\n}\n\nexport interface PreorderInfo {\n  /** Whether the item is available for preorder. */\n  enabled?: boolean;\n  /**\n   * A message the buyer will see when the item is out of stock and preorder is enabled.\n   * @minLength 1\n   * @maxLength 250\n   */\n  message?: string | null;\n  /**\n   * Number of products that can be preordered after stock reaches zero.\n   * @max 100000\n   */\n  limit?: number | null;\n}\n\nexport interface QueryStoreVariantsWithBigLimitRequest {\n  /** Query options. */\n  query?: UnlimitedPlatformQuery;\n  /**\n   * Requested custom field names.\n   * @internal\n   * @maxLength 100\n   */\n  customFields?: string[];\n  /**\n   * Include variants for different locations\n   * @internal\n   */\n  includeLocationVariants?: boolean;\n}\n\n/**\n * Don't use it unless you have to and know what you do. Prefer PlatformQuery other than this.\n * It doesn't have max validation for limit but we still MUST have it so implement required validation in your code.\n */\nexport interface UnlimitedPlatformQuery\n  extends UnlimitedPlatformQueryPagingMethodOneOf {\n  /** Pointer to page of results using offset. Cannot be used together with `cursorPaging`. */\n  paging?: UnlimitedPlatformPaging;\n  /** Cursor pointing to page of results. Cannot be used together with `paging`. `cursorPaging.cursor` can not be used together with `filter` or `sort`. */\n  cursorPaging?: UnlimitedPlatformCursorPaging;\n  /** Filter object. */\n  filter?: Record<string, any> | null;\n  /** Sorting options. For example, `[{\"fieldName\":\"sortField1\"},{\"fieldName\":\"sortField2\",\"direction\":\"DESC\"}]`. */\n  sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface UnlimitedPlatformQueryPagingMethodOneOf {\n  /** Pointer to page of results using offset. Cannot be used together with `cursorPaging`. */\n  paging?: UnlimitedPlatformPaging;\n  /** Cursor pointing to page of results. Cannot be used together with `paging`. `cursorPaging.cursor` can not be used together with `filter` or `sort`. */\n  cursorPaging?: UnlimitedPlatformCursorPaging;\n}\n\n/**\n * Don't use it unless you have to and know what you do. Prefer PlatformPaging or wix.common.Paging other than this.\n * It doesn't have max validation for limit but we still MUST have it so implement required validation in your code.\n */\nexport interface UnlimitedPlatformPaging {\n  /** Number of items to load. */\n  limit?: number | null;\n  /** Number of items to skip in the current sort order. */\n  offset?: number | null;\n}\n\n/**\n * Don't use it unless you have to and know what you do. Prefer PlatformCursorPaging or wix.common.CursorPaging other than this.\n * It doesn't have max validation for limit but we still MUST have it so implement required validation in your code.\n */\nexport interface UnlimitedPlatformCursorPaging {\n  /**\n   * The number of items to load.\n   * Cursor token returned in the query response. To be used on the next query request, but not the first query request.\n   */\n  limit?: number | null;\n  /** Cursor returned in last query response. Should not be provided on first page request */\n  cursor?: string | null;\n}\n\nexport interface GetStoreVariantRequest {\n  /** Store variant ID. Comprised of the `productId` and the `variantId`, separated by a hyphen. For example, `{productId}-{variantId}`. */\n  id: string;\n}\n\nexport interface GetStoreVariantResponse {\n  /** The requested store variant. */\n  variant?: StoreVariant;\n}\n\nexport interface QueryCustomFieldsRequest {\n  /** Requested product ID. */\n  id?: string;\n  /**\n   * Requested field names.\n   * @minLength 1\n   * @maxLength 100\n   */\n  names?: string[];\n}\n\nexport interface QueryCustomFieldsResponse {\n  customFields?: Record<string, any>;\n}\n\nexport interface BulkQueryCustomFieldsRequest {\n  /** Filter string. */\n  query?: Query;\n  /**\n   * Requested field names.\n   * @minLength 1\n   * @maxLength 100\n   */\n  names?: string[];\n}\n\nexport interface BulkQueryCustomFieldsResponse {\n  /** ProductId to Custom Fields Map packed in container. */\n  productIdToCustomFields?: Record<string, CustomFieldsContainer>;\n  metadata?: PagingMetadata;\n  totalResults?: number;\n}\n\nexport interface CustomFieldsContainer {\n  customFields?: Record<string, any>;\n}\n\nexport interface AggregateProductsRequest {\n  /** Filter applied to original data */\n  filter?: Record<string, any> | null;\n  /** This is an object defining aggregation itself */\n  aggregation?: Record<string, any> | null;\n  /** Whether hidden products should be considered. Requires permissions to manage products. */\n  includeHiddenProducts?: boolean;\n  /** Whether merchant specific data should be included in the response. Requires permissions to manage products. */\n  includeMerchantSpecificData?: boolean;\n}\n\nexport interface AggregateProductsResponse {\n  aggregates?: Record<string, any> | null;\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\nexport interface V1CreateProductPlatformizedRequest {\n  /** Product information. */\n  product?: Product;\n}\n\nexport interface V1CreateProductPlatformizedResponse {\n  product?: Product;\n}\n\nexport interface V1UpdateProductPlatformizedRequest {\n  product?: Product;\n}\n\nexport interface V1UpdateProductPlatformizedResponse {\n  product?: Product;\n}\n\nexport interface V1DeleteProductPlatformizedRequest {\n  /** ID of the product to delete. */\n  id?: string;\n}\n\nexport interface V1DeleteProductPlatformizedResponse {}\n","import * as ambassadorWixStoresCatalogV1Product from './stores-catalog-v1-product-products.http.js';\nimport * as ambassadorWixStoresCatalogV1ProductTypes from './stores-catalog-v1-product-products.types.js';\nimport * as ambassadorWixStoresCatalogV1ProductUniversalTypes from './stores-catalog-v1-product-products.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 createProduct(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.CreateProductRequest,\n  ambassadorWixStoresCatalogV1ProductTypes.CreateProductRequest,\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.CreateProductResponse,\n  ambassadorWixStoresCatalogV1ProductTypes.CreateProductResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV1Product.createProduct(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: '/v1/products',\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 updateProduct(): __PublicMethodMetaInfo<\n  'PATCH',\n  { productId: string },\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.UpdateProductRequest,\n  ambassadorWixStoresCatalogV1ProductTypes.UpdateProductRequest,\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.UpdateProductResponse,\n  ambassadorWixStoresCatalogV1ProductTypes.UpdateProductResponse\n> {\n  const payload = { product: { id: ':productId' } } as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV1Product.updateProduct(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: '/v1/products/{product.id}',\n    pathParams: { productId: 'productId' },\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 deleteProduct(): __PublicMethodMetaInfo<\n  'DELETE',\n  { id: string },\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.DeleteProductRequest,\n  ambassadorWixStoresCatalogV1ProductTypes.DeleteProductRequest,\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.DeleteProductResponse,\n  ambassadorWixStoresCatalogV1ProductTypes.DeleteProductResponse\n> {\n  const payload = { id: ':id' } as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV1Product.deleteProduct(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: '/v1/products/{id}',\n    pathParams: { id: 'id' },\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 updateProductVariants(): __PublicMethodMetaInfo<\n  'PATCH',\n  { id: string },\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.UpdateVariantsRequest,\n  ambassadorWixStoresCatalogV1ProductTypes.UpdateVariantsRequest,\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.UpdateVariantsResponse,\n  ambassadorWixStoresCatalogV1ProductTypes.UpdateVariantsResponse\n> {\n  const payload = { id: ':id' } as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV1Product.updateVariants(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: '/v1/products/{id}/variants',\n    pathParams: { id: 'id' },\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 resetAllProductVariantData(): __PublicMethodMetaInfo<\n  'POST',\n  { id: string },\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.ResetAllVariantDataRequest,\n  ambassadorWixStoresCatalogV1ProductTypes.ResetAllVariantDataRequest,\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.ResetAllVariantDataResponse,\n  ambassadorWixStoresCatalogV1ProductTypes.ResetAllVariantDataResponse\n> {\n  const payload = { id: ':id' } as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV1Product.resetAllVariantData(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: '/v1/products/{id}/variants/resetToDefault',\n    pathParams: { id: 'id' },\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 addProductsToCollection(): __PublicMethodMetaInfo<\n  'POST',\n  { id: string },\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.AddProductsToCollectionRequest,\n  ambassadorWixStoresCatalogV1ProductTypes.AddProductsToCollectionRequest,\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.AddProductsToCollectionResponse,\n  ambassadorWixStoresCatalogV1ProductTypes.AddProductsToCollectionResponse\n> {\n  const payload = { id: ':id' } as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV1Product.addProductsToCollection(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: '/v1/collections/{id}/productIds',\n    pathParams: { id: 'id' },\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 removeProductsFromCollection(): __PublicMethodMetaInfo<\n  'POST',\n  { id: string },\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.RemoveProductsFromCollectionRequest,\n  ambassadorWixStoresCatalogV1ProductTypes.RemoveProductsFromCollectionRequest,\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.RemoveProductsFromCollectionResponse,\n  ambassadorWixStoresCatalogV1ProductTypes.RemoveProductsFromCollectionResponse\n> {\n  const payload = { id: ':id' } as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV1Product.removeProductsFromCollection(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: '/v1/collections/{id}/productIds/delete',\n    pathParams: { id: 'id' },\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 addProductMedia(): __PublicMethodMetaInfo<\n  'POST',\n  { id: string },\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.AddProductMediaRequest,\n  ambassadorWixStoresCatalogV1ProductTypes.AddProductMediaRequest,\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.AddProductMediaResponse,\n  ambassadorWixStoresCatalogV1ProductTypes.AddProductMediaResponse\n> {\n  const payload = { id: ':id' } as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV1Product.addProductMedia(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: '/v1/products/{id}/media',\n    pathParams: { id: 'id' },\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 removeProductMedia(): __PublicMethodMetaInfo<\n  'POST',\n  { id: string },\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.RemoveProductMediaRequest,\n  ambassadorWixStoresCatalogV1ProductTypes.RemoveProductMediaRequest,\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.RemoveProductMediaResponse,\n  ambassadorWixStoresCatalogV1ProductTypes.RemoveProductMediaResponse\n> {\n  const payload = { id: ':id' } as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV1Product.removeProductMedia(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: '/v1/products/{id}/media/delete',\n    pathParams: { id: 'id' },\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 addProductMediaToChoices(): __PublicMethodMetaInfo<\n  'PATCH',\n  { id: string },\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.AddProductMediaToChoicesRequest,\n  ambassadorWixStoresCatalogV1ProductTypes.AddProductMediaToChoicesRequest,\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.AddProductMediaToChoicesResponse,\n  ambassadorWixStoresCatalogV1ProductTypes.AddProductMediaToChoicesResponse\n> {\n  const payload = { id: ':id' } as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV1Product.addProductMediaToChoices(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: '/v1/products/{id}/choices/media',\n    pathParams: { id: 'id' },\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 removeProductMediaFromChoices(): __PublicMethodMetaInfo<\n  'POST',\n  { id: string },\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.RemoveProductMediaFromChoicesRequest,\n  ambassadorWixStoresCatalogV1ProductTypes.RemoveProductMediaFromChoicesRequest,\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.RemoveProductMediaFromChoicesResponse,\n  ambassadorWixStoresCatalogV1ProductTypes.RemoveProductMediaFromChoicesResponse\n> {\n  const payload = { id: ':id' } as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV1Product.removeProductMediaFromChoices(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: '/v1/products/{id}/choices/media/delete',\n    pathParams: { id: 'id' },\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 deleteProductOptions(): __PublicMethodMetaInfo<\n  'DELETE',\n  { id: string },\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.DeleteProductOptionsRequest,\n  ambassadorWixStoresCatalogV1ProductTypes.DeleteProductOptionsRequest,\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.DeleteProductOptionsResponse,\n  ambassadorWixStoresCatalogV1ProductTypes.DeleteProductOptionsResponse\n> {\n  const payload = { id: ':id' } as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV1Product.deleteProductOptions(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: '/v1/products/{id}/options',\n    pathParams: { id: 'id' },\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 removeBrand(): __PublicMethodMetaInfo<\n  'POST',\n  { id: string },\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.RemoveProductBrandRequest,\n  ambassadorWixStoresCatalogV1ProductTypes.RemoveProductBrandRequest,\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.RemoveProductBrandResponse,\n  ambassadorWixStoresCatalogV1ProductTypes.RemoveProductBrandResponse\n> {\n  const payload = { id: ':id' } as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV1Product.removeBrand(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: '/v1/products/{id}/remove-brand',\n    pathParams: { id: 'id' },\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 createCollection(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.CreateCollectionRequest,\n  ambassadorWixStoresCatalogV1ProductTypes.CreateCollectionRequest,\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.CreateCollectionResponse,\n  ambassadorWixStoresCatalogV1ProductTypes.CreateCollectionResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV1Product.createCollection(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: '/v1/collections',\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 updateCollection(): __PublicMethodMetaInfo<\n  'PATCH',\n  { collectionId: string },\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.UpdateCollectionRequest,\n  ambassadorWixStoresCatalogV1ProductTypes.UpdateCollectionRequest,\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.UpdateCollectionResponse,\n  ambassadorWixStoresCatalogV1ProductTypes.UpdateCollectionResponse\n> {\n  const payload = { collection: { id: ':collectionId' } } as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV1Product.updateCollection(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: '/v1/collections/{collection.id}',\n    pathParams: { collectionId: 'collectionId' },\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 deleteCollection(): __PublicMethodMetaInfo<\n  'DELETE',\n  { id: string },\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.DeleteCollectionRequest,\n  ambassadorWixStoresCatalogV1ProductTypes.DeleteCollectionRequest,\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.DeleteCollectionResponse,\n  ambassadorWixStoresCatalogV1ProductTypes.DeleteCollectionResponse\n> {\n  const payload = { id: ':id' } as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV1Product.deleteCollection(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: '/v1/collections/{id}',\n    pathParams: { id: 'id' },\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 removeRibbon(): __PublicMethodMetaInfo<\n  'POST',\n  { id: string },\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.RemoveProductRibbonRequest,\n  ambassadorWixStoresCatalogV1ProductTypes.RemoveProductRibbonRequest,\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.RemoveProductRibbonResponse,\n  ambassadorWixStoresCatalogV1ProductTypes.RemoveProductRibbonResponse\n> {\n  const payload = { id: ':id' } as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV1Product.removeRibbon(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: '/v1/products/{id}/remove-ribbon',\n    pathParams: { id: 'id' },\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 bulkUpdateProductsProperty(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.BulkUpdateProductsRequest,\n  ambassadorWixStoresCatalogV1ProductTypes.BulkUpdateProductsRequest,\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.BulkUpdateProductsResponse,\n  ambassadorWixStoresCatalogV1ProductTypes.BulkUpdateProductsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV1Product.bulkUpdateProducts(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: '/v1/bulk/products/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 function bulkAdjustProductProperty(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.BulkAdjustProductPropertiesRequest,\n  ambassadorWixStoresCatalogV1ProductTypes.BulkAdjustProductPropertiesRequest,\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.BulkAdjustProductPropertiesResponse,\n  ambassadorWixStoresCatalogV1ProductTypes.BulkAdjustProductPropertiesResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV1Product.bulkAdjustProductProperties(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: '/v1/bulk/products/adjust-properties',\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 queryProducts(): __PublicMethodMetaInfo<\n  'GET',\n  {},\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.QueryProductsPlatformizedRequest,\n  ambassadorWixStoresCatalogV1ProductTypes.QueryProductsPlatformizedRequest,\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.QueryProductsPlatformizedResponse,\n  ambassadorWixStoresCatalogV1ProductTypes.QueryProductsPlatformizedResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV1Product.queryProductsPlatformized(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: '/v1/products/query-platformized',\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 getProduct(): __PublicMethodMetaInfo<\n  'GET',\n  { id: string },\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.GetProductRequest,\n  ambassadorWixStoresCatalogV1ProductTypes.GetProductRequest,\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.GetProductResponse,\n  ambassadorWixStoresCatalogV1ProductTypes.GetProductResponse\n> {\n  const payload = { id: ':id' } as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV1Product.getProduct(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: '/v1/products/{id}',\n    pathParams: { id: 'id' },\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 getCollectionBySlug(): __PublicMethodMetaInfo<\n  'GET',\n  { slug: string },\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.GetCollectionBySlugRequest,\n  ambassadorWixStoresCatalogV1ProductTypes.GetCollectionBySlugRequest,\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.GetCollectionBySlugResponse,\n  ambassadorWixStoresCatalogV1ProductTypes.GetCollectionBySlugResponse\n> {\n  const payload = { slug: ':slug' } as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV1Product.getCollectionBySlug(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: '/v1/collections/slug/{slug}',\n    pathParams: { slug: 'slug' },\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 getProductOptionsAvailability(): __PublicMethodMetaInfo<\n  'POST',\n  { id: string },\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.ProductOptionsAvailabilityRequest,\n  ambassadorWixStoresCatalogV1ProductTypes.ProductOptionsAvailabilityRequest,\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.ProductOptionsAvailabilityResponse,\n  ambassadorWixStoresCatalogV1ProductTypes.ProductOptionsAvailabilityResponse\n> {\n  const payload = { id: ':id' } as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV1Product.productOptionsAvailability(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: '/v1/products/{id}/productOptionsAvailability',\n    pathParams: { id: 'id' },\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 queryProductVariants(): __PublicMethodMetaInfo<\n  'POST',\n  { id: string },\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.QueryProductVariantsRequest,\n  ambassadorWixStoresCatalogV1ProductTypes.QueryProductVariantsRequest,\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.QueryProductVariantsResponse,\n  ambassadorWixStoresCatalogV1ProductTypes.QueryProductVariantsResponse\n> {\n  const payload = { id: ':id' } as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV1Product.queryProductVariants(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: '/v1/products/{id}/variants/query',\n    pathParams: { id: 'id' },\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 queryStoreVariants(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.QueryStoreVariantsRequest,\n  ambassadorWixStoresCatalogV1ProductTypes.QueryStoreVariantsRequest,\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.QueryStoreVariantsResponse,\n  ambassadorWixStoresCatalogV1ProductTypes.QueryStoreVariantsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV1Product.queryStoreVariants(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: '/v1/variants/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 getStoreVariant(): __PublicMethodMetaInfo<\n  'GET',\n  { id: string },\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.GetStoreVariantRequest,\n  ambassadorWixStoresCatalogV1ProductTypes.GetStoreVariantRequest,\n  ambassadorWixStoresCatalogV1ProductUniversalTypes.GetStoreVariantResponse,\n  ambassadorWixStoresCatalogV1ProductTypes.GetStoreVariantResponse\n> {\n  const payload = { id: ':id' } as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV1Product.getStoreVariant(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: '/v1/variants/{id}',\n    pathParams: { id: 'id' },\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  Product as ProductOriginal,\n  ProductType as ProductTypeOriginal,\n  ProductTypeWithLiterals as ProductTypeWithLiteralsOriginal,\n  NumericPropertyRange as NumericPropertyRangeOriginal,\n  Dimensions as DimensionsOriginal,\n  DimensionsUnit as DimensionsUnitOriginal,\n  DimensionsUnitWithLiterals as DimensionsUnitWithLiteralsOriginal,\n  Stock as StockOriginal,\n  InventoryStatus as InventoryStatusOriginal,\n  InventoryStatusWithLiterals as InventoryStatusWithLiteralsOriginal,\n  PriceData as PriceDataOriginal,\n  FormattedPrice as FormattedPriceOriginal,\n  CostAndProfitData as CostAndProfitDataOriginal,\n  PricePerUnitData as PricePerUnitDataOriginal,\n  MeasurementUnit as MeasurementUnitOriginal,\n  MeasurementUnitWithLiterals as MeasurementUnitWithLiteralsOriginal,\n  AdditionalInfoSection as AdditionalInfoSectionOriginal,\n  Ribbon as RibbonOriginal,\n  Media as MediaOriginal,\n  MediaItem as MediaItemOriginal,\n  MediaItemItemOneOf as MediaItemItemOneOfOriginal,\n  MediaItemUrlAndSize as MediaItemUrlAndSizeOriginal,\n  MediaItemType as MediaItemTypeOriginal,\n  MediaItemTypeWithLiterals as MediaItemTypeWithLiteralsOriginal,\n  MediaItemVideo as MediaItemVideoOriginal,\n  CustomTextField as CustomTextFieldOriginal,\n  ProductOption as ProductOptionOriginal,\n  OptionType as OptionTypeOriginal,\n  OptionTypeWithLiterals as OptionTypeWithLiteralsOriginal,\n  Choice as ChoiceOriginal,\n  PageUrl as PageUrlOriginal,\n  Discount as DiscountOriginal,\n  DiscountType as DiscountTypeOriginal,\n  DiscountTypeWithLiterals as DiscountTypeWithLiteralsOriginal,\n  Variant as VariantOriginal,\n  VariantDataWithNoStock as VariantDataWithNoStockOriginal,\n  VariantStock as VariantStockOriginal,\n  SeoSchema as SeoSchemaOriginal,\n  Keyword as KeywordOriginal,\n  Tag as TagOriginal,\n  Settings as SettingsOriginal,\n  SecuredMedia as SecuredMediaOriginal,\n  FileType as FileTypeOriginal,\n  FileTypeWithLiterals as FileTypeWithLiteralsOriginal,\n  CreateProductRequest as CreateProductRequestOriginal,\n  CreateProductResponse as CreateProductResponseOriginal,\n  CreateProductPlatformizedRequest as CreateProductPlatformizedRequestOriginal,\n  CreateProductPlatformizedResponse as CreateProductPlatformizedResponseOriginal,\n  CreateDigitalProductRequest as CreateDigitalProductRequestOriginal,\n  CreateDigitalProductResponse as CreateDigitalProductResponseOriginal,\n  UpdateProductRequest as UpdateProductRequestOriginal,\n  UpdateProductResponse as UpdateProductResponseOriginal,\n  UpdateProductPlatformizedRequest as UpdateProductPlatformizedRequestOriginal,\n  UpdateProductPlatformizedResponse as UpdateProductPlatformizedResponseOriginal,\n  DeleteProductRequest as DeleteProductRequestOriginal,\n  DeleteProductResponse as DeleteProductResponseOriginal,\n  DeleteProductPlatformizedRequest as DeleteProductPlatformizedRequestOriginal,\n  DeleteProductPlatformizedResponse as DeleteProductPlatformizedResponseOriginal,\n  BulkDeleteProductsRequest as BulkDeleteProductsRequestOriginal,\n  BulkDeleteProductsResponse as BulkDeleteProductsResponseOriginal,\n  UpdateVariantsRequest as UpdateVariantsRequestOriginal,\n  VariantOverride as VariantOverrideOriginal,\n  UpdateVariantsResponse as UpdateVariantsResponseOriginal,\n  ResetAllVariantDataRequest as ResetAllVariantDataRequestOriginal,\n  ResetAllVariantDataResponse as ResetAllVariantDataResponseOriginal,\n  AddProductsToCollectionRequest as AddProductsToCollectionRequestOriginal,\n  AddProductsToCollectionResponse as AddProductsToCollectionResponseOriginal,\n  RemoveProductsFromCollectionRequest as RemoveProductsFromCollectionRequestOriginal,\n  RemoveProductsFromCollectionResponse as RemoveProductsFromCollectionResponseOriginal,\n  AddProductMediaRequest as AddProductMediaRequestOriginal,\n  MediaDataForWrite as MediaDataForWriteOriginal,\n  MediaDataForWriteMediaSourceOneOf as MediaDataForWriteMediaSourceOneOfOriginal,\n  OptionAndChoice as OptionAndChoiceOriginal,\n  AddProductMediaResponse as AddProductMediaResponseOriginal,\n  RemoveProductMediaRequest as RemoveProductMediaRequestOriginal,\n  RemoveProductMediaResponse as RemoveProductMediaResponseOriginal,\n  AddProductMediaToChoicesRequest as AddProductMediaToChoicesRequestOriginal,\n  MediaAssignmentToChoice as MediaAssignmentToChoiceOriginal,\n  AddProductMediaToChoicesResponse as AddProductMediaToChoicesResponseOriginal,\n  RemoveProductMediaFromChoicesRequest as RemoveProductMediaFromChoicesRequestOriginal,\n  RemoveProductMediaFromChoicesResponse as RemoveProductMediaFromChoicesResponseOriginal,\n  DeleteProductOptionsRequest as DeleteProductOptionsRequestOriginal,\n  DeleteProductOptionsResponse as DeleteProductOptionsResponseOriginal,\n  SetCustomFieldsRequest as SetCustomFieldsRequestOriginal,\n  SetCustomFieldsResponse as SetCustomFieldsResponseOriginal,\n  RemoveCustomFieldsRequest as RemoveCustomFieldsRequestOriginal,\n  RemoveCustomFieldsResponse as RemoveCustomFieldsResponseOriginal,\n  RemoveProductBrandRequest as RemoveProductBrandRequestOriginal,\n  RemoveProductBrandResponse as RemoveProductBrandResponseOriginal,\n  BulkSetCustomFieldsRequest as BulkSetCustomFieldsRequestOriginal,\n  BulkSetCustomFieldsResponse as BulkSetCustomFieldsResponseOriginal,\n  BulkRemoveCustomFieldsRequest as BulkRemoveCustomFieldsRequestOriginal,\n  BulkRemoveCustomFieldsResponse as BulkRemoveCustomFieldsResponseOriginal,\n  CreateCollectionRequest as CreateCollectionRequestOriginal,\n  Collection as CollectionOriginal,\n  CreateCollectionResponse as CreateCollectionResponseOriginal,\n  UpdateCollectionRequest as UpdateCollectionRequestOriginal,\n  UpdateCollectionResponse as UpdateCollectionResponseOriginal,\n  DeleteCollectionRequest as DeleteCollectionRequestOriginal,\n  DeleteCollectionResponse as DeleteCollectionResponseOriginal,\n  RemoveProductRibbonRequest as RemoveProductRibbonRequestOriginal,\n  RemoveProductRibbonResponse as RemoveProductRibbonResponseOriginal,\n  BulkUpdateProductsRequest as BulkUpdateProductsRequestOriginal,\n  SetValue as SetValueOriginal,\n  SetValueValueOneOf as SetValueValueOneOfOriginal,\n  BulkUpdateProductsResponse as BulkUpdateProductsResponseOriginal,\n  BulkProductResult as BulkProductResultOriginal,\n  ItemMetadata as ItemMetadataOriginal,\n  ApplicationError as ApplicationErrorOriginal,\n  BulkActionMetadata as BulkActionMetadataOriginal,\n  BulkUpdateProductsByFilterSyncRequest as BulkUpdateProductsByFilterSyncRequestOriginal,\n  BulkUpdateProductsByFilterSyncResponse as BulkUpdateProductsByFilterSyncResponseOriginal,\n  AllowedProductsCountLimitExceededErrorData as AllowedProductsCountLimitExceededErrorDataOriginal,\n  BulkAdjustProductPropertiesRequest as BulkAdjustProductPropertiesRequestOriginal,\n  AdjustValue as AdjustValueOriginal,\n  AdjustValueValueOneOf as AdjustValueValueOneOfOriginal,\n  PropertyAdjustmentData as PropertyAdjustmentDataOriginal,\n  PropertyAdjustmentDataByOneOf as PropertyAdjustmentDataByOneOfOriginal,\n  PercentageData as PercentageDataOriginal,\n  BulkAdjustProductPropertiesResponse as BulkAdjustProductPropertiesResponseOriginal,\n  BulkAdjustProductPropertiesByFilterSyncRequest as BulkAdjustProductPropertiesByFilterSyncRequestOriginal,\n  BulkAdjustProductPropertiesByFilterSyncResponse as BulkAdjustProductPropertiesByFilterSyncResponseOriginal,\n  ReCloneStoreRequest as ReCloneStoreRequestOriginal,\n  ReCloneStoreResponse as ReCloneStoreResponseOriginal,\n  ProductCreated as ProductCreatedOriginal,\n  Version as VersionOriginal,\n  VersionWithLiterals as VersionWithLiteralsOriginal,\n  ProductChanged as ProductChangedOriginal,\n  ProductDeleted as ProductDeletedOriginal,\n  CollectionCreated as CollectionCreatedOriginal,\n  CollectionChanged as CollectionChangedOriginal,\n  CollectionDeleted as CollectionDeletedOriginal,\n  VariantsChanged as VariantsChangedOriginal,\n  VariantChanged as VariantChangedOriginal,\n  QueryProductsRequest as QueryProductsRequestOriginal,\n  Query as QueryOriginal,\n  Paging as PagingOriginal,\n  QueryProductsResponse as QueryProductsResponseOriginal,\n  PagingMetadata as PagingMetadataOriginal,\n  QueryProductsPlatformizedRequest as QueryProductsPlatformizedRequestOriginal,\n  PlatformQuery as PlatformQueryOriginal,\n  PlatformQueryPagingMethodOneOf as PlatformQueryPagingMethodOneOfOriginal,\n  Sorting as SortingOriginal,\n  SortOrder as SortOrderOriginal,\n  SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n  AddressLocation as AddressLocationOriginal,\n  PlatformPaging as PlatformPagingOriginal,\n  CursorPaging as CursorPagingOriginal,\n  QueryProductsPlatformizedResponse as QueryProductsPlatformizedResponseOriginal,\n  PlatformPagingMetadata as PlatformPagingMetadataOriginal,\n  Cursors as CursorsOriginal,\n  QueryProductsWithBigPageLimitRequest as QueryProductsWithBigPageLimitRequestOriginal,\n  QueryWithBigPageLimit as QueryWithBigPageLimitOriginal,\n  PagingWithBigLimit as PagingWithBigLimitOriginal,\n  GetProductsRequest as GetProductsRequestOriginal,\n  GetProductsResponse as GetProductsResponseOriginal,\n  GetProductRequest as GetProductRequestOriginal,\n  GetProductResponse as GetProductResponseOriginal,\n  GetProductPlatformizedRequest as GetProductPlatformizedRequestOriginal,\n  GetProductPlatformizedResponse as GetProductPlatformizedResponseOriginal,\n  QueryCollectionsRequest as QueryCollectionsRequestOriginal,\n  QueryCollectionsResponse as QueryCollectionsResponseOriginal,\n  QueryCollectionsPlatformizedRequest as QueryCollectionsPlatformizedRequestOriginal,\n  QueryCollectionsPlatformizedResponse as QueryCollectionsPlatformizedResponseOriginal,\n  GetCollectionRequest as GetCollectionRequestOriginal,\n  GetCollectionResponse as GetCollectionResponseOriginal,\n  GetCollectionBySlugRequest as GetCollectionBySlugRequestOriginal,\n  GetCollectionBySlugResponse as GetCollectionBySlugResponseOriginal,\n  ProductOptionsAvailabilityRequest as ProductOptionsAvailabilityRequestOriginal,\n  ProductOptionsAvailabilityResponse as ProductOptionsAvailabilityResponseOriginal,\n  VariantData as VariantDataOriginal,\n  QueryProductVariantsRequest as QueryProductVariantsRequestOriginal,\n  QueryProductVariantsResponse as QueryProductVariantsResponseOriginal,\n  QueryStoreVariantsRequest as QueryStoreVariantsRequestOriginal,\n  QueryStoreVariantsResponse as QueryStoreVariantsResponseOriginal,\n  StoreVariant as StoreVariantOriginal,\n  PlatformMedia as PlatformMediaOriginal,\n  PlatformMediaMediaOneOf as PlatformMediaMediaOneOfOriginal,\n  Image as ImageOriginal,\n  FocalPoint as FocalPointOriginal,\n  VideoV2 as VideoV2Original,\n  VideoResolution as VideoResolutionOriginal,\n  PreorderInfo as PreorderInfoOriginal,\n  QueryStoreVariantsWithBigLimitRequest as QueryStoreVariantsWithBigLimitRequestOriginal,\n  UnlimitedPlatformQuery as UnlimitedPlatformQueryOriginal,\n  UnlimitedPlatformQueryPagingMethodOneOf as UnlimitedPlatformQueryPagingMethodOneOfOriginal,\n  UnlimitedPlatformPaging as UnlimitedPlatformPagingOriginal,\n  UnlimitedPlatformCursorPaging as UnlimitedPlatformCursorPagingOriginal,\n  GetStoreVariantRequest as GetStoreVariantRequestOriginal,\n  GetStoreVariantResponse as GetStoreVariantResponseOriginal,\n  QueryCustomFieldsRequest as QueryCustomFieldsRequestOriginal,\n  QueryCustomFieldsResponse as QueryCustomFieldsResponseOriginal,\n  BulkQueryCustomFieldsRequest as BulkQueryCustomFieldsRequestOriginal,\n  BulkQueryCustomFieldsResponse as BulkQueryCustomFieldsResponseOriginal,\n  CustomFieldsContainer as CustomFieldsContainerOriginal,\n  AggregateProductsRequest as AggregateProductsRequestOriginal,\n  AggregateProductsResponse as AggregateProductsResponseOriginal,\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  V1CreateProductPlatformizedRequest as V1CreateProductPlatformizedRequestOriginal,\n  V1CreateProductPlatformizedResponse as V1CreateProductPlatformizedResponseOriginal,\n  V1UpdateProductPlatformizedRequest as V1UpdateProductPlatformizedRequestOriginal,\n  V1UpdateProductPlatformizedResponse as V1UpdateProductPlatformizedResponseOriginal,\n  V1DeleteProductPlatformizedRequest as V1DeleteProductPlatformizedRequestOriginal,\n  V1DeleteProductPlatformizedResponse as V1DeleteProductPlatformizedResponseOriginal,\n} from './stores-catalog-v1-product-products.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,oCAAoC;AAC7C,SAAS,oCAAoC;AAC7C,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,IAAM,oBAAoB;AAAA,EACxB,EAAE,MAAM,iBAAiB;AAAA,EACzB,EAAE,MAAM,sBAAsB;AAAA,EAC9B,EAAE,MAAM,6BAA6B;AAAA,EACrC,EAAE,MAAM,0BAA0B;AAAA,EAClC,EAAE,MAAM,iCAAiC;AAAA,EACzC,EAAE,MAAM,mCAAmC;AAAA,EAC3C,EAAE,MAAM,0CAA0C;AAAA,EAClD,EAAE,MAAM,qCAAqC;AAAA,EAC7C,EAAE,MAAM,2CAA2C;AAAA,EACnD,EAAE,MAAM,kDAAkD;AAAA,EAC1D,EAAE,MAAM,oDAAoD;AAAA,EAC5D,EAAE,MAAM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AAAA,IACN,YAAY,EAAE,IAAI,KAAK;AAAA,IACvB,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,sBAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACgC,mBAAmB,OAAO;AAEhE,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,mBAOd;AACA,QAAM,UAAU,EAAE,IAAI,MAAM;AAE5B,QAAM,oBACgC,gBAAgB,OAAO;AAE7D,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,EAAE,IAAI,KAAK;AAAA,IACvB,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","ProductType","DimensionsUnit","InventoryStatus","MeasurementUnit","MediaItemType","OptionType","DiscountType","FileType","Version","SortOrder","WebhookIdentityType","createProduct","updateProduct","deleteProduct","addProductsToCollection","removeProductsFromCollection","addProductMedia","removeProductMedia","addProductMediaToChoices","removeProductMediaFromChoices","deleteProductOptions","removeBrand","createCollection","updateCollection","deleteCollection","removeRibbon","getProduct","getCollectionBySlug","queryProductVariants","queryStoreVariants","getStoreVariant"]}