@amgix/amgix-client 1.1.0 → 1.2.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 (82) hide show
  1. package/dist/apis/AmgixApi.d.ts +101 -4
  2. package/dist/apis/AmgixApi.d.ts.map +1 -1
  3. package/dist/apis/AmgixApi.js +222 -3
  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 +1 -1
  20. package/dist/models/DocumentStatus.js +1 -1
  21. package/dist/models/DocumentStatusResponse.d.ts +1 -1
  22. package/dist/models/DocumentStatusResponse.js +1 -1
  23. package/dist/models/HTTPValidationError.d.ts +1 -1
  24. package/dist/models/HTTPValidationError.js +1 -1
  25. package/dist/models/MetadataFilter.d.ts +1 -1
  26. package/dist/models/MetadataFilter.js +1 -1
  27. package/dist/models/MetadataIndex.d.ts +1 -1
  28. package/dist/models/MetadataIndex.js +1 -1
  29. package/dist/models/MetricDefinitionItem.d.ts +45 -0
  30. package/dist/models/MetricDefinitionItem.d.ts.map +1 -0
  31. package/dist/models/MetricDefinitionItem.js +58 -0
  32. package/dist/models/MetricTrend.d.ts +46 -0
  33. package/dist/models/MetricTrend.d.ts.map +1 -0
  34. package/dist/models/MetricTrend.js +57 -0
  35. package/dist/models/Metrics.d.ts +36 -0
  36. package/dist/models/Metrics.d.ts.map +1 -0
  37. package/dist/models/Metrics.js +50 -0
  38. package/dist/models/MetricsBucket.d.ts +63 -0
  39. package/dist/models/MetricsBucket.d.ts.map +1 -0
  40. package/dist/models/MetricsBucket.js +66 -0
  41. package/dist/models/NodeMetricSeries.d.ts +58 -0
  42. package/dist/models/NodeMetricSeries.d.ts.map +1 -0
  43. package/dist/models/NodeMetricSeries.js +58 -0
  44. package/dist/models/NodeView.d.ts +60 -0
  45. package/dist/models/NodeView.d.ts.map +1 -0
  46. package/dist/models/NodeView.js +61 -0
  47. package/dist/models/OkResponse.d.ts +1 -1
  48. package/dist/models/OkResponse.js +1 -1
  49. package/dist/models/QueueInfo.d.ts +1 -1
  50. package/dist/models/QueueInfo.js +1 -1
  51. package/dist/models/ReadyResponse.d.ts +1 -1
  52. package/dist/models/ReadyResponse.js +1 -1
  53. package/dist/models/SearchQuery.d.ts +1 -1
  54. package/dist/models/SearchQuery.js +1 -1
  55. package/dist/models/SearchResult.d.ts +1 -1
  56. package/dist/models/SearchResult.js +1 -1
  57. package/dist/models/SystemInfoResponse.d.ts +65 -0
  58. package/dist/models/SystemInfoResponse.d.ts.map +1 -0
  59. package/dist/models/SystemInfoResponse.js +70 -0
  60. package/dist/models/ValidationError.d.ts +1 -1
  61. package/dist/models/ValidationError.js +1 -1
  62. package/dist/models/ValidationErrorLocItem.d.ts +1 -1
  63. package/dist/models/ValidationErrorLocItem.js +1 -1
  64. package/dist/models/Vector.d.ts +1 -1
  65. package/dist/models/Vector.js +1 -1
  66. package/dist/models/VectorConfig.d.ts +1 -1
  67. package/dist/models/VectorConfig.js +1 -1
  68. package/dist/models/VectorScore.d.ts +1 -1
  69. package/dist/models/VectorScore.js +1 -1
  70. package/dist/models/VectorSearchWeight.d.ts +1 -1
  71. package/dist/models/VectorSearchWeight.js +1 -1
  72. package/dist/models/VersionResponse.d.ts +1 -1
  73. package/dist/models/VersionResponse.js +1 -1
  74. package/dist/models/WindowSample.d.ts +39 -0
  75. package/dist/models/WindowSample.d.ts.map +1 -0
  76. package/dist/models/WindowSample.js +52 -0
  77. package/dist/models/index.d.ts +9 -0
  78. package/dist/models/index.d.ts.map +1 -1
  79. package/dist/models/index.js +9 -0
  80. package/dist/runtime.d.ts +1 -1
  81. package/dist/runtime.js +1 -1
  82. package/package.json +5 -2
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Amalgam Index API
6
+ * Amalgam Index (Amgix). Open-Source Hybrid Search System
7
+ *
8
+ * The version of the OpenAPI document: 1.2.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfNodeMetricSeries = instanceOfNodeMetricSeries;
17
+ exports.NodeMetricSeriesFromJSON = NodeMetricSeriesFromJSON;
18
+ exports.NodeMetricSeriesFromJSONTyped = NodeMetricSeriesFromJSONTyped;
19
+ exports.NodeMetricSeriesToJSON = NodeMetricSeriesToJSON;
20
+ exports.NodeMetricSeriesToJSONTyped = NodeMetricSeriesToJSONTyped;
21
+ const runtime_1 = require("../runtime");
22
+ const WindowSample_1 = require("./WindowSample");
23
+ /**
24
+ * Check if a given object implements the NodeMetricSeries interface.
25
+ */
26
+ function instanceOfNodeMetricSeries(value) {
27
+ if (!('key' in value) || value['key'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function NodeMetricSeriesFromJSON(json) {
32
+ return NodeMetricSeriesFromJSONTyped(json, false);
33
+ }
34
+ function NodeMetricSeriesFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'key': json['key'],
40
+ 'dims': json['dims'] == null ? undefined : json['dims'],
41
+ 'windows': json['windows'] == null ? undefined : ((0, runtime_1.mapValues)(json['windows'], WindowSample_1.WindowSampleFromJSON)),
42
+ 'last_seen': json['last_seen'] == null ? undefined : json['last_seen'],
43
+ };
44
+ }
45
+ function NodeMetricSeriesToJSON(json) {
46
+ return NodeMetricSeriesToJSONTyped(json, false);
47
+ }
48
+ function NodeMetricSeriesToJSONTyped(value, ignoreDiscriminator = false) {
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'key': value['key'],
54
+ 'dims': value['dims'],
55
+ 'windows': value['windows'] == null ? undefined : ((0, runtime_1.mapValues)(value['windows'], WindowSample_1.WindowSampleToJSON)),
56
+ 'last_seen': value['last_seen'],
57
+ };
58
+ }
@@ -0,0 +1,60 @@
1
+ /**
2
+ * Amalgam Index API
3
+ * Amalgam Index (Amgix). Open-Source Hybrid Search System
4
+ *
5
+ * The version of the OpenAPI document: 1.2.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { NodeMetricSeries } from './NodeMetricSeries';
13
+ /**
14
+ * Snapshot of a single cluster node as last reported to the leader.
15
+ * @export
16
+ * @interface NodeView
17
+ */
18
+ export interface NodeView {
19
+ /**
20
+ * Node role: 'index', 'query', 'all' for encoder nodes; 'api' for API nodes
21
+ * @type {string}
22
+ * @memberof NodeView
23
+ */
24
+ role: string;
25
+ /**
26
+ * Whether this node is the current encoder leader
27
+ * @type {boolean}
28
+ * @memberof NodeView
29
+ */
30
+ is_leader?: boolean;
31
+ /**
32
+ * Unix timestamp of the last heartbeat received from this node
33
+ * @type {number}
34
+ * @memberof NodeView
35
+ */
36
+ last_seen: number;
37
+ /**
38
+ * Forward-compatible node metadata bag (for load/capacity/gpu/memory/model details and future node status values)
39
+ * @type {{ [key: string]: any; }}
40
+ * @memberof NodeView
41
+ */
42
+ meta?: {
43
+ [key: string]: any;
44
+ };
45
+ /**
46
+ * Metric series for this node; empty for API nodes
47
+ * @type {Array<NodeMetricSeries>}
48
+ * @memberof NodeView
49
+ */
50
+ metrics?: Array<NodeMetricSeries>;
51
+ }
52
+ /**
53
+ * Check if a given object implements the NodeView interface.
54
+ */
55
+ export declare function instanceOfNodeView(value: object): value is NodeView;
56
+ export declare function NodeViewFromJSON(json: any): NodeView;
57
+ export declare function NodeViewFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeView;
58
+ export declare function NodeViewToJSON(json: any): NodeView;
59
+ export declare function NodeViewToJSONTyped(value?: NodeView | null, ignoreDiscriminator?: boolean): any;
60
+ //# sourceMappingURL=NodeView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NodeView.d.ts","sourceRoot":"","sources":["../../models/NodeView.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAQ3D;;;;GAIG;AACH,MAAM,WAAW,QAAQ;IACrB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,IAAI,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC;IAC/B;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC;CACrC;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,QAAQ,CAInE;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAEpD;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,QAAQ,CAYvF;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAElD;AAED,wBAAgB,mBAAmB,CAAC,KAAK,CAAC,EAAE,QAAQ,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAatG"}
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Amalgam Index API
6
+ * Amalgam Index (Amgix). Open-Source Hybrid Search System
7
+ *
8
+ * The version of the OpenAPI document: 1.2.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfNodeView = instanceOfNodeView;
17
+ exports.NodeViewFromJSON = NodeViewFromJSON;
18
+ exports.NodeViewFromJSONTyped = NodeViewFromJSONTyped;
19
+ exports.NodeViewToJSON = NodeViewToJSON;
20
+ exports.NodeViewToJSONTyped = NodeViewToJSONTyped;
21
+ const NodeMetricSeries_1 = require("./NodeMetricSeries");
22
+ /**
23
+ * Check if a given object implements the NodeView interface.
24
+ */
25
+ function instanceOfNodeView(value) {
26
+ if (!('role' in value) || value['role'] === undefined)
27
+ return false;
28
+ if (!('last_seen' in value) || value['last_seen'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ function NodeViewFromJSON(json) {
33
+ return NodeViewFromJSONTyped(json, false);
34
+ }
35
+ function NodeViewFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'role': json['role'],
41
+ 'is_leader': json['is_leader'] == null ? undefined : json['is_leader'],
42
+ 'last_seen': json['last_seen'],
43
+ 'meta': json['meta'] == null ? undefined : json['meta'],
44
+ 'metrics': json['metrics'] == null ? undefined : (json['metrics'].map(NodeMetricSeries_1.NodeMetricSeriesFromJSON)),
45
+ };
46
+ }
47
+ function NodeViewToJSON(json) {
48
+ return NodeViewToJSONTyped(json, false);
49
+ }
50
+ function NodeViewToJSONTyped(value, ignoreDiscriminator = false) {
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ 'role': value['role'],
56
+ 'is_leader': value['is_leader'],
57
+ 'last_seen': value['last_seen'],
58
+ 'meta': value['meta'],
59
+ 'metrics': value['metrics'] == null ? undefined : (value['metrics'].map(NodeMetricSeries_1.NodeMetricSeriesToJSON)),
60
+ };
61
+ }
@@ -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.2.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.2.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.2.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.2.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.2.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.2.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.2.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.2.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.2.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.2.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,65 @@
1
+ /**
2
+ * Amalgam Index API
3
+ * Amalgam Index (Amgix). Open-Source Hybrid Search System
4
+ *
5
+ * The version of the OpenAPI document: 1.2.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface SystemInfoResponse
16
+ */
17
+ export interface SystemInfoResponse {
18
+ /**
19
+ * API / deployment version string
20
+ * @type {string}
21
+ * @memberof SystemInfoResponse
22
+ */
23
+ amgix_version: string;
24
+ /**
25
+ * Database product derived from configured URL scheme (no connection string)
26
+ * @type {string}
27
+ * @memberof SystemInfoResponse
28
+ */
29
+ database_kind: string;
30
+ /**
31
+ * Version reported by the database backend after probe
32
+ * @type {string}
33
+ * @memberof SystemInfoResponse
34
+ */
35
+ database_version: string;
36
+ /**
37
+ * Feature flags detected at probe time (e.g. dense vector support)
38
+ * @type {{ [key: string]: boolean; }}
39
+ * @memberof SystemInfoResponse
40
+ */
41
+ database_features: {
42
+ [key: string]: boolean;
43
+ };
44
+ /**
45
+ * AMQP broker version from Connection.Start server_properties (e.g. RabbitMQ)
46
+ * @type {string}
47
+ * @memberof SystemInfoResponse
48
+ */
49
+ rabbitmq_version: string;
50
+ /**
51
+ * Number of user collections
52
+ * @type {number}
53
+ * @memberof SystemInfoResponse
54
+ */
55
+ collection_count: number;
56
+ }
57
+ /**
58
+ * Check if a given object implements the SystemInfoResponse interface.
59
+ */
60
+ export declare function instanceOfSystemInfoResponse(value: object): value is SystemInfoResponse;
61
+ export declare function SystemInfoResponseFromJSON(json: any): SystemInfoResponse;
62
+ export declare function SystemInfoResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemInfoResponse;
63
+ export declare function SystemInfoResponseToJSON(json: any): SystemInfoResponse;
64
+ export declare function SystemInfoResponseToJSONTyped(value?: SystemInfoResponse | null, ignoreDiscriminator?: boolean): any;
65
+ //# sourceMappingURL=SystemInfoResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SystemInfoResponse.d.ts","sourceRoot":"","sources":["../../models/SystemInfoResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,iBAAiB,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;KAAE,CAAC;IAC/C;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;CAC5B;AAED;;GAEG;AACH,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,kBAAkB,CAQvF;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,kBAAkB,CAExE;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,kBAAkB,CAa3G;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,kBAAkB,CAEtE;AAED,wBAAgB,6BAA6B,CAAC,KAAK,CAAC,EAAE,kBAAkB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAc1H"}
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Amalgam Index API
6
+ * Amalgam Index (Amgix). Open-Source Hybrid Search System
7
+ *
8
+ * The version of the OpenAPI document: 1.2.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfSystemInfoResponse = instanceOfSystemInfoResponse;
17
+ exports.SystemInfoResponseFromJSON = SystemInfoResponseFromJSON;
18
+ exports.SystemInfoResponseFromJSONTyped = SystemInfoResponseFromJSONTyped;
19
+ exports.SystemInfoResponseToJSON = SystemInfoResponseToJSON;
20
+ exports.SystemInfoResponseToJSONTyped = SystemInfoResponseToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SystemInfoResponse interface.
23
+ */
24
+ function instanceOfSystemInfoResponse(value) {
25
+ if (!('amgix_version' in value) || value['amgix_version'] === undefined)
26
+ return false;
27
+ if (!('database_kind' in value) || value['database_kind'] === undefined)
28
+ return false;
29
+ if (!('database_version' in value) || value['database_version'] === undefined)
30
+ return false;
31
+ if (!('database_features' in value) || value['database_features'] === undefined)
32
+ return false;
33
+ if (!('rabbitmq_version' in value) || value['rabbitmq_version'] === undefined)
34
+ return false;
35
+ if (!('collection_count' in value) || value['collection_count'] === undefined)
36
+ return false;
37
+ return true;
38
+ }
39
+ function SystemInfoResponseFromJSON(json) {
40
+ return SystemInfoResponseFromJSONTyped(json, false);
41
+ }
42
+ function SystemInfoResponseFromJSONTyped(json, ignoreDiscriminator) {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+ 'amgix_version': json['amgix_version'],
48
+ 'database_kind': json['database_kind'],
49
+ 'database_version': json['database_version'],
50
+ 'database_features': json['database_features'],
51
+ 'rabbitmq_version': json['rabbitmq_version'],
52
+ 'collection_count': json['collection_count'],
53
+ };
54
+ }
55
+ function SystemInfoResponseToJSON(json) {
56
+ return SystemInfoResponseToJSONTyped(json, false);
57
+ }
58
+ function SystemInfoResponseToJSONTyped(value, ignoreDiscriminator = false) {
59
+ if (value == null) {
60
+ return value;
61
+ }
62
+ return {
63
+ 'amgix_version': value['amgix_version'],
64
+ 'database_kind': value['database_kind'],
65
+ 'database_version': value['database_version'],
66
+ 'database_features': value['database_features'],
67
+ 'rabbitmq_version': value['rabbitmq_version'],
68
+ 'collection_count': value['collection_count'],
69
+ };
70
+ }
@@ -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.2.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.2.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.2.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.2.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.2.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.2.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.2.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.2.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.2.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.2.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.2.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.2.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.2.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.2.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Amalgam Index API
3
+ * Amalgam Index (Amgix). Open-Source Hybrid Search System
4
+ *
5
+ * The version of the OpenAPI document: 1.2.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Mergeable numerator/denominator stats for a single window.
14
+ * @export
15
+ * @interface WindowSample
16
+ */
17
+ export interface WindowSample {
18
+ /**
19
+ * Mergeable numerator for the window
20
+ * @type {number}
21
+ * @memberof WindowSample
22
+ */
23
+ value: number;
24
+ /**
25
+ * Mergeable denominator for average-like metrics
26
+ * @type {number}
27
+ * @memberof WindowSample
28
+ */
29
+ n?: number;
30
+ }
31
+ /**
32
+ * Check if a given object implements the WindowSample interface.
33
+ */
34
+ export declare function instanceOfWindowSample(value: object): value is WindowSample;
35
+ export declare function WindowSampleFromJSON(json: any): WindowSample;
36
+ export declare function WindowSampleFromJSONTyped(json: any, ignoreDiscriminator: boolean): WindowSample;
37
+ export declare function WindowSampleToJSON(json: any): WindowSample;
38
+ export declare function WindowSampleToJSONTyped(value?: WindowSample | null, ignoreDiscriminator?: boolean): any;
39
+ //# sourceMappingURL=WindowSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WindowSample.d.ts","sourceRoot":"","sources":["../../models/WindowSample.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,YAAY;IACzB;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,CAAC,CAAC,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,YAAY,CAG3E;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE5D;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,YAAY,CAS/F;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE1D;AAED,wBAAgB,uBAAuB,CAAC,KAAK,CAAC,EAAE,YAAY,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU9G"}