@ourskyai/sda-api 1.3.6669 → 1.3.8459

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/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.6669
8
+ * The version of the OpenAPI document: 1.3.8459
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
@@ -284,6 +317,39 @@ const DefaultApiAxiosParamCreator = function (configuration) {
284
317
  options: localVarRequestOptions,
285
318
  };
286
319
  }),
320
+ /**
321
+ * Create a direct-task instruction. This enables collecting observations on a target at a specific time, bypassing normal scheduling constraints.
322
+ * @param {V1CreateDirectTaskInstructionRequest} v1CreateDirectTaskInstructionRequest
323
+ * @param {*} [options] Override http request option.
324
+ * @throws {RequiredError}
325
+ */
326
+ v1CreateDirectTaskInstruction: (v1CreateDirectTaskInstructionRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
327
+ // verify required parameter 'v1CreateDirectTaskInstructionRequest' is not null or undefined
328
+ (0, common_1.assertParamExists)('v1CreateDirectTaskInstruction', 'v1CreateDirectTaskInstructionRequest', v1CreateDirectTaskInstructionRequest);
329
+ const localVarPath = `/v1/direct-task-instruction`;
330
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
331
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
332
+ let baseOptions;
333
+ if (configuration) {
334
+ baseOptions = configuration.baseOptions;
335
+ }
336
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
337
+ const localVarHeaderParameter = {};
338
+ const localVarQueryParameter = {};
339
+ // authentication Roles required
340
+ // authentication BearerToken required
341
+ // http bearer authentication required
342
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
343
+ localVarHeaderParameter['Content-Type'] = 'application/json';
344
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
345
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
346
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
347
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v1CreateDirectTaskInstructionRequest, localVarRequestOptions, configuration);
348
+ return {
349
+ url: (0, common_1.toPathString)(localVarUrlObj),
350
+ options: localVarRequestOptions,
351
+ };
352
+ }),
287
353
  /**
288
354
  * Create an image set.
289
355
  * @param {V1CreateImageSetRequest} v1CreateImageSetRequest
@@ -583,6 +649,40 @@ const DefaultApiAxiosParamCreator = function (configuration) {
583
649
  options: localVarRequestOptions,
584
650
  };
585
651
  }),
652
+ /**
653
+ * Delete a direct task instruction.
654
+ * @param {string} id
655
+ * @param {*} [options] Override http request option.
656
+ * @throws {RequiredError}
657
+ */
658
+ v1DeleteDirectTaskInstruction: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
659
+ // verify required parameter 'id' is not null or undefined
660
+ (0, common_1.assertParamExists)('v1DeleteDirectTaskInstruction', 'id', id);
661
+ const localVarPath = `/v1/direct-task-instruction`;
662
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
663
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
664
+ let baseOptions;
665
+ if (configuration) {
666
+ baseOptions = configuration.baseOptions;
667
+ }
668
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
669
+ const localVarHeaderParameter = {};
670
+ const localVarQueryParameter = {};
671
+ // authentication Roles required
672
+ // authentication BearerToken required
673
+ // http bearer authentication required
674
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
675
+ if (id !== undefined) {
676
+ localVarQueryParameter['id'] = id;
677
+ }
678
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
679
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
680
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
681
+ return {
682
+ url: (0, common_1.toPathString)(localVarUrlObj),
683
+ options: localVarRequestOptions,
684
+ };
685
+ }),
586
686
  /**
587
687
  * Delete an image set.
588
688
  * @param {string} id
@@ -985,6 +1085,50 @@ const DefaultApiAxiosParamCreator = function (configuration) {
985
1085
  options: localVarRequestOptions,
986
1086
  };
987
1087
  }),
1088
+ /**
1089
+ * Get recent satellite calibrations by node. Paginate using `before` and `limit` to retrieve previous calibrations
1090
+ * @param {string} nodeId
1091
+ * @param {number} [limit]
1092
+ * @param {string} [before]
1093
+ * @param {*} [options] Override http request option.
1094
+ * @throws {RequiredError}
1095
+ */
1096
+ v1GetNodeSatelliteCalibrations: (nodeId, limit, before, options = {}) => __awaiter(this, void 0, void 0, function* () {
1097
+ // verify required parameter 'nodeId' is not null or undefined
1098
+ (0, common_1.assertParamExists)('v1GetNodeSatelliteCalibrations', 'nodeId', nodeId);
1099
+ const localVarPath = `/v1/satellite-calibrations`;
1100
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1101
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1102
+ let baseOptions;
1103
+ if (configuration) {
1104
+ baseOptions = configuration.baseOptions;
1105
+ }
1106
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1107
+ const localVarHeaderParameter = {};
1108
+ const localVarQueryParameter = {};
1109
+ // authentication Roles required
1110
+ // authentication BearerToken required
1111
+ // http bearer authentication required
1112
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1113
+ if (nodeId !== undefined) {
1114
+ localVarQueryParameter['nodeId'] = nodeId;
1115
+ }
1116
+ if (limit !== undefined) {
1117
+ localVarQueryParameter['limit'] = limit;
1118
+ }
1119
+ if (before !== undefined) {
1120
+ localVarQueryParameter['before'] = (before instanceof Date) ?
1121
+ before.toISOString() :
1122
+ before;
1123
+ }
1124
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1125
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1126
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1127
+ return {
1128
+ url: (0, common_1.toPathString)(localVarUrlObj),
1129
+ options: localVarRequestOptions,
1130
+ };
1131
+ }),
988
1132
  /**
989
1133
  * Get observation features.
990
1134
  * @param {string} imageId
@@ -1099,11 +1243,12 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1099
1243
  * @param {string} [before]
1100
1244
  * @param {string} [searchInstructionId]
1101
1245
  * @param {string} [surveyInstructionId]
1246
+ * @param {string} [resolvedImageInstructionId]
1102
1247
  * @param {string} [imageId]
1103
1248
  * @param {*} [options] Override http request option.
1104
1249
  * @throws {RequiredError}
1105
1250
  */
1106
- v1GetObservationStatuses: (targetId, before, searchInstructionId, surveyInstructionId, imageId, options = {}) => __awaiter(this, void 0, void 0, function* () {
1251
+ v1GetObservationStatuses: (targetId, before, searchInstructionId, surveyInstructionId, resolvedImageInstructionId, imageId, options = {}) => __awaiter(this, void 0, void 0, function* () {
1107
1252
  const localVarPath = `/v1/observation-statuses`;
1108
1253
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1109
1254
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -1132,6 +1277,9 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1132
1277
  if (surveyInstructionId !== undefined) {
1133
1278
  localVarQueryParameter['surveyInstructionId'] = surveyInstructionId;
1134
1279
  }
1280
+ if (resolvedImageInstructionId !== undefined) {
1281
+ localVarQueryParameter['resolvedImageInstructionId'] = resolvedImageInstructionId;
1282
+ }
1135
1283
  if (imageId !== undefined) {
1136
1284
  localVarQueryParameter['imageId'] = imageId;
1137
1285
  }
@@ -1411,6 +1559,52 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1411
1559
  options: localVarRequestOptions,
1412
1560
  };
1413
1561
  }),
1562
+ /**
1563
+ * Get state vectors for a satellite.
1564
+ * @param {string} targetId
1565
+ * @param {string} [before]
1566
+ * @param {string} [after]
1567
+ * @param {*} [options] Override http request option.
1568
+ * @throws {RequiredError}
1569
+ */
1570
+ v1GetStateVectors: (targetId, before, after, options = {}) => __awaiter(this, void 0, void 0, function* () {
1571
+ // verify required parameter 'targetId' is not null or undefined
1572
+ (0, common_1.assertParamExists)('v1GetStateVectors', 'targetId', targetId);
1573
+ const localVarPath = `/v1/state-vectors`;
1574
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1575
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1576
+ let baseOptions;
1577
+ if (configuration) {
1578
+ baseOptions = configuration.baseOptions;
1579
+ }
1580
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1581
+ const localVarHeaderParameter = {};
1582
+ const localVarQueryParameter = {};
1583
+ // authentication Roles required
1584
+ // authentication BearerToken required
1585
+ // http bearer authentication required
1586
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1587
+ if (targetId !== undefined) {
1588
+ localVarQueryParameter['targetId'] = targetId;
1589
+ }
1590
+ if (before !== undefined) {
1591
+ localVarQueryParameter['before'] = (before instanceof Date) ?
1592
+ before.toISOString() :
1593
+ before;
1594
+ }
1595
+ if (after !== undefined) {
1596
+ localVarQueryParameter['after'] = (after instanceof Date) ?
1597
+ after.toISOString() :
1598
+ after;
1599
+ }
1600
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1601
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1602
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1603
+ return {
1604
+ url: (0, common_1.toPathString)(localVarUrlObj),
1605
+ options: localVarRequestOptions,
1606
+ };
1607
+ }),
1414
1608
  /**
1415
1609
  * 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
1610
  * @param {string} [before] The timestamp to get the next page of results. Defaults to the current time.
@@ -1920,6 +2114,44 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1920
2114
  options: localVarRequestOptions,
1921
2115
  };
1922
2116
  }),
2117
+ /**
2118
+ * Get a list of your organization\'s V2 searches by time range or status.
2119
+ * @param {string} [after] The timestamp after which to return results. Defaults to one day prior to the current time.
2120
+ * @param {V2GetSearchesStatusEnum} [status] The status of the searches to return. Defaults to all statuses.
2121
+ * @param {*} [options] Override http request option.
2122
+ * @throws {RequiredError}
2123
+ */
2124
+ v2GetSearches: (after, status, options = {}) => __awaiter(this, void 0, void 0, function* () {
2125
+ const localVarPath = `/v2/searches`;
2126
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2127
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2128
+ let baseOptions;
2129
+ if (configuration) {
2130
+ baseOptions = configuration.baseOptions;
2131
+ }
2132
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2133
+ const localVarHeaderParameter = {};
2134
+ const localVarQueryParameter = {};
2135
+ // authentication Roles required
2136
+ // authentication BearerToken required
2137
+ // http bearer authentication required
2138
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
2139
+ if (after !== undefined) {
2140
+ localVarQueryParameter['after'] = (after instanceof Date) ?
2141
+ after.toISOString() :
2142
+ after;
2143
+ }
2144
+ if (status !== undefined) {
2145
+ localVarQueryParameter['status'] = status;
2146
+ }
2147
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2148
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2149
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2150
+ return {
2151
+ url: (0, common_1.toPathString)(localVarUrlObj),
2152
+ options: localVarRequestOptions,
2153
+ };
2154
+ }),
1923
2155
  };
1924
2156
  };
1925
2157
  exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
@@ -1955,6 +2187,18 @@ const DefaultApiFp = function (configuration) {
1955
2187
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1956
2188
  });
1957
2189
  },
2190
+ /**
2191
+ * Create a direct-task instruction. This enables collecting observations on a target at a specific time, bypassing normal scheduling constraints.
2192
+ * @param {V1CreateDirectTaskInstructionRequest} v1CreateDirectTaskInstructionRequest
2193
+ * @param {*} [options] Override http request option.
2194
+ * @throws {RequiredError}
2195
+ */
2196
+ v1CreateDirectTaskInstruction(v1CreateDirectTaskInstructionRequest, options) {
2197
+ return __awaiter(this, void 0, void 0, function* () {
2198
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateDirectTaskInstruction(v1CreateDirectTaskInstructionRequest, options);
2199
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2200
+ });
2201
+ },
1958
2202
  /**
1959
2203
  * Create an image set.
1960
2204
  * @param {V1CreateImageSetRequest} v1CreateImageSetRequest
@@ -2064,6 +2308,18 @@ const DefaultApiFp = function (configuration) {
2064
2308
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2065
2309
  });
2066
2310
  },
2311
+ /**
2312
+ * Delete a direct task instruction.
2313
+ * @param {string} id
2314
+ * @param {*} [options] Override http request option.
2315
+ * @throws {RequiredError}
2316
+ */
2317
+ v1DeleteDirectTaskInstruction(id, options) {
2318
+ return __awaiter(this, void 0, void 0, function* () {
2319
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1DeleteDirectTaskInstruction(id, options);
2320
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2321
+ });
2322
+ },
2067
2323
  /**
2068
2324
  * Delete an image set.
2069
2325
  * @param {string} id
@@ -2207,6 +2463,20 @@ const DefaultApiFp = function (configuration) {
2207
2463
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2208
2464
  });
2209
2465
  },
2466
+ /**
2467
+ * Get recent satellite calibrations by node. Paginate using `before` and `limit` to retrieve previous calibrations
2468
+ * @param {string} nodeId
2469
+ * @param {number} [limit]
2470
+ * @param {string} [before]
2471
+ * @param {*} [options] Override http request option.
2472
+ * @throws {RequiredError}
2473
+ */
2474
+ v1GetNodeSatelliteCalibrations(nodeId, limit, before, options) {
2475
+ return __awaiter(this, void 0, void 0, function* () {
2476
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetNodeSatelliteCalibrations(nodeId, limit, before, options);
2477
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2478
+ });
2479
+ },
2210
2480
  /**
2211
2481
  * Get observation features.
2212
2482
  * @param {string} imageId
@@ -2251,13 +2521,14 @@ const DefaultApiFp = function (configuration) {
2251
2521
  * @param {string} [before]
2252
2522
  * @param {string} [searchInstructionId]
2253
2523
  * @param {string} [surveyInstructionId]
2524
+ * @param {string} [resolvedImageInstructionId]
2254
2525
  * @param {string} [imageId]
2255
2526
  * @param {*} [options] Override http request option.
2256
2527
  * @throws {RequiredError}
2257
2528
  */
2258
- v1GetObservationStatuses(targetId, before, searchInstructionId, surveyInstructionId, imageId, options) {
2529
+ v1GetObservationStatuses(targetId, before, searchInstructionId, surveyInstructionId, resolvedImageInstructionId, imageId, options) {
2259
2530
  return __awaiter(this, void 0, void 0, function* () {
2260
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetObservationStatuses(targetId, before, searchInstructionId, surveyInstructionId, imageId, options);
2531
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetObservationStatuses(targetId, before, searchInstructionId, surveyInstructionId, resolvedImageInstructionId, imageId, options);
2261
2532
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2262
2533
  });
2263
2534
  },
@@ -2352,6 +2623,20 @@ const DefaultApiFp = function (configuration) {
2352
2623
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2353
2624
  });
2354
2625
  },
2626
+ /**
2627
+ * Get state vectors for a satellite.
2628
+ * @param {string} targetId
2629
+ * @param {string} [before]
2630
+ * @param {string} [after]
2631
+ * @param {*} [options] Override http request option.
2632
+ * @throws {RequiredError}
2633
+ */
2634
+ v1GetStateVectors(targetId, before, after, options) {
2635
+ return __awaiter(this, void 0, void 0, function* () {
2636
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetStateVectors(targetId, before, after, options);
2637
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2638
+ });
2639
+ },
2355
2640
  /**
2356
2641
  * 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
2642
  * @param {string} [before] The timestamp to get the next page of results. Defaults to the current time.
@@ -2534,6 +2819,19 @@ const DefaultApiFp = function (configuration) {
2534
2819
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2535
2820
  });
2536
2821
  },
2822
+ /**
2823
+ * Get a list of your organization\'s V2 searches by time range or status.
2824
+ * @param {string} [after] The timestamp after which to return results. Defaults to one day prior to the current time.
2825
+ * @param {V2GetSearchesStatusEnum} [status] The status of the searches to return. Defaults to all statuses.
2826
+ * @param {*} [options] Override http request option.
2827
+ * @throws {RequiredError}
2828
+ */
2829
+ v2GetSearches(after, status, options) {
2830
+ return __awaiter(this, void 0, void 0, function* () {
2831
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v2GetSearches(after, status, options);
2832
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2833
+ });
2834
+ },
2537
2835
  };
2538
2836
  };
2539
2837
  exports.DefaultApiFp = DefaultApiFp;
@@ -2563,6 +2861,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2563
2861
  v1CreateBlackoutVolume(requestParameters, options) {
2564
2862
  return localVarFp.v1CreateBlackoutVolume(requestParameters.v1BlackoutVolumeRequest, options).then((request) => request(axios, basePath));
2565
2863
  },
2864
+ /**
2865
+ * Create a direct-task instruction. This enables collecting observations on a target at a specific time, bypassing normal scheduling constraints.
2866
+ * @param {DefaultApiV1CreateDirectTaskInstructionRequest} requestParameters Request parameters.
2867
+ * @param {*} [options] Override http request option.
2868
+ * @throws {RequiredError}
2869
+ */
2870
+ v1CreateDirectTaskInstruction(requestParameters, options) {
2871
+ return localVarFp.v1CreateDirectTaskInstruction(requestParameters.v1CreateDirectTaskInstructionRequest, options).then((request) => request(axios, basePath));
2872
+ },
2566
2873
  /**
2567
2874
  * Create an image set.
2568
2875
  * @param {DefaultApiV1CreateImageSetRequest} requestParameters Request parameters.
@@ -2645,6 +2952,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2645
2952
  v1DeleteBlackoutVolume(requestParameters, options) {
2646
2953
  return localVarFp.v1DeleteBlackoutVolume(requestParameters.id, options).then((request) => request(axios, basePath));
2647
2954
  },
2955
+ /**
2956
+ * Delete a direct task instruction.
2957
+ * @param {DefaultApiV1DeleteDirectTaskInstructionRequest} requestParameters Request parameters.
2958
+ * @param {*} [options] Override http request option.
2959
+ * @throws {RequiredError}
2960
+ */
2961
+ v1DeleteDirectTaskInstruction(requestParameters, options) {
2962
+ return localVarFp.v1DeleteDirectTaskInstruction(requestParameters.id, options).then((request) => request(axios, basePath));
2963
+ },
2648
2964
  /**
2649
2965
  * Delete an image set.
2650
2966
  * @param {DefaultApiV1DeleteImageSetRequest} requestParameters Request parameters.
@@ -2752,6 +3068,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2752
3068
  v1GetNodeProperties(requestParameters, options) {
2753
3069
  return localVarFp.v1GetNodeProperties(requestParameters.nodeId, options).then((request) => request(axios, basePath));
2754
3070
  },
3071
+ /**
3072
+ * Get recent satellite calibrations by node. Paginate using `before` and `limit` to retrieve previous calibrations
3073
+ * @param {DefaultApiV1GetNodeSatelliteCalibrationsRequest} requestParameters Request parameters.
3074
+ * @param {*} [options] Override http request option.
3075
+ * @throws {RequiredError}
3076
+ */
3077
+ v1GetNodeSatelliteCalibrations(requestParameters, options) {
3078
+ return localVarFp.v1GetNodeSatelliteCalibrations(requestParameters.nodeId, requestParameters.limit, requestParameters.before, options).then((request) => request(axios, basePath));
3079
+ },
2755
3080
  /**
2756
3081
  * Get observation features.
2757
3082
  * @param {DefaultApiV1GetObservationFeaturesRequest} requestParameters Request parameters.
@@ -2786,7 +3111,7 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2786
3111
  * @throws {RequiredError}
2787
3112
  */
2788
3113
  v1GetObservationStatuses(requestParameters = {}, options) {
2789
- return localVarFp.v1GetObservationStatuses(requestParameters.targetId, requestParameters.before, requestParameters.searchInstructionId, requestParameters.surveyInstructionId, requestParameters.imageId, options).then((request) => request(axios, basePath));
3114
+ return localVarFp.v1GetObservationStatuses(requestParameters.targetId, requestParameters.before, requestParameters.searchInstructionId, requestParameters.surveyInstructionId, requestParameters.resolvedImageInstructionId, requestParameters.imageId, options).then((request) => request(axios, basePath));
2790
3115
  },
2791
3116
  /**
2792
3117
  * Get potential observation windows for all satellites of your organization across the network from now until the `until` datetime
@@ -2850,6 +3175,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2850
3175
  v1GetSearchInstructions(requestParameters = {}, options) {
2851
3176
  return localVarFp.v1GetSearchInstructions(requestParameters.before, options).then((request) => request(axios, basePath));
2852
3177
  },
3178
+ /**
3179
+ * Get state vectors for a satellite.
3180
+ * @param {DefaultApiV1GetStateVectorsRequest} requestParameters Request parameters.
3181
+ * @param {*} [options] Override http request option.
3182
+ * @throws {RequiredError}
3183
+ */
3184
+ v1GetStateVectors(requestParameters, options) {
3185
+ return localVarFp.v1GetStateVectors(requestParameters.targetId, requestParameters.before, requestParameters.after, options).then((request) => request(axios, basePath));
3186
+ },
2853
3187
  /**
2854
3188
  * 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
3189
  * @param {DefaultApiV1GetSurveyInstructionsRequest} requestParameters Request parameters.
@@ -2984,6 +3318,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2984
3318
  v2GetSearch(requestParameters, options) {
2985
3319
  return localVarFp.v2GetSearch(requestParameters.searchId, options).then((request) => request(axios, basePath));
2986
3320
  },
3321
+ /**
3322
+ * Get a list of your organization\'s V2 searches by time range or status.
3323
+ * @param {DefaultApiV2GetSearchesRequest} requestParameters Request parameters.
3324
+ * @param {*} [options] Override http request option.
3325
+ * @throws {RequiredError}
3326
+ */
3327
+ v2GetSearches(requestParameters = {}, options) {
3328
+ return localVarFp.v2GetSearches(requestParameters.after, requestParameters.status, options).then((request) => request(axios, basePath));
3329
+ },
2987
3330
  };
2988
3331
  };
2989
3332
  exports.DefaultApiFactory = DefaultApiFactory;
@@ -3015,6 +3358,16 @@ class DefaultApi extends base_1.BaseAPI {
3015
3358
  v1CreateBlackoutVolume(requestParameters, options) {
3016
3359
  return (0, exports.DefaultApiFp)(this.configuration).v1CreateBlackoutVolume(requestParameters.v1BlackoutVolumeRequest, options).then((request) => request(this.axios, this.basePath));
3017
3360
  }
3361
+ /**
3362
+ * Create a direct-task instruction. This enables collecting observations on a target at a specific time, bypassing normal scheduling constraints.
3363
+ * @param {DefaultApiV1CreateDirectTaskInstructionRequest} requestParameters Request parameters.
3364
+ * @param {*} [options] Override http request option.
3365
+ * @throws {RequiredError}
3366
+ * @memberof DefaultApi
3367
+ */
3368
+ v1CreateDirectTaskInstruction(requestParameters, options) {
3369
+ return (0, exports.DefaultApiFp)(this.configuration).v1CreateDirectTaskInstruction(requestParameters.v1CreateDirectTaskInstructionRequest, options).then((request) => request(this.axios, this.basePath));
3370
+ }
3018
3371
  /**
3019
3372
  * Create an image set.
3020
3373
  * @param {DefaultApiV1CreateImageSetRequest} requestParameters Request parameters.
@@ -3106,6 +3459,16 @@ class DefaultApi extends base_1.BaseAPI {
3106
3459
  v1DeleteBlackoutVolume(requestParameters, options) {
3107
3460
  return (0, exports.DefaultApiFp)(this.configuration).v1DeleteBlackoutVolume(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
3108
3461
  }
3462
+ /**
3463
+ * Delete a direct task instruction.
3464
+ * @param {DefaultApiV1DeleteDirectTaskInstructionRequest} requestParameters Request parameters.
3465
+ * @param {*} [options] Override http request option.
3466
+ * @throws {RequiredError}
3467
+ * @memberof DefaultApi
3468
+ */
3469
+ v1DeleteDirectTaskInstruction(requestParameters, options) {
3470
+ return (0, exports.DefaultApiFp)(this.configuration).v1DeleteDirectTaskInstruction(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
3471
+ }
3109
3472
  /**
3110
3473
  * Delete an image set.
3111
3474
  * @param {DefaultApiV1DeleteImageSetRequest} requestParameters Request parameters.
@@ -3225,6 +3588,16 @@ class DefaultApi extends base_1.BaseAPI {
3225
3588
  v1GetNodeProperties(requestParameters, options) {
3226
3589
  return (0, exports.DefaultApiFp)(this.configuration).v1GetNodeProperties(requestParameters.nodeId, options).then((request) => request(this.axios, this.basePath));
3227
3590
  }
3591
+ /**
3592
+ * Get recent satellite calibrations by node. Paginate using `before` and `limit` to retrieve previous calibrations
3593
+ * @param {DefaultApiV1GetNodeSatelliteCalibrationsRequest} requestParameters Request parameters.
3594
+ * @param {*} [options] Override http request option.
3595
+ * @throws {RequiredError}
3596
+ * @memberof DefaultApi
3597
+ */
3598
+ v1GetNodeSatelliteCalibrations(requestParameters, options) {
3599
+ return (0, exports.DefaultApiFp)(this.configuration).v1GetNodeSatelliteCalibrations(requestParameters.nodeId, requestParameters.limit, requestParameters.before, options).then((request) => request(this.axios, this.basePath));
3600
+ }
3228
3601
  /**
3229
3602
  * Get observation features.
3230
3603
  * @param {DefaultApiV1GetObservationFeaturesRequest} requestParameters Request parameters.
@@ -3263,7 +3636,7 @@ class DefaultApi extends base_1.BaseAPI {
3263
3636
  * @memberof DefaultApi
3264
3637
  */
3265
3638
  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));
3639
+ 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
3640
  }
3268
3641
  /**
3269
3642
  * Get potential observation windows for all satellites of your organization across the network from now until the `until` datetime
@@ -3334,6 +3707,16 @@ class DefaultApi extends base_1.BaseAPI {
3334
3707
  v1GetSearchInstructions(requestParameters = {}, options) {
3335
3708
  return (0, exports.DefaultApiFp)(this.configuration).v1GetSearchInstructions(requestParameters.before, options).then((request) => request(this.axios, this.basePath));
3336
3709
  }
3710
+ /**
3711
+ * Get state vectors for a satellite.
3712
+ * @param {DefaultApiV1GetStateVectorsRequest} requestParameters Request parameters.
3713
+ * @param {*} [options] Override http request option.
3714
+ * @throws {RequiredError}
3715
+ * @memberof DefaultApi
3716
+ */
3717
+ v1GetStateVectors(requestParameters, options) {
3718
+ return (0, exports.DefaultApiFp)(this.configuration).v1GetStateVectors(requestParameters.targetId, requestParameters.before, requestParameters.after, options).then((request) => request(this.axios, this.basePath));
3719
+ }
3337
3720
  /**
3338
3721
  * 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
3722
  * @param {DefaultApiV1GetSurveyInstructionsRequest} requestParameters Request parameters.
@@ -3483,5 +3866,23 @@ class DefaultApi extends base_1.BaseAPI {
3483
3866
  v2GetSearch(requestParameters, options) {
3484
3867
  return (0, exports.DefaultApiFp)(this.configuration).v2GetSearch(requestParameters.searchId, options).then((request) => request(this.axios, this.basePath));
3485
3868
  }
3869
+ /**
3870
+ * Get a list of your organization\'s V2 searches by time range or status.
3871
+ * @param {DefaultApiV2GetSearchesRequest} requestParameters Request parameters.
3872
+ * @param {*} [options] Override http request option.
3873
+ * @throws {RequiredError}
3874
+ * @memberof DefaultApi
3875
+ */
3876
+ v2GetSearches(requestParameters = {}, options) {
3877
+ return (0, exports.DefaultApiFp)(this.configuration).v2GetSearches(requestParameters.after, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
3878
+ }
3486
3879
  }
3487
3880
  exports.DefaultApi = DefaultApi;
3881
+ /**
3882
+ * @export
3883
+ */
3884
+ exports.V2GetSearchesStatusEnum = {
3885
+ COMPLETED: 'COMPLETED',
3886
+ IN_PROGRESS: 'IN_PROGRESS',
3887
+ FAILED: 'FAILED'
3888
+ };
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.6669
5
+ * The version of the OpenAPI document: 1.3.8459
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.6669
8
+ * The version of the OpenAPI document: 1.3.8459
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.6669
5
+ * The version of the OpenAPI document: 1.3.8459
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.6669
8
+ * The version of the OpenAPI document: 1.3.8459
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).