@ourskyai/astro-api 1.3.1945 → 1.3.2151
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 +267 -65
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +180 -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 +180 -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.2151
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -569,6 +569,12 @@ export interface V1Camera {
|
|
|
569
569
|
* @memberof V1Camera
|
|
570
570
|
*/
|
|
571
571
|
'isColor': boolean;
|
|
572
|
+
/**
|
|
573
|
+
*
|
|
574
|
+
* @type {Array<V1VideoModeFramerateProperty>}
|
|
575
|
+
* @memberof V1Camera
|
|
576
|
+
*/
|
|
577
|
+
'videoModeFramerateProperties'?: Array<V1VideoModeFramerateProperty>;
|
|
572
578
|
}
|
|
573
579
|
/**
|
|
574
580
|
*
|
|
@@ -881,6 +887,12 @@ export interface V1CreateCameraRequest {
|
|
|
881
887
|
* @memberof V1CreateCameraRequest
|
|
882
888
|
*/
|
|
883
889
|
'isColor': boolean;
|
|
890
|
+
/**
|
|
891
|
+
*
|
|
892
|
+
* @type {Array<V1VideoModeFramerateProperty>}
|
|
893
|
+
* @memberof V1CreateCameraRequest
|
|
894
|
+
*/
|
|
895
|
+
'videoModeFramerateProperties'?: Array<V1VideoModeFramerateProperty>;
|
|
884
896
|
}
|
|
885
897
|
/**
|
|
886
898
|
*
|
|
@@ -1062,6 +1074,31 @@ export interface V1CreateOpticalTubeRequest {
|
|
|
1062
1074
|
*/
|
|
1063
1075
|
'type'?: OpticalTubeType;
|
|
1064
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
|
+
}
|
|
1065
1102
|
/**
|
|
1066
1103
|
* Gain Curve
|
|
1067
1104
|
* @export
|
|
@@ -1264,6 +1301,12 @@ export interface V1GetOrCreateCameraRequest {
|
|
|
1264
1301
|
* @memberof V1GetOrCreateCameraRequest
|
|
1265
1302
|
*/
|
|
1266
1303
|
'isColor'?: boolean;
|
|
1304
|
+
/**
|
|
1305
|
+
*
|
|
1306
|
+
* @type {Array<V1VideoModeFramerateProperty>}
|
|
1307
|
+
* @memberof V1GetOrCreateCameraRequest
|
|
1308
|
+
*/
|
|
1309
|
+
'videoModeFramerateProperties'?: Array<V1VideoModeFramerateProperty>;
|
|
1267
1310
|
}
|
|
1268
1311
|
/**
|
|
1269
1312
|
*
|
|
@@ -1678,6 +1721,12 @@ export interface V1Node {
|
|
|
1678
1721
|
* @memberof V1Node
|
|
1679
1722
|
*/
|
|
1680
1723
|
'minAltitude': number;
|
|
1724
|
+
/**
|
|
1725
|
+
*
|
|
1726
|
+
* @type {Array<V1ElevationMaskPoint>}
|
|
1727
|
+
* @memberof V1Node
|
|
1728
|
+
*/
|
|
1729
|
+
'elevationMask'?: Array<V1ElevationMaskPoint>;
|
|
1681
1730
|
/**
|
|
1682
1731
|
*
|
|
1683
1732
|
* @type {string}
|
|
@@ -1949,6 +1998,12 @@ export interface V1UpdateNodeRequest {
|
|
|
1949
1998
|
* @memberof V1UpdateNodeRequest
|
|
1950
1999
|
*/
|
|
1951
2000
|
'maxAltitude'?: number;
|
|
2001
|
+
/**
|
|
2002
|
+
*
|
|
2003
|
+
* @type {Array<V1ElevationMaskPoint>}
|
|
2004
|
+
* @memberof V1UpdateNodeRequest
|
|
2005
|
+
*/
|
|
2006
|
+
'elevationMask'?: Array<V1ElevationMaskPoint>;
|
|
1952
2007
|
/**
|
|
1953
2008
|
*
|
|
1954
2009
|
* @type {Location}
|
|
@@ -1962,6 +2017,43 @@ export interface V1UpdateNodeRequest {
|
|
|
1962
2017
|
*/
|
|
1963
2018
|
'state'?: NodeState;
|
|
1964
2019
|
}
|
|
2020
|
+
/**
|
|
2021
|
+
*
|
|
2022
|
+
* @export
|
|
2023
|
+
* @interface V1VideoModeFramerateProperty
|
|
2024
|
+
*/
|
|
2025
|
+
export interface V1VideoModeFramerateProperty {
|
|
2026
|
+
/**
|
|
2027
|
+
*
|
|
2028
|
+
* @type {number}
|
|
2029
|
+
* @memberof V1VideoModeFramerateProperty
|
|
2030
|
+
*/
|
|
2031
|
+
'roiXPixels': number;
|
|
2032
|
+
/**
|
|
2033
|
+
*
|
|
2034
|
+
* @type {number}
|
|
2035
|
+
* @memberof V1VideoModeFramerateProperty
|
|
2036
|
+
*/
|
|
2037
|
+
'roiYPixels': number;
|
|
2038
|
+
/**
|
|
2039
|
+
*
|
|
2040
|
+
* @type {number}
|
|
2041
|
+
* @memberof V1VideoModeFramerateProperty
|
|
2042
|
+
*/
|
|
2043
|
+
'adcBitDepth': number;
|
|
2044
|
+
/**
|
|
2045
|
+
*
|
|
2046
|
+
* @type {number}
|
|
2047
|
+
* @memberof V1VideoModeFramerateProperty
|
|
2048
|
+
*/
|
|
2049
|
+
'fps': number;
|
|
2050
|
+
/**
|
|
2051
|
+
*
|
|
2052
|
+
* @type {number}
|
|
2053
|
+
* @memberof V1VideoModeFramerateProperty
|
|
2054
|
+
*/
|
|
2055
|
+
'binning': number;
|
|
2056
|
+
}
|
|
1965
2057
|
/**
|
|
1966
2058
|
* DefaultApi - axios parameter creator
|
|
1967
2059
|
* @export
|
|
@@ -2044,6 +2136,20 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2044
2136
|
* @throws {RequiredError}
|
|
2045
2137
|
*/
|
|
2046
2138
|
v1CreateNode: (v1CreateNodeRequest: V1CreateNodeRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2139
|
+
/**
|
|
2140
|
+
* Delete an image set.
|
|
2141
|
+
* @param {string} id
|
|
2142
|
+
* @param {*} [options] Override http request option.
|
|
2143
|
+
* @throws {RequiredError}
|
|
2144
|
+
*/
|
|
2145
|
+
v1DeleteImageSet: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2146
|
+
/**
|
|
2147
|
+
* Delete an image.
|
|
2148
|
+
* @param {string} imageId
|
|
2149
|
+
* @param {*} [options] Override http request option.
|
|
2150
|
+
* @throws {RequiredError}
|
|
2151
|
+
*/
|
|
2152
|
+
v1DeleteImageSetImage: (imageId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2047
2153
|
/**
|
|
2048
2154
|
* Get an astro camera.
|
|
2049
2155
|
* @param {string} id
|
|
@@ -2157,12 +2263,6 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2157
2263
|
* @throws {RequiredError}
|
|
2158
2264
|
*/
|
|
2159
2265
|
v1GetJobLogs: (astroProjectId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2160
|
-
/**
|
|
2161
|
-
* Get mounts.
|
|
2162
|
-
* @param {*} [options] Override http request option.
|
|
2163
|
-
* @throws {RequiredError}
|
|
2164
|
-
*/
|
|
2165
|
-
v1GetMounts: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2166
2266
|
/**
|
|
2167
2267
|
* Get nodes.
|
|
2168
2268
|
* @param {*} [options] Override http request option.
|
|
@@ -2318,6 +2418,20 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2318
2418
|
* @throws {RequiredError}
|
|
2319
2419
|
*/
|
|
2320
2420
|
v1CreateNode(v1CreateNodeRequest: V1CreateNodeRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessfulCreate>>;
|
|
2421
|
+
/**
|
|
2422
|
+
* Delete an image set.
|
|
2423
|
+
* @param {string} id
|
|
2424
|
+
* @param {*} [options] Override http request option.
|
|
2425
|
+
* @throws {RequiredError}
|
|
2426
|
+
*/
|
|
2427
|
+
v1DeleteImageSet(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptySuccess>>;
|
|
2428
|
+
/**
|
|
2429
|
+
* Delete an image.
|
|
2430
|
+
* @param {string} imageId
|
|
2431
|
+
* @param {*} [options] Override http request option.
|
|
2432
|
+
* @throws {RequiredError}
|
|
2433
|
+
*/
|
|
2434
|
+
v1DeleteImageSetImage(imageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptySuccess>>;
|
|
2321
2435
|
/**
|
|
2322
2436
|
* Get an astro camera.
|
|
2323
2437
|
* @param {string} id
|
|
@@ -2431,12 +2545,6 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2431
2545
|
* @throws {RequiredError}
|
|
2432
2546
|
*/
|
|
2433
2547
|
v1GetJobLogs(astroProjectId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1JobLog>>>;
|
|
2434
|
-
/**
|
|
2435
|
-
* Get mounts.
|
|
2436
|
-
* @param {*} [options] Override http request option.
|
|
2437
|
-
* @throws {RequiredError}
|
|
2438
|
-
*/
|
|
2439
|
-
v1GetMounts(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1Mount>>>;
|
|
2440
2548
|
/**
|
|
2441
2549
|
* Get nodes.
|
|
2442
2550
|
* @param {*} [options] Override http request option.
|
|
@@ -2501,7 +2609,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2501
2609
|
* @param {*} [options] Override http request option.
|
|
2502
2610
|
* @throws {RequiredError}
|
|
2503
2611
|
*/
|
|
2504
|
-
v1PutStackAstroProject(v1PutStackAstroProjectRequest: V1PutStackAstroProjectRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
2612
|
+
v1PutStackAstroProject(v1PutStackAstroProjectRequest: V1PutStackAstroProjectRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptySuccess>>;
|
|
2505
2613
|
/**
|
|
2506
2614
|
* Update a node.
|
|
2507
2615
|
* @param {V1UpdateNodeRequest} v1UpdateNodeRequest
|
|
@@ -2585,6 +2693,20 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2585
2693
|
* @throws {RequiredError}
|
|
2586
2694
|
*/
|
|
2587
2695
|
v1CreateNode(requestParameters: DefaultApiV1CreateNodeRequest, options?: AxiosRequestConfig): AxiosPromise<SuccessfulCreate>;
|
|
2696
|
+
/**
|
|
2697
|
+
* Delete an image set.
|
|
2698
|
+
* @param {DefaultApiV1DeleteImageSetRequest} requestParameters Request parameters.
|
|
2699
|
+
* @param {*} [options] Override http request option.
|
|
2700
|
+
* @throws {RequiredError}
|
|
2701
|
+
*/
|
|
2702
|
+
v1DeleteImageSet(requestParameters: DefaultApiV1DeleteImageSetRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess>;
|
|
2703
|
+
/**
|
|
2704
|
+
* Delete an image.
|
|
2705
|
+
* @param {DefaultApiV1DeleteImageSetImageRequest} requestParameters Request parameters.
|
|
2706
|
+
* @param {*} [options] Override http request option.
|
|
2707
|
+
* @throws {RequiredError}
|
|
2708
|
+
*/
|
|
2709
|
+
v1DeleteImageSetImage(requestParameters: DefaultApiV1DeleteImageSetImageRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess>;
|
|
2588
2710
|
/**
|
|
2589
2711
|
* Get an astro camera.
|
|
2590
2712
|
* @param {DefaultApiV1GetAstroCameraRequest} requestParameters Request parameters.
|
|
@@ -2693,12 +2815,6 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2693
2815
|
* @throws {RequiredError}
|
|
2694
2816
|
*/
|
|
2695
2817
|
v1GetJobLogs(requestParameters: DefaultApiV1GetJobLogsRequest, options?: AxiosRequestConfig): AxiosPromise<Array<V1JobLog>>;
|
|
2696
|
-
/**
|
|
2697
|
-
* Get mounts.
|
|
2698
|
-
* @param {*} [options] Override http request option.
|
|
2699
|
-
* @throws {RequiredError}
|
|
2700
|
-
*/
|
|
2701
|
-
v1GetMounts(options?: AxiosRequestConfig): AxiosPromise<Array<V1Mount>>;
|
|
2702
2818
|
/**
|
|
2703
2819
|
* Get nodes.
|
|
2704
2820
|
* @param {*} [options] Override http request option.
|
|
@@ -2759,7 +2875,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2759
2875
|
* @param {*} [options] Override http request option.
|
|
2760
2876
|
* @throws {RequiredError}
|
|
2761
2877
|
*/
|
|
2762
|
-
v1PutStackAstroProject(requestParameters: DefaultApiV1PutStackAstroProjectRequest, options?: AxiosRequestConfig): AxiosPromise<
|
|
2878
|
+
v1PutStackAstroProject(requestParameters: DefaultApiV1PutStackAstroProjectRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess>;
|
|
2763
2879
|
/**
|
|
2764
2880
|
* Update a node.
|
|
2765
2881
|
* @param {DefaultApiV1UpdateNodeRequest} requestParameters Request parameters.
|
|
@@ -2940,6 +3056,32 @@ export interface DefaultApiV1CreateNodeRequest {
|
|
|
2940
3056
|
*/
|
|
2941
3057
|
readonly v1CreateNodeRequest: V1CreateNodeRequest;
|
|
2942
3058
|
}
|
|
3059
|
+
/**
|
|
3060
|
+
* Request parameters for v1DeleteImageSet operation in DefaultApi.
|
|
3061
|
+
* @export
|
|
3062
|
+
* @interface DefaultApiV1DeleteImageSetRequest
|
|
3063
|
+
*/
|
|
3064
|
+
export interface DefaultApiV1DeleteImageSetRequest {
|
|
3065
|
+
/**
|
|
3066
|
+
*
|
|
3067
|
+
* @type {string}
|
|
3068
|
+
* @memberof DefaultApiV1DeleteImageSet
|
|
3069
|
+
*/
|
|
3070
|
+
readonly id: string;
|
|
3071
|
+
}
|
|
3072
|
+
/**
|
|
3073
|
+
* Request parameters for v1DeleteImageSetImage operation in DefaultApi.
|
|
3074
|
+
* @export
|
|
3075
|
+
* @interface DefaultApiV1DeleteImageSetImageRequest
|
|
3076
|
+
*/
|
|
3077
|
+
export interface DefaultApiV1DeleteImageSetImageRequest {
|
|
3078
|
+
/**
|
|
3079
|
+
*
|
|
3080
|
+
* @type {string}
|
|
3081
|
+
* @memberof DefaultApiV1DeleteImageSetImage
|
|
3082
|
+
*/
|
|
3083
|
+
readonly imageId: string;
|
|
3084
|
+
}
|
|
2943
3085
|
/**
|
|
2944
3086
|
* Request parameters for v1GetAstroCamera operation in DefaultApi.
|
|
2945
3087
|
* @export
|
|
@@ -3341,6 +3483,22 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3341
3483
|
* @memberof DefaultApi
|
|
3342
3484
|
*/
|
|
3343
3485
|
v1CreateNode(requestParameters: DefaultApiV1CreateNodeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SuccessfulCreate, any>>;
|
|
3486
|
+
/**
|
|
3487
|
+
* Delete an image set.
|
|
3488
|
+
* @param {DefaultApiV1DeleteImageSetRequest} requestParameters Request parameters.
|
|
3489
|
+
* @param {*} [options] Override http request option.
|
|
3490
|
+
* @throws {RequiredError}
|
|
3491
|
+
* @memberof DefaultApi
|
|
3492
|
+
*/
|
|
3493
|
+
v1DeleteImageSet(requestParameters: DefaultApiV1DeleteImageSetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EmptySuccess, any>>;
|
|
3494
|
+
/**
|
|
3495
|
+
* Delete an image.
|
|
3496
|
+
* @param {DefaultApiV1DeleteImageSetImageRequest} requestParameters Request parameters.
|
|
3497
|
+
* @param {*} [options] Override http request option.
|
|
3498
|
+
* @throws {RequiredError}
|
|
3499
|
+
* @memberof DefaultApi
|
|
3500
|
+
*/
|
|
3501
|
+
v1DeleteImageSetImage(requestParameters: DefaultApiV1DeleteImageSetImageRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EmptySuccess, any>>;
|
|
3344
3502
|
/**
|
|
3345
3503
|
* Get an astro camera.
|
|
3346
3504
|
* @param {DefaultApiV1GetAstroCameraRequest} requestParameters Request parameters.
|
|
@@ -3465,13 +3623,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3465
3623
|
* @memberof DefaultApi
|
|
3466
3624
|
*/
|
|
3467
3625
|
v1GetJobLogs(requestParameters: DefaultApiV1GetJobLogsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<V1JobLog[], any>>;
|
|
3468
|
-
/**
|
|
3469
|
-
* Get mounts.
|
|
3470
|
-
* @param {*} [options] Override http request option.
|
|
3471
|
-
* @throws {RequiredError}
|
|
3472
|
-
* @memberof DefaultApi
|
|
3473
|
-
*/
|
|
3474
|
-
v1GetMounts(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<V1Mount[], any>>;
|
|
3475
3626
|
/**
|
|
3476
3627
|
* Get nodes.
|
|
3477
3628
|
* @param {*} [options] Override http request option.
|
|
@@ -3541,7 +3692,7 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3541
3692
|
* @throws {RequiredError}
|
|
3542
3693
|
* @memberof DefaultApi
|
|
3543
3694
|
*/
|
|
3544
|
-
v1PutStackAstroProject(requestParameters: DefaultApiV1PutStackAstroProjectRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
3695
|
+
v1PutStackAstroProject(requestParameters: DefaultApiV1PutStackAstroProjectRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EmptySuccess, any>>;
|
|
3545
3696
|
/**
|
|
3546
3697
|
* Update a node.
|
|
3547
3698
|
* @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.2151
|
|
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.2151
|
|
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.2151
|
|
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.2151
|
|
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.2151
|
|
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.2151
|
|
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.2151
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|