@wix/data 1.0.144 → 1.0.146

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.
@@ -1056,21 +1056,79 @@ interface GetCapabilitiesEnvelope {
1056
1056
  metadata: Context;
1057
1057
  }
1058
1058
  declare const provideHandlers$1: ServicePluginDefinition<{
1059
+ /**
1060
+ *
1061
+ * Retrieves a list of items based on the provided filtering, sorting, and paging preferences. */
1059
1062
  queryDataItems(payload: QueryDataItemsEnvelope): QueryDataItemsResponse | Promise<QueryDataItemsResponse>;
1063
+ /**
1064
+ * Counts the number of items in the specified data collection that match the filtering preferences. */
1060
1065
  countDataItems(payload: CountDataItemsEnvelope): CountDataItemsResponse | Promise<CountDataItemsResponse>;
1066
+ /**
1067
+ * Runs an aggregation query on the specified data collection and returns the resulting list of items. */
1061
1068
  aggregateDataItems(payload: AggregateDataItemsEnvelope): AggregateDataItemsResponse | Promise<AggregateDataItemsResponse>;
1069
+ /**
1070
+ *
1071
+ * Retrieves a list of distinct values for a given field for all items that match the query, without duplicates.
1072
+ *
1073
+ * As with [`queryDataItems()`](/external-database/query-data-items), this function retrieves items based on the filtering, sorting, and paging preferences provided. However, this function does not return the full items that match the query. Rather, for items that match the query, it returns all unique values in the field specified in `fieldName`. If more than one item has the same value in that field, that value appears only once. */
1062
1074
  queryDistinctValues(payload: QueryDistinctValuesEnvelope): QueryDistinctValuesResponse | Promise<QueryDistinctValuesResponse>;
1075
+ /**
1076
+ *
1077
+ * Adds one or more items to a collection.
1078
+ *
1079
+ * A data item object contains the `_id` and `_owner` fields. The response array must include the same items that were inserted, and each returned item must be added the `_createdDate` and `_updatedDate` fields.
1080
+ *
1081
+ * However, data items can also be inserted without an `_id` field. In that case, it is the service provider's responsibility to generate a unique ID for each item. */
1063
1082
  insertDataItems(payload: InsertDataItemsEnvelope): InsertDataItemsResponse | Promise<InsertDataItemsResponse>;
1083
+ /**
1084
+ *
1085
+ * Updates one or more items in a collection. Items must be completely replaced.
1086
+ *
1087
+ * The response array must include the same items that were updated, and each returned item must be added the `_createdDate` and `_updatedDate` fields. */
1064
1088
  updateDataItems(payload: UpdateDataItemsEnvelope): UpdateDataItemsResponse | Promise<UpdateDataItemsResponse>;
1089
+ /**
1090
+ * Removes one or more items from a collection. The response object must contain the removed item. */
1065
1091
  removeDataItems(payload: RemoveDataItemsEnvelope): RemoveDataItemsResponse | Promise<RemoveDataItemsResponse>;
1092
+ /**
1093
+ * Removes all items from a collection. */
1066
1094
  truncateDataItems(payload: TruncateDataItemsEnvelope): TruncateDataItemsResponse | Promise<TruncateDataItemsResponse>;
1095
+ /**
1096
+ *
1097
+ * Retrieves the items referenced in the specified field of a referring item. Reference fields refer to items that exist in different collections. Implement this function so callers can retrieve the full details of the referenced items.
1098
+ *
1099
+ * This service plugin supports item multi-references, which means that data collections can have many-to-many relationships with other collections. For example, consider a scenario where a **Movies** collection includes a multi-reference **Actors** field, which might refer to several **Actor** items in an **Actors** collection. Users can therefore query the **Movies** collection to retrieve the **Actor** items referenced in each **Movie** item.
1100
+ *
1101
+ * > **Notes:**
1102
+ * > - This function does not retrieve the full referenced items of referenced items. For example, the referenced **Actors** collection might itself contain a multi-reference field with references to **Award** items in an **Awards** collection. When calling this function to retrieve the referenced items of any **Movie** item, the response contains the referenced **Actor** items, but only the IDs of the **Award** items. To retrieve the full **Award** items, the user must either call this function for the **Actors** collection, or the [`queryDataItems()`](/external-database/query-data-items) function for the **Awards** collection.
1103
+ * > - This function might also be called when a user calls the [`isReferenced()`](https://dev.wix.com/docs/sdk/backend-modules/data/items/is-referenced-data-item) function of the Data API. */
1067
1104
  queryReferencedDataItems(payload: QueryReferencedDataItemsEnvelope): QueryReferencedDataItemsResponse | Promise<QueryReferencedDataItemsResponse>;
1105
+ /**
1106
+ * Inserts one or more item references into a referring field of the specified item. */
1068
1107
  insertDataItemReferences(payload: InsertDataItemReferencesEnvelope): InsertDataItemReferencesResponse | Promise<InsertDataItemReferencesResponse>;
1108
+ /**
1109
+ * Removes one or more item references from a referring field of the specified item. */
1069
1110
  removeDataItemReferences(payload: RemoveDataItemReferencesEnvelope): RemoveDataItemReferencesResponse | Promise<RemoveDataItemReferencesResponse>;
1111
+ /**
1112
+ *
1113
+ * Retrieves a list of data collections and their details.
1114
+ *
1115
+ * When `collectionIds` is empty, all existing collections are returned.
1116
+ * If a specified collection does not exist, that collection can be ignored. */
1070
1117
  listCollections(payload: ListCollectionsEnvelope): ListCollectionsResponse | Promise<ListCollectionsResponse>;
1118
+ /**
1119
+ * Creates a new data collection. */
1071
1120
  createCollection(payload: CreateCollectionEnvelope): CreateCollectionResponse | Promise<CreateCollectionResponse>;
1121
+ /**
1122
+ *
1123
+ * Updates the structure of an existing data collection.
1124
+ *
1125
+ * Some parameters, such as `capabilities` and `pagingMode`, are determined by the service provider. If the collection passed in the request contains these parameters, their values must be ignored. However, these fields must be included in the response collection with relevant values. */
1072
1126
  updateCollection(payload: UpdateCollectionEnvelope): UpdateCollectionResponse | Promise<UpdateCollectionResponse>;
1127
+ /**
1128
+ * Deletes a data collection. */
1073
1129
  deleteCollection(payload: DeleteCollectionEnvelope): DeleteCollectionResponse | Promise<DeleteCollectionResponse>;
1130
+ /**
1131
+ * Lists the global capabilities the external database supports. */
1074
1132
  getCapabilities(payload: GetCapabilitiesEnvelope): GetCapabilitiesResponse | Promise<GetCapabilitiesResponse>;
1075
1133
  }>;
1076
1134
 
@@ -840,6 +840,7 @@ type ServicePluginDefinition<Contract extends ServicePluginContract> = {
840
840
  __contract: Contract;
841
841
  };
842
842
  declare function ServicePluginDefinition<Contract extends ServicePluginContract>(componentType: string, methods: ServicePluginMethodMetadata[]): ServicePluginDefinition<Contract>;
843
+ type BuildServicePluginDefinition<T extends ServicePluginDefinition<any>> = (implementation: T['__contract']) => void;
843
844
 
844
845
  declare global {
845
846
  // eslint-disable-next-line @typescript-eslint/consistent-type-definitions -- It has to be an `interface` so that it can be merged.
@@ -912,25 +913,88 @@ interface GetCapabilitiesEnvelope {
912
913
  request: GetCapabilitiesRequest;
913
914
  metadata: Context;
914
915
  }
915
- declare const provideHandlers: ServicePluginDefinition<{
916
+ declare const provideHandlers$1: ServicePluginDefinition<{
917
+ /**
918
+ *
919
+ * Retrieves a list of items based on the provided filtering, sorting, and paging preferences. */
916
920
  queryDataItems(payload: QueryDataItemsEnvelope): QueryDataItemsResponse | Promise<QueryDataItemsResponse>;
921
+ /**
922
+ * Counts the number of items in the specified data collection that match the filtering preferences. */
917
923
  countDataItems(payload: CountDataItemsEnvelope): CountDataItemsResponse | Promise<CountDataItemsResponse>;
924
+ /**
925
+ * Runs an aggregation query on the specified data collection and returns the resulting list of items. */
918
926
  aggregateDataItems(payload: AggregateDataItemsEnvelope): AggregateDataItemsResponse | Promise<AggregateDataItemsResponse>;
927
+ /**
928
+ *
929
+ * Retrieves a list of distinct values for a given field for all items that match the query, without duplicates.
930
+ *
931
+ * As with [`queryDataItems()`](/external-database/query-data-items), this function retrieves items based on the filtering, sorting, and paging preferences provided. However, this function does not return the full items that match the query. Rather, for items that match the query, it returns all unique values in the field specified in `fieldName`. If more than one item has the same value in that field, that value appears only once. */
919
932
  queryDistinctValues(payload: QueryDistinctValuesEnvelope): QueryDistinctValuesResponse | Promise<QueryDistinctValuesResponse>;
933
+ /**
934
+ *
935
+ * Adds one or more items to a collection.
936
+ *
937
+ * A data item object contains the `_id` and `_owner` fields. The response array must include the same items that were inserted, and each returned item must be added the `_createdDate` and `_updatedDate` fields.
938
+ *
939
+ * However, data items can also be inserted without an `_id` field. In that case, it is the service provider's responsibility to generate a unique ID for each item. */
920
940
  insertDataItems(payload: InsertDataItemsEnvelope): InsertDataItemsResponse | Promise<InsertDataItemsResponse>;
941
+ /**
942
+ *
943
+ * Updates one or more items in a collection. Items must be completely replaced.
944
+ *
945
+ * The response array must include the same items that were updated, and each returned item must be added the `_createdDate` and `_updatedDate` fields. */
921
946
  updateDataItems(payload: UpdateDataItemsEnvelope): UpdateDataItemsResponse | Promise<UpdateDataItemsResponse>;
947
+ /**
948
+ * Removes one or more items from a collection. The response object must contain the removed item. */
922
949
  removeDataItems(payload: RemoveDataItemsEnvelope): RemoveDataItemsResponse | Promise<RemoveDataItemsResponse>;
950
+ /**
951
+ * Removes all items from a collection. */
923
952
  truncateDataItems(payload: TruncateDataItemsEnvelope): TruncateDataItemsResponse | Promise<TruncateDataItemsResponse>;
953
+ /**
954
+ *
955
+ * Retrieves the items referenced in the specified field of a referring item. Reference fields refer to items that exist in different collections. Implement this function so callers can retrieve the full details of the referenced items.
956
+ *
957
+ * This service plugin supports item multi-references, which means that data collections can have many-to-many relationships with other collections. For example, consider a scenario where a **Movies** collection includes a multi-reference **Actors** field, which might refer to several **Actor** items in an **Actors** collection. Users can therefore query the **Movies** collection to retrieve the **Actor** items referenced in each **Movie** item.
958
+ *
959
+ * > **Notes:**
960
+ * > - This function does not retrieve the full referenced items of referenced items. For example, the referenced **Actors** collection might itself contain a multi-reference field with references to **Award** items in an **Awards** collection. When calling this function to retrieve the referenced items of any **Movie** item, the response contains the referenced **Actor** items, but only the IDs of the **Award** items. To retrieve the full **Award** items, the user must either call this function for the **Actors** collection, or the [`queryDataItems()`](/external-database/query-data-items) function for the **Awards** collection.
961
+ * > - This function might also be called when a user calls the [`isReferenced()`](https://dev.wix.com/docs/sdk/backend-modules/data/items/is-referenced-data-item) function of the Data API. */
924
962
  queryReferencedDataItems(payload: QueryReferencedDataItemsEnvelope): QueryReferencedDataItemsResponse | Promise<QueryReferencedDataItemsResponse>;
963
+ /**
964
+ * Inserts one or more item references into a referring field of the specified item. */
925
965
  insertDataItemReferences(payload: InsertDataItemReferencesEnvelope): InsertDataItemReferencesResponse | Promise<InsertDataItemReferencesResponse>;
966
+ /**
967
+ * Removes one or more item references from a referring field of the specified item. */
926
968
  removeDataItemReferences(payload: RemoveDataItemReferencesEnvelope): RemoveDataItemReferencesResponse | Promise<RemoveDataItemReferencesResponse>;
969
+ /**
970
+ *
971
+ * Retrieves a list of data collections and their details.
972
+ *
973
+ * When `collectionIds` is empty, all existing collections are returned.
974
+ * If a specified collection does not exist, that collection can be ignored. */
927
975
  listCollections(payload: ListCollectionsEnvelope): ListCollectionsResponse | Promise<ListCollectionsResponse>;
976
+ /**
977
+ * Creates a new data collection. */
928
978
  createCollection(payload: CreateCollectionEnvelope): CreateCollectionResponse | Promise<CreateCollectionResponse>;
979
+ /**
980
+ *
981
+ * Updates the structure of an existing data collection.
982
+ *
983
+ * Some parameters, such as `capabilities` and `pagingMode`, are determined by the service provider. If the collection passed in the request contains these parameters, their values must be ignored. However, these fields must be included in the response collection with relevant values. */
929
984
  updateCollection(payload: UpdateCollectionEnvelope): UpdateCollectionResponse | Promise<UpdateCollectionResponse>;
985
+ /**
986
+ * Deletes a data collection. */
930
987
  deleteCollection(payload: DeleteCollectionEnvelope): DeleteCollectionResponse | Promise<DeleteCollectionResponse>;
988
+ /**
989
+ * Lists the global capabilities the external database supports. */
931
990
  getCapabilities(payload: GetCapabilitiesEnvelope): GetCapabilitiesResponse | Promise<GetCapabilitiesResponse>;
932
991
  }>;
933
992
 
993
+ declare function createServicePluginModule<T extends ServicePluginDefinition<any>>(servicePluginDefinition: T): BuildServicePluginDefinition<T> & T;
994
+
995
+ type _publicProvideHandlersType = typeof provideHandlers$1;
996
+ declare const provideHandlers: ReturnType<typeof createServicePluginModule<_publicProvideHandlersType>>;
997
+
934
998
  declare class ItemAlreadyExistsWixError extends Error {
935
999
  /** @hidden */
936
1000
  httpCode: number;
@@ -1073,7 +1137,6 @@ declare class BadRequestWixError extends Error {
1073
1137
  static readonly __type = "wix_spi_error";
1074
1138
  }
1075
1139
 
1076
- type index_d_AggregateDataItemsEnvelope = AggregateDataItemsEnvelope;
1077
1140
  type index_d_AggregateDataItemsRequest = AggregateDataItemsRequest;
1078
1141
  type index_d_AggregateDataItemsRequestPagingMethodOneOf = AggregateDataItemsRequestPagingMethodOneOf;
1079
1142
  type index_d_AggregateDataItemsResponse = AggregateDataItemsResponse;
@@ -1098,10 +1161,8 @@ type index_d_CollectionNotFoundWixError = CollectionNotFoundWixError;
1098
1161
  declare const index_d_CollectionNotFoundWixError: typeof CollectionNotFoundWixError;
1099
1162
  type index_d_Context = Context;
1100
1163
  type index_d_Count = Count;
1101
- type index_d_CountDataItemsEnvelope = CountDataItemsEnvelope;
1102
1164
  type index_d_CountDataItemsRequest = CountDataItemsRequest;
1103
1165
  type index_d_CountDataItemsResponse = CountDataItemsResponse;
1104
- type index_d_CreateCollectionEnvelope = CreateCollectionEnvelope;
1105
1166
  type index_d_CreateCollectionRequest = CreateCollectionRequest;
1106
1167
  type index_d_CreateCollectionResponse = CreateCollectionResponse;
1107
1168
  type index_d_CreateIndexRequest = CreateIndexRequest;
@@ -1112,7 +1173,6 @@ type index_d_DataItemModificationResult = DataItemModificationResult;
1112
1173
  type index_d_DataItemModificationResultResultOneOf = DataItemModificationResultResultOneOf;
1113
1174
  type index_d_DataOperation = DataOperation;
1114
1175
  declare const index_d_DataOperation: typeof DataOperation;
1115
- type index_d_DeleteCollectionEnvelope = DeleteCollectionEnvelope;
1116
1176
  type index_d_DeleteCollectionRequest = DeleteCollectionRequest;
1117
1177
  type index_d_DeleteCollectionResponse = DeleteCollectionResponse;
1118
1178
  type index_d_ExternalDatabaseSpiConfig = ExternalDatabaseSpiConfig;
@@ -1121,7 +1181,6 @@ type index_d_FieldCapabilities = FieldCapabilities;
1121
1181
  type index_d_FieldType = FieldType;
1122
1182
  declare const index_d_FieldType: typeof FieldType;
1123
1183
  type index_d_FieldTypeOptionsOneOf = FieldTypeOptionsOneOf;
1124
- type index_d_GetCapabilitiesEnvelope = GetCapabilitiesEnvelope;
1125
1184
  type index_d_GetCapabilitiesRequest = GetCapabilitiesRequest;
1126
1185
  type index_d_GetCapabilitiesResponse = GetCapabilitiesResponse;
1127
1186
  type index_d_IdentificationData = IdentificationData;
@@ -1131,10 +1190,8 @@ declare const index_d_IdentityType: typeof IdentityType;
1131
1190
  type index_d_Index = Index;
1132
1191
  type index_d_IndexField = IndexField;
1133
1192
  type index_d_IndexOptions = IndexOptions;
1134
- type index_d_InsertDataItemReferencesEnvelope = InsertDataItemReferencesEnvelope;
1135
1193
  type index_d_InsertDataItemReferencesRequest = InsertDataItemReferencesRequest;
1136
1194
  type index_d_InsertDataItemReferencesResponse = InsertDataItemReferencesResponse;
1137
- type index_d_InsertDataItemsEnvelope = InsertDataItemsEnvelope;
1138
1195
  type index_d_InsertDataItemsRequest = InsertDataItemsRequest;
1139
1196
  type index_d_InsertDataItemsResponse = InsertDataItemsResponse;
1140
1197
  type index_d_ItemAlreadyExistsError = ItemAlreadyExistsError;
@@ -1143,7 +1200,6 @@ declare const index_d_ItemAlreadyExistsWixError: typeof ItemAlreadyExistsWixErro
1143
1200
  type index_d_ItemNotFoundError = ItemNotFoundError;
1144
1201
  type index_d_ItemNotFoundWixError = ItemNotFoundWixError;
1145
1202
  declare const index_d_ItemNotFoundWixError: typeof ItemNotFoundWixError;
1146
- type index_d_ListCollectionsEnvelope = ListCollectionsEnvelope;
1147
1203
  type index_d_ListCollectionsRequest = ListCollectionsRequest;
1148
1204
  type index_d_ListCollectionsResponse = ListCollectionsResponse;
1149
1205
  type index_d_ListIndexesRequest = ListIndexesRequest;
@@ -1164,16 +1220,13 @@ type index_d_PagingMetadataV2 = PagingMetadataV2;
1164
1220
  type index_d_PagingMode = PagingMode;
1165
1221
  declare const index_d_PagingMode: typeof PagingMode;
1166
1222
  type index_d_Permissions = Permissions;
1167
- type index_d_QueryDataItemsEnvelope = QueryDataItemsEnvelope;
1168
1223
  type index_d_QueryDataItemsRequest = QueryDataItemsRequest;
1169
1224
  type index_d_QueryDataItemsResponse = QueryDataItemsResponse;
1170
- type index_d_QueryDistinctValuesEnvelope = QueryDistinctValuesEnvelope;
1171
1225
  type index_d_QueryDistinctValuesRequest = QueryDistinctValuesRequest;
1172
1226
  type index_d_QueryDistinctValuesRequestPagingMethodOneOf = QueryDistinctValuesRequestPagingMethodOneOf;
1173
1227
  type index_d_QueryDistinctValuesResponse = QueryDistinctValuesResponse;
1174
1228
  type index_d_QueryOperator = QueryOperator;
1175
1229
  declare const index_d_QueryOperator: typeof QueryOperator;
1176
- type index_d_QueryReferencedDataItemsEnvelope = QueryReferencedDataItemsEnvelope;
1177
1230
  type index_d_QueryReferencedDataItemsRequest = QueryReferencedDataItemsRequest;
1178
1231
  type index_d_QueryReferencedDataItemsRequestPagingMethodOneOf = QueryReferencedDataItemsRequestPagingMethodOneOf;
1179
1232
  type index_d_QueryReferencedDataItemsResponse = QueryReferencedDataItemsResponse;
@@ -1190,10 +1243,8 @@ type index_d_ReferenceNotFoundWixError = ReferenceNotFoundWixError;
1190
1243
  declare const index_d_ReferenceNotFoundWixError: typeof ReferenceNotFoundWixError;
1191
1244
  type index_d_ReferencedItem = ReferencedItem;
1192
1245
  type index_d_ReferencedItemToInclude = ReferencedItemToInclude;
1193
- type index_d_RemoveDataItemReferencesEnvelope = RemoveDataItemReferencesEnvelope;
1194
1246
  type index_d_RemoveDataItemReferencesRequest = RemoveDataItemReferencesRequest;
1195
1247
  type index_d_RemoveDataItemReferencesResponse = RemoveDataItemReferencesResponse;
1196
- type index_d_RemoveDataItemsEnvelope = RemoveDataItemsEnvelope;
1197
1248
  type index_d_RemoveDataItemsRequest = RemoveDataItemsRequest;
1198
1249
  type index_d_RemoveDataItemsResponse = RemoveDataItemsResponse;
1199
1250
  type index_d_RemoveIndexRequest = RemoveIndexRequest;
@@ -1208,22 +1259,20 @@ type index_d_SpiBaseUri = SpiBaseUri;
1208
1259
  type index_d_Status = Status;
1209
1260
  declare const index_d_Status: typeof Status;
1210
1261
  type index_d_Sum = Sum;
1211
- type index_d_TruncateDataItemsEnvelope = TruncateDataItemsEnvelope;
1212
1262
  type index_d_TruncateDataItemsRequest = TruncateDataItemsRequest;
1213
1263
  type index_d_TruncateDataItemsResponse = TruncateDataItemsResponse;
1214
- type index_d_UpdateCollectionEnvelope = UpdateCollectionEnvelope;
1215
1264
  type index_d_UpdateCollectionRequest = UpdateCollectionRequest;
1216
1265
  type index_d_UpdateCollectionResponse = UpdateCollectionResponse;
1217
- type index_d_UpdateDataItemsEnvelope = UpdateDataItemsEnvelope;
1218
1266
  type index_d_UpdateDataItemsRequest = UpdateDataItemsRequest;
1219
1267
  type index_d_UpdateDataItemsResponse = UpdateDataItemsResponse;
1220
1268
  type index_d_ValidationError = ValidationError;
1221
1269
  type index_d_ValidationViolation = ValidationViolation;
1222
1270
  type index_d_ValidationWixError = ValidationWixError;
1223
1271
  declare const index_d_ValidationWixError: typeof ValidationWixError;
1272
+ type index_d__publicProvideHandlersType = _publicProvideHandlersType;
1224
1273
  declare const index_d_provideHandlers: typeof provideHandlers;
1225
1274
  declare namespace index_d {
1226
- export { type index_d_AggregateDataItemsEnvelope as AggregateDataItemsEnvelope, type index_d_AggregateDataItemsRequest as AggregateDataItemsRequest, type index_d_AggregateDataItemsRequestPagingMethodOneOf as AggregateDataItemsRequestPagingMethodOneOf, type index_d_AggregateDataItemsResponse as AggregateDataItemsResponse, type index_d_Aggregation as Aggregation, type index_d_AlternativeUri as AlternativeUri, type index_d_ArrayOptions as ArrayOptions, type index_d_ArrayOptionsTypeOptionsOneOf as ArrayOptionsTypeOptionsOneOf, type index_d_Average as Average, index_d_BadRequestWixError as BadRequestWixError, type index_d_Collection as Collection, type index_d_CollectionAlreadyExistsError as CollectionAlreadyExistsError, index_d_CollectionAlreadyExistsWixError as CollectionAlreadyExistsWixError, type index_d_CollectionCapabilities as CollectionCapabilities, type index_d_CollectionChangeNotSupported as CollectionChangeNotSupported, type index_d_CollectionChangeNotSupportedError as CollectionChangeNotSupportedError, index_d_CollectionChangeNotSupportedWixError as CollectionChangeNotSupportedWixError, type index_d_CollectionNotFoundError as CollectionNotFoundError, index_d_CollectionNotFoundWixError as CollectionNotFoundWixError, type index_d_Context as Context, type index_d_Count as Count, type index_d_CountDataItemsEnvelope as CountDataItemsEnvelope, type index_d_CountDataItemsRequest as CountDataItemsRequest, type index_d_CountDataItemsResponse as CountDataItemsResponse, type index_d_CreateCollectionEnvelope as CreateCollectionEnvelope, type index_d_CreateCollectionRequest as CreateCollectionRequest, type index_d_CreateCollectionResponse as CreateCollectionResponse, type index_d_CreateIndexRequest as CreateIndexRequest, type index_d_CreateIndexResponse as CreateIndexResponse, type index_d_CursorPaging as CursorPaging, type index_d_Cursors as Cursors, type index_d_DataItemModificationResult as DataItemModificationResult, type index_d_DataItemModificationResultResultOneOf as DataItemModificationResultResultOneOf, index_d_DataOperation as DataOperation, type index_d_DeleteCollectionEnvelope as DeleteCollectionEnvelope, type index_d_DeleteCollectionRequest as DeleteCollectionRequest, type index_d_DeleteCollectionResponse as DeleteCollectionResponse, type Error$1 as Error, type index_d_ExternalDatabaseSpiConfig as ExternalDatabaseSpiConfig, type index_d_Field as Field, type index_d_FieldCapabilities as FieldCapabilities, index_d_FieldType as FieldType, type index_d_FieldTypeOptionsOneOf as FieldTypeOptionsOneOf, type index_d_GetCapabilitiesEnvelope as GetCapabilitiesEnvelope, type index_d_GetCapabilitiesRequest as GetCapabilitiesRequest, type index_d_GetCapabilitiesResponse as GetCapabilitiesResponse, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, index_d_IdentityType as IdentityType, type index_d_Index as Index, type index_d_IndexField as IndexField, type index_d_IndexOptions as IndexOptions, type index_d_InsertDataItemReferencesEnvelope as InsertDataItemReferencesEnvelope, type index_d_InsertDataItemReferencesRequest as InsertDataItemReferencesRequest, type index_d_InsertDataItemReferencesResponse as InsertDataItemReferencesResponse, type index_d_InsertDataItemsEnvelope as InsertDataItemsEnvelope, type index_d_InsertDataItemsRequest as InsertDataItemsRequest, type index_d_InsertDataItemsResponse as InsertDataItemsResponse, type index_d_ItemAlreadyExistsError as ItemAlreadyExistsError, index_d_ItemAlreadyExistsWixError as ItemAlreadyExistsWixError, type index_d_ItemNotFoundError as ItemNotFoundError, index_d_ItemNotFoundWixError as ItemNotFoundWixError, type index_d_ListCollectionsEnvelope as ListCollectionsEnvelope, type index_d_ListCollectionsRequest as ListCollectionsRequest, type index_d_ListCollectionsResponse as ListCollectionsResponse, type index_d_ListIndexesRequest as ListIndexesRequest, type index_d_ListIndexesResponse as ListIndexesResponse, type index_d_MainEntity as MainEntity, type index_d_Max as Max, type index_d_Min as Min, type index_d_MultiReferenceOptions as MultiReferenceOptions, type index_d_ObjectField as ObjectField, type index_d_ObjectFieldTypeOptionsOneOf as ObjectFieldTypeOptionsOneOf, type index_d_ObjectOptions as ObjectOptions, type index_d_Operation as Operation, type index_d_OperationCalculateOneOf as OperationCalculateOneOf, index_d_Order as Order, type index_d_Paging as Paging, type index_d_PagingMetadataV2 as PagingMetadataV2, index_d_PagingMode as PagingMode, type index_d_Permissions as Permissions, type index_d_QueryDataItemsEnvelope as QueryDataItemsEnvelope, type index_d_QueryDataItemsRequest as QueryDataItemsRequest, type index_d_QueryDataItemsResponse as QueryDataItemsResponse, type index_d_QueryDistinctValuesEnvelope as QueryDistinctValuesEnvelope, type index_d_QueryDistinctValuesRequest as QueryDistinctValuesRequest, type index_d_QueryDistinctValuesRequestPagingMethodOneOf as QueryDistinctValuesRequestPagingMethodOneOf, type index_d_QueryDistinctValuesResponse as QueryDistinctValuesResponse, index_d_QueryOperator as QueryOperator, type index_d_QueryReferencedDataItemsEnvelope as QueryReferencedDataItemsEnvelope, type index_d_QueryReferencedDataItemsRequest as QueryReferencedDataItemsRequest, type index_d_QueryReferencedDataItemsRequestPagingMethodOneOf as QueryReferencedDataItemsRequestPagingMethodOneOf, type index_d_QueryReferencedDataItemsResponse as QueryReferencedDataItemsResponse, type index_d_QueryV2 as QueryV2, type index_d_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type index_d_ReferenceAlreadyExistsError as ReferenceAlreadyExistsError, index_d_ReferenceAlreadyExistsWixError as ReferenceAlreadyExistsWixError, type index_d_ReferenceId as ReferenceId, type index_d_ReferenceModificationResult as ReferenceModificationResult, type index_d_ReferenceModificationResultResultOneOf as ReferenceModificationResultResultOneOf, type index_d_ReferenceNotFoundError as ReferenceNotFoundError, index_d_ReferenceNotFoundWixError as ReferenceNotFoundWixError, type index_d_ReferencedItem as ReferencedItem, type index_d_ReferencedItemToInclude as ReferencedItemToInclude, type index_d_RemoveDataItemReferencesEnvelope as RemoveDataItemReferencesEnvelope, type index_d_RemoveDataItemReferencesRequest as RemoveDataItemReferencesRequest, type index_d_RemoveDataItemReferencesResponse as RemoveDataItemReferencesResponse, type index_d_RemoveDataItemsEnvelope as RemoveDataItemsEnvelope, type index_d_RemoveDataItemsRequest as RemoveDataItemsRequest, type index_d_RemoveDataItemsResponse as RemoveDataItemsResponse, type index_d_RemoveIndexRequest as RemoveIndexRequest, type index_d_RemoveIndexResponse as RemoveIndexResponse, index_d_Role as Role, type index_d_SingleReferenceOptions as SingleReferenceOptions, index_d_SortOrder as SortOrder, type index_d_Sorting as Sorting, type index_d_SpiBaseUri as SpiBaseUri, index_d_Status as Status, type index_d_Sum as Sum, type index_d_TruncateDataItemsEnvelope as TruncateDataItemsEnvelope, type index_d_TruncateDataItemsRequest as TruncateDataItemsRequest, type index_d_TruncateDataItemsResponse as TruncateDataItemsResponse, type index_d_UpdateCollectionEnvelope as UpdateCollectionEnvelope, type index_d_UpdateCollectionRequest as UpdateCollectionRequest, type index_d_UpdateCollectionResponse as UpdateCollectionResponse, type index_d_UpdateDataItemsEnvelope as UpdateDataItemsEnvelope, type index_d_UpdateDataItemsRequest as UpdateDataItemsRequest, type index_d_UpdateDataItemsResponse as UpdateDataItemsResponse, type index_d_ValidationError as ValidationError, type index_d_ValidationViolation as ValidationViolation, index_d_ValidationWixError as ValidationWixError, index_d_provideHandlers as provideHandlers };
1275
+ export { type index_d_AggregateDataItemsRequest as AggregateDataItemsRequest, type index_d_AggregateDataItemsRequestPagingMethodOneOf as AggregateDataItemsRequestPagingMethodOneOf, type index_d_AggregateDataItemsResponse as AggregateDataItemsResponse, type index_d_Aggregation as Aggregation, type index_d_AlternativeUri as AlternativeUri, type index_d_ArrayOptions as ArrayOptions, type index_d_ArrayOptionsTypeOptionsOneOf as ArrayOptionsTypeOptionsOneOf, type index_d_Average as Average, index_d_BadRequestWixError as BadRequestWixError, type index_d_Collection as Collection, type index_d_CollectionAlreadyExistsError as CollectionAlreadyExistsError, index_d_CollectionAlreadyExistsWixError as CollectionAlreadyExistsWixError, type index_d_CollectionCapabilities as CollectionCapabilities, type index_d_CollectionChangeNotSupported as CollectionChangeNotSupported, type index_d_CollectionChangeNotSupportedError as CollectionChangeNotSupportedError, index_d_CollectionChangeNotSupportedWixError as CollectionChangeNotSupportedWixError, type index_d_CollectionNotFoundError as CollectionNotFoundError, index_d_CollectionNotFoundWixError as CollectionNotFoundWixError, type index_d_Context as Context, type index_d_Count as Count, type index_d_CountDataItemsRequest as CountDataItemsRequest, type index_d_CountDataItemsResponse as CountDataItemsResponse, type index_d_CreateCollectionRequest as CreateCollectionRequest, type index_d_CreateCollectionResponse as CreateCollectionResponse, type index_d_CreateIndexRequest as CreateIndexRequest, type index_d_CreateIndexResponse as CreateIndexResponse, type index_d_CursorPaging as CursorPaging, type index_d_Cursors as Cursors, type index_d_DataItemModificationResult as DataItemModificationResult, type index_d_DataItemModificationResultResultOneOf as DataItemModificationResultResultOneOf, index_d_DataOperation as DataOperation, type index_d_DeleteCollectionRequest as DeleteCollectionRequest, type index_d_DeleteCollectionResponse as DeleteCollectionResponse, type Error$1 as Error, type index_d_ExternalDatabaseSpiConfig as ExternalDatabaseSpiConfig, type index_d_Field as Field, type index_d_FieldCapabilities as FieldCapabilities, index_d_FieldType as FieldType, type index_d_FieldTypeOptionsOneOf as FieldTypeOptionsOneOf, type index_d_GetCapabilitiesRequest as GetCapabilitiesRequest, type index_d_GetCapabilitiesResponse as GetCapabilitiesResponse, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, index_d_IdentityType as IdentityType, type index_d_Index as Index, type index_d_IndexField as IndexField, type index_d_IndexOptions as IndexOptions, type index_d_InsertDataItemReferencesRequest as InsertDataItemReferencesRequest, type index_d_InsertDataItemReferencesResponse as InsertDataItemReferencesResponse, type index_d_InsertDataItemsRequest as InsertDataItemsRequest, type index_d_InsertDataItemsResponse as InsertDataItemsResponse, type index_d_ItemAlreadyExistsError as ItemAlreadyExistsError, index_d_ItemAlreadyExistsWixError as ItemAlreadyExistsWixError, type index_d_ItemNotFoundError as ItemNotFoundError, index_d_ItemNotFoundWixError as ItemNotFoundWixError, type index_d_ListCollectionsRequest as ListCollectionsRequest, type index_d_ListCollectionsResponse as ListCollectionsResponse, type index_d_ListIndexesRequest as ListIndexesRequest, type index_d_ListIndexesResponse as ListIndexesResponse, type index_d_MainEntity as MainEntity, type index_d_Max as Max, type index_d_Min as Min, type index_d_MultiReferenceOptions as MultiReferenceOptions, type index_d_ObjectField as ObjectField, type index_d_ObjectFieldTypeOptionsOneOf as ObjectFieldTypeOptionsOneOf, type index_d_ObjectOptions as ObjectOptions, type index_d_Operation as Operation, type index_d_OperationCalculateOneOf as OperationCalculateOneOf, index_d_Order as Order, type index_d_Paging as Paging, type index_d_PagingMetadataV2 as PagingMetadataV2, index_d_PagingMode as PagingMode, type index_d_Permissions as Permissions, type index_d_QueryDataItemsRequest as QueryDataItemsRequest, type index_d_QueryDataItemsResponse as QueryDataItemsResponse, type index_d_QueryDistinctValuesRequest as QueryDistinctValuesRequest, type index_d_QueryDistinctValuesRequestPagingMethodOneOf as QueryDistinctValuesRequestPagingMethodOneOf, type index_d_QueryDistinctValuesResponse as QueryDistinctValuesResponse, index_d_QueryOperator as QueryOperator, type index_d_QueryReferencedDataItemsRequest as QueryReferencedDataItemsRequest, type index_d_QueryReferencedDataItemsRequestPagingMethodOneOf as QueryReferencedDataItemsRequestPagingMethodOneOf, type index_d_QueryReferencedDataItemsResponse as QueryReferencedDataItemsResponse, type index_d_QueryV2 as QueryV2, type index_d_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type index_d_ReferenceAlreadyExistsError as ReferenceAlreadyExistsError, index_d_ReferenceAlreadyExistsWixError as ReferenceAlreadyExistsWixError, type index_d_ReferenceId as ReferenceId, type index_d_ReferenceModificationResult as ReferenceModificationResult, type index_d_ReferenceModificationResultResultOneOf as ReferenceModificationResultResultOneOf, type index_d_ReferenceNotFoundError as ReferenceNotFoundError, index_d_ReferenceNotFoundWixError as ReferenceNotFoundWixError, type index_d_ReferencedItem as ReferencedItem, type index_d_ReferencedItemToInclude as ReferencedItemToInclude, type index_d_RemoveDataItemReferencesRequest as RemoveDataItemReferencesRequest, type index_d_RemoveDataItemReferencesResponse as RemoveDataItemReferencesResponse, type index_d_RemoveDataItemsRequest as RemoveDataItemsRequest, type index_d_RemoveDataItemsResponse as RemoveDataItemsResponse, type index_d_RemoveIndexRequest as RemoveIndexRequest, type index_d_RemoveIndexResponse as RemoveIndexResponse, index_d_Role as Role, type index_d_SingleReferenceOptions as SingleReferenceOptions, index_d_SortOrder as SortOrder, type index_d_Sorting as Sorting, type index_d_SpiBaseUri as SpiBaseUri, index_d_Status as Status, type index_d_Sum as Sum, type index_d_TruncateDataItemsRequest as TruncateDataItemsRequest, type index_d_TruncateDataItemsResponse as TruncateDataItemsResponse, type index_d_UpdateCollectionRequest as UpdateCollectionRequest, type index_d_UpdateCollectionResponse as UpdateCollectionResponse, type index_d_UpdateDataItemsRequest as UpdateDataItemsRequest, type index_d_UpdateDataItemsResponse as UpdateDataItemsResponse, type index_d_ValidationError as ValidationError, type index_d_ValidationViolation as ValidationViolation, index_d_ValidationWixError as ValidationWixError, type index_d__publicProvideHandlersType as _publicProvideHandlersType, index_d_provideHandlers as provideHandlers, provideHandlers$1 as publicProvideHandlers };
1227
1276
  }
1228
1277
 
1229
1278
  export { index_d as externalDatabase };