{"version":3,"sources":["../../src/stores-catalog-v3-inventory-item-inventory-items-v-3.http.ts","../../src/stores-catalog-v3-inventory-item-inventory-items-v-3.types.ts","../../src/stores-catalog-v3-inventory-item-inventory-items-v-3.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 resolveComWixStoresCatalogInventoryApiV3InventoryServiceUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    'manage._base_domain_': [\n      {\n        srcPath: '/inventory',\n        destPath: '',\n      },\n    ],\n    'api._api_base_domain_': [\n      {\n        srcPath: '/inventory',\n        destPath: '',\n      },\n    ],\n    _: [\n      {\n        srcPath: '/_api/inventory',\n        destPath: '',\n      },\n    ],\n    'editor._base_domain_': [\n      {\n        srcPath: '/_api/inventory',\n        destPath: '',\n      },\n    ],\n    'blocks._base_domain_': [\n      {\n        srcPath: '/_api/inventory',\n        destPath: '',\n      },\n    ],\n    'create.editorx': [\n      {\n        srcPath: '/_api/inventory',\n        destPath: '',\n      },\n    ],\n    'www.wixapis.com': [\n      {\n        srcPath: '/stores/v3/inventory-items',\n        destPath: '/v3/inventory-items',\n      },\n      {\n        srcPath: '/stores/v3/bulk/inventory-items',\n        destPath: '/v3/bulk/inventory-items',\n      },\n    ],\n    '*.dev.wix-code.com': [\n      {\n        srcPath: '/_api/inventory',\n        destPath: '',\n      },\n    ],\n    'editor.wixapps.net': [\n      {\n        srcPath: '/_api/inventory',\n        destPath: '',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_stores_inventory-items-v-3';\n\n/**\n * Creates an inventory item.\n *\n * The combination of `variantId` and `locationId` must be unique.\n */\nexport function createInventoryItem(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __createInventoryItem({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'inventoryItem.createdDate' },\n          { path: 'inventoryItem.updatedDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v3.inventory_item',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wix.stores.catalog.inventory.api.v3.InventoryService.CreateInventoryItem',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixStoresCatalogInventoryApiV3InventoryServiceUrl({\n        protoPath: '/v3/inventory-items',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'inventoryItem.createdDate' },\n              { path: 'inventoryItem.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __createInventoryItem;\n}\n\n/**\n * Creates multiple inventory items.\n *\n * The combination of `variantId` and `locationId` must be unique for each inventory item.\n */\nexport function bulkCreateInventoryItems(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkCreateInventoryItems({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'inventoryItems.createdDate' },\n          { path: 'inventoryItems.updatedDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v3.inventory_item',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wix.stores.catalog.inventory.api.v3.InventoryService.BulkCreateInventoryItems',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixStoresCatalogInventoryApiV3InventoryServiceUrl({\n        protoPath: '/v3/bulk/inventory-items/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            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __bulkCreateInventoryItems;\n}\n\n/** Retrieves an inventory item. */\nexport function getInventoryItem(payload: object): RequestOptionsFactory<any> {\n  function __getInventoryItem({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v3.inventory_item',\n      method: 'GET' as any,\n      methodFqn:\n        'com.wix.stores.catalog.inventory.api.v3.InventoryService.GetInventoryItem',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixStoresCatalogInventoryApiV3InventoryServiceUrl({\n        protoPath: '/v3/inventory-items/{inventoryItemId}',\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: 'inventoryItem.createdDate' },\n              { path: 'inventoryItem.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __getInventoryItem;\n}\n\n/**\n * Updates an inventory item.\n *\n *\n * Each time the inventory item is updated, `revision` increments by 1.\n * The current `revision` must be passed when updating the inventory item.\n * This ensures you're working with the latest inventory item and prevents unintended overwrites.\n */\nexport function updateInventoryItem(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __updateInventoryItem({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFieldMaskToRESTFieldMask,\n        paths: [{ path: 'fieldMask' }],\n      },\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'inventoryItem.createdDate' },\n          { path: 'inventoryItem.updatedDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v3.inventory_item',\n      method: 'PATCH' as any,\n      methodFqn:\n        'com.wix.stores.catalog.inventory.api.v3.InventoryService.UpdateInventoryItem',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixStoresCatalogInventoryApiV3InventoryServiceUrl({\n        protoPath: '/v3/inventory-items/{inventoryItem.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: 'inventoryItem.createdDate' },\n              { path: 'inventoryItem.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __updateInventoryItem;\n}\n\n/**\n * Updates multiple inventory items.\n *\n * Each time an inventory item is updated, `revision` increments by 1.\n * The current `revision` must be passed when updating an inventory item.\n * This ensures you're working with the latest inventory item and prevents unintended overwrites.\n */\nexport function bulkUpdateInventoryItems(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkUpdateInventoryItems({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFieldMaskToRESTFieldMask,\n        paths: [{ path: 'inventoryItems.fieldMask' }],\n      },\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'inventoryItems.inventoryItem.createdDate' },\n          { path: 'inventoryItems.inventoryItem.updatedDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v3.inventory_item',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wix.stores.catalog.inventory.api.v3.InventoryService.BulkUpdateInventoryItems',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixStoresCatalogInventoryApiV3InventoryServiceUrl({\n        protoPath: '/v3/bulk/inventory-items/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            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __bulkUpdateInventoryItems;\n}\n\n/**\n * Creates or updates multiple inventory items.\n *\n * The upsert key is the combination of `productId`, `variantId`, and `locationId`.\n * If `locationId` isn't provided, the site's default location is used.\n *\n * For newly created items, `field_mask` is ignored and all provided fields are applied.\n * For existing items, only the fields specified in `field_mask` are updated.\n */\nexport function bulkUpsertInventoryItems(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkUpsertInventoryItems({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFieldMaskToRESTFieldMask,\n        paths: [{ path: 'inventoryItems.fieldMask' }],\n      },\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'inventoryItems.inventoryItem.createdDate' },\n          { path: 'inventoryItems.inventoryItem.updatedDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v3.inventory_item',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wix.stores.catalog.inventory.api.v3.InventoryService.BulkUpsertInventoryItems',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixStoresCatalogInventoryApiV3InventoryServiceUrl({\n        protoPath: '/v3/bulk/inventory-items/upsert',\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            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __bulkUpsertInventoryItems;\n}\n\n/**\n * Updates multiple inventory items, given the provided filter.\n *\n * Each time an inventory item is updated, `revision` increments by 1.\n * The current `revision` must be passed when updating an inventory item.\n * This ensures you're working with the latest inventory item and prevents unintended overwrites.\n */\nexport function bulkUpdateInventoryItemsByFilter(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkUpdateInventoryItemsByFilter({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKFieldMaskToRESTFieldMask,\n        paths: [{ path: 'fieldMask' }],\n      },\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'inventoryItem.createdDate' },\n          { path: 'inventoryItem.updatedDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v3.inventory_item',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wix.stores.catalog.inventory.api.v3.InventoryService.BulkUpdateInventoryItemsByFilter',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixStoresCatalogInventoryApiV3InventoryServiceUrl({\n        protoPath: '/v3/bulk/inventory-items/update-by-filter',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n    };\n\n    return metadata;\n  }\n\n  return __bulkUpdateInventoryItemsByFilter;\n}\n\n/** Deletes an inventory item. */\nexport function deleteInventoryItem(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __deleteInventoryItem({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v3.inventory_item',\n      method: 'DELETE' as any,\n      methodFqn:\n        'com.wix.stores.catalog.inventory.api.v3.InventoryService.DeleteInventoryItem',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixStoresCatalogInventoryApiV3InventoryServiceUrl({\n        protoPath: '/v3/inventory-items/{inventoryItemId}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __deleteInventoryItem;\n}\n\n/** Deletes multiple inventory items. */\nexport function bulkDeleteInventoryItems(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkDeleteInventoryItems({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v3.inventory_item',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wix.stores.catalog.inventory.api.v3.InventoryService.BulkDeleteInventoryItems',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixStoresCatalogInventoryApiV3InventoryServiceUrl({\n        protoPath: '/v3/bulk/inventory-items/delete',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __bulkDeleteInventoryItems;\n}\n\n/**\n * Deletes multiple inventory items, given the provided filter.\n *\n * The operation runs asynchronously. Use the returned job ID to track progress.\n */\nexport function bulkDeleteInventoryItemsByFilter(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkDeleteInventoryItemsByFilter({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v3.inventory_item',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wix.stores.catalog.inventory.api.v3.InventoryService.BulkDeleteInventoryItemsByFilter',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixStoresCatalogInventoryApiV3InventoryServiceUrl({\n        protoPath: '/v3/bulk/inventory-items/delete-by-filter',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __bulkDeleteInventoryItemsByFilter;\n}\n\n/**\n * Retrieves a list of up to 1,000 inventory items, given the provided filtering, sorting, and cursor paging.\n *\n * To learn about working with _Query_ endpoints, see\n * [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language),\n * and [Sorting and Paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging).\n * Learn more about the differences between [_Query_ and _Search_](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-search-query-and-list-methods) methods.\n */\nexport function queryInventoryItems(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __queryInventoryItems({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v3.inventory_item',\n      method: 'GET' as any,\n      methodFqn:\n        'com.wix.stores.catalog.inventory.api.v3.InventoryService.QueryInventoryItems',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixStoresCatalogInventoryApiV3InventoryServiceUrl({\n        protoPath: '/v3/inventory-items/query',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload, true),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'inventoryItems.createdDate' },\n              { path: 'inventoryItems.updatedDate' },\n            ],\n          },\n        ]),\n      fallback: [\n        {\n          method: 'POST' as any,\n          url: resolveComWixStoresCatalogInventoryApiV3InventoryServiceUrl({\n            protoPath: '/v3/inventory-items/query',\n            data: payload,\n            host,\n          }),\n          data: payload,\n        },\n      ],\n    };\n\n    return metadata;\n  }\n\n  return __queryInventoryItems;\n}\n\n/**\n * Retrieves a list of inventory items, given the provided filtering, sorting, and cursor paging.\n *\n *\n * Search Inventory Items runs with these defaults, which you can override:\n *\n * - `createdDate` is sorted in `DESC` order\n * - `cursorPaging.limit` is `100`\n *\n * To learn about working with _Search_ endpoints, see\n * [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language),\n * and [Sorting and Paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging).\n *\n * Learn more about the differences between [_Query_ and _Search_](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-search-query-and-list-methods) methods.\n */\nexport function searchInventoryItems(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __searchInventoryItems({ 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.stores.catalog.v3.inventory_item',\n      method: 'GET' as any,\n      methodFqn:\n        'com.wix.stores.catalog.inventory.api.v3.InventoryService.SearchInventoryItems',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixStoresCatalogInventoryApiV3InventoryServiceUrl({\n        protoPath: '/v3/inventory-items/search',\n        data: serializedData,\n        host,\n      }),\n      params: toURLSearchParams(serializedData, true),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'inventoryItems.createdDate' },\n              { path: 'inventoryItems.updatedDate' },\n            ],\n          },\n          {\n            transformFn: transformRESTFloatToSDKFloat,\n            paths: [\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              { 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            ],\n          },\n        ]),\n      fallback: [\n        {\n          method: 'POST' as any,\n          url: resolveComWixStoresCatalogInventoryApiV3InventoryServiceUrl({\n            protoPath: '/v3/inventory-items/search',\n            data: serializedData,\n            host,\n          }),\n          data: serializedData,\n        },\n      ],\n    };\n\n    return metadata;\n  }\n\n  return __searchInventoryItems;\n}\n\n/**\n * Decrements quantities of multiple inventory items.\n *\n * > **Notes:**:\n * > + `trackQuantity` must be `true` to allow for decrementing the quantity.\n * > + If you pass `restrictInventory: true` and the `decrementData.decrementBy` amount is greater than the current quantity in stock, the request will fail with an `INSUFFICIENT_INVENTORY` error.\n * > + Pass `restrictInventory: false` to allow for negative quantities.\n * > + If you pass `preorderRequest: true` and the item is available for preorder, the item's `preorderCounter` will increase and the item's quantity will stay the same.\n */\nexport function bulkDecrementInventoryItems(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkDecrementInventoryItems({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v3.inventory_item',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wix.stores.catalog.inventory.api.v3.InventoryService.BulkDecrementInventoryItems',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixStoresCatalogInventoryApiV3InventoryServiceUrl({\n        protoPath: '/v3/bulk/inventory-items/decrement',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'results.item.createdDate' },\n              { path: 'results.item.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __bulkDecrementInventoryItems;\n}\n\n/**\n * Increments quantities of multiple inventory items.\n *\n * > **Note:** `trackQuantity` must be `true` to allow for incrementing the quantity.\n */\nexport function bulkIncrementInventoryItems(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkIncrementInventoryItems({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v3.inventory_item',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wix.stores.catalog.inventory.api.v3.InventoryService.BulkIncrementInventoryItems',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixStoresCatalogInventoryApiV3InventoryServiceUrl({\n        protoPath: '/v3/bulk/inventory-items/increment',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'results.item.createdDate' },\n              { path: 'results.item.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __bulkIncrementInventoryItems;\n}\n\n/**\n * Decrements quantities of multiple inventory items by variant and location.\n *\n * > **Notes:**:\n * > + `trackQuantity` must be `true` to allow for decrementing the quantity.\n * > + If you pass `restrictInventory: true` and the `decrementData.decrementBy` amount is greater than the current quantity in stock, the request will fail with an `INSUFFICIENT_INVENTORY` error.\n * > + Pass `restrictInventory: false` to allow for negative quantities.\n * > + If you pass `preorderRequest: true` and the item is available for preorder, the item's `preorderCounter` will increase and the item's quantity will stay the same.\n */\nexport function bulkDecrementInventoryItemsByVariantAndLocation(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkDecrementInventoryItemsByVariantAndLocation({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v3.inventory_item',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wix.stores.catalog.inventory.api.v3.InventoryService.BulkDecrementInventoryItemsByVariantAndLocation',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixStoresCatalogInventoryApiV3InventoryServiceUrl({\n        protoPath: '/v3/bulk/inventory-items/decrement-by-variant-and-location',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'results.item.createdDate' },\n              { path: 'results.item.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __bulkDecrementInventoryItemsByVariantAndLocation;\n}\n\n/**\n * Increments quantities of multiple inventory items by variant and location.\n *\n * > **Note:** `trackQuantity` must be `true` to allow for incrementing the quantity.\n */\nexport function bulkIncrementInventoryItemsByVariantAndLocation(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkIncrementInventoryItemsByVariantAndLocation({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v3.inventory_item',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wix.stores.catalog.inventory.api.v3.InventoryService.BulkIncrementInventoryItemsByVariantAndLocation',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixStoresCatalogInventoryApiV3InventoryServiceUrl({\n        protoPath: '/v3/bulk/inventory-items/increment-by-variant-and-location',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'results.item.createdDate' },\n              { path: 'results.item.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __bulkIncrementInventoryItemsByVariantAndLocation;\n}\n\n/**\n * Set or Adjust inventory items which satisfy the provided filter.\n * If item track quantity, adjust it's quantity,\n * In case non-tracking, updates it to track and sets quantity to `incrementBy` or `decrementBy`.\n * @deprecated It has been replaced with com.wix.stores.catalog.inventory.api.v3.InventoryService.BulkAdjustInventoryItemsByFilter().\n */\nexport function bulkSetOrAdjustInventoryItemsByFilter(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkSetOrAdjustInventoryItemsByFilter({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v3.inventory_item',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wix.stores.catalog.inventory.api.v3.InventoryService.BulkSetOrAdjustInventoryItemsByFilter',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixStoresCatalogInventoryApiV3InventoryServiceUrl({\n        protoPath: '/v3/bulk/inventory-items/set-or-adjust-by-filter',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __bulkSetOrAdjustInventoryItemsByFilter;\n}\n\n/**\n * Adjust quantity of inventory items which satisfy the provided filter.\n * For items that track quantity: Adjusts the quantity based on incrementBy or decrementBy.\n * For items that do not track quantity:\n * if track_quantity is false (default), found items that are non-tracking will fail.\n * if track_quantity is true, non-tracking items will be updated to track quantity and quantity will be set to the provided amount.\n */\nexport function bulkAdjustInventoryItemsByFilter(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkAdjustInventoryItemsByFilter({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v3.inventory_item',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wix.stores.catalog.inventory.api.v3.InventoryService.BulkAdjustInventoryItemsByFilter',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixStoresCatalogInventoryApiV3InventoryServiceUrl({\n        protoPath: '/v3/bulk/inventory-items/adjust-by-filter',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __bulkAdjustInventoryItemsByFilter;\n}\n\n/**\n * Creates inventory items at a target location for variants matching a filter.\n *\n * Uses variants reader to filter items by criteria (e.g. categories) and creates\n * inventory items at the specified location for each matching variant.\n *\n * The operation runs asynchronously. Use the returned job ID to track progress.\n */\nexport function bulkCreateInventoryItemsByVariantFilter(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkCreateInventoryItemsByVariantFilter({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.stores.catalog.v3.inventory_item',\n      method: 'POST' as any,\n      methodFqn:\n        'com.wix.stores.catalog.inventory.api.v3.InventoryService.BulkCreateInventoryItemsByVariantFilter',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveComWixStoresCatalogInventoryApiV3InventoryServiceUrl({\n        protoPath: '/v3/bulk/inventory-items/create-by-variant-filter',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __bulkCreateInventoryItemsByVariantFilter;\n}\n","/**\n * Inventory Item.\n *\n * Each inventory item represents a specific product variant at a specific location.\n * The combination of `variantId` and `locationId` is unique — you can't have two inventory items for the same variant at the same location.\n */\nexport interface InventoryItem extends InventoryItemTrackingMethodOneOf {\n  /**\n   * Indicates that inventory is tracked by status rather than quantity.\n   *\n   * When set to `true`, the item is marked as available for sale without tracking exact quantities.\n   * When set to `false`, the item is marked as out of stock.\n   * This tracking method is useful for made-to-order products or items with unlimited inventory.\n   *\n   * When using this tracking method, `trackQuantity` is `false` and preorder limits aren't supported.\n   */\n  inStock?: boolean;\n  /**\n   * Indicates that inventory is tracked by quantity.\n   *\n   * Set this field to the number of items currently in stock.\n   * This tracking method is useful when you need to know exactly how many items are available.\n   *\n   * When using this tracking method, `trackQuantity` is `true`.\n   * Quantity can be negative when inventory is decremented for an order that has already been paid.\n   * @min -99999\n   * @max 99999\n   */\n  quantity?: number;\n  /**\n   * Inventory item ID.\n   * @format GUID\n   * @readonly\n   */\n  id?: string | null;\n  /**\n   * Revision number, which increments by 1 each time the inventory item is updated.\n   * To prevent conflicting changes,\n   * the current revision must be passed when updating the inventory item.\n   *\n   * Ignored when creating an inventory item.\n   * @readonly\n   */\n  revision?: string | null;\n  /**\n   * Date and time the inventory item was created.\n   * @readonly\n   */\n  createdDate?: Date | null;\n  /**\n   * Date and time the inventory item was last updated.\n   * @readonly\n   */\n  updatedDate?: Date | null;\n  /**\n   * Variant ID.\n   * @format GUID\n   * @immutable\n   */\n  variantId?: string;\n  /**\n   * Stores location ID. If not specified when creating an inventory item, the store's default location is used.\n   * @format GUID\n   * @immutable\n   */\n  locationId?: string | null;\n  /**\n   * Product ID.\n   * @minLength 1\n   * @maxLength 36\n   * @immutable\n   */\n  productId?: string;\n  /**\n   * Whether the quantity is being tracked.\n   * @readonly\n   */\n  trackQuantity?: boolean;\n  /**\n   * Inventory item availability status.\n   * @readonly\n   */\n  availabilityStatus?: AvailabilityStatusWithLiterals;\n  /**\n   * Item preorder info.\n   *\n   * Preorder settings are configured per inventory item, so each variant-location combination can have its own preorder configuration.\n   *\n   * > **Note:** The product entity's `inventory.preorderStatus` and `inventory.preorderAvailability` fields reflect only the default location's preorder state.\n   */\n  preorderInfo?: PreorderInfo;\n  /**\n   * Associated product and variant details.\n   * @readonly\n   */\n  product?: Product;\n  /**\n   * Custom field data for the inventory item object.\n   *\n   * [Extended fields](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions) must be configured in the app dashboard before they can be accessed with API calls.\n   */\n  extendedFields?: ExtendedFields;\n}\n\n/** @oneof */\nexport interface InventoryItemTrackingMethodOneOf {\n  /**\n   * Indicates that inventory is tracked by status rather than quantity.\n   *\n   * When set to `true`, the item is marked as available for sale without tracking exact quantities.\n   * When set to `false`, the item is marked as out of stock.\n   * This tracking method is useful for made-to-order products or items with unlimited inventory.\n   *\n   * When using this tracking method, `trackQuantity` is `false` and preorder limits aren't supported.\n   */\n  inStock?: boolean;\n  /**\n   * Indicates that inventory is tracked by quantity.\n   *\n   * Set this field to the number of items currently in stock.\n   * This tracking method is useful when you need to know exactly how many items are available.\n   *\n   * When using this tracking method, `trackQuantity` is `true`.\n   * Quantity can be negative when inventory is decremented for an order that has already been paid.\n   * @min -99999\n   * @max 99999\n   */\n  quantity?: number;\n}\n\nexport enum AvailabilityStatus {\n  /** Item is out of stock. For tracked inventory, `quantity` is zero or negative and preorder isn't available. */\n  OUT_OF_STOCK = 'OUT_OF_STOCK',\n  /** Item is in stock and available for purchase. For tracked inventory, see the `quantity` field for the exact amount in stock. */\n  IN_STOCK = 'IN_STOCK',\n  /** Item is available for preorder only. Stock is zero or negative, but preorder is enabled with remaining capacity. */\n  PREORDER = 'PREORDER',\n}\n\n/** @enumType */\nexport type AvailabilityStatusWithLiterals =\n  | AvailabilityStatus\n  | 'OUT_OF_STOCK'\n  | 'IN_STOCK'\n  | 'PREORDER';\n\nexport interface PreorderInfo {\n  /**\n   * Whether preorder is enabled for this inventory item.\n   *\n   * > **Note:** Preorder can't be enabled for digital products or products with subscriptions.\n   *\n   * Default: `false`\n   */\n  enabled?: boolean | null;\n  /**\n   * Message displayed to customers when the item is out of stock and preorder is enabled.\n   * @minLength 1\n   * @maxLength 250\n   */\n  message?: string | null;\n  /**\n   * Maximum number of items that can be preordered after stock reaches zero.\n   *\n   * Supported only for inventory items with `trackQuantity = true`.\n   *\n   * Default: `100000`\n   * @max 100000\n   */\n  limit?: number | null;\n  /**\n   * Number of times this item has been preordered.\n   *\n   * Supported only for inventory items with `trackQuantity = true`.\n   * @readonly\n   * @max 99999\n   */\n  counter?: number | null;\n  /**\n   * Remaining quantity available for preorder.\n   *\n   * Supported only for items with `trackQuantity` set to `true`.\n   * @readonly\n   */\n  quantity?: number | null;\n}\n\nexport interface Product {\n  /**\n   * Product name.\n   * @maxLength 80\n   */\n  name?: string | null;\n  /**\n   * List of category IDs that this product is included in directly.\n   * @format GUID\n   * @maxSize 2000\n   */\n  directCategoryIds?: string[];\n  /**\n   * Variant name.\n   * @minLength 1\n   * @maxLength 250\n   */\n  variantName?: string | null;\n  /**\n   * Variant SKU (stock keeping unit).\n   * @minLength 1\n   * @maxLength 40\n   */\n  variantSku?: string | null;\n  /** Whether the variant is visible in the store. */\n  variantVisible?: boolean | null;\n}\n\n/** Product brand information. */\nexport interface Brand {\n  /**\n   * Brand ID.\n   * @format GUID\n   */\n  id?: string | null;\n  /**\n   * Brand name.\n   * @maxLength 50\n   */\n  name?: string | null;\n}\n\nexport interface ExtendedFields {\n  /**\n   * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n   * The value of each key is structured according to the schema defined when the extended fields were configured.\n   *\n   * You can only access fields for which you have the appropriate permissions.\n   *\n   * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n   */\n  namespaces?: Record<string, Record<string, any>>;\n}\n\nexport interface InvalidateCache extends InvalidateCacheGetByOneOf {\n  /**\n   * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n   * @format GUID\n   */\n  siteId?: string;\n  /** Invalidate by App */\n  app?: App;\n  /** Invalidate by page id */\n  page?: Page;\n  /** Invalidate by URI path */\n  uri?: URI;\n  /** Invalidate by file (for media files such as PDFs) */\n  file?: File;\n  /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n  customTag?: CustomTag;\n  /** Invalidate by multiple page ids */\n  pages?: Pages;\n  /** Invalidate by multiple URI paths */\n  uris?: URIs;\n  /**\n   * tell us why you're invalidating the cache. You don't need to add your app name\n   * @maxLength 256\n   */\n  reason?: string | null;\n  /** Is local DS */\n  localDc?: boolean;\n  hardPurge?: boolean;\n  /**\n   * Optional caller-provided ID for tracking this invalidation through the system.\n   * When set, the corresponding CDN purge completion event will include this ID,\n   * allowing you to confirm when the invalidation has fully propagated.\n   * Example: generate a UUID, pass it here, and later match it in the CDN purge completion event.\n   * @maxLength 256\n   */\n  correlationId?: string | null;\n}\n\n/** @oneof */\nexport interface InvalidateCacheGetByOneOf {\n  /**\n   * Invalidate by msId. NOT recommended, as this will invalidate the entire site cache!\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache!\n   * @format GUID\n   */\n  siteId?: string;\n  /** Invalidate by App */\n  app?: App;\n  /** Invalidate by page id */\n  page?: Page;\n  /** Invalidate by URI path */\n  uri?: URI;\n  /** Invalidate by file (for media files such as PDFs) */\n  file?: File;\n  /** Invalidate by custom tag. Tags used in BO invalidation are disabled for this endpoint (more info: https://wix-bo.com/dev/clear-ssr-cache) */\n  customTag?: CustomTag;\n  /** Invalidate by multiple page ids */\n  pages?: Pages;\n  /** Invalidate by multiple URI paths */\n  uris?: URIs;\n}\n\nexport interface App {\n  /**\n   * The AppDefId\n   * @minLength 1\n   */\n  appDefId?: string;\n  /**\n   * The instance Id\n   * @format GUID\n   */\n  instanceId?: string;\n}\n\nexport interface Page {\n  /**\n   * the msid the page is on\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * Invalidate by Page ID\n   * @minLength 1\n   */\n  pageId?: string;\n}\n\nexport interface URI {\n  /**\n   * the msid the URI is on\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes\n   * @minLength 1\n   */\n  uriPath?: string;\n}\n\nexport interface File {\n  /**\n   * the msid the file is related to\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * Invalidate by filename (for media files such as PDFs)\n   * @minLength 1\n   * @maxLength 256\n   */\n  fileName?: string;\n}\n\nexport interface CustomTag {\n  /**\n   * the msid the tag is related to\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * Tag to invalidate by\n   * @minLength 1\n   * @maxLength 256\n   */\n  tag?: string;\n}\n\nexport interface Pages {\n  /**\n   * the msid the pages are on\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * Invalidate by multiple Page IDs in a single message\n   * @maxSize 100\n   * @minLength 1\n   */\n  pageIds?: string[];\n}\n\nexport interface URIs {\n  /**\n   * the msid the URIs are on\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * URI paths to invalidate (e.g. page/my/path) - without leading/trailing slashes\n   * @maxSize 100\n   * @minLength 1\n   */\n  uriPaths?: string[];\n}\n\nexport interface BulkInventoryItemAction {\n  /**\n   * Inventory items.\n   * @maxSize 1000\n   */\n  inventoryItems?: InventoryItem[];\n  /** Type of bulk inventory changed event - created, updated or deleted */\n  eventType?: EventTypeWithLiterals;\n}\n\nexport enum EventType {\n  UNKNOWN = 'UNKNOWN',\n  CREATED = 'CREATED',\n  UPDATED = 'UPDATED',\n  DELETED = 'DELETED',\n}\n\n/** @enumType */\nexport type EventTypeWithLiterals =\n  | EventType\n  | 'UNKNOWN'\n  | 'CREATED'\n  | 'UPDATED'\n  | 'DELETED';\n\nexport interface CreateInventoryItemRequest {\n  /** Inventory item to create. */\n  inventoryItem: InventoryItem;\n}\n\nexport interface CreateInventoryItemResponse {\n  /** Created inventory item. */\n  inventoryItem?: InventoryItem;\n}\n\nexport interface BulkCreateInventoryItemsRequest {\n  /**\n   * Inventory items to create.\n   * @minSize 1\n   * @maxSize 1000\n   */\n  inventoryItems: InventoryItem[];\n  /**\n   * Whether to return the full inventory item entities in the response.\n   *\n   * Default: `false`\n   */\n  returnEntity?: boolean;\n}\n\nexport interface BulkCreateInventoryItemsResponse {\n  /**\n   * Inventory items created by bulk action.\n   * @minSize 1\n   * @maxSize 1000\n   */\n  results?: V3BulkInventoryItemResult[];\n  /** Bulk action metadata. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface V3BulkInventoryItemResult {\n  /** Bulk action metadata for inventory item. */\n  itemMetadata?: ItemMetadata;\n  /**\n   * Full inventory item entity.\n   *\n   * Returned only if `returnEntity: true` is passed in the request.\n   */\n  item?: InventoryItem;\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 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 GetInventoryItemRequest {\n  /**\n   * Inventory item ID.\n   * @format GUID\n   */\n  inventoryItemId: string;\n}\n\nexport interface GetInventoryItemResponse {\n  /** Inventory item. */\n  inventoryItem?: InventoryItem;\n}\n\nexport interface UpdateInventoryItemRequest {\n  /** Inventory item to update. */\n  inventoryItem: InventoryItem;\n  /** Reason for update. */\n  reason?: ReasonTypeWithLiterals;\n}\n\n/** The reason for the inventory change. */\nexport enum ReasonType {\n  ORDER = 'ORDER',\n  MANUAL = 'MANUAL',\n  REVERT_INVENTORY_CHANGE = 'REVERT_INVENTORY_CHANGE',\n}\n\n/** @enumType */\nexport type ReasonTypeWithLiterals =\n  | ReasonType\n  | 'ORDER'\n  | 'MANUAL'\n  | 'REVERT_INVENTORY_CHANGE';\n\nexport interface UpdateInventoryItemResponse {\n  /** Updated inventory item. */\n  inventoryItem?: InventoryItem;\n}\n\n/** Report when Inventory item stock status changed from in stock to out of stock and the opposite. */\nexport interface InventoryItemStockStatusUpdatedEvent {\n  /** Inventory item new status. */\n  inStock?: boolean;\n}\n\nexport interface InventoryItemUpdatedWithReason {\n  /** Updated inventory item. */\n  currentEntity?: InventoryItem;\n  /** Reason for the update. */\n  reason?: ReasonTypeWithLiterals;\n  /**\n   * ID of the app that updated this inventory item.\n   *\n   * When Wix Stores updates an inventory item, value will always be: `\"215238eb-22a5-4c36-9e7b-e7c08025e04e\"`.\n   * @format GUID\n   */\n  appId?: string;\n}\n\nexport interface BulkUpdateInventoryItemsRequest {\n  /**\n   * Inventory items to update.\n   * @minSize 1\n   * @maxSize 1000\n   */\n  inventoryItems: MaskedInventoryItem[];\n  /**\n   * Whether to return the full inventory item entities in the response.\n   *\n   * Default: `false`\n   */\n  returnEntity?: boolean;\n  /** Reason for update. */\n  reason?: ReasonTypeWithLiterals;\n}\n\nexport interface MaskedInventoryItem {\n  /** Inventory item to update. */\n  inventoryItem?: InventoryItem;\n}\n\nexport interface BulkUpdateInventoryItemsResponse {\n  /**\n   * Inventory items updated by bulk action.\n   * @minSize 1\n   * @maxSize 1000\n   */\n  results?: V3BulkInventoryItemResult[];\n  /** Bulk action metadata. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkUpsertInventoryItemsRequest {\n  /**\n   * Inventory items to create or update.\n   * @minSize 1\n   * @maxSize 1000\n   */\n  inventoryItems: MaskedInventoryItem[];\n  /**\n   * Whether to return the full inventory item entities in the response.\n   *\n   * Default: `false`\n   */\n  returnEntity?: boolean;\n}\n\nexport interface BulkUpsertInventoryItemsResponse {\n  /**\n   * Inventory items created or updated by the bulk action.\n   * @minSize 1\n   * @maxSize 1000\n   */\n  results?: BulkUpsertInventoryItemResult[];\n  /** Bulk action metadata. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkUpsertInventoryItemResult {\n  /** Bulk action metadata for the inventory item. */\n  itemMetadata?: ItemMetadata;\n  /**\n   * Full inventory item entity.\n   *\n   * Returned only if `returnEntity: true` is passed in the request.\n   */\n  item?: InventoryItem;\n}\n\nexport interface BulkUpdateInventoryItemsByFilterRequest {\n  /** Filter object. */\n  filter: Record<string, any> | null;\n  /** Inventory item to update. */\n  inventoryItem: InventoryItem;\n  /** Free text to match in searchable fields. */\n  search?: SearchDetails;\n}\n\nexport interface SearchDetails {\n  /** Search mode. Defines the search logic for combining multiple terms in the `expression`. */\n  mode?: ModeWithLiterals;\n  /**\n   * Search term or expression.\n   * @maxLength 100\n   */\n  expression?: string | null;\n  /**\n   * Fields to search in. If the array is empty, all searchable fields are searched. Use dot notation to specify a JSON path. For example, `order.address.streetName`.\n   * @maxLength 200\n   * @maxSize 20\n   */\n  fields?: string[];\n  /** Whether to enable the search function to use an algorithm to automatically find results that are close to the search expression, such as typos and declensions. */\n  fuzzy?: boolean;\n}\n\nexport enum Mode {\n  /** At least one 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 BulkUpdateInventoryItemsByFilterResponse {\n  /**\n   * Job ID.\n   *\n   * Pass this ID to [Get Async Job](https://dev.wix.com/docs/api-reference/business-management/async-job/introduction) to retrieve job details and metadata.\n   * @format GUID\n   */\n  jobId?: string;\n}\n\nexport interface DeleteInventoryItemRequest {\n  /**\n   * Inventory item ID.\n   * @format GUID\n   */\n  inventoryItemId: string;\n}\n\nexport interface DeleteInventoryItemResponse {}\n\nexport interface BulkDeleteInventoryItemsRequest {\n  /**\n   * IDs of inventory items to delete.\n   * @format GUID\n   * @minLength 1\n   * @maxLength 36\n   * @minSize 1\n   * @maxSize 1000\n   */\n  inventoryItemIds: string[];\n}\n\nexport interface BulkDeleteInventoryItemsResponse {\n  /**\n   * Inventory items deleted by bulk action.\n   * @minSize 1\n   * @maxSize 1000\n   */\n  results?: BulkInventoryItemResult[];\n  /** Bulk action metadata. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkInventoryItemResult {\n  /** Bulk action metadata for inventory item. */\n  itemMetadata?: ItemMetadata;\n}\n\nexport interface BulkDeleteInventoryItemsByFilterRequest {\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  /** Free text to match in searchable fields. */\n  search?: SearchDetails;\n}\n\nexport interface BulkDeleteInventoryItemsByFilterResponse {\n  /**\n   * Job ID.\n   *\n   * Pass this ID to [Get Async Job](https://dev.wix.com/docs/api-reference/business-management/async-job/introduction) to retrieve job details and metadata.\n   * @format GUID\n   */\n  jobId?: string;\n}\n\nexport interface QueryInventoryItemsRequest {\n  /** Query options. */\n  query?: QueryV2;\n}\n\nexport interface QueryV2 extends QueryV2PagingMethodOneOf {\n  /** Paging options to limit and offset the number of items. */\n  paging?: Paging;\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.\n   *\n   * Learn more about [filtering](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language#filters).\n   */\n  filter?: Record<string, any> | null;\n  /**\n   * Sort object.\n   *\n   * Learn more about [sorting](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language#sorting).\n   * @maxSize 10\n   */\n  sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface QueryV2PagingMethodOneOf {\n  /** Paging options to limit and offset the number of items. */\n  paging?: Paging;\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\nexport enum SortOrder {\n  ASC = 'ASC',\n  DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface Paging {\n  /**\n   * Number of items to load.\n   * @max 1000\n   */\n  limit?: number | null;\n  /** Number of items to skip in the current sort order. */\n  offset?: number | null;\n}\n\nexport interface CursorPaging {\n  /**\n   * Maximum number of items to return in the results.\n   * @max 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 QueryInventoryItemsResponse {\n  /**\n   * List of inventory items.\n   * @minSize 1\n   * @maxSize 1000\n   */\n  inventoryItems?: InventoryItem[];\n  /** Paging metadata. */\n  pagingMetadata?: PlatformPagingMetadataV2;\n}\n\nexport interface PlatformPagingMetadataV2 {\n  /** The number of items returned in this response. */\n  count?: number | null;\n  /** Cursors to navigate through result pages. Returned if cursor paging was used. */\n  cursors?: CommonCursors;\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 SearchInventoryItemsRequest {\n  /** Search options. */\n  search?: CursorSearch;\n}\n\nexport interface CursorSearch extends CursorSearchPagingMethodOneOf {\n  /**\n   * Cursor paging options.\n   *\n   * Learn more about [cursor paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language#cursor-paging).\n   */\n  cursorPaging?: CursorPaging;\n  /**\n   * Filter object.\n   *\n   * Learn more about [filtering](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language#filters).\n   */\n  filter?: Record<string, any> | null;\n  /**\n   * List of sort objects.\n   *\n   * Learn more about [sorting](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language#sorting).\n   * @maxSize 10\n   */\n  sort?: Sorting[];\n  /**\n   * Logical groupings of data into facets, with summaries for each facet. For example, use aggregations to allow site visitors to narrow down their search results by selecting specific categories.\n   * @maxSize 10\n   */\n  aggregations?: Aggregation[];\n  /** Free text to match in searchable fields. */\n  search?: SearchDetails;\n  /**\n   * Time zone to adjust date-time-based filters and aggregations, in ISO 8601 (including offsets) or IANA time zone database (including time zone IDs) format.\n   * Applies to all relevant filters and aggregations, unless overridden by providing timestamps including time zone. For example, \"2023-12-20T10:52:34.795Z\".\n   * @maxLength 50\n   */\n  timeZone?: string | null;\n}\n\n/** @oneof */\nexport interface CursorSearchPagingMethodOneOf {\n  /**\n   * Cursor paging options.\n   *\n   * Learn more about [cursor paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language#cursor-paging).\n   */\n  cursorPaging?: CursorPaging;\n}\n\nexport interface Aggregation extends AggregationKindOneOf {\n  /** A value aggregation calculates metrics such as count for specific fields within a dataset, providing insights into the overall distribution and key statistics of those values. For example, use a value aggregation to get the number (count) of products for each price listed in the store. */\n  value?: ValueAggregation;\n  /** A range aggregation calculates the count of the values from the specified field in the dataset that fall within the range of each bucket you define. For example, use a range aggregation to compare the number of reservations made for parties of 4 or less to the number of reservations made for parties with 5 or more. */\n  range?: RangeAggregation;\n  /** A scalar aggregation calculates a single numerical value from a dataset, summarizing the dataset into one key metric: `COUNT_DISTINCT`, `SUM`, `AVG`, `MIN`, or `MAX`. */\n  scalar?: ScalarAggregation;\n  /** A date histogram calculates the count of time values from the specified field in the dataset that fall within each time interval you define (hour, day, week, etc.) For example, use a date histogram to find how many reservations have been made at a restaurant each week. */\n  dateHistogram?: DateHistogramAggregation;\n  /** A nested aggregation is applied within the results of another aggregation. Rather than aggregating directly on the primary dataset, first group data using one aggregation and then apply another aggregation within each group. It allows for more complex analyses where you can summarize data at different levels of detail or hierarchy. For example, to get the number of products that are in stock and out of stock for each price listed, first perform a value aggregation on `discountedPriceNumeric`, and a second value aggregation on `inStock`. */\n  nested?: NestedAggregation;\n  /**\n   * Aggregation name, returned in `aggregations.results.name`.\n   * @maxLength 100\n   */\n  name?: string | null;\n  /** Type of aggregation to perform. Must align with the corresponding aggregation field. */\n  type?: AggregationTypeWithLiterals;\n  /**\n   * Field to aggregate by. Use dot notation to specify a JSON path. For example, `order.address.streetName`.\n   * @maxLength 200\n   */\n  fieldPath?: string;\n  /**\n   * Deprecated. Use `nested` instead.\n   * @deprecated Deprecated. Use `nested` instead.\n   * @replacedBy kind.nested\n   * @targetRemovalDate 2024-03-30\n   */\n  groupBy?: GroupByAggregation;\n}\n\n/** @oneof */\nexport interface AggregationKindOneOf {\n  /** A value aggregation calculates metrics such as count for specific fields within a dataset, providing insights into the overall distribution and key statistics of those values. For example, use a value aggregation to get the number (count) of products for each price listed in the store. */\n  value?: ValueAggregation;\n  /** A range aggregation calculates the count of the values from the specified field in the dataset that fall within the range of each bucket you define. For example, use a range aggregation to compare the number of reservations made for parties of 4 or less to the number of reservations made for parties with 5 or more. */\n  range?: RangeAggregation;\n  /** A scalar aggregation calculates a single numerical value from a dataset, summarizing the dataset into one key metric: `COUNT_DISTINCT`, `SUM`, `AVG`, `MIN`, or `MAX`. */\n  scalar?: ScalarAggregation;\n  /** A date histogram calculates the count of time values from the specified field in the dataset that fall within each time interval you define (hour, day, week, etc.) For example, use a date histogram to find how many reservations have been made at a restaurant each week. */\n  dateHistogram?: DateHistogramAggregation;\n  /** A nested aggregation is applied within the results of another aggregation. Rather than aggregating directly on the primary dataset, first group data using one aggregation and then apply another aggregation within each group. It allows for more complex analyses where you can summarize data at different levels of detail or hierarchy. For example, to get the number of products that are in stock and out of stock for each price listed, first perform a value aggregation on `discountedPriceNumeric`, and a second value aggregation on `inStock`. */\n  nested?: NestedAggregation;\n}\n\nexport interface RangeBucket {\n  /** Inclusive lower bound of the range. Required if `to` is not provided. */\n  from?: number | null;\n  /** Exclusive upper bound of the range. Required if `from` is not provided. */\n  to?: number | null;\n}\n\nexport enum SortType {\n  /** Number of matches in the results. */\n  COUNT = 'COUNT',\n  /** Alphabetically by the field value. */\n  VALUE = 'VALUE',\n}\n\n/** @enumType */\nexport type SortTypeWithLiterals = SortType | 'COUNT' | 'VALUE';\n\nexport enum SortDirection {\n  /** Descending order. */\n  DESC = 'DESC',\n  /** Ascending order. */\n  ASC = 'ASC',\n}\n\n/** @enumType */\nexport type SortDirectionWithLiterals = SortDirection | 'DESC' | 'ASC';\n\nexport enum MissingValues {\n  /** Exclude missing values from the aggregation results. */\n  EXCLUDE = 'EXCLUDE',\n  /** Include missing values in the aggregation results. */\n  INCLUDE = 'INCLUDE',\n}\n\n/** @enumType */\nexport type MissingValuesWithLiterals = MissingValues | 'EXCLUDE' | 'INCLUDE';\n\nexport interface IncludeMissingValuesOptions {\n  /**\n   * Specify a custom name for the bucket containing the missing values. Defaults are `\"N/A\"` for strings, `0` for integers, and `false` for booleans.\n   * @maxLength 20\n   */\n  addToBucket?: string;\n}\n\nexport enum ScalarType {\n  /** Total number 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 in results. */\n  includeOptions?: IncludeMissingValuesOptions;\n  /** Sort type. */\n  sortType?: SortTypeWithLiterals;\n  /** Sort direction. */\n  sortDirection?: SortDirectionWithLiterals;\n  /**\n   * Number of aggregation results to return.\n   * Min: `1`\n   * Max: `250`\n   * Default: `10`\n   */\n  limit?: number | null;\n  /**\n   * Whether to include or exclude missing values in the aggregation results.\n   * Default: `EXCLUDE`.\n   */\n  missingValues?: MissingValuesWithLiterals;\n}\n\n/** @oneof */\nexport interface ValueAggregationOptionsOneOf {\n  /** Options for including missing values in results. */\n  includeOptions?: IncludeMissingValuesOptions;\n}\n\nexport enum NestedAggregationType {\n  /** Calculates the distribution of a specific field's values within a dataset, providing insights into the overall distribution and key statistics of those values. */\n  VALUE = 'VALUE',\n  /** Calculates the count of the values from the specified field in the dataset that fall within the range of each bucket you define. */\n  RANGE = 'RANGE',\n  /** Calculates a single numerical value from a dataset, summarizing the dataset into one key metric: `COUNT_DISTINCT`, `SUM`, `AVG`, `MIN`, or `MAX`. */\n  SCALAR = 'SCALAR',\n  /** Calculates the count of time values from the specified field in the dataset that fall within each time interval you define (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 its value falls into, based on the provided range bounds.\n   * @maxSize 50\n   */\n  buckets?: RangeBucket[];\n}\n\nexport interface ScalarAggregation {\n  /** Operator type 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  /** A value aggregation calculates the distribution of a specific field's values within a dataset, providing insights into the overall distribution and key statistics of those values. For example, use a value aggregation to get the number (count) of orders for each order status. */\n  value?: ValueAggregation;\n  /** A range aggregation calculates the count of the values from the specified field in the dataset that fall within the range of each bucket you define. For example, use a range aggregation to compare the number of reservations made for parties of 4 or less to the number of reservations made for parties with 5 or more. If ranges overlap, a record that fits more than one range will only be counted in the first range that matches the criteria. */\n  range?: RangeAggregation;\n  /** A scalar aggregation calculates a single numerical value from a dataset, summarizing the dataset into one key metric: `COUNT_DISTINCT`, `SUM`, `AVG`, `MIN`, or `MAX`. */\n  scalar?: ScalarAggregation;\n  /** A date histogram calculates the count of time values from the specified field in the dataset that fall within each time interval you define (hour, day, week, etc.). For example, use a date histogram to determine how many reservations have been made at a restaurant each week. If ranges overlap, a record that fits more than one range will only be counted in the first range that matches the criteria. */\n  dateHistogram?: DateHistogramAggregation;\n  /**\n   * Unique, caller-defined aggregation name, returned in `aggregations.results`.\n   * @maxLength 100\n   */\n  name?: string | null;\n  /** Type of aggregation to perform. The matching aggregation field must be passed. */\n  type?: NestedAggregationTypeWithLiterals;\n  /**\n   * Field to aggregate by. Use dot notation to specify a JSON path. For example, `order.address.streetName`.\n   * @maxLength 200\n   */\n  fieldPath?: string;\n}\n\n/** @oneof */\nexport interface NestedAggregationItemKindOneOf {\n  /** A value aggregation calculates the distribution of a specific field's values within a dataset, providing insights into the overall distribution and key statistics of those values. For example, use a value aggregation to get the number (count) of orders for each order status. */\n  value?: ValueAggregation;\n  /** A range aggregation calculates the count of the values from the specified field in the dataset that fall within the range of each bucket you define. For example, use a range aggregation to compare the number of reservations made for parties of 4 or less to the number of reservations made for parties with 5 or more. If ranges overlap, a record that fits more than one range will only be counted in the first range that matches the criteria. */\n  range?: RangeAggregation;\n  /** A scalar aggregation calculates a single numerical value from a dataset, summarizing the dataset into one key metric: `COUNT_DISTINCT`, `SUM`, `AVG`, `MIN`, or `MAX`. */\n  scalar?: ScalarAggregation;\n  /** A date histogram calculates the count of time values from the specified field in the dataset that fall within each time interval you define (hour, day, week, etc.). For example, use a date histogram to determine how many reservations have been made at a restaurant each week. If ranges overlap, a record that fits more than one range will only be counted in the first range that matches the criteria. */\n  dateHistogram?: DateHistogramAggregation;\n}\n\nexport enum AggregationType {\n  /** Calculates the distribution of a specific field's values within a dataset, providing insights into the overall distribution and key statistics of those values. */\n  VALUE = 'VALUE',\n  /** Calculates the count of the values from the specified field in the dataset that fall within the range of each bucket you define. */\n  RANGE = 'RANGE',\n  /** Calculates a single numerical value from a dataset, summarizing the dataset into one key metric: `COUNT_DISTINCT`, `SUM`, `AVG`, `MIN`, or `MAX`. */\n  SCALAR = 'SCALAR',\n  /** Calculates the count of time values from the specified field in the dataset that fall within each time interval you define (hour, day, week, etc.). */\n  DATE_HISTOGRAM = 'DATE_HISTOGRAM',\n  /** Flattened list of aggregations, where each 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 GroupByAggregation extends GroupByAggregationKindOneOf {\n  /** Value aggregation configuration. */\n  value?: ValueAggregation;\n  /**\n   * Unique, caller-defined aggregation name, returned in `aggregations.results`.\n   * @maxLength 100\n   */\n  name?: string | null;\n  /**\n   * Field to aggregate by.\n   * @maxLength 200\n   */\n  fieldPath?: string;\n}\n\n/** @oneof */\nexport interface GroupByAggregationKindOneOf {\n  /** Value aggregation configuration. */\n  value?: ValueAggregation;\n}\n\nexport interface SearchInventoryItemsResponse {\n  /**\n   * List of inventory items.\n   * @minSize 1\n   * @maxSize 1000\n   */\n  inventoryItems?: InventoryItem[];\n  /** Paging metadata. */\n  pagingMetadata?: CursorPagingMetadata;\n  /** Aggregation data. */\n  aggregationData?: AggregationData;\n}\n\nexport interface CursorPagingMetadata {\n  /** Number of items returned in current page. */\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 AggregationData {\n  /**\n   * List of the aggregated data results.\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  /** Number 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  /** Total number 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   * Unique, caller-defined aggregation name, identifiable by the requested aggregation `name`.\n   * @maxLength 100\n   */\n  name?: string;\n  /** Aggregation type. */\n  type?: AggregationTypeWithLiterals;\n  /**\n   * Field which the data was aggregated by.\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  /** Number 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  /** Total number 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   * Aggregation name, returned in `aggregations.results.name`.\n   * @maxLength 100\n   */\n  name?: string;\n  /** Aggregation type. Must align with the corresponding aggregation field. */\n  type?: AggregationTypeWithLiterals;\n  /**\n   * Field to aggregate by. Use dot notation to specify a JSON path. For example, `order.address.streetName`.\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 SearchInventoryItemsWithOffsetRequest {\n  /** WQL expression. */\n  search?: OffsetSearch;\n}\n\nexport interface OffsetSearch extends OffsetSearchPagingMethodOneOf {\n  /** Paging options to limit and offset the number of items. */\n  paging?: Paging;\n  /**\n   * Filter object.\n   *\n   * Learn more about [filtering](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language#filters).\n   */\n  filter?: Record<string, any> | null;\n  /**\n   * Sort object.\n   *\n   * Learn more about [sorting](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language#sorting).\n   * @maxSize 10\n   */\n  sort?: Sorting[];\n  /**\n   * Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned.\n   * @maxLength 200\n   * @maxSize 20\n   */\n  fields?: string[];\n  /**\n   * Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned.\n   * @maxLength 100\n   * @maxSize 20\n   */\n  fieldsets?: string[];\n  /**\n   * Logical groupings of data into facets, with summaries for each facet. For example, use aggregations to allow site visitors to narrow down their search results by selecting specific categories.\n   * @maxSize 10\n   */\n  aggregations?: Aggregation[];\n  /** Free text to match in searchable fields. */\n  search?: SearchDetails;\n  /**\n   * Time zone to adjust date-time-based filters and aggregations, in ISO 8601 (including offsets) or IANA time zone database (including time zone IDs) format.\n   * Applies to all relevant filters and aggregations, unless overridden by providing timestamps including time zone. For example, \"2023-12-20T10:52:34.795Z\".\n   * @maxLength 50\n   */\n  timeZone?: string | null;\n}\n\n/** @oneof */\nexport interface OffsetSearchPagingMethodOneOf {\n  /** Paging options to limit and offset the number of items. */\n  paging?: Paging;\n}\n\nexport interface SearchInventoryItemsWithOffsetResponse {\n  /** InventoryItems which satisfy the provided query. */\n  inventoryItems?: InventoryItem[];\n  /** Paging metadata. Contains cursor which can be used in next query. */\n  pagingMetadata?: PagingMetadata;\n}\n\nexport interface PagingMetadata {\n  /** Number of items returned in the response. */\n  count?: number | null;\n  /** Offset that was requested. */\n  offset?: number | null;\n  /** Total number of items that match the query. */\n  total?: number | null;\n  /** Flag that indicates the server failed to calculate the `total` field. */\n  tooManyToCount?: boolean | null;\n}\n\nexport interface BulkDecrementInventoryItemsRequest {\n  /**\n   * Inventory item IDs and decrement data.\n   * @minSize 1\n   * @maxSize 300\n   */\n  decrementData: DecrementDataById[];\n  /**\n   * Whether inventory is restricted from going below zero.\n   *\n   * Default: `true` - inventory does not go below zero.\n   */\n  restrictInventory?: boolean | null;\n  /**\n   * Whether to return the full inventory item entities in the response.\n   *\n   * Default: `false`\n   */\n  returnEntity?: boolean;\n  /** Reason for decrement inventory action. */\n  reason?: ReasonTypeWithLiterals;\n}\n\nexport interface DecrementDataById {\n  /**\n   * Inventory item ID.\n   * @format GUID\n   */\n  inventoryItemId?: string;\n  /**\n   * Amount to decrement by.\n   * @min 1\n   * @max 99999\n   */\n  decrementBy?: number;\n  /**\n   * Whether the request to decrement the inventory item's quantity was made as part of a purchase that includes preorder items.\n   *\n   * + If `true` and the item is available for preorder in the default location, negative inventory quantity is allowed.\n   * + If `false` and the item is not available for preorder, negative inventory is not allowed.\n   */\n  preorderRequest?: boolean;\n}\n\nexport interface BulkDecrementInventoryItemsResponse {\n  /**\n   * Inventory items updated by bulk action.\n   * @minSize 1\n   * @maxSize 300\n   */\n  results?: V3BulkInventoryItemResult[];\n  /** Bulk action metadata. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkIncrementInventoryItemsRequest {\n  /**\n   * Inventory item IDs and increment data.\n   * @minSize 1\n   * @maxSize 300\n   */\n  incrementData: IncrementDataById[];\n  /**\n   * Whether to return the full inventory item entities in the response.\n   *\n   * Default: `false`\n   */\n  returnEntity?: boolean;\n  /** Reason for increment inventory action. */\n  reason?: ReasonTypeWithLiterals;\n}\n\nexport interface IncrementDataById {\n  /**\n   * Inventory item ID.\n   * @format GUID\n   */\n  inventoryItemId?: string;\n  /**\n   * Amount to increment by.\n   * @min 1\n   * @max 99999\n   */\n  incrementBy?: number;\n}\n\nexport interface BulkIncrementInventoryItemsResponse {\n  /**\n   * Inventory items updated by bulk action.\n   * @minSize 1\n   * @maxSize 300\n   */\n  results?: V3BulkInventoryItemResult[];\n  /** Bulk action metadata. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkDecrementInventoryItemsByVariantAndLocationRequest {\n  /**\n   * Variant and location IDs, as well as decrement data.\n   * @minSize 1\n   * @maxSize 300\n   */\n  decrementData: DecrementDataByVariantAndLocation[];\n  /**\n   * Whether to allow negative inventory following this decrement action.\n   *\n   * Default: `false` (negative inventory is not allowed)\n   */\n  restrictInventory?: boolean | null;\n  /**\n   * Whether to return the full inventory item entities in the response.\n   *\n   * Default: `false`\n   */\n  returnEntity?: boolean;\n  /** Reason for decrement inventory action. */\n  reason?: ReasonTypeWithLiterals;\n}\n\nexport interface DecrementDataByVariantAndLocation {\n  /**\n   * Variant ID.\n   * @format GUID\n   */\n  variantId?: string;\n  /**\n   * Location ID.\n   * @format GUID\n   */\n  locationId?: string | null;\n  /**\n   * Amount to decrement by.\n   * @min 1\n   * @max 99999\n   */\n  decrementBy?: number;\n  /**\n   * Whether the request to decrement the inventory item's quantity was made as part of a purchase that includes preorder items.\n   *\n   * + If `true` and the item is available for preorder in the default location, negative inventory quantity is allowed.\n   * + If `false` and the item is not available for preorder, negative inventory is not allowed.\n   */\n  preorderRequest?: boolean;\n}\n\nexport interface BulkDecrementInventoryItemsByVariantAndLocationResponse {\n  /**\n   * Inventory items updated by bulk action.\n   * @minSize 1\n   * @maxSize 300\n   */\n  results?: V3BulkInventoryItemResult[];\n  /** Bulk action metadata. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkIncrementInventoryItemsByVariantAndLocationRequest {\n  /**\n   * Variant and location IDs, as well as increment data.\n   * @minSize 1\n   * @maxSize 300\n   */\n  incrementData: IncrementDataByVariantAndLocation[];\n  /**\n   * Whether to return the full inventory item entities in the response.\n   *\n   * Default: `false`\n   */\n  returnEntity?: boolean;\n  /** Reason for increment inventory action. */\n  reason?: ReasonTypeWithLiterals;\n}\n\nexport interface IncrementDataByVariantAndLocation {\n  /**\n   * Variant ID.\n   * @format GUID\n   */\n  variantId?: string;\n  /**\n   * Location ID.\n   * @format GUID\n   */\n  locationId?: string | null;\n  /**\n   * Amount to increment by.\n   * @min 1\n   * @max 99999\n   */\n  incrementBy?: number;\n}\n\nexport interface BulkIncrementInventoryItemsByVariantAndLocationResponse {\n  /**\n   * Inventory items updated by bulk action.\n   * @minSize 1\n   * @maxSize 300\n   */\n  results?: V3BulkInventoryItemResult[];\n  /** Bulk action metadata details as: totalSuccess and totalFailure. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n  createdEvent?: EntityCreatedEvent;\n  updatedEvent?: EntityUpdatedEvent;\n  deletedEvent?: EntityDeletedEvent;\n  actionEvent?: ActionEvent;\n  /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n  id?: string;\n  /**\n   * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n   * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n   */\n  entityFqdn?: string;\n  /**\n   * Event action name, placed at the top level to make it easier for users to dispatch messages.\n   * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n   */\n  slug?: string;\n  /** ID of the entity associated with the event. */\n  entityId?: string;\n  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n  eventTime?: Date | null;\n  /**\n   * Whether the event was triggered as a result of a privacy regulation application\n   * (for example, GDPR).\n   */\n  triggeredByAnonymizeRequest?: boolean | null;\n  /** If present, indicates the action that triggered the event. */\n  originatedFrom?: string | null;\n  /**\n   * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n   * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n   */\n  entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n  createdEvent?: EntityCreatedEvent;\n  updatedEvent?: EntityUpdatedEvent;\n  deletedEvent?: EntityDeletedEvent;\n  actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n  entityAsJson?: string;\n  /** 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 RecloneSiteRequest {\n  /** @format GUID */\n  cloneFrom?: string;\n}\n\nexport interface RecloneSiteResponse {}\n\nexport interface BulkSetOrAdjustInventoryItemsByFilterRequest {\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  /** Action to adjust the inventory by. (e.g increment or decrement) */\n  adjustedInventoryAction: AdjustInventoryAction;\n  /** Free text to match in searchable fields */\n  search?: SearchDetails;\n}\n\nexport interface AdjustInventoryAction\n  extends AdjustInventoryActionActionOneOf {\n  /**\n   * Amount to increment by.\n   * @min 1\n   * @max 99999\n   */\n  incrementBy?: number;\n  /**\n   * Amount to decrement by.\n   * Quantity can be reduced until it reaches zero but not below. Attempting to further decrease an already negative inventory will fail.\n   * @min 1\n   * @max 99999\n   */\n  decrementBy?: number;\n}\n\n/** @oneof */\nexport interface AdjustInventoryActionActionOneOf {\n  /**\n   * Amount to increment by.\n   * @min 1\n   * @max 99999\n   */\n  incrementBy?: number;\n  /**\n   * Amount to decrement by.\n   * Quantity can be reduced until it reaches zero but not below. Attempting to further decrease an already negative inventory will fail.\n   * @min 1\n   * @max 99999\n   */\n  decrementBy?: number;\n}\n\nexport interface BulkSetOrAdjustInventoryItemsByFilterResponse {\n  /**\n   * Job ID.\n   *\n   * Pass this ID to [Get Async Job](https://dev.wix.com/docs/api-reference/business-management/async-job/introduction) to retrieve job details and metadata.\n   * @format GUID\n   */\n  jobId?: string;\n}\n\nexport interface BulkAdjustInventoryItemsByFilterRequest {\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  /** Action to adjust the inventory by (e.g. increment or decrement). */\n  adjustment: AdjustInventoryAction;\n  /** Free text to match in searchable fields. */\n  search?: SearchDetails;\n  /** If set to `true`, will set track method to track quantity. Default: `false`. */\n  trackQuantity?: boolean;\n}\n\nexport interface BulkAdjustInventoryItemsByFilterResponse {\n  /**\n   * Job ID.\n   *\n   * Pass this ID to [Get Async Job](https://dev.wix.com/docs/api-reference/business-management/async-job/introduction) to retrieve job details and metadata.\n   * @format GUID\n   */\n  jobId?: string;\n}\n\nexport interface BulkCreateInventoryItemsByVariantFilterRequest {\n  /**\n   * Filter for variants. See [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language)\n   * for WQL syntax and [Search Variants](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v3/product-variants-reader/search-variants)\n   * for available filter fields.\n   */\n  filter: Record<string, any> | null;\n  /**\n   * Free text to match in searchable fields.\n   * When both `filter` and `search` are provided, results must satisfy both conditions (AND logic).\n   * Use `filter` for precise field-based criteria and `search` for broad text matching.\n   */\n  search?: SearchDetails;\n  /**\n   * Target location ID where inventory items will be created.\n   * @format GUID\n   */\n  locationId: string;\n  /** Inventory data for created inventory items. */\n  inventoryCreationData?: InventoryCreationData;\n}\n\nexport interface InventoryCreationData {\n  /**\n   * Default quantity for created inventory items.\n   * Items will be created with quantity tracking enabled and this initial quantity.\n   * @max 99999\n   */\n  quantity?: number;\n}\n\nexport interface BulkCreateInventoryItemsByVariantFilterResponse {\n  /**\n   * Job ID.\n   *\n   * Pass this ID to [Get Async Job](https://dev.wix.com/docs/api-reference/business-management/async-job/introduction) to retrieve job details and metadata.\n   * @format GUID\n   */\n  jobId?: string;\n}\n\n/**\n * Published on Greyhound topic \"catalog-rollback-requested\" after the site is handled by the V3 population rollback.\n * Each owning service reacts to this rollback request according to its own policy.\n */\nexport interface CatalogRollbackRequested {\n  /**\n   * The MetaSite ID of the store whose catalog migration rollback was requested.\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /** Whether owner services should clean V3 catalog data as a reaction to this rollback request. */\n  cleanData?: boolean;\n}\n\nexport interface MessageEnvelope {\n  /**\n   * App instance ID.\n   * @format GUID\n   */\n  instanceId?: string | null;\n  /**\n   * Event type.\n   * @maxLength 150\n   */\n  eventType?: string;\n  /** The identification type and identity data. */\n  identity?: IdentificationData;\n  /** Stringify payload. */\n  data?: string;\n  /** Details related to the account */\n  accountInfo?: AccountInfo;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n  /**\n   * ID of a site visitor that has not logged in to the site.\n   * @format GUID\n   */\n  anonymousVisitorId?: string;\n  /**\n   * ID of a site visitor that has logged in to the site.\n   * @format GUID\n   */\n  memberId?: string;\n  /**\n   * ID of a Wix user (site owner, contributor, etc.).\n   * @format GUID\n   */\n  wixUserId?: string;\n  /**\n   * ID of an app.\n   * @format GUID\n   */\n  appId?: string;\n  /** @readonly */\n  identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n  /**\n   * ID of a site visitor that has not logged in to the site.\n   * @format GUID\n   */\n  anonymousVisitorId?: string;\n  /**\n   * ID of a site visitor that has logged in to the site.\n   * @format GUID\n   */\n  memberId?: string;\n  /**\n   * ID of a Wix user (site owner, contributor, etc.).\n   * @format GUID\n   */\n  wixUserId?: string;\n  /**\n   * ID of an app.\n   * @format GUID\n   */\n  appId?: string;\n}\n\nexport enum WebhookIdentityType {\n  UNKNOWN = 'UNKNOWN',\n  ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n  MEMBER = 'MEMBER',\n  WIX_USER = 'WIX_USER',\n  APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n  | WebhookIdentityType\n  | 'UNKNOWN'\n  | 'ANONYMOUS_VISITOR'\n  | 'MEMBER'\n  | 'WIX_USER'\n  | 'APP';\n\nexport interface AccountInfo {\n  /**\n   * ID of the Wix account associated with the event.\n   * @format GUID\n   */\n  accountId?: string | null;\n  /**\n   * ID of the parent Wix account. Only included when accountId belongs to a child account.\n   * @format GUID\n   */\n  parentAccountId?: string | null;\n  /**\n   * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n   * @format GUID\n   */\n  siteId?: string | null;\n}\n\n/** @docsIgnore */\nexport type CreateInventoryItemApplicationErrors =\n  | {\n      code?: 'ITEM_ALREADY_EXISTS';\n      description?: string;\n      data?: Record<string, any>;\n    }\n  | {\n      code?: 'PRE_ORDER_VALIDATION';\n      description?: string;\n      data?: Record<string, any>;\n    };\n/** @docsIgnore */\nexport type CreateInventoryItemValidationErrors =\n  | {\n      ruleName?: 'REQUESTED_QUANTITY_MUST_BE_NON_NEGATIVE';\n    }\n  | {\n      ruleName?: 'PREORDER_LIMIT_NOT_SUPPORTED_FOR_UNTRACKED_INVENTORY';\n    }\n  | {\n      ruleName?: 'DUPLICATE_BULK_UPSERT_KEY';\n    };\n/** @docsIgnore */\nexport type BulkCreateInventoryItemsApplicationErrors = {\n  code?: 'PRE_ORDER_VALIDATION';\n  description?: string;\n  data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type BulkCreateInventoryItemsValidationErrors =\n  | {\n      ruleName?: 'REQUESTED_QUANTITY_MUST_BE_NON_NEGATIVE';\n    }\n  | {\n      ruleName?: 'PREORDER_LIMIT_NOT_SUPPORTED_FOR_UNTRACKED_INVENTORY';\n    };\n/** @docsIgnore */\nexport type UpdateInventoryItemApplicationErrors =\n  | {\n      code?: 'REQUESTED_QUANTITY_MUST_BE_NON_NEGATIVE_DECREASING';\n      description?: string;\n      data?: Record<string, any>;\n    }\n  | {\n      code?: 'PRE_ORDER_VALIDATION';\n      description?: string;\n      data?: Record<string, any>;\n    };\n/** @docsIgnore */\nexport type BulkUpdateInventoryItemsApplicationErrors =\n  | {\n      code?: 'REQUESTED_QUANTITY_MUST_BE_NON_NEGATIVE_DECREASING';\n      description?: string;\n      data?: Record<string, any>;\n    }\n  | {\n      code?: 'PRE_ORDER_VALIDATION';\n      description?: string;\n      data?: Record<string, any>;\n    };\n/** @docsIgnore */\nexport type BulkUpsertInventoryItemsApplicationErrors =\n  | {\n      code?: 'INVALID_TARGET_QUANTITY';\n      description?: string;\n      data?: Record<string, any>;\n    }\n  | {\n      code?: 'PRE_ORDER_VALIDATION';\n      description?: string;\n      data?: Record<string, any>;\n    };\n/** @docsIgnore */\nexport type BulkUpdateInventoryItemsByFilterApplicationErrors =\n  | {\n      code?: 'REQUESTED_QUANTITY_MUST_BE_NON_NEGATIVE_DECREASING';\n      description?: string;\n      data?: Record<string, any>;\n    }\n  | {\n      code?: 'PRE_ORDER_VALIDATION';\n      description?: string;\n      data?: Record<string, any>;\n    };\n/** @docsIgnore */\nexport type BulkDecrementInventoryItemsApplicationErrors =\n  | {\n      code?: 'INVENTORY_QUANTITY_NOT_TRACKED';\n      description?: string;\n      data?: Record<string, any>;\n    }\n  | {\n      code?: 'INSUFFICIENT_INVENTORY';\n      description?: string;\n      data?: Record<string, any>;\n    }\n  | {\n      code?: 'MIN_QUANTITY_LIMIT_REACHED';\n      description?: string;\n      data?: Record<string, any>;\n    };\n/** @docsIgnore */\nexport type BulkIncrementInventoryItemsApplicationErrors =\n  | {\n      code?: 'INVENTORY_QUANTITY_NOT_TRACKED';\n      description?: string;\n      data?: Record<string, any>;\n    }\n  | {\n      code?: 'MAX_QUANTITY_LIMIT_REACHED';\n      description?: string;\n      data?: Record<string, any>;\n    };\n/** @docsIgnore */\nexport type BulkDecrementInventoryItemsByVariantAndLocationApplicationErrors =\n  | {\n      code?: 'INVENTORY_QUANTITY_NOT_TRACKED';\n      description?: string;\n      data?: Record<string, any>;\n    }\n  | {\n      code?: 'INSUFFICIENT_INVENTORY';\n      description?: string;\n      data?: Record<string, any>;\n    }\n  | {\n      code?: 'MIN_QUANTITY_LIMIT_REACHED';\n      description?: string;\n      data?: Record<string, any>;\n    }\n  | {\n      code?: 'NOT_FOUND';\n      description?: string;\n      data?: Record<string, any>;\n    };\n/** @docsIgnore */\nexport type BulkIncrementInventoryItemsByVariantAndLocationApplicationErrors =\n  | {\n      code?: 'INVENTORY_QUANTITY_NOT_TRACKED';\n      description?: string;\n      data?: Record<string, any>;\n    }\n  | {\n      code?: 'MAX_QUANTITY_LIMIT_REACHED';\n      description?: string;\n      data?: Record<string, any>;\n    }\n  | {\n      code?: 'NOT_FOUND';\n      description?: string;\n      data?: Record<string, any>;\n    };\n/** @docsIgnore */\nexport type BulkSetOrAdjustInventoryItemsByFilterApplicationErrors = {\n  code?: 'INVENTORY_QUANTITY_NOT_TRACKED';\n  description?: string;\n  data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type BulkAdjustInventoryItemsByFilterApplicationErrors =\n  | {\n      code?: 'INVENTORY_QUANTITY_NOT_TRACKED';\n      description?: string;\n      data?: Record<string, any>;\n    }\n  | {\n      code?: 'INSUFFICIENT_INVENTORY';\n      description?: string;\n      data?: Record<string, any>;\n    }\n  | {\n      code?: 'MIN_QUANTITY_LIMIT_REACHED';\n      description?: string;\n      data?: Record<string, any>;\n    }\n  | {\n      code?: 'MAX_QUANTITY_LIMIT_REACHED';\n      description?: string;\n      data?: Record<string, any>;\n    };\n","import * as ambassadorWixStoresCatalogV3InventoryItem from './stores-catalog-v3-inventory-item-inventory-items-v-3.http.js';\nimport * as ambassadorWixStoresCatalogV3InventoryItemTypes from './stores-catalog-v3-inventory-item-inventory-items-v-3.types.js';\nimport * as ambassadorWixStoresCatalogV3InventoryItemUniversalTypes from './stores-catalog-v3-inventory-item-inventory-items-v-3.universal.js';\n\nexport type __PublicMethodMetaInfo<\n  K = string,\n  M = unknown,\n  T = unknown,\n  S = unknown,\n  Q = unknown,\n  R = unknown\n> = {\n  getUrl: (context: any) => string;\n  httpMethod: K;\n  path: string;\n  pathParams: M;\n  __requestType: T;\n  __originalRequestType: S;\n  __responseType: Q;\n  __originalResponseType: R;\n};\n\nexport function createInventoryItem(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixStoresCatalogV3InventoryItemUniversalTypes.CreateInventoryItemRequest,\n  ambassadorWixStoresCatalogV3InventoryItemTypes.CreateInventoryItemRequest,\n  ambassadorWixStoresCatalogV3InventoryItemUniversalTypes.CreateInventoryItemResponse,\n  ambassadorWixStoresCatalogV3InventoryItemTypes.CreateInventoryItemResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV3InventoryItem.createInventoryItem(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v3/inventory-items',\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 bulkCreateInventoryItems(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixStoresCatalogV3InventoryItemUniversalTypes.BulkCreateInventoryItemsRequest,\n  ambassadorWixStoresCatalogV3InventoryItemTypes.BulkCreateInventoryItemsRequest,\n  ambassadorWixStoresCatalogV3InventoryItemUniversalTypes.BulkCreateInventoryItemsResponse,\n  ambassadorWixStoresCatalogV3InventoryItemTypes.BulkCreateInventoryItemsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV3InventoryItem.bulkCreateInventoryItems(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v3/bulk/inventory-items/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 getInventoryItem(): __PublicMethodMetaInfo<\n  'GET',\n  { inventoryItemId: string },\n  ambassadorWixStoresCatalogV3InventoryItemUniversalTypes.GetInventoryItemRequest,\n  ambassadorWixStoresCatalogV3InventoryItemTypes.GetInventoryItemRequest,\n  ambassadorWixStoresCatalogV3InventoryItemUniversalTypes.GetInventoryItemResponse,\n  ambassadorWixStoresCatalogV3InventoryItemTypes.GetInventoryItemResponse\n> {\n  const payload = { inventoryItemId: ':inventoryItemId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV3InventoryItem.getInventoryItem(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'GET',\n    path: '/v3/inventory-items/{inventoryItemId}',\n    pathParams: { inventoryItemId: 'inventoryItemId' },\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 updateInventoryItem(): __PublicMethodMetaInfo<\n  'PATCH',\n  { inventoryItemId: string },\n  ambassadorWixStoresCatalogV3InventoryItemUniversalTypes.UpdateInventoryItemRequest,\n  ambassadorWixStoresCatalogV3InventoryItemTypes.UpdateInventoryItemRequest,\n  ambassadorWixStoresCatalogV3InventoryItemUniversalTypes.UpdateInventoryItemResponse,\n  ambassadorWixStoresCatalogV3InventoryItemTypes.UpdateInventoryItemResponse\n> {\n  const payload = { inventoryItem: { id: ':inventoryItemId' } } as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV3InventoryItem.updateInventoryItem(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'PATCH',\n    path: '/v3/inventory-items/{inventoryItem.id}',\n    pathParams: { inventoryItemId: 'inventoryItemId' },\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 bulkUpdateInventoryItems(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixStoresCatalogV3InventoryItemUniversalTypes.BulkUpdateInventoryItemsRequest,\n  ambassadorWixStoresCatalogV3InventoryItemTypes.BulkUpdateInventoryItemsRequest,\n  ambassadorWixStoresCatalogV3InventoryItemUniversalTypes.BulkUpdateInventoryItemsResponse,\n  ambassadorWixStoresCatalogV3InventoryItemTypes.BulkUpdateInventoryItemsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV3InventoryItem.bulkUpdateInventoryItems(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v3/bulk/inventory-items/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 bulkUpsertInventoryItems(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixStoresCatalogV3InventoryItemUniversalTypes.BulkUpsertInventoryItemsRequest,\n  ambassadorWixStoresCatalogV3InventoryItemTypes.BulkUpsertInventoryItemsRequest,\n  ambassadorWixStoresCatalogV3InventoryItemUniversalTypes.BulkUpsertInventoryItemsResponse,\n  ambassadorWixStoresCatalogV3InventoryItemTypes.BulkUpsertInventoryItemsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV3InventoryItem.bulkUpsertInventoryItems(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v3/bulk/inventory-items/upsert',\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 bulkUpdateInventoryItemsByFilter(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixStoresCatalogV3InventoryItemUniversalTypes.BulkUpdateInventoryItemsByFilterRequest,\n  ambassadorWixStoresCatalogV3InventoryItemTypes.BulkUpdateInventoryItemsByFilterRequest,\n  ambassadorWixStoresCatalogV3InventoryItemUniversalTypes.BulkUpdateInventoryItemsByFilterResponse,\n  ambassadorWixStoresCatalogV3InventoryItemTypes.BulkUpdateInventoryItemsByFilterResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV3InventoryItem.bulkUpdateInventoryItemsByFilter(\n      payload\n    );\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v3/bulk/inventory-items/update-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 deleteInventoryItem(): __PublicMethodMetaInfo<\n  'DELETE',\n  { inventoryItemId: string },\n  ambassadorWixStoresCatalogV3InventoryItemUniversalTypes.DeleteInventoryItemRequest,\n  ambassadorWixStoresCatalogV3InventoryItemTypes.DeleteInventoryItemRequest,\n  ambassadorWixStoresCatalogV3InventoryItemUniversalTypes.DeleteInventoryItemResponse,\n  ambassadorWixStoresCatalogV3InventoryItemTypes.DeleteInventoryItemResponse\n> {\n  const payload = { inventoryItemId: ':inventoryItemId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV3InventoryItem.deleteInventoryItem(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'DELETE',\n    path: '/v3/inventory-items/{inventoryItemId}',\n    pathParams: { inventoryItemId: 'inventoryItemId' },\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 bulkDeleteInventoryItems(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixStoresCatalogV3InventoryItemUniversalTypes.BulkDeleteInventoryItemsRequest,\n  ambassadorWixStoresCatalogV3InventoryItemTypes.BulkDeleteInventoryItemsRequest,\n  ambassadorWixStoresCatalogV3InventoryItemUniversalTypes.BulkDeleteInventoryItemsResponse,\n  ambassadorWixStoresCatalogV3InventoryItemTypes.BulkDeleteInventoryItemsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV3InventoryItem.bulkDeleteInventoryItems(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v3/bulk/inventory-items/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 bulkDeleteInventoryItemsByFilter(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixStoresCatalogV3InventoryItemUniversalTypes.BulkDeleteInventoryItemsByFilterRequest,\n  ambassadorWixStoresCatalogV3InventoryItemTypes.BulkDeleteInventoryItemsByFilterRequest,\n  ambassadorWixStoresCatalogV3InventoryItemUniversalTypes.BulkDeleteInventoryItemsByFilterResponse,\n  ambassadorWixStoresCatalogV3InventoryItemTypes.BulkDeleteInventoryItemsByFilterResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV3InventoryItem.bulkDeleteInventoryItemsByFilter(\n      payload\n    );\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v3/bulk/inventory-items/delete-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 queryInventoryItems(): __PublicMethodMetaInfo<\n  'GET',\n  {},\n  ambassadorWixStoresCatalogV3InventoryItemUniversalTypes.QueryInventoryItemsRequest,\n  ambassadorWixStoresCatalogV3InventoryItemTypes.QueryInventoryItemsRequest,\n  ambassadorWixStoresCatalogV3InventoryItemUniversalTypes.QueryInventoryItemsResponse,\n  ambassadorWixStoresCatalogV3InventoryItemTypes.QueryInventoryItemsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV3InventoryItem.queryInventoryItems(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'GET',\n    path: '/v3/inventory-items/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 searchInventoryItems(): __PublicMethodMetaInfo<\n  'GET',\n  {},\n  ambassadorWixStoresCatalogV3InventoryItemUniversalTypes.SearchInventoryItemsRequest,\n  ambassadorWixStoresCatalogV3InventoryItemTypes.SearchInventoryItemsRequest,\n  ambassadorWixStoresCatalogV3InventoryItemUniversalTypes.SearchInventoryItemsResponse,\n  ambassadorWixStoresCatalogV3InventoryItemTypes.SearchInventoryItemsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV3InventoryItem.searchInventoryItems(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'GET',\n    path: '/v3/inventory-items/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 bulkDecrementInventoryItems(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixStoresCatalogV3InventoryItemUniversalTypes.BulkDecrementInventoryItemsRequest,\n  ambassadorWixStoresCatalogV3InventoryItemTypes.BulkDecrementInventoryItemsRequest,\n  ambassadorWixStoresCatalogV3InventoryItemUniversalTypes.BulkDecrementInventoryItemsResponse,\n  ambassadorWixStoresCatalogV3InventoryItemTypes.BulkDecrementInventoryItemsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV3InventoryItem.bulkDecrementInventoryItems(\n      payload\n    );\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v3/bulk/inventory-items/decrement',\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 bulkIncrementInventoryItems(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixStoresCatalogV3InventoryItemUniversalTypes.BulkIncrementInventoryItemsRequest,\n  ambassadorWixStoresCatalogV3InventoryItemTypes.BulkIncrementInventoryItemsRequest,\n  ambassadorWixStoresCatalogV3InventoryItemUniversalTypes.BulkIncrementInventoryItemsResponse,\n  ambassadorWixStoresCatalogV3InventoryItemTypes.BulkIncrementInventoryItemsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV3InventoryItem.bulkIncrementInventoryItems(\n      payload\n    );\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v3/bulk/inventory-items/increment',\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 bulkDecrementInventoryItemsByVariantAndLocation(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixStoresCatalogV3InventoryItemUniversalTypes.BulkDecrementInventoryItemsByVariantAndLocationRequest,\n  ambassadorWixStoresCatalogV3InventoryItemTypes.BulkDecrementInventoryItemsByVariantAndLocationRequest,\n  ambassadorWixStoresCatalogV3InventoryItemUniversalTypes.BulkDecrementInventoryItemsByVariantAndLocationResponse,\n  ambassadorWixStoresCatalogV3InventoryItemTypes.BulkDecrementInventoryItemsByVariantAndLocationResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV3InventoryItem.bulkDecrementInventoryItemsByVariantAndLocation(\n      payload\n    );\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v3/bulk/inventory-items/decrement-by-variant-and-location',\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 bulkIncrementInventoryItemsByVariantAndLocation(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixStoresCatalogV3InventoryItemUniversalTypes.BulkIncrementInventoryItemsByVariantAndLocationRequest,\n  ambassadorWixStoresCatalogV3InventoryItemTypes.BulkIncrementInventoryItemsByVariantAndLocationRequest,\n  ambassadorWixStoresCatalogV3InventoryItemUniversalTypes.BulkIncrementInventoryItemsByVariantAndLocationResponse,\n  ambassadorWixStoresCatalogV3InventoryItemTypes.BulkIncrementInventoryItemsByVariantAndLocationResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV3InventoryItem.bulkIncrementInventoryItemsByVariantAndLocation(\n      payload\n    );\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v3/bulk/inventory-items/increment-by-variant-and-location',\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 bulkSetOrAdjustInventoryItemsByFilter(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixStoresCatalogV3InventoryItemUniversalTypes.BulkSetOrAdjustInventoryItemsByFilterRequest,\n  ambassadorWixStoresCatalogV3InventoryItemTypes.BulkSetOrAdjustInventoryItemsByFilterRequest,\n  ambassadorWixStoresCatalogV3InventoryItemUniversalTypes.BulkSetOrAdjustInventoryItemsByFilterResponse,\n  ambassadorWixStoresCatalogV3InventoryItemTypes.BulkSetOrAdjustInventoryItemsByFilterResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV3InventoryItem.bulkSetOrAdjustInventoryItemsByFilter(\n      payload\n    );\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v3/bulk/inventory-items/set-or-adjust-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 bulkAdjustInventoryItemsByFilter(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixStoresCatalogV3InventoryItemUniversalTypes.BulkAdjustInventoryItemsByFilterRequest,\n  ambassadorWixStoresCatalogV3InventoryItemTypes.BulkAdjustInventoryItemsByFilterRequest,\n  ambassadorWixStoresCatalogV3InventoryItemUniversalTypes.BulkAdjustInventoryItemsByFilterResponse,\n  ambassadorWixStoresCatalogV3InventoryItemTypes.BulkAdjustInventoryItemsByFilterResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV3InventoryItem.bulkAdjustInventoryItemsByFilter(\n      payload\n    );\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v3/bulk/inventory-items/adjust-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 bulkCreateInventoryItemsByVariantFilter(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixStoresCatalogV3InventoryItemUniversalTypes.BulkCreateInventoryItemsByVariantFilterRequest,\n  ambassadorWixStoresCatalogV3InventoryItemTypes.BulkCreateInventoryItemsByVariantFilterRequest,\n  ambassadorWixStoresCatalogV3InventoryItemUniversalTypes.BulkCreateInventoryItemsByVariantFilterResponse,\n  ambassadorWixStoresCatalogV3InventoryItemTypes.BulkCreateInventoryItemsByVariantFilterResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixStoresCatalogV3InventoryItem.bulkCreateInventoryItemsByVariantFilter(\n      payload\n    );\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v3/bulk/inventory-items/create-by-variant-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 {\n  InventoryItem as InventoryItemOriginal,\n  InventoryItemTrackingMethodOneOf as InventoryItemTrackingMethodOneOfOriginal,\n  AvailabilityStatus as AvailabilityStatusOriginal,\n  AvailabilityStatusWithLiterals as AvailabilityStatusWithLiteralsOriginal,\n  PreorderInfo as PreorderInfoOriginal,\n  Product as ProductOriginal,\n  Brand as BrandOriginal,\n  ExtendedFields as ExtendedFieldsOriginal,\n  InvalidateCache as InvalidateCacheOriginal,\n  InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOfOriginal,\n  App as AppOriginal,\n  Page as PageOriginal,\n  URI as URIOriginal,\n  File as FileOriginal,\n  CustomTag as CustomTagOriginal,\n  Pages as PagesOriginal,\n  URIs as URIsOriginal,\n  BulkInventoryItemAction as BulkInventoryItemActionOriginal,\n  EventType as EventTypeOriginal,\n  EventTypeWithLiterals as EventTypeWithLiteralsOriginal,\n  CreateInventoryItemRequest as CreateInventoryItemRequestOriginal,\n  CreateInventoryItemResponse as CreateInventoryItemResponseOriginal,\n  BulkCreateInventoryItemsRequest as BulkCreateInventoryItemsRequestOriginal,\n  BulkCreateInventoryItemsResponse as BulkCreateInventoryItemsResponseOriginal,\n  V3BulkInventoryItemResult as V3BulkInventoryItemResultOriginal,\n  ItemMetadata as ItemMetadataOriginal,\n  ApplicationError as ApplicationErrorOriginal,\n  BulkActionMetadata as BulkActionMetadataOriginal,\n  GetInventoryItemRequest as GetInventoryItemRequestOriginal,\n  GetInventoryItemResponse as GetInventoryItemResponseOriginal,\n  UpdateInventoryItemRequest as UpdateInventoryItemRequestOriginal,\n  ReasonType as ReasonTypeOriginal,\n  ReasonTypeWithLiterals as ReasonTypeWithLiteralsOriginal,\n  UpdateInventoryItemResponse as UpdateInventoryItemResponseOriginal,\n  InventoryItemStockStatusUpdatedEvent as InventoryItemStockStatusUpdatedEventOriginal,\n  InventoryItemUpdatedWithReason as InventoryItemUpdatedWithReasonOriginal,\n  BulkUpdateInventoryItemsRequest as BulkUpdateInventoryItemsRequestOriginal,\n  MaskedInventoryItem as MaskedInventoryItemOriginal,\n  BulkUpdateInventoryItemsResponse as BulkUpdateInventoryItemsResponseOriginal,\n  BulkUpsertInventoryItemsRequest as BulkUpsertInventoryItemsRequestOriginal,\n  BulkUpsertInventoryItemsResponse as BulkUpsertInventoryItemsResponseOriginal,\n  BulkUpsertInventoryItemResult as BulkUpsertInventoryItemResultOriginal,\n  BulkUpdateInventoryItemsByFilterRequest as BulkUpdateInventoryItemsByFilterRequestOriginal,\n  SearchDetails as SearchDetailsOriginal,\n  Mode as ModeOriginal,\n  ModeWithLiterals as ModeWithLiteralsOriginal,\n  BulkUpdateInventoryItemsByFilterResponse as BulkUpdateInventoryItemsByFilterResponseOriginal,\n  DeleteInventoryItemRequest as DeleteInventoryItemRequestOriginal,\n  DeleteInventoryItemResponse as DeleteInventoryItemResponseOriginal,\n  BulkDeleteInventoryItemsRequest as BulkDeleteInventoryItemsRequestOriginal,\n  BulkDeleteInventoryItemsResponse as BulkDeleteInventoryItemsResponseOriginal,\n  BulkInventoryItemResult as BulkInventoryItemResultOriginal,\n  BulkDeleteInventoryItemsByFilterRequest as BulkDeleteInventoryItemsByFilterRequestOriginal,\n  BulkDeleteInventoryItemsByFilterResponse as BulkDeleteInventoryItemsByFilterResponseOriginal,\n  QueryInventoryItemsRequest as QueryInventoryItemsRequestOriginal,\n  QueryV2 as QueryV2Original,\n  QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal,\n  Sorting as SortingOriginal,\n  SortOrder as SortOrderOriginal,\n  SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n  Paging as PagingOriginal,\n  CursorPaging as CursorPagingOriginal,\n  QueryInventoryItemsResponse as QueryInventoryItemsResponseOriginal,\n  PlatformPagingMetadataV2 as PlatformPagingMetadataV2Original,\n  CommonCursors as CommonCursorsOriginal,\n  SearchInventoryItemsRequest as SearchInventoryItemsRequestOriginal,\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  GroupByAggregation as GroupByAggregationOriginal,\n  GroupByAggregationKindOneOf as GroupByAggregationKindOneOfOriginal,\n  SearchInventoryItemsResponse as SearchInventoryItemsResponseOriginal,\n  CursorPagingMetadata as CursorPagingMetadataOriginal,\n  Cursors as CursorsOriginal,\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  SearchInventoryItemsWithOffsetRequest as SearchInventoryItemsWithOffsetRequestOriginal,\n  OffsetSearch as OffsetSearchOriginal,\n  OffsetSearchPagingMethodOneOf as OffsetSearchPagingMethodOneOfOriginal,\n  SearchInventoryItemsWithOffsetResponse as SearchInventoryItemsWithOffsetResponseOriginal,\n  PagingMetadata as PagingMetadataOriginal,\n  BulkDecrementInventoryItemsRequest as BulkDecrementInventoryItemsRequestOriginal,\n  DecrementDataById as DecrementDataByIdOriginal,\n  BulkDecrementInventoryItemsResponse as BulkDecrementInventoryItemsResponseOriginal,\n  BulkIncrementInventoryItemsRequest as BulkIncrementInventoryItemsRequestOriginal,\n  IncrementDataById as IncrementDataByIdOriginal,\n  BulkIncrementInventoryItemsResponse as BulkIncrementInventoryItemsResponseOriginal,\n  BulkDecrementInventoryItemsByVariantAndLocationRequest as BulkDecrementInventoryItemsByVariantAndLocationRequestOriginal,\n  DecrementDataByVariantAndLocation as DecrementDataByVariantAndLocationOriginal,\n  BulkDecrementInventoryItemsByVariantAndLocationResponse as BulkDecrementInventoryItemsByVariantAndLocationResponseOriginal,\n  BulkIncrementInventoryItemsByVariantAndLocationRequest as BulkIncrementInventoryItemsByVariantAndLocationRequestOriginal,\n  IncrementDataByVariantAndLocation as IncrementDataByVariantAndLocationOriginal,\n  BulkIncrementInventoryItemsByVariantAndLocationResponse as BulkIncrementInventoryItemsByVariantAndLocationResponseOriginal,\n  DomainEvent as DomainEventOriginal,\n  DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n  EntityCreatedEvent as EntityCreatedEventOriginal,\n  RestoreInfo as RestoreInfoOriginal,\n  EntityUpdatedEvent as EntityUpdatedEventOriginal,\n  EntityDeletedEvent as EntityDeletedEventOriginal,\n  ActionEvent as ActionEventOriginal,\n  Empty as EmptyOriginal,\n  RecloneSiteRequest as RecloneSiteRequestOriginal,\n  RecloneSiteResponse as RecloneSiteResponseOriginal,\n  BulkSetOrAdjustInventoryItemsByFilterRequest as BulkSetOrAdjustInventoryItemsByFilterRequestOriginal,\n  AdjustInventoryAction as AdjustInventoryActionOriginal,\n  AdjustInventoryActionActionOneOf as AdjustInventoryActionActionOneOfOriginal,\n  BulkSetOrAdjustInventoryItemsByFilterResponse as BulkSetOrAdjustInventoryItemsByFilterResponseOriginal,\n  BulkAdjustInventoryItemsByFilterRequest as BulkAdjustInventoryItemsByFilterRequestOriginal,\n  BulkAdjustInventoryItemsByFilterResponse as BulkAdjustInventoryItemsByFilterResponseOriginal,\n  BulkCreateInventoryItemsByVariantFilterRequest as BulkCreateInventoryItemsByVariantFilterRequestOriginal,\n  InventoryCreationData as InventoryCreationDataOriginal,\n  BulkCreateInventoryItemsByVariantFilterResponse as BulkCreateInventoryItemsByVariantFilterResponseOriginal,\n  CatalogRollbackRequested as CatalogRollbackRequestedOriginal,\n  MessageEnvelope as MessageEnvelopeOriginal,\n  IdentificationData as IdentificationDataOriginal,\n  IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n  WebhookIdentityType as WebhookIdentityTypeOriginal,\n  WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n  AccountInfo as AccountInfoOriginal,\n  CreateInventoryItemApplicationErrors as CreateInventoryItemApplicationErrorsOriginal,\n  CreateInventoryItemValidationErrors as CreateInventoryItemValidationErrorsOriginal,\n  BulkCreateInventoryItemsApplicationErrors as BulkCreateInventoryItemsApplicationErrorsOriginal,\n  BulkCreateInventoryItemsValidationErrors as BulkCreateInventoryItemsValidationErrorsOriginal,\n  UpdateInventoryItemApplicationErrors as UpdateInventoryItemApplicationErrorsOriginal,\n  BulkUpdateInventoryItemsApplicationErrors as BulkUpdateInventoryItemsApplicationErrorsOriginal,\n  BulkUpsertInventoryItemsApplicationErrors as BulkUpsertInventoryItemsApplicationErrorsOriginal,\n  BulkUpdateInventoryItemsByFilterApplicationErrors as BulkUpdateInventoryItemsByFilterApplicationErrorsOriginal,\n  BulkDecrementInventoryItemsApplicationErrors as BulkDecrementInventoryItemsApplicationErrorsOriginal,\n  BulkIncrementInventoryItemsApplicationErrors as BulkIncrementInventoryItemsApplicationErrorsOriginal,\n  BulkDecrementInventoryItemsByVariantAndLocationApplicationErrors as BulkDecrementInventoryItemsByVariantAndLocationApplicationErrorsOriginal,\n  BulkIncrementInventoryItemsByVariantAndLocationApplicationErrors as BulkIncrementInventoryItemsByVariantAndLocationApplicationErrorsOriginal,\n  BulkSetOrAdjustInventoryItemsByFilterApplicationErrors as BulkSetOrAdjustInventoryItemsByFilterApplicationErrorsOriginal,\n  BulkAdjustInventoryItemsByFilterApplicationErrors as BulkAdjustInventoryItemsByFilterApplicationErrorsOriginal,\n} from './stores-catalog-v3-inventory-item-inventory-items-v-3.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,4DACP,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,GAAG;AAAA,MACD;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,kBAAkB;AAAA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Ae;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","AvailabilityStatus","EventType","ReasonType","Mode","SortOrder","SortType","SortDirection","MissingValues","ScalarType","NestedAggregationType","Interval","AggregationType","WebhookIdentityType","createInventoryItem","bulkCreateInventoryItems","getInventoryItem","updateInventoryItem","bulkUpdateInventoryItems","bulkUpsertInventoryItems","bulkUpdateInventoryItemsByFilter","deleteInventoryItem","bulkDeleteInventoryItems","bulkDeleteInventoryItemsByFilter","queryInventoryItems","searchInventoryItems","bulkDecrementInventoryItems","bulkIncrementInventoryItems","bulkDecrementInventoryItemsByVariantAndLocation","bulkIncrementInventoryItemsByVariantAndLocation","bulkSetOrAdjustInventoryItemsByFilter","bulkAdjustInventoryItemsByFilter","bulkCreateInventoryItemsByVariantFilter"]}