@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/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/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.
|
|
8
|
+
* The version of the OpenAPI document: 1.3.2584
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -147,12 +147,18 @@ exports.V1NodeDiagnosticType = {
|
|
|
147
147
|
CENTERING_TIME_MS: 'CENTERING_TIME_MS',
|
|
148
148
|
POINTING_ERROR_DEGREES: 'POINTING_ERROR_DEGREES',
|
|
149
149
|
CAMERA_CHECKED: 'CAMERA_CHECKED',
|
|
150
|
+
CAMERA_HAS_GPS: 'CAMERA_HAS_GPS',
|
|
150
151
|
MOUNT_CHECKED: 'MOUNT_CHECKED',
|
|
151
152
|
OPTICAL_TUBE_CHECKED: 'OPTICAL_TUBE_CHECKED',
|
|
152
153
|
ELEVATION_MASK_CHECKED: 'ELEVATION_MASK_CHECKED',
|
|
153
154
|
AVAILABLE_DISK_BYTES: 'AVAILABLE_DISK_BYTES',
|
|
154
155
|
AVAILABLE_MEMORY_BYTES: 'AVAILABLE_MEMORY_BYTES',
|
|
155
|
-
NTP_TIME_DRIFT_MS: 'NTP_TIME_DRIFT_MS'
|
|
156
|
+
NTP_TIME_DRIFT_MS: 'NTP_TIME_DRIFT_MS',
|
|
157
|
+
SYSTEM_UPTIME_S: 'SYSTEM_UPTIME_S',
|
|
158
|
+
APPLICATION_UPTIME_S: 'APPLICATION_UPTIME_S',
|
|
159
|
+
APPLICATION_CPU_TIME_S: 'APPLICATION_CPU_TIME_S',
|
|
160
|
+
CPU_USAGE_LAST_SECOND_PCT: 'CPU_USAGE_LAST_SECOND_PCT',
|
|
161
|
+
CPU_USAGE_LAST_MINUTE_PCT: 'CPU_USAGE_LAST_MINUTE_PCT'
|
|
156
162
|
};
|
|
157
163
|
/**
|
|
158
164
|
* DefaultApi - axios parameter creator
|
|
@@ -451,6 +457,39 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
451
457
|
options: localVarRequestOptions,
|
|
452
458
|
};
|
|
453
459
|
}),
|
|
460
|
+
/**
|
|
461
|
+
* Create an observation instruction.
|
|
462
|
+
* @param {V1CreateObservationInstructionRequest} v1CreateObservationInstructionRequest
|
|
463
|
+
* @param {*} [options] Override http request option.
|
|
464
|
+
* @throws {RequiredError}
|
|
465
|
+
*/
|
|
466
|
+
v1CreateObservationInstruction: (v1CreateObservationInstructionRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
467
|
+
// verify required parameter 'v1CreateObservationInstructionRequest' is not null or undefined
|
|
468
|
+
(0, common_1.assertParamExists)('v1CreateObservationInstruction', 'v1CreateObservationInstructionRequest', v1CreateObservationInstructionRequest);
|
|
469
|
+
const localVarPath = `/v1/observation-instruction`;
|
|
470
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
471
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
472
|
+
let baseOptions;
|
|
473
|
+
if (configuration) {
|
|
474
|
+
baseOptions = configuration.baseOptions;
|
|
475
|
+
}
|
|
476
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
477
|
+
const localVarHeaderParameter = {};
|
|
478
|
+
const localVarQueryParameter = {};
|
|
479
|
+
// authentication Roles required
|
|
480
|
+
// authentication BearerToken required
|
|
481
|
+
// http bearer authentication required
|
|
482
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
483
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
484
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
485
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
486
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
487
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v1CreateObservationInstructionRequest, localVarRequestOptions, configuration);
|
|
488
|
+
return {
|
|
489
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
490
|
+
options: localVarRequestOptions,
|
|
491
|
+
};
|
|
492
|
+
}),
|
|
454
493
|
/**
|
|
455
494
|
* Create an optical tube.
|
|
456
495
|
* @param {V1CreateOpticalTubeRequest} v1CreateOpticalTubeRequest
|
|
@@ -648,6 +687,39 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
648
687
|
options: localVarRequestOptions,
|
|
649
688
|
};
|
|
650
689
|
}),
|
|
690
|
+
/**
|
|
691
|
+
* Get instruction.
|
|
692
|
+
* @param {V1GetInstructionRequest} v1GetInstructionRequest
|
|
693
|
+
* @param {*} [options] Override http request option.
|
|
694
|
+
* @throws {RequiredError}
|
|
695
|
+
*/
|
|
696
|
+
v1GetInstruction: (v1GetInstructionRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
697
|
+
// verify required parameter 'v1GetInstructionRequest' is not null or undefined
|
|
698
|
+
(0, common_1.assertParamExists)('v1GetInstruction', 'v1GetInstructionRequest', v1GetInstructionRequest);
|
|
699
|
+
const localVarPath = `/v1/instruction`;
|
|
700
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
701
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
702
|
+
let baseOptions;
|
|
703
|
+
if (configuration) {
|
|
704
|
+
baseOptions = configuration.baseOptions;
|
|
705
|
+
}
|
|
706
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
707
|
+
const localVarHeaderParameter = {};
|
|
708
|
+
const localVarQueryParameter = {};
|
|
709
|
+
// authentication Roles required
|
|
710
|
+
// authentication BearerToken required
|
|
711
|
+
// http bearer authentication required
|
|
712
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
713
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
714
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
715
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
716
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
717
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v1GetInstructionRequest, localVarRequestOptions, configuration);
|
|
718
|
+
return {
|
|
719
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
720
|
+
options: localVarRequestOptions,
|
|
721
|
+
};
|
|
722
|
+
}),
|
|
651
723
|
/**
|
|
652
724
|
* Get a mount.
|
|
653
725
|
* @param {string} id
|
|
@@ -1266,6 +1338,18 @@ const DefaultApiFp = function (configuration) {
|
|
|
1266
1338
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1267
1339
|
});
|
|
1268
1340
|
},
|
|
1341
|
+
/**
|
|
1342
|
+
* Create an observation instruction.
|
|
1343
|
+
* @param {V1CreateObservationInstructionRequest} v1CreateObservationInstructionRequest
|
|
1344
|
+
* @param {*} [options] Override http request option.
|
|
1345
|
+
* @throws {RequiredError}
|
|
1346
|
+
*/
|
|
1347
|
+
v1CreateObservationInstruction(v1CreateObservationInstructionRequest, options) {
|
|
1348
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1349
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateObservationInstruction(v1CreateObservationInstructionRequest, options);
|
|
1350
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1351
|
+
});
|
|
1352
|
+
},
|
|
1269
1353
|
/**
|
|
1270
1354
|
* Create an optical tube.
|
|
1271
1355
|
* @param {V1CreateOpticalTubeRequest} v1CreateOpticalTubeRequest
|
|
@@ -1337,6 +1421,18 @@ const DefaultApiFp = function (configuration) {
|
|
|
1337
1421
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1338
1422
|
});
|
|
1339
1423
|
},
|
|
1424
|
+
/**
|
|
1425
|
+
* Get instruction.
|
|
1426
|
+
* @param {V1GetInstructionRequest} v1GetInstructionRequest
|
|
1427
|
+
* @param {*} [options] Override http request option.
|
|
1428
|
+
* @throws {RequiredError}
|
|
1429
|
+
*/
|
|
1430
|
+
v1GetInstruction(v1GetInstructionRequest, options) {
|
|
1431
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1432
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetInstruction(v1GetInstructionRequest, options);
|
|
1433
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1434
|
+
});
|
|
1435
|
+
},
|
|
1340
1436
|
/**
|
|
1341
1437
|
* Get a mount.
|
|
1342
1438
|
* @param {string} id
|
|
@@ -1601,6 +1697,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1601
1697
|
v1CreateNodeDiagnostics(requestParameters, options) {
|
|
1602
1698
|
return localVarFp.v1CreateNodeDiagnostics(requestParameters.v1CreateNodeDiagnosticsRequest, options).then((request) => request(axios, basePath));
|
|
1603
1699
|
},
|
|
1700
|
+
/**
|
|
1701
|
+
* Create an observation instruction.
|
|
1702
|
+
* @param {DefaultApiV1CreateObservationInstructionRequest} requestParameters Request parameters.
|
|
1703
|
+
* @param {*} [options] Override http request option.
|
|
1704
|
+
* @throws {RequiredError}
|
|
1705
|
+
*/
|
|
1706
|
+
v1CreateObservationInstruction(requestParameters, options) {
|
|
1707
|
+
return localVarFp.v1CreateObservationInstruction(requestParameters.v1CreateObservationInstructionRequest, options).then((request) => request(axios, basePath));
|
|
1708
|
+
},
|
|
1604
1709
|
/**
|
|
1605
1710
|
* Create an optical tube.
|
|
1606
1711
|
* @param {DefaultApiV1CreateOpticalTubeRequest} requestParameters Request parameters.
|
|
@@ -1654,6 +1759,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1654
1759
|
v1GetImageSetImage(requestParameters, options) {
|
|
1655
1760
|
return localVarFp.v1GetImageSetImage(requestParameters.imageId, options).then((request) => request(axios, basePath));
|
|
1656
1761
|
},
|
|
1762
|
+
/**
|
|
1763
|
+
* Get instruction.
|
|
1764
|
+
* @param {DefaultApiV1GetInstructionRequest} requestParameters Request parameters.
|
|
1765
|
+
* @param {*} [options] Override http request option.
|
|
1766
|
+
* @throws {RequiredError}
|
|
1767
|
+
*/
|
|
1768
|
+
v1GetInstruction(requestParameters, options) {
|
|
1769
|
+
return localVarFp.v1GetInstruction(requestParameters.v1GetInstructionRequest, options).then((request) => request(axios, basePath));
|
|
1770
|
+
},
|
|
1657
1771
|
/**
|
|
1658
1772
|
* Get a mount.
|
|
1659
1773
|
* @param {DefaultApiV1GetMountRequest} requestParameters Request parameters.
|
|
@@ -1878,6 +1992,16 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1878
1992
|
v1CreateNodeDiagnostics(requestParameters, options) {
|
|
1879
1993
|
return (0, exports.DefaultApiFp)(this.configuration).v1CreateNodeDiagnostics(requestParameters.v1CreateNodeDiagnosticsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1880
1994
|
}
|
|
1995
|
+
/**
|
|
1996
|
+
* Create an observation instruction.
|
|
1997
|
+
* @param {DefaultApiV1CreateObservationInstructionRequest} requestParameters Request parameters.
|
|
1998
|
+
* @param {*} [options] Override http request option.
|
|
1999
|
+
* @throws {RequiredError}
|
|
2000
|
+
* @memberof DefaultApi
|
|
2001
|
+
*/
|
|
2002
|
+
v1CreateObservationInstruction(requestParameters, options) {
|
|
2003
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1CreateObservationInstruction(requestParameters.v1CreateObservationInstructionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2004
|
+
}
|
|
1881
2005
|
/**
|
|
1882
2006
|
* Create an optical tube.
|
|
1883
2007
|
* @param {DefaultApiV1CreateOpticalTubeRequest} requestParameters Request parameters.
|
|
@@ -1937,6 +2061,16 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1937
2061
|
v1GetImageSetImage(requestParameters, options) {
|
|
1938
2062
|
return (0, exports.DefaultApiFp)(this.configuration).v1GetImageSetImage(requestParameters.imageId, options).then((request) => request(this.axios, this.basePath));
|
|
1939
2063
|
}
|
|
2064
|
+
/**
|
|
2065
|
+
* Get instruction.
|
|
2066
|
+
* @param {DefaultApiV1GetInstructionRequest} requestParameters Request parameters.
|
|
2067
|
+
* @param {*} [options] Override http request option.
|
|
2068
|
+
* @throws {RequiredError}
|
|
2069
|
+
* @memberof DefaultApi
|
|
2070
|
+
*/
|
|
2071
|
+
v1GetInstruction(requestParameters, options) {
|
|
2072
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1GetInstruction(requestParameters.v1GetInstructionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2073
|
+
}
|
|
1940
2074
|
/**
|
|
1941
2075
|
* Get a mount.
|
|
1942
2076
|
* @param {DefaultApiV1GetMountRequest} requestParameters Request parameters.
|
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.
|
|
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/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.
|
|
8
|
+
* The version of the OpenAPI document: 1.3.2584
|
|
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.
|
|
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/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.
|
|
8
|
+
* The version of the OpenAPI document: 1.3.2584
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.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/configuration.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.
|
|
8
|
+
* The version of the OpenAPI document: 1.3.2584
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|