@ourskyai/platform-api 1.3.4692 → 1.3.4796

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/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.4796
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -675,6 +675,58 @@ export interface V1CreateNodeDiagnosticsRequest {
675
675
  */
676
676
  'diagnostics': Array<V1CreateNodeDiagnostic>;
677
677
  }
678
+ /**
679
+ *
680
+ * @export
681
+ * @interface V1CreateNodeEvent
682
+ */
683
+ export interface V1CreateNodeEvent {
684
+ /**
685
+ *
686
+ * @type {V1NodeEventType}
687
+ * @memberof V1CreateNodeEvent
688
+ */
689
+ 'type': V1NodeEventType;
690
+ /**
691
+ *
692
+ * @type {V1CreateNodeEventBody}
693
+ * @memberof V1CreateNodeEvent
694
+ */
695
+ 'body': V1CreateNodeEventBody;
696
+ /**
697
+ *
698
+ * @type {string}
699
+ * @memberof V1CreateNodeEvent
700
+ */
701
+ 'generatedAt': string;
702
+ }
703
+
704
+
705
+ /**
706
+ * @type V1CreateNodeEventBody
707
+ * @export
708
+ */
709
+ export type V1CreateNodeEventBody = V1SafetyStatusUpdated;
710
+
711
+ /**
712
+ *
713
+ * @export
714
+ * @interface V1CreateNodeEventsRequest
715
+ */
716
+ export interface V1CreateNodeEventsRequest {
717
+ /**
718
+ *
719
+ * @type {string}
720
+ * @memberof V1CreateNodeEventsRequest
721
+ */
722
+ 'nodeId': string;
723
+ /**
724
+ *
725
+ * @type {Array<V1CreateNodeEvent>}
726
+ * @memberof V1CreateNodeEventsRequest
727
+ */
728
+ 'events': Array<V1CreateNodeEvent>;
729
+ }
678
730
  /**
679
731
  * Create Node
680
732
  * @export
@@ -860,19 +912,6 @@ export interface V1GainCurvePoint {
860
912
  */
861
913
  'eADU': number;
862
914
  }
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
915
  /**
877
916
  *
878
917
  * @export
@@ -1512,6 +1551,58 @@ export interface V1Instruction {
1512
1551
  */
1513
1552
  'autofocus'?: V1AutoFocusInstruction;
1514
1553
  }
1554
+ /**
1555
+ *
1556
+ * @export
1557
+ * @interface V1LastInstructionResponse
1558
+ */
1559
+ export interface V1LastInstructionResponse {
1560
+ /**
1561
+ *
1562
+ * @type {string}
1563
+ * @memberof V1LastInstructionResponse
1564
+ */
1565
+ 'id'?: string;
1566
+ /**
1567
+ *
1568
+ * @type {string}
1569
+ * @memberof V1LastInstructionResponse
1570
+ */
1571
+ 'receivedAt'?: string;
1572
+ /**
1573
+ *
1574
+ * @type {TrackingType}
1575
+ * @memberof V1LastInstructionResponse
1576
+ */
1577
+ 'trackingType'?: TrackingType;
1578
+ }
1579
+
1580
+
1581
+ /**
1582
+ *
1583
+ * @export
1584
+ * @interface V1LatestHfrResponse
1585
+ */
1586
+ export interface V1LatestHfrResponse {
1587
+ /**
1588
+ *
1589
+ * @type {string}
1590
+ * @memberof V1LatestHfrResponse
1591
+ */
1592
+ 'nodeId'?: string;
1593
+ /**
1594
+ *
1595
+ * @type {string}
1596
+ * @memberof V1LatestHfrResponse
1597
+ */
1598
+ 'hfrValues'?: string;
1599
+ /**
1600
+ *
1601
+ * @type {string}
1602
+ * @memberof V1LatestHfrResponse
1603
+ */
1604
+ 'timestamp'?: string;
1605
+ }
1515
1606
  /**
1516
1607
  *
1517
1608
  * @export
@@ -1686,6 +1777,7 @@ export const V1NodeComponentType = {
1686
1777
  MOUNT: 'MOUNT',
1687
1778
  OPTICAL_TUBE: 'OPTICAL_TUBE',
1688
1779
  COMPUTER: 'COMPUTER',
1780
+ SAFETY_MONITOR: 'SAFETY_MONITOR',
1689
1781
  NODE: 'NODE'
1690
1782
  } as const;
1691
1783
 
@@ -1731,6 +1823,8 @@ export const V1NodeDiagnosticType = {
1731
1823
  CPU_USAGE_LAST_MINUTE_PCT: 'CPU_USAGE_LAST_MINUTE_PCT',
1732
1824
  FOCUS_HFR_VALUES: 'FOCUS_HFR_VALUES',
1733
1825
  HAS_FOCUSER: 'HAS_FOCUSER',
1826
+ HAS_SAFETY_MONITOR: 'HAS_SAFETY_MONITOR',
1827
+ SAFETY_STATUS: 'SAFETY_STATUS',
1734
1828
  GNSS_CALIBRATION: 'GNSS_CALIBRATION',
1735
1829
  SATELLITE_CALIBRATION: 'SATELLITE_CALIBRATION',
1736
1830
  MOUNT_MODEL_CHECKED: 'MOUNT_MODEL_CHECKED',
@@ -1749,6 +1843,19 @@ export const V1NodeDiagnosticType = {
1749
1843
  export type V1NodeDiagnosticType = typeof V1NodeDiagnosticType[keyof typeof V1NodeDiagnosticType];
1750
1844
 
1751
1845
 
1846
+ /**
1847
+ *
1848
+ * @export
1849
+ * @enum {string}
1850
+ */
1851
+
1852
+ export const V1NodeEventType = {
1853
+ V1_SAFETY_STATUS_UPDATED: 'V1_SAFETY_STATUS_UPDATED'
1854
+ } as const;
1855
+
1856
+ export type V1NodeEventType = typeof V1NodeEventType[keyof typeof V1NodeEventType];
1857
+
1858
+
1752
1859
  /**
1753
1860
  * Node with location
1754
1861
  * @export
@@ -2019,6 +2126,49 @@ export interface V1ObservationInstructionSatellitePassEphemerisInner {
2019
2126
  */
2020
2127
  'elevation'?: number;
2021
2128
  }
2129
+ /**
2130
+ *
2131
+ * @export
2132
+ * @interface V1ObservationMetrics
2133
+ */
2134
+ export interface V1ObservationMetrics {
2135
+ /**
2136
+ *
2137
+ * @type {number}
2138
+ * @memberof V1ObservationMetrics
2139
+ */
2140
+ 'waitingForSlewMountMs': number;
2141
+ /**
2142
+ *
2143
+ * @type {number}
2144
+ * @memberof V1ObservationMetrics
2145
+ */
2146
+ 'slewMountMs': number;
2147
+ /**
2148
+ *
2149
+ * @type {number}
2150
+ * @memberof V1ObservationMetrics
2151
+ */
2152
+ 'centerMountMs': number;
2153
+ /**
2154
+ *
2155
+ * @type {number}
2156
+ * @memberof V1ObservationMetrics
2157
+ */
2158
+ 'waitingForCaptureImagesMs': number;
2159
+ /**
2160
+ *
2161
+ * @type {number}
2162
+ * @memberof V1ObservationMetrics
2163
+ */
2164
+ 'missedCaptureImagesMs': number;
2165
+ /**
2166
+ *
2167
+ * @type {number}
2168
+ * @memberof V1ObservationMetrics
2169
+ */
2170
+ 'captureImagesMs': number;
2171
+ }
2022
2172
  /**
2023
2173
  * Optical Tube
2024
2174
  * @export
@@ -2198,6 +2348,19 @@ export interface V1Release {
2198
2348
  }
2199
2349
 
2200
2350
 
2351
+ /**
2352
+ *
2353
+ * @export
2354
+ * @interface V1SafetyStatusUpdated
2355
+ */
2356
+ export interface V1SafetyStatusUpdated {
2357
+ /**
2358
+ *
2359
+ * @type {boolean}
2360
+ * @memberof V1SafetyStatusUpdated
2361
+ */
2362
+ 'isSafe': boolean;
2363
+ }
2201
2364
  /**
2202
2365
  * Setup Action
2203
2366
  * @export
@@ -2623,6 +2786,12 @@ export interface V2CompleteObservationRequest {
2623
2786
  * @memberof V2CompleteObservationRequest
2624
2787
  */
2625
2788
  'expectedImageCount': number;
2789
+ /**
2790
+ *
2791
+ * @type {V1ObservationMetrics}
2792
+ * @memberof V2CompleteObservationRequest
2793
+ */
2794
+ 'metrics'?: V1ObservationMetrics;
2626
2795
  }
2627
2796
 
2628
2797
  /**
@@ -3110,6 +3279,47 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3110
3279
  options: localVarRequestOptions,
3111
3280
  };
3112
3281
  },
3282
+ /**
3283
+ * Create node events
3284
+ * @param {V1CreateNodeEventsRequest} v1CreateNodeEventsRequest
3285
+ * @param {*} [options] Override http request option.
3286
+ * @throws {RequiredError}
3287
+ */
3288
+ v1CreateNodeEvents: async (v1CreateNodeEventsRequest: V1CreateNodeEventsRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3289
+ // verify required parameter 'v1CreateNodeEventsRequest' is not null or undefined
3290
+ assertParamExists('v1CreateNodeEvents', 'v1CreateNodeEventsRequest', v1CreateNodeEventsRequest)
3291
+ const localVarPath = `/v1/node-events`;
3292
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3293
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3294
+ let baseOptions;
3295
+ if (configuration) {
3296
+ baseOptions = configuration.baseOptions;
3297
+ }
3298
+
3299
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
3300
+ const localVarHeaderParameter = {} as any;
3301
+ const localVarQueryParameter = {} as any;
3302
+
3303
+ // authentication Roles required
3304
+
3305
+ // authentication BearerToken required
3306
+ // http bearer authentication required
3307
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
3308
+
3309
+
3310
+
3311
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3312
+
3313
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3314
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3315
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3316
+ localVarRequestOptions.data = serializeDataIfNeeded(v1CreateNodeEventsRequest, localVarRequestOptions, configuration)
3317
+
3318
+ return {
3319
+ url: toPathString(localVarUrlObj),
3320
+ options: localVarRequestOptions,
3321
+ };
3322
+ },
3113
3323
  /**
3114
3324
  * Create an optical tube.
3115
3325
  * @param {V1CreateOpticalTubeRequest} v1CreateOpticalTubeRequest
@@ -3271,17 +3481,15 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3271
3481
  };
3272
3482
  },
3273
3483
  /**
3274
- * Create an embedding URL for a dashboard or question
3275
- * @param {string} questionType
3276
- * @param {string} [nodeId]
3277
- * @param {number} [lookbackDays]
3484
+ * Get an image set.
3485
+ * @param {string} id
3278
3486
  * @param {*} [options] Override http request option.
3279
3487
  * @throws {RequiredError}
3280
3488
  */
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`;
3489
+ v1GetImageSet: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3490
+ // verify required parameter 'id' is not null or undefined
3491
+ assertParamExists('v1GetImageSet', 'id', id)
3492
+ const localVarPath = `/v1/image-set`;
3285
3493
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3286
3494
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3287
3495
  let baseOptions;
@@ -3299,16 +3507,50 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3299
3507
  // http bearer authentication required
3300
3508
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
3301
3509
 
3302
- if (questionType !== undefined) {
3303
- localVarQueryParameter['questionType'] = questionType;
3510
+ if (id !== undefined) {
3511
+ localVarQueryParameter['id'] = id;
3304
3512
  }
3305
3513
 
3306
- if (nodeId !== undefined) {
3307
- localVarQueryParameter['nodeId'] = nodeId;
3514
+
3515
+
3516
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3517
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3518
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3519
+
3520
+ return {
3521
+ url: toPathString(localVarUrlObj),
3522
+ options: localVarRequestOptions,
3523
+ };
3524
+ },
3525
+ /**
3526
+ * Get an image.
3527
+ * @param {string} imageId
3528
+ * @param {*} [options] Override http request option.
3529
+ * @throws {RequiredError}
3530
+ */
3531
+ v1GetImageSetImage: async (imageId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3532
+ // verify required parameter 'imageId' is not null or undefined
3533
+ assertParamExists('v1GetImageSetImage', 'imageId', imageId)
3534
+ const localVarPath = `/v1/image-set-image`;
3535
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3536
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3537
+ let baseOptions;
3538
+ if (configuration) {
3539
+ baseOptions = configuration.baseOptions;
3308
3540
  }
3309
3541
 
3310
- if (lookbackDays !== undefined) {
3311
- localVarQueryParameter['lookbackDays'] = lookbackDays;
3542
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3543
+ const localVarHeaderParameter = {} as any;
3544
+ const localVarQueryParameter = {} as any;
3545
+
3546
+ // authentication Roles required
3547
+
3548
+ // authentication BearerToken required
3549
+ // http bearer authentication required
3550
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
3551
+
3552
+ if (imageId !== undefined) {
3553
+ localVarQueryParameter['imageId'] = imageId;
3312
3554
  }
3313
3555
 
3314
3556
 
@@ -3323,15 +3565,15 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3323
3565
  };
3324
3566
  },
3325
3567
  /**
3326
- * Get an image set.
3327
- * @param {string} id
3568
+ * Get instruction.
3569
+ * @param {V1GetInstructionRequest} v1GetInstructionRequest
3328
3570
  * @param {*} [options] Override http request option.
3329
3571
  * @throws {RequiredError}
3330
3572
  */
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`;
3573
+ v1GetInstruction: async (v1GetInstructionRequest: V1GetInstructionRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3574
+ // verify required parameter 'v1GetInstructionRequest' is not null or undefined
3575
+ assertParamExists('v1GetInstruction', 'v1GetInstructionRequest', v1GetInstructionRequest)
3576
+ const localVarPath = `/v1/instruction`;
3335
3577
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3336
3578
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3337
3579
  let baseOptions;
@@ -3339,7 +3581,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3339
3581
  baseOptions = configuration.baseOptions;
3340
3582
  }
3341
3583
 
3342
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3584
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
3343
3585
  const localVarHeaderParameter = {} as any;
3344
3586
  const localVarQueryParameter = {} as any;
3345
3587
 
@@ -3349,15 +3591,14 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3349
3591
  // http bearer authentication required
3350
3592
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
3351
3593
 
3352
- if (id !== undefined) {
3353
- localVarQueryParameter['id'] = id;
3354
- }
3355
-
3356
3594
 
3357
3595
 
3596
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3597
+
3358
3598
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3359
3599
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3360
3600
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3601
+ localVarRequestOptions.data = serializeDataIfNeeded(v1GetInstructionRequest, localVarRequestOptions, configuration)
3361
3602
 
3362
3603
  return {
3363
3604
  url: toPathString(localVarUrlObj),
@@ -3365,15 +3606,15 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3365
3606
  };
3366
3607
  },
3367
3608
  /**
3368
- * Get an image.
3369
- * @param {string} imageId
3609
+ * Get the last instruction time and type for a specific node.
3610
+ * @param {string} nodeId
3370
3611
  * @param {*} [options] Override http request option.
3371
3612
  * @throws {RequiredError}
3372
3613
  */
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`;
3614
+ v1GetLastInstructionByNodeId: async (nodeId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3615
+ // verify required parameter 'nodeId' is not null or undefined
3616
+ assertParamExists('v1GetLastInstructionByNodeId', 'nodeId', nodeId)
3617
+ const localVarPath = `/v1/instruction`;
3377
3618
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3378
3619
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3379
3620
  let baseOptions;
@@ -3391,8 +3632,8 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3391
3632
  // http bearer authentication required
3392
3633
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
3393
3634
 
3394
- if (imageId !== undefined) {
3395
- localVarQueryParameter['imageId'] = imageId;
3635
+ if (nodeId !== undefined) {
3636
+ localVarQueryParameter['nodeId'] = nodeId;
3396
3637
  }
3397
3638
 
3398
3639
 
@@ -3407,15 +3648,15 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3407
3648
  };
3408
3649
  },
3409
3650
  /**
3410
- * Get instruction.
3411
- * @param {V1GetInstructionRequest} v1GetInstructionRequest
3651
+ * Get the latest HFR value for a specific node by its ID
3652
+ * @param {string} nodeId
3412
3653
  * @param {*} [options] Override http request option.
3413
3654
  * @throws {RequiredError}
3414
3655
  */
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`;
3656
+ v1GetLatestHfr: async (nodeId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3657
+ // verify required parameter 'nodeId' is not null or undefined
3658
+ assertParamExists('v1GetLatestHfr', 'nodeId', nodeId)
3659
+ const localVarPath = `/v1/autofocus`;
3419
3660
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3420
3661
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3421
3662
  let baseOptions;
@@ -3423,7 +3664,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3423
3664
  baseOptions = configuration.baseOptions;
3424
3665
  }
3425
3666
 
3426
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
3667
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3427
3668
  const localVarHeaderParameter = {} as any;
3428
3669
  const localVarQueryParameter = {} as any;
3429
3670
 
@@ -3433,14 +3674,15 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3433
3674
  // http bearer authentication required
3434
3675
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
3435
3676
 
3677
+ if (nodeId !== undefined) {
3678
+ localVarQueryParameter['nodeId'] = nodeId;
3679
+ }
3680
+
3436
3681
 
3437
3682
 
3438
- localVarHeaderParameter['Content-Type'] = 'application/json';
3439
-
3440
3683
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3441
3684
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3442
3685
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3443
- localVarRequestOptions.data = serializeDataIfNeeded(v1GetInstructionRequest, localVarRequestOptions, configuration)
3444
3686
 
3445
3687
  return {
3446
3688
  url: toPathString(localVarUrlObj),
@@ -4242,6 +4484,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
4242
4484
  const localVarAxiosArgs = await localVarAxiosParamCreator.v1CreateNodeDiagnostics(v1CreateNodeDiagnosticsRequest, options);
4243
4485
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4244
4486
  },
4487
+ /**
4488
+ * Create node events
4489
+ * @param {V1CreateNodeEventsRequest} v1CreateNodeEventsRequest
4490
+ * @param {*} [options] Override http request option.
4491
+ * @throws {RequiredError}
4492
+ */
4493
+ async v1CreateNodeEvents(v1CreateNodeEventsRequest: V1CreateNodeEventsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptySuccess>> {
4494
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1CreateNodeEvents(v1CreateNodeEventsRequest, options);
4495
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4496
+ },
4245
4497
  /**
4246
4498
  * Create an optical tube.
4247
4499
  * @param {V1CreateOpticalTubeRequest} v1CreateOpticalTubeRequest
@@ -4281,18 +4533,6 @@ export const DefaultApiFp = function(configuration?: Configuration) {
4281
4533
  const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetCameras(options);
4282
4534
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4283
4535
  },
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
4536
  /**
4297
4537
  * Get an image set.
4298
4538
  * @param {string} id
@@ -4323,6 +4563,26 @@ export const DefaultApiFp = function(configuration?: Configuration) {
4323
4563
  const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetInstruction(v1GetInstructionRequest, options);
4324
4564
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4325
4565
  },
4566
+ /**
4567
+ * Get the last instruction time and type for a specific node.
4568
+ * @param {string} nodeId
4569
+ * @param {*} [options] Override http request option.
4570
+ * @throws {RequiredError}
4571
+ */
4572
+ async v1GetLastInstructionByNodeId(nodeId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1LastInstructionResponse>> {
4573
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetLastInstructionByNodeId(nodeId, options);
4574
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4575
+ },
4576
+ /**
4577
+ * Get the latest HFR value for a specific node by its ID
4578
+ * @param {string} nodeId
4579
+ * @param {*} [options] Override http request option.
4580
+ * @throws {RequiredError}
4581
+ */
4582
+ async v1GetLatestHfr(nodeId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1LatestHfrResponse>> {
4583
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetLatestHfr(nodeId, options);
4584
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4585
+ },
4326
4586
  /**
4327
4587
  * Get a mount.
4328
4588
  * @param {string} id
@@ -4593,6 +4853,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
4593
4853
  v1CreateNodeDiagnostics(requestParameters: DefaultApiV1CreateNodeDiagnosticsRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess> {
4594
4854
  return localVarFp.v1CreateNodeDiagnostics(requestParameters.v1CreateNodeDiagnosticsRequest, options).then((request) => request(axios, basePath));
4595
4855
  },
4856
+ /**
4857
+ * Create node events
4858
+ * @param {DefaultApiV1CreateNodeEventsRequest} requestParameters Request parameters.
4859
+ * @param {*} [options] Override http request option.
4860
+ * @throws {RequiredError}
4861
+ */
4862
+ v1CreateNodeEvents(requestParameters: DefaultApiV1CreateNodeEventsRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess> {
4863
+ return localVarFp.v1CreateNodeEvents(requestParameters.v1CreateNodeEventsRequest, options).then((request) => request(axios, basePath));
4864
+ },
4596
4865
  /**
4597
4866
  * Create an optical tube.
4598
4867
  * @param {DefaultApiV1CreateOpticalTubeRequest} requestParameters Request parameters.
@@ -4628,15 +4897,6 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
4628
4897
  v1GetCameras(options?: AxiosRequestConfig): AxiosPromise<Array<V1Camera>> {
4629
4898
  return localVarFp.v1GetCameras(options).then((request) => request(axios, basePath));
4630
4899
  },
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
4900
  /**
4641
4901
  * Get an image set.
4642
4902
  * @param {DefaultApiV1GetImageSetRequest} requestParameters Request parameters.
@@ -4664,6 +4924,24 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
4664
4924
  v1GetInstruction(requestParameters: DefaultApiV1GetInstructionRequest, options?: AxiosRequestConfig): AxiosPromise<V1Instruction> {
4665
4925
  return localVarFp.v1GetInstruction(requestParameters.v1GetInstructionRequest, options).then((request) => request(axios, basePath));
4666
4926
  },
4927
+ /**
4928
+ * Get the last instruction time and type for a specific node.
4929
+ * @param {DefaultApiV1GetLastInstructionByNodeIdRequest} requestParameters Request parameters.
4930
+ * @param {*} [options] Override http request option.
4931
+ * @throws {RequiredError}
4932
+ */
4933
+ v1GetLastInstructionByNodeId(requestParameters: DefaultApiV1GetLastInstructionByNodeIdRequest, options?: AxiosRequestConfig): AxiosPromise<V1LastInstructionResponse> {
4934
+ return localVarFp.v1GetLastInstructionByNodeId(requestParameters.nodeId, options).then((request) => request(axios, basePath));
4935
+ },
4936
+ /**
4937
+ * Get the latest HFR value for a specific node by its ID
4938
+ * @param {DefaultApiV1GetLatestHfrRequest} requestParameters Request parameters.
4939
+ * @param {*} [options] Override http request option.
4940
+ * @throws {RequiredError}
4941
+ */
4942
+ v1GetLatestHfr(requestParameters: DefaultApiV1GetLatestHfrRequest, options?: AxiosRequestConfig): AxiosPromise<V1LatestHfrResponse> {
4943
+ return localVarFp.v1GetLatestHfr(requestParameters.nodeId, options).then((request) => request(axios, basePath));
4944
+ },
4667
4945
  /**
4668
4946
  * Get a mount.
4669
4947
  * @param {DefaultApiV1GetMountRequest} requestParameters Request parameters.
@@ -4999,6 +5277,20 @@ export interface DefaultApiV1CreateNodeDiagnosticsRequest {
4999
5277
  readonly v1CreateNodeDiagnosticsRequest: V1CreateNodeDiagnosticsRequest
5000
5278
  }
5001
5279
 
5280
+ /**
5281
+ * Request parameters for v1CreateNodeEvents operation in DefaultApi.
5282
+ * @export
5283
+ * @interface DefaultApiV1CreateNodeEventsRequest
5284
+ */
5285
+ export interface DefaultApiV1CreateNodeEventsRequest {
5286
+ /**
5287
+ *
5288
+ * @type {V1CreateNodeEventsRequest}
5289
+ * @memberof DefaultApiV1CreateNodeEvents
5290
+ */
5291
+ readonly v1CreateNodeEventsRequest: V1CreateNodeEventsRequest
5292
+ }
5293
+
5002
5294
  /**
5003
5295
  * Request parameters for v1CreateOpticalTube operation in DefaultApi.
5004
5296
  * @export
@@ -5041,34 +5333,6 @@ export interface DefaultApiV1DeleteImageSetImageRequest {
5041
5333
  readonly imageId: string
5042
5334
  }
5043
5335
 
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
5336
  /**
5073
5337
  * Request parameters for v1GetImageSet operation in DefaultApi.
5074
5338
  * @export
@@ -5111,6 +5375,34 @@ export interface DefaultApiV1GetInstructionRequest {
5111
5375
  readonly v1GetInstructionRequest: V1GetInstructionRequest
5112
5376
  }
5113
5377
 
5378
+ /**
5379
+ * Request parameters for v1GetLastInstructionByNodeId operation in DefaultApi.
5380
+ * @export
5381
+ * @interface DefaultApiV1GetLastInstructionByNodeIdRequest
5382
+ */
5383
+ export interface DefaultApiV1GetLastInstructionByNodeIdRequest {
5384
+ /**
5385
+ *
5386
+ * @type {string}
5387
+ * @memberof DefaultApiV1GetLastInstructionByNodeId
5388
+ */
5389
+ readonly nodeId: string
5390
+ }
5391
+
5392
+ /**
5393
+ * Request parameters for v1GetLatestHfr operation in DefaultApi.
5394
+ * @export
5395
+ * @interface DefaultApiV1GetLatestHfrRequest
5396
+ */
5397
+ export interface DefaultApiV1GetLatestHfrRequest {
5398
+ /**
5399
+ *
5400
+ * @type {string}
5401
+ * @memberof DefaultApiV1GetLatestHfr
5402
+ */
5403
+ readonly nodeId: string
5404
+ }
5405
+
5114
5406
  /**
5115
5407
  * Request parameters for v1GetMount operation in DefaultApi.
5116
5408
  * @export
@@ -5469,6 +5761,17 @@ export class DefaultApi extends BaseAPI {
5469
5761
  return DefaultApiFp(this.configuration).v1CreateNodeDiagnostics(requestParameters.v1CreateNodeDiagnosticsRequest, options).then((request) => request(this.axios, this.basePath));
5470
5762
  }
5471
5763
 
5764
+ /**
5765
+ * Create node events
5766
+ * @param {DefaultApiV1CreateNodeEventsRequest} requestParameters Request parameters.
5767
+ * @param {*} [options] Override http request option.
5768
+ * @throws {RequiredError}
5769
+ * @memberof DefaultApi
5770
+ */
5771
+ public v1CreateNodeEvents(requestParameters: DefaultApiV1CreateNodeEventsRequest, options?: AxiosRequestConfig) {
5772
+ return DefaultApiFp(this.configuration).v1CreateNodeEvents(requestParameters.v1CreateNodeEventsRequest, options).then((request) => request(this.axios, this.basePath));
5773
+ }
5774
+
5472
5775
  /**
5473
5776
  * Create an optical tube.
5474
5777
  * @param {DefaultApiV1CreateOpticalTubeRequest} requestParameters Request parameters.
@@ -5512,17 +5815,6 @@ export class DefaultApi extends BaseAPI {
5512
5815
  return DefaultApiFp(this.configuration).v1GetCameras(options).then((request) => request(this.axios, this.basePath));
5513
5816
  }
5514
5817
 
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
5818
  /**
5527
5819
  * Get an image set.
5528
5820
  * @param {DefaultApiV1GetImageSetRequest} requestParameters Request parameters.
@@ -5556,6 +5848,28 @@ export class DefaultApi extends BaseAPI {
5556
5848
  return DefaultApiFp(this.configuration).v1GetInstruction(requestParameters.v1GetInstructionRequest, options).then((request) => request(this.axios, this.basePath));
5557
5849
  }
5558
5850
 
5851
+ /**
5852
+ * Get the last instruction time and type for a specific node.
5853
+ * @param {DefaultApiV1GetLastInstructionByNodeIdRequest} requestParameters Request parameters.
5854
+ * @param {*} [options] Override http request option.
5855
+ * @throws {RequiredError}
5856
+ * @memberof DefaultApi
5857
+ */
5858
+ public v1GetLastInstructionByNodeId(requestParameters: DefaultApiV1GetLastInstructionByNodeIdRequest, options?: AxiosRequestConfig) {
5859
+ return DefaultApiFp(this.configuration).v1GetLastInstructionByNodeId(requestParameters.nodeId, options).then((request) => request(this.axios, this.basePath));
5860
+ }
5861
+
5862
+ /**
5863
+ * Get the latest HFR value for a specific node by its ID
5864
+ * @param {DefaultApiV1GetLatestHfrRequest} requestParameters Request parameters.
5865
+ * @param {*} [options] Override http request option.
5866
+ * @throws {RequiredError}
5867
+ * @memberof DefaultApi
5868
+ */
5869
+ public v1GetLatestHfr(requestParameters: DefaultApiV1GetLatestHfrRequest, options?: AxiosRequestConfig) {
5870
+ return DefaultApiFp(this.configuration).v1GetLatestHfr(requestParameters.nodeId, options).then((request) => request(this.axios, this.basePath));
5871
+ }
5872
+
5559
5873
  /**
5560
5874
  * Get a mount.
5561
5875
  * @param {DefaultApiV1GetMountRequest} requestParameters Request parameters.