@ourskyai/platform-api 1.3.4692 → 1.3.4784

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @ourskyai/platform-api@1.3.4692
1
+ ## @ourskyai/platform-api@1.3.4784
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @ourskyai/platform-api@1.3.4692 --save
39
+ npm install @ourskyai/platform-api@1.3.4784 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * OurSky Platform
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.3.4692
7
+ * The version of the OpenAPI document: 1.3.4784
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -860,19 +860,6 @@ export interface V1GainCurvePoint {
860
860
  */
861
861
  'eADU': number;
862
862
  }
863
- /**
864
- *
865
- * @export
866
- * @interface V1GetEmbeddedQueryUrlResponse
867
- */
868
- export interface V1GetEmbeddedQueryUrlResponse {
869
- /**
870
- *
871
- * @type {string}
872
- * @memberof V1GetEmbeddedQueryUrlResponse
873
- */
874
- 'url'?: string;
875
- }
876
863
  /**
877
864
  *
878
865
  * @export
@@ -1512,6 +1499,58 @@ export interface V1Instruction {
1512
1499
  */
1513
1500
  'autofocus'?: V1AutoFocusInstruction;
1514
1501
  }
1502
+ /**
1503
+ *
1504
+ * @export
1505
+ * @interface V1LastInstructionResponse
1506
+ */
1507
+ export interface V1LastInstructionResponse {
1508
+ /**
1509
+ *
1510
+ * @type {string}
1511
+ * @memberof V1LastInstructionResponse
1512
+ */
1513
+ 'id'?: string;
1514
+ /**
1515
+ *
1516
+ * @type {string}
1517
+ * @memberof V1LastInstructionResponse
1518
+ */
1519
+ 'receivedAt'?: string;
1520
+ /**
1521
+ *
1522
+ * @type {TrackingType}
1523
+ * @memberof V1LastInstructionResponse
1524
+ */
1525
+ 'trackingType'?: TrackingType;
1526
+ }
1527
+
1528
+
1529
+ /**
1530
+ *
1531
+ * @export
1532
+ * @interface V1LatestHfrResponse
1533
+ */
1534
+ export interface V1LatestHfrResponse {
1535
+ /**
1536
+ *
1537
+ * @type {string}
1538
+ * @memberof V1LatestHfrResponse
1539
+ */
1540
+ 'nodeId'?: string;
1541
+ /**
1542
+ *
1543
+ * @type {string}
1544
+ * @memberof V1LatestHfrResponse
1545
+ */
1546
+ 'hfrValues'?: string;
1547
+ /**
1548
+ *
1549
+ * @type {string}
1550
+ * @memberof V1LatestHfrResponse
1551
+ */
1552
+ 'timestamp'?: string;
1553
+ }
1515
1554
  /**
1516
1555
  *
1517
1556
  * @export
@@ -1686,6 +1725,7 @@ export const V1NodeComponentType = {
1686
1725
  MOUNT: 'MOUNT',
1687
1726
  OPTICAL_TUBE: 'OPTICAL_TUBE',
1688
1727
  COMPUTER: 'COMPUTER',
1728
+ SAFETY_MONITOR: 'SAFETY_MONITOR',
1689
1729
  NODE: 'NODE'
1690
1730
  } as const;
1691
1731
 
@@ -1731,6 +1771,8 @@ export const V1NodeDiagnosticType = {
1731
1771
  CPU_USAGE_LAST_MINUTE_PCT: 'CPU_USAGE_LAST_MINUTE_PCT',
1732
1772
  FOCUS_HFR_VALUES: 'FOCUS_HFR_VALUES',
1733
1773
  HAS_FOCUSER: 'HAS_FOCUSER',
1774
+ HAS_SAFETY_MONITOR: 'HAS_SAFETY_MONITOR',
1775
+ SAFETY_STATUS: 'SAFETY_STATUS',
1734
1776
  GNSS_CALIBRATION: 'GNSS_CALIBRATION',
1735
1777
  SATELLITE_CALIBRATION: 'SATELLITE_CALIBRATION',
1736
1778
  MOUNT_MODEL_CHECKED: 'MOUNT_MODEL_CHECKED',
@@ -2019,6 +2061,49 @@ export interface V1ObservationInstructionSatellitePassEphemerisInner {
2019
2061
  */
2020
2062
  'elevation'?: number;
2021
2063
  }
2064
+ /**
2065
+ *
2066
+ * @export
2067
+ * @interface V1ObservationMetrics
2068
+ */
2069
+ export interface V1ObservationMetrics {
2070
+ /**
2071
+ *
2072
+ * @type {number}
2073
+ * @memberof V1ObservationMetrics
2074
+ */
2075
+ 'waitingForSlewMountMs': number;
2076
+ /**
2077
+ *
2078
+ * @type {number}
2079
+ * @memberof V1ObservationMetrics
2080
+ */
2081
+ 'slewMountMs': number;
2082
+ /**
2083
+ *
2084
+ * @type {number}
2085
+ * @memberof V1ObservationMetrics
2086
+ */
2087
+ 'centerMountMs': number;
2088
+ /**
2089
+ *
2090
+ * @type {number}
2091
+ * @memberof V1ObservationMetrics
2092
+ */
2093
+ 'waitingForCaptureImagesMs': number;
2094
+ /**
2095
+ *
2096
+ * @type {number}
2097
+ * @memberof V1ObservationMetrics
2098
+ */
2099
+ 'missedCaptureImagesMs': number;
2100
+ /**
2101
+ *
2102
+ * @type {number}
2103
+ * @memberof V1ObservationMetrics
2104
+ */
2105
+ 'captureImagesMs': number;
2106
+ }
2022
2107
  /**
2023
2108
  * Optical Tube
2024
2109
  * @export
@@ -2623,6 +2708,12 @@ export interface V2CompleteObservationRequest {
2623
2708
  * @memberof V2CompleteObservationRequest
2624
2709
  */
2625
2710
  'expectedImageCount': number;
2711
+ /**
2712
+ *
2713
+ * @type {V1ObservationMetrics}
2714
+ * @memberof V2CompleteObservationRequest
2715
+ */
2716
+ 'metrics'?: V1ObservationMetrics;
2626
2717
  }
2627
2718
 
2628
2719
  /**
@@ -3271,17 +3362,15 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3271
3362
  };
3272
3363
  },
3273
3364
  /**
3274
- * Create an embedding URL for a dashboard or question
3275
- * @param {string} questionType
3276
- * @param {string} [nodeId]
3277
- * @param {number} [lookbackDays]
3365
+ * Get an image set.
3366
+ * @param {string} id
3278
3367
  * @param {*} [options] Override http request option.
3279
3368
  * @throws {RequiredError}
3280
3369
  */
3281
- v1GetEmbeddedQueryUrl: async (questionType: string, nodeId?: string, lookbackDays?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3282
- // verify required parameter 'questionType' is not null or undefined
3283
- assertParamExists('v1GetEmbeddedQueryUrl', 'questionType', questionType)
3284
- const localVarPath = `/v1/analytics`;
3370
+ v1GetImageSet: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3371
+ // verify required parameter 'id' is not null or undefined
3372
+ assertParamExists('v1GetImageSet', 'id', id)
3373
+ const localVarPath = `/v1/image-set`;
3285
3374
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3286
3375
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3287
3376
  let baseOptions;
@@ -3299,16 +3388,50 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3299
3388
  // http bearer authentication required
3300
3389
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
3301
3390
 
3302
- if (questionType !== undefined) {
3303
- localVarQueryParameter['questionType'] = questionType;
3391
+ if (id !== undefined) {
3392
+ localVarQueryParameter['id'] = id;
3304
3393
  }
3305
3394
 
3306
- if (nodeId !== undefined) {
3307
- localVarQueryParameter['nodeId'] = nodeId;
3395
+
3396
+
3397
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3398
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3399
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3400
+
3401
+ return {
3402
+ url: toPathString(localVarUrlObj),
3403
+ options: localVarRequestOptions,
3404
+ };
3405
+ },
3406
+ /**
3407
+ * Get an image.
3408
+ * @param {string} imageId
3409
+ * @param {*} [options] Override http request option.
3410
+ * @throws {RequiredError}
3411
+ */
3412
+ v1GetImageSetImage: async (imageId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3413
+ // verify required parameter 'imageId' is not null or undefined
3414
+ assertParamExists('v1GetImageSetImage', 'imageId', imageId)
3415
+ const localVarPath = `/v1/image-set-image`;
3416
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3417
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3418
+ let baseOptions;
3419
+ if (configuration) {
3420
+ baseOptions = configuration.baseOptions;
3308
3421
  }
3309
3422
 
3310
- if (lookbackDays !== undefined) {
3311
- localVarQueryParameter['lookbackDays'] = lookbackDays;
3423
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3424
+ const localVarHeaderParameter = {} as any;
3425
+ const localVarQueryParameter = {} as any;
3426
+
3427
+ // authentication Roles required
3428
+
3429
+ // authentication BearerToken required
3430
+ // http bearer authentication required
3431
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
3432
+
3433
+ if (imageId !== undefined) {
3434
+ localVarQueryParameter['imageId'] = imageId;
3312
3435
  }
3313
3436
 
3314
3437
 
@@ -3323,15 +3446,15 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3323
3446
  };
3324
3447
  },
3325
3448
  /**
3326
- * Get an image set.
3327
- * @param {string} id
3449
+ * Get instruction.
3450
+ * @param {V1GetInstructionRequest} v1GetInstructionRequest
3328
3451
  * @param {*} [options] Override http request option.
3329
3452
  * @throws {RequiredError}
3330
3453
  */
3331
- v1GetImageSet: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3332
- // verify required parameter 'id' is not null or undefined
3333
- assertParamExists('v1GetImageSet', 'id', id)
3334
- const localVarPath = `/v1/image-set`;
3454
+ v1GetInstruction: async (v1GetInstructionRequest: V1GetInstructionRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3455
+ // verify required parameter 'v1GetInstructionRequest' is not null or undefined
3456
+ assertParamExists('v1GetInstruction', 'v1GetInstructionRequest', v1GetInstructionRequest)
3457
+ const localVarPath = `/v1/instruction`;
3335
3458
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3336
3459
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3337
3460
  let baseOptions;
@@ -3339,7 +3462,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3339
3462
  baseOptions = configuration.baseOptions;
3340
3463
  }
3341
3464
 
3342
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3465
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
3343
3466
  const localVarHeaderParameter = {} as any;
3344
3467
  const localVarQueryParameter = {} as any;
3345
3468
 
@@ -3349,15 +3472,14 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3349
3472
  // http bearer authentication required
3350
3473
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
3351
3474
 
3352
- if (id !== undefined) {
3353
- localVarQueryParameter['id'] = id;
3354
- }
3355
-
3356
3475
 
3357
3476
 
3477
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3478
+
3358
3479
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3359
3480
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3360
3481
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3482
+ localVarRequestOptions.data = serializeDataIfNeeded(v1GetInstructionRequest, localVarRequestOptions, configuration)
3361
3483
 
3362
3484
  return {
3363
3485
  url: toPathString(localVarUrlObj),
@@ -3365,15 +3487,15 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3365
3487
  };
3366
3488
  },
3367
3489
  /**
3368
- * Get an image.
3369
- * @param {string} imageId
3490
+ * Get the last instruction time and type for a specific node.
3491
+ * @param {string} nodeId
3370
3492
  * @param {*} [options] Override http request option.
3371
3493
  * @throws {RequiredError}
3372
3494
  */
3373
- v1GetImageSetImage: async (imageId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3374
- // verify required parameter 'imageId' is not null or undefined
3375
- assertParamExists('v1GetImageSetImage', 'imageId', imageId)
3376
- const localVarPath = `/v1/image-set-image`;
3495
+ v1GetLastInstructionByNodeId: async (nodeId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3496
+ // verify required parameter 'nodeId' is not null or undefined
3497
+ assertParamExists('v1GetLastInstructionByNodeId', 'nodeId', nodeId)
3498
+ const localVarPath = `/v1/instruction`;
3377
3499
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3378
3500
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3379
3501
  let baseOptions;
@@ -3391,8 +3513,8 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3391
3513
  // http bearer authentication required
3392
3514
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
3393
3515
 
3394
- if (imageId !== undefined) {
3395
- localVarQueryParameter['imageId'] = imageId;
3516
+ if (nodeId !== undefined) {
3517
+ localVarQueryParameter['nodeId'] = nodeId;
3396
3518
  }
3397
3519
 
3398
3520
 
@@ -3407,15 +3529,15 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3407
3529
  };
3408
3530
  },
3409
3531
  /**
3410
- * Get instruction.
3411
- * @param {V1GetInstructionRequest} v1GetInstructionRequest
3532
+ * Get the latest HFR value for a specific node by its ID
3533
+ * @param {string} nodeId
3412
3534
  * @param {*} [options] Override http request option.
3413
3535
  * @throws {RequiredError}
3414
3536
  */
3415
- v1GetInstruction: async (v1GetInstructionRequest: V1GetInstructionRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3416
- // verify required parameter 'v1GetInstructionRequest' is not null or undefined
3417
- assertParamExists('v1GetInstruction', 'v1GetInstructionRequest', v1GetInstructionRequest)
3418
- const localVarPath = `/v1/instruction`;
3537
+ v1GetLatestHfr: async (nodeId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3538
+ // verify required parameter 'nodeId' is not null or undefined
3539
+ assertParamExists('v1GetLatestHfr', 'nodeId', nodeId)
3540
+ const localVarPath = `/v1/autofocus`;
3419
3541
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3420
3542
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3421
3543
  let baseOptions;
@@ -3423,7 +3545,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3423
3545
  baseOptions = configuration.baseOptions;
3424
3546
  }
3425
3547
 
3426
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
3548
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3427
3549
  const localVarHeaderParameter = {} as any;
3428
3550
  const localVarQueryParameter = {} as any;
3429
3551
 
@@ -3433,14 +3555,15 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3433
3555
  // http bearer authentication required
3434
3556
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
3435
3557
 
3558
+ if (nodeId !== undefined) {
3559
+ localVarQueryParameter['nodeId'] = nodeId;
3560
+ }
3436
3561
 
3437
-
3438
- localVarHeaderParameter['Content-Type'] = 'application/json';
3439
3562
 
3563
+
3440
3564
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3441
3565
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3442
3566
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3443
- localVarRequestOptions.data = serializeDataIfNeeded(v1GetInstructionRequest, localVarRequestOptions, configuration)
3444
3567
 
3445
3568
  return {
3446
3569
  url: toPathString(localVarUrlObj),
@@ -4281,18 +4404,6 @@ export const DefaultApiFp = function(configuration?: Configuration) {
4281
4404
  const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetCameras(options);
4282
4405
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4283
4406
  },
4284
- /**
4285
- * Create an embedding URL for a dashboard or question
4286
- * @param {string} questionType
4287
- * @param {string} [nodeId]
4288
- * @param {number} [lookbackDays]
4289
- * @param {*} [options] Override http request option.
4290
- * @throws {RequiredError}
4291
- */
4292
- async v1GetEmbeddedQueryUrl(questionType: string, nodeId?: string, lookbackDays?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1GetEmbeddedQueryUrlResponse>> {
4293
- const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetEmbeddedQueryUrl(questionType, nodeId, lookbackDays, options);
4294
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4295
- },
4296
4407
  /**
4297
4408
  * Get an image set.
4298
4409
  * @param {string} id
@@ -4323,6 +4434,26 @@ export const DefaultApiFp = function(configuration?: Configuration) {
4323
4434
  const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetInstruction(v1GetInstructionRequest, options);
4324
4435
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4325
4436
  },
4437
+ /**
4438
+ * Get the last instruction time and type for a specific node.
4439
+ * @param {string} nodeId
4440
+ * @param {*} [options] Override http request option.
4441
+ * @throws {RequiredError}
4442
+ */
4443
+ async v1GetLastInstructionByNodeId(nodeId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1LastInstructionResponse>> {
4444
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetLastInstructionByNodeId(nodeId, options);
4445
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4446
+ },
4447
+ /**
4448
+ * Get the latest HFR value for a specific node by its ID
4449
+ * @param {string} nodeId
4450
+ * @param {*} [options] Override http request option.
4451
+ * @throws {RequiredError}
4452
+ */
4453
+ async v1GetLatestHfr(nodeId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1LatestHfrResponse>> {
4454
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetLatestHfr(nodeId, options);
4455
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4456
+ },
4326
4457
  /**
4327
4458
  * Get a mount.
4328
4459
  * @param {string} id
@@ -4628,15 +4759,6 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
4628
4759
  v1GetCameras(options?: AxiosRequestConfig): AxiosPromise<Array<V1Camera>> {
4629
4760
  return localVarFp.v1GetCameras(options).then((request) => request(axios, basePath));
4630
4761
  },
4631
- /**
4632
- * Create an embedding URL for a dashboard or question
4633
- * @param {DefaultApiV1GetEmbeddedQueryUrlRequest} requestParameters Request parameters.
4634
- * @param {*} [options] Override http request option.
4635
- * @throws {RequiredError}
4636
- */
4637
- v1GetEmbeddedQueryUrl(requestParameters: DefaultApiV1GetEmbeddedQueryUrlRequest, options?: AxiosRequestConfig): AxiosPromise<V1GetEmbeddedQueryUrlResponse> {
4638
- return localVarFp.v1GetEmbeddedQueryUrl(requestParameters.questionType, requestParameters.nodeId, requestParameters.lookbackDays, options).then((request) => request(axios, basePath));
4639
- },
4640
4762
  /**
4641
4763
  * Get an image set.
4642
4764
  * @param {DefaultApiV1GetImageSetRequest} requestParameters Request parameters.
@@ -4664,6 +4786,24 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
4664
4786
  v1GetInstruction(requestParameters: DefaultApiV1GetInstructionRequest, options?: AxiosRequestConfig): AxiosPromise<V1Instruction> {
4665
4787
  return localVarFp.v1GetInstruction(requestParameters.v1GetInstructionRequest, options).then((request) => request(axios, basePath));
4666
4788
  },
4789
+ /**
4790
+ * Get the last instruction time and type for a specific node.
4791
+ * @param {DefaultApiV1GetLastInstructionByNodeIdRequest} requestParameters Request parameters.
4792
+ * @param {*} [options] Override http request option.
4793
+ * @throws {RequiredError}
4794
+ */
4795
+ v1GetLastInstructionByNodeId(requestParameters: DefaultApiV1GetLastInstructionByNodeIdRequest, options?: AxiosRequestConfig): AxiosPromise<V1LastInstructionResponse> {
4796
+ return localVarFp.v1GetLastInstructionByNodeId(requestParameters.nodeId, options).then((request) => request(axios, basePath));
4797
+ },
4798
+ /**
4799
+ * Get the latest HFR value for a specific node by its ID
4800
+ * @param {DefaultApiV1GetLatestHfrRequest} requestParameters Request parameters.
4801
+ * @param {*} [options] Override http request option.
4802
+ * @throws {RequiredError}
4803
+ */
4804
+ v1GetLatestHfr(requestParameters: DefaultApiV1GetLatestHfrRequest, options?: AxiosRequestConfig): AxiosPromise<V1LatestHfrResponse> {
4805
+ return localVarFp.v1GetLatestHfr(requestParameters.nodeId, options).then((request) => request(axios, basePath));
4806
+ },
4667
4807
  /**
4668
4808
  * Get a mount.
4669
4809
  * @param {DefaultApiV1GetMountRequest} requestParameters Request parameters.
@@ -5041,34 +5181,6 @@ export interface DefaultApiV1DeleteImageSetImageRequest {
5041
5181
  readonly imageId: string
5042
5182
  }
5043
5183
 
5044
- /**
5045
- * Request parameters for v1GetEmbeddedQueryUrl operation in DefaultApi.
5046
- * @export
5047
- * @interface DefaultApiV1GetEmbeddedQueryUrlRequest
5048
- */
5049
- export interface DefaultApiV1GetEmbeddedQueryUrlRequest {
5050
- /**
5051
- *
5052
- * @type {string}
5053
- * @memberof DefaultApiV1GetEmbeddedQueryUrl
5054
- */
5055
- readonly questionType: string
5056
-
5057
- /**
5058
- *
5059
- * @type {string}
5060
- * @memberof DefaultApiV1GetEmbeddedQueryUrl
5061
- */
5062
- readonly nodeId?: string
5063
-
5064
- /**
5065
- *
5066
- * @type {number}
5067
- * @memberof DefaultApiV1GetEmbeddedQueryUrl
5068
- */
5069
- readonly lookbackDays?: number
5070
- }
5071
-
5072
5184
  /**
5073
5185
  * Request parameters for v1GetImageSet operation in DefaultApi.
5074
5186
  * @export
@@ -5111,6 +5223,34 @@ export interface DefaultApiV1GetInstructionRequest {
5111
5223
  readonly v1GetInstructionRequest: V1GetInstructionRequest
5112
5224
  }
5113
5225
 
5226
+ /**
5227
+ * Request parameters for v1GetLastInstructionByNodeId operation in DefaultApi.
5228
+ * @export
5229
+ * @interface DefaultApiV1GetLastInstructionByNodeIdRequest
5230
+ */
5231
+ export interface DefaultApiV1GetLastInstructionByNodeIdRequest {
5232
+ /**
5233
+ *
5234
+ * @type {string}
5235
+ * @memberof DefaultApiV1GetLastInstructionByNodeId
5236
+ */
5237
+ readonly nodeId: string
5238
+ }
5239
+
5240
+ /**
5241
+ * Request parameters for v1GetLatestHfr operation in DefaultApi.
5242
+ * @export
5243
+ * @interface DefaultApiV1GetLatestHfrRequest
5244
+ */
5245
+ export interface DefaultApiV1GetLatestHfrRequest {
5246
+ /**
5247
+ *
5248
+ * @type {string}
5249
+ * @memberof DefaultApiV1GetLatestHfr
5250
+ */
5251
+ readonly nodeId: string
5252
+ }
5253
+
5114
5254
  /**
5115
5255
  * Request parameters for v1GetMount operation in DefaultApi.
5116
5256
  * @export
@@ -5512,17 +5652,6 @@ export class DefaultApi extends BaseAPI {
5512
5652
  return DefaultApiFp(this.configuration).v1GetCameras(options).then((request) => request(this.axios, this.basePath));
5513
5653
  }
5514
5654
 
5515
- /**
5516
- * Create an embedding URL for a dashboard or question
5517
- * @param {DefaultApiV1GetEmbeddedQueryUrlRequest} requestParameters Request parameters.
5518
- * @param {*} [options] Override http request option.
5519
- * @throws {RequiredError}
5520
- * @memberof DefaultApi
5521
- */
5522
- public v1GetEmbeddedQueryUrl(requestParameters: DefaultApiV1GetEmbeddedQueryUrlRequest, options?: AxiosRequestConfig) {
5523
- return DefaultApiFp(this.configuration).v1GetEmbeddedQueryUrl(requestParameters.questionType, requestParameters.nodeId, requestParameters.lookbackDays, options).then((request) => request(this.axios, this.basePath));
5524
- }
5525
-
5526
5655
  /**
5527
5656
  * Get an image set.
5528
5657
  * @param {DefaultApiV1GetImageSetRequest} requestParameters Request parameters.
@@ -5556,6 +5685,28 @@ export class DefaultApi extends BaseAPI {
5556
5685
  return DefaultApiFp(this.configuration).v1GetInstruction(requestParameters.v1GetInstructionRequest, options).then((request) => request(this.axios, this.basePath));
5557
5686
  }
5558
5687
 
5688
+ /**
5689
+ * Get the last instruction time and type for a specific node.
5690
+ * @param {DefaultApiV1GetLastInstructionByNodeIdRequest} requestParameters Request parameters.
5691
+ * @param {*} [options] Override http request option.
5692
+ * @throws {RequiredError}
5693
+ * @memberof DefaultApi
5694
+ */
5695
+ public v1GetLastInstructionByNodeId(requestParameters: DefaultApiV1GetLastInstructionByNodeIdRequest, options?: AxiosRequestConfig) {
5696
+ return DefaultApiFp(this.configuration).v1GetLastInstructionByNodeId(requestParameters.nodeId, options).then((request) => request(this.axios, this.basePath));
5697
+ }
5698
+
5699
+ /**
5700
+ * Get the latest HFR value for a specific node by its ID
5701
+ * @param {DefaultApiV1GetLatestHfrRequest} requestParameters Request parameters.
5702
+ * @param {*} [options] Override http request option.
5703
+ * @throws {RequiredError}
5704
+ * @memberof DefaultApi
5705
+ */
5706
+ public v1GetLatestHfr(requestParameters: DefaultApiV1GetLatestHfrRequest, options?: AxiosRequestConfig) {
5707
+ return DefaultApiFp(this.configuration).v1GetLatestHfr(requestParameters.nodeId, options).then((request) => request(this.axios, this.basePath));
5708
+ }
5709
+
5559
5710
  /**
5560
5711
  * Get a mount.
5561
5712
  * @param {DefaultApiV1GetMountRequest} requestParameters Request parameters.
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * OurSky Platform
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.3.4692
7
+ * The version of the OpenAPI document: 1.3.4784
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * OurSky Platform
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.3.4692
7
+ * The version of the OpenAPI document: 1.3.4784
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * OurSky Platform
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.3.4692
7
+ * The version of the OpenAPI document: 1.3.4784
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).