@amgix/amgix-client 1.1.0 → 1.3.0

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.
Files changed (84) hide show
  1. package/dist/apis/AmgixApi.d.ts +123 -6
  2. package/dist/apis/AmgixApi.d.ts.map +1 -1
  3. package/dist/apis/AmgixApi.js +275 -5
  4. package/dist/models/BulkUploadRequest.d.ts +1 -1
  5. package/dist/models/BulkUploadRequest.js +1 -1
  6. package/dist/models/CollectionConfig.d.ts +1 -1
  7. package/dist/models/CollectionConfig.js +1 -1
  8. package/dist/models/CollectionExistsResponse.d.ts +1 -1
  9. package/dist/models/CollectionExistsResponse.js +1 -1
  10. package/dist/models/CollectionStatsResponse.d.ts +40 -0
  11. package/dist/models/CollectionStatsResponse.d.ts.map +1 -0
  12. package/dist/models/CollectionStatsResponse.js +55 -0
  13. package/dist/models/CustomDocumentVector.d.ts +1 -1
  14. package/dist/models/CustomDocumentVector.js +1 -1
  15. package/dist/models/CustomVector.d.ts +1 -1
  16. package/dist/models/CustomVector.js +1 -1
  17. package/dist/models/Document.d.ts +1 -1
  18. package/dist/models/Document.js +1 -1
  19. package/dist/models/DocumentStatus.d.ts +15 -1
  20. package/dist/models/DocumentStatus.d.ts.map +1 -1
  21. package/dist/models/DocumentStatus.js +11 -2
  22. package/dist/models/DocumentStatusResponse.d.ts +1 -1
  23. package/dist/models/DocumentStatusResponse.js +1 -1
  24. package/dist/models/HTTPValidationError.d.ts +1 -1
  25. package/dist/models/HTTPValidationError.js +1 -1
  26. package/dist/models/MetadataFilter.d.ts +1 -1
  27. package/dist/models/MetadataFilter.js +1 -1
  28. package/dist/models/MetadataIndex.d.ts +1 -1
  29. package/dist/models/MetadataIndex.js +1 -1
  30. package/dist/models/MetricDefinitionItem.d.ts +45 -0
  31. package/dist/models/MetricDefinitionItem.d.ts.map +1 -0
  32. package/dist/models/MetricDefinitionItem.js +58 -0
  33. package/dist/models/MetricTrend.d.ts +46 -0
  34. package/dist/models/MetricTrend.d.ts.map +1 -0
  35. package/dist/models/MetricTrend.js +57 -0
  36. package/dist/models/Metrics.d.ts +36 -0
  37. package/dist/models/Metrics.d.ts.map +1 -0
  38. package/dist/models/Metrics.js +50 -0
  39. package/dist/models/MetricsBucket.d.ts +63 -0
  40. package/dist/models/MetricsBucket.d.ts.map +1 -0
  41. package/dist/models/MetricsBucket.js +66 -0
  42. package/dist/models/NodeMetricSeries.d.ts +58 -0
  43. package/dist/models/NodeMetricSeries.d.ts.map +1 -0
  44. package/dist/models/NodeMetricSeries.js +58 -0
  45. package/dist/models/NodeView.d.ts +60 -0
  46. package/dist/models/NodeView.d.ts.map +1 -0
  47. package/dist/models/NodeView.js +61 -0
  48. package/dist/models/OkResponse.d.ts +1 -1
  49. package/dist/models/OkResponse.js +1 -1
  50. package/dist/models/QueueInfo.d.ts +25 -7
  51. package/dist/models/QueueInfo.d.ts.map +1 -1
  52. package/dist/models/QueueInfo.js +22 -10
  53. package/dist/models/ReadyResponse.d.ts +1 -1
  54. package/dist/models/ReadyResponse.js +1 -1
  55. package/dist/models/SearchQuery.d.ts +1 -1
  56. package/dist/models/SearchQuery.js +1 -1
  57. package/dist/models/SearchResult.d.ts +1 -1
  58. package/dist/models/SearchResult.js +1 -1
  59. package/dist/models/SystemInfoResponse.d.ts +65 -0
  60. package/dist/models/SystemInfoResponse.d.ts.map +1 -0
  61. package/dist/models/SystemInfoResponse.js +70 -0
  62. package/dist/models/ValidationError.d.ts +1 -1
  63. package/dist/models/ValidationError.js +1 -1
  64. package/dist/models/ValidationErrorLocItem.d.ts +1 -1
  65. package/dist/models/ValidationErrorLocItem.js +1 -1
  66. package/dist/models/Vector.d.ts +1 -1
  67. package/dist/models/Vector.js +1 -1
  68. package/dist/models/VectorConfig.d.ts +1 -1
  69. package/dist/models/VectorConfig.js +1 -1
  70. package/dist/models/VectorScore.d.ts +1 -1
  71. package/dist/models/VectorScore.js +1 -1
  72. package/dist/models/VectorSearchWeight.d.ts +1 -1
  73. package/dist/models/VectorSearchWeight.js +1 -1
  74. package/dist/models/VersionResponse.d.ts +1 -1
  75. package/dist/models/VersionResponse.js +1 -1
  76. package/dist/models/WindowSample.d.ts +39 -0
  77. package/dist/models/WindowSample.d.ts.map +1 -0
  78. package/dist/models/WindowSample.js +52 -0
  79. package/dist/models/index.d.ts +9 -0
  80. package/dist/models/index.d.ts.map +1 -1
  81. package/dist/models/index.js +9 -0
  82. package/dist/runtime.d.ts +1 -1
  83. package/dist/runtime.js +1 -1
  84. package/package.json +5 -2
@@ -2,7 +2,7 @@
2
2
  * Amalgam Index API
3
3
  * Amalgam Index (Amgix). Open-Source Hybrid Search System
4
4
  *
5
- * The version of the OpenAPI document: 1.1.0
5
+ * The version of the OpenAPI document: 1.3.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { BulkUploadRequest, CollectionConfig, CollectionExistsResponse, Document, DocumentStatusResponse, OkResponse, QueueInfo, ReadyResponse, SearchQuery, SearchResult, VersionResponse } from '../models/index';
13
+ import type { BulkUploadRequest, CollectionConfig, CollectionExistsResponse, CollectionStatsResponse, Document, DocumentStatusResponse, MetricDefinitionItem, MetricTrend, Metrics, OkResponse, QueueInfo, ReadyResponse, SearchQuery, SearchResult, SystemInfoResponse, VersionResponse } from '../models/index';
14
14
  export interface CollectionExistsRequest {
15
15
  collectionName: string;
16
16
  }
@@ -27,6 +27,12 @@ export interface DeleteCollectionQueueRequest {
27
27
  export interface DeleteDocumentRequest {
28
28
  collectionName: string;
29
29
  documentId: string;
30
+ requestTimestamp: Date;
31
+ }
32
+ export interface DeleteDocumentSyncRequest {
33
+ collectionName: string;
34
+ documentId: string;
35
+ requestTimestamp: Date;
30
36
  }
31
37
  export interface EmptyCollectionRequest {
32
38
  collectionName: string;
@@ -37,6 +43,9 @@ export interface GetCollectionConfigRequest {
37
43
  export interface GetCollectionQueueInfoRequest {
38
44
  collectionName: string;
39
45
  }
46
+ export interface GetCollectionStatsRequest {
47
+ collectionName: string;
48
+ }
40
49
  export interface GetDocumentRequest {
41
50
  collectionName: string;
42
51
  documentId: string;
@@ -45,6 +54,16 @@ export interface GetDocumentStatusRequest {
45
54
  collectionName: string;
46
55
  documentId: string;
47
56
  }
57
+ export interface MetricsCurrentRequest {
58
+ window?: number;
59
+ keys?: Array<string>;
60
+ }
61
+ export interface MetricsTrendsRequest {
62
+ since: Date;
63
+ until: Date;
64
+ resolution?: number;
65
+ keys?: Array<string>;
66
+ }
48
67
  export interface SearchRequest {
49
68
  collectionName: string;
50
69
  searchQuery: SearchQuery;
@@ -126,15 +145,29 @@ export declare class AmgixApi extends runtime.BaseAPI {
126
145
  */
127
146
  deleteDocumentRequestOpts(requestParameters: DeleteDocumentRequest): Promise<runtime.RequestOpts>;
128
147
  /**
129
- * Delete a document. Deletes a specific document by its ID from the specified collection. Args: collection_name: The name of the collection. document_id: The unique identifier of the document to delete. Returns: An `OkResponse` object indicating the success of the operation.
148
+ * Delete a document asynchronously. Queues a document for deletion and returns immediately. The document will be deleted asynchronously. Args: collection_name: The name of the collection. document_id: The unique identifier of the document to delete. Returns: An `OkResponse` object indicating the success of the operation.
130
149
  * Delete Document
131
150
  */
132
151
  deleteDocumentRaw(requestParameters: DeleteDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<OkResponse>>;
133
152
  /**
134
- * Delete a document. Deletes a specific document by its ID from the specified collection. Args: collection_name: The name of the collection. document_id: The unique identifier of the document to delete. Returns: An `OkResponse` object indicating the success of the operation.
153
+ * Delete a document asynchronously. Queues a document for deletion and returns immediately. The document will be deleted asynchronously. Args: collection_name: The name of the collection. document_id: The unique identifier of the document to delete. Returns: An `OkResponse` object indicating the success of the operation.
135
154
  * Delete Document
136
155
  */
137
156
  deleteDocument(requestParameters: DeleteDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<OkResponse>;
157
+ /**
158
+ * Creates request options for deleteDocumentSync without sending the request
159
+ */
160
+ deleteDocumentSyncRequestOpts(requestParameters: DeleteDocumentSyncRequest): Promise<runtime.RequestOpts>;
161
+ /**
162
+ * Delete a document synchronously. Deletes a specific document by its ID from the specified collection and waits for the operation to complete. Args: collection_name: The name of the collection. document_id: The unique identifier of the document to delete. Returns: An `OkResponse` object indicating the success of the operation.
163
+ * Delete Document Sync
164
+ */
165
+ deleteDocumentSyncRaw(requestParameters: DeleteDocumentSyncRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<OkResponse>>;
166
+ /**
167
+ * Delete a document synchronously. Deletes a specific document by its ID from the specified collection and waits for the operation to complete. Args: collection_name: The name of the collection. document_id: The unique identifier of the document to delete. Returns: An `OkResponse` object indicating the success of the operation.
168
+ * Delete Document Sync
169
+ */
170
+ deleteDocumentSync(requestParameters: DeleteDocumentSyncRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<OkResponse>;
138
171
  /**
139
172
  * Creates request options for emptyCollection without sending the request
140
173
  */
@@ -177,6 +210,20 @@ export declare class AmgixApi extends runtime.BaseAPI {
177
210
  * Get Collection Queue Info
178
211
  */
179
212
  getCollectionQueueInfo(requestParameters: GetCollectionQueueInfoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<QueueInfo>;
213
+ /**
214
+ * Creates request options for getCollectionStats without sending the request
215
+ */
216
+ getCollectionStatsRequestOpts(requestParameters: GetCollectionStatsRequest): Promise<runtime.RequestOpts>;
217
+ /**
218
+ * Get persisted collection statistics and queue counts. Returns document counts maintained by the indexing pipeline (not a live physical count), plus queue entry counts by state (same data as ``GET .../queue/info``). Args: collection_name: The name of the collection. Returns: A `CollectionStatsResponse` with `doc_count` and `queue`. Raises: HTTPException: 404 if the collection does not exist.
219
+ * Get Collection Stats
220
+ */
221
+ getCollectionStatsRaw(requestParameters: GetCollectionStatsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CollectionStatsResponse>>;
222
+ /**
223
+ * Get persisted collection statistics and queue counts. Returns document counts maintained by the indexing pipeline (not a live physical count), plus queue entry counts by state (same data as ``GET .../queue/info``). Args: collection_name: The name of the collection. Returns: A `CollectionStatsResponse` with `doc_count` and `queue`. Raises: HTTPException: 404 if the collection does not exist.
224
+ * Get Collection Stats
225
+ */
226
+ getCollectionStats(requestParameters: GetCollectionStatsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CollectionStatsResponse>;
180
227
  /**
181
228
  * Creates request options for getDocument without sending the request
182
229
  */
@@ -224,12 +271,12 @@ export declare class AmgixApi extends runtime.BaseAPI {
224
271
  */
225
272
  healthReadyRequestOpts(): Promise<runtime.RequestOpts>;
226
273
  /**
227
- * Check if service is ready to handle requests. Runs four probes: database, rabbitmq, encoder (ping-encoder), rpc (ping-rpc). Returns 200 if all pass (fully ready), 218 if some fail (partial ready). Response body always includes all four probe results and a ready flag.
274
+ * Check if service is ready to handle requests. Runs four probes: database, rabbitmq, index workers, query workers. Returns 200 if all pass (fully ready), 218 if some fail (partial ready). Response body always includes all four probe results and a ready flag.
228
275
  * Readiness Check
229
276
  */
230
277
  healthReadyRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ReadyResponse>>;
231
278
  /**
232
- * Check if service is ready to handle requests. Runs four probes: database, rabbitmq, encoder (ping-encoder), rpc (ping-rpc). Returns 200 if all pass (fully ready), 218 if some fail (partial ready). Response body always includes all four probe results and a ready flag.
279
+ * Check if service is ready to handle requests. Runs four probes: database, rabbitmq, index workers, query workers. Returns 200 if all pass (fully ready), 218 if some fail (partial ready). Response body always includes all four probe results and a ready flag.
233
280
  * Readiness Check
234
281
  */
235
282
  healthReady(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ReadyResponse>;
@@ -247,6 +294,62 @@ export declare class AmgixApi extends runtime.BaseAPI {
247
294
  * List Collections
248
295
  */
249
296
  listCollections(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<string>>;
297
+ /**
298
+ * Creates request options for metricsCurrent without sending the request
299
+ */
300
+ metricsCurrentRequestOpts(requestParameters: MetricsCurrentRequest): Promise<runtime.RequestOpts>;
301
+ /**
302
+ * Return the current metrics state for all nodes over the given window (seconds).
303
+ * Metrics Current
304
+ */
305
+ metricsCurrentRaw(requestParameters: MetricsCurrentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Metrics>>;
306
+ /**
307
+ * Return the current metrics state for all nodes over the given window (seconds).
308
+ * Metrics Current
309
+ */
310
+ metricsCurrent(requestParameters?: MetricsCurrentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Metrics>;
311
+ /**
312
+ * Creates request options for metricsDefinitions without sending the request
313
+ */
314
+ metricsDefinitionsRequestOpts(): Promise<runtime.RequestOpts>;
315
+ /**
316
+ * Return catalog entries for all known metric keys, their units, and descriptions.
317
+ * Metrics Definitions
318
+ */
319
+ metricsDefinitionsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<MetricDefinitionItem>>>;
320
+ /**
321
+ * Return catalog entries for all known metric keys, their units, and descriptions.
322
+ * Metrics Definitions
323
+ */
324
+ metricsDefinitions(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<MetricDefinitionItem>>;
325
+ /**
326
+ * Creates request options for metricsPrometheus without sending the request
327
+ */
328
+ metricsPrometheusRequestOpts(): Promise<runtime.RequestOpts>;
329
+ /**
330
+ * Expose current cluster metrics in Prometheus text exposition (60s rolling window).
331
+ * Metrics Prometheus
332
+ */
333
+ metricsPrometheusRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
334
+ /**
335
+ * Expose current cluster metrics in Prometheus text exposition (60s rolling window).
336
+ * Metrics Prometheus
337
+ */
338
+ metricsPrometheus(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
339
+ /**
340
+ * Creates request options for metricsTrends without sending the request
341
+ */
342
+ metricsTrendsRequestOpts(requestParameters: MetricsTrendsRequest): Promise<runtime.RequestOpts>;
343
+ /**
344
+ * Return historical metric buckets for the given time range and resolution. Args: since: Inclusive start of the time range (ISO 8601, UTC assumed if no timezone given). until: Exclusive end of the time range (ISO 8601, UTC assumed if no timezone given). resolution: Bucket size in seconds - 60 for 1-minute, 300 for 5-minute. keys: One or more metric keys to return. Omit to return all keys.
345
+ * Metrics Trends
346
+ */
347
+ metricsTrendsRaw(requestParameters: MetricsTrendsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<MetricTrend>>>;
348
+ /**
349
+ * Return historical metric buckets for the given time range and resolution. Args: since: Inclusive start of the time range (ISO 8601, UTC assumed if no timezone given). until: Exclusive end of the time range (ISO 8601, UTC assumed if no timezone given). resolution: Bucket size in seconds - 60 for 1-minute, 300 for 5-minute. keys: One or more metric keys to return. Omit to return all keys.
350
+ * Metrics Trends
351
+ */
352
+ metricsTrends(requestParameters: MetricsTrendsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<MetricTrend>>;
250
353
  /**
251
354
  * Creates request options for search without sending the request
252
355
  */
@@ -261,6 +364,20 @@ export declare class AmgixApi extends runtime.BaseAPI {
261
364
  * Search
262
365
  */
263
366
  search(requestParameters: SearchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<SearchResult>>;
367
+ /**
368
+ * Creates request options for systemInfo without sending the request
369
+ */
370
+ systemInfoRequestOpts(): Promise<runtime.RequestOpts>;
371
+ /**
372
+ * Summarize deployment and infrastructure (no connection URLs).
373
+ * System Info
374
+ */
375
+ systemInfoRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SystemInfoResponse>>;
376
+ /**
377
+ * Summarize deployment and infrastructure (no connection URLs).
378
+ * System Info
379
+ */
380
+ systemInfo(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SystemInfoResponse>;
264
381
  /**
265
382
  * Creates request options for upsertDocument without sending the request
266
383
  */
@@ -1 +1 @@
1
- {"version":3,"file":"AmgixApi.d.ts","sourceRoot":"","sources":["../../apis/AmgixApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EACV,iBAAiB,EACjB,gBAAgB,EAChB,wBAAwB,EACxB,QAAQ,EACR,sBAAsB,EAEtB,UAAU,EACV,SAAS,EACT,aAAa,EACb,WAAW,EACX,YAAY,EACZ,eAAe,EAChB,MAAM,iBAAiB,CAAC;AA4BzB,MAAM,WAAW,uBAAuB;IACpC,cAAc,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,uBAAuB;IACpC,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,gBAAgB,CAAC;CACtC;AAED,MAAM,WAAW,uBAAuB;IACpC,cAAc,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,4BAA4B;IACzC,cAAc,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,qBAAqB;IAClC,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,sBAAsB;IACnC,cAAc,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,0BAA0B;IACvC,cAAc,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,6BAA6B;IAC1C,cAAc,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,kBAAkB;IAC/B,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,wBAAwB;IACrC,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,aAAa;IAC1B,cAAc,EAAE,MAAM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O,CAAC,eAAe,CAAC;CAKtG"}
@@ -5,7 +5,7 @@
5
5
  * Amalgam Index API
6
6
  * Amalgam Index (Amgix). Open-Source Hybrid Search System
7
7
  *
8
- * The version of the OpenAPI document: 1.1.0
8
+ * The version of the OpenAPI document: 1.3.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -208,7 +208,13 @@ class AmgixApi extends runtime.BaseAPI {
208
208
  if (requestParameters['documentId'] == null) {
209
209
  throw new runtime.RequiredError('documentId', 'Required parameter "documentId" was null or undefined when calling deleteDocument().');
210
210
  }
211
+ if (requestParameters['requestTimestamp'] == null) {
212
+ throw new runtime.RequiredError('requestTimestamp', 'Required parameter "requestTimestamp" was null or undefined when calling deleteDocument().');
213
+ }
211
214
  const queryParameters = {};
215
+ if (requestParameters['requestTimestamp'] != null) {
216
+ queryParameters['request_timestamp'] = requestParameters['requestTimestamp'].toISOString();
217
+ }
212
218
  const headerParameters = {};
213
219
  let urlPath = `/v1/collections/{collection_name}/documents/{document_id}`;
214
220
  urlPath = urlPath.replace(`{${"collection_name"}}`, encodeURIComponent(String(requestParameters['collectionName'])));
@@ -221,7 +227,7 @@ class AmgixApi extends runtime.BaseAPI {
221
227
  };
222
228
  }
223
229
  /**
224
- * Delete a document. Deletes a specific document by its ID from the specified collection. Args: collection_name: The name of the collection. document_id: The unique identifier of the document to delete. Returns: An `OkResponse` object indicating the success of the operation.
230
+ * Delete a document asynchronously. Queues a document for deletion and returns immediately. The document will be deleted asynchronously. Args: collection_name: The name of the collection. document_id: The unique identifier of the document to delete. Returns: An `OkResponse` object indicating the success of the operation.
225
231
  * Delete Document
226
232
  */
227
233
  async deleteDocumentRaw(requestParameters, initOverrides) {
@@ -230,13 +236,58 @@ class AmgixApi extends runtime.BaseAPI {
230
236
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.OkResponseFromJSON)(jsonValue));
231
237
  }
232
238
  /**
233
- * Delete a document. Deletes a specific document by its ID from the specified collection. Args: collection_name: The name of the collection. document_id: The unique identifier of the document to delete. Returns: An `OkResponse` object indicating the success of the operation.
239
+ * Delete a document asynchronously. Queues a document for deletion and returns immediately. The document will be deleted asynchronously. Args: collection_name: The name of the collection. document_id: The unique identifier of the document to delete. Returns: An `OkResponse` object indicating the success of the operation.
234
240
  * Delete Document
235
241
  */
236
242
  async deleteDocument(requestParameters, initOverrides) {
237
243
  const response = await this.deleteDocumentRaw(requestParameters, initOverrides);
238
244
  return await response.value();
239
245
  }
246
+ /**
247
+ * Creates request options for deleteDocumentSync without sending the request
248
+ */
249
+ async deleteDocumentSyncRequestOpts(requestParameters) {
250
+ if (requestParameters['collectionName'] == null) {
251
+ throw new runtime.RequiredError('collectionName', 'Required parameter "collectionName" was null or undefined when calling deleteDocumentSync().');
252
+ }
253
+ if (requestParameters['documentId'] == null) {
254
+ throw new runtime.RequiredError('documentId', 'Required parameter "documentId" was null or undefined when calling deleteDocumentSync().');
255
+ }
256
+ if (requestParameters['requestTimestamp'] == null) {
257
+ throw new runtime.RequiredError('requestTimestamp', 'Required parameter "requestTimestamp" was null or undefined when calling deleteDocumentSync().');
258
+ }
259
+ const queryParameters = {};
260
+ if (requestParameters['requestTimestamp'] != null) {
261
+ queryParameters['request_timestamp'] = requestParameters['requestTimestamp'].toISOString();
262
+ }
263
+ const headerParameters = {};
264
+ let urlPath = `/v1/collections/{collection_name}/documents/{document_id}/sync`;
265
+ urlPath = urlPath.replace(`{${"collection_name"}}`, encodeURIComponent(String(requestParameters['collectionName'])));
266
+ urlPath = urlPath.replace(`{${"document_id"}}`, encodeURIComponent(String(requestParameters['documentId'])));
267
+ return {
268
+ path: urlPath,
269
+ method: 'DELETE',
270
+ headers: headerParameters,
271
+ query: queryParameters,
272
+ };
273
+ }
274
+ /**
275
+ * Delete a document synchronously. Deletes a specific document by its ID from the specified collection and waits for the operation to complete. Args: collection_name: The name of the collection. document_id: The unique identifier of the document to delete. Returns: An `OkResponse` object indicating the success of the operation.
276
+ * Delete Document Sync
277
+ */
278
+ async deleteDocumentSyncRaw(requestParameters, initOverrides) {
279
+ const requestOptions = await this.deleteDocumentSyncRequestOpts(requestParameters);
280
+ const response = await this.request(requestOptions, initOverrides);
281
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.OkResponseFromJSON)(jsonValue));
282
+ }
283
+ /**
284
+ * Delete a document synchronously. Deletes a specific document by its ID from the specified collection and waits for the operation to complete. Args: collection_name: The name of the collection. document_id: The unique identifier of the document to delete. Returns: An `OkResponse` object indicating the success of the operation.
285
+ * Delete Document Sync
286
+ */
287
+ async deleteDocumentSync(requestParameters, initOverrides) {
288
+ const response = await this.deleteDocumentSyncRaw(requestParameters, initOverrides);
289
+ return await response.value();
290
+ }
240
291
  /**
241
292
  * Creates request options for emptyCollection without sending the request
242
293
  */
@@ -342,6 +393,41 @@ class AmgixApi extends runtime.BaseAPI {
342
393
  const response = await this.getCollectionQueueInfoRaw(requestParameters, initOverrides);
343
394
  return await response.value();
344
395
  }
396
+ /**
397
+ * Creates request options for getCollectionStats without sending the request
398
+ */
399
+ async getCollectionStatsRequestOpts(requestParameters) {
400
+ if (requestParameters['collectionName'] == null) {
401
+ throw new runtime.RequiredError('collectionName', 'Required parameter "collectionName" was null or undefined when calling getCollectionStats().');
402
+ }
403
+ const queryParameters = {};
404
+ const headerParameters = {};
405
+ let urlPath = `/v1/collections/{collection_name}/stats`;
406
+ urlPath = urlPath.replace(`{${"collection_name"}}`, encodeURIComponent(String(requestParameters['collectionName'])));
407
+ return {
408
+ path: urlPath,
409
+ method: 'GET',
410
+ headers: headerParameters,
411
+ query: queryParameters,
412
+ };
413
+ }
414
+ /**
415
+ * Get persisted collection statistics and queue counts. Returns document counts maintained by the indexing pipeline (not a live physical count), plus queue entry counts by state (same data as ``GET .../queue/info``). Args: collection_name: The name of the collection. Returns: A `CollectionStatsResponse` with `doc_count` and `queue`. Raises: HTTPException: 404 if the collection does not exist.
416
+ * Get Collection Stats
417
+ */
418
+ async getCollectionStatsRaw(requestParameters, initOverrides) {
419
+ const requestOptions = await this.getCollectionStatsRequestOpts(requestParameters);
420
+ const response = await this.request(requestOptions, initOverrides);
421
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.CollectionStatsResponseFromJSON)(jsonValue));
422
+ }
423
+ /**
424
+ * Get persisted collection statistics and queue counts. Returns document counts maintained by the indexing pipeline (not a live physical count), plus queue entry counts by state (same data as ``GET .../queue/info``). Args: collection_name: The name of the collection. Returns: A `CollectionStatsResponse` with `doc_count` and `queue`. Raises: HTTPException: 404 if the collection does not exist.
425
+ * Get Collection Stats
426
+ */
427
+ async getCollectionStats(requestParameters, initOverrides) {
428
+ const response = await this.getCollectionStatsRaw(requestParameters, initOverrides);
429
+ return await response.value();
430
+ }
345
431
  /**
346
432
  * Creates request options for getDocument without sending the request
347
433
  */
@@ -466,7 +552,7 @@ class AmgixApi extends runtime.BaseAPI {
466
552
  };
467
553
  }
468
554
  /**
469
- * Check if service is ready to handle requests. Runs four probes: database, rabbitmq, encoder (ping-encoder), rpc (ping-rpc). Returns 200 if all pass (fully ready), 218 if some fail (partial ready). Response body always includes all four probe results and a ready flag.
555
+ * Check if service is ready to handle requests. Runs four probes: database, rabbitmq, index workers, query workers. Returns 200 if all pass (fully ready), 218 if some fail (partial ready). Response body always includes all four probe results and a ready flag.
470
556
  * Readiness Check
471
557
  */
472
558
  async healthReadyRaw(initOverrides) {
@@ -475,7 +561,7 @@ class AmgixApi extends runtime.BaseAPI {
475
561
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ReadyResponseFromJSON)(jsonValue));
476
562
  }
477
563
  /**
478
- * Check if service is ready to handle requests. Runs four probes: database, rabbitmq, encoder (ping-encoder), rpc (ping-rpc). Returns 200 if all pass (fully ready), 218 if some fail (partial ready). Response body always includes all four probe results and a ready flag.
564
+ * Check if service is ready to handle requests. Runs four probes: database, rabbitmq, index workers, query workers. Returns 200 if all pass (fully ready), 218 if some fail (partial ready). Response body always includes all four probe results and a ready flag.
479
565
  * Readiness Check
480
566
  */
481
567
  async healthReady(initOverrides) {
@@ -513,6 +599,159 @@ class AmgixApi extends runtime.BaseAPI {
513
599
  const response = await this.listCollectionsRaw(initOverrides);
514
600
  return await response.value();
515
601
  }
602
+ /**
603
+ * Creates request options for metricsCurrent without sending the request
604
+ */
605
+ async metricsCurrentRequestOpts(requestParameters) {
606
+ const queryParameters = {};
607
+ if (requestParameters['window'] != null) {
608
+ queryParameters['window'] = requestParameters['window'];
609
+ }
610
+ if (requestParameters['keys'] != null) {
611
+ queryParameters['keys'] = requestParameters['keys'];
612
+ }
613
+ const headerParameters = {};
614
+ let urlPath = `/v1/metrics/current`;
615
+ return {
616
+ path: urlPath,
617
+ method: 'GET',
618
+ headers: headerParameters,
619
+ query: queryParameters,
620
+ };
621
+ }
622
+ /**
623
+ * Return the current metrics state for all nodes over the given window (seconds).
624
+ * Metrics Current
625
+ */
626
+ async metricsCurrentRaw(requestParameters, initOverrides) {
627
+ const requestOptions = await this.metricsCurrentRequestOpts(requestParameters);
628
+ const response = await this.request(requestOptions, initOverrides);
629
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.MetricsFromJSON)(jsonValue));
630
+ }
631
+ /**
632
+ * Return the current metrics state for all nodes over the given window (seconds).
633
+ * Metrics Current
634
+ */
635
+ async metricsCurrent(requestParameters = {}, initOverrides) {
636
+ const response = await this.metricsCurrentRaw(requestParameters, initOverrides);
637
+ return await response.value();
638
+ }
639
+ /**
640
+ * Creates request options for metricsDefinitions without sending the request
641
+ */
642
+ async metricsDefinitionsRequestOpts() {
643
+ const queryParameters = {};
644
+ const headerParameters = {};
645
+ let urlPath = `/v1/metrics/definitions`;
646
+ return {
647
+ path: urlPath,
648
+ method: 'GET',
649
+ headers: headerParameters,
650
+ query: queryParameters,
651
+ };
652
+ }
653
+ /**
654
+ * Return catalog entries for all known metric keys, their units, and descriptions.
655
+ * Metrics Definitions
656
+ */
657
+ async metricsDefinitionsRaw(initOverrides) {
658
+ const requestOptions = await this.metricsDefinitionsRequestOpts();
659
+ const response = await this.request(requestOptions, initOverrides);
660
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.MetricDefinitionItemFromJSON));
661
+ }
662
+ /**
663
+ * Return catalog entries for all known metric keys, their units, and descriptions.
664
+ * Metrics Definitions
665
+ */
666
+ async metricsDefinitions(initOverrides) {
667
+ const response = await this.metricsDefinitionsRaw(initOverrides);
668
+ return await response.value();
669
+ }
670
+ /**
671
+ * Creates request options for metricsPrometheus without sending the request
672
+ */
673
+ async metricsPrometheusRequestOpts() {
674
+ const queryParameters = {};
675
+ const headerParameters = {};
676
+ let urlPath = `/v1/metrics/prometheus`;
677
+ return {
678
+ path: urlPath,
679
+ method: 'GET',
680
+ headers: headerParameters,
681
+ query: queryParameters,
682
+ };
683
+ }
684
+ /**
685
+ * Expose current cluster metrics in Prometheus text exposition (60s rolling window).
686
+ * Metrics Prometheus
687
+ */
688
+ async metricsPrometheusRaw(initOverrides) {
689
+ const requestOptions = await this.metricsPrometheusRequestOpts();
690
+ const response = await this.request(requestOptions, initOverrides);
691
+ if (this.isJsonMime(response.headers.get('content-type'))) {
692
+ return new runtime.JSONApiResponse(response);
693
+ }
694
+ else {
695
+ return new runtime.TextApiResponse(response);
696
+ }
697
+ }
698
+ /**
699
+ * Expose current cluster metrics in Prometheus text exposition (60s rolling window).
700
+ * Metrics Prometheus
701
+ */
702
+ async metricsPrometheus(initOverrides) {
703
+ const response = await this.metricsPrometheusRaw(initOverrides);
704
+ return await response.value();
705
+ }
706
+ /**
707
+ * Creates request options for metricsTrends without sending the request
708
+ */
709
+ async metricsTrendsRequestOpts(requestParameters) {
710
+ if (requestParameters['since'] == null) {
711
+ throw new runtime.RequiredError('since', 'Required parameter "since" was null or undefined when calling metricsTrends().');
712
+ }
713
+ if (requestParameters['until'] == null) {
714
+ throw new runtime.RequiredError('until', 'Required parameter "until" was null or undefined when calling metricsTrends().');
715
+ }
716
+ const queryParameters = {};
717
+ if (requestParameters['since'] != null) {
718
+ queryParameters['since'] = requestParameters['since'].toISOString();
719
+ }
720
+ if (requestParameters['until'] != null) {
721
+ queryParameters['until'] = requestParameters['until'].toISOString();
722
+ }
723
+ if (requestParameters['resolution'] != null) {
724
+ queryParameters['resolution'] = requestParameters['resolution'];
725
+ }
726
+ if (requestParameters['keys'] != null) {
727
+ queryParameters['keys'] = requestParameters['keys'];
728
+ }
729
+ const headerParameters = {};
730
+ let urlPath = `/v1/metrics/trends`;
731
+ return {
732
+ path: urlPath,
733
+ method: 'GET',
734
+ headers: headerParameters,
735
+ query: queryParameters,
736
+ };
737
+ }
738
+ /**
739
+ * Return historical metric buckets for the given time range and resolution. Args: since: Inclusive start of the time range (ISO 8601, UTC assumed if no timezone given). until: Exclusive end of the time range (ISO 8601, UTC assumed if no timezone given). resolution: Bucket size in seconds - 60 for 1-minute, 300 for 5-minute. keys: One or more metric keys to return. Omit to return all keys.
740
+ * Metrics Trends
741
+ */
742
+ async metricsTrendsRaw(requestParameters, initOverrides) {
743
+ const requestOptions = await this.metricsTrendsRequestOpts(requestParameters);
744
+ const response = await this.request(requestOptions, initOverrides);
745
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.MetricTrendFromJSON));
746
+ }
747
+ /**
748
+ * Return historical metric buckets for the given time range and resolution. Args: since: Inclusive start of the time range (ISO 8601, UTC assumed if no timezone given). until: Exclusive end of the time range (ISO 8601, UTC assumed if no timezone given). resolution: Bucket size in seconds - 60 for 1-minute, 300 for 5-minute. keys: One or more metric keys to return. Omit to return all keys.
749
+ * Metrics Trends
750
+ */
751
+ async metricsTrends(requestParameters, initOverrides) {
752
+ const response = await this.metricsTrendsRaw(requestParameters, initOverrides);
753
+ return await response.value();
754
+ }
516
755
  /**
517
756
  * Creates request options for search without sending the request
518
757
  */
@@ -553,6 +792,37 @@ class AmgixApi extends runtime.BaseAPI {
553
792
  const response = await this.searchRaw(requestParameters, initOverrides);
554
793
  return await response.value();
555
794
  }
795
+ /**
796
+ * Creates request options for systemInfo without sending the request
797
+ */
798
+ async systemInfoRequestOpts() {
799
+ const queryParameters = {};
800
+ const headerParameters = {};
801
+ let urlPath = `/v1/system/info`;
802
+ return {
803
+ path: urlPath,
804
+ method: 'GET',
805
+ headers: headerParameters,
806
+ query: queryParameters,
807
+ };
808
+ }
809
+ /**
810
+ * Summarize deployment and infrastructure (no connection URLs).
811
+ * System Info
812
+ */
813
+ async systemInfoRaw(initOverrides) {
814
+ const requestOptions = await this.systemInfoRequestOpts();
815
+ const response = await this.request(requestOptions, initOverrides);
816
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.SystemInfoResponseFromJSON)(jsonValue));
817
+ }
818
+ /**
819
+ * Summarize deployment and infrastructure (no connection URLs).
820
+ * System Info
821
+ */
822
+ async systemInfo(initOverrides) {
823
+ const response = await this.systemInfoRaw(initOverrides);
824
+ return await response.value();
825
+ }
556
826
  /**
557
827
  * Creates request options for upsertDocument without sending the request
558
828
  */
@@ -2,7 +2,7 @@
2
2
  * Amalgam Index API
3
3
  * Amalgam Index (Amgix). Open-Source Hybrid Search System
4
4
  *
5
- * The version of the OpenAPI document: 1.1.0
5
+ * The version of the OpenAPI document: 1.3.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Amalgam Index API
6
6
  * Amalgam Index (Amgix). Open-Source Hybrid Search System
7
7
  *
8
- * The version of the OpenAPI document: 1.1.0
8
+ * The version of the OpenAPI document: 1.3.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Amalgam Index API
3
3
  * Amalgam Index (Amgix). Open-Source Hybrid Search System
4
4
  *
5
- * The version of the OpenAPI document: 1.1.0
5
+ * The version of the OpenAPI document: 1.3.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Amalgam Index API
6
6
  * Amalgam Index (Amgix). Open-Source Hybrid Search System
7
7
  *
8
- * The version of the OpenAPI document: 1.1.0
8
+ * The version of the OpenAPI document: 1.3.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Amalgam Index API
3
3
  * Amalgam Index (Amgix). Open-Source Hybrid Search System
4
4
  *
5
- * The version of the OpenAPI document: 1.1.0
5
+ * The version of the OpenAPI document: 1.3.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).