@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/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.4692
8
+ * The version of the OpenAPI document: 1.3.4796
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
22
22
  });
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
- exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.V1PlateSolveCatalogFileDownloadActionEnum = exports.V1NodeDiagnosticType = exports.V1NodeComponentType = exports.V1FileType = exports.UploadPriority = exports.TrackingType = exports.ShutterType = exports.OrbitType = exports.OpticalTubeType = exports.NodeState = exports.MountType = exports.MetricType = exports.FilterType = exports.CameraMode = void 0;
25
+ exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.V1PlateSolveCatalogFileDownloadActionEnum = exports.V1NodeEventType = exports.V1NodeDiagnosticType = exports.V1NodeComponentType = exports.V1FileType = exports.UploadPriority = exports.TrackingType = exports.ShutterType = exports.OrbitType = exports.OpticalTubeType = exports.NodeState = exports.MountType = exports.MetricType = exports.FilterType = exports.CameraMode = void 0;
26
26
  const axios_1 = require("axios");
27
27
  // Some imports not used depending on template conditions
28
28
  // @ts-ignore
@@ -179,6 +179,7 @@ exports.V1NodeComponentType = {
179
179
  MOUNT: 'MOUNT',
180
180
  OPTICAL_TUBE: 'OPTICAL_TUBE',
181
181
  COMPUTER: 'COMPUTER',
182
+ SAFETY_MONITOR: 'SAFETY_MONITOR',
182
183
  NODE: 'NODE'
183
184
  };
184
185
  /**
@@ -206,6 +207,8 @@ exports.V1NodeDiagnosticType = {
206
207
  CPU_USAGE_LAST_MINUTE_PCT: 'CPU_USAGE_LAST_MINUTE_PCT',
207
208
  FOCUS_HFR_VALUES: 'FOCUS_HFR_VALUES',
208
209
  HAS_FOCUSER: 'HAS_FOCUSER',
210
+ HAS_SAFETY_MONITOR: 'HAS_SAFETY_MONITOR',
211
+ SAFETY_STATUS: 'SAFETY_STATUS',
209
212
  GNSS_CALIBRATION: 'GNSS_CALIBRATION',
210
213
  SATELLITE_CALIBRATION: 'SATELLITE_CALIBRATION',
211
214
  MOUNT_MODEL_CHECKED: 'MOUNT_MODEL_CHECKED',
@@ -220,6 +223,14 @@ exports.V1NodeDiagnosticType = {
220
223
  ASCOM_SECONDARY_REVERSED: 'ASCOM_SECONDARY_REVERSED',
221
224
  ASCOM_CAN_TRACK_LEO: 'ASCOM_CAN_TRACK_LEO'
222
225
  };
226
+ /**
227
+ *
228
+ * @export
229
+ * @enum {string}
230
+ */
231
+ exports.V1NodeEventType = {
232
+ V1_SAFETY_STATUS_UPDATED: 'V1_SAFETY_STATUS_UPDATED'
233
+ };
223
234
  exports.V1PlateSolveCatalogFileDownloadActionEnum = {
224
235
  DOWNLOAD: 'DOWNLOAD',
225
236
  DELETE: 'DELETE',
@@ -616,6 +627,39 @@ const DefaultApiAxiosParamCreator = function (configuration) {
616
627
  options: localVarRequestOptions,
617
628
  };
618
629
  }),
630
+ /**
631
+ * Create node events
632
+ * @param {V1CreateNodeEventsRequest} v1CreateNodeEventsRequest
633
+ * @param {*} [options] Override http request option.
634
+ * @throws {RequiredError}
635
+ */
636
+ v1CreateNodeEvents: (v1CreateNodeEventsRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
637
+ // verify required parameter 'v1CreateNodeEventsRequest' is not null or undefined
638
+ (0, common_1.assertParamExists)('v1CreateNodeEvents', 'v1CreateNodeEventsRequest', v1CreateNodeEventsRequest);
639
+ const localVarPath = `/v1/node-events`;
640
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
641
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
642
+ let baseOptions;
643
+ if (configuration) {
644
+ baseOptions = configuration.baseOptions;
645
+ }
646
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
647
+ const localVarHeaderParameter = {};
648
+ const localVarQueryParameter = {};
649
+ // authentication Roles required
650
+ // authentication BearerToken required
651
+ // http bearer authentication required
652
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
653
+ localVarHeaderParameter['Content-Type'] = 'application/json';
654
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
655
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
656
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
657
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v1CreateNodeEventsRequest, localVarRequestOptions, configuration);
658
+ return {
659
+ url: (0, common_1.toPathString)(localVarUrlObj),
660
+ options: localVarRequestOptions,
661
+ };
662
+ }),
619
663
  /**
620
664
  * Create an optical tube.
621
665
  * @param {V1CreateOpticalTubeRequest} v1CreateOpticalTubeRequest
@@ -746,17 +790,15 @@ const DefaultApiAxiosParamCreator = function (configuration) {
746
790
  };
747
791
  }),
748
792
  /**
749
- * Create an embedding URL for a dashboard or question
750
- * @param {string} questionType
751
- * @param {string} [nodeId]
752
- * @param {number} [lookbackDays]
793
+ * Get an image set.
794
+ * @param {string} id
753
795
  * @param {*} [options] Override http request option.
754
796
  * @throws {RequiredError}
755
797
  */
756
- v1GetEmbeddedQueryUrl: (questionType, nodeId, lookbackDays, options = {}) => __awaiter(this, void 0, void 0, function* () {
757
- // verify required parameter 'questionType' is not null or undefined
758
- (0, common_1.assertParamExists)('v1GetEmbeddedQueryUrl', 'questionType', questionType);
759
- const localVarPath = `/v1/analytics`;
798
+ v1GetImageSet: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
799
+ // verify required parameter 'id' is not null or undefined
800
+ (0, common_1.assertParamExists)('v1GetImageSet', 'id', id);
801
+ const localVarPath = `/v1/image-set`;
760
802
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
761
803
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
762
804
  let baseOptions;
@@ -770,14 +812,8 @@ const DefaultApiAxiosParamCreator = function (configuration) {
770
812
  // authentication BearerToken required
771
813
  // http bearer authentication required
772
814
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
773
- if (questionType !== undefined) {
774
- localVarQueryParameter['questionType'] = questionType;
775
- }
776
- if (nodeId !== undefined) {
777
- localVarQueryParameter['nodeId'] = nodeId;
778
- }
779
- if (lookbackDays !== undefined) {
780
- localVarQueryParameter['lookbackDays'] = lookbackDays;
815
+ if (id !== undefined) {
816
+ localVarQueryParameter['id'] = id;
781
817
  }
782
818
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
783
819
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -788,15 +824,15 @@ const DefaultApiAxiosParamCreator = function (configuration) {
788
824
  };
789
825
  }),
790
826
  /**
791
- * Get an image set.
792
- * @param {string} id
827
+ * Get an image.
828
+ * @param {string} imageId
793
829
  * @param {*} [options] Override http request option.
794
830
  * @throws {RequiredError}
795
831
  */
796
- v1GetImageSet: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
797
- // verify required parameter 'id' is not null or undefined
798
- (0, common_1.assertParamExists)('v1GetImageSet', 'id', id);
799
- const localVarPath = `/v1/image-set`;
832
+ v1GetImageSetImage: (imageId, options = {}) => __awaiter(this, void 0, void 0, function* () {
833
+ // verify required parameter 'imageId' is not null or undefined
834
+ (0, common_1.assertParamExists)('v1GetImageSetImage', 'imageId', imageId);
835
+ const localVarPath = `/v1/image-set-image`;
800
836
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
801
837
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
802
838
  let baseOptions;
@@ -810,8 +846,8 @@ const DefaultApiAxiosParamCreator = function (configuration) {
810
846
  // authentication BearerToken required
811
847
  // http bearer authentication required
812
848
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
813
- if (id !== undefined) {
814
- localVarQueryParameter['id'] = id;
849
+ if (imageId !== undefined) {
850
+ localVarQueryParameter['imageId'] = imageId;
815
851
  }
816
852
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
817
853
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -822,15 +858,48 @@ const DefaultApiAxiosParamCreator = function (configuration) {
822
858
  };
823
859
  }),
824
860
  /**
825
- * Get an image.
826
- * @param {string} imageId
861
+ * Get instruction.
862
+ * @param {V1GetInstructionRequest} v1GetInstructionRequest
827
863
  * @param {*} [options] Override http request option.
828
864
  * @throws {RequiredError}
829
865
  */
830
- v1GetImageSetImage: (imageId, options = {}) => __awaiter(this, void 0, void 0, function* () {
831
- // verify required parameter 'imageId' is not null or undefined
832
- (0, common_1.assertParamExists)('v1GetImageSetImage', 'imageId', imageId);
833
- const localVarPath = `/v1/image-set-image`;
866
+ v1GetInstruction: (v1GetInstructionRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
867
+ // verify required parameter 'v1GetInstructionRequest' is not null or undefined
868
+ (0, common_1.assertParamExists)('v1GetInstruction', 'v1GetInstructionRequest', v1GetInstructionRequest);
869
+ const localVarPath = `/v1/instruction`;
870
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
871
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
872
+ let baseOptions;
873
+ if (configuration) {
874
+ baseOptions = configuration.baseOptions;
875
+ }
876
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
877
+ const localVarHeaderParameter = {};
878
+ const localVarQueryParameter = {};
879
+ // authentication Roles required
880
+ // authentication BearerToken required
881
+ // http bearer authentication required
882
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
883
+ localVarHeaderParameter['Content-Type'] = 'application/json';
884
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
885
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
886
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
887
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v1GetInstructionRequest, localVarRequestOptions, configuration);
888
+ return {
889
+ url: (0, common_1.toPathString)(localVarUrlObj),
890
+ options: localVarRequestOptions,
891
+ };
892
+ }),
893
+ /**
894
+ * Get the last instruction time and type for a specific node.
895
+ * @param {string} nodeId
896
+ * @param {*} [options] Override http request option.
897
+ * @throws {RequiredError}
898
+ */
899
+ v1GetLastInstructionByNodeId: (nodeId, options = {}) => __awaiter(this, void 0, void 0, function* () {
900
+ // verify required parameter 'nodeId' is not null or undefined
901
+ (0, common_1.assertParamExists)('v1GetLastInstructionByNodeId', 'nodeId', nodeId);
902
+ const localVarPath = `/v1/instruction`;
834
903
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
835
904
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
836
905
  let baseOptions;
@@ -844,8 +913,8 @@ const DefaultApiAxiosParamCreator = function (configuration) {
844
913
  // authentication BearerToken required
845
914
  // http bearer authentication required
846
915
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
847
- if (imageId !== undefined) {
848
- localVarQueryParameter['imageId'] = imageId;
916
+ if (nodeId !== undefined) {
917
+ localVarQueryParameter['nodeId'] = nodeId;
849
918
  }
850
919
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
851
920
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -856,33 +925,34 @@ const DefaultApiAxiosParamCreator = function (configuration) {
856
925
  };
857
926
  }),
858
927
  /**
859
- * Get instruction.
860
- * @param {V1GetInstructionRequest} v1GetInstructionRequest
928
+ * Get the latest HFR value for a specific node by its ID
929
+ * @param {string} nodeId
861
930
  * @param {*} [options] Override http request option.
862
931
  * @throws {RequiredError}
863
932
  */
864
- v1GetInstruction: (v1GetInstructionRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
865
- // verify required parameter 'v1GetInstructionRequest' is not null or undefined
866
- (0, common_1.assertParamExists)('v1GetInstruction', 'v1GetInstructionRequest', v1GetInstructionRequest);
867
- const localVarPath = `/v1/instruction`;
933
+ v1GetLatestHfr: (nodeId, options = {}) => __awaiter(this, void 0, void 0, function* () {
934
+ // verify required parameter 'nodeId' is not null or undefined
935
+ (0, common_1.assertParamExists)('v1GetLatestHfr', 'nodeId', nodeId);
936
+ const localVarPath = `/v1/autofocus`;
868
937
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
869
938
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
870
939
  let baseOptions;
871
940
  if (configuration) {
872
941
  baseOptions = configuration.baseOptions;
873
942
  }
874
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
943
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
875
944
  const localVarHeaderParameter = {};
876
945
  const localVarQueryParameter = {};
877
946
  // authentication Roles required
878
947
  // authentication BearerToken required
879
948
  // http bearer authentication required
880
949
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
881
- localVarHeaderParameter['Content-Type'] = 'application/json';
950
+ if (nodeId !== undefined) {
951
+ localVarQueryParameter['nodeId'] = nodeId;
952
+ }
882
953
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
883
954
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
884
955
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
885
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v1GetInstructionRequest, localVarRequestOptions, configuration);
886
956
  return {
887
957
  url: (0, common_1.toPathString)(localVarUrlObj),
888
958
  options: localVarRequestOptions,
@@ -1575,6 +1645,18 @@ const DefaultApiFp = function (configuration) {
1575
1645
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1576
1646
  });
1577
1647
  },
1648
+ /**
1649
+ * Create node events
1650
+ * @param {V1CreateNodeEventsRequest} v1CreateNodeEventsRequest
1651
+ * @param {*} [options] Override http request option.
1652
+ * @throws {RequiredError}
1653
+ */
1654
+ v1CreateNodeEvents(v1CreateNodeEventsRequest, options) {
1655
+ return __awaiter(this, void 0, void 0, function* () {
1656
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateNodeEvents(v1CreateNodeEventsRequest, options);
1657
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1658
+ });
1659
+ },
1578
1660
  /**
1579
1661
  * Create an optical tube.
1580
1662
  * @param {V1CreateOpticalTubeRequest} v1CreateOpticalTubeRequest
@@ -1622,20 +1704,6 @@ const DefaultApiFp = function (configuration) {
1622
1704
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1623
1705
  });
1624
1706
  },
1625
- /**
1626
- * Create an embedding URL for a dashboard or question
1627
- * @param {string} questionType
1628
- * @param {string} [nodeId]
1629
- * @param {number} [lookbackDays]
1630
- * @param {*} [options] Override http request option.
1631
- * @throws {RequiredError}
1632
- */
1633
- v1GetEmbeddedQueryUrl(questionType, nodeId, lookbackDays, options) {
1634
- return __awaiter(this, void 0, void 0, function* () {
1635
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetEmbeddedQueryUrl(questionType, nodeId, lookbackDays, options);
1636
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1637
- });
1638
- },
1639
1707
  /**
1640
1708
  * Get an image set.
1641
1709
  * @param {string} id
@@ -1672,6 +1740,30 @@ const DefaultApiFp = function (configuration) {
1672
1740
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1673
1741
  });
1674
1742
  },
1743
+ /**
1744
+ * Get the last instruction time and type for a specific node.
1745
+ * @param {string} nodeId
1746
+ * @param {*} [options] Override http request option.
1747
+ * @throws {RequiredError}
1748
+ */
1749
+ v1GetLastInstructionByNodeId(nodeId, options) {
1750
+ return __awaiter(this, void 0, void 0, function* () {
1751
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetLastInstructionByNodeId(nodeId, options);
1752
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1753
+ });
1754
+ },
1755
+ /**
1756
+ * Get the latest HFR value for a specific node by its ID
1757
+ * @param {string} nodeId
1758
+ * @param {*} [options] Override http request option.
1759
+ * @throws {RequiredError}
1760
+ */
1761
+ v1GetLatestHfr(nodeId, options) {
1762
+ return __awaiter(this, void 0, void 0, function* () {
1763
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetLatestHfr(nodeId, options);
1764
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1765
+ });
1766
+ },
1675
1767
  /**
1676
1768
  * Get a mount.
1677
1769
  * @param {string} id
@@ -1974,6 +2066,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
1974
2066
  v1CreateNodeDiagnostics(requestParameters, options) {
1975
2067
  return localVarFp.v1CreateNodeDiagnostics(requestParameters.v1CreateNodeDiagnosticsRequest, options).then((request) => request(axios, basePath));
1976
2068
  },
2069
+ /**
2070
+ * Create node events
2071
+ * @param {DefaultApiV1CreateNodeEventsRequest} requestParameters Request parameters.
2072
+ * @param {*} [options] Override http request option.
2073
+ * @throws {RequiredError}
2074
+ */
2075
+ v1CreateNodeEvents(requestParameters, options) {
2076
+ return localVarFp.v1CreateNodeEvents(requestParameters.v1CreateNodeEventsRequest, options).then((request) => request(axios, basePath));
2077
+ },
1977
2078
  /**
1978
2079
  * Create an optical tube.
1979
2080
  * @param {DefaultApiV1CreateOpticalTubeRequest} requestParameters Request parameters.
@@ -2009,15 +2110,6 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2009
2110
  v1GetCameras(options) {
2010
2111
  return localVarFp.v1GetCameras(options).then((request) => request(axios, basePath));
2011
2112
  },
2012
- /**
2013
- * Create an embedding URL for a dashboard or question
2014
- * @param {DefaultApiV1GetEmbeddedQueryUrlRequest} requestParameters Request parameters.
2015
- * @param {*} [options] Override http request option.
2016
- * @throws {RequiredError}
2017
- */
2018
- v1GetEmbeddedQueryUrl(requestParameters, options) {
2019
- return localVarFp.v1GetEmbeddedQueryUrl(requestParameters.questionType, requestParameters.nodeId, requestParameters.lookbackDays, options).then((request) => request(axios, basePath));
2020
- },
2021
2113
  /**
2022
2114
  * Get an image set.
2023
2115
  * @param {DefaultApiV1GetImageSetRequest} requestParameters Request parameters.
@@ -2045,6 +2137,24 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2045
2137
  v1GetInstruction(requestParameters, options) {
2046
2138
  return localVarFp.v1GetInstruction(requestParameters.v1GetInstructionRequest, options).then((request) => request(axios, basePath));
2047
2139
  },
2140
+ /**
2141
+ * Get the last instruction time and type for a specific node.
2142
+ * @param {DefaultApiV1GetLastInstructionByNodeIdRequest} requestParameters Request parameters.
2143
+ * @param {*} [options] Override http request option.
2144
+ * @throws {RequiredError}
2145
+ */
2146
+ v1GetLastInstructionByNodeId(requestParameters, options) {
2147
+ return localVarFp.v1GetLastInstructionByNodeId(requestParameters.nodeId, options).then((request) => request(axios, basePath));
2148
+ },
2149
+ /**
2150
+ * Get the latest HFR value for a specific node by its ID
2151
+ * @param {DefaultApiV1GetLatestHfrRequest} requestParameters Request parameters.
2152
+ * @param {*} [options] Override http request option.
2153
+ * @throws {RequiredError}
2154
+ */
2155
+ v1GetLatestHfr(requestParameters, options) {
2156
+ return localVarFp.v1GetLatestHfr(requestParameters.nodeId, options).then((request) => request(axios, basePath));
2157
+ },
2048
2158
  /**
2049
2159
  * Get a mount.
2050
2160
  * @param {DefaultApiV1GetMountRequest} requestParameters Request parameters.
@@ -2307,6 +2417,16 @@ class DefaultApi extends base_1.BaseAPI {
2307
2417
  v1CreateNodeDiagnostics(requestParameters, options) {
2308
2418
  return (0, exports.DefaultApiFp)(this.configuration).v1CreateNodeDiagnostics(requestParameters.v1CreateNodeDiagnosticsRequest, options).then((request) => request(this.axios, this.basePath));
2309
2419
  }
2420
+ /**
2421
+ * Create node events
2422
+ * @param {DefaultApiV1CreateNodeEventsRequest} requestParameters Request parameters.
2423
+ * @param {*} [options] Override http request option.
2424
+ * @throws {RequiredError}
2425
+ * @memberof DefaultApi
2426
+ */
2427
+ v1CreateNodeEvents(requestParameters, options) {
2428
+ return (0, exports.DefaultApiFp)(this.configuration).v1CreateNodeEvents(requestParameters.v1CreateNodeEventsRequest, options).then((request) => request(this.axios, this.basePath));
2429
+ }
2310
2430
  /**
2311
2431
  * Create an optical tube.
2312
2432
  * @param {DefaultApiV1CreateOpticalTubeRequest} requestParameters Request parameters.
@@ -2346,16 +2466,6 @@ class DefaultApi extends base_1.BaseAPI {
2346
2466
  v1GetCameras(options) {
2347
2467
  return (0, exports.DefaultApiFp)(this.configuration).v1GetCameras(options).then((request) => request(this.axios, this.basePath));
2348
2468
  }
2349
- /**
2350
- * Create an embedding URL for a dashboard or question
2351
- * @param {DefaultApiV1GetEmbeddedQueryUrlRequest} requestParameters Request parameters.
2352
- * @param {*} [options] Override http request option.
2353
- * @throws {RequiredError}
2354
- * @memberof DefaultApi
2355
- */
2356
- v1GetEmbeddedQueryUrl(requestParameters, options) {
2357
- return (0, exports.DefaultApiFp)(this.configuration).v1GetEmbeddedQueryUrl(requestParameters.questionType, requestParameters.nodeId, requestParameters.lookbackDays, options).then((request) => request(this.axios, this.basePath));
2358
- }
2359
2469
  /**
2360
2470
  * Get an image set.
2361
2471
  * @param {DefaultApiV1GetImageSetRequest} requestParameters Request parameters.
@@ -2386,6 +2496,26 @@ class DefaultApi extends base_1.BaseAPI {
2386
2496
  v1GetInstruction(requestParameters, options) {
2387
2497
  return (0, exports.DefaultApiFp)(this.configuration).v1GetInstruction(requestParameters.v1GetInstructionRequest, options).then((request) => request(this.axios, this.basePath));
2388
2498
  }
2499
+ /**
2500
+ * Get the last instruction time and type for a specific node.
2501
+ * @param {DefaultApiV1GetLastInstructionByNodeIdRequest} requestParameters Request parameters.
2502
+ * @param {*} [options] Override http request option.
2503
+ * @throws {RequiredError}
2504
+ * @memberof DefaultApi
2505
+ */
2506
+ v1GetLastInstructionByNodeId(requestParameters, options) {
2507
+ return (0, exports.DefaultApiFp)(this.configuration).v1GetLastInstructionByNodeId(requestParameters.nodeId, options).then((request) => request(this.axios, this.basePath));
2508
+ }
2509
+ /**
2510
+ * Get the latest HFR value for a specific node by its ID
2511
+ * @param {DefaultApiV1GetLatestHfrRequest} requestParameters Request parameters.
2512
+ * @param {*} [options] Override http request option.
2513
+ * @throws {RequiredError}
2514
+ * @memberof DefaultApi
2515
+ */
2516
+ v1GetLatestHfr(requestParameters, options) {
2517
+ return (0, exports.DefaultApiFp)(this.configuration).v1GetLatestHfr(requestParameters.nodeId, options).then((request) => request(this.axios, this.basePath));
2518
+ }
2389
2519
  /**
2390
2520
  * Get a mount.
2391
2521
  * @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.4692
5
+ * The version of the OpenAPI document: 1.3.4796
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.4692
8
+ * The version of the OpenAPI document: 1.3.4796
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.4692
5
+ * The version of the OpenAPI document: 1.3.4796
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.4692
8
+ * The version of the OpenAPI document: 1.3.4796
9
9
  *
10
10
  *
11
11
  * 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.4692
5
+ * The version of the OpenAPI document: 1.3.4796
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.4692
8
+ * The version of the OpenAPI document: 1.3.4796
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).