@ourskyai/sda-api 1.3.3445 → 1.3.3644
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 +216 -22
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +153 -19
- package/dist/api.js +98 -7
- 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 +153 -19
- package/dist/esm/api.js +97 -6
- 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.3644
|
|
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.3644 --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](#tag/satellite-targets/[get]/v1/satellite-targets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#tag/organization-targets/[get]/v1/organization-targets) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#tag/webhooks/[post]/v1/communications/webhook) endpoint to receive TDMs automatically (preferred) or use the [tdms](#tag/tdms/[get]/v1/tdms) 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.3644
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -30,37 +30,37 @@ import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError } from './base';
|
|
|
30
30
|
*/
|
|
31
31
|
export interface AstrometricOffsets {
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* the average offset from the star catalog (NOMAD or GAIA DR3) for right ascension in degrees in EME2000 frame
|
|
34
34
|
* @type {number}
|
|
35
35
|
* @memberof AstrometricOffsets
|
|
36
36
|
*/
|
|
37
37
|
'raPlateSolveOffsetAverage': number;
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* the standard deviation of offset from the star catalog (NOMAD or GAIA DR3) for right ascension in degrees in EME2000 frame
|
|
40
40
|
* @type {number}
|
|
41
41
|
* @memberof AstrometricOffsets
|
|
42
42
|
*/
|
|
43
43
|
'raPlateSolveOffsetStdDev': number;
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
45
|
+
* the average offset from the star catalog (NOMAD or GAIA DR3) for declination in degrees in EME2000 frame
|
|
46
46
|
* @type {number}
|
|
47
47
|
* @memberof AstrometricOffsets
|
|
48
48
|
*/
|
|
49
49
|
'decPlateSolveOffsetAverage': number;
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
51
|
+
* the standard deviation of offset from the star catalog (NOMAD or GAIA DR3) for declination in degrees in EME2000 frame
|
|
52
52
|
* @type {number}
|
|
53
53
|
* @memberof AstrometricOffsets
|
|
54
54
|
*/
|
|
55
55
|
'decPlateSolveOffsetStdDev': number;
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
57
|
+
* The standard deviation of the full-width-half-max of all stars in the image measured in arcseconds
|
|
58
58
|
* @type {number}
|
|
59
59
|
* @memberof AstrometricOffsets
|
|
60
60
|
*/
|
|
61
61
|
'fwhmStdDev': number;
|
|
62
62
|
/**
|
|
63
|
-
*
|
|
63
|
+
* The average of the full-width-half-max of all stars in the image measured in arcseconds
|
|
64
64
|
* @type {number}
|
|
65
65
|
* @memberof AstrometricOffsets
|
|
66
66
|
*/
|
|
@@ -109,6 +109,25 @@ export const FilterType = {
|
|
|
109
109
|
export type FilterType = typeof FilterType[keyof typeof FilterType];
|
|
110
110
|
|
|
111
111
|
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
* @export
|
|
115
|
+
* @interface FitsHeader
|
|
116
|
+
*/
|
|
117
|
+
export interface FitsHeader {
|
|
118
|
+
/**
|
|
119
|
+
*
|
|
120
|
+
* @type {string}
|
|
121
|
+
* @memberof FitsHeader
|
|
122
|
+
*/
|
|
123
|
+
'key': string;
|
|
124
|
+
/**
|
|
125
|
+
*
|
|
126
|
+
* @type {string}
|
|
127
|
+
* @memberof FitsHeader
|
|
128
|
+
*/
|
|
129
|
+
'value': string;
|
|
130
|
+
}
|
|
112
131
|
/**
|
|
113
132
|
* Location
|
|
114
133
|
* @export
|
|
@@ -241,25 +260,25 @@ export interface ObservationResult {
|
|
|
241
260
|
*/
|
|
242
261
|
'jpgUrl'?: string;
|
|
243
262
|
/**
|
|
244
|
-
*
|
|
263
|
+
* The un-corrected apparent right ascension in degrees and EME2000 frame at the ground station
|
|
245
264
|
* @type {number}
|
|
246
265
|
* @memberof ObservationResult
|
|
247
266
|
*/
|
|
248
267
|
'ra': number;
|
|
249
268
|
/**
|
|
250
|
-
*
|
|
269
|
+
* The un-corrected apparent declination in degrees and EME2000 frame at the ground station
|
|
251
270
|
* @type {number}
|
|
252
271
|
* @memberof ObservationResult
|
|
253
272
|
*/
|
|
254
273
|
'dec': number;
|
|
255
274
|
/**
|
|
256
|
-
* The measured right ascension calibrated for stellar aberration in degrees
|
|
275
|
+
* The measured right ascension calibrated for stellar aberration in degrees and EME2000 frame
|
|
257
276
|
* @type {number}
|
|
258
277
|
* @memberof ObservationResult
|
|
259
278
|
*/
|
|
260
279
|
'correctedRa'?: number;
|
|
261
280
|
/**
|
|
262
|
-
* The measured declination calibrated for stellar aberration in degrees
|
|
281
|
+
* The measured declination calibrated for stellar aberration in degrees and EME2000 frame
|
|
263
282
|
* @type {number}
|
|
264
283
|
* @memberof ObservationResult
|
|
265
284
|
*/
|
|
@@ -276,6 +295,12 @@ export interface ObservationResult {
|
|
|
276
295
|
* @memberof ObservationResult
|
|
277
296
|
*/
|
|
278
297
|
'timestamp': string;
|
|
298
|
+
/**
|
|
299
|
+
* Timestamps for this image are considered to be accurate to within +/- this value in seconds
|
|
300
|
+
* @type {number}
|
|
301
|
+
* @memberof ObservationResult
|
|
302
|
+
*/
|
|
303
|
+
'timingAccuracy': number;
|
|
279
304
|
/**
|
|
280
305
|
* BETA: the apparent magnitude of the target at the time of the observation
|
|
281
306
|
* @type {number}
|
|
@@ -283,7 +308,7 @@ export interface ObservationResult {
|
|
|
283
308
|
*/
|
|
284
309
|
'apparentMagnitude'?: number;
|
|
285
310
|
/**
|
|
286
|
-
*
|
|
311
|
+
* The distance from the predicted location in arcseconds (using SGP4 propagation)
|
|
287
312
|
* @type {number}
|
|
288
313
|
* @memberof ObservationResult
|
|
289
314
|
*/
|
|
@@ -877,6 +902,12 @@ export interface V1ImageSetImage {
|
|
|
877
902
|
* @memberof V1ImageSetImage
|
|
878
903
|
*/
|
|
879
904
|
'exposureLength': number;
|
|
905
|
+
/**
|
|
906
|
+
*
|
|
907
|
+
* @type {Array<FitsHeader>}
|
|
908
|
+
* @memberof V1ImageSetImage
|
|
909
|
+
*/
|
|
910
|
+
'fitsHeaders': Array<FitsHeader>;
|
|
880
911
|
}
|
|
881
912
|
/**
|
|
882
913
|
* Observation Feature
|
|
@@ -885,13 +916,13 @@ export interface V1ImageSetImage {
|
|
|
885
916
|
*/
|
|
886
917
|
export interface V1ObservationFeature {
|
|
887
918
|
/**
|
|
888
|
-
*
|
|
919
|
+
* the right ascension in degrees in EME2000 frame
|
|
889
920
|
* @type {number}
|
|
890
921
|
* @memberof V1ObservationFeature
|
|
891
922
|
*/
|
|
892
923
|
'ra': number;
|
|
893
924
|
/**
|
|
894
|
-
*
|
|
925
|
+
* the declination in degrees in EME2000 frame
|
|
895
926
|
* @type {number}
|
|
896
927
|
* @memberof V1ObservationFeature
|
|
897
928
|
*/
|
|
@@ -915,7 +946,7 @@ export interface V1ObservationFeature {
|
|
|
915
946
|
*/
|
|
916
947
|
'apparentMagnitude'?: number;
|
|
917
948
|
/**
|
|
918
|
-
*
|
|
949
|
+
* The distance from the predicted location in arcseconds (using SGP4 propagation)
|
|
919
950
|
* @type {number}
|
|
920
951
|
* @memberof V1ObservationFeature
|
|
921
952
|
*/
|
|
@@ -1173,6 +1204,18 @@ export interface V1SatellitePotential {
|
|
|
1173
1204
|
* @memberof V1SatellitePotential
|
|
1174
1205
|
*/
|
|
1175
1206
|
'orbitType'?: OrbitType;
|
|
1207
|
+
/**
|
|
1208
|
+
*
|
|
1209
|
+
* @type {WeatherCondition}
|
|
1210
|
+
* @memberof V1SatellitePotential
|
|
1211
|
+
*/
|
|
1212
|
+
'weatherCondition'?: WeatherCondition;
|
|
1213
|
+
/**
|
|
1214
|
+
*
|
|
1215
|
+
* @type {string}
|
|
1216
|
+
* @memberof V1SatellitePotential
|
|
1217
|
+
*/
|
|
1218
|
+
'weatherDescription'?: string;
|
|
1176
1219
|
}
|
|
1177
1220
|
|
|
1178
1221
|
|
|
@@ -1378,17 +1421,35 @@ export interface V1TargetCorrelation {
|
|
|
1378
1421
|
*/
|
|
1379
1422
|
'targetId': string;
|
|
1380
1423
|
/**
|
|
1381
|
-
*
|
|
1424
|
+
* The predicted (propagated) center of the targetId in Right Ascension in degrees
|
|
1382
1425
|
* @type {number}
|
|
1383
1426
|
* @memberof V1TargetCorrelation
|
|
1384
1427
|
*/
|
|
1385
1428
|
'ra': number;
|
|
1386
1429
|
/**
|
|
1387
|
-
*
|
|
1430
|
+
* The predicted (propagated) center of the streak in Declination in degrees
|
|
1388
1431
|
* @type {number}
|
|
1389
1432
|
* @memberof V1TargetCorrelation
|
|
1390
1433
|
*/
|
|
1391
1434
|
'dec': number;
|
|
1435
|
+
/**
|
|
1436
|
+
* The predicted (propagated) length of the target streak in degrees
|
|
1437
|
+
* @type {number}
|
|
1438
|
+
* @memberof V1TargetCorrelation
|
|
1439
|
+
*/
|
|
1440
|
+
'streakLength'?: number;
|
|
1441
|
+
/**
|
|
1442
|
+
* The distance between the predicted and actual center of the streak in degrees
|
|
1443
|
+
* @type {number}
|
|
1444
|
+
* @memberof V1TargetCorrelation
|
|
1445
|
+
*/
|
|
1446
|
+
'distanceFromStreak'?: number;
|
|
1447
|
+
/**
|
|
1448
|
+
* The angle between the predicted and actual angle-to-celestial-north for the streak in degrees
|
|
1449
|
+
* @type {number}
|
|
1450
|
+
* @memberof V1TargetCorrelation
|
|
1451
|
+
*/
|
|
1452
|
+
'angleFromStreak'?: number;
|
|
1392
1453
|
}
|
|
1393
1454
|
/**
|
|
1394
1455
|
* TDM
|
|
@@ -1565,6 +1626,25 @@ export interface V1WebhookConfiguration {
|
|
|
1565
1626
|
*/
|
|
1566
1627
|
'createdAt': string;
|
|
1567
1628
|
}
|
|
1629
|
+
/**
|
|
1630
|
+
*
|
|
1631
|
+
* @export
|
|
1632
|
+
* @enum {string}
|
|
1633
|
+
*/
|
|
1634
|
+
|
|
1635
|
+
export const WeatherCondition = {
|
|
1636
|
+
THUNDERSTORM: 'THUNDERSTORM',
|
|
1637
|
+
DRIZZLE: 'DRIZZLE',
|
|
1638
|
+
RAIN: 'RAIN',
|
|
1639
|
+
SNOW: 'SNOW',
|
|
1640
|
+
ATMOSPHERE: 'ATMOSPHERE',
|
|
1641
|
+
CLEAR: 'CLEAR',
|
|
1642
|
+
CLOUDS: 'CLOUDS'
|
|
1643
|
+
} as const;
|
|
1644
|
+
|
|
1645
|
+
export type WeatherCondition = typeof WeatherCondition[keyof typeof WeatherCondition];
|
|
1646
|
+
|
|
1647
|
+
|
|
1568
1648
|
/**
|
|
1569
1649
|
* Authorization mechanism required for webhook endpoint, if any. Use `NONE` if not required.
|
|
1570
1650
|
* @export
|
|
@@ -2485,6 +2565,55 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2485
2565
|
|
|
2486
2566
|
|
|
2487
2567
|
|
|
2568
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2569
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2570
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2571
|
+
|
|
2572
|
+
return {
|
|
2573
|
+
url: toPathString(localVarUrlObj),
|
|
2574
|
+
options: localVarRequestOptions,
|
|
2575
|
+
};
|
|
2576
|
+
},
|
|
2577
|
+
/**
|
|
2578
|
+
* Get potential observation windows for all satellites of your organization across the network from now until the `until` datetime
|
|
2579
|
+
* @param {string} until
|
|
2580
|
+
* @param {boolean} [includeWeather]
|
|
2581
|
+
* @param {*} [options] Override http request option.
|
|
2582
|
+
* @throws {RequiredError}
|
|
2583
|
+
*/
|
|
2584
|
+
v1GetOrganizationSatellitePotentials: async (until: string, includeWeather?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2585
|
+
// verify required parameter 'until' is not null or undefined
|
|
2586
|
+
assertParamExists('v1GetOrganizationSatellitePotentials', 'until', until)
|
|
2587
|
+
const localVarPath = `/v1/organization-target-potentials`;
|
|
2588
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2589
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2590
|
+
let baseOptions;
|
|
2591
|
+
if (configuration) {
|
|
2592
|
+
baseOptions = configuration.baseOptions;
|
|
2593
|
+
}
|
|
2594
|
+
|
|
2595
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
2596
|
+
const localVarHeaderParameter = {} as any;
|
|
2597
|
+
const localVarQueryParameter = {} as any;
|
|
2598
|
+
|
|
2599
|
+
// authentication Roles required
|
|
2600
|
+
|
|
2601
|
+
// authentication BearerToken required
|
|
2602
|
+
// http bearer authentication required
|
|
2603
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2604
|
+
|
|
2605
|
+
if (until !== undefined) {
|
|
2606
|
+
localVarQueryParameter['until'] = (until as any instanceof Date) ?
|
|
2607
|
+
(until as any).toISOString() :
|
|
2608
|
+
until;
|
|
2609
|
+
}
|
|
2610
|
+
|
|
2611
|
+
if (includeWeather !== undefined) {
|
|
2612
|
+
localVarQueryParameter['includeWeather'] = includeWeather;
|
|
2613
|
+
}
|
|
2614
|
+
|
|
2615
|
+
|
|
2616
|
+
|
|
2488
2617
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2489
2618
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2490
2619
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -2533,10 +2662,11 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2533
2662
|
* Get potential observation windows for a satellite across the network from now until the `until` datetime
|
|
2534
2663
|
* @param {string} satelliteTargetId
|
|
2535
2664
|
* @param {string} until
|
|
2665
|
+
* @param {boolean} [includeWeather]
|
|
2536
2666
|
* @param {*} [options] Override http request option.
|
|
2537
2667
|
* @throws {RequiredError}
|
|
2538
2668
|
*/
|
|
2539
|
-
v1GetSatellitePotentials: async (satelliteTargetId: string, until: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2669
|
+
v1GetSatellitePotentials: async (satelliteTargetId: string, until: string, includeWeather?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2540
2670
|
// verify required parameter 'satelliteTargetId' is not null or undefined
|
|
2541
2671
|
assertParamExists('v1GetSatellitePotentials', 'satelliteTargetId', satelliteTargetId)
|
|
2542
2672
|
// verify required parameter 'until' is not null or undefined
|
|
@@ -2569,6 +2699,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2569
2699
|
until;
|
|
2570
2700
|
}
|
|
2571
2701
|
|
|
2702
|
+
if (includeWeather !== undefined) {
|
|
2703
|
+
localVarQueryParameter['includeWeather'] = includeWeather;
|
|
2704
|
+
}
|
|
2705
|
+
|
|
2572
2706
|
|
|
2573
2707
|
|
|
2574
2708
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -3180,6 +3314,17 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
3180
3314
|
const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetObservationStatuses(targetId, before, searchInstructionId, surveyInstructionId, options);
|
|
3181
3315
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3182
3316
|
},
|
|
3317
|
+
/**
|
|
3318
|
+
* Get potential observation windows for all satellites of your organization across the network from now until the `until` datetime
|
|
3319
|
+
* @param {string} until
|
|
3320
|
+
* @param {boolean} [includeWeather]
|
|
3321
|
+
* @param {*} [options] Override http request option.
|
|
3322
|
+
* @throws {RequiredError}
|
|
3323
|
+
*/
|
|
3324
|
+
async v1GetOrganizationSatellitePotentials(until: string, includeWeather?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1SatellitePotential>>> {
|
|
3325
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetOrganizationSatellitePotentials(until, includeWeather, options);
|
|
3326
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3327
|
+
},
|
|
3183
3328
|
/**
|
|
3184
3329
|
* Get organization targets see the [create](#operation/v1CreateOrganizationTarget) endpoint for more details.
|
|
3185
3330
|
* @param {*} [options] Override http request option.
|
|
@@ -3193,11 +3338,12 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
3193
3338
|
* Get potential observation windows for a satellite across the network from now until the `until` datetime
|
|
3194
3339
|
* @param {string} satelliteTargetId
|
|
3195
3340
|
* @param {string} until
|
|
3341
|
+
* @param {boolean} [includeWeather]
|
|
3196
3342
|
* @param {*} [options] Override http request option.
|
|
3197
3343
|
* @throws {RequiredError}
|
|
3198
3344
|
*/
|
|
3199
|
-
async v1GetSatellitePotentials(satelliteTargetId: string, until: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1SatellitePotential>>> {
|
|
3200
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetSatellitePotentials(satelliteTargetId, until, options);
|
|
3345
|
+
async v1GetSatellitePotentials(satelliteTargetId: string, until: string, includeWeather?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1SatellitePotential>>> {
|
|
3346
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetSatellitePotentials(satelliteTargetId, until, includeWeather, options);
|
|
3201
3347
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3202
3348
|
},
|
|
3203
3349
|
/**
|
|
@@ -3489,6 +3635,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
3489
3635
|
v1GetObservationStatuses(requestParameters: DefaultApiV1GetObservationStatusesRequest = {}, options?: AxiosRequestConfig): AxiosPromise<Array<V1ObservationStatus>> {
|
|
3490
3636
|
return localVarFp.v1GetObservationStatuses(requestParameters.targetId, requestParameters.before, requestParameters.searchInstructionId, requestParameters.surveyInstructionId, options).then((request) => request(axios, basePath));
|
|
3491
3637
|
},
|
|
3638
|
+
/**
|
|
3639
|
+
* Get potential observation windows for all satellites of your organization across the network from now until the `until` datetime
|
|
3640
|
+
* @param {DefaultApiV1GetOrganizationSatellitePotentialsRequest} requestParameters Request parameters.
|
|
3641
|
+
* @param {*} [options] Override http request option.
|
|
3642
|
+
* @throws {RequiredError}
|
|
3643
|
+
*/
|
|
3644
|
+
v1GetOrganizationSatellitePotentials(requestParameters: DefaultApiV1GetOrganizationSatellitePotentialsRequest, options?: AxiosRequestConfig): AxiosPromise<Array<V1SatellitePotential>> {
|
|
3645
|
+
return localVarFp.v1GetOrganizationSatellitePotentials(requestParameters.until, requestParameters.includeWeather, options).then((request) => request(axios, basePath));
|
|
3646
|
+
},
|
|
3492
3647
|
/**
|
|
3493
3648
|
* Get organization targets see the [create](#operation/v1CreateOrganizationTarget) endpoint for more details.
|
|
3494
3649
|
* @param {*} [options] Override http request option.
|
|
@@ -3504,7 +3659,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
3504
3659
|
* @throws {RequiredError}
|
|
3505
3660
|
*/
|
|
3506
3661
|
v1GetSatellitePotentials(requestParameters: DefaultApiV1GetSatellitePotentialsRequest, options?: AxiosRequestConfig): AxiosPromise<Array<V1SatellitePotential>> {
|
|
3507
|
-
return localVarFp.v1GetSatellitePotentials(requestParameters.satelliteTargetId, requestParameters.until, options).then((request) => request(axios, basePath));
|
|
3662
|
+
return localVarFp.v1GetSatellitePotentials(requestParameters.satelliteTargetId, requestParameters.until, requestParameters.includeWeather, options).then((request) => request(axios, basePath));
|
|
3508
3663
|
},
|
|
3509
3664
|
/**
|
|
3510
3665
|
* Get a satellite target that the OurSky platform can currently track by id.
|
|
@@ -3897,6 +4052,27 @@ export interface DefaultApiV1GetObservationStatusesRequest {
|
|
|
3897
4052
|
readonly surveyInstructionId?: string
|
|
3898
4053
|
}
|
|
3899
4054
|
|
|
4055
|
+
/**
|
|
4056
|
+
* Request parameters for v1GetOrganizationSatellitePotentials operation in DefaultApi.
|
|
4057
|
+
* @export
|
|
4058
|
+
* @interface DefaultApiV1GetOrganizationSatellitePotentialsRequest
|
|
4059
|
+
*/
|
|
4060
|
+
export interface DefaultApiV1GetOrganizationSatellitePotentialsRequest {
|
|
4061
|
+
/**
|
|
4062
|
+
*
|
|
4063
|
+
* @type {string}
|
|
4064
|
+
* @memberof DefaultApiV1GetOrganizationSatellitePotentials
|
|
4065
|
+
*/
|
|
4066
|
+
readonly until: string
|
|
4067
|
+
|
|
4068
|
+
/**
|
|
4069
|
+
*
|
|
4070
|
+
* @type {boolean}
|
|
4071
|
+
* @memberof DefaultApiV1GetOrganizationSatellitePotentials
|
|
4072
|
+
*/
|
|
4073
|
+
readonly includeWeather?: boolean
|
|
4074
|
+
}
|
|
4075
|
+
|
|
3900
4076
|
/**
|
|
3901
4077
|
* Request parameters for v1GetSatellitePotentials operation in DefaultApi.
|
|
3902
4078
|
* @export
|
|
@@ -3916,6 +4092,13 @@ export interface DefaultApiV1GetSatellitePotentialsRequest {
|
|
|
3916
4092
|
* @memberof DefaultApiV1GetSatellitePotentials
|
|
3917
4093
|
*/
|
|
3918
4094
|
readonly until: string
|
|
4095
|
+
|
|
4096
|
+
/**
|
|
4097
|
+
*
|
|
4098
|
+
* @type {boolean}
|
|
4099
|
+
* @memberof DefaultApiV1GetSatellitePotentials
|
|
4100
|
+
*/
|
|
4101
|
+
readonly includeWeather?: boolean
|
|
3919
4102
|
}
|
|
3920
4103
|
|
|
3921
4104
|
/**
|
|
@@ -4281,6 +4464,17 @@ export class DefaultApi extends BaseAPI {
|
|
|
4281
4464
|
return DefaultApiFp(this.configuration).v1GetObservationStatuses(requestParameters.targetId, requestParameters.before, requestParameters.searchInstructionId, requestParameters.surveyInstructionId, options).then((request) => request(this.axios, this.basePath));
|
|
4282
4465
|
}
|
|
4283
4466
|
|
|
4467
|
+
/**
|
|
4468
|
+
* Get potential observation windows for all satellites of your organization across the network from now until the `until` datetime
|
|
4469
|
+
* @param {DefaultApiV1GetOrganizationSatellitePotentialsRequest} requestParameters Request parameters.
|
|
4470
|
+
* @param {*} [options] Override http request option.
|
|
4471
|
+
* @throws {RequiredError}
|
|
4472
|
+
* @memberof DefaultApi
|
|
4473
|
+
*/
|
|
4474
|
+
public v1GetOrganizationSatellitePotentials(requestParameters: DefaultApiV1GetOrganizationSatellitePotentialsRequest, options?: AxiosRequestConfig) {
|
|
4475
|
+
return DefaultApiFp(this.configuration).v1GetOrganizationSatellitePotentials(requestParameters.until, requestParameters.includeWeather, options).then((request) => request(this.axios, this.basePath));
|
|
4476
|
+
}
|
|
4477
|
+
|
|
4284
4478
|
/**
|
|
4285
4479
|
* Get organization targets see the [create](#operation/v1CreateOrganizationTarget) endpoint for more details.
|
|
4286
4480
|
* @param {*} [options] Override http request option.
|
|
@@ -4299,7 +4493,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
4299
4493
|
* @memberof DefaultApi
|
|
4300
4494
|
*/
|
|
4301
4495
|
public v1GetSatellitePotentials(requestParameters: DefaultApiV1GetSatellitePotentialsRequest, options?: AxiosRequestConfig) {
|
|
4302
|
-
return DefaultApiFp(this.configuration).v1GetSatellitePotentials(requestParameters.satelliteTargetId, requestParameters.until, options).then((request) => request(this.axios, this.basePath));
|
|
4496
|
+
return DefaultApiFp(this.configuration).v1GetSatellitePotentials(requestParameters.satelliteTargetId, requestParameters.until, requestParameters.includeWeather, options).then((request) => request(this.axios, this.basePath));
|
|
4303
4497
|
}
|
|
4304
4498
|
|
|
4305
4499
|
/**
|
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](#tag/satellite-targets/[get]/v1/satellite-targets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#tag/organization-targets/[get]/v1/organization-targets) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#tag/webhooks/[post]/v1/communications/webhook) endpoint to receive TDMs automatically (preferred) or use the [tdms](#tag/tdms/[get]/v1/tdms) 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.3644
|
|
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](#tag/satellite-targets/[get]/v1/satellite-targets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#tag/organization-targets/[get]/v1/organization-targets) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#tag/webhooks/[post]/v1/communications/webhook) endpoint to receive TDMs automatically (preferred) or use the [tdms](#tag/tdms/[get]/v1/tdms) 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.3644
|
|
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](#tag/satellite-targets/[get]/v1/satellite-targets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#tag/organization-targets/[get]/v1/organization-targets) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#tag/webhooks/[post]/v1/communications/webhook) endpoint to receive TDMs automatically (preferred) or use the [tdms](#tag/tdms/[get]/v1/tdms) 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.3644
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|