@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/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.3654
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1380,6 +1380,46 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1380
1380
|
options: localVarRequestOptions,
|
|
1381
1381
|
};
|
|
1382
1382
|
}),
|
|
1383
|
+
/**
|
|
1384
|
+
* Get weather.
|
|
1385
|
+
* @param {number} latitude
|
|
1386
|
+
* @param {number} longitude
|
|
1387
|
+
* @param {*} [options] Override http request option.
|
|
1388
|
+
* @throws {RequiredError}
|
|
1389
|
+
*/
|
|
1390
|
+
v1GetWeather: (latitude, longitude, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1391
|
+
// verify required parameter 'latitude' is not null or undefined
|
|
1392
|
+
(0, common_1.assertParamExists)('v1GetWeather', 'latitude', latitude);
|
|
1393
|
+
// verify required parameter 'longitude' is not null or undefined
|
|
1394
|
+
(0, common_1.assertParamExists)('v1GetWeather', 'longitude', longitude);
|
|
1395
|
+
const localVarPath = `/v1/weather`;
|
|
1396
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1397
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1398
|
+
let baseOptions;
|
|
1399
|
+
if (configuration) {
|
|
1400
|
+
baseOptions = configuration.baseOptions;
|
|
1401
|
+
}
|
|
1402
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1403
|
+
const localVarHeaderParameter = {};
|
|
1404
|
+
const localVarQueryParameter = {};
|
|
1405
|
+
// authentication Roles required
|
|
1406
|
+
// authentication BearerToken required
|
|
1407
|
+
// http bearer authentication required
|
|
1408
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1409
|
+
if (latitude !== undefined) {
|
|
1410
|
+
localVarQueryParameter['latitude'] = latitude;
|
|
1411
|
+
}
|
|
1412
|
+
if (longitude !== undefined) {
|
|
1413
|
+
localVarQueryParameter['longitude'] = longitude;
|
|
1414
|
+
}
|
|
1415
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1416
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1417
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1418
|
+
return {
|
|
1419
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1420
|
+
options: localVarRequestOptions,
|
|
1421
|
+
};
|
|
1422
|
+
}),
|
|
1383
1423
|
/**
|
|
1384
1424
|
* Match astro project.
|
|
1385
1425
|
* @param {string} targetId
|
|
@@ -2000,6 +2040,19 @@ const DefaultApiFp = function (configuration) {
|
|
|
2000
2040
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2001
2041
|
});
|
|
2002
2042
|
},
|
|
2043
|
+
/**
|
|
2044
|
+
* Get weather.
|
|
2045
|
+
* @param {number} latitude
|
|
2046
|
+
* @param {number} longitude
|
|
2047
|
+
* @param {*} [options] Override http request option.
|
|
2048
|
+
* @throws {RequiredError}
|
|
2049
|
+
*/
|
|
2050
|
+
v1GetWeather(latitude, longitude, options) {
|
|
2051
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2052
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetWeather(latitude, longitude, options);
|
|
2053
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2054
|
+
});
|
|
2055
|
+
},
|
|
2003
2056
|
/**
|
|
2004
2057
|
* Match astro project.
|
|
2005
2058
|
* @param {string} targetId
|
|
@@ -2383,6 +2436,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2383
2436
|
v1GetPlatformCredits(options) {
|
|
2384
2437
|
return localVarFp.v1GetPlatformCredits(options).then((request) => request(axios, basePath));
|
|
2385
2438
|
},
|
|
2439
|
+
/**
|
|
2440
|
+
* Get weather.
|
|
2441
|
+
* @param {DefaultApiV1GetWeatherRequest} requestParameters Request parameters.
|
|
2442
|
+
* @param {*} [options] Override http request option.
|
|
2443
|
+
* @throws {RequiredError}
|
|
2444
|
+
*/
|
|
2445
|
+
v1GetWeather(requestParameters, options) {
|
|
2446
|
+
return localVarFp.v1GetWeather(requestParameters.latitude, requestParameters.longitude, options).then((request) => request(axios, basePath));
|
|
2447
|
+
},
|
|
2386
2448
|
/**
|
|
2387
2449
|
* Match astro project.
|
|
2388
2450
|
* @param {DefaultApiV1MatchAstroProjectRequest} requestParameters Request parameters.
|
|
@@ -2782,6 +2844,16 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
2782
2844
|
v1GetPlatformCredits(options) {
|
|
2783
2845
|
return (0, exports.DefaultApiFp)(this.configuration).v1GetPlatformCredits(options).then((request) => request(this.axios, this.basePath));
|
|
2784
2846
|
}
|
|
2847
|
+
/**
|
|
2848
|
+
* Get weather.
|
|
2849
|
+
* @param {DefaultApiV1GetWeatherRequest} requestParameters Request parameters.
|
|
2850
|
+
* @param {*} [options] Override http request option.
|
|
2851
|
+
* @throws {RequiredError}
|
|
2852
|
+
* @memberof DefaultApi
|
|
2853
|
+
*/
|
|
2854
|
+
v1GetWeather(requestParameters, options) {
|
|
2855
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1GetWeather(requestParameters.latitude, requestParameters.longitude, options).then((request) => request(this.axios, this.basePath));
|
|
2856
|
+
}
|
|
2785
2857
|
/**
|
|
2786
2858
|
* Match astro project.
|
|
2787
2859
|
* @param {DefaultApiV1MatchAstroProjectRequest} 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.3654
|
|
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.3654
|
|
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.3654
|
|
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.3654
|
|
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.3654
|
|
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.3654
|
|
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.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.
|
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.3654
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1377,6 +1377,46 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1377
1377
|
options: localVarRequestOptions,
|
|
1378
1378
|
};
|
|
1379
1379
|
}),
|
|
1380
|
+
/**
|
|
1381
|
+
* Get weather.
|
|
1382
|
+
* @param {number} latitude
|
|
1383
|
+
* @param {number} longitude
|
|
1384
|
+
* @param {*} [options] Override http request option.
|
|
1385
|
+
* @throws {RequiredError}
|
|
1386
|
+
*/
|
|
1387
|
+
v1GetWeather: (latitude, longitude, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1388
|
+
// verify required parameter 'latitude' is not null or undefined
|
|
1389
|
+
assertParamExists('v1GetWeather', 'latitude', latitude);
|
|
1390
|
+
// verify required parameter 'longitude' is not null or undefined
|
|
1391
|
+
assertParamExists('v1GetWeather', 'longitude', longitude);
|
|
1392
|
+
const localVarPath = `/v1/weather`;
|
|
1393
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1394
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1395
|
+
let baseOptions;
|
|
1396
|
+
if (configuration) {
|
|
1397
|
+
baseOptions = configuration.baseOptions;
|
|
1398
|
+
}
|
|
1399
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1400
|
+
const localVarHeaderParameter = {};
|
|
1401
|
+
const localVarQueryParameter = {};
|
|
1402
|
+
// authentication Roles required
|
|
1403
|
+
// authentication BearerToken required
|
|
1404
|
+
// http bearer authentication required
|
|
1405
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1406
|
+
if (latitude !== undefined) {
|
|
1407
|
+
localVarQueryParameter['latitude'] = latitude;
|
|
1408
|
+
}
|
|
1409
|
+
if (longitude !== undefined) {
|
|
1410
|
+
localVarQueryParameter['longitude'] = longitude;
|
|
1411
|
+
}
|
|
1412
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1413
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1414
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1415
|
+
return {
|
|
1416
|
+
url: toPathString(localVarUrlObj),
|
|
1417
|
+
options: localVarRequestOptions,
|
|
1418
|
+
};
|
|
1419
|
+
}),
|
|
1380
1420
|
/**
|
|
1381
1421
|
* Match astro project.
|
|
1382
1422
|
* @param {string} targetId
|
|
@@ -1996,6 +2036,19 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1996
2036
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1997
2037
|
});
|
|
1998
2038
|
},
|
|
2039
|
+
/**
|
|
2040
|
+
* Get weather.
|
|
2041
|
+
* @param {number} latitude
|
|
2042
|
+
* @param {number} longitude
|
|
2043
|
+
* @param {*} [options] Override http request option.
|
|
2044
|
+
* @throws {RequiredError}
|
|
2045
|
+
*/
|
|
2046
|
+
v1GetWeather(latitude, longitude, options) {
|
|
2047
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2048
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetWeather(latitude, longitude, options);
|
|
2049
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2050
|
+
});
|
|
2051
|
+
},
|
|
1999
2052
|
/**
|
|
2000
2053
|
* Match astro project.
|
|
2001
2054
|
* @param {string} targetId
|
|
@@ -2378,6 +2431,15 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2378
2431
|
v1GetPlatformCredits(options) {
|
|
2379
2432
|
return localVarFp.v1GetPlatformCredits(options).then((request) => request(axios, basePath));
|
|
2380
2433
|
},
|
|
2434
|
+
/**
|
|
2435
|
+
* Get weather.
|
|
2436
|
+
* @param {DefaultApiV1GetWeatherRequest} requestParameters Request parameters.
|
|
2437
|
+
* @param {*} [options] Override http request option.
|
|
2438
|
+
* @throws {RequiredError}
|
|
2439
|
+
*/
|
|
2440
|
+
v1GetWeather(requestParameters, options) {
|
|
2441
|
+
return localVarFp.v1GetWeather(requestParameters.latitude, requestParameters.longitude, options).then((request) => request(axios, basePath));
|
|
2442
|
+
},
|
|
2381
2443
|
/**
|
|
2382
2444
|
* Match astro project.
|
|
2383
2445
|
* @param {DefaultApiV1MatchAstroProjectRequest} requestParameters Request parameters.
|
|
@@ -2776,6 +2838,16 @@ export class DefaultApi extends BaseAPI {
|
|
|
2776
2838
|
v1GetPlatformCredits(options) {
|
|
2777
2839
|
return DefaultApiFp(this.configuration).v1GetPlatformCredits(options).then((request) => request(this.axios, this.basePath));
|
|
2778
2840
|
}
|
|
2841
|
+
/**
|
|
2842
|
+
* Get weather.
|
|
2843
|
+
* @param {DefaultApiV1GetWeatherRequest} requestParameters Request parameters.
|
|
2844
|
+
* @param {*} [options] Override http request option.
|
|
2845
|
+
* @throws {RequiredError}
|
|
2846
|
+
* @memberof DefaultApi
|
|
2847
|
+
*/
|
|
2848
|
+
v1GetWeather(requestParameters, options) {
|
|
2849
|
+
return DefaultApiFp(this.configuration).v1GetWeather(requestParameters.latitude, requestParameters.longitude, options).then((request) => request(this.axios, this.basePath));
|
|
2850
|
+
}
|
|
2779
2851
|
/**
|
|
2780
2852
|
* Match astro project.
|
|
2781
2853
|
* @param {DefaultApiV1MatchAstroProjectRequest} 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.3654
|
|
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.3654
|
|
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.3654
|
|
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.3654
|
|
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.3654
|
|
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.3654
|
|
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.3654
|
|
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.3654
|
|
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.3654
|
|
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.3654
|
|
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.3654
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|