@ourskyai/astro-api 1.3.3603 → 1.3.3654
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 +275 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +224 -1
- package/dist/api.js +73 -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 +224 -1
- package/dist/esm/api.js +73 -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.3654
|
|
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.3654 --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.3654
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -73,6 +73,154 @@ export const CalibrationMasterType = {
|
|
|
73
73
|
export type CalibrationMasterType = typeof CalibrationMasterType[keyof typeof CalibrationMasterType];
|
|
74
74
|
|
|
75
75
|
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @export
|
|
79
|
+
* @interface DailyWeatherForecastItem
|
|
80
|
+
*/
|
|
81
|
+
export interface DailyWeatherForecastItem {
|
|
82
|
+
/**
|
|
83
|
+
* Timestamp of the weather data
|
|
84
|
+
* @type {number}
|
|
85
|
+
* @memberof DailyWeatherForecastItem
|
|
86
|
+
*/
|
|
87
|
+
'dt'?: number;
|
|
88
|
+
/**
|
|
89
|
+
* Sunrise time in UNIX timestamp
|
|
90
|
+
* @type {number}
|
|
91
|
+
* @memberof DailyWeatherForecastItem
|
|
92
|
+
*/
|
|
93
|
+
'sunrise'?: number;
|
|
94
|
+
/**
|
|
95
|
+
* Sunset time in UNIX timestamp
|
|
96
|
+
* @type {number}
|
|
97
|
+
* @memberof DailyWeatherForecastItem
|
|
98
|
+
*/
|
|
99
|
+
'sunset'?: number;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @type {DailyWeatherForecastItemTemp}
|
|
103
|
+
* @memberof DailyWeatherForecastItem
|
|
104
|
+
*/
|
|
105
|
+
'temp'?: DailyWeatherForecastItemTemp;
|
|
106
|
+
/**
|
|
107
|
+
* Humidity percentage
|
|
108
|
+
* @type {number}
|
|
109
|
+
* @memberof DailyWeatherForecastItem
|
|
110
|
+
*/
|
|
111
|
+
'humidity'?: number;
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
* @type {Array<DailyWeatherForecastItemWeatherInner>}
|
|
115
|
+
* @memberof DailyWeatherForecastItem
|
|
116
|
+
*/
|
|
117
|
+
'weather'?: Array<DailyWeatherForecastItemWeatherInner>;
|
|
118
|
+
/**
|
|
119
|
+
* Wind speed
|
|
120
|
+
* @type {number}
|
|
121
|
+
* @memberof DailyWeatherForecastItem
|
|
122
|
+
*/
|
|
123
|
+
'speed'?: number;
|
|
124
|
+
/**
|
|
125
|
+
* Wind direction in degrees
|
|
126
|
+
* @type {number}
|
|
127
|
+
* @memberof DailyWeatherForecastItem
|
|
128
|
+
*/
|
|
129
|
+
'deg'?: number;
|
|
130
|
+
/**
|
|
131
|
+
* Cloudiness percentage
|
|
132
|
+
* @type {number}
|
|
133
|
+
* @memberof DailyWeatherForecastItem
|
|
134
|
+
*/
|
|
135
|
+
'clouds'?: number;
|
|
136
|
+
/**
|
|
137
|
+
* Probability of precipitation
|
|
138
|
+
* @type {number}
|
|
139
|
+
* @memberof DailyWeatherForecastItem
|
|
140
|
+
*/
|
|
141
|
+
'pop'?: number;
|
|
142
|
+
/**
|
|
143
|
+
* Rain volume for the last 3 hours
|
|
144
|
+
* @type {number}
|
|
145
|
+
* @memberof DailyWeatherForecastItem
|
|
146
|
+
*/
|
|
147
|
+
'rain'?: number;
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
*
|
|
151
|
+
* @export
|
|
152
|
+
* @interface DailyWeatherForecastItemTemp
|
|
153
|
+
*/
|
|
154
|
+
export interface DailyWeatherForecastItemTemp {
|
|
155
|
+
/**
|
|
156
|
+
* Day temperature
|
|
157
|
+
* @type {number}
|
|
158
|
+
* @memberof DailyWeatherForecastItemTemp
|
|
159
|
+
*/
|
|
160
|
+
'day'?: number;
|
|
161
|
+
/**
|
|
162
|
+
* Minimum temperature
|
|
163
|
+
* @type {number}
|
|
164
|
+
* @memberof DailyWeatherForecastItemTemp
|
|
165
|
+
*/
|
|
166
|
+
'min'?: number;
|
|
167
|
+
/**
|
|
168
|
+
* Maximum temperature
|
|
169
|
+
* @type {number}
|
|
170
|
+
* @memberof DailyWeatherForecastItemTemp
|
|
171
|
+
*/
|
|
172
|
+
'max'?: number;
|
|
173
|
+
/**
|
|
174
|
+
* Night temperature
|
|
175
|
+
* @type {number}
|
|
176
|
+
* @memberof DailyWeatherForecastItemTemp
|
|
177
|
+
*/
|
|
178
|
+
'night'?: number;
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
*
|
|
182
|
+
* @export
|
|
183
|
+
* @interface DailyWeatherForecastItemWeatherInner
|
|
184
|
+
*/
|
|
185
|
+
export interface DailyWeatherForecastItemWeatherInner {
|
|
186
|
+
/**
|
|
187
|
+
* Weather condition id
|
|
188
|
+
* @type {number}
|
|
189
|
+
* @memberof DailyWeatherForecastItemWeatherInner
|
|
190
|
+
*/
|
|
191
|
+
'id'?: number;
|
|
192
|
+
/**
|
|
193
|
+
* Group of weather parameters
|
|
194
|
+
* @type {string}
|
|
195
|
+
* @memberof DailyWeatherForecastItemWeatherInner
|
|
196
|
+
*/
|
|
197
|
+
'main'?: string;
|
|
198
|
+
/**
|
|
199
|
+
* Weather condition description
|
|
200
|
+
* @type {string}
|
|
201
|
+
* @memberof DailyWeatherForecastItemWeatherInner
|
|
202
|
+
*/
|
|
203
|
+
'description'?: string;
|
|
204
|
+
/**
|
|
205
|
+
* Weather icon id
|
|
206
|
+
* @type {string}
|
|
207
|
+
* @memberof DailyWeatherForecastItemWeatherInner
|
|
208
|
+
*/
|
|
209
|
+
'icon'?: string;
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
*
|
|
213
|
+
* @export
|
|
214
|
+
* @interface DailyWeatherForecastListResponse
|
|
215
|
+
*/
|
|
216
|
+
export interface DailyWeatherForecastListResponse {
|
|
217
|
+
/**
|
|
218
|
+
*
|
|
219
|
+
* @type {Array<DailyWeatherForecastItem>}
|
|
220
|
+
* @memberof DailyWeatherForecastListResponse
|
|
221
|
+
*/
|
|
222
|
+
'days'?: Array<DailyWeatherForecastItem>;
|
|
223
|
+
}
|
|
76
224
|
/**
|
|
77
225
|
*
|
|
78
226
|
* @export
|
|
@@ -116,6 +264,25 @@ export const FilterType = {
|
|
|
116
264
|
export type FilterType = typeof FilterType[keyof typeof FilterType];
|
|
117
265
|
|
|
118
266
|
|
|
267
|
+
/**
|
|
268
|
+
*
|
|
269
|
+
* @export
|
|
270
|
+
* @interface FitsHeader
|
|
271
|
+
*/
|
|
272
|
+
export interface FitsHeader {
|
|
273
|
+
/**
|
|
274
|
+
*
|
|
275
|
+
* @type {string}
|
|
276
|
+
* @memberof FitsHeader
|
|
277
|
+
*/
|
|
278
|
+
'key': string;
|
|
279
|
+
/**
|
|
280
|
+
*
|
|
281
|
+
* @type {string}
|
|
282
|
+
* @memberof FitsHeader
|
|
283
|
+
*/
|
|
284
|
+
'value': string;
|
|
285
|
+
}
|
|
119
286
|
/**
|
|
120
287
|
* Location
|
|
121
288
|
* @export
|
|
@@ -1681,6 +1848,12 @@ export interface V1ImageSetImage {
|
|
|
1681
1848
|
* @memberof V1ImageSetImage
|
|
1682
1849
|
*/
|
|
1683
1850
|
'exposureLength': number;
|
|
1851
|
+
/**
|
|
1852
|
+
*
|
|
1853
|
+
* @type {Array<FitsHeader>}
|
|
1854
|
+
* @memberof V1ImageSetImage
|
|
1855
|
+
*/
|
|
1856
|
+
'fitsHeaders': Array<FitsHeader>;
|
|
1684
1857
|
}
|
|
1685
1858
|
/**
|
|
1686
1859
|
*
|
|
@@ -3706,6 +3879,55 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3706
3879
|
|
|
3707
3880
|
|
|
3708
3881
|
|
|
3882
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3883
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3884
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3885
|
+
|
|
3886
|
+
return {
|
|
3887
|
+
url: toPathString(localVarUrlObj),
|
|
3888
|
+
options: localVarRequestOptions,
|
|
3889
|
+
};
|
|
3890
|
+
},
|
|
3891
|
+
/**
|
|
3892
|
+
* Get weather.
|
|
3893
|
+
* @param {number} latitude
|
|
3894
|
+
* @param {number} longitude
|
|
3895
|
+
* @param {*} [options] Override http request option.
|
|
3896
|
+
* @throws {RequiredError}
|
|
3897
|
+
*/
|
|
3898
|
+
v1GetWeather: async (latitude: number, longitude: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3899
|
+
// verify required parameter 'latitude' is not null or undefined
|
|
3900
|
+
assertParamExists('v1GetWeather', 'latitude', latitude)
|
|
3901
|
+
// verify required parameter 'longitude' is not null or undefined
|
|
3902
|
+
assertParamExists('v1GetWeather', 'longitude', longitude)
|
|
3903
|
+
const localVarPath = `/v1/weather`;
|
|
3904
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3905
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3906
|
+
let baseOptions;
|
|
3907
|
+
if (configuration) {
|
|
3908
|
+
baseOptions = configuration.baseOptions;
|
|
3909
|
+
}
|
|
3910
|
+
|
|
3911
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
3912
|
+
const localVarHeaderParameter = {} as any;
|
|
3913
|
+
const localVarQueryParameter = {} as any;
|
|
3914
|
+
|
|
3915
|
+
// authentication Roles required
|
|
3916
|
+
|
|
3917
|
+
// authentication BearerToken required
|
|
3918
|
+
// http bearer authentication required
|
|
3919
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3920
|
+
|
|
3921
|
+
if (latitude !== undefined) {
|
|
3922
|
+
localVarQueryParameter['latitude'] = latitude;
|
|
3923
|
+
}
|
|
3924
|
+
|
|
3925
|
+
if (longitude !== undefined) {
|
|
3926
|
+
localVarQueryParameter['longitude'] = longitude;
|
|
3927
|
+
}
|
|
3928
|
+
|
|
3929
|
+
|
|
3930
|
+
|
|
3709
3931
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3710
3932
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3711
3933
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -4309,6 +4531,17 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
4309
4531
|
const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetPlatformCredits(options);
|
|
4310
4532
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4311
4533
|
},
|
|
4534
|
+
/**
|
|
4535
|
+
* Get weather.
|
|
4536
|
+
* @param {number} latitude
|
|
4537
|
+
* @param {number} longitude
|
|
4538
|
+
* @param {*} [options] Override http request option.
|
|
4539
|
+
* @throws {RequiredError}
|
|
4540
|
+
*/
|
|
4541
|
+
async v1GetWeather(latitude: number, longitude: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DailyWeatherForecastListResponse>> {
|
|
4542
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetWeather(latitude, longitude, options);
|
|
4543
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4544
|
+
},
|
|
4312
4545
|
/**
|
|
4313
4546
|
* Match astro project.
|
|
4314
4547
|
* @param {string} targetId
|
|
@@ -4682,6 +4915,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
4682
4915
|
v1GetPlatformCredits(options?: AxiosRequestConfig): AxiosPromise<Array<V1PlatformCredit>> {
|
|
4683
4916
|
return localVarFp.v1GetPlatformCredits(options).then((request) => request(axios, basePath));
|
|
4684
4917
|
},
|
|
4918
|
+
/**
|
|
4919
|
+
* Get weather.
|
|
4920
|
+
* @param {DefaultApiV1GetWeatherRequest} requestParameters Request parameters.
|
|
4921
|
+
* @param {*} [options] Override http request option.
|
|
4922
|
+
* @throws {RequiredError}
|
|
4923
|
+
*/
|
|
4924
|
+
v1GetWeather(requestParameters: DefaultApiV1GetWeatherRequest, options?: AxiosRequestConfig): AxiosPromise<DailyWeatherForecastListResponse> {
|
|
4925
|
+
return localVarFp.v1GetWeather(requestParameters.latitude, requestParameters.longitude, options).then((request) => request(axios, basePath));
|
|
4926
|
+
},
|
|
4685
4927
|
/**
|
|
4686
4928
|
* Match astro project.
|
|
4687
4929
|
* @param {DefaultApiV1MatchAstroProjectRequest} requestParameters Request parameters.
|
|
@@ -5220,6 +5462,27 @@ export interface DefaultApiV1GetOrCreateOpticalTubeRequest {
|
|
|
5220
5462
|
readonly v1GetOrCreateOpticalTubeRequest: V1GetOrCreateOpticalTubeRequest
|
|
5221
5463
|
}
|
|
5222
5464
|
|
|
5465
|
+
/**
|
|
5466
|
+
* Request parameters for v1GetWeather operation in DefaultApi.
|
|
5467
|
+
* @export
|
|
5468
|
+
* @interface DefaultApiV1GetWeatherRequest
|
|
5469
|
+
*/
|
|
5470
|
+
export interface DefaultApiV1GetWeatherRequest {
|
|
5471
|
+
/**
|
|
5472
|
+
*
|
|
5473
|
+
* @type {number}
|
|
5474
|
+
* @memberof DefaultApiV1GetWeather
|
|
5475
|
+
*/
|
|
5476
|
+
readonly latitude: number
|
|
5477
|
+
|
|
5478
|
+
/**
|
|
5479
|
+
*
|
|
5480
|
+
* @type {number}
|
|
5481
|
+
* @memberof DefaultApiV1GetWeather
|
|
5482
|
+
*/
|
|
5483
|
+
readonly longitude: number
|
|
5484
|
+
}
|
|
5485
|
+
|
|
5223
5486
|
/**
|
|
5224
5487
|
* Request parameters for v1MatchAstroProject operation in DefaultApi.
|
|
5225
5488
|
* @export
|
|
@@ -5704,6 +5967,17 @@ export class DefaultApi extends BaseAPI {
|
|
|
5704
5967
|
return DefaultApiFp(this.configuration).v1GetPlatformCredits(options).then((request) => request(this.axios, this.basePath));
|
|
5705
5968
|
}
|
|
5706
5969
|
|
|
5970
|
+
/**
|
|
5971
|
+
* Get weather.
|
|
5972
|
+
* @param {DefaultApiV1GetWeatherRequest} requestParameters Request parameters.
|
|
5973
|
+
* @param {*} [options] Override http request option.
|
|
5974
|
+
* @throws {RequiredError}
|
|
5975
|
+
* @memberof DefaultApi
|
|
5976
|
+
*/
|
|
5977
|
+
public v1GetWeather(requestParameters: DefaultApiV1GetWeatherRequest, options?: AxiosRequestConfig) {
|
|
5978
|
+
return DefaultApiFp(this.configuration).v1GetWeather(requestParameters.latitude, requestParameters.longitude, options).then((request) => request(this.axios, this.basePath));
|
|
5979
|
+
}
|
|
5980
|
+
|
|
5707
5981
|
/**
|
|
5708
5982
|
* Match astro project.
|
|
5709
5983
|
* @param {DefaultApiV1MatchAstroProjectRequest} 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.3654
|
|
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.3654
|
|
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.3654
|
|
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.3654
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -51,6 +51,154 @@ export declare const CalibrationMasterType: {
|
|
|
51
51
|
readonly BIAS: "BIAS";
|
|
52
52
|
};
|
|
53
53
|
export type CalibrationMasterType = typeof CalibrationMasterType[keyof typeof CalibrationMasterType];
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @export
|
|
57
|
+
* @interface DailyWeatherForecastItem
|
|
58
|
+
*/
|
|
59
|
+
export interface DailyWeatherForecastItem {
|
|
60
|
+
/**
|
|
61
|
+
* Timestamp of the weather data
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof DailyWeatherForecastItem
|
|
64
|
+
*/
|
|
65
|
+
'dt'?: number;
|
|
66
|
+
/**
|
|
67
|
+
* Sunrise time in UNIX timestamp
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof DailyWeatherForecastItem
|
|
70
|
+
*/
|
|
71
|
+
'sunrise'?: number;
|
|
72
|
+
/**
|
|
73
|
+
* Sunset time in UNIX timestamp
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof DailyWeatherForecastItem
|
|
76
|
+
*/
|
|
77
|
+
'sunset'?: number;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {DailyWeatherForecastItemTemp}
|
|
81
|
+
* @memberof DailyWeatherForecastItem
|
|
82
|
+
*/
|
|
83
|
+
'temp'?: DailyWeatherForecastItemTemp;
|
|
84
|
+
/**
|
|
85
|
+
* Humidity percentage
|
|
86
|
+
* @type {number}
|
|
87
|
+
* @memberof DailyWeatherForecastItem
|
|
88
|
+
*/
|
|
89
|
+
'humidity'?: number;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {Array<DailyWeatherForecastItemWeatherInner>}
|
|
93
|
+
* @memberof DailyWeatherForecastItem
|
|
94
|
+
*/
|
|
95
|
+
'weather'?: Array<DailyWeatherForecastItemWeatherInner>;
|
|
96
|
+
/**
|
|
97
|
+
* Wind speed
|
|
98
|
+
* @type {number}
|
|
99
|
+
* @memberof DailyWeatherForecastItem
|
|
100
|
+
*/
|
|
101
|
+
'speed'?: number;
|
|
102
|
+
/**
|
|
103
|
+
* Wind direction in degrees
|
|
104
|
+
* @type {number}
|
|
105
|
+
* @memberof DailyWeatherForecastItem
|
|
106
|
+
*/
|
|
107
|
+
'deg'?: number;
|
|
108
|
+
/**
|
|
109
|
+
* Cloudiness percentage
|
|
110
|
+
* @type {number}
|
|
111
|
+
* @memberof DailyWeatherForecastItem
|
|
112
|
+
*/
|
|
113
|
+
'clouds'?: number;
|
|
114
|
+
/**
|
|
115
|
+
* Probability of precipitation
|
|
116
|
+
* @type {number}
|
|
117
|
+
* @memberof DailyWeatherForecastItem
|
|
118
|
+
*/
|
|
119
|
+
'pop'?: number;
|
|
120
|
+
/**
|
|
121
|
+
* Rain volume for the last 3 hours
|
|
122
|
+
* @type {number}
|
|
123
|
+
* @memberof DailyWeatherForecastItem
|
|
124
|
+
*/
|
|
125
|
+
'rain'?: number;
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
*
|
|
129
|
+
* @export
|
|
130
|
+
* @interface DailyWeatherForecastItemTemp
|
|
131
|
+
*/
|
|
132
|
+
export interface DailyWeatherForecastItemTemp {
|
|
133
|
+
/**
|
|
134
|
+
* Day temperature
|
|
135
|
+
* @type {number}
|
|
136
|
+
* @memberof DailyWeatherForecastItemTemp
|
|
137
|
+
*/
|
|
138
|
+
'day'?: number;
|
|
139
|
+
/**
|
|
140
|
+
* Minimum temperature
|
|
141
|
+
* @type {number}
|
|
142
|
+
* @memberof DailyWeatherForecastItemTemp
|
|
143
|
+
*/
|
|
144
|
+
'min'?: number;
|
|
145
|
+
/**
|
|
146
|
+
* Maximum temperature
|
|
147
|
+
* @type {number}
|
|
148
|
+
* @memberof DailyWeatherForecastItemTemp
|
|
149
|
+
*/
|
|
150
|
+
'max'?: number;
|
|
151
|
+
/**
|
|
152
|
+
* Night temperature
|
|
153
|
+
* @type {number}
|
|
154
|
+
* @memberof DailyWeatherForecastItemTemp
|
|
155
|
+
*/
|
|
156
|
+
'night'?: number;
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
*
|
|
160
|
+
* @export
|
|
161
|
+
* @interface DailyWeatherForecastItemWeatherInner
|
|
162
|
+
*/
|
|
163
|
+
export interface DailyWeatherForecastItemWeatherInner {
|
|
164
|
+
/**
|
|
165
|
+
* Weather condition id
|
|
166
|
+
* @type {number}
|
|
167
|
+
* @memberof DailyWeatherForecastItemWeatherInner
|
|
168
|
+
*/
|
|
169
|
+
'id'?: number;
|
|
170
|
+
/**
|
|
171
|
+
* Group of weather parameters
|
|
172
|
+
* @type {string}
|
|
173
|
+
* @memberof DailyWeatherForecastItemWeatherInner
|
|
174
|
+
*/
|
|
175
|
+
'main'?: string;
|
|
176
|
+
/**
|
|
177
|
+
* Weather condition description
|
|
178
|
+
* @type {string}
|
|
179
|
+
* @memberof DailyWeatherForecastItemWeatherInner
|
|
180
|
+
*/
|
|
181
|
+
'description'?: string;
|
|
182
|
+
/**
|
|
183
|
+
* Weather icon id
|
|
184
|
+
* @type {string}
|
|
185
|
+
* @memberof DailyWeatherForecastItemWeatherInner
|
|
186
|
+
*/
|
|
187
|
+
'icon'?: string;
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
*
|
|
191
|
+
* @export
|
|
192
|
+
* @interface DailyWeatherForecastListResponse
|
|
193
|
+
*/
|
|
194
|
+
export interface DailyWeatherForecastListResponse {
|
|
195
|
+
/**
|
|
196
|
+
*
|
|
197
|
+
* @type {Array<DailyWeatherForecastItem>}
|
|
198
|
+
* @memberof DailyWeatherForecastListResponse
|
|
199
|
+
*/
|
|
200
|
+
'days'?: Array<DailyWeatherForecastItem>;
|
|
201
|
+
}
|
|
54
202
|
/**
|
|
55
203
|
*
|
|
56
204
|
* @export
|
|
@@ -90,6 +238,25 @@ export declare const FilterType: {
|
|
|
90
238
|
readonly PHOTO_COUSINS_I: "PHOTO_COUSINS_I";
|
|
91
239
|
};
|
|
92
240
|
export type FilterType = typeof FilterType[keyof typeof FilterType];
|
|
241
|
+
/**
|
|
242
|
+
*
|
|
243
|
+
* @export
|
|
244
|
+
* @interface FitsHeader
|
|
245
|
+
*/
|
|
246
|
+
export interface FitsHeader {
|
|
247
|
+
/**
|
|
248
|
+
*
|
|
249
|
+
* @type {string}
|
|
250
|
+
* @memberof FitsHeader
|
|
251
|
+
*/
|
|
252
|
+
'key': string;
|
|
253
|
+
/**
|
|
254
|
+
*
|
|
255
|
+
* @type {string}
|
|
256
|
+
* @memberof FitsHeader
|
|
257
|
+
*/
|
|
258
|
+
'value': string;
|
|
259
|
+
}
|
|
93
260
|
/**
|
|
94
261
|
* Location
|
|
95
262
|
* @export
|
|
@@ -1607,6 +1774,12 @@ export interface V1ImageSetImage {
|
|
|
1607
1774
|
* @memberof V1ImageSetImage
|
|
1608
1775
|
*/
|
|
1609
1776
|
'exposureLength': number;
|
|
1777
|
+
/**
|
|
1778
|
+
*
|
|
1779
|
+
* @type {Array<FitsHeader>}
|
|
1780
|
+
* @memberof V1ImageSetImage
|
|
1781
|
+
*/
|
|
1782
|
+
'fitsHeaders': Array<FitsHeader>;
|
|
1610
1783
|
}
|
|
1611
1784
|
/**
|
|
1612
1785
|
*
|
|
@@ -2392,6 +2565,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2392
2565
|
* @throws {RequiredError}
|
|
2393
2566
|
*/
|
|
2394
2567
|
v1GetPlatformCredits: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2568
|
+
/**
|
|
2569
|
+
* Get weather.
|
|
2570
|
+
* @param {number} latitude
|
|
2571
|
+
* @param {number} longitude
|
|
2572
|
+
* @param {*} [options] Override http request option.
|
|
2573
|
+
* @throws {RequiredError}
|
|
2574
|
+
*/
|
|
2575
|
+
v1GetWeather: (latitude: number, longitude: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2395
2576
|
/**
|
|
2396
2577
|
* Match astro project.
|
|
2397
2578
|
* @param {string} targetId
|
|
@@ -2688,6 +2869,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2688
2869
|
* @throws {RequiredError}
|
|
2689
2870
|
*/
|
|
2690
2871
|
v1GetPlatformCredits(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1PlatformCredit>>>;
|
|
2872
|
+
/**
|
|
2873
|
+
* Get weather.
|
|
2874
|
+
* @param {number} latitude
|
|
2875
|
+
* @param {number} longitude
|
|
2876
|
+
* @param {*} [options] Override http request option.
|
|
2877
|
+
* @throws {RequiredError}
|
|
2878
|
+
*/
|
|
2879
|
+
v1GetWeather(latitude: number, longitude: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DailyWeatherForecastListResponse>>;
|
|
2691
2880
|
/**
|
|
2692
2881
|
* Match astro project.
|
|
2693
2882
|
* @param {string} targetId
|
|
@@ -2972,6 +3161,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2972
3161
|
* @throws {RequiredError}
|
|
2973
3162
|
*/
|
|
2974
3163
|
v1GetPlatformCredits(options?: AxiosRequestConfig): AxiosPromise<Array<V1PlatformCredit>>;
|
|
3164
|
+
/**
|
|
3165
|
+
* Get weather.
|
|
3166
|
+
* @param {DefaultApiV1GetWeatherRequest} requestParameters Request parameters.
|
|
3167
|
+
* @param {*} [options] Override http request option.
|
|
3168
|
+
* @throws {RequiredError}
|
|
3169
|
+
*/
|
|
3170
|
+
v1GetWeather(requestParameters: DefaultApiV1GetWeatherRequest, options?: AxiosRequestConfig): AxiosPromise<DailyWeatherForecastListResponse>;
|
|
2975
3171
|
/**
|
|
2976
3172
|
* Match astro project.
|
|
2977
3173
|
* @param {DefaultApiV1MatchAstroProjectRequest} requestParameters Request parameters.
|
|
@@ -3457,6 +3653,25 @@ export interface DefaultApiV1GetOrCreateOpticalTubeRequest {
|
|
|
3457
3653
|
*/
|
|
3458
3654
|
readonly v1GetOrCreateOpticalTubeRequest: V1GetOrCreateOpticalTubeRequest;
|
|
3459
3655
|
}
|
|
3656
|
+
/**
|
|
3657
|
+
* Request parameters for v1GetWeather operation in DefaultApi.
|
|
3658
|
+
* @export
|
|
3659
|
+
* @interface DefaultApiV1GetWeatherRequest
|
|
3660
|
+
*/
|
|
3661
|
+
export interface DefaultApiV1GetWeatherRequest {
|
|
3662
|
+
/**
|
|
3663
|
+
*
|
|
3664
|
+
* @type {number}
|
|
3665
|
+
* @memberof DefaultApiV1GetWeather
|
|
3666
|
+
*/
|
|
3667
|
+
readonly latitude: number;
|
|
3668
|
+
/**
|
|
3669
|
+
*
|
|
3670
|
+
* @type {number}
|
|
3671
|
+
* @memberof DefaultApiV1GetWeather
|
|
3672
|
+
*/
|
|
3673
|
+
readonly longitude: number;
|
|
3674
|
+
}
|
|
3460
3675
|
/**
|
|
3461
3676
|
* Request parameters for v1MatchAstroProject operation in DefaultApi.
|
|
3462
3677
|
* @export
|
|
@@ -3827,6 +4042,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3827
4042
|
* @memberof DefaultApi
|
|
3828
4043
|
*/
|
|
3829
4044
|
v1GetPlatformCredits(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<V1PlatformCredit[], any>>;
|
|
4045
|
+
/**
|
|
4046
|
+
* Get weather.
|
|
4047
|
+
* @param {DefaultApiV1GetWeatherRequest} requestParameters Request parameters.
|
|
4048
|
+
* @param {*} [options] Override http request option.
|
|
4049
|
+
* @throws {RequiredError}
|
|
4050
|
+
* @memberof DefaultApi
|
|
4051
|
+
*/
|
|
4052
|
+
v1GetWeather(requestParameters: DefaultApiV1GetWeatherRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DailyWeatherForecastListResponse, any>>;
|
|
3830
4053
|
/**
|
|
3831
4054
|
* Match astro project.
|
|
3832
4055
|
* @param {DefaultApiV1MatchAstroProjectRequest} requestParameters Request parameters.
|