@ourskyai/astro-api 1.3.3703 → 1.3.3719
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 +117 -123
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +59 -80
- package/dist/api.js +80 -65
- 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 +59 -80
- package/dist/esm/api.js +80 -65
- 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.3719
|
|
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.3719 --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.3719
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -924,43 +924,6 @@ export interface V1CreateAstroProjectResponse {
|
|
|
924
924
|
*/
|
|
925
925
|
'imageSetId': string;
|
|
926
926
|
}
|
|
927
|
-
/**
|
|
928
|
-
*
|
|
929
|
-
* @export
|
|
930
|
-
* @interface V1CreateAutofocusResultRequest
|
|
931
|
-
*/
|
|
932
|
-
export interface V1CreateAutofocusResultRequest {
|
|
933
|
-
/**
|
|
934
|
-
* The autofocus id
|
|
935
|
-
* @type {string}
|
|
936
|
-
* @memberof V1CreateAutofocusResultRequest
|
|
937
|
-
*/
|
|
938
|
-
'id': string;
|
|
939
|
-
/**
|
|
940
|
-
* The node that autofocus was performed on.
|
|
941
|
-
* @type {string}
|
|
942
|
-
* @memberof V1CreateAutofocusResultRequest
|
|
943
|
-
*/
|
|
944
|
-
'node_id': string;
|
|
945
|
-
/**
|
|
946
|
-
* The timestamp when the autofocus operation was completed.
|
|
947
|
-
* @type {string}
|
|
948
|
-
* @memberof V1CreateAutofocusResultRequest
|
|
949
|
-
*/
|
|
950
|
-
'autofocus_time': string;
|
|
951
|
-
/**
|
|
952
|
-
* The HFR value before autofocusing.
|
|
953
|
-
* @type {number}
|
|
954
|
-
* @memberof V1CreateAutofocusResultRequest
|
|
955
|
-
*/
|
|
956
|
-
'hfrBefore': number;
|
|
957
|
-
/**
|
|
958
|
-
* The HFR value after autofocusing.
|
|
959
|
-
* @type {number}
|
|
960
|
-
* @memberof V1CreateAutofocusResultRequest
|
|
961
|
-
*/
|
|
962
|
-
'hfrAfter': number;
|
|
963
|
-
}
|
|
964
927
|
/**
|
|
965
928
|
*
|
|
966
929
|
* @export
|
|
@@ -2760,47 +2723,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2760
2723
|
options: localVarRequestOptions,
|
|
2761
2724
|
};
|
|
2762
2725
|
},
|
|
2763
|
-
/**
|
|
2764
|
-
* Create an autofocus result.
|
|
2765
|
-
* @param {V1CreateAutofocusResultRequest} v1CreateAutofocusResultRequest
|
|
2766
|
-
* @param {*} [options] Override http request option.
|
|
2767
|
-
* @throws {RequiredError}
|
|
2768
|
-
*/
|
|
2769
|
-
v1CreateAutofocusResult: async (v1CreateAutofocusResultRequest: V1CreateAutofocusResultRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2770
|
-
// verify required parameter 'v1CreateAutofocusResultRequest' is not null or undefined
|
|
2771
|
-
assertParamExists('v1CreateAutofocusResult', 'v1CreateAutofocusResultRequest', v1CreateAutofocusResultRequest)
|
|
2772
|
-
const localVarPath = `/v1/autofocus`;
|
|
2773
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2774
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2775
|
-
let baseOptions;
|
|
2776
|
-
if (configuration) {
|
|
2777
|
-
baseOptions = configuration.baseOptions;
|
|
2778
|
-
}
|
|
2779
|
-
|
|
2780
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
2781
|
-
const localVarHeaderParameter = {} as any;
|
|
2782
|
-
const localVarQueryParameter = {} as any;
|
|
2783
|
-
|
|
2784
|
-
// authentication Roles required
|
|
2785
|
-
|
|
2786
|
-
// authentication BearerToken required
|
|
2787
|
-
// http bearer authentication required
|
|
2788
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2793
|
-
|
|
2794
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2795
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2796
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2797
|
-
localVarRequestOptions.data = serializeDataIfNeeded(v1CreateAutofocusResultRequest, localVarRequestOptions, configuration)
|
|
2798
|
-
|
|
2799
|
-
return {
|
|
2800
|
-
url: toPathString(localVarUrlObj),
|
|
2801
|
-
options: localVarRequestOptions,
|
|
2802
|
-
};
|
|
2803
|
-
},
|
|
2804
2726
|
/**
|
|
2805
2727
|
* Create a calibration master.
|
|
2806
2728
|
* @param {V1CreateCalibrationMasterRequest} v1CreateCalibrationMasterRequest
|
|
@@ -3982,6 +3904,62 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3982
3904
|
|
|
3983
3905
|
|
|
3984
3906
|
|
|
3907
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3908
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3909
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3910
|
+
|
|
3911
|
+
return {
|
|
3912
|
+
url: toPathString(localVarUrlObj),
|
|
3913
|
+
options: localVarRequestOptions,
|
|
3914
|
+
};
|
|
3915
|
+
},
|
|
3916
|
+
/**
|
|
3917
|
+
* Get all astro targets visible to this specific node. This response is paginated. It will only return at most 100 at a time. To get the next page, pass in the `id` of the last target in the current page as the `lastId` query parameter. Omitting this field fetches the first page.
|
|
3918
|
+
* @param {string} timestamp
|
|
3919
|
+
* @param {string} nodeId
|
|
3920
|
+
* @param {number} [offset]
|
|
3921
|
+
* @param {*} [options] Override http request option.
|
|
3922
|
+
* @throws {RequiredError}
|
|
3923
|
+
*/
|
|
3924
|
+
v1GetVisibleAstroTargets: async (timestamp: string, nodeId: string, offset?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3925
|
+
// verify required parameter 'timestamp' is not null or undefined
|
|
3926
|
+
assertParamExists('v1GetVisibleAstroTargets', 'timestamp', timestamp)
|
|
3927
|
+
// verify required parameter 'nodeId' is not null or undefined
|
|
3928
|
+
assertParamExists('v1GetVisibleAstroTargets', 'nodeId', nodeId)
|
|
3929
|
+
const localVarPath = `/v1/visible-astro-targets`;
|
|
3930
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3931
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3932
|
+
let baseOptions;
|
|
3933
|
+
if (configuration) {
|
|
3934
|
+
baseOptions = configuration.baseOptions;
|
|
3935
|
+
}
|
|
3936
|
+
|
|
3937
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
3938
|
+
const localVarHeaderParameter = {} as any;
|
|
3939
|
+
const localVarQueryParameter = {} as any;
|
|
3940
|
+
|
|
3941
|
+
// authentication Roles required
|
|
3942
|
+
|
|
3943
|
+
// authentication BearerToken required
|
|
3944
|
+
// http bearer authentication required
|
|
3945
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3946
|
+
|
|
3947
|
+
if (offset !== undefined) {
|
|
3948
|
+
localVarQueryParameter['offset'] = offset;
|
|
3949
|
+
}
|
|
3950
|
+
|
|
3951
|
+
if (timestamp !== undefined) {
|
|
3952
|
+
localVarQueryParameter['timestamp'] = (timestamp as any instanceof Date) ?
|
|
3953
|
+
(timestamp as any).toISOString() :
|
|
3954
|
+
timestamp;
|
|
3955
|
+
}
|
|
3956
|
+
|
|
3957
|
+
if (nodeId !== undefined) {
|
|
3958
|
+
localVarQueryParameter['nodeId'] = nodeId;
|
|
3959
|
+
}
|
|
3960
|
+
|
|
3961
|
+
|
|
3962
|
+
|
|
3985
3963
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3986
3964
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3987
3965
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -4345,16 +4323,6 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
4345
4323
|
const localVarAxiosArgs = await localVarAxiosParamCreator.v1CreateAstroProjectImageSet(v1CreateAstroProjectImageSetRequest, options);
|
|
4346
4324
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4347
4325
|
},
|
|
4348
|
-
/**
|
|
4349
|
-
* Create an autofocus result.
|
|
4350
|
-
* @param {V1CreateAutofocusResultRequest} v1CreateAutofocusResultRequest
|
|
4351
|
-
* @param {*} [options] Override http request option.
|
|
4352
|
-
* @throws {RequiredError}
|
|
4353
|
-
*/
|
|
4354
|
-
async v1CreateAutofocusResult(v1CreateAutofocusResultRequest: V1CreateAutofocusResultRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessfulCreate>> {
|
|
4355
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.v1CreateAutofocusResult(v1CreateAutofocusResultRequest, options);
|
|
4356
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4357
|
-
},
|
|
4358
4326
|
/**
|
|
4359
4327
|
* Create a calibration master.
|
|
4360
4328
|
* @param {V1CreateCalibrationMasterRequest} v1CreateCalibrationMasterRequest
|
|
@@ -4644,6 +4612,18 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
4644
4612
|
const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetPlatformCredits(options);
|
|
4645
4613
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4646
4614
|
},
|
|
4615
|
+
/**
|
|
4616
|
+
* Get all astro targets visible to this specific node. This response is paginated. It will only return at most 100 at a time. To get the next page, pass in the `id` of the last target in the current page as the `lastId` query parameter. Omitting this field fetches the first page.
|
|
4617
|
+
* @param {string} timestamp
|
|
4618
|
+
* @param {string} nodeId
|
|
4619
|
+
* @param {number} [offset]
|
|
4620
|
+
* @param {*} [options] Override http request option.
|
|
4621
|
+
* @throws {RequiredError}
|
|
4622
|
+
*/
|
|
4623
|
+
async v1GetVisibleAstroTargets(timestamp: string, nodeId: string, offset?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1AstroTarget>>> {
|
|
4624
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetVisibleAstroTargets(timestamp, nodeId, offset, options);
|
|
4625
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4626
|
+
},
|
|
4647
4627
|
/**
|
|
4648
4628
|
* Get weather.
|
|
4649
4629
|
* @param {number} latitude
|
|
@@ -4773,15 +4753,6 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
4773
4753
|
v1CreateAstroProjectImageSet(requestParameters: DefaultApiV1CreateAstroProjectImageSetRequest, options?: AxiosRequestConfig): AxiosPromise<SuccessfulCreate> {
|
|
4774
4754
|
return localVarFp.v1CreateAstroProjectImageSet(requestParameters.v1CreateAstroProjectImageSetRequest, options).then((request) => request(axios, basePath));
|
|
4775
4755
|
},
|
|
4776
|
-
/**
|
|
4777
|
-
* Create an autofocus result.
|
|
4778
|
-
* @param {DefaultApiV1CreateAutofocusResultRequest} requestParameters Request parameters.
|
|
4779
|
-
* @param {*} [options] Override http request option.
|
|
4780
|
-
* @throws {RequiredError}
|
|
4781
|
-
*/
|
|
4782
|
-
v1CreateAutofocusResult(requestParameters: DefaultApiV1CreateAutofocusResultRequest, options?: AxiosRequestConfig): AxiosPromise<SuccessfulCreate> {
|
|
4783
|
-
return localVarFp.v1CreateAutofocusResult(requestParameters.v1CreateAutofocusResultRequest, options).then((request) => request(axios, basePath));
|
|
4784
|
-
},
|
|
4785
4756
|
/**
|
|
4786
4757
|
* Create a calibration master.
|
|
4787
4758
|
* @param {DefaultApiV1CreateCalibrationMasterRequest} requestParameters Request parameters.
|
|
@@ -5037,6 +5008,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
5037
5008
|
v1GetPlatformCredits(options?: AxiosRequestConfig): AxiosPromise<Array<V1PlatformCredit>> {
|
|
5038
5009
|
return localVarFp.v1GetPlatformCredits(options).then((request) => request(axios, basePath));
|
|
5039
5010
|
},
|
|
5011
|
+
/**
|
|
5012
|
+
* Get all astro targets visible to this specific node. This response is paginated. It will only return at most 100 at a time. To get the next page, pass in the `id` of the last target in the current page as the `lastId` query parameter. Omitting this field fetches the first page.
|
|
5013
|
+
* @param {DefaultApiV1GetVisibleAstroTargetsRequest} requestParameters Request parameters.
|
|
5014
|
+
* @param {*} [options] Override http request option.
|
|
5015
|
+
* @throws {RequiredError}
|
|
5016
|
+
*/
|
|
5017
|
+
v1GetVisibleAstroTargets(requestParameters: DefaultApiV1GetVisibleAstroTargetsRequest, options?: AxiosRequestConfig): AxiosPromise<Array<V1AstroTarget>> {
|
|
5018
|
+
return localVarFp.v1GetVisibleAstroTargets(requestParameters.timestamp, requestParameters.nodeId, requestParameters.offset, options).then((request) => request(axios, basePath));
|
|
5019
|
+
},
|
|
5040
5020
|
/**
|
|
5041
5021
|
* Get weather.
|
|
5042
5022
|
* @param {DefaultApiV1GetWeatherRequest} requestParameters Request parameters.
|
|
@@ -5227,20 +5207,6 @@ export interface DefaultApiV1CreateAstroProjectImageSetRequest {
|
|
|
5227
5207
|
readonly v1CreateAstroProjectImageSetRequest: V1CreateAstroProjectImageSetRequest
|
|
5228
5208
|
}
|
|
5229
5209
|
|
|
5230
|
-
/**
|
|
5231
|
-
* Request parameters for v1CreateAutofocusResult operation in DefaultApi.
|
|
5232
|
-
* @export
|
|
5233
|
-
* @interface DefaultApiV1CreateAutofocusResultRequest
|
|
5234
|
-
*/
|
|
5235
|
-
export interface DefaultApiV1CreateAutofocusResultRequest {
|
|
5236
|
-
/**
|
|
5237
|
-
*
|
|
5238
|
-
* @type {V1CreateAutofocusResultRequest}
|
|
5239
|
-
* @memberof DefaultApiV1CreateAutofocusResult
|
|
5240
|
-
*/
|
|
5241
|
-
readonly v1CreateAutofocusResultRequest: V1CreateAutofocusResultRequest
|
|
5242
|
-
}
|
|
5243
|
-
|
|
5244
5210
|
/**
|
|
5245
5211
|
* Request parameters for v1CreateCalibrationMaster operation in DefaultApi.
|
|
5246
5212
|
* @export
|
|
@@ -5598,6 +5564,34 @@ export interface DefaultApiV1GetOrCreateOpticalTubeRequest {
|
|
|
5598
5564
|
readonly v1GetOrCreateOpticalTubeRequest: V1GetOrCreateOpticalTubeRequest
|
|
5599
5565
|
}
|
|
5600
5566
|
|
|
5567
|
+
/**
|
|
5568
|
+
* Request parameters for v1GetVisibleAstroTargets operation in DefaultApi.
|
|
5569
|
+
* @export
|
|
5570
|
+
* @interface DefaultApiV1GetVisibleAstroTargetsRequest
|
|
5571
|
+
*/
|
|
5572
|
+
export interface DefaultApiV1GetVisibleAstroTargetsRequest {
|
|
5573
|
+
/**
|
|
5574
|
+
*
|
|
5575
|
+
* @type {string}
|
|
5576
|
+
* @memberof DefaultApiV1GetVisibleAstroTargets
|
|
5577
|
+
*/
|
|
5578
|
+
readonly timestamp: string
|
|
5579
|
+
|
|
5580
|
+
/**
|
|
5581
|
+
*
|
|
5582
|
+
* @type {string}
|
|
5583
|
+
* @memberof DefaultApiV1GetVisibleAstroTargets
|
|
5584
|
+
*/
|
|
5585
|
+
readonly nodeId: string
|
|
5586
|
+
|
|
5587
|
+
/**
|
|
5588
|
+
*
|
|
5589
|
+
* @type {number}
|
|
5590
|
+
* @memberof DefaultApiV1GetVisibleAstroTargets
|
|
5591
|
+
*/
|
|
5592
|
+
readonly offset?: number
|
|
5593
|
+
}
|
|
5594
|
+
|
|
5601
5595
|
/**
|
|
5602
5596
|
* Request parameters for v1GetWeather operation in DefaultApi.
|
|
5603
5597
|
* @export
|
|
@@ -5790,17 +5784,6 @@ export class DefaultApi extends BaseAPI {
|
|
|
5790
5784
|
return DefaultApiFp(this.configuration).v1CreateAstroProjectImageSet(requestParameters.v1CreateAstroProjectImageSetRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5791
5785
|
}
|
|
5792
5786
|
|
|
5793
|
-
/**
|
|
5794
|
-
* Create an autofocus result.
|
|
5795
|
-
* @param {DefaultApiV1CreateAutofocusResultRequest} requestParameters Request parameters.
|
|
5796
|
-
* @param {*} [options] Override http request option.
|
|
5797
|
-
* @throws {RequiredError}
|
|
5798
|
-
* @memberof DefaultApi
|
|
5799
|
-
*/
|
|
5800
|
-
public v1CreateAutofocusResult(requestParameters: DefaultApiV1CreateAutofocusResultRequest, options?: AxiosRequestConfig) {
|
|
5801
|
-
return DefaultApiFp(this.configuration).v1CreateAutofocusResult(requestParameters.v1CreateAutofocusResultRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5802
|
-
}
|
|
5803
|
-
|
|
5804
5787
|
/**
|
|
5805
5788
|
* Create a calibration master.
|
|
5806
5789
|
* @param {DefaultApiV1CreateCalibrationMasterRequest} requestParameters Request parameters.
|
|
@@ -6114,6 +6097,17 @@ export class DefaultApi extends BaseAPI {
|
|
|
6114
6097
|
return DefaultApiFp(this.configuration).v1GetPlatformCredits(options).then((request) => request(this.axios, this.basePath));
|
|
6115
6098
|
}
|
|
6116
6099
|
|
|
6100
|
+
/**
|
|
6101
|
+
* Get all astro targets visible to this specific node. This response is paginated. It will only return at most 100 at a time. To get the next page, pass in the `id` of the last target in the current page as the `lastId` query parameter. Omitting this field fetches the first page.
|
|
6102
|
+
* @param {DefaultApiV1GetVisibleAstroTargetsRequest} requestParameters Request parameters.
|
|
6103
|
+
* @param {*} [options] Override http request option.
|
|
6104
|
+
* @throws {RequiredError}
|
|
6105
|
+
* @memberof DefaultApi
|
|
6106
|
+
*/
|
|
6107
|
+
public v1GetVisibleAstroTargets(requestParameters: DefaultApiV1GetVisibleAstroTargetsRequest, options?: AxiosRequestConfig) {
|
|
6108
|
+
return DefaultApiFp(this.configuration).v1GetVisibleAstroTargets(requestParameters.timestamp, requestParameters.nodeId, requestParameters.offset, options).then((request) => request(this.axios, this.basePath));
|
|
6109
|
+
}
|
|
6110
|
+
|
|
6117
6111
|
/**
|
|
6118
6112
|
* Get weather.
|
|
6119
6113
|
* @param {DefaultApiV1GetWeatherRequest} requestParameters Request parameters.
|
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.3719
|
|
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.3719
|
|
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.3719
|
|
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.3719
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -868,43 +868,6 @@ export interface V1CreateAstroProjectResponse {
|
|
|
868
868
|
*/
|
|
869
869
|
'imageSetId': string;
|
|
870
870
|
}
|
|
871
|
-
/**
|
|
872
|
-
*
|
|
873
|
-
* @export
|
|
874
|
-
* @interface V1CreateAutofocusResultRequest
|
|
875
|
-
*/
|
|
876
|
-
export interface V1CreateAutofocusResultRequest {
|
|
877
|
-
/**
|
|
878
|
-
* The autofocus id
|
|
879
|
-
* @type {string}
|
|
880
|
-
* @memberof V1CreateAutofocusResultRequest
|
|
881
|
-
*/
|
|
882
|
-
'id': string;
|
|
883
|
-
/**
|
|
884
|
-
* The node that autofocus was performed on.
|
|
885
|
-
* @type {string}
|
|
886
|
-
* @memberof V1CreateAutofocusResultRequest
|
|
887
|
-
*/
|
|
888
|
-
'node_id': string;
|
|
889
|
-
/**
|
|
890
|
-
* The timestamp when the autofocus operation was completed.
|
|
891
|
-
* @type {string}
|
|
892
|
-
* @memberof V1CreateAutofocusResultRequest
|
|
893
|
-
*/
|
|
894
|
-
'autofocus_time': string;
|
|
895
|
-
/**
|
|
896
|
-
* The HFR value before autofocusing.
|
|
897
|
-
* @type {number}
|
|
898
|
-
* @memberof V1CreateAutofocusResultRequest
|
|
899
|
-
*/
|
|
900
|
-
'hfrBefore': number;
|
|
901
|
-
/**
|
|
902
|
-
* The HFR value after autofocusing.
|
|
903
|
-
* @type {number}
|
|
904
|
-
* @memberof V1CreateAutofocusResultRequest
|
|
905
|
-
*/
|
|
906
|
-
'hfrAfter': number;
|
|
907
|
-
}
|
|
908
871
|
/**
|
|
909
872
|
*
|
|
910
873
|
* @export
|
|
@@ -2425,13 +2388,6 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2425
2388
|
* @throws {RequiredError}
|
|
2426
2389
|
*/
|
|
2427
2390
|
v1CreateAstroProjectImageSet: (v1CreateAstroProjectImageSetRequest: V1CreateAstroProjectImageSetRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2428
|
-
/**
|
|
2429
|
-
* Create an autofocus result.
|
|
2430
|
-
* @param {V1CreateAutofocusResultRequest} v1CreateAutofocusResultRequest
|
|
2431
|
-
* @param {*} [options] Override http request option.
|
|
2432
|
-
* @throws {RequiredError}
|
|
2433
|
-
*/
|
|
2434
|
-
v1CreateAutofocusResult: (v1CreateAutofocusResultRequest: V1CreateAutofocusResultRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2435
2391
|
/**
|
|
2436
2392
|
* Create a calibration master.
|
|
2437
2393
|
* @param {V1CreateCalibrationMasterRequest} v1CreateCalibrationMasterRequest
|
|
@@ -2634,6 +2590,15 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2634
2590
|
* @throws {RequiredError}
|
|
2635
2591
|
*/
|
|
2636
2592
|
v1GetPlatformCredits: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2593
|
+
/**
|
|
2594
|
+
* Get all astro targets visible to this specific node. This response is paginated. It will only return at most 100 at a time. To get the next page, pass in the `id` of the last target in the current page as the `lastId` query parameter. Omitting this field fetches the first page.
|
|
2595
|
+
* @param {string} timestamp
|
|
2596
|
+
* @param {string} nodeId
|
|
2597
|
+
* @param {number} [offset]
|
|
2598
|
+
* @param {*} [options] Override http request option.
|
|
2599
|
+
* @throws {RequiredError}
|
|
2600
|
+
*/
|
|
2601
|
+
v1GetVisibleAstroTargets: (timestamp: string, nodeId: string, offset?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2637
2602
|
/**
|
|
2638
2603
|
* Get weather.
|
|
2639
2604
|
* @param {number} latitude
|
|
@@ -2736,13 +2701,6 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2736
2701
|
* @throws {RequiredError}
|
|
2737
2702
|
*/
|
|
2738
2703
|
v1CreateAstroProjectImageSet(v1CreateAstroProjectImageSetRequest: V1CreateAstroProjectImageSetRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessfulCreate>>;
|
|
2739
|
-
/**
|
|
2740
|
-
* Create an autofocus result.
|
|
2741
|
-
* @param {V1CreateAutofocusResultRequest} v1CreateAutofocusResultRequest
|
|
2742
|
-
* @param {*} [options] Override http request option.
|
|
2743
|
-
* @throws {RequiredError}
|
|
2744
|
-
*/
|
|
2745
|
-
v1CreateAutofocusResult(v1CreateAutofocusResultRequest: V1CreateAutofocusResultRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessfulCreate>>;
|
|
2746
2704
|
/**
|
|
2747
2705
|
* Create a calibration master.
|
|
2748
2706
|
* @param {V1CreateCalibrationMasterRequest} v1CreateCalibrationMasterRequest
|
|
@@ -2945,6 +2903,15 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2945
2903
|
* @throws {RequiredError}
|
|
2946
2904
|
*/
|
|
2947
2905
|
v1GetPlatformCredits(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1PlatformCredit>>>;
|
|
2906
|
+
/**
|
|
2907
|
+
* Get all astro targets visible to this specific node. This response is paginated. It will only return at most 100 at a time. To get the next page, pass in the `id` of the last target in the current page as the `lastId` query parameter. Omitting this field fetches the first page.
|
|
2908
|
+
* @param {string} timestamp
|
|
2909
|
+
* @param {string} nodeId
|
|
2910
|
+
* @param {number} [offset]
|
|
2911
|
+
* @param {*} [options] Override http request option.
|
|
2912
|
+
* @throws {RequiredError}
|
|
2913
|
+
*/
|
|
2914
|
+
v1GetVisibleAstroTargets(timestamp: string, nodeId: string, offset?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1AstroTarget>>>;
|
|
2948
2915
|
/**
|
|
2949
2916
|
* Get weather.
|
|
2950
2917
|
* @param {number} latitude
|
|
@@ -3040,13 +3007,6 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
3040
3007
|
* @throws {RequiredError}
|
|
3041
3008
|
*/
|
|
3042
3009
|
v1CreateAstroProjectImageSet(requestParameters: DefaultApiV1CreateAstroProjectImageSetRequest, options?: AxiosRequestConfig): AxiosPromise<SuccessfulCreate>;
|
|
3043
|
-
/**
|
|
3044
|
-
* Create an autofocus result.
|
|
3045
|
-
* @param {DefaultApiV1CreateAutofocusResultRequest} requestParameters Request parameters.
|
|
3046
|
-
* @param {*} [options] Override http request option.
|
|
3047
|
-
* @throws {RequiredError}
|
|
3048
|
-
*/
|
|
3049
|
-
v1CreateAutofocusResult(requestParameters: DefaultApiV1CreateAutofocusResultRequest, options?: AxiosRequestConfig): AxiosPromise<SuccessfulCreate>;
|
|
3050
3010
|
/**
|
|
3051
3011
|
* Create a calibration master.
|
|
3052
3012
|
* @param {DefaultApiV1CreateCalibrationMasterRequest} requestParameters Request parameters.
|
|
@@ -3244,6 +3204,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
3244
3204
|
* @throws {RequiredError}
|
|
3245
3205
|
*/
|
|
3246
3206
|
v1GetPlatformCredits(options?: AxiosRequestConfig): AxiosPromise<Array<V1PlatformCredit>>;
|
|
3207
|
+
/**
|
|
3208
|
+
* Get all astro targets visible to this specific node. This response is paginated. It will only return at most 100 at a time. To get the next page, pass in the `id` of the last target in the current page as the `lastId` query parameter. Omitting this field fetches the first page.
|
|
3209
|
+
* @param {DefaultApiV1GetVisibleAstroTargetsRequest} requestParameters Request parameters.
|
|
3210
|
+
* @param {*} [options] Override http request option.
|
|
3211
|
+
* @throws {RequiredError}
|
|
3212
|
+
*/
|
|
3213
|
+
v1GetVisibleAstroTargets(requestParameters: DefaultApiV1GetVisibleAstroTargetsRequest, options?: AxiosRequestConfig): AxiosPromise<Array<V1AstroTarget>>;
|
|
3247
3214
|
/**
|
|
3248
3215
|
* Get weather.
|
|
3249
3216
|
* @param {DefaultApiV1GetWeatherRequest} requestParameters Request parameters.
|
|
@@ -3407,19 +3374,6 @@ export interface DefaultApiV1CreateAstroProjectImageSetRequest {
|
|
|
3407
3374
|
*/
|
|
3408
3375
|
readonly v1CreateAstroProjectImageSetRequest: V1CreateAstroProjectImageSetRequest;
|
|
3409
3376
|
}
|
|
3410
|
-
/**
|
|
3411
|
-
* Request parameters for v1CreateAutofocusResult operation in DefaultApi.
|
|
3412
|
-
* @export
|
|
3413
|
-
* @interface DefaultApiV1CreateAutofocusResultRequest
|
|
3414
|
-
*/
|
|
3415
|
-
export interface DefaultApiV1CreateAutofocusResultRequest {
|
|
3416
|
-
/**
|
|
3417
|
-
*
|
|
3418
|
-
* @type {V1CreateAutofocusResultRequest}
|
|
3419
|
-
* @memberof DefaultApiV1CreateAutofocusResult
|
|
3420
|
-
*/
|
|
3421
|
-
readonly v1CreateAutofocusResultRequest: V1CreateAutofocusResultRequest;
|
|
3422
|
-
}
|
|
3423
3377
|
/**
|
|
3424
3378
|
* Request parameters for v1CreateCalibrationMaster operation in DefaultApi.
|
|
3425
3379
|
* @export
|
|
@@ -3749,6 +3703,31 @@ export interface DefaultApiV1GetOrCreateOpticalTubeRequest {
|
|
|
3749
3703
|
*/
|
|
3750
3704
|
readonly v1GetOrCreateOpticalTubeRequest: V1GetOrCreateOpticalTubeRequest;
|
|
3751
3705
|
}
|
|
3706
|
+
/**
|
|
3707
|
+
* Request parameters for v1GetVisibleAstroTargets operation in DefaultApi.
|
|
3708
|
+
* @export
|
|
3709
|
+
* @interface DefaultApiV1GetVisibleAstroTargetsRequest
|
|
3710
|
+
*/
|
|
3711
|
+
export interface DefaultApiV1GetVisibleAstroTargetsRequest {
|
|
3712
|
+
/**
|
|
3713
|
+
*
|
|
3714
|
+
* @type {string}
|
|
3715
|
+
* @memberof DefaultApiV1GetVisibleAstroTargets
|
|
3716
|
+
*/
|
|
3717
|
+
readonly timestamp: string;
|
|
3718
|
+
/**
|
|
3719
|
+
*
|
|
3720
|
+
* @type {string}
|
|
3721
|
+
* @memberof DefaultApiV1GetVisibleAstroTargets
|
|
3722
|
+
*/
|
|
3723
|
+
readonly nodeId: string;
|
|
3724
|
+
/**
|
|
3725
|
+
*
|
|
3726
|
+
* @type {number}
|
|
3727
|
+
* @memberof DefaultApiV1GetVisibleAstroTargets
|
|
3728
|
+
*/
|
|
3729
|
+
readonly offset?: number;
|
|
3730
|
+
}
|
|
3752
3731
|
/**
|
|
3753
3732
|
* Request parameters for v1GetWeather operation in DefaultApi.
|
|
3754
3733
|
* @export
|
|
@@ -3912,14 +3891,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3912
3891
|
* @memberof DefaultApi
|
|
3913
3892
|
*/
|
|
3914
3893
|
v1CreateAstroProjectImageSet(requestParameters: DefaultApiV1CreateAstroProjectImageSetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SuccessfulCreate, any>>;
|
|
3915
|
-
/**
|
|
3916
|
-
* Create an autofocus result.
|
|
3917
|
-
* @param {DefaultApiV1CreateAutofocusResultRequest} requestParameters Request parameters.
|
|
3918
|
-
* @param {*} [options] Override http request option.
|
|
3919
|
-
* @throws {RequiredError}
|
|
3920
|
-
* @memberof DefaultApi
|
|
3921
|
-
*/
|
|
3922
|
-
v1CreateAutofocusResult(requestParameters: DefaultApiV1CreateAutofocusResultRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SuccessfulCreate, any>>;
|
|
3923
3894
|
/**
|
|
3924
3895
|
* Create a calibration master.
|
|
3925
3896
|
* @param {DefaultApiV1CreateCalibrationMasterRequest} requestParameters Request parameters.
|
|
@@ -4146,6 +4117,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
4146
4117
|
* @memberof DefaultApi
|
|
4147
4118
|
*/
|
|
4148
4119
|
v1GetPlatformCredits(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<V1PlatformCredit[], any>>;
|
|
4120
|
+
/**
|
|
4121
|
+
* Get all astro targets visible to this specific node. This response is paginated. It will only return at most 100 at a time. To get the next page, pass in the `id` of the last target in the current page as the `lastId` query parameter. Omitting this field fetches the first page.
|
|
4122
|
+
* @param {DefaultApiV1GetVisibleAstroTargetsRequest} requestParameters Request parameters.
|
|
4123
|
+
* @param {*} [options] Override http request option.
|
|
4124
|
+
* @throws {RequiredError}
|
|
4125
|
+
* @memberof DefaultApi
|
|
4126
|
+
*/
|
|
4127
|
+
v1GetVisibleAstroTargets(requestParameters: DefaultApiV1GetVisibleAstroTargetsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<V1AstroTarget[], any>>;
|
|
4149
4128
|
/**
|
|
4150
4129
|
* Get weather.
|
|
4151
4130
|
* @param {DefaultApiV1GetWeatherRequest} requestParameters Request parameters.
|