@ourskyai/astro-api 1.3.1783 → 1.3.1892
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 +191 -5
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +137 -5
- package/dist/api.js +88 -2
- 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 +137 -5
- package/dist/esm/api.js +87 -1
- 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/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @ourskyai/astro-api@1.3.
|
|
1
|
+
## @ourskyai/astro-api@1.3.1892
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @ourskyai/astro-api@1.3.
|
|
39
|
+
npm install @ourskyai/astro-api@1.3.1892 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OurSky Astro
|
|
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.1892
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -117,7 +117,7 @@ export type FilterType = typeof FilterType[keyof typeof FilterType];
|
|
|
117
117
|
|
|
118
118
|
|
|
119
119
|
/**
|
|
120
|
-
*
|
|
120
|
+
* Location
|
|
121
121
|
* @export
|
|
122
122
|
* @interface Location
|
|
123
123
|
*/
|
|
@@ -495,7 +495,7 @@ export interface V1CalibrationMaster {
|
|
|
495
495
|
* @type {number}
|
|
496
496
|
* @memberof V1CalibrationMaster
|
|
497
497
|
*/
|
|
498
|
-
'
|
|
498
|
+
'readoutMode'?: number;
|
|
499
499
|
/**
|
|
500
500
|
* temperature in degrees celsius
|
|
501
501
|
* @type {number}
|
|
@@ -508,6 +508,12 @@ export interface V1CalibrationMaster {
|
|
|
508
508
|
* @memberof V1CalibrationMaster
|
|
509
509
|
*/
|
|
510
510
|
'exposureTime': number;
|
|
511
|
+
/**
|
|
512
|
+
*
|
|
513
|
+
* @type {number}
|
|
514
|
+
* @memberof V1CalibrationMaster
|
|
515
|
+
*/
|
|
516
|
+
'offset'?: number;
|
|
511
517
|
/**
|
|
512
518
|
*
|
|
513
519
|
* @type {string}
|
|
@@ -520,6 +526,12 @@ export interface V1CalibrationMaster {
|
|
|
520
526
|
* @memberof V1CalibrationMaster
|
|
521
527
|
*/
|
|
522
528
|
'createdBy': string;
|
|
529
|
+
/**
|
|
530
|
+
*
|
|
531
|
+
* @type {number}
|
|
532
|
+
* @memberof V1CalibrationMaster
|
|
533
|
+
*/
|
|
534
|
+
'rotatorAngle'?: number;
|
|
523
535
|
}
|
|
524
536
|
|
|
525
537
|
|
|
@@ -742,7 +754,7 @@ export interface V1CreateCalibrationMasterRequest {
|
|
|
742
754
|
* @type {number}
|
|
743
755
|
* @memberof V1CreateCalibrationMasterRequest
|
|
744
756
|
*/
|
|
745
|
-
'
|
|
757
|
+
'readoutMode'?: number;
|
|
746
758
|
/**
|
|
747
759
|
* temperature in degrees celsius
|
|
748
760
|
* @type {number}
|
|
@@ -755,6 +767,18 @@ export interface V1CreateCalibrationMasterRequest {
|
|
|
755
767
|
* @memberof V1CreateCalibrationMasterRequest
|
|
756
768
|
*/
|
|
757
769
|
'exposureTime': number;
|
|
770
|
+
/**
|
|
771
|
+
*
|
|
772
|
+
* @type {number}
|
|
773
|
+
* @memberof V1CreateCalibrationMasterRequest
|
|
774
|
+
*/
|
|
775
|
+
'rotatorAngle'?: number;
|
|
776
|
+
/**
|
|
777
|
+
*
|
|
778
|
+
* @type {number}
|
|
779
|
+
* @memberof V1CreateCalibrationMasterRequest
|
|
780
|
+
*/
|
|
781
|
+
'offset'?: number;
|
|
758
782
|
/**
|
|
759
783
|
*
|
|
760
784
|
* @type {boolean}
|
|
@@ -1394,6 +1418,82 @@ export interface V1ImageSetImage {
|
|
|
1394
1418
|
*/
|
|
1395
1419
|
'exposureLength': number;
|
|
1396
1420
|
}
|
|
1421
|
+
/**
|
|
1422
|
+
*
|
|
1423
|
+
* @export
|
|
1424
|
+
* @enum {string}
|
|
1425
|
+
*/
|
|
1426
|
+
|
|
1427
|
+
export const V1JobKind = {
|
|
1428
|
+
STACK: 'STACK',
|
|
1429
|
+
REPROCESS: 'REPROCESS',
|
|
1430
|
+
OBSERVATION_POTENTIAL: 'OBSERVATION_POTENTIAL'
|
|
1431
|
+
} as const;
|
|
1432
|
+
|
|
1433
|
+
export type V1JobKind = typeof V1JobKind[keyof typeof V1JobKind];
|
|
1434
|
+
|
|
1435
|
+
|
|
1436
|
+
/**
|
|
1437
|
+
* Job Log
|
|
1438
|
+
* @export
|
|
1439
|
+
* @interface V1JobLog
|
|
1440
|
+
*/
|
|
1441
|
+
export interface V1JobLog {
|
|
1442
|
+
/**
|
|
1443
|
+
*
|
|
1444
|
+
* @type {string}
|
|
1445
|
+
* @memberof V1JobLog
|
|
1446
|
+
*/
|
|
1447
|
+
'id': string;
|
|
1448
|
+
/**
|
|
1449
|
+
*
|
|
1450
|
+
* @type {V1JobKind}
|
|
1451
|
+
* @memberof V1JobLog
|
|
1452
|
+
*/
|
|
1453
|
+
'jobKind': V1JobKind;
|
|
1454
|
+
/**
|
|
1455
|
+
*
|
|
1456
|
+
* @type {V1JobStatus}
|
|
1457
|
+
* @memberof V1JobLog
|
|
1458
|
+
*/
|
|
1459
|
+
'jobStatus': V1JobStatus;
|
|
1460
|
+
/**
|
|
1461
|
+
*
|
|
1462
|
+
* @type {string}
|
|
1463
|
+
* @memberof V1JobLog
|
|
1464
|
+
*/
|
|
1465
|
+
'createdAt': string;
|
|
1466
|
+
/**
|
|
1467
|
+
*
|
|
1468
|
+
* @type {string}
|
|
1469
|
+
* @memberof V1JobLog
|
|
1470
|
+
*/
|
|
1471
|
+
'startedAt'?: string;
|
|
1472
|
+
/**
|
|
1473
|
+
*
|
|
1474
|
+
* @type {string}
|
|
1475
|
+
* @memberof V1JobLog
|
|
1476
|
+
*/
|
|
1477
|
+
'finishedAt'?: string;
|
|
1478
|
+
}
|
|
1479
|
+
|
|
1480
|
+
|
|
1481
|
+
/**
|
|
1482
|
+
*
|
|
1483
|
+
* @export
|
|
1484
|
+
* @enum {string}
|
|
1485
|
+
*/
|
|
1486
|
+
|
|
1487
|
+
export const V1JobStatus = {
|
|
1488
|
+
PENDING: 'PENDING',
|
|
1489
|
+
RUNNING: 'RUNNING',
|
|
1490
|
+
SUCCEEDED: 'SUCCEEDED',
|
|
1491
|
+
FAILED: 'FAILED'
|
|
1492
|
+
} as const;
|
|
1493
|
+
|
|
1494
|
+
export type V1JobStatus = typeof V1JobStatus[keyof typeof V1JobStatus];
|
|
1495
|
+
|
|
1496
|
+
|
|
1397
1497
|
/**
|
|
1398
1498
|
* Mount
|
|
1399
1499
|
* @export
|
|
@@ -1414,7 +1514,7 @@ export interface V1Mount {
|
|
|
1414
1514
|
'model': string;
|
|
1415
1515
|
}
|
|
1416
1516
|
/**
|
|
1417
|
-
*
|
|
1517
|
+
* Node
|
|
1418
1518
|
* @export
|
|
1419
1519
|
* @interface V1Node
|
|
1420
1520
|
*/
|
|
@@ -2834,6 +2934,48 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2834
2934
|
|
|
2835
2935
|
|
|
2836
2936
|
|
|
2937
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2938
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2939
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2940
|
+
|
|
2941
|
+
return {
|
|
2942
|
+
url: toPathString(localVarUrlObj),
|
|
2943
|
+
options: localVarRequestOptions,
|
|
2944
|
+
};
|
|
2945
|
+
},
|
|
2946
|
+
/**
|
|
2947
|
+
* Get job logs.
|
|
2948
|
+
* @param {string} astroProjectId
|
|
2949
|
+
* @param {*} [options] Override http request option.
|
|
2950
|
+
* @throws {RequiredError}
|
|
2951
|
+
*/
|
|
2952
|
+
v1GetJobLogs: async (astroProjectId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2953
|
+
// verify required parameter 'astroProjectId' is not null or undefined
|
|
2954
|
+
assertParamExists('v1GetJobLogs', 'astroProjectId', astroProjectId)
|
|
2955
|
+
const localVarPath = `/v1/job-logs`;
|
|
2956
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2957
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2958
|
+
let baseOptions;
|
|
2959
|
+
if (configuration) {
|
|
2960
|
+
baseOptions = configuration.baseOptions;
|
|
2961
|
+
}
|
|
2962
|
+
|
|
2963
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
2964
|
+
const localVarHeaderParameter = {} as any;
|
|
2965
|
+
const localVarQueryParameter = {} as any;
|
|
2966
|
+
|
|
2967
|
+
// authentication Roles required
|
|
2968
|
+
|
|
2969
|
+
// authentication BearerToken required
|
|
2970
|
+
// http bearer authentication required
|
|
2971
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2972
|
+
|
|
2973
|
+
if (astroProjectId !== undefined) {
|
|
2974
|
+
localVarQueryParameter['astroProjectId'] = astroProjectId;
|
|
2975
|
+
}
|
|
2976
|
+
|
|
2977
|
+
|
|
2978
|
+
|
|
2837
2979
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2838
2980
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2839
2981
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -3444,6 +3586,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
3444
3586
|
const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetImageSets(options);
|
|
3445
3587
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3446
3588
|
},
|
|
3589
|
+
/**
|
|
3590
|
+
* Get job logs.
|
|
3591
|
+
* @param {string} astroProjectId
|
|
3592
|
+
* @param {*} [options] Override http request option.
|
|
3593
|
+
* @throws {RequiredError}
|
|
3594
|
+
*/
|
|
3595
|
+
async v1GetJobLogs(astroProjectId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1JobLog>>> {
|
|
3596
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetJobLogs(astroProjectId, options);
|
|
3597
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3598
|
+
},
|
|
3447
3599
|
/**
|
|
3448
3600
|
* Get mounts.
|
|
3449
3601
|
* @param {*} [options] Override http request option.
|
|
@@ -3756,6 +3908,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
3756
3908
|
v1GetImageSets(options?: AxiosRequestConfig): AxiosPromise<Array<V1ImageSet>> {
|
|
3757
3909
|
return localVarFp.v1GetImageSets(options).then((request) => request(axios, basePath));
|
|
3758
3910
|
},
|
|
3911
|
+
/**
|
|
3912
|
+
* Get job logs.
|
|
3913
|
+
* @param {DefaultApiV1GetJobLogsRequest} requestParameters Request parameters.
|
|
3914
|
+
* @param {*} [options] Override http request option.
|
|
3915
|
+
* @throws {RequiredError}
|
|
3916
|
+
*/
|
|
3917
|
+
v1GetJobLogs(requestParameters: DefaultApiV1GetJobLogsRequest, options?: AxiosRequestConfig): AxiosPromise<Array<V1JobLog>> {
|
|
3918
|
+
return localVarFp.v1GetJobLogs(requestParameters.astroProjectId, options).then((request) => request(axios, basePath));
|
|
3919
|
+
},
|
|
3759
3920
|
/**
|
|
3760
3921
|
* Get mounts.
|
|
3761
3922
|
* @param {*} [options] Override http request option.
|
|
@@ -4206,6 +4367,20 @@ export interface DefaultApiV1GetImageSetImagesRequest {
|
|
|
4206
4367
|
readonly imageSets: Array<string>
|
|
4207
4368
|
}
|
|
4208
4369
|
|
|
4370
|
+
/**
|
|
4371
|
+
* Request parameters for v1GetJobLogs operation in DefaultApi.
|
|
4372
|
+
* @export
|
|
4373
|
+
* @interface DefaultApiV1GetJobLogsRequest
|
|
4374
|
+
*/
|
|
4375
|
+
export interface DefaultApiV1GetJobLogsRequest {
|
|
4376
|
+
/**
|
|
4377
|
+
*
|
|
4378
|
+
* @type {string}
|
|
4379
|
+
* @memberof DefaultApiV1GetJobLogs
|
|
4380
|
+
*/
|
|
4381
|
+
readonly astroProjectId: string
|
|
4382
|
+
}
|
|
4383
|
+
|
|
4209
4384
|
/**
|
|
4210
4385
|
* Request parameters for v1MatchAstroProject operation in DefaultApi.
|
|
4211
4386
|
* @export
|
|
@@ -4582,6 +4757,17 @@ export class DefaultApi extends BaseAPI {
|
|
|
4582
4757
|
return DefaultApiFp(this.configuration).v1GetImageSets(options).then((request) => request(this.axios, this.basePath));
|
|
4583
4758
|
}
|
|
4584
4759
|
|
|
4760
|
+
/**
|
|
4761
|
+
* Get job logs.
|
|
4762
|
+
* @param {DefaultApiV1GetJobLogsRequest} requestParameters Request parameters.
|
|
4763
|
+
* @param {*} [options] Override http request option.
|
|
4764
|
+
* @throws {RequiredError}
|
|
4765
|
+
* @memberof DefaultApi
|
|
4766
|
+
*/
|
|
4767
|
+
public v1GetJobLogs(requestParameters: DefaultApiV1GetJobLogsRequest, options?: AxiosRequestConfig) {
|
|
4768
|
+
return DefaultApiFp(this.configuration).v1GetJobLogs(requestParameters.astroProjectId, options).then((request) => request(this.axios, this.basePath));
|
|
4769
|
+
}
|
|
4770
|
+
|
|
4585
4771
|
/**
|
|
4586
4772
|
* Get mounts.
|
|
4587
4773
|
* @param {*} [options] Override http request option.
|
package/base.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OurSky Astro
|
|
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.1892
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/common.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OurSky Astro
|
|
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.1892
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/configuration.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OurSky Astro
|
|
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.1892
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OurSky Astro
|
|
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.1892
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -91,7 +91,7 @@ export declare const FilterType: {
|
|
|
91
91
|
};
|
|
92
92
|
export type FilterType = typeof FilterType[keyof typeof FilterType];
|
|
93
93
|
/**
|
|
94
|
-
*
|
|
94
|
+
* Location
|
|
95
95
|
* @export
|
|
96
96
|
* @interface Location
|
|
97
97
|
*/
|
|
@@ -447,7 +447,7 @@ export interface V1CalibrationMaster {
|
|
|
447
447
|
* @type {number}
|
|
448
448
|
* @memberof V1CalibrationMaster
|
|
449
449
|
*/
|
|
450
|
-
'
|
|
450
|
+
'readoutMode'?: number;
|
|
451
451
|
/**
|
|
452
452
|
* temperature in degrees celsius
|
|
453
453
|
* @type {number}
|
|
@@ -460,6 +460,12 @@ export interface V1CalibrationMaster {
|
|
|
460
460
|
* @memberof V1CalibrationMaster
|
|
461
461
|
*/
|
|
462
462
|
'exposureTime': number;
|
|
463
|
+
/**
|
|
464
|
+
*
|
|
465
|
+
* @type {number}
|
|
466
|
+
* @memberof V1CalibrationMaster
|
|
467
|
+
*/
|
|
468
|
+
'offset'?: number;
|
|
463
469
|
/**
|
|
464
470
|
*
|
|
465
471
|
* @type {string}
|
|
@@ -472,6 +478,12 @@ export interface V1CalibrationMaster {
|
|
|
472
478
|
* @memberof V1CalibrationMaster
|
|
473
479
|
*/
|
|
474
480
|
'createdBy': string;
|
|
481
|
+
/**
|
|
482
|
+
*
|
|
483
|
+
* @type {number}
|
|
484
|
+
* @memberof V1CalibrationMaster
|
|
485
|
+
*/
|
|
486
|
+
'rotatorAngle'?: number;
|
|
475
487
|
}
|
|
476
488
|
/**
|
|
477
489
|
* Camera
|
|
@@ -686,7 +698,7 @@ export interface V1CreateCalibrationMasterRequest {
|
|
|
686
698
|
* @type {number}
|
|
687
699
|
* @memberof V1CreateCalibrationMasterRequest
|
|
688
700
|
*/
|
|
689
|
-
'
|
|
701
|
+
'readoutMode'?: number;
|
|
690
702
|
/**
|
|
691
703
|
* temperature in degrees celsius
|
|
692
704
|
* @type {number}
|
|
@@ -699,6 +711,18 @@ export interface V1CreateCalibrationMasterRequest {
|
|
|
699
711
|
* @memberof V1CreateCalibrationMasterRequest
|
|
700
712
|
*/
|
|
701
713
|
'exposureTime': number;
|
|
714
|
+
/**
|
|
715
|
+
*
|
|
716
|
+
* @type {number}
|
|
717
|
+
* @memberof V1CreateCalibrationMasterRequest
|
|
718
|
+
*/
|
|
719
|
+
'rotatorAngle'?: number;
|
|
720
|
+
/**
|
|
721
|
+
*
|
|
722
|
+
* @type {number}
|
|
723
|
+
* @memberof V1CreateCalibrationMasterRequest
|
|
724
|
+
*/
|
|
725
|
+
'offset'?: number;
|
|
702
726
|
/**
|
|
703
727
|
*
|
|
704
728
|
* @type {boolean}
|
|
@@ -1326,6 +1350,72 @@ export interface V1ImageSetImage {
|
|
|
1326
1350
|
*/
|
|
1327
1351
|
'exposureLength': number;
|
|
1328
1352
|
}
|
|
1353
|
+
/**
|
|
1354
|
+
*
|
|
1355
|
+
* @export
|
|
1356
|
+
* @enum {string}
|
|
1357
|
+
*/
|
|
1358
|
+
export declare const V1JobKind: {
|
|
1359
|
+
readonly STACK: "STACK";
|
|
1360
|
+
readonly REPROCESS: "REPROCESS";
|
|
1361
|
+
readonly OBSERVATION_POTENTIAL: "OBSERVATION_POTENTIAL";
|
|
1362
|
+
};
|
|
1363
|
+
export type V1JobKind = typeof V1JobKind[keyof typeof V1JobKind];
|
|
1364
|
+
/**
|
|
1365
|
+
* Job Log
|
|
1366
|
+
* @export
|
|
1367
|
+
* @interface V1JobLog
|
|
1368
|
+
*/
|
|
1369
|
+
export interface V1JobLog {
|
|
1370
|
+
/**
|
|
1371
|
+
*
|
|
1372
|
+
* @type {string}
|
|
1373
|
+
* @memberof V1JobLog
|
|
1374
|
+
*/
|
|
1375
|
+
'id': string;
|
|
1376
|
+
/**
|
|
1377
|
+
*
|
|
1378
|
+
* @type {V1JobKind}
|
|
1379
|
+
* @memberof V1JobLog
|
|
1380
|
+
*/
|
|
1381
|
+
'jobKind': V1JobKind;
|
|
1382
|
+
/**
|
|
1383
|
+
*
|
|
1384
|
+
* @type {V1JobStatus}
|
|
1385
|
+
* @memberof V1JobLog
|
|
1386
|
+
*/
|
|
1387
|
+
'jobStatus': V1JobStatus;
|
|
1388
|
+
/**
|
|
1389
|
+
*
|
|
1390
|
+
* @type {string}
|
|
1391
|
+
* @memberof V1JobLog
|
|
1392
|
+
*/
|
|
1393
|
+
'createdAt': string;
|
|
1394
|
+
/**
|
|
1395
|
+
*
|
|
1396
|
+
* @type {string}
|
|
1397
|
+
* @memberof V1JobLog
|
|
1398
|
+
*/
|
|
1399
|
+
'startedAt'?: string;
|
|
1400
|
+
/**
|
|
1401
|
+
*
|
|
1402
|
+
* @type {string}
|
|
1403
|
+
* @memberof V1JobLog
|
|
1404
|
+
*/
|
|
1405
|
+
'finishedAt'?: string;
|
|
1406
|
+
}
|
|
1407
|
+
/**
|
|
1408
|
+
*
|
|
1409
|
+
* @export
|
|
1410
|
+
* @enum {string}
|
|
1411
|
+
*/
|
|
1412
|
+
export declare const V1JobStatus: {
|
|
1413
|
+
readonly PENDING: "PENDING";
|
|
1414
|
+
readonly RUNNING: "RUNNING";
|
|
1415
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
1416
|
+
readonly FAILED: "FAILED";
|
|
1417
|
+
};
|
|
1418
|
+
export type V1JobStatus = typeof V1JobStatus[keyof typeof V1JobStatus];
|
|
1329
1419
|
/**
|
|
1330
1420
|
* Mount
|
|
1331
1421
|
* @export
|
|
@@ -1346,7 +1436,7 @@ export interface V1Mount {
|
|
|
1346
1436
|
'model': string;
|
|
1347
1437
|
}
|
|
1348
1438
|
/**
|
|
1349
|
-
*
|
|
1439
|
+
* Node
|
|
1350
1440
|
* @export
|
|
1351
1441
|
* @interface V1Node
|
|
1352
1442
|
*/
|
|
@@ -1871,6 +1961,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
1871
1961
|
* @throws {RequiredError}
|
|
1872
1962
|
*/
|
|
1873
1963
|
v1GetImageSets: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1964
|
+
/**
|
|
1965
|
+
* Get job logs.
|
|
1966
|
+
* @param {string} astroProjectId
|
|
1967
|
+
* @param {*} [options] Override http request option.
|
|
1968
|
+
* @throws {RequiredError}
|
|
1969
|
+
*/
|
|
1970
|
+
v1GetJobLogs: (astroProjectId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1874
1971
|
/**
|
|
1875
1972
|
* Get mounts.
|
|
1876
1973
|
* @param {*} [options] Override http request option.
|
|
@@ -2117,6 +2214,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2117
2214
|
* @throws {RequiredError}
|
|
2118
2215
|
*/
|
|
2119
2216
|
v1GetImageSets(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1ImageSet>>>;
|
|
2217
|
+
/**
|
|
2218
|
+
* Get job logs.
|
|
2219
|
+
* @param {string} astroProjectId
|
|
2220
|
+
* @param {*} [options] Override http request option.
|
|
2221
|
+
* @throws {RequiredError}
|
|
2222
|
+
*/
|
|
2223
|
+
v1GetJobLogs(astroProjectId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1JobLog>>>;
|
|
2120
2224
|
/**
|
|
2121
2225
|
* Get mounts.
|
|
2122
2226
|
* @param {*} [options] Override http request option.
|
|
@@ -2351,6 +2455,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2351
2455
|
* @throws {RequiredError}
|
|
2352
2456
|
*/
|
|
2353
2457
|
v1GetImageSets(options?: AxiosRequestConfig): AxiosPromise<Array<V1ImageSet>>;
|
|
2458
|
+
/**
|
|
2459
|
+
* Get job logs.
|
|
2460
|
+
* @param {DefaultApiV1GetJobLogsRequest} requestParameters Request parameters.
|
|
2461
|
+
* @param {*} [options] Override http request option.
|
|
2462
|
+
* @throws {RequiredError}
|
|
2463
|
+
*/
|
|
2464
|
+
v1GetJobLogs(requestParameters: DefaultApiV1GetJobLogsRequest, options?: AxiosRequestConfig): AxiosPromise<Array<V1JobLog>>;
|
|
2354
2465
|
/**
|
|
2355
2466
|
* Get mounts.
|
|
2356
2467
|
* @param {*} [options] Override http request option.
|
|
@@ -2750,6 +2861,19 @@ export interface DefaultApiV1GetImageSetImagesRequest {
|
|
|
2750
2861
|
*/
|
|
2751
2862
|
readonly imageSets: Array<string>;
|
|
2752
2863
|
}
|
|
2864
|
+
/**
|
|
2865
|
+
* Request parameters for v1GetJobLogs operation in DefaultApi.
|
|
2866
|
+
* @export
|
|
2867
|
+
* @interface DefaultApiV1GetJobLogsRequest
|
|
2868
|
+
*/
|
|
2869
|
+
export interface DefaultApiV1GetJobLogsRequest {
|
|
2870
|
+
/**
|
|
2871
|
+
*
|
|
2872
|
+
* @type {string}
|
|
2873
|
+
* @memberof DefaultApiV1GetJobLogs
|
|
2874
|
+
*/
|
|
2875
|
+
readonly astroProjectId: string;
|
|
2876
|
+
}
|
|
2753
2877
|
/**
|
|
2754
2878
|
* Request parameters for v1MatchAstroProject operation in DefaultApi.
|
|
2755
2879
|
* @export
|
|
@@ -3042,6 +3166,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3042
3166
|
* @memberof DefaultApi
|
|
3043
3167
|
*/
|
|
3044
3168
|
v1GetImageSets(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<V1ImageSet[], any>>;
|
|
3169
|
+
/**
|
|
3170
|
+
* Get job logs.
|
|
3171
|
+
* @param {DefaultApiV1GetJobLogsRequest} requestParameters Request parameters.
|
|
3172
|
+
* @param {*} [options] Override http request option.
|
|
3173
|
+
* @throws {RequiredError}
|
|
3174
|
+
* @memberof DefaultApi
|
|
3175
|
+
*/
|
|
3176
|
+
v1GetJobLogs(requestParameters: DefaultApiV1GetJobLogsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<V1JobLog[], any>>;
|
|
3045
3177
|
/**
|
|
3046
3178
|
* Get mounts.
|
|
3047
3179
|
* @param {*} [options] Override http request option.
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* OurSky Astro
|
|
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.1892
|
|
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.V1PlatformCreditUnit = exports.V1PlatformCreditType = exports.V1PlatformCreditSource = exports.TrackingType = exports.ShutterType = exports.OpticalTubeType = exports.NodeState = exports.MountType = exports.FilterType = exports.CalibrationMasterType = exports.AssetType = exports.AssetFileType = void 0;
|
|
25
|
+
exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.V1PlatformCreditUnit = exports.V1PlatformCreditType = exports.V1PlatformCreditSource = exports.V1JobStatus = exports.V1JobKind = exports.TrackingType = exports.ShutterType = exports.OpticalTubeType = exports.NodeState = exports.MountType = exports.FilterType = exports.CalibrationMasterType = exports.AssetType = exports.AssetFileType = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
@@ -141,6 +141,27 @@ exports.TrackingType = {
|
|
|
141
141
|
SIDEREAL: 'SIDEREAL',
|
|
142
142
|
TARGET_RATE: 'TARGET_RATE'
|
|
143
143
|
};
|
|
144
|
+
/**
|
|
145
|
+
*
|
|
146
|
+
* @export
|
|
147
|
+
* @enum {string}
|
|
148
|
+
*/
|
|
149
|
+
exports.V1JobKind = {
|
|
150
|
+
STACK: 'STACK',
|
|
151
|
+
REPROCESS: 'REPROCESS',
|
|
152
|
+
OBSERVATION_POTENTIAL: 'OBSERVATION_POTENTIAL'
|
|
153
|
+
};
|
|
154
|
+
/**
|
|
155
|
+
*
|
|
156
|
+
* @export
|
|
157
|
+
* @enum {string}
|
|
158
|
+
*/
|
|
159
|
+
exports.V1JobStatus = {
|
|
160
|
+
PENDING: 'PENDING',
|
|
161
|
+
RUNNING: 'RUNNING',
|
|
162
|
+
SUCCEEDED: 'SUCCEEDED',
|
|
163
|
+
FAILED: 'FAILED'
|
|
164
|
+
};
|
|
144
165
|
/**
|
|
145
166
|
*
|
|
146
167
|
* @export
|
|
@@ -1033,6 +1054,40 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1033
1054
|
options: localVarRequestOptions,
|
|
1034
1055
|
};
|
|
1035
1056
|
}),
|
|
1057
|
+
/**
|
|
1058
|
+
* Get job logs.
|
|
1059
|
+
* @param {string} astroProjectId
|
|
1060
|
+
* @param {*} [options] Override http request option.
|
|
1061
|
+
* @throws {RequiredError}
|
|
1062
|
+
*/
|
|
1063
|
+
v1GetJobLogs: (astroProjectId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1064
|
+
// verify required parameter 'astroProjectId' is not null or undefined
|
|
1065
|
+
(0, common_1.assertParamExists)('v1GetJobLogs', 'astroProjectId', astroProjectId);
|
|
1066
|
+
const localVarPath = `/v1/job-logs`;
|
|
1067
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1068
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1069
|
+
let baseOptions;
|
|
1070
|
+
if (configuration) {
|
|
1071
|
+
baseOptions = configuration.baseOptions;
|
|
1072
|
+
}
|
|
1073
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1074
|
+
const localVarHeaderParameter = {};
|
|
1075
|
+
const localVarQueryParameter = {};
|
|
1076
|
+
// authentication Roles required
|
|
1077
|
+
// authentication BearerToken required
|
|
1078
|
+
// http bearer authentication required
|
|
1079
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1080
|
+
if (astroProjectId !== undefined) {
|
|
1081
|
+
localVarQueryParameter['astroProjectId'] = astroProjectId;
|
|
1082
|
+
}
|
|
1083
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1084
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1085
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1086
|
+
return {
|
|
1087
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1088
|
+
options: localVarRequestOptions,
|
|
1089
|
+
};
|
|
1090
|
+
}),
|
|
1036
1091
|
/**
|
|
1037
1092
|
* Get mounts.
|
|
1038
1093
|
* @param {*} [options] Override http request option.
|
|
@@ -1619,6 +1674,18 @@ const DefaultApiFp = function (configuration) {
|
|
|
1619
1674
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1620
1675
|
});
|
|
1621
1676
|
},
|
|
1677
|
+
/**
|
|
1678
|
+
* Get job logs.
|
|
1679
|
+
* @param {string} astroProjectId
|
|
1680
|
+
* @param {*} [options] Override http request option.
|
|
1681
|
+
* @throws {RequiredError}
|
|
1682
|
+
*/
|
|
1683
|
+
v1GetJobLogs(astroProjectId, options) {
|
|
1684
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1685
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetJobLogs(astroProjectId, options);
|
|
1686
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1687
|
+
});
|
|
1688
|
+
},
|
|
1622
1689
|
/**
|
|
1623
1690
|
* Get mounts.
|
|
1624
1691
|
* @param {*} [options] Override http request option.
|
|
@@ -1947,6 +2014,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1947
2014
|
v1GetImageSets(options) {
|
|
1948
2015
|
return localVarFp.v1GetImageSets(options).then((request) => request(axios, basePath));
|
|
1949
2016
|
},
|
|
2017
|
+
/**
|
|
2018
|
+
* Get job logs.
|
|
2019
|
+
* @param {DefaultApiV1GetJobLogsRequest} requestParameters Request parameters.
|
|
2020
|
+
* @param {*} [options] Override http request option.
|
|
2021
|
+
* @throws {RequiredError}
|
|
2022
|
+
*/
|
|
2023
|
+
v1GetJobLogs(requestParameters, options) {
|
|
2024
|
+
return localVarFp.v1GetJobLogs(requestParameters.astroProjectId, options).then((request) => request(axios, basePath));
|
|
2025
|
+
},
|
|
1950
2026
|
/**
|
|
1951
2027
|
* Get mounts.
|
|
1952
2028
|
* @param {*} [options] Override http request option.
|
|
@@ -2272,6 +2348,16 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
2272
2348
|
v1GetImageSets(options) {
|
|
2273
2349
|
return (0, exports.DefaultApiFp)(this.configuration).v1GetImageSets(options).then((request) => request(this.axios, this.basePath));
|
|
2274
2350
|
}
|
|
2351
|
+
/**
|
|
2352
|
+
* Get job logs.
|
|
2353
|
+
* @param {DefaultApiV1GetJobLogsRequest} requestParameters Request parameters.
|
|
2354
|
+
* @param {*} [options] Override http request option.
|
|
2355
|
+
* @throws {RequiredError}
|
|
2356
|
+
* @memberof DefaultApi
|
|
2357
|
+
*/
|
|
2358
|
+
v1GetJobLogs(requestParameters, options) {
|
|
2359
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1GetJobLogs(requestParameters.astroProjectId, options).then((request) => request(this.axios, this.basePath));
|
|
2360
|
+
}
|
|
2275
2361
|
/**
|
|
2276
2362
|
* Get mounts.
|
|
2277
2363
|
* @param {*} [options] Override http request option.
|
package/dist/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OurSky Astro
|
|
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.1892
|
|
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 Astro
|
|
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.1892
|
|
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 Astro
|
|
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.1892
|
|
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 Astro
|
|
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.1892
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OurSky Astro
|
|
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.1892
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* OurSky Astro
|
|
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.1892
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OurSky Astro
|
|
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.1892
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -91,7 +91,7 @@ export declare const FilterType: {
|
|
|
91
91
|
};
|
|
92
92
|
export type FilterType = typeof FilterType[keyof typeof FilterType];
|
|
93
93
|
/**
|
|
94
|
-
*
|
|
94
|
+
* Location
|
|
95
95
|
* @export
|
|
96
96
|
* @interface Location
|
|
97
97
|
*/
|
|
@@ -447,7 +447,7 @@ export interface V1CalibrationMaster {
|
|
|
447
447
|
* @type {number}
|
|
448
448
|
* @memberof V1CalibrationMaster
|
|
449
449
|
*/
|
|
450
|
-
'
|
|
450
|
+
'readoutMode'?: number;
|
|
451
451
|
/**
|
|
452
452
|
* temperature in degrees celsius
|
|
453
453
|
* @type {number}
|
|
@@ -460,6 +460,12 @@ export interface V1CalibrationMaster {
|
|
|
460
460
|
* @memberof V1CalibrationMaster
|
|
461
461
|
*/
|
|
462
462
|
'exposureTime': number;
|
|
463
|
+
/**
|
|
464
|
+
*
|
|
465
|
+
* @type {number}
|
|
466
|
+
* @memberof V1CalibrationMaster
|
|
467
|
+
*/
|
|
468
|
+
'offset'?: number;
|
|
463
469
|
/**
|
|
464
470
|
*
|
|
465
471
|
* @type {string}
|
|
@@ -472,6 +478,12 @@ export interface V1CalibrationMaster {
|
|
|
472
478
|
* @memberof V1CalibrationMaster
|
|
473
479
|
*/
|
|
474
480
|
'createdBy': string;
|
|
481
|
+
/**
|
|
482
|
+
*
|
|
483
|
+
* @type {number}
|
|
484
|
+
* @memberof V1CalibrationMaster
|
|
485
|
+
*/
|
|
486
|
+
'rotatorAngle'?: number;
|
|
475
487
|
}
|
|
476
488
|
/**
|
|
477
489
|
* Camera
|
|
@@ -686,7 +698,7 @@ export interface V1CreateCalibrationMasterRequest {
|
|
|
686
698
|
* @type {number}
|
|
687
699
|
* @memberof V1CreateCalibrationMasterRequest
|
|
688
700
|
*/
|
|
689
|
-
'
|
|
701
|
+
'readoutMode'?: number;
|
|
690
702
|
/**
|
|
691
703
|
* temperature in degrees celsius
|
|
692
704
|
* @type {number}
|
|
@@ -699,6 +711,18 @@ export interface V1CreateCalibrationMasterRequest {
|
|
|
699
711
|
* @memberof V1CreateCalibrationMasterRequest
|
|
700
712
|
*/
|
|
701
713
|
'exposureTime': number;
|
|
714
|
+
/**
|
|
715
|
+
*
|
|
716
|
+
* @type {number}
|
|
717
|
+
* @memberof V1CreateCalibrationMasterRequest
|
|
718
|
+
*/
|
|
719
|
+
'rotatorAngle'?: number;
|
|
720
|
+
/**
|
|
721
|
+
*
|
|
722
|
+
* @type {number}
|
|
723
|
+
* @memberof V1CreateCalibrationMasterRequest
|
|
724
|
+
*/
|
|
725
|
+
'offset'?: number;
|
|
702
726
|
/**
|
|
703
727
|
*
|
|
704
728
|
* @type {boolean}
|
|
@@ -1326,6 +1350,72 @@ export interface V1ImageSetImage {
|
|
|
1326
1350
|
*/
|
|
1327
1351
|
'exposureLength': number;
|
|
1328
1352
|
}
|
|
1353
|
+
/**
|
|
1354
|
+
*
|
|
1355
|
+
* @export
|
|
1356
|
+
* @enum {string}
|
|
1357
|
+
*/
|
|
1358
|
+
export declare const V1JobKind: {
|
|
1359
|
+
readonly STACK: "STACK";
|
|
1360
|
+
readonly REPROCESS: "REPROCESS";
|
|
1361
|
+
readonly OBSERVATION_POTENTIAL: "OBSERVATION_POTENTIAL";
|
|
1362
|
+
};
|
|
1363
|
+
export type V1JobKind = typeof V1JobKind[keyof typeof V1JobKind];
|
|
1364
|
+
/**
|
|
1365
|
+
* Job Log
|
|
1366
|
+
* @export
|
|
1367
|
+
* @interface V1JobLog
|
|
1368
|
+
*/
|
|
1369
|
+
export interface V1JobLog {
|
|
1370
|
+
/**
|
|
1371
|
+
*
|
|
1372
|
+
* @type {string}
|
|
1373
|
+
* @memberof V1JobLog
|
|
1374
|
+
*/
|
|
1375
|
+
'id': string;
|
|
1376
|
+
/**
|
|
1377
|
+
*
|
|
1378
|
+
* @type {V1JobKind}
|
|
1379
|
+
* @memberof V1JobLog
|
|
1380
|
+
*/
|
|
1381
|
+
'jobKind': V1JobKind;
|
|
1382
|
+
/**
|
|
1383
|
+
*
|
|
1384
|
+
* @type {V1JobStatus}
|
|
1385
|
+
* @memberof V1JobLog
|
|
1386
|
+
*/
|
|
1387
|
+
'jobStatus': V1JobStatus;
|
|
1388
|
+
/**
|
|
1389
|
+
*
|
|
1390
|
+
* @type {string}
|
|
1391
|
+
* @memberof V1JobLog
|
|
1392
|
+
*/
|
|
1393
|
+
'createdAt': string;
|
|
1394
|
+
/**
|
|
1395
|
+
*
|
|
1396
|
+
* @type {string}
|
|
1397
|
+
* @memberof V1JobLog
|
|
1398
|
+
*/
|
|
1399
|
+
'startedAt'?: string;
|
|
1400
|
+
/**
|
|
1401
|
+
*
|
|
1402
|
+
* @type {string}
|
|
1403
|
+
* @memberof V1JobLog
|
|
1404
|
+
*/
|
|
1405
|
+
'finishedAt'?: string;
|
|
1406
|
+
}
|
|
1407
|
+
/**
|
|
1408
|
+
*
|
|
1409
|
+
* @export
|
|
1410
|
+
* @enum {string}
|
|
1411
|
+
*/
|
|
1412
|
+
export declare const V1JobStatus: {
|
|
1413
|
+
readonly PENDING: "PENDING";
|
|
1414
|
+
readonly RUNNING: "RUNNING";
|
|
1415
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
1416
|
+
readonly FAILED: "FAILED";
|
|
1417
|
+
};
|
|
1418
|
+
export type V1JobStatus = typeof V1JobStatus[keyof typeof V1JobStatus];
|
|
1329
1419
|
/**
|
|
1330
1420
|
* Mount
|
|
1331
1421
|
* @export
|
|
@@ -1346,7 +1436,7 @@ export interface V1Mount {
|
|
|
1346
1436
|
'model': string;
|
|
1347
1437
|
}
|
|
1348
1438
|
/**
|
|
1349
|
-
*
|
|
1439
|
+
* Node
|
|
1350
1440
|
* @export
|
|
1351
1441
|
* @interface V1Node
|
|
1352
1442
|
*/
|
|
@@ -1871,6 +1961,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
1871
1961
|
* @throws {RequiredError}
|
|
1872
1962
|
*/
|
|
1873
1963
|
v1GetImageSets: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1964
|
+
/**
|
|
1965
|
+
* Get job logs.
|
|
1966
|
+
* @param {string} astroProjectId
|
|
1967
|
+
* @param {*} [options] Override http request option.
|
|
1968
|
+
* @throws {RequiredError}
|
|
1969
|
+
*/
|
|
1970
|
+
v1GetJobLogs: (astroProjectId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1874
1971
|
/**
|
|
1875
1972
|
* Get mounts.
|
|
1876
1973
|
* @param {*} [options] Override http request option.
|
|
@@ -2117,6 +2214,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2117
2214
|
* @throws {RequiredError}
|
|
2118
2215
|
*/
|
|
2119
2216
|
v1GetImageSets(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1ImageSet>>>;
|
|
2217
|
+
/**
|
|
2218
|
+
* Get job logs.
|
|
2219
|
+
* @param {string} astroProjectId
|
|
2220
|
+
* @param {*} [options] Override http request option.
|
|
2221
|
+
* @throws {RequiredError}
|
|
2222
|
+
*/
|
|
2223
|
+
v1GetJobLogs(astroProjectId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1JobLog>>>;
|
|
2120
2224
|
/**
|
|
2121
2225
|
* Get mounts.
|
|
2122
2226
|
* @param {*} [options] Override http request option.
|
|
@@ -2351,6 +2455,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2351
2455
|
* @throws {RequiredError}
|
|
2352
2456
|
*/
|
|
2353
2457
|
v1GetImageSets(options?: AxiosRequestConfig): AxiosPromise<Array<V1ImageSet>>;
|
|
2458
|
+
/**
|
|
2459
|
+
* Get job logs.
|
|
2460
|
+
* @param {DefaultApiV1GetJobLogsRequest} requestParameters Request parameters.
|
|
2461
|
+
* @param {*} [options] Override http request option.
|
|
2462
|
+
* @throws {RequiredError}
|
|
2463
|
+
*/
|
|
2464
|
+
v1GetJobLogs(requestParameters: DefaultApiV1GetJobLogsRequest, options?: AxiosRequestConfig): AxiosPromise<Array<V1JobLog>>;
|
|
2354
2465
|
/**
|
|
2355
2466
|
* Get mounts.
|
|
2356
2467
|
* @param {*} [options] Override http request option.
|
|
@@ -2750,6 +2861,19 @@ export interface DefaultApiV1GetImageSetImagesRequest {
|
|
|
2750
2861
|
*/
|
|
2751
2862
|
readonly imageSets: Array<string>;
|
|
2752
2863
|
}
|
|
2864
|
+
/**
|
|
2865
|
+
* Request parameters for v1GetJobLogs operation in DefaultApi.
|
|
2866
|
+
* @export
|
|
2867
|
+
* @interface DefaultApiV1GetJobLogsRequest
|
|
2868
|
+
*/
|
|
2869
|
+
export interface DefaultApiV1GetJobLogsRequest {
|
|
2870
|
+
/**
|
|
2871
|
+
*
|
|
2872
|
+
* @type {string}
|
|
2873
|
+
* @memberof DefaultApiV1GetJobLogs
|
|
2874
|
+
*/
|
|
2875
|
+
readonly astroProjectId: string;
|
|
2876
|
+
}
|
|
2753
2877
|
/**
|
|
2754
2878
|
* Request parameters for v1MatchAstroProject operation in DefaultApi.
|
|
2755
2879
|
* @export
|
|
@@ -3042,6 +3166,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3042
3166
|
* @memberof DefaultApi
|
|
3043
3167
|
*/
|
|
3044
3168
|
v1GetImageSets(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<V1ImageSet[], any>>;
|
|
3169
|
+
/**
|
|
3170
|
+
* Get job logs.
|
|
3171
|
+
* @param {DefaultApiV1GetJobLogsRequest} requestParameters Request parameters.
|
|
3172
|
+
* @param {*} [options] Override http request option.
|
|
3173
|
+
* @throws {RequiredError}
|
|
3174
|
+
* @memberof DefaultApi
|
|
3175
|
+
*/
|
|
3176
|
+
v1GetJobLogs(requestParameters: DefaultApiV1GetJobLogsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<V1JobLog[], any>>;
|
|
3045
3177
|
/**
|
|
3046
3178
|
* Get mounts.
|
|
3047
3179
|
* @param {*} [options] Override http request option.
|
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OurSky Astro
|
|
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.1892
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -138,6 +138,27 @@ export const TrackingType = {
|
|
|
138
138
|
SIDEREAL: 'SIDEREAL',
|
|
139
139
|
TARGET_RATE: 'TARGET_RATE'
|
|
140
140
|
};
|
|
141
|
+
/**
|
|
142
|
+
*
|
|
143
|
+
* @export
|
|
144
|
+
* @enum {string}
|
|
145
|
+
*/
|
|
146
|
+
export const V1JobKind = {
|
|
147
|
+
STACK: 'STACK',
|
|
148
|
+
REPROCESS: 'REPROCESS',
|
|
149
|
+
OBSERVATION_POTENTIAL: 'OBSERVATION_POTENTIAL'
|
|
150
|
+
};
|
|
151
|
+
/**
|
|
152
|
+
*
|
|
153
|
+
* @export
|
|
154
|
+
* @enum {string}
|
|
155
|
+
*/
|
|
156
|
+
export const V1JobStatus = {
|
|
157
|
+
PENDING: 'PENDING',
|
|
158
|
+
RUNNING: 'RUNNING',
|
|
159
|
+
SUCCEEDED: 'SUCCEEDED',
|
|
160
|
+
FAILED: 'FAILED'
|
|
161
|
+
};
|
|
141
162
|
/**
|
|
142
163
|
*
|
|
143
164
|
* @export
|
|
@@ -1030,6 +1051,40 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1030
1051
|
options: localVarRequestOptions,
|
|
1031
1052
|
};
|
|
1032
1053
|
}),
|
|
1054
|
+
/**
|
|
1055
|
+
* Get job logs.
|
|
1056
|
+
* @param {string} astroProjectId
|
|
1057
|
+
* @param {*} [options] Override http request option.
|
|
1058
|
+
* @throws {RequiredError}
|
|
1059
|
+
*/
|
|
1060
|
+
v1GetJobLogs: (astroProjectId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1061
|
+
// verify required parameter 'astroProjectId' is not null or undefined
|
|
1062
|
+
assertParamExists('v1GetJobLogs', 'astroProjectId', astroProjectId);
|
|
1063
|
+
const localVarPath = `/v1/job-logs`;
|
|
1064
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1065
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1066
|
+
let baseOptions;
|
|
1067
|
+
if (configuration) {
|
|
1068
|
+
baseOptions = configuration.baseOptions;
|
|
1069
|
+
}
|
|
1070
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1071
|
+
const localVarHeaderParameter = {};
|
|
1072
|
+
const localVarQueryParameter = {};
|
|
1073
|
+
// authentication Roles required
|
|
1074
|
+
// authentication BearerToken required
|
|
1075
|
+
// http bearer authentication required
|
|
1076
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1077
|
+
if (astroProjectId !== undefined) {
|
|
1078
|
+
localVarQueryParameter['astroProjectId'] = astroProjectId;
|
|
1079
|
+
}
|
|
1080
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1081
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1082
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1083
|
+
return {
|
|
1084
|
+
url: toPathString(localVarUrlObj),
|
|
1085
|
+
options: localVarRequestOptions,
|
|
1086
|
+
};
|
|
1087
|
+
}),
|
|
1033
1088
|
/**
|
|
1034
1089
|
* Get mounts.
|
|
1035
1090
|
* @param {*} [options] Override http request option.
|
|
@@ -1615,6 +1670,18 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1615
1670
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1616
1671
|
});
|
|
1617
1672
|
},
|
|
1673
|
+
/**
|
|
1674
|
+
* Get job logs.
|
|
1675
|
+
* @param {string} astroProjectId
|
|
1676
|
+
* @param {*} [options] Override http request option.
|
|
1677
|
+
* @throws {RequiredError}
|
|
1678
|
+
*/
|
|
1679
|
+
v1GetJobLogs(astroProjectId, options) {
|
|
1680
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1681
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetJobLogs(astroProjectId, options);
|
|
1682
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1683
|
+
});
|
|
1684
|
+
},
|
|
1618
1685
|
/**
|
|
1619
1686
|
* Get mounts.
|
|
1620
1687
|
* @param {*} [options] Override http request option.
|
|
@@ -1942,6 +2009,15 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1942
2009
|
v1GetImageSets(options) {
|
|
1943
2010
|
return localVarFp.v1GetImageSets(options).then((request) => request(axios, basePath));
|
|
1944
2011
|
},
|
|
2012
|
+
/**
|
|
2013
|
+
* Get job logs.
|
|
2014
|
+
* @param {DefaultApiV1GetJobLogsRequest} requestParameters Request parameters.
|
|
2015
|
+
* @param {*} [options] Override http request option.
|
|
2016
|
+
* @throws {RequiredError}
|
|
2017
|
+
*/
|
|
2018
|
+
v1GetJobLogs(requestParameters, options) {
|
|
2019
|
+
return localVarFp.v1GetJobLogs(requestParameters.astroProjectId, options).then((request) => request(axios, basePath));
|
|
2020
|
+
},
|
|
1945
2021
|
/**
|
|
1946
2022
|
* Get mounts.
|
|
1947
2023
|
* @param {*} [options] Override http request option.
|
|
@@ -2266,6 +2342,16 @@ export class DefaultApi extends BaseAPI {
|
|
|
2266
2342
|
v1GetImageSets(options) {
|
|
2267
2343
|
return DefaultApiFp(this.configuration).v1GetImageSets(options).then((request) => request(this.axios, this.basePath));
|
|
2268
2344
|
}
|
|
2345
|
+
/**
|
|
2346
|
+
* Get job logs.
|
|
2347
|
+
* @param {DefaultApiV1GetJobLogsRequest} requestParameters Request parameters.
|
|
2348
|
+
* @param {*} [options] Override http request option.
|
|
2349
|
+
* @throws {RequiredError}
|
|
2350
|
+
* @memberof DefaultApi
|
|
2351
|
+
*/
|
|
2352
|
+
v1GetJobLogs(requestParameters, options) {
|
|
2353
|
+
return DefaultApiFp(this.configuration).v1GetJobLogs(requestParameters.astroProjectId, options).then((request) => request(this.axios, this.basePath));
|
|
2354
|
+
}
|
|
2269
2355
|
/**
|
|
2270
2356
|
* Get mounts.
|
|
2271
2357
|
* @param {*} [options] Override http request option.
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OurSky Astro
|
|
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.1892
|
|
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 Astro
|
|
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.1892
|
|
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 Astro
|
|
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.1892
|
|
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 Astro
|
|
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.1892
|
|
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 Astro
|
|
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.1892
|
|
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 Astro
|
|
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.1892
|
|
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 Astro
|
|
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.1892
|
|
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 Astro
|
|
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.1892
|
|
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 Astro
|
|
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.1892
|
|
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 Astro
|
|
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.1892
|
|
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 Astro
|
|
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.1892
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|