@ourskyai/astro-api 1.3.3703 → 1.3.3719
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api.ts +117 -123
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +59 -80
- package/dist/api.js +80 -65
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +59 -80
- package/dist/esm/api.js +80 -65
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/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.3719
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -418,39 +418,6 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
418
418
|
options: localVarRequestOptions,
|
|
419
419
|
};
|
|
420
420
|
}),
|
|
421
|
-
/**
|
|
422
|
-
* Create an autofocus result.
|
|
423
|
-
* @param {V1CreateAutofocusResultRequest} v1CreateAutofocusResultRequest
|
|
424
|
-
* @param {*} [options] Override http request option.
|
|
425
|
-
* @throws {RequiredError}
|
|
426
|
-
*/
|
|
427
|
-
v1CreateAutofocusResult: (v1CreateAutofocusResultRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
428
|
-
// verify required parameter 'v1CreateAutofocusResultRequest' is not null or undefined
|
|
429
|
-
assertParamExists('v1CreateAutofocusResult', 'v1CreateAutofocusResultRequest', v1CreateAutofocusResultRequest);
|
|
430
|
-
const localVarPath = `/v1/autofocus`;
|
|
431
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
432
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
433
|
-
let baseOptions;
|
|
434
|
-
if (configuration) {
|
|
435
|
-
baseOptions = configuration.baseOptions;
|
|
436
|
-
}
|
|
437
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
438
|
-
const localVarHeaderParameter = {};
|
|
439
|
-
const localVarQueryParameter = {};
|
|
440
|
-
// authentication Roles required
|
|
441
|
-
// authentication BearerToken required
|
|
442
|
-
// http bearer authentication required
|
|
443
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
444
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
445
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
446
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
447
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
448
|
-
localVarRequestOptions.data = serializeDataIfNeeded(v1CreateAutofocusResultRequest, localVarRequestOptions, configuration);
|
|
449
|
-
return {
|
|
450
|
-
url: toPathString(localVarUrlObj),
|
|
451
|
-
options: localVarRequestOptions,
|
|
452
|
-
};
|
|
453
|
-
}),
|
|
454
421
|
/**
|
|
455
422
|
* Create a calibration master.
|
|
456
423
|
* @param {V1CreateCalibrationMasterRequest} v1CreateCalibrationMasterRequest
|
|
@@ -1410,6 +1377,52 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1410
1377
|
options: localVarRequestOptions,
|
|
1411
1378
|
};
|
|
1412
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
|
+
}),
|
|
1413
1426
|
/**
|
|
1414
1427
|
* Get weather.
|
|
1415
1428
|
* @param {number} latitude
|
|
@@ -1722,18 +1735,6 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1722
1735
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1723
1736
|
});
|
|
1724
1737
|
},
|
|
1725
|
-
/**
|
|
1726
|
-
* Create an autofocus result.
|
|
1727
|
-
* @param {V1CreateAutofocusResultRequest} v1CreateAutofocusResultRequest
|
|
1728
|
-
* @param {*} [options] Override http request option.
|
|
1729
|
-
* @throws {RequiredError}
|
|
1730
|
-
*/
|
|
1731
|
-
v1CreateAutofocusResult(v1CreateAutofocusResultRequest, options) {
|
|
1732
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1733
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateAutofocusResult(v1CreateAutofocusResultRequest, options);
|
|
1734
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1735
|
-
});
|
|
1736
|
-
},
|
|
1737
1738
|
/**
|
|
1738
1739
|
* Create a calibration master.
|
|
1739
1740
|
* @param {V1CreateCalibrationMasterRequest} v1CreateCalibrationMasterRequest
|
|
@@ -2081,6 +2082,20 @@ export const DefaultApiFp = function (configuration) {
|
|
|
2081
2082
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2082
2083
|
});
|
|
2083
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
|
+
},
|
|
2084
2099
|
/**
|
|
2085
2100
|
* Get weather.
|
|
2086
2101
|
* @param {number} latitude
|
|
@@ -2221,15 +2236,6 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2221
2236
|
v1CreateAstroProjectImageSet(requestParameters, options) {
|
|
2222
2237
|
return localVarFp.v1CreateAstroProjectImageSet(requestParameters.v1CreateAstroProjectImageSetRequest, options).then((request) => request(axios, basePath));
|
|
2223
2238
|
},
|
|
2224
|
-
/**
|
|
2225
|
-
* Create an autofocus result.
|
|
2226
|
-
* @param {DefaultApiV1CreateAutofocusResultRequest} requestParameters Request parameters.
|
|
2227
|
-
* @param {*} [options] Override http request option.
|
|
2228
|
-
* @throws {RequiredError}
|
|
2229
|
-
*/
|
|
2230
|
-
v1CreateAutofocusResult(requestParameters, options) {
|
|
2231
|
-
return localVarFp.v1CreateAutofocusResult(requestParameters.v1CreateAutofocusResultRequest, options).then((request) => request(axios, basePath));
|
|
2232
|
-
},
|
|
2233
2239
|
/**
|
|
2234
2240
|
* Create a calibration master.
|
|
2235
2241
|
* @param {DefaultApiV1CreateCalibrationMasterRequest} requestParameters Request parameters.
|
|
@@ -2485,6 +2491,15 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2485
2491
|
v1GetPlatformCredits(options) {
|
|
2486
2492
|
return localVarFp.v1GetPlatformCredits(options).then((request) => request(axios, basePath));
|
|
2487
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
|
+
},
|
|
2488
2503
|
/**
|
|
2489
2504
|
* Get weather.
|
|
2490
2505
|
* @param {DefaultApiV1GetWeatherRequest} requestParameters Request parameters.
|
|
@@ -2608,16 +2623,6 @@ export class DefaultApi extends BaseAPI {
|
|
|
2608
2623
|
v1CreateAstroProjectImageSet(requestParameters, options) {
|
|
2609
2624
|
return DefaultApiFp(this.configuration).v1CreateAstroProjectImageSet(requestParameters.v1CreateAstroProjectImageSetRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2610
2625
|
}
|
|
2611
|
-
/**
|
|
2612
|
-
* Create an autofocus result.
|
|
2613
|
-
* @param {DefaultApiV1CreateAutofocusResultRequest} requestParameters Request parameters.
|
|
2614
|
-
* @param {*} [options] Override http request option.
|
|
2615
|
-
* @throws {RequiredError}
|
|
2616
|
-
* @memberof DefaultApi
|
|
2617
|
-
*/
|
|
2618
|
-
v1CreateAutofocusResult(requestParameters, options) {
|
|
2619
|
-
return DefaultApiFp(this.configuration).v1CreateAutofocusResult(requestParameters.v1CreateAutofocusResultRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2620
|
-
}
|
|
2621
2626
|
/**
|
|
2622
2627
|
* Create a calibration master.
|
|
2623
2628
|
* @param {DefaultApiV1CreateCalibrationMasterRequest} requestParameters Request parameters.
|
|
@@ -2902,6 +2907,16 @@ export class DefaultApi extends BaseAPI {
|
|
|
2902
2907
|
v1GetPlatformCredits(options) {
|
|
2903
2908
|
return DefaultApiFp(this.configuration).v1GetPlatformCredits(options).then((request) => request(this.axios, this.basePath));
|
|
2904
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
|
+
}
|
|
2905
2920
|
/**
|
|
2906
2921
|
* Get weather.
|
|
2907
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.3719
|
|
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.3719
|
|
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.3719
|
|
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.3719
|
|
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.3719
|
|
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.3719
|
|
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.3719
|
|
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.3719
|
|
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.3719
|
|
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.3719
|
|
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.3719
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|