@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.
- package/build/cjs/index.d.ts +2 -2
- package/build/cjs/index.js +14 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -1
- package/build/cjs/index.typings.js +14 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +14 -2
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs +14 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -1
- package/build/es/index.typings.mjs +14 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +14 -2
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +15 -15
- package/build/internal/cjs/index.js +14 -2
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +14 -14
- package/build/internal/cjs/index.typings.js +14 -2
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.js +14 -2
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +15 -15
- package/build/internal/es/index.mjs +14 -2
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +14 -14
- package/build/internal/es/index.typings.mjs +14 -2
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.mjs +14 -2
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -618,7 +618,7 @@ interface TruncateOptions {
|
|
|
618
618
|
* @deprecated
|
|
619
619
|
* @targetRemovalDate 2025-06-01
|
|
620
620
|
*/
|
|
621
|
-
declare function query(options?: QueryOptions): Promise<NonNullablePaths<QueryResponse, `items` | `totalCount` | `totalResults` | `partialIncludes
|
|
621
|
+
declare function query(options?: QueryOptions): Promise<NonNullablePaths<QueryResponse, `items` | `totalCount` | `totalResults` | `partialIncludes`, 2>>;
|
|
622
622
|
interface QueryOptions {
|
|
623
623
|
/** Query preferences. For more details on using queries, see [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language). */
|
|
624
624
|
dataQuery?: QueryV2;
|
|
@@ -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: "
|
|
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
|
-
|
|
469
|
+
params: toURLSearchParams(payload, true),
|
|
458
470
|
fallback: [
|
|
459
471
|
{
|
|
460
472
|
method: "POST",
|