@wix/auto_sdk_data-backend-public-sdk-poc_data 1.0.51 → 1.0.53
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 +1 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -1
- package/build/cjs/index.typings.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +14 -14
- package/build/internal/cjs/index.typings.d.ts +14 -14
- package/build/internal/es/index.d.mts +14 -14
- package/build/internal/es/index.typings.d.mts +14 -14
- package/package.json +4 -5
- package/build/internal/cjs/index.js +0 -1598
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.js +0 -1439
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.js +0 -1206
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/es/index.mjs +0 -1553
- package/build/internal/es/index.mjs.map +0 -1
- package/build/internal/es/index.typings.mjs +0 -1394
- package/build/internal/es/index.typings.mjs.map +0 -1
- package/build/internal/es/meta.mjs +0 -1158
- package/build/internal/es/meta.mjs.map +0 -1
|
@@ -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`,
|
|
35
|
+
(options?: NonNullablePaths<UpdateOptions, `item`, 0>): 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`, 0>>;
|
|
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`, 0>>;
|
|
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`, 0>>;
|
|
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`,
|
|
135
|
+
(options?: NonNullablePaths<DistinctOptions, `propertyName`, 0>): Promise<NonNullablePaths<DistinctResponse, `items`, 0>>;
|
|
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`,
|
|
152
|
+
(options?: NonNullablePaths<BulkInsertOptions, `items`, 0>): Promise<NonNullablePaths<BulkInsertResponse, `insertedItemIds` | `errors` | `errors.${number}.message` | `errors.${number}.details.applicationError.code` | `errors.${number}.details.applicationError.description` | `errors.${number}.originalIndex`, 4>>;
|
|
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`,
|
|
175
|
+
(options?: NonNullablePaths<BulkSaveOptions, `items`, 0>): Promise<NonNullablePaths<BulkSaveResponse, `insertedItemIds` | `updatedItemIds` | `errors` | `errors.${number}.message` | `errors.${number}.details.applicationError.code` | `errors.${number}.details.applicationError.description` | `errors.${number}.originalIndex`, 4>>;
|
|
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`,
|
|
196
|
+
(options?: NonNullablePaths<BulkUpdateOptions, `items`, 0>): Promise<NonNullablePaths<BulkUpdateResponse, `updatedItemIds` | `errors` | `errors.${number}.message` | `errors.${number}.details.applicationError.code` | `errors.${number}.details.applicationError.description` | `errors.${number}.originalIndex`, 4>>;
|
|
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`, 4>>;
|
|
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`,
|
|
225
|
+
(options?: NonNullablePaths<QueryReferencedOptions, `propertyName` | `referringItemId`, 0>): Promise<NonNullablePaths<QueryReferencedResponse, `items` | `totalCount` | `totalResults` | `entities` | `entities.${number}.referenceId`, 2>>;
|
|
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`,
|
|
237
|
+
(options?: NonNullablePaths<BulkInsertReferencesOptions, `references` | `references.${number}.propertyName` | `references.${number}.referencedItemId` | `references.${number}.referringItemId`, 2>): 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`,
|
|
249
|
+
(options?: NonNullablePaths<BulkReplaceReferencesOptions, `propertyName` | `referringItemId`, 0>): 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`,
|
|
258
|
+
(options?: NonNullablePaths<BulkRemoveReferencesOptions, `references` | `references.${number}.propertyName`, 2>): 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`,
|
|
267
|
+
(options?: NonNullablePaths<IsReferencedOptions, `propertyName` | `referencedItemId` | `referringItemId`, 0>): Promise<NonNullablePaths<IsReferencedResponse, `isReferenced`, 0>>;
|
|
268
268
|
}
|
|
269
269
|
|
|
270
270
|
/** @internal */
|
|
@@ -1290,7 +1290,7 @@ interface InsertOptions {
|
|
|
1290
1290
|
* @deprecated
|
|
1291
1291
|
* @targetRemovalDate 2025-06-01
|
|
1292
1292
|
*/
|
|
1293
|
-
declare function update(options?: NonNullablePaths<UpdateOptions, `item`,
|
|
1293
|
+
declare function update(options?: NonNullablePaths<UpdateOptions, `item`, 0>): Promise<UpdateResponse>;
|
|
1294
1294
|
interface UpdateOptions {
|
|
1295
1295
|
/** Item to update. The existing item is replaced with this version. */
|
|
1296
1296
|
item: Record<string, any> | null;
|
|
@@ -1394,7 +1394,7 @@ interface TruncateOptions {
|
|
|
1394
1394
|
* @deprecated
|
|
1395
1395
|
* @targetRemovalDate 2025-06-01
|
|
1396
1396
|
*/
|
|
1397
|
-
declare function query(options?: QueryOptions): Promise<NonNullablePaths<QueryResponse, `items` | `totalCount` | `totalResults` | `partialIncludes`,
|
|
1397
|
+
declare function query(options?: QueryOptions): Promise<NonNullablePaths<QueryResponse, `items` | `totalCount` | `totalResults` | `partialIncludes`, 0>>;
|
|
1398
1398
|
interface QueryOptions {
|
|
1399
1399
|
/** Query preferences. For more details on using queries, see [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language). */
|
|
1400
1400
|
dataQuery?: QueryV2;
|
|
@@ -1422,7 +1422,7 @@ interface QueryOptions {
|
|
|
1422
1422
|
* @deprecated
|
|
1423
1423
|
* @targetRemovalDate 2025-06-01
|
|
1424
1424
|
*/
|
|
1425
|
-
declare function aggregate(options?: AggregateOptions): Promise<NonNullablePaths<AggregationResponse, `items`,
|
|
1425
|
+
declare function aggregate(options?: AggregateOptions): Promise<NonNullablePaths<AggregationResponse, `items`, 0>>;
|
|
1426
1426
|
interface AggregateOptions {
|
|
1427
1427
|
/** Paging preferences. */
|
|
1428
1428
|
paging?: Paging;
|
|
@@ -1495,7 +1495,7 @@ interface AggregateOptions {
|
|
|
1495
1495
|
* @deprecated
|
|
1496
1496
|
* @targetRemovalDate 2025-06-01
|
|
1497
1497
|
*/
|
|
1498
|
-
declare function count(options?: CountOptions): Promise<NonNullablePaths<CountResponse, `totalCount` | `totalResults`,
|
|
1498
|
+
declare function count(options?: CountOptions): Promise<NonNullablePaths<CountResponse, `totalCount` | `totalResults`, 0>>;
|
|
1499
1499
|
interface CountOptions {
|
|
1500
1500
|
/** Filter preferences defining the query. For more information on how to structure a filter object, see [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language#getting-started_api-query-language_the-filter-section). */
|
|
1501
1501
|
filter?: Record<string, any> | null;
|
|
@@ -1519,7 +1519,7 @@ interface CountOptions {
|
|
|
1519
1519
|
* @deprecated
|
|
1520
1520
|
* @targetRemovalDate 2025-06-01
|
|
1521
1521
|
*/
|
|
1522
|
-
declare function distinct(options?: NonNullablePaths<DistinctOptions, `propertyName`,
|
|
1522
|
+
declare function distinct(options?: NonNullablePaths<DistinctOptions, `propertyName`, 0>): Promise<NonNullablePaths<DistinctResponse, `items`, 0>>;
|
|
1523
1523
|
interface DistinctOptions {
|
|
1524
1524
|
/** Query preferences. For more details on using queries, see [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language). */
|
|
1525
1525
|
dataQuery?: QueryV2;
|
|
@@ -1554,7 +1554,7 @@ interface DistinctOptions {
|
|
|
1554
1554
|
* @deprecated
|
|
1555
1555
|
* @targetRemovalDate 2025-06-01
|
|
1556
1556
|
*/
|
|
1557
|
-
declare function bulkInsert(options?: NonNullablePaths<BulkInsertOptions, `items`,
|
|
1557
|
+
declare function bulkInsert(options?: NonNullablePaths<BulkInsertOptions, `items`, 0>): Promise<NonNullablePaths<BulkInsertResponse, `insertedItemIds` | `errors` | `errors.${number}.message` | `errors.${number}.details.applicationError.code` | `errors.${number}.details.applicationError.description` | `errors.${number}.originalIndex`, 4>>;
|
|
1558
1558
|
interface BulkInsertOptions {
|
|
1559
1559
|
/** Items to insert. */
|
|
1560
1560
|
items: Record<string, any>[] | null;
|
|
@@ -1586,7 +1586,7 @@ interface BulkInsertOptions {
|
|
|
1586
1586
|
* @deprecated
|
|
1587
1587
|
* @targetRemovalDate 2025-06-01
|
|
1588
1588
|
*/
|
|
1589
|
-
declare function bulkSave(options?: NonNullablePaths<BulkSaveOptions, `items`,
|
|
1589
|
+
declare function bulkSave(options?: NonNullablePaths<BulkSaveOptions, `items`, 0>): Promise<NonNullablePaths<BulkSaveResponse, `insertedItemIds` | `updatedItemIds` | `errors` | `errors.${number}.message` | `errors.${number}.details.applicationError.code` | `errors.${number}.details.applicationError.description` | `errors.${number}.originalIndex`, 4>>;
|
|
1590
1590
|
interface BulkSaveOptions {
|
|
1591
1591
|
/** Items to insert or update. */
|
|
1592
1592
|
items: Record<string, any>[] | null;
|
|
@@ -1616,7 +1616,7 @@ interface BulkSaveOptions {
|
|
|
1616
1616
|
* @deprecated
|
|
1617
1617
|
* @targetRemovalDate 2025-06-01
|
|
1618
1618
|
*/
|
|
1619
|
-
declare function bulkUpdate(options?: NonNullablePaths<BulkUpdateOptions, `items`,
|
|
1619
|
+
declare function bulkUpdate(options?: NonNullablePaths<BulkUpdateOptions, `items`, 0>): Promise<NonNullablePaths<BulkUpdateResponse, `updatedItemIds` | `errors` | `errors.${number}.message` | `errors.${number}.details.applicationError.code` | `errors.${number}.details.applicationError.description` | `errors.${number}.originalIndex`, 4>>;
|
|
1620
1620
|
interface BulkUpdateOptions {
|
|
1621
1621
|
/** Items to update. */
|
|
1622
1622
|
items: Record<string, any>[] | null;
|
|
@@ -1640,7 +1640,7 @@ interface BulkUpdateOptions {
|
|
|
1640
1640
|
* @deprecated
|
|
1641
1641
|
* @targetRemovalDate 2025-06-01
|
|
1642
1642
|
*/
|
|
1643
|
-
declare function bulkRemove(options?: BulkRemoveOptions): Promise<NonNullablePaths<BulkRemoveResponse, `removedItemIds` | `errors` | `errors.${number}.message` | `errors.${number}.details.applicationError.code` | `errors.${number}.details.applicationError.description` | `errors.${number}.originalIndex`,
|
|
1643
|
+
declare function bulkRemove(options?: BulkRemoveOptions): Promise<NonNullablePaths<BulkRemoveResponse, `removedItemIds` | `errors` | `errors.${number}.message` | `errors.${number}.details.applicationError.code` | `errors.${number}.details.applicationError.description` | `errors.${number}.originalIndex`, 4>>;
|
|
1644
1644
|
interface BulkRemoveOptions {
|
|
1645
1645
|
/** IDs of items to remove. */
|
|
1646
1646
|
entries?: BulkRemoveRequestEntry[];
|
|
@@ -1662,7 +1662,7 @@ interface BulkRemoveOptions {
|
|
|
1662
1662
|
* @deprecated
|
|
1663
1663
|
* @targetRemovalDate 2025-06-01
|
|
1664
1664
|
*/
|
|
1665
|
-
declare function queryReferenced(options?: NonNullablePaths<QueryReferencedOptions, `propertyName` | `referringItemId`,
|
|
1665
|
+
declare function queryReferenced(options?: NonNullablePaths<QueryReferencedOptions, `propertyName` | `referringItemId`, 0>): Promise<NonNullablePaths<QueryReferencedResponse, `items` | `totalCount` | `totalResults` | `entities` | `entities.${number}.referenceId`, 2>>;
|
|
1666
1666
|
interface QueryReferencedOptions {
|
|
1667
1667
|
/** ID of the referring item. */
|
|
1668
1668
|
referringItemId: string;
|
|
@@ -1697,7 +1697,7 @@ interface QueryReferencedOptions {
|
|
|
1697
1697
|
* @deprecated
|
|
1698
1698
|
* @targetRemovalDate 2025-06-01
|
|
1699
1699
|
*/
|
|
1700
|
-
declare function bulkInsertReferences(options?: NonNullablePaths<BulkInsertReferencesOptions, `references` | `references.${number}.propertyName` | `references.${number}.referencedItemId` | `references.${number}.referringItemId`,
|
|
1700
|
+
declare function bulkInsertReferences(options?: NonNullablePaths<BulkInsertReferencesOptions, `references` | `references.${number}.propertyName` | `references.${number}.referencedItemId` | `references.${number}.referringItemId`, 2>): Promise<void>;
|
|
1701
1701
|
interface BulkInsertReferencesOptions {
|
|
1702
1702
|
/**
|
|
1703
1703
|
* References to insert.
|
|
@@ -1722,7 +1722,7 @@ interface BulkInsertReferencesOptions {
|
|
|
1722
1722
|
* @deprecated
|
|
1723
1723
|
* @targetRemovalDate 2025-06-01
|
|
1724
1724
|
*/
|
|
1725
|
-
declare function bulkReplaceReferences(options?: NonNullablePaths<BulkReplaceReferencesOptions, `propertyName` | `referringItemId`,
|
|
1725
|
+
declare function bulkReplaceReferences(options?: NonNullablePaths<BulkReplaceReferencesOptions, `propertyName` | `referringItemId`, 0>): Promise<void>;
|
|
1726
1726
|
interface BulkReplaceReferencesOptions {
|
|
1727
1727
|
/** Property containing the references to the referenced items. */
|
|
1728
1728
|
propertyName: string;
|
|
@@ -1745,7 +1745,7 @@ interface BulkReplaceReferencesOptions {
|
|
|
1745
1745
|
* @deprecated
|
|
1746
1746
|
* @targetRemovalDate 2025-06-01
|
|
1747
1747
|
*/
|
|
1748
|
-
declare function bulkRemoveReferences(options?: NonNullablePaths<BulkRemoveReferencesOptions, `references` | `references.${number}.propertyName`,
|
|
1748
|
+
declare function bulkRemoveReferences(options?: NonNullablePaths<BulkRemoveReferencesOptions, `references` | `references.${number}.propertyName`, 2>): Promise<void>;
|
|
1749
1749
|
interface BulkRemoveReferencesOptions {
|
|
1750
1750
|
/**
|
|
1751
1751
|
* References to be removed.
|
|
@@ -1767,7 +1767,7 @@ interface BulkRemoveReferencesOptions {
|
|
|
1767
1767
|
* @deprecated
|
|
1768
1768
|
* @targetRemovalDate 2025-06-01
|
|
1769
1769
|
*/
|
|
1770
|
-
declare function isReferenced(options?: NonNullablePaths<IsReferencedOptions, `propertyName` | `referencedItemId` | `referringItemId`,
|
|
1770
|
+
declare function isReferenced(options?: NonNullablePaths<IsReferencedOptions, `propertyName` | `referencedItemId` | `referringItemId`, 0>): Promise<NonNullablePaths<IsReferencedResponse, `isReferenced`, 0>>;
|
|
1771
1771
|
interface IsReferencedOptions {
|
|
1772
1772
|
/** Property that may contain a reference to the specified item. */
|
|
1773
1773
|
propertyName: string;
|
|
@@ -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`,
|
|
35
|
+
(options?: NonNullablePaths<UpdateOptions, `item`, 0>): 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`, 0>>;
|
|
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`, 0>>;
|
|
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`, 0>>;
|
|
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`,
|
|
135
|
+
(options?: NonNullablePaths<DistinctOptions, `propertyName`, 0>): Promise<NonNullablePaths<DistinctResponse, `items`, 0>>;
|
|
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`,
|
|
152
|
+
(options?: NonNullablePaths<BulkInsertOptions, `items`, 0>): Promise<NonNullablePaths<BulkInsertResponse, `insertedItemIds` | `errors` | `errors.${number}.message` | `errors.${number}.details.applicationError.code` | `errors.${number}.details.applicationError.description` | `errors.${number}.originalIndex`, 4>>;
|
|
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`,
|
|
175
|
+
(options?: NonNullablePaths<BulkSaveOptions, `items`, 0>): Promise<NonNullablePaths<BulkSaveResponse, `insertedItemIds` | `updatedItemIds` | `errors` | `errors.${number}.message` | `errors.${number}.details.applicationError.code` | `errors.${number}.details.applicationError.description` | `errors.${number}.originalIndex`, 4>>;
|
|
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`,
|
|
196
|
+
(options?: NonNullablePaths<BulkUpdateOptions, `items`, 0>): Promise<NonNullablePaths<BulkUpdateResponse, `updatedItemIds` | `errors` | `errors.${number}.message` | `errors.${number}.details.applicationError.code` | `errors.${number}.details.applicationError.description` | `errors.${number}.originalIndex`, 4>>;
|
|
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`, 4>>;
|
|
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`,
|
|
225
|
+
(options?: NonNullablePaths<QueryReferencedOptions, `propertyName` | `referringItemId`, 0>): Promise<NonNullablePaths<QueryReferencedResponse, `items` | `totalCount` | `totalResults` | `entities` | `entities.${number}.referenceId`, 2>>;
|
|
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`,
|
|
237
|
+
(options?: NonNullablePaths<BulkInsertReferencesOptions, `references` | `references.${number}.propertyName` | `references.${number}.referencedItemId` | `references.${number}.referringItemId`, 2>): 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`,
|
|
249
|
+
(options?: NonNullablePaths<BulkReplaceReferencesOptions, `propertyName` | `referringItemId`, 0>): 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`,
|
|
258
|
+
(options?: NonNullablePaths<BulkRemoveReferencesOptions, `references` | `references.${number}.propertyName`, 2>): 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`,
|
|
267
|
+
(options?: NonNullablePaths<IsReferencedOptions, `propertyName` | `referencedItemId` | `referringItemId`, 0>): Promise<NonNullablePaths<IsReferencedResponse, `isReferenced`, 0>>;
|
|
268
268
|
}
|
|
269
269
|
|
|
270
270
|
/** @internal */
|
|
@@ -1290,7 +1290,7 @@ interface InsertOptions {
|
|
|
1290
1290
|
* @deprecated
|
|
1291
1291
|
* @targetRemovalDate 2025-06-01
|
|
1292
1292
|
*/
|
|
1293
|
-
declare function update(options?: NonNullablePaths<UpdateOptions, `item`,
|
|
1293
|
+
declare function update(options?: NonNullablePaths<UpdateOptions, `item`, 0>): Promise<UpdateResponse>;
|
|
1294
1294
|
interface UpdateOptions {
|
|
1295
1295
|
/** Item to update. The existing item is replaced with this version. */
|
|
1296
1296
|
item: Record<string, any> | null;
|
|
@@ -1394,7 +1394,7 @@ interface TruncateOptions {
|
|
|
1394
1394
|
* @deprecated
|
|
1395
1395
|
* @targetRemovalDate 2025-06-01
|
|
1396
1396
|
*/
|
|
1397
|
-
declare function query(options?: QueryOptions): Promise<NonNullablePaths<QueryResponse, `items` | `totalCount` | `totalResults` | `partialIncludes`,
|
|
1397
|
+
declare function query(options?: QueryOptions): Promise<NonNullablePaths<QueryResponse, `items` | `totalCount` | `totalResults` | `partialIncludes`, 0>>;
|
|
1398
1398
|
interface QueryOptions {
|
|
1399
1399
|
/** Query preferences. For more details on using queries, see [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language). */
|
|
1400
1400
|
dataQuery?: QueryV2;
|
|
@@ -1422,7 +1422,7 @@ interface QueryOptions {
|
|
|
1422
1422
|
* @deprecated
|
|
1423
1423
|
* @targetRemovalDate 2025-06-01
|
|
1424
1424
|
*/
|
|
1425
|
-
declare function aggregate(options?: AggregateOptions): Promise<NonNullablePaths<AggregationResponse, `items`,
|
|
1425
|
+
declare function aggregate(options?: AggregateOptions): Promise<NonNullablePaths<AggregationResponse, `items`, 0>>;
|
|
1426
1426
|
interface AggregateOptions {
|
|
1427
1427
|
/** Paging preferences. */
|
|
1428
1428
|
paging?: Paging;
|
|
@@ -1495,7 +1495,7 @@ interface AggregateOptions {
|
|
|
1495
1495
|
* @deprecated
|
|
1496
1496
|
* @targetRemovalDate 2025-06-01
|
|
1497
1497
|
*/
|
|
1498
|
-
declare function count(options?: CountOptions): Promise<NonNullablePaths<CountResponse, `totalCount` | `totalResults`,
|
|
1498
|
+
declare function count(options?: CountOptions): Promise<NonNullablePaths<CountResponse, `totalCount` | `totalResults`, 0>>;
|
|
1499
1499
|
interface CountOptions {
|
|
1500
1500
|
/** Filter preferences defining the query. For more information on how to structure a filter object, see [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language#getting-started_api-query-language_the-filter-section). */
|
|
1501
1501
|
filter?: Record<string, any> | null;
|
|
@@ -1519,7 +1519,7 @@ interface CountOptions {
|
|
|
1519
1519
|
* @deprecated
|
|
1520
1520
|
* @targetRemovalDate 2025-06-01
|
|
1521
1521
|
*/
|
|
1522
|
-
declare function distinct(options?: NonNullablePaths<DistinctOptions, `propertyName`,
|
|
1522
|
+
declare function distinct(options?: NonNullablePaths<DistinctOptions, `propertyName`, 0>): Promise<NonNullablePaths<DistinctResponse, `items`, 0>>;
|
|
1523
1523
|
interface DistinctOptions {
|
|
1524
1524
|
/** Query preferences. For more details on using queries, see [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language). */
|
|
1525
1525
|
dataQuery?: QueryV2;
|
|
@@ -1554,7 +1554,7 @@ interface DistinctOptions {
|
|
|
1554
1554
|
* @deprecated
|
|
1555
1555
|
* @targetRemovalDate 2025-06-01
|
|
1556
1556
|
*/
|
|
1557
|
-
declare function bulkInsert(options?: NonNullablePaths<BulkInsertOptions, `items`,
|
|
1557
|
+
declare function bulkInsert(options?: NonNullablePaths<BulkInsertOptions, `items`, 0>): Promise<NonNullablePaths<BulkInsertResponse, `insertedItemIds` | `errors` | `errors.${number}.message` | `errors.${number}.details.applicationError.code` | `errors.${number}.details.applicationError.description` | `errors.${number}.originalIndex`, 4>>;
|
|
1558
1558
|
interface BulkInsertOptions {
|
|
1559
1559
|
/** Items to insert. */
|
|
1560
1560
|
items: Record<string, any>[] | null;
|
|
@@ -1586,7 +1586,7 @@ interface BulkInsertOptions {
|
|
|
1586
1586
|
* @deprecated
|
|
1587
1587
|
* @targetRemovalDate 2025-06-01
|
|
1588
1588
|
*/
|
|
1589
|
-
declare function bulkSave(options?: NonNullablePaths<BulkSaveOptions, `items`,
|
|
1589
|
+
declare function bulkSave(options?: NonNullablePaths<BulkSaveOptions, `items`, 0>): Promise<NonNullablePaths<BulkSaveResponse, `insertedItemIds` | `updatedItemIds` | `errors` | `errors.${number}.message` | `errors.${number}.details.applicationError.code` | `errors.${number}.details.applicationError.description` | `errors.${number}.originalIndex`, 4>>;
|
|
1590
1590
|
interface BulkSaveOptions {
|
|
1591
1591
|
/** Items to insert or update. */
|
|
1592
1592
|
items: Record<string, any>[] | null;
|
|
@@ -1616,7 +1616,7 @@ interface BulkSaveOptions {
|
|
|
1616
1616
|
* @deprecated
|
|
1617
1617
|
* @targetRemovalDate 2025-06-01
|
|
1618
1618
|
*/
|
|
1619
|
-
declare function bulkUpdate(options?: NonNullablePaths<BulkUpdateOptions, `items`,
|
|
1619
|
+
declare function bulkUpdate(options?: NonNullablePaths<BulkUpdateOptions, `items`, 0>): Promise<NonNullablePaths<BulkUpdateResponse, `updatedItemIds` | `errors` | `errors.${number}.message` | `errors.${number}.details.applicationError.code` | `errors.${number}.details.applicationError.description` | `errors.${number}.originalIndex`, 4>>;
|
|
1620
1620
|
interface BulkUpdateOptions {
|
|
1621
1621
|
/** Items to update. */
|
|
1622
1622
|
items: Record<string, any>[] | null;
|
|
@@ -1640,7 +1640,7 @@ interface BulkUpdateOptions {
|
|
|
1640
1640
|
* @deprecated
|
|
1641
1641
|
* @targetRemovalDate 2025-06-01
|
|
1642
1642
|
*/
|
|
1643
|
-
declare function bulkRemove(options?: BulkRemoveOptions): Promise<NonNullablePaths<BulkRemoveResponse, `removedItemIds` | `errors` | `errors.${number}.message` | `errors.${number}.details.applicationError.code` | `errors.${number}.details.applicationError.description` | `errors.${number}.originalIndex`,
|
|
1643
|
+
declare function bulkRemove(options?: BulkRemoveOptions): Promise<NonNullablePaths<BulkRemoveResponse, `removedItemIds` | `errors` | `errors.${number}.message` | `errors.${number}.details.applicationError.code` | `errors.${number}.details.applicationError.description` | `errors.${number}.originalIndex`, 4>>;
|
|
1644
1644
|
interface BulkRemoveOptions {
|
|
1645
1645
|
/** IDs of items to remove. */
|
|
1646
1646
|
entries?: BulkRemoveRequestEntry[];
|
|
@@ -1662,7 +1662,7 @@ interface BulkRemoveOptions {
|
|
|
1662
1662
|
* @deprecated
|
|
1663
1663
|
* @targetRemovalDate 2025-06-01
|
|
1664
1664
|
*/
|
|
1665
|
-
declare function queryReferenced(options?: NonNullablePaths<QueryReferencedOptions, `propertyName` | `referringItemId`,
|
|
1665
|
+
declare function queryReferenced(options?: NonNullablePaths<QueryReferencedOptions, `propertyName` | `referringItemId`, 0>): Promise<NonNullablePaths<QueryReferencedResponse, `items` | `totalCount` | `totalResults` | `entities` | `entities.${number}.referenceId`, 2>>;
|
|
1666
1666
|
interface QueryReferencedOptions {
|
|
1667
1667
|
/** ID of the referring item. */
|
|
1668
1668
|
referringItemId: string;
|
|
@@ -1697,7 +1697,7 @@ interface QueryReferencedOptions {
|
|
|
1697
1697
|
* @deprecated
|
|
1698
1698
|
* @targetRemovalDate 2025-06-01
|
|
1699
1699
|
*/
|
|
1700
|
-
declare function bulkInsertReferences(options?: NonNullablePaths<BulkInsertReferencesOptions, `references` | `references.${number}.propertyName` | `references.${number}.referencedItemId` | `references.${number}.referringItemId`,
|
|
1700
|
+
declare function bulkInsertReferences(options?: NonNullablePaths<BulkInsertReferencesOptions, `references` | `references.${number}.propertyName` | `references.${number}.referencedItemId` | `references.${number}.referringItemId`, 2>): Promise<void>;
|
|
1701
1701
|
interface BulkInsertReferencesOptions {
|
|
1702
1702
|
/**
|
|
1703
1703
|
* References to insert.
|
|
@@ -1722,7 +1722,7 @@ interface BulkInsertReferencesOptions {
|
|
|
1722
1722
|
* @deprecated
|
|
1723
1723
|
* @targetRemovalDate 2025-06-01
|
|
1724
1724
|
*/
|
|
1725
|
-
declare function bulkReplaceReferences(options?: NonNullablePaths<BulkReplaceReferencesOptions, `propertyName` | `referringItemId`,
|
|
1725
|
+
declare function bulkReplaceReferences(options?: NonNullablePaths<BulkReplaceReferencesOptions, `propertyName` | `referringItemId`, 0>): Promise<void>;
|
|
1726
1726
|
interface BulkReplaceReferencesOptions {
|
|
1727
1727
|
/** Property containing the references to the referenced items. */
|
|
1728
1728
|
propertyName: string;
|
|
@@ -1745,7 +1745,7 @@ interface BulkReplaceReferencesOptions {
|
|
|
1745
1745
|
* @deprecated
|
|
1746
1746
|
* @targetRemovalDate 2025-06-01
|
|
1747
1747
|
*/
|
|
1748
|
-
declare function bulkRemoveReferences(options?: NonNullablePaths<BulkRemoveReferencesOptions, `references` | `references.${number}.propertyName`,
|
|
1748
|
+
declare function bulkRemoveReferences(options?: NonNullablePaths<BulkRemoveReferencesOptions, `references` | `references.${number}.propertyName`, 2>): Promise<void>;
|
|
1749
1749
|
interface BulkRemoveReferencesOptions {
|
|
1750
1750
|
/**
|
|
1751
1751
|
* References to be removed.
|
|
@@ -1767,7 +1767,7 @@ interface BulkRemoveReferencesOptions {
|
|
|
1767
1767
|
* @deprecated
|
|
1768
1768
|
* @targetRemovalDate 2025-06-01
|
|
1769
1769
|
*/
|
|
1770
|
-
declare function isReferenced(options?: NonNullablePaths<IsReferencedOptions, `propertyName` | `referencedItemId` | `referringItemId`,
|
|
1770
|
+
declare function isReferenced(options?: NonNullablePaths<IsReferencedOptions, `propertyName` | `referencedItemId` | `referringItemId`, 0>): Promise<NonNullablePaths<IsReferencedResponse, `isReferenced`, 0>>;
|
|
1771
1771
|
interface IsReferencedOptions {
|
|
1772
1772
|
/** Property that may contain a reference to the specified item. */
|
|
1773
1773
|
propertyName: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_data-backend-public-sdk-poc_data",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.53",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -29,9 +29,8 @@
|
|
|
29
29
|
"service-plugins"
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@wix/sdk-runtime": "^1.0.
|
|
33
|
-
"@wix/sdk-types": "^1.17.11"
|
|
34
|
-
"zod": "^4.3.6"
|
|
32
|
+
"@wix/sdk-runtime": "^1.0.24",
|
|
33
|
+
"@wix/sdk-types": "^1.17.11"
|
|
35
34
|
},
|
|
36
35
|
"devDependencies": {
|
|
37
36
|
"tsup": "^8.4.0",
|
|
@@ -51,5 +50,5 @@
|
|
|
51
50
|
"fqdn": "wix.data.v1.data_service"
|
|
52
51
|
}
|
|
53
52
|
},
|
|
54
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "0ea95e75791d7ea8da19ae5936e44e8d178404428c946877f770e238"
|
|
55
54
|
}
|