@ourskyai/astro-api 1.3.2078 → 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 +212 -65
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +125 -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 +125 -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/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @ourskyai/astro-api@1.3.
|
|
1
|
+
## @ourskyai/astro-api@1.3.2151
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @ourskyai/astro-api@1.3.
|
|
39
|
+
npm install @ourskyai/astro-api@1.3.2151 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OurSky Astro
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.3.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.2151
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1140,6 +1140,31 @@ export interface V1CreateOpticalTubeRequest {
|
|
|
1140
1140
|
}
|
|
1141
1141
|
|
|
1142
1142
|
|
|
1143
|
+
/**
|
|
1144
|
+
* Elevation Mask Point
|
|
1145
|
+
* @export
|
|
1146
|
+
* @interface V1ElevationMaskPoint
|
|
1147
|
+
*/
|
|
1148
|
+
export interface V1ElevationMaskPoint {
|
|
1149
|
+
/**
|
|
1150
|
+
*
|
|
1151
|
+
* @type {number}
|
|
1152
|
+
* @memberof V1ElevationMaskPoint
|
|
1153
|
+
*/
|
|
1154
|
+
'azimuthDegrees': number;
|
|
1155
|
+
/**
|
|
1156
|
+
*
|
|
1157
|
+
* @type {number}
|
|
1158
|
+
* @memberof V1ElevationMaskPoint
|
|
1159
|
+
*/
|
|
1160
|
+
'minAltitudeDegrees': number;
|
|
1161
|
+
/**
|
|
1162
|
+
*
|
|
1163
|
+
* @type {number}
|
|
1164
|
+
* @memberof V1ElevationMaskPoint
|
|
1165
|
+
*/
|
|
1166
|
+
'maxAltitudeDegrees': number;
|
|
1167
|
+
}
|
|
1143
1168
|
/**
|
|
1144
1169
|
* Gain Curve
|
|
1145
1170
|
* @export
|
|
@@ -1780,6 +1805,12 @@ export interface V1Node {
|
|
|
1780
1805
|
* @memberof V1Node
|
|
1781
1806
|
*/
|
|
1782
1807
|
'minAltitude': number;
|
|
1808
|
+
/**
|
|
1809
|
+
*
|
|
1810
|
+
* @type {Array<V1ElevationMaskPoint>}
|
|
1811
|
+
* @memberof V1Node
|
|
1812
|
+
*/
|
|
1813
|
+
'elevationMask'?: Array<V1ElevationMaskPoint>;
|
|
1783
1814
|
/**
|
|
1784
1815
|
*
|
|
1785
1816
|
* @type {string}
|
|
@@ -2067,6 +2098,12 @@ export interface V1UpdateNodeRequest {
|
|
|
2067
2098
|
* @memberof V1UpdateNodeRequest
|
|
2068
2099
|
*/
|
|
2069
2100
|
'maxAltitude'?: number;
|
|
2101
|
+
/**
|
|
2102
|
+
*
|
|
2103
|
+
* @type {Array<V1ElevationMaskPoint>}
|
|
2104
|
+
* @memberof V1UpdateNodeRequest
|
|
2105
|
+
*/
|
|
2106
|
+
'elevationMask'?: Array<V1ElevationMaskPoint>;
|
|
2070
2107
|
/**
|
|
2071
2108
|
*
|
|
2072
2109
|
* @type {Location}
|
|
@@ -2570,6 +2607,90 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2570
2607
|
options: localVarRequestOptions,
|
|
2571
2608
|
};
|
|
2572
2609
|
},
|
|
2610
|
+
/**
|
|
2611
|
+
* Delete an image set.
|
|
2612
|
+
* @param {string} id
|
|
2613
|
+
* @param {*} [options] Override http request option.
|
|
2614
|
+
* @throws {RequiredError}
|
|
2615
|
+
*/
|
|
2616
|
+
v1DeleteImageSet: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2617
|
+
// verify required parameter 'id' is not null or undefined
|
|
2618
|
+
assertParamExists('v1DeleteImageSet', 'id', id)
|
|
2619
|
+
const localVarPath = `/v1/image-set`;
|
|
2620
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2621
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2622
|
+
let baseOptions;
|
|
2623
|
+
if (configuration) {
|
|
2624
|
+
baseOptions = configuration.baseOptions;
|
|
2625
|
+
}
|
|
2626
|
+
|
|
2627
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
2628
|
+
const localVarHeaderParameter = {} as any;
|
|
2629
|
+
const localVarQueryParameter = {} as any;
|
|
2630
|
+
|
|
2631
|
+
// authentication Roles required
|
|
2632
|
+
|
|
2633
|
+
// authentication BearerToken required
|
|
2634
|
+
// http bearer authentication required
|
|
2635
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2636
|
+
|
|
2637
|
+
if (id !== undefined) {
|
|
2638
|
+
localVarQueryParameter['id'] = id;
|
|
2639
|
+
}
|
|
2640
|
+
|
|
2641
|
+
|
|
2642
|
+
|
|
2643
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2644
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2645
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2646
|
+
|
|
2647
|
+
return {
|
|
2648
|
+
url: toPathString(localVarUrlObj),
|
|
2649
|
+
options: localVarRequestOptions,
|
|
2650
|
+
};
|
|
2651
|
+
},
|
|
2652
|
+
/**
|
|
2653
|
+
* Delete an image.
|
|
2654
|
+
* @param {string} imageId
|
|
2655
|
+
* @param {*} [options] Override http request option.
|
|
2656
|
+
* @throws {RequiredError}
|
|
2657
|
+
*/
|
|
2658
|
+
v1DeleteImageSetImage: async (imageId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2659
|
+
// verify required parameter 'imageId' is not null or undefined
|
|
2660
|
+
assertParamExists('v1DeleteImageSetImage', 'imageId', imageId)
|
|
2661
|
+
const localVarPath = `/v1/image-set-image`;
|
|
2662
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2663
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2664
|
+
let baseOptions;
|
|
2665
|
+
if (configuration) {
|
|
2666
|
+
baseOptions = configuration.baseOptions;
|
|
2667
|
+
}
|
|
2668
|
+
|
|
2669
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
2670
|
+
const localVarHeaderParameter = {} as any;
|
|
2671
|
+
const localVarQueryParameter = {} as any;
|
|
2672
|
+
|
|
2673
|
+
// authentication Roles required
|
|
2674
|
+
|
|
2675
|
+
// authentication BearerToken required
|
|
2676
|
+
// http bearer authentication required
|
|
2677
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2678
|
+
|
|
2679
|
+
if (imageId !== undefined) {
|
|
2680
|
+
localVarQueryParameter['imageId'] = imageId;
|
|
2681
|
+
}
|
|
2682
|
+
|
|
2683
|
+
|
|
2684
|
+
|
|
2685
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2686
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2687
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2688
|
+
|
|
2689
|
+
return {
|
|
2690
|
+
url: toPathString(localVarUrlObj),
|
|
2691
|
+
options: localVarRequestOptions,
|
|
2692
|
+
};
|
|
2693
|
+
},
|
|
2573
2694
|
/**
|
|
2574
2695
|
* Get an astro camera.
|
|
2575
2696
|
* @param {string} id
|
|
@@ -3226,41 +3347,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3226
3347
|
|
|
3227
3348
|
|
|
3228
3349
|
|
|
3229
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3230
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3231
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3232
|
-
|
|
3233
|
-
return {
|
|
3234
|
-
url: toPathString(localVarUrlObj),
|
|
3235
|
-
options: localVarRequestOptions,
|
|
3236
|
-
};
|
|
3237
|
-
},
|
|
3238
|
-
/**
|
|
3239
|
-
* Get mounts.
|
|
3240
|
-
* @param {*} [options] Override http request option.
|
|
3241
|
-
* @throws {RequiredError}
|
|
3242
|
-
*/
|
|
3243
|
-
v1GetMounts: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3244
|
-
const localVarPath = `/v1/mounts`;
|
|
3245
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3246
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3247
|
-
let baseOptions;
|
|
3248
|
-
if (configuration) {
|
|
3249
|
-
baseOptions = configuration.baseOptions;
|
|
3250
|
-
}
|
|
3251
|
-
|
|
3252
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
3253
|
-
const localVarHeaderParameter = {} as any;
|
|
3254
|
-
const localVarQueryParameter = {} as any;
|
|
3255
|
-
|
|
3256
|
-
// authentication Roles required
|
|
3257
|
-
|
|
3258
|
-
// authentication BearerToken required
|
|
3259
|
-
// http bearer authentication required
|
|
3260
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
3350
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3265
3351
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3266
3352
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -3808,6 +3894,26 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
3808
3894
|
const localVarAxiosArgs = await localVarAxiosParamCreator.v1CreateNode(v1CreateNodeRequest, options);
|
|
3809
3895
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3810
3896
|
},
|
|
3897
|
+
/**
|
|
3898
|
+
* Delete an image set.
|
|
3899
|
+
* @param {string} id
|
|
3900
|
+
* @param {*} [options] Override http request option.
|
|
3901
|
+
* @throws {RequiredError}
|
|
3902
|
+
*/
|
|
3903
|
+
async v1DeleteImageSet(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptySuccess>> {
|
|
3904
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1DeleteImageSet(id, options);
|
|
3905
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3906
|
+
},
|
|
3907
|
+
/**
|
|
3908
|
+
* Delete an image.
|
|
3909
|
+
* @param {string} imageId
|
|
3910
|
+
* @param {*} [options] Override http request option.
|
|
3911
|
+
* @throws {RequiredError}
|
|
3912
|
+
*/
|
|
3913
|
+
async v1DeleteImageSetImage(imageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptySuccess>> {
|
|
3914
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1DeleteImageSetImage(imageId, options);
|
|
3915
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3916
|
+
},
|
|
3811
3917
|
/**
|
|
3812
3918
|
* Get an astro camera.
|
|
3813
3919
|
* @param {string} id
|
|
@@ -3969,15 +4075,6 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
3969
4075
|
const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetJobLogs(astroProjectId, options);
|
|
3970
4076
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3971
4077
|
},
|
|
3972
|
-
/**
|
|
3973
|
-
* Get mounts.
|
|
3974
|
-
* @param {*} [options] Override http request option.
|
|
3975
|
-
* @throws {RequiredError}
|
|
3976
|
-
*/
|
|
3977
|
-
async v1GetMounts(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1Mount>>> {
|
|
3978
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetMounts(options);
|
|
3979
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3980
|
-
},
|
|
3981
4078
|
/**
|
|
3982
4079
|
* Get nodes.
|
|
3983
4080
|
* @param {*} [options] Override http request option.
|
|
@@ -4066,7 +4163,7 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
4066
4163
|
* @param {*} [options] Override http request option.
|
|
4067
4164
|
* @throws {RequiredError}
|
|
4068
4165
|
*/
|
|
4069
|
-
async v1PutStackAstroProject(v1PutStackAstroProjectRequest: V1PutStackAstroProjectRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
4166
|
+
async v1PutStackAstroProject(v1PutStackAstroProjectRequest: V1PutStackAstroProjectRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptySuccess>> {
|
|
4070
4167
|
const localVarAxiosArgs = await localVarAxiosParamCreator.v1PutStackAstroProject(v1PutStackAstroProjectRequest, options);
|
|
4071
4168
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4072
4169
|
},
|
|
@@ -4180,6 +4277,24 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
4180
4277
|
v1CreateNode(requestParameters: DefaultApiV1CreateNodeRequest, options?: AxiosRequestConfig): AxiosPromise<SuccessfulCreate> {
|
|
4181
4278
|
return localVarFp.v1CreateNode(requestParameters.v1CreateNodeRequest, options).then((request) => request(axios, basePath));
|
|
4182
4279
|
},
|
|
4280
|
+
/**
|
|
4281
|
+
* Delete an image set.
|
|
4282
|
+
* @param {DefaultApiV1DeleteImageSetRequest} requestParameters Request parameters.
|
|
4283
|
+
* @param {*} [options] Override http request option.
|
|
4284
|
+
* @throws {RequiredError}
|
|
4285
|
+
*/
|
|
4286
|
+
v1DeleteImageSet(requestParameters: DefaultApiV1DeleteImageSetRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess> {
|
|
4287
|
+
return localVarFp.v1DeleteImageSet(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
4288
|
+
},
|
|
4289
|
+
/**
|
|
4290
|
+
* Delete an image.
|
|
4291
|
+
* @param {DefaultApiV1DeleteImageSetImageRequest} requestParameters Request parameters.
|
|
4292
|
+
* @param {*} [options] Override http request option.
|
|
4293
|
+
* @throws {RequiredError}
|
|
4294
|
+
*/
|
|
4295
|
+
v1DeleteImageSetImage(requestParameters: DefaultApiV1DeleteImageSetImageRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess> {
|
|
4296
|
+
return localVarFp.v1DeleteImageSetImage(requestParameters.imageId, options).then((request) => request(axios, basePath));
|
|
4297
|
+
},
|
|
4183
4298
|
/**
|
|
4184
4299
|
* Get an astro camera.
|
|
4185
4300
|
* @param {DefaultApiV1GetAstroCameraRequest} requestParameters Request parameters.
|
|
@@ -4320,14 +4435,6 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
4320
4435
|
v1GetJobLogs(requestParameters: DefaultApiV1GetJobLogsRequest, options?: AxiosRequestConfig): AxiosPromise<Array<V1JobLog>> {
|
|
4321
4436
|
return localVarFp.v1GetJobLogs(requestParameters.astroProjectId, options).then((request) => request(axios, basePath));
|
|
4322
4437
|
},
|
|
4323
|
-
/**
|
|
4324
|
-
* Get mounts.
|
|
4325
|
-
* @param {*} [options] Override http request option.
|
|
4326
|
-
* @throws {RequiredError}
|
|
4327
|
-
*/
|
|
4328
|
-
v1GetMounts(options?: AxiosRequestConfig): AxiosPromise<Array<V1Mount>> {
|
|
4329
|
-
return localVarFp.v1GetMounts(options).then((request) => request(axios, basePath));
|
|
4330
|
-
},
|
|
4331
4438
|
/**
|
|
4332
4439
|
* Get nodes.
|
|
4333
4440
|
* @param {*} [options] Override http request option.
|
|
@@ -4404,7 +4511,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
4404
4511
|
* @param {*} [options] Override http request option.
|
|
4405
4512
|
* @throws {RequiredError}
|
|
4406
4513
|
*/
|
|
4407
|
-
v1PutStackAstroProject(requestParameters: DefaultApiV1PutStackAstroProjectRequest, options?: AxiosRequestConfig): AxiosPromise<
|
|
4514
|
+
v1PutStackAstroProject(requestParameters: DefaultApiV1PutStackAstroProjectRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess> {
|
|
4408
4515
|
return localVarFp.v1PutStackAstroProject(requestParameters.v1PutStackAstroProjectRequest, options).then((request) => request(axios, basePath));
|
|
4409
4516
|
},
|
|
4410
4517
|
/**
|
|
@@ -4608,6 +4715,34 @@ export interface DefaultApiV1CreateNodeRequest {
|
|
|
4608
4715
|
readonly v1CreateNodeRequest: V1CreateNodeRequest
|
|
4609
4716
|
}
|
|
4610
4717
|
|
|
4718
|
+
/**
|
|
4719
|
+
* Request parameters for v1DeleteImageSet operation in DefaultApi.
|
|
4720
|
+
* @export
|
|
4721
|
+
* @interface DefaultApiV1DeleteImageSetRequest
|
|
4722
|
+
*/
|
|
4723
|
+
export interface DefaultApiV1DeleteImageSetRequest {
|
|
4724
|
+
/**
|
|
4725
|
+
*
|
|
4726
|
+
* @type {string}
|
|
4727
|
+
* @memberof DefaultApiV1DeleteImageSet
|
|
4728
|
+
*/
|
|
4729
|
+
readonly id: string
|
|
4730
|
+
}
|
|
4731
|
+
|
|
4732
|
+
/**
|
|
4733
|
+
* Request parameters for v1DeleteImageSetImage operation in DefaultApi.
|
|
4734
|
+
* @export
|
|
4735
|
+
* @interface DefaultApiV1DeleteImageSetImageRequest
|
|
4736
|
+
*/
|
|
4737
|
+
export interface DefaultApiV1DeleteImageSetImageRequest {
|
|
4738
|
+
/**
|
|
4739
|
+
*
|
|
4740
|
+
* @type {string}
|
|
4741
|
+
* @memberof DefaultApiV1DeleteImageSetImage
|
|
4742
|
+
*/
|
|
4743
|
+
readonly imageId: string
|
|
4744
|
+
}
|
|
4745
|
+
|
|
4611
4746
|
/**
|
|
4612
4747
|
* Request parameters for v1GetAstroCamera operation in DefaultApi.
|
|
4613
4748
|
* @export
|
|
@@ -5068,6 +5203,28 @@ export class DefaultApi extends BaseAPI {
|
|
|
5068
5203
|
return DefaultApiFp(this.configuration).v1CreateNode(requestParameters.v1CreateNodeRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5069
5204
|
}
|
|
5070
5205
|
|
|
5206
|
+
/**
|
|
5207
|
+
* Delete an image set.
|
|
5208
|
+
* @param {DefaultApiV1DeleteImageSetRequest} requestParameters Request parameters.
|
|
5209
|
+
* @param {*} [options] Override http request option.
|
|
5210
|
+
* @throws {RequiredError}
|
|
5211
|
+
* @memberof DefaultApi
|
|
5212
|
+
*/
|
|
5213
|
+
public v1DeleteImageSet(requestParameters: DefaultApiV1DeleteImageSetRequest, options?: AxiosRequestConfig) {
|
|
5214
|
+
return DefaultApiFp(this.configuration).v1DeleteImageSet(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
5215
|
+
}
|
|
5216
|
+
|
|
5217
|
+
/**
|
|
5218
|
+
* Delete an image.
|
|
5219
|
+
* @param {DefaultApiV1DeleteImageSetImageRequest} requestParameters Request parameters.
|
|
5220
|
+
* @param {*} [options] Override http request option.
|
|
5221
|
+
* @throws {RequiredError}
|
|
5222
|
+
* @memberof DefaultApi
|
|
5223
|
+
*/
|
|
5224
|
+
public v1DeleteImageSetImage(requestParameters: DefaultApiV1DeleteImageSetImageRequest, options?: AxiosRequestConfig) {
|
|
5225
|
+
return DefaultApiFp(this.configuration).v1DeleteImageSetImage(requestParameters.imageId, options).then((request) => request(this.axios, this.basePath));
|
|
5226
|
+
}
|
|
5227
|
+
|
|
5071
5228
|
/**
|
|
5072
5229
|
* Get an astro camera.
|
|
5073
5230
|
* @param {DefaultApiV1GetAstroCameraRequest} requestParameters Request parameters.
|
|
@@ -5240,16 +5397,6 @@ export class DefaultApi extends BaseAPI {
|
|
|
5240
5397
|
return DefaultApiFp(this.configuration).v1GetJobLogs(requestParameters.astroProjectId, options).then((request) => request(this.axios, this.basePath));
|
|
5241
5398
|
}
|
|
5242
5399
|
|
|
5243
|
-
/**
|
|
5244
|
-
* Get mounts.
|
|
5245
|
-
* @param {*} [options] Override http request option.
|
|
5246
|
-
* @throws {RequiredError}
|
|
5247
|
-
* @memberof DefaultApi
|
|
5248
|
-
*/
|
|
5249
|
-
public v1GetMounts(options?: AxiosRequestConfig) {
|
|
5250
|
-
return DefaultApiFp(this.configuration).v1GetMounts(options).then((request) => request(this.axios, this.basePath));
|
|
5251
|
-
}
|
|
5252
|
-
|
|
5253
5400
|
/**
|
|
5254
5401
|
* Get nodes.
|
|
5255
5402
|
* @param {*} [options] Override http request option.
|
package/base.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OurSky Astro
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.3.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.2151
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/common.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OurSky Astro
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.3.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.2151
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/configuration.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OurSky Astro
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.3.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.2151
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OurSky Astro
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.2151
|
|
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
|
|
@@ -1696,6 +1721,12 @@ export interface V1Node {
|
|
|
1696
1721
|
* @memberof V1Node
|
|
1697
1722
|
*/
|
|
1698
1723
|
'minAltitude': number;
|
|
1724
|
+
/**
|
|
1725
|
+
*
|
|
1726
|
+
* @type {Array<V1ElevationMaskPoint>}
|
|
1727
|
+
* @memberof V1Node
|
|
1728
|
+
*/
|
|
1729
|
+
'elevationMask'?: Array<V1ElevationMaskPoint>;
|
|
1699
1730
|
/**
|
|
1700
1731
|
*
|
|
1701
1732
|
* @type {string}
|
|
@@ -1967,6 +1998,12 @@ export interface V1UpdateNodeRequest {
|
|
|
1967
1998
|
* @memberof V1UpdateNodeRequest
|
|
1968
1999
|
*/
|
|
1969
2000
|
'maxAltitude'?: number;
|
|
2001
|
+
/**
|
|
2002
|
+
*
|
|
2003
|
+
* @type {Array<V1ElevationMaskPoint>}
|
|
2004
|
+
* @memberof V1UpdateNodeRequest
|
|
2005
|
+
*/
|
|
2006
|
+
'elevationMask'?: Array<V1ElevationMaskPoint>;
|
|
1970
2007
|
/**
|
|
1971
2008
|
*
|
|
1972
2009
|
* @type {Location}
|
|
@@ -2099,6 +2136,20 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2099
2136
|
* @throws {RequiredError}
|
|
2100
2137
|
*/
|
|
2101
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>;
|
|
2102
2153
|
/**
|
|
2103
2154
|
* Get an astro camera.
|
|
2104
2155
|
* @param {string} id
|
|
@@ -2212,12 +2263,6 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2212
2263
|
* @throws {RequiredError}
|
|
2213
2264
|
*/
|
|
2214
2265
|
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
2266
|
/**
|
|
2222
2267
|
* Get nodes.
|
|
2223
2268
|
* @param {*} [options] Override http request option.
|
|
@@ -2373,6 +2418,20 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2373
2418
|
* @throws {RequiredError}
|
|
2374
2419
|
*/
|
|
2375
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>>;
|
|
2376
2435
|
/**
|
|
2377
2436
|
* Get an astro camera.
|
|
2378
2437
|
* @param {string} id
|
|
@@ -2486,12 +2545,6 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2486
2545
|
* @throws {RequiredError}
|
|
2487
2546
|
*/
|
|
2488
2547
|
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
2548
|
/**
|
|
2496
2549
|
* Get nodes.
|
|
2497
2550
|
* @param {*} [options] Override http request option.
|
|
@@ -2556,7 +2609,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2556
2609
|
* @param {*} [options] Override http request option.
|
|
2557
2610
|
* @throws {RequiredError}
|
|
2558
2611
|
*/
|
|
2559
|
-
v1PutStackAstroProject(v1PutStackAstroProjectRequest: V1PutStackAstroProjectRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
2612
|
+
v1PutStackAstroProject(v1PutStackAstroProjectRequest: V1PutStackAstroProjectRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptySuccess>>;
|
|
2560
2613
|
/**
|
|
2561
2614
|
* Update a node.
|
|
2562
2615
|
* @param {V1UpdateNodeRequest} v1UpdateNodeRequest
|
|
@@ -2640,6 +2693,20 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2640
2693
|
* @throws {RequiredError}
|
|
2641
2694
|
*/
|
|
2642
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>;
|
|
2643
2710
|
/**
|
|
2644
2711
|
* Get an astro camera.
|
|
2645
2712
|
* @param {DefaultApiV1GetAstroCameraRequest} requestParameters Request parameters.
|
|
@@ -2748,12 +2815,6 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2748
2815
|
* @throws {RequiredError}
|
|
2749
2816
|
*/
|
|
2750
2817
|
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
2818
|
/**
|
|
2758
2819
|
* Get nodes.
|
|
2759
2820
|
* @param {*} [options] Override http request option.
|
|
@@ -2814,7 +2875,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2814
2875
|
* @param {*} [options] Override http request option.
|
|
2815
2876
|
* @throws {RequiredError}
|
|
2816
2877
|
*/
|
|
2817
|
-
v1PutStackAstroProject(requestParameters: DefaultApiV1PutStackAstroProjectRequest, options?: AxiosRequestConfig): AxiosPromise<
|
|
2878
|
+
v1PutStackAstroProject(requestParameters: DefaultApiV1PutStackAstroProjectRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess>;
|
|
2818
2879
|
/**
|
|
2819
2880
|
* Update a node.
|
|
2820
2881
|
* @param {DefaultApiV1UpdateNodeRequest} requestParameters Request parameters.
|
|
@@ -2995,6 +3056,32 @@ export interface DefaultApiV1CreateNodeRequest {
|
|
|
2995
3056
|
*/
|
|
2996
3057
|
readonly v1CreateNodeRequest: V1CreateNodeRequest;
|
|
2997
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
|
+
}
|
|
2998
3085
|
/**
|
|
2999
3086
|
* Request parameters for v1GetAstroCamera operation in DefaultApi.
|
|
3000
3087
|
* @export
|
|
@@ -3396,6 +3483,22 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3396
3483
|
* @memberof DefaultApi
|
|
3397
3484
|
*/
|
|
3398
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>>;
|
|
3399
3502
|
/**
|
|
3400
3503
|
* Get an astro camera.
|
|
3401
3504
|
* @param {DefaultApiV1GetAstroCameraRequest} requestParameters Request parameters.
|
|
@@ -3520,13 +3623,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3520
3623
|
* @memberof DefaultApi
|
|
3521
3624
|
*/
|
|
3522
3625
|
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
3626
|
/**
|
|
3531
3627
|
* Get nodes.
|
|
3532
3628
|
* @param {*} [options] Override http request option.
|
|
@@ -3596,7 +3692,7 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3596
3692
|
* @throws {RequiredError}
|
|
3597
3693
|
* @memberof DefaultApi
|
|
3598
3694
|
*/
|
|
3599
|
-
v1PutStackAstroProject(requestParameters: DefaultApiV1PutStackAstroProjectRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
3695
|
+
v1PutStackAstroProject(requestParameters: DefaultApiV1PutStackAstroProjectRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EmptySuccess, any>>;
|
|
3600
3696
|
/**
|
|
3601
3697
|
* Update a node.
|
|
3602
3698
|
* @param {DefaultApiV1UpdateNodeRequest} requestParameters Request parameters.
|