@wix/auto_sdk_suppliers-hub_products 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +175 -0
- package/build/cjs/index.js +1670 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/index.typings.d.ts +25 -0
- package/build/cjs/index.typings.js +1420 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +1915 -0
- package/build/cjs/meta.js +1120 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/cjs/suppliershub-marketplace-product-v1-product-products.universal-DInaBID7.d.ts +2721 -0
- package/build/es/index.d.mts +175 -0
- package/build/es/index.mjs +1611 -0
- package/build/es/index.mjs.map +1 -0
- package/build/es/index.typings.d.mts +25 -0
- package/build/es/index.typings.mjs +1364 -0
- package/build/es/index.typings.mjs.map +1 -0
- package/build/es/meta.d.mts +1915 -0
- package/build/es/meta.mjs +1063 -0
- package/build/es/meta.mjs.map +1 -0
- package/build/es/package.json +3 -0
- package/build/es/suppliershub-marketplace-product-v1-product-products.universal-DInaBID7.d.mts +2721 -0
- package/build/internal/cjs/index.d.ts +175 -0
- package/build/internal/cjs/index.js +1670 -0
- package/build/internal/cjs/index.js.map +1 -0
- package/build/internal/cjs/index.typings.d.ts +25 -0
- package/build/internal/cjs/index.typings.js +1420 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +1915 -0
- package/build/internal/cjs/meta.js +1120 -0
- package/build/internal/cjs/meta.js.map +1 -0
- package/build/internal/cjs/suppliershub-marketplace-product-v1-product-products.universal-DInaBID7.d.ts +2721 -0
- package/build/internal/es/index.d.mts +175 -0
- package/build/internal/es/index.mjs +1611 -0
- package/build/internal/es/index.mjs.map +1 -0
- package/build/internal/es/index.typings.d.mts +25 -0
- package/build/internal/es/index.typings.mjs +1364 -0
- package/build/internal/es/index.typings.mjs.map +1 -0
- package/build/internal/es/meta.d.mts +1915 -0
- package/build/internal/es/meta.mjs +1063 -0
- package/build/internal/es/meta.mjs.map +1 -0
- package/build/internal/es/suppliershub-marketplace-product-v1-product-products.universal-DInaBID7.d.mts +2721 -0
- package/meta/package.json +3 -0
- package/package.json +54 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/suppliershub-marketplace-product-v1-product-products.http.ts","../../../src/suppliershub-marketplace-product-v1-product-products.types.ts","../../../src/suppliershub-marketplace-product-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 { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixSuppliershubMarketplaceProductV1MarketplaceProductUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/_api/marketplace-product',\n destPath: '',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/marketplace-product',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/suppliers-hub/v1/products',\n destPath: '/v1/products',\n },\n {\n srcPath: '/suppliers-hub/v1/bulk/products',\n destPath: '/v1/bulk/products',\n },\n {\n srcPath: '/suppliers-hub/v1/categories',\n destPath: '/v1/categories',\n },\n {\n srcPath: '/suppliershub/marketplace-product/v1/products',\n destPath: '/v1/products',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/suppliershub/marketplace-product/v1/products',\n destPath: '/v1/products',\n },\n {\n srcPath: '/suppliershub/marketplace-product/v1/bulk/products',\n destPath: '/v1/bulk/products',\n },\n {\n srcPath: '/suppliershub/marketplace-product/v1/categories/query',\n destPath: '/v1/categories/query',\n },\n ],\n _: [\n {\n srcPath: '/suppliershub/marketplace-product/v1/products',\n destPath: '/v1/products',\n },\n {\n srcPath: '/suppliershub/marketplace-product/v1/bulk/products',\n destPath: '/v1/bulk/products',\n },\n {\n srcPath: '/suppliershub/marketplace-product/v1/categories/query',\n destPath: '/v1/categories/query',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_suppliers-hub_products';\n\n/**\n * Creates a product in the Marketplace.\n *\n * Products must include all required fields for the specified types.\n * The first image in `media.items` becomes the main image.\n */\nexport function createProduct(payload: object): RequestOptionsFactory<any> {\n function __createProduct({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'product.createdDate' },\n { path: 'product.updatedDate' },\n { path: 'product.providerInfo.productCreatedDate' },\n { path: 'product.media.main.urlExpirationDate' },\n { path: 'product.media.items.urlExpirationDate' },\n {\n path: 'product.printOnDemandOptions.mockupImage.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'product.media.main.focalPoint.x' },\n { path: 'product.media.main.focalPoint.y' },\n { path: 'product.media.items.focalPoint.x' },\n { path: 'product.media.items.focalPoint.y' },\n { path: 'product.printOnDemandOptions.mockupImage.focalPoint.x' },\n { path: 'product.printOnDemandOptions.mockupImage.focalPoint.y' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.suppliershub.marketplace_product.v1.product',\n method: 'POST' as any,\n methodFqn:\n 'wix.suppliershub.marketplace.product.v1.MarketplaceProduct.CreateProduct',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixSuppliershubMarketplaceProductV1MarketplaceProductUrl({\n protoPath: '/v1/products',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'product.createdDate' },\n { path: 'product.updatedDate' },\n { path: 'product.providerInfo.productCreatedDate' },\n { path: 'product.media.main.urlExpirationDate' },\n { path: 'product.media.items.urlExpirationDate' },\n {\n path: 'product.printOnDemandOptions.mockupImage.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'product.media.main.focalPoint.x' },\n { path: 'product.media.main.focalPoint.y' },\n { path: 'product.media.items.focalPoint.x' },\n { path: 'product.media.items.focalPoint.y' },\n { path: 'product.printOnDemandOptions.mockupImage.focalPoint.x' },\n { path: 'product.printOnDemandOptions.mockupImage.focalPoint.y' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createProduct;\n}\n\n/** Retrieves a product by ID. */\nexport function getProduct(payload: object): RequestOptionsFactory<any> {\n function __getProduct({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.suppliershub.marketplace_product.v1.product',\n method: 'GET' as any,\n methodFqn:\n 'wix.suppliershub.marketplace.product.v1.MarketplaceProduct.GetProduct',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixSuppliershubMarketplaceProductV1MarketplaceProductUrl({\n protoPath: '/v1/products/{productId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'product.createdDate' },\n { path: 'product.updatedDate' },\n { path: 'product.providerInfo.productCreatedDate' },\n { path: 'product.media.main.urlExpirationDate' },\n { path: 'product.media.items.urlExpirationDate' },\n {\n path: 'product.printOnDemandOptions.mockupImage.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'product.media.main.focalPoint.x' },\n { path: 'product.media.main.focalPoint.y' },\n { path: 'product.media.items.focalPoint.x' },\n { path: 'product.media.items.focalPoint.y' },\n { path: 'product.printOnDemandOptions.mockupImage.focalPoint.x' },\n { path: 'product.printOnDemandOptions.mockupImage.focalPoint.y' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getProduct;\n}\n\n/**\n * Updates a product. Supports partial updates.\n *\n * Provider info fields (`providerInfo.productId` and `providerInfo.productCreatedDate`) are immutable and cannot be\n * changed after creation.\n */\nexport function updateProduct(payload: object): RequestOptionsFactory<any> {\n function __updateProduct({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'product.createdDate' },\n { path: 'product.updatedDate' },\n { path: 'product.providerInfo.productCreatedDate' },\n { path: 'product.media.main.urlExpirationDate' },\n { path: 'product.media.items.urlExpirationDate' },\n {\n path: 'product.printOnDemandOptions.mockupImage.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'product.media.main.focalPoint.x' },\n { path: 'product.media.main.focalPoint.y' },\n { path: 'product.media.items.focalPoint.x' },\n { path: 'product.media.items.focalPoint.y' },\n { path: 'product.printOnDemandOptions.mockupImage.focalPoint.x' },\n { path: 'product.printOnDemandOptions.mockupImage.focalPoint.y' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.suppliershub.marketplace_product.v1.product',\n method: 'PATCH' as any,\n methodFqn:\n 'wix.suppliershub.marketplace.product.v1.MarketplaceProduct.UpdateProduct',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixSuppliershubMarketplaceProductV1MarketplaceProductUrl({\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: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'product.createdDate' },\n { path: 'product.updatedDate' },\n { path: 'product.providerInfo.productCreatedDate' },\n { path: 'product.media.main.urlExpirationDate' },\n { path: 'product.media.items.urlExpirationDate' },\n {\n path: 'product.printOnDemandOptions.mockupImage.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'product.media.main.focalPoint.x' },\n { path: 'product.media.main.focalPoint.y' },\n { path: 'product.media.items.focalPoint.x' },\n { path: 'product.media.items.focalPoint.y' },\n { path: 'product.printOnDemandOptions.mockupImage.focalPoint.x' },\n { path: 'product.printOnDemandOptions.mockupImage.focalPoint.y' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateProduct;\n}\n\n/**\n * Deletes a product permanently from the Marketplace.\n *\n * This action cannot be undone. The product will no longer be available for store owners to add to their stores.\n */\nexport function deleteProduct(payload: object): RequestOptionsFactory<any> {\n function __deleteProduct({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.suppliershub.marketplace_product.v1.product',\n method: 'DELETE' as any,\n methodFqn:\n 'wix.suppliershub.marketplace.product.v1.MarketplaceProduct.DeleteProduct',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixSuppliershubMarketplaceProductV1MarketplaceProductUrl({\n protoPath: '/v1/products/{productId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteProduct;\n}\n\n/**\n * Creates multiple products in a single request.\n *\n * Supports partial success - some products may be created successfully while others fail.\n * Each result includes an `itemMetadata` object indicating success or failure with error details.\n *\n * When handling failures, distinguish between validation errors which shouldn't be retried,\n * and transient errors which can be retried. Only retry failed items, not the entire batch.\n */\nexport function bulkCreateProducts(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkCreateProducts({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'products.createdDate' },\n { path: 'products.updatedDate' },\n { path: 'products.providerInfo.productCreatedDate' },\n { path: 'products.media.main.urlExpirationDate' },\n { path: 'products.media.items.urlExpirationDate' },\n {\n path: 'products.printOnDemandOptions.mockupImage.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'products.media.main.focalPoint.x' },\n { path: 'products.media.main.focalPoint.y' },\n { path: 'products.media.items.focalPoint.x' },\n { path: 'products.media.items.focalPoint.y' },\n { path: 'products.printOnDemandOptions.mockupImage.focalPoint.x' },\n { path: 'products.printOnDemandOptions.mockupImage.focalPoint.y' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.suppliershub.marketplace_product.v1.product',\n method: 'POST' as any,\n methodFqn:\n 'wix.suppliershub.marketplace.product.v1.MarketplaceProduct.BulkCreateProducts',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixSuppliershubMarketplaceProductV1MarketplaceProductUrl({\n protoPath: '/v1/bulk/products/create',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'results.item.createdDate' },\n { path: 'results.item.updatedDate' },\n { path: 'results.item.providerInfo.productCreatedDate' },\n { path: 'results.item.media.main.urlExpirationDate' },\n { path: 'results.item.media.items.urlExpirationDate' },\n {\n path: 'results.item.printOnDemandOptions.mockupImage.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'results.item.media.main.focalPoint.x' },\n { path: 'results.item.media.main.focalPoint.y' },\n { path: 'results.item.media.items.focalPoint.x' },\n { path: 'results.item.media.items.focalPoint.y' },\n {\n path: 'results.item.printOnDemandOptions.mockupImage.focalPoint.x',\n },\n {\n path: 'results.item.printOnDemandOptions.mockupImage.focalPoint.y',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkCreateProducts;\n}\n\n/**\n * Updates multiple products in a single request.\n *\n * Supports partial success and partial field updates. Each result includes an `itemMetadata` object indicating success or failure with error details.\n *\n * When handling failures, distinguish between validation errors which shouldn't be retried,\n * and transient errors which can be retried. Only retry failed items, not the entire batch.\n */\nexport function bulkUpdateProducts(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateProducts({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'products.fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'products.product.createdDate' },\n { path: 'products.product.updatedDate' },\n { path: 'products.product.providerInfo.productCreatedDate' },\n { path: 'products.product.media.main.urlExpirationDate' },\n { path: 'products.product.media.items.urlExpirationDate' },\n {\n path: 'products.product.printOnDemandOptions.mockupImage.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'products.product.media.main.focalPoint.x' },\n { path: 'products.product.media.main.focalPoint.y' },\n { path: 'products.product.media.items.focalPoint.x' },\n { path: 'products.product.media.items.focalPoint.y' },\n {\n path: 'products.product.printOnDemandOptions.mockupImage.focalPoint.x',\n },\n {\n path: 'products.product.printOnDemandOptions.mockupImage.focalPoint.y',\n },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.suppliershub.marketplace_product.v1.product',\n method: 'PATCH' as any,\n methodFqn:\n 'wix.suppliershub.marketplace.product.v1.MarketplaceProduct.BulkUpdateProducts',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixSuppliershubMarketplaceProductV1MarketplaceProductUrl({\n protoPath: '/v1/bulk/products/update',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'results.item.createdDate' },\n { path: 'results.item.updatedDate' },\n { path: 'results.item.providerInfo.productCreatedDate' },\n { path: 'results.item.media.main.urlExpirationDate' },\n { path: 'results.item.media.items.urlExpirationDate' },\n {\n path: 'results.item.printOnDemandOptions.mockupImage.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'results.item.media.main.focalPoint.x' },\n { path: 'results.item.media.main.focalPoint.y' },\n { path: 'results.item.media.items.focalPoint.x' },\n { path: 'results.item.media.items.focalPoint.y' },\n {\n path: 'results.item.printOnDemandOptions.mockupImage.focalPoint.x',\n },\n {\n path: 'results.item.printOnDemandOptions.mockupImage.focalPoint.y',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __bulkUpdateProducts;\n}\n\n/**\n * Deletes multiple products permanently in a single request. Supports partial success.\n *\n * Each result includes an `itemMetadata` object indicating success or failure with error details.\n * When handling failures, distinguish between validation errors which shouldn't be retried,\n * and transient errors which can be retried. Only retry failed items, not the entire batch.\n */\nexport function bulkDeleteProducts(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkDeleteProducts({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.suppliershub.marketplace_product.v1.product',\n method: 'POST' as any,\n methodFqn:\n 'wix.suppliershub.marketplace.product.v1.MarketplaceProduct.BulkDeleteProducts',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixSuppliershubMarketplaceProductV1MarketplaceProductUrl({\n protoPath: '/v1/bulk/products/delete',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkDeleteProducts;\n}\n\n/**\n * Retrieves a list of products with filtering, sorting, and cursor-based pagination.\n *\n * Provides real-time, strongly consistent results with filtering, sorting, and pagination.\n *\n * Use Query Products when you need accurate, up-to-date data such as for operational tasks or inventory checks.\n * For product discovery and browsing with full-text search capabilities, use [Search Products](https://dev.wix.com/docs/api-reference/business-solutions/suppliers-hub/products/search-products) instead.\n */\nexport function queryProducts(payload: object): RequestOptionsFactory<any> {\n function __queryProducts({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.suppliershub.marketplace_product.v1.product',\n method: 'POST' as any,\n methodFqn:\n 'wix.suppliershub.marketplace.product.v1.MarketplaceProduct.QueryProducts',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixSuppliershubMarketplaceProductV1MarketplaceProductUrl({\n protoPath: '/v1/products/query',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'products.createdDate' },\n { path: 'products.updatedDate' },\n { path: 'products.providerInfo.productCreatedDate' },\n { path: 'products.media.main.urlExpirationDate' },\n { path: 'products.media.items.urlExpirationDate' },\n {\n path: 'products.printOnDemandOptions.mockupImage.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'products.media.main.focalPoint.x' },\n { path: 'products.media.main.focalPoint.y' },\n { path: 'products.media.items.focalPoint.x' },\n { path: 'products.media.items.focalPoint.y' },\n {\n path: 'products.printOnDemandOptions.mockupImage.focalPoint.x',\n },\n {\n path: 'products.printOnDemandOptions.mockupImage.focalPoint.y',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryProducts;\n}\n\n/**\n * Retrieves a list of products, given the provided filtering, search expression, sorting, and cursor paging.\n *\n * Provides eventually consistent results optimized for product discovery and browsing.\n * Search supports full-text queries, filters, sorting, and aggregations for faceted search.\n *\n * Use Search Products for user-facing product catalogs and discovery features.\n * For real-time accuracy in operational tasks, use [Query Products](https://dev.wix.com/docs/api-reference/business-solutions/suppliers-hub/products/query-products) instead.\n */\nexport function searchProducts(payload: object): RequestOptionsFactory<any> {\n function __searchProducts({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFloatToRESTFloat,\n paths: [\n { path: 'search.aggregations.range.buckets.from' },\n { path: 'search.aggregations.range.buckets.to' },\n {\n path: 'search.aggregations.nested.nestedAggregations.range.buckets.from',\n },\n {\n path: 'search.aggregations.nested.nestedAggregations.range.buckets.to',\n },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.suppliershub.marketplace_product.v1.product',\n method: 'POST' as any,\n methodFqn:\n 'wix.suppliershub.marketplace.product.v1.MarketplaceProduct.SearchProducts',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixSuppliershubMarketplaceProductV1MarketplaceProductUrl({\n protoPath: '/v1/products/search',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'products.createdDate' },\n { path: 'products.updatedDate' },\n { path: 'products.providerInfo.productCreatedDate' },\n { path: 'products.media.main.urlExpirationDate' },\n { path: 'products.media.items.urlExpirationDate' },\n {\n path: 'products.printOnDemandOptions.mockupImage.urlExpirationDate',\n },\n ],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [\n { path: 'products.media.main.focalPoint.x' },\n { path: 'products.media.main.focalPoint.y' },\n { path: 'products.media.items.focalPoint.x' },\n { path: 'products.media.items.focalPoint.y' },\n {\n path: 'products.printOnDemandOptions.mockupImage.focalPoint.x',\n },\n {\n path: 'products.printOnDemandOptions.mockupImage.focalPoint.y',\n },\n { path: 'aggregationData.results.scalar.value' },\n {\n path: 'aggregationData.results.groupedByValue.results.nestedResults.scalar.value',\n },\n {\n path: 'aggregationData.results.nested.results.results.*.scalar.value',\n },\n { path: 'aggregationData.results.ranges.results.from' },\n { path: 'aggregationData.results.ranges.results.to' },\n {\n path: 'aggregationData.results.groupedByValue.results.nestedResults.ranges.results.from',\n },\n {\n path: 'aggregationData.results.groupedByValue.results.nestedResults.ranges.results.to',\n },\n {\n path: 'aggregationData.results.nested.results.results.*.range.from',\n },\n {\n path: 'aggregationData.results.nested.results.results.*.range.to',\n },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __searchProducts;\n}\n\n/**\n * Updates tags on multiple products by product IDs.\n *\n * A tag that appears both in the list of assign and unassign tags, will be assigned\n */\nexport function bulkUpdateProductTags(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateProductTags({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.suppliershub.marketplace_product.v1.product',\n method: 'POST' as any,\n methodFqn:\n 'wix.suppliershub.marketplace.product.v1.MarketplaceProduct.BulkUpdateProductTags',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixSuppliershubMarketplaceProductV1MarketplaceProductUrl({\n protoPath: '/v1/bulk/products/update-tags',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkUpdateProductTags;\n}\n\n/**\n * Updates tags on multiple products matching a filter.\n *\n * This operation runs asynchronously because it can potentially affect thousands of products.\n * The response includes a `jobId` for tracking the operation's progress.\n *\n * An empty filter updates all products. If a tag appears in both assign and unassign lists, it will be assigned.\n */\nexport function bulkUpdateProductTagsByFilter(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateProductTagsByFilter({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.suppliershub.marketplace_product.v1.product',\n method: 'POST' as any,\n methodFqn:\n 'wix.suppliershub.marketplace.product.v1.MarketplaceProduct.BulkUpdateProductTagsByFilter',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixSuppliershubMarketplaceProductV1MarketplaceProductUrl({\n protoPath: '/v1/bulk/products/update-tags-by-filter',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkUpdateProductTagsByFilter;\n}\n\n/**\n * Queries categories using [WQL - Wix Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language).\n *\n * Supports filtering, sorting, and pagination.\n */\nexport function queryCategories(payload: object): RequestOptionsFactory<any> {\n function __queryCategories({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.suppliershub.marketplace_product.v1.product',\n method: 'POST' as any,\n methodFqn:\n 'wix.suppliershub.marketplace.product.v1.MarketplaceProduct.QueryCategories',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixSuppliershubMarketplaceProductV1MarketplaceProductUrl({\n protoPath: '/v1/categories/query',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __queryCategories;\n}\n","/**\n * A product provided by a business partner and displayed in the Wix Marketplace.\n *\n * Products can be of type DROPSHIPPING, WHOLESALE, or both.\n * Wix users can discover and add these products to their stores.\n */\nexport interface Product {\n /**\n * Product ID.\n * @format GUID\n * @readonly\n */\n id?: string | null;\n /**\n * Date and time the product was created.\n * @readonly\n */\n createdDate?: Date | null;\n /**\n * Date and time the product was updated.\n * @readonly\n */\n updatedDate?: Date | null;\n /** Information about the business partner providing this product. */\n providerInfo?: ProviderInfo;\n /**\n * Product name.\n * @minLength 1\n * @maxLength 100\n */\n name?: string | null;\n /**\n * Product description.\n * @maxLength 64000\n */\n description?: string | null;\n /**\n * Whether the product is visible in the Marketplace.\n *\n * Default: `true`\n */\n visible?: boolean | null;\n /** Product media. */\n media?: Media;\n /**\n * Business model types this product supports.\n * @minSize 1\n * @maxSize 2\n */\n types?: ProductTypeWithLiterals[];\n /**\n * Product options that customers can choose from.\n *\n * Options display available product variations like size and color to help buyers make purchase decisions.\n * Currently, options are informational only and don't create separate inventory items or variants.\n *\n * There are 2 predefined option types you can use:\n * - `color`: Color choices for the product. Values should be standard color names. For example, `\"Black\"`, `\"White\"`, `\"Yellow\"`.\n * - `size`: Size choices for the product. Values should be standard size labels. For example, `\"S\"`, `\"M\"`, `\"L\"`, `\"XL\"`.\n * @maxSize 6\n */\n options?: ProductOption[];\n /**\n * Promotional ribbon text displayed on the product.\n *\n * For example, `\"New Arrival\"` or `\"Bestseller\"`.\n * @minLength 1\n * @maxLength 30\n */\n ribbonName?: string | null;\n /**\n * Brand name.\n * @minLength 1\n * @maxLength 50\n */\n brand?: string | null;\n /** Time required to process orders before shipping. */\n orderProcessingTime?: TimeInterval;\n /**\n * Countries and regions where this product can be shipped, with location-specific pricing and timing.\n * @maxSize 100\n */\n shippingDestinations?: ShippingDestination[];\n /**\n * Minimum price, in USD.\n * @decimalValue options { gte:0, lte:999999999, maxScale:2 }\n */\n minimumPrice?: string | null;\n /**\n * Country where the product is manufactured or originates from, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.\n * @format COUNTRY\n */\n productOrigin?: string | null;\n /**\n * List of categories that directly contain this product.\n *\n * Each category's namespace must match at least one of the product's types.\n * For example, if a product has type `DROPSHIPPING`, its categories must use `DROPSHIPPING_NAMESPACE`.\n * Products with both `DROPSHIPPING` and `WHOLESALE` types can have categories from both namespaces.\n * @maxSize 50\n */\n directCategories?: ProductCategory[];\n /**\n * List of categories that directly contain this product, as well as their parent categories.\n * @readonly\n * @maxSize 2000\n */\n allCategories?: ProductCategory[];\n /**\n * Wholesale-specific configuration including tiered pricing and minimum order quantities.\n *\n * Required when `types` includes `WHOLESALE`.\n */\n wholesaleOptions?: WholesaleOptions;\n /** Information about the supplier including name, rating, and trust status. */\n supplierInfo?: SupplierInfo;\n /**\n * Print-on-demand-specific configuration including supported print technologies and mockup assets.\n *\n * Required when `types` include `PRINT_ON_DEMAND`.\n */\n printOnDemandOptions?: PrintOnDemandOptions;\n /**\n * Information about the product sizing\n * @maxSize 5\n */\n sizeGuides?: SizeGuide[];\n /** Product tags for organization and filtering. */\n tags?: Tags;\n}\n\n/**\n * Information about the business partner providing the product.\n *\n * Provider information is immutable after product creation.\n */\nexport interface ProviderInfo {\n /**\n * Provider application ID.\n * @format GUID\n * @readonly\n */\n appId?: string | null;\n /**\n * Unique product identifier on the provider's platform.\n *\n * This field serves as the external system's primary key for synchronization and prevents\n * duplicate products from being created. Once set, you can't change this field.\n * @minLength 1\n * @maxLength 36\n * @immutable\n */\n productId?: string | null;\n /**\n * Date and time the product was created on the provider's platform.\n *\n * This field helps maintain the connection to the original product source.\n * Once set, you can't change this field.\n * @immutable\n */\n productCreatedDate?: Date | null;\n /**\n * Product URL on the provider's platform.\n * @format WEB_URL\n */\n url?: string | null;\n}\n\n/**\n * Product media.\n *\n * The first image in the `items` array becomes the main image.\n */\nexport interface Media {\n /**\n * Primary product image, automatically set from the first item in the `items` array.\n * @readonly\n */\n main?: Image;\n /**\n * Product images. The first image becomes the main image.\n * @maxSize 15\n */\n items?: Image[];\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 filename.\n * @readonly\n */\n filename?: string | null;\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\n/** Business model types that products can support. */\nexport enum ProductType {\n /** Product is fulfilled by the supplier without inventory management by the store owner. */\n DROPSHIPPING = 'DROPSHIPPING',\n /** Product is sold in bulk quantities with tiered pricing. */\n WHOLESALE = 'WHOLESALE',\n /** Product is manufactured after purchase; no pre‑held inventory. */\n PRINT_ON_DEMAND = 'PRINT_ON_DEMAND',\n}\n\n/** @enumType */\nexport type ProductTypeWithLiterals =\n | ProductType\n | 'DROPSHIPPING'\n | 'WHOLESALE'\n | 'PRINT_ON_DEMAND';\n\n/**\n * Product option like size, color, or material.\n *\n * Each option can have multiple values that customers can choose from.\n */\nexport interface ProductOption {\n /**\n * Option name.\n *\n * There are 2 predefined options you can use:\n * - `color`: Represents color choices for the product. Values should be standard color names. For example, `\"Black\"`, `\"White\"`, `\"Yellow\"`.\n * - `size`: Represents size choices for the product. Values should be standard size labels. For example, `\"S\"`, `\"M\"`, `\"L\"`, `\"XL\"`.\n * @minLength 1\n * @maxLength 50\n */\n name?: string;\n /**\n * Optional description explaining the option.\n * @maxLength 200\n */\n description?: string | null;\n /**\n * Available values for this option.\n * @maxSize 100\n */\n values?: OptionValue[];\n}\n\n/** A single value for a product option. */\nexport interface OptionValue extends OptionValueValueOneOf {\n /**\n * Simple text value.\n *\n * For example, `\"L\"` for size or `\"Cotton\"` for material.\n * @minLength 1\n * @maxLength 50\n */\n simpleValue?: string;\n /** Color option with name and hex code. */\n color?: ColorOption;\n}\n\n/** @oneof */\nexport interface OptionValueValueOneOf {\n /**\n * Simple text value.\n *\n * For example, `\"L\"` for size or `\"Cotton\"` for material.\n * @minLength 1\n * @maxLength 50\n */\n simpleValue?: string;\n /** Color option with name and hex code. */\n color?: ColorOption;\n}\n\n/** Color option with display name and hex color code. */\nexport interface ColorOption {\n /**\n * Color name.\n *\n * For example, `\"Black\"` or `\"Navy Blue\"`.\n * Use 'Multicolor' for mixed colors. When using 'Multicolor', do not provide a hex value.\n * @minLength 1\n * @maxLength 50\n */\n name?: string;\n /**\n * Hex color code.\n *\n * For example, `\"#000000\"` for black. Omit for 'Multicolor'.\n * @format COLOR_HEX\n */\n hex?: string | null;\n}\n\n/**\n * Time range with minimum and maximum values.\n *\n * Used for processing times, shipping times, and other duration ranges.\n */\nexport interface TimeInterval {\n /** Minimum time in the range. */\n min?: TimeValue;\n /** Maximum time in the range. */\n max?: TimeValue;\n}\n\n/** Time duration with numeric value and unit. */\nexport interface TimeValue {\n /**\n * Numeric time value. For example, `2` for \"2 days\".\n * @min 1\n */\n value?: number;\n /** Time unit for the value. */\n unit?: TimeUnitWithLiterals;\n}\n\n/** Units of time for duration values. */\nexport enum TimeUnit {\n /** Days. */\n DAY = 'DAY',\n /** Weeks. */\n WEEK = 'WEEK',\n /** Months. */\n MONTH = 'MONTH',\n}\n\n/** @enumType */\nexport type TimeUnitWithLiterals = TimeUnit | 'DAY' | 'WEEK' | 'MONTH';\n\n/**\n * Shipping information for a specific destination or region.\n *\n * Defines where a product can be shipped and the associated costs and timing.\n */\nexport interface ShippingDestination\n extends ShippingDestinationCountriesOptionsOneOf {\n /**\n * Specific countries.\n *\n * Used when `countrySelections` is `SPECIFIC_COUNTRY`.\n */\n specificCountrySelections?: Countries;\n /** Indicates if shipping applies to selected countries or to all other regions. */\n countrySelections?: CountrySelectionsWithLiterals;\n /**\n * Minimum shipping cost to this destination in USD.\n * @decimalValue options { gte:0, lte:999999999, maxScale:3 }\n */\n minimumShippingCost?: string;\n /** Expected shipping time to this destination. */\n shippingTime?: TimeInterval;\n /**\n * Minimum Product Cost to the Shipping Location\n * @decimalValue options { gte:0, lte:999999999, maxScale:3 }\n */\n minimumProductCost?: string | null;\n}\n\n/** @oneof */\nexport interface ShippingDestinationCountriesOptionsOneOf {\n /**\n * Specific countries.\n *\n * Used when `countrySelections` is `SPECIFIC_COUNTRY`.\n */\n specificCountrySelections?: Countries;\n}\n\n/** Shipping destination selection type. */\nexport enum CountrySelections {\n /** All countries not specifically listed elsewhere. */\n REST_OF_THE_WORLD = 'REST_OF_THE_WORLD',\n /** Specific countries listed in the `countries` field. */\n SPECIFIC_COUNTRY = 'SPECIFIC_COUNTRY',\n}\n\n/** @enumType */\nexport type CountrySelectionsWithLiterals =\n | CountrySelections\n | 'REST_OF_THE_WORLD'\n | 'SPECIFIC_COUNTRY';\n\nexport interface Countries {\n /**\n * Country codes, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1) format.\n * @format COUNTRY\n * @minSize 1\n * @maxSize 100\n */\n countries?: string[] | null;\n}\n\n/** Inventory information for a product including count tier and quantity. */\nexport interface Inventory {\n /**\n * Abstracted inventory level calculated from quantity.\n * @readonly\n */\n tier?: InventoryTierWithLiterals;\n /**\n * Exact inventory quantity.\n *\n * Always returned when tier is `LOW` for [Get Product](https://dev.wix.com/docs/api-reference/business-solutions/suppliers-hub/products/get-product).\n * Returned as request parameter when tier is not `LOW` for [Get Product](https://dev.wix.com/docs/api-reference/business-solutions/suppliers-hub/products/get-product).\n * Not returned for [Search Products](https://dev.wix.com/docs/api-reference/business-solutions/suppliers-hub/products/search-products).\n */\n quantity?: number | null;\n}\n\n/** Abstracted inventory levels. */\nexport enum InventoryTier {\n /** No inventory available. */\n EMPTY = 'EMPTY',\n /** Low inventory level. */\n LOW = 'LOW',\n /** Medium inventory level. */\n MEDIUM = 'MEDIUM',\n /** High inventory level. */\n HIGH = 'HIGH',\n}\n\n/** @enumType */\nexport type InventoryTierWithLiterals =\n | InventoryTier\n | 'EMPTY'\n | 'LOW'\n | 'MEDIUM'\n | 'HIGH';\n\n/** Category assignment information for a product. */\nexport interface ProductCategory {\n /**\n * Category ID.\n * @format GUID\n */\n id?: string;\n /**\n * Product's position within this category.\n * @max 200\n * @readonly\n */\n index?: number | null;\n /** The namespace of the category tree this assignment belongs to. */\n namespace?: CategoryNamespaceWithLiterals;\n}\n\n/** Defines the available category trees namespaces. */\nexport enum CategoryNamespace {\n /** Namespace for the dropshipping category tree. */\n DROPSHIPPING_NAMESPACE = 'DROPSHIPPING_NAMESPACE',\n /** Namespace for the wholesale category tree. */\n WHOLESALE_NAMESPACE = 'WHOLESALE_NAMESPACE',\n /** Namespace for the print on demand category tree. */\n PRINT_ON_DEMAND_NAMESPACE = 'PRINT_ON_DEMAND_NAMESPACE',\n}\n\n/** @enumType */\nexport type CategoryNamespaceWithLiterals =\n | CategoryNamespace\n | 'DROPSHIPPING_NAMESPACE'\n | 'WHOLESALE_NAMESPACE'\n | 'PRINT_ON_DEMAND_NAMESPACE';\n\n/**\n * Configuration for wholesale products including tiered pricing.\n *\n * Required when product types include `WHOLESALE`.\n */\nexport interface WholesaleOptions {\n /**\n * Tiered pricing based on order quantity ranges.\n *\n * Price tiers must be continuous with no gaps in quantity ranges.\n * For example, if tier 1 covers quantities 1-100, tier 2 must start at 101.\n * The system validates tier continuity when creating or updating products.\n * @maxSize 5\n */\n priceTiers?: PriceTier[];\n /**\n * Minimum quantity required for wholesale orders.\n * @min 1\n */\n minimumOrderQuantity?: number | null;\n}\n\n/**\n * Price tier with quantity range and corresponding pricing.\n *\n * Defines pricing for a specific quantity range in wholesale orders.\n */\nexport interface PriceTier {\n /**\n * Minimum price for this quantity tier in USD.\n *\n * If `priceTo` isn't specified, this price applies to all quantities in the tier.\n * @decimalValue options { gte:0, lte:999999999, maxScale:3 }\n */\n priceFrom?: string;\n /**\n * Maximum price for this quantity tier in USD.\n *\n * Optional for fixed-price tiers.\n * @decimalValue options { gte:0, lte:999999999, maxScale:3 }\n */\n priceTo?: string | null;\n /**\n * Minimum quantity for this price tier, inclusive.\n * @min 1\n */\n countFrom?: number | null;\n /**\n * Maximum quantity for this price tier, inclusive.\n *\n * If not specified, this tier applies to all quantities greater or equal to `countFrom`.\n * @min 1\n */\n countTo?: number | null;\n}\n\nexport interface SupplierInfo {\n /**\n * Supplier ID.\n *\n * When provided, references a supplier in the Marketplace Supplier service.\n * The system automatically retrieves and populates the supplier's name, rating, and verification status.\n * @format GUID\n */\n id?: string | null;\n /**\n * Supplier name.\n *\n * Automatically populated from the Supplier service when `id` is provided.\n * @minLength 1\n * @maxLength 200\n * @readonly\n */\n name?: string | null;\n /**\n * Supplier rating from 1.00 to 5.00.\n *\n * Automatically populated from the Supplier service when `id` is provided.\n * @decimalValue options { gte:1, lte:5, maxScale:2 }\n * @readonly\n */\n rating?: string | null;\n /**\n * Whether the supplier has been verified by the Marketplace.\n *\n * Verified suppliers have completed the Marketplace verification process.\n * Automatically populated from the Supplier service when `id` is provided.\n *\n * Default: `false`\n * @readonly\n */\n verified?: boolean;\n}\n\nexport interface PrintOnDemandOptions {\n /**\n * Set of possible print technologies for the Product\n * @minSize 1\n * @maxSize 3\n */\n printTechnologies?: PrintTechnologyWithLiterals[];\n /**\n * Mockup image of the product with 'Your Image Here' text.\n * @readonly\n */\n mockupImage?: Image;\n}\n\nexport enum PrintTechnology {\n /** Transfers printed on film and heat-pressed onto fabric. */\n DIRECT_TO_FILM = 'DIRECT_TO_FILM',\n /** Ink directly onto garment. */\n DIRECT_TO_GARMENT = 'DIRECT_TO_GARMENT',\n /** Panels are printed first, then sewn. All‑over coverage with precise placements. */\n CUT_SEW_SUBLIMATION = 'CUT_SEW_SUBLIMATION',\n /** Non‑DTG digital methods (e.g., roll‑to‑roll). */\n DIGITAL_PRINTING = 'DIGITAL_PRINTING',\n /** Stitched threads, premium look. */\n EMBROIDERY = 'EMBROIDERY',\n /** Dye infused into polyester/poly‑coated substrates. */\n SUBLIMATION = 'SUBLIMATION',\n /** Cures ink with UV light on rigid or treated surfaces. */\n UV_PRINTING = 'UV_PRINTING',\n /** Pattern/design is knitted, not printed. */\n KNITWEAR = 'KNITWEAR',\n /** Designs are printed directly onto rolls of fabric, which are then cut and sewn into the final product. */\n DIRECT_TO_FABRIC = 'DIRECT_TO_FABRIC',\n}\n\n/** @enumType */\nexport type PrintTechnologyWithLiterals =\n | PrintTechnology\n | 'DIRECT_TO_FILM'\n | 'DIRECT_TO_GARMENT'\n | 'CUT_SEW_SUBLIMATION'\n | 'DIGITAL_PRINTING'\n | 'EMBROIDERY'\n | 'SUBLIMATION'\n | 'UV_PRINTING'\n | 'KNITWEAR'\n | 'DIRECT_TO_FABRIC';\n\nexport interface SizeGuide {\n /** Sizes units (inches or cm) */\n measurementUnit?: MeasurementUnitWithLiterals;\n /**\n * Text description of the size guide\n * @maxLength 8000\n */\n description?: string | null;\n /**\n * Image for the size guide\n * @format WEB_URL\n */\n imageUrl?: string | null;\n /**\n * Text description of the image content\n * @maxLength 8000\n */\n imageDescription?: string | null;\n /**\n * Sizes specifications\n * @maxSize 10\n */\n specifications?: Specification[];\n}\n\nexport enum MeasurementUnit {\n CM = 'CM',\n INCHES = 'INCHES',\n}\n\n/** @enumType */\nexport type MeasurementUnitWithLiterals = MeasurementUnit | 'CM' | 'INCHES';\n\nexport interface Specification {\n /**\n * What is measured, e.g. chest, waist, sleeve\n * @maxLength 50\n */\n category?: string;\n /**\n * Measurements for different sizes\n * @minSize 1\n * @maxSize 50\n */\n measurements?: Measurement[];\n}\n\nexport interface Measurement extends MeasurementValueOneOf {\n /**\n * The value of the size in case of single value\n * @minLength 1\n * @maxLength 50\n */\n singleValue?: string;\n /** The value of the size in case of range (min/max) */\n range?: MeasurementValueRange;\n /**\n * Product size, e.g. S, M, L\n * @maxLength 50\n */\n sizeLabel?: string;\n}\n\n/** @oneof */\nexport interface MeasurementValueOneOf {\n /**\n * The value of the size in case of single value\n * @minLength 1\n * @maxLength 50\n */\n singleValue?: string;\n /** The value of the size in case of range (min/max) */\n range?: MeasurementValueRange;\n}\n\nexport interface MeasurementValueRange {\n /**\n * Minimum value\n * @minLength 1\n * @maxLength 50\n */\n minimum?: string;\n /**\n * Maximum value\n * @minLength 1\n * @maxLength 50\n */\n maximum?: string;\n}\n\n/**\n * Common object for tags.\n * Should be use as in this example:\n * message Foo {\n * option (.wix.api.decomposite_of) = \"wix.commons.v2.tags.Foo\";\n * string id = 1;\n * ...\n * Tags tags = 5\n * }\n *\n * example of taggable entity\n * {\n * id: \"123\"\n * tags: {\n * public_tags: {\n * tag_ids:[\"11\",\"22\"]\n * },\n * private_tags: {\n * tag_ids: [\"33\", \"44\"]\n * }\n * }\n * }\n */\nexport interface Tags {\n /** Tags that require an additional permission in order to access them, normally not given to site members or visitors. */\n privateTags?: TagList;\n /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */\n publicTags?: TagList;\n}\n\nexport interface TagList {\n /**\n * List of tag IDs.\n * @maxSize 100\n * @maxLength 5\n */\n tagIds?: string[];\n}\n\n/**\n * Event payload for product tag modifications.\n *\n * Triggered when product tags are updated via bulk tag operations.\n */\nexport interface TagsModified {\n /** Product with updated tags. */\n product?: Product;\n /** Tags that were added to the product. */\n assignedTags?: Tags;\n /** Tags that were removed from the product. */\n unassignedTags?: Tags;\n}\n\nexport interface CreateProductRequest {\n /** Product to create. Must include all required fields for the specified product types. */\n product: Product;\n}\n\nexport interface CreateProductResponse {\n /** Created product with assigned ID and read-only fields populated. */\n product?: Product;\n}\n\nexport interface GetProductRequest {\n /**\n * Product ID.\n * @format GUID\n */\n productId: string;\n}\n\n/** Additional fields that can be requested in API responses. */\nexport enum RequestedField {\n /** Include exact inventory quantity in the response. */\n INVENTORY_QUANTITY = 'INVENTORY_QUANTITY',\n}\n\n/** @enumType */\nexport type RequestedFieldWithLiterals = RequestedField | 'INVENTORY_QUANTITY';\n\nexport interface GetProductResponse {\n /** Retrieved product. */\n product?: Product;\n}\n\nexport interface UpdateProductRequest {\n /** Product to update. May be partial - only fields to be updated need to be provided. */\n product: Product;\n}\n\nexport interface UpdateProductResponse {\n /** Updated product. */\n product?: Product;\n}\n\nexport interface DeleteProductRequest {\n /**\n * Product ID.\n * @format GUID\n */\n productId: string;\n}\n\nexport interface DeleteProductResponse {}\n\nexport interface BulkCreateProductsRequest {\n /**\n * Products to create. Each must include all required fields for the specified product types.\n * @minSize 1\n * @maxSize 100\n */\n products: Product[];\n /**\n * Whether to return the created products in the response.\n *\n * Default: `false`\n */\n returnEntity?: boolean;\n}\n\nexport interface BulkCreateProductsResponse {\n /**\n * Results of the bulk create operation, one per input product.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkProductResult[];\n /** Metadata about the bulk operation including success and failure counts. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface ItemMetadata {\n /**\n * Item ID. Should always be available, unless it's impossible. For example, when failing to create an item.\n * @format GUID\n */\n id?: string | null;\n /** Index of the item within the request array. Allows for correlation between request and response items. */\n originalIndex?: number;\n /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */\n success?: boolean;\n /** Details about the error in case of failure. */\n error?: ApplicationError;\n}\n\nexport interface ApplicationError {\n /** Error code. */\n code?: string;\n /** Description of the error. */\n description?: string;\n /** Data related to the error. */\n data?: Record<string, any> | null;\n}\n\nexport interface BulkProductResult {\n /** Metadata regarding the specific single create operation */\n itemMetadata?: ItemMetadata;\n /** Only exists if `returnEntity` was set to true in the request */\n item?: Product;\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 BulkUpdateProductsRequest {\n /**\n * Products to update. Each can be partial based on its field mask.\n * @minSize 1\n * @maxSize 100\n */\n products: MaskedProduct[];\n /**\n * Whether to return the updated products in the response.\n *\n * Default: `false`\n */\n returnEntity?: boolean;\n}\n\nexport interface MaskedProduct {\n /** Product to update. May be partial - only fields to be updated need to be provided. */\n product?: Product;\n}\n\nexport interface BulkUpdateProductsResponse {\n /**\n * Results\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkUpdateProductsResponseBulkProductResult[];\n /** Metadata regarding the bulk update operation */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkUpdateProductsResponseBulkProductResult {\n /** Metadata regarding the specific single update operation */\n itemMetadata?: ItemMetadata;\n /** Only exists if `returnEntity` was set to true in the request */\n item?: Product;\n}\n\nexport interface BulkDeleteProductsRequest {\n /**\n * Product IDs to delete.\n * @minSize 1\n * @maxSize 100\n * @format GUID\n */\n productIds: string[];\n}\n\nexport interface BulkDeleteProductsResponse {\n /**\n * Results\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkDeleteProductsResponseBulkProductResult[];\n /** Metadata regarding the bulk delete operation */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkDeleteProductsResponseBulkProductResult {\n /** Metadata regarding the specific single delete operation */\n itemMetadata?: ItemMetadata;\n}\n\nexport interface QueryProductsRequest {\n /** Query parameters including filter, sort, and paging options. */\n query?: CommonCursorQuery;\n}\n\nexport interface CommonCursorQuery extends CommonCursorQueryPagingMethodOneOf {\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CommonCursorPaging;\n /**\n * Filter object in the following format:\n * `\"filter\" : {\n * \"fieldName1\": \"value1\",\n * \"fieldName2\":{\"$operator\":\"value2\"}\n * }`\n * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object in the following format:\n * `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]`\n * @maxSize 5\n */\n sort?: CommonSorting[];\n}\n\n/** @oneof */\nexport interface CommonCursorQueryPagingMethodOneOf {\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CommonCursorPaging;\n}\n\nexport interface CommonSorting {\n /**\n * Name of the field to sort by.\n * @maxLength 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: CommonSortOrderWithLiterals;\n /**\n * Filters to specify which element to use for sorting when `fieldName` refers to a repeated field marked as `MATCH_ITEMS`.\n *\n * These filters ensure the correct element is selected from the collection for sorting. Multiple filters are combined using the `AND` operator.\n *\n * For example, for a document like `{\"id\": \"1\", \"nestedField\": [{\"price\": 10, \"region\": \"EU\"}, {\"price\": 20, \"region\": \"US\"}]}`,\n * if `nestedField` is marked as `MATCH_ITEMS`, sorting by price in the US region requires:\n * `{fieldName: \"nestedField.price\", \"selectItemsBy\": [{\"nestedField.region\": \"US\"}]}`.\n * @maxSize 10\n */\n selectItemsBy?: Record<string, any>[] | null;\n}\n\nexport enum CommonSortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type CommonSortOrderWithLiterals = CommonSortOrder | 'ASC' | 'DESC';\n\nexport interface CommonCursorPaging {\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 QueryProductsResponse {\n /** Products matching the query. */\n products?: Product[];\n /** Paging information for retrieving additional results. */\n pagingMetadata?: CommonCursorPagingMetadata;\n}\n\nexport interface CommonCursorPagingMetadata {\n /** Number of items returned in the response. */\n count?: number | null;\n /** Cursor strings that point to the next page, previous page, or both. */\n cursors?: CommonCursors;\n /**\n * Whether there are more pages to retrieve following the current page.\n *\n * + `true`: Another page of results can be retrieved.\n * + `false`: This is the last page.\n */\n hasNext?: boolean | null;\n}\n\nexport interface CommonCursors {\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 SearchProductsRequest {\n /** Search parameters including filter, sort, full-text search, and aggregations. */\n search?: CursorSearch;\n}\n\nexport interface CursorSearch extends CursorSearchPagingMethodOneOf {\n /**\n * Cursor pointing to page of results.\n * When requesting 'cursor_paging.cursor', no `filter`, `sort` or `search` can be provided.\n */\n cursorPaging?: CommonCursorPaging;\n /** A filter object. See documentation [here](https://bo.wix.com/wix-docs/rnd/platformization-guidelines/api-query-language#platformization-guidelines_api-query-language_defining-in-protobuf) */\n filter?: Record<string, any> | null;\n /**\n * Sort object in the form [{\"fieldName\":\"sortField1\"},{\"fieldName\":\"sortField2\",\"direction\":\"DESC\"}]\n * @maxSize 10\n */\n sort?: CommonSorting[];\n /**\n * Aggregations | Faceted search: refers to a way to explore large amounts of data by displaying summaries about various partitions of the data and later allowing to narrow the navigation to a specific partition.\n * @maxSize 10\n */\n aggregations?: Aggregation[];\n /** Free text to match in searchable fields */\n search?: SearchDetails;\n /**\n * UTC offset or IANA time zone. Valid values are\n * ISO 8601 UTC offsets, such as +02:00 or -06:00,\n * and IANA time zone IDs, such as Europe/Rome\n *\n * Affects all filters and aggregations returned values.\n * You may override this behavior in a specific filter by providing\n * timestamps including time zone. e.g. `\"2023-12-20T10:52:34.795Z\"`\n * @maxLength 50\n */\n timeZone?: string | null;\n}\n\n/** @oneof */\nexport interface CursorSearchPagingMethodOneOf {\n /**\n * Cursor pointing to page of results.\n * When requesting 'cursor_paging.cursor', no `filter`, `sort` or `search` can be provided.\n */\n cursorPaging?: CommonCursorPaging;\n}\n\nexport interface Aggregation extends AggregationKindOneOf {\n /** Value aggregation */\n value?: ValueAggregation;\n /** Range aggregation */\n range?: RangeAggregation;\n /** Scalar aggregation */\n scalar?: ScalarAggregation;\n /** Date histogram aggregation */\n dateHistogram?: DateHistogramAggregation;\n /** Nested aggregation */\n nested?: NestedAggregation;\n /**\n * User-defined name of aggregation, should be unique, will appear in aggregation results\n * @maxLength 100\n */\n name?: string | null;\n /** Type of aggregation, client must provide matching aggregation field below */\n type?: AggregationTypeWithLiterals;\n /**\n * Field to aggregate by, use dot notation to specify json path\n * @maxLength 200\n */\n fieldPath?: string;\n}\n\n/** @oneof */\nexport interface AggregationKindOneOf {\n /** Value aggregation */\n value?: ValueAggregation;\n /** Range aggregation */\n range?: RangeAggregation;\n /** Scalar aggregation */\n scalar?: ScalarAggregation;\n /** Date histogram aggregation */\n dateHistogram?: DateHistogramAggregation;\n /** Nested aggregation */\n nested?: NestedAggregation;\n}\n\nexport interface RangeBucket {\n /** Inclusive lower bound of the range. Required if to is not given */\n from?: number | null;\n /** Exclusive upper bound of the range. Required if from is not given */\n to?: number | null;\n}\n\nexport enum SortType {\n /** Should sort by number of matches */\n COUNT = 'COUNT',\n /** Should sort by value of the field alphabetically */\n VALUE = 'VALUE',\n}\n\n/** @enumType */\nexport type SortTypeWithLiterals = SortType | 'COUNT' | 'VALUE';\n\nexport enum SortDirection {\n /** Should sort in descending order */\n DESC = 'DESC',\n /** Should sort in ascending order */\n ASC = 'ASC',\n}\n\n/** @enumType */\nexport type SortDirectionWithLiterals = SortDirection | 'DESC' | 'ASC';\n\nexport enum MissingValues {\n /** Should missing values be excluded from the aggregation results */\n EXCLUDE = 'EXCLUDE',\n /** Should missing values be included in the aggregation results */\n INCLUDE = 'INCLUDE',\n}\n\n/** @enumType */\nexport type MissingValuesWithLiterals = MissingValues | 'EXCLUDE' | 'INCLUDE';\n\nexport interface IncludeMissingValuesOptions {\n /**\n * Can specify custom bucket name. Defaults are [string -> \"N/A\"], [int -> \"0\"], [bool -> \"false\"] ...\n * @maxLength 20\n */\n addToBucket?: string;\n}\n\nexport enum ScalarType {\n /** Count of distinct values */\n COUNT_DISTINCT = 'COUNT_DISTINCT',\n /** Minimum value */\n MIN = 'MIN',\n /** Maximum value */\n MAX = 'MAX',\n}\n\n/** @enumType */\nexport type ScalarTypeWithLiterals =\n | ScalarType\n | 'COUNT_DISTINCT'\n | 'MIN'\n | 'MAX';\n\nexport interface ValueAggregation extends ValueAggregationOptionsOneOf {\n /** Options for including missing values */\n includeOptions?: IncludeMissingValuesOptions;\n /** Should sort by number of matches or value of the field */\n sortType?: SortTypeWithLiterals;\n /** Should sort in ascending or descending order */\n sortDirection?: SortDirectionWithLiterals;\n /** How many aggregations would you like to return? Can be between 1 and 250. 10 is the default. */\n limit?: number | null;\n /** Should missing values be included or excluded from the aggregation results. Default is EXCLUDE */\n missingValues?: MissingValuesWithLiterals;\n}\n\n/** @oneof */\nexport interface ValueAggregationOptionsOneOf {\n /** Options for including missing values */\n includeOptions?: IncludeMissingValuesOptions;\n}\n\nexport enum NestedAggregationType {\n /** An aggregation where result buckets are dynamically built - one per unique value */\n VALUE = 'VALUE',\n /** An aggregation, where user can define set of ranges - each representing a bucket */\n RANGE = 'RANGE',\n /** A single-value metric aggregation - e.g. min, max, sum, avg */\n SCALAR = 'SCALAR',\n /** An aggregation, where result buckets are dynamically built - one per time interval (hour, day, week, etc.) */\n DATE_HISTOGRAM = 'DATE_HISTOGRAM',\n}\n\n/** @enumType */\nexport type NestedAggregationTypeWithLiterals =\n | NestedAggregationType\n | 'VALUE'\n | 'RANGE'\n | 'SCALAR'\n | 'DATE_HISTOGRAM';\n\nexport interface RangeAggregation {\n /**\n * List of range buckets, where during aggregation each entity will be placed in the first bucket where its value falls into based on provided range bounds\n * @maxSize 50\n */\n buckets?: RangeBucket[];\n}\n\nexport interface ScalarAggregation {\n /** Define the operator for the scalar aggregation */\n type?: ScalarTypeWithLiterals;\n}\n\nexport interface DateHistogramAggregation {\n /** Interval for date histogram aggregation */\n interval?: IntervalWithLiterals;\n}\n\nexport enum Interval {\n /** Yearly interval */\n YEAR = 'YEAR',\n /** Monthly interval */\n MONTH = 'MONTH',\n /** Weekly interval */\n WEEK = 'WEEK',\n /** Daily interval */\n DAY = 'DAY',\n /** Hourly interval */\n HOUR = 'HOUR',\n /** Minute interval */\n MINUTE = 'MINUTE',\n /** Second interval */\n SECOND = 'SECOND',\n}\n\n/** @enumType */\nexport type IntervalWithLiterals =\n | Interval\n | 'YEAR'\n | 'MONTH'\n | 'WEEK'\n | 'DAY'\n | 'HOUR'\n | 'MINUTE'\n | 'SECOND';\n\nexport interface NestedAggregationItem extends NestedAggregationItemKindOneOf {\n /** Value aggregation */\n value?: ValueAggregation;\n /** Range aggregation */\n range?: RangeAggregation;\n /** Scalar aggregation */\n scalar?: ScalarAggregation;\n /** Date histogram aggregation */\n dateHistogram?: DateHistogramAggregation;\n /**\n * User-defined name of aggregation, should be unique, will appear in aggregation results\n * @maxLength 100\n */\n name?: string | null;\n /** Type of aggregation, client must provide matching aggregation field below */\n type?: NestedAggregationTypeWithLiterals;\n /**\n * Field to aggregate by, use dont notation to specify json path\n * @maxLength 200\n */\n fieldPath?: string;\n}\n\n/** @oneof */\nexport interface NestedAggregationItemKindOneOf {\n /** Value aggregation */\n value?: ValueAggregation;\n /** Range aggregation */\n range?: RangeAggregation;\n /** Scalar aggregation */\n scalar?: ScalarAggregation;\n /** Date histogram aggregation */\n dateHistogram?: DateHistogramAggregation;\n}\n\nexport enum AggregationType {\n /** An aggregation where result buckets are dynamically built - one per unique value */\n VALUE = 'VALUE',\n /** An aggregation, where user can define set of ranges - each representing a bucket */\n RANGE = 'RANGE',\n /** A single-value metric aggregation - e.g. min, max, sum, avg */\n SCALAR = 'SCALAR',\n /** An aggregation, where result buckets are dynamically built - one per time interval (hour, day, week, etc.) */\n DATE_HISTOGRAM = 'DATE_HISTOGRAM',\n /** Multi-level aggregation, where each next aggregation is nested within previous one */\n NESTED = 'NESTED',\n}\n\n/** @enumType */\nexport type AggregationTypeWithLiterals =\n | AggregationType\n | 'VALUE'\n | 'RANGE'\n | 'SCALAR'\n | 'DATE_HISTOGRAM'\n | 'NESTED';\n\n/** Nested aggregation expressed through a list of aggregation where each next aggregation is nested within previous one */\nexport interface NestedAggregation {\n /**\n * Flattened list of aggregations, where each next aggregation is nested within previous one\n * @minSize 2\n * @maxSize 3\n */\n nestedAggregations?: NestedAggregationItem[];\n}\n\nexport interface SearchDetails {\n /**\n * Search term or expression\n * @maxLength 100\n */\n expression?: string | null;\n}\n\nexport enum Mode {\n /** Any of the search terms must be present */\n OR = 'OR',\n /** All search terms must be present */\n AND = 'AND',\n}\n\n/** @enumType */\nexport type ModeWithLiterals = Mode | 'OR' | 'AND';\n\nexport interface SearchProductsResponse {\n /** Products matching the search criteria. */\n products?: Product[];\n /** Paging information for retrieving additional results. */\n pagingMetadata?: CommonCursorPagingMetadata;\n /** Aggregation results for faceted search. */\n aggregationData?: AggregationData;\n}\n\nexport interface AggregationData {\n /**\n * key = aggregation name (as derived from search request)\n * @maxSize 10000\n */\n results?: AggregationResults[];\n}\n\nexport interface ValueAggregationResult {\n /**\n * Value of the field\n * @maxLength 100\n */\n value?: string;\n /** Count of entities with this value */\n count?: number;\n}\n\nexport interface RangeAggregationResult {\n /** Inclusive lower bound of the range */\n from?: number | null;\n /** Exclusive upper bound of the range */\n to?: number | null;\n /** Count of entities in this range */\n count?: number;\n}\n\nexport interface NestedAggregationResults\n extends NestedAggregationResultsResultOneOf {\n /** Value aggregation results */\n values?: ValueResults;\n /** Range aggregation results */\n ranges?: RangeResults;\n /** Scalar aggregation results */\n scalar?: AggregationResultsScalarResult;\n /**\n * User-defined name of aggregation, matches the one provided in request\n * @maxLength 100\n */\n name?: string;\n /** Type of aggregation that matches result */\n type?: AggregationTypeWithLiterals;\n /**\n * Field to aggregate by, matches the one provided in request\n * @maxLength 200\n */\n fieldPath?: string;\n}\n\n/** @oneof */\nexport interface NestedAggregationResultsResultOneOf {\n /** Value aggregation results */\n values?: ValueResults;\n /** Range aggregation results */\n ranges?: RangeResults;\n /** Scalar aggregation results */\n scalar?: AggregationResultsScalarResult;\n}\n\nexport interface ValueResults {\n /**\n * List of value aggregations\n * @maxSize 250\n */\n results?: ValueAggregationResult[];\n}\n\nexport interface RangeResults {\n /**\n * List of ranges returned in same order as requested\n * @maxSize 50\n */\n results?: RangeAggregationResult[];\n}\n\nexport interface AggregationResultsScalarResult {\n /** Type of scalar aggregation */\n type?: ScalarTypeWithLiterals;\n /** Value of the scalar aggregation */\n value?: number;\n}\n\nexport interface NestedValueAggregationResult {\n /**\n * Value of the field\n * @maxLength 1000\n */\n value?: string;\n /** Nested aggregations */\n nestedResults?: NestedAggregationResults;\n}\n\nexport interface ValueResult {\n /**\n * Value of the field\n * @maxLength 1000\n */\n value?: string;\n /** Count of entities with this value */\n count?: number | null;\n}\n\nexport interface RangeResult {\n /** Inclusive lower bound of the range */\n from?: number | null;\n /** Exclusive upper bound of the range */\n to?: number | null;\n /** Count of entities in this range */\n count?: number | null;\n}\n\nexport interface ScalarResult {\n /** Value of the scalar aggregation */\n value?: number;\n}\n\nexport interface NestedResultValue extends NestedResultValueResultOneOf {\n /** Value aggregation result */\n value?: ValueResult;\n /** Range aggregation result */\n range?: RangeResult;\n /** Scalar aggregation result */\n scalar?: ScalarResult;\n /** Date histogram aggregation result */\n dateHistogram?: ValueResult;\n}\n\n/** @oneof */\nexport interface NestedResultValueResultOneOf {\n /** Value aggregation result */\n value?: ValueResult;\n /** Range aggregation result */\n range?: RangeResult;\n /** Scalar aggregation result */\n scalar?: ScalarResult;\n /** Date histogram aggregation result */\n dateHistogram?: ValueResult;\n}\n\nexport interface Results {\n /** List of nested aggregations */\n results?: Record<string, NestedResultValue>;\n}\n\nexport interface DateHistogramResult {\n /**\n * Date in ISO 8601 format\n * @maxLength 100\n */\n value?: string;\n /** Count of documents in the bucket */\n count?: number;\n}\n\nexport interface GroupByValueResults {\n /**\n * List of value aggregations\n * @maxSize 1000\n */\n results?: NestedValueAggregationResult[];\n}\n\nexport interface DateHistogramResults {\n /**\n * List of date histogram aggregations\n * @maxSize 200\n */\n results?: DateHistogramResult[];\n}\n\n/**\n * Results of `NESTED` aggregation type in a flattened form\n * aggregations in resulting array are keyed by requested aggregation `name`.\n */\nexport interface NestedResults {\n /**\n * List of nested aggregations\n * @maxSize 1000\n */\n results?: Results[];\n}\n\nexport interface AggregationResults extends AggregationResultsResultOneOf {\n /** Value aggregation results */\n values?: ValueResults;\n /** Range aggregation results */\n ranges?: RangeResults;\n /** Scalar aggregation results */\n scalar?: AggregationResultsScalarResult;\n /** Group by value aggregation results */\n groupedByValue?: GroupByValueResults;\n /** Date histogram aggregation results */\n dateHistogram?: DateHistogramResults;\n /** Nested aggregation results */\n nested?: NestedResults;\n /**\n * User-defined name of aggregation as derived from search request\n * @maxLength 100\n */\n name?: string;\n /** Type of aggregation that must match provided kind as derived from search request */\n type?: AggregationTypeWithLiterals;\n /**\n * Field to aggregate by as derived from search request\n * @maxLength 200\n */\n fieldPath?: string;\n}\n\n/** @oneof */\nexport interface AggregationResultsResultOneOf {\n /** Value aggregation results */\n values?: ValueResults;\n /** Range aggregation results */\n ranges?: RangeResults;\n /** Scalar aggregation results */\n scalar?: AggregationResultsScalarResult;\n /** Group by value aggregation results */\n groupedByValue?: GroupByValueResults;\n /** Date histogram aggregation results */\n dateHistogram?: DateHistogramResults;\n /** Nested aggregation results */\n nested?: NestedResults;\n}\n\nexport interface BulkUpdateProductTagsRequest {\n /**\n * Product IDs to update tags for.\n * @minSize 1\n * @maxSize 100\n * @format GUID\n */\n productIds: string[];\n /** Tags to assign to the products. */\n assignTags?: Tags;\n /** Tags to remove from the products. */\n unassignTags?: Tags;\n}\n\nexport interface BulkUpdateProductTagsResponse {\n /**\n * Results\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkUpdateProductTagsResult[];\n /** Metadata regarding the bulk update operation */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkUpdateProductTagsResult {\n /** Metadata regarding the specific single update operation */\n itemMetadata?: ItemMetadata;\n}\n\nexport interface BulkUpdateProductTagsByFilterRequest {\n /** Filter to select products for tag updates. Empty filter updates all products. */\n filter: Record<string, any> | null;\n /** Tags to assign to matching products. */\n assignTags?: Tags;\n /** Tags to remove from matching products. */\n unassignTags?: Tags;\n}\n\nexport interface BulkUpdateProductTagsByFilterResponse {\n /**\n * Job ID for tracking the asynchronous tag update operation.\n * @format GUID\n */\n jobId?: string;\n}\n\nexport interface QueryCategoriesRequest {\n /** Query parameters including filter, sort, and paging options. */\n query?: CursorQuery;\n /** The namespace this category belongs to. */\n namespace: CategoryNamespaceWithLiterals;\n /** Whether non visible categories should be included in the response. Default is `false`. */\n returnNonVisibleCategories?: boolean;\n}\n\nexport interface CursorQuery extends CursorQueryPagingMethodOneOf {\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n /**\n * Filter object in the following format:\n * `\"filter\" : {\n * \"fieldName1\": \"value1\",\n * \"fieldName2\":{\"$operator\":\"value2\"}\n * }`\n * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object in the following format:\n * `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]`\n * @maxSize 5\n */\n sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface CursorQueryPagingMethodOneOf {\n /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n /**\n * Name of the field to sort by.\n * @maxLength 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: SortOrderWithLiterals;\n /**\n * Filters to specify which element to use for sorting when `fieldName` refers to a repeated field marked as `MATCH_ITEMS`.\n *\n * These filters ensure the correct element is selected from the collection for sorting. Multiple filters are combined using the `AND` operator.\n *\n * For example, for a document like `{\"id\": \"1\", \"nestedField\": [{\"price\": 10, \"region\": \"EU\"}, {\"price\": 20, \"region\": \"US\"}]}`,\n * if `nestedField` is marked as `MATCH_ITEMS`, sorting by price in the US region requires:\n * `{fieldName: \"nestedField.price\", \"selectItemsBy\": [{\"nestedField.region\": \"US\"}]}`.\n * @maxSize 10\n */\n selectItemsBy?: Record<string, any>[] | null;\n}\n\nexport enum SortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface CursorPaging {\n /**\n * Maximum number of items to return in the results.\n * @max 1000\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 QueryCategoriesResponse {\n /** Categories matching the query. */\n categories?: Category[];\n /** Paging information for retrieving additional results. */\n pagingMetadata?: CursorPagingMetadata;\n}\n\n/**\n * A category for organizing Marketplace products.\n *\n * Categories form a hierarchical structure to help store owners discover relevant products.\n */\nexport interface Category {\n /**\n * Category ID.\n * @format GUID\n * @readonly\n */\n id?: string | null;\n /**\n * Category name.\n * @minLength 1\n * @maxLength 80\n */\n name?: string | null;\n /**\n * Category description.\n * @minLength 1\n * @maxLength 600\n */\n description?: string | null;\n /**\n * Number of items in this category.\n * @readonly\n */\n itemCount?: number;\n /**\n * Navigation path from root to this category.\n *\n * The current category isn't included in the list.\n * @readonly\n * @maxSize 5\n */\n breadcrumbs?: Breadcrumb[];\n /**\n * Parent category information in the hierarchy.\n * @immutable\n */\n parentCategory?: ParentCategory;\n /**\n * URL-friendly category identifier.\n * @format URL_SLUG\n */\n slug?: string | null;\n /**\n * Whether the category is visible in the Marketplace.\n *\n * Default: `true`\n */\n visible?: boolean | null;\n}\n\nexport interface Breadcrumb {\n /**\n * Ancestor category ID.\n * @format GUID\n */\n categoryId?: string;\n /**\n * Ancestor category name.\n * @minLength 1\n * @maxLength 80\n */\n categoryName?: string;\n /**\n * Ancestor category slug.\n * @minLength 1\n * @maxLength 100\n */\n categorySlug?: string;\n}\n\n/** Information about a category's parent in the hierarchy. */\nexport interface ParentCategory {\n /**\n * Parent category ID.\n * @format GUID\n */\n id?: string | null;\n /**\n * Index position of the category within the parent category.\n * @readonly\n */\n index?: number | null;\n}\n\nexport interface CursorPagingMetadata {\n /** Number of items returned in the response. */\n count?: number | null;\n /** Cursor strings that point to the next page, previous page, or both. */\n cursors?: Cursors;\n /**\n * Whether there are more pages to retrieve following the current page.\n *\n * + `true`: Another page of results can be retrieved.\n * + `false`: This is the last page.\n */\n hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n /**\n * Cursor string pointing to the next page in the list of results.\n * @maxLength 16000\n */\n next?: string | null;\n /**\n * Cursor pointing to the previous page in the list of results.\n * @maxLength 16000\n */\n prev?: string | null;\n}\n\nexport interface BulkAddProductsToStoreRequest {\n /**\n * Products to add to the user's store.\n * @minSize 1\n * @maxSize 50\n */\n productReferences?: ProductReference[];\n}\n\nexport interface ProductReference {\n /**\n * Product ID.\n * @format GUID\n */\n productId?: string;\n /**\n * Provider app ID.\n * @format GUID\n * @readonly\n */\n appId?: string;\n /**\n * Additional metadata for the product reference.\n *\n * For example, internal identifiers on the provider's platform.\n */\n options?: Record<string, any> | null;\n /**\n * Whether the product is visible in the store.\n *\n * Default: `false`\n */\n visibleInStore?: boolean;\n}\n\nexport interface BulkAddProductsToStoreResponse {\n /**\n * Results of adding products to the store, one per input product.\n * @minSize 1\n * @maxSize 50\n */\n results?: BulkAddProductToStoreResult[];\n /** Metadata about the bulk operation including success and failure counts. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkAddProductToStoreResult {\n /** Metadata regarding the specific single operation */\n itemMetadata?: ItemMetadata;\n /** Product added to the user's store */\n item?: ProductReference;\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entityAsJson?: string;\n /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n restoreInfo?: RestoreInfo;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntityAsJson?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntityAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n bodyAsJson?: string;\n}\n\nexport interface Empty {}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n /** Details related to the account */\n accountInfo?: AccountInfo;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\nexport interface AccountInfo {\n /**\n * ID of the Wix account associated with the event.\n * @format GUID\n */\n accountId?: string | null;\n /**\n * ID of the parent Wix account. Only included when accountId belongs to a child account.\n * @format GUID\n */\n parentAccountId?: string | null;\n /**\n * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n * @format GUID\n */\n siteId?: string | null;\n}\n\n/** @docsIgnore */\nexport type BulkUpdateProductTagsApplicationErrors = {\n code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';\n description?: string;\n data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type BulkUpdateProductTagsByFilterApplicationErrors = {\n code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';\n description?: string;\n data?: Record<string, any>;\n};\n","import * as ambassadorWixSuppliershubMarketplaceProductV1Product from './suppliershub-marketplace-product-v1-product-products.http.js';\nimport * as ambassadorWixSuppliershubMarketplaceProductV1ProductTypes from './suppliershub-marketplace-product-v1-product-products.types.js';\nimport * as ambassadorWixSuppliershubMarketplaceProductV1ProductUniversalTypes from './suppliershub-marketplace-product-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 ambassadorWixSuppliershubMarketplaceProductV1ProductUniversalTypes.CreateProductRequest,\n ambassadorWixSuppliershubMarketplaceProductV1ProductTypes.CreateProductRequest,\n ambassadorWixSuppliershubMarketplaceProductV1ProductUniversalTypes.CreateProductResponse,\n ambassadorWixSuppliershubMarketplaceProductV1ProductTypes.CreateProductResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixSuppliershubMarketplaceProductV1Product.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 getProduct(): __PublicMethodMetaInfo<\n 'GET',\n { productId: string },\n ambassadorWixSuppliershubMarketplaceProductV1ProductUniversalTypes.GetProductRequest,\n ambassadorWixSuppliershubMarketplaceProductV1ProductTypes.GetProductRequest,\n ambassadorWixSuppliershubMarketplaceProductV1ProductUniversalTypes.GetProductResponse,\n ambassadorWixSuppliershubMarketplaceProductV1ProductTypes.GetProductResponse\n> {\n const payload = { productId: ':productId' } as any;\n\n const getRequestOptions =\n ambassadorWixSuppliershubMarketplaceProductV1Product.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/{productId}',\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 updateProduct(): __PublicMethodMetaInfo<\n 'PATCH',\n { productId: string },\n ambassadorWixSuppliershubMarketplaceProductV1ProductUniversalTypes.UpdateProductRequest,\n ambassadorWixSuppliershubMarketplaceProductV1ProductTypes.UpdateProductRequest,\n ambassadorWixSuppliershubMarketplaceProductV1ProductUniversalTypes.UpdateProductResponse,\n ambassadorWixSuppliershubMarketplaceProductV1ProductTypes.UpdateProductResponse\n> {\n const payload = { product: { id: ':productId' } } as any;\n\n const getRequestOptions =\n ambassadorWixSuppliershubMarketplaceProductV1Product.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 { productId: string },\n ambassadorWixSuppliershubMarketplaceProductV1ProductUniversalTypes.DeleteProductRequest,\n ambassadorWixSuppliershubMarketplaceProductV1ProductTypes.DeleteProductRequest,\n ambassadorWixSuppliershubMarketplaceProductV1ProductUniversalTypes.DeleteProductResponse,\n ambassadorWixSuppliershubMarketplaceProductV1ProductTypes.DeleteProductResponse\n> {\n const payload = { productId: ':productId' } as any;\n\n const getRequestOptions =\n ambassadorWixSuppliershubMarketplaceProductV1Product.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/{productId}',\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 bulkCreateProducts(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixSuppliershubMarketplaceProductV1ProductUniversalTypes.BulkCreateProductsRequest,\n ambassadorWixSuppliershubMarketplaceProductV1ProductTypes.BulkCreateProductsRequest,\n ambassadorWixSuppliershubMarketplaceProductV1ProductUniversalTypes.BulkCreateProductsResponse,\n ambassadorWixSuppliershubMarketplaceProductV1ProductTypes.BulkCreateProductsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixSuppliershubMarketplaceProductV1Product.bulkCreateProducts(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/products/create',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkUpdateProducts(): __PublicMethodMetaInfo<\n 'PATCH',\n {},\n ambassadorWixSuppliershubMarketplaceProductV1ProductUniversalTypes.BulkUpdateProductsRequest,\n ambassadorWixSuppliershubMarketplaceProductV1ProductTypes.BulkUpdateProductsRequest,\n ambassadorWixSuppliershubMarketplaceProductV1ProductUniversalTypes.BulkUpdateProductsResponse,\n ambassadorWixSuppliershubMarketplaceProductV1ProductTypes.BulkUpdateProductsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixSuppliershubMarketplaceProductV1Product.bulkUpdateProducts(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PATCH',\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 bulkDeleteProducts(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixSuppliershubMarketplaceProductV1ProductUniversalTypes.BulkDeleteProductsRequest,\n ambassadorWixSuppliershubMarketplaceProductV1ProductTypes.BulkDeleteProductsRequest,\n ambassadorWixSuppliershubMarketplaceProductV1ProductUniversalTypes.BulkDeleteProductsResponse,\n ambassadorWixSuppliershubMarketplaceProductV1ProductTypes.BulkDeleteProductsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixSuppliershubMarketplaceProductV1Product.bulkDeleteProducts(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/products/delete',\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 'POST',\n {},\n ambassadorWixSuppliershubMarketplaceProductV1ProductUniversalTypes.QueryProductsRequest,\n ambassadorWixSuppliershubMarketplaceProductV1ProductTypes.QueryProductsRequest,\n ambassadorWixSuppliershubMarketplaceProductV1ProductUniversalTypes.QueryProductsResponse,\n ambassadorWixSuppliershubMarketplaceProductV1ProductTypes.QueryProductsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixSuppliershubMarketplaceProductV1Product.queryProducts(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/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 searchProducts(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixSuppliershubMarketplaceProductV1ProductUniversalTypes.SearchProductsRequest,\n ambassadorWixSuppliershubMarketplaceProductV1ProductTypes.SearchProductsRequest,\n ambassadorWixSuppliershubMarketplaceProductV1ProductUniversalTypes.SearchProductsResponse,\n ambassadorWixSuppliershubMarketplaceProductV1ProductTypes.SearchProductsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixSuppliershubMarketplaceProductV1Product.searchProducts(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/products/search',\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 bulkUpdateProductTags(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixSuppliershubMarketplaceProductV1ProductUniversalTypes.BulkUpdateProductTagsRequest,\n ambassadorWixSuppliershubMarketplaceProductV1ProductTypes.BulkUpdateProductTagsRequest,\n ambassadorWixSuppliershubMarketplaceProductV1ProductUniversalTypes.BulkUpdateProductTagsResponse,\n ambassadorWixSuppliershubMarketplaceProductV1ProductTypes.BulkUpdateProductTagsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixSuppliershubMarketplaceProductV1Product.bulkUpdateProductTags(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/products/update-tags',\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 bulkUpdateProductTagsByFilter(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixSuppliershubMarketplaceProductV1ProductUniversalTypes.BulkUpdateProductTagsByFilterRequest,\n ambassadorWixSuppliershubMarketplaceProductV1ProductTypes.BulkUpdateProductTagsByFilterRequest,\n ambassadorWixSuppliershubMarketplaceProductV1ProductUniversalTypes.BulkUpdateProductTagsByFilterResponse,\n ambassadorWixSuppliershubMarketplaceProductV1ProductTypes.BulkUpdateProductTagsByFilterResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixSuppliershubMarketplaceProductV1Product.bulkUpdateProductTagsByFilter(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/products/update-tags-by-filter',\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 queryCategories(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixSuppliershubMarketplaceProductV1ProductUniversalTypes.QueryCategoriesRequest,\n ambassadorWixSuppliershubMarketplaceProductV1ProductTypes.QueryCategoriesRequest,\n ambassadorWixSuppliershubMarketplaceProductV1ProductUniversalTypes.QueryCategoriesResponse,\n ambassadorWixSuppliershubMarketplaceProductV1ProductTypes.QueryCategoriesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixSuppliershubMarketplaceProductV1Product.queryCategories(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/categories/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 {\n Product as ProductOriginal,\n ProviderInfo as ProviderInfoOriginal,\n Media as MediaOriginal,\n Image as ImageOriginal,\n FocalPoint as FocalPointOriginal,\n ProductType as ProductTypeOriginal,\n ProductTypeWithLiterals as ProductTypeWithLiteralsOriginal,\n ProductOption as ProductOptionOriginal,\n OptionValue as OptionValueOriginal,\n OptionValueValueOneOf as OptionValueValueOneOfOriginal,\n ColorOption as ColorOptionOriginal,\n TimeInterval as TimeIntervalOriginal,\n TimeValue as TimeValueOriginal,\n TimeUnit as TimeUnitOriginal,\n TimeUnitWithLiterals as TimeUnitWithLiteralsOriginal,\n ShippingDestination as ShippingDestinationOriginal,\n ShippingDestinationCountriesOptionsOneOf as ShippingDestinationCountriesOptionsOneOfOriginal,\n CountrySelections as CountrySelectionsOriginal,\n CountrySelectionsWithLiterals as CountrySelectionsWithLiteralsOriginal,\n Countries as CountriesOriginal,\n Inventory as InventoryOriginal,\n InventoryTier as InventoryTierOriginal,\n InventoryTierWithLiterals as InventoryTierWithLiteralsOriginal,\n ProductCategory as ProductCategoryOriginal,\n CategoryNamespace as CategoryNamespaceOriginal,\n CategoryNamespaceWithLiterals as CategoryNamespaceWithLiteralsOriginal,\n WholesaleOptions as WholesaleOptionsOriginal,\n PriceTier as PriceTierOriginal,\n SupplierInfo as SupplierInfoOriginal,\n PrintOnDemandOptions as PrintOnDemandOptionsOriginal,\n PrintTechnology as PrintTechnologyOriginal,\n PrintTechnologyWithLiterals as PrintTechnologyWithLiteralsOriginal,\n SizeGuide as SizeGuideOriginal,\n MeasurementUnit as MeasurementUnitOriginal,\n MeasurementUnitWithLiterals as MeasurementUnitWithLiteralsOriginal,\n Specification as SpecificationOriginal,\n Measurement as MeasurementOriginal,\n MeasurementValueOneOf as MeasurementValueOneOfOriginal,\n MeasurementValueRange as MeasurementValueRangeOriginal,\n Tags as TagsOriginal,\n TagList as TagListOriginal,\n TagsModified as TagsModifiedOriginal,\n CreateProductRequest as CreateProductRequestOriginal,\n CreateProductResponse as CreateProductResponseOriginal,\n GetProductRequest as GetProductRequestOriginal,\n RequestedField as RequestedFieldOriginal,\n RequestedFieldWithLiterals as RequestedFieldWithLiteralsOriginal,\n GetProductResponse as GetProductResponseOriginal,\n UpdateProductRequest as UpdateProductRequestOriginal,\n UpdateProductResponse as UpdateProductResponseOriginal,\n DeleteProductRequest as DeleteProductRequestOriginal,\n DeleteProductResponse as DeleteProductResponseOriginal,\n BulkCreateProductsRequest as BulkCreateProductsRequestOriginal,\n BulkCreateProductsResponse as BulkCreateProductsResponseOriginal,\n ItemMetadata as ItemMetadataOriginal,\n ApplicationError as ApplicationErrorOriginal,\n BulkProductResult as BulkProductResultOriginal,\n BulkActionMetadata as BulkActionMetadataOriginal,\n BulkUpdateProductsRequest as BulkUpdateProductsRequestOriginal,\n MaskedProduct as MaskedProductOriginal,\n BulkUpdateProductsResponse as BulkUpdateProductsResponseOriginal,\n BulkUpdateProductsResponseBulkProductResult as BulkUpdateProductsResponseBulkProductResultOriginal,\n BulkDeleteProductsRequest as BulkDeleteProductsRequestOriginal,\n BulkDeleteProductsResponse as BulkDeleteProductsResponseOriginal,\n BulkDeleteProductsResponseBulkProductResult as BulkDeleteProductsResponseBulkProductResultOriginal,\n QueryProductsRequest as QueryProductsRequestOriginal,\n CommonCursorQuery as CommonCursorQueryOriginal,\n CommonCursorQueryPagingMethodOneOf as CommonCursorQueryPagingMethodOneOfOriginal,\n CommonSorting as CommonSortingOriginal,\n CommonSortOrder as CommonSortOrderOriginal,\n CommonSortOrderWithLiterals as CommonSortOrderWithLiteralsOriginal,\n CommonCursorPaging as CommonCursorPagingOriginal,\n QueryProductsResponse as QueryProductsResponseOriginal,\n CommonCursorPagingMetadata as CommonCursorPagingMetadataOriginal,\n CommonCursors as CommonCursorsOriginal,\n SearchProductsRequest as SearchProductsRequestOriginal,\n CursorSearch as CursorSearchOriginal,\n CursorSearchPagingMethodOneOf as CursorSearchPagingMethodOneOfOriginal,\n Aggregation as AggregationOriginal,\n AggregationKindOneOf as AggregationKindOneOfOriginal,\n RangeBucket as RangeBucketOriginal,\n SortType as SortTypeOriginal,\n SortTypeWithLiterals as SortTypeWithLiteralsOriginal,\n SortDirection as SortDirectionOriginal,\n SortDirectionWithLiterals as SortDirectionWithLiteralsOriginal,\n MissingValues as MissingValuesOriginal,\n MissingValuesWithLiterals as MissingValuesWithLiteralsOriginal,\n IncludeMissingValuesOptions as IncludeMissingValuesOptionsOriginal,\n ScalarType as ScalarTypeOriginal,\n ScalarTypeWithLiterals as ScalarTypeWithLiteralsOriginal,\n ValueAggregation as ValueAggregationOriginal,\n ValueAggregationOptionsOneOf as ValueAggregationOptionsOneOfOriginal,\n NestedAggregationType as NestedAggregationTypeOriginal,\n NestedAggregationTypeWithLiterals as NestedAggregationTypeWithLiteralsOriginal,\n RangeAggregation as RangeAggregationOriginal,\n ScalarAggregation as ScalarAggregationOriginal,\n DateHistogramAggregation as DateHistogramAggregationOriginal,\n Interval as IntervalOriginal,\n IntervalWithLiterals as IntervalWithLiteralsOriginal,\n NestedAggregationItem as NestedAggregationItemOriginal,\n NestedAggregationItemKindOneOf as NestedAggregationItemKindOneOfOriginal,\n AggregationType as AggregationTypeOriginal,\n AggregationTypeWithLiterals as AggregationTypeWithLiteralsOriginal,\n NestedAggregation as NestedAggregationOriginal,\n SearchDetails as SearchDetailsOriginal,\n Mode as ModeOriginal,\n ModeWithLiterals as ModeWithLiteralsOriginal,\n SearchProductsResponse as SearchProductsResponseOriginal,\n AggregationData as AggregationDataOriginal,\n ValueAggregationResult as ValueAggregationResultOriginal,\n RangeAggregationResult as RangeAggregationResultOriginal,\n NestedAggregationResults as NestedAggregationResultsOriginal,\n NestedAggregationResultsResultOneOf as NestedAggregationResultsResultOneOfOriginal,\n ValueResults as ValueResultsOriginal,\n RangeResults as RangeResultsOriginal,\n AggregationResultsScalarResult as AggregationResultsScalarResultOriginal,\n NestedValueAggregationResult as NestedValueAggregationResultOriginal,\n ValueResult as ValueResultOriginal,\n RangeResult as RangeResultOriginal,\n ScalarResult as ScalarResultOriginal,\n NestedResultValue as NestedResultValueOriginal,\n NestedResultValueResultOneOf as NestedResultValueResultOneOfOriginal,\n Results as ResultsOriginal,\n DateHistogramResult as DateHistogramResultOriginal,\n GroupByValueResults as GroupByValueResultsOriginal,\n DateHistogramResults as DateHistogramResultsOriginal,\n NestedResults as NestedResultsOriginal,\n AggregationResults as AggregationResultsOriginal,\n AggregationResultsResultOneOf as AggregationResultsResultOneOfOriginal,\n BulkUpdateProductTagsRequest as BulkUpdateProductTagsRequestOriginal,\n BulkUpdateProductTagsResponse as BulkUpdateProductTagsResponseOriginal,\n BulkUpdateProductTagsResult as BulkUpdateProductTagsResultOriginal,\n BulkUpdateProductTagsByFilterRequest as BulkUpdateProductTagsByFilterRequestOriginal,\n BulkUpdateProductTagsByFilterResponse as BulkUpdateProductTagsByFilterResponseOriginal,\n QueryCategoriesRequest as QueryCategoriesRequestOriginal,\n CursorQuery as CursorQueryOriginal,\n CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal,\n Sorting as SortingOriginal,\n SortOrder as SortOrderOriginal,\n SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n CursorPaging as CursorPagingOriginal,\n QueryCategoriesResponse as QueryCategoriesResponseOriginal,\n Category as CategoryOriginal,\n Breadcrumb as BreadcrumbOriginal,\n ParentCategory as ParentCategoryOriginal,\n CursorPagingMetadata as CursorPagingMetadataOriginal,\n Cursors as CursorsOriginal,\n BulkAddProductsToStoreRequest as BulkAddProductsToStoreRequestOriginal,\n ProductReference as ProductReferenceOriginal,\n BulkAddProductsToStoreResponse as BulkAddProductsToStoreResponseOriginal,\n BulkAddProductToStoreResult as BulkAddProductToStoreResultOriginal,\n DomainEvent as DomainEventOriginal,\n DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n EntityCreatedEvent as EntityCreatedEventOriginal,\n RestoreInfo as RestoreInfoOriginal,\n EntityUpdatedEvent as EntityUpdatedEventOriginal,\n EntityDeletedEvent as EntityDeletedEventOriginal,\n ActionEvent as ActionEventOriginal,\n Empty as EmptyOriginal,\n MessageEnvelope as MessageEnvelopeOriginal,\n IdentificationData as IdentificationDataOriginal,\n IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n WebhookIdentityType as WebhookIdentityTypeOriginal,\n WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n AccountInfo as AccountInfoOriginal,\n BulkUpdateProductTagsApplicationErrors as BulkUpdateProductTagsApplicationErrorsOriginal,\n BulkUpdateProductTagsByFilterApplicationErrors as BulkUpdateProductTagsByFilterApplicationErrorsOriginal,\n} from './suppliershub-marketplace-product-v1-product-products.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,oCAAoC;AAC7C,SAAS,oCAAoC;AAC7C,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,gEACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,yBAAyB;AAAA,MACvB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,mBAAmB;AAAA,MACjB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAA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UAAU,CAAC;AAEjB,QAAM,oBACiD;AAAA,IACnD;AAAA,EACF;AAEF,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,iCAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACiD;AAAA,IACnD;AAAA,EACF;AAEF,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,CAAC;AAEjB,QAAM,oBACiD;AAAA,IACnD;AAAA,EACF;AAEF,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;","names":["payload","ProductType","TimeUnit","CountrySelections","InventoryTier","CategoryNamespace","PrintTechnology","MeasurementUnit","RequestedField","CommonSortOrder","SortType","SortDirection","MissingValues","ScalarType","NestedAggregationType","Interval","AggregationType","Mode","SortOrder","WebhookIdentityType","createProduct","getProduct","updateProduct","deleteProduct","bulkCreateProducts","bulkUpdateProducts","bulkDeleteProducts","queryProducts","searchProducts","bulkUpdateProductTags","bulkUpdateProductTagsByFilter","queryCategories"]}
|