@ourskyai/platform-api 1.3.2437 → 1.3.2765

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/api.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.2437
5
+ * The version of the OpenAPI document: 1.3.2765
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,14 +1334,15 @@ 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";
1261
- readonly SYSTEM_UPTIME: "SYSTEM_UPTIME";
1262
- readonly APPLICATION_UPTIME: "APPLICATION_UPTIME";
1344
+ readonly SYSTEM_UPTIME_S: "SYSTEM_UPTIME_S";
1345
+ readonly APPLICATION_UPTIME_S: "APPLICATION_UPTIME_S";
1263
1346
  readonly APPLICATION_CPU_TIME_S: "APPLICATION_CPU_TIME_S";
1264
1347
  readonly CPU_USAGE_LAST_SECOND_PCT: "CPU_USAGE_LAST_SECOND_PCT";
1265
1348
  readonly CPU_USAGE_LAST_MINUTE_PCT: "CPU_USAGE_LAST_MINUTE_PCT";
@@ -1284,6 +1367,127 @@ export interface V1NodeWithLocation {
1284
1367
  */
1285
1368
  'location': Location;
1286
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
+ }
1287
1491
  /**
1288
1492
  * Optical Tube
1289
1493
  * @export
@@ -1952,6 +2156,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1952
2156
  * @throws {RequiredError}
1953
2157
  */
1954
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>;
1955
2166
  /**
1956
2167
  * Create an optical tube.
1957
2168
  * @param {V1CreateOpticalTubeRequest} v1CreateOpticalTubeRequest
@@ -1993,6 +2204,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1993
2204
  * @throws {RequiredError}
1994
2205
  */
1995
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>;
1996
2214
  /**
1997
2215
  * Get a mount.
1998
2216
  * @param {string} id
@@ -2169,6 +2387,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2169
2387
  * @throws {RequiredError}
2170
2388
  */
2171
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>>;
2172
2397
  /**
2173
2398
  * Create an optical tube.
2174
2399
  * @param {V1CreateOpticalTubeRequest} v1CreateOpticalTubeRequest
@@ -2210,6 +2435,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2210
2435
  * @throws {RequiredError}
2211
2436
  */
2212
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>>;
2213
2445
  /**
2214
2446
  * Get a mount.
2215
2447
  * @param {string} id
@@ -2379,6 +2611,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2379
2611
  * @throws {RequiredError}
2380
2612
  */
2381
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>;
2382
2621
  /**
2383
2622
  * Create an optical tube.
2384
2623
  * @param {DefaultApiV1CreateOpticalTubeRequest} requestParameters Request parameters.
@@ -2420,6 +2659,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2420
2659
  * @throws {RequiredError}
2421
2660
  */
2422
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>;
2423
2669
  /**
2424
2670
  * Get a mount.
2425
2671
  * @param {DefaultApiV1GetMountRequest} requestParameters Request parameters.
@@ -2671,6 +2917,19 @@ export interface DefaultApiV1CreateNodeDiagnosticsRequest {
2671
2917
  */
2672
2918
  readonly v1CreateNodeDiagnosticsRequest: V1CreateNodeDiagnosticsRequest;
2673
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
+ }
2674
2933
  /**
2675
2934
  * Request parameters for v1CreateOpticalTube operation in DefaultApi.
2676
2935
  * @export
@@ -2736,6 +2995,19 @@ export interface DefaultApiV1GetImageSetImageRequest {
2736
2995
  */
2737
2996
  readonly imageId: string;
2738
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
+ }
2739
3011
  /**
2740
3012
  * Request parameters for v1GetMount operation in DefaultApi.
2741
3013
  * @export
@@ -3007,6 +3279,14 @@ export declare class DefaultApi extends BaseAPI {
3007
3279
  * @memberof DefaultApi
3008
3280
  */
3009
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>>;
3010
3290
  /**
3011
3291
  * Create an optical tube.
3012
3292
  * @param {DefaultApiV1CreateOpticalTubeRequest} requestParameters Request parameters.
@@ -3054,6 +3334,14 @@ export declare class DefaultApi extends BaseAPI {
3054
3334
  * @memberof DefaultApi
3055
3335
  */
3056
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>>;
3057
3345
  /**
3058
3346
  * Get a mount.
3059
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.2437
7
+ * The version of the OpenAPI document: 1.3.2765
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -144,14 +144,15 @@ 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
153
  NTP_TIME_DRIFT_MS: 'NTP_TIME_DRIFT_MS',
153
- SYSTEM_UPTIME: 'SYSTEM_UPTIME',
154
- APPLICATION_UPTIME: 'APPLICATION_UPTIME',
154
+ SYSTEM_UPTIME_S: 'SYSTEM_UPTIME_S',
155
+ APPLICATION_UPTIME_S: 'APPLICATION_UPTIME_S',
155
156
  APPLICATION_CPU_TIME_S: 'APPLICATION_CPU_TIME_S',
156
157
  CPU_USAGE_LAST_SECOND_PCT: 'CPU_USAGE_LAST_SECOND_PCT',
157
158
  CPU_USAGE_LAST_MINUTE_PCT: 'CPU_USAGE_LAST_MINUTE_PCT'
@@ -453,6 +454,39 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
453
454
  options: localVarRequestOptions,
454
455
  };
455
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
+ }),
456
490
  /**
457
491
  * Create an optical tube.
458
492
  * @param {V1CreateOpticalTubeRequest} v1CreateOpticalTubeRequest
@@ -650,6 +684,39 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
650
684
  options: localVarRequestOptions,
651
685
  };
652
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
+ }),
653
720
  /**
654
721
  * Get a mount.
655
722
  * @param {string} id
@@ -1267,6 +1334,18 @@ export const DefaultApiFp = function (configuration) {
1267
1334
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1268
1335
  });
1269
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
+ },
1270
1349
  /**
1271
1350
  * Create an optical tube.
1272
1351
  * @param {V1CreateOpticalTubeRequest} v1CreateOpticalTubeRequest
@@ -1338,6 +1417,18 @@ export const DefaultApiFp = function (configuration) {
1338
1417
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1339
1418
  });
1340
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
+ },
1341
1432
  /**
1342
1433
  * Get a mount.
1343
1434
  * @param {string} id
@@ -1601,6 +1692,15 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
1601
1692
  v1CreateNodeDiagnostics(requestParameters, options) {
1602
1693
  return localVarFp.v1CreateNodeDiagnostics(requestParameters.v1CreateNodeDiagnosticsRequest, options).then((request) => request(axios, basePath));
1603
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
+ },
1604
1704
  /**
1605
1705
  * Create an optical tube.
1606
1706
  * @param {DefaultApiV1CreateOpticalTubeRequest} requestParameters Request parameters.
@@ -1654,6 +1754,15 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
1654
1754
  v1GetImageSetImage(requestParameters, options) {
1655
1755
  return localVarFp.v1GetImageSetImage(requestParameters.imageId, options).then((request) => request(axios, basePath));
1656
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
+ },
1657
1766
  /**
1658
1767
  * Get a mount.
1659
1768
  * @param {DefaultApiV1GetMountRequest} requestParameters Request parameters.
@@ -1877,6 +1986,16 @@ export class DefaultApi extends BaseAPI {
1877
1986
  v1CreateNodeDiagnostics(requestParameters, options) {
1878
1987
  return DefaultApiFp(this.configuration).v1CreateNodeDiagnostics(requestParameters.v1CreateNodeDiagnosticsRequest, options).then((request) => request(this.axios, this.basePath));
1879
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
+ }
1880
1999
  /**
1881
2000
  * Create an optical tube.
1882
2001
  * @param {DefaultApiV1CreateOpticalTubeRequest} requestParameters Request parameters.
@@ -1936,6 +2055,16 @@ export class DefaultApi extends BaseAPI {
1936
2055
  v1GetImageSetImage(requestParameters, options) {
1937
2056
  return DefaultApiFp(this.configuration).v1GetImageSetImage(requestParameters.imageId, options).then((request) => request(this.axios, this.basePath));
1938
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
+ }
1939
2068
  /**
1940
2069
  * Get a mount.
1941
2070
  * @param {DefaultApiV1GetMountRequest} requestParameters Request parameters.
@@ -2,7 +2,7 @@
2
2
  * OurSky Platform
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.3.2437
5
+ * The version of the OpenAPI document: 1.3.2765
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.2437
7
+ * The version of the OpenAPI document: 1.3.2765
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.2437
5
+ * The version of the OpenAPI document: 1.3.2765
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.2437
7
+ * The version of the OpenAPI document: 1.3.2765
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.2437
5
+ * The version of the OpenAPI document: 1.3.2765
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.2437
7
+ * The version of the OpenAPI document: 1.3.2765
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).