@wix/data 1.0.145 → 1.0.147

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.
@@ -521,20 +521,13 @@ declare const onExternalDatabaseConnectionCreated$1: EventDefinition<ExternalDat
521
521
  declare const onExternalDatabaseConnectionUpdated$1: EventDefinition<ExternalDatabaseConnectionUpdatedEnvelope, "wix.data.v1.external_database_connection_updated">;
522
522
  declare const onExternalDatabaseConnectionDeleted$1: EventDefinition<ExternalDatabaseConnectionDeletedEnvelope, "wix.data.v1.external_database_connection_deleted">;
523
523
 
524
- declare function createRESTModule$3<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
525
-
526
524
  declare function createEventModule$2<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
527
525
 
528
- type _publicGetExternalDatabaseConnectionType = typeof getExternalDatabaseConnection$1;
529
- declare const getExternalDatabaseConnection: ReturnType<typeof createRESTModule$3<_publicGetExternalDatabaseConnectionType>>;
530
- type _publicListExternalDatabaseConnectionsType = typeof listExternalDatabaseConnections$1;
531
- declare const listExternalDatabaseConnections: ReturnType<typeof createRESTModule$3<_publicListExternalDatabaseConnectionsType>>;
532
- type _publicCreateExternalDatabaseConnectionType = typeof createExternalDatabaseConnection$1;
533
- declare const createExternalDatabaseConnection: ReturnType<typeof createRESTModule$3<_publicCreateExternalDatabaseConnectionType>>;
534
- type _publicUpdateExternalDatabaseConnectionType = typeof updateExternalDatabaseConnection$1;
535
- declare const updateExternalDatabaseConnection: ReturnType<typeof createRESTModule$3<_publicUpdateExternalDatabaseConnectionType>>;
536
- type _publicDeleteExternalDatabaseConnectionType = typeof deleteExternalDatabaseConnection$1;
537
- declare const deleteExternalDatabaseConnection: ReturnType<typeof createRESTModule$3<_publicDeleteExternalDatabaseConnectionType>>;
526
+ declare const getExternalDatabaseConnection: BuildRESTFunction<typeof getExternalDatabaseConnection$1> & typeof getExternalDatabaseConnection$1;
527
+ declare const listExternalDatabaseConnections: BuildRESTFunction<typeof listExternalDatabaseConnections$1> & typeof listExternalDatabaseConnections$1;
528
+ declare const createExternalDatabaseConnection: BuildRESTFunction<typeof createExternalDatabaseConnection$1> & typeof createExternalDatabaseConnection$1;
529
+ declare const updateExternalDatabaseConnection: BuildRESTFunction<typeof updateExternalDatabaseConnection$1> & typeof updateExternalDatabaseConnection$1;
530
+ declare const deleteExternalDatabaseConnection: BuildRESTFunction<typeof deleteExternalDatabaseConnection$1> & typeof deleteExternalDatabaseConnection$1;
538
531
 
539
532
  type _publicOnExternalDatabaseConnectionCreatedType = typeof onExternalDatabaseConnectionCreated$1;
540
533
  /**
@@ -588,14 +581,9 @@ type context$3_UpdateExternalDatabaseConnection = UpdateExternalDatabaseConnecti
588
581
  type context$3_UpdateExternalDatabaseConnectionRequest = UpdateExternalDatabaseConnectionRequest;
589
582
  type context$3_UpdateExternalDatabaseConnectionResponse = UpdateExternalDatabaseConnectionResponse;
590
583
  type context$3_UpdateExternalDatabaseConnectionResponseNonNullableFields = UpdateExternalDatabaseConnectionResponseNonNullableFields;
591
- type context$3__publicCreateExternalDatabaseConnectionType = _publicCreateExternalDatabaseConnectionType;
592
- type context$3__publicDeleteExternalDatabaseConnectionType = _publicDeleteExternalDatabaseConnectionType;
593
- type context$3__publicGetExternalDatabaseConnectionType = _publicGetExternalDatabaseConnectionType;
594
- type context$3__publicListExternalDatabaseConnectionsType = _publicListExternalDatabaseConnectionsType;
595
584
  type context$3__publicOnExternalDatabaseConnectionCreatedType = _publicOnExternalDatabaseConnectionCreatedType;
596
585
  type context$3__publicOnExternalDatabaseConnectionDeletedType = _publicOnExternalDatabaseConnectionDeletedType;
597
586
  type context$3__publicOnExternalDatabaseConnectionUpdatedType = _publicOnExternalDatabaseConnectionUpdatedType;
598
- type context$3__publicUpdateExternalDatabaseConnectionType = _publicUpdateExternalDatabaseConnectionType;
599
587
  declare const context$3_createExternalDatabaseConnection: typeof createExternalDatabaseConnection;
600
588
  declare const context$3_deleteExternalDatabaseConnection: typeof deleteExternalDatabaseConnection;
601
589
  declare const context$3_getExternalDatabaseConnection: typeof getExternalDatabaseConnection;
@@ -605,7 +593,7 @@ declare const context$3_onExternalDatabaseConnectionDeleted: typeof onExternalDa
605
593
  declare const context$3_onExternalDatabaseConnectionUpdated: typeof onExternalDatabaseConnectionUpdated;
606
594
  declare const context$3_updateExternalDatabaseConnection: typeof updateExternalDatabaseConnection;
607
595
  declare namespace context$3 {
608
- export { type ActionEvent$2 as ActionEvent, type BaseEventMetadata$2 as BaseEventMetadata, type context$3_Capabilities as Capabilities, context$3_CauseOfFailure as CauseOfFailure, context$3_CollectionsFound as CollectionsFound, type context$3_ConnectionStatus as ConnectionStatus, context$3_ConnectionType as ConnectionType, type context$3_CreateExternalDatabaseConnectionOptions as CreateExternalDatabaseConnectionOptions, type context$3_CreateExternalDatabaseConnectionRequest as CreateExternalDatabaseConnectionRequest, type context$3_CreateExternalDatabaseConnectionResponse as CreateExternalDatabaseConnectionResponse, type context$3_CreateExternalDatabaseConnectionResponseNonNullableFields as CreateExternalDatabaseConnectionResponseNonNullableFields, type context$3_DeleteExternalDatabaseConnectionRequest as DeleteExternalDatabaseConnectionRequest, type context$3_DeleteExternalDatabaseConnectionResponse as DeleteExternalDatabaseConnectionResponse, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type EventMetadata$2 as EventMetadata, type context$3_ExternalDatabaseConnection as ExternalDatabaseConnection, type context$3_ExternalDatabaseConnectionCreatedEnvelope as ExternalDatabaseConnectionCreatedEnvelope, type context$3_ExternalDatabaseConnectionDeletedEnvelope as ExternalDatabaseConnectionDeletedEnvelope, type context$3_ExternalDatabaseConnectionNonNullableFields as ExternalDatabaseConnectionNonNullableFields, type context$3_ExternalDatabaseConnectionUpdatedEnvelope as ExternalDatabaseConnectionUpdatedEnvelope, context$3_FieldType as FieldType, type context$3_GetExternalDatabaseConnectionRequest as GetExternalDatabaseConnectionRequest, type context$3_GetExternalDatabaseConnectionResponse as GetExternalDatabaseConnectionResponse, type context$3_GetExternalDatabaseConnectionResponseNonNullableFields as GetExternalDatabaseConnectionResponseNonNullableFields, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type context$3_ListExternalDatabaseConnectionsOptions as ListExternalDatabaseConnectionsOptions, type context$3_ListExternalDatabaseConnectionsRequest as ListExternalDatabaseConnectionsRequest, type context$3_ListExternalDatabaseConnectionsResponse as ListExternalDatabaseConnectionsResponse, type context$3_ListExternalDatabaseConnectionsResponseNonNullableFields as ListExternalDatabaseConnectionsResponseNonNullableFields, type MessageEnvelope$2 as MessageEnvelope, type Paging$3 as Paging, type PagingMetadata$1 as PagingMetadata, context$3_ProtocolVersion as ProtocolVersion, type RestoreInfo$2 as RestoreInfo, type context$3_UpdateExternalDatabaseConnection as UpdateExternalDatabaseConnection, type context$3_UpdateExternalDatabaseConnectionRequest as UpdateExternalDatabaseConnectionRequest, type context$3_UpdateExternalDatabaseConnectionResponse as UpdateExternalDatabaseConnectionResponse, type context$3_UpdateExternalDatabaseConnectionResponseNonNullableFields as UpdateExternalDatabaseConnectionResponseNonNullableFields, WebhookIdentityType$2 as WebhookIdentityType, type context$3__publicCreateExternalDatabaseConnectionType as _publicCreateExternalDatabaseConnectionType, type context$3__publicDeleteExternalDatabaseConnectionType as _publicDeleteExternalDatabaseConnectionType, type context$3__publicGetExternalDatabaseConnectionType as _publicGetExternalDatabaseConnectionType, type context$3__publicListExternalDatabaseConnectionsType as _publicListExternalDatabaseConnectionsType, type context$3__publicOnExternalDatabaseConnectionCreatedType as _publicOnExternalDatabaseConnectionCreatedType, type context$3__publicOnExternalDatabaseConnectionDeletedType as _publicOnExternalDatabaseConnectionDeletedType, type context$3__publicOnExternalDatabaseConnectionUpdatedType as _publicOnExternalDatabaseConnectionUpdatedType, type context$3__publicUpdateExternalDatabaseConnectionType as _publicUpdateExternalDatabaseConnectionType, context$3_createExternalDatabaseConnection as createExternalDatabaseConnection, context$3_deleteExternalDatabaseConnection as deleteExternalDatabaseConnection, context$3_getExternalDatabaseConnection as getExternalDatabaseConnection, context$3_listExternalDatabaseConnections as listExternalDatabaseConnections, context$3_onExternalDatabaseConnectionCreated as onExternalDatabaseConnectionCreated, context$3_onExternalDatabaseConnectionDeleted as onExternalDatabaseConnectionDeleted, context$3_onExternalDatabaseConnectionUpdated as onExternalDatabaseConnectionUpdated, onExternalDatabaseConnectionCreated$1 as publicOnExternalDatabaseConnectionCreated, onExternalDatabaseConnectionDeleted$1 as publicOnExternalDatabaseConnectionDeleted, onExternalDatabaseConnectionUpdated$1 as publicOnExternalDatabaseConnectionUpdated, context$3_updateExternalDatabaseConnection as updateExternalDatabaseConnection };
596
+ export { type ActionEvent$2 as ActionEvent, type BaseEventMetadata$2 as BaseEventMetadata, type context$3_Capabilities as Capabilities, context$3_CauseOfFailure as CauseOfFailure, context$3_CollectionsFound as CollectionsFound, type context$3_ConnectionStatus as ConnectionStatus, context$3_ConnectionType as ConnectionType, type context$3_CreateExternalDatabaseConnectionOptions as CreateExternalDatabaseConnectionOptions, type context$3_CreateExternalDatabaseConnectionRequest as CreateExternalDatabaseConnectionRequest, type context$3_CreateExternalDatabaseConnectionResponse as CreateExternalDatabaseConnectionResponse, type context$3_CreateExternalDatabaseConnectionResponseNonNullableFields as CreateExternalDatabaseConnectionResponseNonNullableFields, type context$3_DeleteExternalDatabaseConnectionRequest as DeleteExternalDatabaseConnectionRequest, type context$3_DeleteExternalDatabaseConnectionResponse as DeleteExternalDatabaseConnectionResponse, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type EventMetadata$2 as EventMetadata, type context$3_ExternalDatabaseConnection as ExternalDatabaseConnection, type context$3_ExternalDatabaseConnectionCreatedEnvelope as ExternalDatabaseConnectionCreatedEnvelope, type context$3_ExternalDatabaseConnectionDeletedEnvelope as ExternalDatabaseConnectionDeletedEnvelope, type context$3_ExternalDatabaseConnectionNonNullableFields as ExternalDatabaseConnectionNonNullableFields, type context$3_ExternalDatabaseConnectionUpdatedEnvelope as ExternalDatabaseConnectionUpdatedEnvelope, context$3_FieldType as FieldType, type context$3_GetExternalDatabaseConnectionRequest as GetExternalDatabaseConnectionRequest, type context$3_GetExternalDatabaseConnectionResponse as GetExternalDatabaseConnectionResponse, type context$3_GetExternalDatabaseConnectionResponseNonNullableFields as GetExternalDatabaseConnectionResponseNonNullableFields, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type context$3_ListExternalDatabaseConnectionsOptions as ListExternalDatabaseConnectionsOptions, type context$3_ListExternalDatabaseConnectionsRequest as ListExternalDatabaseConnectionsRequest, type context$3_ListExternalDatabaseConnectionsResponse as ListExternalDatabaseConnectionsResponse, type context$3_ListExternalDatabaseConnectionsResponseNonNullableFields as ListExternalDatabaseConnectionsResponseNonNullableFields, type MessageEnvelope$2 as MessageEnvelope, type Paging$3 as Paging, type PagingMetadata$1 as PagingMetadata, context$3_ProtocolVersion as ProtocolVersion, type RestoreInfo$2 as RestoreInfo, type context$3_UpdateExternalDatabaseConnection as UpdateExternalDatabaseConnection, type context$3_UpdateExternalDatabaseConnectionRequest as UpdateExternalDatabaseConnectionRequest, type context$3_UpdateExternalDatabaseConnectionResponse as UpdateExternalDatabaseConnectionResponse, type context$3_UpdateExternalDatabaseConnectionResponseNonNullableFields as UpdateExternalDatabaseConnectionResponseNonNullableFields, WebhookIdentityType$2 as WebhookIdentityType, type context$3__publicOnExternalDatabaseConnectionCreatedType as _publicOnExternalDatabaseConnectionCreatedType, type context$3__publicOnExternalDatabaseConnectionDeletedType as _publicOnExternalDatabaseConnectionDeletedType, type context$3__publicOnExternalDatabaseConnectionUpdatedType as _publicOnExternalDatabaseConnectionUpdatedType, context$3_createExternalDatabaseConnection as createExternalDatabaseConnection, context$3_deleteExternalDatabaseConnection as deleteExternalDatabaseConnection, context$3_getExternalDatabaseConnection as getExternalDatabaseConnection, context$3_listExternalDatabaseConnections as listExternalDatabaseConnections, context$3_onExternalDatabaseConnectionCreated as onExternalDatabaseConnectionCreated, context$3_onExternalDatabaseConnectionDeleted as onExternalDatabaseConnectionDeleted, context$3_onExternalDatabaseConnectionUpdated as onExternalDatabaseConnectionUpdated, onExternalDatabaseConnectionCreated$1 as publicOnExternalDatabaseConnectionCreated, onExternalDatabaseConnectionDeleted$1 as publicOnExternalDatabaseConnectionDeleted, onExternalDatabaseConnectionUpdated$1 as publicOnExternalDatabaseConnectionUpdated, context$3_updateExternalDatabaseConnection as updateExternalDatabaseConnection };
609
597
  }
610
598
 
611
599
  /** A data collection determines the structure of data to be stored in a database. */
@@ -1984,20 +1972,13 @@ declare const onDataCollectionCreated$1: EventDefinition<DataCollectionCreatedEn
1984
1972
  declare const onDataCollectionUpdated$1: EventDefinition<DataCollectionUpdatedEnvelope, "wix.data.v2.data_collection_updated">;
1985
1973
  declare const onDataCollectionDeleted$1: EventDefinition<DataCollectionDeletedEnvelope, "wix.data.v2.data_collection_deleted">;
1986
1974
 
1987
- declare function createRESTModule$2<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
1988
-
1989
1975
  declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
1990
1976
 
1991
- type _publicCreateDataCollectionType = typeof createDataCollection$1;
1992
- declare const createDataCollection: ReturnType<typeof createRESTModule$2<_publicCreateDataCollectionType>>;
1993
- type _publicGetDataCollectionType = typeof getDataCollection$1;
1994
- declare const getDataCollection: ReturnType<typeof createRESTModule$2<_publicGetDataCollectionType>>;
1995
- type _publicListDataCollectionsType = typeof listDataCollections$1;
1996
- declare const listDataCollections: ReturnType<typeof createRESTModule$2<_publicListDataCollectionsType>>;
1997
- type _publicUpdateDataCollectionType = typeof updateDataCollection$1;
1998
- declare const updateDataCollection: ReturnType<typeof createRESTModule$2<_publicUpdateDataCollectionType>>;
1999
- type _publicDeleteDataCollectionType = typeof deleteDataCollection$1;
2000
- declare const deleteDataCollection: ReturnType<typeof createRESTModule$2<_publicDeleteDataCollectionType>>;
1977
+ declare const createDataCollection: BuildRESTFunction<typeof createDataCollection$1> & typeof createDataCollection$1;
1978
+ declare const getDataCollection: BuildRESTFunction<typeof getDataCollection$1> & typeof getDataCollection$1;
1979
+ declare const listDataCollections: BuildRESTFunction<typeof listDataCollections$1> & typeof listDataCollections$1;
1980
+ declare const updateDataCollection: BuildRESTFunction<typeof updateDataCollection$1> & typeof updateDataCollection$1;
1981
+ declare const deleteDataCollection: BuildRESTFunction<typeof deleteDataCollection$1> & typeof deleteDataCollection$1;
2001
1982
 
2002
1983
  type _publicOnDataCollectionClonedEventType = typeof onDataCollectionClonedEvent$1;
2003
1984
  /**
@@ -2133,16 +2114,11 @@ type context$2_UrlizedOnlyPattern = UrlizedOnlyPattern;
2133
2114
  type context$2_UrlizedPluginOptions = UrlizedPluginOptions;
2134
2115
  type context$2__Array = _Array;
2135
2116
  type context$2__Object = _Object;
2136
- type context$2__publicCreateDataCollectionType = _publicCreateDataCollectionType;
2137
- type context$2__publicDeleteDataCollectionType = _publicDeleteDataCollectionType;
2138
- type context$2__publicGetDataCollectionType = _publicGetDataCollectionType;
2139
- type context$2__publicListDataCollectionsType = _publicListDataCollectionsType;
2140
2117
  type context$2__publicOnDataCollectionChangedEventType = _publicOnDataCollectionChangedEventType;
2141
2118
  type context$2__publicOnDataCollectionClonedEventType = _publicOnDataCollectionClonedEventType;
2142
2119
  type context$2__publicOnDataCollectionCreatedType = _publicOnDataCollectionCreatedType;
2143
2120
  type context$2__publicOnDataCollectionDeletedType = _publicOnDataCollectionDeletedType;
2144
2121
  type context$2__publicOnDataCollectionUpdatedType = _publicOnDataCollectionUpdatedType;
2145
- type context$2__publicUpdateDataCollectionType = _publicUpdateDataCollectionType;
2146
2122
  declare const context$2_createDataCollection: typeof createDataCollection;
2147
2123
  declare const context$2_deleteDataCollection: typeof deleteDataCollection;
2148
2124
  declare const context$2_getDataCollection: typeof getDataCollection;
@@ -2154,7 +2130,7 @@ declare const context$2_onDataCollectionDeleted: typeof onDataCollectionDeleted;
2154
2130
  declare const context$2_onDataCollectionUpdated: typeof onDataCollectionUpdated;
2155
2131
  declare const context$2_updateDataCollection: typeof updateDataCollection;
2156
2132
  declare namespace context$2 {
2157
- export { context$2_AccessLevel as AccessLevel, type ActionEvent$1 as ActionEvent, type context$2_AllowedDataPermissions as AllowedDataPermissions, type context$2_ArraySizeRange as ArraySizeRange, type BaseEventMetadata$1 as BaseEventMetadata, 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_DataCollectionChangedEnvelope as DataCollectionChangedEnvelope, type context$2_DataCollectionChangedEvent as DataCollectionChangedEvent, type context$2_DataCollectionClonedEnvelope as DataCollectionClonedEnvelope, type context$2_DataCollectionClonedEvent as DataCollectionClonedEvent, type context$2_DataCollectionCreatedEnvelope as DataCollectionCreatedEnvelope, type context$2_DataCollectionDeletedEnvelope as DataCollectionDeletedEnvelope, type context$2_DataCollectionNonNullableFields as DataCollectionNonNullableFields, type context$2_DataCollectionUpdatedEnvelope as DataCollectionUpdatedEnvelope, 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 EventMetadata$1 as EventMetadata, 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, 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, type context$2__publicCreateDataCollectionType as _publicCreateDataCollectionType, type context$2__publicDeleteDataCollectionType as _publicDeleteDataCollectionType, type context$2__publicGetDataCollectionType as _publicGetDataCollectionType, type context$2__publicListDataCollectionsType as _publicListDataCollectionsType, type context$2__publicOnDataCollectionChangedEventType as _publicOnDataCollectionChangedEventType, type context$2__publicOnDataCollectionClonedEventType as _publicOnDataCollectionClonedEventType, type context$2__publicOnDataCollectionCreatedType as _publicOnDataCollectionCreatedType, type context$2__publicOnDataCollectionDeletedType as _publicOnDataCollectionDeletedType, type context$2__publicOnDataCollectionUpdatedType as _publicOnDataCollectionUpdatedType, type context$2__publicUpdateDataCollectionType as _publicUpdateDataCollectionType, context$2_createDataCollection as createDataCollection, context$2_deleteDataCollection as deleteDataCollection, context$2_getDataCollection as getDataCollection, context$2_listDataCollections as listDataCollections, context$2_onDataCollectionChangedEvent as onDataCollectionChangedEvent, context$2_onDataCollectionClonedEvent as onDataCollectionClonedEvent, context$2_onDataCollectionCreated as onDataCollectionCreated, context$2_onDataCollectionDeleted as onDataCollectionDeleted, context$2_onDataCollectionUpdated as onDataCollectionUpdated, onDataCollectionChangedEvent$1 as publicOnDataCollectionChangedEvent, onDataCollectionClonedEvent$1 as publicOnDataCollectionClonedEvent, onDataCollectionCreated$1 as publicOnDataCollectionCreated, onDataCollectionDeleted$1 as publicOnDataCollectionDeleted, onDataCollectionUpdated$1 as publicOnDataCollectionUpdated, context$2_updateDataCollection as updateDataCollection };
2133
+ export { context$2_AccessLevel as AccessLevel, type ActionEvent$1 as ActionEvent, type context$2_AllowedDataPermissions as AllowedDataPermissions, type context$2_ArraySizeRange as ArraySizeRange, type BaseEventMetadata$1 as BaseEventMetadata, 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_DataCollectionChangedEnvelope as DataCollectionChangedEnvelope, type context$2_DataCollectionChangedEvent as DataCollectionChangedEvent, type context$2_DataCollectionClonedEnvelope as DataCollectionClonedEnvelope, type context$2_DataCollectionClonedEvent as DataCollectionClonedEvent, type context$2_DataCollectionCreatedEnvelope as DataCollectionCreatedEnvelope, type context$2_DataCollectionDeletedEnvelope as DataCollectionDeletedEnvelope, type context$2_DataCollectionNonNullableFields as DataCollectionNonNullableFields, type context$2_DataCollectionUpdatedEnvelope as DataCollectionUpdatedEnvelope, 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 EventMetadata$1 as EventMetadata, 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, 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, type context$2__publicOnDataCollectionChangedEventType as _publicOnDataCollectionChangedEventType, type context$2__publicOnDataCollectionClonedEventType as _publicOnDataCollectionClonedEventType, type context$2__publicOnDataCollectionCreatedType as _publicOnDataCollectionCreatedType, type context$2__publicOnDataCollectionDeletedType as _publicOnDataCollectionDeletedType, type context$2__publicOnDataCollectionUpdatedType as _publicOnDataCollectionUpdatedType, context$2_createDataCollection as createDataCollection, context$2_deleteDataCollection as deleteDataCollection, context$2_getDataCollection as getDataCollection, context$2_listDataCollections as listDataCollections, context$2_onDataCollectionChangedEvent as onDataCollectionChangedEvent, context$2_onDataCollectionClonedEvent as onDataCollectionClonedEvent, context$2_onDataCollectionCreated as onDataCollectionCreated, context$2_onDataCollectionDeleted as onDataCollectionDeleted, context$2_onDataCollectionUpdated as onDataCollectionUpdated, onDataCollectionChangedEvent$1 as publicOnDataCollectionChangedEvent, onDataCollectionClonedEvent$1 as publicOnDataCollectionClonedEvent, onDataCollectionCreated$1 as publicOnDataCollectionCreated, onDataCollectionDeleted$1 as publicOnDataCollectionDeleted, onDataCollectionUpdated$1 as publicOnDataCollectionUpdated, context$2_updateDataCollection as updateDataCollection };
2158
2134
  }
2159
2135
 
2160
2136
  interface DataItem {
@@ -2182,6 +2158,14 @@ interface InsertDataItemRequest {
2182
2158
  dataCollectionId: string;
2183
2159
  /** Item to insert. */
2184
2160
  dataItem: DataItem;
2161
+ /**
2162
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
2163
+ *
2164
+ * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
2165
+ * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
2166
+ * - `includeVariants`: Whether to include product variants in the query. Default: `false`.
2167
+ */
2168
+ appOptions?: Record<string, any> | null;
2185
2169
  }
2186
2170
  declare enum Environment$1 {
2187
2171
  LIVE = "LIVE",
@@ -2202,6 +2186,19 @@ interface PatchDataItemRequest {
2202
2186
  dataCollectionId?: string;
2203
2187
  /** Patch set applied during item update. */
2204
2188
  patchSet?: PatchSet;
2189
+ /**
2190
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
2191
+ *
2192
+ * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
2193
+ * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
2194
+ * - `includeVariants`: Whether to include product variants in the query. Default: `false`.
2195
+ */
2196
+ appOptions?: Record<string, any> | null;
2197
+ /**
2198
+ * Options for the Publish plugin.
2199
+ * This plugin allows items in a [data collection](https://dev.wix.com/docs/rest/business-solutions/cms/data-collections/data-collection-object) to be marked as draft or published. Published items are visible to site visitors, while draft items are not.
2200
+ */
2201
+ publishPluginOptions?: DataPublishPluginOptions;
2205
2202
  }
2206
2203
  interface PatchSet {
2207
2204
  /** Data item ID. */
@@ -2250,8 +2247,6 @@ interface DataPublishPluginOptions {
2250
2247
  /**
2251
2248
  * Whether to include draft items.
2252
2249
  * When `true`, the response includes both published and draft items. Default: `false`.
2253
- *
2254
- * **Note:** This option is only relevant for [data collections](https://dev.wix.com/docs/rest/business-solutions/cms/data-collections/data-collection-object) that use the Publish plugin.
2255
2250
  */
2256
2251
  includeDraftItems?: boolean;
2257
2252
  }
@@ -2271,6 +2266,19 @@ interface BulkPatchDataItemsRequest {
2271
2266
  * Default: `false`
2272
2267
  */
2273
2268
  returnEntity?: boolean;
2269
+ /**
2270
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying:
2271
+ *
2272
+ * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
2273
+ * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
2274
+ * - `includeVariants`: Whether to include product variants in the query. Default: `false`.
2275
+ */
2276
+ appOptions?: Record<string, any> | null;
2277
+ /**
2278
+ * Options for the Publish plugin.
2279
+ * This plugin allows items in a [data collection](https://dev.wix.com/docs/rest/business-solutions/cms/data-collections/data-collection-object) to be marked as draft or published. Published items are visible to site visitors, while draft items are not.
2280
+ */
2281
+ publishPluginOptions?: DataPublishPluginOptions;
2274
2282
  }
2275
2283
  interface BulkPatchDataItemsResponse {
2276
2284
  /** Information about the updated items. */
@@ -2326,6 +2334,19 @@ interface UpdateDataItemRequest {
2326
2334
  dataCollectionId: string;
2327
2335
  /** Updated data item content. The existing data item's content is replaced entirely. */
2328
2336
  dataItem: DataItem;
2337
+ /**
2338
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
2339
+ *
2340
+ * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
2341
+ * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
2342
+ * - `includeVariants`: Whether to include product variants in the query. Default: `false`.
2343
+ */
2344
+ appOptions?: Record<string, any> | null;
2345
+ /**
2346
+ * Options for the Publish plugin.
2347
+ * This plugin allows items in a [data collection](https://dev.wix.com/docs/rest/business-solutions/cms/data-collections/data-collection-object) to be marked as draft or published. Published items are visible to site visitors, while draft items are not.
2348
+ */
2349
+ publishPluginOptions?: DataPublishPluginOptions;
2329
2350
  }
2330
2351
  interface UpdateDataItemResponse {
2331
2352
  /** Updated data item. */
@@ -2336,6 +2357,19 @@ interface SaveDataItemRequest {
2336
2357
  dataCollectionId: string;
2337
2358
  /** Data item to insert or update. */
2338
2359
  dataItem: DataItem;
2360
+ /**
2361
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
2362
+ *
2363
+ * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
2364
+ * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
2365
+ * - `includeVariants`: Whether to include product variants in the query. Default: `false`.
2366
+ */
2367
+ appOptions?: Record<string, any> | null;
2368
+ /**
2369
+ * Options for the Publish plugin.
2370
+ * This plugin allows items in a [data collection](https://dev.wix.com/docs/rest/business-solutions/cms/data-collections/data-collection-object) to be marked as draft or published. Published items are visible to site visitors, while draft items are not.
2371
+ */
2372
+ publishPluginOptions?: DataPublishPluginOptions;
2339
2373
  }
2340
2374
  interface SaveDataItemResponse {
2341
2375
  /**
@@ -2378,6 +2412,19 @@ interface GetDataItemRequest {
2378
2412
  * **Note:** The `_id` system field is always returned.
2379
2413
  */
2380
2414
  fields?: string[];
2415
+ /**
2416
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
2417
+ *
2418
+ * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
2419
+ * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
2420
+ * - `includeVariants`: Whether to include product variants in the query. Default: `false`.
2421
+ */
2422
+ appOptions?: Record<string, any> | null;
2423
+ /**
2424
+ * Options for the Publish plugin.
2425
+ * This plugin allows items in a [data collection](https://dev.wix.com/docs/rest/business-solutions/cms/data-collections/data-collection-object) to be marked as draft or published. Published items are visible to site visitors, while draft items are not.
2426
+ */
2427
+ publishPluginOptions?: DataPublishPluginOptions;
2381
2428
  }
2382
2429
  interface GetDataItemResponse {
2383
2430
  /** Retrieved item. */
@@ -2388,6 +2435,19 @@ interface RemoveDataItemRequest {
2388
2435
  dataCollectionId: string;
2389
2436
  /** ID of the item to remove. */
2390
2437
  dataItemId: string;
2438
+ /**
2439
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
2440
+ *
2441
+ * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
2442
+ * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
2443
+ * - `includeVariants`: Whether to include product variants in the query. Default: `false`.
2444
+ */
2445
+ appOptions?: Record<string, any> | null;
2446
+ /**
2447
+ * Options for the Publish plugin.
2448
+ * This plugin allows items in a [data collection](https://dev.wix.com/docs/rest/business-solutions/cms/data-collections/data-collection-object) to be marked as draft or published. Published items are visible to site visitors, while draft items are not.
2449
+ */
2450
+ publishPluginOptions?: DataPublishPluginOptions;
2391
2451
  }
2392
2452
  interface RemoveDataItemResponse {
2393
2453
  /** Removed item. */
@@ -2434,6 +2494,19 @@ interface QueryDataItemsRequest {
2434
2494
  * If not provided, result text is not translated.
2435
2495
  */
2436
2496
  language?: string | null;
2497
+ /**
2498
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
2499
+ *
2500
+ * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
2501
+ * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
2502
+ * - `includeVariants`: Whether to include product variants in the query. Default: `false`.
2503
+ */
2504
+ appOptions?: Record<string, any> | null;
2505
+ /**
2506
+ * Options for the Publish plugin.
2507
+ * This plugin allows items in a [data collection](https://dev.wix.com/docs/rest/business-solutions/cms/data-collections/data-collection-object) to be marked as draft or published. Published items are visible to site visitors, while draft items are not.
2508
+ */
2509
+ publishPluginOptions?: DataPublishPluginOptions;
2437
2510
  /** Options for retrieving referenced items. */
2438
2511
  referencedItemOptions?: ReferencedItemOptions[];
2439
2512
  }
@@ -2588,6 +2661,19 @@ interface AggregateDataItemsRequest extends AggregateDataItemsRequestPagingMetho
2588
2661
  * If not provided, result text is not translated.
2589
2662
  */
2590
2663
  language?: string | null;
2664
+ /**
2665
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
2666
+ *
2667
+ * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
2668
+ * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
2669
+ * - `includeVariants`: Whether to include product variants in the query. Default: `false`.
2670
+ */
2671
+ appOptions?: Record<string, any> | null;
2672
+ /**
2673
+ * Options for the Publish plugin.
2674
+ * This plugin allows items in a [data collection](https://dev.wix.com/docs/rest/business-solutions/cms/data-collections/data-collection-object) to be marked as draft or published. Published items are visible to site visitors, while draft items are not.
2675
+ */
2676
+ publishPluginOptions?: DataPublishPluginOptions;
2591
2677
  }
2592
2678
  /** @oneof */
2593
2679
  interface AggregateDataItemsRequestPagingMethodOneOf {
@@ -2684,6 +2770,19 @@ interface CountDataItemsRequest {
2684
2770
  * If not provided, result text is not translated.
2685
2771
  */
2686
2772
  language?: string | null;
2773
+ /**
2774
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
2775
+ *
2776
+ * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
2777
+ * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
2778
+ * - `includeVariants`: Whether to include product variants in the query. Default: `false`.
2779
+ */
2780
+ appOptions?: Record<string, any> | null;
2781
+ /**
2782
+ * Options for the Publish plugin.
2783
+ * This plugin allows items in a [data collection](https://dev.wix.com/docs/rest/business-solutions/cms/data-collections/data-collection-object) to be marked as draft or published. Published items are visible to site visitors, while draft items are not.
2784
+ */
2785
+ publishPluginOptions?: DataPublishPluginOptions;
2687
2786
  }
2688
2787
  interface CountDataItemsResponse {
2689
2788
  /** Number of items matching the query. */
@@ -2739,6 +2838,11 @@ interface QueryDistinctValuesRequest extends QueryDistinctValuesRequestPagingMet
2739
2838
  * If not provided, result text is not translated.
2740
2839
  */
2741
2840
  language?: string | null;
2841
+ /**
2842
+ * Options for the Publish plugin.
2843
+ * This plugin allows items in a [data collection](https://dev.wix.com/docs/rest/business-solutions/cms/data-collections/data-collection-object) to be marked as draft or published. Published items are visible to site visitors, while draft items are not.
2844
+ */
2845
+ publishPluginOptions?: DataPublishPluginOptions;
2742
2846
  }
2743
2847
  /** @oneof */
2744
2848
  interface QueryDistinctValuesRequestPagingMethodOneOf {
@@ -2765,6 +2869,14 @@ interface BulkInsertDataItemsRequest {
2765
2869
  * Default: `false`
2766
2870
  */
2767
2871
  returnEntity?: boolean;
2872
+ /**
2873
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
2874
+ *
2875
+ * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
2876
+ * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
2877
+ * - `includeVariants`: Whether to include product variants in the query. Default: `false`.
2878
+ */
2879
+ appOptions?: Record<string, any> | null;
2768
2880
  }
2769
2881
  interface BulkInsertDataItemsResponse {
2770
2882
  /** Information about the inserted items. */
@@ -2784,6 +2896,19 @@ interface BulkUpdateDataItemsRequest {
2784
2896
  * Default: `false`
2785
2897
  */
2786
2898
  returnEntity?: boolean;
2899
+ /**
2900
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
2901
+ *
2902
+ * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
2903
+ * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
2904
+ * - `includeVariants`: Whether to include product variants in the query. Default: `false`.
2905
+ */
2906
+ appOptions?: Record<string, any> | null;
2907
+ /**
2908
+ * Options for the Publish plugin.
2909
+ * This plugin allows items in a [data collection](https://dev.wix.com/docs/rest/business-solutions/cms/data-collections/data-collection-object) to be marked as draft or published. Published items are visible to site visitors, while draft items are not.
2910
+ */
2911
+ publishPluginOptions?: DataPublishPluginOptions;
2787
2912
  }
2788
2913
  interface BulkUpdateDataItemsResponse {
2789
2914
  /** Information about the updated items. */
@@ -2803,6 +2928,19 @@ interface BulkSaveDataItemsRequest {
2803
2928
  * Default: `false`
2804
2929
  */
2805
2930
  returnEntity?: boolean;
2931
+ /**
2932
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
2933
+ *
2934
+ * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
2935
+ * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
2936
+ * - `includeVariants`: Whether to include product variants in the query. Default: `false`.
2937
+ */
2938
+ appOptions?: Record<string, any> | null;
2939
+ /**
2940
+ * Options for the Publish plugin.
2941
+ * This plugin allows items in a [data collection](https://dev.wix.com/docs/rest/business-solutions/cms/data-collections/data-collection-object) to be marked as draft or published. Published items are visible to site visitors, while draft items are not.
2942
+ */
2943
+ publishPluginOptions?: DataPublishPluginOptions;
2806
2944
  }
2807
2945
  interface BulkSaveDataItemsResponse {
2808
2946
  /** Information about the saved items. */
@@ -2815,6 +2953,19 @@ interface BulkRemoveDataItemsRequest {
2815
2953
  dataCollectionId: string;
2816
2954
  /** IDs of data items to remove. */
2817
2955
  dataItemIds: string[];
2956
+ /**
2957
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
2958
+ *
2959
+ * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
2960
+ * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
2961
+ * - `includeVariants`: Whether to include product variants in the query. Default: `false`.
2962
+ */
2963
+ appOptions?: Record<string, any> | null;
2964
+ /**
2965
+ * Options for the Publish plugin.
2966
+ * This plugin allows items in a [data collection](https://dev.wix.com/docs/rest/business-solutions/cms/data-collections/data-collection-object) to be marked as draft or published. Published items are visible to site visitors, while draft items are not.
2967
+ */
2968
+ publishPluginOptions?: DataPublishPluginOptions;
2818
2969
  }
2819
2970
  interface BulkRemoveDataItemsResponse {
2820
2971
  /** Information about the removed data items. */
@@ -2862,6 +3013,19 @@ interface QueryReferencedDataItemsRequest extends QueryReferencedDataItemsReques
2862
3013
  * **Note:** The `_id` system field is always returned.
2863
3014
  */
2864
3015
  fields?: string[];
3016
+ /**
3017
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying:
3018
+ *
3019
+ * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
3020
+ * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
3021
+ * - `includeVariants`: Whether to include product variants in the query. Default: `false`.
3022
+ */
3023
+ appOptions?: Record<string, any> | null;
3024
+ /**
3025
+ * Options for the Publish plugin.
3026
+ * This plugin allows items in a [data collection](https://dev.wix.com/docs/rest/business-solutions/cms/data-collections/data-collection-object) to be marked as draft or published. Published items are visible to site visitors, while draft items are not.
3027
+ */
3028
+ publishPluginOptions?: DataPublishPluginOptions;
2865
3029
  }
2866
3030
  /** @oneof */
2867
3031
  interface QueryReferencedDataItemsRequestPagingMethodOneOf {
@@ -2921,6 +3085,14 @@ interface InsertDataItemReferenceRequest {
2921
3085
  dataCollectionId: string;
2922
3086
  /** Reference to insert */
2923
3087
  dataItemReference?: DataItemReference;
3088
+ /**
3089
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
3090
+ *
3091
+ * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
3092
+ * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
3093
+ * - `includeVariants`: Whether to include product variants in the query. Default: `false`.
3094
+ */
3095
+ appOptions?: Record<string, any> | null;
2924
3096
  }
2925
3097
  interface DataItemReference {
2926
3098
  /** Referring item field containing the references to the referenced items. */
@@ -3279,6 +3451,14 @@ interface InsertDataItemOptions {
3279
3451
  dataCollectionId: string;
3280
3452
  /** Item to insert. */
3281
3453
  dataItem: DataItem;
3454
+ /**
3455
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
3456
+ *
3457
+ * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
3458
+ * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
3459
+ * - `includeVariants`: Whether to include product variants in the query. Default: `false`.
3460
+ */
3461
+ appOptions?: Record<string, any> | null;
3282
3462
  }
3283
3463
  interface UpdateDataItemOptions {
3284
3464
  /** Updated data item content. The existing data item's content is replaced entirely. */
@@ -3304,12 +3484,38 @@ interface UpdateDataItemOptions {
3304
3484
  };
3305
3485
  /** ID of the collection containing the existing item. */
3306
3486
  dataCollectionId: string;
3487
+ /**
3488
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
3489
+ *
3490
+ * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
3491
+ * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
3492
+ * - `includeVariants`: Whether to include product variants in the query. Default: `false`.
3493
+ */
3494
+ appOptions?: Record<string, any> | null;
3495
+ /**
3496
+ * Options for the Publish plugin.
3497
+ * This plugin allows items in a [data collection](https://dev.wix.com/docs/rest/business-solutions/cms/data-collections/data-collection-object) to be marked as draft or published. Published items are visible to site visitors, while draft items are not.
3498
+ */
3499
+ publishPluginOptions?: DataPublishPluginOptions;
3307
3500
  }
3308
3501
  interface SaveDataItemOptions {
3309
3502
  /** ID of the collection in which to insert or update the item. */
3310
3503
  dataCollectionId: string;
3311
3504
  /** Data item to insert or update. */
3312
3505
  dataItem: DataItem;
3506
+ /**
3507
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
3508
+ *
3509
+ * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
3510
+ * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
3511
+ * - `includeVariants`: Whether to include product variants in the query. Default: `false`.
3512
+ */
3513
+ appOptions?: Record<string, any> | null;
3514
+ /**
3515
+ * Options for the Publish plugin.
3516
+ * This plugin allows items in a [data collection](https://dev.wix.com/docs/rest/business-solutions/cms/data-collections/data-collection-object) to be marked as draft or published. Published items are visible to site visitors, while draft items are not.
3517
+ */
3518
+ publishPluginOptions?: DataPublishPluginOptions;
3313
3519
  }
3314
3520
  interface GetDataItemOptions {
3315
3521
  /** ID of the collection from which to retrieve the data item. */
@@ -3334,10 +3540,36 @@ interface GetDataItemOptions {
3334
3540
  * **Note:** The `_id` system field is always returned.
3335
3541
  */
3336
3542
  fields?: string[];
3543
+ /**
3544
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
3545
+ *
3546
+ * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
3547
+ * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
3548
+ * - `includeVariants`: Whether to include product variants in the query. Default: `false`.
3549
+ */
3550
+ appOptions?: Record<string, any> | null;
3551
+ /**
3552
+ * Options for the Publish plugin.
3553
+ * This plugin allows items in a [data collection](https://dev.wix.com/docs/rest/business-solutions/cms/data-collections/data-collection-object) to be marked as draft or published. Published items are visible to site visitors, while draft items are not.
3554
+ */
3555
+ publishPluginOptions?: DataPublishPluginOptions;
3337
3556
  }
3338
3557
  interface RemoveDataItemOptions {
3339
3558
  /** ID of the collection from which to remove the item. */
3340
3559
  dataCollectionId: string;
3560
+ /**
3561
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
3562
+ *
3563
+ * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
3564
+ * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
3565
+ * - `includeVariants`: Whether to include product variants in the query. Default: `false`.
3566
+ */
3567
+ appOptions?: Record<string, any> | null;
3568
+ /**
3569
+ * Options for the Publish plugin.
3570
+ * This plugin allows items in a [data collection](https://dev.wix.com/docs/rest/business-solutions/cms/data-collections/data-collection-object) to be marked as draft or published. Published items are visible to site visitors, while draft items are not.
3571
+ */
3572
+ publishPluginOptions?: DataPublishPluginOptions;
3341
3573
  }
3342
3574
  interface TruncateDataItemsOptions {
3343
3575
  /** ID of the collection to truncate. */
@@ -3376,6 +3608,19 @@ interface QueryDataItemsOptions {
3376
3608
  * If not provided, result text is not translated.
3377
3609
  */
3378
3610
  language?: string | null | undefined;
3611
+ /**
3612
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
3613
+ *
3614
+ * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
3615
+ * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
3616
+ * - `includeVariants`: Whether to include product variants in the query. Default: `false`.
3617
+ */
3618
+ appOptions?: Record<string, any> | null | undefined;
3619
+ /**
3620
+ * Options for the Publish plugin.
3621
+ * This plugin allows items in a [data collection](https://dev.wix.com/docs/rest/business-solutions/cms/data-collections/data-collection-object) to be marked as draft or published. Published items are visible to site visitors, while draft items are not.
3622
+ */
3623
+ publishPluginOptions?: DataPublishPluginOptions | undefined;
3379
3624
  /** Options for retrieving referenced items. */
3380
3625
  referencedItemOptions?: ReferencedItemOptions[] | undefined;
3381
3626
  }
@@ -3480,6 +3725,19 @@ interface AggregateDataItemsOptions extends AggregateDataItemsRequestPagingMetho
3480
3725
  * If not provided, result text is not translated.
3481
3726
  */
3482
3727
  language?: string | null;
3728
+ /**
3729
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
3730
+ *
3731
+ * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
3732
+ * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
3733
+ * - `includeVariants`: Whether to include product variants in the query. Default: `false`.
3734
+ */
3735
+ appOptions?: Record<string, any> | null;
3736
+ /**
3737
+ * Options for the Publish plugin.
3738
+ * This plugin allows items in a [data collection](https://dev.wix.com/docs/rest/business-solutions/cms/data-collections/data-collection-object) to be marked as draft or published. Published items are visible to site visitors, while draft items are not.
3739
+ */
3740
+ publishPluginOptions?: DataPublishPluginOptions;
3483
3741
  }
3484
3742
  interface CountDataItemsOptions {
3485
3743
  /** ID of the collection for which to count query results. */
@@ -3512,6 +3770,19 @@ interface CountDataItemsOptions {
3512
3770
  * If not provided, result text is not translated.
3513
3771
  */
3514
3772
  language?: string | null;
3773
+ /**
3774
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
3775
+ *
3776
+ * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
3777
+ * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
3778
+ * - `includeVariants`: Whether to include product variants in the query. Default: `false`.
3779
+ */
3780
+ appOptions?: Record<string, any> | null;
3781
+ /**
3782
+ * Options for the Publish plugin.
3783
+ * This plugin allows items in a [data collection](https://dev.wix.com/docs/rest/business-solutions/cms/data-collections/data-collection-object) to be marked as draft or published. Published items are visible to site visitors, while draft items are not.
3784
+ */
3785
+ publishPluginOptions?: DataPublishPluginOptions;
3515
3786
  }
3516
3787
  interface QueryDistinctValuesOptions extends QueryDistinctValuesRequestPagingMethodOneOf {
3517
3788
  /** ID of the collection to query. */
@@ -3563,6 +3834,11 @@ interface QueryDistinctValuesOptions extends QueryDistinctValuesRequestPagingMet
3563
3834
  * If not provided, result text is not translated.
3564
3835
  */
3565
3836
  language?: string | null;
3837
+ /**
3838
+ * Options for the Publish plugin.
3839
+ * This plugin allows items in a [data collection](https://dev.wix.com/docs/rest/business-solutions/cms/data-collections/data-collection-object) to be marked as draft or published. Published items are visible to site visitors, while draft items are not.
3840
+ */
3841
+ publishPluginOptions?: DataPublishPluginOptions;
3566
3842
  }
3567
3843
  interface BulkInsertDataItemsOptions {
3568
3844
  /** ID of the collection in which to insert the items. */
@@ -3576,6 +3852,14 @@ interface BulkInsertDataItemsOptions {
3576
3852
  * Default: `false`
3577
3853
  */
3578
3854
  returnEntity?: boolean;
3855
+ /**
3856
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
3857
+ *
3858
+ * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
3859
+ * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
3860
+ * - `includeVariants`: Whether to include product variants in the query. Default: `false`.
3861
+ */
3862
+ appOptions?: Record<string, any> | null;
3579
3863
  }
3580
3864
  interface BulkUpdateDataItemsOptions {
3581
3865
  /** ID of the collection in which to update items. */
@@ -3589,6 +3873,19 @@ interface BulkUpdateDataItemsOptions {
3589
3873
  * Default: `false`
3590
3874
  */
3591
3875
  returnEntity?: boolean;
3876
+ /**
3877
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
3878
+ *
3879
+ * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
3880
+ * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
3881
+ * - `includeVariants`: Whether to include product variants in the query. Default: `false`.
3882
+ */
3883
+ appOptions?: Record<string, any> | null;
3884
+ /**
3885
+ * Options for the Publish plugin.
3886
+ * This plugin allows items in a [data collection](https://dev.wix.com/docs/rest/business-solutions/cms/data-collections/data-collection-object) to be marked as draft or published. Published items are visible to site visitors, while draft items are not.
3887
+ */
3888
+ publishPluginOptions?: DataPublishPluginOptions;
3592
3889
  }
3593
3890
  interface BulkSaveDataItemsOptions {
3594
3891
  /** ID of the collection in which to insert or update the items. */
@@ -3602,12 +3899,38 @@ interface BulkSaveDataItemsOptions {
3602
3899
  * Default: `false`
3603
3900
  */
3604
3901
  returnEntity?: boolean;
3902
+ /**
3903
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
3904
+ *
3905
+ * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
3906
+ * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
3907
+ * - `includeVariants`: Whether to include product variants in the query. Default: `false`.
3908
+ */
3909
+ appOptions?: Record<string, any> | null;
3910
+ /**
3911
+ * Options for the Publish plugin.
3912
+ * This plugin allows items in a [data collection](https://dev.wix.com/docs/rest/business-solutions/cms/data-collections/data-collection-object) to be marked as draft or published. Published items are visible to site visitors, while draft items are not.
3913
+ */
3914
+ publishPluginOptions?: DataPublishPluginOptions;
3605
3915
  }
3606
3916
  interface BulkRemoveDataItemsOptions {
3607
3917
  /** ID of the collection from which to remove the item. */
3608
3918
  dataCollectionId: string;
3609
3919
  /** IDs of data items to remove. */
3610
3920
  dataItemIds: string[];
3921
+ /**
3922
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
3923
+ *
3924
+ * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
3925
+ * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
3926
+ * - `includeVariants`: Whether to include product variants in the query. Default: `false`.
3927
+ */
3928
+ appOptions?: Record<string, any> | null;
3929
+ /**
3930
+ * Options for the Publish plugin.
3931
+ * This plugin allows items in a [data collection](https://dev.wix.com/docs/rest/business-solutions/cms/data-collections/data-collection-object) to be marked as draft or published. Published items are visible to site visitors, while draft items are not.
3932
+ */
3933
+ publishPluginOptions?: DataPublishPluginOptions;
3611
3934
  }
3612
3935
  interface QueryReferencedDataItemsOptions extends QueryReferencedDataItemsRequestPagingMethodOneOf {
3613
3936
  /** ID of the collection containing the referring item. */
@@ -3649,6 +3972,19 @@ interface QueryReferencedDataItemsOptions extends QueryReferencedDataItemsReques
3649
3972
  * **Note:** The `_id` system field is always returned.
3650
3973
  */
3651
3974
  fields?: string[];
3975
+ /**
3976
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying:
3977
+ *
3978
+ * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
3979
+ * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
3980
+ * - `includeVariants`: Whether to include product variants in the query. Default: `false`.
3981
+ */
3982
+ appOptions?: Record<string, any> | null;
3983
+ /**
3984
+ * Options for the Publish plugin.
3985
+ * This plugin allows items in a [data collection](https://dev.wix.com/docs/rest/business-solutions/cms/data-collections/data-collection-object) to be marked as draft or published. Published items are visible to site visitors, while draft items are not.
3986
+ */
3987
+ publishPluginOptions?: DataPublishPluginOptions;
3652
3988
  }
3653
3989
  interface IsReferencedDataItemOptions {
3654
3990
  /** ID of the collection containing the referring data item. */
@@ -3672,6 +4008,14 @@ interface InsertDataItemReferenceOptions {
3672
4008
  dataCollectionId: string;
3673
4009
  /** Reference to insert */
3674
4010
  dataItemReference?: DataItemReference;
4011
+ /**
4012
+ * Additional parameters specific to the [Wix app collection](https://support.wix.com/en/article/cms-formerly-content-manager-working-with-wix-app-collections) you are querying.
4013
+ *
4014
+ * When querying the Wix Stores [Products collection](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/wix-stores-products-collection-fields), pass the following optional parameters:
4015
+ * - `includeHiddenProducts`: Whether to include hidden products in the response. Default: `false`.
4016
+ * - `includeVariants`: Whether to include product variants in the query. Default: `false`.
4017
+ */
4018
+ appOptions?: Record<string, any> | null;
3675
4019
  }
3676
4020
  interface RemoveDataItemReferenceOptions {
3677
4021
  /** ID of the collection containing the referring item. */
@@ -3725,7 +4069,7 @@ interface InsertDataItemSignature {
3725
4069
  * If `options.dataItem.data` is empty, a new item is created with no data fields.
3726
4070
  * @param - Options for adding an item to a collection.
3727
4071
  */
3728
- (options: InsertDataItemOptions): Promise<InsertDataItemResponse & InsertDataItemResponseNonNullableFields>;
4072
+ (options?: InsertDataItemOptions | undefined): Promise<InsertDataItemResponse & InsertDataItemResponseNonNullableFields>;
3729
4073
  }
3730
4074
  declare function updateDataItem$1(httpClient: HttpClient): UpdateDataItemSignature;
3731
4075
  interface UpdateDataItemSignature {
@@ -3747,7 +4091,7 @@ interface UpdateDataItemSignature {
3747
4091
  * @param - Data item ID.
3748
4092
  * @param - Options for updating an item in a collection.
3749
4093
  */
3750
- (_id: string, options: UpdateDataItemOptions): Promise<UpdateDataItemResponse & UpdateDataItemResponseNonNullableFields>;
4094
+ (_id: string, options?: UpdateDataItemOptions | undefined): Promise<UpdateDataItemResponse & UpdateDataItemResponseNonNullableFields>;
3751
4095
  }
3752
4096
  declare function saveDataItem$1(httpClient: HttpClient): SaveDataItemSignature;
3753
4097
  interface SaveDataItemSignature {
@@ -3767,7 +4111,7 @@ interface SaveDataItemSignature {
3767
4111
  * > This means that the item's previous fields and values are lost.
3768
4112
  * @param - Options for saving an item in a collection.
3769
4113
  */
3770
- (options: SaveDataItemOptions): Promise<SaveDataItemResponse & SaveDataItemResponseNonNullableFields>;
4114
+ (options?: SaveDataItemOptions | undefined): Promise<SaveDataItemResponse & SaveDataItemResponseNonNullableFields>;
3771
4115
  }
3772
4116
  declare function getDataItem$1(httpClient: HttpClient): GetDataItemSignature;
3773
4117
  interface GetDataItemSignature {
@@ -3795,7 +4139,7 @@ interface RemoveDataItemSignature {
3795
4139
  * @param - ID of the item to remove.
3796
4140
  * @param - Options for removing an item from a collection.
3797
4141
  */
3798
- (dataItemId: string, options: RemoveDataItemOptions): Promise<RemoveDataItemResponse & RemoveDataItemResponseNonNullableFields>;
4142
+ (dataItemId: string, options?: RemoveDataItemOptions | undefined): Promise<RemoveDataItemResponse & RemoveDataItemResponseNonNullableFields>;
3799
4143
  }
3800
4144
  declare function truncateDataItems$1(httpClient: HttpClient): TruncateDataItemsSignature;
3801
4145
  interface TruncateDataItemsSignature {
@@ -3942,7 +4286,7 @@ interface BulkRemoveDataItemsSignature {
3942
4286
  * > **Note:** Once an item has been removed from a collection, it can't be restored.
3943
4287
  * @param - Options for removing multiple items from a collection.
3944
4288
  */
3945
- (options: BulkRemoveDataItemsOptions): Promise<BulkRemoveDataItemsResponse & BulkRemoveDataItemsResponseNonNullableFields>;
4289
+ (options?: BulkRemoveDataItemsOptions | undefined): Promise<BulkRemoveDataItemsResponse & BulkRemoveDataItemsResponseNonNullableFields>;
3946
4290
  }
3947
4291
  declare function queryReferencedDataItems$1(httpClient: HttpClient): QueryReferencedDataItemsSignature;
3948
4292
  interface QueryReferencedDataItemsSignature {
@@ -4029,52 +4373,29 @@ declare const onDataItemCreated$1: EventDefinition<DataItemCreatedEnvelope, "wix
4029
4373
  declare const onDataItemUpdated$1: EventDefinition<DataItemUpdatedEnvelope, "wix.data.v2.data_item_updated">;
4030
4374
  declare const onDataItemDeleted$1: EventDefinition<DataItemDeletedEnvelope, "wix.data.v2.data_item_deleted">;
4031
4375
 
4032
- declare function createRESTModule$1<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
4033
-
4034
4376
  declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
4035
4377
 
4036
- type _publicInsertDataItemType = typeof insertDataItem$1;
4037
- declare const insertDataItem: ReturnType<typeof createRESTModule$1<_publicInsertDataItemType>>;
4038
- type _publicUpdateDataItemType = typeof updateDataItem$1;
4039
- declare const updateDataItem: ReturnType<typeof createRESTModule$1<_publicUpdateDataItemType>>;
4040
- type _publicSaveDataItemType = typeof saveDataItem$1;
4041
- declare const saveDataItem: ReturnType<typeof createRESTModule$1<_publicSaveDataItemType>>;
4042
- type _publicGetDataItemType = typeof getDataItem$1;
4043
- declare const getDataItem: ReturnType<typeof createRESTModule$1<_publicGetDataItemType>>;
4044
- type _publicRemoveDataItemType = typeof removeDataItem$1;
4045
- declare const removeDataItem: ReturnType<typeof createRESTModule$1<_publicRemoveDataItemType>>;
4046
- type _publicTruncateDataItemsType = typeof truncateDataItems$1;
4047
- declare const truncateDataItems: ReturnType<typeof createRESTModule$1<_publicTruncateDataItemsType>>;
4048
- type _publicQueryDataItemsType = typeof queryDataItems$1;
4049
- declare const queryDataItems: ReturnType<typeof createRESTModule$1<_publicQueryDataItemsType>>;
4050
- type _publicAggregateDataItemsType = typeof aggregateDataItems$1;
4051
- declare const aggregateDataItems: ReturnType<typeof createRESTModule$1<_publicAggregateDataItemsType>>;
4052
- type _publicCountDataItemsType = typeof countDataItems$1;
4053
- declare const countDataItems: ReturnType<typeof createRESTModule$1<_publicCountDataItemsType>>;
4054
- type _publicQueryDistinctValuesType = typeof queryDistinctValues$1;
4055
- declare const queryDistinctValues: ReturnType<typeof createRESTModule$1<_publicQueryDistinctValuesType>>;
4056
- type _publicBulkInsertDataItemsType = typeof bulkInsertDataItems$1;
4057
- declare const bulkInsertDataItems: ReturnType<typeof createRESTModule$1<_publicBulkInsertDataItemsType>>;
4058
- type _publicBulkUpdateDataItemsType = typeof bulkUpdateDataItems$1;
4059
- declare const bulkUpdateDataItems: ReturnType<typeof createRESTModule$1<_publicBulkUpdateDataItemsType>>;
4060
- type _publicBulkSaveDataItemsType = typeof bulkSaveDataItems$1;
4061
- declare const bulkSaveDataItems: ReturnType<typeof createRESTModule$1<_publicBulkSaveDataItemsType>>;
4062
- type _publicBulkRemoveDataItemsType = typeof bulkRemoveDataItems$1;
4063
- declare const bulkRemoveDataItems: ReturnType<typeof createRESTModule$1<_publicBulkRemoveDataItemsType>>;
4064
- type _publicQueryReferencedDataItemsType = typeof queryReferencedDataItems$1;
4065
- declare const queryReferencedDataItems: ReturnType<typeof createRESTModule$1<_publicQueryReferencedDataItemsType>>;
4066
- type _publicIsReferencedDataItemType = typeof isReferencedDataItem$1;
4067
- declare const isReferencedDataItem: ReturnType<typeof createRESTModule$1<_publicIsReferencedDataItemType>>;
4068
- type _publicInsertDataItemReferenceType = typeof insertDataItemReference$1;
4069
- declare const insertDataItemReference: ReturnType<typeof createRESTModule$1<_publicInsertDataItemReferenceType>>;
4070
- type _publicRemoveDataItemReferenceType = typeof removeDataItemReference$1;
4071
- declare const removeDataItemReference: ReturnType<typeof createRESTModule$1<_publicRemoveDataItemReferenceType>>;
4072
- type _publicBulkInsertDataItemReferencesType = typeof bulkInsertDataItemReferences$1;
4073
- declare const bulkInsertDataItemReferences: ReturnType<typeof createRESTModule$1<_publicBulkInsertDataItemReferencesType>>;
4074
- type _publicBulkRemoveDataItemReferencesType = typeof bulkRemoveDataItemReferences$1;
4075
- declare const bulkRemoveDataItemReferences: ReturnType<typeof createRESTModule$1<_publicBulkRemoveDataItemReferencesType>>;
4076
- type _publicReplaceDataItemReferencesType = typeof replaceDataItemReferences$1;
4077
- declare const replaceDataItemReferences: ReturnType<typeof createRESTModule$1<_publicReplaceDataItemReferencesType>>;
4378
+ declare const insertDataItem: BuildRESTFunction<typeof insertDataItem$1> & typeof insertDataItem$1;
4379
+ declare const updateDataItem: BuildRESTFunction<typeof updateDataItem$1> & typeof updateDataItem$1;
4380
+ declare const saveDataItem: BuildRESTFunction<typeof saveDataItem$1> & typeof saveDataItem$1;
4381
+ declare const getDataItem: BuildRESTFunction<typeof getDataItem$1> & typeof getDataItem$1;
4382
+ declare const removeDataItem: BuildRESTFunction<typeof removeDataItem$1> & typeof removeDataItem$1;
4383
+ declare const truncateDataItems: BuildRESTFunction<typeof truncateDataItems$1> & typeof truncateDataItems$1;
4384
+ declare const queryDataItems: BuildRESTFunction<typeof queryDataItems$1> & typeof queryDataItems$1;
4385
+ declare const aggregateDataItems: BuildRESTFunction<typeof aggregateDataItems$1> & typeof aggregateDataItems$1;
4386
+ declare const countDataItems: BuildRESTFunction<typeof countDataItems$1> & typeof countDataItems$1;
4387
+ declare const queryDistinctValues: BuildRESTFunction<typeof queryDistinctValues$1> & typeof queryDistinctValues$1;
4388
+ declare const bulkInsertDataItems: BuildRESTFunction<typeof bulkInsertDataItems$1> & typeof bulkInsertDataItems$1;
4389
+ declare const bulkUpdateDataItems: BuildRESTFunction<typeof bulkUpdateDataItems$1> & typeof bulkUpdateDataItems$1;
4390
+ declare const bulkSaveDataItems: BuildRESTFunction<typeof bulkSaveDataItems$1> & typeof bulkSaveDataItems$1;
4391
+ declare const bulkRemoveDataItems: BuildRESTFunction<typeof bulkRemoveDataItems$1> & typeof bulkRemoveDataItems$1;
4392
+ declare const queryReferencedDataItems: BuildRESTFunction<typeof queryReferencedDataItems$1> & typeof queryReferencedDataItems$1;
4393
+ declare const isReferencedDataItem: BuildRESTFunction<typeof isReferencedDataItem$1> & typeof isReferencedDataItem$1;
4394
+ declare const insertDataItemReference: BuildRESTFunction<typeof insertDataItemReference$1> & typeof insertDataItemReference$1;
4395
+ declare const removeDataItemReference: BuildRESTFunction<typeof removeDataItemReference$1> & typeof removeDataItemReference$1;
4396
+ declare const bulkInsertDataItemReferences: BuildRESTFunction<typeof bulkInsertDataItemReferences$1> & typeof bulkInsertDataItemReferences$1;
4397
+ declare const bulkRemoveDataItemReferences: BuildRESTFunction<typeof bulkRemoveDataItemReferences$1> & typeof bulkRemoveDataItemReferences$1;
4398
+ declare const replaceDataItemReferences: BuildRESTFunction<typeof replaceDataItemReferences$1> & typeof replaceDataItemReferences$1;
4078
4399
 
4079
4400
  type _publicOnDataItemCreatedType = typeof onDataItemCreated$1;
4080
4401
  /**
@@ -4246,30 +4567,9 @@ type context$1_UpdateDataItemResponse = UpdateDataItemResponse;
4246
4567
  type context$1_UpdateDataItemResponseNonNullableFields = UpdateDataItemResponseNonNullableFields;
4247
4568
  type context$1_WebhookIdentityType = WebhookIdentityType;
4248
4569
  declare const context$1_WebhookIdentityType: typeof WebhookIdentityType;
4249
- type context$1__publicAggregateDataItemsType = _publicAggregateDataItemsType;
4250
- type context$1__publicBulkInsertDataItemReferencesType = _publicBulkInsertDataItemReferencesType;
4251
- type context$1__publicBulkInsertDataItemsType = _publicBulkInsertDataItemsType;
4252
- type context$1__publicBulkRemoveDataItemReferencesType = _publicBulkRemoveDataItemReferencesType;
4253
- type context$1__publicBulkRemoveDataItemsType = _publicBulkRemoveDataItemsType;
4254
- type context$1__publicBulkSaveDataItemsType = _publicBulkSaveDataItemsType;
4255
- type context$1__publicBulkUpdateDataItemsType = _publicBulkUpdateDataItemsType;
4256
- type context$1__publicCountDataItemsType = _publicCountDataItemsType;
4257
- type context$1__publicGetDataItemType = _publicGetDataItemType;
4258
- type context$1__publicInsertDataItemReferenceType = _publicInsertDataItemReferenceType;
4259
- type context$1__publicInsertDataItemType = _publicInsertDataItemType;
4260
- type context$1__publicIsReferencedDataItemType = _publicIsReferencedDataItemType;
4261
4570
  type context$1__publicOnDataItemCreatedType = _publicOnDataItemCreatedType;
4262
4571
  type context$1__publicOnDataItemDeletedType = _publicOnDataItemDeletedType;
4263
4572
  type context$1__publicOnDataItemUpdatedType = _publicOnDataItemUpdatedType;
4264
- type context$1__publicQueryDataItemsType = _publicQueryDataItemsType;
4265
- type context$1__publicQueryDistinctValuesType = _publicQueryDistinctValuesType;
4266
- type context$1__publicQueryReferencedDataItemsType = _publicQueryReferencedDataItemsType;
4267
- type context$1__publicRemoveDataItemReferenceType = _publicRemoveDataItemReferenceType;
4268
- type context$1__publicRemoveDataItemType = _publicRemoveDataItemType;
4269
- type context$1__publicReplaceDataItemReferencesType = _publicReplaceDataItemReferencesType;
4270
- type context$1__publicSaveDataItemType = _publicSaveDataItemType;
4271
- type context$1__publicTruncateDataItemsType = _publicTruncateDataItemsType;
4272
- type context$1__publicUpdateDataItemType = _publicUpdateDataItemType;
4273
4573
  declare const context$1_aggregateDataItems: typeof aggregateDataItems;
4274
4574
  declare const context$1_bulkInsertDataItemReferences: typeof bulkInsertDataItemReferences;
4275
4575
  declare const context$1_bulkInsertDataItems: typeof bulkInsertDataItems;
@@ -4295,7 +4595,7 @@ declare const context$1_saveDataItem: typeof saveDataItem;
4295
4595
  declare const context$1_truncateDataItems: typeof truncateDataItems;
4296
4596
  declare const context$1_updateDataItem: typeof updateDataItem;
4297
4597
  declare namespace context$1 {
4298
- export { context$1_ACTION as ACTION, context$1_Action as Action, type context$1_ActionEvent as ActionEvent, type context$1_AggregateDataItemsOptions as AggregateDataItemsOptions, type context$1_AggregateDataItemsRequest as AggregateDataItemsRequest, type context$1_AggregateDataItemsRequestPagingMethodOneOf as AggregateDataItemsRequestPagingMethodOneOf, type context$1_AggregateDataItemsResponse as AggregateDataItemsResponse, type context$1_Aggregation as Aggregation, type context$1_AppendToArray as AppendToArray, type context$1_ApplicationError as ApplicationError, type context$1_Average as Average, type context$1_BaseEventMetadata as BaseEventMetadata, type context$1_BulkActionMetadata as BulkActionMetadata, context$1_BulkActionType as BulkActionType, type context$1_BulkDataItemReferenceResult as BulkDataItemReferenceResult, type context$1_BulkDataItemResult as BulkDataItemResult, type context$1_BulkInsertDataItemReferencesOptions as BulkInsertDataItemReferencesOptions, type context$1_BulkInsertDataItemReferencesRequest as BulkInsertDataItemReferencesRequest, type context$1_BulkInsertDataItemReferencesResponse as BulkInsertDataItemReferencesResponse, type context$1_BulkInsertDataItemReferencesResponseNonNullableFields as BulkInsertDataItemReferencesResponseNonNullableFields, type context$1_BulkInsertDataItemsOptions as BulkInsertDataItemsOptions, type context$1_BulkInsertDataItemsRequest as BulkInsertDataItemsRequest, type context$1_BulkInsertDataItemsResponse as BulkInsertDataItemsResponse, type context$1_BulkInsertDataItemsResponseNonNullableFields as BulkInsertDataItemsResponseNonNullableFields, type context$1_BulkPatchDataItemsRequest as BulkPatchDataItemsRequest, type context$1_BulkPatchDataItemsResponse as BulkPatchDataItemsResponse, type context$1_BulkRemoveDataItemReferencesOptions as BulkRemoveDataItemReferencesOptions, type context$1_BulkRemoveDataItemReferencesRequest as BulkRemoveDataItemReferencesRequest, type context$1_BulkRemoveDataItemReferencesResponse as BulkRemoveDataItemReferencesResponse, type context$1_BulkRemoveDataItemReferencesResponseNonNullableFields as BulkRemoveDataItemReferencesResponseNonNullableFields, type context$1_BulkRemoveDataItemsOptions as BulkRemoveDataItemsOptions, type context$1_BulkRemoveDataItemsRequest as BulkRemoveDataItemsRequest, type context$1_BulkRemoveDataItemsResponse as BulkRemoveDataItemsResponse, type context$1_BulkRemoveDataItemsResponseNonNullableFields as BulkRemoveDataItemsResponseNonNullableFields, type context$1_BulkSaveDataItemsOptions as BulkSaveDataItemsOptions, type context$1_BulkSaveDataItemsRequest as BulkSaveDataItemsRequest, type context$1_BulkSaveDataItemsResponse as BulkSaveDataItemsResponse, type context$1_BulkSaveDataItemsResponseNonNullableFields as BulkSaveDataItemsResponseNonNullableFields, type context$1_BulkUpdateDataItemsOptions as BulkUpdateDataItemsOptions, type context$1_BulkUpdateDataItemsRequest as BulkUpdateDataItemsRequest, type context$1_BulkUpdateDataItemsResponse as BulkUpdateDataItemsResponse, type context$1_BulkUpdateDataItemsResponseNonNullableFields as BulkUpdateDataItemsResponseNonNullableFields, type context$1_CachingInfo as CachingInfo, type context$1_Count as Count, type context$1_CountDataItemsOptions as CountDataItemsOptions, type context$1_CountDataItemsRequest as CountDataItemsRequest, type context$1_CountDataItemsResponse as CountDataItemsResponse, type context$1_CountDataItemsResponseNonNullableFields as CountDataItemsResponseNonNullableFields, type context$1_CursorPaging as CursorPaging, type context$1_Cursors as Cursors, type context$1_DataItem as DataItem, type context$1_DataItemCreatedEnvelope as DataItemCreatedEnvelope, type context$1_DataItemDeletedEnvelope as DataItemDeletedEnvelope, type context$1_DataItemNonNullableFields as DataItemNonNullableFields, type context$1_DataItemReference as DataItemReference, type context$1_DataItemUpdatedEnvelope as DataItemUpdatedEnvelope, type context$1_DataItemsQueryBuilder as DataItemsQueryBuilder, type context$1_DataItemsQueryResult as DataItemsQueryResult, type context$1_DataPublishPluginOptions as DataPublishPluginOptions, type context$1_DomainEvent as DomainEvent, type context$1_DomainEventBodyOneOf as DomainEventBodyOneOf, type context$1_EntityCreatedEvent as EntityCreatedEvent, type context$1_EntityDeletedEvent as EntityDeletedEvent, type context$1_EntityUpdatedEvent as EntityUpdatedEvent, Environment$1 as Environment, type context$1_EventMetadata as EventMetadata, type context$1_FieldUpdate as FieldUpdate, type context$1_FieldUpdateActionOptionsOneOf as FieldUpdateActionOptionsOneOf, type context$1_GetDataItemOptions as GetDataItemOptions, type context$1_GetDataItemRequest as GetDataItemRequest, type context$1_GetDataItemResponse as GetDataItemResponse, type context$1_GetDataItemResponseNonNullableFields as GetDataItemResponseNonNullableFields, type context$1_IdentificationData as IdentificationData, type context$1_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context$1_IncrementField as IncrementField, type context$1_InsertDataItemOptions as InsertDataItemOptions, type context$1_InsertDataItemReferenceOptions as InsertDataItemReferenceOptions, type context$1_InsertDataItemReferenceRequest as InsertDataItemReferenceRequest, type context$1_InsertDataItemReferenceResponse as InsertDataItemReferenceResponse, type context$1_InsertDataItemReferenceResponseNonNullableFields as InsertDataItemReferenceResponseNonNullableFields, type context$1_InsertDataItemRequest as InsertDataItemRequest, type context$1_InsertDataItemResponse as InsertDataItemResponse, type context$1_InsertDataItemResponseNonNullableFields as InsertDataItemResponseNonNullableFields, type context$1_IsReferencedDataItemOptions as IsReferencedDataItemOptions, type context$1_IsReferencedDataItemRequest as IsReferencedDataItemRequest, type context$1_IsReferencedDataItemResponse as IsReferencedDataItemResponse, type context$1_IsReferencedDataItemResponseNonNullableFields as IsReferencedDataItemResponseNonNullableFields, type context$1_ItemMetadata as ItemMetadata, type context$1_Max as Max, type context$1_MessageEnvelope as MessageEnvelope, type context$1_Min as Min, type context$1_Operation as Operation, type context$1_OperationCalculateOneOf as OperationCalculateOneOf, type context$1_Options as Options, type Paging$1 as Paging, type context$1_PagingMetadataV2 as PagingMetadataV2, type context$1_PatchDataItemRequest as PatchDataItemRequest, type context$1_PatchDataItemResponse as PatchDataItemResponse, type context$1_PatchSet as PatchSet, type context$1_PublishPluginOptions as PublishPluginOptions, type context$1_QueryDataItemsOptions as QueryDataItemsOptions, type context$1_QueryDataItemsRequest as QueryDataItemsRequest, type context$1_QueryDataItemsResponse as QueryDataItemsResponse, type context$1_QueryDataItemsResponseNonNullableFields as QueryDataItemsResponseNonNullableFields, type context$1_QueryDistinctValuesOptions as QueryDistinctValuesOptions, type context$1_QueryDistinctValuesRequest as QueryDistinctValuesRequest, type context$1_QueryDistinctValuesRequestPagingMethodOneOf as QueryDistinctValuesRequestPagingMethodOneOf, type context$1_QueryDistinctValuesResponse as QueryDistinctValuesResponse, type context$1_QueryReferencedDataItemsOptions as QueryReferencedDataItemsOptions, type context$1_QueryReferencedDataItemsRequest as QueryReferencedDataItemsRequest, type context$1_QueryReferencedDataItemsRequestPagingMethodOneOf as QueryReferencedDataItemsRequestPagingMethodOneOf, type context$1_QueryReferencedDataItemsResponse as QueryReferencedDataItemsResponse, type context$1_QueryReferencedDataItemsResponseNonNullableFields as QueryReferencedDataItemsResponseNonNullableFields, type context$1_QueryV2 as QueryV2, type context$1_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type context$1_ReferencedItemOptions as ReferencedItemOptions, type context$1_ReferencedResult as ReferencedResult, type context$1_ReferencedResultEntityOneOf as ReferencedResultEntityOneOf, type context$1_RemoveDataItemOptions as RemoveDataItemOptions, type context$1_RemoveDataItemReferenceOptions as RemoveDataItemReferenceOptions, type context$1_RemoveDataItemReferenceRequest as RemoveDataItemReferenceRequest, type context$1_RemoveDataItemReferenceResponse as RemoveDataItemReferenceResponse, type context$1_RemoveDataItemReferenceResponseNonNullableFields as RemoveDataItemReferenceResponseNonNullableFields, type context$1_RemoveDataItemRequest as RemoveDataItemRequest, type context$1_RemoveDataItemResponse as RemoveDataItemResponse, type context$1_RemoveDataItemResponseNonNullableFields as RemoveDataItemResponseNonNullableFields, type context$1_RemoveFromArray as RemoveFromArray, type context$1_ReplaceDataItemReferencesOptions as ReplaceDataItemReferencesOptions, type context$1_ReplaceDataItemReferencesRequest as ReplaceDataItemReferencesRequest, type context$1_ReplaceDataItemReferencesResponse as ReplaceDataItemReferencesResponse, type context$1_ReplaceDataItemReferencesResponseNonNullableFields as ReplaceDataItemReferencesResponseNonNullableFields, type context$1_RestoreInfo as RestoreInfo, type context$1_SaveDataItemOptions as SaveDataItemOptions, type context$1_SaveDataItemRequest as SaveDataItemRequest, type context$1_SaveDataItemResponse as SaveDataItemResponse, type context$1_SaveDataItemResponseNonNullableFields as SaveDataItemResponseNonNullableFields, type context$1_SetField as SetField, context$1_SortOrder as SortOrder, type context$1_Sorting as Sorting, type context$1_Sum as Sum, type context$1_TruncateDataItemsOptions as TruncateDataItemsOptions, type context$1_TruncateDataItemsRequest as TruncateDataItemsRequest, type context$1_TruncateDataItemsResponse as TruncateDataItemsResponse, type context$1_UnresolvedReference as UnresolvedReference, type context$1_UpdateDataItemOptions as UpdateDataItemOptions, type context$1_UpdateDataItemRequest as UpdateDataItemRequest, type context$1_UpdateDataItemResponse as UpdateDataItemResponse, type context$1_UpdateDataItemResponseNonNullableFields as UpdateDataItemResponseNonNullableFields, context$1_WebhookIdentityType as WebhookIdentityType, type context$1__publicAggregateDataItemsType as _publicAggregateDataItemsType, type context$1__publicBulkInsertDataItemReferencesType as _publicBulkInsertDataItemReferencesType, type context$1__publicBulkInsertDataItemsType as _publicBulkInsertDataItemsType, type context$1__publicBulkRemoveDataItemReferencesType as _publicBulkRemoveDataItemReferencesType, type context$1__publicBulkRemoveDataItemsType as _publicBulkRemoveDataItemsType, type context$1__publicBulkSaveDataItemsType as _publicBulkSaveDataItemsType, type context$1__publicBulkUpdateDataItemsType as _publicBulkUpdateDataItemsType, type context$1__publicCountDataItemsType as _publicCountDataItemsType, type context$1__publicGetDataItemType as _publicGetDataItemType, type context$1__publicInsertDataItemReferenceType as _publicInsertDataItemReferenceType, type context$1__publicInsertDataItemType as _publicInsertDataItemType, type context$1__publicIsReferencedDataItemType as _publicIsReferencedDataItemType, type context$1__publicOnDataItemCreatedType as _publicOnDataItemCreatedType, type context$1__publicOnDataItemDeletedType as _publicOnDataItemDeletedType, type context$1__publicOnDataItemUpdatedType as _publicOnDataItemUpdatedType, type context$1__publicQueryDataItemsType as _publicQueryDataItemsType, type context$1__publicQueryDistinctValuesType as _publicQueryDistinctValuesType, type context$1__publicQueryReferencedDataItemsType as _publicQueryReferencedDataItemsType, type context$1__publicRemoveDataItemReferenceType as _publicRemoveDataItemReferenceType, type context$1__publicRemoveDataItemType as _publicRemoveDataItemType, type context$1__publicReplaceDataItemReferencesType as _publicReplaceDataItemReferencesType, type context$1__publicSaveDataItemType as _publicSaveDataItemType, type context$1__publicTruncateDataItemsType as _publicTruncateDataItemsType, type context$1__publicUpdateDataItemType as _publicUpdateDataItemType, context$1_aggregateDataItems as aggregateDataItems, context$1_bulkInsertDataItemReferences as bulkInsertDataItemReferences, context$1_bulkInsertDataItems as bulkInsertDataItems, context$1_bulkRemoveDataItemReferences as bulkRemoveDataItemReferences, context$1_bulkRemoveDataItems as bulkRemoveDataItems, context$1_bulkSaveDataItems as bulkSaveDataItems, context$1_bulkUpdateDataItems as bulkUpdateDataItems, context$1_countDataItems as countDataItems, context$1_getDataItem as getDataItem, context$1_insertDataItem as insertDataItem, context$1_insertDataItemReference as insertDataItemReference, context$1_isReferencedDataItem as isReferencedDataItem, context$1_onDataItemCreated as onDataItemCreated, context$1_onDataItemDeleted as onDataItemDeleted, context$1_onDataItemUpdated as onDataItemUpdated, onDataItemCreated$1 as publicOnDataItemCreated, onDataItemDeleted$1 as publicOnDataItemDeleted, onDataItemUpdated$1 as publicOnDataItemUpdated, context$1_queryDataItems as queryDataItems, context$1_queryDistinctValues as queryDistinctValues, context$1_queryReferencedDataItems as queryReferencedDataItems, context$1_removeDataItem as removeDataItem, context$1_removeDataItemReference as removeDataItemReference, context$1_replaceDataItemReferences as replaceDataItemReferences, context$1_saveDataItem as saveDataItem, context$1_truncateDataItems as truncateDataItems, context$1_updateDataItem as updateDataItem };
4598
+ export { context$1_ACTION as ACTION, context$1_Action as Action, type context$1_ActionEvent as ActionEvent, type context$1_AggregateDataItemsOptions as AggregateDataItemsOptions, type context$1_AggregateDataItemsRequest as AggregateDataItemsRequest, type context$1_AggregateDataItemsRequestPagingMethodOneOf as AggregateDataItemsRequestPagingMethodOneOf, type context$1_AggregateDataItemsResponse as AggregateDataItemsResponse, type context$1_Aggregation as Aggregation, type context$1_AppendToArray as AppendToArray, type context$1_ApplicationError as ApplicationError, type context$1_Average as Average, type context$1_BaseEventMetadata as BaseEventMetadata, type context$1_BulkActionMetadata as BulkActionMetadata, context$1_BulkActionType as BulkActionType, type context$1_BulkDataItemReferenceResult as BulkDataItemReferenceResult, type context$1_BulkDataItemResult as BulkDataItemResult, type context$1_BulkInsertDataItemReferencesOptions as BulkInsertDataItemReferencesOptions, type context$1_BulkInsertDataItemReferencesRequest as BulkInsertDataItemReferencesRequest, type context$1_BulkInsertDataItemReferencesResponse as BulkInsertDataItemReferencesResponse, type context$1_BulkInsertDataItemReferencesResponseNonNullableFields as BulkInsertDataItemReferencesResponseNonNullableFields, type context$1_BulkInsertDataItemsOptions as BulkInsertDataItemsOptions, type context$1_BulkInsertDataItemsRequest as BulkInsertDataItemsRequest, type context$1_BulkInsertDataItemsResponse as BulkInsertDataItemsResponse, type context$1_BulkInsertDataItemsResponseNonNullableFields as BulkInsertDataItemsResponseNonNullableFields, type context$1_BulkPatchDataItemsRequest as BulkPatchDataItemsRequest, type context$1_BulkPatchDataItemsResponse as BulkPatchDataItemsResponse, type context$1_BulkRemoveDataItemReferencesOptions as BulkRemoveDataItemReferencesOptions, type context$1_BulkRemoveDataItemReferencesRequest as BulkRemoveDataItemReferencesRequest, type context$1_BulkRemoveDataItemReferencesResponse as BulkRemoveDataItemReferencesResponse, type context$1_BulkRemoveDataItemReferencesResponseNonNullableFields as BulkRemoveDataItemReferencesResponseNonNullableFields, type context$1_BulkRemoveDataItemsOptions as BulkRemoveDataItemsOptions, type context$1_BulkRemoveDataItemsRequest as BulkRemoveDataItemsRequest, type context$1_BulkRemoveDataItemsResponse as BulkRemoveDataItemsResponse, type context$1_BulkRemoveDataItemsResponseNonNullableFields as BulkRemoveDataItemsResponseNonNullableFields, type context$1_BulkSaveDataItemsOptions as BulkSaveDataItemsOptions, type context$1_BulkSaveDataItemsRequest as BulkSaveDataItemsRequest, type context$1_BulkSaveDataItemsResponse as BulkSaveDataItemsResponse, type context$1_BulkSaveDataItemsResponseNonNullableFields as BulkSaveDataItemsResponseNonNullableFields, type context$1_BulkUpdateDataItemsOptions as BulkUpdateDataItemsOptions, type context$1_BulkUpdateDataItemsRequest as BulkUpdateDataItemsRequest, type context$1_BulkUpdateDataItemsResponse as BulkUpdateDataItemsResponse, type context$1_BulkUpdateDataItemsResponseNonNullableFields as BulkUpdateDataItemsResponseNonNullableFields, type context$1_CachingInfo as CachingInfo, type context$1_Count as Count, type context$1_CountDataItemsOptions as CountDataItemsOptions, type context$1_CountDataItemsRequest as CountDataItemsRequest, type context$1_CountDataItemsResponse as CountDataItemsResponse, type context$1_CountDataItemsResponseNonNullableFields as CountDataItemsResponseNonNullableFields, type context$1_CursorPaging as CursorPaging, type context$1_Cursors as Cursors, type context$1_DataItem as DataItem, type context$1_DataItemCreatedEnvelope as DataItemCreatedEnvelope, type context$1_DataItemDeletedEnvelope as DataItemDeletedEnvelope, type context$1_DataItemNonNullableFields as DataItemNonNullableFields, type context$1_DataItemReference as DataItemReference, type context$1_DataItemUpdatedEnvelope as DataItemUpdatedEnvelope, type context$1_DataItemsQueryBuilder as DataItemsQueryBuilder, type context$1_DataItemsQueryResult as DataItemsQueryResult, type context$1_DataPublishPluginOptions as DataPublishPluginOptions, type context$1_DomainEvent as DomainEvent, type context$1_DomainEventBodyOneOf as DomainEventBodyOneOf, type context$1_EntityCreatedEvent as EntityCreatedEvent, type context$1_EntityDeletedEvent as EntityDeletedEvent, type context$1_EntityUpdatedEvent as EntityUpdatedEvent, Environment$1 as Environment, type context$1_EventMetadata as EventMetadata, type context$1_FieldUpdate as FieldUpdate, type context$1_FieldUpdateActionOptionsOneOf as FieldUpdateActionOptionsOneOf, type context$1_GetDataItemOptions as GetDataItemOptions, type context$1_GetDataItemRequest as GetDataItemRequest, type context$1_GetDataItemResponse as GetDataItemResponse, type context$1_GetDataItemResponseNonNullableFields as GetDataItemResponseNonNullableFields, type context$1_IdentificationData as IdentificationData, type context$1_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context$1_IncrementField as IncrementField, type context$1_InsertDataItemOptions as InsertDataItemOptions, type context$1_InsertDataItemReferenceOptions as InsertDataItemReferenceOptions, type context$1_InsertDataItemReferenceRequest as InsertDataItemReferenceRequest, type context$1_InsertDataItemReferenceResponse as InsertDataItemReferenceResponse, type context$1_InsertDataItemReferenceResponseNonNullableFields as InsertDataItemReferenceResponseNonNullableFields, type context$1_InsertDataItemRequest as InsertDataItemRequest, type context$1_InsertDataItemResponse as InsertDataItemResponse, type context$1_InsertDataItemResponseNonNullableFields as InsertDataItemResponseNonNullableFields, type context$1_IsReferencedDataItemOptions as IsReferencedDataItemOptions, type context$1_IsReferencedDataItemRequest as IsReferencedDataItemRequest, type context$1_IsReferencedDataItemResponse as IsReferencedDataItemResponse, type context$1_IsReferencedDataItemResponseNonNullableFields as IsReferencedDataItemResponseNonNullableFields, type context$1_ItemMetadata as ItemMetadata, type context$1_Max as Max, type context$1_MessageEnvelope as MessageEnvelope, type context$1_Min as Min, type context$1_Operation as Operation, type context$1_OperationCalculateOneOf as OperationCalculateOneOf, type context$1_Options as Options, type Paging$1 as Paging, type context$1_PagingMetadataV2 as PagingMetadataV2, type context$1_PatchDataItemRequest as PatchDataItemRequest, type context$1_PatchDataItemResponse as PatchDataItemResponse, type context$1_PatchSet as PatchSet, type context$1_PublishPluginOptions as PublishPluginOptions, type context$1_QueryDataItemsOptions as QueryDataItemsOptions, type context$1_QueryDataItemsRequest as QueryDataItemsRequest, type context$1_QueryDataItemsResponse as QueryDataItemsResponse, type context$1_QueryDataItemsResponseNonNullableFields as QueryDataItemsResponseNonNullableFields, type context$1_QueryDistinctValuesOptions as QueryDistinctValuesOptions, type context$1_QueryDistinctValuesRequest as QueryDistinctValuesRequest, type context$1_QueryDistinctValuesRequestPagingMethodOneOf as QueryDistinctValuesRequestPagingMethodOneOf, type context$1_QueryDistinctValuesResponse as QueryDistinctValuesResponse, type context$1_QueryReferencedDataItemsOptions as QueryReferencedDataItemsOptions, type context$1_QueryReferencedDataItemsRequest as QueryReferencedDataItemsRequest, type context$1_QueryReferencedDataItemsRequestPagingMethodOneOf as QueryReferencedDataItemsRequestPagingMethodOneOf, type context$1_QueryReferencedDataItemsResponse as QueryReferencedDataItemsResponse, type context$1_QueryReferencedDataItemsResponseNonNullableFields as QueryReferencedDataItemsResponseNonNullableFields, type context$1_QueryV2 as QueryV2, type context$1_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type context$1_ReferencedItemOptions as ReferencedItemOptions, type context$1_ReferencedResult as ReferencedResult, type context$1_ReferencedResultEntityOneOf as ReferencedResultEntityOneOf, type context$1_RemoveDataItemOptions as RemoveDataItemOptions, type context$1_RemoveDataItemReferenceOptions as RemoveDataItemReferenceOptions, type context$1_RemoveDataItemReferenceRequest as RemoveDataItemReferenceRequest, type context$1_RemoveDataItemReferenceResponse as RemoveDataItemReferenceResponse, type context$1_RemoveDataItemReferenceResponseNonNullableFields as RemoveDataItemReferenceResponseNonNullableFields, type context$1_RemoveDataItemRequest as RemoveDataItemRequest, type context$1_RemoveDataItemResponse as RemoveDataItemResponse, type context$1_RemoveDataItemResponseNonNullableFields as RemoveDataItemResponseNonNullableFields, type context$1_RemoveFromArray as RemoveFromArray, type context$1_ReplaceDataItemReferencesOptions as ReplaceDataItemReferencesOptions, type context$1_ReplaceDataItemReferencesRequest as ReplaceDataItemReferencesRequest, type context$1_ReplaceDataItemReferencesResponse as ReplaceDataItemReferencesResponse, type context$1_ReplaceDataItemReferencesResponseNonNullableFields as ReplaceDataItemReferencesResponseNonNullableFields, type context$1_RestoreInfo as RestoreInfo, type context$1_SaveDataItemOptions as SaveDataItemOptions, type context$1_SaveDataItemRequest as SaveDataItemRequest, type context$1_SaveDataItemResponse as SaveDataItemResponse, type context$1_SaveDataItemResponseNonNullableFields as SaveDataItemResponseNonNullableFields, type context$1_SetField as SetField, context$1_SortOrder as SortOrder, type context$1_Sorting as Sorting, type context$1_Sum as Sum, type context$1_TruncateDataItemsOptions as TruncateDataItemsOptions, type context$1_TruncateDataItemsRequest as TruncateDataItemsRequest, type context$1_TruncateDataItemsResponse as TruncateDataItemsResponse, type context$1_UnresolvedReference as UnresolvedReference, type context$1_UpdateDataItemOptions as UpdateDataItemOptions, type context$1_UpdateDataItemRequest as UpdateDataItemRequest, type context$1_UpdateDataItemResponse as UpdateDataItemResponse, type context$1_UpdateDataItemResponseNonNullableFields as UpdateDataItemResponseNonNullableFields, context$1_WebhookIdentityType as WebhookIdentityType, type context$1__publicOnDataItemCreatedType as _publicOnDataItemCreatedType, type context$1__publicOnDataItemDeletedType as _publicOnDataItemDeletedType, type context$1__publicOnDataItemUpdatedType as _publicOnDataItemUpdatedType, context$1_aggregateDataItems as aggregateDataItems, context$1_bulkInsertDataItemReferences as bulkInsertDataItemReferences, context$1_bulkInsertDataItems as bulkInsertDataItems, context$1_bulkRemoveDataItemReferences as bulkRemoveDataItemReferences, context$1_bulkRemoveDataItems as bulkRemoveDataItems, context$1_bulkSaveDataItems as bulkSaveDataItems, context$1_bulkUpdateDataItems as bulkUpdateDataItems, context$1_countDataItems as countDataItems, context$1_getDataItem as getDataItem, context$1_insertDataItem as insertDataItem, context$1_insertDataItemReference as insertDataItemReference, context$1_isReferencedDataItem as isReferencedDataItem, context$1_onDataItemCreated as onDataItemCreated, context$1_onDataItemDeleted as onDataItemDeleted, context$1_onDataItemUpdated as onDataItemUpdated, onDataItemCreated$1 as publicOnDataItemCreated, onDataItemDeleted$1 as publicOnDataItemDeleted, onDataItemUpdated$1 as publicOnDataItemUpdated, context$1_queryDataItems as queryDataItems, context$1_queryDistinctValues as queryDistinctValues, context$1_queryReferencedDataItems as queryReferencedDataItems, context$1_removeDataItem as removeDataItem, context$1_removeDataItemReference as removeDataItemReference, context$1_replaceDataItemReferences as replaceDataItemReferences, context$1_saveDataItem as saveDataItem, context$1_truncateDataItems as truncateDataItems, context$1_updateDataItem as updateDataItem };
4299
4599
  }
4300
4600
 
4301
4601
  /** An index is a map of a collection's data, organized according to specific fields to increase query speed. */
@@ -4516,14 +4816,9 @@ interface ListIndexesSignature {
4516
4816
  (dataCollectionId: string, options?: ListIndexesOptions | undefined): Promise<ListIndexesResponse & ListIndexesResponseNonNullableFields>;
4517
4817
  }
4518
4818
 
4519
- declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
4520
-
4521
- type _publicCreateIndexType = typeof createIndex$1;
4522
- declare const createIndex: ReturnType<typeof createRESTModule<_publicCreateIndexType>>;
4523
- type _publicDropIndexType = typeof dropIndex$1;
4524
- declare const dropIndex: ReturnType<typeof createRESTModule<_publicDropIndexType>>;
4525
- type _publicListIndexesType = typeof listIndexes$1;
4526
- declare const listIndexes: ReturnType<typeof createRESTModule<_publicListIndexesType>>;
4819
+ declare const createIndex: BuildRESTFunction<typeof createIndex$1> & typeof createIndex$1;
4820
+ declare const dropIndex: BuildRESTFunction<typeof dropIndex$1> & typeof dropIndex$1;
4821
+ declare const listIndexes: BuildRESTFunction<typeof listIndexes$1> & typeof listIndexes$1;
4527
4822
 
4528
4823
  type context_CreateIndexRequest = CreateIndexRequest;
4529
4824
  type context_CreateIndexResponse = CreateIndexResponse;
@@ -4546,14 +4841,11 @@ type context_Paging = Paging;
4546
4841
  type context_PagingMetadata = PagingMetadata;
4547
4842
  type context_Status = Status;
4548
4843
  declare const context_Status: typeof Status;
4549
- type context__publicCreateIndexType = _publicCreateIndexType;
4550
- type context__publicDropIndexType = _publicDropIndexType;
4551
- type context__publicListIndexesType = _publicListIndexesType;
4552
4844
  declare const context_createIndex: typeof createIndex;
4553
4845
  declare const context_dropIndex: typeof dropIndex;
4554
4846
  declare const context_listIndexes: typeof listIndexes;
4555
4847
  declare namespace context {
4556
- export { type context_CreateIndexRequest as CreateIndexRequest, type context_CreateIndexResponse as CreateIndexResponse, type context_CreateIndexResponseNonNullableFields as CreateIndexResponseNonNullableFields, type context_DropIndexRequest as DropIndexRequest, type context_DropIndexResponse as DropIndexResponse, context_Environment as Environment, type context_Failure as Failure, type context_Field as Field, type context_Index as Index, type context_IndexNonNullableFields as IndexNonNullableFields, type context_ListIndexesOptions as ListIndexesOptions, type context_ListIndexesRequest as ListIndexesRequest, type context_ListIndexesResponse as ListIndexesResponse, type context_ListIndexesResponseNonNullableFields as ListIndexesResponseNonNullableFields, context_Order as Order, type context_Paging as Paging, type context_PagingMetadata as PagingMetadata, context_Status as Status, type context__publicCreateIndexType as _publicCreateIndexType, type context__publicDropIndexType as _publicDropIndexType, type context__publicListIndexesType as _publicListIndexesType, context_createIndex as createIndex, context_dropIndex as dropIndex, context_listIndexes as listIndexes };
4848
+ export { type context_CreateIndexRequest as CreateIndexRequest, type context_CreateIndexResponse as CreateIndexResponse, type context_CreateIndexResponseNonNullableFields as CreateIndexResponseNonNullableFields, type context_DropIndexRequest as DropIndexRequest, type context_DropIndexResponse as DropIndexResponse, context_Environment as Environment, type context_Failure as Failure, type context_Field as Field, type context_Index as Index, type context_IndexNonNullableFields as IndexNonNullableFields, type context_ListIndexesOptions as ListIndexesOptions, type context_ListIndexesRequest as ListIndexesRequest, type context_ListIndexesResponse as ListIndexesResponse, type context_ListIndexesResponseNonNullableFields as ListIndexesResponseNonNullableFields, context_Order as Order, type context_Paging as Paging, type context_PagingMetadata as PagingMetadata, context_Status as Status, context_createIndex as createIndex, context_dropIndex as dropIndex, context_listIndexes as listIndexes };
4557
4849
  }
4558
4850
 
4559
4851
  export { context$2 as collections, context$3 as externalDatabaseConnections, context as indexes, context$1 as items };