@ourskyai/astro-api 1.3.1783 → 1.3.1856
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 +183 -3
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +129 -3
- 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 +129 -3
- 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.1856
|
|
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.1856 --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.1856
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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}
|
|
@@ -742,7 +748,7 @@ export interface V1CreateCalibrationMasterRequest {
|
|
|
742
748
|
* @type {number}
|
|
743
749
|
* @memberof V1CreateCalibrationMasterRequest
|
|
744
750
|
*/
|
|
745
|
-
'
|
|
751
|
+
'readoutMode'?: number;
|
|
746
752
|
/**
|
|
747
753
|
* temperature in degrees celsius
|
|
748
754
|
* @type {number}
|
|
@@ -755,6 +761,18 @@ export interface V1CreateCalibrationMasterRequest {
|
|
|
755
761
|
* @memberof V1CreateCalibrationMasterRequest
|
|
756
762
|
*/
|
|
757
763
|
'exposureTime': number;
|
|
764
|
+
/**
|
|
765
|
+
*
|
|
766
|
+
* @type {number}
|
|
767
|
+
* @memberof V1CreateCalibrationMasterRequest
|
|
768
|
+
*/
|
|
769
|
+
'rotatorAngle'?: number;
|
|
770
|
+
/**
|
|
771
|
+
*
|
|
772
|
+
* @type {number}
|
|
773
|
+
* @memberof V1CreateCalibrationMasterRequest
|
|
774
|
+
*/
|
|
775
|
+
'offset'?: number;
|
|
758
776
|
/**
|
|
759
777
|
*
|
|
760
778
|
* @type {boolean}
|
|
@@ -1394,6 +1412,82 @@ export interface V1ImageSetImage {
|
|
|
1394
1412
|
*/
|
|
1395
1413
|
'exposureLength': number;
|
|
1396
1414
|
}
|
|
1415
|
+
/**
|
|
1416
|
+
*
|
|
1417
|
+
* @export
|
|
1418
|
+
* @enum {string}
|
|
1419
|
+
*/
|
|
1420
|
+
|
|
1421
|
+
export const V1JobKind = {
|
|
1422
|
+
STACK: 'STACK',
|
|
1423
|
+
REPROCESS: 'REPROCESS',
|
|
1424
|
+
OBSERVATION_POTENTIAL: 'OBSERVATION_POTENTIAL'
|
|
1425
|
+
} as const;
|
|
1426
|
+
|
|
1427
|
+
export type V1JobKind = typeof V1JobKind[keyof typeof V1JobKind];
|
|
1428
|
+
|
|
1429
|
+
|
|
1430
|
+
/**
|
|
1431
|
+
* Job Log
|
|
1432
|
+
* @export
|
|
1433
|
+
* @interface V1JobLog
|
|
1434
|
+
*/
|
|
1435
|
+
export interface V1JobLog {
|
|
1436
|
+
/**
|
|
1437
|
+
*
|
|
1438
|
+
* @type {string}
|
|
1439
|
+
* @memberof V1JobLog
|
|
1440
|
+
*/
|
|
1441
|
+
'id': string;
|
|
1442
|
+
/**
|
|
1443
|
+
*
|
|
1444
|
+
* @type {V1JobKind}
|
|
1445
|
+
* @memberof V1JobLog
|
|
1446
|
+
*/
|
|
1447
|
+
'jobKind': V1JobKind;
|
|
1448
|
+
/**
|
|
1449
|
+
*
|
|
1450
|
+
* @type {V1JobStatus}
|
|
1451
|
+
* @memberof V1JobLog
|
|
1452
|
+
*/
|
|
1453
|
+
'jobStatus': V1JobStatus;
|
|
1454
|
+
/**
|
|
1455
|
+
*
|
|
1456
|
+
* @type {string}
|
|
1457
|
+
* @memberof V1JobLog
|
|
1458
|
+
*/
|
|
1459
|
+
'createdAt': string;
|
|
1460
|
+
/**
|
|
1461
|
+
*
|
|
1462
|
+
* @type {string}
|
|
1463
|
+
* @memberof V1JobLog
|
|
1464
|
+
*/
|
|
1465
|
+
'startedAt'?: string;
|
|
1466
|
+
/**
|
|
1467
|
+
*
|
|
1468
|
+
* @type {string}
|
|
1469
|
+
* @memberof V1JobLog
|
|
1470
|
+
*/
|
|
1471
|
+
'finishedAt'?: string;
|
|
1472
|
+
}
|
|
1473
|
+
|
|
1474
|
+
|
|
1475
|
+
/**
|
|
1476
|
+
*
|
|
1477
|
+
* @export
|
|
1478
|
+
* @enum {string}
|
|
1479
|
+
*/
|
|
1480
|
+
|
|
1481
|
+
export const V1JobStatus = {
|
|
1482
|
+
PENDING: 'PENDING',
|
|
1483
|
+
RUNNING: 'RUNNING',
|
|
1484
|
+
SUCCEEDED: 'SUCCEEDED',
|
|
1485
|
+
FAILED: 'FAILED'
|
|
1486
|
+
} as const;
|
|
1487
|
+
|
|
1488
|
+
export type V1JobStatus = typeof V1JobStatus[keyof typeof V1JobStatus];
|
|
1489
|
+
|
|
1490
|
+
|
|
1397
1491
|
/**
|
|
1398
1492
|
* Mount
|
|
1399
1493
|
* @export
|
|
@@ -2834,6 +2928,48 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2834
2928
|
|
|
2835
2929
|
|
|
2836
2930
|
|
|
2931
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2932
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2933
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2934
|
+
|
|
2935
|
+
return {
|
|
2936
|
+
url: toPathString(localVarUrlObj),
|
|
2937
|
+
options: localVarRequestOptions,
|
|
2938
|
+
};
|
|
2939
|
+
},
|
|
2940
|
+
/**
|
|
2941
|
+
* Get job logs.
|
|
2942
|
+
* @param {string} astroProjectId
|
|
2943
|
+
* @param {*} [options] Override http request option.
|
|
2944
|
+
* @throws {RequiredError}
|
|
2945
|
+
*/
|
|
2946
|
+
v1GetJobLogs: async (astroProjectId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2947
|
+
// verify required parameter 'astroProjectId' is not null or undefined
|
|
2948
|
+
assertParamExists('v1GetJobLogs', 'astroProjectId', astroProjectId)
|
|
2949
|
+
const localVarPath = `/v1/job-logs`;
|
|
2950
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2951
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2952
|
+
let baseOptions;
|
|
2953
|
+
if (configuration) {
|
|
2954
|
+
baseOptions = configuration.baseOptions;
|
|
2955
|
+
}
|
|
2956
|
+
|
|
2957
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
2958
|
+
const localVarHeaderParameter = {} as any;
|
|
2959
|
+
const localVarQueryParameter = {} as any;
|
|
2960
|
+
|
|
2961
|
+
// authentication Roles required
|
|
2962
|
+
|
|
2963
|
+
// authentication BearerToken required
|
|
2964
|
+
// http bearer authentication required
|
|
2965
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2966
|
+
|
|
2967
|
+
if (astroProjectId !== undefined) {
|
|
2968
|
+
localVarQueryParameter['astroProjectId'] = astroProjectId;
|
|
2969
|
+
}
|
|
2970
|
+
|
|
2971
|
+
|
|
2972
|
+
|
|
2837
2973
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2838
2974
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2839
2975
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -3444,6 +3580,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
3444
3580
|
const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetImageSets(options);
|
|
3445
3581
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3446
3582
|
},
|
|
3583
|
+
/**
|
|
3584
|
+
* Get job logs.
|
|
3585
|
+
* @param {string} astroProjectId
|
|
3586
|
+
* @param {*} [options] Override http request option.
|
|
3587
|
+
* @throws {RequiredError}
|
|
3588
|
+
*/
|
|
3589
|
+
async v1GetJobLogs(astroProjectId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1JobLog>>> {
|
|
3590
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetJobLogs(astroProjectId, options);
|
|
3591
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3592
|
+
},
|
|
3447
3593
|
/**
|
|
3448
3594
|
* Get mounts.
|
|
3449
3595
|
* @param {*} [options] Override http request option.
|
|
@@ -3756,6 +3902,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
3756
3902
|
v1GetImageSets(options?: AxiosRequestConfig): AxiosPromise<Array<V1ImageSet>> {
|
|
3757
3903
|
return localVarFp.v1GetImageSets(options).then((request) => request(axios, basePath));
|
|
3758
3904
|
},
|
|
3905
|
+
/**
|
|
3906
|
+
* Get job logs.
|
|
3907
|
+
* @param {DefaultApiV1GetJobLogsRequest} requestParameters Request parameters.
|
|
3908
|
+
* @param {*} [options] Override http request option.
|
|
3909
|
+
* @throws {RequiredError}
|
|
3910
|
+
*/
|
|
3911
|
+
v1GetJobLogs(requestParameters: DefaultApiV1GetJobLogsRequest, options?: AxiosRequestConfig): AxiosPromise<Array<V1JobLog>> {
|
|
3912
|
+
return localVarFp.v1GetJobLogs(requestParameters.astroProjectId, options).then((request) => request(axios, basePath));
|
|
3913
|
+
},
|
|
3759
3914
|
/**
|
|
3760
3915
|
* Get mounts.
|
|
3761
3916
|
* @param {*} [options] Override http request option.
|
|
@@ -4206,6 +4361,20 @@ export interface DefaultApiV1GetImageSetImagesRequest {
|
|
|
4206
4361
|
readonly imageSets: Array<string>
|
|
4207
4362
|
}
|
|
4208
4363
|
|
|
4364
|
+
/**
|
|
4365
|
+
* Request parameters for v1GetJobLogs operation in DefaultApi.
|
|
4366
|
+
* @export
|
|
4367
|
+
* @interface DefaultApiV1GetJobLogsRequest
|
|
4368
|
+
*/
|
|
4369
|
+
export interface DefaultApiV1GetJobLogsRequest {
|
|
4370
|
+
/**
|
|
4371
|
+
*
|
|
4372
|
+
* @type {string}
|
|
4373
|
+
* @memberof DefaultApiV1GetJobLogs
|
|
4374
|
+
*/
|
|
4375
|
+
readonly astroProjectId: string
|
|
4376
|
+
}
|
|
4377
|
+
|
|
4209
4378
|
/**
|
|
4210
4379
|
* Request parameters for v1MatchAstroProject operation in DefaultApi.
|
|
4211
4380
|
* @export
|
|
@@ -4582,6 +4751,17 @@ export class DefaultApi extends BaseAPI {
|
|
|
4582
4751
|
return DefaultApiFp(this.configuration).v1GetImageSets(options).then((request) => request(this.axios, this.basePath));
|
|
4583
4752
|
}
|
|
4584
4753
|
|
|
4754
|
+
/**
|
|
4755
|
+
* Get job logs.
|
|
4756
|
+
* @param {DefaultApiV1GetJobLogsRequest} requestParameters Request parameters.
|
|
4757
|
+
* @param {*} [options] Override http request option.
|
|
4758
|
+
* @throws {RequiredError}
|
|
4759
|
+
* @memberof DefaultApi
|
|
4760
|
+
*/
|
|
4761
|
+
public v1GetJobLogs(requestParameters: DefaultApiV1GetJobLogsRequest, options?: AxiosRequestConfig) {
|
|
4762
|
+
return DefaultApiFp(this.configuration).v1GetJobLogs(requestParameters.astroProjectId, options).then((request) => request(this.axios, this.basePath));
|
|
4763
|
+
}
|
|
4764
|
+
|
|
4585
4765
|
/**
|
|
4586
4766
|
* Get mounts.
|
|
4587
4767
|
* @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.1856
|
|
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.1856
|
|
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.1856
|
|
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.1856
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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}
|
|
@@ -686,7 +692,7 @@ export interface V1CreateCalibrationMasterRequest {
|
|
|
686
692
|
* @type {number}
|
|
687
693
|
* @memberof V1CreateCalibrationMasterRequest
|
|
688
694
|
*/
|
|
689
|
-
'
|
|
695
|
+
'readoutMode'?: number;
|
|
690
696
|
/**
|
|
691
697
|
* temperature in degrees celsius
|
|
692
698
|
* @type {number}
|
|
@@ -699,6 +705,18 @@ export interface V1CreateCalibrationMasterRequest {
|
|
|
699
705
|
* @memberof V1CreateCalibrationMasterRequest
|
|
700
706
|
*/
|
|
701
707
|
'exposureTime': number;
|
|
708
|
+
/**
|
|
709
|
+
*
|
|
710
|
+
* @type {number}
|
|
711
|
+
* @memberof V1CreateCalibrationMasterRequest
|
|
712
|
+
*/
|
|
713
|
+
'rotatorAngle'?: number;
|
|
714
|
+
/**
|
|
715
|
+
*
|
|
716
|
+
* @type {number}
|
|
717
|
+
* @memberof V1CreateCalibrationMasterRequest
|
|
718
|
+
*/
|
|
719
|
+
'offset'?: number;
|
|
702
720
|
/**
|
|
703
721
|
*
|
|
704
722
|
* @type {boolean}
|
|
@@ -1326,6 +1344,72 @@ export interface V1ImageSetImage {
|
|
|
1326
1344
|
*/
|
|
1327
1345
|
'exposureLength': number;
|
|
1328
1346
|
}
|
|
1347
|
+
/**
|
|
1348
|
+
*
|
|
1349
|
+
* @export
|
|
1350
|
+
* @enum {string}
|
|
1351
|
+
*/
|
|
1352
|
+
export declare const V1JobKind: {
|
|
1353
|
+
readonly STACK: "STACK";
|
|
1354
|
+
readonly REPROCESS: "REPROCESS";
|
|
1355
|
+
readonly OBSERVATION_POTENTIAL: "OBSERVATION_POTENTIAL";
|
|
1356
|
+
};
|
|
1357
|
+
export type V1JobKind = typeof V1JobKind[keyof typeof V1JobKind];
|
|
1358
|
+
/**
|
|
1359
|
+
* Job Log
|
|
1360
|
+
* @export
|
|
1361
|
+
* @interface V1JobLog
|
|
1362
|
+
*/
|
|
1363
|
+
export interface V1JobLog {
|
|
1364
|
+
/**
|
|
1365
|
+
*
|
|
1366
|
+
* @type {string}
|
|
1367
|
+
* @memberof V1JobLog
|
|
1368
|
+
*/
|
|
1369
|
+
'id': string;
|
|
1370
|
+
/**
|
|
1371
|
+
*
|
|
1372
|
+
* @type {V1JobKind}
|
|
1373
|
+
* @memberof V1JobLog
|
|
1374
|
+
*/
|
|
1375
|
+
'jobKind': V1JobKind;
|
|
1376
|
+
/**
|
|
1377
|
+
*
|
|
1378
|
+
* @type {V1JobStatus}
|
|
1379
|
+
* @memberof V1JobLog
|
|
1380
|
+
*/
|
|
1381
|
+
'jobStatus': V1JobStatus;
|
|
1382
|
+
/**
|
|
1383
|
+
*
|
|
1384
|
+
* @type {string}
|
|
1385
|
+
* @memberof V1JobLog
|
|
1386
|
+
*/
|
|
1387
|
+
'createdAt': string;
|
|
1388
|
+
/**
|
|
1389
|
+
*
|
|
1390
|
+
* @type {string}
|
|
1391
|
+
* @memberof V1JobLog
|
|
1392
|
+
*/
|
|
1393
|
+
'startedAt'?: string;
|
|
1394
|
+
/**
|
|
1395
|
+
*
|
|
1396
|
+
* @type {string}
|
|
1397
|
+
* @memberof V1JobLog
|
|
1398
|
+
*/
|
|
1399
|
+
'finishedAt'?: string;
|
|
1400
|
+
}
|
|
1401
|
+
/**
|
|
1402
|
+
*
|
|
1403
|
+
* @export
|
|
1404
|
+
* @enum {string}
|
|
1405
|
+
*/
|
|
1406
|
+
export declare const V1JobStatus: {
|
|
1407
|
+
readonly PENDING: "PENDING";
|
|
1408
|
+
readonly RUNNING: "RUNNING";
|
|
1409
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
1410
|
+
readonly FAILED: "FAILED";
|
|
1411
|
+
};
|
|
1412
|
+
export type V1JobStatus = typeof V1JobStatus[keyof typeof V1JobStatus];
|
|
1329
1413
|
/**
|
|
1330
1414
|
* Mount
|
|
1331
1415
|
* @export
|
|
@@ -1871,6 +1955,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
1871
1955
|
* @throws {RequiredError}
|
|
1872
1956
|
*/
|
|
1873
1957
|
v1GetImageSets: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1958
|
+
/**
|
|
1959
|
+
* Get job logs.
|
|
1960
|
+
* @param {string} astroProjectId
|
|
1961
|
+
* @param {*} [options] Override http request option.
|
|
1962
|
+
* @throws {RequiredError}
|
|
1963
|
+
*/
|
|
1964
|
+
v1GetJobLogs: (astroProjectId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1874
1965
|
/**
|
|
1875
1966
|
* Get mounts.
|
|
1876
1967
|
* @param {*} [options] Override http request option.
|
|
@@ -2117,6 +2208,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2117
2208
|
* @throws {RequiredError}
|
|
2118
2209
|
*/
|
|
2119
2210
|
v1GetImageSets(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1ImageSet>>>;
|
|
2211
|
+
/**
|
|
2212
|
+
* Get job logs.
|
|
2213
|
+
* @param {string} astroProjectId
|
|
2214
|
+
* @param {*} [options] Override http request option.
|
|
2215
|
+
* @throws {RequiredError}
|
|
2216
|
+
*/
|
|
2217
|
+
v1GetJobLogs(astroProjectId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1JobLog>>>;
|
|
2120
2218
|
/**
|
|
2121
2219
|
* Get mounts.
|
|
2122
2220
|
* @param {*} [options] Override http request option.
|
|
@@ -2351,6 +2449,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2351
2449
|
* @throws {RequiredError}
|
|
2352
2450
|
*/
|
|
2353
2451
|
v1GetImageSets(options?: AxiosRequestConfig): AxiosPromise<Array<V1ImageSet>>;
|
|
2452
|
+
/**
|
|
2453
|
+
* Get job logs.
|
|
2454
|
+
* @param {DefaultApiV1GetJobLogsRequest} requestParameters Request parameters.
|
|
2455
|
+
* @param {*} [options] Override http request option.
|
|
2456
|
+
* @throws {RequiredError}
|
|
2457
|
+
*/
|
|
2458
|
+
v1GetJobLogs(requestParameters: DefaultApiV1GetJobLogsRequest, options?: AxiosRequestConfig): AxiosPromise<Array<V1JobLog>>;
|
|
2354
2459
|
/**
|
|
2355
2460
|
* Get mounts.
|
|
2356
2461
|
* @param {*} [options] Override http request option.
|
|
@@ -2750,6 +2855,19 @@ export interface DefaultApiV1GetImageSetImagesRequest {
|
|
|
2750
2855
|
*/
|
|
2751
2856
|
readonly imageSets: Array<string>;
|
|
2752
2857
|
}
|
|
2858
|
+
/**
|
|
2859
|
+
* Request parameters for v1GetJobLogs operation in DefaultApi.
|
|
2860
|
+
* @export
|
|
2861
|
+
* @interface DefaultApiV1GetJobLogsRequest
|
|
2862
|
+
*/
|
|
2863
|
+
export interface DefaultApiV1GetJobLogsRequest {
|
|
2864
|
+
/**
|
|
2865
|
+
*
|
|
2866
|
+
* @type {string}
|
|
2867
|
+
* @memberof DefaultApiV1GetJobLogs
|
|
2868
|
+
*/
|
|
2869
|
+
readonly astroProjectId: string;
|
|
2870
|
+
}
|
|
2753
2871
|
/**
|
|
2754
2872
|
* Request parameters for v1MatchAstroProject operation in DefaultApi.
|
|
2755
2873
|
* @export
|
|
@@ -3042,6 +3160,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3042
3160
|
* @memberof DefaultApi
|
|
3043
3161
|
*/
|
|
3044
3162
|
v1GetImageSets(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<V1ImageSet[], any>>;
|
|
3163
|
+
/**
|
|
3164
|
+
* Get job logs.
|
|
3165
|
+
* @param {DefaultApiV1GetJobLogsRequest} requestParameters Request parameters.
|
|
3166
|
+
* @param {*} [options] Override http request option.
|
|
3167
|
+
* @throws {RequiredError}
|
|
3168
|
+
* @memberof DefaultApi
|
|
3169
|
+
*/
|
|
3170
|
+
v1GetJobLogs(requestParameters: DefaultApiV1GetJobLogsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<V1JobLog[], any>>;
|
|
3045
3171
|
/**
|
|
3046
3172
|
* Get mounts.
|
|
3047
3173
|
* @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.1856
|
|
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.1856
|
|
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.1856
|
|
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.1856
|
|
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.1856
|
|
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.1856
|
|
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.1856
|
|
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.1856
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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}
|
|
@@ -686,7 +692,7 @@ export interface V1CreateCalibrationMasterRequest {
|
|
|
686
692
|
* @type {number}
|
|
687
693
|
* @memberof V1CreateCalibrationMasterRequest
|
|
688
694
|
*/
|
|
689
|
-
'
|
|
695
|
+
'readoutMode'?: number;
|
|
690
696
|
/**
|
|
691
697
|
* temperature in degrees celsius
|
|
692
698
|
* @type {number}
|
|
@@ -699,6 +705,18 @@ export interface V1CreateCalibrationMasterRequest {
|
|
|
699
705
|
* @memberof V1CreateCalibrationMasterRequest
|
|
700
706
|
*/
|
|
701
707
|
'exposureTime': number;
|
|
708
|
+
/**
|
|
709
|
+
*
|
|
710
|
+
* @type {number}
|
|
711
|
+
* @memberof V1CreateCalibrationMasterRequest
|
|
712
|
+
*/
|
|
713
|
+
'rotatorAngle'?: number;
|
|
714
|
+
/**
|
|
715
|
+
*
|
|
716
|
+
* @type {number}
|
|
717
|
+
* @memberof V1CreateCalibrationMasterRequest
|
|
718
|
+
*/
|
|
719
|
+
'offset'?: number;
|
|
702
720
|
/**
|
|
703
721
|
*
|
|
704
722
|
* @type {boolean}
|
|
@@ -1326,6 +1344,72 @@ export interface V1ImageSetImage {
|
|
|
1326
1344
|
*/
|
|
1327
1345
|
'exposureLength': number;
|
|
1328
1346
|
}
|
|
1347
|
+
/**
|
|
1348
|
+
*
|
|
1349
|
+
* @export
|
|
1350
|
+
* @enum {string}
|
|
1351
|
+
*/
|
|
1352
|
+
export declare const V1JobKind: {
|
|
1353
|
+
readonly STACK: "STACK";
|
|
1354
|
+
readonly REPROCESS: "REPROCESS";
|
|
1355
|
+
readonly OBSERVATION_POTENTIAL: "OBSERVATION_POTENTIAL";
|
|
1356
|
+
};
|
|
1357
|
+
export type V1JobKind = typeof V1JobKind[keyof typeof V1JobKind];
|
|
1358
|
+
/**
|
|
1359
|
+
* Job Log
|
|
1360
|
+
* @export
|
|
1361
|
+
* @interface V1JobLog
|
|
1362
|
+
*/
|
|
1363
|
+
export interface V1JobLog {
|
|
1364
|
+
/**
|
|
1365
|
+
*
|
|
1366
|
+
* @type {string}
|
|
1367
|
+
* @memberof V1JobLog
|
|
1368
|
+
*/
|
|
1369
|
+
'id': string;
|
|
1370
|
+
/**
|
|
1371
|
+
*
|
|
1372
|
+
* @type {V1JobKind}
|
|
1373
|
+
* @memberof V1JobLog
|
|
1374
|
+
*/
|
|
1375
|
+
'jobKind': V1JobKind;
|
|
1376
|
+
/**
|
|
1377
|
+
*
|
|
1378
|
+
* @type {V1JobStatus}
|
|
1379
|
+
* @memberof V1JobLog
|
|
1380
|
+
*/
|
|
1381
|
+
'jobStatus': V1JobStatus;
|
|
1382
|
+
/**
|
|
1383
|
+
*
|
|
1384
|
+
* @type {string}
|
|
1385
|
+
* @memberof V1JobLog
|
|
1386
|
+
*/
|
|
1387
|
+
'createdAt': string;
|
|
1388
|
+
/**
|
|
1389
|
+
*
|
|
1390
|
+
* @type {string}
|
|
1391
|
+
* @memberof V1JobLog
|
|
1392
|
+
*/
|
|
1393
|
+
'startedAt'?: string;
|
|
1394
|
+
/**
|
|
1395
|
+
*
|
|
1396
|
+
* @type {string}
|
|
1397
|
+
* @memberof V1JobLog
|
|
1398
|
+
*/
|
|
1399
|
+
'finishedAt'?: string;
|
|
1400
|
+
}
|
|
1401
|
+
/**
|
|
1402
|
+
*
|
|
1403
|
+
* @export
|
|
1404
|
+
* @enum {string}
|
|
1405
|
+
*/
|
|
1406
|
+
export declare const V1JobStatus: {
|
|
1407
|
+
readonly PENDING: "PENDING";
|
|
1408
|
+
readonly RUNNING: "RUNNING";
|
|
1409
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
1410
|
+
readonly FAILED: "FAILED";
|
|
1411
|
+
};
|
|
1412
|
+
export type V1JobStatus = typeof V1JobStatus[keyof typeof V1JobStatus];
|
|
1329
1413
|
/**
|
|
1330
1414
|
* Mount
|
|
1331
1415
|
* @export
|
|
@@ -1871,6 +1955,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
1871
1955
|
* @throws {RequiredError}
|
|
1872
1956
|
*/
|
|
1873
1957
|
v1GetImageSets: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1958
|
+
/**
|
|
1959
|
+
* Get job logs.
|
|
1960
|
+
* @param {string} astroProjectId
|
|
1961
|
+
* @param {*} [options] Override http request option.
|
|
1962
|
+
* @throws {RequiredError}
|
|
1963
|
+
*/
|
|
1964
|
+
v1GetJobLogs: (astroProjectId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1874
1965
|
/**
|
|
1875
1966
|
* Get mounts.
|
|
1876
1967
|
* @param {*} [options] Override http request option.
|
|
@@ -2117,6 +2208,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2117
2208
|
* @throws {RequiredError}
|
|
2118
2209
|
*/
|
|
2119
2210
|
v1GetImageSets(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1ImageSet>>>;
|
|
2211
|
+
/**
|
|
2212
|
+
* Get job logs.
|
|
2213
|
+
* @param {string} astroProjectId
|
|
2214
|
+
* @param {*} [options] Override http request option.
|
|
2215
|
+
* @throws {RequiredError}
|
|
2216
|
+
*/
|
|
2217
|
+
v1GetJobLogs(astroProjectId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1JobLog>>>;
|
|
2120
2218
|
/**
|
|
2121
2219
|
* Get mounts.
|
|
2122
2220
|
* @param {*} [options] Override http request option.
|
|
@@ -2351,6 +2449,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2351
2449
|
* @throws {RequiredError}
|
|
2352
2450
|
*/
|
|
2353
2451
|
v1GetImageSets(options?: AxiosRequestConfig): AxiosPromise<Array<V1ImageSet>>;
|
|
2452
|
+
/**
|
|
2453
|
+
* Get job logs.
|
|
2454
|
+
* @param {DefaultApiV1GetJobLogsRequest} requestParameters Request parameters.
|
|
2455
|
+
* @param {*} [options] Override http request option.
|
|
2456
|
+
* @throws {RequiredError}
|
|
2457
|
+
*/
|
|
2458
|
+
v1GetJobLogs(requestParameters: DefaultApiV1GetJobLogsRequest, options?: AxiosRequestConfig): AxiosPromise<Array<V1JobLog>>;
|
|
2354
2459
|
/**
|
|
2355
2460
|
* Get mounts.
|
|
2356
2461
|
* @param {*} [options] Override http request option.
|
|
@@ -2750,6 +2855,19 @@ export interface DefaultApiV1GetImageSetImagesRequest {
|
|
|
2750
2855
|
*/
|
|
2751
2856
|
readonly imageSets: Array<string>;
|
|
2752
2857
|
}
|
|
2858
|
+
/**
|
|
2859
|
+
* Request parameters for v1GetJobLogs operation in DefaultApi.
|
|
2860
|
+
* @export
|
|
2861
|
+
* @interface DefaultApiV1GetJobLogsRequest
|
|
2862
|
+
*/
|
|
2863
|
+
export interface DefaultApiV1GetJobLogsRequest {
|
|
2864
|
+
/**
|
|
2865
|
+
*
|
|
2866
|
+
* @type {string}
|
|
2867
|
+
* @memberof DefaultApiV1GetJobLogs
|
|
2868
|
+
*/
|
|
2869
|
+
readonly astroProjectId: string;
|
|
2870
|
+
}
|
|
2753
2871
|
/**
|
|
2754
2872
|
* Request parameters for v1MatchAstroProject operation in DefaultApi.
|
|
2755
2873
|
* @export
|
|
@@ -3042,6 +3160,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3042
3160
|
* @memberof DefaultApi
|
|
3043
3161
|
*/
|
|
3044
3162
|
v1GetImageSets(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<V1ImageSet[], any>>;
|
|
3163
|
+
/**
|
|
3164
|
+
* Get job logs.
|
|
3165
|
+
* @param {DefaultApiV1GetJobLogsRequest} requestParameters Request parameters.
|
|
3166
|
+
* @param {*} [options] Override http request option.
|
|
3167
|
+
* @throws {RequiredError}
|
|
3168
|
+
* @memberof DefaultApi
|
|
3169
|
+
*/
|
|
3170
|
+
v1GetJobLogs(requestParameters: DefaultApiV1GetJobLogsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<V1JobLog[], any>>;
|
|
3045
3171
|
/**
|
|
3046
3172
|
* Get mounts.
|
|
3047
3173
|
* @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.1856
|
|
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.1856
|
|
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.1856
|
|
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.1856
|
|
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.1856
|
|
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.1856
|
|
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.1856
|
|
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.1856
|
|
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.1856
|
|
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.1856
|
|
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.1856
|
|
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.1856
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|