@ourskyai/platform-api 1.3.2407 → 1.3.2584
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 +2 -2
- package/api.ts +387 -2
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +294 -1
- package/dist/api.js +136 -2
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +294 -1
- package/dist/esm/api.js +136 -2
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
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.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.2584
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -478,6 +478,31 @@ export interface V1CreateNodeRequest {
|
|
|
478
478
|
*/
|
|
479
479
|
'location': Location;
|
|
480
480
|
}
|
|
481
|
+
/**
|
|
482
|
+
*
|
|
483
|
+
* @export
|
|
484
|
+
* @interface V1CreateObservationInstructionRequest
|
|
485
|
+
*/
|
|
486
|
+
export interface V1CreateObservationInstructionRequest {
|
|
487
|
+
/**
|
|
488
|
+
*
|
|
489
|
+
* @type {string}
|
|
490
|
+
* @memberof V1CreateObservationInstructionRequest
|
|
491
|
+
*/
|
|
492
|
+
'nodeId': string;
|
|
493
|
+
/**
|
|
494
|
+
*
|
|
495
|
+
* @type {string}
|
|
496
|
+
* @memberof V1CreateObservationInstructionRequest
|
|
497
|
+
*/
|
|
498
|
+
'targetId': string;
|
|
499
|
+
/**
|
|
500
|
+
*
|
|
501
|
+
* @type {TrackingType}
|
|
502
|
+
* @memberof V1CreateObservationInstructionRequest
|
|
503
|
+
*/
|
|
504
|
+
'trackingType': TrackingType;
|
|
505
|
+
}
|
|
481
506
|
/**
|
|
482
507
|
*
|
|
483
508
|
* @export
|
|
@@ -509,6 +534,19 @@ export interface V1CreateOpticalTubeRequest {
|
|
|
509
534
|
*/
|
|
510
535
|
'type'?: OpticalTubeType;
|
|
511
536
|
}
|
|
537
|
+
/**
|
|
538
|
+
* Diagnostic Instruction
|
|
539
|
+
* @export
|
|
540
|
+
* @interface V1DiagnosticInstruction
|
|
541
|
+
*/
|
|
542
|
+
export interface V1DiagnosticInstruction {
|
|
543
|
+
/**
|
|
544
|
+
*
|
|
545
|
+
* @type {V1NodeDiagnosticType}
|
|
546
|
+
* @memberof V1DiagnosticInstruction
|
|
547
|
+
*/
|
|
548
|
+
'diagnosticType': V1NodeDiagnosticType;
|
|
549
|
+
}
|
|
512
550
|
/**
|
|
513
551
|
* Elevation Mask Point
|
|
514
552
|
* @export
|
|
@@ -578,6 +616,25 @@ export interface V1GainCurvePoint {
|
|
|
578
616
|
*/
|
|
579
617
|
'eADU': number;
|
|
580
618
|
}
|
|
619
|
+
/**
|
|
620
|
+
*
|
|
621
|
+
* @export
|
|
622
|
+
* @interface V1GetInstructionRequest
|
|
623
|
+
*/
|
|
624
|
+
export interface V1GetInstructionRequest {
|
|
625
|
+
/**
|
|
626
|
+
*
|
|
627
|
+
* @type {string}
|
|
628
|
+
* @memberof V1GetInstructionRequest
|
|
629
|
+
*/
|
|
630
|
+
'nodeId': string;
|
|
631
|
+
/**
|
|
632
|
+
*
|
|
633
|
+
* @type {Array<V1NodeDiagnosticType>}
|
|
634
|
+
* @memberof V1GetInstructionRequest
|
|
635
|
+
*/
|
|
636
|
+
'supportedDiagnostics': Array<V1NodeDiagnosticType>;
|
|
637
|
+
}
|
|
581
638
|
/**
|
|
582
639
|
*
|
|
583
640
|
* @export
|
|
@@ -1089,6 +1146,31 @@ export interface V1ImageSetImage {
|
|
|
1089
1146
|
*/
|
|
1090
1147
|
'exposureLength': number;
|
|
1091
1148
|
}
|
|
1149
|
+
/**
|
|
1150
|
+
* Instruction
|
|
1151
|
+
* @export
|
|
1152
|
+
* @interface V1Instruction
|
|
1153
|
+
*/
|
|
1154
|
+
export interface V1Instruction {
|
|
1155
|
+
/**
|
|
1156
|
+
*
|
|
1157
|
+
* @type {V1ObservationInstruction}
|
|
1158
|
+
* @memberof V1Instruction
|
|
1159
|
+
*/
|
|
1160
|
+
'observation'?: V1ObservationInstruction;
|
|
1161
|
+
/**
|
|
1162
|
+
*
|
|
1163
|
+
* @type {V1DiagnosticInstruction}
|
|
1164
|
+
* @memberof V1Instruction
|
|
1165
|
+
*/
|
|
1166
|
+
'diagnostic'?: V1DiagnosticInstruction;
|
|
1167
|
+
/**
|
|
1168
|
+
* Search Instruction
|
|
1169
|
+
* @type {Array<V1ObservationInstruction>}
|
|
1170
|
+
* @memberof V1Instruction
|
|
1171
|
+
*/
|
|
1172
|
+
'search'?: Array<V1ObservationInstruction>;
|
|
1173
|
+
}
|
|
1092
1174
|
/**
|
|
1093
1175
|
*
|
|
1094
1176
|
* @export
|
|
@@ -1252,12 +1334,18 @@ export declare const V1NodeDiagnosticType: {
|
|
|
1252
1334
|
readonly CENTERING_TIME_MS: "CENTERING_TIME_MS";
|
|
1253
1335
|
readonly POINTING_ERROR_DEGREES: "POINTING_ERROR_DEGREES";
|
|
1254
1336
|
readonly CAMERA_CHECKED: "CAMERA_CHECKED";
|
|
1337
|
+
readonly CAMERA_HAS_GPS: "CAMERA_HAS_GPS";
|
|
1255
1338
|
readonly MOUNT_CHECKED: "MOUNT_CHECKED";
|
|
1256
1339
|
readonly OPTICAL_TUBE_CHECKED: "OPTICAL_TUBE_CHECKED";
|
|
1257
1340
|
readonly ELEVATION_MASK_CHECKED: "ELEVATION_MASK_CHECKED";
|
|
1258
1341
|
readonly AVAILABLE_DISK_BYTES: "AVAILABLE_DISK_BYTES";
|
|
1259
1342
|
readonly AVAILABLE_MEMORY_BYTES: "AVAILABLE_MEMORY_BYTES";
|
|
1260
1343
|
readonly NTP_TIME_DRIFT_MS: "NTP_TIME_DRIFT_MS";
|
|
1344
|
+
readonly SYSTEM_UPTIME_S: "SYSTEM_UPTIME_S";
|
|
1345
|
+
readonly APPLICATION_UPTIME_S: "APPLICATION_UPTIME_S";
|
|
1346
|
+
readonly APPLICATION_CPU_TIME_S: "APPLICATION_CPU_TIME_S";
|
|
1347
|
+
readonly CPU_USAGE_LAST_SECOND_PCT: "CPU_USAGE_LAST_SECOND_PCT";
|
|
1348
|
+
readonly CPU_USAGE_LAST_MINUTE_PCT: "CPU_USAGE_LAST_MINUTE_PCT";
|
|
1261
1349
|
};
|
|
1262
1350
|
export type V1NodeDiagnosticType = typeof V1NodeDiagnosticType[keyof typeof V1NodeDiagnosticType];
|
|
1263
1351
|
/**
|
|
@@ -1279,6 +1367,127 @@ export interface V1NodeWithLocation {
|
|
|
1279
1367
|
*/
|
|
1280
1368
|
'location': Location;
|
|
1281
1369
|
}
|
|
1370
|
+
/**
|
|
1371
|
+
* Observation Instruction
|
|
1372
|
+
* @export
|
|
1373
|
+
* @interface V1ObservationInstruction
|
|
1374
|
+
*/
|
|
1375
|
+
export interface V1ObservationInstruction {
|
|
1376
|
+
/**
|
|
1377
|
+
*
|
|
1378
|
+
* @type {string}
|
|
1379
|
+
* @memberof V1ObservationInstruction
|
|
1380
|
+
*/
|
|
1381
|
+
'id': string;
|
|
1382
|
+
/**
|
|
1383
|
+
*
|
|
1384
|
+
* @type {string}
|
|
1385
|
+
* @memberof V1ObservationInstruction
|
|
1386
|
+
*/
|
|
1387
|
+
'imageSetId': string;
|
|
1388
|
+
/**
|
|
1389
|
+
*
|
|
1390
|
+
* @type {string}
|
|
1391
|
+
* @memberof V1ObservationInstruction
|
|
1392
|
+
*/
|
|
1393
|
+
'targetId': string;
|
|
1394
|
+
/**
|
|
1395
|
+
*
|
|
1396
|
+
* @type {TrackingType}
|
|
1397
|
+
* @memberof V1ObservationInstruction
|
|
1398
|
+
*/
|
|
1399
|
+
'trackingType': TrackingType;
|
|
1400
|
+
/**
|
|
1401
|
+
*
|
|
1402
|
+
* @type {number}
|
|
1403
|
+
* @memberof V1ObservationInstruction
|
|
1404
|
+
*/
|
|
1405
|
+
'exposureDuration': number;
|
|
1406
|
+
/**
|
|
1407
|
+
*
|
|
1408
|
+
* @type {number}
|
|
1409
|
+
* @memberof V1ObservationInstruction
|
|
1410
|
+
*/
|
|
1411
|
+
'binning': number;
|
|
1412
|
+
/**
|
|
1413
|
+
*
|
|
1414
|
+
* @type {number}
|
|
1415
|
+
* @memberof V1ObservationInstruction
|
|
1416
|
+
*/
|
|
1417
|
+
'gain': number;
|
|
1418
|
+
/**
|
|
1419
|
+
*
|
|
1420
|
+
* @type {number}
|
|
1421
|
+
* @memberof V1ObservationInstruction
|
|
1422
|
+
*/
|
|
1423
|
+
'gainMode': number;
|
|
1424
|
+
/**
|
|
1425
|
+
*
|
|
1426
|
+
* @type {number}
|
|
1427
|
+
* @memberof V1ObservationInstruction
|
|
1428
|
+
*/
|
|
1429
|
+
'ra': number;
|
|
1430
|
+
/**
|
|
1431
|
+
*
|
|
1432
|
+
* @type {number}
|
|
1433
|
+
* @memberof V1ObservationInstruction
|
|
1434
|
+
*/
|
|
1435
|
+
'dec': number;
|
|
1436
|
+
/**
|
|
1437
|
+
*
|
|
1438
|
+
* @type {string}
|
|
1439
|
+
* @memberof V1ObservationInstruction
|
|
1440
|
+
*/
|
|
1441
|
+
'captureStart': string;
|
|
1442
|
+
/**
|
|
1443
|
+
*
|
|
1444
|
+
* @type {string}
|
|
1445
|
+
* @memberof V1ObservationInstruction
|
|
1446
|
+
*/
|
|
1447
|
+
'captureEnd': string;
|
|
1448
|
+
/**
|
|
1449
|
+
*
|
|
1450
|
+
* @type {number}
|
|
1451
|
+
* @memberof V1ObservationInstruction
|
|
1452
|
+
*/
|
|
1453
|
+
'preCaptureWait': number;
|
|
1454
|
+
/**
|
|
1455
|
+
*
|
|
1456
|
+
* @type {string}
|
|
1457
|
+
* @memberof V1ObservationInstruction
|
|
1458
|
+
*/
|
|
1459
|
+
'startSlewAt': string;
|
|
1460
|
+
/**
|
|
1461
|
+
*
|
|
1462
|
+
* @type {CameraMode}
|
|
1463
|
+
* @memberof V1ObservationInstruction
|
|
1464
|
+
*/
|
|
1465
|
+
'cameraMode': CameraMode;
|
|
1466
|
+
/**
|
|
1467
|
+
*
|
|
1468
|
+
* @type {string}
|
|
1469
|
+
* @memberof V1ObservationInstruction
|
|
1470
|
+
*/
|
|
1471
|
+
'tleLine1': string;
|
|
1472
|
+
/**
|
|
1473
|
+
*
|
|
1474
|
+
* @type {string}
|
|
1475
|
+
* @memberof V1ObservationInstruction
|
|
1476
|
+
*/
|
|
1477
|
+
'tleLine2': string;
|
|
1478
|
+
/**
|
|
1479
|
+
*
|
|
1480
|
+
* @type {number}
|
|
1481
|
+
* @memberof V1ObservationInstruction
|
|
1482
|
+
*/
|
|
1483
|
+
'tleOffsetDec'?: number;
|
|
1484
|
+
/**
|
|
1485
|
+
*
|
|
1486
|
+
* @type {number}
|
|
1487
|
+
* @memberof V1ObservationInstruction
|
|
1488
|
+
*/
|
|
1489
|
+
'tleOffsetRa'?: number;
|
|
1490
|
+
}
|
|
1282
1491
|
/**
|
|
1283
1492
|
* Optical Tube
|
|
1284
1493
|
* @export
|
|
@@ -1947,6 +2156,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
1947
2156
|
* @throws {RequiredError}
|
|
1948
2157
|
*/
|
|
1949
2158
|
v1CreateNodeDiagnostics: (v1CreateNodeDiagnosticsRequest: V1CreateNodeDiagnosticsRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2159
|
+
/**
|
|
2160
|
+
* Create an observation instruction.
|
|
2161
|
+
* @param {V1CreateObservationInstructionRequest} v1CreateObservationInstructionRequest
|
|
2162
|
+
* @param {*} [options] Override http request option.
|
|
2163
|
+
* @throws {RequiredError}
|
|
2164
|
+
*/
|
|
2165
|
+
v1CreateObservationInstruction: (v1CreateObservationInstructionRequest: V1CreateObservationInstructionRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1950
2166
|
/**
|
|
1951
2167
|
* Create an optical tube.
|
|
1952
2168
|
* @param {V1CreateOpticalTubeRequest} v1CreateOpticalTubeRequest
|
|
@@ -1988,6 +2204,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
1988
2204
|
* @throws {RequiredError}
|
|
1989
2205
|
*/
|
|
1990
2206
|
v1GetImageSetImage: (imageId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2207
|
+
/**
|
|
2208
|
+
* Get instruction.
|
|
2209
|
+
* @param {V1GetInstructionRequest} v1GetInstructionRequest
|
|
2210
|
+
* @param {*} [options] Override http request option.
|
|
2211
|
+
* @throws {RequiredError}
|
|
2212
|
+
*/
|
|
2213
|
+
v1GetInstruction: (v1GetInstructionRequest: V1GetInstructionRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1991
2214
|
/**
|
|
1992
2215
|
* Get a mount.
|
|
1993
2216
|
* @param {string} id
|
|
@@ -2164,6 +2387,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2164
2387
|
* @throws {RequiredError}
|
|
2165
2388
|
*/
|
|
2166
2389
|
v1CreateNodeDiagnostics(v1CreateNodeDiagnosticsRequest: V1CreateNodeDiagnosticsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptySuccess>>;
|
|
2390
|
+
/**
|
|
2391
|
+
* Create an observation instruction.
|
|
2392
|
+
* @param {V1CreateObservationInstructionRequest} v1CreateObservationInstructionRequest
|
|
2393
|
+
* @param {*} [options] Override http request option.
|
|
2394
|
+
* @throws {RequiredError}
|
|
2395
|
+
*/
|
|
2396
|
+
v1CreateObservationInstruction(v1CreateObservationInstructionRequest: V1CreateObservationInstructionRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessfulCreate>>;
|
|
2167
2397
|
/**
|
|
2168
2398
|
* Create an optical tube.
|
|
2169
2399
|
* @param {V1CreateOpticalTubeRequest} v1CreateOpticalTubeRequest
|
|
@@ -2205,6 +2435,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2205
2435
|
* @throws {RequiredError}
|
|
2206
2436
|
*/
|
|
2207
2437
|
v1GetImageSetImage(imageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1ImageSetImage>>;
|
|
2438
|
+
/**
|
|
2439
|
+
* Get instruction.
|
|
2440
|
+
* @param {V1GetInstructionRequest} v1GetInstructionRequest
|
|
2441
|
+
* @param {*} [options] Override http request option.
|
|
2442
|
+
* @throws {RequiredError}
|
|
2443
|
+
*/
|
|
2444
|
+
v1GetInstruction(v1GetInstructionRequest: V1GetInstructionRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1Instruction>>;
|
|
2208
2445
|
/**
|
|
2209
2446
|
* Get a mount.
|
|
2210
2447
|
* @param {string} id
|
|
@@ -2374,6 +2611,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2374
2611
|
* @throws {RequiredError}
|
|
2375
2612
|
*/
|
|
2376
2613
|
v1CreateNodeDiagnostics(requestParameters: DefaultApiV1CreateNodeDiagnosticsRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess>;
|
|
2614
|
+
/**
|
|
2615
|
+
* Create an observation instruction.
|
|
2616
|
+
* @param {DefaultApiV1CreateObservationInstructionRequest} requestParameters Request parameters.
|
|
2617
|
+
* @param {*} [options] Override http request option.
|
|
2618
|
+
* @throws {RequiredError}
|
|
2619
|
+
*/
|
|
2620
|
+
v1CreateObservationInstruction(requestParameters: DefaultApiV1CreateObservationInstructionRequest, options?: AxiosRequestConfig): AxiosPromise<SuccessfulCreate>;
|
|
2377
2621
|
/**
|
|
2378
2622
|
* Create an optical tube.
|
|
2379
2623
|
* @param {DefaultApiV1CreateOpticalTubeRequest} requestParameters Request parameters.
|
|
@@ -2415,6 +2659,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2415
2659
|
* @throws {RequiredError}
|
|
2416
2660
|
*/
|
|
2417
2661
|
v1GetImageSetImage(requestParameters: DefaultApiV1GetImageSetImageRequest, options?: AxiosRequestConfig): AxiosPromise<V1ImageSetImage>;
|
|
2662
|
+
/**
|
|
2663
|
+
* Get instruction.
|
|
2664
|
+
* @param {DefaultApiV1GetInstructionRequest} requestParameters Request parameters.
|
|
2665
|
+
* @param {*} [options] Override http request option.
|
|
2666
|
+
* @throws {RequiredError}
|
|
2667
|
+
*/
|
|
2668
|
+
v1GetInstruction(requestParameters: DefaultApiV1GetInstructionRequest, options?: AxiosRequestConfig): AxiosPromise<V1Instruction>;
|
|
2418
2669
|
/**
|
|
2419
2670
|
* Get a mount.
|
|
2420
2671
|
* @param {DefaultApiV1GetMountRequest} requestParameters Request parameters.
|
|
@@ -2666,6 +2917,19 @@ export interface DefaultApiV1CreateNodeDiagnosticsRequest {
|
|
|
2666
2917
|
*/
|
|
2667
2918
|
readonly v1CreateNodeDiagnosticsRequest: V1CreateNodeDiagnosticsRequest;
|
|
2668
2919
|
}
|
|
2920
|
+
/**
|
|
2921
|
+
* Request parameters for v1CreateObservationInstruction operation in DefaultApi.
|
|
2922
|
+
* @export
|
|
2923
|
+
* @interface DefaultApiV1CreateObservationInstructionRequest
|
|
2924
|
+
*/
|
|
2925
|
+
export interface DefaultApiV1CreateObservationInstructionRequest {
|
|
2926
|
+
/**
|
|
2927
|
+
*
|
|
2928
|
+
* @type {V1CreateObservationInstructionRequest}
|
|
2929
|
+
* @memberof DefaultApiV1CreateObservationInstruction
|
|
2930
|
+
*/
|
|
2931
|
+
readonly v1CreateObservationInstructionRequest: V1CreateObservationInstructionRequest;
|
|
2932
|
+
}
|
|
2669
2933
|
/**
|
|
2670
2934
|
* Request parameters for v1CreateOpticalTube operation in DefaultApi.
|
|
2671
2935
|
* @export
|
|
@@ -2731,6 +2995,19 @@ export interface DefaultApiV1GetImageSetImageRequest {
|
|
|
2731
2995
|
*/
|
|
2732
2996
|
readonly imageId: string;
|
|
2733
2997
|
}
|
|
2998
|
+
/**
|
|
2999
|
+
* Request parameters for v1GetInstruction operation in DefaultApi.
|
|
3000
|
+
* @export
|
|
3001
|
+
* @interface DefaultApiV1GetInstructionRequest
|
|
3002
|
+
*/
|
|
3003
|
+
export interface DefaultApiV1GetInstructionRequest {
|
|
3004
|
+
/**
|
|
3005
|
+
*
|
|
3006
|
+
* @type {V1GetInstructionRequest}
|
|
3007
|
+
* @memberof DefaultApiV1GetInstruction
|
|
3008
|
+
*/
|
|
3009
|
+
readonly v1GetInstructionRequest: V1GetInstructionRequest;
|
|
3010
|
+
}
|
|
2734
3011
|
/**
|
|
2735
3012
|
* Request parameters for v1GetMount operation in DefaultApi.
|
|
2736
3013
|
* @export
|
|
@@ -3002,6 +3279,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3002
3279
|
* @memberof DefaultApi
|
|
3003
3280
|
*/
|
|
3004
3281
|
v1CreateNodeDiagnostics(requestParameters: DefaultApiV1CreateNodeDiagnosticsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EmptySuccess, any>>;
|
|
3282
|
+
/**
|
|
3283
|
+
* Create an observation instruction.
|
|
3284
|
+
* @param {DefaultApiV1CreateObservationInstructionRequest} requestParameters Request parameters.
|
|
3285
|
+
* @param {*} [options] Override http request option.
|
|
3286
|
+
* @throws {RequiredError}
|
|
3287
|
+
* @memberof DefaultApi
|
|
3288
|
+
*/
|
|
3289
|
+
v1CreateObservationInstruction(requestParameters: DefaultApiV1CreateObservationInstructionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SuccessfulCreate, any>>;
|
|
3005
3290
|
/**
|
|
3006
3291
|
* Create an optical tube.
|
|
3007
3292
|
* @param {DefaultApiV1CreateOpticalTubeRequest} requestParameters Request parameters.
|
|
@@ -3049,6 +3334,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3049
3334
|
* @memberof DefaultApi
|
|
3050
3335
|
*/
|
|
3051
3336
|
v1GetImageSetImage(requestParameters: DefaultApiV1GetImageSetImageRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<V1ImageSetImage, any>>;
|
|
3337
|
+
/**
|
|
3338
|
+
* Get instruction.
|
|
3339
|
+
* @param {DefaultApiV1GetInstructionRequest} requestParameters Request parameters.
|
|
3340
|
+
* @param {*} [options] Override http request option.
|
|
3341
|
+
* @throws {RequiredError}
|
|
3342
|
+
* @memberof DefaultApi
|
|
3343
|
+
*/
|
|
3344
|
+
v1GetInstruction(requestParameters: DefaultApiV1GetInstructionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<V1Instruction, any>>;
|
|
3052
3345
|
/**
|
|
3053
3346
|
* Get a mount.
|
|
3054
3347
|
* @param {DefaultApiV1GetMountRequest} requestParameters Request parameters.
|
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.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.2584
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -144,12 +144,18 @@ export const V1NodeDiagnosticType = {
|
|
|
144
144
|
CENTERING_TIME_MS: 'CENTERING_TIME_MS',
|
|
145
145
|
POINTING_ERROR_DEGREES: 'POINTING_ERROR_DEGREES',
|
|
146
146
|
CAMERA_CHECKED: 'CAMERA_CHECKED',
|
|
147
|
+
CAMERA_HAS_GPS: 'CAMERA_HAS_GPS',
|
|
147
148
|
MOUNT_CHECKED: 'MOUNT_CHECKED',
|
|
148
149
|
OPTICAL_TUBE_CHECKED: 'OPTICAL_TUBE_CHECKED',
|
|
149
150
|
ELEVATION_MASK_CHECKED: 'ELEVATION_MASK_CHECKED',
|
|
150
151
|
AVAILABLE_DISK_BYTES: 'AVAILABLE_DISK_BYTES',
|
|
151
152
|
AVAILABLE_MEMORY_BYTES: 'AVAILABLE_MEMORY_BYTES',
|
|
152
|
-
NTP_TIME_DRIFT_MS: 'NTP_TIME_DRIFT_MS'
|
|
153
|
+
NTP_TIME_DRIFT_MS: 'NTP_TIME_DRIFT_MS',
|
|
154
|
+
SYSTEM_UPTIME_S: 'SYSTEM_UPTIME_S',
|
|
155
|
+
APPLICATION_UPTIME_S: 'APPLICATION_UPTIME_S',
|
|
156
|
+
APPLICATION_CPU_TIME_S: 'APPLICATION_CPU_TIME_S',
|
|
157
|
+
CPU_USAGE_LAST_SECOND_PCT: 'CPU_USAGE_LAST_SECOND_PCT',
|
|
158
|
+
CPU_USAGE_LAST_MINUTE_PCT: 'CPU_USAGE_LAST_MINUTE_PCT'
|
|
153
159
|
};
|
|
154
160
|
/**
|
|
155
161
|
* DefaultApi - axios parameter creator
|
|
@@ -448,6 +454,39 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
448
454
|
options: localVarRequestOptions,
|
|
449
455
|
};
|
|
450
456
|
}),
|
|
457
|
+
/**
|
|
458
|
+
* Create an observation instruction.
|
|
459
|
+
* @param {V1CreateObservationInstructionRequest} v1CreateObservationInstructionRequest
|
|
460
|
+
* @param {*} [options] Override http request option.
|
|
461
|
+
* @throws {RequiredError}
|
|
462
|
+
*/
|
|
463
|
+
v1CreateObservationInstruction: (v1CreateObservationInstructionRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
464
|
+
// verify required parameter 'v1CreateObservationInstructionRequest' is not null or undefined
|
|
465
|
+
assertParamExists('v1CreateObservationInstruction', 'v1CreateObservationInstructionRequest', v1CreateObservationInstructionRequest);
|
|
466
|
+
const localVarPath = `/v1/observation-instruction`;
|
|
467
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
468
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
469
|
+
let baseOptions;
|
|
470
|
+
if (configuration) {
|
|
471
|
+
baseOptions = configuration.baseOptions;
|
|
472
|
+
}
|
|
473
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
474
|
+
const localVarHeaderParameter = {};
|
|
475
|
+
const localVarQueryParameter = {};
|
|
476
|
+
// authentication Roles required
|
|
477
|
+
// authentication BearerToken required
|
|
478
|
+
// http bearer authentication required
|
|
479
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
480
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
481
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
482
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
483
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
484
|
+
localVarRequestOptions.data = serializeDataIfNeeded(v1CreateObservationInstructionRequest, localVarRequestOptions, configuration);
|
|
485
|
+
return {
|
|
486
|
+
url: toPathString(localVarUrlObj),
|
|
487
|
+
options: localVarRequestOptions,
|
|
488
|
+
};
|
|
489
|
+
}),
|
|
451
490
|
/**
|
|
452
491
|
* Create an optical tube.
|
|
453
492
|
* @param {V1CreateOpticalTubeRequest} v1CreateOpticalTubeRequest
|
|
@@ -645,6 +684,39 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
645
684
|
options: localVarRequestOptions,
|
|
646
685
|
};
|
|
647
686
|
}),
|
|
687
|
+
/**
|
|
688
|
+
* Get instruction.
|
|
689
|
+
* @param {V1GetInstructionRequest} v1GetInstructionRequest
|
|
690
|
+
* @param {*} [options] Override http request option.
|
|
691
|
+
* @throws {RequiredError}
|
|
692
|
+
*/
|
|
693
|
+
v1GetInstruction: (v1GetInstructionRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
694
|
+
// verify required parameter 'v1GetInstructionRequest' is not null or undefined
|
|
695
|
+
assertParamExists('v1GetInstruction', 'v1GetInstructionRequest', v1GetInstructionRequest);
|
|
696
|
+
const localVarPath = `/v1/instruction`;
|
|
697
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
698
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
699
|
+
let baseOptions;
|
|
700
|
+
if (configuration) {
|
|
701
|
+
baseOptions = configuration.baseOptions;
|
|
702
|
+
}
|
|
703
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
704
|
+
const localVarHeaderParameter = {};
|
|
705
|
+
const localVarQueryParameter = {};
|
|
706
|
+
// authentication Roles required
|
|
707
|
+
// authentication BearerToken required
|
|
708
|
+
// http bearer authentication required
|
|
709
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
710
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
711
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
712
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
713
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
714
|
+
localVarRequestOptions.data = serializeDataIfNeeded(v1GetInstructionRequest, localVarRequestOptions, configuration);
|
|
715
|
+
return {
|
|
716
|
+
url: toPathString(localVarUrlObj),
|
|
717
|
+
options: localVarRequestOptions,
|
|
718
|
+
};
|
|
719
|
+
}),
|
|
648
720
|
/**
|
|
649
721
|
* Get a mount.
|
|
650
722
|
* @param {string} id
|
|
@@ -1262,6 +1334,18 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1262
1334
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1263
1335
|
});
|
|
1264
1336
|
},
|
|
1337
|
+
/**
|
|
1338
|
+
* Create an observation instruction.
|
|
1339
|
+
* @param {V1CreateObservationInstructionRequest} v1CreateObservationInstructionRequest
|
|
1340
|
+
* @param {*} [options] Override http request option.
|
|
1341
|
+
* @throws {RequiredError}
|
|
1342
|
+
*/
|
|
1343
|
+
v1CreateObservationInstruction(v1CreateObservationInstructionRequest, options) {
|
|
1344
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1345
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateObservationInstruction(v1CreateObservationInstructionRequest, options);
|
|
1346
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1347
|
+
});
|
|
1348
|
+
},
|
|
1265
1349
|
/**
|
|
1266
1350
|
* Create an optical tube.
|
|
1267
1351
|
* @param {V1CreateOpticalTubeRequest} v1CreateOpticalTubeRequest
|
|
@@ -1333,6 +1417,18 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1333
1417
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1334
1418
|
});
|
|
1335
1419
|
},
|
|
1420
|
+
/**
|
|
1421
|
+
* Get instruction.
|
|
1422
|
+
* @param {V1GetInstructionRequest} v1GetInstructionRequest
|
|
1423
|
+
* @param {*} [options] Override http request option.
|
|
1424
|
+
* @throws {RequiredError}
|
|
1425
|
+
*/
|
|
1426
|
+
v1GetInstruction(v1GetInstructionRequest, options) {
|
|
1427
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1428
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetInstruction(v1GetInstructionRequest, options);
|
|
1429
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1430
|
+
});
|
|
1431
|
+
},
|
|
1336
1432
|
/**
|
|
1337
1433
|
* Get a mount.
|
|
1338
1434
|
* @param {string} id
|
|
@@ -1596,6 +1692,15 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1596
1692
|
v1CreateNodeDiagnostics(requestParameters, options) {
|
|
1597
1693
|
return localVarFp.v1CreateNodeDiagnostics(requestParameters.v1CreateNodeDiagnosticsRequest, options).then((request) => request(axios, basePath));
|
|
1598
1694
|
},
|
|
1695
|
+
/**
|
|
1696
|
+
* Create an observation instruction.
|
|
1697
|
+
* @param {DefaultApiV1CreateObservationInstructionRequest} requestParameters Request parameters.
|
|
1698
|
+
* @param {*} [options] Override http request option.
|
|
1699
|
+
* @throws {RequiredError}
|
|
1700
|
+
*/
|
|
1701
|
+
v1CreateObservationInstruction(requestParameters, options) {
|
|
1702
|
+
return localVarFp.v1CreateObservationInstruction(requestParameters.v1CreateObservationInstructionRequest, options).then((request) => request(axios, basePath));
|
|
1703
|
+
},
|
|
1599
1704
|
/**
|
|
1600
1705
|
* Create an optical tube.
|
|
1601
1706
|
* @param {DefaultApiV1CreateOpticalTubeRequest} requestParameters Request parameters.
|
|
@@ -1649,6 +1754,15 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1649
1754
|
v1GetImageSetImage(requestParameters, options) {
|
|
1650
1755
|
return localVarFp.v1GetImageSetImage(requestParameters.imageId, options).then((request) => request(axios, basePath));
|
|
1651
1756
|
},
|
|
1757
|
+
/**
|
|
1758
|
+
* Get instruction.
|
|
1759
|
+
* @param {DefaultApiV1GetInstructionRequest} requestParameters Request parameters.
|
|
1760
|
+
* @param {*} [options] Override http request option.
|
|
1761
|
+
* @throws {RequiredError}
|
|
1762
|
+
*/
|
|
1763
|
+
v1GetInstruction(requestParameters, options) {
|
|
1764
|
+
return localVarFp.v1GetInstruction(requestParameters.v1GetInstructionRequest, options).then((request) => request(axios, basePath));
|
|
1765
|
+
},
|
|
1652
1766
|
/**
|
|
1653
1767
|
* Get a mount.
|
|
1654
1768
|
* @param {DefaultApiV1GetMountRequest} requestParameters Request parameters.
|
|
@@ -1872,6 +1986,16 @@ export class DefaultApi extends BaseAPI {
|
|
|
1872
1986
|
v1CreateNodeDiagnostics(requestParameters, options) {
|
|
1873
1987
|
return DefaultApiFp(this.configuration).v1CreateNodeDiagnostics(requestParameters.v1CreateNodeDiagnosticsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1874
1988
|
}
|
|
1989
|
+
/**
|
|
1990
|
+
* Create an observation instruction.
|
|
1991
|
+
* @param {DefaultApiV1CreateObservationInstructionRequest} requestParameters Request parameters.
|
|
1992
|
+
* @param {*} [options] Override http request option.
|
|
1993
|
+
* @throws {RequiredError}
|
|
1994
|
+
* @memberof DefaultApi
|
|
1995
|
+
*/
|
|
1996
|
+
v1CreateObservationInstruction(requestParameters, options) {
|
|
1997
|
+
return DefaultApiFp(this.configuration).v1CreateObservationInstruction(requestParameters.v1CreateObservationInstructionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1998
|
+
}
|
|
1875
1999
|
/**
|
|
1876
2000
|
* Create an optical tube.
|
|
1877
2001
|
* @param {DefaultApiV1CreateOpticalTubeRequest} requestParameters Request parameters.
|
|
@@ -1931,6 +2055,16 @@ export class DefaultApi extends BaseAPI {
|
|
|
1931
2055
|
v1GetImageSetImage(requestParameters, options) {
|
|
1932
2056
|
return DefaultApiFp(this.configuration).v1GetImageSetImage(requestParameters.imageId, options).then((request) => request(this.axios, this.basePath));
|
|
1933
2057
|
}
|
|
2058
|
+
/**
|
|
2059
|
+
* Get instruction.
|
|
2060
|
+
* @param {DefaultApiV1GetInstructionRequest} requestParameters Request parameters.
|
|
2061
|
+
* @param {*} [options] Override http request option.
|
|
2062
|
+
* @throws {RequiredError}
|
|
2063
|
+
* @memberof DefaultApi
|
|
2064
|
+
*/
|
|
2065
|
+
v1GetInstruction(requestParameters, options) {
|
|
2066
|
+
return DefaultApiFp(this.configuration).v1GetInstruction(requestParameters.v1GetInstructionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2067
|
+
}
|
|
1934
2068
|
/**
|
|
1935
2069
|
* Get a mount.
|
|
1936
2070
|
* @param {DefaultApiV1GetMountRequest} requestParameters Request parameters.
|
package/dist/esm/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.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.2584
|
|
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.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.2584
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/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.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.2584
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.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.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.2584
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.2584
|
|
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.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.2584
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|