@wix/data 1.0.172 → 1.0.174

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.172",
3
+ "version": "1.0.174",
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.59",
25
+ "@wix/data_collections": "1.0.60",
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": "b8c2253a81006ba4603bb921074c463ba7bc8a7504cece34cc12405b"
54
+ "falconPackageHash": "21ec79335f5f9407daa9f5f93bfe7a42dada475b1fa364b9b6318b38"
55
55
  }
@@ -1953,8 +1953,30 @@ interface CreateDataCollectionsSnapshotResponse {
1953
1953
  interface RestoreDataCollectionsFromSnapshotRequest {
1954
1954
  /** snapshot ID to restore */
1955
1955
  snapshotId?: string;
1956
- /** collection IDs to restore, if empty – all collections would be restored */
1956
+ /**
1957
+ * collection IDs to restore, if empty – all collections would be restored
1958
+ * @deprecated
1959
+ * @replacedBy restoration_collections
1960
+ * @targetRemovalDate 2025-12-31
1961
+ */
1957
1962
  dataCollectionIds?: string[];
1963
+ /** collection to restore, if empty – all collections would be restored */
1964
+ restorationCollections?: RestorationCollection[];
1965
+ }
1966
+ interface Destination {
1967
+ /** Collection id. */
1968
+ dataCollectionId?: string;
1969
+ /** Display name. When not specified value is taken from the snapshot. */
1970
+ displayName?: string | null;
1971
+ }
1972
+ interface RestorationCollection {
1973
+ /** Collection ID to restore */
1974
+ dataCollectionId?: string;
1975
+ /**
1976
+ * Destination where to restore the collection.
1977
+ * When not specified destination is taken from snapshot.
1978
+ */
1979
+ destination?: Destination;
1958
1980
  }
1959
1981
  interface RestoreDataCollectionsFromSnapshotResponse {
1960
1982
  /** restored collections */
@@ -2381,6 +2403,7 @@ type context$2_DeleteDataCollectionRequest = DeleteDataCollectionRequest;
2381
2403
  type context$2_DeleteDataCollectionResponse = DeleteDataCollectionResponse;
2382
2404
  type context$2_DeleteDataCollectionsSnapshotRequest = DeleteDataCollectionsSnapshotRequest;
2383
2405
  type context$2_DeleteDataCollectionsSnapshotResponse = DeleteDataCollectionsSnapshotResponse;
2406
+ type context$2_Destination = Destination;
2384
2407
  type context$2_Direction = Direction;
2385
2408
  declare const context$2_Direction: typeof Direction;
2386
2409
  type context$2_FieldCapabilities = FieldCapabilities;
@@ -2422,6 +2445,7 @@ type context$2_PluginUpdate = PluginUpdate;
2422
2445
  type context$2_QueryOperator = QueryOperator;
2423
2446
  declare const context$2_QueryOperator: typeof QueryOperator;
2424
2447
  type context$2_Reference = Reference;
2448
+ type context$2_RestorationCollection = RestorationCollection;
2425
2449
  type context$2_RestoreDataCollectionsFromSnapshotRequest = RestoreDataCollectionsFromSnapshotRequest;
2426
2450
  type context$2_RestoreDataCollectionsFromSnapshotResponse = RestoreDataCollectionsFromSnapshotResponse;
2427
2451
  type context$2_Role = Role;
@@ -2454,7 +2478,7 @@ declare const context$2_getDataCollection: typeof getDataCollection;
2454
2478
  declare const context$2_listDataCollections: typeof listDataCollections;
2455
2479
  declare const context$2_updateDataCollection: typeof updateDataCollection;
2456
2480
  declare namespace context$2 {
2457
- 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, 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_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 };
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 };
2458
2482
  }
2459
2483
 
2460
2484
  interface DataItem {
@@ -5047,12 +5071,9 @@ interface DropIndexRequest {
5047
5071
  interface DropIndexResponse {
5048
5072
  }
5049
5073
  interface ListIndexesRequest {
5050
- /**
5051
- * ID of the data collection for which to list indexes.
5052
- *
5053
- */
5074
+ /** ID of the data collection for which to list indexes. */
5054
5075
  dataCollectionId: string;
5055
- /** paging */
5076
+ /** Paging options to limit and skip the number of items. */
5056
5077
  paging?: Paging;
5057
5078
  }
5058
5079
  interface Paging {
@@ -5064,7 +5085,7 @@ interface Paging {
5064
5085
  interface ListIndexesResponse {
5065
5086
  /** List of all indexes for the requested data collection. */
5066
5087
  indexes?: Index[];
5067
- /** Paging metadata */
5088
+ /** Paging metadata. */
5068
5089
  pagingMetadata?: PagingMetadata;
5069
5090
  }
5070
5091
  interface PagingMetadata {
@@ -5118,7 +5139,7 @@ interface ListIndexesResponseNonNullableFields {
5118
5139
  indexes: IndexNonNullableFields[];
5119
5140
  }
5120
5141
  interface ListIndexesOptions {
5121
- /** paging */
5142
+ /** Paging options to limit and skip the number of items. */
5122
5143
  paging?: Paging;
5123
5144
  }
5124
5145
 
@@ -5128,10 +5149,10 @@ interface CreateIndexSignature {
5128
5149
  * Creates an index for a data collection.
5129
5150
  *
5130
5151
  * The index can't be used immediately, as the process of generating the index takes time.
5131
- * You can check whether your index is ready using `listIndexes()`.
5152
+ * You can check whether an index is ready by calling List Indexes.
5132
5153
  *
5133
5154
  * Note that when an index fails to create, the failed index still occupies a slot.
5134
- * To remove the failed index and free up the slot for a new index, use `dropIndex()`.
5155
+ * To remove the failed index and free up the slot for a new index, call Drop Index.
5135
5156
  * @param - ID of the data collection for which to generate the index.
5136
5157
  * @param - Details of the index to be created.
5137
5158
  * @param - Options for creating an index.
@@ -5145,7 +5166,7 @@ interface DropIndexSignature {
5145
5166
  * Removes an index from a data collection.
5146
5167
  *
5147
5168
  * The process of dropping an index from a collection takes time.
5148
- * You can check whether your index has been dropped by calling `listIndexes()`.
5169
+ * You can check whether an index has been dropped by calling List Indexes.
5149
5170
  * @param - ID of the data collection for which the index to be dropped is defined.
5150
5171
  * @param - Name of the index to drop.
5151
5172
  * @param - Options for dropping an index.
@@ -1953,8 +1953,30 @@ interface CreateDataCollectionsSnapshotResponse {
1953
1953
  interface RestoreDataCollectionsFromSnapshotRequest {
1954
1954
  /** snapshot ID to restore */
1955
1955
  snapshotId?: string;
1956
- /** collection IDs to restore, if empty – all collections would be restored */
1956
+ /**
1957
+ * collection IDs to restore, if empty – all collections would be restored
1958
+ * @deprecated
1959
+ * @replacedBy restoration_collections
1960
+ * @targetRemovalDate 2025-12-31
1961
+ */
1957
1962
  dataCollectionIds?: string[];
1963
+ /** collection to restore, if empty – all collections would be restored */
1964
+ restorationCollections?: RestorationCollection[];
1965
+ }
1966
+ interface Destination {
1967
+ /** Collection id. */
1968
+ dataCollectionId?: string;
1969
+ /** Display name. When not specified value is taken from the snapshot. */
1970
+ displayName?: string | null;
1971
+ }
1972
+ interface RestorationCollection {
1973
+ /** Collection ID to restore */
1974
+ dataCollectionId?: string;
1975
+ /**
1976
+ * Destination where to restore the collection.
1977
+ * When not specified destination is taken from snapshot.
1978
+ */
1979
+ destination?: Destination;
1958
1980
  }
1959
1981
  interface RestoreDataCollectionsFromSnapshotResponse {
1960
1982
  /** restored collections */
@@ -2381,6 +2403,7 @@ type index_d$2_DeleteDataCollectionRequest = DeleteDataCollectionRequest;
2381
2403
  type index_d$2_DeleteDataCollectionResponse = DeleteDataCollectionResponse;
2382
2404
  type index_d$2_DeleteDataCollectionsSnapshotRequest = DeleteDataCollectionsSnapshotRequest;
2383
2405
  type index_d$2_DeleteDataCollectionsSnapshotResponse = DeleteDataCollectionsSnapshotResponse;
2406
+ type index_d$2_Destination = Destination;
2384
2407
  type index_d$2_Direction = Direction;
2385
2408
  declare const index_d$2_Direction: typeof Direction;
2386
2409
  type index_d$2_FieldCapabilities = FieldCapabilities;
@@ -2422,6 +2445,7 @@ type index_d$2_PluginUpdate = PluginUpdate;
2422
2445
  type index_d$2_QueryOperator = QueryOperator;
2423
2446
  declare const index_d$2_QueryOperator: typeof QueryOperator;
2424
2447
  type index_d$2_Reference = Reference;
2448
+ type index_d$2_RestorationCollection = RestorationCollection;
2425
2449
  type index_d$2_RestoreDataCollectionsFromSnapshotRequest = RestoreDataCollectionsFromSnapshotRequest;
2426
2450
  type index_d$2_RestoreDataCollectionsFromSnapshotResponse = RestoreDataCollectionsFromSnapshotResponse;
2427
2451
  type index_d$2_Role = Role;
@@ -2454,7 +2478,7 @@ declare const index_d$2_getDataCollection: typeof getDataCollection;
2454
2478
  declare const index_d$2_listDataCollections: typeof listDataCollections;
2455
2479
  declare const index_d$2_updateDataCollection: typeof updateDataCollection;
2456
2480
  declare namespace index_d$2 {
2457
- 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, 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_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 };
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 };
2458
2482
  }
2459
2483
 
2460
2484
  interface DataItem {
@@ -5047,12 +5071,9 @@ interface DropIndexRequest {
5047
5071
  interface DropIndexResponse {
5048
5072
  }
5049
5073
  interface ListIndexesRequest {
5050
- /**
5051
- * ID of the data collection for which to list indexes.
5052
- *
5053
- */
5074
+ /** ID of the data collection for which to list indexes. */
5054
5075
  dataCollectionId: string;
5055
- /** paging */
5076
+ /** Paging options to limit and skip the number of items. */
5056
5077
  paging?: Paging;
5057
5078
  }
5058
5079
  interface Paging {
@@ -5064,7 +5085,7 @@ interface Paging {
5064
5085
  interface ListIndexesResponse {
5065
5086
  /** List of all indexes for the requested data collection. */
5066
5087
  indexes?: Index[];
5067
- /** Paging metadata */
5088
+ /** Paging metadata. */
5068
5089
  pagingMetadata?: PagingMetadata;
5069
5090
  }
5070
5091
  interface PagingMetadata {
@@ -5118,7 +5139,7 @@ interface ListIndexesResponseNonNullableFields {
5118
5139
  indexes: IndexNonNullableFields[];
5119
5140
  }
5120
5141
  interface ListIndexesOptions {
5121
- /** paging */
5142
+ /** Paging options to limit and skip the number of items. */
5122
5143
  paging?: Paging;
5123
5144
  }
5124
5145
 
@@ -5128,10 +5149,10 @@ interface CreateIndexSignature {
5128
5149
  * Creates an index for a data collection.
5129
5150
  *
5130
5151
  * The index can't be used immediately, as the process of generating the index takes time.
5131
- * You can check whether your index is ready using `listIndexes()`.
5152
+ * You can check whether an index is ready by calling List Indexes.
5132
5153
  *
5133
5154
  * Note that when an index fails to create, the failed index still occupies a slot.
5134
- * To remove the failed index and free up the slot for a new index, use `dropIndex()`.
5155
+ * To remove the failed index and free up the slot for a new index, call Drop Index.
5135
5156
  * @param - ID of the data collection for which to generate the index.
5136
5157
  * @param - Details of the index to be created.
5137
5158
  * @param - Options for creating an index.
@@ -5145,7 +5166,7 @@ interface DropIndexSignature {
5145
5166
  * Removes an index from a data collection.
5146
5167
  *
5147
5168
  * The process of dropping an index from a collection takes time.
5148
- * You can check whether your index has been dropped by calling `listIndexes()`.
5169
+ * You can check whether an index has been dropped by calling List Indexes.
5149
5170
  * @param - ID of the data collection for which the index to be dropped is defined.
5150
5171
  * @param - Name of the index to drop.
5151
5172
  * @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 {