@ourskyai/sda-api 1.3.1856 → 1.3.1905
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 +123 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +70 -1
- package/dist/api.js +75 -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 +70 -1
- package/dist/esm/api.js +75 -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/sda-api@1.3.
|
|
1
|
+
## @ourskyai/sda-api@1.3.1905
|
|
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/sda-api@1.3.
|
|
39
|
+
npm install @ourskyai/sda-api@1.3.1905 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OurSky SDA
|
|
5
5
|
* The basic flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#operation/v1GetSatelliteTargets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#operation/v1CreateOrganizationTarget) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#operation/v1CreateWebhookConfiguration) endpoint to receive TDMs automatically (preferred) or use the [tdms](#operation/v1GetTdms) endpoint to poll for TDMs.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.3.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.1905
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -627,6 +627,25 @@ export interface V1OrganizationTarget {
|
|
|
627
627
|
*/
|
|
628
628
|
'createdAt': string;
|
|
629
629
|
}
|
|
630
|
+
/**
|
|
631
|
+
* SatellitePotential
|
|
632
|
+
* @export
|
|
633
|
+
* @interface V1SatellitePotential
|
|
634
|
+
*/
|
|
635
|
+
export interface V1SatellitePotential {
|
|
636
|
+
/**
|
|
637
|
+
*
|
|
638
|
+
* @type {string}
|
|
639
|
+
* @memberof V1SatellitePotential
|
|
640
|
+
*/
|
|
641
|
+
'firstObservableTime': string;
|
|
642
|
+
/**
|
|
643
|
+
*
|
|
644
|
+
* @type {string}
|
|
645
|
+
* @memberof V1SatellitePotential
|
|
646
|
+
*/
|
|
647
|
+
'lastObservableTime': string;
|
|
648
|
+
}
|
|
630
649
|
/**
|
|
631
650
|
* Satellite Target
|
|
632
651
|
* @export
|
|
@@ -1295,6 +1314,57 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
1295
1314
|
|
|
1296
1315
|
|
|
1297
1316
|
|
|
1317
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1318
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1319
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1320
|
+
|
|
1321
|
+
return {
|
|
1322
|
+
url: toPathString(localVarUrlObj),
|
|
1323
|
+
options: localVarRequestOptions,
|
|
1324
|
+
};
|
|
1325
|
+
},
|
|
1326
|
+
/**
|
|
1327
|
+
* Get potential observation windows for a satellite across the network from now until the `until` datetime
|
|
1328
|
+
* @param {string} satelliteTargetId
|
|
1329
|
+
* @param {string} until
|
|
1330
|
+
* @param {*} [options] Override http request option.
|
|
1331
|
+
* @throws {RequiredError}
|
|
1332
|
+
*/
|
|
1333
|
+
v1GetSatellitePotentials: async (satelliteTargetId: string, until: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1334
|
+
// verify required parameter 'satelliteTargetId' is not null or undefined
|
|
1335
|
+
assertParamExists('v1GetSatellitePotentials', 'satelliteTargetId', satelliteTargetId)
|
|
1336
|
+
// verify required parameter 'until' is not null or undefined
|
|
1337
|
+
assertParamExists('v1GetSatellitePotentials', 'until', until)
|
|
1338
|
+
const localVarPath = `/v1/satellite-target-potentials`;
|
|
1339
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1340
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1341
|
+
let baseOptions;
|
|
1342
|
+
if (configuration) {
|
|
1343
|
+
baseOptions = configuration.baseOptions;
|
|
1344
|
+
}
|
|
1345
|
+
|
|
1346
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1347
|
+
const localVarHeaderParameter = {} as any;
|
|
1348
|
+
const localVarQueryParameter = {} as any;
|
|
1349
|
+
|
|
1350
|
+
// authentication Roles required
|
|
1351
|
+
|
|
1352
|
+
// authentication BearerToken required
|
|
1353
|
+
// http bearer authentication required
|
|
1354
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1355
|
+
|
|
1356
|
+
if (satelliteTargetId !== undefined) {
|
|
1357
|
+
localVarQueryParameter['satelliteTargetId'] = satelliteTargetId;
|
|
1358
|
+
}
|
|
1359
|
+
|
|
1360
|
+
if (until !== undefined) {
|
|
1361
|
+
localVarQueryParameter['until'] = (until as any instanceof Date) ?
|
|
1362
|
+
(until as any).toISOString() :
|
|
1363
|
+
until;
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1366
|
+
|
|
1367
|
+
|
|
1298
1368
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1299
1369
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1300
1370
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1643,6 +1713,17 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
1643
1713
|
const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetOrganizationTargets(options);
|
|
1644
1714
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1645
1715
|
},
|
|
1716
|
+
/**
|
|
1717
|
+
* Get potential observation windows for a satellite across the network from now until the `until` datetime
|
|
1718
|
+
* @param {string} satelliteTargetId
|
|
1719
|
+
* @param {string} until
|
|
1720
|
+
* @param {*} [options] Override http request option.
|
|
1721
|
+
* @throws {RequiredError}
|
|
1722
|
+
*/
|
|
1723
|
+
async v1GetSatellitePotentials(satelliteTargetId: string, until: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1SatellitePotential>>> {
|
|
1724
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetSatellitePotentials(satelliteTargetId, until, options);
|
|
1725
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1726
|
+
},
|
|
1646
1727
|
/**
|
|
1647
1728
|
* The available satellite objects that the OurSky platform can currently track.
|
|
1648
1729
|
* @param {OrbitType} [orbitType]
|
|
@@ -1810,6 +1891,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
1810
1891
|
v1GetOrganizationTargets(options?: AxiosRequestConfig): AxiosPromise<Array<V1OrganizationTarget>> {
|
|
1811
1892
|
return localVarFp.v1GetOrganizationTargets(options).then((request) => request(axios, basePath));
|
|
1812
1893
|
},
|
|
1894
|
+
/**
|
|
1895
|
+
* Get potential observation windows for a satellite across the network from now until the `until` datetime
|
|
1896
|
+
* @param {DefaultApiV1GetSatellitePotentialsRequest} requestParameters Request parameters.
|
|
1897
|
+
* @param {*} [options] Override http request option.
|
|
1898
|
+
* @throws {RequiredError}
|
|
1899
|
+
*/
|
|
1900
|
+
v1GetSatellitePotentials(requestParameters: DefaultApiV1GetSatellitePotentialsRequest, options?: AxiosRequestConfig): AxiosPromise<Array<V1SatellitePotential>> {
|
|
1901
|
+
return localVarFp.v1GetSatellitePotentials(requestParameters.satelliteTargetId, requestParameters.until, options).then((request) => request(axios, basePath));
|
|
1902
|
+
},
|
|
1813
1903
|
/**
|
|
1814
1904
|
* The available satellite objects that the OurSky platform can currently track.
|
|
1815
1905
|
* @param {DefaultApiV1GetSatelliteTargetsRequest} requestParameters Request parameters.
|
|
@@ -2004,6 +2094,27 @@ export interface DefaultApiV1GetObservationSequenceResultsRequest {
|
|
|
2004
2094
|
readonly after?: string
|
|
2005
2095
|
}
|
|
2006
2096
|
|
|
2097
|
+
/**
|
|
2098
|
+
* Request parameters for v1GetSatellitePotentials operation in DefaultApi.
|
|
2099
|
+
* @export
|
|
2100
|
+
* @interface DefaultApiV1GetSatellitePotentialsRequest
|
|
2101
|
+
*/
|
|
2102
|
+
export interface DefaultApiV1GetSatellitePotentialsRequest {
|
|
2103
|
+
/**
|
|
2104
|
+
*
|
|
2105
|
+
* @type {string}
|
|
2106
|
+
* @memberof DefaultApiV1GetSatellitePotentials
|
|
2107
|
+
*/
|
|
2108
|
+
readonly satelliteTargetId: string
|
|
2109
|
+
|
|
2110
|
+
/**
|
|
2111
|
+
*
|
|
2112
|
+
* @type {string}
|
|
2113
|
+
* @memberof DefaultApiV1GetSatellitePotentials
|
|
2114
|
+
*/
|
|
2115
|
+
readonly until: string
|
|
2116
|
+
}
|
|
2117
|
+
|
|
2007
2118
|
/**
|
|
2008
2119
|
* Request parameters for v1GetSatelliteTargets operation in DefaultApi.
|
|
2009
2120
|
* @export
|
|
@@ -2211,6 +2322,17 @@ export class DefaultApi extends BaseAPI {
|
|
|
2211
2322
|
return DefaultApiFp(this.configuration).v1GetOrganizationTargets(options).then((request) => request(this.axios, this.basePath));
|
|
2212
2323
|
}
|
|
2213
2324
|
|
|
2325
|
+
/**
|
|
2326
|
+
* Get potential observation windows for a satellite across the network from now until the `until` datetime
|
|
2327
|
+
* @param {DefaultApiV1GetSatellitePotentialsRequest} requestParameters Request parameters.
|
|
2328
|
+
* @param {*} [options] Override http request option.
|
|
2329
|
+
* @throws {RequiredError}
|
|
2330
|
+
* @memberof DefaultApi
|
|
2331
|
+
*/
|
|
2332
|
+
public v1GetSatellitePotentials(requestParameters: DefaultApiV1GetSatellitePotentialsRequest, options?: AxiosRequestConfig) {
|
|
2333
|
+
return DefaultApiFp(this.configuration).v1GetSatellitePotentials(requestParameters.satelliteTargetId, requestParameters.until, options).then((request) => request(this.axios, this.basePath));
|
|
2334
|
+
}
|
|
2335
|
+
|
|
2214
2336
|
/**
|
|
2215
2337
|
* The available satellite objects that the OurSky platform can currently track.
|
|
2216
2338
|
* @param {DefaultApiV1GetSatelliteTargetsRequest} requestParameters Request parameters.
|
package/base.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OurSky SDA
|
|
5
5
|
* The basic flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#operation/v1GetSatelliteTargets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#operation/v1CreateOrganizationTarget) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#operation/v1CreateWebhookConfiguration) endpoint to receive TDMs automatically (preferred) or use the [tdms](#operation/v1GetTdms) endpoint to poll for TDMs.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.3.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.1905
|
|
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 SDA
|
|
5
5
|
* The basic flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#operation/v1GetSatelliteTargets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#operation/v1CreateOrganizationTarget) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#operation/v1CreateWebhookConfiguration) endpoint to receive TDMs automatically (preferred) or use the [tdms](#operation/v1GetTdms) endpoint to poll for TDMs.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.3.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.1905
|
|
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 SDA
|
|
5
5
|
* The basic flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#operation/v1GetSatelliteTargets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#operation/v1CreateOrganizationTarget) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#operation/v1CreateWebhookConfiguration) endpoint to receive TDMs automatically (preferred) or use the [tdms](#operation/v1GetTdms) endpoint to poll for TDMs.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.3.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.1905
|
|
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 SDA
|
|
3
3
|
* The basic flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#operation/v1GetSatelliteTargets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#operation/v1CreateOrganizationTarget) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#operation/v1CreateWebhookConfiguration) endpoint to receive TDMs automatically (preferred) or use the [tdms](#operation/v1GetTdms) endpoint to poll for TDMs.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.1905
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -601,6 +601,25 @@ export interface V1OrganizationTarget {
|
|
|
601
601
|
*/
|
|
602
602
|
'createdAt': string;
|
|
603
603
|
}
|
|
604
|
+
/**
|
|
605
|
+
* SatellitePotential
|
|
606
|
+
* @export
|
|
607
|
+
* @interface V1SatellitePotential
|
|
608
|
+
*/
|
|
609
|
+
export interface V1SatellitePotential {
|
|
610
|
+
/**
|
|
611
|
+
*
|
|
612
|
+
* @type {string}
|
|
613
|
+
* @memberof V1SatellitePotential
|
|
614
|
+
*/
|
|
615
|
+
'firstObservableTime': string;
|
|
616
|
+
/**
|
|
617
|
+
*
|
|
618
|
+
* @type {string}
|
|
619
|
+
* @memberof V1SatellitePotential
|
|
620
|
+
*/
|
|
621
|
+
'lastObservableTime': string;
|
|
622
|
+
}
|
|
604
623
|
/**
|
|
605
624
|
* Satellite Target
|
|
606
625
|
* @export
|
|
@@ -862,6 +881,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
862
881
|
* @throws {RequiredError}
|
|
863
882
|
*/
|
|
864
883
|
v1GetOrganizationTargets: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
884
|
+
/**
|
|
885
|
+
* Get potential observation windows for a satellite across the network from now until the `until` datetime
|
|
886
|
+
* @param {string} satelliteTargetId
|
|
887
|
+
* @param {string} until
|
|
888
|
+
* @param {*} [options] Override http request option.
|
|
889
|
+
* @throws {RequiredError}
|
|
890
|
+
*/
|
|
891
|
+
v1GetSatellitePotentials: (satelliteTargetId: string, until: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
865
892
|
/**
|
|
866
893
|
* The available satellite objects that the OurSky platform can currently track.
|
|
867
894
|
* @param {OrbitType} [orbitType]
|
|
@@ -987,6 +1014,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
987
1014
|
* @throws {RequiredError}
|
|
988
1015
|
*/
|
|
989
1016
|
v1GetOrganizationTargets(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1OrganizationTarget>>>;
|
|
1017
|
+
/**
|
|
1018
|
+
* Get potential observation windows for a satellite across the network from now until the `until` datetime
|
|
1019
|
+
* @param {string} satelliteTargetId
|
|
1020
|
+
* @param {string} until
|
|
1021
|
+
* @param {*} [options] Override http request option.
|
|
1022
|
+
* @throws {RequiredError}
|
|
1023
|
+
*/
|
|
1024
|
+
v1GetSatellitePotentials(satelliteTargetId: string, until: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1SatellitePotential>>>;
|
|
990
1025
|
/**
|
|
991
1026
|
* The available satellite objects that the OurSky platform can currently track.
|
|
992
1027
|
* @param {OrbitType} [orbitType]
|
|
@@ -1111,6 +1146,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
1111
1146
|
* @throws {RequiredError}
|
|
1112
1147
|
*/
|
|
1113
1148
|
v1GetOrganizationTargets(options?: AxiosRequestConfig): AxiosPromise<Array<V1OrganizationTarget>>;
|
|
1149
|
+
/**
|
|
1150
|
+
* Get potential observation windows for a satellite across the network from now until the `until` datetime
|
|
1151
|
+
* @param {DefaultApiV1GetSatellitePotentialsRequest} requestParameters Request parameters.
|
|
1152
|
+
* @param {*} [options] Override http request option.
|
|
1153
|
+
* @throws {RequiredError}
|
|
1154
|
+
*/
|
|
1155
|
+
v1GetSatellitePotentials(requestParameters: DefaultApiV1GetSatellitePotentialsRequest, options?: AxiosRequestConfig): AxiosPromise<Array<V1SatellitePotential>>;
|
|
1114
1156
|
/**
|
|
1115
1157
|
* The available satellite objects that the OurSky platform can currently track.
|
|
1116
1158
|
* @param {DefaultApiV1GetSatelliteTargetsRequest} requestParameters Request parameters.
|
|
@@ -1282,6 +1324,25 @@ export interface DefaultApiV1GetObservationSequenceResultsRequest {
|
|
|
1282
1324
|
*/
|
|
1283
1325
|
readonly after?: string;
|
|
1284
1326
|
}
|
|
1327
|
+
/**
|
|
1328
|
+
* Request parameters for v1GetSatellitePotentials operation in DefaultApi.
|
|
1329
|
+
* @export
|
|
1330
|
+
* @interface DefaultApiV1GetSatellitePotentialsRequest
|
|
1331
|
+
*/
|
|
1332
|
+
export interface DefaultApiV1GetSatellitePotentialsRequest {
|
|
1333
|
+
/**
|
|
1334
|
+
*
|
|
1335
|
+
* @type {string}
|
|
1336
|
+
* @memberof DefaultApiV1GetSatellitePotentials
|
|
1337
|
+
*/
|
|
1338
|
+
readonly satelliteTargetId: string;
|
|
1339
|
+
/**
|
|
1340
|
+
*
|
|
1341
|
+
* @type {string}
|
|
1342
|
+
* @memberof DefaultApiV1GetSatellitePotentials
|
|
1343
|
+
*/
|
|
1344
|
+
readonly until: string;
|
|
1345
|
+
}
|
|
1285
1346
|
/**
|
|
1286
1347
|
* Request parameters for v1GetSatelliteTargets operation in DefaultApi.
|
|
1287
1348
|
* @export
|
|
@@ -1447,6 +1508,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
1447
1508
|
* @memberof DefaultApi
|
|
1448
1509
|
*/
|
|
1449
1510
|
v1GetOrganizationTargets(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<V1OrganizationTarget[], any>>;
|
|
1511
|
+
/**
|
|
1512
|
+
* Get potential observation windows for a satellite across the network from now until the `until` datetime
|
|
1513
|
+
* @param {DefaultApiV1GetSatellitePotentialsRequest} requestParameters Request parameters.
|
|
1514
|
+
* @param {*} [options] Override http request option.
|
|
1515
|
+
* @throws {RequiredError}
|
|
1516
|
+
* @memberof DefaultApi
|
|
1517
|
+
*/
|
|
1518
|
+
v1GetSatellitePotentials(requestParameters: DefaultApiV1GetSatellitePotentialsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<V1SatellitePotential[], any>>;
|
|
1450
1519
|
/**
|
|
1451
1520
|
* The available satellite objects that the OurSky platform can currently track.
|
|
1452
1521
|
* @param {DefaultApiV1GetSatelliteTargetsRequest} requestParameters Request parameters.
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* OurSky SDA
|
|
6
6
|
* The basic flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#operation/v1GetSatelliteTargets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#operation/v1CreateOrganizationTarget) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#operation/v1CreateWebhookConfiguration) endpoint to receive TDMs automatically (preferred) or use the [tdms](#operation/v1GetTdms) endpoint to poll for TDMs.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.3.
|
|
8
|
+
* The version of the OpenAPI document: 1.3.1905
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -491,6 +491,48 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
491
491
|
options: localVarRequestOptions,
|
|
492
492
|
};
|
|
493
493
|
}),
|
|
494
|
+
/**
|
|
495
|
+
* Get potential observation windows for a satellite across the network from now until the `until` datetime
|
|
496
|
+
* @param {string} satelliteTargetId
|
|
497
|
+
* @param {string} until
|
|
498
|
+
* @param {*} [options] Override http request option.
|
|
499
|
+
* @throws {RequiredError}
|
|
500
|
+
*/
|
|
501
|
+
v1GetSatellitePotentials: (satelliteTargetId, until, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
502
|
+
// verify required parameter 'satelliteTargetId' is not null or undefined
|
|
503
|
+
(0, common_1.assertParamExists)('v1GetSatellitePotentials', 'satelliteTargetId', satelliteTargetId);
|
|
504
|
+
// verify required parameter 'until' is not null or undefined
|
|
505
|
+
(0, common_1.assertParamExists)('v1GetSatellitePotentials', 'until', until);
|
|
506
|
+
const localVarPath = `/v1/satellite-target-potentials`;
|
|
507
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
508
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
509
|
+
let baseOptions;
|
|
510
|
+
if (configuration) {
|
|
511
|
+
baseOptions = configuration.baseOptions;
|
|
512
|
+
}
|
|
513
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
514
|
+
const localVarHeaderParameter = {};
|
|
515
|
+
const localVarQueryParameter = {};
|
|
516
|
+
// authentication Roles required
|
|
517
|
+
// authentication BearerToken required
|
|
518
|
+
// http bearer authentication required
|
|
519
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
520
|
+
if (satelliteTargetId !== undefined) {
|
|
521
|
+
localVarQueryParameter['satelliteTargetId'] = satelliteTargetId;
|
|
522
|
+
}
|
|
523
|
+
if (until !== undefined) {
|
|
524
|
+
localVarQueryParameter['until'] = (until instanceof Date) ?
|
|
525
|
+
until.toISOString() :
|
|
526
|
+
until;
|
|
527
|
+
}
|
|
528
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
529
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
530
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
531
|
+
return {
|
|
532
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
533
|
+
options: localVarRequestOptions,
|
|
534
|
+
};
|
|
535
|
+
}),
|
|
494
536
|
/**
|
|
495
537
|
* The available satellite objects that the OurSky platform can currently track.
|
|
496
538
|
* @param {OrbitType} [orbitType]
|
|
@@ -813,6 +855,19 @@ const DefaultApiFp = function (configuration) {
|
|
|
813
855
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
814
856
|
});
|
|
815
857
|
},
|
|
858
|
+
/**
|
|
859
|
+
* Get potential observation windows for a satellite across the network from now until the `until` datetime
|
|
860
|
+
* @param {string} satelliteTargetId
|
|
861
|
+
* @param {string} until
|
|
862
|
+
* @param {*} [options] Override http request option.
|
|
863
|
+
* @throws {RequiredError}
|
|
864
|
+
*/
|
|
865
|
+
v1GetSatellitePotentials(satelliteTargetId, until, options) {
|
|
866
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
867
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetSatellitePotentials(satelliteTargetId, until, options);
|
|
868
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
869
|
+
});
|
|
870
|
+
},
|
|
816
871
|
/**
|
|
817
872
|
* The available satellite objects that the OurSky platform can currently track.
|
|
818
873
|
* @param {OrbitType} [orbitType]
|
|
@@ -990,6 +1045,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
990
1045
|
v1GetOrganizationTargets(options) {
|
|
991
1046
|
return localVarFp.v1GetOrganizationTargets(options).then((request) => request(axios, basePath));
|
|
992
1047
|
},
|
|
1048
|
+
/**
|
|
1049
|
+
* Get potential observation windows for a satellite across the network from now until the `until` datetime
|
|
1050
|
+
* @param {DefaultApiV1GetSatellitePotentialsRequest} requestParameters Request parameters.
|
|
1051
|
+
* @param {*} [options] Override http request option.
|
|
1052
|
+
* @throws {RequiredError}
|
|
1053
|
+
*/
|
|
1054
|
+
v1GetSatellitePotentials(requestParameters, options) {
|
|
1055
|
+
return localVarFp.v1GetSatellitePotentials(requestParameters.satelliteTargetId, requestParameters.until, options).then((request) => request(axios, basePath));
|
|
1056
|
+
},
|
|
993
1057
|
/**
|
|
994
1058
|
* The available satellite objects that the OurSky platform can currently track.
|
|
995
1059
|
* @param {DefaultApiV1GetSatelliteTargetsRequest} requestParameters Request parameters.
|
|
@@ -1162,6 +1226,16 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1162
1226
|
v1GetOrganizationTargets(options) {
|
|
1163
1227
|
return (0, exports.DefaultApiFp)(this.configuration).v1GetOrganizationTargets(options).then((request) => request(this.axios, this.basePath));
|
|
1164
1228
|
}
|
|
1229
|
+
/**
|
|
1230
|
+
* Get potential observation windows for a satellite across the network from now until the `until` datetime
|
|
1231
|
+
* @param {DefaultApiV1GetSatellitePotentialsRequest} requestParameters Request parameters.
|
|
1232
|
+
* @param {*} [options] Override http request option.
|
|
1233
|
+
* @throws {RequiredError}
|
|
1234
|
+
* @memberof DefaultApi
|
|
1235
|
+
*/
|
|
1236
|
+
v1GetSatellitePotentials(requestParameters, options) {
|
|
1237
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1GetSatellitePotentials(requestParameters.satelliteTargetId, requestParameters.until, options).then((request) => request(this.axios, this.basePath));
|
|
1238
|
+
}
|
|
1165
1239
|
/**
|
|
1166
1240
|
* The available satellite objects that the OurSky platform can currently track.
|
|
1167
1241
|
* @param {DefaultApiV1GetSatelliteTargetsRequest} requestParameters Request parameters.
|
package/dist/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OurSky SDA
|
|
3
3
|
* The basic flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#operation/v1GetSatelliteTargets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#operation/v1CreateOrganizationTarget) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#operation/v1CreateWebhookConfiguration) endpoint to receive TDMs automatically (preferred) or use the [tdms](#operation/v1GetTdms) endpoint to poll for TDMs.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.1905
|
|
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 SDA
|
|
6
6
|
* The basic flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#operation/v1GetSatelliteTargets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#operation/v1CreateOrganizationTarget) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#operation/v1CreateWebhookConfiguration) endpoint to receive TDMs automatically (preferred) or use the [tdms](#operation/v1GetTdms) endpoint to poll for TDMs.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.3.
|
|
8
|
+
* The version of the OpenAPI document: 1.3.1905
|
|
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 SDA
|
|
3
3
|
* The basic flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#operation/v1GetSatelliteTargets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#operation/v1CreateOrganizationTarget) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#operation/v1CreateWebhookConfiguration) endpoint to receive TDMs automatically (preferred) or use the [tdms](#operation/v1GetTdms) endpoint to poll for TDMs.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.1905
|
|
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 SDA
|
|
6
6
|
* The basic flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#operation/v1GetSatelliteTargets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#operation/v1CreateOrganizationTarget) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#operation/v1CreateWebhookConfiguration) endpoint to receive TDMs automatically (preferred) or use the [tdms](#operation/v1GetTdms) endpoint to poll for TDMs.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.3.
|
|
8
|
+
* The version of the OpenAPI document: 1.3.1905
|
|
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 SDA
|
|
3
3
|
* The basic flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#operation/v1GetSatelliteTargets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#operation/v1CreateOrganizationTarget) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#operation/v1CreateWebhookConfiguration) endpoint to receive TDMs automatically (preferred) or use the [tdms](#operation/v1GetTdms) endpoint to poll for TDMs.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.1905
|
|
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 SDA
|
|
6
6
|
* The basic flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#operation/v1GetSatelliteTargets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#operation/v1CreateOrganizationTarget) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#operation/v1CreateWebhookConfiguration) endpoint to receive TDMs automatically (preferred) or use the [tdms](#operation/v1GetTdms) endpoint to poll for TDMs.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.3.
|
|
8
|
+
* The version of the OpenAPI document: 1.3.1905
|
|
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 SDA
|
|
3
3
|
* The basic flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#operation/v1GetSatelliteTargets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#operation/v1CreateOrganizationTarget) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#operation/v1CreateWebhookConfiguration) endpoint to receive TDMs automatically (preferred) or use the [tdms](#operation/v1GetTdms) endpoint to poll for TDMs.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.1905
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -601,6 +601,25 @@ export interface V1OrganizationTarget {
|
|
|
601
601
|
*/
|
|
602
602
|
'createdAt': string;
|
|
603
603
|
}
|
|
604
|
+
/**
|
|
605
|
+
* SatellitePotential
|
|
606
|
+
* @export
|
|
607
|
+
* @interface V1SatellitePotential
|
|
608
|
+
*/
|
|
609
|
+
export interface V1SatellitePotential {
|
|
610
|
+
/**
|
|
611
|
+
*
|
|
612
|
+
* @type {string}
|
|
613
|
+
* @memberof V1SatellitePotential
|
|
614
|
+
*/
|
|
615
|
+
'firstObservableTime': string;
|
|
616
|
+
/**
|
|
617
|
+
*
|
|
618
|
+
* @type {string}
|
|
619
|
+
* @memberof V1SatellitePotential
|
|
620
|
+
*/
|
|
621
|
+
'lastObservableTime': string;
|
|
622
|
+
}
|
|
604
623
|
/**
|
|
605
624
|
* Satellite Target
|
|
606
625
|
* @export
|
|
@@ -862,6 +881,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
862
881
|
* @throws {RequiredError}
|
|
863
882
|
*/
|
|
864
883
|
v1GetOrganizationTargets: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
884
|
+
/**
|
|
885
|
+
* Get potential observation windows for a satellite across the network from now until the `until` datetime
|
|
886
|
+
* @param {string} satelliteTargetId
|
|
887
|
+
* @param {string} until
|
|
888
|
+
* @param {*} [options] Override http request option.
|
|
889
|
+
* @throws {RequiredError}
|
|
890
|
+
*/
|
|
891
|
+
v1GetSatellitePotentials: (satelliteTargetId: string, until: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
865
892
|
/**
|
|
866
893
|
* The available satellite objects that the OurSky platform can currently track.
|
|
867
894
|
* @param {OrbitType} [orbitType]
|
|
@@ -987,6 +1014,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
987
1014
|
* @throws {RequiredError}
|
|
988
1015
|
*/
|
|
989
1016
|
v1GetOrganizationTargets(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1OrganizationTarget>>>;
|
|
1017
|
+
/**
|
|
1018
|
+
* Get potential observation windows for a satellite across the network from now until the `until` datetime
|
|
1019
|
+
* @param {string} satelliteTargetId
|
|
1020
|
+
* @param {string} until
|
|
1021
|
+
* @param {*} [options] Override http request option.
|
|
1022
|
+
* @throws {RequiredError}
|
|
1023
|
+
*/
|
|
1024
|
+
v1GetSatellitePotentials(satelliteTargetId: string, until: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1SatellitePotential>>>;
|
|
990
1025
|
/**
|
|
991
1026
|
* The available satellite objects that the OurSky platform can currently track.
|
|
992
1027
|
* @param {OrbitType} [orbitType]
|
|
@@ -1111,6 +1146,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
1111
1146
|
* @throws {RequiredError}
|
|
1112
1147
|
*/
|
|
1113
1148
|
v1GetOrganizationTargets(options?: AxiosRequestConfig): AxiosPromise<Array<V1OrganizationTarget>>;
|
|
1149
|
+
/**
|
|
1150
|
+
* Get potential observation windows for a satellite across the network from now until the `until` datetime
|
|
1151
|
+
* @param {DefaultApiV1GetSatellitePotentialsRequest} requestParameters Request parameters.
|
|
1152
|
+
* @param {*} [options] Override http request option.
|
|
1153
|
+
* @throws {RequiredError}
|
|
1154
|
+
*/
|
|
1155
|
+
v1GetSatellitePotentials(requestParameters: DefaultApiV1GetSatellitePotentialsRequest, options?: AxiosRequestConfig): AxiosPromise<Array<V1SatellitePotential>>;
|
|
1114
1156
|
/**
|
|
1115
1157
|
* The available satellite objects that the OurSky platform can currently track.
|
|
1116
1158
|
* @param {DefaultApiV1GetSatelliteTargetsRequest} requestParameters Request parameters.
|
|
@@ -1282,6 +1324,25 @@ export interface DefaultApiV1GetObservationSequenceResultsRequest {
|
|
|
1282
1324
|
*/
|
|
1283
1325
|
readonly after?: string;
|
|
1284
1326
|
}
|
|
1327
|
+
/**
|
|
1328
|
+
* Request parameters for v1GetSatellitePotentials operation in DefaultApi.
|
|
1329
|
+
* @export
|
|
1330
|
+
* @interface DefaultApiV1GetSatellitePotentialsRequest
|
|
1331
|
+
*/
|
|
1332
|
+
export interface DefaultApiV1GetSatellitePotentialsRequest {
|
|
1333
|
+
/**
|
|
1334
|
+
*
|
|
1335
|
+
* @type {string}
|
|
1336
|
+
* @memberof DefaultApiV1GetSatellitePotentials
|
|
1337
|
+
*/
|
|
1338
|
+
readonly satelliteTargetId: string;
|
|
1339
|
+
/**
|
|
1340
|
+
*
|
|
1341
|
+
* @type {string}
|
|
1342
|
+
* @memberof DefaultApiV1GetSatellitePotentials
|
|
1343
|
+
*/
|
|
1344
|
+
readonly until: string;
|
|
1345
|
+
}
|
|
1285
1346
|
/**
|
|
1286
1347
|
* Request parameters for v1GetSatelliteTargets operation in DefaultApi.
|
|
1287
1348
|
* @export
|
|
@@ -1447,6 +1508,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
1447
1508
|
* @memberof DefaultApi
|
|
1448
1509
|
*/
|
|
1449
1510
|
v1GetOrganizationTargets(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<V1OrganizationTarget[], any>>;
|
|
1511
|
+
/**
|
|
1512
|
+
* Get potential observation windows for a satellite across the network from now until the `until` datetime
|
|
1513
|
+
* @param {DefaultApiV1GetSatellitePotentialsRequest} requestParameters Request parameters.
|
|
1514
|
+
* @param {*} [options] Override http request option.
|
|
1515
|
+
* @throws {RequiredError}
|
|
1516
|
+
* @memberof DefaultApi
|
|
1517
|
+
*/
|
|
1518
|
+
v1GetSatellitePotentials(requestParameters: DefaultApiV1GetSatellitePotentialsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<V1SatellitePotential[], any>>;
|
|
1450
1519
|
/**
|
|
1451
1520
|
* The available satellite objects that the OurSky platform can currently track.
|
|
1452
1521
|
* @param {DefaultApiV1GetSatelliteTargetsRequest} requestParameters Request parameters.
|
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OurSky SDA
|
|
5
5
|
* The basic flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#operation/v1GetSatelliteTargets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#operation/v1CreateOrganizationTarget) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#operation/v1CreateWebhookConfiguration) endpoint to receive TDMs automatically (preferred) or use the [tdms](#operation/v1GetTdms) endpoint to poll for TDMs.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.3.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.1905
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -488,6 +488,48 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
488
488
|
options: localVarRequestOptions,
|
|
489
489
|
};
|
|
490
490
|
}),
|
|
491
|
+
/**
|
|
492
|
+
* Get potential observation windows for a satellite across the network from now until the `until` datetime
|
|
493
|
+
* @param {string} satelliteTargetId
|
|
494
|
+
* @param {string} until
|
|
495
|
+
* @param {*} [options] Override http request option.
|
|
496
|
+
* @throws {RequiredError}
|
|
497
|
+
*/
|
|
498
|
+
v1GetSatellitePotentials: (satelliteTargetId, until, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
499
|
+
// verify required parameter 'satelliteTargetId' is not null or undefined
|
|
500
|
+
assertParamExists('v1GetSatellitePotentials', 'satelliteTargetId', satelliteTargetId);
|
|
501
|
+
// verify required parameter 'until' is not null or undefined
|
|
502
|
+
assertParamExists('v1GetSatellitePotentials', 'until', until);
|
|
503
|
+
const localVarPath = `/v1/satellite-target-potentials`;
|
|
504
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
505
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
506
|
+
let baseOptions;
|
|
507
|
+
if (configuration) {
|
|
508
|
+
baseOptions = configuration.baseOptions;
|
|
509
|
+
}
|
|
510
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
511
|
+
const localVarHeaderParameter = {};
|
|
512
|
+
const localVarQueryParameter = {};
|
|
513
|
+
// authentication Roles required
|
|
514
|
+
// authentication BearerToken required
|
|
515
|
+
// http bearer authentication required
|
|
516
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
517
|
+
if (satelliteTargetId !== undefined) {
|
|
518
|
+
localVarQueryParameter['satelliteTargetId'] = satelliteTargetId;
|
|
519
|
+
}
|
|
520
|
+
if (until !== undefined) {
|
|
521
|
+
localVarQueryParameter['until'] = (until instanceof Date) ?
|
|
522
|
+
until.toISOString() :
|
|
523
|
+
until;
|
|
524
|
+
}
|
|
525
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
526
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
527
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
528
|
+
return {
|
|
529
|
+
url: toPathString(localVarUrlObj),
|
|
530
|
+
options: localVarRequestOptions,
|
|
531
|
+
};
|
|
532
|
+
}),
|
|
491
533
|
/**
|
|
492
534
|
* The available satellite objects that the OurSky platform can currently track.
|
|
493
535
|
* @param {OrbitType} [orbitType]
|
|
@@ -809,6 +851,19 @@ export const DefaultApiFp = function (configuration) {
|
|
|
809
851
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
810
852
|
});
|
|
811
853
|
},
|
|
854
|
+
/**
|
|
855
|
+
* Get potential observation windows for a satellite across the network from now until the `until` datetime
|
|
856
|
+
* @param {string} satelliteTargetId
|
|
857
|
+
* @param {string} until
|
|
858
|
+
* @param {*} [options] Override http request option.
|
|
859
|
+
* @throws {RequiredError}
|
|
860
|
+
*/
|
|
861
|
+
v1GetSatellitePotentials(satelliteTargetId, until, options) {
|
|
862
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
863
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetSatellitePotentials(satelliteTargetId, until, options);
|
|
864
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
865
|
+
});
|
|
866
|
+
},
|
|
812
867
|
/**
|
|
813
868
|
* The available satellite objects that the OurSky platform can currently track.
|
|
814
869
|
* @param {OrbitType} [orbitType]
|
|
@@ -985,6 +1040,15 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
985
1040
|
v1GetOrganizationTargets(options) {
|
|
986
1041
|
return localVarFp.v1GetOrganizationTargets(options).then((request) => request(axios, basePath));
|
|
987
1042
|
},
|
|
1043
|
+
/**
|
|
1044
|
+
* Get potential observation windows for a satellite across the network from now until the `until` datetime
|
|
1045
|
+
* @param {DefaultApiV1GetSatellitePotentialsRequest} requestParameters Request parameters.
|
|
1046
|
+
* @param {*} [options] Override http request option.
|
|
1047
|
+
* @throws {RequiredError}
|
|
1048
|
+
*/
|
|
1049
|
+
v1GetSatellitePotentials(requestParameters, options) {
|
|
1050
|
+
return localVarFp.v1GetSatellitePotentials(requestParameters.satelliteTargetId, requestParameters.until, options).then((request) => request(axios, basePath));
|
|
1051
|
+
},
|
|
988
1052
|
/**
|
|
989
1053
|
* The available satellite objects that the OurSky platform can currently track.
|
|
990
1054
|
* @param {DefaultApiV1GetSatelliteTargetsRequest} requestParameters Request parameters.
|
|
@@ -1156,6 +1220,16 @@ export class DefaultApi extends BaseAPI {
|
|
|
1156
1220
|
v1GetOrganizationTargets(options) {
|
|
1157
1221
|
return DefaultApiFp(this.configuration).v1GetOrganizationTargets(options).then((request) => request(this.axios, this.basePath));
|
|
1158
1222
|
}
|
|
1223
|
+
/**
|
|
1224
|
+
* Get potential observation windows for a satellite across the network from now until the `until` datetime
|
|
1225
|
+
* @param {DefaultApiV1GetSatellitePotentialsRequest} requestParameters Request parameters.
|
|
1226
|
+
* @param {*} [options] Override http request option.
|
|
1227
|
+
* @throws {RequiredError}
|
|
1228
|
+
* @memberof DefaultApi
|
|
1229
|
+
*/
|
|
1230
|
+
v1GetSatellitePotentials(requestParameters, options) {
|
|
1231
|
+
return DefaultApiFp(this.configuration).v1GetSatellitePotentials(requestParameters.satelliteTargetId, requestParameters.until, options).then((request) => request(this.axios, this.basePath));
|
|
1232
|
+
}
|
|
1159
1233
|
/**
|
|
1160
1234
|
* The available satellite objects that the OurSky platform can currently track.
|
|
1161
1235
|
* @param {DefaultApiV1GetSatelliteTargetsRequest} requestParameters Request parameters.
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OurSky SDA
|
|
3
3
|
* The basic flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#operation/v1GetSatelliteTargets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#operation/v1CreateOrganizationTarget) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#operation/v1CreateWebhookConfiguration) endpoint to receive TDMs automatically (preferred) or use the [tdms](#operation/v1GetTdms) endpoint to poll for TDMs.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.1905
|
|
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 SDA
|
|
5
5
|
* The basic flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#operation/v1GetSatelliteTargets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#operation/v1CreateOrganizationTarget) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#operation/v1CreateWebhookConfiguration) endpoint to receive TDMs automatically (preferred) or use the [tdms](#operation/v1GetTdms) endpoint to poll for TDMs.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.3.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.1905
|
|
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 SDA
|
|
3
3
|
* The basic flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#operation/v1GetSatelliteTargets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#operation/v1CreateOrganizationTarget) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#operation/v1CreateWebhookConfiguration) endpoint to receive TDMs automatically (preferred) or use the [tdms](#operation/v1GetTdms) endpoint to poll for TDMs.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.1905
|
|
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 SDA
|
|
5
5
|
* The basic flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#operation/v1GetSatelliteTargets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#operation/v1CreateOrganizationTarget) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#operation/v1CreateWebhookConfiguration) endpoint to receive TDMs automatically (preferred) or use the [tdms](#operation/v1GetTdms) endpoint to poll for TDMs.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.3.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.1905
|
|
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 SDA
|
|
3
3
|
* The basic flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#operation/v1GetSatelliteTargets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#operation/v1CreateOrganizationTarget) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#operation/v1CreateWebhookConfiguration) endpoint to receive TDMs automatically (preferred) or use the [tdms](#operation/v1GetTdms) endpoint to poll for TDMs.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.1905
|
|
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 SDA
|
|
5
5
|
* The basic flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#operation/v1GetSatelliteTargets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#operation/v1CreateOrganizationTarget) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#operation/v1CreateWebhookConfiguration) endpoint to receive TDMs automatically (preferred) or use the [tdms](#operation/v1GetTdms) endpoint to poll for TDMs.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.3.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.1905
|
|
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 SDA
|
|
3
3
|
* The basic flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#operation/v1GetSatelliteTargets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#operation/v1CreateOrganizationTarget) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#operation/v1CreateWebhookConfiguration) endpoint to receive TDMs automatically (preferred) or use the [tdms](#operation/v1GetTdms) endpoint to poll for TDMs.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.1905
|
|
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 SDA
|
|
5
5
|
* The basic flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#operation/v1GetSatelliteTargets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#operation/v1CreateOrganizationTarget) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#operation/v1CreateWebhookConfiguration) endpoint to receive TDMs automatically (preferred) or use the [tdms](#operation/v1GetTdms) endpoint to poll for TDMs.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.3.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.1905
|
|
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 SDA
|
|
3
3
|
* The basic flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#operation/v1GetSatelliteTargets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#operation/v1CreateOrganizationTarget) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#operation/v1CreateWebhookConfiguration) endpoint to receive TDMs automatically (preferred) or use the [tdms](#operation/v1GetTdms) endpoint to poll for TDMs.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.1905
|
|
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 SDA
|
|
6
6
|
* The basic flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#operation/v1GetSatelliteTargets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#operation/v1CreateOrganizationTarget) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#operation/v1CreateWebhookConfiguration) endpoint to receive TDMs automatically (preferred) or use the [tdms](#operation/v1GetTdms) endpoint to poll for TDMs.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.3.
|
|
8
|
+
* The version of the OpenAPI document: 1.3.1905
|
|
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 SDA
|
|
5
5
|
* The basic flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#operation/v1GetSatelliteTargets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#operation/v1CreateOrganizationTarget) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#operation/v1CreateWebhookConfiguration) endpoint to receive TDMs automatically (preferred) or use the [tdms](#operation/v1GetTdms) endpoint to poll for TDMs.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.3.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.1905
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|