@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/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.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/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.2229
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -549,6 +549,74 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
549
549
|
options: localVarRequestOptions,
|
|
550
550
|
};
|
|
551
551
|
}),
|
|
552
|
+
/**
|
|
553
|
+
* Delete an image set.
|
|
554
|
+
* @param {string} id
|
|
555
|
+
* @param {*} [options] Override http request option.
|
|
556
|
+
* @throws {RequiredError}
|
|
557
|
+
*/
|
|
558
|
+
v1DeleteImageSet: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
559
|
+
// verify required parameter 'id' is not null or undefined
|
|
560
|
+
assertParamExists('v1DeleteImageSet', 'id', id);
|
|
561
|
+
const localVarPath = `/v1/image-set`;
|
|
562
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
563
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
564
|
+
let baseOptions;
|
|
565
|
+
if (configuration) {
|
|
566
|
+
baseOptions = configuration.baseOptions;
|
|
567
|
+
}
|
|
568
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
569
|
+
const localVarHeaderParameter = {};
|
|
570
|
+
const localVarQueryParameter = {};
|
|
571
|
+
// authentication Roles required
|
|
572
|
+
// authentication BearerToken required
|
|
573
|
+
// http bearer authentication required
|
|
574
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
575
|
+
if (id !== undefined) {
|
|
576
|
+
localVarQueryParameter['id'] = id;
|
|
577
|
+
}
|
|
578
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
579
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
580
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
581
|
+
return {
|
|
582
|
+
url: toPathString(localVarUrlObj),
|
|
583
|
+
options: localVarRequestOptions,
|
|
584
|
+
};
|
|
585
|
+
}),
|
|
586
|
+
/**
|
|
587
|
+
* Delete an image.
|
|
588
|
+
* @param {string} imageId
|
|
589
|
+
* @param {*} [options] Override http request option.
|
|
590
|
+
* @throws {RequiredError}
|
|
591
|
+
*/
|
|
592
|
+
v1DeleteImageSetImage: (imageId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
593
|
+
// verify required parameter 'imageId' is not null or undefined
|
|
594
|
+
assertParamExists('v1DeleteImageSetImage', 'imageId', imageId);
|
|
595
|
+
const localVarPath = `/v1/image-set-image`;
|
|
596
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
597
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
598
|
+
let baseOptions;
|
|
599
|
+
if (configuration) {
|
|
600
|
+
baseOptions = configuration.baseOptions;
|
|
601
|
+
}
|
|
602
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
603
|
+
const localVarHeaderParameter = {};
|
|
604
|
+
const localVarQueryParameter = {};
|
|
605
|
+
// authentication Roles required
|
|
606
|
+
// authentication BearerToken required
|
|
607
|
+
// http bearer authentication required
|
|
608
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
609
|
+
if (imageId !== undefined) {
|
|
610
|
+
localVarQueryParameter['imageId'] = imageId;
|
|
611
|
+
}
|
|
612
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
613
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
614
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
615
|
+
return {
|
|
616
|
+
url: toPathString(localVarUrlObj),
|
|
617
|
+
options: localVarRequestOptions,
|
|
618
|
+
};
|
|
619
|
+
}),
|
|
552
620
|
/**
|
|
553
621
|
* Get an astro camera.
|
|
554
622
|
* @param {string} id
|
|
@@ -1085,34 +1153,6 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1085
1153
|
options: localVarRequestOptions,
|
|
1086
1154
|
};
|
|
1087
1155
|
}),
|
|
1088
|
-
/**
|
|
1089
|
-
* Get mounts.
|
|
1090
|
-
* @param {*} [options] Override http request option.
|
|
1091
|
-
* @throws {RequiredError}
|
|
1092
|
-
*/
|
|
1093
|
-
v1GetMounts: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1094
|
-
const localVarPath = `/v1/mounts`;
|
|
1095
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1096
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1097
|
-
let baseOptions;
|
|
1098
|
-
if (configuration) {
|
|
1099
|
-
baseOptions = configuration.baseOptions;
|
|
1100
|
-
}
|
|
1101
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1102
|
-
const localVarHeaderParameter = {};
|
|
1103
|
-
const localVarQueryParameter = {};
|
|
1104
|
-
// authentication Roles required
|
|
1105
|
-
// authentication BearerToken required
|
|
1106
|
-
// http bearer authentication required
|
|
1107
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1108
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1109
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1110
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1111
|
-
return {
|
|
1112
|
-
url: toPathString(localVarUrlObj),
|
|
1113
|
-
options: localVarRequestOptions,
|
|
1114
|
-
};
|
|
1115
|
-
}),
|
|
1116
1156
|
/**
|
|
1117
1157
|
* Get nodes.
|
|
1118
1158
|
* @param {*} [options] Override http request option.
|
|
@@ -1588,6 +1628,30 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1588
1628
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1589
1629
|
});
|
|
1590
1630
|
},
|
|
1631
|
+
/**
|
|
1632
|
+
* Delete an image set.
|
|
1633
|
+
* @param {string} id
|
|
1634
|
+
* @param {*} [options] Override http request option.
|
|
1635
|
+
* @throws {RequiredError}
|
|
1636
|
+
*/
|
|
1637
|
+
v1DeleteImageSet(id, options) {
|
|
1638
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1639
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1DeleteImageSet(id, options);
|
|
1640
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1641
|
+
});
|
|
1642
|
+
},
|
|
1643
|
+
/**
|
|
1644
|
+
* Delete an image.
|
|
1645
|
+
* @param {string} imageId
|
|
1646
|
+
* @param {*} [options] Override http request option.
|
|
1647
|
+
* @throws {RequiredError}
|
|
1648
|
+
*/
|
|
1649
|
+
v1DeleteImageSetImage(imageId, options) {
|
|
1650
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1651
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1DeleteImageSetImage(imageId, options);
|
|
1652
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1653
|
+
});
|
|
1654
|
+
},
|
|
1591
1655
|
/**
|
|
1592
1656
|
* Get an astro camera.
|
|
1593
1657
|
* @param {string} id
|
|
@@ -1781,17 +1845,6 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1781
1845
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1782
1846
|
});
|
|
1783
1847
|
},
|
|
1784
|
-
/**
|
|
1785
|
-
* Get mounts.
|
|
1786
|
-
* @param {*} [options] Override http request option.
|
|
1787
|
-
* @throws {RequiredError}
|
|
1788
|
-
*/
|
|
1789
|
-
v1GetMounts(options) {
|
|
1790
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1791
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetMounts(options);
|
|
1792
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1793
|
-
});
|
|
1794
|
-
},
|
|
1795
1848
|
/**
|
|
1796
1849
|
* Get nodes.
|
|
1797
1850
|
* @param {*} [options] Override http request option.
|
|
@@ -2013,6 +2066,24 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2013
2066
|
v1CreateNode(requestParameters, options) {
|
|
2014
2067
|
return localVarFp.v1CreateNode(requestParameters.v1CreateNodeRequest, options).then((request) => request(axios, basePath));
|
|
2015
2068
|
},
|
|
2069
|
+
/**
|
|
2070
|
+
* Delete an image set.
|
|
2071
|
+
* @param {DefaultApiV1DeleteImageSetRequest} requestParameters Request parameters.
|
|
2072
|
+
* @param {*} [options] Override http request option.
|
|
2073
|
+
* @throws {RequiredError}
|
|
2074
|
+
*/
|
|
2075
|
+
v1DeleteImageSet(requestParameters, options) {
|
|
2076
|
+
return localVarFp.v1DeleteImageSet(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
2077
|
+
},
|
|
2078
|
+
/**
|
|
2079
|
+
* Delete an image.
|
|
2080
|
+
* @param {DefaultApiV1DeleteImageSetImageRequest} requestParameters Request parameters.
|
|
2081
|
+
* @param {*} [options] Override http request option.
|
|
2082
|
+
* @throws {RequiredError}
|
|
2083
|
+
*/
|
|
2084
|
+
v1DeleteImageSetImage(requestParameters, options) {
|
|
2085
|
+
return localVarFp.v1DeleteImageSetImage(requestParameters.imageId, options).then((request) => request(axios, basePath));
|
|
2086
|
+
},
|
|
2016
2087
|
/**
|
|
2017
2088
|
* Get an astro camera.
|
|
2018
2089
|
* @param {DefaultApiV1GetAstroCameraRequest} requestParameters Request parameters.
|
|
@@ -2153,14 +2224,6 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2153
2224
|
v1GetJobLogs(requestParameters, options) {
|
|
2154
2225
|
return localVarFp.v1GetJobLogs(requestParameters.astroProjectId, options).then((request) => request(axios, basePath));
|
|
2155
2226
|
},
|
|
2156
|
-
/**
|
|
2157
|
-
* Get mounts.
|
|
2158
|
-
* @param {*} [options] Override http request option.
|
|
2159
|
-
* @throws {RequiredError}
|
|
2160
|
-
*/
|
|
2161
|
-
v1GetMounts(options) {
|
|
2162
|
-
return localVarFp.v1GetMounts(options).then((request) => request(axios, basePath));
|
|
2163
|
-
},
|
|
2164
2227
|
/**
|
|
2165
2228
|
* Get nodes.
|
|
2166
2229
|
* @param {*} [options] Override http request option.
|
|
@@ -2358,6 +2421,26 @@ export class DefaultApi extends BaseAPI {
|
|
|
2358
2421
|
v1CreateNode(requestParameters, options) {
|
|
2359
2422
|
return DefaultApiFp(this.configuration).v1CreateNode(requestParameters.v1CreateNodeRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2360
2423
|
}
|
|
2424
|
+
/**
|
|
2425
|
+
* Delete an image set.
|
|
2426
|
+
* @param {DefaultApiV1DeleteImageSetRequest} requestParameters Request parameters.
|
|
2427
|
+
* @param {*} [options] Override http request option.
|
|
2428
|
+
* @throws {RequiredError}
|
|
2429
|
+
* @memberof DefaultApi
|
|
2430
|
+
*/
|
|
2431
|
+
v1DeleteImageSet(requestParameters, options) {
|
|
2432
|
+
return DefaultApiFp(this.configuration).v1DeleteImageSet(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
2433
|
+
}
|
|
2434
|
+
/**
|
|
2435
|
+
* Delete an image.
|
|
2436
|
+
* @param {DefaultApiV1DeleteImageSetImageRequest} requestParameters Request parameters.
|
|
2437
|
+
* @param {*} [options] Override http request option.
|
|
2438
|
+
* @throws {RequiredError}
|
|
2439
|
+
* @memberof DefaultApi
|
|
2440
|
+
*/
|
|
2441
|
+
v1DeleteImageSetImage(requestParameters, options) {
|
|
2442
|
+
return DefaultApiFp(this.configuration).v1DeleteImageSetImage(requestParameters.imageId, options).then((request) => request(this.axios, this.basePath));
|
|
2443
|
+
}
|
|
2361
2444
|
/**
|
|
2362
2445
|
* Get an astro camera.
|
|
2363
2446
|
* @param {DefaultApiV1GetAstroCameraRequest} requestParameters Request parameters.
|
|
@@ -2514,15 +2597,6 @@ export class DefaultApi extends BaseAPI {
|
|
|
2514
2597
|
v1GetJobLogs(requestParameters, options) {
|
|
2515
2598
|
return DefaultApiFp(this.configuration).v1GetJobLogs(requestParameters.astroProjectId, options).then((request) => request(this.axios, this.basePath));
|
|
2516
2599
|
}
|
|
2517
|
-
/**
|
|
2518
|
-
* Get mounts.
|
|
2519
|
-
* @param {*} [options] Override http request option.
|
|
2520
|
-
* @throws {RequiredError}
|
|
2521
|
-
* @memberof DefaultApi
|
|
2522
|
-
*/
|
|
2523
|
-
v1GetMounts(options) {
|
|
2524
|
-
return DefaultApiFp(this.configuration).v1GetMounts(options).then((request) => request(this.axios, this.basePath));
|
|
2525
|
-
}
|
|
2526
2600
|
/**
|
|
2527
2601
|
* Get nodes.
|
|
2528
2602
|
* @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.2229
|
|
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.2229
|
|
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.2229
|
|
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.2229
|
|
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.2229
|
|
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.2229
|
|
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.2229
|
|
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.2229
|
|
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.2229
|
|
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.2229
|
|
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.2229
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|