@wix/auto_sdk_data-backend-public-sdk-poc_data 1.0.36 → 1.0.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/data-v1-data-service-data.http.ts","../../src/data-v1-data-service-data.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'api._api_base_domain_': [\n {\n srcPath: '/cloud-data',\n destPath: '',\n },\n ],\n 'code._base_domain_': [\n {\n srcPath: '/_api/cloud-data/v1/data-settings',\n destPath: '/v1/data-settings',\n },\n {\n srcPath: '/_api/cloud-data/v1/schemas',\n destPath: '/v1/schemas',\n },\n {\n srcPath: '/_api/cloud-data/v1/connector',\n destPath: '/v1/connector',\n },\n {\n srcPath: '/_api/data/v1/data-settings',\n destPath: '/v1/data-settings',\n },\n {\n srcPath: '/_api/data/v1/schemas',\n destPath: '/v1/schemas',\n },\n {\n srcPath: '/_api/data/v1/connector',\n destPath: '/v1/connector',\n },\n {\n srcPath: '/_api/cloud-data/v1/wix-data',\n destPath: '/v1/wix-data',\n },\n ],\n 'cloud-data.wix-code.com': [\n {\n srcPath: '',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/_api/cloud-data',\n destPath: '',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/cloud-data',\n destPath: '',\n },\n {\n srcPath: '/_api/data',\n destPath: '',\n },\n {\n srcPath: '/_api/cloud-data',\n destPath: '',\n },\n ],\n 'dev._base_domain_': [\n {\n srcPath: '/_api/cloud-data',\n destPath: '',\n },\n ],\n 'bo._base_domain_': [\n {\n srcPath: '/_api/cloud-data/v1',\n destPath: '/v1',\n },\n {\n srcPath: '/_api/cloud-data/v2',\n destPath: '/v2',\n },\n ],\n 'wixbo.ai': [\n {\n srcPath: '/_api/cloud-data/v1',\n destPath: '/v1',\n },\n {\n srcPath: '/_api/cloud-data/v2',\n destPath: '/v2',\n },\n ],\n 'wix-bo.com': [\n {\n srcPath: '/_api/cloud-data/v1',\n destPath: '/v1',\n },\n {\n srcPath: '/_api/cloud-data/v2',\n destPath: '/v2',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/cloud-data',\n destPath: '',\n },\n {\n srcPath: '/_api/data',\n destPath: '',\n },\n {\n srcPath: '/_api/cloud-data',\n destPath: '',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/cloud-data/v1/schemas',\n destPath: '/v1/schemas',\n },\n {\n srcPath: '/_api/cloud-data/dbs/tasks',\n destPath: '/dbs/tasks',\n },\n {\n srcPath: '/_api/data/v1/schemas',\n destPath: '/v1/schemas',\n },\n {\n srcPath: '/_api/data/dbs/tasks',\n destPath: '/dbs/tasks',\n },\n {\n srcPath: '/_api/cloud-data/v1/wix-data',\n destPath: '/v1/wix-data',\n },\n {\n srcPath: '/_api/cloud-data/v1/data-settings',\n destPath: '/v1/data-settings',\n },\n {\n srcPath: '/_api/data/v2/indexes',\n destPath: '/v2/indexes',\n },\n {\n srcPath: '/_api/cloud-data/v1/external-database-connections',\n destPath: '/v1/external-database-connections',\n },\n {\n srcPath: '/_api/data/v1/data-collection-sharing',\n destPath: '/v1/data-collection-sharing',\n },\n {\n srcPath: '/_api/cloud-data/v2/collections',\n destPath: '/v2/collections',\n },\n {\n srcPath: '/_api/cloud-data/v2/bulk',\n destPath: '/v2/bulk',\n },\n {\n srcPath: '/_api/cloud-data/v2/items',\n destPath: '/v2/items',\n },\n {\n srcPath: '/_api/cloud-data/v2/dbs/tasks',\n destPath: '/v2/dbs/tasks',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/cloud-data/v1/schemas',\n destPath: '/v1/schemas',\n },\n {\n srcPath: '/_api/cloud-data/dbs/tasks',\n destPath: '/dbs/tasks',\n },\n {\n srcPath: '/_api/data/v1/schemas',\n destPath: '/v1/schemas',\n },\n {\n srcPath: '/_api/data/dbs/tasks',\n destPath: '/dbs/tasks',\n },\n {\n srcPath: '/_api/cloud-data/v1/wix-data',\n destPath: '/v1/wix-data',\n },\n {\n srcPath: '/_api/cloud-data/v1/data-settings',\n destPath: '/v1/data-settings',\n },\n {\n srcPath: '/_api/data/v2/indexes',\n destPath: '/v2/indexes',\n },\n {\n srcPath: '/_api/cloud-data/v1/external-database-connections',\n destPath: '/v1/external-database-connections',\n },\n {\n srcPath: '/_api/data/v1/data-collection-sharing',\n destPath: '/v1/data-collection-sharing',\n },\n {\n srcPath: '/_api/cloud-data/v2/collections',\n destPath: '/v2/collections',\n },\n {\n srcPath: '/_api/cloud-data/v2/bulk',\n destPath: '/v2/bulk',\n },\n {\n srcPath: '/_api/cloud-data/v2/items',\n destPath: '/v2/items',\n },\n {\n srcPath: '/_api/cloud-data/v2/dbs/tasks',\n destPath: '/v2/dbs/tasks',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/cloud-data/v1/schemas',\n destPath: '/v1/schemas',\n },\n {\n srcPath: '/_api/cloud-data/dbs/tasks',\n destPath: '/dbs/tasks',\n },\n {\n srcPath: '/_api/data/v1/schemas',\n destPath: '/v1/schemas',\n },\n {\n srcPath: '/_api/data/dbs/tasks',\n destPath: '/dbs/tasks',\n },\n {\n srcPath: '/_api/cloud-data/v1/wix-data',\n destPath: '/v1/wix-data',\n },\n {\n srcPath: '/_api/cloud-data/v1/data-settings',\n destPath: '/v1/data-settings',\n },\n {\n srcPath: '/_api/data/v2/indexes',\n destPath: '/v2/indexes',\n },\n {\n srcPath: '/_api/cloud-data/v1/external-database-connections',\n destPath: '/v1/external-database-connections',\n },\n {\n srcPath: '/_api/data/v1/data-collection-sharing',\n destPath: '/v1/data-collection-sharing',\n },\n {\n srcPath: '/_api/cloud-data/v2/collections',\n destPath: '/v2/collections',\n },\n {\n srcPath: '/_api/cloud-data/v2/bulk',\n destPath: '/v2/bulk',\n },\n {\n srcPath: '/_api/cloud-data/v2/items',\n destPath: '/v2/items',\n },\n {\n srcPath: '/_api/cloud-data/v2/dbs/tasks',\n destPath: '/v2/dbs/tasks',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/wix-data/v1/collections',\n destPath: '/v1/wix-data/collections',\n },\n {\n srcPath: '/wix-data/v1/external-database-connections',\n destPath: '/v1/external-database-connections',\n },\n {\n srcPath: '/wix-data/v2/indexes',\n destPath: '/v2/indexes',\n },\n {\n srcPath: '/wix-data/v1/items',\n destPath: '/v1/items',\n },\n {\n srcPath: '/wix-data/v1/bulk',\n destPath: '/v1/bulk',\n },\n {\n srcPath: '/wix-data/v1/external-databases',\n destPath: '/v1/external-databases',\n },\n {\n srcPath: '/wix-data/v2',\n destPath: '/v2',\n },\n {\n srcPath: '/data/v2/collections',\n destPath: '/v2/collections',\n },\n {\n srcPath: '/data/v2/items',\n destPath: '/v2/items',\n },\n {\n srcPath: '/data/v2/bulk/items',\n destPath: '/v2/bulk/items',\n },\n ],\n 'www.wixgateway.com': [\n {\n srcPath: '/wix-data/v1/items',\n destPath: '/v1/items',\n },\n {\n srcPath: '/wix-data/v1/bulk',\n destPath: '/v1/bulk',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/cloud-data/v2',\n destPath: '/v2',\n },\n {\n srcPath: '/_api/cloud-data/v1/external-database-connections',\n destPath: '/v1/external-database-connections',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_data-backend-public-sdk-poc_data';\n\n/**\n * Adds an item to a collection.\n *\n * When an item is inserted into a collection, the following properties and values are added to it:\n * * `_id`: A unique identifier for an item in a collection. You can optionally provide your own ID when inserting the item. If you specify an ID that already exists in the collection, the insertion will fail.\n * * `_createdDate`: The date the item was added to the collection.\n * * `_updatedDate`: The date the item was last modified. When the item is first inserted, `_createdDate` and `_updatedDate` have the same value.\n * @deprecated Will be removed on 2025-06-01.\n */\nexport function insert(payload: object): RequestOptionsFactory<any> {\n function __insert({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.data.v1.data_service',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.cloud.data.api.dataservice.WixDataService.Insert',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({\n protoPath: '/v1/items',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __insert;\n}\n\n/**\n * Updates an item in a collection.\n *\n * An item ID must be submitted as part of the request, either as a path parameter or within the `item` body parameter. If an item is found in the specified collection with\n * the same ID, that item is updated. If the collection doesn't contain an item with that ID, the request fails.\n *\n * When an item is updated, its `_updatedDate` property is changed to the current date.\n *\n * **Note:**\n * After an item is updated, it only contains the properties included in the Update Data Item request. If the existing item has properties with values and those properties\n * aren't included in the updated item, their values are lost.\n * @deprecated Will be removed on 2025-06-01.\n */\nexport function update(payload: object): RequestOptionsFactory<any> {\n function __update({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.data.v1.data_service',\n method: 'PUT' as any,\n methodFqn:\n 'com.wixpress.cloud.data.api.dataservice.WixDataService.Update',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({\n protoPath: '/v1/items/{itemId}',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __update;\n}\n\n/**\n * Inserts or updates an item in a collection.\n *\n * The Save Data Item endpoint inserts or updates the specified item, depending on whether it already exists in the collection.\n *\n * * If you don't provide an ID, a new item is created.\n *\n * * If you provide an ID that doesn't exist in the collection, a new item is created with that ID.\n *\n * * If an item with the ID you provide already exists in the collection, that item is updated. When an item is updated, its `_updatedDate` property is changed to the current date.\n *\n * ***Note:*** When you provide an item with an ID that already exists in the collection, the item you provide completely replaces the existing item with that ID.\n * This means that all of the item's previous properties and values are lost.\n * @deprecated Will be removed on 2025-06-01.\n */\nexport function save(payload: object): RequestOptionsFactory<any> {\n function __save({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.data.v1.data_service',\n method: 'POST' as any,\n methodFqn: 'com.wixpress.cloud.data.api.dataservice.WixDataService.Save',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({\n protoPath: '/v1/items/save',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __save;\n}\n\n/**\n * Retrieves an item from a collection.\n * @deprecated Will be removed on 2025-06-01.\n */\nexport function get(payload: object): RequestOptionsFactory<any> {\n function __get({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.data.v1.data_service',\n method: 'GET' as any,\n methodFqn: 'com.wixpress.cloud.data.api.dataservice.WixDataService.Get',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({\n protoPath: '/v1/items/{itemId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload, true),\n };\n\n return metadata;\n }\n\n return __get;\n}\n\n/**\n * Removes an item from a collection.\n *\n * If any items in other collections reference the removed item in a reference or multi-reference field, the field is cleared.\n *\n * **Note:**\n * Once an item has been removed from a collection, it can't be restored.\n * @deprecated Will be removed on 2025-06-01.\n */\nexport function remove(payload: object): RequestOptionsFactory<any> {\n function __remove({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.data.v1.data_service',\n method: 'DELETE' as any,\n methodFqn:\n 'com.wixpress.cloud.data.api.dataservice.WixDataService.Remove',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({\n protoPath: '/v1/items/{itemId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __remove;\n}\n\n/**\n * Removes all items from a collection. Site owner (`ADMIN`) permissions are required in order to invoke this operation.\n *\n * If any items in other collections reference the removed items in reference or multi-reference fields, those fields are cleared.\n *\n * **Note:**\n * Once items have been removed from a collection, they can't be restored.\n * @deprecated Will be removed on 2025-06-01.\n */\nexport function truncate(payload: object): RequestOptionsFactory<any> {\n function __truncate({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.data.v1.data_service',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.cloud.data.api.dataservice.WixDataService.Truncate',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({\n protoPath: '/v1/items/truncate',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __truncate;\n}\n\n/**\n * Retrieves a list of items, on the basis of the filtering, sorting, and paging preferences you provide.\n *\n * For more details on using queries, see [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language).\n * @deprecated Will be removed on 2025-06-01.\n */\nexport function query(payload: object): RequestOptionsFactory<any> {\n function __query({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.data.v1.data_service',\n method: 'GET' as any,\n methodFqn: 'com.wixpress.cloud.data.api.dataservice.WixDataService.Query',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({\n protoPath: '/v1/items/query',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload, true),\n\n fallback: [\n {\n method: 'POST' as any,\n url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({\n protoPath: '/v1/items/query',\n data: payload,\n host,\n }),\n data: payload,\n },\n ],\n };\n\n return metadata;\n }\n\n return __query;\n}\n\n/** @deprecated Will be removed on 2025-06-01. */\nexport function aggregate(payload: object): RequestOptionsFactory<any> {\n function __aggregate({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.data.v1.data_service',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.cloud.data.api.dataservice.WixDataService.Aggregate',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({\n protoPath: '/v1/items/aggregate',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __aggregate;\n}\n\n/**\n * Returns the number of items in a collection that match a query.\n * @deprecated Will be removed on 2025-06-01.\n */\nexport function count(payload: object): RequestOptionsFactory<any> {\n function __count({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.data.v1.data_service',\n method: 'POST' as any,\n methodFqn: 'com.wixpress.cloud.data.api.dataservice.WixDataService.Count',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({\n protoPath: '/v1/items/count',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __count;\n}\n\n/**\n * Retrieves a list of distinct values for a given property in all items that match a query, without duplicates.\n *\n * As with the [Query Data Items]() endpoint, this endpoint retrieves items based on the filtering, sorting, and paging preferences you provide.\n * However, the Query Distinct Values endpoint doesn't return all of the full items that match the query.\n * Rather, it returns all unique values of the property you specify in `propertyName` for items that match the query.\n * If more than one item has the same value for that property, that value appears only once.\n *\n * For more details on using queries, see [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language).\n * @deprecated Will be removed on 2025-06-01.\n */\nexport function distinct(payload: object): RequestOptionsFactory<any> {\n function __distinct({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.data.v1.data_service',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.cloud.data.api.dataservice.WixDataService.Distinct',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({\n protoPath: '/v1/items/distinct',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __distinct;\n}\n\n/**\n * Adds multiple items to a collection.\n *\n * When each item is inserted into a collection, the following properties and values are added to it:\n * * `_id`: A unique identifier for an item in a collection. You can optionally provide your own ID when inserting the item. If you specify an ID that already exists in the collection, the insertion will fail.\n * * `_createdDate`: The date the item was added to the collection.\n * * `_updatedDate`: The date the item was last modified. When the item is first inserted, `_createdDate` and `_updatedDate` have the same value.\n *\n * The endpoint returns a list of the IDs of items successfully inserted in `insertedItemIds`.\n * When any items can't be inserted, error details are provided for each failed item in `errors`.\n * @deprecated Will be removed on 2025-06-01.\n */\nexport function bulkInsert(payload: object): RequestOptionsFactory<any> {\n function __bulkInsert({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.data.v1.data_service',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.cloud.data.api.dataservice.WixDataService.BulkInsert',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({\n protoPath: '/v1/bulk/items/insert',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkInsert;\n}\n\n/**\n * Inserts or updates multiple items in a collection.\n *\n * The Bulk Save Data Items endpoint inserts or updates each item, depending on whether it already exists in the collection. For each item:\n *\n * * If you don't provide an ID, a new item is created.\n *\n * * If you provide an ID that doesn't exist in the collection, a new item is created with that ID.\n *\n * * If an item with the ID you provide already exists in the collection, that item is updated. When an item is updated, its `_updatedDate` property is changed to the current date.\n *\n * The endpoint returns a list of the IDs of items successfully inserted in `insertedItemIds` and a list of the IDs of items successfully updated in `updatedItemIds`.\n * When any items can't be inserted or updated, error details are provided for each failed item in `errors`.\n *\n * ***Note:*** When you provide an item with an ID that already exists in the collection, the item you provide completely replaces the existing item with that ID.\n * This means that all of the item's previous properties and values are lost.\n * @deprecated Will be removed on 2025-06-01.\n */\nexport function bulkSave(payload: object): RequestOptionsFactory<any> {\n function __bulkSave({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.data.v1.data_service',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.cloud.data.api.dataservice.WixDataService.BulkSave',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({\n protoPath: '/v1/bulk/items/save',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkSave;\n}\n\n/**\n * Updates multiple items in a collection.\n *\n * Each item in the request must include an ID. If an item is found in the specified collection with\n * the same ID, that item is updated. If the collection doesn't contain an item with that ID, the update fails.\n *\n * When an item is updated, its `_updatedDate` property is changed to the current date.\n *\n * The endpoint returns a list of the IDs of items successfully updated in `updatedItemIds`.\n * When any items can't be inserted, error details are provided for each failed item in `errors`.\n *\n * **Note:**\n * After each item is updated, it only contains the properties included in the Update Data Item request. If the existing item has properties with values and those properties\n * aren't included in the updated item, their values are lost.\n * @deprecated Will be removed on 2025-06-01.\n */\nexport function bulkUpdate(payload: object): RequestOptionsFactory<any> {\n function __bulkUpdate({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.data.v1.data_service',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.cloud.data.api.dataservice.WixDataService.BulkUpdate',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({\n protoPath: '/v1/bulk/items/update',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkUpdate;\n}\n\n/**\n * Removes multiple items from a collection.\n *\n * If any items in other collections reference the removed items in reference or multi-reference fields, the fields are cleared.\n *\n * The endpoint returns a list of the IDs of items successfully removed in `removedItemIds`.\n * When any items can't be removed, error details are provided for each failed item in `errors`.\n *\n * **Note:** Once an item has been removed from a collection, it can't be restored.\n * @deprecated Will be removed on 2025-06-01.\n */\nexport function bulkRemove(payload: object): RequestOptionsFactory<any> {\n function __bulkRemove({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.data.v1.data_service',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.cloud.data.api.dataservice.WixDataService.BulkRemove',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({\n protoPath: '/v1/bulk/items/remove',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkRemove;\n}\n\n/**\n * Gets the full items referenced in the specified property of an item.\n *\n * For example, suppose you have a **Movies** collection with an **Actors** field that contains references to items in a **People** collection.\n * Querying the **Movies** collection using the Query Referenced Data Items endpoint returns the relevant **People** items referenced in the **Actors** field of the specified **Movie** item.\n * This gives you information from the **People** collection about each of the actors in the specified movie.\n * @deprecated Will be removed on 2025-06-01.\n */\nexport function queryReferenced(payload: object): RequestOptionsFactory<any> {\n function __queryReferenced({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.data.v1.data_service',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.cloud.data.api.dataservice.WixDataService.QueryReferenced',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({\n protoPath: '/v1/items/query-referenced',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __queryReferenced;\n}\n\n/**\n * Inserts one or more references in the specified properties of items in a collection.\n *\n * The Bulk Insert References endpoint adds one or more references to a collection.\n * Each new reference in the `references` field specifies a referring item's ID, the property in which to insert the reference, and the ID of the referenced item.\n * @deprecated Will be removed on 2025-06-01.\n */\nexport function bulkInsertReferences(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkInsertReferences({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.data.v1.data_service',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.cloud.data.api.dataservice.WixDataService.BulkInsertReferences',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({\n protoPath: '/v1/bulk/references/insert',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkInsertReferences;\n}\n\n/**\n * Replaces references in a specified property of a specified data item.\n *\n * The Bulk Replace References endpoint replaces the existing reference or references contained in the property specified in `propertyName` within the data item specified in `referringItemId`.\n * The endpoint removes existing references and in their place it adds references to the items specified in `newReferencedItemIds`.\n * @deprecated Will be removed on 2025-06-01.\n */\nexport function bulkReplaceReferences(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkReplaceReferences({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.data.v1.data_service',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.cloud.data.api.dataservice.WixDataService.BulkReplaceReferences',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({\n protoPath: '/v1/bulk/references/replace',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkReplaceReferences;\n}\n\n/**\n * Removes one or more references.\n * @deprecated Will be removed on 2025-06-01.\n */\nexport function bulkRemoveReferences(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkRemoveReferences({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.data.v1.data_service',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.cloud.data.api.dataservice.WixDataService.BulkRemoveReferences',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({\n protoPath: '/v1/bulk/references/remove',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkRemoveReferences;\n}\n\n/**\n * Checks if a specific property of a referring item contains a reference to another specific item.\n * @deprecated Will be removed on 2025-06-01.\n */\nexport function isReferenced(payload: object): RequestOptionsFactory<any> {\n function __isReferenced({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.data.v1.data_service',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.cloud.data.api.dataservice.WixDataService.IsReferenced',\n packageName: PACKAGE_NAME,\n url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({\n protoPath: '/v1/items/is-referenced',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __isReferenced;\n}\n","import * as ambassadorWixDataV1DataService from './data-v1-data-service-data.http.js';\nimport * as ambassadorWixDataV1DataServiceTypes from './data-v1-data-service-data.types.js';\nimport * as ambassadorWixDataV1DataServiceUniversalTypes from './data-v1-data-service-data.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 insert(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixDataV1DataServiceUniversalTypes.InsertRequest,\n ambassadorWixDataV1DataServiceTypes.InsertRequest,\n ambassadorWixDataV1DataServiceUniversalTypes.InsertResponse,\n ambassadorWixDataV1DataServiceTypes.InsertResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixDataV1DataService.insert(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/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 update(): __PublicMethodMetaInfo<\n 'PUT',\n { itemId: string },\n ambassadorWixDataV1DataServiceUniversalTypes.UpdateRequest,\n ambassadorWixDataV1DataServiceTypes.UpdateRequest,\n ambassadorWixDataV1DataServiceUniversalTypes.UpdateResponse,\n ambassadorWixDataV1DataServiceTypes.UpdateResponse\n> {\n const payload = { itemId: ':itemId' } as any;\n\n const getRequestOptions = ambassadorWixDataV1DataService.update(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PUT',\n path: '/v1/items/{itemId}',\n pathParams: { itemId: 'itemId' },\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 save(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixDataV1DataServiceUniversalTypes.SaveRequest,\n ambassadorWixDataV1DataServiceTypes.SaveRequest,\n ambassadorWixDataV1DataServiceUniversalTypes.SaveResponse,\n ambassadorWixDataV1DataServiceTypes.SaveResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixDataV1DataService.save(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/items/save',\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 get(): __PublicMethodMetaInfo<\n 'GET',\n { itemId: string },\n ambassadorWixDataV1DataServiceUniversalTypes.GetRequest,\n ambassadorWixDataV1DataServiceTypes.GetRequest,\n ambassadorWixDataV1DataServiceUniversalTypes.GetResponse,\n ambassadorWixDataV1DataServiceTypes.GetResponse\n> {\n const payload = { itemId: ':itemId' } as any;\n\n const getRequestOptions = ambassadorWixDataV1DataService.get(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/items/{itemId}',\n pathParams: { itemId: 'itemId' },\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 remove(): __PublicMethodMetaInfo<\n 'DELETE',\n { itemId: string },\n ambassadorWixDataV1DataServiceUniversalTypes.RemoveRequest,\n ambassadorWixDataV1DataServiceTypes.RemoveRequest,\n ambassadorWixDataV1DataServiceUniversalTypes.RemoveResponse,\n ambassadorWixDataV1DataServiceTypes.RemoveResponse\n> {\n const payload = { itemId: ':itemId' } as any;\n\n const getRequestOptions = ambassadorWixDataV1DataService.remove(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'DELETE',\n path: '/v1/items/{itemId}',\n pathParams: { itemId: 'itemId' },\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 truncate(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixDataV1DataServiceUniversalTypes.TruncateRequest,\n ambassadorWixDataV1DataServiceTypes.TruncateRequest,\n ambassadorWixDataV1DataServiceUniversalTypes.TruncateResponse,\n ambassadorWixDataV1DataServiceTypes.TruncateResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixDataV1DataService.truncate(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/items/truncate',\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 query(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixDataV1DataServiceUniversalTypes.QueryRequest,\n ambassadorWixDataV1DataServiceTypes.QueryRequest,\n ambassadorWixDataV1DataServiceUniversalTypes.QueryResponse,\n ambassadorWixDataV1DataServiceTypes.QueryResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixDataV1DataService.query(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/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 aggregate(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixDataV1DataServiceUniversalTypes.AggregationRequest,\n ambassadorWixDataV1DataServiceTypes.AggregationRequest,\n ambassadorWixDataV1DataServiceUniversalTypes.AggregationResponse,\n ambassadorWixDataV1DataServiceTypes.AggregationResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixDataV1DataService.aggregate(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/items/aggregate',\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 count(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixDataV1DataServiceUniversalTypes.CountRequest,\n ambassadorWixDataV1DataServiceTypes.CountRequest,\n ambassadorWixDataV1DataServiceUniversalTypes.CountResponse,\n ambassadorWixDataV1DataServiceTypes.CountResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixDataV1DataService.count(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/items/count',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function distinct(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixDataV1DataServiceUniversalTypes.DistinctRequest,\n ambassadorWixDataV1DataServiceTypes.DistinctRequest,\n ambassadorWixDataV1DataServiceUniversalTypes.DistinctResponse,\n ambassadorWixDataV1DataServiceTypes.DistinctResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixDataV1DataService.distinct(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/items/distinct',\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 bulkInsert(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixDataV1DataServiceUniversalTypes.BulkInsertRequest,\n ambassadorWixDataV1DataServiceTypes.BulkInsertRequest,\n ambassadorWixDataV1DataServiceUniversalTypes.BulkInsertResponse,\n ambassadorWixDataV1DataServiceTypes.BulkInsertResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixDataV1DataService.bulkInsert(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/items/insert',\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 bulkSave(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixDataV1DataServiceUniversalTypes.BulkSaveRequest,\n ambassadorWixDataV1DataServiceTypes.BulkSaveRequest,\n ambassadorWixDataV1DataServiceUniversalTypes.BulkSaveResponse,\n ambassadorWixDataV1DataServiceTypes.BulkSaveResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixDataV1DataService.bulkSave(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/items/save',\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 bulkUpdate(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixDataV1DataServiceUniversalTypes.BulkUpdateRequest,\n ambassadorWixDataV1DataServiceTypes.BulkUpdateRequest,\n ambassadorWixDataV1DataServiceUniversalTypes.BulkUpdateResponse,\n ambassadorWixDataV1DataServiceTypes.BulkUpdateResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixDataV1DataService.bulkUpdate(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/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 bulkRemove(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixDataV1DataServiceUniversalTypes.BulkRemoveRequest,\n ambassadorWixDataV1DataServiceTypes.BulkRemoveRequest,\n ambassadorWixDataV1DataServiceUniversalTypes.BulkRemoveResponse,\n ambassadorWixDataV1DataServiceTypes.BulkRemoveResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixDataV1DataService.bulkRemove(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/items/remove',\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 queryReferenced(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixDataV1DataServiceUniversalTypes.QueryReferencedRequest,\n ambassadorWixDataV1DataServiceTypes.QueryReferencedRequest,\n ambassadorWixDataV1DataServiceUniversalTypes.QueryReferencedResponse,\n ambassadorWixDataV1DataServiceTypes.QueryReferencedResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixDataV1DataService.queryReferenced(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/items/query-referenced',\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 bulkInsertReferences(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixDataV1DataServiceUniversalTypes.BulkInsertReferencesRequest,\n ambassadorWixDataV1DataServiceTypes.BulkInsertReferencesRequest,\n ambassadorWixDataV1DataServiceUniversalTypes.BulkInsertReferencesResponse,\n ambassadorWixDataV1DataServiceTypes.BulkInsertReferencesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixDataV1DataService.bulkInsertReferences(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/references/insert',\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 bulkReplaceReferences(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixDataV1DataServiceUniversalTypes.BulkReplaceReferencesRequest,\n ambassadorWixDataV1DataServiceTypes.BulkReplaceReferencesRequest,\n ambassadorWixDataV1DataServiceUniversalTypes.BulkReplaceReferencesResponse,\n ambassadorWixDataV1DataServiceTypes.BulkReplaceReferencesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixDataV1DataService.bulkReplaceReferences(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/references/replace',\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 bulkRemoveReferences(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixDataV1DataServiceUniversalTypes.BulkRemoveReferencesRequest,\n ambassadorWixDataV1DataServiceTypes.BulkRemoveReferencesRequest,\n ambassadorWixDataV1DataServiceUniversalTypes.BulkRemoveReferencesResponse,\n ambassadorWixDataV1DataServiceTypes.BulkRemoveReferencesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixDataV1DataService.bulkRemoveReferences(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/references/remove',\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 isReferenced(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixDataV1DataServiceUniversalTypes.IsReferencedRequest,\n ambassadorWixDataV1DataServiceTypes.IsReferencedRequest,\n ambassadorWixDataV1DataServiceUniversalTypes.IsReferencedResponse,\n ambassadorWixDataV1DataServiceTypes.IsReferencedResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixDataV1DataService.isReferenced(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/items/is-referenced',\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"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,kBAAkB;AAI3B,SAAS,2DACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,yBAAyB;AAAA,MACvB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,sBAAsB;AAAA,MACpB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,2BAA2B;AAAA,MACzB;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,qBAAqB;AAAA,MACnB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,qBAAqB;AAAA,MACn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ACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,wBAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBAC2B,qBAAqB,OAAO;AAE7D,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,gBAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBAC2B,aAAa,OAAO;AAErD,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["insert","update","save","get","remove","truncate","query","aggregate","count","distinct","bulkInsert","bulkSave","bulkUpdate","bulkRemove","queryReferenced","bulkInsertReferences","bulkReplaceReferences","bulkRemoveReferences","isReferenced"]}
1
+ {"version":3,"sources":["../../src/data-v1-data-service-data.http.ts","../../src/data-v1-data-service-data.types.ts","../../src/data-v1-data-service-data.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'api._api_base_domain_': [\n {\n srcPath: '/cloud-data',\n destPath: '',\n },\n ],\n 'code._base_domain_': [\n {\n srcPath: '/_api/cloud-data/v1/data-settings',\n destPath: '/v1/data-settings',\n },\n {\n srcPath: '/_api/cloud-data/v1/schemas',\n destPath: '/v1/schemas',\n },\n {\n srcPath: '/_api/cloud-data/v1/connector',\n destPath: '/v1/connector',\n },\n {\n srcPath: '/_api/data/v1/data-settings',\n destPath: '/v1/data-settings',\n },\n {\n srcPath: '/_api/data/v1/schemas',\n destPath: '/v1/schemas',\n },\n {\n srcPath: '/_api/data/v1/connector',\n destPath: '/v1/connector',\n },\n {\n srcPath: '/_api/cloud-data/v1/wix-data',\n destPath: '/v1/wix-data',\n },\n ],\n 'cloud-data.wix-code.com': [\n {\n srcPath: '',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/_api/cloud-data',\n destPath: '',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/cloud-data',\n destPath: '',\n },\n {\n srcPath: '/_api/data',\n destPath: '',\n },\n {\n srcPath: '/_api/cloud-data',\n destPath: '',\n },\n ],\n 'dev._base_domain_': [\n {\n srcPath: '/_api/cloud-data',\n destPath: '',\n },\n ],\n 'bo._base_domain_': [\n {\n srcPath: '/_api/cloud-data/v1',\n destPath: '/v1',\n },\n {\n srcPath: '/_api/cloud-data/v2',\n destPath: '/v2',\n },\n ],\n 'wixbo.ai': [\n {\n srcPath: '/_api/cloud-data/v1',\n destPath: '/v1',\n },\n {\n srcPath: '/_api/cloud-data/v2',\n destPath: '/v2',\n },\n ],\n 'wix-bo.com': [\n {\n srcPath: '/_api/cloud-data/v1',\n destPath: '/v1',\n },\n {\n srcPath: '/_api/cloud-data/v2',\n destPath: '/v2',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/cloud-data',\n destPath: '',\n },\n {\n srcPath: '/_api/data',\n destPath: '',\n },\n {\n srcPath: '/_api/cloud-data',\n destPath: '',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/cloud-data/v1/schemas',\n destPath: '/v1/schemas',\n },\n {\n srcPath: '/_api/cloud-data/dbs/tasks',\n destPath: '/dbs/tasks',\n },\n {\n srcPath: '/_api/data/v1/schemas',\n destPath: '/v1/schemas',\n },\n {\n srcPath: '/_api/data/dbs/tasks',\n destPath: '/dbs/tasks',\n },\n {\n srcPath: '/_api/cloud-data/v1/wix-data',\n destPath: '/v1/wix-data',\n },\n {\n srcPath: '/_api/cloud-data/v1/data-settings',\n destPath: '/v1/data-settings',\n },\n {\n srcPath: '/_api/data/v2/indexes',\n destPath: '/v2/indexes',\n },\n {\n srcPath: '/_api/cloud-data/v1/external-database-connections',\n destPath: '/v1/external-database-connections',\n },\n {\n srcPath: '/_api/data/v1/data-collection-sharing',\n destPath: '/v1/data-collection-sharing',\n },\n {\n srcPath: '/_api/cloud-data/v2/collections',\n destPath: '/v2/collections',\n },\n {\n srcPath: '/_api/cloud-data/v2/bulk',\n destPath: '/v2/bulk',\n },\n {\n srcPath: '/_api/cloud-data/v2/items',\n destPath: '/v2/items',\n },\n {\n srcPath: '/_api/cloud-data/v2/dbs/tasks',\n destPath: '/v2/dbs/tasks',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/cloud-data/v1/schemas',\n destPath: '/v1/schemas',\n },\n {\n srcPath: '/_api/cloud-data/dbs/tasks',\n destPath: '/dbs/tasks',\n },\n {\n srcPath: '/_api/data/v1/schemas',\n destPath: '/v1/schemas',\n },\n {\n srcPath: '/_api/data/dbs/tasks',\n destPath: '/dbs/tasks',\n },\n {\n srcPath: '/_api/cloud-data/v1/wix-data',\n destPath: '/v1/wix-data',\n },\n {\n srcPath: '/_api/cloud-data/v1/data-settings',\n destPath: '/v1/data-settings',\n },\n {\n srcPath: '/_api/data/v2/indexes',\n destPath: '/v2/indexes',\n },\n {\n srcPath: '/_api/cloud-data/v1/external-database-connections',\n destPath: '/v1/external-database-connections',\n },\n {\n srcPath: '/_api/data/v1/data-collection-sharing',\n destPath: '/v1/data-collection-sharing',\n },\n {\n srcPath: '/_api/cloud-data/v2/collections',\n destPath: '/v2/collections',\n },\n {\n srcPath: '/_api/cloud-data/v2/bulk',\n destPath: '/v2/bulk',\n },\n {\n srcPath: '/_api/cloud-data/v2/items',\n destPath: '/v2/items',\n },\n {\n srcPath: '/_api/cloud-data/v2/dbs/tasks',\n destPath: '/v2/dbs/tasks',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/cloud-data/v1/schemas',\n destPath: '/v1/schemas',\n },\n {\n srcPath: '/_api/cloud-data/dbs/tasks',\n destPath: '/dbs/tasks',\n },\n {\n srcPath: '/_api/data/v1/schemas',\n destPath: '/v1/schemas',\n },\n {\n srcPath: '/_api/data/dbs/tasks',\n destPath: '/dbs/tasks',\n },\n {\n srcPath: '/_api/cloud-data/v1/wix-data',\n destPath: '/v1/wix-data',\n },\n {\n srcPath: '/_api/cloud-data/v1/data-settings',\n destPath: '/v1/data-settings',\n },\n {\n srcPath: '/_api/data/v2/indexes',\n destPath: '/v2/indexes',\n },\n {\n srcPath: '/_api/cloud-data/v1/external-database-connections',\n destPath: '/v1/external-database-connections',\n },\n {\n srcPath: '/_api/data/v1/data-collection-sharing',\n destPath: '/v1/data-collection-sharing',\n },\n {\n srcPath: '/_api/cloud-data/v2/collections',\n destPath: '/v2/collections',\n },\n {\n srcPath: '/_api/cloud-data/v2/bulk',\n destPath: '/v2/bulk',\n },\n {\n srcPath: '/_api/cloud-data/v2/items',\n destPath: '/v2/items',\n },\n {\n srcPath: '/_api/cloud-data/v2/dbs/tasks',\n destPath: '/v2/dbs/tasks',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/wix-data/v1/collections',\n destPath: '/v1/wix-data/collections',\n },\n {\n srcPath: '/wix-data/v1/external-database-connections',\n destPath: '/v1/external-database-connections',\n },\n {\n srcPath: '/wix-data/v2/indexes',\n destPath: '/v2/indexes',\n },\n {\n srcPath: '/wix-data/v1/items',\n destPath: '/v1/items',\n },\n {\n srcPath: '/wix-data/v1/bulk',\n destPath: '/v1/bulk',\n },\n {\n srcPath: '/wix-data/v1/external-databases',\n destPath: '/v1/external-databases',\n },\n {\n srcPath: '/wix-data/v2',\n destPath: '/v2',\n },\n {\n srcPath: '/data/v2/collections',\n destPath: '/v2/collections',\n },\n {\n srcPath: '/data/v2/items',\n destPath: '/v2/items',\n },\n {\n srcPath: '/data/v2/bulk/items',\n destPath: '/v2/bulk/items',\n },\n {\n srcPath: '/data/v2/indexes',\n destPath: '/v2/indexes',\n },\n ],\n 'www.wixgateway.com': [\n {\n srcPath: '/wix-data/v1/items',\n destPath: '/v1/items',\n },\n {\n srcPath: '/wix-data/v1/bulk',\n destPath: '/v1/bulk',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/cloud-data/v2',\n destPath: '/v2',\n },\n {\n srcPath: '/_api/cloud-data/v1/external-database-connections',\n destPath: '/v1/external-database-connections',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_data-backend-public-sdk-poc_data';\n\n/**\n * Adds an item to a collection.\n *\n * When an item is inserted into a collection, the following properties and values are added to it:\n * * `_id`: A unique identifier for an item in a collection. You can optionally provide your own ID when inserting the item. If you specify an ID that already exists in the collection, the insertion will fail.\n * * `_createdDate`: The date the item was added to the collection.\n * * `_updatedDate`: The date the item was last modified. When the item is first inserted, `_createdDate` and `_updatedDate` have the same value.\n * @deprecated Will be removed on 2025-06-01.\n */\nexport function insert(payload: object): RequestOptionsFactory<any> {\n function __insert({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.data.v1.data_service',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.cloud.data.api.dataservice.WixDataService.Insert',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({\n protoPath: '/v1/items',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __insert;\n}\n\n/**\n * Updates an item in a collection.\n *\n * An item ID must be submitted as part of the request, either as a path parameter or within the `item` body parameter. If an item is found in the specified collection with\n * the same ID, that item is updated. If the collection doesn't contain an item with that ID, the request fails.\n *\n * When an item is updated, its `_updatedDate` property is changed to the current date.\n *\n * **Note:**\n * After an item is updated, it only contains the properties included in the Update Data Item request. If the existing item has properties with values and those properties\n * aren't included in the updated item, their values are lost.\n * @deprecated Will be removed on 2025-06-01.\n */\nexport function update(payload: object): RequestOptionsFactory<any> {\n function __update({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.data.v1.data_service',\n method: 'PUT' as any,\n methodFqn:\n 'com.wixpress.cloud.data.api.dataservice.WixDataService.Update',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({\n protoPath: '/v1/items/{itemId}',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __update;\n}\n\n/**\n * Inserts or updates an item in a collection.\n *\n * The Save Data Item endpoint inserts or updates the specified item, depending on whether it already exists in the collection.\n *\n * * If you don't provide an ID, a new item is created.\n *\n * * If you provide an ID that doesn't exist in the collection, a new item is created with that ID.\n *\n * * If an item with the ID you provide already exists in the collection, that item is updated. When an item is updated, its `_updatedDate` property is changed to the current date.\n *\n * ***Note:*** When you provide an item with an ID that already exists in the collection, the item you provide completely replaces the existing item with that ID.\n * This means that all of the item's previous properties and values are lost.\n * @deprecated Will be removed on 2025-06-01.\n */\nexport function save(payload: object): RequestOptionsFactory<any> {\n function __save({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.data.v1.data_service',\n method: 'POST' as any,\n methodFqn: 'com.wixpress.cloud.data.api.dataservice.WixDataService.Save',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({\n protoPath: '/v1/items/save',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __save;\n}\n\n/**\n * Retrieves an item from a collection.\n * @deprecated Will be removed on 2025-06-01.\n */\nexport function get(payload: object): RequestOptionsFactory<any> {\n function __get({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.data.v1.data_service',\n method: 'GET' as any,\n methodFqn: 'com.wixpress.cloud.data.api.dataservice.WixDataService.Get',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({\n protoPath: '/v1/items/{itemId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload, true),\n };\n\n return metadata;\n }\n\n return __get;\n}\n\n/**\n * Removes an item from a collection.\n *\n * If any items in other collections reference the removed item in a reference or multi-reference field, the field is cleared.\n *\n * **Note:**\n * Once an item has been removed from a collection, it can't be restored.\n * @deprecated Will be removed on 2025-06-01.\n */\nexport function remove(payload: object): RequestOptionsFactory<any> {\n function __remove({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.data.v1.data_service',\n method: 'DELETE' as any,\n methodFqn:\n 'com.wixpress.cloud.data.api.dataservice.WixDataService.Remove',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({\n protoPath: '/v1/items/{itemId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __remove;\n}\n\n/**\n * Removes all items from a collection. Site owner (`ADMIN`) permissions are required in order to invoke this operation.\n *\n * If any items in other collections reference the removed items in reference or multi-reference fields, those fields are cleared.\n *\n * **Note:**\n * Once items have been removed from a collection, they can't be restored.\n * @deprecated Will be removed on 2025-06-01.\n */\nexport function truncate(payload: object): RequestOptionsFactory<any> {\n function __truncate({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.data.v1.data_service',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.cloud.data.api.dataservice.WixDataService.Truncate',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({\n protoPath: '/v1/items/truncate',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __truncate;\n}\n\n/**\n * Retrieves a list of items, on the basis of the filtering, sorting, and paging preferences you provide.\n *\n * For more details on using queries, see [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language).\n * @deprecated Will be removed on 2025-06-01.\n */\nexport function query(payload: object): RequestOptionsFactory<any> {\n function __query({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.data.v1.data_service',\n method: 'GET' as any,\n methodFqn: 'com.wixpress.cloud.data.api.dataservice.WixDataService.Query',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({\n protoPath: '/v1/items/query',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload, true),\n\n fallback: [\n {\n method: 'POST' as any,\n url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({\n protoPath: '/v1/items/query',\n data: payload,\n host,\n }),\n data: payload,\n },\n ],\n };\n\n return metadata;\n }\n\n return __query;\n}\n\n/** @deprecated Will be removed on 2025-06-01. */\nexport function aggregate(payload: object): RequestOptionsFactory<any> {\n function __aggregate({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.data.v1.data_service',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.cloud.data.api.dataservice.WixDataService.Aggregate',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({\n protoPath: '/v1/items/aggregate',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __aggregate;\n}\n\n/**\n * Returns the number of items in a collection that match a query.\n * @deprecated Will be removed on 2025-06-01.\n */\nexport function count(payload: object): RequestOptionsFactory<any> {\n function __count({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.data.v1.data_service',\n method: 'POST' as any,\n methodFqn: 'com.wixpress.cloud.data.api.dataservice.WixDataService.Count',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({\n protoPath: '/v1/items/count',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __count;\n}\n\n/**\n * Retrieves a list of distinct values for a given property in all items that match a query, without duplicates.\n *\n * As with the [Query Data Items]() endpoint, this endpoint retrieves items based on the filtering, sorting, and paging preferences you provide.\n * However, the Query Distinct Values endpoint doesn't return all of the full items that match the query.\n * Rather, it returns all unique values of the property you specify in `propertyName` for items that match the query.\n * If more than one item has the same value for that property, that value appears only once.\n *\n * For more details on using queries, see [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language).\n * @deprecated Will be removed on 2025-06-01.\n */\nexport function distinct(payload: object): RequestOptionsFactory<any> {\n function __distinct({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.data.v1.data_service',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.cloud.data.api.dataservice.WixDataService.Distinct',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({\n protoPath: '/v1/items/distinct',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __distinct;\n}\n\n/**\n * Adds multiple items to a collection.\n *\n * When each item is inserted into a collection, the following properties and values are added to it:\n * * `_id`: A unique identifier for an item in a collection. You can optionally provide your own ID when inserting the item. If you specify an ID that already exists in the collection, the insertion will fail.\n * * `_createdDate`: The date the item was added to the collection.\n * * `_updatedDate`: The date the item was last modified. When the item is first inserted, `_createdDate` and `_updatedDate` have the same value.\n *\n * The endpoint returns a list of the IDs of items successfully inserted in `insertedItemIds`.\n * When any items can't be inserted, error details are provided for each failed item in `errors`.\n * @deprecated Will be removed on 2025-06-01.\n */\nexport function bulkInsert(payload: object): RequestOptionsFactory<any> {\n function __bulkInsert({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.data.v1.data_service',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.cloud.data.api.dataservice.WixDataService.BulkInsert',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({\n protoPath: '/v1/bulk/items/insert',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkInsert;\n}\n\n/**\n * Inserts or updates multiple items in a collection.\n *\n * The Bulk Save Data Items endpoint inserts or updates each item, depending on whether it already exists in the collection. For each item:\n *\n * * If you don't provide an ID, a new item is created.\n *\n * * If you provide an ID that doesn't exist in the collection, a new item is created with that ID.\n *\n * * If an item with the ID you provide already exists in the collection, that item is updated. When an item is updated, its `_updatedDate` property is changed to the current date.\n *\n * The endpoint returns a list of the IDs of items successfully inserted in `insertedItemIds` and a list of the IDs of items successfully updated in `updatedItemIds`.\n * When any items can't be inserted or updated, error details are provided for each failed item in `errors`.\n *\n * ***Note:*** When you provide an item with an ID that already exists in the collection, the item you provide completely replaces the existing item with that ID.\n * This means that all of the item's previous properties and values are lost.\n * @deprecated Will be removed on 2025-06-01.\n */\nexport function bulkSave(payload: object): RequestOptionsFactory<any> {\n function __bulkSave({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.data.v1.data_service',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.cloud.data.api.dataservice.WixDataService.BulkSave',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({\n protoPath: '/v1/bulk/items/save',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkSave;\n}\n\n/**\n * Updates multiple items in a collection.\n *\n * Each item in the request must include an ID. If an item is found in the specified collection with\n * the same ID, that item is updated. If the collection doesn't contain an item with that ID, the update fails.\n *\n * When an item is updated, its `_updatedDate` property is changed to the current date.\n *\n * The endpoint returns a list of the IDs of items successfully updated in `updatedItemIds`.\n * When any items can't be inserted, error details are provided for each failed item in `errors`.\n *\n * **Note:**\n * After each item is updated, it only contains the properties included in the Update Data Item request. If the existing item has properties with values and those properties\n * aren't included in the updated item, their values are lost.\n * @deprecated Will be removed on 2025-06-01.\n */\nexport function bulkUpdate(payload: object): RequestOptionsFactory<any> {\n function __bulkUpdate({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.data.v1.data_service',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.cloud.data.api.dataservice.WixDataService.BulkUpdate',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({\n protoPath: '/v1/bulk/items/update',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkUpdate;\n}\n\n/**\n * Removes multiple items from a collection.\n *\n * If any items in other collections reference the removed items in reference or multi-reference fields, the fields are cleared.\n *\n * The endpoint returns a list of the IDs of items successfully removed in `removedItemIds`.\n * When any items can't be removed, error details are provided for each failed item in `errors`.\n *\n * **Note:** Once an item has been removed from a collection, it can't be restored.\n * @deprecated Will be removed on 2025-06-01.\n */\nexport function bulkRemove(payload: object): RequestOptionsFactory<any> {\n function __bulkRemove({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.data.v1.data_service',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.cloud.data.api.dataservice.WixDataService.BulkRemove',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({\n protoPath: '/v1/bulk/items/remove',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkRemove;\n}\n\n/**\n * Gets the full items referenced in the specified property of an item.\n *\n * For example, suppose you have a **Movies** collection with an **Actors** field that contains references to items in a **People** collection.\n * Querying the **Movies** collection using the Query Referenced Data Items endpoint returns the relevant **People** items referenced in the **Actors** field of the specified **Movie** item.\n * This gives you information from the **People** collection about each of the actors in the specified movie.\n * @deprecated Will be removed on 2025-06-01.\n */\nexport function queryReferenced(payload: object): RequestOptionsFactory<any> {\n function __queryReferenced({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.data.v1.data_service',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.cloud.data.api.dataservice.WixDataService.QueryReferenced',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({\n protoPath: '/v1/items/query-referenced',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __queryReferenced;\n}\n\n/**\n * Inserts one or more references in the specified properties of items in a collection.\n *\n * The Bulk Insert References endpoint adds one or more references to a collection.\n * Each new reference in the `references` field specifies a referring item's ID, the property in which to insert the reference, and the ID of the referenced item.\n * @deprecated Will be removed on 2025-06-01.\n */\nexport function bulkInsertReferences(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkInsertReferences({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.data.v1.data_service',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.cloud.data.api.dataservice.WixDataService.BulkInsertReferences',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({\n protoPath: '/v1/bulk/references/insert',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkInsertReferences;\n}\n\n/**\n * Replaces references in a specified property of a specified data item.\n *\n * The Bulk Replace References endpoint replaces the existing reference or references contained in the property specified in `propertyName` within the data item specified in `referringItemId`.\n * The endpoint removes existing references and in their place it adds references to the items specified in `newReferencedItemIds`.\n * @deprecated Will be removed on 2025-06-01.\n */\nexport function bulkReplaceReferences(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkReplaceReferences({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.data.v1.data_service',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.cloud.data.api.dataservice.WixDataService.BulkReplaceReferences',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({\n protoPath: '/v1/bulk/references/replace',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkReplaceReferences;\n}\n\n/**\n * Removes one or more references.\n * @deprecated Will be removed on 2025-06-01.\n */\nexport function bulkRemoveReferences(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkRemoveReferences({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.data.v1.data_service',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.cloud.data.api.dataservice.WixDataService.BulkRemoveReferences',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({\n protoPath: '/v1/bulk/references/remove',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkRemoveReferences;\n}\n\n/**\n * Checks if a specific property of a referring item contains a reference to another specific item.\n * @deprecated Will be removed on 2025-06-01.\n */\nexport function isReferenced(payload: object): RequestOptionsFactory<any> {\n function __isReferenced({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.data.v1.data_service',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.cloud.data.api.dataservice.WixDataService.IsReferenced',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({\n protoPath: '/v1/items/is-referenced',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __isReferenced;\n}\n","export interface Item {\n item?: Record<string, any> | null;\n}\n\nexport interface InsertRequest {\n /** Item to insert. */\n item?: Record<string, any> | null;\n /** ID of the collection in which to insert the item. */\n dataCollectionId?: string;\n}\n\nexport enum Segment {\n /** Access database used in the Live site. */\n LIVE = 'LIVE',\n /** Access staging (sandbox) database used in the editor. */\n SANDBOX = 'SANDBOX',\n /** Access deleted database used in the Live site. */\n TRASH_LIVE = 'TRASH_LIVE',\n}\n\n/** @enumType */\nexport type SegmentWithLiterals = Segment | 'LIVE' | 'SANDBOX' | 'TRASH_LIVE';\n\nexport interface Options {}\n\nexport interface InsertResponse {\n /** Inserted item. */\n item?: Record<string, any> | null;\n}\n\nexport interface UpdateRequest {\n /** Item to update. The existing item is replaced with this version. */\n item: Record<string, any> | null;\n /** ID of the collection containing the existing item. */\n dataCollectionId?: string;\n}\n\nexport interface UpdateResponse {\n /** Updated item */\n item?: Record<string, any> | null;\n}\n\nexport interface SaveRequest {\n /** Item to insert or update. */\n item?: Record<string, any> | null;\n /** ID of the collection in which to insert or update the item. */\n dataCollectionId?: string;\n}\n\nexport interface SaveResponse {\n /** Inserted or updated item. */\n item?: Record<string, any> | null;\n}\n\nexport interface PatchRequest {\n /** item id to patch */\n itemId?: string;\n /** Patch data */\n patch?: Record<string, any> | null;\n /** Data access options */\n options?: Options;\n /** ID of the collection */\n dataCollectionId?: string;\n}\n\nexport interface PatchResponse {\n /** Patched item */\n item?: Record<string, any> | null;\n}\n\nexport interface PatchWhereRequest {\n /** Data segment */\n segment?: SegmentWithLiterals;\n /** filter items to patch */\n filter?: any;\n /** Patch data */\n patch?: Record<string, any> | null;\n /** Data access options */\n options?: Options;\n /** ID of the collection */\n dataCollectionId?: string;\n}\n\nexport interface PatchWhereResponse {\n /** Number of patched items */\n totalCount?: number;\n totalAffectedValues?: number;\n}\n\nexport interface GetRequest {\n /** ID of the item to retrieve. */\n itemId: string;\n /** ID of the collection from which to retrieve the item. */\n dataCollectionId?: string;\n}\n\nexport interface ReadOptions {}\n\nexport interface GetResponse {\n /** Retrieved item. */\n item?: Record<string, any> | null;\n}\n\nexport interface RemoveRequest {\n /** ID of the item to remove. */\n itemId: string;\n /** ID of the collection from which to remove the item. */\n dataCollectionId?: string;\n}\n\nexport interface RemoveResponse {\n /** Removed item. */\n item?: Record<string, any> | null;\n}\n\nexport interface TruncateRequest {\n /** ID of the collection to truncate. */\n dataCollectionId?: string;\n}\n\nexport interface TruncateResponse {}\n\nexport interface QueryRequest {\n /** Query preferences. For more details on using queries, see [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language). */\n dataQuery?: QueryV2;\n /**\n * Whether to omit the total count in the response.\n * When `true`, the `pagingMetadata` object in the response doesn't contain a `total` field.\n *\n * Default: `false`\n */\n omitTotalCount?: boolean;\n /**\n * Properties for which to include referenced items in the query's results.\n * Up to 50 referenced items can be included for each item that matches the query.\n * If more than 50 items are referenced, `partialIncludes` in the response is `true`.\n */\n includeReferencedItems?: string[];\n /** ID of the collection to query. */\n dataCollectionId?: string;\n}\n\nexport interface Query {\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?: any;\n /**\n * Sort object in the following format:\n * `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]`\n */\n sort?: Sorting[];\n /** Paging options to limit and skip the number of items. */\n paging?: Paging;\n /** Array of projected fields. A list of specific field names to return. */\n fields?: string[];\n}\n\nexport interface Sorting {\n /** Name of the field to sort by. */\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 QueryV2 extends QueryV2PagingMethodOneOf {\n /** Paging options to limit and skip 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 in the following format:\n * `\"filter\" : {\n * \"fieldName1\": \"value1\",\n * \"fieldName2\":{\"$operator\":\"value2\"}\n * }`\n * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object in the following format:\n * `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]`\n */\n sort?: Sorting[];\n /** Array of projected fields. A list of specific field names to return. */\n fields?: string[];\n}\n\n/** @oneof */\nexport interface QueryV2PagingMethodOneOf {\n /** Paging options to limit and skip 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 CursorPaging {\n /**\n * Number of items to load.\n * @max 1000\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n *\n * You can get the relevant cursor token\n * from the `pagingMetadata` object in the previous call's response.\n * Not relevant for the first request.\n */\n cursor?: string | null;\n}\n\nexport interface QueryResponse {\n /** Retrieved items. */\n items?: Record<string, any>[] | null;\n /**\n * *Deprecated.** Refer to 'pagingMetadata' instead. Total number of items satisfying the query.\n * @deprecated\n */\n totalCount?: number;\n /**\n * *Deprecated.** Refer to 'pagingMetadata' instead. Total number of items satisfying the query.\n * @deprecated\n */\n totalResults?: number;\n /** Whether referenced items are trimmed from the results. This occurs when there are more than 50 referenced items. */\n partialIncludes?: boolean;\n /** Paging information. */\n pagingMetadata?: PagingMetadataV2;\n}\n\nexport interface PagingMetadataV2 {\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. Returned if offset paging is used and the `tooManyToCount` flag is not set. */\n total?: number | null;\n /** Flag that indicates the server failed to calculate the `total` field. */\n tooManyToCount?: boolean | null;\n /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */\n cursors?: Cursors;\n}\n\nexport interface Cursors {\n /** Cursor pointing to next page in the list of results. */\n next?: string | null;\n /** Cursor pointing to previous page in the list of results. */\n prev?: string | null;\n}\n\nexport interface AggregationRequest {\n /** Paging preferences. */\n paging?: Paging;\n /** Filter applied to the collection's data prior to running the aggregation. See [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language#getting-started_api-query-language_the-filter-section) for information on how to structure a filter object. */\n initialFilter?: Record<string, any> | null;\n /**\n * Object defining the steps of the aggregation to be This is an object defining aggregation itself.\n *\n * * Grouping rule is defined as _id field. It takes a form of:\n * {\n * \"_id\": \"$field\"\n * }\n *\n * If multiple fields are used for grouping, Group takes a form of:\n * {\n * \"_id\": {\n * \"field1\": \"$field1\"\n * \"field2\": \"$field2\"\n * }\n * }\n *\n * * Aggregation functions are defined as special field definitions.\n *\n * Average:\n * {\n * \"_id\": \"$field\"\n * \"my_avg\": {\n * \"$avg\": \"$other_field\"\n * }\n * }\n *\n * Max:\n * {\n * \"_id\": \"$field\"\n * \"my_max\": {\n * \"$max\": \"$other_field\"\n * }\n * }\n *\n * Min:\n * {\n * \"_id\": \"$field\"\n * \"my_min\": {\n * \"$min\": \"$other_field\"\n * }\n * }\n *\n * Sum:\n * {\n * \"_id\": \"$field\"\n * \"my_sum\": {\n * \"$sum\": \"$other_field\"\n * }\n * }\n */\n aggregation?: Record<string, any> | null;\n /** Filter applied to the processed data following the aggregation. See [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language#getting-started_api-query-language_the-filter-section) for information on how to structure a filter object. */\n finalFilter?: Record<string, any> | null;\n /** Sorting preferences. */\n sort?: Sorting[];\n /** ID of the collection on which to run the aggregation. */\n dataCollectionId?: string;\n}\n\nexport interface AggregationResponse {\n /** Aggregation results. */\n items?: Record<string, any>[] | null;\n /** Paging information. */\n pagingMetadata?: PagingMetadataV2;\n}\n\nexport interface CountRequest {\n /** Filter preferences defining the query. For more information on how to structure a filter object, see [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language#getting-started_api-query-language_the-filter-section). */\n filter?: Record<string, any> | null;\n /** ID of the collection for which to count query results. */\n dataCollectionId?: string;\n}\n\nexport interface CountResponse {\n /** Count of items matching the query. */\n totalCount?: number;\n /**\n * *Deprecated.** Refer to `totalCount` instead.\n * @deprecated\n */\n totalResults?: number;\n}\n\nexport interface DistinctRequest {\n /** Query preferences. For more details on using queries, see [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language). */\n dataQuery?: QueryV2;\n /** Property name for which to return all distinct values. */\n propertyName: string;\n /** ID of the collection to query. */\n dataCollectionId?: string;\n /**\n * Whether to omit the total count in the response.\n * When `true`, the `pagingMetadata` object in the response doesn't contain a `total` field.\n *\n * Default: `false`\n */\n omitTotalCount?: boolean;\n}\n\nexport interface DistinctResponse {\n /** List of distinct values contained in the property specified in `propertyName`. */\n items?: any[];\n /** Paging information. */\n pagingMetadata?: PagingMetadataV2;\n}\n\nexport interface BulkInsertRequest {\n /** Items to insert. */\n items: Record<string, any>[] | null;\n /** ID of the collection in which to insert the items. */\n dataCollectionId?: string;\n}\n\nexport interface BulkInsertResponse {\n /** IDs of items inserted. */\n insertedItemIds?: string[];\n /** Error details for items that couldn't be inserted. */\n errors?: BulkError[];\n}\n\nexport interface BulkError {\n /** ID of the item that couldn't be inserted. */\n itemId?: string | null;\n /** Error message. */\n message?: string;\n /** Error details. */\n details?: Details;\n /** Index of the failed item in the `items` paramater of the request. */\n originalIndex?: number;\n}\n\nexport interface ApplicationError {\n /** Error code. */\n code?: string;\n /** Error description. */\n description?: string;\n /** Error data. */\n data?: Record<string, any> | null;\n}\n\nexport interface Details {\n /** Application error. */\n applicationError?: ApplicationError;\n}\n\nexport interface BulkSaveRequest {\n /** Items to insert or update. */\n items: Record<string, any>[] | null;\n /** ID of the collection in which to insert or update the items. */\n dataCollectionId?: string;\n}\n\nexport interface BulkSaveResponse {\n /** IDs of items inserted. */\n insertedItemIds?: string[];\n /** IDs of items updated. */\n updatedItemIds?: string[];\n /** Errors for items that couldn't be inserted or updated. */\n errors?: BulkError[];\n}\n\nexport interface BulkUpdateRequest {\n /** Items to update. */\n items: Record<string, any>[] | null;\n /** ID of the collection in which to update items. */\n dataCollectionId?: string;\n}\n\nexport interface BulkUpdateResponse {\n /** IDs of items updated. */\n updatedItemIds?: string[];\n /** Errors for items that couldn't be updated. */\n errors?: BulkError[];\n}\n\nexport interface BulkPatchRequest {\n /** List of items and their patches */\n entries?: Entry[];\n /** Data access options */\n options?: Options;\n /** ID of the collection */\n dataCollectionId?: string;\n}\n\nexport interface Entry {\n /** item id to patch */\n itemId?: string;\n /** Patch data */\n patch?: Record<string, any> | null;\n}\n\nexport interface BulkPatchResponse {\n /** Patched item ids */\n patchedItemIds?: string[];\n /** Errors */\n errors?: BulkError[];\n}\n\nexport interface BulkRemoveRequest {\n /** IDs of items to remove. */\n entries?: BulkRemoveRequestEntry[];\n /** ID of the collection from which to remove the items. */\n dataCollectionId?: string;\n}\n\nexport interface BulkRemoveRequestEntry {\n /** ID of item to remove. */\n itemId?: string;\n}\n\nexport interface BulkRemoveResponse {\n /** IDs of items removed. */\n removedItemIds?: string[];\n /** Errors for items that couldn't be removed. */\n errors?: BulkError[];\n}\n\nexport interface QueryReferencedRequest {\n /** ID of the referring item. */\n referringItemId: string;\n /** Property containing the references to the referenced items. */\n propertyName: string;\n /** Paging preferences. */\n paging?: Paging;\n /** ID of the collection containing the referring item. */\n dataCollectionId?: string;\n /**\n * Whether to omit the total count in the response.\n * When `true`, the `pagingMetadata` object in the response doesn't contain a `total` field.\n *\n * Default: `false`\n */\n omitTotalCount?: boolean;\n}\n\nexport enum Order {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type OrderWithLiterals = Order | 'ASC' | 'DESC';\n\nexport interface QueryReferencedResponse {\n /**\n * *Deprecated.** Refer to `entities` instead. List of referenced items.\n * @deprecated\n */\n items?: Record<string, any>[] | null;\n /**\n * *Deprecated**. Refer to 'pagingMetadata' instead. Total number of referenced items satisfying the query.\n * @deprecated\n */\n totalCount?: number;\n /**\n * *Deprecated**. Refer to 'pagingMetadata' instead. Total number of referenced items satisfying the query.\n * @deprecated\n */\n totalResults?: number;\n /** List of referenced items and/or IDs. For successfully resolved references, the referenced data item appears. For references that can't be resolved, the ID appears. */\n entities?: ReferencedEntity[];\n /** Paging information. */\n pagingMetadata?: PagingMetadataV2;\n}\n\nexport interface ReferencedEntity extends ReferencedEntityEntityOneOf {\n /** Data item referenced. */\n item?: Record<string, any> | null;\n /** Unresolved ID. Appears instead of the data item when the reference doesn't resolve. For example, when an ID isn't found or if an item is in draft state. */\n referenceId?: string;\n}\n\n/** @oneof */\nexport interface ReferencedEntityEntityOneOf {\n /** Data item referenced. */\n item?: Record<string, any> | null;\n /** Unresolved ID. Appears instead of the data item when the reference doesn't resolve. For example, when an ID isn't found or if an item is in draft state. */\n referenceId?: string;\n}\n\nexport interface BulkInsertReferencesRequest {\n /**\n * References to insert.\n * @minSize 1\n */\n references: Reference[];\n /** ID of the collection containing the referring item. */\n dataCollectionId?: string;\n}\n\nexport interface Reference {\n /** Property containing the references to the referenced items. */\n propertyName?: string;\n /** ID of the referring item. */\n referringItemId?: string;\n /** ID of the referenced item. */\n referencedItemId?: string;\n}\n\nexport interface BulkInsertReferencesResponse {}\n\nexport interface BulkReplaceReferencesRequest {\n /** Property containing the references to the referenced items. */\n propertyName: string;\n /** ID of the referring item. */\n referringItemId: string;\n /** List of new referenced item IDs to replace the existing ones. */\n newReferencedItemIds?: string[];\n /** ID of the collection containing the referring item. */\n dataCollectionId?: string;\n}\n\nexport interface BulkReplaceReferencesResponse {}\n\nexport interface BulkRemoveReferencesRequest {\n /**\n * References to be removed.\n * @minSize 1\n */\n references: Reference[];\n /** ID of the collection containing the referring item. */\n dataCollectionId?: string;\n}\n\nexport interface BulkRemoveReferencesResponse {}\n\nexport interface IsReferencedRequest {\n /** Property that may contain a reference to the specified item. */\n propertyName: string;\n /** ID of the referring item. */\n referringItemId: string;\n /** ID of the item that may be referenced. */\n referencedItemId: string;\n /** ID of the collection containing the referring item. */\n dataCollectionId?: string;\n}\n\nexport interface IsReferencedResponse {\n /** Whether the specified property of the referring item contains a reference to the specified referenced item. */\n isReferenced?: boolean;\n}\n\nexport interface RestoreFromTrashBinRequest {\n /**\n * Deprecated, use dataCollectionId instead.\n * Collection name\n * @deprecated Deprecated, use dataCollectionId instead.\n * Collection name\n * @replacedBy data_collection_id\n */\n collectionName?: string;\n /** Item id */\n itemId?: string;\n /** Data access options */\n options?: Options;\n /** ID of the collection */\n dataCollectionId?: string;\n}\n\nexport interface RestoreFromTrashBinResponse {\n item?: Record<string, any> | null;\n}\n","import * as ambassadorWixDataV1DataService from './data-v1-data-service-data.http.js';\nimport * as ambassadorWixDataV1DataServiceTypes from './data-v1-data-service-data.types.js';\nimport * as ambassadorWixDataV1DataServiceUniversalTypes from './data-v1-data-service-data.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 insert(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixDataV1DataServiceUniversalTypes.InsertRequest,\n ambassadorWixDataV1DataServiceTypes.InsertRequest,\n ambassadorWixDataV1DataServiceUniversalTypes.InsertResponse,\n ambassadorWixDataV1DataServiceTypes.InsertResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixDataV1DataService.insert(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/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 update(): __PublicMethodMetaInfo<\n 'PUT',\n { itemId: string },\n ambassadorWixDataV1DataServiceUniversalTypes.UpdateRequest,\n ambassadorWixDataV1DataServiceTypes.UpdateRequest,\n ambassadorWixDataV1DataServiceUniversalTypes.UpdateResponse,\n ambassadorWixDataV1DataServiceTypes.UpdateResponse\n> {\n const payload = { itemId: ':itemId' } as any;\n\n const getRequestOptions = ambassadorWixDataV1DataService.update(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PUT',\n path: '/v1/items/{itemId}',\n pathParams: { itemId: 'itemId' },\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 save(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixDataV1DataServiceUniversalTypes.SaveRequest,\n ambassadorWixDataV1DataServiceTypes.SaveRequest,\n ambassadorWixDataV1DataServiceUniversalTypes.SaveResponse,\n ambassadorWixDataV1DataServiceTypes.SaveResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixDataV1DataService.save(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/items/save',\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 get(): __PublicMethodMetaInfo<\n 'GET',\n { itemId: string },\n ambassadorWixDataV1DataServiceUniversalTypes.GetRequest,\n ambassadorWixDataV1DataServiceTypes.GetRequest,\n ambassadorWixDataV1DataServiceUniversalTypes.GetResponse,\n ambassadorWixDataV1DataServiceTypes.GetResponse\n> {\n const payload = { itemId: ':itemId' } as any;\n\n const getRequestOptions = ambassadorWixDataV1DataService.get(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/items/{itemId}',\n pathParams: { itemId: 'itemId' },\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 remove(): __PublicMethodMetaInfo<\n 'DELETE',\n { itemId: string },\n ambassadorWixDataV1DataServiceUniversalTypes.RemoveRequest,\n ambassadorWixDataV1DataServiceTypes.RemoveRequest,\n ambassadorWixDataV1DataServiceUniversalTypes.RemoveResponse,\n ambassadorWixDataV1DataServiceTypes.RemoveResponse\n> {\n const payload = { itemId: ':itemId' } as any;\n\n const getRequestOptions = ambassadorWixDataV1DataService.remove(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'DELETE',\n path: '/v1/items/{itemId}',\n pathParams: { itemId: 'itemId' },\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 truncate(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixDataV1DataServiceUniversalTypes.TruncateRequest,\n ambassadorWixDataV1DataServiceTypes.TruncateRequest,\n ambassadorWixDataV1DataServiceUniversalTypes.TruncateResponse,\n ambassadorWixDataV1DataServiceTypes.TruncateResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixDataV1DataService.truncate(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/items/truncate',\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 query(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixDataV1DataServiceUniversalTypes.QueryRequest,\n ambassadorWixDataV1DataServiceTypes.QueryRequest,\n ambassadorWixDataV1DataServiceUniversalTypes.QueryResponse,\n ambassadorWixDataV1DataServiceTypes.QueryResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixDataV1DataService.query(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/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 aggregate(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixDataV1DataServiceUniversalTypes.AggregationRequest,\n ambassadorWixDataV1DataServiceTypes.AggregationRequest,\n ambassadorWixDataV1DataServiceUniversalTypes.AggregationResponse,\n ambassadorWixDataV1DataServiceTypes.AggregationResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixDataV1DataService.aggregate(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/items/aggregate',\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 count(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixDataV1DataServiceUniversalTypes.CountRequest,\n ambassadorWixDataV1DataServiceTypes.CountRequest,\n ambassadorWixDataV1DataServiceUniversalTypes.CountResponse,\n ambassadorWixDataV1DataServiceTypes.CountResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixDataV1DataService.count(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/items/count',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function distinct(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixDataV1DataServiceUniversalTypes.DistinctRequest,\n ambassadorWixDataV1DataServiceTypes.DistinctRequest,\n ambassadorWixDataV1DataServiceUniversalTypes.DistinctResponse,\n ambassadorWixDataV1DataServiceTypes.DistinctResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixDataV1DataService.distinct(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/items/distinct',\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 bulkInsert(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixDataV1DataServiceUniversalTypes.BulkInsertRequest,\n ambassadorWixDataV1DataServiceTypes.BulkInsertRequest,\n ambassadorWixDataV1DataServiceUniversalTypes.BulkInsertResponse,\n ambassadorWixDataV1DataServiceTypes.BulkInsertResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixDataV1DataService.bulkInsert(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/items/insert',\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 bulkSave(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixDataV1DataServiceUniversalTypes.BulkSaveRequest,\n ambassadorWixDataV1DataServiceTypes.BulkSaveRequest,\n ambassadorWixDataV1DataServiceUniversalTypes.BulkSaveResponse,\n ambassadorWixDataV1DataServiceTypes.BulkSaveResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixDataV1DataService.bulkSave(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/items/save',\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 bulkUpdate(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixDataV1DataServiceUniversalTypes.BulkUpdateRequest,\n ambassadorWixDataV1DataServiceTypes.BulkUpdateRequest,\n ambassadorWixDataV1DataServiceUniversalTypes.BulkUpdateResponse,\n ambassadorWixDataV1DataServiceTypes.BulkUpdateResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixDataV1DataService.bulkUpdate(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/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 bulkRemove(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixDataV1DataServiceUniversalTypes.BulkRemoveRequest,\n ambassadorWixDataV1DataServiceTypes.BulkRemoveRequest,\n ambassadorWixDataV1DataServiceUniversalTypes.BulkRemoveResponse,\n ambassadorWixDataV1DataServiceTypes.BulkRemoveResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixDataV1DataService.bulkRemove(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/items/remove',\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 queryReferenced(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixDataV1DataServiceUniversalTypes.QueryReferencedRequest,\n ambassadorWixDataV1DataServiceTypes.QueryReferencedRequest,\n ambassadorWixDataV1DataServiceUniversalTypes.QueryReferencedResponse,\n ambassadorWixDataV1DataServiceTypes.QueryReferencedResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixDataV1DataService.queryReferenced(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/items/query-referenced',\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 bulkInsertReferences(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixDataV1DataServiceUniversalTypes.BulkInsertReferencesRequest,\n ambassadorWixDataV1DataServiceTypes.BulkInsertReferencesRequest,\n ambassadorWixDataV1DataServiceUniversalTypes.BulkInsertReferencesResponse,\n ambassadorWixDataV1DataServiceTypes.BulkInsertReferencesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixDataV1DataService.bulkInsertReferences(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/references/insert',\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 bulkReplaceReferences(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixDataV1DataServiceUniversalTypes.BulkReplaceReferencesRequest,\n ambassadorWixDataV1DataServiceTypes.BulkReplaceReferencesRequest,\n ambassadorWixDataV1DataServiceUniversalTypes.BulkReplaceReferencesResponse,\n ambassadorWixDataV1DataServiceTypes.BulkReplaceReferencesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixDataV1DataService.bulkReplaceReferences(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/references/replace',\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 bulkRemoveReferences(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixDataV1DataServiceUniversalTypes.BulkRemoveReferencesRequest,\n ambassadorWixDataV1DataServiceTypes.BulkRemoveReferencesRequest,\n ambassadorWixDataV1DataServiceUniversalTypes.BulkRemoveReferencesResponse,\n ambassadorWixDataV1DataServiceTypes.BulkRemoveReferencesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixDataV1DataService.bulkRemoveReferences(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/references/remove',\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 isReferenced(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixDataV1DataServiceUniversalTypes.IsReferencedRequest,\n ambassadorWixDataV1DataServiceTypes.IsReferencedRequest,\n ambassadorWixDataV1DataServiceUniversalTypes.IsReferencedResponse,\n ambassadorWixDataV1DataServiceTypes.IsReferencedResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixDataV1DataService.isReferenced(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/items/is-referenced',\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 Item as ItemOriginal,\n InsertRequest as InsertRequestOriginal,\n Segment as SegmentOriginal,\n SegmentWithLiterals as SegmentWithLiteralsOriginal,\n Options as OptionsOriginal,\n InsertResponse as InsertResponseOriginal,\n UpdateRequest as UpdateRequestOriginal,\n UpdateResponse as UpdateResponseOriginal,\n SaveRequest as SaveRequestOriginal,\n SaveResponse as SaveResponseOriginal,\n PatchRequest as PatchRequestOriginal,\n PatchResponse as PatchResponseOriginal,\n PatchWhereRequest as PatchWhereRequestOriginal,\n PatchWhereResponse as PatchWhereResponseOriginal,\n GetRequest as GetRequestOriginal,\n ReadOptions as ReadOptionsOriginal,\n GetResponse as GetResponseOriginal,\n RemoveRequest as RemoveRequestOriginal,\n RemoveResponse as RemoveResponseOriginal,\n TruncateRequest as TruncateRequestOriginal,\n TruncateResponse as TruncateResponseOriginal,\n QueryRequest as QueryRequestOriginal,\n Query as QueryOriginal,\n Sorting as SortingOriginal,\n SortOrder as SortOrderOriginal,\n SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n Paging as PagingOriginal,\n QueryV2 as QueryV2Original,\n QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal,\n CursorPaging as CursorPagingOriginal,\n QueryResponse as QueryResponseOriginal,\n PagingMetadataV2 as PagingMetadataV2Original,\n Cursors as CursorsOriginal,\n AggregationRequest as AggregationRequestOriginal,\n AggregationResponse as AggregationResponseOriginal,\n CountRequest as CountRequestOriginal,\n CountResponse as CountResponseOriginal,\n DistinctRequest as DistinctRequestOriginal,\n DistinctResponse as DistinctResponseOriginal,\n BulkInsertRequest as BulkInsertRequestOriginal,\n BulkInsertResponse as BulkInsertResponseOriginal,\n BulkError as BulkErrorOriginal,\n ApplicationError as ApplicationErrorOriginal,\n Details as DetailsOriginal,\n BulkSaveRequest as BulkSaveRequestOriginal,\n BulkSaveResponse as BulkSaveResponseOriginal,\n BulkUpdateRequest as BulkUpdateRequestOriginal,\n BulkUpdateResponse as BulkUpdateResponseOriginal,\n BulkPatchRequest as BulkPatchRequestOriginal,\n Entry as EntryOriginal,\n BulkPatchResponse as BulkPatchResponseOriginal,\n BulkRemoveRequest as BulkRemoveRequestOriginal,\n BulkRemoveRequestEntry as BulkRemoveRequestEntryOriginal,\n BulkRemoveResponse as BulkRemoveResponseOriginal,\n QueryReferencedRequest as QueryReferencedRequestOriginal,\n Order as OrderOriginal,\n OrderWithLiterals as OrderWithLiteralsOriginal,\n QueryReferencedResponse as QueryReferencedResponseOriginal,\n ReferencedEntity as ReferencedEntityOriginal,\n ReferencedEntityEntityOneOf as ReferencedEntityEntityOneOfOriginal,\n BulkInsertReferencesRequest as BulkInsertReferencesRequestOriginal,\n Reference as ReferenceOriginal,\n BulkInsertReferencesResponse as BulkInsertReferencesResponseOriginal,\n BulkReplaceReferencesRequest as BulkReplaceReferencesRequestOriginal,\n BulkReplaceReferencesResponse as BulkReplaceReferencesResponseOriginal,\n BulkRemoveReferencesRequest as BulkRemoveReferencesRequestOriginal,\n BulkRemoveReferencesResponse as BulkRemoveReferencesResponseOriginal,\n IsReferencedRequest as IsReferencedRequestOriginal,\n IsReferencedResponse as IsReferencedResponseOriginal,\n RestoreFromTrashBinRequest as RestoreFromTrashBinRequestOriginal,\n RestoreFromTrashBinResponse as RestoreFromTrashBinResponseOriginal,\n} from './data-v1-data-service-data.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,kBAAkB;AAI3B,SAAS,2DACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,yBAAyB;AAAA,MACvB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,sBAAsB;AAAA,MACpB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UA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,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["Segment","SortOrder","Order","insert","update","save","get","remove","truncate","query","aggregate","count","distinct","bulkInsert","bulkSave","bulkUpdate","bulkRemove","queryReferenced","bulkInsertReferences","bulkReplaceReferences","bulkRemoveReferences","isReferenced"]}
@@ -368,6 +368,10 @@ function resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl(opts) {
368
368
  {
369
369
  srcPath: "/data/v2/bulk/items",
370
370
  destPath: "/v2/bulk/items"
371
+ },
372
+ {
373
+ srcPath: "/data/v2/indexes",
374
+ destPath: "/v2/indexes"
371
375
  }
372
376
  ],
373
377
  "www.wixgateway.com": [
@@ -401,6 +405,9 @@ function insert(payload) {
401
405
  method: "POST",
402
406
  methodFqn: "com.wixpress.cloud.data.api.dataservice.WixDataService.Insert",
403
407
  packageName: PACKAGE_NAME,
408
+ migrationOptions: {
409
+ optInTransformResponse: true
410
+ },
404
411
  url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({
405
412
  protoPath: "/v1/items",
406
413
  data: payload,
@@ -419,6 +426,9 @@ function update(payload) {
419
426
  method: "PUT",
420
427
  methodFqn: "com.wixpress.cloud.data.api.dataservice.WixDataService.Update",
421
428
  packageName: PACKAGE_NAME,
429
+ migrationOptions: {
430
+ optInTransformResponse: true
431
+ },
422
432
  url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({
423
433
  protoPath: "/v1/items/{itemId}",
424
434
  data: payload,
@@ -437,6 +447,9 @@ function save(payload) {
437
447
  method: "POST",
438
448
  methodFqn: "com.wixpress.cloud.data.api.dataservice.WixDataService.Save",
439
449
  packageName: PACKAGE_NAME,
450
+ migrationOptions: {
451
+ optInTransformResponse: true
452
+ },
440
453
  url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({
441
454
  protoPath: "/v1/items/save",
442
455
  data: payload,
@@ -455,6 +468,9 @@ function get(payload) {
455
468
  method: "GET",
456
469
  methodFqn: "com.wixpress.cloud.data.api.dataservice.WixDataService.Get",
457
470
  packageName: PACKAGE_NAME,
471
+ migrationOptions: {
472
+ optInTransformResponse: true
473
+ },
458
474
  url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({
459
475
  protoPath: "/v1/items/{itemId}",
460
476
  data: payload,
@@ -473,6 +489,9 @@ function remove(payload) {
473
489
  method: "DELETE",
474
490
  methodFqn: "com.wixpress.cloud.data.api.dataservice.WixDataService.Remove",
475
491
  packageName: PACKAGE_NAME,
492
+ migrationOptions: {
493
+ optInTransformResponse: true
494
+ },
476
495
  url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({
477
496
  protoPath: "/v1/items/{itemId}",
478
497
  data: payload,
@@ -491,6 +510,9 @@ function truncate(payload) {
491
510
  method: "POST",
492
511
  methodFqn: "com.wixpress.cloud.data.api.dataservice.WixDataService.Truncate",
493
512
  packageName: PACKAGE_NAME,
513
+ migrationOptions: {
514
+ optInTransformResponse: true
515
+ },
494
516
  url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({
495
517
  protoPath: "/v1/items/truncate",
496
518
  data: payload,
@@ -509,6 +531,9 @@ function query(payload) {
509
531
  method: "GET",
510
532
  methodFqn: "com.wixpress.cloud.data.api.dataservice.WixDataService.Query",
511
533
  packageName: PACKAGE_NAME,
534
+ migrationOptions: {
535
+ optInTransformResponse: true
536
+ },
512
537
  url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({
513
538
  protoPath: "/v1/items/query",
514
539
  data: payload,
@@ -538,6 +563,9 @@ function aggregate(payload) {
538
563
  method: "POST",
539
564
  methodFqn: "com.wixpress.cloud.data.api.dataservice.WixDataService.Aggregate",
540
565
  packageName: PACKAGE_NAME,
566
+ migrationOptions: {
567
+ optInTransformResponse: true
568
+ },
541
569
  url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({
542
570
  protoPath: "/v1/items/aggregate",
543
571
  data: payload,
@@ -556,6 +584,9 @@ function count(payload) {
556
584
  method: "POST",
557
585
  methodFqn: "com.wixpress.cloud.data.api.dataservice.WixDataService.Count",
558
586
  packageName: PACKAGE_NAME,
587
+ migrationOptions: {
588
+ optInTransformResponse: true
589
+ },
559
590
  url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({
560
591
  protoPath: "/v1/items/count",
561
592
  data: payload,
@@ -574,6 +605,9 @@ function distinct(payload) {
574
605
  method: "POST",
575
606
  methodFqn: "com.wixpress.cloud.data.api.dataservice.WixDataService.Distinct",
576
607
  packageName: PACKAGE_NAME,
608
+ migrationOptions: {
609
+ optInTransformResponse: true
610
+ },
577
611
  url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({
578
612
  protoPath: "/v1/items/distinct",
579
613
  data: payload,
@@ -592,6 +626,9 @@ function bulkInsert(payload) {
592
626
  method: "POST",
593
627
  methodFqn: "com.wixpress.cloud.data.api.dataservice.WixDataService.BulkInsert",
594
628
  packageName: PACKAGE_NAME,
629
+ migrationOptions: {
630
+ optInTransformResponse: true
631
+ },
595
632
  url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({
596
633
  protoPath: "/v1/bulk/items/insert",
597
634
  data: payload,
@@ -610,6 +647,9 @@ function bulkSave(payload) {
610
647
  method: "POST",
611
648
  methodFqn: "com.wixpress.cloud.data.api.dataservice.WixDataService.BulkSave",
612
649
  packageName: PACKAGE_NAME,
650
+ migrationOptions: {
651
+ optInTransformResponse: true
652
+ },
613
653
  url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({
614
654
  protoPath: "/v1/bulk/items/save",
615
655
  data: payload,
@@ -628,6 +668,9 @@ function bulkUpdate(payload) {
628
668
  method: "POST",
629
669
  methodFqn: "com.wixpress.cloud.data.api.dataservice.WixDataService.BulkUpdate",
630
670
  packageName: PACKAGE_NAME,
671
+ migrationOptions: {
672
+ optInTransformResponse: true
673
+ },
631
674
  url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({
632
675
  protoPath: "/v1/bulk/items/update",
633
676
  data: payload,
@@ -646,6 +689,9 @@ function bulkRemove(payload) {
646
689
  method: "POST",
647
690
  methodFqn: "com.wixpress.cloud.data.api.dataservice.WixDataService.BulkRemove",
648
691
  packageName: PACKAGE_NAME,
692
+ migrationOptions: {
693
+ optInTransformResponse: true
694
+ },
649
695
  url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({
650
696
  protoPath: "/v1/bulk/items/remove",
651
697
  data: payload,
@@ -664,6 +710,9 @@ function queryReferenced(payload) {
664
710
  method: "POST",
665
711
  methodFqn: "com.wixpress.cloud.data.api.dataservice.WixDataService.QueryReferenced",
666
712
  packageName: PACKAGE_NAME,
713
+ migrationOptions: {
714
+ optInTransformResponse: true
715
+ },
667
716
  url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({
668
717
  protoPath: "/v1/items/query-referenced",
669
718
  data: payload,
@@ -682,6 +731,9 @@ function bulkInsertReferences(payload) {
682
731
  method: "POST",
683
732
  methodFqn: "com.wixpress.cloud.data.api.dataservice.WixDataService.BulkInsertReferences",
684
733
  packageName: PACKAGE_NAME,
734
+ migrationOptions: {
735
+ optInTransformResponse: true
736
+ },
685
737
  url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({
686
738
  protoPath: "/v1/bulk/references/insert",
687
739
  data: payload,
@@ -700,6 +752,9 @@ function bulkReplaceReferences(payload) {
700
752
  method: "POST",
701
753
  methodFqn: "com.wixpress.cloud.data.api.dataservice.WixDataService.BulkReplaceReferences",
702
754
  packageName: PACKAGE_NAME,
755
+ migrationOptions: {
756
+ optInTransformResponse: true
757
+ },
703
758
  url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({
704
759
  protoPath: "/v1/bulk/references/replace",
705
760
  data: payload,
@@ -718,6 +773,9 @@ function bulkRemoveReferences(payload) {
718
773
  method: "POST",
719
774
  methodFqn: "com.wixpress.cloud.data.api.dataservice.WixDataService.BulkRemoveReferences",
720
775
  packageName: PACKAGE_NAME,
776
+ migrationOptions: {
777
+ optInTransformResponse: true
778
+ },
721
779
  url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({
722
780
  protoPath: "/v1/bulk/references/remove",
723
781
  data: payload,
@@ -736,6 +794,9 @@ function isReferenced(payload) {
736
794
  method: "POST",
737
795
  methodFqn: "com.wixpress.cloud.data.api.dataservice.WixDataService.IsReferenced",
738
796
  packageName: PACKAGE_NAME,
797
+ migrationOptions: {
798
+ optInTransformResponse: true
799
+ },
739
800
  url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({
740
801
  protoPath: "/v1/items/is-referenced",
741
802
  data: payload,