@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
|
-
|
|
529
|
-
declare const
|
|
530
|
-
|
|
531
|
-
declare const
|
|
532
|
-
|
|
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 index_d$3_UpdateExternalDatabaseConnection = UpdateExternalDatabaseConnecti
|
|
|
588
581
|
type index_d$3_UpdateExternalDatabaseConnectionRequest = UpdateExternalDatabaseConnectionRequest;
|
|
589
582
|
type index_d$3_UpdateExternalDatabaseConnectionResponse = UpdateExternalDatabaseConnectionResponse;
|
|
590
583
|
type index_d$3_UpdateExternalDatabaseConnectionResponseNonNullableFields = UpdateExternalDatabaseConnectionResponseNonNullableFields;
|
|
591
|
-
type index_d$3__publicCreateExternalDatabaseConnectionType = _publicCreateExternalDatabaseConnectionType;
|
|
592
|
-
type index_d$3__publicDeleteExternalDatabaseConnectionType = _publicDeleteExternalDatabaseConnectionType;
|
|
593
|
-
type index_d$3__publicGetExternalDatabaseConnectionType = _publicGetExternalDatabaseConnectionType;
|
|
594
|
-
type index_d$3__publicListExternalDatabaseConnectionsType = _publicListExternalDatabaseConnectionsType;
|
|
595
584
|
type index_d$3__publicOnExternalDatabaseConnectionCreatedType = _publicOnExternalDatabaseConnectionCreatedType;
|
|
596
585
|
type index_d$3__publicOnExternalDatabaseConnectionDeletedType = _publicOnExternalDatabaseConnectionDeletedType;
|
|
597
586
|
type index_d$3__publicOnExternalDatabaseConnectionUpdatedType = _publicOnExternalDatabaseConnectionUpdatedType;
|
|
598
|
-
type index_d$3__publicUpdateExternalDatabaseConnectionType = _publicUpdateExternalDatabaseConnectionType;
|
|
599
587
|
declare const index_d$3_createExternalDatabaseConnection: typeof createExternalDatabaseConnection;
|
|
600
588
|
declare const index_d$3_deleteExternalDatabaseConnection: typeof deleteExternalDatabaseConnection;
|
|
601
589
|
declare const index_d$3_getExternalDatabaseConnection: typeof getExternalDatabaseConnection;
|
|
@@ -605,7 +593,7 @@ declare const index_d$3_onExternalDatabaseConnectionDeleted: typeof onExternalDa
|
|
|
605
593
|
declare const index_d$3_onExternalDatabaseConnectionUpdated: typeof onExternalDatabaseConnectionUpdated;
|
|
606
594
|
declare const index_d$3_updateExternalDatabaseConnection: typeof updateExternalDatabaseConnection;
|
|
607
595
|
declare namespace index_d$3 {
|
|
608
|
-
export { type ActionEvent$2 as ActionEvent, type BaseEventMetadata$2 as BaseEventMetadata, type index_d$3_Capabilities as Capabilities, index_d$3_CauseOfFailure as CauseOfFailure, index_d$3_CollectionsFound as CollectionsFound, type index_d$3_ConnectionStatus as ConnectionStatus, index_d$3_ConnectionType as ConnectionType, type index_d$3_CreateExternalDatabaseConnectionOptions as CreateExternalDatabaseConnectionOptions, type index_d$3_CreateExternalDatabaseConnectionRequest as CreateExternalDatabaseConnectionRequest, type index_d$3_CreateExternalDatabaseConnectionResponse as CreateExternalDatabaseConnectionResponse, type index_d$3_CreateExternalDatabaseConnectionResponseNonNullableFields as CreateExternalDatabaseConnectionResponseNonNullableFields, type index_d$3_DeleteExternalDatabaseConnectionRequest as DeleteExternalDatabaseConnectionRequest, type index_d$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 index_d$3_ExternalDatabaseConnection as ExternalDatabaseConnection, type index_d$3_ExternalDatabaseConnectionCreatedEnvelope as ExternalDatabaseConnectionCreatedEnvelope, type index_d$3_ExternalDatabaseConnectionDeletedEnvelope as ExternalDatabaseConnectionDeletedEnvelope, type index_d$3_ExternalDatabaseConnectionNonNullableFields as ExternalDatabaseConnectionNonNullableFields, type index_d$3_ExternalDatabaseConnectionUpdatedEnvelope as ExternalDatabaseConnectionUpdatedEnvelope, index_d$3_FieldType as FieldType, type index_d$3_GetExternalDatabaseConnectionRequest as GetExternalDatabaseConnectionRequest, type index_d$3_GetExternalDatabaseConnectionResponse as GetExternalDatabaseConnectionResponse, type index_d$3_GetExternalDatabaseConnectionResponseNonNullableFields as GetExternalDatabaseConnectionResponseNonNullableFields, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type index_d$3_ListExternalDatabaseConnectionsOptions as ListExternalDatabaseConnectionsOptions, type index_d$3_ListExternalDatabaseConnectionsRequest as ListExternalDatabaseConnectionsRequest, type index_d$3_ListExternalDatabaseConnectionsResponse as ListExternalDatabaseConnectionsResponse, type index_d$3_ListExternalDatabaseConnectionsResponseNonNullableFields as ListExternalDatabaseConnectionsResponseNonNullableFields, type MessageEnvelope$2 as MessageEnvelope, type Paging$3 as Paging, type PagingMetadata$1 as PagingMetadata, index_d$3_ProtocolVersion as ProtocolVersion, type RestoreInfo$2 as RestoreInfo, type index_d$3_UpdateExternalDatabaseConnection as UpdateExternalDatabaseConnection, type index_d$3_UpdateExternalDatabaseConnectionRequest as UpdateExternalDatabaseConnectionRequest, type index_d$3_UpdateExternalDatabaseConnectionResponse as UpdateExternalDatabaseConnectionResponse, type index_d$3_UpdateExternalDatabaseConnectionResponseNonNullableFields as UpdateExternalDatabaseConnectionResponseNonNullableFields, WebhookIdentityType$2 as WebhookIdentityType, type index_d$
|
|
596
|
+
export { type ActionEvent$2 as ActionEvent, type BaseEventMetadata$2 as BaseEventMetadata, type index_d$3_Capabilities as Capabilities, index_d$3_CauseOfFailure as CauseOfFailure, index_d$3_CollectionsFound as CollectionsFound, type index_d$3_ConnectionStatus as ConnectionStatus, index_d$3_ConnectionType as ConnectionType, type index_d$3_CreateExternalDatabaseConnectionOptions as CreateExternalDatabaseConnectionOptions, type index_d$3_CreateExternalDatabaseConnectionRequest as CreateExternalDatabaseConnectionRequest, type index_d$3_CreateExternalDatabaseConnectionResponse as CreateExternalDatabaseConnectionResponse, type index_d$3_CreateExternalDatabaseConnectionResponseNonNullableFields as CreateExternalDatabaseConnectionResponseNonNullableFields, type index_d$3_DeleteExternalDatabaseConnectionRequest as DeleteExternalDatabaseConnectionRequest, type index_d$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 index_d$3_ExternalDatabaseConnection as ExternalDatabaseConnection, type index_d$3_ExternalDatabaseConnectionCreatedEnvelope as ExternalDatabaseConnectionCreatedEnvelope, type index_d$3_ExternalDatabaseConnectionDeletedEnvelope as ExternalDatabaseConnectionDeletedEnvelope, type index_d$3_ExternalDatabaseConnectionNonNullableFields as ExternalDatabaseConnectionNonNullableFields, type index_d$3_ExternalDatabaseConnectionUpdatedEnvelope as ExternalDatabaseConnectionUpdatedEnvelope, index_d$3_FieldType as FieldType, type index_d$3_GetExternalDatabaseConnectionRequest as GetExternalDatabaseConnectionRequest, type index_d$3_GetExternalDatabaseConnectionResponse as GetExternalDatabaseConnectionResponse, type index_d$3_GetExternalDatabaseConnectionResponseNonNullableFields as GetExternalDatabaseConnectionResponseNonNullableFields, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type index_d$3_ListExternalDatabaseConnectionsOptions as ListExternalDatabaseConnectionsOptions, type index_d$3_ListExternalDatabaseConnectionsRequest as ListExternalDatabaseConnectionsRequest, type index_d$3_ListExternalDatabaseConnectionsResponse as ListExternalDatabaseConnectionsResponse, type index_d$3_ListExternalDatabaseConnectionsResponseNonNullableFields as ListExternalDatabaseConnectionsResponseNonNullableFields, type MessageEnvelope$2 as MessageEnvelope, type Paging$3 as Paging, type PagingMetadata$1 as PagingMetadata, index_d$3_ProtocolVersion as ProtocolVersion, type RestoreInfo$2 as RestoreInfo, type index_d$3_UpdateExternalDatabaseConnection as UpdateExternalDatabaseConnection, type index_d$3_UpdateExternalDatabaseConnectionRequest as UpdateExternalDatabaseConnectionRequest, type index_d$3_UpdateExternalDatabaseConnectionResponse as UpdateExternalDatabaseConnectionResponse, type index_d$3_UpdateExternalDatabaseConnectionResponseNonNullableFields as UpdateExternalDatabaseConnectionResponseNonNullableFields, WebhookIdentityType$2 as WebhookIdentityType, type index_d$3__publicOnExternalDatabaseConnectionCreatedType as _publicOnExternalDatabaseConnectionCreatedType, type index_d$3__publicOnExternalDatabaseConnectionDeletedType as _publicOnExternalDatabaseConnectionDeletedType, type index_d$3__publicOnExternalDatabaseConnectionUpdatedType as _publicOnExternalDatabaseConnectionUpdatedType, index_d$3_createExternalDatabaseConnection as createExternalDatabaseConnection, index_d$3_deleteExternalDatabaseConnection as deleteExternalDatabaseConnection, index_d$3_getExternalDatabaseConnection as getExternalDatabaseConnection, index_d$3_listExternalDatabaseConnections as listExternalDatabaseConnections, index_d$3_onExternalDatabaseConnectionCreated as onExternalDatabaseConnectionCreated, index_d$3_onExternalDatabaseConnectionDeleted as onExternalDatabaseConnectionDeleted, index_d$3_onExternalDatabaseConnectionUpdated as onExternalDatabaseConnectionUpdated, onExternalDatabaseConnectionCreated$1 as publicOnExternalDatabaseConnectionCreated, onExternalDatabaseConnectionDeleted$1 as publicOnExternalDatabaseConnectionDeleted, onExternalDatabaseConnectionUpdated$1 as publicOnExternalDatabaseConnectionUpdated, index_d$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
|
-
|
|
1992
|
-
declare const
|
|
1993
|
-
|
|
1994
|
-
declare const
|
|
1995
|
-
|
|
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 index_d$2_UrlizedOnlyPattern = UrlizedOnlyPattern;
|
|
|
2133
2114
|
type index_d$2_UrlizedPluginOptions = UrlizedPluginOptions;
|
|
2134
2115
|
type index_d$2__Array = _Array;
|
|
2135
2116
|
type index_d$2__Object = _Object;
|
|
2136
|
-
type index_d$2__publicCreateDataCollectionType = _publicCreateDataCollectionType;
|
|
2137
|
-
type index_d$2__publicDeleteDataCollectionType = _publicDeleteDataCollectionType;
|
|
2138
|
-
type index_d$2__publicGetDataCollectionType = _publicGetDataCollectionType;
|
|
2139
|
-
type index_d$2__publicListDataCollectionsType = _publicListDataCollectionsType;
|
|
2140
2117
|
type index_d$2__publicOnDataCollectionChangedEventType = _publicOnDataCollectionChangedEventType;
|
|
2141
2118
|
type index_d$2__publicOnDataCollectionClonedEventType = _publicOnDataCollectionClonedEventType;
|
|
2142
2119
|
type index_d$2__publicOnDataCollectionCreatedType = _publicOnDataCollectionCreatedType;
|
|
2143
2120
|
type index_d$2__publicOnDataCollectionDeletedType = _publicOnDataCollectionDeletedType;
|
|
2144
2121
|
type index_d$2__publicOnDataCollectionUpdatedType = _publicOnDataCollectionUpdatedType;
|
|
2145
|
-
type index_d$2__publicUpdateDataCollectionType = _publicUpdateDataCollectionType;
|
|
2146
2122
|
declare const index_d$2_createDataCollection: typeof createDataCollection;
|
|
2147
2123
|
declare const index_d$2_deleteDataCollection: typeof deleteDataCollection;
|
|
2148
2124
|
declare const index_d$2_getDataCollection: typeof getDataCollection;
|
|
@@ -2154,7 +2130,7 @@ declare const index_d$2_onDataCollectionDeleted: typeof onDataCollectionDeleted;
|
|
|
2154
2130
|
declare const index_d$2_onDataCollectionUpdated: typeof onDataCollectionUpdated;
|
|
2155
2131
|
declare const index_d$2_updateDataCollection: typeof updateDataCollection;
|
|
2156
2132
|
declare namespace index_d$2 {
|
|
2157
|
-
export { index_d$2_AccessLevel as AccessLevel, type ActionEvent$1 as ActionEvent, type index_d$2_AllowedDataPermissions as AllowedDataPermissions, type index_d$2_ArraySizeRange as ArraySizeRange, type BaseEventMetadata$1 as BaseEventMetadata, type index_d$2_BulkGetDataCollectionsPageBySnapshotsRequest as BulkGetDataCollectionsPageBySnapshotsRequest, type index_d$2_BulkGetDataCollectionsPageBySnapshotsResponse as BulkGetDataCollectionsPageBySnapshotsResponse, type index_d$2_BulkGetDataCollectionsRequest as BulkGetDataCollectionsRequest, type index_d$2_BulkGetDataCollectionsResponse as BulkGetDataCollectionsResponse, type index_d$2_Calculator as Calculator, type index_d$2_CalculatorPatternOneOf as CalculatorPatternOneOf, type index_d$2_CmsOptions as CmsOptions, type index_d$2_CollectionCapabilities as CollectionCapabilities, index_d$2_CollectionOperation as CollectionOperation, index_d$2_CollectionType as CollectionType, type index_d$2_CreateDataCollectionFieldRequest as CreateDataCollectionFieldRequest, type index_d$2_CreateDataCollectionFieldResponse as CreateDataCollectionFieldResponse, type index_d$2_CreateDataCollectionRequest as CreateDataCollectionRequest, type index_d$2_CreateDataCollectionResponse as CreateDataCollectionResponse, type index_d$2_CreateDataCollectionResponseNonNullableFields as CreateDataCollectionResponseNonNullableFields, type index_d$2_CreateDataCollectionsSnapshotRequest as CreateDataCollectionsSnapshotRequest, type index_d$2_CreateDataCollectionsSnapshotResponse as CreateDataCollectionsSnapshotResponse, type index_d$2_CreateMigratedCollectionsSnapshotRequest as CreateMigratedCollectionsSnapshotRequest, type index_d$2_CreateMigratedCollectionsSnapshotResponse as CreateMigratedCollectionsSnapshotResponse, type index_d$2_DataCollection as DataCollection, type index_d$2_DataCollectionChangedEnvelope as DataCollectionChangedEnvelope, type index_d$2_DataCollectionChangedEvent as DataCollectionChangedEvent, type index_d$2_DataCollectionClonedEnvelope as DataCollectionClonedEnvelope, type index_d$2_DataCollectionClonedEvent as DataCollectionClonedEvent, type index_d$2_DataCollectionCreatedEnvelope as DataCollectionCreatedEnvelope, type index_d$2_DataCollectionDeletedEnvelope as DataCollectionDeletedEnvelope, type index_d$2_DataCollectionNonNullableFields as DataCollectionNonNullableFields, type index_d$2_DataCollectionUpdatedEnvelope as DataCollectionUpdatedEnvelope, index_d$2_DataOperation as DataOperation, type index_d$2_DataPermissions as DataPermissions, type index_d$2_DeleteDataCollectionFieldRequest as DeleteDataCollectionFieldRequest, type index_d$2_DeleteDataCollectionFieldResponse as DeleteDataCollectionFieldResponse, type index_d$2_DeleteDataCollectionRequest as DeleteDataCollectionRequest, type index_d$2_DeleteDataCollectionResponse as DeleteDataCollectionResponse, type index_d$2_DeleteDataCollectionsSnapshotRequest as DeleteDataCollectionsSnapshotRequest, type index_d$2_DeleteDataCollectionsSnapshotResponse as DeleteDataCollectionsSnapshotResponse, index_d$2_Direction as Direction, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type Failure$1 as Failure, type Field$1 as Field, type index_d$2_FieldCapabilities as FieldCapabilities, type index_d$2_FieldPlugin as FieldPlugin, type index_d$2_FieldPluginOptionsOneOf as FieldPluginOptionsOneOf, index_d$2_FieldPluginType as FieldPluginType, type index_d$2_FieldRangeValidationsOneOf as FieldRangeValidationsOneOf, type FieldUpdate$1 as FieldUpdate, type index_d$2_FieldsPattern as FieldsPattern, index_d$2_Format as Format, type index_d$2_GetDataCollectionOptions as GetDataCollectionOptions, type index_d$2_GetDataCollectionRequest as GetDataCollectionRequest, type index_d$2_GetDataCollectionResponse as GetDataCollectionResponse, type index_d$2_GetDataCollectionResponseNonNullableFields as GetDataCollectionResponseNonNullableFields, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type Index$1 as Index, type index_d$2_IndexField as IndexField, type index_d$2_IndexLimits as IndexLimits, index_d$2_IndexStatus as IndexStatus, type index_d$2_ListDataCollectionsOptions as ListDataCollectionsOptions, type index_d$2_ListDataCollectionsRequest as ListDataCollectionsRequest, type index_d$2_ListDataCollectionsResponse as ListDataCollectionsResponse, type index_d$2_ListDataCollectionsResponseNonNullableFields as ListDataCollectionsResponseNonNullableFields, type MessageEnvelope$1 as MessageEnvelope, type index_d$2_MultiReference as MultiReference, type index_d$2_MultilingualOptions as MultilingualOptions, type index_d$2_NumberRange as NumberRange, type index_d$2_ObjectField as ObjectField, Order$1 as Order, type index_d$2_PageLink as PageLink, type index_d$2_PageLinkPluginOptions as PageLinkPluginOptions, type Paging$2 as Paging, type PagingMetadataV2$1 as PagingMetadataV2, index_d$2_PagingMode as PagingMode, type index_d$2_Permissions as Permissions, type index_d$2_Plugin as Plugin, type index_d$2_PluginCmsOptions as PluginCmsOptions, type index_d$2_PluginOptionsOneOf as PluginOptionsOneOf, index_d$2_PluginType as PluginType, type index_d$2_PluginUpdate as PluginUpdate, type PublishPluginOptions$1 as PublishPluginOptions, index_d$2_QueryOperator as QueryOperator, type index_d$2_Reference as Reference, type index_d$2_RestoreDataCollectionsFromSnapshotRequest as RestoreDataCollectionsFromSnapshotRequest, type index_d$2_RestoreDataCollectionsFromSnapshotResponse as RestoreDataCollectionsFromSnapshotResponse, type RestoreInfo$1 as RestoreInfo, index_d$2_Role as Role, type index_d$2_SingleItemPluginOptions as SingleItemPluginOptions, type index_d$2_SiteSort as SiteSort, type index_d$2_SnapshotCollection as SnapshotCollection, type index_d$2_Sort as Sort, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, Status$1 as Status, type index_d$2_StringLengthRange as StringLengthRange, index_d$2_Type as Type, type index_d$2_TypeMetadata as TypeMetadata, type index_d$2_TypeMetadataMetadataOneOf as TypeMetadataMetadataOneOf, type index_d$2_UpdateDataCollectionFieldRequest as UpdateDataCollectionFieldRequest, type index_d$2_UpdateDataCollectionFieldResponse as UpdateDataCollectionFieldResponse, type index_d$2_UpdateDataCollectionRequest as UpdateDataCollectionRequest, type index_d$2_UpdateDataCollectionResponse as UpdateDataCollectionResponse, type index_d$2_UpdateDataCollectionResponseNonNullableFields as UpdateDataCollectionResponseNonNullableFields, type index_d$2_UpdateDataPermissionsRequest as UpdateDataPermissionsRequest, type index_d$2_UpdateDataPermissionsResponse as UpdateDataPermissionsResponse, type index_d$2_UrlizedOnlyPattern as UrlizedOnlyPattern, type index_d$2_UrlizedPluginOptions as UrlizedPluginOptions, WebhookIdentityType$1 as WebhookIdentityType, type index_d$2__Array as _Array, type index_d$2__Object as _Object, type index_d$
|
|
2133
|
+
export { index_d$2_AccessLevel as AccessLevel, type ActionEvent$1 as ActionEvent, type index_d$2_AllowedDataPermissions as AllowedDataPermissions, type index_d$2_ArraySizeRange as ArraySizeRange, type BaseEventMetadata$1 as BaseEventMetadata, type index_d$2_BulkGetDataCollectionsPageBySnapshotsRequest as BulkGetDataCollectionsPageBySnapshotsRequest, type index_d$2_BulkGetDataCollectionsPageBySnapshotsResponse as BulkGetDataCollectionsPageBySnapshotsResponse, type index_d$2_BulkGetDataCollectionsRequest as BulkGetDataCollectionsRequest, type index_d$2_BulkGetDataCollectionsResponse as BulkGetDataCollectionsResponse, type index_d$2_Calculator as Calculator, type index_d$2_CalculatorPatternOneOf as CalculatorPatternOneOf, type index_d$2_CmsOptions as CmsOptions, type index_d$2_CollectionCapabilities as CollectionCapabilities, index_d$2_CollectionOperation as CollectionOperation, index_d$2_CollectionType as CollectionType, type index_d$2_CreateDataCollectionFieldRequest as CreateDataCollectionFieldRequest, type index_d$2_CreateDataCollectionFieldResponse as CreateDataCollectionFieldResponse, type index_d$2_CreateDataCollectionRequest as CreateDataCollectionRequest, type index_d$2_CreateDataCollectionResponse as CreateDataCollectionResponse, type index_d$2_CreateDataCollectionResponseNonNullableFields as CreateDataCollectionResponseNonNullableFields, type index_d$2_CreateDataCollectionsSnapshotRequest as CreateDataCollectionsSnapshotRequest, type index_d$2_CreateDataCollectionsSnapshotResponse as CreateDataCollectionsSnapshotResponse, type index_d$2_CreateMigratedCollectionsSnapshotRequest as CreateMigratedCollectionsSnapshotRequest, type index_d$2_CreateMigratedCollectionsSnapshotResponse as CreateMigratedCollectionsSnapshotResponse, type index_d$2_DataCollection as DataCollection, type index_d$2_DataCollectionChangedEnvelope as DataCollectionChangedEnvelope, type index_d$2_DataCollectionChangedEvent as DataCollectionChangedEvent, type index_d$2_DataCollectionClonedEnvelope as DataCollectionClonedEnvelope, type index_d$2_DataCollectionClonedEvent as DataCollectionClonedEvent, type index_d$2_DataCollectionCreatedEnvelope as DataCollectionCreatedEnvelope, type index_d$2_DataCollectionDeletedEnvelope as DataCollectionDeletedEnvelope, type index_d$2_DataCollectionNonNullableFields as DataCollectionNonNullableFields, type index_d$2_DataCollectionUpdatedEnvelope as DataCollectionUpdatedEnvelope, index_d$2_DataOperation as DataOperation, type index_d$2_DataPermissions as DataPermissions, type index_d$2_DeleteDataCollectionFieldRequest as DeleteDataCollectionFieldRequest, type index_d$2_DeleteDataCollectionFieldResponse as DeleteDataCollectionFieldResponse, type index_d$2_DeleteDataCollectionRequest as DeleteDataCollectionRequest, type index_d$2_DeleteDataCollectionResponse as DeleteDataCollectionResponse, type index_d$2_DeleteDataCollectionsSnapshotRequest as DeleteDataCollectionsSnapshotRequest, type index_d$2_DeleteDataCollectionsSnapshotResponse as DeleteDataCollectionsSnapshotResponse, index_d$2_Direction as Direction, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type Failure$1 as Failure, type Field$1 as Field, type index_d$2_FieldCapabilities as FieldCapabilities, type index_d$2_FieldPlugin as FieldPlugin, type index_d$2_FieldPluginOptionsOneOf as FieldPluginOptionsOneOf, index_d$2_FieldPluginType as FieldPluginType, type index_d$2_FieldRangeValidationsOneOf as FieldRangeValidationsOneOf, type FieldUpdate$1 as FieldUpdate, type index_d$2_FieldsPattern as FieldsPattern, index_d$2_Format as Format, type index_d$2_GetDataCollectionOptions as GetDataCollectionOptions, type index_d$2_GetDataCollectionRequest as GetDataCollectionRequest, type index_d$2_GetDataCollectionResponse as GetDataCollectionResponse, type index_d$2_GetDataCollectionResponseNonNullableFields as GetDataCollectionResponseNonNullableFields, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type Index$1 as Index, type index_d$2_IndexField as IndexField, type index_d$2_IndexLimits as IndexLimits, index_d$2_IndexStatus as IndexStatus, type index_d$2_ListDataCollectionsOptions as ListDataCollectionsOptions, type index_d$2_ListDataCollectionsRequest as ListDataCollectionsRequest, type index_d$2_ListDataCollectionsResponse as ListDataCollectionsResponse, type index_d$2_ListDataCollectionsResponseNonNullableFields as ListDataCollectionsResponseNonNullableFields, type MessageEnvelope$1 as MessageEnvelope, type index_d$2_MultiReference as MultiReference, type index_d$2_MultilingualOptions as MultilingualOptions, type index_d$2_NumberRange as NumberRange, type index_d$2_ObjectField as ObjectField, Order$1 as Order, type index_d$2_PageLink as PageLink, type index_d$2_PageLinkPluginOptions as PageLinkPluginOptions, type Paging$2 as Paging, type PagingMetadataV2$1 as PagingMetadataV2, index_d$2_PagingMode as PagingMode, type index_d$2_Permissions as Permissions, type index_d$2_Plugin as Plugin, type index_d$2_PluginCmsOptions as PluginCmsOptions, type index_d$2_PluginOptionsOneOf as PluginOptionsOneOf, index_d$2_PluginType as PluginType, type index_d$2_PluginUpdate as PluginUpdate, type PublishPluginOptions$1 as PublishPluginOptions, index_d$2_QueryOperator as QueryOperator, type index_d$2_Reference as Reference, type index_d$2_RestoreDataCollectionsFromSnapshotRequest as RestoreDataCollectionsFromSnapshotRequest, type index_d$2_RestoreDataCollectionsFromSnapshotResponse as RestoreDataCollectionsFromSnapshotResponse, type RestoreInfo$1 as RestoreInfo, index_d$2_Role as Role, type index_d$2_SingleItemPluginOptions as SingleItemPluginOptions, type index_d$2_SiteSort as SiteSort, type index_d$2_SnapshotCollection as SnapshotCollection, type index_d$2_Sort as Sort, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, Status$1 as Status, type index_d$2_StringLengthRange as StringLengthRange, index_d$2_Type as Type, type index_d$2_TypeMetadata as TypeMetadata, type index_d$2_TypeMetadataMetadataOneOf as TypeMetadataMetadataOneOf, type index_d$2_UpdateDataCollectionFieldRequest as UpdateDataCollectionFieldRequest, type index_d$2_UpdateDataCollectionFieldResponse as UpdateDataCollectionFieldResponse, type index_d$2_UpdateDataCollectionRequest as UpdateDataCollectionRequest, type index_d$2_UpdateDataCollectionResponse as UpdateDataCollectionResponse, type index_d$2_UpdateDataCollectionResponseNonNullableFields as UpdateDataCollectionResponseNonNullableFields, type index_d$2_UpdateDataPermissionsRequest as UpdateDataPermissionsRequest, type index_d$2_UpdateDataPermissionsResponse as UpdateDataPermissionsResponse, type index_d$2_UrlizedOnlyPattern as UrlizedOnlyPattern, type index_d$2_UrlizedPluginOptions as UrlizedPluginOptions, WebhookIdentityType$1 as WebhookIdentityType, type index_d$2__Array as _Array, type index_d$2__Object as _Object, type index_d$2__publicOnDataCollectionChangedEventType as _publicOnDataCollectionChangedEventType, type index_d$2__publicOnDataCollectionClonedEventType as _publicOnDataCollectionClonedEventType, type index_d$2__publicOnDataCollectionCreatedType as _publicOnDataCollectionCreatedType, type index_d$2__publicOnDataCollectionDeletedType as _publicOnDataCollectionDeletedType, type index_d$2__publicOnDataCollectionUpdatedType as _publicOnDataCollectionUpdatedType, index_d$2_createDataCollection as createDataCollection, index_d$2_deleteDataCollection as deleteDataCollection, index_d$2_getDataCollection as getDataCollection, index_d$2_listDataCollections as listDataCollections, index_d$2_onDataCollectionChangedEvent as onDataCollectionChangedEvent, index_d$2_onDataCollectionClonedEvent as onDataCollectionClonedEvent, index_d$2_onDataCollectionCreated as onDataCollectionCreated, index_d$2_onDataCollectionDeleted as onDataCollectionDeleted, index_d$2_onDataCollectionUpdated as onDataCollectionUpdated, onDataCollectionChangedEvent$1 as publicOnDataCollectionChangedEvent, onDataCollectionClonedEvent$1 as publicOnDataCollectionClonedEvent, onDataCollectionCreated$1 as publicOnDataCollectionCreated, onDataCollectionDeleted$1 as publicOnDataCollectionDeleted, onDataCollectionUpdated$1 as publicOnDataCollectionUpdated, index_d$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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
-
|
|
4037
|
-
declare const
|
|
4038
|
-
|
|
4039
|
-
declare const
|
|
4040
|
-
|
|
4041
|
-
declare const
|
|
4042
|
-
|
|
4043
|
-
declare const
|
|
4044
|
-
|
|
4045
|
-
declare const
|
|
4046
|
-
|
|
4047
|
-
declare const
|
|
4048
|
-
|
|
4049
|
-
declare const
|
|
4050
|
-
|
|
4051
|
-
declare const
|
|
4052
|
-
|
|
4053
|
-
declare const
|
|
4054
|
-
|
|
4055
|
-
declare const
|
|
4056
|
-
|
|
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 index_d$1_UpdateDataItemResponse = UpdateDataItemResponse;
|
|
|
4246
4567
|
type index_d$1_UpdateDataItemResponseNonNullableFields = UpdateDataItemResponseNonNullableFields;
|
|
4247
4568
|
type index_d$1_WebhookIdentityType = WebhookIdentityType;
|
|
4248
4569
|
declare const index_d$1_WebhookIdentityType: typeof WebhookIdentityType;
|
|
4249
|
-
type index_d$1__publicAggregateDataItemsType = _publicAggregateDataItemsType;
|
|
4250
|
-
type index_d$1__publicBulkInsertDataItemReferencesType = _publicBulkInsertDataItemReferencesType;
|
|
4251
|
-
type index_d$1__publicBulkInsertDataItemsType = _publicBulkInsertDataItemsType;
|
|
4252
|
-
type index_d$1__publicBulkRemoveDataItemReferencesType = _publicBulkRemoveDataItemReferencesType;
|
|
4253
|
-
type index_d$1__publicBulkRemoveDataItemsType = _publicBulkRemoveDataItemsType;
|
|
4254
|
-
type index_d$1__publicBulkSaveDataItemsType = _publicBulkSaveDataItemsType;
|
|
4255
|
-
type index_d$1__publicBulkUpdateDataItemsType = _publicBulkUpdateDataItemsType;
|
|
4256
|
-
type index_d$1__publicCountDataItemsType = _publicCountDataItemsType;
|
|
4257
|
-
type index_d$1__publicGetDataItemType = _publicGetDataItemType;
|
|
4258
|
-
type index_d$1__publicInsertDataItemReferenceType = _publicInsertDataItemReferenceType;
|
|
4259
|
-
type index_d$1__publicInsertDataItemType = _publicInsertDataItemType;
|
|
4260
|
-
type index_d$1__publicIsReferencedDataItemType = _publicIsReferencedDataItemType;
|
|
4261
4570
|
type index_d$1__publicOnDataItemCreatedType = _publicOnDataItemCreatedType;
|
|
4262
4571
|
type index_d$1__publicOnDataItemDeletedType = _publicOnDataItemDeletedType;
|
|
4263
4572
|
type index_d$1__publicOnDataItemUpdatedType = _publicOnDataItemUpdatedType;
|
|
4264
|
-
type index_d$1__publicQueryDataItemsType = _publicQueryDataItemsType;
|
|
4265
|
-
type index_d$1__publicQueryDistinctValuesType = _publicQueryDistinctValuesType;
|
|
4266
|
-
type index_d$1__publicQueryReferencedDataItemsType = _publicQueryReferencedDataItemsType;
|
|
4267
|
-
type index_d$1__publicRemoveDataItemReferenceType = _publicRemoveDataItemReferenceType;
|
|
4268
|
-
type index_d$1__publicRemoveDataItemType = _publicRemoveDataItemType;
|
|
4269
|
-
type index_d$1__publicReplaceDataItemReferencesType = _publicReplaceDataItemReferencesType;
|
|
4270
|
-
type index_d$1__publicSaveDataItemType = _publicSaveDataItemType;
|
|
4271
|
-
type index_d$1__publicTruncateDataItemsType = _publicTruncateDataItemsType;
|
|
4272
|
-
type index_d$1__publicUpdateDataItemType = _publicUpdateDataItemType;
|
|
4273
4573
|
declare const index_d$1_aggregateDataItems: typeof aggregateDataItems;
|
|
4274
4574
|
declare const index_d$1_bulkInsertDataItemReferences: typeof bulkInsertDataItemReferences;
|
|
4275
4575
|
declare const index_d$1_bulkInsertDataItems: typeof bulkInsertDataItems;
|
|
@@ -4295,7 +4595,7 @@ declare const index_d$1_saveDataItem: typeof saveDataItem;
|
|
|
4295
4595
|
declare const index_d$1_truncateDataItems: typeof truncateDataItems;
|
|
4296
4596
|
declare const index_d$1_updateDataItem: typeof updateDataItem;
|
|
4297
4597
|
declare namespace index_d$1 {
|
|
4298
|
-
export { index_d$1_ACTION as ACTION, index_d$1_Action as Action, type index_d$1_ActionEvent as ActionEvent, type index_d$1_AggregateDataItemsOptions as AggregateDataItemsOptions, type index_d$1_AggregateDataItemsRequest as AggregateDataItemsRequest, type index_d$1_AggregateDataItemsRequestPagingMethodOneOf as AggregateDataItemsRequestPagingMethodOneOf, type index_d$1_AggregateDataItemsResponse as AggregateDataItemsResponse, type index_d$1_Aggregation as Aggregation, type index_d$1_AppendToArray as AppendToArray, type index_d$1_ApplicationError as ApplicationError, type index_d$1_Average as Average, type index_d$1_BaseEventMetadata as BaseEventMetadata, type index_d$1_BulkActionMetadata as BulkActionMetadata, index_d$1_BulkActionType as BulkActionType, type index_d$1_BulkDataItemReferenceResult as BulkDataItemReferenceResult, type index_d$1_BulkDataItemResult as BulkDataItemResult, type index_d$1_BulkInsertDataItemReferencesOptions as BulkInsertDataItemReferencesOptions, type index_d$1_BulkInsertDataItemReferencesRequest as BulkInsertDataItemReferencesRequest, type index_d$1_BulkInsertDataItemReferencesResponse as BulkInsertDataItemReferencesResponse, type index_d$1_BulkInsertDataItemReferencesResponseNonNullableFields as BulkInsertDataItemReferencesResponseNonNullableFields, type index_d$1_BulkInsertDataItemsOptions as BulkInsertDataItemsOptions, type index_d$1_BulkInsertDataItemsRequest as BulkInsertDataItemsRequest, type index_d$1_BulkInsertDataItemsResponse as BulkInsertDataItemsResponse, type index_d$1_BulkInsertDataItemsResponseNonNullableFields as BulkInsertDataItemsResponseNonNullableFields, type index_d$1_BulkPatchDataItemsRequest as BulkPatchDataItemsRequest, type index_d$1_BulkPatchDataItemsResponse as BulkPatchDataItemsResponse, type index_d$1_BulkRemoveDataItemReferencesOptions as BulkRemoveDataItemReferencesOptions, type index_d$1_BulkRemoveDataItemReferencesRequest as BulkRemoveDataItemReferencesRequest, type index_d$1_BulkRemoveDataItemReferencesResponse as BulkRemoveDataItemReferencesResponse, type index_d$1_BulkRemoveDataItemReferencesResponseNonNullableFields as BulkRemoveDataItemReferencesResponseNonNullableFields, type index_d$1_BulkRemoveDataItemsOptions as BulkRemoveDataItemsOptions, type index_d$1_BulkRemoveDataItemsRequest as BulkRemoveDataItemsRequest, type index_d$1_BulkRemoveDataItemsResponse as BulkRemoveDataItemsResponse, type index_d$1_BulkRemoveDataItemsResponseNonNullableFields as BulkRemoveDataItemsResponseNonNullableFields, type index_d$1_BulkSaveDataItemsOptions as BulkSaveDataItemsOptions, type index_d$1_BulkSaveDataItemsRequest as BulkSaveDataItemsRequest, type index_d$1_BulkSaveDataItemsResponse as BulkSaveDataItemsResponse, type index_d$1_BulkSaveDataItemsResponseNonNullableFields as BulkSaveDataItemsResponseNonNullableFields, type index_d$1_BulkUpdateDataItemsOptions as BulkUpdateDataItemsOptions, type index_d$1_BulkUpdateDataItemsRequest as BulkUpdateDataItemsRequest, type index_d$1_BulkUpdateDataItemsResponse as BulkUpdateDataItemsResponse, type index_d$1_BulkUpdateDataItemsResponseNonNullableFields as BulkUpdateDataItemsResponseNonNullableFields, type index_d$1_CachingInfo as CachingInfo, type index_d$1_Count as Count, type index_d$1_CountDataItemsOptions as CountDataItemsOptions, type index_d$1_CountDataItemsRequest as CountDataItemsRequest, type index_d$1_CountDataItemsResponse as CountDataItemsResponse, type index_d$1_CountDataItemsResponseNonNullableFields as CountDataItemsResponseNonNullableFields, type index_d$1_CursorPaging as CursorPaging, type index_d$1_Cursors as Cursors, type index_d$1_DataItem as DataItem, type index_d$1_DataItemCreatedEnvelope as DataItemCreatedEnvelope, type index_d$1_DataItemDeletedEnvelope as DataItemDeletedEnvelope, type index_d$1_DataItemNonNullableFields as DataItemNonNullableFields, type index_d$1_DataItemReference as DataItemReference, type index_d$1_DataItemUpdatedEnvelope as DataItemUpdatedEnvelope, type index_d$1_DataItemsQueryBuilder as DataItemsQueryBuilder, type index_d$1_DataItemsQueryResult as DataItemsQueryResult, type index_d$1_DataPublishPluginOptions as DataPublishPluginOptions, type index_d$1_DomainEvent as DomainEvent, type index_d$1_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d$1_EntityCreatedEvent as EntityCreatedEvent, type index_d$1_EntityDeletedEvent as EntityDeletedEvent, type index_d$1_EntityUpdatedEvent as EntityUpdatedEvent, Environment$1 as Environment, type index_d$1_EventMetadata as EventMetadata, type index_d$1_FieldUpdate as FieldUpdate, type index_d$1_FieldUpdateActionOptionsOneOf as FieldUpdateActionOptionsOneOf, type index_d$1_GetDataItemOptions as GetDataItemOptions, type index_d$1_GetDataItemRequest as GetDataItemRequest, type index_d$1_GetDataItemResponse as GetDataItemResponse, type index_d$1_GetDataItemResponseNonNullableFields as GetDataItemResponseNonNullableFields, type index_d$1_IdentificationData as IdentificationData, type index_d$1_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d$1_IncrementField as IncrementField, type index_d$1_InsertDataItemOptions as InsertDataItemOptions, type index_d$1_InsertDataItemReferenceOptions as InsertDataItemReferenceOptions, type index_d$1_InsertDataItemReferenceRequest as InsertDataItemReferenceRequest, type index_d$1_InsertDataItemReferenceResponse as InsertDataItemReferenceResponse, type index_d$1_InsertDataItemReferenceResponseNonNullableFields as InsertDataItemReferenceResponseNonNullableFields, type index_d$1_InsertDataItemRequest as InsertDataItemRequest, type index_d$1_InsertDataItemResponse as InsertDataItemResponse, type index_d$1_InsertDataItemResponseNonNullableFields as InsertDataItemResponseNonNullableFields, type index_d$1_IsReferencedDataItemOptions as IsReferencedDataItemOptions, type index_d$1_IsReferencedDataItemRequest as IsReferencedDataItemRequest, type index_d$1_IsReferencedDataItemResponse as IsReferencedDataItemResponse, type index_d$1_IsReferencedDataItemResponseNonNullableFields as IsReferencedDataItemResponseNonNullableFields, type index_d$1_ItemMetadata as ItemMetadata, type index_d$1_Max as Max, type index_d$1_MessageEnvelope as MessageEnvelope, type index_d$1_Min as Min, type index_d$1_Operation as Operation, type index_d$1_OperationCalculateOneOf as OperationCalculateOneOf, type index_d$1_Options as Options, type Paging$1 as Paging, type index_d$1_PagingMetadataV2 as PagingMetadataV2, type index_d$1_PatchDataItemRequest as PatchDataItemRequest, type index_d$1_PatchDataItemResponse as PatchDataItemResponse, type index_d$1_PatchSet as PatchSet, type index_d$1_PublishPluginOptions as PublishPluginOptions, type index_d$1_QueryDataItemsOptions as QueryDataItemsOptions, type index_d$1_QueryDataItemsRequest as QueryDataItemsRequest, type index_d$1_QueryDataItemsResponse as QueryDataItemsResponse, type index_d$1_QueryDataItemsResponseNonNullableFields as QueryDataItemsResponseNonNullableFields, type index_d$1_QueryDistinctValuesOptions as QueryDistinctValuesOptions, type index_d$1_QueryDistinctValuesRequest as QueryDistinctValuesRequest, type index_d$1_QueryDistinctValuesRequestPagingMethodOneOf as QueryDistinctValuesRequestPagingMethodOneOf, type index_d$1_QueryDistinctValuesResponse as QueryDistinctValuesResponse, type index_d$1_QueryReferencedDataItemsOptions as QueryReferencedDataItemsOptions, type index_d$1_QueryReferencedDataItemsRequest as QueryReferencedDataItemsRequest, type index_d$1_QueryReferencedDataItemsRequestPagingMethodOneOf as QueryReferencedDataItemsRequestPagingMethodOneOf, type index_d$1_QueryReferencedDataItemsResponse as QueryReferencedDataItemsResponse, type index_d$1_QueryReferencedDataItemsResponseNonNullableFields as QueryReferencedDataItemsResponseNonNullableFields, type index_d$1_QueryV2 as QueryV2, type index_d$1_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type index_d$1_ReferencedItemOptions as ReferencedItemOptions, type index_d$1_ReferencedResult as ReferencedResult, type index_d$1_ReferencedResultEntityOneOf as ReferencedResultEntityOneOf, type index_d$1_RemoveDataItemOptions as RemoveDataItemOptions, type index_d$1_RemoveDataItemReferenceOptions as RemoveDataItemReferenceOptions, type index_d$1_RemoveDataItemReferenceRequest as RemoveDataItemReferenceRequest, type index_d$1_RemoveDataItemReferenceResponse as RemoveDataItemReferenceResponse, type index_d$1_RemoveDataItemReferenceResponseNonNullableFields as RemoveDataItemReferenceResponseNonNullableFields, type index_d$1_RemoveDataItemRequest as RemoveDataItemRequest, type index_d$1_RemoveDataItemResponse as RemoveDataItemResponse, type index_d$1_RemoveDataItemResponseNonNullableFields as RemoveDataItemResponseNonNullableFields, type index_d$1_RemoveFromArray as RemoveFromArray, type index_d$1_ReplaceDataItemReferencesOptions as ReplaceDataItemReferencesOptions, type index_d$1_ReplaceDataItemReferencesRequest as ReplaceDataItemReferencesRequest, type index_d$1_ReplaceDataItemReferencesResponse as ReplaceDataItemReferencesResponse, type index_d$1_ReplaceDataItemReferencesResponseNonNullableFields as ReplaceDataItemReferencesResponseNonNullableFields, type index_d$1_RestoreInfo as RestoreInfo, type index_d$1_SaveDataItemOptions as SaveDataItemOptions, type index_d$1_SaveDataItemRequest as SaveDataItemRequest, type index_d$1_SaveDataItemResponse as SaveDataItemResponse, type index_d$1_SaveDataItemResponseNonNullableFields as SaveDataItemResponseNonNullableFields, type index_d$1_SetField as SetField, index_d$1_SortOrder as SortOrder, type index_d$1_Sorting as Sorting, type index_d$1_Sum as Sum, type index_d$1_TruncateDataItemsOptions as TruncateDataItemsOptions, type index_d$1_TruncateDataItemsRequest as TruncateDataItemsRequest, type index_d$1_TruncateDataItemsResponse as TruncateDataItemsResponse, type index_d$1_UnresolvedReference as UnresolvedReference, type index_d$1_UpdateDataItemOptions as UpdateDataItemOptions, type index_d$1_UpdateDataItemRequest as UpdateDataItemRequest, type index_d$1_UpdateDataItemResponse as UpdateDataItemResponse, type index_d$1_UpdateDataItemResponseNonNullableFields as UpdateDataItemResponseNonNullableFields, index_d$1_WebhookIdentityType as WebhookIdentityType, type index_d$1__publicAggregateDataItemsType as _publicAggregateDataItemsType, type index_d$1__publicBulkInsertDataItemReferencesType as _publicBulkInsertDataItemReferencesType, type index_d$1__publicBulkInsertDataItemsType as _publicBulkInsertDataItemsType, type index_d$1__publicBulkRemoveDataItemReferencesType as _publicBulkRemoveDataItemReferencesType, type index_d$1__publicBulkRemoveDataItemsType as _publicBulkRemoveDataItemsType, type index_d$1__publicBulkSaveDataItemsType as _publicBulkSaveDataItemsType, type index_d$1__publicBulkUpdateDataItemsType as _publicBulkUpdateDataItemsType, type index_d$1__publicCountDataItemsType as _publicCountDataItemsType, type index_d$1__publicGetDataItemType as _publicGetDataItemType, type index_d$1__publicInsertDataItemReferenceType as _publicInsertDataItemReferenceType, type index_d$1__publicInsertDataItemType as _publicInsertDataItemType, type index_d$1__publicIsReferencedDataItemType as _publicIsReferencedDataItemType, type index_d$1__publicOnDataItemCreatedType as _publicOnDataItemCreatedType, type index_d$1__publicOnDataItemDeletedType as _publicOnDataItemDeletedType, type index_d$1__publicOnDataItemUpdatedType as _publicOnDataItemUpdatedType, type index_d$1__publicQueryDataItemsType as _publicQueryDataItemsType, type index_d$1__publicQueryDistinctValuesType as _publicQueryDistinctValuesType, type index_d$1__publicQueryReferencedDataItemsType as _publicQueryReferencedDataItemsType, type index_d$1__publicRemoveDataItemReferenceType as _publicRemoveDataItemReferenceType, type index_d$1__publicRemoveDataItemType as _publicRemoveDataItemType, type index_d$1__publicReplaceDataItemReferencesType as _publicReplaceDataItemReferencesType, type index_d$1__publicSaveDataItemType as _publicSaveDataItemType, type index_d$1__publicTruncateDataItemsType as _publicTruncateDataItemsType, type index_d$1__publicUpdateDataItemType as _publicUpdateDataItemType, index_d$1_aggregateDataItems as aggregateDataItems, index_d$1_bulkInsertDataItemReferences as bulkInsertDataItemReferences, index_d$1_bulkInsertDataItems as bulkInsertDataItems, index_d$1_bulkRemoveDataItemReferences as bulkRemoveDataItemReferences, index_d$1_bulkRemoveDataItems as bulkRemoveDataItems, index_d$1_bulkSaveDataItems as bulkSaveDataItems, index_d$1_bulkUpdateDataItems as bulkUpdateDataItems, index_d$1_countDataItems as countDataItems, index_d$1_getDataItem as getDataItem, index_d$1_insertDataItem as insertDataItem, index_d$1_insertDataItemReference as insertDataItemReference, index_d$1_isReferencedDataItem as isReferencedDataItem, index_d$1_onDataItemCreated as onDataItemCreated, index_d$1_onDataItemDeleted as onDataItemDeleted, index_d$1_onDataItemUpdated as onDataItemUpdated, onDataItemCreated$1 as publicOnDataItemCreated, onDataItemDeleted$1 as publicOnDataItemDeleted, onDataItemUpdated$1 as publicOnDataItemUpdated, index_d$1_queryDataItems as queryDataItems, index_d$1_queryDistinctValues as queryDistinctValues, index_d$1_queryReferencedDataItems as queryReferencedDataItems, index_d$1_removeDataItem as removeDataItem, index_d$1_removeDataItemReference as removeDataItemReference, index_d$1_replaceDataItemReferences as replaceDataItemReferences, index_d$1_saveDataItem as saveDataItem, index_d$1_truncateDataItems as truncateDataItems, index_d$1_updateDataItem as updateDataItem };
|
|
4598
|
+
export { index_d$1_ACTION as ACTION, index_d$1_Action as Action, type index_d$1_ActionEvent as ActionEvent, type index_d$1_AggregateDataItemsOptions as AggregateDataItemsOptions, type index_d$1_AggregateDataItemsRequest as AggregateDataItemsRequest, type index_d$1_AggregateDataItemsRequestPagingMethodOneOf as AggregateDataItemsRequestPagingMethodOneOf, type index_d$1_AggregateDataItemsResponse as AggregateDataItemsResponse, type index_d$1_Aggregation as Aggregation, type index_d$1_AppendToArray as AppendToArray, type index_d$1_ApplicationError as ApplicationError, type index_d$1_Average as Average, type index_d$1_BaseEventMetadata as BaseEventMetadata, type index_d$1_BulkActionMetadata as BulkActionMetadata, index_d$1_BulkActionType as BulkActionType, type index_d$1_BulkDataItemReferenceResult as BulkDataItemReferenceResult, type index_d$1_BulkDataItemResult as BulkDataItemResult, type index_d$1_BulkInsertDataItemReferencesOptions as BulkInsertDataItemReferencesOptions, type index_d$1_BulkInsertDataItemReferencesRequest as BulkInsertDataItemReferencesRequest, type index_d$1_BulkInsertDataItemReferencesResponse as BulkInsertDataItemReferencesResponse, type index_d$1_BulkInsertDataItemReferencesResponseNonNullableFields as BulkInsertDataItemReferencesResponseNonNullableFields, type index_d$1_BulkInsertDataItemsOptions as BulkInsertDataItemsOptions, type index_d$1_BulkInsertDataItemsRequest as BulkInsertDataItemsRequest, type index_d$1_BulkInsertDataItemsResponse as BulkInsertDataItemsResponse, type index_d$1_BulkInsertDataItemsResponseNonNullableFields as BulkInsertDataItemsResponseNonNullableFields, type index_d$1_BulkPatchDataItemsRequest as BulkPatchDataItemsRequest, type index_d$1_BulkPatchDataItemsResponse as BulkPatchDataItemsResponse, type index_d$1_BulkRemoveDataItemReferencesOptions as BulkRemoveDataItemReferencesOptions, type index_d$1_BulkRemoveDataItemReferencesRequest as BulkRemoveDataItemReferencesRequest, type index_d$1_BulkRemoveDataItemReferencesResponse as BulkRemoveDataItemReferencesResponse, type index_d$1_BulkRemoveDataItemReferencesResponseNonNullableFields as BulkRemoveDataItemReferencesResponseNonNullableFields, type index_d$1_BulkRemoveDataItemsOptions as BulkRemoveDataItemsOptions, type index_d$1_BulkRemoveDataItemsRequest as BulkRemoveDataItemsRequest, type index_d$1_BulkRemoveDataItemsResponse as BulkRemoveDataItemsResponse, type index_d$1_BulkRemoveDataItemsResponseNonNullableFields as BulkRemoveDataItemsResponseNonNullableFields, type index_d$1_BulkSaveDataItemsOptions as BulkSaveDataItemsOptions, type index_d$1_BulkSaveDataItemsRequest as BulkSaveDataItemsRequest, type index_d$1_BulkSaveDataItemsResponse as BulkSaveDataItemsResponse, type index_d$1_BulkSaveDataItemsResponseNonNullableFields as BulkSaveDataItemsResponseNonNullableFields, type index_d$1_BulkUpdateDataItemsOptions as BulkUpdateDataItemsOptions, type index_d$1_BulkUpdateDataItemsRequest as BulkUpdateDataItemsRequest, type index_d$1_BulkUpdateDataItemsResponse as BulkUpdateDataItemsResponse, type index_d$1_BulkUpdateDataItemsResponseNonNullableFields as BulkUpdateDataItemsResponseNonNullableFields, type index_d$1_CachingInfo as CachingInfo, type index_d$1_Count as Count, type index_d$1_CountDataItemsOptions as CountDataItemsOptions, type index_d$1_CountDataItemsRequest as CountDataItemsRequest, type index_d$1_CountDataItemsResponse as CountDataItemsResponse, type index_d$1_CountDataItemsResponseNonNullableFields as CountDataItemsResponseNonNullableFields, type index_d$1_CursorPaging as CursorPaging, type index_d$1_Cursors as Cursors, type index_d$1_DataItem as DataItem, type index_d$1_DataItemCreatedEnvelope as DataItemCreatedEnvelope, type index_d$1_DataItemDeletedEnvelope as DataItemDeletedEnvelope, type index_d$1_DataItemNonNullableFields as DataItemNonNullableFields, type index_d$1_DataItemReference as DataItemReference, type index_d$1_DataItemUpdatedEnvelope as DataItemUpdatedEnvelope, type index_d$1_DataItemsQueryBuilder as DataItemsQueryBuilder, type index_d$1_DataItemsQueryResult as DataItemsQueryResult, type index_d$1_DataPublishPluginOptions as DataPublishPluginOptions, type index_d$1_DomainEvent as DomainEvent, type index_d$1_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d$1_EntityCreatedEvent as EntityCreatedEvent, type index_d$1_EntityDeletedEvent as EntityDeletedEvent, type index_d$1_EntityUpdatedEvent as EntityUpdatedEvent, Environment$1 as Environment, type index_d$1_EventMetadata as EventMetadata, type index_d$1_FieldUpdate as FieldUpdate, type index_d$1_FieldUpdateActionOptionsOneOf as FieldUpdateActionOptionsOneOf, type index_d$1_GetDataItemOptions as GetDataItemOptions, type index_d$1_GetDataItemRequest as GetDataItemRequest, type index_d$1_GetDataItemResponse as GetDataItemResponse, type index_d$1_GetDataItemResponseNonNullableFields as GetDataItemResponseNonNullableFields, type index_d$1_IdentificationData as IdentificationData, type index_d$1_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d$1_IncrementField as IncrementField, type index_d$1_InsertDataItemOptions as InsertDataItemOptions, type index_d$1_InsertDataItemReferenceOptions as InsertDataItemReferenceOptions, type index_d$1_InsertDataItemReferenceRequest as InsertDataItemReferenceRequest, type index_d$1_InsertDataItemReferenceResponse as InsertDataItemReferenceResponse, type index_d$1_InsertDataItemReferenceResponseNonNullableFields as InsertDataItemReferenceResponseNonNullableFields, type index_d$1_InsertDataItemRequest as InsertDataItemRequest, type index_d$1_InsertDataItemResponse as InsertDataItemResponse, type index_d$1_InsertDataItemResponseNonNullableFields as InsertDataItemResponseNonNullableFields, type index_d$1_IsReferencedDataItemOptions as IsReferencedDataItemOptions, type index_d$1_IsReferencedDataItemRequest as IsReferencedDataItemRequest, type index_d$1_IsReferencedDataItemResponse as IsReferencedDataItemResponse, type index_d$1_IsReferencedDataItemResponseNonNullableFields as IsReferencedDataItemResponseNonNullableFields, type index_d$1_ItemMetadata as ItemMetadata, type index_d$1_Max as Max, type index_d$1_MessageEnvelope as MessageEnvelope, type index_d$1_Min as Min, type index_d$1_Operation as Operation, type index_d$1_OperationCalculateOneOf as OperationCalculateOneOf, type index_d$1_Options as Options, type Paging$1 as Paging, type index_d$1_PagingMetadataV2 as PagingMetadataV2, type index_d$1_PatchDataItemRequest as PatchDataItemRequest, type index_d$1_PatchDataItemResponse as PatchDataItemResponse, type index_d$1_PatchSet as PatchSet, type index_d$1_PublishPluginOptions as PublishPluginOptions, type index_d$1_QueryDataItemsOptions as QueryDataItemsOptions, type index_d$1_QueryDataItemsRequest as QueryDataItemsRequest, type index_d$1_QueryDataItemsResponse as QueryDataItemsResponse, type index_d$1_QueryDataItemsResponseNonNullableFields as QueryDataItemsResponseNonNullableFields, type index_d$1_QueryDistinctValuesOptions as QueryDistinctValuesOptions, type index_d$1_QueryDistinctValuesRequest as QueryDistinctValuesRequest, type index_d$1_QueryDistinctValuesRequestPagingMethodOneOf as QueryDistinctValuesRequestPagingMethodOneOf, type index_d$1_QueryDistinctValuesResponse as QueryDistinctValuesResponse, type index_d$1_QueryReferencedDataItemsOptions as QueryReferencedDataItemsOptions, type index_d$1_QueryReferencedDataItemsRequest as QueryReferencedDataItemsRequest, type index_d$1_QueryReferencedDataItemsRequestPagingMethodOneOf as QueryReferencedDataItemsRequestPagingMethodOneOf, type index_d$1_QueryReferencedDataItemsResponse as QueryReferencedDataItemsResponse, type index_d$1_QueryReferencedDataItemsResponseNonNullableFields as QueryReferencedDataItemsResponseNonNullableFields, type index_d$1_QueryV2 as QueryV2, type index_d$1_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type index_d$1_ReferencedItemOptions as ReferencedItemOptions, type index_d$1_ReferencedResult as ReferencedResult, type index_d$1_ReferencedResultEntityOneOf as ReferencedResultEntityOneOf, type index_d$1_RemoveDataItemOptions as RemoveDataItemOptions, type index_d$1_RemoveDataItemReferenceOptions as RemoveDataItemReferenceOptions, type index_d$1_RemoveDataItemReferenceRequest as RemoveDataItemReferenceRequest, type index_d$1_RemoveDataItemReferenceResponse as RemoveDataItemReferenceResponse, type index_d$1_RemoveDataItemReferenceResponseNonNullableFields as RemoveDataItemReferenceResponseNonNullableFields, type index_d$1_RemoveDataItemRequest as RemoveDataItemRequest, type index_d$1_RemoveDataItemResponse as RemoveDataItemResponse, type index_d$1_RemoveDataItemResponseNonNullableFields as RemoveDataItemResponseNonNullableFields, type index_d$1_RemoveFromArray as RemoveFromArray, type index_d$1_ReplaceDataItemReferencesOptions as ReplaceDataItemReferencesOptions, type index_d$1_ReplaceDataItemReferencesRequest as ReplaceDataItemReferencesRequest, type index_d$1_ReplaceDataItemReferencesResponse as ReplaceDataItemReferencesResponse, type index_d$1_ReplaceDataItemReferencesResponseNonNullableFields as ReplaceDataItemReferencesResponseNonNullableFields, type index_d$1_RestoreInfo as RestoreInfo, type index_d$1_SaveDataItemOptions as SaveDataItemOptions, type index_d$1_SaveDataItemRequest as SaveDataItemRequest, type index_d$1_SaveDataItemResponse as SaveDataItemResponse, type index_d$1_SaveDataItemResponseNonNullableFields as SaveDataItemResponseNonNullableFields, type index_d$1_SetField as SetField, index_d$1_SortOrder as SortOrder, type index_d$1_Sorting as Sorting, type index_d$1_Sum as Sum, type index_d$1_TruncateDataItemsOptions as TruncateDataItemsOptions, type index_d$1_TruncateDataItemsRequest as TruncateDataItemsRequest, type index_d$1_TruncateDataItemsResponse as TruncateDataItemsResponse, type index_d$1_UnresolvedReference as UnresolvedReference, type index_d$1_UpdateDataItemOptions as UpdateDataItemOptions, type index_d$1_UpdateDataItemRequest as UpdateDataItemRequest, type index_d$1_UpdateDataItemResponse as UpdateDataItemResponse, type index_d$1_UpdateDataItemResponseNonNullableFields as UpdateDataItemResponseNonNullableFields, index_d$1_WebhookIdentityType as WebhookIdentityType, type index_d$1__publicOnDataItemCreatedType as _publicOnDataItemCreatedType, type index_d$1__publicOnDataItemDeletedType as _publicOnDataItemDeletedType, type index_d$1__publicOnDataItemUpdatedType as _publicOnDataItemUpdatedType, index_d$1_aggregateDataItems as aggregateDataItems, index_d$1_bulkInsertDataItemReferences as bulkInsertDataItemReferences, index_d$1_bulkInsertDataItems as bulkInsertDataItems, index_d$1_bulkRemoveDataItemReferences as bulkRemoveDataItemReferences, index_d$1_bulkRemoveDataItems as bulkRemoveDataItems, index_d$1_bulkSaveDataItems as bulkSaveDataItems, index_d$1_bulkUpdateDataItems as bulkUpdateDataItems, index_d$1_countDataItems as countDataItems, index_d$1_getDataItem as getDataItem, index_d$1_insertDataItem as insertDataItem, index_d$1_insertDataItemReference as insertDataItemReference, index_d$1_isReferencedDataItem as isReferencedDataItem, index_d$1_onDataItemCreated as onDataItemCreated, index_d$1_onDataItemDeleted as onDataItemDeleted, index_d$1_onDataItemUpdated as onDataItemUpdated, onDataItemCreated$1 as publicOnDataItemCreated, onDataItemDeleted$1 as publicOnDataItemDeleted, onDataItemUpdated$1 as publicOnDataItemUpdated, index_d$1_queryDataItems as queryDataItems, index_d$1_queryDistinctValues as queryDistinctValues, index_d$1_queryReferencedDataItems as queryReferencedDataItems, index_d$1_removeDataItem as removeDataItem, index_d$1_removeDataItemReference as removeDataItemReference, index_d$1_replaceDataItemReferences as replaceDataItemReferences, index_d$1_saveDataItem as saveDataItem, index_d$1_truncateDataItems as truncateDataItems, index_d$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
|
|
4520
|
-
|
|
4521
|
-
|
|
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 index_d_CreateIndexRequest = CreateIndexRequest;
|
|
4529
4824
|
type index_d_CreateIndexResponse = CreateIndexResponse;
|
|
@@ -4546,14 +4841,11 @@ type index_d_Paging = Paging;
|
|
|
4546
4841
|
type index_d_PagingMetadata = PagingMetadata;
|
|
4547
4842
|
type index_d_Status = Status;
|
|
4548
4843
|
declare const index_d_Status: typeof Status;
|
|
4549
|
-
type index_d__publicCreateIndexType = _publicCreateIndexType;
|
|
4550
|
-
type index_d__publicDropIndexType = _publicDropIndexType;
|
|
4551
|
-
type index_d__publicListIndexesType = _publicListIndexesType;
|
|
4552
4844
|
declare const index_d_createIndex: typeof createIndex;
|
|
4553
4845
|
declare const index_d_dropIndex: typeof dropIndex;
|
|
4554
4846
|
declare const index_d_listIndexes: typeof listIndexes;
|
|
4555
4847
|
declare namespace index_d {
|
|
4556
|
-
export { type index_d_CreateIndexRequest as CreateIndexRequest, type index_d_CreateIndexResponse as CreateIndexResponse, type index_d_CreateIndexResponseNonNullableFields as CreateIndexResponseNonNullableFields, type index_d_DropIndexRequest as DropIndexRequest, type index_d_DropIndexResponse as DropIndexResponse, index_d_Environment as Environment, type index_d_Failure as Failure, type index_d_Field as Field, type index_d_Index as Index, type index_d_IndexNonNullableFields as IndexNonNullableFields, type index_d_ListIndexesOptions as ListIndexesOptions, type index_d_ListIndexesRequest as ListIndexesRequest, type index_d_ListIndexesResponse as ListIndexesResponse, type index_d_ListIndexesResponseNonNullableFields as ListIndexesResponseNonNullableFields, index_d_Order as Order, type index_d_Paging as Paging, type index_d_PagingMetadata as PagingMetadata, index_d_Status as Status,
|
|
4848
|
+
export { type index_d_CreateIndexRequest as CreateIndexRequest, type index_d_CreateIndexResponse as CreateIndexResponse, type index_d_CreateIndexResponseNonNullableFields as CreateIndexResponseNonNullableFields, type index_d_DropIndexRequest as DropIndexRequest, type index_d_DropIndexResponse as DropIndexResponse, index_d_Environment as Environment, type index_d_Failure as Failure, type index_d_Field as Field, type index_d_Index as Index, type index_d_IndexNonNullableFields as IndexNonNullableFields, type index_d_ListIndexesOptions as ListIndexesOptions, type index_d_ListIndexesRequest as ListIndexesRequest, type index_d_ListIndexesResponse as ListIndexesResponse, type index_d_ListIndexesResponseNonNullableFields as ListIndexesResponseNonNullableFields, index_d_Order as Order, type index_d_Paging as Paging, type index_d_PagingMetadata as PagingMetadata, index_d_Status as Status, index_d_createIndex as createIndex, index_d_dropIndex as dropIndex, index_d_listIndexes as listIndexes };
|
|
4557
4849
|
}
|
|
4558
4850
|
|
|
4559
4851
|
export { index_d$2 as collections, index_d$3 as externalDatabaseConnections, index_d as indexes, index_d$1 as items };
|