@ourskyai/sda-api 1.3.6669 → 1.3.8106
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 +769 -70
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +571 -55
- package/dist/api.js +280 -8
- 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 +571 -55
- package/dist/esm/api.js +279 -7
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* OurSky SDA
|
|
6
6
|
* 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 OSRs automatically (preferred) or use the [OSRs](#tag/observation-sequence-results/GET/v1/observation-sequence-results) endpoint to poll for OSRs. Check out our [examples](https://github.com/ourskyai/oursky-examples) repository to see usage in each language.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.3.
|
|
8
|
+
* The version of the OpenAPI document: 1.3.8106
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WebhookEvent = exports.WebhookAuthType = exports.WeatherCondition = exports.V1ImageFileType = exports.V1BlackoutVolumeRequestReferenceFrameEnum = exports.TrackingType = exports.ShutterType = exports.SearchCompletedReason = exports.SatelliteTargetTrackingStatus = exports.OrbitType = exports.ObservationState = exports.MountType = exports.ImageSetType = exports.FilterType = void 0;
|
|
25
|
+
exports.V2GetSearchesStatusEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WebhookEvent = exports.WebhookAuthType = exports.WeatherCondition = exports.V1StateVectorReferenceFrameEnum = exports.V1SatelliteCalibrationFamily = exports.V1PlateSolveStatus = exports.V1ImageFileType = exports.V1BlackoutVolumeRequestReferenceFrameEnum = exports.TrackingType = exports.ShutterType = exports.SearchCompletedReason = exports.SatelliteTargetTrackingStatus = exports.OrbitType = exports.ObservationState = exports.MountType = exports.ImageSetType = exports.FilterType = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
@@ -52,7 +52,16 @@ exports.FilterType = {
|
|
|
52
52
|
PHOTO_JOHNSON_B: 'PHOTO_JOHNSON_B',
|
|
53
53
|
PHOTO_JOHNSON_V: 'PHOTO_JOHNSON_V',
|
|
54
54
|
PHOTO_COUSINS_R: 'PHOTO_COUSINS_R',
|
|
55
|
-
PHOTO_COUSINS_I: 'PHOTO_COUSINS_I'
|
|
55
|
+
PHOTO_COUSINS_I: 'PHOTO_COUSINS_I',
|
|
56
|
+
PHOTO_SLOAN_U: 'PHOTO_SLOAN_U',
|
|
57
|
+
PHOTO_SLOAN_G: 'PHOTO_SLOAN_G',
|
|
58
|
+
PHOTO_SLOAN_R: 'PHOTO_SLOAN_R',
|
|
59
|
+
PHOTO_SLOAN_I: 'PHOTO_SLOAN_I',
|
|
60
|
+
PHOTO_SLOAN_Z: 'PHOTO_SLOAN_Z',
|
|
61
|
+
TRIPLE_BAND: 'TRIPLE_BAND',
|
|
62
|
+
QUAD_BAND: 'QUAD_BAND',
|
|
63
|
+
DARK: 'DARK',
|
|
64
|
+
OTHER: 'OTHER'
|
|
56
65
|
};
|
|
57
66
|
/**
|
|
58
67
|
*
|
|
@@ -165,6 +174,30 @@ exports.V1ImageFileType = {
|
|
|
165
174
|
FITS: 'FITS',
|
|
166
175
|
JPG: 'JPG'
|
|
167
176
|
};
|
|
177
|
+
/**
|
|
178
|
+
*
|
|
179
|
+
* @export
|
|
180
|
+
* @enum {string}
|
|
181
|
+
*/
|
|
182
|
+
exports.V1PlateSolveStatus = {
|
|
183
|
+
MATCH_FOUND: 'MATCH_FOUND',
|
|
184
|
+
NO_MATCH_FOUND: 'NO_MATCH_FOUND',
|
|
185
|
+
CANCELLED: 'CANCELLED'
|
|
186
|
+
};
|
|
187
|
+
/**
|
|
188
|
+
*
|
|
189
|
+
* @export
|
|
190
|
+
* @enum {string}
|
|
191
|
+
*/
|
|
192
|
+
exports.V1SatelliteCalibrationFamily = {
|
|
193
|
+
GPS: 'GPS',
|
|
194
|
+
ILRS: 'ILRS',
|
|
195
|
+
SWARM: 'SWARM'
|
|
196
|
+
};
|
|
197
|
+
exports.V1StateVectorReferenceFrameEnum = {
|
|
198
|
+
ECI_J2000: 'ECI_J2000',
|
|
199
|
+
ECEF: 'ECEF'
|
|
200
|
+
};
|
|
168
201
|
/**
|
|
169
202
|
*
|
|
170
203
|
* @export
|
|
@@ -985,6 +1018,50 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
985
1018
|
options: localVarRequestOptions,
|
|
986
1019
|
};
|
|
987
1020
|
}),
|
|
1021
|
+
/**
|
|
1022
|
+
* Get recent satellite calibrations by node. Paginate using `before` and `limit` to retrieve previous calibrations
|
|
1023
|
+
* @param {string} nodeId
|
|
1024
|
+
* @param {number} [limit]
|
|
1025
|
+
* @param {string} [before]
|
|
1026
|
+
* @param {*} [options] Override http request option.
|
|
1027
|
+
* @throws {RequiredError}
|
|
1028
|
+
*/
|
|
1029
|
+
v1GetNodeSatelliteCalibrations: (nodeId, limit, before, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1030
|
+
// verify required parameter 'nodeId' is not null or undefined
|
|
1031
|
+
(0, common_1.assertParamExists)('v1GetNodeSatelliteCalibrations', 'nodeId', nodeId);
|
|
1032
|
+
const localVarPath = `/v1/satellite-calibrations`;
|
|
1033
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1034
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1035
|
+
let baseOptions;
|
|
1036
|
+
if (configuration) {
|
|
1037
|
+
baseOptions = configuration.baseOptions;
|
|
1038
|
+
}
|
|
1039
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1040
|
+
const localVarHeaderParameter = {};
|
|
1041
|
+
const localVarQueryParameter = {};
|
|
1042
|
+
// authentication Roles required
|
|
1043
|
+
// authentication BearerToken required
|
|
1044
|
+
// http bearer authentication required
|
|
1045
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1046
|
+
if (nodeId !== undefined) {
|
|
1047
|
+
localVarQueryParameter['nodeId'] = nodeId;
|
|
1048
|
+
}
|
|
1049
|
+
if (limit !== undefined) {
|
|
1050
|
+
localVarQueryParameter['limit'] = limit;
|
|
1051
|
+
}
|
|
1052
|
+
if (before !== undefined) {
|
|
1053
|
+
localVarQueryParameter['before'] = (before instanceof Date) ?
|
|
1054
|
+
before.toISOString() :
|
|
1055
|
+
before;
|
|
1056
|
+
}
|
|
1057
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1058
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1059
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1060
|
+
return {
|
|
1061
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1062
|
+
options: localVarRequestOptions,
|
|
1063
|
+
};
|
|
1064
|
+
}),
|
|
988
1065
|
/**
|
|
989
1066
|
* Get observation features.
|
|
990
1067
|
* @param {string} imageId
|
|
@@ -1099,11 +1176,12 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1099
1176
|
* @param {string} [before]
|
|
1100
1177
|
* @param {string} [searchInstructionId]
|
|
1101
1178
|
* @param {string} [surveyInstructionId]
|
|
1179
|
+
* @param {string} [resolvedImageInstructionId]
|
|
1102
1180
|
* @param {string} [imageId]
|
|
1103
1181
|
* @param {*} [options] Override http request option.
|
|
1104
1182
|
* @throws {RequiredError}
|
|
1105
1183
|
*/
|
|
1106
|
-
v1GetObservationStatuses: (targetId, before, searchInstructionId, surveyInstructionId, imageId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1184
|
+
v1GetObservationStatuses: (targetId, before, searchInstructionId, surveyInstructionId, resolvedImageInstructionId, imageId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1107
1185
|
const localVarPath = `/v1/observation-statuses`;
|
|
1108
1186
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1109
1187
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -1132,6 +1210,9 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1132
1210
|
if (surveyInstructionId !== undefined) {
|
|
1133
1211
|
localVarQueryParameter['surveyInstructionId'] = surveyInstructionId;
|
|
1134
1212
|
}
|
|
1213
|
+
if (resolvedImageInstructionId !== undefined) {
|
|
1214
|
+
localVarQueryParameter['resolvedImageInstructionId'] = resolvedImageInstructionId;
|
|
1215
|
+
}
|
|
1135
1216
|
if (imageId !== undefined) {
|
|
1136
1217
|
localVarQueryParameter['imageId'] = imageId;
|
|
1137
1218
|
}
|
|
@@ -1411,6 +1492,52 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1411
1492
|
options: localVarRequestOptions,
|
|
1412
1493
|
};
|
|
1413
1494
|
}),
|
|
1495
|
+
/**
|
|
1496
|
+
* Get state vectors for a satellite.
|
|
1497
|
+
* @param {string} targetId
|
|
1498
|
+
* @param {string} [before]
|
|
1499
|
+
* @param {string} [after]
|
|
1500
|
+
* @param {*} [options] Override http request option.
|
|
1501
|
+
* @throws {RequiredError}
|
|
1502
|
+
*/
|
|
1503
|
+
v1GetStateVectors: (targetId, before, after, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1504
|
+
// verify required parameter 'targetId' is not null or undefined
|
|
1505
|
+
(0, common_1.assertParamExists)('v1GetStateVectors', 'targetId', targetId);
|
|
1506
|
+
const localVarPath = `/v1/state-vectors`;
|
|
1507
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1508
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1509
|
+
let baseOptions;
|
|
1510
|
+
if (configuration) {
|
|
1511
|
+
baseOptions = configuration.baseOptions;
|
|
1512
|
+
}
|
|
1513
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1514
|
+
const localVarHeaderParameter = {};
|
|
1515
|
+
const localVarQueryParameter = {};
|
|
1516
|
+
// authentication Roles required
|
|
1517
|
+
// authentication BearerToken required
|
|
1518
|
+
// http bearer authentication required
|
|
1519
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1520
|
+
if (targetId !== undefined) {
|
|
1521
|
+
localVarQueryParameter['targetId'] = targetId;
|
|
1522
|
+
}
|
|
1523
|
+
if (before !== undefined) {
|
|
1524
|
+
localVarQueryParameter['before'] = (before instanceof Date) ?
|
|
1525
|
+
before.toISOString() :
|
|
1526
|
+
before;
|
|
1527
|
+
}
|
|
1528
|
+
if (after !== undefined) {
|
|
1529
|
+
localVarQueryParameter['after'] = (after instanceof Date) ?
|
|
1530
|
+
after.toISOString() :
|
|
1531
|
+
after;
|
|
1532
|
+
}
|
|
1533
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1534
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1535
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1536
|
+
return {
|
|
1537
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1538
|
+
options: localVarRequestOptions,
|
|
1539
|
+
};
|
|
1540
|
+
}),
|
|
1414
1541
|
/**
|
|
1415
1542
|
* Get a list of survey instructions. Survey instructions are the highest priority request in the system. This endpoint is paginated and will return a maximum of 20 results per page. Use the before timestamp to get the next page of results.
|
|
1416
1543
|
* @param {string} [before] The timestamp to get the next page of results. Defaults to the current time.
|
|
@@ -1920,6 +2047,44 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1920
2047
|
options: localVarRequestOptions,
|
|
1921
2048
|
};
|
|
1922
2049
|
}),
|
|
2050
|
+
/**
|
|
2051
|
+
* Get a list of your organization\'s V2 searches by time range or status.
|
|
2052
|
+
* @param {string} [after] The timestamp after which to return results. Defaults to one day prior to the current time.
|
|
2053
|
+
* @param {V2GetSearchesStatusEnum} [status] The status of the searches to return. Defaults to all statuses.
|
|
2054
|
+
* @param {*} [options] Override http request option.
|
|
2055
|
+
* @throws {RequiredError}
|
|
2056
|
+
*/
|
|
2057
|
+
v2GetSearches: (after, status, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2058
|
+
const localVarPath = `/v2/searches`;
|
|
2059
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2060
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2061
|
+
let baseOptions;
|
|
2062
|
+
if (configuration) {
|
|
2063
|
+
baseOptions = configuration.baseOptions;
|
|
2064
|
+
}
|
|
2065
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2066
|
+
const localVarHeaderParameter = {};
|
|
2067
|
+
const localVarQueryParameter = {};
|
|
2068
|
+
// authentication Roles required
|
|
2069
|
+
// authentication BearerToken required
|
|
2070
|
+
// http bearer authentication required
|
|
2071
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2072
|
+
if (after !== undefined) {
|
|
2073
|
+
localVarQueryParameter['after'] = (after instanceof Date) ?
|
|
2074
|
+
after.toISOString() :
|
|
2075
|
+
after;
|
|
2076
|
+
}
|
|
2077
|
+
if (status !== undefined) {
|
|
2078
|
+
localVarQueryParameter['status'] = status;
|
|
2079
|
+
}
|
|
2080
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2081
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2082
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2083
|
+
return {
|
|
2084
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2085
|
+
options: localVarRequestOptions,
|
|
2086
|
+
};
|
|
2087
|
+
}),
|
|
1923
2088
|
};
|
|
1924
2089
|
};
|
|
1925
2090
|
exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
|
|
@@ -2207,6 +2372,20 @@ const DefaultApiFp = function (configuration) {
|
|
|
2207
2372
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2208
2373
|
});
|
|
2209
2374
|
},
|
|
2375
|
+
/**
|
|
2376
|
+
* Get recent satellite calibrations by node. Paginate using `before` and `limit` to retrieve previous calibrations
|
|
2377
|
+
* @param {string} nodeId
|
|
2378
|
+
* @param {number} [limit]
|
|
2379
|
+
* @param {string} [before]
|
|
2380
|
+
* @param {*} [options] Override http request option.
|
|
2381
|
+
* @throws {RequiredError}
|
|
2382
|
+
*/
|
|
2383
|
+
v1GetNodeSatelliteCalibrations(nodeId, limit, before, options) {
|
|
2384
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2385
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetNodeSatelliteCalibrations(nodeId, limit, before, options);
|
|
2386
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2387
|
+
});
|
|
2388
|
+
},
|
|
2210
2389
|
/**
|
|
2211
2390
|
* Get observation features.
|
|
2212
2391
|
* @param {string} imageId
|
|
@@ -2251,13 +2430,14 @@ const DefaultApiFp = function (configuration) {
|
|
|
2251
2430
|
* @param {string} [before]
|
|
2252
2431
|
* @param {string} [searchInstructionId]
|
|
2253
2432
|
* @param {string} [surveyInstructionId]
|
|
2433
|
+
* @param {string} [resolvedImageInstructionId]
|
|
2254
2434
|
* @param {string} [imageId]
|
|
2255
2435
|
* @param {*} [options] Override http request option.
|
|
2256
2436
|
* @throws {RequiredError}
|
|
2257
2437
|
*/
|
|
2258
|
-
v1GetObservationStatuses(targetId, before, searchInstructionId, surveyInstructionId, imageId, options) {
|
|
2438
|
+
v1GetObservationStatuses(targetId, before, searchInstructionId, surveyInstructionId, resolvedImageInstructionId, imageId, options) {
|
|
2259
2439
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2260
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetObservationStatuses(targetId, before, searchInstructionId, surveyInstructionId, imageId, options);
|
|
2440
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetObservationStatuses(targetId, before, searchInstructionId, surveyInstructionId, resolvedImageInstructionId, imageId, options);
|
|
2261
2441
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2262
2442
|
});
|
|
2263
2443
|
},
|
|
@@ -2352,6 +2532,20 @@ const DefaultApiFp = function (configuration) {
|
|
|
2352
2532
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2353
2533
|
});
|
|
2354
2534
|
},
|
|
2535
|
+
/**
|
|
2536
|
+
* Get state vectors for a satellite.
|
|
2537
|
+
* @param {string} targetId
|
|
2538
|
+
* @param {string} [before]
|
|
2539
|
+
* @param {string} [after]
|
|
2540
|
+
* @param {*} [options] Override http request option.
|
|
2541
|
+
* @throws {RequiredError}
|
|
2542
|
+
*/
|
|
2543
|
+
v1GetStateVectors(targetId, before, after, options) {
|
|
2544
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2545
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetStateVectors(targetId, before, after, options);
|
|
2546
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2547
|
+
});
|
|
2548
|
+
},
|
|
2355
2549
|
/**
|
|
2356
2550
|
* Get a list of survey instructions. Survey instructions are the highest priority request in the system. This endpoint is paginated and will return a maximum of 20 results per page. Use the before timestamp to get the next page of results.
|
|
2357
2551
|
* @param {string} [before] The timestamp to get the next page of results. Defaults to the current time.
|
|
@@ -2534,6 +2728,19 @@ const DefaultApiFp = function (configuration) {
|
|
|
2534
2728
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2535
2729
|
});
|
|
2536
2730
|
},
|
|
2731
|
+
/**
|
|
2732
|
+
* Get a list of your organization\'s V2 searches by time range or status.
|
|
2733
|
+
* @param {string} [after] The timestamp after which to return results. Defaults to one day prior to the current time.
|
|
2734
|
+
* @param {V2GetSearchesStatusEnum} [status] The status of the searches to return. Defaults to all statuses.
|
|
2735
|
+
* @param {*} [options] Override http request option.
|
|
2736
|
+
* @throws {RequiredError}
|
|
2737
|
+
*/
|
|
2738
|
+
v2GetSearches(after, status, options) {
|
|
2739
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2740
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v2GetSearches(after, status, options);
|
|
2741
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2742
|
+
});
|
|
2743
|
+
},
|
|
2537
2744
|
};
|
|
2538
2745
|
};
|
|
2539
2746
|
exports.DefaultApiFp = DefaultApiFp;
|
|
@@ -2752,6 +2959,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2752
2959
|
v1GetNodeProperties(requestParameters, options) {
|
|
2753
2960
|
return localVarFp.v1GetNodeProperties(requestParameters.nodeId, options).then((request) => request(axios, basePath));
|
|
2754
2961
|
},
|
|
2962
|
+
/**
|
|
2963
|
+
* Get recent satellite calibrations by node. Paginate using `before` and `limit` to retrieve previous calibrations
|
|
2964
|
+
* @param {DefaultApiV1GetNodeSatelliteCalibrationsRequest} requestParameters Request parameters.
|
|
2965
|
+
* @param {*} [options] Override http request option.
|
|
2966
|
+
* @throws {RequiredError}
|
|
2967
|
+
*/
|
|
2968
|
+
v1GetNodeSatelliteCalibrations(requestParameters, options) {
|
|
2969
|
+
return localVarFp.v1GetNodeSatelliteCalibrations(requestParameters.nodeId, requestParameters.limit, requestParameters.before, options).then((request) => request(axios, basePath));
|
|
2970
|
+
},
|
|
2755
2971
|
/**
|
|
2756
2972
|
* Get observation features.
|
|
2757
2973
|
* @param {DefaultApiV1GetObservationFeaturesRequest} requestParameters Request parameters.
|
|
@@ -2786,7 +3002,7 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2786
3002
|
* @throws {RequiredError}
|
|
2787
3003
|
*/
|
|
2788
3004
|
v1GetObservationStatuses(requestParameters = {}, options) {
|
|
2789
|
-
return localVarFp.v1GetObservationStatuses(requestParameters.targetId, requestParameters.before, requestParameters.searchInstructionId, requestParameters.surveyInstructionId, requestParameters.imageId, options).then((request) => request(axios, basePath));
|
|
3005
|
+
return localVarFp.v1GetObservationStatuses(requestParameters.targetId, requestParameters.before, requestParameters.searchInstructionId, requestParameters.surveyInstructionId, requestParameters.resolvedImageInstructionId, requestParameters.imageId, options).then((request) => request(axios, basePath));
|
|
2790
3006
|
},
|
|
2791
3007
|
/**
|
|
2792
3008
|
* Get potential observation windows for all satellites of your organization across the network from now until the `until` datetime
|
|
@@ -2850,6 +3066,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2850
3066
|
v1GetSearchInstructions(requestParameters = {}, options) {
|
|
2851
3067
|
return localVarFp.v1GetSearchInstructions(requestParameters.before, options).then((request) => request(axios, basePath));
|
|
2852
3068
|
},
|
|
3069
|
+
/**
|
|
3070
|
+
* Get state vectors for a satellite.
|
|
3071
|
+
* @param {DefaultApiV1GetStateVectorsRequest} requestParameters Request parameters.
|
|
3072
|
+
* @param {*} [options] Override http request option.
|
|
3073
|
+
* @throws {RequiredError}
|
|
3074
|
+
*/
|
|
3075
|
+
v1GetStateVectors(requestParameters, options) {
|
|
3076
|
+
return localVarFp.v1GetStateVectors(requestParameters.targetId, requestParameters.before, requestParameters.after, options).then((request) => request(axios, basePath));
|
|
3077
|
+
},
|
|
2853
3078
|
/**
|
|
2854
3079
|
* Get a list of survey instructions. Survey instructions are the highest priority request in the system. This endpoint is paginated and will return a maximum of 20 results per page. Use the before timestamp to get the next page of results.
|
|
2855
3080
|
* @param {DefaultApiV1GetSurveyInstructionsRequest} requestParameters Request parameters.
|
|
@@ -2984,6 +3209,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2984
3209
|
v2GetSearch(requestParameters, options) {
|
|
2985
3210
|
return localVarFp.v2GetSearch(requestParameters.searchId, options).then((request) => request(axios, basePath));
|
|
2986
3211
|
},
|
|
3212
|
+
/**
|
|
3213
|
+
* Get a list of your organization\'s V2 searches by time range or status.
|
|
3214
|
+
* @param {DefaultApiV2GetSearchesRequest} requestParameters Request parameters.
|
|
3215
|
+
* @param {*} [options] Override http request option.
|
|
3216
|
+
* @throws {RequiredError}
|
|
3217
|
+
*/
|
|
3218
|
+
v2GetSearches(requestParameters = {}, options) {
|
|
3219
|
+
return localVarFp.v2GetSearches(requestParameters.after, requestParameters.status, options).then((request) => request(axios, basePath));
|
|
3220
|
+
},
|
|
2987
3221
|
};
|
|
2988
3222
|
};
|
|
2989
3223
|
exports.DefaultApiFactory = DefaultApiFactory;
|
|
@@ -3225,6 +3459,16 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3225
3459
|
v1GetNodeProperties(requestParameters, options) {
|
|
3226
3460
|
return (0, exports.DefaultApiFp)(this.configuration).v1GetNodeProperties(requestParameters.nodeId, options).then((request) => request(this.axios, this.basePath));
|
|
3227
3461
|
}
|
|
3462
|
+
/**
|
|
3463
|
+
* Get recent satellite calibrations by node. Paginate using `before` and `limit` to retrieve previous calibrations
|
|
3464
|
+
* @param {DefaultApiV1GetNodeSatelliteCalibrationsRequest} requestParameters Request parameters.
|
|
3465
|
+
* @param {*} [options] Override http request option.
|
|
3466
|
+
* @throws {RequiredError}
|
|
3467
|
+
* @memberof DefaultApi
|
|
3468
|
+
*/
|
|
3469
|
+
v1GetNodeSatelliteCalibrations(requestParameters, options) {
|
|
3470
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1GetNodeSatelliteCalibrations(requestParameters.nodeId, requestParameters.limit, requestParameters.before, options).then((request) => request(this.axios, this.basePath));
|
|
3471
|
+
}
|
|
3228
3472
|
/**
|
|
3229
3473
|
* Get observation features.
|
|
3230
3474
|
* @param {DefaultApiV1GetObservationFeaturesRequest} requestParameters Request parameters.
|
|
@@ -3263,7 +3507,7 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3263
3507
|
* @memberof DefaultApi
|
|
3264
3508
|
*/
|
|
3265
3509
|
v1GetObservationStatuses(requestParameters = {}, options) {
|
|
3266
|
-
return (0, exports.DefaultApiFp)(this.configuration).v1GetObservationStatuses(requestParameters.targetId, requestParameters.before, requestParameters.searchInstructionId, requestParameters.surveyInstructionId, requestParameters.imageId, options).then((request) => request(this.axios, this.basePath));
|
|
3510
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1GetObservationStatuses(requestParameters.targetId, requestParameters.before, requestParameters.searchInstructionId, requestParameters.surveyInstructionId, requestParameters.resolvedImageInstructionId, requestParameters.imageId, options).then((request) => request(this.axios, this.basePath));
|
|
3267
3511
|
}
|
|
3268
3512
|
/**
|
|
3269
3513
|
* Get potential observation windows for all satellites of your organization across the network from now until the `until` datetime
|
|
@@ -3334,6 +3578,16 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3334
3578
|
v1GetSearchInstructions(requestParameters = {}, options) {
|
|
3335
3579
|
return (0, exports.DefaultApiFp)(this.configuration).v1GetSearchInstructions(requestParameters.before, options).then((request) => request(this.axios, this.basePath));
|
|
3336
3580
|
}
|
|
3581
|
+
/**
|
|
3582
|
+
* Get state vectors for a satellite.
|
|
3583
|
+
* @param {DefaultApiV1GetStateVectorsRequest} requestParameters Request parameters.
|
|
3584
|
+
* @param {*} [options] Override http request option.
|
|
3585
|
+
* @throws {RequiredError}
|
|
3586
|
+
* @memberof DefaultApi
|
|
3587
|
+
*/
|
|
3588
|
+
v1GetStateVectors(requestParameters, options) {
|
|
3589
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1GetStateVectors(requestParameters.targetId, requestParameters.before, requestParameters.after, options).then((request) => request(this.axios, this.basePath));
|
|
3590
|
+
}
|
|
3337
3591
|
/**
|
|
3338
3592
|
* Get a list of survey instructions. Survey instructions are the highest priority request in the system. This endpoint is paginated and will return a maximum of 20 results per page. Use the before timestamp to get the next page of results.
|
|
3339
3593
|
* @param {DefaultApiV1GetSurveyInstructionsRequest} requestParameters Request parameters.
|
|
@@ -3483,5 +3737,23 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3483
3737
|
v2GetSearch(requestParameters, options) {
|
|
3484
3738
|
return (0, exports.DefaultApiFp)(this.configuration).v2GetSearch(requestParameters.searchId, options).then((request) => request(this.axios, this.basePath));
|
|
3485
3739
|
}
|
|
3740
|
+
/**
|
|
3741
|
+
* Get a list of your organization\'s V2 searches by time range or status.
|
|
3742
|
+
* @param {DefaultApiV2GetSearchesRequest} requestParameters Request parameters.
|
|
3743
|
+
* @param {*} [options] Override http request option.
|
|
3744
|
+
* @throws {RequiredError}
|
|
3745
|
+
* @memberof DefaultApi
|
|
3746
|
+
*/
|
|
3747
|
+
v2GetSearches(requestParameters = {}, options) {
|
|
3748
|
+
return (0, exports.DefaultApiFp)(this.configuration).v2GetSearches(requestParameters.after, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
|
|
3749
|
+
}
|
|
3486
3750
|
}
|
|
3487
3751
|
exports.DefaultApi = DefaultApi;
|
|
3752
|
+
/**
|
|
3753
|
+
* @export
|
|
3754
|
+
*/
|
|
3755
|
+
exports.V2GetSearchesStatusEnum = {
|
|
3756
|
+
COMPLETED: 'COMPLETED',
|
|
3757
|
+
IN_PROGRESS: 'IN_PROGRESS',
|
|
3758
|
+
FAILED: 'FAILED'
|
|
3759
|
+
};
|
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](#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 OSRs automatically (preferred) or use the [OSRs](#tag/observation-sequence-results/GET/v1/observation-sequence-results) endpoint to poll for OSRs. Check out our [examples](https://github.com/ourskyai/oursky-examples) repository to see usage in each language.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.8106
|
|
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](#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 OSRs automatically (preferred) or use the [OSRs](#tag/observation-sequence-results/GET/v1/observation-sequence-results) endpoint to poll for OSRs. Check out our [examples](https://github.com/ourskyai/oursky-examples) repository to see usage in each language.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.3.
|
|
8
|
+
* The version of the OpenAPI document: 1.3.8106
|
|
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](#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 OSRs automatically (preferred) or use the [OSRs](#tag/observation-sequence-results/GET/v1/observation-sequence-results) endpoint to poll for OSRs. Check out our [examples](https://github.com/ourskyai/oursky-examples) repository to see usage in each language.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.8106
|
|
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](#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 OSRs automatically (preferred) or use the [OSRs](#tag/observation-sequence-results/GET/v1/observation-sequence-results) endpoint to poll for OSRs. Check out our [examples](https://github.com/ourskyai/oursky-examples) repository to see usage in each language.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.3.
|
|
8
|
+
* The version of the OpenAPI document: 1.3.8106
|
|
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](#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 OSRs automatically (preferred) or use the [OSRs](#tag/observation-sequence-results/GET/v1/observation-sequence-results) endpoint to poll for OSRs. Check out our [examples](https://github.com/ourskyai/oursky-examples) repository to see usage in each language.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.8106
|
|
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](#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 OSRs automatically (preferred) or use the [OSRs](#tag/observation-sequence-results/GET/v1/observation-sequence-results) endpoint to poll for OSRs. Check out our [examples](https://github.com/ourskyai/oursky-examples) repository to see usage in each language.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.3.
|
|
8
|
+
* The version of the OpenAPI document: 1.3.8106
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|