@ourskyai/astro-api 1.3.3706 → 1.3.3722
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 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +59 -1
- package/dist/api.js +80 -1
- 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 -1
- package/dist/esm/api.js +80 -1
- 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.3722
|
|
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.3722 --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.3722
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3904,6 +3904,62 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3904
3904
|
|
|
3905
3905
|
|
|
3906
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
|
+
|
|
3907
3963
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3908
3964
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3909
3965
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -4556,6 +4612,18 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
4556
4612
|
const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetPlatformCredits(options);
|
|
4557
4613
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4558
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
|
+
},
|
|
4559
4627
|
/**
|
|
4560
4628
|
* Get weather.
|
|
4561
4629
|
* @param {number} latitude
|
|
@@ -4940,6 +5008,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
4940
5008
|
v1GetPlatformCredits(options?: AxiosRequestConfig): AxiosPromise<Array<V1PlatformCredit>> {
|
|
4941
5009
|
return localVarFp.v1GetPlatformCredits(options).then((request) => request(axios, basePath));
|
|
4942
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
|
+
},
|
|
4943
5020
|
/**
|
|
4944
5021
|
* Get weather.
|
|
4945
5022
|
* @param {DefaultApiV1GetWeatherRequest} requestParameters Request parameters.
|
|
@@ -5487,6 +5564,34 @@ export interface DefaultApiV1GetOrCreateOpticalTubeRequest {
|
|
|
5487
5564
|
readonly v1GetOrCreateOpticalTubeRequest: V1GetOrCreateOpticalTubeRequest
|
|
5488
5565
|
}
|
|
5489
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
|
+
|
|
5490
5595
|
/**
|
|
5491
5596
|
* Request parameters for v1GetWeather operation in DefaultApi.
|
|
5492
5597
|
* @export
|
|
@@ -5992,6 +6097,17 @@ export class DefaultApi extends BaseAPI {
|
|
|
5992
6097
|
return DefaultApiFp(this.configuration).v1GetPlatformCredits(options).then((request) => request(this.axios, this.basePath));
|
|
5993
6098
|
}
|
|
5994
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
|
+
|
|
5995
6111
|
/**
|
|
5996
6112
|
* Get weather.
|
|
5997
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.3722
|
|
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.3722
|
|
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.3722
|
|
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.3722
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2590,6 +2590,15 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2590
2590
|
* @throws {RequiredError}
|
|
2591
2591
|
*/
|
|
2592
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>;
|
|
2593
2602
|
/**
|
|
2594
2603
|
* Get weather.
|
|
2595
2604
|
* @param {number} latitude
|
|
@@ -2894,6 +2903,15 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2894
2903
|
* @throws {RequiredError}
|
|
2895
2904
|
*/
|
|
2896
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>>>;
|
|
2897
2915
|
/**
|
|
2898
2916
|
* Get weather.
|
|
2899
2917
|
* @param {number} latitude
|
|
@@ -3186,6 +3204,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
3186
3204
|
* @throws {RequiredError}
|
|
3187
3205
|
*/
|
|
3188
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>>;
|
|
3189
3214
|
/**
|
|
3190
3215
|
* Get weather.
|
|
3191
3216
|
* @param {DefaultApiV1GetWeatherRequest} requestParameters Request parameters.
|
|
@@ -3678,6 +3703,31 @@ export interface DefaultApiV1GetOrCreateOpticalTubeRequest {
|
|
|
3678
3703
|
*/
|
|
3679
3704
|
readonly v1GetOrCreateOpticalTubeRequest: V1GetOrCreateOpticalTubeRequest;
|
|
3680
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
|
+
}
|
|
3681
3731
|
/**
|
|
3682
3732
|
* Request parameters for v1GetWeather operation in DefaultApi.
|
|
3683
3733
|
* @export
|
|
@@ -4067,6 +4117,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
4067
4117
|
* @memberof DefaultApi
|
|
4068
4118
|
*/
|
|
4069
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>>;
|
|
4070
4128
|
/**
|
|
4071
4129
|
* Get weather.
|
|
4072
4130
|
* @param {DefaultApiV1GetWeatherRequest} 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.3722
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1380,6 +1380,52 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1380
1380
|
options: localVarRequestOptions,
|
|
1381
1381
|
};
|
|
1382
1382
|
}),
|
|
1383
|
+
/**
|
|
1384
|
+
* 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.
|
|
1385
|
+
* @param {string} timestamp
|
|
1386
|
+
* @param {string} nodeId
|
|
1387
|
+
* @param {number} [offset]
|
|
1388
|
+
* @param {*} [options] Override http request option.
|
|
1389
|
+
* @throws {RequiredError}
|
|
1390
|
+
*/
|
|
1391
|
+
v1GetVisibleAstroTargets: (timestamp, nodeId, offset, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1392
|
+
// verify required parameter 'timestamp' is not null or undefined
|
|
1393
|
+
(0, common_1.assertParamExists)('v1GetVisibleAstroTargets', 'timestamp', timestamp);
|
|
1394
|
+
// verify required parameter 'nodeId' is not null or undefined
|
|
1395
|
+
(0, common_1.assertParamExists)('v1GetVisibleAstroTargets', 'nodeId', nodeId);
|
|
1396
|
+
const localVarPath = `/v1/visible-astro-targets`;
|
|
1397
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1398
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1399
|
+
let baseOptions;
|
|
1400
|
+
if (configuration) {
|
|
1401
|
+
baseOptions = configuration.baseOptions;
|
|
1402
|
+
}
|
|
1403
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1404
|
+
const localVarHeaderParameter = {};
|
|
1405
|
+
const localVarQueryParameter = {};
|
|
1406
|
+
// authentication Roles required
|
|
1407
|
+
// authentication BearerToken required
|
|
1408
|
+
// http bearer authentication required
|
|
1409
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1410
|
+
if (offset !== undefined) {
|
|
1411
|
+
localVarQueryParameter['offset'] = offset;
|
|
1412
|
+
}
|
|
1413
|
+
if (timestamp !== undefined) {
|
|
1414
|
+
localVarQueryParameter['timestamp'] = (timestamp instanceof Date) ?
|
|
1415
|
+
timestamp.toISOString() :
|
|
1416
|
+
timestamp;
|
|
1417
|
+
}
|
|
1418
|
+
if (nodeId !== undefined) {
|
|
1419
|
+
localVarQueryParameter['nodeId'] = nodeId;
|
|
1420
|
+
}
|
|
1421
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1422
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1423
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1424
|
+
return {
|
|
1425
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1426
|
+
options: localVarRequestOptions,
|
|
1427
|
+
};
|
|
1428
|
+
}),
|
|
1383
1429
|
/**
|
|
1384
1430
|
* Get weather.
|
|
1385
1431
|
* @param {number} latitude
|
|
@@ -2040,6 +2086,20 @@ const DefaultApiFp = function (configuration) {
|
|
|
2040
2086
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2041
2087
|
});
|
|
2042
2088
|
},
|
|
2089
|
+
/**
|
|
2090
|
+
* 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.
|
|
2091
|
+
* @param {string} timestamp
|
|
2092
|
+
* @param {string} nodeId
|
|
2093
|
+
* @param {number} [offset]
|
|
2094
|
+
* @param {*} [options] Override http request option.
|
|
2095
|
+
* @throws {RequiredError}
|
|
2096
|
+
*/
|
|
2097
|
+
v1GetVisibleAstroTargets(timestamp, nodeId, offset, options) {
|
|
2098
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2099
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetVisibleAstroTargets(timestamp, nodeId, offset, options);
|
|
2100
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2101
|
+
});
|
|
2102
|
+
},
|
|
2043
2103
|
/**
|
|
2044
2104
|
* Get weather.
|
|
2045
2105
|
* @param {number} latitude
|
|
@@ -2436,6 +2496,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2436
2496
|
v1GetPlatformCredits(options) {
|
|
2437
2497
|
return localVarFp.v1GetPlatformCredits(options).then((request) => request(axios, basePath));
|
|
2438
2498
|
},
|
|
2499
|
+
/**
|
|
2500
|
+
* 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.
|
|
2501
|
+
* @param {DefaultApiV1GetVisibleAstroTargetsRequest} requestParameters Request parameters.
|
|
2502
|
+
* @param {*} [options] Override http request option.
|
|
2503
|
+
* @throws {RequiredError}
|
|
2504
|
+
*/
|
|
2505
|
+
v1GetVisibleAstroTargets(requestParameters, options) {
|
|
2506
|
+
return localVarFp.v1GetVisibleAstroTargets(requestParameters.timestamp, requestParameters.nodeId, requestParameters.offset, options).then((request) => request(axios, basePath));
|
|
2507
|
+
},
|
|
2439
2508
|
/**
|
|
2440
2509
|
* Get weather.
|
|
2441
2510
|
* @param {DefaultApiV1GetWeatherRequest} requestParameters Request parameters.
|
|
@@ -2844,6 +2913,16 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
2844
2913
|
v1GetPlatformCredits(options) {
|
|
2845
2914
|
return (0, exports.DefaultApiFp)(this.configuration).v1GetPlatformCredits(options).then((request) => request(this.axios, this.basePath));
|
|
2846
2915
|
}
|
|
2916
|
+
/**
|
|
2917
|
+
* 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.
|
|
2918
|
+
* @param {DefaultApiV1GetVisibleAstroTargetsRequest} requestParameters Request parameters.
|
|
2919
|
+
* @param {*} [options] Override http request option.
|
|
2920
|
+
* @throws {RequiredError}
|
|
2921
|
+
* @memberof DefaultApi
|
|
2922
|
+
*/
|
|
2923
|
+
v1GetVisibleAstroTargets(requestParameters, options) {
|
|
2924
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1GetVisibleAstroTargets(requestParameters.timestamp, requestParameters.nodeId, requestParameters.offset, options).then((request) => request(this.axios, this.basePath));
|
|
2925
|
+
}
|
|
2847
2926
|
/**
|
|
2848
2927
|
* Get weather.
|
|
2849
2928
|
* @param {DefaultApiV1GetWeatherRequest} requestParameters Request parameters.
|
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.3722
|
|
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.3722
|
|
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.3722
|
|
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.3722
|
|
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.3722
|
|
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.3722
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OurSky Astro
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.3722
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2590,6 +2590,15 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2590
2590
|
* @throws {RequiredError}
|
|
2591
2591
|
*/
|
|
2592
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>;
|
|
2593
2602
|
/**
|
|
2594
2603
|
* Get weather.
|
|
2595
2604
|
* @param {number} latitude
|
|
@@ -2894,6 +2903,15 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2894
2903
|
* @throws {RequiredError}
|
|
2895
2904
|
*/
|
|
2896
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>>>;
|
|
2897
2915
|
/**
|
|
2898
2916
|
* Get weather.
|
|
2899
2917
|
* @param {number} latitude
|
|
@@ -3186,6 +3204,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
3186
3204
|
* @throws {RequiredError}
|
|
3187
3205
|
*/
|
|
3188
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>>;
|
|
3189
3214
|
/**
|
|
3190
3215
|
* Get weather.
|
|
3191
3216
|
* @param {DefaultApiV1GetWeatherRequest} requestParameters Request parameters.
|
|
@@ -3678,6 +3703,31 @@ export interface DefaultApiV1GetOrCreateOpticalTubeRequest {
|
|
|
3678
3703
|
*/
|
|
3679
3704
|
readonly v1GetOrCreateOpticalTubeRequest: V1GetOrCreateOpticalTubeRequest;
|
|
3680
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
|
+
}
|
|
3681
3731
|
/**
|
|
3682
3732
|
* Request parameters for v1GetWeather operation in DefaultApi.
|
|
3683
3733
|
* @export
|
|
@@ -4067,6 +4117,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
4067
4117
|
* @memberof DefaultApi
|
|
4068
4118
|
*/
|
|
4069
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>>;
|
|
4070
4128
|
/**
|
|
4071
4129
|
* Get weather.
|
|
4072
4130
|
* @param {DefaultApiV1GetWeatherRequest} requestParameters Request parameters.
|
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OurSky Astro
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.3.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.3722
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1377,6 +1377,52 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1377
1377
|
options: localVarRequestOptions,
|
|
1378
1378
|
};
|
|
1379
1379
|
}),
|
|
1380
|
+
/**
|
|
1381
|
+
* 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.
|
|
1382
|
+
* @param {string} timestamp
|
|
1383
|
+
* @param {string} nodeId
|
|
1384
|
+
* @param {number} [offset]
|
|
1385
|
+
* @param {*} [options] Override http request option.
|
|
1386
|
+
* @throws {RequiredError}
|
|
1387
|
+
*/
|
|
1388
|
+
v1GetVisibleAstroTargets: (timestamp, nodeId, offset, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1389
|
+
// verify required parameter 'timestamp' is not null or undefined
|
|
1390
|
+
assertParamExists('v1GetVisibleAstroTargets', 'timestamp', timestamp);
|
|
1391
|
+
// verify required parameter 'nodeId' is not null or undefined
|
|
1392
|
+
assertParamExists('v1GetVisibleAstroTargets', 'nodeId', nodeId);
|
|
1393
|
+
const localVarPath = `/v1/visible-astro-targets`;
|
|
1394
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1395
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1396
|
+
let baseOptions;
|
|
1397
|
+
if (configuration) {
|
|
1398
|
+
baseOptions = configuration.baseOptions;
|
|
1399
|
+
}
|
|
1400
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1401
|
+
const localVarHeaderParameter = {};
|
|
1402
|
+
const localVarQueryParameter = {};
|
|
1403
|
+
// authentication Roles required
|
|
1404
|
+
// authentication BearerToken required
|
|
1405
|
+
// http bearer authentication required
|
|
1406
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1407
|
+
if (offset !== undefined) {
|
|
1408
|
+
localVarQueryParameter['offset'] = offset;
|
|
1409
|
+
}
|
|
1410
|
+
if (timestamp !== undefined) {
|
|
1411
|
+
localVarQueryParameter['timestamp'] = (timestamp instanceof Date) ?
|
|
1412
|
+
timestamp.toISOString() :
|
|
1413
|
+
timestamp;
|
|
1414
|
+
}
|
|
1415
|
+
if (nodeId !== undefined) {
|
|
1416
|
+
localVarQueryParameter['nodeId'] = nodeId;
|
|
1417
|
+
}
|
|
1418
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1419
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1420
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1421
|
+
return {
|
|
1422
|
+
url: toPathString(localVarUrlObj),
|
|
1423
|
+
options: localVarRequestOptions,
|
|
1424
|
+
};
|
|
1425
|
+
}),
|
|
1380
1426
|
/**
|
|
1381
1427
|
* Get weather.
|
|
1382
1428
|
* @param {number} latitude
|
|
@@ -2036,6 +2082,20 @@ export const DefaultApiFp = function (configuration) {
|
|
|
2036
2082
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2037
2083
|
});
|
|
2038
2084
|
},
|
|
2085
|
+
/**
|
|
2086
|
+
* 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.
|
|
2087
|
+
* @param {string} timestamp
|
|
2088
|
+
* @param {string} nodeId
|
|
2089
|
+
* @param {number} [offset]
|
|
2090
|
+
* @param {*} [options] Override http request option.
|
|
2091
|
+
* @throws {RequiredError}
|
|
2092
|
+
*/
|
|
2093
|
+
v1GetVisibleAstroTargets(timestamp, nodeId, offset, options) {
|
|
2094
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2095
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetVisibleAstroTargets(timestamp, nodeId, offset, options);
|
|
2096
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2097
|
+
});
|
|
2098
|
+
},
|
|
2039
2099
|
/**
|
|
2040
2100
|
* Get weather.
|
|
2041
2101
|
* @param {number} latitude
|
|
@@ -2431,6 +2491,15 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2431
2491
|
v1GetPlatformCredits(options) {
|
|
2432
2492
|
return localVarFp.v1GetPlatformCredits(options).then((request) => request(axios, basePath));
|
|
2433
2493
|
},
|
|
2494
|
+
/**
|
|
2495
|
+
* 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.
|
|
2496
|
+
* @param {DefaultApiV1GetVisibleAstroTargetsRequest} requestParameters Request parameters.
|
|
2497
|
+
* @param {*} [options] Override http request option.
|
|
2498
|
+
* @throws {RequiredError}
|
|
2499
|
+
*/
|
|
2500
|
+
v1GetVisibleAstroTargets(requestParameters, options) {
|
|
2501
|
+
return localVarFp.v1GetVisibleAstroTargets(requestParameters.timestamp, requestParameters.nodeId, requestParameters.offset, options).then((request) => request(axios, basePath));
|
|
2502
|
+
},
|
|
2434
2503
|
/**
|
|
2435
2504
|
* Get weather.
|
|
2436
2505
|
* @param {DefaultApiV1GetWeatherRequest} requestParameters Request parameters.
|
|
@@ -2838,6 +2907,16 @@ export class DefaultApi extends BaseAPI {
|
|
|
2838
2907
|
v1GetPlatformCredits(options) {
|
|
2839
2908
|
return DefaultApiFp(this.configuration).v1GetPlatformCredits(options).then((request) => request(this.axios, this.basePath));
|
|
2840
2909
|
}
|
|
2910
|
+
/**
|
|
2911
|
+
* 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.
|
|
2912
|
+
* @param {DefaultApiV1GetVisibleAstroTargetsRequest} requestParameters Request parameters.
|
|
2913
|
+
* @param {*} [options] Override http request option.
|
|
2914
|
+
* @throws {RequiredError}
|
|
2915
|
+
* @memberof DefaultApi
|
|
2916
|
+
*/
|
|
2917
|
+
v1GetVisibleAstroTargets(requestParameters, options) {
|
|
2918
|
+
return DefaultApiFp(this.configuration).v1GetVisibleAstroTargets(requestParameters.timestamp, requestParameters.nodeId, requestParameters.offset, options).then((request) => request(this.axios, this.basePath));
|
|
2919
|
+
}
|
|
2841
2920
|
/**
|
|
2842
2921
|
* Get weather.
|
|
2843
2922
|
* @param {DefaultApiV1GetWeatherRequest} requestParameters Request parameters.
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OurSky Astro
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.3722
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/base.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OurSky Astro
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.3.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.3722
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OurSky Astro
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.3722
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OurSky Astro
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.3.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.3722
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OurSky Astro
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.3722
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OurSky Astro
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.3.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.3722
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OurSky Astro
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.3722
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OurSky Astro
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.3.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.3722
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OurSky Astro
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.3722
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* OurSky Astro
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.3.
|
|
8
|
+
* The version of the OpenAPI document: 1.3.3722
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/index.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OurSky Astro
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.3.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.3722
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|