@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/dist/esm/api.js 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).
@@ -121,6 +121,29 @@ export const TrackingType = {
121
121
  SIDEREAL: 'SIDEREAL',
122
122
  TARGET_RATE: 'TARGET_RATE'
123
123
  };
124
+ /**
125
+ *
126
+ * @export
127
+ * @enum {string}
128
+ */
129
+ export const V1NodeComponentType = {
130
+ CAMERA: 'CAMERA',
131
+ MOUNT: 'MOUNT',
132
+ OPTICAL_TUBE: 'OPTICAL_TUBE'
133
+ };
134
+ /**
135
+ *
136
+ * @export
137
+ * @enum {string}
138
+ */
139
+ export const V1NodeDiagnosticType = {
140
+ MIN_SLEW_SPEED_MS: 'MIN_SLEW_SPEED_MS',
141
+ MAX_SLEW_SPEED_MS: 'MAX_SLEW_SPEED_MS',
142
+ MIN_SLEW_AND_CENTER_SPEED_MS: 'MIN_SLEW_AND_CENTER_SPEED_MS',
143
+ MAX_SLEW_AND_CENTER_SPEED_MS: 'MAX_SLEW_AND_CENTER_SPEED_MS',
144
+ MIN_SLEW_ACCURACY_ARCSECONDS: 'MIN_SLEW_ACCURACY_ARCSECONDS',
145
+ MAX_SLEW_ACCURACY_ARCSECONDS: 'MAX_SLEW_ACCURACY_ARCSECONDS'
146
+ };
124
147
  /**
125
148
  * DefaultApi - axios parameter creator
126
149
  * @export
@@ -352,6 +375,39 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
352
375
  options: localVarRequestOptions,
353
376
  };
354
377
  }),
378
+ /**
379
+ * Create node diagnostics.
380
+ * @param {Array<V1CreateNodeDiagnosticRequest>} v1CreateNodeDiagnosticRequest
381
+ * @param {*} [options] Override http request option.
382
+ * @throws {RequiredError}
383
+ */
384
+ v1CreateNodeDiagnostics: (v1CreateNodeDiagnosticRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
385
+ // verify required parameter 'v1CreateNodeDiagnosticRequest' is not null or undefined
386
+ assertParamExists('v1CreateNodeDiagnostics', 'v1CreateNodeDiagnosticRequest', v1CreateNodeDiagnosticRequest);
387
+ const localVarPath = `/v1/node-diagnostics`;
388
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
389
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
390
+ let baseOptions;
391
+ if (configuration) {
392
+ baseOptions = configuration.baseOptions;
393
+ }
394
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
395
+ const localVarHeaderParameter = {};
396
+ const localVarQueryParameter = {};
397
+ // authentication Roles required
398
+ // authentication BearerToken required
399
+ // http bearer authentication required
400
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
401
+ localVarHeaderParameter['Content-Type'] = 'application/json';
402
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
403
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
404
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
405
+ localVarRequestOptions.data = serializeDataIfNeeded(v1CreateNodeDiagnosticRequest, localVarRequestOptions, configuration);
406
+ return {
407
+ url: toPathString(localVarUrlObj),
408
+ options: localVarRequestOptions,
409
+ };
410
+ }),
355
411
  /**
356
412
  * Create an optical tube.
357
413
  * @param {V1CreateOpticalTubeRequest} v1CreateOpticalTubeRequest
@@ -515,6 +571,40 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
515
571
  options: localVarRequestOptions,
516
572
  };
517
573
  }),
574
+ /**
575
+ * Get node diagnostic tasks.
576
+ * @param {string} nodeId
577
+ * @param {*} [options] Override http request option.
578
+ * @throws {RequiredError}
579
+ */
580
+ v1GetNodeDiagnosticTasks: (nodeId, options = {}) => __awaiter(this, void 0, void 0, function* () {
581
+ // verify required parameter 'nodeId' is not null or undefined
582
+ assertParamExists('v1GetNodeDiagnosticTasks', 'nodeId', nodeId);
583
+ const localVarPath = `/v1/node-diagnostic-tasks`;
584
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
585
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
586
+ let baseOptions;
587
+ if (configuration) {
588
+ baseOptions = configuration.baseOptions;
589
+ }
590
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
591
+ const localVarHeaderParameter = {};
592
+ const localVarQueryParameter = {};
593
+ // authentication Roles required
594
+ // authentication BearerToken required
595
+ // http bearer authentication required
596
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
597
+ if (nodeId !== undefined) {
598
+ localVarQueryParameter['nodeId'] = nodeId;
599
+ }
600
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
601
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
602
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
603
+ return {
604
+ url: toPathString(localVarUrlObj),
605
+ options: localVarRequestOptions,
606
+ };
607
+ }),
518
608
  /**
519
609
  * Get node properties.
520
610
  * @param {string} nodeId
@@ -683,6 +773,39 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
683
773
  options: localVarRequestOptions,
684
774
  };
685
775
  }),
776
+ /**
777
+ * Update node components.
778
+ * @param {V1UpdateNodeComponentsRequest} v1UpdateNodeComponentsRequest
779
+ * @param {*} [options] Override http request option.
780
+ * @throws {RequiredError}
781
+ */
782
+ v1UpdateNodeComponents: (v1UpdateNodeComponentsRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
783
+ // verify required parameter 'v1UpdateNodeComponentsRequest' is not null or undefined
784
+ assertParamExists('v1UpdateNodeComponents', 'v1UpdateNodeComponentsRequest', v1UpdateNodeComponentsRequest);
785
+ const localVarPath = `/v1/node-components`;
786
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
787
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
788
+ let baseOptions;
789
+ if (configuration) {
790
+ baseOptions = configuration.baseOptions;
791
+ }
792
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
793
+ const localVarHeaderParameter = {};
794
+ const localVarQueryParameter = {};
795
+ // authentication Roles required
796
+ // authentication BearerToken required
797
+ // http bearer authentication required
798
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
799
+ localVarHeaderParameter['Content-Type'] = 'application/json';
800
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
801
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
802
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
803
+ localVarRequestOptions.data = serializeDataIfNeeded(v1UpdateNodeComponentsRequest, localVarRequestOptions, configuration);
804
+ return {
805
+ url: toPathString(localVarUrlObj),
806
+ options: localVarRequestOptions,
807
+ };
808
+ }),
686
809
  /**
687
810
  * Update node metrics.
688
811
  * @param {V1UpdateNodeMetricsRequest} v1UpdateNodeMetricsRequest
@@ -838,6 +961,18 @@ export const DefaultApiFp = function (configuration) {
838
961
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
839
962
  });
840
963
  },
964
+ /**
965
+ * Create node diagnostics.
966
+ * @param {Array<V1CreateNodeDiagnosticRequest>} v1CreateNodeDiagnosticRequest
967
+ * @param {*} [options] Override http request option.
968
+ * @throws {RequiredError}
969
+ */
970
+ v1CreateNodeDiagnostics(v1CreateNodeDiagnosticRequest, options) {
971
+ return __awaiter(this, void 0, void 0, function* () {
972
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateNodeDiagnostics(v1CreateNodeDiagnosticRequest, options);
973
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
974
+ });
975
+ },
841
976
  /**
842
977
  * Create an optical tube.
843
978
  * @param {V1CreateOpticalTubeRequest} v1CreateOpticalTubeRequest
@@ -897,6 +1032,18 @@ export const DefaultApiFp = function (configuration) {
897
1032
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
898
1033
  });
899
1034
  },
1035
+ /**
1036
+ * Get node diagnostic tasks.
1037
+ * @param {string} nodeId
1038
+ * @param {*} [options] Override http request option.
1039
+ * @throws {RequiredError}
1040
+ */
1041
+ v1GetNodeDiagnosticTasks(nodeId, options) {
1042
+ return __awaiter(this, void 0, void 0, function* () {
1043
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetNodeDiagnosticTasks(nodeId, options);
1044
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1045
+ });
1046
+ },
900
1047
  /**
901
1048
  * Get node properties.
902
1049
  * @param {string} nodeId
@@ -958,6 +1105,18 @@ export const DefaultApiFp = function (configuration) {
958
1105
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
959
1106
  });
960
1107
  },
1108
+ /**
1109
+ * Update node components.
1110
+ * @param {V1UpdateNodeComponentsRequest} v1UpdateNodeComponentsRequest
1111
+ * @param {*} [options] Override http request option.
1112
+ * @throws {RequiredError}
1113
+ */
1114
+ v1UpdateNodeComponents(v1UpdateNodeComponentsRequest, options) {
1115
+ return __awaiter(this, void 0, void 0, function* () {
1116
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1UpdateNodeComponents(v1UpdateNodeComponentsRequest, options);
1117
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1118
+ });
1119
+ },
961
1120
  /**
962
1121
  * Update node metrics.
963
1122
  * @param {V1UpdateNodeMetricsRequest} v1UpdateNodeMetricsRequest
@@ -1045,6 +1204,15 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
1045
1204
  v1CreateMount(requestParameters, options) {
1046
1205
  return localVarFp.v1CreateMount(requestParameters.v1CreateMountRequest, options).then((request) => request(axios, basePath));
1047
1206
  },
1207
+ /**
1208
+ * Create node diagnostics.
1209
+ * @param {DefaultApiV1CreateNodeDiagnosticsRequest} requestParameters Request parameters.
1210
+ * @param {*} [options] Override http request option.
1211
+ * @throws {RequiredError}
1212
+ */
1213
+ v1CreateNodeDiagnostics(requestParameters, options) {
1214
+ return localVarFp.v1CreateNodeDiagnostics(requestParameters.v1CreateNodeDiagnosticRequest, options).then((request) => request(axios, basePath));
1215
+ },
1048
1216
  /**
1049
1217
  * Create an optical tube.
1050
1218
  * @param {DefaultApiV1CreateOpticalTubeRequest} requestParameters Request parameters.
@@ -1089,6 +1257,15 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
1089
1257
  v1GetMount(requestParameters, options) {
1090
1258
  return localVarFp.v1GetMount(requestParameters.id, options).then((request) => request(axios, basePath));
1091
1259
  },
1260
+ /**
1261
+ * Get node diagnostic tasks.
1262
+ * @param {DefaultApiV1GetNodeDiagnosticTasksRequest} requestParameters Request parameters.
1263
+ * @param {*} [options] Override http request option.
1264
+ * @throws {RequiredError}
1265
+ */
1266
+ v1GetNodeDiagnosticTasks(requestParameters, options) {
1267
+ return localVarFp.v1GetNodeDiagnosticTasks(requestParameters.nodeId, options).then((request) => request(axios, basePath));
1268
+ },
1092
1269
  /**
1093
1270
  * Get node properties.
1094
1271
  * @param {DefaultApiV1GetNodePropertiesRequest} requestParameters Request parameters.
@@ -1133,6 +1310,15 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
1133
1310
  v1OpticalTubeMatch(requestParameters = {}, options) {
1134
1311
  return localVarFp.v1OpticalTubeMatch(requestParameters.model, requestParameters.focalLengthMm, requestParameters.apertureMm, options).then((request) => request(axios, basePath));
1135
1312
  },
1313
+ /**
1314
+ * Update node components.
1315
+ * @param {DefaultApiV1UpdateNodeComponentsRequest} requestParameters Request parameters.
1316
+ * @param {*} [options] Override http request option.
1317
+ * @throws {RequiredError}
1318
+ */
1319
+ v1UpdateNodeComponents(requestParameters, options) {
1320
+ return localVarFp.v1UpdateNodeComponents(requestParameters.v1UpdateNodeComponentsRequest, options).then((request) => request(axios, basePath));
1321
+ },
1136
1322
  /**
1137
1323
  * Update node metrics.
1138
1324
  * @param {DefaultApiV1UpdateNodeMetricsRequest} requestParameters Request parameters.
@@ -1220,6 +1406,16 @@ export class DefaultApi extends BaseAPI {
1220
1406
  v1CreateMount(requestParameters, options) {
1221
1407
  return DefaultApiFp(this.configuration).v1CreateMount(requestParameters.v1CreateMountRequest, options).then((request) => request(this.axios, this.basePath));
1222
1408
  }
1409
+ /**
1410
+ * Create node diagnostics.
1411
+ * @param {DefaultApiV1CreateNodeDiagnosticsRequest} requestParameters Request parameters.
1412
+ * @param {*} [options] Override http request option.
1413
+ * @throws {RequiredError}
1414
+ * @memberof DefaultApi
1415
+ */
1416
+ v1CreateNodeDiagnostics(requestParameters, options) {
1417
+ return DefaultApiFp(this.configuration).v1CreateNodeDiagnostics(requestParameters.v1CreateNodeDiagnosticRequest, options).then((request) => request(this.axios, this.basePath));
1418
+ }
1223
1419
  /**
1224
1420
  * Create an optical tube.
1225
1421
  * @param {DefaultApiV1CreateOpticalTubeRequest} requestParameters Request parameters.
@@ -1269,6 +1465,16 @@ export class DefaultApi extends BaseAPI {
1269
1465
  v1GetMount(requestParameters, options) {
1270
1466
  return DefaultApiFp(this.configuration).v1GetMount(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
1271
1467
  }
1468
+ /**
1469
+ * Get node diagnostic tasks.
1470
+ * @param {DefaultApiV1GetNodeDiagnosticTasksRequest} requestParameters Request parameters.
1471
+ * @param {*} [options] Override http request option.
1472
+ * @throws {RequiredError}
1473
+ * @memberof DefaultApi
1474
+ */
1475
+ v1GetNodeDiagnosticTasks(requestParameters, options) {
1476
+ return DefaultApiFp(this.configuration).v1GetNodeDiagnosticTasks(requestParameters.nodeId, options).then((request) => request(this.axios, this.basePath));
1477
+ }
1272
1478
  /**
1273
1479
  * Get node properties.
1274
1480
  * @param {DefaultApiV1GetNodePropertiesRequest} requestParameters Request parameters.
@@ -1318,6 +1524,16 @@ export class DefaultApi extends BaseAPI {
1318
1524
  v1OpticalTubeMatch(requestParameters = {}, options) {
1319
1525
  return DefaultApiFp(this.configuration).v1OpticalTubeMatch(requestParameters.model, requestParameters.focalLengthMm, requestParameters.apertureMm, options).then((request) => request(this.axios, this.basePath));
1320
1526
  }
1527
+ /**
1528
+ * Update node components.
1529
+ * @param {DefaultApiV1UpdateNodeComponentsRequest} requestParameters Request parameters.
1530
+ * @param {*} [options] Override http request option.
1531
+ * @throws {RequiredError}
1532
+ * @memberof DefaultApi
1533
+ */
1534
+ v1UpdateNodeComponents(requestParameters, options) {
1535
+ return DefaultApiFp(this.configuration).v1UpdateNodeComponents(requestParameters.v1UpdateNodeComponentsRequest, options).then((request) => request(this.axios, this.basePath));
1536
+ }
1321
1537
  /**
1322
1538
  * Update node metrics.
1323
1539
  * @param {DefaultApiV1UpdateNodeMetricsRequest} requestParameters Request parameters.
@@ -2,7 +2,7 @@
2
2
  * OurSky Platform
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.3.1856
5
+ * The version of the OpenAPI document: 1.3.1905
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/base.js 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).
@@ -2,7 +2,7 @@
2
2
  * OurSky Platform
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.3.1856
5
+ * The version of the OpenAPI document: 1.3.1905
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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).
@@ -2,7 +2,7 @@
2
2
  * OurSky Platform
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.3.1856
5
+ * The version of the OpenAPI document: 1.3.1905
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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).
@@ -2,7 +2,7 @@
2
2
  * OurSky Platform
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.3.1856
5
+ * The version of the OpenAPI document: 1.3.1905
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/index.js 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).
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * OurSky Platform
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.3.1856
5
+ * The version of the OpenAPI document: 1.3.1905
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * OurSky Platform
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.3.1856
8
+ * The version of the OpenAPI document: 1.3.1905
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/index.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).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ourskyai/platform-api",
3
- "version": "1.3.1856",
3
+ "version": "1.3.1905",
4
4
  "description": "OpenAPI client for @ourskyai/platform-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {