@ourskyai/astro-api 1.3.2078 → 1.3.2229
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 +218 -65
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +131 -29
- package/dist/api.js +131 -57
- 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 +131 -29
- package/dist/esm/api.js +131 -57
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/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.2229
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1074,6 +1074,31 @@ export interface V1CreateOpticalTubeRequest {
|
|
|
1074
1074
|
*/
|
|
1075
1075
|
'type'?: OpticalTubeType;
|
|
1076
1076
|
}
|
|
1077
|
+
/**
|
|
1078
|
+
* Elevation Mask Point
|
|
1079
|
+
* @export
|
|
1080
|
+
* @interface V1ElevationMaskPoint
|
|
1081
|
+
*/
|
|
1082
|
+
export interface V1ElevationMaskPoint {
|
|
1083
|
+
/**
|
|
1084
|
+
*
|
|
1085
|
+
* @type {number}
|
|
1086
|
+
* @memberof V1ElevationMaskPoint
|
|
1087
|
+
*/
|
|
1088
|
+
'azimuthDegrees': number;
|
|
1089
|
+
/**
|
|
1090
|
+
*
|
|
1091
|
+
* @type {number}
|
|
1092
|
+
* @memberof V1ElevationMaskPoint
|
|
1093
|
+
*/
|
|
1094
|
+
'minAltitudeDegrees': number;
|
|
1095
|
+
/**
|
|
1096
|
+
*
|
|
1097
|
+
* @type {number}
|
|
1098
|
+
* @memberof V1ElevationMaskPoint
|
|
1099
|
+
*/
|
|
1100
|
+
'maxAltitudeDegrees': number;
|
|
1101
|
+
}
|
|
1077
1102
|
/**
|
|
1078
1103
|
* Gain Curve
|
|
1079
1104
|
* @export
|
|
@@ -1436,6 +1461,12 @@ export interface V1ImageSetImage {
|
|
|
1436
1461
|
* @memberof V1ImageSetImage
|
|
1437
1462
|
*/
|
|
1438
1463
|
'imageUrl': string;
|
|
1464
|
+
/**
|
|
1465
|
+
*
|
|
1466
|
+
* @type {string}
|
|
1467
|
+
* @memberof V1ImageSetImage
|
|
1468
|
+
*/
|
|
1469
|
+
'fullJpgUrl'?: string;
|
|
1439
1470
|
/**
|
|
1440
1471
|
*
|
|
1441
1472
|
* @type {string}
|
|
@@ -1696,6 +1727,12 @@ export interface V1Node {
|
|
|
1696
1727
|
* @memberof V1Node
|
|
1697
1728
|
*/
|
|
1698
1729
|
'minAltitude': number;
|
|
1730
|
+
/**
|
|
1731
|
+
*
|
|
1732
|
+
* @type {Array<V1ElevationMaskPoint>}
|
|
1733
|
+
* @memberof V1Node
|
|
1734
|
+
*/
|
|
1735
|
+
'elevationMask'?: Array<V1ElevationMaskPoint>;
|
|
1699
1736
|
/**
|
|
1700
1737
|
*
|
|
1701
1738
|
* @type {string}
|
|
@@ -1967,6 +2004,12 @@ export interface V1UpdateNodeRequest {
|
|
|
1967
2004
|
* @memberof V1UpdateNodeRequest
|
|
1968
2005
|
*/
|
|
1969
2006
|
'maxAltitude'?: number;
|
|
2007
|
+
/**
|
|
2008
|
+
*
|
|
2009
|
+
* @type {Array<V1ElevationMaskPoint>}
|
|
2010
|
+
* @memberof V1UpdateNodeRequest
|
|
2011
|
+
*/
|
|
2012
|
+
'elevationMask'?: Array<V1ElevationMaskPoint>;
|
|
1970
2013
|
/**
|
|
1971
2014
|
*
|
|
1972
2015
|
* @type {Location}
|
|
@@ -2099,6 +2142,20 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2099
2142
|
* @throws {RequiredError}
|
|
2100
2143
|
*/
|
|
2101
2144
|
v1CreateNode: (v1CreateNodeRequest: V1CreateNodeRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2145
|
+
/**
|
|
2146
|
+
* Delete an image set.
|
|
2147
|
+
* @param {string} id
|
|
2148
|
+
* @param {*} [options] Override http request option.
|
|
2149
|
+
* @throws {RequiredError}
|
|
2150
|
+
*/
|
|
2151
|
+
v1DeleteImageSet: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2152
|
+
/**
|
|
2153
|
+
* Delete an image.
|
|
2154
|
+
* @param {string} imageId
|
|
2155
|
+
* @param {*} [options] Override http request option.
|
|
2156
|
+
* @throws {RequiredError}
|
|
2157
|
+
*/
|
|
2158
|
+
v1DeleteImageSetImage: (imageId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2102
2159
|
/**
|
|
2103
2160
|
* Get an astro camera.
|
|
2104
2161
|
* @param {string} id
|
|
@@ -2212,12 +2269,6 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2212
2269
|
* @throws {RequiredError}
|
|
2213
2270
|
*/
|
|
2214
2271
|
v1GetJobLogs: (astroProjectId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2215
|
-
/**
|
|
2216
|
-
* Get mounts.
|
|
2217
|
-
* @param {*} [options] Override http request option.
|
|
2218
|
-
* @throws {RequiredError}
|
|
2219
|
-
*/
|
|
2220
|
-
v1GetMounts: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2221
2272
|
/**
|
|
2222
2273
|
* Get nodes.
|
|
2223
2274
|
* @param {*} [options] Override http request option.
|
|
@@ -2373,6 +2424,20 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2373
2424
|
* @throws {RequiredError}
|
|
2374
2425
|
*/
|
|
2375
2426
|
v1CreateNode(v1CreateNodeRequest: V1CreateNodeRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessfulCreate>>;
|
|
2427
|
+
/**
|
|
2428
|
+
* Delete an image set.
|
|
2429
|
+
* @param {string} id
|
|
2430
|
+
* @param {*} [options] Override http request option.
|
|
2431
|
+
* @throws {RequiredError}
|
|
2432
|
+
*/
|
|
2433
|
+
v1DeleteImageSet(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptySuccess>>;
|
|
2434
|
+
/**
|
|
2435
|
+
* Delete an image.
|
|
2436
|
+
* @param {string} imageId
|
|
2437
|
+
* @param {*} [options] Override http request option.
|
|
2438
|
+
* @throws {RequiredError}
|
|
2439
|
+
*/
|
|
2440
|
+
v1DeleteImageSetImage(imageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptySuccess>>;
|
|
2376
2441
|
/**
|
|
2377
2442
|
* Get an astro camera.
|
|
2378
2443
|
* @param {string} id
|
|
@@ -2486,12 +2551,6 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2486
2551
|
* @throws {RequiredError}
|
|
2487
2552
|
*/
|
|
2488
2553
|
v1GetJobLogs(astroProjectId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1JobLog>>>;
|
|
2489
|
-
/**
|
|
2490
|
-
* Get mounts.
|
|
2491
|
-
* @param {*} [options] Override http request option.
|
|
2492
|
-
* @throws {RequiredError}
|
|
2493
|
-
*/
|
|
2494
|
-
v1GetMounts(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1Mount>>>;
|
|
2495
2554
|
/**
|
|
2496
2555
|
* Get nodes.
|
|
2497
2556
|
* @param {*} [options] Override http request option.
|
|
@@ -2556,7 +2615,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2556
2615
|
* @param {*} [options] Override http request option.
|
|
2557
2616
|
* @throws {RequiredError}
|
|
2558
2617
|
*/
|
|
2559
|
-
v1PutStackAstroProject(v1PutStackAstroProjectRequest: V1PutStackAstroProjectRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
2618
|
+
v1PutStackAstroProject(v1PutStackAstroProjectRequest: V1PutStackAstroProjectRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptySuccess>>;
|
|
2560
2619
|
/**
|
|
2561
2620
|
* Update a node.
|
|
2562
2621
|
* @param {V1UpdateNodeRequest} v1UpdateNodeRequest
|
|
@@ -2640,6 +2699,20 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2640
2699
|
* @throws {RequiredError}
|
|
2641
2700
|
*/
|
|
2642
2701
|
v1CreateNode(requestParameters: DefaultApiV1CreateNodeRequest, options?: AxiosRequestConfig): AxiosPromise<SuccessfulCreate>;
|
|
2702
|
+
/**
|
|
2703
|
+
* Delete an image set.
|
|
2704
|
+
* @param {DefaultApiV1DeleteImageSetRequest} requestParameters Request parameters.
|
|
2705
|
+
* @param {*} [options] Override http request option.
|
|
2706
|
+
* @throws {RequiredError}
|
|
2707
|
+
*/
|
|
2708
|
+
v1DeleteImageSet(requestParameters: DefaultApiV1DeleteImageSetRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess>;
|
|
2709
|
+
/**
|
|
2710
|
+
* Delete an image.
|
|
2711
|
+
* @param {DefaultApiV1DeleteImageSetImageRequest} requestParameters Request parameters.
|
|
2712
|
+
* @param {*} [options] Override http request option.
|
|
2713
|
+
* @throws {RequiredError}
|
|
2714
|
+
*/
|
|
2715
|
+
v1DeleteImageSetImage(requestParameters: DefaultApiV1DeleteImageSetImageRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess>;
|
|
2643
2716
|
/**
|
|
2644
2717
|
* Get an astro camera.
|
|
2645
2718
|
* @param {DefaultApiV1GetAstroCameraRequest} requestParameters Request parameters.
|
|
@@ -2748,12 +2821,6 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2748
2821
|
* @throws {RequiredError}
|
|
2749
2822
|
*/
|
|
2750
2823
|
v1GetJobLogs(requestParameters: DefaultApiV1GetJobLogsRequest, options?: AxiosRequestConfig): AxiosPromise<Array<V1JobLog>>;
|
|
2751
|
-
/**
|
|
2752
|
-
* Get mounts.
|
|
2753
|
-
* @param {*} [options] Override http request option.
|
|
2754
|
-
* @throws {RequiredError}
|
|
2755
|
-
*/
|
|
2756
|
-
v1GetMounts(options?: AxiosRequestConfig): AxiosPromise<Array<V1Mount>>;
|
|
2757
2824
|
/**
|
|
2758
2825
|
* Get nodes.
|
|
2759
2826
|
* @param {*} [options] Override http request option.
|
|
@@ -2814,7 +2881,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2814
2881
|
* @param {*} [options] Override http request option.
|
|
2815
2882
|
* @throws {RequiredError}
|
|
2816
2883
|
*/
|
|
2817
|
-
v1PutStackAstroProject(requestParameters: DefaultApiV1PutStackAstroProjectRequest, options?: AxiosRequestConfig): AxiosPromise<
|
|
2884
|
+
v1PutStackAstroProject(requestParameters: DefaultApiV1PutStackAstroProjectRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess>;
|
|
2818
2885
|
/**
|
|
2819
2886
|
* Update a node.
|
|
2820
2887
|
* @param {DefaultApiV1UpdateNodeRequest} requestParameters Request parameters.
|
|
@@ -2995,6 +3062,32 @@ export interface DefaultApiV1CreateNodeRequest {
|
|
|
2995
3062
|
*/
|
|
2996
3063
|
readonly v1CreateNodeRequest: V1CreateNodeRequest;
|
|
2997
3064
|
}
|
|
3065
|
+
/**
|
|
3066
|
+
* Request parameters for v1DeleteImageSet operation in DefaultApi.
|
|
3067
|
+
* @export
|
|
3068
|
+
* @interface DefaultApiV1DeleteImageSetRequest
|
|
3069
|
+
*/
|
|
3070
|
+
export interface DefaultApiV1DeleteImageSetRequest {
|
|
3071
|
+
/**
|
|
3072
|
+
*
|
|
3073
|
+
* @type {string}
|
|
3074
|
+
* @memberof DefaultApiV1DeleteImageSet
|
|
3075
|
+
*/
|
|
3076
|
+
readonly id: string;
|
|
3077
|
+
}
|
|
3078
|
+
/**
|
|
3079
|
+
* Request parameters for v1DeleteImageSetImage operation in DefaultApi.
|
|
3080
|
+
* @export
|
|
3081
|
+
* @interface DefaultApiV1DeleteImageSetImageRequest
|
|
3082
|
+
*/
|
|
3083
|
+
export interface DefaultApiV1DeleteImageSetImageRequest {
|
|
3084
|
+
/**
|
|
3085
|
+
*
|
|
3086
|
+
* @type {string}
|
|
3087
|
+
* @memberof DefaultApiV1DeleteImageSetImage
|
|
3088
|
+
*/
|
|
3089
|
+
readonly imageId: string;
|
|
3090
|
+
}
|
|
2998
3091
|
/**
|
|
2999
3092
|
* Request parameters for v1GetAstroCamera operation in DefaultApi.
|
|
3000
3093
|
* @export
|
|
@@ -3396,6 +3489,22 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3396
3489
|
* @memberof DefaultApi
|
|
3397
3490
|
*/
|
|
3398
3491
|
v1CreateNode(requestParameters: DefaultApiV1CreateNodeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SuccessfulCreate, any>>;
|
|
3492
|
+
/**
|
|
3493
|
+
* Delete an image set.
|
|
3494
|
+
* @param {DefaultApiV1DeleteImageSetRequest} requestParameters Request parameters.
|
|
3495
|
+
* @param {*} [options] Override http request option.
|
|
3496
|
+
* @throws {RequiredError}
|
|
3497
|
+
* @memberof DefaultApi
|
|
3498
|
+
*/
|
|
3499
|
+
v1DeleteImageSet(requestParameters: DefaultApiV1DeleteImageSetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EmptySuccess, any>>;
|
|
3500
|
+
/**
|
|
3501
|
+
* Delete an image.
|
|
3502
|
+
* @param {DefaultApiV1DeleteImageSetImageRequest} requestParameters Request parameters.
|
|
3503
|
+
* @param {*} [options] Override http request option.
|
|
3504
|
+
* @throws {RequiredError}
|
|
3505
|
+
* @memberof DefaultApi
|
|
3506
|
+
*/
|
|
3507
|
+
v1DeleteImageSetImage(requestParameters: DefaultApiV1DeleteImageSetImageRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EmptySuccess, any>>;
|
|
3399
3508
|
/**
|
|
3400
3509
|
* Get an astro camera.
|
|
3401
3510
|
* @param {DefaultApiV1GetAstroCameraRequest} requestParameters Request parameters.
|
|
@@ -3520,13 +3629,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3520
3629
|
* @memberof DefaultApi
|
|
3521
3630
|
*/
|
|
3522
3631
|
v1GetJobLogs(requestParameters: DefaultApiV1GetJobLogsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<V1JobLog[], any>>;
|
|
3523
|
-
/**
|
|
3524
|
-
* Get mounts.
|
|
3525
|
-
* @param {*} [options] Override http request option.
|
|
3526
|
-
* @throws {RequiredError}
|
|
3527
|
-
* @memberof DefaultApi
|
|
3528
|
-
*/
|
|
3529
|
-
v1GetMounts(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<V1Mount[], any>>;
|
|
3530
3632
|
/**
|
|
3531
3633
|
* Get nodes.
|
|
3532
3634
|
* @param {*} [options] Override http request option.
|
|
@@ -3596,7 +3698,7 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3596
3698
|
* @throws {RequiredError}
|
|
3597
3699
|
* @memberof DefaultApi
|
|
3598
3700
|
*/
|
|
3599
|
-
v1PutStackAstroProject(requestParameters: DefaultApiV1PutStackAstroProjectRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
3701
|
+
v1PutStackAstroProject(requestParameters: DefaultApiV1PutStackAstroProjectRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EmptySuccess, any>>;
|
|
3600
3702
|
/**
|
|
3601
3703
|
* Update a node.
|
|
3602
3704
|
* @param {DefaultApiV1UpdateNodeRequest} requestParameters Request parameters.
|
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.2229
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -552,6 +552,74 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
552
552
|
options: localVarRequestOptions,
|
|
553
553
|
};
|
|
554
554
|
}),
|
|
555
|
+
/**
|
|
556
|
+
* Delete an image set.
|
|
557
|
+
* @param {string} id
|
|
558
|
+
* @param {*} [options] Override http request option.
|
|
559
|
+
* @throws {RequiredError}
|
|
560
|
+
*/
|
|
561
|
+
v1DeleteImageSet: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
562
|
+
// verify required parameter 'id' is not null or undefined
|
|
563
|
+
(0, common_1.assertParamExists)('v1DeleteImageSet', 'id', id);
|
|
564
|
+
const localVarPath = `/v1/image-set`;
|
|
565
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
566
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
567
|
+
let baseOptions;
|
|
568
|
+
if (configuration) {
|
|
569
|
+
baseOptions = configuration.baseOptions;
|
|
570
|
+
}
|
|
571
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
572
|
+
const localVarHeaderParameter = {};
|
|
573
|
+
const localVarQueryParameter = {};
|
|
574
|
+
// authentication Roles required
|
|
575
|
+
// authentication BearerToken required
|
|
576
|
+
// http bearer authentication required
|
|
577
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
578
|
+
if (id !== undefined) {
|
|
579
|
+
localVarQueryParameter['id'] = id;
|
|
580
|
+
}
|
|
581
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
582
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
583
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
584
|
+
return {
|
|
585
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
586
|
+
options: localVarRequestOptions,
|
|
587
|
+
};
|
|
588
|
+
}),
|
|
589
|
+
/**
|
|
590
|
+
* Delete an image.
|
|
591
|
+
* @param {string} imageId
|
|
592
|
+
* @param {*} [options] Override http request option.
|
|
593
|
+
* @throws {RequiredError}
|
|
594
|
+
*/
|
|
595
|
+
v1DeleteImageSetImage: (imageId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
596
|
+
// verify required parameter 'imageId' is not null or undefined
|
|
597
|
+
(0, common_1.assertParamExists)('v1DeleteImageSetImage', 'imageId', imageId);
|
|
598
|
+
const localVarPath = `/v1/image-set-image`;
|
|
599
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
600
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
601
|
+
let baseOptions;
|
|
602
|
+
if (configuration) {
|
|
603
|
+
baseOptions = configuration.baseOptions;
|
|
604
|
+
}
|
|
605
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
606
|
+
const localVarHeaderParameter = {};
|
|
607
|
+
const localVarQueryParameter = {};
|
|
608
|
+
// authentication Roles required
|
|
609
|
+
// authentication BearerToken required
|
|
610
|
+
// http bearer authentication required
|
|
611
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
612
|
+
if (imageId !== undefined) {
|
|
613
|
+
localVarQueryParameter['imageId'] = imageId;
|
|
614
|
+
}
|
|
615
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
616
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
617
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
618
|
+
return {
|
|
619
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
620
|
+
options: localVarRequestOptions,
|
|
621
|
+
};
|
|
622
|
+
}),
|
|
555
623
|
/**
|
|
556
624
|
* Get an astro camera.
|
|
557
625
|
* @param {string} id
|
|
@@ -1088,34 +1156,6 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1088
1156
|
options: localVarRequestOptions,
|
|
1089
1157
|
};
|
|
1090
1158
|
}),
|
|
1091
|
-
/**
|
|
1092
|
-
* Get mounts.
|
|
1093
|
-
* @param {*} [options] Override http request option.
|
|
1094
|
-
* @throws {RequiredError}
|
|
1095
|
-
*/
|
|
1096
|
-
v1GetMounts: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1097
|
-
const localVarPath = `/v1/mounts`;
|
|
1098
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1099
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1100
|
-
let baseOptions;
|
|
1101
|
-
if (configuration) {
|
|
1102
|
-
baseOptions = configuration.baseOptions;
|
|
1103
|
-
}
|
|
1104
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1105
|
-
const localVarHeaderParameter = {};
|
|
1106
|
-
const localVarQueryParameter = {};
|
|
1107
|
-
// authentication Roles required
|
|
1108
|
-
// authentication BearerToken required
|
|
1109
|
-
// http bearer authentication required
|
|
1110
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1111
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1112
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1113
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1114
|
-
return {
|
|
1115
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1116
|
-
options: localVarRequestOptions,
|
|
1117
|
-
};
|
|
1118
|
-
}),
|
|
1119
1159
|
/**
|
|
1120
1160
|
* Get nodes.
|
|
1121
1161
|
* @param {*} [options] Override http request option.
|
|
@@ -1592,6 +1632,30 @@ const DefaultApiFp = function (configuration) {
|
|
|
1592
1632
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1593
1633
|
});
|
|
1594
1634
|
},
|
|
1635
|
+
/**
|
|
1636
|
+
* Delete an image set.
|
|
1637
|
+
* @param {string} id
|
|
1638
|
+
* @param {*} [options] Override http request option.
|
|
1639
|
+
* @throws {RequiredError}
|
|
1640
|
+
*/
|
|
1641
|
+
v1DeleteImageSet(id, options) {
|
|
1642
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1643
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1DeleteImageSet(id, options);
|
|
1644
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1645
|
+
});
|
|
1646
|
+
},
|
|
1647
|
+
/**
|
|
1648
|
+
* Delete an image.
|
|
1649
|
+
* @param {string} imageId
|
|
1650
|
+
* @param {*} [options] Override http request option.
|
|
1651
|
+
* @throws {RequiredError}
|
|
1652
|
+
*/
|
|
1653
|
+
v1DeleteImageSetImage(imageId, options) {
|
|
1654
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1655
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1DeleteImageSetImage(imageId, options);
|
|
1656
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1657
|
+
});
|
|
1658
|
+
},
|
|
1595
1659
|
/**
|
|
1596
1660
|
* Get an astro camera.
|
|
1597
1661
|
* @param {string} id
|
|
@@ -1785,17 +1849,6 @@ const DefaultApiFp = function (configuration) {
|
|
|
1785
1849
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1786
1850
|
});
|
|
1787
1851
|
},
|
|
1788
|
-
/**
|
|
1789
|
-
* Get mounts.
|
|
1790
|
-
* @param {*} [options] Override http request option.
|
|
1791
|
-
* @throws {RequiredError}
|
|
1792
|
-
*/
|
|
1793
|
-
v1GetMounts(options) {
|
|
1794
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1795
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetMounts(options);
|
|
1796
|
-
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1797
|
-
});
|
|
1798
|
-
},
|
|
1799
1852
|
/**
|
|
1800
1853
|
* Get nodes.
|
|
1801
1854
|
* @param {*} [options] Override http request option.
|
|
@@ -2018,6 +2071,24 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2018
2071
|
v1CreateNode(requestParameters, options) {
|
|
2019
2072
|
return localVarFp.v1CreateNode(requestParameters.v1CreateNodeRequest, options).then((request) => request(axios, basePath));
|
|
2020
2073
|
},
|
|
2074
|
+
/**
|
|
2075
|
+
* Delete an image set.
|
|
2076
|
+
* @param {DefaultApiV1DeleteImageSetRequest} requestParameters Request parameters.
|
|
2077
|
+
* @param {*} [options] Override http request option.
|
|
2078
|
+
* @throws {RequiredError}
|
|
2079
|
+
*/
|
|
2080
|
+
v1DeleteImageSet(requestParameters, options) {
|
|
2081
|
+
return localVarFp.v1DeleteImageSet(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
2082
|
+
},
|
|
2083
|
+
/**
|
|
2084
|
+
* Delete an image.
|
|
2085
|
+
* @param {DefaultApiV1DeleteImageSetImageRequest} requestParameters Request parameters.
|
|
2086
|
+
* @param {*} [options] Override http request option.
|
|
2087
|
+
* @throws {RequiredError}
|
|
2088
|
+
*/
|
|
2089
|
+
v1DeleteImageSetImage(requestParameters, options) {
|
|
2090
|
+
return localVarFp.v1DeleteImageSetImage(requestParameters.imageId, options).then((request) => request(axios, basePath));
|
|
2091
|
+
},
|
|
2021
2092
|
/**
|
|
2022
2093
|
* Get an astro camera.
|
|
2023
2094
|
* @param {DefaultApiV1GetAstroCameraRequest} requestParameters Request parameters.
|
|
@@ -2158,14 +2229,6 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2158
2229
|
v1GetJobLogs(requestParameters, options) {
|
|
2159
2230
|
return localVarFp.v1GetJobLogs(requestParameters.astroProjectId, options).then((request) => request(axios, basePath));
|
|
2160
2231
|
},
|
|
2161
|
-
/**
|
|
2162
|
-
* Get mounts.
|
|
2163
|
-
* @param {*} [options] Override http request option.
|
|
2164
|
-
* @throws {RequiredError}
|
|
2165
|
-
*/
|
|
2166
|
-
v1GetMounts(options) {
|
|
2167
|
-
return localVarFp.v1GetMounts(options).then((request) => request(axios, basePath));
|
|
2168
|
-
},
|
|
2169
2232
|
/**
|
|
2170
2233
|
* Get nodes.
|
|
2171
2234
|
* @param {*} [options] Override http request option.
|
|
@@ -2364,6 +2427,26 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
2364
2427
|
v1CreateNode(requestParameters, options) {
|
|
2365
2428
|
return (0, exports.DefaultApiFp)(this.configuration).v1CreateNode(requestParameters.v1CreateNodeRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2366
2429
|
}
|
|
2430
|
+
/**
|
|
2431
|
+
* Delete an image set.
|
|
2432
|
+
* @param {DefaultApiV1DeleteImageSetRequest} requestParameters Request parameters.
|
|
2433
|
+
* @param {*} [options] Override http request option.
|
|
2434
|
+
* @throws {RequiredError}
|
|
2435
|
+
* @memberof DefaultApi
|
|
2436
|
+
*/
|
|
2437
|
+
v1DeleteImageSet(requestParameters, options) {
|
|
2438
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1DeleteImageSet(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
2439
|
+
}
|
|
2440
|
+
/**
|
|
2441
|
+
* Delete an image.
|
|
2442
|
+
* @param {DefaultApiV1DeleteImageSetImageRequest} requestParameters Request parameters.
|
|
2443
|
+
* @param {*} [options] Override http request option.
|
|
2444
|
+
* @throws {RequiredError}
|
|
2445
|
+
* @memberof DefaultApi
|
|
2446
|
+
*/
|
|
2447
|
+
v1DeleteImageSetImage(requestParameters, options) {
|
|
2448
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1DeleteImageSetImage(requestParameters.imageId, options).then((request) => request(this.axios, this.basePath));
|
|
2449
|
+
}
|
|
2367
2450
|
/**
|
|
2368
2451
|
* Get an astro camera.
|
|
2369
2452
|
* @param {DefaultApiV1GetAstroCameraRequest} requestParameters Request parameters.
|
|
@@ -2520,15 +2603,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
2520
2603
|
v1GetJobLogs(requestParameters, options) {
|
|
2521
2604
|
return (0, exports.DefaultApiFp)(this.configuration).v1GetJobLogs(requestParameters.astroProjectId, options).then((request) => request(this.axios, this.basePath));
|
|
2522
2605
|
}
|
|
2523
|
-
/**
|
|
2524
|
-
* Get mounts.
|
|
2525
|
-
* @param {*} [options] Override http request option.
|
|
2526
|
-
* @throws {RequiredError}
|
|
2527
|
-
* @memberof DefaultApi
|
|
2528
|
-
*/
|
|
2529
|
-
v1GetMounts(options) {
|
|
2530
|
-
return (0, exports.DefaultApiFp)(this.configuration).v1GetMounts(options).then((request) => request(this.axios, this.basePath));
|
|
2531
|
-
}
|
|
2532
2606
|
/**
|
|
2533
2607
|
* Get nodes.
|
|
2534
2608
|
* @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.2229
|
|
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.2229
|
|
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.2229
|
|
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.2229
|
|
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.2229
|
|
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.2229
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|