@wix/auto_sdk_data-backend-public-sdk-poc_data 1.0.33 → 1.0.35

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.
@@ -349,6 +349,14 @@ function resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl(opts) {
349
349
  {
350
350
  srcPath: "/wix-data/v2",
351
351
  destPath: "/v2"
352
+ },
353
+ {
354
+ srcPath: "/data/v2/collections",
355
+ destPath: "/v2/collections"
356
+ },
357
+ {
358
+ srcPath: "/data/v2/items",
359
+ destPath: "/v2/items"
352
360
  }
353
361
  ],
354
362
  "www.wixgateway.com": [
@@ -365,6 +373,10 @@ function resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl(opts) {
365
373
  {
366
374
  srcPath: "/_api/cloud-data/v2",
367
375
  destPath: "/v2"
376
+ },
377
+ {
378
+ srcPath: "/_api/cloud-data/v1/external-database-connections",
379
+ destPath: "/v1/external-database-connections"
368
380
  }
369
381
  ]
370
382
  };
@@ -483,7 +495,7 @@ function query(payload) {
483
495
  function __query({ host }) {
484
496
  const metadata = {
485
497
  entityFqdn: "wix.data.v1.data_service",
486
- method: "POST",
498
+ method: "GET",
487
499
  methodFqn: "com.wixpress.cloud.data.api.dataservice.WixDataService.Query",
488
500
  packageName: PACKAGE_NAME,
489
501
  url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({
@@ -491,7 +503,7 @@ function query(payload) {
491
503
  data: payload,
492
504
  host
493
505
  }),
494
- data: payload,
506
+ params: (0, import_rest_modules.toURLSearchParams)(payload, true),
495
507
  fallback: [
496
508
  {
497
509
  method: "POST",
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../meta.ts","../../../src/data-v1-data-service-data.http.ts","../../../src/data-v1-data-service-data.meta.ts"],"sourcesContent":["export * from './src/data-v1-data-service-data.meta.js';\n","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 '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 };\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: 'POST' 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 data: payload,\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;AAAA;AAAA,mBAAAA;AAAA,EAAA,kBAAAC;AAAA,EAAA,4BAAAC;AAAA,EAAA,kBAAAC;AAAA,EAAA,4BAAAC;AAAA,EAAA,6BAAAC;AAAA,EAAA,gBAAAC;AAAA,EAAA,kBAAAC;AAAA,EAAA,aAAAC;AAAA,EAAA,gBAAAC;AAAA,EAAA,WAAAC;AAAA,EAAA,cAAAC;AAAA,EAAA,oBAAAC;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A,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":["aggregate","bulkInsert","bulkInsertReferences","bulkRemove","bulkRemoveReferences","bulkReplaceReferences","bulkSave","bulkUpdate","count","distinct","get","insert","isReferenced","query","queryReferenced","remove","save","truncate","update","import_rest_modules","insert","update","save","get","remove","truncate","query","aggregate","count","distinct","bulkInsert","bulkSave","bulkUpdate","bulkRemove","queryReferenced","bulkInsertReferences","bulkReplaceReferences","bulkRemoveReferences","isReferenced"]}
1
+ {"version":3,"sources":["../../../meta.ts","../../../src/data-v1-data-service-data.http.ts","../../../src/data-v1-data-service-data.meta.ts"],"sourcesContent":["export * from './src/data-v1-data-service-data.meta.js';\n","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 '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;AAAA;AAAA,mBAAAA;AAAA,EAAA,kBAAAC;AAAA,EAAA,4BAAAC;AAAA,EAAA,kBAAAC;AAAA,EAAA,4BAAAC;AAAA,EAAA,6BAAAC;AAAA,EAAA,gBAAAC;AAAA,EAAA,kBAAAC;AAAA,EAAA,aAAAC;AAAA,EAAA,gBAAAC;AAAA,EAAA,WAAAC;AAAA,EAAA,cAAAC;AAAA,EAAA,oBAAAC;AAAA,EAAA,aAAAC;AAAA,EAAA,uBAAAC;AAAA,EAAA,cAAAC;AAAA,EAAA,YAAAC;AAAA,EAAA,gBAAAC;AAAA,EAAA,cAAAC;AAAA;AAAA;;;ACAA,0BAAkC;AAClC,IAAAC,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AAM;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":["aggregate","bulkInsert","bulkInsertReferences","bulkRemove","bulkRemoveReferences","bulkReplaceReferences","bulkSave","bulkUpdate","count","distinct","get","insert","isReferenced","query","queryReferenced","remove","save","truncate","update","import_rest_modules","insert","update","save","get","remove","truncate","query","aggregate","count","distinct","bulkInsert","bulkSave","bulkUpdate","bulkRemove","queryReferenced","bulkInsertReferences","bulkReplaceReferences","bulkRemoveReferences","isReferenced"]}
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
2
2
  import { InsertOptions, InsertResponse, UpdateOptions, UpdateResponse, SaveOptions, SaveResponse, GetOptions, GetResponse, RemoveOptions, RemoveResponse, TruncateOptions, QueryOptions, QueryResponse, AggregateOptions, AggregationResponse, CountOptions, CountResponse, DistinctOptions, DistinctResponse, BulkInsertOptions, BulkInsertResponse, BulkSaveOptions, BulkSaveResponse, BulkUpdateOptions, BulkUpdateResponse, BulkRemoveOptions, BulkRemoveResponse, QueryReferencedOptions, QueryReferencedResponse, BulkInsertReferencesOptions, BulkReplaceReferencesOptions, BulkRemoveReferencesOptions, IsReferencedOptions, IsReferencedResponse } from './index.typings.mjs';
3
- export { AggregationRequest, ApplicationError, BulkError, BulkInsertReferencesRequest, BulkInsertReferencesResponse, BulkInsertRequest, BulkPatchRequest, BulkPatchResponse, BulkRemoveReferencesRequest, BulkRemoveReferencesResponse, BulkRemoveRequest, BulkRemoveRequestEntry, BulkReplaceReferencesRequest, BulkReplaceReferencesResponse, BulkSaveRequest, BulkUpdateRequest, CountRequest, CursorPaging, Cursors, Details, DistinctRequest, Entry, GetRequest, InsertRequest, IsReferencedRequest, Item, Options, Order, Paging, PagingMetadataV2, PatchRequest, PatchResponse, PatchWhereRequest, PatchWhereResponse, Query, QueryReferencedRequest, QueryRequest, QueryV2, QueryV2PagingMethodOneOf, ReadOptions, Reference, ReferencedEntity, ReferencedEntityEntityOneOf, RemoveRequest, RestoreFromTrashBinRequest, RestoreFromTrashBinResponse, SaveRequest, Segment, SortOrder, Sorting, TruncateRequest, TruncateResponse, UpdateRequest } from './index.typings.mjs';
3
+ export { AggregationRequest, ApplicationError, BulkError, BulkInsertReferencesRequest, BulkInsertReferencesResponse, BulkInsertRequest, BulkPatchRequest, BulkPatchResponse, BulkRemoveReferencesRequest, BulkRemoveReferencesResponse, BulkRemoveRequest, BulkRemoveRequestEntry, BulkReplaceReferencesRequest, BulkReplaceReferencesResponse, BulkSaveRequest, BulkUpdateRequest, CountRequest, CursorPaging, Cursors, Details, DistinctRequest, Entry, GetRequest, InsertRequest, IsReferencedRequest, Item, Options, Order, OrderWithLiterals, Paging, PagingMetadataV2, PatchRequest, PatchResponse, PatchWhereRequest, PatchWhereResponse, Query, QueryReferencedRequest, QueryRequest, QueryV2, QueryV2PagingMethodOneOf, ReadOptions, Reference, ReferencedEntity, ReferencedEntityEntityOneOf, RemoveRequest, RestoreFromTrashBinRequest, RestoreFromTrashBinResponse, SaveRequest, Segment, SegmentWithLiterals, SortOrder, SortOrderWithLiterals, Sorting, TruncateRequest, TruncateResponse, UpdateRequest } from './index.typings.mjs';
4
4
 
5
5
  /** @internal */
6
6
  declare function insert$1(httpClient: HttpClient): InsertSignature;
@@ -32,7 +32,7 @@ interface UpdateSignature {
32
32
  * aren't included in the updated item, their values are lost.
33
33
  * @deprecated
34
34
  */
35
- (options?: NonNullablePaths<UpdateOptions, `item`>): Promise<UpdateResponse>;
35
+ (options?: NonNullablePaths<UpdateOptions, `item`, 2>): Promise<UpdateResponse>;
36
36
  }
37
37
  /** @internal */
38
38
  declare function save$1(httpClient: HttpClient): SaveSignature;
@@ -101,13 +101,13 @@ interface QuerySignature {
101
101
  * For more details on using queries, see [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language).
102
102
  * @deprecated
103
103
  */
104
- (options?: QueryOptions): Promise<NonNullablePaths<QueryResponse, `items` | `totalCount` | `totalResults` | `partialIncludes`>>;
104
+ (options?: QueryOptions): Promise<NonNullablePaths<QueryResponse, `items` | `totalCount` | `totalResults` | `partialIncludes`, 2>>;
105
105
  }
106
106
  /** @internal */
107
107
  declare function aggregate$1(httpClient: HttpClient): AggregateSignature;
108
108
  interface AggregateSignature {
109
109
  /** @deprecated */
110
- (options?: AggregateOptions): Promise<NonNullablePaths<AggregationResponse, `items`>>;
110
+ (options?: AggregateOptions): Promise<NonNullablePaths<AggregationResponse, `items`, 2>>;
111
111
  }
112
112
  /** @internal */
113
113
  declare function count$1(httpClient: HttpClient): CountSignature;
@@ -116,7 +116,7 @@ interface CountSignature {
116
116
  * Returns the number of items in a collection that match a query.
117
117
  * @deprecated
118
118
  */
119
- (options?: CountOptions): Promise<NonNullablePaths<CountResponse, `totalCount` | `totalResults`>>;
119
+ (options?: CountOptions): Promise<NonNullablePaths<CountResponse, `totalCount` | `totalResults`, 2>>;
120
120
  }
121
121
  /** @internal */
122
122
  declare function distinct$1(httpClient: HttpClient): DistinctSignature;
@@ -132,7 +132,7 @@ interface DistinctSignature {
132
132
  * For more details on using queries, see [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language).
133
133
  * @deprecated
134
134
  */
135
- (options?: NonNullablePaths<DistinctOptions, `propertyName`>): Promise<NonNullablePaths<DistinctResponse, `items`>>;
135
+ (options?: NonNullablePaths<DistinctOptions, `propertyName`, 2>): Promise<NonNullablePaths<DistinctResponse, `items`, 2>>;
136
136
  }
137
137
  /** @internal */
138
138
  declare function bulkInsert$1(httpClient: HttpClient): BulkInsertSignature;
@@ -149,7 +149,7 @@ interface BulkInsertSignature {
149
149
  * When any items can't be inserted, error details are provided for each failed item in `errors`.
150
150
  * @deprecated
151
151
  */
152
- (options?: NonNullablePaths<BulkInsertOptions, `items`>): Promise<NonNullablePaths<BulkInsertResponse, `insertedItemIds` | `errors` | `errors.${number}.message` | `errors.${number}.details.applicationError.code` | `errors.${number}.details.applicationError.description` | `errors.${number}.originalIndex`>>;
152
+ (options?: NonNullablePaths<BulkInsertOptions, `items`, 2>): Promise<NonNullablePaths<BulkInsertResponse, `insertedItemIds` | `errors` | `errors.${number}.message` | `errors.${number}.details.applicationError.code` | `errors.${number}.details.applicationError.description` | `errors.${number}.originalIndex`, 6>>;
153
153
  }
154
154
  /** @internal */
155
155
  declare function bulkSave$1(httpClient: HttpClient): BulkSaveSignature;
@@ -172,7 +172,7 @@ interface BulkSaveSignature {
172
172
  * This means that all of the item's previous properties and values are lost.
173
173
  * @deprecated
174
174
  */
175
- (options?: NonNullablePaths<BulkSaveOptions, `items`>): Promise<NonNullablePaths<BulkSaveResponse, `insertedItemIds` | `updatedItemIds` | `errors` | `errors.${number}.message` | `errors.${number}.details.applicationError.code` | `errors.${number}.details.applicationError.description` | `errors.${number}.originalIndex`>>;
175
+ (options?: NonNullablePaths<BulkSaveOptions, `items`, 2>): Promise<NonNullablePaths<BulkSaveResponse, `insertedItemIds` | `updatedItemIds` | `errors` | `errors.${number}.message` | `errors.${number}.details.applicationError.code` | `errors.${number}.details.applicationError.description` | `errors.${number}.originalIndex`, 6>>;
176
176
  }
177
177
  /** @internal */
178
178
  declare function bulkUpdate$1(httpClient: HttpClient): BulkUpdateSignature;
@@ -193,7 +193,7 @@ interface BulkUpdateSignature {
193
193
  * aren't included in the updated item, their values are lost.
194
194
  * @deprecated
195
195
  */
196
- (options?: NonNullablePaths<BulkUpdateOptions, `items`>): Promise<NonNullablePaths<BulkUpdateResponse, `updatedItemIds` | `errors` | `errors.${number}.message` | `errors.${number}.details.applicationError.code` | `errors.${number}.details.applicationError.description` | `errors.${number}.originalIndex`>>;
196
+ (options?: NonNullablePaths<BulkUpdateOptions, `items`, 2>): Promise<NonNullablePaths<BulkUpdateResponse, `updatedItemIds` | `errors` | `errors.${number}.message` | `errors.${number}.details.applicationError.code` | `errors.${number}.details.applicationError.description` | `errors.${number}.originalIndex`, 6>>;
197
197
  }
198
198
  /** @internal */
199
199
  declare function bulkRemove$1(httpClient: HttpClient): BulkRemoveSignature;
@@ -209,7 +209,7 @@ interface BulkRemoveSignature {
209
209
  * **Note:** Once an item has been removed from a collection, it can't be restored.
210
210
  * @deprecated
211
211
  */
212
- (options?: BulkRemoveOptions): Promise<NonNullablePaths<BulkRemoveResponse, `removedItemIds` | `errors` | `errors.${number}.message` | `errors.${number}.details.applicationError.code` | `errors.${number}.details.applicationError.description` | `errors.${number}.originalIndex`>>;
212
+ (options?: BulkRemoveOptions): Promise<NonNullablePaths<BulkRemoveResponse, `removedItemIds` | `errors` | `errors.${number}.message` | `errors.${number}.details.applicationError.code` | `errors.${number}.details.applicationError.description` | `errors.${number}.originalIndex`, 6>>;
213
213
  }
214
214
  /** @internal */
215
215
  declare function queryReferenced$1(httpClient: HttpClient): QueryReferencedSignature;
@@ -222,7 +222,7 @@ interface QueryReferencedSignature {
222
222
  * This gives you information from the **People** collection about each of the actors in the specified movie.
223
223
  * @deprecated
224
224
  */
225
- (options?: NonNullablePaths<QueryReferencedOptions, `propertyName` | `referringItemId`>): Promise<NonNullablePaths<QueryReferencedResponse, `items` | `totalCount` | `totalResults` | `entities` | `entities.${number}.referenceId`>>;
225
+ (options?: NonNullablePaths<QueryReferencedOptions, `propertyName` | `referringItemId`, 2>): Promise<NonNullablePaths<QueryReferencedResponse, `items` | `totalCount` | `totalResults` | `entities` | `entities.${number}.referenceId`, 4>>;
226
226
  }
227
227
  /** @internal */
228
228
  declare function bulkInsertReferences$1(httpClient: HttpClient): BulkInsertReferencesSignature;
@@ -234,7 +234,7 @@ interface BulkInsertReferencesSignature {
234
234
  * 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.
235
235
  * @deprecated
236
236
  */
237
- (options?: NonNullablePaths<BulkInsertReferencesOptions, `references` | `references.${number}.propertyName` | `references.${number}.referencedItemId` | `references.${number}.referringItemId`>): Promise<void>;
237
+ (options?: NonNullablePaths<BulkInsertReferencesOptions, `references` | `references.${number}.propertyName` | `references.${number}.referencedItemId` | `references.${number}.referringItemId`, 4>): Promise<void>;
238
238
  }
239
239
  /** @internal */
240
240
  declare function bulkReplaceReferences$1(httpClient: HttpClient): BulkReplaceReferencesSignature;
@@ -246,7 +246,7 @@ interface BulkReplaceReferencesSignature {
246
246
  * The endpoint removes existing references and in their place it adds references to the items specified in `newReferencedItemIds`.
247
247
  * @deprecated
248
248
  */
249
- (options?: NonNullablePaths<BulkReplaceReferencesOptions, `propertyName` | `referringItemId`>): Promise<void>;
249
+ (options?: NonNullablePaths<BulkReplaceReferencesOptions, `propertyName` | `referringItemId`, 2>): Promise<void>;
250
250
  }
251
251
  /** @internal */
252
252
  declare function bulkRemoveReferences$1(httpClient: HttpClient): BulkRemoveReferencesSignature;
@@ -255,7 +255,7 @@ interface BulkRemoveReferencesSignature {
255
255
  * Removes one or more references.
256
256
  * @deprecated
257
257
  */
258
- (options?: NonNullablePaths<BulkRemoveReferencesOptions, `references` | `references.${number}.propertyName`>): Promise<void>;
258
+ (options?: NonNullablePaths<BulkRemoveReferencesOptions, `references` | `references.${number}.propertyName`, 4>): Promise<void>;
259
259
  }
260
260
  /** @internal */
261
261
  declare function isReferenced$1(httpClient: HttpClient): IsReferencedSignature;
@@ -264,7 +264,7 @@ interface IsReferencedSignature {
264
264
  * Checks if a specific property of a referring item contains a reference to another specific item.
265
265
  * @deprecated
266
266
  */
267
- (options?: NonNullablePaths<IsReferencedOptions, `propertyName` | `referencedItemId` | `referringItemId`>): Promise<NonNullablePaths<IsReferencedResponse, `isReferenced`>>;
267
+ (options?: NonNullablePaths<IsReferencedOptions, `propertyName` | `referencedItemId` | `referringItemId`, 2>): Promise<NonNullablePaths<IsReferencedResponse, `isReferenced`, 2>>;
268
268
  }
269
269
 
270
270
  /** @internal */
@@ -312,6 +312,14 @@ function resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl(opts) {
312
312
  {
313
313
  srcPath: "/wix-data/v2",
314
314
  destPath: "/v2"
315
+ },
316
+ {
317
+ srcPath: "/data/v2/collections",
318
+ destPath: "/v2/collections"
319
+ },
320
+ {
321
+ srcPath: "/data/v2/items",
322
+ destPath: "/v2/items"
315
323
  }
316
324
  ],
317
325
  "www.wixgateway.com": [
@@ -328,6 +336,10 @@ function resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl(opts) {
328
336
  {
329
337
  srcPath: "/_api/cloud-data/v2",
330
338
  destPath: "/v2"
339
+ },
340
+ {
341
+ srcPath: "/_api/cloud-data/v1/external-database-connections",
342
+ destPath: "/v1/external-database-connections"
331
343
  }
332
344
  ]
333
345
  };
@@ -446,7 +458,7 @@ function query(payload) {
446
458
  function __query({ host }) {
447
459
  const metadata = {
448
460
  entityFqdn: "wix.data.v1.data_service",
449
- method: "POST",
461
+ method: "GET",
450
462
  methodFqn: "com.wixpress.cloud.data.api.dataservice.WixDataService.Query",
451
463
  packageName: PACKAGE_NAME,
452
464
  url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({
@@ -454,7 +466,7 @@ function query(payload) {
454
466
  data: payload,
455
467
  host
456
468
  }),
457
- data: payload,
469
+ params: toURLSearchParams(payload, true),
458
470
  fallback: [
459
471
  {
460
472
  method: "POST",