@ourskyai/platform-api 1.3.1945 → 1.3.2078

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.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.1945
5
+ * The version of the OpenAPI document: 1.3.2078
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -251,6 +251,12 @@ export interface V1Camera {
251
251
  * @memberof V1Camera
252
252
  */
253
253
  'isColor': boolean;
254
+ /**
255
+ *
256
+ * @type {Array<V1VideoModeFramerateProperty>}
257
+ * @memberof V1Camera
258
+ */
259
+ 'videoModeFramerateProperties'?: Array<V1VideoModeFramerateProperty>;
254
260
  }
255
261
  /**
256
262
  *
@@ -362,46 +368,59 @@ export interface V1CreateMountRequest {
362
368
  /**
363
369
  *
364
370
  * @export
365
- * @interface V1CreateNodeDiagnosticRequest
371
+ * @interface V1CreateNodeDiagnostic
366
372
  */
367
- export interface V1CreateNodeDiagnosticRequest {
368
- /**
369
- *
370
- * @type {string}
371
- * @memberof V1CreateNodeDiagnosticRequest
372
- */
373
- 'nodeId': string;
373
+ export interface V1CreateNodeDiagnostic {
374
374
  /**
375
375
  *
376
376
  * @type {V1NodeComponentType}
377
- * @memberof V1CreateNodeDiagnosticRequest
377
+ * @memberof V1CreateNodeDiagnostic
378
378
  */
379
379
  'componentType': V1NodeComponentType;
380
380
  /**
381
381
  *
382
382
  * @type {string}
383
- * @memberof V1CreateNodeDiagnosticRequest
383
+ * @memberof V1CreateNodeDiagnostic
384
384
  */
385
385
  'componentId': string;
386
386
  /**
387
387
  *
388
388
  * @type {V1NodeDiagnosticType}
389
- * @memberof V1CreateNodeDiagnosticRequest
389
+ * @memberof V1CreateNodeDiagnostic
390
390
  */
391
391
  'diagnosticType': V1NodeDiagnosticType;
392
392
  /**
393
393
  *
394
394
  * @type {string}
395
- * @memberof V1CreateNodeDiagnosticRequest
395
+ * @memberof V1CreateNodeDiagnostic
396
396
  */
397
397
  'value': string;
398
398
  /**
399
399
  *
400
400
  * @type {string}
401
- * @memberof V1CreateNodeDiagnosticRequest
401
+ * @memberof V1CreateNodeDiagnostic
402
402
  */
403
403
  'measuredAt': string;
404
404
  }
405
+ /**
406
+ *
407
+ * @export
408
+ * @interface V1CreateNodeDiagnosticsRequest
409
+ */
410
+ export interface V1CreateNodeDiagnosticsRequest {
411
+ /**
412
+ *
413
+ * @type {string}
414
+ * @memberof V1CreateNodeDiagnosticsRequest
415
+ */
416
+ 'nodeId': string;
417
+ /**
418
+ *
419
+ * @type {Array<V1CreateNodeDiagnostic>}
420
+ * @memberof V1CreateNodeDiagnosticsRequest
421
+ */
422
+ 'diagnostics': Array<V1CreateNodeDiagnostic>;
423
+ }
405
424
  /**
406
425
  *
407
426
  * @export
@@ -622,6 +641,12 @@ export interface V1GetOrCreateCameraRequest {
622
641
  * @memberof V1GetOrCreateCameraRequest
623
642
  */
624
643
  'isColor'?: boolean;
644
+ /**
645
+ *
646
+ * @type {Array<V1VideoModeFramerateProperty>}
647
+ * @memberof V1GetOrCreateCameraRequest
648
+ */
649
+ 'videoModeFramerateProperties'?: Array<V1VideoModeFramerateProperty>;
625
650
  }
626
651
  /**
627
652
  *
@@ -1134,6 +1159,12 @@ export declare const V1NodeDiagnosticType: {
1134
1159
  readonly MAX_SLEW_AND_CENTER_SPEED_MS: "MAX_SLEW_AND_CENTER_SPEED_MS";
1135
1160
  readonly MIN_SLEW_ACCURACY_ARCSECONDS: "MIN_SLEW_ACCURACY_ARCSECONDS";
1136
1161
  readonly MAX_SLEW_ACCURACY_ARCSECONDS: "MAX_SLEW_ACCURACY_ARCSECONDS";
1162
+ readonly SLEW_SPEED_DEGREES_PER_SECOND: "SLEW_SPEED_DEGREES_PER_SECOND";
1163
+ readonly CENTERING_TIME_MS: "CENTERING_TIME_MS";
1164
+ readonly POINTING_ERROR_DEGREES: "POINTING_ERROR_DEGREES";
1165
+ readonly CAMERA_CHECKED: "CAMERA_CHECKED";
1166
+ readonly MOUNT_CHECKED: "MOUNT_CHECKED";
1167
+ readonly OPTICAL_TUBE_CHECKED: "OPTICAL_TUBE_CHECKED";
1137
1168
  };
1138
1169
  export type V1NodeDiagnosticType = typeof V1NodeDiagnosticType[keyof typeof V1NodeDiagnosticType];
1139
1170
  /**
@@ -1517,6 +1548,62 @@ export interface V1UpdateNodeMetricsRequest {
1517
1548
  */
1518
1549
  'measuredAt': string;
1519
1550
  }
1551
+ /**
1552
+ *
1553
+ * @export
1554
+ * @interface V1VideoModeFramerateProperty
1555
+ */
1556
+ export interface V1VideoModeFramerateProperty {
1557
+ /**
1558
+ *
1559
+ * @type {number}
1560
+ * @memberof V1VideoModeFramerateProperty
1561
+ */
1562
+ 'roiXPixels': number;
1563
+ /**
1564
+ *
1565
+ * @type {number}
1566
+ * @memberof V1VideoModeFramerateProperty
1567
+ */
1568
+ 'roiYPixels': number;
1569
+ /**
1570
+ *
1571
+ * @type {number}
1572
+ * @memberof V1VideoModeFramerateProperty
1573
+ */
1574
+ 'adcBitDepth': number;
1575
+ /**
1576
+ *
1577
+ * @type {number}
1578
+ * @memberof V1VideoModeFramerateProperty
1579
+ */
1580
+ 'fps': number;
1581
+ /**
1582
+ *
1583
+ * @type {number}
1584
+ * @memberof V1VideoModeFramerateProperty
1585
+ */
1586
+ 'binning': number;
1587
+ }
1588
+ /**
1589
+ *
1590
+ * @export
1591
+ * @interface V2CompleteObservationRequest
1592
+ */
1593
+ export interface V2CompleteObservationRequest {
1594
+ /**
1595
+ *
1596
+ * @type {string}
1597
+ * @memberof V2CompleteObservationRequest
1598
+ */
1599
+ 'imageSetId': string;
1600
+ /**
1601
+ *
1602
+ * @type {number}
1603
+ * @memberof V2CompleteObservationRequest
1604
+ */
1605
+ 'expectedImageCount': number;
1606
+ }
1520
1607
  /**
1521
1608
  *
1522
1609
  * @export
@@ -1682,11 +1769,11 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1682
1769
  v1CreateMount: (v1CreateMountRequest: V1CreateMountRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1683
1770
  /**
1684
1771
  * Create node diagnostics.
1685
- * @param {Array<V1CreateNodeDiagnosticRequest>} v1CreateNodeDiagnosticRequest
1772
+ * @param {V1CreateNodeDiagnosticsRequest} v1CreateNodeDiagnosticsRequest
1686
1773
  * @param {*} [options] Override http request option.
1687
1774
  * @throws {RequiredError}
1688
1775
  */
1689
- v1CreateNodeDiagnostics: (v1CreateNodeDiagnosticRequest: Array<V1CreateNodeDiagnosticRequest>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1776
+ v1CreateNodeDiagnostics: (v1CreateNodeDiagnosticsRequest: V1CreateNodeDiagnosticsRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1690
1777
  /**
1691
1778
  * Create an optical tube.
1692
1779
  * @param {V1CreateOpticalTubeRequest} v1CreateOpticalTubeRequest
@@ -1799,6 +1886,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1799
1886
  * @throws {RequiredError}
1800
1887
  */
1801
1888
  v1UpdateNodeMetrics: (v1UpdateNodeMetricsRequest: V1UpdateNodeMetricsRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1889
+ /**
1890
+ * Complete an observation utilizing the async pipeline.
1891
+ * @param {V2CompleteObservationRequest} v2CompleteObservationRequest
1892
+ * @param {*} [options] Override http request option.
1893
+ * @throws {RequiredError}
1894
+ */
1895
+ v2CompleteObservation: (v2CompleteObservationRequest: V2CompleteObservationRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1802
1896
  /**
1803
1897
  * Get next observation.
1804
1898
  * @param {string} nodeId
@@ -1863,11 +1957,11 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
1863
1957
  v1CreateMount(v1CreateMountRequest: V1CreateMountRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessfulCreate>>;
1864
1958
  /**
1865
1959
  * Create node diagnostics.
1866
- * @param {Array<V1CreateNodeDiagnosticRequest>} v1CreateNodeDiagnosticRequest
1960
+ * @param {V1CreateNodeDiagnosticsRequest} v1CreateNodeDiagnosticsRequest
1867
1961
  * @param {*} [options] Override http request option.
1868
1962
  * @throws {RequiredError}
1869
1963
  */
1870
- v1CreateNodeDiagnostics(v1CreateNodeDiagnosticRequest: Array<V1CreateNodeDiagnosticRequest>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptySuccess>>;
1964
+ v1CreateNodeDiagnostics(v1CreateNodeDiagnosticsRequest: V1CreateNodeDiagnosticsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptySuccess>>;
1871
1965
  /**
1872
1966
  * Create an optical tube.
1873
1967
  * @param {V1CreateOpticalTubeRequest} v1CreateOpticalTubeRequest
@@ -1980,6 +2074,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
1980
2074
  * @throws {RequiredError}
1981
2075
  */
1982
2076
  v1UpdateNodeMetrics(v1UpdateNodeMetricsRequest: V1UpdateNodeMetricsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptySuccess>>;
2077
+ /**
2078
+ * Complete an observation utilizing the async pipeline.
2079
+ * @param {V2CompleteObservationRequest} v2CompleteObservationRequest
2080
+ * @param {*} [options] Override http request option.
2081
+ * @throws {RequiredError}
2082
+ */
2083
+ v2CompleteObservation(v2CompleteObservationRequest: V2CompleteObservationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptySuccess>>;
1983
2084
  /**
1984
2085
  * Get next observation.
1985
2086
  * @param {string} nodeId
@@ -2152,6 +2253,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2152
2253
  * @throws {RequiredError}
2153
2254
  */
2154
2255
  v1UpdateNodeMetrics(requestParameters: DefaultApiV1UpdateNodeMetricsRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess>;
2256
+ /**
2257
+ * Complete an observation utilizing the async pipeline.
2258
+ * @param {DefaultApiV2CompleteObservationRequest} requestParameters Request parameters.
2259
+ * @param {*} [options] Override http request option.
2260
+ * @throws {RequiredError}
2261
+ */
2262
+ v2CompleteObservation(requestParameters: DefaultApiV2CompleteObservationRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess>;
2155
2263
  /**
2156
2264
  * Get next observation.
2157
2265
  * @param {DefaultApiV2GetObservationRequest} requestParameters Request parameters.
@@ -2288,10 +2396,10 @@ export interface DefaultApiV1CreateMountRequest {
2288
2396
  export interface DefaultApiV1CreateNodeDiagnosticsRequest {
2289
2397
  /**
2290
2398
  *
2291
- * @type {Array<V1CreateNodeDiagnosticRequest>}
2399
+ * @type {V1CreateNodeDiagnosticsRequest}
2292
2400
  * @memberof DefaultApiV1CreateNodeDiagnostics
2293
2401
  */
2294
- readonly v1CreateNodeDiagnosticRequest: Array<V1CreateNodeDiagnosticRequest>;
2402
+ readonly v1CreateNodeDiagnosticsRequest: V1CreateNodeDiagnosticsRequest;
2295
2403
  }
2296
2404
  /**
2297
2405
  * Request parameters for v1CreateOpticalTube operation in DefaultApi.
@@ -2487,6 +2595,19 @@ export interface DefaultApiV1UpdateNodeMetricsRequest {
2487
2595
  */
2488
2596
  readonly v1UpdateNodeMetricsRequest: V1UpdateNodeMetricsRequest;
2489
2597
  }
2598
+ /**
2599
+ * Request parameters for v2CompleteObservation operation in DefaultApi.
2600
+ * @export
2601
+ * @interface DefaultApiV2CompleteObservationRequest
2602
+ */
2603
+ export interface DefaultApiV2CompleteObservationRequest {
2604
+ /**
2605
+ *
2606
+ * @type {V2CompleteObservationRequest}
2607
+ * @memberof DefaultApiV2CompleteObservation
2608
+ */
2609
+ readonly v2CompleteObservationRequest: V2CompleteObservationRequest;
2610
+ }
2490
2611
  /**
2491
2612
  * Request parameters for v2GetObservation operation in DefaultApi.
2492
2613
  * @export
@@ -2689,6 +2810,14 @@ export declare class DefaultApi extends BaseAPI {
2689
2810
  * @memberof DefaultApi
2690
2811
  */
2691
2812
  v1UpdateNodeMetrics(requestParameters: DefaultApiV1UpdateNodeMetricsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EmptySuccess, any>>;
2813
+ /**
2814
+ * Complete an observation utilizing the async pipeline.
2815
+ * @param {DefaultApiV2CompleteObservationRequest} requestParameters Request parameters.
2816
+ * @param {*} [options] Override http request option.
2817
+ * @throws {RequiredError}
2818
+ * @memberof DefaultApi
2819
+ */
2820
+ v2CompleteObservation(requestParameters: DefaultApiV2CompleteObservationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EmptySuccess, any>>;
2692
2821
  /**
2693
2822
  * Get next observation.
2694
2823
  * @param {DefaultApiV2GetObservationRequest} requestParameters Request parameters.
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * OurSky Platform
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.3.1945
8
+ * The version of the OpenAPI document: 1.3.2078
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -145,7 +145,13 @@ exports.V1NodeDiagnosticType = {
145
145
  MIN_SLEW_AND_CENTER_SPEED_MS: 'MIN_SLEW_AND_CENTER_SPEED_MS',
146
146
  MAX_SLEW_AND_CENTER_SPEED_MS: 'MAX_SLEW_AND_CENTER_SPEED_MS',
147
147
  MIN_SLEW_ACCURACY_ARCSECONDS: 'MIN_SLEW_ACCURACY_ARCSECONDS',
148
- MAX_SLEW_ACCURACY_ARCSECONDS: 'MAX_SLEW_ACCURACY_ARCSECONDS'
148
+ MAX_SLEW_ACCURACY_ARCSECONDS: 'MAX_SLEW_ACCURACY_ARCSECONDS',
149
+ SLEW_SPEED_DEGREES_PER_SECOND: 'SLEW_SPEED_DEGREES_PER_SECOND',
150
+ CENTERING_TIME_MS: 'CENTERING_TIME_MS',
151
+ POINTING_ERROR_DEGREES: 'POINTING_ERROR_DEGREES',
152
+ CAMERA_CHECKED: 'CAMERA_CHECKED',
153
+ MOUNT_CHECKED: 'MOUNT_CHECKED',
154
+ OPTICAL_TUBE_CHECKED: 'OPTICAL_TUBE_CHECKED'
149
155
  };
150
156
  /**
151
157
  * DefaultApi - axios parameter creator
@@ -380,13 +386,13 @@ const DefaultApiAxiosParamCreator = function (configuration) {
380
386
  }),
381
387
  /**
382
388
  * Create node diagnostics.
383
- * @param {Array<V1CreateNodeDiagnosticRequest>} v1CreateNodeDiagnosticRequest
389
+ * @param {V1CreateNodeDiagnosticsRequest} v1CreateNodeDiagnosticsRequest
384
390
  * @param {*} [options] Override http request option.
385
391
  * @throws {RequiredError}
386
392
  */
387
- v1CreateNodeDiagnostics: (v1CreateNodeDiagnosticRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
388
- // verify required parameter 'v1CreateNodeDiagnosticRequest' is not null or undefined
389
- (0, common_1.assertParamExists)('v1CreateNodeDiagnostics', 'v1CreateNodeDiagnosticRequest', v1CreateNodeDiagnosticRequest);
393
+ v1CreateNodeDiagnostics: (v1CreateNodeDiagnosticsRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
394
+ // verify required parameter 'v1CreateNodeDiagnosticsRequest' is not null or undefined
395
+ (0, common_1.assertParamExists)('v1CreateNodeDiagnostics', 'v1CreateNodeDiagnosticsRequest', v1CreateNodeDiagnosticsRequest);
390
396
  const localVarPath = `/v1/node-diagnostics`;
391
397
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
392
398
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -405,7 +411,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
405
411
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
406
412
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
407
413
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
408
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v1CreateNodeDiagnosticRequest, localVarRequestOptions, configuration);
414
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v1CreateNodeDiagnosticsRequest, localVarRequestOptions, configuration);
409
415
  return {
410
416
  url: (0, common_1.toPathString)(localVarUrlObj),
411
417
  options: localVarRequestOptions,
@@ -941,6 +947,39 @@ const DefaultApiAxiosParamCreator = function (configuration) {
941
947
  options: localVarRequestOptions,
942
948
  };
943
949
  }),
950
+ /**
951
+ * Complete an observation utilizing the async pipeline.
952
+ * @param {V2CompleteObservationRequest} v2CompleteObservationRequest
953
+ * @param {*} [options] Override http request option.
954
+ * @throws {RequiredError}
955
+ */
956
+ v2CompleteObservation: (v2CompleteObservationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
957
+ // verify required parameter 'v2CompleteObservationRequest' is not null or undefined
958
+ (0, common_1.assertParamExists)('v2CompleteObservation', 'v2CompleteObservationRequest', v2CompleteObservationRequest);
959
+ const localVarPath = `/v2/observation-complete`;
960
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
961
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
962
+ let baseOptions;
963
+ if (configuration) {
964
+ baseOptions = configuration.baseOptions;
965
+ }
966
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
967
+ const localVarHeaderParameter = {};
968
+ const localVarQueryParameter = {};
969
+ // authentication Roles required
970
+ // authentication BearerToken required
971
+ // http bearer authentication required
972
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
973
+ localVarHeaderParameter['Content-Type'] = 'application/json';
974
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
975
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
976
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
977
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v2CompleteObservationRequest, localVarRequestOptions, configuration);
978
+ return {
979
+ url: (0, common_1.toPathString)(localVarUrlObj),
980
+ options: localVarRequestOptions,
981
+ };
982
+ }),
944
983
  /**
945
984
  * Get next observation.
946
985
  * @param {string} nodeId
@@ -1066,13 +1105,13 @@ const DefaultApiFp = function (configuration) {
1066
1105
  },
1067
1106
  /**
1068
1107
  * Create node diagnostics.
1069
- * @param {Array<V1CreateNodeDiagnosticRequest>} v1CreateNodeDiagnosticRequest
1108
+ * @param {V1CreateNodeDiagnosticsRequest} v1CreateNodeDiagnosticsRequest
1070
1109
  * @param {*} [options] Override http request option.
1071
1110
  * @throws {RequiredError}
1072
1111
  */
1073
- v1CreateNodeDiagnostics(v1CreateNodeDiagnosticRequest, options) {
1112
+ v1CreateNodeDiagnostics(v1CreateNodeDiagnosticsRequest, options) {
1074
1113
  return __awaiter(this, void 0, void 0, function* () {
1075
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateNodeDiagnostics(v1CreateNodeDiagnosticRequest, options);
1114
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateNodeDiagnostics(v1CreateNodeDiagnosticsRequest, options);
1076
1115
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1077
1116
  });
1078
1117
  },
@@ -1268,6 +1307,18 @@ const DefaultApiFp = function (configuration) {
1268
1307
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1269
1308
  });
1270
1309
  },
1310
+ /**
1311
+ * Complete an observation utilizing the async pipeline.
1312
+ * @param {V2CompleteObservationRequest} v2CompleteObservationRequest
1313
+ * @param {*} [options] Override http request option.
1314
+ * @throws {RequiredError}
1315
+ */
1316
+ v2CompleteObservation(v2CompleteObservationRequest, options) {
1317
+ return __awaiter(this, void 0, void 0, function* () {
1318
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v2CompleteObservation(v2CompleteObservationRequest, options);
1319
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1320
+ });
1321
+ },
1271
1322
  /**
1272
1323
  * Get next observation.
1273
1324
  * @param {string} nodeId
@@ -1351,7 +1402,7 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
1351
1402
  * @throws {RequiredError}
1352
1403
  */
1353
1404
  v1CreateNodeDiagnostics(requestParameters, options) {
1354
- return localVarFp.v1CreateNodeDiagnostics(requestParameters.v1CreateNodeDiagnosticRequest, options).then((request) => request(axios, basePath));
1405
+ return localVarFp.v1CreateNodeDiagnostics(requestParameters.v1CreateNodeDiagnosticsRequest, options).then((request) => request(axios, basePath));
1355
1406
  },
1356
1407
  /**
1357
1408
  * Create an optical tube.
@@ -1495,6 +1546,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
1495
1546
  v1UpdateNodeMetrics(requestParameters, options) {
1496
1547
  return localVarFp.v1UpdateNodeMetrics(requestParameters.v1UpdateNodeMetricsRequest, options).then((request) => request(axios, basePath));
1497
1548
  },
1549
+ /**
1550
+ * Complete an observation utilizing the async pipeline.
1551
+ * @param {DefaultApiV2CompleteObservationRequest} requestParameters Request parameters.
1552
+ * @param {*} [options] Override http request option.
1553
+ * @throws {RequiredError}
1554
+ */
1555
+ v2CompleteObservation(requestParameters, options) {
1556
+ return localVarFp.v2CompleteObservation(requestParameters.v2CompleteObservationRequest, options).then((request) => request(axios, basePath));
1557
+ },
1498
1558
  /**
1499
1559
  * Get next observation.
1500
1560
  * @param {DefaultApiV2GetObservationRequest} requestParameters Request parameters.
@@ -1582,7 +1642,7 @@ class DefaultApi extends base_1.BaseAPI {
1582
1642
  * @memberof DefaultApi
1583
1643
  */
1584
1644
  v1CreateNodeDiagnostics(requestParameters, options) {
1585
- return (0, exports.DefaultApiFp)(this.configuration).v1CreateNodeDiagnostics(requestParameters.v1CreateNodeDiagnosticRequest, options).then((request) => request(this.axios, this.basePath));
1645
+ return (0, exports.DefaultApiFp)(this.configuration).v1CreateNodeDiagnostics(requestParameters.v1CreateNodeDiagnosticsRequest, options).then((request) => request(this.axios, this.basePath));
1586
1646
  }
1587
1647
  /**
1588
1648
  * Create an optical tube.
@@ -1742,6 +1802,16 @@ class DefaultApi extends base_1.BaseAPI {
1742
1802
  v1UpdateNodeMetrics(requestParameters, options) {
1743
1803
  return (0, exports.DefaultApiFp)(this.configuration).v1UpdateNodeMetrics(requestParameters.v1UpdateNodeMetricsRequest, options).then((request) => request(this.axios, this.basePath));
1744
1804
  }
1805
+ /**
1806
+ * Complete an observation utilizing the async pipeline.
1807
+ * @param {DefaultApiV2CompleteObservationRequest} requestParameters Request parameters.
1808
+ * @param {*} [options] Override http request option.
1809
+ * @throws {RequiredError}
1810
+ * @memberof DefaultApi
1811
+ */
1812
+ v2CompleteObservation(requestParameters, options) {
1813
+ return (0, exports.DefaultApiFp)(this.configuration).v2CompleteObservation(requestParameters.v2CompleteObservationRequest, options).then((request) => request(this.axios, this.basePath));
1814
+ }
1745
1815
  /**
1746
1816
  * Get next observation.
1747
1817
  * @param {DefaultApiV2GetObservationRequest} 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.1945
5
+ * The version of the OpenAPI document: 1.3.2078
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.1945
8
+ * The version of the OpenAPI document: 1.3.2078
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.1945
5
+ * The version of the OpenAPI document: 1.3.2078
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.1945
8
+ * The version of the OpenAPI document: 1.3.2078
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.1945
5
+ * The version of the OpenAPI document: 1.3.2078
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.1945
8
+ * The version of the OpenAPI document: 1.3.2078
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).