@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/README.md +2 -2
- package/api.ts +199 -27
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +149 -20
- package/dist/api.js +82 -12
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +149 -20
- package/dist/esm/api.js +82 -12
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OurSky Platform
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
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
|
|
371
|
+
* @interface V1CreateNodeDiagnostic
|
|
366
372
|
*/
|
|
367
|
-
export interface
|
|
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
|
|
377
|
+
* @memberof V1CreateNodeDiagnostic
|
|
378
378
|
*/
|
|
379
379
|
'componentType': V1NodeComponentType;
|
|
380
380
|
/**
|
|
381
381
|
*
|
|
382
382
|
* @type {string}
|
|
383
|
-
* @memberof
|
|
383
|
+
* @memberof V1CreateNodeDiagnostic
|
|
384
384
|
*/
|
|
385
385
|
'componentId': string;
|
|
386
386
|
/**
|
|
387
387
|
*
|
|
388
388
|
* @type {V1NodeDiagnosticType}
|
|
389
|
-
* @memberof
|
|
389
|
+
* @memberof V1CreateNodeDiagnostic
|
|
390
390
|
*/
|
|
391
391
|
'diagnosticType': V1NodeDiagnosticType;
|
|
392
392
|
/**
|
|
393
393
|
*
|
|
394
394
|
* @type {string}
|
|
395
|
-
* @memberof
|
|
395
|
+
* @memberof V1CreateNodeDiagnostic
|
|
396
396
|
*/
|
|
397
397
|
'value': string;
|
|
398
398
|
/**
|
|
399
399
|
*
|
|
400
400
|
* @type {string}
|
|
401
|
-
* @memberof
|
|
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 {
|
|
1772
|
+
* @param {V1CreateNodeDiagnosticsRequest} v1CreateNodeDiagnosticsRequest
|
|
1686
1773
|
* @param {*} [options] Override http request option.
|
|
1687
1774
|
* @throws {RequiredError}
|
|
1688
1775
|
*/
|
|
1689
|
-
v1CreateNodeDiagnostics: (
|
|
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 {
|
|
1960
|
+
* @param {V1CreateNodeDiagnosticsRequest} v1CreateNodeDiagnosticsRequest
|
|
1867
1961
|
* @param {*} [options] Override http request option.
|
|
1868
1962
|
* @throws {RequiredError}
|
|
1869
1963
|
*/
|
|
1870
|
-
v1CreateNodeDiagnostics(
|
|
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 {
|
|
2399
|
+
* @type {V1CreateNodeDiagnosticsRequest}
|
|
2292
2400
|
* @memberof DefaultApiV1CreateNodeDiagnostics
|
|
2293
2401
|
*/
|
|
2294
|
-
readonly
|
|
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/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OurSky Platform
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.3.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.2078
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -142,7 +142,13 @@ export const V1NodeDiagnosticType = {
|
|
|
142
142
|
MIN_SLEW_AND_CENTER_SPEED_MS: 'MIN_SLEW_AND_CENTER_SPEED_MS',
|
|
143
143
|
MAX_SLEW_AND_CENTER_SPEED_MS: 'MAX_SLEW_AND_CENTER_SPEED_MS',
|
|
144
144
|
MIN_SLEW_ACCURACY_ARCSECONDS: 'MIN_SLEW_ACCURACY_ARCSECONDS',
|
|
145
|
-
MAX_SLEW_ACCURACY_ARCSECONDS: 'MAX_SLEW_ACCURACY_ARCSECONDS'
|
|
145
|
+
MAX_SLEW_ACCURACY_ARCSECONDS: 'MAX_SLEW_ACCURACY_ARCSECONDS',
|
|
146
|
+
SLEW_SPEED_DEGREES_PER_SECOND: 'SLEW_SPEED_DEGREES_PER_SECOND',
|
|
147
|
+
CENTERING_TIME_MS: 'CENTERING_TIME_MS',
|
|
148
|
+
POINTING_ERROR_DEGREES: 'POINTING_ERROR_DEGREES',
|
|
149
|
+
CAMERA_CHECKED: 'CAMERA_CHECKED',
|
|
150
|
+
MOUNT_CHECKED: 'MOUNT_CHECKED',
|
|
151
|
+
OPTICAL_TUBE_CHECKED: 'OPTICAL_TUBE_CHECKED'
|
|
146
152
|
};
|
|
147
153
|
/**
|
|
148
154
|
* DefaultApi - axios parameter creator
|
|
@@ -377,13 +383,13 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
377
383
|
}),
|
|
378
384
|
/**
|
|
379
385
|
* Create node diagnostics.
|
|
380
|
-
* @param {
|
|
386
|
+
* @param {V1CreateNodeDiagnosticsRequest} v1CreateNodeDiagnosticsRequest
|
|
381
387
|
* @param {*} [options] Override http request option.
|
|
382
388
|
* @throws {RequiredError}
|
|
383
389
|
*/
|
|
384
|
-
v1CreateNodeDiagnostics: (
|
|
385
|
-
// verify required parameter '
|
|
386
|
-
assertParamExists('v1CreateNodeDiagnostics', '
|
|
390
|
+
v1CreateNodeDiagnostics: (v1CreateNodeDiagnosticsRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
391
|
+
// verify required parameter 'v1CreateNodeDiagnosticsRequest' is not null or undefined
|
|
392
|
+
assertParamExists('v1CreateNodeDiagnostics', 'v1CreateNodeDiagnosticsRequest', v1CreateNodeDiagnosticsRequest);
|
|
387
393
|
const localVarPath = `/v1/node-diagnostics`;
|
|
388
394
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
389
395
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -402,7 +408,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
402
408
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
403
409
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
404
410
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
405
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
411
|
+
localVarRequestOptions.data = serializeDataIfNeeded(v1CreateNodeDiagnosticsRequest, localVarRequestOptions, configuration);
|
|
406
412
|
return {
|
|
407
413
|
url: toPathString(localVarUrlObj),
|
|
408
414
|
options: localVarRequestOptions,
|
|
@@ -938,6 +944,39 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
938
944
|
options: localVarRequestOptions,
|
|
939
945
|
};
|
|
940
946
|
}),
|
|
947
|
+
/**
|
|
948
|
+
* Complete an observation utilizing the async pipeline.
|
|
949
|
+
* @param {V2CompleteObservationRequest} v2CompleteObservationRequest
|
|
950
|
+
* @param {*} [options] Override http request option.
|
|
951
|
+
* @throws {RequiredError}
|
|
952
|
+
*/
|
|
953
|
+
v2CompleteObservation: (v2CompleteObservationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
954
|
+
// verify required parameter 'v2CompleteObservationRequest' is not null or undefined
|
|
955
|
+
assertParamExists('v2CompleteObservation', 'v2CompleteObservationRequest', v2CompleteObservationRequest);
|
|
956
|
+
const localVarPath = `/v2/observation-complete`;
|
|
957
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
958
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
959
|
+
let baseOptions;
|
|
960
|
+
if (configuration) {
|
|
961
|
+
baseOptions = configuration.baseOptions;
|
|
962
|
+
}
|
|
963
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
964
|
+
const localVarHeaderParameter = {};
|
|
965
|
+
const localVarQueryParameter = {};
|
|
966
|
+
// authentication Roles required
|
|
967
|
+
// authentication BearerToken required
|
|
968
|
+
// http bearer authentication required
|
|
969
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
970
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
971
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
972
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
973
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
974
|
+
localVarRequestOptions.data = serializeDataIfNeeded(v2CompleteObservationRequest, localVarRequestOptions, configuration);
|
|
975
|
+
return {
|
|
976
|
+
url: toPathString(localVarUrlObj),
|
|
977
|
+
options: localVarRequestOptions,
|
|
978
|
+
};
|
|
979
|
+
}),
|
|
941
980
|
/**
|
|
942
981
|
* Get next observation.
|
|
943
982
|
* @param {string} nodeId
|
|
@@ -1062,13 +1101,13 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1062
1101
|
},
|
|
1063
1102
|
/**
|
|
1064
1103
|
* Create node diagnostics.
|
|
1065
|
-
* @param {
|
|
1104
|
+
* @param {V1CreateNodeDiagnosticsRequest} v1CreateNodeDiagnosticsRequest
|
|
1066
1105
|
* @param {*} [options] Override http request option.
|
|
1067
1106
|
* @throws {RequiredError}
|
|
1068
1107
|
*/
|
|
1069
|
-
v1CreateNodeDiagnostics(
|
|
1108
|
+
v1CreateNodeDiagnostics(v1CreateNodeDiagnosticsRequest, options) {
|
|
1070
1109
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1071
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateNodeDiagnostics(
|
|
1110
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateNodeDiagnostics(v1CreateNodeDiagnosticsRequest, options);
|
|
1072
1111
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1073
1112
|
});
|
|
1074
1113
|
},
|
|
@@ -1264,6 +1303,18 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1264
1303
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1265
1304
|
});
|
|
1266
1305
|
},
|
|
1306
|
+
/**
|
|
1307
|
+
* Complete an observation utilizing the async pipeline.
|
|
1308
|
+
* @param {V2CompleteObservationRequest} v2CompleteObservationRequest
|
|
1309
|
+
* @param {*} [options] Override http request option.
|
|
1310
|
+
* @throws {RequiredError}
|
|
1311
|
+
*/
|
|
1312
|
+
v2CompleteObservation(v2CompleteObservationRequest, options) {
|
|
1313
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1314
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v2CompleteObservation(v2CompleteObservationRequest, options);
|
|
1315
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1316
|
+
});
|
|
1317
|
+
},
|
|
1267
1318
|
/**
|
|
1268
1319
|
* Get next observation.
|
|
1269
1320
|
* @param {string} nodeId
|
|
@@ -1346,7 +1397,7 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1346
1397
|
* @throws {RequiredError}
|
|
1347
1398
|
*/
|
|
1348
1399
|
v1CreateNodeDiagnostics(requestParameters, options) {
|
|
1349
|
-
return localVarFp.v1CreateNodeDiagnostics(requestParameters.
|
|
1400
|
+
return localVarFp.v1CreateNodeDiagnostics(requestParameters.v1CreateNodeDiagnosticsRequest, options).then((request) => request(axios, basePath));
|
|
1350
1401
|
},
|
|
1351
1402
|
/**
|
|
1352
1403
|
* Create an optical tube.
|
|
@@ -1490,6 +1541,15 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1490
1541
|
v1UpdateNodeMetrics(requestParameters, options) {
|
|
1491
1542
|
return localVarFp.v1UpdateNodeMetrics(requestParameters.v1UpdateNodeMetricsRequest, options).then((request) => request(axios, basePath));
|
|
1492
1543
|
},
|
|
1544
|
+
/**
|
|
1545
|
+
* Complete an observation utilizing the async pipeline.
|
|
1546
|
+
* @param {DefaultApiV2CompleteObservationRequest} requestParameters Request parameters.
|
|
1547
|
+
* @param {*} [options] Override http request option.
|
|
1548
|
+
* @throws {RequiredError}
|
|
1549
|
+
*/
|
|
1550
|
+
v2CompleteObservation(requestParameters, options) {
|
|
1551
|
+
return localVarFp.v2CompleteObservation(requestParameters.v2CompleteObservationRequest, options).then((request) => request(axios, basePath));
|
|
1552
|
+
},
|
|
1493
1553
|
/**
|
|
1494
1554
|
* Get next observation.
|
|
1495
1555
|
* @param {DefaultApiV2GetObservationRequest} requestParameters Request parameters.
|
|
@@ -1576,7 +1636,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
1576
1636
|
* @memberof DefaultApi
|
|
1577
1637
|
*/
|
|
1578
1638
|
v1CreateNodeDiagnostics(requestParameters, options) {
|
|
1579
|
-
return DefaultApiFp(this.configuration).v1CreateNodeDiagnostics(requestParameters.
|
|
1639
|
+
return DefaultApiFp(this.configuration).v1CreateNodeDiagnostics(requestParameters.v1CreateNodeDiagnosticsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1580
1640
|
}
|
|
1581
1641
|
/**
|
|
1582
1642
|
* Create an optical tube.
|
|
@@ -1736,6 +1796,16 @@ export class DefaultApi extends BaseAPI {
|
|
|
1736
1796
|
v1UpdateNodeMetrics(requestParameters, options) {
|
|
1737
1797
|
return DefaultApiFp(this.configuration).v1UpdateNodeMetrics(requestParameters.v1UpdateNodeMetricsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1738
1798
|
}
|
|
1799
|
+
/**
|
|
1800
|
+
* Complete an observation utilizing the async pipeline.
|
|
1801
|
+
* @param {DefaultApiV2CompleteObservationRequest} requestParameters Request parameters.
|
|
1802
|
+
* @param {*} [options] Override http request option.
|
|
1803
|
+
* @throws {RequiredError}
|
|
1804
|
+
* @memberof DefaultApi
|
|
1805
|
+
*/
|
|
1806
|
+
v2CompleteObservation(requestParameters, options) {
|
|
1807
|
+
return DefaultApiFp(this.configuration).v2CompleteObservation(requestParameters.v2CompleteObservationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1808
|
+
}
|
|
1739
1809
|
/**
|
|
1740
1810
|
* Get next observation.
|
|
1741
1811
|
* @param {DefaultApiV2GetObservationRequest} requestParameters Request parameters.
|
package/dist/esm/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.
|
|
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/esm/base.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OurSky Platform
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.3.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.2078
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/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.
|
|
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/esm/common.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OurSky Platform
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.3.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.2078
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OurSky Platform
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
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).
|
|
@@ -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.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.2078
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/index.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.
|
|
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/esm/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OurSky Platform
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.3.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.2078
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.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.
|
|
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/index.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.
|
|
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/index.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.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.2078
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|