@ourskyai/platform-api 1.3.1856 → 1.3.1905

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.
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * OurSky Platform
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.3.1856
7
+ * The version of the OpenAPI document: 1.3.1905
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -81,7 +81,7 @@ export type FilterType = typeof FilterType[keyof typeof FilterType];
81
81
 
82
82
 
83
83
  /**
84
- *
84
+ * Location
85
85
  * @export
86
86
  * @interface Location
87
87
  */
@@ -407,6 +407,51 @@ export interface V1CreateMountRequest {
407
407
  }
408
408
 
409
409
 
410
+ /**
411
+ *
412
+ * @export
413
+ * @interface V1CreateNodeDiagnosticRequest
414
+ */
415
+ export interface V1CreateNodeDiagnosticRequest {
416
+ /**
417
+ *
418
+ * @type {string}
419
+ * @memberof V1CreateNodeDiagnosticRequest
420
+ */
421
+ 'nodeId': string;
422
+ /**
423
+ *
424
+ * @type {V1NodeComponentType}
425
+ * @memberof V1CreateNodeDiagnosticRequest
426
+ */
427
+ 'componentType': V1NodeComponentType;
428
+ /**
429
+ *
430
+ * @type {string}
431
+ * @memberof V1CreateNodeDiagnosticRequest
432
+ */
433
+ 'componentId': string;
434
+ /**
435
+ *
436
+ * @type {V1NodeDiagnosticType}
437
+ * @memberof V1CreateNodeDiagnosticRequest
438
+ */
439
+ 'diagnosticType': V1NodeDiagnosticType;
440
+ /**
441
+ *
442
+ * @type {string}
443
+ * @memberof V1CreateNodeDiagnosticRequest
444
+ */
445
+ 'value': string;
446
+ /**
447
+ *
448
+ * @type {string}
449
+ * @memberof V1CreateNodeDiagnosticRequest
450
+ */
451
+ 'measuredAt': string;
452
+ }
453
+
454
+
410
455
  /**
411
456
  *
412
457
  * @export
@@ -440,6 +485,50 @@ export interface V1CreateOpticalTubeRequest {
440
485
  }
441
486
 
442
487
 
488
+ /**
489
+ * Gain Curve
490
+ * @export
491
+ * @interface V1GainCurve
492
+ */
493
+ export interface V1GainCurve {
494
+ /**
495
+ *
496
+ * @type {number}
497
+ * @memberof V1GainCurve
498
+ */
499
+ 'gainMode': number;
500
+ /**
501
+ *
502
+ * @type {Array<V1GainCurvePoint>}
503
+ * @memberof V1GainCurve
504
+ */
505
+ 'gainCurve': Array<V1GainCurvePoint>;
506
+ /**
507
+ *
508
+ * @type {Array<V1ReadNoisePoint>}
509
+ * @memberof V1GainCurve
510
+ */
511
+ 'readoutNoiseCurve'?: Array<V1ReadNoisePoint>;
512
+ }
513
+ /**
514
+ *
515
+ * @export
516
+ * @interface V1GainCurvePoint
517
+ */
518
+ export interface V1GainCurvePoint {
519
+ /**
520
+ *
521
+ * @type {number}
522
+ * @memberof V1GainCurvePoint
523
+ */
524
+ 'gain': number;
525
+ /**
526
+ *
527
+ * @type {number}
528
+ * @memberof V1GainCurvePoint
529
+ */
530
+ 'eADU': number;
531
+ }
443
532
  /**
444
533
  *
445
534
  * @export
@@ -813,7 +902,7 @@ export interface V1Mount {
813
902
  'model': string;
814
903
  }
815
904
  /**
816
- * v1Node
905
+ * Node
817
906
  * @export
818
907
  * @interface V1Node
819
908
  */
@@ -893,6 +982,39 @@ export interface V1Node {
893
982
  }
894
983
 
895
984
 
985
+ /**
986
+ *
987
+ * @export
988
+ * @enum {string}
989
+ */
990
+
991
+ export const V1NodeComponentType = {
992
+ CAMERA: 'CAMERA',
993
+ MOUNT: 'MOUNT',
994
+ OPTICAL_TUBE: 'OPTICAL_TUBE'
995
+ } as const;
996
+
997
+ export type V1NodeComponentType = typeof V1NodeComponentType[keyof typeof V1NodeComponentType];
998
+
999
+
1000
+ /**
1001
+ *
1002
+ * @export
1003
+ * @enum {string}
1004
+ */
1005
+
1006
+ export const V1NodeDiagnosticType = {
1007
+ MIN_SLEW_SPEED_MS: 'MIN_SLEW_SPEED_MS',
1008
+ MAX_SLEW_SPEED_MS: 'MAX_SLEW_SPEED_MS',
1009
+ MIN_SLEW_AND_CENTER_SPEED_MS: 'MIN_SLEW_AND_CENTER_SPEED_MS',
1010
+ MAX_SLEW_AND_CENTER_SPEED_MS: 'MAX_SLEW_AND_CENTER_SPEED_MS',
1011
+ MIN_SLEW_ACCURACY_ARCSECONDS: 'MIN_SLEW_ACCURACY_ARCSECONDS',
1012
+ MAX_SLEW_ACCURACY_ARCSECONDS: 'MAX_SLEW_ACCURACY_ARCSECONDS'
1013
+ } as const;
1014
+
1015
+ export type V1NodeDiagnosticType = typeof V1NodeDiagnosticType[keyof typeof V1NodeDiagnosticType];
1016
+
1017
+
896
1018
  /**
897
1019
  * Node with location
898
1020
  * @export
@@ -943,6 +1065,25 @@ export interface V1OpticalTube {
943
1065
  */
944
1066
  'apertureMm': number;
945
1067
  }
1068
+ /**
1069
+ *
1070
+ * @export
1071
+ * @interface V1ReadNoisePoint
1072
+ */
1073
+ export interface V1ReadNoisePoint {
1074
+ /**
1075
+ *
1076
+ * @type {number}
1077
+ * @memberof V1ReadNoisePoint
1078
+ */
1079
+ 'gain': number;
1080
+ /**
1081
+ *
1082
+ * @type {number}
1083
+ * @memberof V1ReadNoisePoint
1084
+ */
1085
+ 'eRMS': number;
1086
+ }
946
1087
  /**
947
1088
  * Setup Action
948
1089
  * @export
@@ -962,6 +1103,232 @@ export interface V1SetupAction {
962
1103
  */
963
1104
  'arguments'?: Array<string>;
964
1105
  }
1106
+ /**
1107
+ *
1108
+ * @export
1109
+ * @interface V1UpdateNodeComponentsRequest
1110
+ */
1111
+ export interface V1UpdateNodeComponentsRequest {
1112
+ /**
1113
+ *
1114
+ * @type {string}
1115
+ * @memberof V1UpdateNodeComponentsRequest
1116
+ */
1117
+ 'nodeId': string;
1118
+ /**
1119
+ *
1120
+ * @type {V1UpdateNodeComponentsRequestCamera}
1121
+ * @memberof V1UpdateNodeComponentsRequest
1122
+ */
1123
+ 'camera'?: V1UpdateNodeComponentsRequestCamera;
1124
+ /**
1125
+ *
1126
+ * @type {V1UpdateNodeComponentsRequestMount}
1127
+ * @memberof V1UpdateNodeComponentsRequest
1128
+ */
1129
+ 'mount'?: V1UpdateNodeComponentsRequestMount;
1130
+ /**
1131
+ *
1132
+ * @type {V1UpdateNodeComponentsRequestOpticalTube}
1133
+ * @memberof V1UpdateNodeComponentsRequest
1134
+ */
1135
+ 'opticalTube'?: V1UpdateNodeComponentsRequestOpticalTube;
1136
+ }
1137
+ /**
1138
+ *
1139
+ * @export
1140
+ * @interface V1UpdateNodeComponentsRequestCamera
1141
+ */
1142
+ export interface V1UpdateNodeComponentsRequestCamera {
1143
+ /**
1144
+ *
1145
+ * @type {string}
1146
+ * @memberof V1UpdateNodeComponentsRequestCamera
1147
+ */
1148
+ 'model'?: string;
1149
+ /**
1150
+ *
1151
+ * @type {number}
1152
+ * @memberof V1UpdateNodeComponentsRequestCamera
1153
+ */
1154
+ 'pixelSizeMicrons'?: number;
1155
+ /**
1156
+ *
1157
+ * @type {number}
1158
+ * @memberof V1UpdateNodeComponentsRequestCamera
1159
+ */
1160
+ 'fullWellCapacity'?: number;
1161
+ /**
1162
+ *
1163
+ * @type {number}
1164
+ * @memberof V1UpdateNodeComponentsRequestCamera
1165
+ */
1166
+ 'pixelsX'?: number;
1167
+ /**
1168
+ *
1169
+ * @type {number}
1170
+ * @memberof V1UpdateNodeComponentsRequestCamera
1171
+ */
1172
+ 'pixelsY'?: number;
1173
+ /**
1174
+ *
1175
+ * @type {number}
1176
+ * @memberof V1UpdateNodeComponentsRequestCamera
1177
+ */
1178
+ 'megapixels'?: number;
1179
+ /**
1180
+ *
1181
+ * @type {boolean}
1182
+ * @memberof V1UpdateNodeComponentsRequestCamera
1183
+ */
1184
+ 'chilled'?: boolean;
1185
+ /**
1186
+ *
1187
+ * @type {ShutterType}
1188
+ * @memberof V1UpdateNodeComponentsRequestCamera
1189
+ */
1190
+ 'shutterType'?: ShutterType;
1191
+ /**
1192
+ *
1193
+ * @type {boolean}
1194
+ * @memberof V1UpdateNodeComponentsRequestCamera
1195
+ */
1196
+ 'gpsTimestamps'?: boolean;
1197
+ /**
1198
+ *
1199
+ * @type {number}
1200
+ * @memberof V1UpdateNodeComponentsRequestCamera
1201
+ */
1202
+ 'sensorXmm'?: number;
1203
+ /**
1204
+ *
1205
+ * @type {number}
1206
+ * @memberof V1UpdateNodeComponentsRequestCamera
1207
+ */
1208
+ 'sensorYmm'?: number;
1209
+ /**
1210
+ *
1211
+ * @type {number}
1212
+ * @memberof V1UpdateNodeComponentsRequestCamera
1213
+ */
1214
+ 'unityGain'?: number;
1215
+ /**
1216
+ *
1217
+ * @type {number}
1218
+ * @memberof V1UpdateNodeComponentsRequestCamera
1219
+ */
1220
+ 'optimalNighttimeGain'?: number;
1221
+ /**
1222
+ *
1223
+ * @type {number}
1224
+ * @memberof V1UpdateNodeComponentsRequestCamera
1225
+ */
1226
+ 'optimalNighttimeGainOffset'?: number;
1227
+ /**
1228
+ *
1229
+ * @type {number}
1230
+ * @memberof V1UpdateNodeComponentsRequestCamera
1231
+ */
1232
+ 'optimalNighttimeGainMode'?: number;
1233
+ /**
1234
+ *
1235
+ * @type {boolean}
1236
+ * @memberof V1UpdateNodeComponentsRequestCamera
1237
+ */
1238
+ 'supportsVideoMode'?: boolean;
1239
+ /**
1240
+ *
1241
+ * @type {number}
1242
+ * @memberof V1UpdateNodeComponentsRequestCamera
1243
+ */
1244
+ 'adcBitDepth'?: number;
1245
+ /**
1246
+ *
1247
+ * @type {number}
1248
+ * @memberof V1UpdateNodeComponentsRequestCamera
1249
+ */
1250
+ 'quantumEfficiency'?: number;
1251
+ /**
1252
+ *
1253
+ * @type {Array<V1GainCurve>}
1254
+ * @memberof V1UpdateNodeComponentsRequestCamera
1255
+ */
1256
+ 'gainCurves'?: Array<V1GainCurve>;
1257
+ /**
1258
+ *
1259
+ * @type {Array<V1SetupAction>}
1260
+ * @memberof V1UpdateNodeComponentsRequestCamera
1261
+ */
1262
+ 'setupActions'?: Array<V1SetupAction>;
1263
+ /**
1264
+ *
1265
+ * @type {boolean}
1266
+ * @memberof V1UpdateNodeComponentsRequestCamera
1267
+ */
1268
+ 'isColor'?: boolean;
1269
+ }
1270
+
1271
+
1272
+ /**
1273
+ *
1274
+ * @export
1275
+ * @interface V1UpdateNodeComponentsRequestMount
1276
+ */
1277
+ export interface V1UpdateNodeComponentsRequestMount {
1278
+ /**
1279
+ *
1280
+ * @type {string}
1281
+ * @memberof V1UpdateNodeComponentsRequestMount
1282
+ */
1283
+ 'model'?: string;
1284
+ /**
1285
+ *
1286
+ * @type {MountType}
1287
+ * @memberof V1UpdateNodeComponentsRequestMount
1288
+ */
1289
+ 'mountType'?: MountType;
1290
+ /**
1291
+ *
1292
+ * @type {number}
1293
+ * @memberof V1UpdateNodeComponentsRequestMount
1294
+ */
1295
+ 'slewRate'?: number;
1296
+ }
1297
+
1298
+
1299
+ /**
1300
+ *
1301
+ * @export
1302
+ * @interface V1UpdateNodeComponentsRequestOpticalTube
1303
+ */
1304
+ export interface V1UpdateNodeComponentsRequestOpticalTube {
1305
+ /**
1306
+ *
1307
+ * @type {string}
1308
+ * @memberof V1UpdateNodeComponentsRequestOpticalTube
1309
+ */
1310
+ 'model'?: string;
1311
+ /**
1312
+ *
1313
+ * @type {number}
1314
+ * @memberof V1UpdateNodeComponentsRequestOpticalTube
1315
+ */
1316
+ 'focalLengthMm'?: number;
1317
+ /**
1318
+ *
1319
+ * @type {number}
1320
+ * @memberof V1UpdateNodeComponentsRequestOpticalTube
1321
+ */
1322
+ 'apertureMm'?: number;
1323
+ /**
1324
+ *
1325
+ * @type {OpticalTubeType}
1326
+ * @memberof V1UpdateNodeComponentsRequestOpticalTube
1327
+ */
1328
+ 'type'?: OpticalTubeType;
1329
+ }
1330
+
1331
+
965
1332
  /**
966
1333
  *
967
1334
  * @export
@@ -1433,6 +1800,47 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
1433
1800
  options: localVarRequestOptions,
1434
1801
  };
1435
1802
  },
1803
+ /**
1804
+ * Create node diagnostics.
1805
+ * @param {Array<V1CreateNodeDiagnosticRequest>} v1CreateNodeDiagnosticRequest
1806
+ * @param {*} [options] Override http request option.
1807
+ * @throws {RequiredError}
1808
+ */
1809
+ v1CreateNodeDiagnostics: async (v1CreateNodeDiagnosticRequest: Array<V1CreateNodeDiagnosticRequest>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
1810
+ // verify required parameter 'v1CreateNodeDiagnosticRequest' is not null or undefined
1811
+ assertParamExists('v1CreateNodeDiagnostics', 'v1CreateNodeDiagnosticRequest', v1CreateNodeDiagnosticRequest)
1812
+ const localVarPath = `/v1/node-diagnostics`;
1813
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1814
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1815
+ let baseOptions;
1816
+ if (configuration) {
1817
+ baseOptions = configuration.baseOptions;
1818
+ }
1819
+
1820
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
1821
+ const localVarHeaderParameter = {} as any;
1822
+ const localVarQueryParameter = {} as any;
1823
+
1824
+ // authentication Roles required
1825
+
1826
+ // authentication BearerToken required
1827
+ // http bearer authentication required
1828
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
1829
+
1830
+
1831
+
1832
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1833
+
1834
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1835
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1836
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1837
+ localVarRequestOptions.data = serializeDataIfNeeded(v1CreateNodeDiagnosticRequest, localVarRequestOptions, configuration)
1838
+
1839
+ return {
1840
+ url: toPathString(localVarUrlObj),
1841
+ options: localVarRequestOptions,
1842
+ };
1843
+ },
1436
1844
  /**
1437
1845
  * Create an optical tube.
1438
1846
  * @param {V1CreateOpticalTubeRequest} v1CreateOpticalTubeRequest
@@ -1626,6 +2034,48 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
1626
2034
 
1627
2035
 
1628
2036
 
2037
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2038
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2039
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2040
+
2041
+ return {
2042
+ url: toPathString(localVarUrlObj),
2043
+ options: localVarRequestOptions,
2044
+ };
2045
+ },
2046
+ /**
2047
+ * Get node diagnostic tasks.
2048
+ * @param {string} nodeId
2049
+ * @param {*} [options] Override http request option.
2050
+ * @throws {RequiredError}
2051
+ */
2052
+ v1GetNodeDiagnosticTasks: async (nodeId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2053
+ // verify required parameter 'nodeId' is not null or undefined
2054
+ assertParamExists('v1GetNodeDiagnosticTasks', 'nodeId', nodeId)
2055
+ const localVarPath = `/v1/node-diagnostic-tasks`;
2056
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2057
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2058
+ let baseOptions;
2059
+ if (configuration) {
2060
+ baseOptions = configuration.baseOptions;
2061
+ }
2062
+
2063
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
2064
+ const localVarHeaderParameter = {} as any;
2065
+ const localVarQueryParameter = {} as any;
2066
+
2067
+ // authentication Roles required
2068
+
2069
+ // authentication BearerToken required
2070
+ // http bearer authentication required
2071
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
2072
+
2073
+ if (nodeId !== undefined) {
2074
+ localVarQueryParameter['nodeId'] = nodeId;
2075
+ }
2076
+
2077
+
2078
+
1629
2079
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1630
2080
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1631
2081
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -1844,6 +2294,47 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
1844
2294
  options: localVarRequestOptions,
1845
2295
  };
1846
2296
  },
2297
+ /**
2298
+ * Update node components.
2299
+ * @param {V1UpdateNodeComponentsRequest} v1UpdateNodeComponentsRequest
2300
+ * @param {*} [options] Override http request option.
2301
+ * @throws {RequiredError}
2302
+ */
2303
+ v1UpdateNodeComponents: async (v1UpdateNodeComponentsRequest: V1UpdateNodeComponentsRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2304
+ // verify required parameter 'v1UpdateNodeComponentsRequest' is not null or undefined
2305
+ assertParamExists('v1UpdateNodeComponents', 'v1UpdateNodeComponentsRequest', v1UpdateNodeComponentsRequest)
2306
+ const localVarPath = `/v1/node-components`;
2307
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2308
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2309
+ let baseOptions;
2310
+ if (configuration) {
2311
+ baseOptions = configuration.baseOptions;
2312
+ }
2313
+
2314
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
2315
+ const localVarHeaderParameter = {} as any;
2316
+ const localVarQueryParameter = {} as any;
2317
+
2318
+ // authentication Roles required
2319
+
2320
+ // authentication BearerToken required
2321
+ // http bearer authentication required
2322
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
2323
+
2324
+
2325
+
2326
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2327
+
2328
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2329
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2330
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2331
+ localVarRequestOptions.data = serializeDataIfNeeded(v1UpdateNodeComponentsRequest, localVarRequestOptions, configuration)
2332
+
2333
+ return {
2334
+ url: toPathString(localVarUrlObj),
2335
+ options: localVarRequestOptions,
2336
+ };
2337
+ },
1847
2338
  /**
1848
2339
  * Update node metrics.
1849
2340
  * @param {V1UpdateNodeMetricsRequest} v1UpdateNodeMetricsRequest
@@ -2004,6 +2495,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
2004
2495
  const localVarAxiosArgs = await localVarAxiosParamCreator.v1CreateMount(v1CreateMountRequest, options);
2005
2496
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2006
2497
  },
2498
+ /**
2499
+ * Create node diagnostics.
2500
+ * @param {Array<V1CreateNodeDiagnosticRequest>} v1CreateNodeDiagnosticRequest
2501
+ * @param {*} [options] Override http request option.
2502
+ * @throws {RequiredError}
2503
+ */
2504
+ async v1CreateNodeDiagnostics(v1CreateNodeDiagnosticRequest: Array<V1CreateNodeDiagnosticRequest>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptySuccess>> {
2505
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1CreateNodeDiagnostics(v1CreateNodeDiagnosticRequest, options);
2506
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2507
+ },
2007
2508
  /**
2008
2509
  * Create an optical tube.
2009
2510
  * @param {V1CreateOpticalTubeRequest} v1CreateOpticalTubeRequest
@@ -2053,6 +2554,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
2053
2554
  const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetMount(id, options);
2054
2555
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2055
2556
  },
2557
+ /**
2558
+ * Get node diagnostic tasks.
2559
+ * @param {string} nodeId
2560
+ * @param {*} [options] Override http request option.
2561
+ * @throws {RequiredError}
2562
+ */
2563
+ async v1GetNodeDiagnosticTasks(nodeId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1NodeDiagnosticType>>> {
2564
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetNodeDiagnosticTasks(nodeId, options);
2565
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2566
+ },
2056
2567
  /**
2057
2568
  * Get node properties.
2058
2569
  * @param {string} nodeId
@@ -2104,6 +2615,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
2104
2615
  const localVarAxiosArgs = await localVarAxiosParamCreator.v1OpticalTubeMatch(model, focalLengthMm, apertureMm, options);
2105
2616
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2106
2617
  },
2618
+ /**
2619
+ * Update node components.
2620
+ * @param {V1UpdateNodeComponentsRequest} v1UpdateNodeComponentsRequest
2621
+ * @param {*} [options] Override http request option.
2622
+ * @throws {RequiredError}
2623
+ */
2624
+ async v1UpdateNodeComponents(v1UpdateNodeComponentsRequest: V1UpdateNodeComponentsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1Node>> {
2625
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1UpdateNodeComponents(v1UpdateNodeComponentsRequest, options);
2626
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2627
+ },
2107
2628
  /**
2108
2629
  * Update node metrics.
2109
2630
  * @param {V1UpdateNodeMetricsRequest} v1UpdateNodeMetricsRequest
@@ -2188,6 +2709,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
2188
2709
  v1CreateMount(requestParameters: DefaultApiV1CreateMountRequest, options?: AxiosRequestConfig): AxiosPromise<SuccessfulCreate> {
2189
2710
  return localVarFp.v1CreateMount(requestParameters.v1CreateMountRequest, options).then((request) => request(axios, basePath));
2190
2711
  },
2712
+ /**
2713
+ * Create node diagnostics.
2714
+ * @param {DefaultApiV1CreateNodeDiagnosticsRequest} requestParameters Request parameters.
2715
+ * @param {*} [options] Override http request option.
2716
+ * @throws {RequiredError}
2717
+ */
2718
+ v1CreateNodeDiagnostics(requestParameters: DefaultApiV1CreateNodeDiagnosticsRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess> {
2719
+ return localVarFp.v1CreateNodeDiagnostics(requestParameters.v1CreateNodeDiagnosticRequest, options).then((request) => request(axios, basePath));
2720
+ },
2191
2721
  /**
2192
2722
  * Create an optical tube.
2193
2723
  * @param {DefaultApiV1CreateOpticalTubeRequest} requestParameters Request parameters.
@@ -2232,6 +2762,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
2232
2762
  v1GetMount(requestParameters: DefaultApiV1GetMountRequest, options?: AxiosRequestConfig): AxiosPromise<V1Mount> {
2233
2763
  return localVarFp.v1GetMount(requestParameters.id, options).then((request) => request(axios, basePath));
2234
2764
  },
2765
+ /**
2766
+ * Get node diagnostic tasks.
2767
+ * @param {DefaultApiV1GetNodeDiagnosticTasksRequest} requestParameters Request parameters.
2768
+ * @param {*} [options] Override http request option.
2769
+ * @throws {RequiredError}
2770
+ */
2771
+ v1GetNodeDiagnosticTasks(requestParameters: DefaultApiV1GetNodeDiagnosticTasksRequest, options?: AxiosRequestConfig): AxiosPromise<Array<V1NodeDiagnosticType>> {
2772
+ return localVarFp.v1GetNodeDiagnosticTasks(requestParameters.nodeId, options).then((request) => request(axios, basePath));
2773
+ },
2235
2774
  /**
2236
2775
  * Get node properties.
2237
2776
  * @param {DefaultApiV1GetNodePropertiesRequest} requestParameters Request parameters.
@@ -2276,6 +2815,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
2276
2815
  v1OpticalTubeMatch(requestParameters: DefaultApiV1OpticalTubeMatchRequest = {}, options?: AxiosRequestConfig): AxiosPromise<Array<V1OpticalTube>> {
2277
2816
  return localVarFp.v1OpticalTubeMatch(requestParameters.model, requestParameters.focalLengthMm, requestParameters.apertureMm, options).then((request) => request(axios, basePath));
2278
2817
  },
2818
+ /**
2819
+ * Update node components.
2820
+ * @param {DefaultApiV1UpdateNodeComponentsRequest} requestParameters Request parameters.
2821
+ * @param {*} [options] Override http request option.
2822
+ * @throws {RequiredError}
2823
+ */
2824
+ v1UpdateNodeComponents(requestParameters: DefaultApiV1UpdateNodeComponentsRequest, options?: AxiosRequestConfig): AxiosPromise<V1Node> {
2825
+ return localVarFp.v1UpdateNodeComponents(requestParameters.v1UpdateNodeComponentsRequest, options).then((request) => request(axios, basePath));
2826
+ },
2279
2827
  /**
2280
2828
  * Update node metrics.
2281
2829
  * @param {DefaultApiV1UpdateNodeMetricsRequest} requestParameters Request parameters.
@@ -2430,6 +2978,20 @@ export interface DefaultApiV1CreateMountRequest {
2430
2978
  readonly v1CreateMountRequest: V1CreateMountRequest
2431
2979
  }
2432
2980
 
2981
+ /**
2982
+ * Request parameters for v1CreateNodeDiagnostics operation in DefaultApi.
2983
+ * @export
2984
+ * @interface DefaultApiV1CreateNodeDiagnosticsRequest
2985
+ */
2986
+ export interface DefaultApiV1CreateNodeDiagnosticsRequest {
2987
+ /**
2988
+ *
2989
+ * @type {Array<V1CreateNodeDiagnosticRequest>}
2990
+ * @memberof DefaultApiV1CreateNodeDiagnostics
2991
+ */
2992
+ readonly v1CreateNodeDiagnosticRequest: Array<V1CreateNodeDiagnosticRequest>
2993
+ }
2994
+
2433
2995
  /**
2434
2996
  * Request parameters for v1CreateOpticalTube operation in DefaultApi.
2435
2997
  * @export
@@ -2486,6 +3048,20 @@ export interface DefaultApiV1GetMountRequest {
2486
3048
  readonly id: string
2487
3049
  }
2488
3050
 
3051
+ /**
3052
+ * Request parameters for v1GetNodeDiagnosticTasks operation in DefaultApi.
3053
+ * @export
3054
+ * @interface DefaultApiV1GetNodeDiagnosticTasksRequest
3055
+ */
3056
+ export interface DefaultApiV1GetNodeDiagnosticTasksRequest {
3057
+ /**
3058
+ *
3059
+ * @type {string}
3060
+ * @memberof DefaultApiV1GetNodeDiagnosticTasks
3061
+ */
3062
+ readonly nodeId: string
3063
+ }
3064
+
2489
3065
  /**
2490
3066
  * Request parameters for v1GetNodeProperties operation in DefaultApi.
2491
3067
  * @export
@@ -2556,6 +3132,20 @@ export interface DefaultApiV1OpticalTubeMatchRequest {
2556
3132
  readonly apertureMm?: number
2557
3133
  }
2558
3134
 
3135
+ /**
3136
+ * Request parameters for v1UpdateNodeComponents operation in DefaultApi.
3137
+ * @export
3138
+ * @interface DefaultApiV1UpdateNodeComponentsRequest
3139
+ */
3140
+ export interface DefaultApiV1UpdateNodeComponentsRequest {
3141
+ /**
3142
+ *
3143
+ * @type {V1UpdateNodeComponentsRequest}
3144
+ * @memberof DefaultApiV1UpdateNodeComponents
3145
+ */
3146
+ readonly v1UpdateNodeComponentsRequest: V1UpdateNodeComponentsRequest
3147
+ }
3148
+
2559
3149
  /**
2560
3150
  * Request parameters for v1UpdateNodeMetrics operation in DefaultApi.
2561
3151
  * @export
@@ -2657,6 +3247,17 @@ export class DefaultApi extends BaseAPI {
2657
3247
  return DefaultApiFp(this.configuration).v1CreateMount(requestParameters.v1CreateMountRequest, options).then((request) => request(this.axios, this.basePath));
2658
3248
  }
2659
3249
 
3250
+ /**
3251
+ * Create node diagnostics.
3252
+ * @param {DefaultApiV1CreateNodeDiagnosticsRequest} requestParameters Request parameters.
3253
+ * @param {*} [options] Override http request option.
3254
+ * @throws {RequiredError}
3255
+ * @memberof DefaultApi
3256
+ */
3257
+ public v1CreateNodeDiagnostics(requestParameters: DefaultApiV1CreateNodeDiagnosticsRequest, options?: AxiosRequestConfig) {
3258
+ return DefaultApiFp(this.configuration).v1CreateNodeDiagnostics(requestParameters.v1CreateNodeDiagnosticRequest, options).then((request) => request(this.axios, this.basePath));
3259
+ }
3260
+
2660
3261
  /**
2661
3262
  * Create an optical tube.
2662
3263
  * @param {DefaultApiV1CreateOpticalTubeRequest} requestParameters Request parameters.
@@ -2711,6 +3312,17 @@ export class DefaultApi extends BaseAPI {
2711
3312
  return DefaultApiFp(this.configuration).v1GetMount(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
2712
3313
  }
2713
3314
 
3315
+ /**
3316
+ * Get node diagnostic tasks.
3317
+ * @param {DefaultApiV1GetNodeDiagnosticTasksRequest} requestParameters Request parameters.
3318
+ * @param {*} [options] Override http request option.
3319
+ * @throws {RequiredError}
3320
+ * @memberof DefaultApi
3321
+ */
3322
+ public v1GetNodeDiagnosticTasks(requestParameters: DefaultApiV1GetNodeDiagnosticTasksRequest, options?: AxiosRequestConfig) {
3323
+ return DefaultApiFp(this.configuration).v1GetNodeDiagnosticTasks(requestParameters.nodeId, options).then((request) => request(this.axios, this.basePath));
3324
+ }
3325
+
2714
3326
  /**
2715
3327
  * Get node properties.
2716
3328
  * @param {DefaultApiV1GetNodePropertiesRequest} requestParameters Request parameters.
@@ -2765,6 +3377,17 @@ export class DefaultApi extends BaseAPI {
2765
3377
  return DefaultApiFp(this.configuration).v1OpticalTubeMatch(requestParameters.model, requestParameters.focalLengthMm, requestParameters.apertureMm, options).then((request) => request(this.axios, this.basePath));
2766
3378
  }
2767
3379
 
3380
+ /**
3381
+ * Update node components.
3382
+ * @param {DefaultApiV1UpdateNodeComponentsRequest} requestParameters Request parameters.
3383
+ * @param {*} [options] Override http request option.
3384
+ * @throws {RequiredError}
3385
+ * @memberof DefaultApi
3386
+ */
3387
+ public v1UpdateNodeComponents(requestParameters: DefaultApiV1UpdateNodeComponentsRequest, options?: AxiosRequestConfig) {
3388
+ return DefaultApiFp(this.configuration).v1UpdateNodeComponents(requestParameters.v1UpdateNodeComponentsRequest, options).then((request) => request(this.axios, this.basePath));
3389
+ }
3390
+
2768
3391
  /**
2769
3392
  * Update node metrics.
2770
3393
  * @param {DefaultApiV1UpdateNodeMetricsRequest} requestParameters Request parameters.