@ourskyai/platform-api 1.3.2251 → 1.3.2298

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @ourskyai/platform-api@1.3.2251
1
+ ## @ourskyai/platform-api@1.3.2298
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @ourskyai/platform-api@1.3.2251 --save
39
+ npm install @ourskyai/platform-api@1.3.2298 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
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.2251
7
+ * The version of the OpenAPI document: 1.3.2298
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1303,7 +1303,8 @@ export interface V1Node {
1303
1303
  export const V1NodeComponentType = {
1304
1304
  CAMERA: 'CAMERA',
1305
1305
  MOUNT: 'MOUNT',
1306
- OPTICAL_TUBE: 'OPTICAL_TUBE'
1306
+ OPTICAL_TUBE: 'OPTICAL_TUBE',
1307
+ COMPUTER: 'COMPUTER'
1307
1308
  } as const;
1308
1309
 
1309
1310
  export type V1NodeComponentType = typeof V1NodeComponentType[keyof typeof V1NodeComponentType];
@@ -1328,7 +1329,10 @@ export const V1NodeDiagnosticType = {
1328
1329
  CAMERA_CHECKED: 'CAMERA_CHECKED',
1329
1330
  MOUNT_CHECKED: 'MOUNT_CHECKED',
1330
1331
  OPTICAL_TUBE_CHECKED: 'OPTICAL_TUBE_CHECKED',
1331
- ELEVATION_MASK_CHECKED: 'ELEVATION_MASK_CHECKED'
1332
+ ELEVATION_MASK_CHECKED: 'ELEVATION_MASK_CHECKED',
1333
+ AVAILABLE_DISK_BYTES: 'AVAILABLE_DISK_BYTES',
1334
+ AVAILABLE_MEMORY_BYTES: 'AVAILABLE_MEMORY_BYTES',
1335
+ NTP_TIME_DRIFT_MS: 'NTP_TIME_DRIFT_MS'
1332
1336
  } as const;
1333
1337
 
1334
1338
  export type V1NodeDiagnosticType = typeof V1NodeDiagnosticType[keyof typeof V1NodeDiagnosticType];
@@ -2621,10 +2625,11 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
2621
2625
  /**
2622
2626
  * Get node diagnostic tasks.
2623
2627
  * @param {string} nodeId
2628
+ * @param {Array<V1NodeDiagnosticType>} [supportedDiagnostics]
2624
2629
  * @param {*} [options] Override http request option.
2625
2630
  * @throws {RequiredError}
2626
2631
  */
2627
- v1GetNodeDiagnosticTasks: async (nodeId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2632
+ v1GetNodeDiagnosticTasks: async (nodeId: string, supportedDiagnostics?: Array<V1NodeDiagnosticType>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2628
2633
  // verify required parameter 'nodeId' is not null or undefined
2629
2634
  assertParamExists('v1GetNodeDiagnosticTasks', 'nodeId', nodeId)
2630
2635
  const localVarPath = `/v1/node-diagnostic-tasks`;
@@ -2649,6 +2654,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
2649
2654
  localVarQueryParameter['nodeId'] = nodeId;
2650
2655
  }
2651
2656
 
2657
+ if (supportedDiagnostics) {
2658
+ localVarQueryParameter['supportedDiagnostics'] = supportedDiagnostics.join(COLLECTION_FORMATS.csv);
2659
+ }
2660
+
2652
2661
 
2653
2662
 
2654
2663
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -3367,11 +3376,12 @@ export const DefaultApiFp = function(configuration?: Configuration) {
3367
3376
  /**
3368
3377
  * Get node diagnostic tasks.
3369
3378
  * @param {string} nodeId
3379
+ * @param {Array<V1NodeDiagnosticType>} [supportedDiagnostics]
3370
3380
  * @param {*} [options] Override http request option.
3371
3381
  * @throws {RequiredError}
3372
3382
  */
3373
- async v1GetNodeDiagnosticTasks(nodeId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1NodeDiagnosticType>>> {
3374
- const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetNodeDiagnosticTasks(nodeId, options);
3383
+ async v1GetNodeDiagnosticTasks(nodeId: string, supportedDiagnostics?: Array<V1NodeDiagnosticType>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1NodeDiagnosticType>>> {
3384
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetNodeDiagnosticTasks(nodeId, supportedDiagnostics, options);
3375
3385
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3376
3386
  },
3377
3387
  /**
@@ -3656,7 +3666,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
3656
3666
  * @throws {RequiredError}
3657
3667
  */
3658
3668
  v1GetNodeDiagnosticTasks(requestParameters: DefaultApiV1GetNodeDiagnosticTasksRequest, options?: AxiosRequestConfig): AxiosPromise<Array<V1NodeDiagnosticType>> {
3659
- return localVarFp.v1GetNodeDiagnosticTasks(requestParameters.nodeId, options).then((request) => request(axios, basePath));
3669
+ return localVarFp.v1GetNodeDiagnosticTasks(requestParameters.nodeId, requestParameters.supportedDiagnostics, options).then((request) => request(axios, basePath));
3660
3670
  },
3661
3671
  /**
3662
3672
  * Get node properties.
@@ -4034,6 +4044,13 @@ export interface DefaultApiV1GetNodeDiagnosticTasksRequest {
4034
4044
  * @memberof DefaultApiV1GetNodeDiagnosticTasks
4035
4045
  */
4036
4046
  readonly nodeId: string
4047
+
4048
+ /**
4049
+ *
4050
+ * @type {Array<V1NodeDiagnosticType>}
4051
+ * @memberof DefaultApiV1GetNodeDiagnosticTasks
4052
+ */
4053
+ readonly supportedDiagnostics?: Array<V1NodeDiagnosticType>
4037
4054
  }
4038
4055
 
4039
4056
  /**
@@ -4397,7 +4414,7 @@ export class DefaultApi extends BaseAPI {
4397
4414
  * @memberof DefaultApi
4398
4415
  */
4399
4416
  public v1GetNodeDiagnosticTasks(requestParameters: DefaultApiV1GetNodeDiagnosticTasksRequest, options?: AxiosRequestConfig) {
4400
- return DefaultApiFp(this.configuration).v1GetNodeDiagnosticTasks(requestParameters.nodeId, options).then((request) => request(this.axios, this.basePath));
4417
+ return DefaultApiFp(this.configuration).v1GetNodeDiagnosticTasks(requestParameters.nodeId, requestParameters.supportedDiagnostics, options).then((request) => request(this.axios, this.basePath));
4401
4418
  }
4402
4419
 
4403
4420
  /**
package/base.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.2251
7
+ * The version of the OpenAPI document: 1.3.2298
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.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.2251
7
+ * The version of the OpenAPI document: 1.3.2298
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.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.2251
7
+ * The version of the OpenAPI document: 1.3.2298
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api.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.2251
5
+ * The version of the OpenAPI document: 1.3.2298
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1237,6 +1237,7 @@ export declare const V1NodeComponentType: {
1237
1237
  readonly CAMERA: "CAMERA";
1238
1238
  readonly MOUNT: "MOUNT";
1239
1239
  readonly OPTICAL_TUBE: "OPTICAL_TUBE";
1240
+ readonly COMPUTER: "COMPUTER";
1240
1241
  };
1241
1242
  export type V1NodeComponentType = typeof V1NodeComponentType[keyof typeof V1NodeComponentType];
1242
1243
  /**
@@ -1258,6 +1259,9 @@ export declare const V1NodeDiagnosticType: {
1258
1259
  readonly MOUNT_CHECKED: "MOUNT_CHECKED";
1259
1260
  readonly OPTICAL_TUBE_CHECKED: "OPTICAL_TUBE_CHECKED";
1260
1261
  readonly ELEVATION_MASK_CHECKED: "ELEVATION_MASK_CHECKED";
1262
+ readonly AVAILABLE_DISK_BYTES: "AVAILABLE_DISK_BYTES";
1263
+ readonly AVAILABLE_MEMORY_BYTES: "AVAILABLE_MEMORY_BYTES";
1264
+ readonly NTP_TIME_DRIFT_MS: "NTP_TIME_DRIFT_MS";
1261
1265
  };
1262
1266
  export type V1NodeDiagnosticType = typeof V1NodeDiagnosticType[keyof typeof V1NodeDiagnosticType];
1263
1267
  /**
@@ -1998,10 +2002,11 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1998
2002
  /**
1999
2003
  * Get node diagnostic tasks.
2000
2004
  * @param {string} nodeId
2005
+ * @param {Array<V1NodeDiagnosticType>} [supportedDiagnostics]
2001
2006
  * @param {*} [options] Override http request option.
2002
2007
  * @throws {RequiredError}
2003
2008
  */
2004
- v1GetNodeDiagnosticTasks: (nodeId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2009
+ v1GetNodeDiagnosticTasks: (nodeId: string, supportedDiagnostics?: Array<V1NodeDiagnosticType>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2005
2010
  /**
2006
2011
  * Get node properties.
2007
2012
  * @param {string} nodeId
@@ -2214,10 +2219,11 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2214
2219
  /**
2215
2220
  * Get node diagnostic tasks.
2216
2221
  * @param {string} nodeId
2222
+ * @param {Array<V1NodeDiagnosticType>} [supportedDiagnostics]
2217
2223
  * @param {*} [options] Override http request option.
2218
2224
  * @throws {RequiredError}
2219
2225
  */
2220
- v1GetNodeDiagnosticTasks(nodeId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1NodeDiagnosticType>>>;
2226
+ v1GetNodeDiagnosticTasks(nodeId: string, supportedDiagnostics?: Array<V1NodeDiagnosticType>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1NodeDiagnosticType>>>;
2221
2227
  /**
2222
2228
  * Get node properties.
2223
2229
  * @param {string} nodeId
@@ -2754,6 +2760,12 @@ export interface DefaultApiV1GetNodeDiagnosticTasksRequest {
2754
2760
  * @memberof DefaultApiV1GetNodeDiagnosticTasks
2755
2761
  */
2756
2762
  readonly nodeId: string;
2763
+ /**
2764
+ *
2765
+ * @type {Array<V1NodeDiagnosticType>}
2766
+ * @memberof DefaultApiV1GetNodeDiagnosticTasks
2767
+ */
2768
+ readonly supportedDiagnostics?: Array<V1NodeDiagnosticType>;
2757
2769
  }
2758
2770
  /**
2759
2771
  * Request parameters for v1GetNodeProperties operation in DefaultApi.
package/dist/api.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.2251
8
+ * The version of the OpenAPI document: 1.3.2298
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -132,7 +132,8 @@ exports.TrackingType = {
132
132
  exports.V1NodeComponentType = {
133
133
  CAMERA: 'CAMERA',
134
134
  MOUNT: 'MOUNT',
135
- OPTICAL_TUBE: 'OPTICAL_TUBE'
135
+ OPTICAL_TUBE: 'OPTICAL_TUBE',
136
+ COMPUTER: 'COMPUTER'
136
137
  };
137
138
  /**
138
139
  *
@@ -152,7 +153,10 @@ exports.V1NodeDiagnosticType = {
152
153
  CAMERA_CHECKED: 'CAMERA_CHECKED',
153
154
  MOUNT_CHECKED: 'MOUNT_CHECKED',
154
155
  OPTICAL_TUBE_CHECKED: 'OPTICAL_TUBE_CHECKED',
155
- ELEVATION_MASK_CHECKED: 'ELEVATION_MASK_CHECKED'
156
+ ELEVATION_MASK_CHECKED: 'ELEVATION_MASK_CHECKED',
157
+ AVAILABLE_DISK_BYTES: 'AVAILABLE_DISK_BYTES',
158
+ AVAILABLE_MEMORY_BYTES: 'AVAILABLE_MEMORY_BYTES',
159
+ NTP_TIME_DRIFT_MS: 'NTP_TIME_DRIFT_MS'
156
160
  };
157
161
  /**
158
162
  * DefaultApi - axios parameter creator
@@ -685,10 +689,11 @@ const DefaultApiAxiosParamCreator = function (configuration) {
685
689
  /**
686
690
  * Get node diagnostic tasks.
687
691
  * @param {string} nodeId
692
+ * @param {Array<V1NodeDiagnosticType>} [supportedDiagnostics]
688
693
  * @param {*} [options] Override http request option.
689
694
  * @throws {RequiredError}
690
695
  */
691
- v1GetNodeDiagnosticTasks: (nodeId, options = {}) => __awaiter(this, void 0, void 0, function* () {
696
+ v1GetNodeDiagnosticTasks: (nodeId, supportedDiagnostics, options = {}) => __awaiter(this, void 0, void 0, function* () {
692
697
  // verify required parameter 'nodeId' is not null or undefined
693
698
  (0, common_1.assertParamExists)('v1GetNodeDiagnosticTasks', 'nodeId', nodeId);
694
699
  const localVarPath = `/v1/node-diagnostic-tasks`;
@@ -708,6 +713,9 @@ const DefaultApiAxiosParamCreator = function (configuration) {
708
713
  if (nodeId !== undefined) {
709
714
  localVarQueryParameter['nodeId'] = nodeId;
710
715
  }
716
+ if (supportedDiagnostics) {
717
+ localVarQueryParameter['supportedDiagnostics'] = supportedDiagnostics.join(base_1.COLLECTION_FORMATS.csv);
718
+ }
711
719
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
712
720
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
713
721
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1348,12 +1356,13 @@ const DefaultApiFp = function (configuration) {
1348
1356
  /**
1349
1357
  * Get node diagnostic tasks.
1350
1358
  * @param {string} nodeId
1359
+ * @param {Array<V1NodeDiagnosticType>} [supportedDiagnostics]
1351
1360
  * @param {*} [options] Override http request option.
1352
1361
  * @throws {RequiredError}
1353
1362
  */
1354
- v1GetNodeDiagnosticTasks(nodeId, options) {
1363
+ v1GetNodeDiagnosticTasks(nodeId, supportedDiagnostics, options) {
1355
1364
  return __awaiter(this, void 0, void 0, function* () {
1356
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetNodeDiagnosticTasks(nodeId, options);
1365
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetNodeDiagnosticTasks(nodeId, supportedDiagnostics, options);
1357
1366
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1358
1367
  });
1359
1368
  },
@@ -1665,7 +1674,7 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
1665
1674
  * @throws {RequiredError}
1666
1675
  */
1667
1676
  v1GetNodeDiagnosticTasks(requestParameters, options) {
1668
- return localVarFp.v1GetNodeDiagnosticTasks(requestParameters.nodeId, options).then((request) => request(axios, basePath));
1677
+ return localVarFp.v1GetNodeDiagnosticTasks(requestParameters.nodeId, requestParameters.supportedDiagnostics, options).then((request) => request(axios, basePath));
1669
1678
  },
1670
1679
  /**
1671
1680
  * Get node properties.
@@ -1950,7 +1959,7 @@ class DefaultApi extends base_1.BaseAPI {
1950
1959
  * @memberof DefaultApi
1951
1960
  */
1952
1961
  v1GetNodeDiagnosticTasks(requestParameters, options) {
1953
- return (0, exports.DefaultApiFp)(this.configuration).v1GetNodeDiagnosticTasks(requestParameters.nodeId, options).then((request) => request(this.axios, this.basePath));
1962
+ return (0, exports.DefaultApiFp)(this.configuration).v1GetNodeDiagnosticTasks(requestParameters.nodeId, requestParameters.supportedDiagnostics, options).then((request) => request(this.axios, this.basePath));
1954
1963
  }
1955
1964
  /**
1956
1965
  * Get node properties.
package/dist/base.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.2251
5
+ * The version of the OpenAPI document: 1.3.2298
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.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.2251
8
+ * The version of the OpenAPI document: 1.3.2298
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.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.2251
5
+ * The version of the OpenAPI document: 1.3.2298
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.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.2251
8
+ * The version of the OpenAPI document: 1.3.2298
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
  * 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.2251
5
+ * The version of the OpenAPI document: 1.3.2298
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
  * 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.2251
8
+ * The version of the OpenAPI document: 1.3.2298
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/api.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.2251
5
+ * The version of the OpenAPI document: 1.3.2298
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1237,6 +1237,7 @@ export declare const V1NodeComponentType: {
1237
1237
  readonly CAMERA: "CAMERA";
1238
1238
  readonly MOUNT: "MOUNT";
1239
1239
  readonly OPTICAL_TUBE: "OPTICAL_TUBE";
1240
+ readonly COMPUTER: "COMPUTER";
1240
1241
  };
1241
1242
  export type V1NodeComponentType = typeof V1NodeComponentType[keyof typeof V1NodeComponentType];
1242
1243
  /**
@@ -1258,6 +1259,9 @@ export declare const V1NodeDiagnosticType: {
1258
1259
  readonly MOUNT_CHECKED: "MOUNT_CHECKED";
1259
1260
  readonly OPTICAL_TUBE_CHECKED: "OPTICAL_TUBE_CHECKED";
1260
1261
  readonly ELEVATION_MASK_CHECKED: "ELEVATION_MASK_CHECKED";
1262
+ readonly AVAILABLE_DISK_BYTES: "AVAILABLE_DISK_BYTES";
1263
+ readonly AVAILABLE_MEMORY_BYTES: "AVAILABLE_MEMORY_BYTES";
1264
+ readonly NTP_TIME_DRIFT_MS: "NTP_TIME_DRIFT_MS";
1261
1265
  };
1262
1266
  export type V1NodeDiagnosticType = typeof V1NodeDiagnosticType[keyof typeof V1NodeDiagnosticType];
1263
1267
  /**
@@ -1998,10 +2002,11 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1998
2002
  /**
1999
2003
  * Get node diagnostic tasks.
2000
2004
  * @param {string} nodeId
2005
+ * @param {Array<V1NodeDiagnosticType>} [supportedDiagnostics]
2001
2006
  * @param {*} [options] Override http request option.
2002
2007
  * @throws {RequiredError}
2003
2008
  */
2004
- v1GetNodeDiagnosticTasks: (nodeId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2009
+ v1GetNodeDiagnosticTasks: (nodeId: string, supportedDiagnostics?: Array<V1NodeDiagnosticType>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2005
2010
  /**
2006
2011
  * Get node properties.
2007
2012
  * @param {string} nodeId
@@ -2214,10 +2219,11 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2214
2219
  /**
2215
2220
  * Get node diagnostic tasks.
2216
2221
  * @param {string} nodeId
2222
+ * @param {Array<V1NodeDiagnosticType>} [supportedDiagnostics]
2217
2223
  * @param {*} [options] Override http request option.
2218
2224
  * @throws {RequiredError}
2219
2225
  */
2220
- v1GetNodeDiagnosticTasks(nodeId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1NodeDiagnosticType>>>;
2226
+ v1GetNodeDiagnosticTasks(nodeId: string, supportedDiagnostics?: Array<V1NodeDiagnosticType>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1NodeDiagnosticType>>>;
2221
2227
  /**
2222
2228
  * Get node properties.
2223
2229
  * @param {string} nodeId
@@ -2754,6 +2760,12 @@ export interface DefaultApiV1GetNodeDiagnosticTasksRequest {
2754
2760
  * @memberof DefaultApiV1GetNodeDiagnosticTasks
2755
2761
  */
2756
2762
  readonly nodeId: string;
2763
+ /**
2764
+ *
2765
+ * @type {Array<V1NodeDiagnosticType>}
2766
+ * @memberof DefaultApiV1GetNodeDiagnosticTasks
2767
+ */
2768
+ readonly supportedDiagnostics?: Array<V1NodeDiagnosticType>;
2757
2769
  }
2758
2770
  /**
2759
2771
  * Request parameters for v1GetNodeProperties operation in DefaultApi.
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.2251
7
+ * The version of the OpenAPI document: 1.3.2298
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -25,7 +25,7 @@ import globalAxios from 'axios';
25
25
  // @ts-ignore
26
26
  import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
27
27
  // @ts-ignore
28
- import { BASE_PATH, BaseAPI } from './base';
28
+ import { BASE_PATH, COLLECTION_FORMATS, BaseAPI } from './base';
29
29
  /**
30
30
  *
31
31
  * @export
@@ -129,7 +129,8 @@ export const TrackingType = {
129
129
  export const V1NodeComponentType = {
130
130
  CAMERA: 'CAMERA',
131
131
  MOUNT: 'MOUNT',
132
- OPTICAL_TUBE: 'OPTICAL_TUBE'
132
+ OPTICAL_TUBE: 'OPTICAL_TUBE',
133
+ COMPUTER: 'COMPUTER'
133
134
  };
134
135
  /**
135
136
  *
@@ -149,7 +150,10 @@ export const V1NodeDiagnosticType = {
149
150
  CAMERA_CHECKED: 'CAMERA_CHECKED',
150
151
  MOUNT_CHECKED: 'MOUNT_CHECKED',
151
152
  OPTICAL_TUBE_CHECKED: 'OPTICAL_TUBE_CHECKED',
152
- ELEVATION_MASK_CHECKED: 'ELEVATION_MASK_CHECKED'
153
+ ELEVATION_MASK_CHECKED: 'ELEVATION_MASK_CHECKED',
154
+ AVAILABLE_DISK_BYTES: 'AVAILABLE_DISK_BYTES',
155
+ AVAILABLE_MEMORY_BYTES: 'AVAILABLE_MEMORY_BYTES',
156
+ NTP_TIME_DRIFT_MS: 'NTP_TIME_DRIFT_MS'
153
157
  };
154
158
  /**
155
159
  * DefaultApi - axios parameter creator
@@ -682,10 +686,11 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
682
686
  /**
683
687
  * Get node diagnostic tasks.
684
688
  * @param {string} nodeId
689
+ * @param {Array<V1NodeDiagnosticType>} [supportedDiagnostics]
685
690
  * @param {*} [options] Override http request option.
686
691
  * @throws {RequiredError}
687
692
  */
688
- v1GetNodeDiagnosticTasks: (nodeId, options = {}) => __awaiter(this, void 0, void 0, function* () {
693
+ v1GetNodeDiagnosticTasks: (nodeId, supportedDiagnostics, options = {}) => __awaiter(this, void 0, void 0, function* () {
689
694
  // verify required parameter 'nodeId' is not null or undefined
690
695
  assertParamExists('v1GetNodeDiagnosticTasks', 'nodeId', nodeId);
691
696
  const localVarPath = `/v1/node-diagnostic-tasks`;
@@ -705,6 +710,9 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
705
710
  if (nodeId !== undefined) {
706
711
  localVarQueryParameter['nodeId'] = nodeId;
707
712
  }
713
+ if (supportedDiagnostics) {
714
+ localVarQueryParameter['supportedDiagnostics'] = supportedDiagnostics.join(COLLECTION_FORMATS.csv);
715
+ }
708
716
  setSearchParams(localVarUrlObj, localVarQueryParameter);
709
717
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
710
718
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1344,12 +1352,13 @@ export const DefaultApiFp = function (configuration) {
1344
1352
  /**
1345
1353
  * Get node diagnostic tasks.
1346
1354
  * @param {string} nodeId
1355
+ * @param {Array<V1NodeDiagnosticType>} [supportedDiagnostics]
1347
1356
  * @param {*} [options] Override http request option.
1348
1357
  * @throws {RequiredError}
1349
1358
  */
1350
- v1GetNodeDiagnosticTasks(nodeId, options) {
1359
+ v1GetNodeDiagnosticTasks(nodeId, supportedDiagnostics, options) {
1351
1360
  return __awaiter(this, void 0, void 0, function* () {
1352
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetNodeDiagnosticTasks(nodeId, options);
1361
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetNodeDiagnosticTasks(nodeId, supportedDiagnostics, options);
1353
1362
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1354
1363
  });
1355
1364
  },
@@ -1660,7 +1669,7 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
1660
1669
  * @throws {RequiredError}
1661
1670
  */
1662
1671
  v1GetNodeDiagnosticTasks(requestParameters, options) {
1663
- return localVarFp.v1GetNodeDiagnosticTasks(requestParameters.nodeId, options).then((request) => request(axios, basePath));
1672
+ return localVarFp.v1GetNodeDiagnosticTasks(requestParameters.nodeId, requestParameters.supportedDiagnostics, options).then((request) => request(axios, basePath));
1664
1673
  },
1665
1674
  /**
1666
1675
  * Get node properties.
@@ -1944,7 +1953,7 @@ export class DefaultApi extends BaseAPI {
1944
1953
  * @memberof DefaultApi
1945
1954
  */
1946
1955
  v1GetNodeDiagnosticTasks(requestParameters, options) {
1947
- return DefaultApiFp(this.configuration).v1GetNodeDiagnosticTasks(requestParameters.nodeId, options).then((request) => request(this.axios, this.basePath));
1956
+ return DefaultApiFp(this.configuration).v1GetNodeDiagnosticTasks(requestParameters.nodeId, requestParameters.supportedDiagnostics, options).then((request) => request(this.axios, this.basePath));
1948
1957
  }
1949
1958
  /**
1950
1959
  * Get node properties.
@@ -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.2251
5
+ * The version of the OpenAPI document: 1.3.2298
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.2251
7
+ * The version of the OpenAPI document: 1.3.2298
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.2251
5
+ * The version of the OpenAPI document: 1.3.2298
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.2251
7
+ * The version of the OpenAPI document: 1.3.2298
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.2251
5
+ * The version of the OpenAPI document: 1.3.2298
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.2251
7
+ * The version of the OpenAPI document: 1.3.2298
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.2251
5
+ * The version of the OpenAPI document: 1.3.2298
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.2251
7
+ * The version of the OpenAPI document: 1.3.2298
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.2251
5
+ * The version of the OpenAPI document: 1.3.2298
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.2251
8
+ * The version of the OpenAPI document: 1.3.2298
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.2251
7
+ * The version of the OpenAPI document: 1.3.2298
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.2251",
3
+ "version": "1.3.2298",
4
4
  "description": "OpenAPI client for @ourskyai/platform-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {