@wix/data 1.0.55 → 1.0.56
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/src/data-v1-external-database-connection.universal.d.ts +5 -5
- package/build/cjs/src/data-v1-external-database-connection.universal.js +5 -5
- package/build/cjs/src/data-v2-data-collection.universal.d.ts +5 -5
- package/build/cjs/src/data-v2-data-collection.universal.js +5 -5
- package/build/cjs/src/data-v2-index.universal.d.ts +3 -3
- package/build/cjs/src/data-v2-index.universal.js +3 -3
- package/build/es/src/data-v1-external-database-connection.universal.d.ts +5 -5
- package/build/es/src/data-v1-external-database-connection.universal.js +5 -5
- package/build/es/src/data-v2-data-collection.universal.d.ts +5 -5
- package/build/es/src/data-v2-data-collection.universal.js +5 -5
- package/build/es/src/data-v2-index.universal.d.ts +3 -3
- package/build/es/src/data-v2-index.universal.js +3 -3
- package/package.json +2 -2
|
@@ -219,7 +219,7 @@ export interface UpdateExternalDatabaseConnectionResponseNonNullableFields {
|
|
|
219
219
|
* @public
|
|
220
220
|
* @documentationMaturity preview
|
|
221
221
|
* @requiredField name
|
|
222
|
-
* @permissionScope
|
|
222
|
+
* @permissionScope Manage External Database Connections
|
|
223
223
|
* @applicableIdentity APP
|
|
224
224
|
* @returns Details of the external database connection requested.
|
|
225
225
|
*/
|
|
@@ -228,7 +228,7 @@ export declare function getExternalDatabaseConnection(name: string): Promise<Ext
|
|
|
228
228
|
* Retrieves a list of all external database collections associated with the site or project.
|
|
229
229
|
* @public
|
|
230
230
|
* @documentationMaturity preview
|
|
231
|
-
* @permissionScope
|
|
231
|
+
* @permissionScope Manage External Database Connections
|
|
232
232
|
* @applicableIdentity APP
|
|
233
233
|
*/
|
|
234
234
|
export declare function listExternalDatabaseConnections(options?: ListExternalDatabaseConnectionsOptions): Promise<ListExternalDatabaseConnectionsResponse & ListExternalDatabaseConnectionsResponseNonNullableFields>;
|
|
@@ -247,7 +247,7 @@ export interface ListExternalDatabaseConnectionsOptions {
|
|
|
247
247
|
* @requiredField externalDatabaseConnection
|
|
248
248
|
* @requiredField externalDatabaseConnection.name
|
|
249
249
|
* @param options - Options for creating an external database connection.
|
|
250
|
-
* @permissionScope
|
|
250
|
+
* @permissionScope Manage External Database Connections
|
|
251
251
|
* @applicableIdentity APP
|
|
252
252
|
* @returns Details of external database connection created.
|
|
253
253
|
*/
|
|
@@ -268,7 +268,7 @@ export declare function createExternalDatabaseConnection(externalDatabaseConnect
|
|
|
268
268
|
* @requiredField externalDatabaseConnection
|
|
269
269
|
* @requiredField name
|
|
270
270
|
* @param options - Options for updating an external database connection.
|
|
271
|
-
* @permissionScope
|
|
271
|
+
* @permissionScope Manage External Database Connections
|
|
272
272
|
* @applicableIdentity APP
|
|
273
273
|
* @returns Updated external database connection details.
|
|
274
274
|
*/
|
|
@@ -296,7 +296,7 @@ export interface UpdateExternalDatabaseConnection {
|
|
|
296
296
|
* @public
|
|
297
297
|
* @documentationMaturity preview
|
|
298
298
|
* @requiredField name
|
|
299
|
-
* @permissionScope
|
|
299
|
+
* @permissionScope Manage External Database Connections
|
|
300
300
|
* @applicableIdentity APP
|
|
301
301
|
*/
|
|
302
302
|
export declare function deleteExternalDatabaseConnection(name: string): Promise<void>;
|
|
@@ -128,7 +128,7 @@ const _updateExternalDatabaseConnectionResponse = {};
|
|
|
128
128
|
* @public
|
|
129
129
|
* @documentationMaturity preview
|
|
130
130
|
* @requiredField name
|
|
131
|
-
* @permissionScope
|
|
131
|
+
* @permissionScope Manage External Database Connections
|
|
132
132
|
* @applicableIdentity APP
|
|
133
133
|
* @returns Details of the external database connection requested.
|
|
134
134
|
*/
|
|
@@ -180,7 +180,7 @@ exports.getExternalDatabaseConnection = getExternalDatabaseConnection;
|
|
|
180
180
|
* Retrieves a list of all external database collections associated with the site or project.
|
|
181
181
|
* @public
|
|
182
182
|
* @documentationMaturity preview
|
|
183
|
-
* @permissionScope
|
|
183
|
+
* @permissionScope Manage External Database Connections
|
|
184
184
|
* @applicableIdentity APP
|
|
185
185
|
*/
|
|
186
186
|
function listExternalDatabaseConnections(options) {
|
|
@@ -238,7 +238,7 @@ exports.listExternalDatabaseConnections = listExternalDatabaseConnections;
|
|
|
238
238
|
* @requiredField externalDatabaseConnection
|
|
239
239
|
* @requiredField externalDatabaseConnection.name
|
|
240
240
|
* @param options - Options for creating an external database connection.
|
|
241
|
-
* @permissionScope
|
|
241
|
+
* @permissionScope Manage External Database Connections
|
|
242
242
|
* @applicableIdentity APP
|
|
243
243
|
* @returns Details of external database connection created.
|
|
244
244
|
*/
|
|
@@ -302,7 +302,7 @@ exports.createExternalDatabaseConnection = createExternalDatabaseConnection;
|
|
|
302
302
|
* @requiredField externalDatabaseConnection
|
|
303
303
|
* @requiredField name
|
|
304
304
|
* @param options - Options for updating an external database connection.
|
|
305
|
-
* @permissionScope
|
|
305
|
+
* @permissionScope Manage External Database Connections
|
|
306
306
|
* @applicableIdentity APP
|
|
307
307
|
* @returns Updated external database connection details.
|
|
308
308
|
*/
|
|
@@ -361,7 +361,7 @@ exports.updateExternalDatabaseConnection = updateExternalDatabaseConnection;
|
|
|
361
361
|
* @public
|
|
362
362
|
* @documentationMaturity preview
|
|
363
363
|
* @requiredField name
|
|
364
|
-
* @permissionScope
|
|
364
|
+
* @permissionScope Manage External Database Connections
|
|
365
365
|
* @applicableIdentity APP
|
|
366
366
|
*/
|
|
367
367
|
function deleteExternalDatabaseConnection(name) {
|
|
@@ -1244,7 +1244,7 @@ export interface UpdateDataCollectionResponseNonNullableFields {
|
|
|
1244
1244
|
* @requiredField collection.permissions.remove
|
|
1245
1245
|
* @requiredField collection.permissions.update
|
|
1246
1246
|
* @param options - Options for creating a data collection.
|
|
1247
|
-
* @permissionScope
|
|
1247
|
+
* @permissionScope Manage Data Collections
|
|
1248
1248
|
* @applicableIdentity APP
|
|
1249
1249
|
* @returns Details of collection created.
|
|
1250
1250
|
*/
|
|
@@ -1256,7 +1256,7 @@ export declare function createDataCollection(collection: DataCollection): Promis
|
|
|
1256
1256
|
* @documentationMaturity preview
|
|
1257
1257
|
* @requiredField dataCollectionId
|
|
1258
1258
|
* @param options - Options for retrieving a data collection.
|
|
1259
|
-
* @permissionScope
|
|
1259
|
+
* @permissionScope Manage Data Collections
|
|
1260
1260
|
* @applicableIdentity APP
|
|
1261
1261
|
* @applicableIdentity VISITOR
|
|
1262
1262
|
* @returns Details of the collection requested.
|
|
@@ -1269,7 +1269,7 @@ export declare function getDataCollection(dataCollectionId: string): Promise<Dat
|
|
|
1269
1269
|
* @public
|
|
1270
1270
|
* @documentationMaturity preview
|
|
1271
1271
|
* @param options - Options for retrieving a list of data collections.
|
|
1272
|
-
* @permissionScope
|
|
1272
|
+
* @permissionScope Manage Data Collections
|
|
1273
1273
|
* @applicableIdentity APP
|
|
1274
1274
|
*/
|
|
1275
1275
|
export declare function listDataCollections(options?: ListDataCollectionsOptions): Promise<ListDataCollectionsResponse & ListDataCollectionsResponseNonNullableFields>;
|
|
@@ -1308,7 +1308,7 @@ export interface ListDataCollectionsOptions {
|
|
|
1308
1308
|
* @requiredField collection.permissions.update
|
|
1309
1309
|
* @requiredField collection.revision
|
|
1310
1310
|
* @param options - Options for updating a data collection.
|
|
1311
|
-
* @permissionScope
|
|
1311
|
+
* @permissionScope Manage Data Collections
|
|
1312
1312
|
* @applicableIdentity APP
|
|
1313
1313
|
* @returns Updated collection details.
|
|
1314
1314
|
*/
|
|
@@ -1322,7 +1322,7 @@ export declare function updateDataCollection(collection: DataCollection): Promis
|
|
|
1322
1322
|
* @public
|
|
1323
1323
|
* @documentationMaturity preview
|
|
1324
1324
|
* @requiredField dataCollectionId
|
|
1325
|
-
* @permissionScope
|
|
1325
|
+
* @permissionScope Manage Data Collections
|
|
1326
1326
|
* @applicableIdentity APP
|
|
1327
1327
|
*/
|
|
1328
1328
|
export declare function deleteDataCollection(dataCollectionId: string): Promise<void>;
|
|
@@ -240,7 +240,7 @@ const _updateDataCollectionResponse = { collection: '_dataCollection' };
|
|
|
240
240
|
* @requiredField collection.permissions.remove
|
|
241
241
|
* @requiredField collection.permissions.update
|
|
242
242
|
* @param options - Options for creating a data collection.
|
|
243
|
-
* @permissionScope
|
|
243
|
+
* @permissionScope Manage Data Collections
|
|
244
244
|
* @applicableIdentity APP
|
|
245
245
|
* @returns Details of collection created.
|
|
246
246
|
*/
|
|
@@ -309,7 +309,7 @@ exports.createDataCollection = createDataCollection;
|
|
|
309
309
|
* @documentationMaturity preview
|
|
310
310
|
* @requiredField dataCollectionId
|
|
311
311
|
* @param options - Options for retrieving a data collection.
|
|
312
|
-
* @permissionScope
|
|
312
|
+
* @permissionScope Manage Data Collections
|
|
313
313
|
* @applicableIdentity APP
|
|
314
314
|
* @applicableIdentity VISITOR
|
|
315
315
|
* @returns Details of the collection requested.
|
|
@@ -372,7 +372,7 @@ exports.getDataCollection = getDataCollection;
|
|
|
372
372
|
* @public
|
|
373
373
|
* @documentationMaturity preview
|
|
374
374
|
* @param options - Options for retrieving a list of data collections.
|
|
375
|
-
* @permissionScope
|
|
375
|
+
* @permissionScope Manage Data Collections
|
|
376
376
|
* @applicableIdentity APP
|
|
377
377
|
*/
|
|
378
378
|
function listDataCollections(options) {
|
|
@@ -451,7 +451,7 @@ exports.listDataCollections = listDataCollections;
|
|
|
451
451
|
* @requiredField collection.permissions.update
|
|
452
452
|
* @requiredField collection.revision
|
|
453
453
|
* @param options - Options for updating a data collection.
|
|
454
|
-
* @permissionScope
|
|
454
|
+
* @permissionScope Manage Data Collections
|
|
455
455
|
* @applicableIdentity APP
|
|
456
456
|
* @returns Updated collection details.
|
|
457
457
|
*/
|
|
@@ -522,7 +522,7 @@ exports.updateDataCollection = updateDataCollection;
|
|
|
522
522
|
* @public
|
|
523
523
|
* @documentationMaturity preview
|
|
524
524
|
* @requiredField dataCollectionId
|
|
525
|
-
* @permissionScope
|
|
525
|
+
* @permissionScope Manage Data Collections
|
|
526
526
|
* @applicableIdentity APP
|
|
527
527
|
*/
|
|
528
528
|
function deleteDataCollection(dataCollectionId) {
|
|
@@ -199,7 +199,7 @@ export interface ListIndexesResponseNonNullableFields {
|
|
|
199
199
|
* @requiredField index.fields.path
|
|
200
200
|
* @requiredField index.name
|
|
201
201
|
* @param options - Options for creating an index.
|
|
202
|
-
* @permissionScope
|
|
202
|
+
* @permissionScope Managa Data Indexes
|
|
203
203
|
* @applicableIdentity APP
|
|
204
204
|
* @returns Details of the index being generated.
|
|
205
205
|
*/
|
|
@@ -216,7 +216,7 @@ export declare function createIndex(dataCollectionId: string, index: Index): Pro
|
|
|
216
216
|
* @requiredField dataCollectionId
|
|
217
217
|
* @requiredField indexName
|
|
218
218
|
* @param options - Options for dropping an index.
|
|
219
|
-
* @permissionScope
|
|
219
|
+
* @permissionScope Managa Data Indexes
|
|
220
220
|
* @applicableIdentity APP
|
|
221
221
|
*/
|
|
222
222
|
export declare function dropIndex(dataCollectionId: string, indexName: string): Promise<void>;
|
|
@@ -233,7 +233,7 @@ export declare function dropIndex(dataCollectionId: string, indexName: string):
|
|
|
233
233
|
* @documentationMaturity preview
|
|
234
234
|
* @requiredField dataCollectionId
|
|
235
235
|
* @param options - Options for retrieving a list of indexes.
|
|
236
|
-
* @permissionScope
|
|
236
|
+
* @permissionScope Managa Data Indexes
|
|
237
237
|
* @applicableIdentity APP
|
|
238
238
|
*/
|
|
239
239
|
export declare function listIndexes(dataCollectionId: string, options?: ListIndexesOptions): Promise<ListIndexesResponse & ListIndexesResponseNonNullableFields>;
|
|
@@ -101,7 +101,7 @@ const _listIndexesResponse = {};
|
|
|
101
101
|
* @requiredField index.fields.path
|
|
102
102
|
* @requiredField index.name
|
|
103
103
|
* @param options - Options for creating an index.
|
|
104
|
-
* @permissionScope
|
|
104
|
+
* @permissionScope Managa Data Indexes
|
|
105
105
|
* @applicableIdentity APP
|
|
106
106
|
* @returns Details of the index being generated.
|
|
107
107
|
*/
|
|
@@ -162,7 +162,7 @@ exports.createIndex = createIndex;
|
|
|
162
162
|
* @requiredField dataCollectionId
|
|
163
163
|
* @requiredField indexName
|
|
164
164
|
* @param options - Options for dropping an index.
|
|
165
|
-
* @permissionScope
|
|
165
|
+
* @permissionScope Managa Data Indexes
|
|
166
166
|
* @applicableIdentity APP
|
|
167
167
|
*/
|
|
168
168
|
function dropIndex(dataCollectionId, indexName) {
|
|
@@ -223,7 +223,7 @@ exports.dropIndex = dropIndex;
|
|
|
223
223
|
* @documentationMaturity preview
|
|
224
224
|
* @requiredField dataCollectionId
|
|
225
225
|
* @param options - Options for retrieving a list of indexes.
|
|
226
|
-
* @permissionScope
|
|
226
|
+
* @permissionScope Managa Data Indexes
|
|
227
227
|
* @applicableIdentity APP
|
|
228
228
|
*/
|
|
229
229
|
function listIndexes(dataCollectionId, options) {
|
|
@@ -219,7 +219,7 @@ export interface UpdateExternalDatabaseConnectionResponseNonNullableFields {
|
|
|
219
219
|
* @public
|
|
220
220
|
* @documentationMaturity preview
|
|
221
221
|
* @requiredField name
|
|
222
|
-
* @permissionScope
|
|
222
|
+
* @permissionScope Manage External Database Connections
|
|
223
223
|
* @applicableIdentity APP
|
|
224
224
|
* @returns Details of the external database connection requested.
|
|
225
225
|
*/
|
|
@@ -228,7 +228,7 @@ export declare function getExternalDatabaseConnection(name: string): Promise<Ext
|
|
|
228
228
|
* Retrieves a list of all external database collections associated with the site or project.
|
|
229
229
|
* @public
|
|
230
230
|
* @documentationMaturity preview
|
|
231
|
-
* @permissionScope
|
|
231
|
+
* @permissionScope Manage External Database Connections
|
|
232
232
|
* @applicableIdentity APP
|
|
233
233
|
*/
|
|
234
234
|
export declare function listExternalDatabaseConnections(options?: ListExternalDatabaseConnectionsOptions): Promise<ListExternalDatabaseConnectionsResponse & ListExternalDatabaseConnectionsResponseNonNullableFields>;
|
|
@@ -247,7 +247,7 @@ export interface ListExternalDatabaseConnectionsOptions {
|
|
|
247
247
|
* @requiredField externalDatabaseConnection
|
|
248
248
|
* @requiredField externalDatabaseConnection.name
|
|
249
249
|
* @param options - Options for creating an external database connection.
|
|
250
|
-
* @permissionScope
|
|
250
|
+
* @permissionScope Manage External Database Connections
|
|
251
251
|
* @applicableIdentity APP
|
|
252
252
|
* @returns Details of external database connection created.
|
|
253
253
|
*/
|
|
@@ -268,7 +268,7 @@ export declare function createExternalDatabaseConnection(externalDatabaseConnect
|
|
|
268
268
|
* @requiredField externalDatabaseConnection
|
|
269
269
|
* @requiredField name
|
|
270
270
|
* @param options - Options for updating an external database connection.
|
|
271
|
-
* @permissionScope
|
|
271
|
+
* @permissionScope Manage External Database Connections
|
|
272
272
|
* @applicableIdentity APP
|
|
273
273
|
* @returns Updated external database connection details.
|
|
274
274
|
*/
|
|
@@ -296,7 +296,7 @@ export interface UpdateExternalDatabaseConnection {
|
|
|
296
296
|
* @public
|
|
297
297
|
* @documentationMaturity preview
|
|
298
298
|
* @requiredField name
|
|
299
|
-
* @permissionScope
|
|
299
|
+
* @permissionScope Manage External Database Connections
|
|
300
300
|
* @applicableIdentity APP
|
|
301
301
|
*/
|
|
302
302
|
export declare function deleteExternalDatabaseConnection(name: string): Promise<void>;
|
|
@@ -106,7 +106,7 @@ const _updateExternalDatabaseConnectionResponse = {};
|
|
|
106
106
|
* @public
|
|
107
107
|
* @documentationMaturity preview
|
|
108
108
|
* @requiredField name
|
|
109
|
-
* @permissionScope
|
|
109
|
+
* @permissionScope Manage External Database Connections
|
|
110
110
|
* @applicableIdentity APP
|
|
111
111
|
* @returns Details of the external database connection requested.
|
|
112
112
|
*/
|
|
@@ -157,7 +157,7 @@ export function getExternalDatabaseConnection(name) {
|
|
|
157
157
|
* Retrieves a list of all external database collections associated with the site or project.
|
|
158
158
|
* @public
|
|
159
159
|
* @documentationMaturity preview
|
|
160
|
-
* @permissionScope
|
|
160
|
+
* @permissionScope Manage External Database Connections
|
|
161
161
|
* @applicableIdentity APP
|
|
162
162
|
*/
|
|
163
163
|
export function listExternalDatabaseConnections(options) {
|
|
@@ -214,7 +214,7 @@ export function listExternalDatabaseConnections(options) {
|
|
|
214
214
|
* @requiredField externalDatabaseConnection
|
|
215
215
|
* @requiredField externalDatabaseConnection.name
|
|
216
216
|
* @param options - Options for creating an external database connection.
|
|
217
|
-
* @permissionScope
|
|
217
|
+
* @permissionScope Manage External Database Connections
|
|
218
218
|
* @applicableIdentity APP
|
|
219
219
|
* @returns Details of external database connection created.
|
|
220
220
|
*/
|
|
@@ -277,7 +277,7 @@ export function createExternalDatabaseConnection(externalDatabaseConnection) {
|
|
|
277
277
|
* @requiredField externalDatabaseConnection
|
|
278
278
|
* @requiredField name
|
|
279
279
|
* @param options - Options for updating an external database connection.
|
|
280
|
-
* @permissionScope
|
|
280
|
+
* @permissionScope Manage External Database Connections
|
|
281
281
|
* @applicableIdentity APP
|
|
282
282
|
* @returns Updated external database connection details.
|
|
283
283
|
*/
|
|
@@ -335,7 +335,7 @@ export function updateExternalDatabaseConnection(name, externalDatabaseConnectio
|
|
|
335
335
|
* @public
|
|
336
336
|
* @documentationMaturity preview
|
|
337
337
|
* @requiredField name
|
|
338
|
-
* @permissionScope
|
|
338
|
+
* @permissionScope Manage External Database Connections
|
|
339
339
|
* @applicableIdentity APP
|
|
340
340
|
*/
|
|
341
341
|
export function deleteExternalDatabaseConnection(name) {
|
|
@@ -1244,7 +1244,7 @@ export interface UpdateDataCollectionResponseNonNullableFields {
|
|
|
1244
1244
|
* @requiredField collection.permissions.remove
|
|
1245
1245
|
* @requiredField collection.permissions.update
|
|
1246
1246
|
* @param options - Options for creating a data collection.
|
|
1247
|
-
* @permissionScope
|
|
1247
|
+
* @permissionScope Manage Data Collections
|
|
1248
1248
|
* @applicableIdentity APP
|
|
1249
1249
|
* @returns Details of collection created.
|
|
1250
1250
|
*/
|
|
@@ -1256,7 +1256,7 @@ export declare function createDataCollection(collection: DataCollection): Promis
|
|
|
1256
1256
|
* @documentationMaturity preview
|
|
1257
1257
|
* @requiredField dataCollectionId
|
|
1258
1258
|
* @param options - Options for retrieving a data collection.
|
|
1259
|
-
* @permissionScope
|
|
1259
|
+
* @permissionScope Manage Data Collections
|
|
1260
1260
|
* @applicableIdentity APP
|
|
1261
1261
|
* @applicableIdentity VISITOR
|
|
1262
1262
|
* @returns Details of the collection requested.
|
|
@@ -1269,7 +1269,7 @@ export declare function getDataCollection(dataCollectionId: string): Promise<Dat
|
|
|
1269
1269
|
* @public
|
|
1270
1270
|
* @documentationMaturity preview
|
|
1271
1271
|
* @param options - Options for retrieving a list of data collections.
|
|
1272
|
-
* @permissionScope
|
|
1272
|
+
* @permissionScope Manage Data Collections
|
|
1273
1273
|
* @applicableIdentity APP
|
|
1274
1274
|
*/
|
|
1275
1275
|
export declare function listDataCollections(options?: ListDataCollectionsOptions): Promise<ListDataCollectionsResponse & ListDataCollectionsResponseNonNullableFields>;
|
|
@@ -1308,7 +1308,7 @@ export interface ListDataCollectionsOptions {
|
|
|
1308
1308
|
* @requiredField collection.permissions.update
|
|
1309
1309
|
* @requiredField collection.revision
|
|
1310
1310
|
* @param options - Options for updating a data collection.
|
|
1311
|
-
* @permissionScope
|
|
1311
|
+
* @permissionScope Manage Data Collections
|
|
1312
1312
|
* @applicableIdentity APP
|
|
1313
1313
|
* @returns Updated collection details.
|
|
1314
1314
|
*/
|
|
@@ -1322,7 +1322,7 @@ export declare function updateDataCollection(collection: DataCollection): Promis
|
|
|
1322
1322
|
* @public
|
|
1323
1323
|
* @documentationMaturity preview
|
|
1324
1324
|
* @requiredField dataCollectionId
|
|
1325
|
-
* @permissionScope
|
|
1325
|
+
* @permissionScope Manage Data Collections
|
|
1326
1326
|
* @applicableIdentity APP
|
|
1327
1327
|
*/
|
|
1328
1328
|
export declare function deleteDataCollection(dataCollectionId: string): Promise<void>;
|
|
@@ -218,7 +218,7 @@ const _updateDataCollectionResponse = { collection: '_dataCollection' };
|
|
|
218
218
|
* @requiredField collection.permissions.remove
|
|
219
219
|
* @requiredField collection.permissions.update
|
|
220
220
|
* @param options - Options for creating a data collection.
|
|
221
|
-
* @permissionScope
|
|
221
|
+
* @permissionScope Manage Data Collections
|
|
222
222
|
* @applicableIdentity APP
|
|
223
223
|
* @returns Details of collection created.
|
|
224
224
|
*/
|
|
@@ -286,7 +286,7 @@ export function createDataCollection(collection) {
|
|
|
286
286
|
* @documentationMaturity preview
|
|
287
287
|
* @requiredField dataCollectionId
|
|
288
288
|
* @param options - Options for retrieving a data collection.
|
|
289
|
-
* @permissionScope
|
|
289
|
+
* @permissionScope Manage Data Collections
|
|
290
290
|
* @applicableIdentity APP
|
|
291
291
|
* @applicableIdentity VISITOR
|
|
292
292
|
* @returns Details of the collection requested.
|
|
@@ -348,7 +348,7 @@ export function getDataCollection(dataCollectionId) {
|
|
|
348
348
|
* @public
|
|
349
349
|
* @documentationMaturity preview
|
|
350
350
|
* @param options - Options for retrieving a list of data collections.
|
|
351
|
-
* @permissionScope
|
|
351
|
+
* @permissionScope Manage Data Collections
|
|
352
352
|
* @applicableIdentity APP
|
|
353
353
|
*/
|
|
354
354
|
export function listDataCollections(options) {
|
|
@@ -426,7 +426,7 @@ export function listDataCollections(options) {
|
|
|
426
426
|
* @requiredField collection.permissions.update
|
|
427
427
|
* @requiredField collection.revision
|
|
428
428
|
* @param options - Options for updating a data collection.
|
|
429
|
-
* @permissionScope
|
|
429
|
+
* @permissionScope Manage Data Collections
|
|
430
430
|
* @applicableIdentity APP
|
|
431
431
|
* @returns Updated collection details.
|
|
432
432
|
*/
|
|
@@ -496,7 +496,7 @@ export function updateDataCollection(collection) {
|
|
|
496
496
|
* @public
|
|
497
497
|
* @documentationMaturity preview
|
|
498
498
|
* @requiredField dataCollectionId
|
|
499
|
-
* @permissionScope
|
|
499
|
+
* @permissionScope Manage Data Collections
|
|
500
500
|
* @applicableIdentity APP
|
|
501
501
|
*/
|
|
502
502
|
export function deleteDataCollection(dataCollectionId) {
|
|
@@ -199,7 +199,7 @@ export interface ListIndexesResponseNonNullableFields {
|
|
|
199
199
|
* @requiredField index.fields.path
|
|
200
200
|
* @requiredField index.name
|
|
201
201
|
* @param options - Options for creating an index.
|
|
202
|
-
* @permissionScope
|
|
202
|
+
* @permissionScope Managa Data Indexes
|
|
203
203
|
* @applicableIdentity APP
|
|
204
204
|
* @returns Details of the index being generated.
|
|
205
205
|
*/
|
|
@@ -216,7 +216,7 @@ export declare function createIndex(dataCollectionId: string, index: Index): Pro
|
|
|
216
216
|
* @requiredField dataCollectionId
|
|
217
217
|
* @requiredField indexName
|
|
218
218
|
* @param options - Options for dropping an index.
|
|
219
|
-
* @permissionScope
|
|
219
|
+
* @permissionScope Managa Data Indexes
|
|
220
220
|
* @applicableIdentity APP
|
|
221
221
|
*/
|
|
222
222
|
export declare function dropIndex(dataCollectionId: string, indexName: string): Promise<void>;
|
|
@@ -233,7 +233,7 @@ export declare function dropIndex(dataCollectionId: string, indexName: string):
|
|
|
233
233
|
* @documentationMaturity preview
|
|
234
234
|
* @requiredField dataCollectionId
|
|
235
235
|
* @param options - Options for retrieving a list of indexes.
|
|
236
|
-
* @permissionScope
|
|
236
|
+
* @permissionScope Managa Data Indexes
|
|
237
237
|
* @applicableIdentity APP
|
|
238
238
|
*/
|
|
239
239
|
export declare function listIndexes(dataCollectionId: string, options?: ListIndexesOptions): Promise<ListIndexesResponse & ListIndexesResponseNonNullableFields>;
|
|
@@ -79,7 +79,7 @@ const _listIndexesResponse = {};
|
|
|
79
79
|
* @requiredField index.fields.path
|
|
80
80
|
* @requiredField index.name
|
|
81
81
|
* @param options - Options for creating an index.
|
|
82
|
-
* @permissionScope
|
|
82
|
+
* @permissionScope Managa Data Indexes
|
|
83
83
|
* @applicableIdentity APP
|
|
84
84
|
* @returns Details of the index being generated.
|
|
85
85
|
*/
|
|
@@ -139,7 +139,7 @@ export function createIndex(dataCollectionId, index) {
|
|
|
139
139
|
* @requiredField dataCollectionId
|
|
140
140
|
* @requiredField indexName
|
|
141
141
|
* @param options - Options for dropping an index.
|
|
142
|
-
* @permissionScope
|
|
142
|
+
* @permissionScope Managa Data Indexes
|
|
143
143
|
* @applicableIdentity APP
|
|
144
144
|
*/
|
|
145
145
|
export function dropIndex(dataCollectionId, indexName) {
|
|
@@ -199,7 +199,7 @@ export function dropIndex(dataCollectionId, indexName) {
|
|
|
199
199
|
* @documentationMaturity preview
|
|
200
200
|
* @requiredField dataCollectionId
|
|
201
201
|
* @param options - Options for retrieving a list of indexes.
|
|
202
|
-
* @permissionScope
|
|
202
|
+
* @permissionScope Managa Data Indexes
|
|
203
203
|
* @applicableIdentity APP
|
|
204
204
|
*/
|
|
205
205
|
export function listIndexes(dataCollectionId, options) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/data",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.56",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"groupId": "com.wixpress.public-sdk-autogen"
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
|
-
"falconPackageHash": "
|
|
37
|
+
"falconPackageHash": "b946824b91e35003c5ff4314a47cc8043aa05562fd6dd2bce9e03550"
|
|
38
38
|
}
|