@wix/auto_sdk_data-backend-public-sdk-poc_data 1.0.30 → 1.0.32

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.
Files changed (119) hide show
  1. package/build/cjs/{src/data-v1-data-service-data.universal.d.ts → data-v1-data-service-data.universal-DwJ77xKF.d.ts} +91 -104
  2. package/build/cjs/index.d.ts +18 -1
  3. package/build/cjs/index.js +1506 -15
  4. package/build/cjs/index.js.map +1 -1
  5. package/build/cjs/meta.d.ts +504 -1
  6. package/build/cjs/meta.js +1090 -15
  7. package/build/cjs/meta.js.map +1 -1
  8. package/build/es/{src/data-v1-data-service-data.universal.d.ts → data-v1-data-service-data.universal-DwJ77xKF.d.mts} +91 -104
  9. package/build/es/index.d.mts +18 -0
  10. package/build/es/index.mjs +1464 -0
  11. package/build/es/index.mjs.map +1 -0
  12. package/build/{cjs/src/data-v1-data-service-data.types.d.ts → es/meta.d.mts} +94 -167
  13. package/build/es/meta.mjs +1048 -0
  14. package/build/es/meta.mjs.map +1 -0
  15. package/build/{es/src/data-v1-data-service-data.types.d.ts → internal/cjs/data-v1-data-service-data.universal-B0E_2MN6.d.ts} +284 -72
  16. package/build/internal/cjs/index.d.ts +308 -1
  17. package/build/internal/cjs/index.js +1506 -15
  18. package/build/internal/cjs/index.js.map +1 -1
  19. package/build/internal/cjs/meta.d.ts +504 -1
  20. package/build/internal/cjs/meta.js +1090 -15
  21. package/build/internal/cjs/meta.js.map +1 -1
  22. package/build/internal/es/data-v1-data-service-data.universal-B0E_2MN6.d.mts +789 -0
  23. package/build/internal/es/{src/data-v1-data-service-data.public.d.ts → index.d.mts} +63 -25
  24. package/build/internal/es/index.mjs +1464 -0
  25. package/build/internal/es/index.mjs.map +1 -0
  26. package/build/internal/{cjs/src/data-v1-data-service-data.types.d.ts → es/meta.d.mts} +94 -167
  27. package/build/internal/es/meta.mjs +1048 -0
  28. package/build/internal/es/meta.mjs.map +1 -0
  29. package/package.json +9 -8
  30. package/build/cjs/index.typings.d.ts +0 -1
  31. package/build/cjs/index.typings.js +0 -18
  32. package/build/cjs/index.typings.js.map +0 -1
  33. package/build/cjs/src/data-v1-data-service-data.context.d.ts +0 -5
  34. package/build/cjs/src/data-v1-data-service-data.context.js +0 -47
  35. package/build/cjs/src/data-v1-data-service-data.context.js.map +0 -1
  36. package/build/cjs/src/data-v1-data-service-data.http.d.ts +0 -188
  37. package/build/cjs/src/data-v1-data-service-data.http.js +0 -872
  38. package/build/cjs/src/data-v1-data-service-data.http.js.map +0 -1
  39. package/build/cjs/src/data-v1-data-service-data.meta.d.ts +0 -37
  40. package/build/cjs/src/data-v1-data-service-data.meta.js +0 -389
  41. package/build/cjs/src/data-v1-data-service-data.meta.js.map +0 -1
  42. package/build/cjs/src/data-v1-data-service-data.public.d.ts +0 -16
  43. package/build/cjs/src/data-v1-data-service-data.public.js +0 -142
  44. package/build/cjs/src/data-v1-data-service-data.public.js.map +0 -1
  45. package/build/cjs/src/data-v1-data-service-data.types.js +0 -23
  46. package/build/cjs/src/data-v1-data-service-data.types.js.map +0 -1
  47. package/build/cjs/src/data-v1-data-service-data.universal.js +0 -930
  48. package/build/cjs/src/data-v1-data-service-data.universal.js.map +0 -1
  49. package/build/es/index.d.ts +0 -1
  50. package/build/es/index.js +0 -2
  51. package/build/es/index.js.map +0 -1
  52. package/build/es/index.typings.d.ts +0 -1
  53. package/build/es/index.typings.js +0 -2
  54. package/build/es/index.typings.js.map +0 -1
  55. package/build/es/meta.d.ts +0 -1
  56. package/build/es/meta.js +0 -2
  57. package/build/es/meta.js.map +0 -1
  58. package/build/es/src/data-v1-data-service-data.context.d.ts +0 -5
  59. package/build/es/src/data-v1-data-service-data.context.js +0 -41
  60. package/build/es/src/data-v1-data-service-data.context.js.map +0 -1
  61. package/build/es/src/data-v1-data-service-data.http.d.ts +0 -188
  62. package/build/es/src/data-v1-data-service-data.http.js +0 -850
  63. package/build/es/src/data-v1-data-service-data.http.js.map +0 -1
  64. package/build/es/src/data-v1-data-service-data.meta.d.ts +0 -37
  65. package/build/es/src/data-v1-data-service-data.meta.js +0 -344
  66. package/build/es/src/data-v1-data-service-data.meta.js.map +0 -1
  67. package/build/es/src/data-v1-data-service-data.public.d.ts +0 -16
  68. package/build/es/src/data-v1-data-service-data.public.js +0 -117
  69. package/build/es/src/data-v1-data-service-data.public.js.map +0 -1
  70. package/build/es/src/data-v1-data-service-data.types.js +0 -20
  71. package/build/es/src/data-v1-data-service-data.types.js.map +0 -1
  72. package/build/es/src/data-v1-data-service-data.universal.js +0 -885
  73. package/build/es/src/data-v1-data-service-data.universal.js.map +0 -1
  74. package/build/internal/cjs/index.typings.d.ts +0 -1
  75. package/build/internal/cjs/index.typings.js +0 -18
  76. package/build/internal/cjs/index.typings.js.map +0 -1
  77. package/build/internal/cjs/src/data-v1-data-service-data.context.d.ts +0 -41
  78. package/build/internal/cjs/src/data-v1-data-service-data.context.js +0 -47
  79. package/build/internal/cjs/src/data-v1-data-service-data.context.js.map +0 -1
  80. package/build/internal/cjs/src/data-v1-data-service-data.http.d.ts +0 -188
  81. package/build/internal/cjs/src/data-v1-data-service-data.http.js +0 -872
  82. package/build/internal/cjs/src/data-v1-data-service-data.http.js.map +0 -1
  83. package/build/internal/cjs/src/data-v1-data-service-data.meta.d.ts +0 -37
  84. package/build/internal/cjs/src/data-v1-data-service-data.meta.js +0 -389
  85. package/build/internal/cjs/src/data-v1-data-service-data.meta.js.map +0 -1
  86. package/build/internal/cjs/src/data-v1-data-service-data.public.d.ts +0 -270
  87. package/build/internal/cjs/src/data-v1-data-service-data.public.js +0 -142
  88. package/build/internal/cjs/src/data-v1-data-service-data.public.js.map +0 -1
  89. package/build/internal/cjs/src/data-v1-data-service-data.types.js +0 -23
  90. package/build/internal/cjs/src/data-v1-data-service-data.types.js.map +0 -1
  91. package/build/internal/cjs/src/data-v1-data-service-data.universal.d.ts +0 -1136
  92. package/build/internal/cjs/src/data-v1-data-service-data.universal.js +0 -930
  93. package/build/internal/cjs/src/data-v1-data-service-data.universal.js.map +0 -1
  94. package/build/internal/es/index.d.ts +0 -1
  95. package/build/internal/es/index.js +0 -2
  96. package/build/internal/es/index.js.map +0 -1
  97. package/build/internal/es/index.typings.d.ts +0 -1
  98. package/build/internal/es/index.typings.js +0 -2
  99. package/build/internal/es/index.typings.js.map +0 -1
  100. package/build/internal/es/meta.d.ts +0 -1
  101. package/build/internal/es/meta.js +0 -2
  102. package/build/internal/es/meta.js.map +0 -1
  103. package/build/internal/es/src/data-v1-data-service-data.context.d.ts +0 -41
  104. package/build/internal/es/src/data-v1-data-service-data.context.js +0 -41
  105. package/build/internal/es/src/data-v1-data-service-data.context.js.map +0 -1
  106. package/build/internal/es/src/data-v1-data-service-data.http.d.ts +0 -188
  107. package/build/internal/es/src/data-v1-data-service-data.http.js +0 -850
  108. package/build/internal/es/src/data-v1-data-service-data.http.js.map +0 -1
  109. package/build/internal/es/src/data-v1-data-service-data.meta.d.ts +0 -37
  110. package/build/internal/es/src/data-v1-data-service-data.meta.js +0 -344
  111. package/build/internal/es/src/data-v1-data-service-data.meta.js.map +0 -1
  112. package/build/internal/es/src/data-v1-data-service-data.public.js +0 -117
  113. package/build/internal/es/src/data-v1-data-service-data.public.js.map +0 -1
  114. package/build/internal/es/src/data-v1-data-service-data.types.d.ts +0 -577
  115. package/build/internal/es/src/data-v1-data-service-data.types.js +0 -20
  116. package/build/internal/es/src/data-v1-data-service-data.types.js.map +0 -1
  117. package/build/internal/es/src/data-v1-data-service-data.universal.d.ts +0 -1136
  118. package/build/internal/es/src/data-v1-data-service-data.universal.js +0 -885
  119. package/build/internal/es/src/data-v1-data-service-data.universal.js.map +0 -1
@@ -1 +1,308 @@
1
- export * from './src/data-v1-data-service-data.context.js';
1
+ import { HttpClient, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
2
+ import { I as InsertOptions, a as InsertResponse, U as UpdateOptions, b as UpdateResponse, S as SaveOptions, c as SaveResponse, G as GetOptions, d as GetResponse, R as RemoveOptions, e as RemoveResponse, T as TruncateOptions, Q as QueryOptions, f as QueryResponse, A as AggregateOptions, g as AggregationResponse, C as CountOptions, h as CountResponse, D as DistinctOptions, i as DistinctResponse, B as BulkInsertOptions, j as BulkInsertResponse, k as BulkSaveOptions, l as BulkSaveResponse, m as BulkUpdateOptions, n as BulkUpdateResponse, o as BulkRemoveOptions, p as BulkRemoveResponse, q as QueryReferencedOptions, r as QueryReferencedResponse, s as BulkInsertReferencesOptions, t as BulkReplaceReferencesOptions, u as BulkRemoveReferencesOptions, v as IsReferencedOptions, w as IsReferencedResponse } from './data-v1-data-service-data.universal-B0E_2MN6.js';
3
+ export { a6 as AggregationRequest, ab as ApplicationError, aa as BulkError, an as BulkInsertReferencesRequest, ap as BulkInsertReferencesResponse, a9 as BulkInsertRequest, af as BulkPatchRequest, ah as BulkPatchResponse, as as BulkRemoveReferencesRequest, at as BulkRemoveReferencesResponse, ai as BulkRemoveRequest, aj as BulkRemoveRequestEntry, aq as BulkReplaceReferencesRequest, ar as BulkReplaceReferencesResponse, ad as BulkSaveRequest, ae as BulkUpdateRequest, a7 as CountRequest, a3 as CursorPaging, a5 as Cursors, ac as Details, a8 as DistinctRequest, ag as Entry, N as GetRequest, E as InsertRequest, au as IsReferencedRequest, z as Item, F as Options, O as Order, a0 as Paging, a4 as PagingMetadataV2, P as PatchRequest, K as PatchResponse, L as PatchWhereRequest, M as PatchWhereResponse, _ as Query, ak as QueryReferencedRequest, Z as QueryRequest, a1 as QueryV2, a2 as QueryV2PagingMethodOneOf, V as ReadOptions, ao as Reference, al as ReferencedEntity, am as ReferencedEntityEntityOneOf, W as RemoveRequest, av as RestoreFromTrashBinRequest, aw as RestoreFromTrashBinResponse, J as SaveRequest, x as Segment, y as SortOrder, $ as Sorting, X as TruncateRequest, Y as TruncateResponse, H as UpdateRequest } from './data-v1-data-service-data.universal-B0E_2MN6.js';
4
+
5
+ /** @internal */
6
+ declare function insert$1(httpClient: HttpClient): InsertSignature;
7
+ interface InsertSignature {
8
+ /**
9
+ * Adds an item to a collection.
10
+ *
11
+ * When an item is inserted into a collection, the following properties and values are added to it:
12
+ * * `_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.
13
+ * * `_createdDate`: The date the item was added to the collection.
14
+ * * `_updatedDate`: The date the item was last modified. When the item is first inserted, `_createdDate` and `_updatedDate` have the same value.
15
+ * @deprecated
16
+ */
17
+ (options?: InsertOptions | undefined): Promise<InsertResponse>;
18
+ }
19
+ /** @internal */
20
+ declare function update$1(httpClient: HttpClient): UpdateSignature;
21
+ interface UpdateSignature {
22
+ /**
23
+ * Updates an item in a collection.
24
+ *
25
+ * 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
26
+ * the same ID, that item is updated. If the collection doesn't contain an item with that ID, the request fails.
27
+ *
28
+ * When an item is updated, its `_updatedDate` property is changed to the current date.
29
+ *
30
+ * **Note:**
31
+ * 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
32
+ * aren't included in the updated item, their values are lost.
33
+ * @deprecated
34
+ */
35
+ (options?: UpdateOptions | undefined): Promise<UpdateResponse>;
36
+ }
37
+ /** @internal */
38
+ declare function save$1(httpClient: HttpClient): SaveSignature;
39
+ interface SaveSignature {
40
+ /**
41
+ * Inserts or updates an item in a collection.
42
+ *
43
+ * The Save Data Item endpoint inserts or updates the specified item, depending on whether it already exists in the collection.
44
+ *
45
+ * * If you don't provide an ID, a new item is created.
46
+ *
47
+ * * If you provide an ID that doesn't exist in the collection, a new item is created with that ID.
48
+ *
49
+ * * 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.
50
+ *
51
+ * ***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.
52
+ * This means that all of the item's previous properties and values are lost.
53
+ * @deprecated
54
+ */
55
+ (options?: SaveOptions | undefined): Promise<SaveResponse>;
56
+ }
57
+ /** @internal */
58
+ declare function get$1(httpClient: HttpClient): GetSignature;
59
+ interface GetSignature {
60
+ /**
61
+ * Retrieves an item from a collection.
62
+ * @param - ID of the item to retrieve.
63
+ * @deprecated
64
+ */
65
+ (itemId: string, options?: GetOptions | undefined): Promise<GetResponse>;
66
+ }
67
+ /** @internal */
68
+ declare function remove$1(httpClient: HttpClient): RemoveSignature;
69
+ interface RemoveSignature {
70
+ /**
71
+ * Removes an item from a collection.
72
+ *
73
+ * If any items in other collections reference the removed item in a reference or multi-reference field, the field is cleared.
74
+ *
75
+ * **Note:**
76
+ * Once an item has been removed from a collection, it can't be restored.
77
+ * @param - ID of the item to remove.
78
+ * @deprecated
79
+ */
80
+ (itemId: string, options?: RemoveOptions | undefined): Promise<RemoveResponse>;
81
+ }
82
+ /** @internal */
83
+ declare function truncate$1(httpClient: HttpClient): TruncateSignature;
84
+ interface TruncateSignature {
85
+ /**
86
+ * Removes all items from a collection. Site owner (`ADMIN`) permissions are required in order to invoke this operation.
87
+ *
88
+ * If any items in other collections reference the removed items in reference or multi-reference fields, those fields are cleared.
89
+ *
90
+ * **Note:**
91
+ * Once items have been removed from a collection, they can't be restored.
92
+ * @deprecated
93
+ */
94
+ (options?: TruncateOptions | undefined): Promise<void>;
95
+ }
96
+ declare function query$1(httpClient: HttpClient): QuerySignature;
97
+ interface QuerySignature {
98
+ /**
99
+ * Retrieves a list of items, on the basis of the filtering, sorting, and paging preferences you provide.
100
+ *
101
+ * For more details on using queries, see [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language).
102
+ * @deprecated
103
+ */
104
+ (options?: QueryOptions | undefined): Promise<QueryResponse>;
105
+ }
106
+ /** @internal */
107
+ declare function aggregate$1(httpClient: HttpClient): AggregateSignature;
108
+ interface AggregateSignature {
109
+ /** @deprecated */
110
+ (options?: AggregateOptions | undefined): Promise<AggregationResponse>;
111
+ }
112
+ /** @internal */
113
+ declare function count$1(httpClient: HttpClient): CountSignature;
114
+ interface CountSignature {
115
+ /**
116
+ * Returns the number of items in a collection that match a query.
117
+ * @deprecated
118
+ */
119
+ (options?: CountOptions | undefined): Promise<CountResponse>;
120
+ }
121
+ /** @internal */
122
+ declare function distinct$1(httpClient: HttpClient): DistinctSignature;
123
+ interface DistinctSignature {
124
+ /**
125
+ * Retrieves a list of distinct values for a given property in all items that match a query, without duplicates.
126
+ *
127
+ * As with the [Query Data Items]() endpoint, this endpoint retrieves items based on the filtering, sorting, and paging preferences you provide.
128
+ * However, the Query Distinct Values endpoint doesn't return all of the full items that match the query.
129
+ * Rather, it returns all unique values of the property you specify in `propertyName` for items that match the query.
130
+ * If more than one item has the same value for that property, that value appears only once.
131
+ *
132
+ * For more details on using queries, see [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language).
133
+ * @deprecated
134
+ */
135
+ (options?: DistinctOptions | undefined): Promise<DistinctResponse>;
136
+ }
137
+ /** @internal */
138
+ declare function bulkInsert$1(httpClient: HttpClient): BulkInsertSignature;
139
+ interface BulkInsertSignature {
140
+ /**
141
+ * Adds multiple items to a collection.
142
+ *
143
+ * When each item is inserted into a collection, the following properties and values are added to it:
144
+ * * `_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.
145
+ * * `_createdDate`: The date the item was added to the collection.
146
+ * * `_updatedDate`: The date the item was last modified. When the item is first inserted, `_createdDate` and `_updatedDate` have the same value.
147
+ *
148
+ * The endpoint returns a list of the IDs of items successfully inserted in `insertedItemIds`.
149
+ * When any items can't be inserted, error details are provided for each failed item in `errors`.
150
+ * @deprecated
151
+ */
152
+ (options?: BulkInsertOptions | undefined): Promise<BulkInsertResponse>;
153
+ }
154
+ /** @internal */
155
+ declare function bulkSave$1(httpClient: HttpClient): BulkSaveSignature;
156
+ interface BulkSaveSignature {
157
+ /**
158
+ * Inserts or updates multiple items in a collection.
159
+ *
160
+ * The Bulk Save Data Items endpoint inserts or updates each item, depending on whether it already exists in the collection. For each item:
161
+ *
162
+ * * If you don't provide an ID, a new item is created.
163
+ *
164
+ * * If you provide an ID that doesn't exist in the collection, a new item is created with that ID.
165
+ *
166
+ * * 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.
167
+ *
168
+ * 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`.
169
+ * When any items can't be inserted or updated, error details are provided for each failed item in `errors`.
170
+ *
171
+ * ***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.
172
+ * This means that all of the item's previous properties and values are lost.
173
+ * @deprecated
174
+ */
175
+ (options?: BulkSaveOptions | undefined): Promise<BulkSaveResponse>;
176
+ }
177
+ /** @internal */
178
+ declare function bulkUpdate$1(httpClient: HttpClient): BulkUpdateSignature;
179
+ interface BulkUpdateSignature {
180
+ /**
181
+ * Updates multiple items in a collection.
182
+ *
183
+ * Each item in the request must include an ID. If an item is found in the specified collection with
184
+ * the same ID, that item is updated. If the collection doesn't contain an item with that ID, the update fails.
185
+ *
186
+ * When an item is updated, its `_updatedDate` property is changed to the current date.
187
+ *
188
+ * The endpoint returns a list of the IDs of items successfully updated in `updatedItemIds`.
189
+ * When any items can't be inserted, error details are provided for each failed item in `errors`.
190
+ *
191
+ * **Note:**
192
+ * 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
193
+ * aren't included in the updated item, their values are lost.
194
+ * @deprecated
195
+ */
196
+ (options?: BulkUpdateOptions | undefined): Promise<BulkUpdateResponse>;
197
+ }
198
+ /** @internal */
199
+ declare function bulkRemove$1(httpClient: HttpClient): BulkRemoveSignature;
200
+ interface BulkRemoveSignature {
201
+ /**
202
+ * Removes multiple items from a collection.
203
+ *
204
+ * If any items in other collections reference the removed items in reference or multi-reference fields, the fields are cleared.
205
+ *
206
+ * The endpoint returns a list of the IDs of items successfully removed in `removedItemIds`.
207
+ * When any items can't be removed, error details are provided for each failed item in `errors`.
208
+ *
209
+ * **Note:** Once an item has been removed from a collection, it can't be restored.
210
+ * @deprecated
211
+ */
212
+ (options?: BulkRemoveOptions | undefined): Promise<BulkRemoveResponse>;
213
+ }
214
+ /** @internal */
215
+ declare function queryReferenced$1(httpClient: HttpClient): QueryReferencedSignature;
216
+ interface QueryReferencedSignature {
217
+ /**
218
+ * Gets the full items referenced in the specified property of an item.
219
+ *
220
+ * For example, suppose you have a **Movies** collection with an **Actors** field that contains references to items in a **People** collection.
221
+ * 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.
222
+ * This gives you information from the **People** collection about each of the actors in the specified movie.
223
+ * @deprecated
224
+ */
225
+ (options?: QueryReferencedOptions | undefined): Promise<QueryReferencedResponse>;
226
+ }
227
+ /** @internal */
228
+ declare function bulkInsertReferences$1(httpClient: HttpClient): BulkInsertReferencesSignature;
229
+ interface BulkInsertReferencesSignature {
230
+ /**
231
+ * Inserts one or more references in the specified properties of items in a collection.
232
+ *
233
+ * The Bulk Insert References endpoint adds one or more references to a collection.
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
+ * @deprecated
236
+ */
237
+ (options?: BulkInsertReferencesOptions | undefined): Promise<void>;
238
+ }
239
+ /** @internal */
240
+ declare function bulkReplaceReferences$1(httpClient: HttpClient): BulkReplaceReferencesSignature;
241
+ interface BulkReplaceReferencesSignature {
242
+ /**
243
+ * Replaces references in a specified property of a specified data item.
244
+ *
245
+ * 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`.
246
+ * The endpoint removes existing references and in their place it adds references to the items specified in `newReferencedItemIds`.
247
+ * @deprecated
248
+ */
249
+ (options?: BulkReplaceReferencesOptions | undefined): Promise<void>;
250
+ }
251
+ /** @internal */
252
+ declare function bulkRemoveReferences$1(httpClient: HttpClient): BulkRemoveReferencesSignature;
253
+ interface BulkRemoveReferencesSignature {
254
+ /**
255
+ * Removes one or more references.
256
+ * @deprecated
257
+ */
258
+ (options?: BulkRemoveReferencesOptions | undefined): Promise<void>;
259
+ }
260
+ /** @internal */
261
+ declare function isReferenced$1(httpClient: HttpClient): IsReferencedSignature;
262
+ interface IsReferencedSignature {
263
+ /**
264
+ * Checks if a specific property of a referring item contains a reference to another specific item.
265
+ * @deprecated
266
+ */
267
+ (options?: IsReferencedOptions | undefined): Promise<IsReferencedResponse>;
268
+ }
269
+
270
+ /** @internal */
271
+ declare const insert: MaybeContext<BuildRESTFunction<typeof insert$1> & typeof insert$1>;
272
+ /** @internal */
273
+ declare const update: MaybeContext<BuildRESTFunction<typeof update$1> & typeof update$1>;
274
+ /** @internal */
275
+ declare const save: MaybeContext<BuildRESTFunction<typeof save$1> & typeof save$1>;
276
+ /** @internal */
277
+ declare const get: MaybeContext<BuildRESTFunction<typeof get$1> & typeof get$1>;
278
+ /** @internal */
279
+ declare const remove: MaybeContext<BuildRESTFunction<typeof remove$1> & typeof remove$1>;
280
+ /** @internal */
281
+ declare const truncate: MaybeContext<BuildRESTFunction<typeof truncate$1> & typeof truncate$1>;
282
+ declare const query: MaybeContext<BuildRESTFunction<typeof query$1> & typeof query$1>;
283
+ /** @internal */
284
+ declare const aggregate: MaybeContext<BuildRESTFunction<typeof aggregate$1> & typeof aggregate$1>;
285
+ /** @internal */
286
+ declare const count: MaybeContext<BuildRESTFunction<typeof count$1> & typeof count$1>;
287
+ /** @internal */
288
+ declare const distinct: MaybeContext<BuildRESTFunction<typeof distinct$1> & typeof distinct$1>;
289
+ /** @internal */
290
+ declare const bulkInsert: MaybeContext<BuildRESTFunction<typeof bulkInsert$1> & typeof bulkInsert$1>;
291
+ /** @internal */
292
+ declare const bulkSave: MaybeContext<BuildRESTFunction<typeof bulkSave$1> & typeof bulkSave$1>;
293
+ /** @internal */
294
+ declare const bulkUpdate: MaybeContext<BuildRESTFunction<typeof bulkUpdate$1> & typeof bulkUpdate$1>;
295
+ /** @internal */
296
+ declare const bulkRemove: MaybeContext<BuildRESTFunction<typeof bulkRemove$1> & typeof bulkRemove$1>;
297
+ /** @internal */
298
+ declare const queryReferenced: MaybeContext<BuildRESTFunction<typeof queryReferenced$1> & typeof queryReferenced$1>;
299
+ /** @internal */
300
+ declare const bulkInsertReferences: MaybeContext<BuildRESTFunction<typeof bulkInsertReferences$1> & typeof bulkInsertReferences$1>;
301
+ /** @internal */
302
+ declare const bulkReplaceReferences: MaybeContext<BuildRESTFunction<typeof bulkReplaceReferences$1> & typeof bulkReplaceReferences$1>;
303
+ /** @internal */
304
+ declare const bulkRemoveReferences: MaybeContext<BuildRESTFunction<typeof bulkRemoveReferences$1> & typeof bulkRemoveReferences$1>;
305
+ /** @internal */
306
+ declare const isReferenced: MaybeContext<BuildRESTFunction<typeof isReferenced$1> & typeof isReferenced$1>;
307
+
308
+ export { AggregateOptions, AggregationResponse, BulkInsertOptions, BulkInsertReferencesOptions, BulkInsertResponse, BulkRemoveOptions, BulkRemoveReferencesOptions, BulkRemoveResponse, BulkReplaceReferencesOptions, BulkSaveOptions, BulkSaveResponse, BulkUpdateOptions, BulkUpdateResponse, CountOptions, CountResponse, DistinctOptions, DistinctResponse, GetOptions, GetResponse, InsertOptions, InsertResponse, IsReferencedOptions, IsReferencedResponse, QueryOptions, QueryReferencedOptions, QueryReferencedResponse, QueryResponse, RemoveOptions, RemoveResponse, SaveOptions, SaveResponse, TruncateOptions, UpdateOptions, UpdateResponse, aggregate, bulkInsert, bulkInsertReferences, bulkRemove, bulkRemoveReferences, bulkReplaceReferences, bulkSave, bulkUpdate, count, distinct, get, insert, isReferenced, query, queryReferenced, remove, save, truncate, update };