@wix/data 1.0.173 → 1.0.175

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/data",
3
- "version": "1.0.173",
3
+ "version": "1.0.175",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -22,10 +22,10 @@
22
22
  "service-plugins"
23
23
  ],
24
24
  "dependencies": {
25
- "@wix/data_collections": "1.0.60",
25
+ "@wix/data_collections": "1.0.61",
26
26
  "@wix/data_external-database": "1.0.27",
27
27
  "@wix/data_external-database-connections": "1.0.49",
28
- "@wix/data_indexes": "1.0.43",
28
+ "@wix/data_indexes": "1.0.44",
29
29
  "@wix/data_items": "1.0.60"
30
30
  },
31
31
  "devDependencies": {
@@ -51,5 +51,5 @@
51
51
  "fqdn": ""
52
52
  }
53
53
  },
54
- "falconPackageHash": "7ec02bed5b1b1d9a1bf53d0f370acf8a0b98ef46af5a2856a5af50e7"
54
+ "falconPackageHash": "966c7b4d53d2c0c264b3bfa8c0690739df47389142229e60710f63b5"
55
55
  }
@@ -1798,6 +1798,14 @@ interface DeleteDataCollectionRequest {
1798
1798
  }
1799
1799
  interface DeleteDataCollectionResponse {
1800
1800
  }
1801
+ interface RestoreDataCollectionRequest {
1802
+ /** Data Collection ID to restore */
1803
+ dataCollectionId?: string;
1804
+ }
1805
+ interface RestoreDataCollectionResponse {
1806
+ /** Restored data collection */
1807
+ dataCollection?: DataCollection;
1808
+ }
1801
1809
  interface CreateDataCollectionFieldRequest {
1802
1810
  /** ID of data collection to update */
1803
1811
  dataCollectionId?: string;
@@ -2353,7 +2361,7 @@ interface DeleteDataCollectionSignature {
2353
2361
  * Deletes a data collection.
2354
2362
  *
2355
2363
  * > **Note:**
2356
- * > Once a collection is deleted, it can't be restored.
2364
+ * > Once a collection is deleted, it can only be restored for limited amount of time.
2357
2365
  * @param - ID of the collection to delete.
2358
2366
  */
2359
2367
  (dataCollectionId: string): Promise<void>;
@@ -2446,6 +2454,8 @@ type context$2_QueryOperator = QueryOperator;
2446
2454
  declare const context$2_QueryOperator: typeof QueryOperator;
2447
2455
  type context$2_Reference = Reference;
2448
2456
  type context$2_RestorationCollection = RestorationCollection;
2457
+ type context$2_RestoreDataCollectionRequest = RestoreDataCollectionRequest;
2458
+ type context$2_RestoreDataCollectionResponse = RestoreDataCollectionResponse;
2449
2459
  type context$2_RestoreDataCollectionsFromSnapshotRequest = RestoreDataCollectionsFromSnapshotRequest;
2450
2460
  type context$2_RestoreDataCollectionsFromSnapshotResponse = RestoreDataCollectionsFromSnapshotResponse;
2451
2461
  type context$2_Role = Role;
@@ -2478,7 +2488,7 @@ declare const context$2_getDataCollection: typeof getDataCollection;
2478
2488
  declare const context$2_listDataCollections: typeof listDataCollections;
2479
2489
  declare const context$2_updateDataCollection: typeof updateDataCollection;
2480
2490
  declare namespace context$2 {
2481
- export { context$2_AccessLevel as AccessLevel, type ActionEvent$1 as ActionEvent, type context$2_AllowedDataPermissions as AllowedDataPermissions, type context$2_ArraySizeRange as ArraySizeRange, type context$2_BulkGetDataCollectionsPageBySnapshotsRequest as BulkGetDataCollectionsPageBySnapshotsRequest, type context$2_BulkGetDataCollectionsPageBySnapshotsResponse as BulkGetDataCollectionsPageBySnapshotsResponse, type context$2_BulkGetDataCollectionsRequest as BulkGetDataCollectionsRequest, type context$2_BulkGetDataCollectionsResponse as BulkGetDataCollectionsResponse, type context$2_Calculator as Calculator, type context$2_CalculatorPatternOneOf as CalculatorPatternOneOf, type context$2_CmsOptions as CmsOptions, type context$2_CollectionCapabilities as CollectionCapabilities, context$2_CollectionOperation as CollectionOperation, context$2_CollectionType as CollectionType, type context$2_CreateDataCollectionFieldRequest as CreateDataCollectionFieldRequest, type context$2_CreateDataCollectionFieldResponse as CreateDataCollectionFieldResponse, type context$2_CreateDataCollectionRequest as CreateDataCollectionRequest, type context$2_CreateDataCollectionResponse as CreateDataCollectionResponse, type context$2_CreateDataCollectionResponseNonNullableFields as CreateDataCollectionResponseNonNullableFields, type context$2_CreateDataCollectionsSnapshotRequest as CreateDataCollectionsSnapshotRequest, type context$2_CreateDataCollectionsSnapshotResponse as CreateDataCollectionsSnapshotResponse, type context$2_CreateMigratedCollectionsSnapshotRequest as CreateMigratedCollectionsSnapshotRequest, type context$2_CreateMigratedCollectionsSnapshotResponse as CreateMigratedCollectionsSnapshotResponse, type context$2_DataCollection as DataCollection, type context$2_DataCollectionChangedEvent as DataCollectionChangedEvent, type context$2_DataCollectionClonedEvent as DataCollectionClonedEvent, type context$2_DataCollectionNonNullableFields as DataCollectionNonNullableFields, context$2_DataOperation as DataOperation, type context$2_DataPermissions as DataPermissions, type context$2_DeleteDataCollectionFieldRequest as DeleteDataCollectionFieldRequest, type context$2_DeleteDataCollectionFieldResponse as DeleteDataCollectionFieldResponse, type context$2_DeleteDataCollectionRequest as DeleteDataCollectionRequest, type context$2_DeleteDataCollectionResponse as DeleteDataCollectionResponse, type context$2_DeleteDataCollectionsSnapshotRequest as DeleteDataCollectionsSnapshotRequest, type context$2_DeleteDataCollectionsSnapshotResponse as DeleteDataCollectionsSnapshotResponse, type context$2_Destination as Destination, context$2_Direction as Direction, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type Failure$1 as Failure, type Field$1 as Field, type context$2_FieldCapabilities as FieldCapabilities, type context$2_FieldPlugin as FieldPlugin, type context$2_FieldPluginOptionsOneOf as FieldPluginOptionsOneOf, context$2_FieldPluginType as FieldPluginType, type context$2_FieldRangeValidationsOneOf as FieldRangeValidationsOneOf, type FieldUpdate$1 as FieldUpdate, type context$2_FieldsPattern as FieldsPattern, context$2_Format as Format, type context$2_GetDataCollectionOptions as GetDataCollectionOptions, type context$2_GetDataCollectionRequest as GetDataCollectionRequest, type context$2_GetDataCollectionResponse as GetDataCollectionResponse, type context$2_GetDataCollectionResponseNonNullableFields as GetDataCollectionResponseNonNullableFields, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type Index$1 as Index, type context$2_IndexField as IndexField, type context$2_IndexLimits as IndexLimits, context$2_IndexStatus as IndexStatus, type context$2_ListDataCollectionsOptions as ListDataCollectionsOptions, type context$2_ListDataCollectionsRequest as ListDataCollectionsRequest, type context$2_ListDataCollectionsResponse as ListDataCollectionsResponse, type context$2_ListDataCollectionsResponseNonNullableFields as ListDataCollectionsResponseNonNullableFields, type MessageEnvelope$1 as MessageEnvelope, type context$2_MultiReference as MultiReference, type context$2_MultilingualOptions as MultilingualOptions, type context$2_NumberRange as NumberRange, type context$2_ObjectField as ObjectField, Order$1 as Order, type context$2_PageLink as PageLink, type context$2_PageLinkPluginOptions as PageLinkPluginOptions, type Paging$2 as Paging, type PagingMetadataV2$1 as PagingMetadataV2, context$2_PagingMode as PagingMode, type context$2_Permissions as Permissions, type context$2_Plugin as Plugin, type context$2_PluginCmsOptions as PluginCmsOptions, type context$2_PluginOptionsOneOf as PluginOptionsOneOf, context$2_PluginType as PluginType, type context$2_PluginUpdate as PluginUpdate, type PublishPluginOptions$1 as PublishPluginOptions, context$2_QueryOperator as QueryOperator, type context$2_Reference as Reference, type context$2_RestorationCollection as RestorationCollection, type context$2_RestoreDataCollectionsFromSnapshotRequest as RestoreDataCollectionsFromSnapshotRequest, type context$2_RestoreDataCollectionsFromSnapshotResponse as RestoreDataCollectionsFromSnapshotResponse, type RestoreInfo$1 as RestoreInfo, context$2_Role as Role, context$2_Segment as Segment, type context$2_SingleItemPluginOptions as SingleItemPluginOptions, type context$2_SiteSort as SiteSort, type context$2_SnapshotCollection as SnapshotCollection, type context$2_Sort as Sort, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, Status$1 as Status, type context$2_StringLengthRange as StringLengthRange, context$2_Type as Type, type context$2_TypeMetadata as TypeMetadata, type context$2_TypeMetadataMetadataOneOf as TypeMetadataMetadataOneOf, type context$2_UpdateDataCollectionFieldRequest as UpdateDataCollectionFieldRequest, type context$2_UpdateDataCollectionFieldResponse as UpdateDataCollectionFieldResponse, type context$2_UpdateDataCollectionRequest as UpdateDataCollectionRequest, type context$2_UpdateDataCollectionResponse as UpdateDataCollectionResponse, type context$2_UpdateDataCollectionResponseNonNullableFields as UpdateDataCollectionResponseNonNullableFields, type context$2_UpdateDataPermissionsRequest as UpdateDataPermissionsRequest, type context$2_UpdateDataPermissionsResponse as UpdateDataPermissionsResponse, type context$2_UrlizedOnlyPattern as UrlizedOnlyPattern, type context$2_UrlizedPluginOptions as UrlizedPluginOptions, WebhookIdentityType$1 as WebhookIdentityType, type context$2__Array as _Array, type context$2__Object as _Object, context$2_createDataCollection as createDataCollection, context$2_deleteDataCollection as deleteDataCollection, context$2_getDataCollection as getDataCollection, context$2_listDataCollections as listDataCollections, context$2_updateDataCollection as updateDataCollection };
2491
+ export { context$2_AccessLevel as AccessLevel, type ActionEvent$1 as ActionEvent, type context$2_AllowedDataPermissions as AllowedDataPermissions, type context$2_ArraySizeRange as ArraySizeRange, type context$2_BulkGetDataCollectionsPageBySnapshotsRequest as BulkGetDataCollectionsPageBySnapshotsRequest, type context$2_BulkGetDataCollectionsPageBySnapshotsResponse as BulkGetDataCollectionsPageBySnapshotsResponse, type context$2_BulkGetDataCollectionsRequest as BulkGetDataCollectionsRequest, type context$2_BulkGetDataCollectionsResponse as BulkGetDataCollectionsResponse, type context$2_Calculator as Calculator, type context$2_CalculatorPatternOneOf as CalculatorPatternOneOf, type context$2_CmsOptions as CmsOptions, type context$2_CollectionCapabilities as CollectionCapabilities, context$2_CollectionOperation as CollectionOperation, context$2_CollectionType as CollectionType, type context$2_CreateDataCollectionFieldRequest as CreateDataCollectionFieldRequest, type context$2_CreateDataCollectionFieldResponse as CreateDataCollectionFieldResponse, type context$2_CreateDataCollectionRequest as CreateDataCollectionRequest, type context$2_CreateDataCollectionResponse as CreateDataCollectionResponse, type context$2_CreateDataCollectionResponseNonNullableFields as CreateDataCollectionResponseNonNullableFields, type context$2_CreateDataCollectionsSnapshotRequest as CreateDataCollectionsSnapshotRequest, type context$2_CreateDataCollectionsSnapshotResponse as CreateDataCollectionsSnapshotResponse, type context$2_CreateMigratedCollectionsSnapshotRequest as CreateMigratedCollectionsSnapshotRequest, type context$2_CreateMigratedCollectionsSnapshotResponse as CreateMigratedCollectionsSnapshotResponse, type context$2_DataCollection as DataCollection, type context$2_DataCollectionChangedEvent as DataCollectionChangedEvent, type context$2_DataCollectionClonedEvent as DataCollectionClonedEvent, type context$2_DataCollectionNonNullableFields as DataCollectionNonNullableFields, context$2_DataOperation as DataOperation, type context$2_DataPermissions as DataPermissions, type context$2_DeleteDataCollectionFieldRequest as DeleteDataCollectionFieldRequest, type context$2_DeleteDataCollectionFieldResponse as DeleteDataCollectionFieldResponse, type context$2_DeleteDataCollectionRequest as DeleteDataCollectionRequest, type context$2_DeleteDataCollectionResponse as DeleteDataCollectionResponse, type context$2_DeleteDataCollectionsSnapshotRequest as DeleteDataCollectionsSnapshotRequest, type context$2_DeleteDataCollectionsSnapshotResponse as DeleteDataCollectionsSnapshotResponse, type context$2_Destination as Destination, context$2_Direction as Direction, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type Failure$1 as Failure, type Field$1 as Field, type context$2_FieldCapabilities as FieldCapabilities, type context$2_FieldPlugin as FieldPlugin, type context$2_FieldPluginOptionsOneOf as FieldPluginOptionsOneOf, context$2_FieldPluginType as FieldPluginType, type context$2_FieldRangeValidationsOneOf as FieldRangeValidationsOneOf, type FieldUpdate$1 as FieldUpdate, type context$2_FieldsPattern as FieldsPattern, context$2_Format as Format, type context$2_GetDataCollectionOptions as GetDataCollectionOptions, type context$2_GetDataCollectionRequest as GetDataCollectionRequest, type context$2_GetDataCollectionResponse as GetDataCollectionResponse, type context$2_GetDataCollectionResponseNonNullableFields as GetDataCollectionResponseNonNullableFields, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type Index$1 as Index, type context$2_IndexField as IndexField, type context$2_IndexLimits as IndexLimits, context$2_IndexStatus as IndexStatus, type context$2_ListDataCollectionsOptions as ListDataCollectionsOptions, type context$2_ListDataCollectionsRequest as ListDataCollectionsRequest, type context$2_ListDataCollectionsResponse as ListDataCollectionsResponse, type context$2_ListDataCollectionsResponseNonNullableFields as ListDataCollectionsResponseNonNullableFields, type MessageEnvelope$1 as MessageEnvelope, type context$2_MultiReference as MultiReference, type context$2_MultilingualOptions as MultilingualOptions, type context$2_NumberRange as NumberRange, type context$2_ObjectField as ObjectField, Order$1 as Order, type context$2_PageLink as PageLink, type context$2_PageLinkPluginOptions as PageLinkPluginOptions, type Paging$2 as Paging, type PagingMetadataV2$1 as PagingMetadataV2, context$2_PagingMode as PagingMode, type context$2_Permissions as Permissions, type context$2_Plugin as Plugin, type context$2_PluginCmsOptions as PluginCmsOptions, type context$2_PluginOptionsOneOf as PluginOptionsOneOf, context$2_PluginType as PluginType, type context$2_PluginUpdate as PluginUpdate, type PublishPluginOptions$1 as PublishPluginOptions, context$2_QueryOperator as QueryOperator, type context$2_Reference as Reference, type context$2_RestorationCollection as RestorationCollection, type context$2_RestoreDataCollectionRequest as RestoreDataCollectionRequest, type context$2_RestoreDataCollectionResponse as RestoreDataCollectionResponse, type context$2_RestoreDataCollectionsFromSnapshotRequest as RestoreDataCollectionsFromSnapshotRequest, type context$2_RestoreDataCollectionsFromSnapshotResponse as RestoreDataCollectionsFromSnapshotResponse, type RestoreInfo$1 as RestoreInfo, context$2_Role as Role, context$2_Segment as Segment, type context$2_SingleItemPluginOptions as SingleItemPluginOptions, type context$2_SiteSort as SiteSort, type context$2_SnapshotCollection as SnapshotCollection, type context$2_Sort as Sort, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, Status$1 as Status, type context$2_StringLengthRange as StringLengthRange, context$2_Type as Type, type context$2_TypeMetadata as TypeMetadata, type context$2_TypeMetadataMetadataOneOf as TypeMetadataMetadataOneOf, type context$2_UpdateDataCollectionFieldRequest as UpdateDataCollectionFieldRequest, type context$2_UpdateDataCollectionFieldResponse as UpdateDataCollectionFieldResponse, type context$2_UpdateDataCollectionRequest as UpdateDataCollectionRequest, type context$2_UpdateDataCollectionResponse as UpdateDataCollectionResponse, type context$2_UpdateDataCollectionResponseNonNullableFields as UpdateDataCollectionResponseNonNullableFields, type context$2_UpdateDataPermissionsRequest as UpdateDataPermissionsRequest, type context$2_UpdateDataPermissionsResponse as UpdateDataPermissionsResponse, type context$2_UrlizedOnlyPattern as UrlizedOnlyPattern, type context$2_UrlizedPluginOptions as UrlizedPluginOptions, WebhookIdentityType$1 as WebhookIdentityType, type context$2__Array as _Array, type context$2__Object as _Object, context$2_createDataCollection as createDataCollection, context$2_deleteDataCollection as deleteDataCollection, context$2_getDataCollection as getDataCollection, context$2_listDataCollections as listDataCollections, context$2_updateDataCollection as updateDataCollection };
2482
2492
  }
2483
2493
 
2484
2494
  interface DataItem {
@@ -5071,12 +5081,9 @@ interface DropIndexRequest {
5071
5081
  interface DropIndexResponse {
5072
5082
  }
5073
5083
  interface ListIndexesRequest {
5074
- /**
5075
- * ID of the data collection for which to list indexes.
5076
- *
5077
- */
5084
+ /** ID of the data collection for which to list indexes. */
5078
5085
  dataCollectionId: string;
5079
- /** paging */
5086
+ /** Paging options to limit and skip the number of items. */
5080
5087
  paging?: Paging;
5081
5088
  }
5082
5089
  interface Paging {
@@ -5088,7 +5095,7 @@ interface Paging {
5088
5095
  interface ListIndexesResponse {
5089
5096
  /** List of all indexes for the requested data collection. */
5090
5097
  indexes?: Index[];
5091
- /** Paging metadata */
5098
+ /** Paging metadata. */
5092
5099
  pagingMetadata?: PagingMetadata;
5093
5100
  }
5094
5101
  interface PagingMetadata {
@@ -5142,7 +5149,7 @@ interface ListIndexesResponseNonNullableFields {
5142
5149
  indexes: IndexNonNullableFields[];
5143
5150
  }
5144
5151
  interface ListIndexesOptions {
5145
- /** paging */
5152
+ /** Paging options to limit and skip the number of items. */
5146
5153
  paging?: Paging;
5147
5154
  }
5148
5155
 
@@ -5152,10 +5159,10 @@ interface CreateIndexSignature {
5152
5159
  * Creates an index for a data collection.
5153
5160
  *
5154
5161
  * The index can't be used immediately, as the process of generating the index takes time.
5155
- * You can check whether your index is ready using `listIndexes()`.
5162
+ * You can check whether an index is ready by calling List Indexes.
5156
5163
  *
5157
5164
  * Note that when an index fails to create, the failed index still occupies a slot.
5158
- * To remove the failed index and free up the slot for a new index, use `dropIndex()`.
5165
+ * To remove the failed index and free up the slot for a new index, call Drop Index.
5159
5166
  * @param - ID of the data collection for which to generate the index.
5160
5167
  * @param - Details of the index to be created.
5161
5168
  * @param - Options for creating an index.
@@ -5169,7 +5176,7 @@ interface DropIndexSignature {
5169
5176
  * Removes an index from a data collection.
5170
5177
  *
5171
5178
  * The process of dropping an index from a collection takes time.
5172
- * You can check whether your index has been dropped by calling `listIndexes()`.
5179
+ * You can check whether an index has been dropped by calling List Indexes.
5173
5180
  * @param - ID of the data collection for which the index to be dropped is defined.
5174
5181
  * @param - Name of the index to drop.
5175
5182
  * @param - Options for dropping an index.
@@ -1798,6 +1798,14 @@ interface DeleteDataCollectionRequest {
1798
1798
  }
1799
1799
  interface DeleteDataCollectionResponse {
1800
1800
  }
1801
+ interface RestoreDataCollectionRequest {
1802
+ /** Data Collection ID to restore */
1803
+ dataCollectionId?: string;
1804
+ }
1805
+ interface RestoreDataCollectionResponse {
1806
+ /** Restored data collection */
1807
+ dataCollection?: DataCollection;
1808
+ }
1801
1809
  interface CreateDataCollectionFieldRequest {
1802
1810
  /** ID of data collection to update */
1803
1811
  dataCollectionId?: string;
@@ -2353,7 +2361,7 @@ interface DeleteDataCollectionSignature {
2353
2361
  * Deletes a data collection.
2354
2362
  *
2355
2363
  * > **Note:**
2356
- * > Once a collection is deleted, it can't be restored.
2364
+ * > Once a collection is deleted, it can only be restored for limited amount of time.
2357
2365
  * @param - ID of the collection to delete.
2358
2366
  */
2359
2367
  (dataCollectionId: string): Promise<void>;
@@ -2446,6 +2454,8 @@ type index_d$2_QueryOperator = QueryOperator;
2446
2454
  declare const index_d$2_QueryOperator: typeof QueryOperator;
2447
2455
  type index_d$2_Reference = Reference;
2448
2456
  type index_d$2_RestorationCollection = RestorationCollection;
2457
+ type index_d$2_RestoreDataCollectionRequest = RestoreDataCollectionRequest;
2458
+ type index_d$2_RestoreDataCollectionResponse = RestoreDataCollectionResponse;
2449
2459
  type index_d$2_RestoreDataCollectionsFromSnapshotRequest = RestoreDataCollectionsFromSnapshotRequest;
2450
2460
  type index_d$2_RestoreDataCollectionsFromSnapshotResponse = RestoreDataCollectionsFromSnapshotResponse;
2451
2461
  type index_d$2_Role = Role;
@@ -2478,7 +2488,7 @@ declare const index_d$2_getDataCollection: typeof getDataCollection;
2478
2488
  declare const index_d$2_listDataCollections: typeof listDataCollections;
2479
2489
  declare const index_d$2_updateDataCollection: typeof updateDataCollection;
2480
2490
  declare namespace index_d$2 {
2481
- export { index_d$2_AccessLevel as AccessLevel, type ActionEvent$1 as ActionEvent, type index_d$2_AllowedDataPermissions as AllowedDataPermissions, type index_d$2_ArraySizeRange as ArraySizeRange, type index_d$2_BulkGetDataCollectionsPageBySnapshotsRequest as BulkGetDataCollectionsPageBySnapshotsRequest, type index_d$2_BulkGetDataCollectionsPageBySnapshotsResponse as BulkGetDataCollectionsPageBySnapshotsResponse, type index_d$2_BulkGetDataCollectionsRequest as BulkGetDataCollectionsRequest, type index_d$2_BulkGetDataCollectionsResponse as BulkGetDataCollectionsResponse, type index_d$2_Calculator as Calculator, type index_d$2_CalculatorPatternOneOf as CalculatorPatternOneOf, type index_d$2_CmsOptions as CmsOptions, type index_d$2_CollectionCapabilities as CollectionCapabilities, index_d$2_CollectionOperation as CollectionOperation, index_d$2_CollectionType as CollectionType, type index_d$2_CreateDataCollectionFieldRequest as CreateDataCollectionFieldRequest, type index_d$2_CreateDataCollectionFieldResponse as CreateDataCollectionFieldResponse, type index_d$2_CreateDataCollectionRequest as CreateDataCollectionRequest, type index_d$2_CreateDataCollectionResponse as CreateDataCollectionResponse, type index_d$2_CreateDataCollectionResponseNonNullableFields as CreateDataCollectionResponseNonNullableFields, type index_d$2_CreateDataCollectionsSnapshotRequest as CreateDataCollectionsSnapshotRequest, type index_d$2_CreateDataCollectionsSnapshotResponse as CreateDataCollectionsSnapshotResponse, type index_d$2_CreateMigratedCollectionsSnapshotRequest as CreateMigratedCollectionsSnapshotRequest, type index_d$2_CreateMigratedCollectionsSnapshotResponse as CreateMigratedCollectionsSnapshotResponse, type index_d$2_DataCollection as DataCollection, type index_d$2_DataCollectionChangedEvent as DataCollectionChangedEvent, type index_d$2_DataCollectionClonedEvent as DataCollectionClonedEvent, type index_d$2_DataCollectionNonNullableFields as DataCollectionNonNullableFields, index_d$2_DataOperation as DataOperation, type index_d$2_DataPermissions as DataPermissions, type index_d$2_DeleteDataCollectionFieldRequest as DeleteDataCollectionFieldRequest, type index_d$2_DeleteDataCollectionFieldResponse as DeleteDataCollectionFieldResponse, type index_d$2_DeleteDataCollectionRequest as DeleteDataCollectionRequest, type index_d$2_DeleteDataCollectionResponse as DeleteDataCollectionResponse, type index_d$2_DeleteDataCollectionsSnapshotRequest as DeleteDataCollectionsSnapshotRequest, type index_d$2_DeleteDataCollectionsSnapshotResponse as DeleteDataCollectionsSnapshotResponse, type index_d$2_Destination as Destination, index_d$2_Direction as Direction, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type Failure$1 as Failure, type Field$1 as Field, type index_d$2_FieldCapabilities as FieldCapabilities, type index_d$2_FieldPlugin as FieldPlugin, type index_d$2_FieldPluginOptionsOneOf as FieldPluginOptionsOneOf, index_d$2_FieldPluginType as FieldPluginType, type index_d$2_FieldRangeValidationsOneOf as FieldRangeValidationsOneOf, type FieldUpdate$1 as FieldUpdate, type index_d$2_FieldsPattern as FieldsPattern, index_d$2_Format as Format, type index_d$2_GetDataCollectionOptions as GetDataCollectionOptions, type index_d$2_GetDataCollectionRequest as GetDataCollectionRequest, type index_d$2_GetDataCollectionResponse as GetDataCollectionResponse, type index_d$2_GetDataCollectionResponseNonNullableFields as GetDataCollectionResponseNonNullableFields, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type Index$1 as Index, type index_d$2_IndexField as IndexField, type index_d$2_IndexLimits as IndexLimits, index_d$2_IndexStatus as IndexStatus, type index_d$2_ListDataCollectionsOptions as ListDataCollectionsOptions, type index_d$2_ListDataCollectionsRequest as ListDataCollectionsRequest, type index_d$2_ListDataCollectionsResponse as ListDataCollectionsResponse, type index_d$2_ListDataCollectionsResponseNonNullableFields as ListDataCollectionsResponseNonNullableFields, type MessageEnvelope$1 as MessageEnvelope, type index_d$2_MultiReference as MultiReference, type index_d$2_MultilingualOptions as MultilingualOptions, type index_d$2_NumberRange as NumberRange, type index_d$2_ObjectField as ObjectField, Order$1 as Order, type index_d$2_PageLink as PageLink, type index_d$2_PageLinkPluginOptions as PageLinkPluginOptions, type Paging$2 as Paging, type PagingMetadataV2$1 as PagingMetadataV2, index_d$2_PagingMode as PagingMode, type index_d$2_Permissions as Permissions, type index_d$2_Plugin as Plugin, type index_d$2_PluginCmsOptions as PluginCmsOptions, type index_d$2_PluginOptionsOneOf as PluginOptionsOneOf, index_d$2_PluginType as PluginType, type index_d$2_PluginUpdate as PluginUpdate, type PublishPluginOptions$1 as PublishPluginOptions, index_d$2_QueryOperator as QueryOperator, type index_d$2_Reference as Reference, type index_d$2_RestorationCollection as RestorationCollection, type index_d$2_RestoreDataCollectionsFromSnapshotRequest as RestoreDataCollectionsFromSnapshotRequest, type index_d$2_RestoreDataCollectionsFromSnapshotResponse as RestoreDataCollectionsFromSnapshotResponse, type RestoreInfo$1 as RestoreInfo, index_d$2_Role as Role, index_d$2_Segment as Segment, type index_d$2_SingleItemPluginOptions as SingleItemPluginOptions, type index_d$2_SiteSort as SiteSort, type index_d$2_SnapshotCollection as SnapshotCollection, type index_d$2_Sort as Sort, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, Status$1 as Status, type index_d$2_StringLengthRange as StringLengthRange, index_d$2_Type as Type, type index_d$2_TypeMetadata as TypeMetadata, type index_d$2_TypeMetadataMetadataOneOf as TypeMetadataMetadataOneOf, type index_d$2_UpdateDataCollectionFieldRequest as UpdateDataCollectionFieldRequest, type index_d$2_UpdateDataCollectionFieldResponse as UpdateDataCollectionFieldResponse, type index_d$2_UpdateDataCollectionRequest as UpdateDataCollectionRequest, type index_d$2_UpdateDataCollectionResponse as UpdateDataCollectionResponse, type index_d$2_UpdateDataCollectionResponseNonNullableFields as UpdateDataCollectionResponseNonNullableFields, type index_d$2_UpdateDataPermissionsRequest as UpdateDataPermissionsRequest, type index_d$2_UpdateDataPermissionsResponse as UpdateDataPermissionsResponse, type index_d$2_UrlizedOnlyPattern as UrlizedOnlyPattern, type index_d$2_UrlizedPluginOptions as UrlizedPluginOptions, WebhookIdentityType$1 as WebhookIdentityType, type index_d$2__Array as _Array, type index_d$2__Object as _Object, index_d$2_createDataCollection as createDataCollection, index_d$2_deleteDataCollection as deleteDataCollection, index_d$2_getDataCollection as getDataCollection, index_d$2_listDataCollections as listDataCollections, index_d$2_updateDataCollection as updateDataCollection };
2491
+ export { index_d$2_AccessLevel as AccessLevel, type ActionEvent$1 as ActionEvent, type index_d$2_AllowedDataPermissions as AllowedDataPermissions, type index_d$2_ArraySizeRange as ArraySizeRange, type index_d$2_BulkGetDataCollectionsPageBySnapshotsRequest as BulkGetDataCollectionsPageBySnapshotsRequest, type index_d$2_BulkGetDataCollectionsPageBySnapshotsResponse as BulkGetDataCollectionsPageBySnapshotsResponse, type index_d$2_BulkGetDataCollectionsRequest as BulkGetDataCollectionsRequest, type index_d$2_BulkGetDataCollectionsResponse as BulkGetDataCollectionsResponse, type index_d$2_Calculator as Calculator, type index_d$2_CalculatorPatternOneOf as CalculatorPatternOneOf, type index_d$2_CmsOptions as CmsOptions, type index_d$2_CollectionCapabilities as CollectionCapabilities, index_d$2_CollectionOperation as CollectionOperation, index_d$2_CollectionType as CollectionType, type index_d$2_CreateDataCollectionFieldRequest as CreateDataCollectionFieldRequest, type index_d$2_CreateDataCollectionFieldResponse as CreateDataCollectionFieldResponse, type index_d$2_CreateDataCollectionRequest as CreateDataCollectionRequest, type index_d$2_CreateDataCollectionResponse as CreateDataCollectionResponse, type index_d$2_CreateDataCollectionResponseNonNullableFields as CreateDataCollectionResponseNonNullableFields, type index_d$2_CreateDataCollectionsSnapshotRequest as CreateDataCollectionsSnapshotRequest, type index_d$2_CreateDataCollectionsSnapshotResponse as CreateDataCollectionsSnapshotResponse, type index_d$2_CreateMigratedCollectionsSnapshotRequest as CreateMigratedCollectionsSnapshotRequest, type index_d$2_CreateMigratedCollectionsSnapshotResponse as CreateMigratedCollectionsSnapshotResponse, type index_d$2_DataCollection as DataCollection, type index_d$2_DataCollectionChangedEvent as DataCollectionChangedEvent, type index_d$2_DataCollectionClonedEvent as DataCollectionClonedEvent, type index_d$2_DataCollectionNonNullableFields as DataCollectionNonNullableFields, index_d$2_DataOperation as DataOperation, type index_d$2_DataPermissions as DataPermissions, type index_d$2_DeleteDataCollectionFieldRequest as DeleteDataCollectionFieldRequest, type index_d$2_DeleteDataCollectionFieldResponse as DeleteDataCollectionFieldResponse, type index_d$2_DeleteDataCollectionRequest as DeleteDataCollectionRequest, type index_d$2_DeleteDataCollectionResponse as DeleteDataCollectionResponse, type index_d$2_DeleteDataCollectionsSnapshotRequest as DeleteDataCollectionsSnapshotRequest, type index_d$2_DeleteDataCollectionsSnapshotResponse as DeleteDataCollectionsSnapshotResponse, type index_d$2_Destination as Destination, index_d$2_Direction as Direction, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type Failure$1 as Failure, type Field$1 as Field, type index_d$2_FieldCapabilities as FieldCapabilities, type index_d$2_FieldPlugin as FieldPlugin, type index_d$2_FieldPluginOptionsOneOf as FieldPluginOptionsOneOf, index_d$2_FieldPluginType as FieldPluginType, type index_d$2_FieldRangeValidationsOneOf as FieldRangeValidationsOneOf, type FieldUpdate$1 as FieldUpdate, type index_d$2_FieldsPattern as FieldsPattern, index_d$2_Format as Format, type index_d$2_GetDataCollectionOptions as GetDataCollectionOptions, type index_d$2_GetDataCollectionRequest as GetDataCollectionRequest, type index_d$2_GetDataCollectionResponse as GetDataCollectionResponse, type index_d$2_GetDataCollectionResponseNonNullableFields as GetDataCollectionResponseNonNullableFields, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type Index$1 as Index, type index_d$2_IndexField as IndexField, type index_d$2_IndexLimits as IndexLimits, index_d$2_IndexStatus as IndexStatus, type index_d$2_ListDataCollectionsOptions as ListDataCollectionsOptions, type index_d$2_ListDataCollectionsRequest as ListDataCollectionsRequest, type index_d$2_ListDataCollectionsResponse as ListDataCollectionsResponse, type index_d$2_ListDataCollectionsResponseNonNullableFields as ListDataCollectionsResponseNonNullableFields, type MessageEnvelope$1 as MessageEnvelope, type index_d$2_MultiReference as MultiReference, type index_d$2_MultilingualOptions as MultilingualOptions, type index_d$2_NumberRange as NumberRange, type index_d$2_ObjectField as ObjectField, Order$1 as Order, type index_d$2_PageLink as PageLink, type index_d$2_PageLinkPluginOptions as PageLinkPluginOptions, type Paging$2 as Paging, type PagingMetadataV2$1 as PagingMetadataV2, index_d$2_PagingMode as PagingMode, type index_d$2_Permissions as Permissions, type index_d$2_Plugin as Plugin, type index_d$2_PluginCmsOptions as PluginCmsOptions, type index_d$2_PluginOptionsOneOf as PluginOptionsOneOf, index_d$2_PluginType as PluginType, type index_d$2_PluginUpdate as PluginUpdate, type PublishPluginOptions$1 as PublishPluginOptions, index_d$2_QueryOperator as QueryOperator, type index_d$2_Reference as Reference, type index_d$2_RestorationCollection as RestorationCollection, type index_d$2_RestoreDataCollectionRequest as RestoreDataCollectionRequest, type index_d$2_RestoreDataCollectionResponse as RestoreDataCollectionResponse, type index_d$2_RestoreDataCollectionsFromSnapshotRequest as RestoreDataCollectionsFromSnapshotRequest, type index_d$2_RestoreDataCollectionsFromSnapshotResponse as RestoreDataCollectionsFromSnapshotResponse, type RestoreInfo$1 as RestoreInfo, index_d$2_Role as Role, index_d$2_Segment as Segment, type index_d$2_SingleItemPluginOptions as SingleItemPluginOptions, type index_d$2_SiteSort as SiteSort, type index_d$2_SnapshotCollection as SnapshotCollection, type index_d$2_Sort as Sort, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, Status$1 as Status, type index_d$2_StringLengthRange as StringLengthRange, index_d$2_Type as Type, type index_d$2_TypeMetadata as TypeMetadata, type index_d$2_TypeMetadataMetadataOneOf as TypeMetadataMetadataOneOf, type index_d$2_UpdateDataCollectionFieldRequest as UpdateDataCollectionFieldRequest, type index_d$2_UpdateDataCollectionFieldResponse as UpdateDataCollectionFieldResponse, type index_d$2_UpdateDataCollectionRequest as UpdateDataCollectionRequest, type index_d$2_UpdateDataCollectionResponse as UpdateDataCollectionResponse, type index_d$2_UpdateDataCollectionResponseNonNullableFields as UpdateDataCollectionResponseNonNullableFields, type index_d$2_UpdateDataPermissionsRequest as UpdateDataPermissionsRequest, type index_d$2_UpdateDataPermissionsResponse as UpdateDataPermissionsResponse, type index_d$2_UrlizedOnlyPattern as UrlizedOnlyPattern, type index_d$2_UrlizedPluginOptions as UrlizedPluginOptions, WebhookIdentityType$1 as WebhookIdentityType, type index_d$2__Array as _Array, type index_d$2__Object as _Object, index_d$2_createDataCollection as createDataCollection, index_d$2_deleteDataCollection as deleteDataCollection, index_d$2_getDataCollection as getDataCollection, index_d$2_listDataCollections as listDataCollections, index_d$2_updateDataCollection as updateDataCollection };
2482
2492
  }
2483
2493
 
2484
2494
  interface DataItem {
@@ -5071,12 +5081,9 @@ interface DropIndexRequest {
5071
5081
  interface DropIndexResponse {
5072
5082
  }
5073
5083
  interface ListIndexesRequest {
5074
- /**
5075
- * ID of the data collection for which to list indexes.
5076
- *
5077
- */
5084
+ /** ID of the data collection for which to list indexes. */
5078
5085
  dataCollectionId: string;
5079
- /** paging */
5086
+ /** Paging options to limit and skip the number of items. */
5080
5087
  paging?: Paging;
5081
5088
  }
5082
5089
  interface Paging {
@@ -5088,7 +5095,7 @@ interface Paging {
5088
5095
  interface ListIndexesResponse {
5089
5096
  /** List of all indexes for the requested data collection. */
5090
5097
  indexes?: Index[];
5091
- /** Paging metadata */
5098
+ /** Paging metadata. */
5092
5099
  pagingMetadata?: PagingMetadata;
5093
5100
  }
5094
5101
  interface PagingMetadata {
@@ -5142,7 +5149,7 @@ interface ListIndexesResponseNonNullableFields {
5142
5149
  indexes: IndexNonNullableFields[];
5143
5150
  }
5144
5151
  interface ListIndexesOptions {
5145
- /** paging */
5152
+ /** Paging options to limit and skip the number of items. */
5146
5153
  paging?: Paging;
5147
5154
  }
5148
5155
 
@@ -5152,10 +5159,10 @@ interface CreateIndexSignature {
5152
5159
  * Creates an index for a data collection.
5153
5160
  *
5154
5161
  * The index can't be used immediately, as the process of generating the index takes time.
5155
- * You can check whether your index is ready using `listIndexes()`.
5162
+ * You can check whether an index is ready by calling List Indexes.
5156
5163
  *
5157
5164
  * Note that when an index fails to create, the failed index still occupies a slot.
5158
- * To remove the failed index and free up the slot for a new index, use `dropIndex()`.
5165
+ * To remove the failed index and free up the slot for a new index, call Drop Index.
5159
5166
  * @param - ID of the data collection for which to generate the index.
5160
5167
  * @param - Details of the index to be created.
5161
5168
  * @param - Options for creating an index.
@@ -5169,7 +5176,7 @@ interface DropIndexSignature {
5169
5176
  * Removes an index from a data collection.
5170
5177
  *
5171
5178
  * The process of dropping an index from a collection takes time.
5172
- * You can check whether your index has been dropped by calling `listIndexes()`.
5179
+ * You can check whether an index has been dropped by calling List Indexes.
5173
5180
  * @param - ID of the data collection for which the index to be dropped is defined.
5174
5181
  * @param - Name of the index to drop.
5175
5182
  * @param - Options for dropping an index.
@@ -4379,7 +4379,7 @@ interface Failure$1 {
4379
4379
  interface CreateIndexRequest$1 {
4380
4380
  /** Details of the index to be created. */
4381
4381
  index: Index$1;
4382
- /** ID of the [data collection](https://dev.wix.com/api/rest/wix-data/wix-data/data-collections) for which to generate the index. */
4382
+ /** ID of the data collection for which to generate the index. */
4383
4383
  dataCollectionId: string;
4384
4384
  }
4385
4385
  interface CreateIndexResponse$1 {
@@ -4389,15 +4389,15 @@ interface CreateIndexResponse$1 {
4389
4389
  interface DropIndexRequest$1 {
4390
4390
  /** Name of the index to drop. */
4391
4391
  indexName: string;
4392
- /** ID of the [data collection](https://dev.wix.com/api/rest/wix-data/wix-data/data-collections) for which the index to be dropped is defined. */
4392
+ /** ID of the data collection for which the index to be dropped is defined. */
4393
4393
  dataCollectionId: string;
4394
4394
  }
4395
4395
  interface DropIndexResponse$1 {
4396
4396
  }
4397
4397
  interface ListIndexesRequest$1 {
4398
- /** ID of the [data collection](https://dev.wix.com/api/rest/wix-data/wix-data/data-collections) for which to list indexes. */
4398
+ /** ID of the data collection for which to list indexes. */
4399
4399
  dataCollectionId: string;
4400
- /** paging */
4400
+ /** Paging options to limit and skip the number of items. */
4401
4401
  paging?: Paging$1;
4402
4402
  }
4403
4403
  interface Paging$1 {
@@ -4409,7 +4409,7 @@ interface Paging$1 {
4409
4409
  interface ListIndexesResponse$1 {
4410
4410
  /** List of all indexes for the requested data collection. */
4411
4411
  indexes?: Index$1[];
4412
- /** Paging metadata */
4412
+ /** Paging metadata. */
4413
4413
  pagingMetadata?: PagingMetadata$1;
4414
4414
  }
4415
4415
  interface PagingMetadata$1 {
@@ -4549,12 +4549,9 @@ interface DropIndexRequest {
4549
4549
  interface DropIndexResponse {
4550
4550
  }
4551
4551
  interface ListIndexesRequest {
4552
- /**
4553
- * ID of the data collection for which to list indexes.
4554
- *
4555
- */
4552
+ /** ID of the data collection for which to list indexes. */
4556
4553
  dataCollectionId: string;
4557
- /** paging */
4554
+ /** Paging options to limit and skip the number of items. */
4558
4555
  paging?: Paging;
4559
4556
  }
4560
4557
  interface Paging {
@@ -4566,7 +4563,7 @@ interface Paging {
4566
4563
  interface ListIndexesResponse {
4567
4564
  /** List of all indexes for the requested data collection. */
4568
4565
  indexes?: Index[];
4569
- /** Paging metadata */
4566
+ /** Paging metadata. */
4570
4567
  pagingMetadata?: PagingMetadata;
4571
4568
  }
4572
4569
  interface PagingMetadata {