@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/esm/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * OurSky SDA
5
5
  * The basic flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#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.
6
6
  *
7
- * The version of the OpenAPI document: 1.3.6669
7
+ * The version of the OpenAPI document: 1.3.8459
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -49,7 +49,16 @@ export const FilterType = {
49
49
  PHOTO_JOHNSON_B: 'PHOTO_JOHNSON_B',
50
50
  PHOTO_JOHNSON_V: 'PHOTO_JOHNSON_V',
51
51
  PHOTO_COUSINS_R: 'PHOTO_COUSINS_R',
52
- PHOTO_COUSINS_I: 'PHOTO_COUSINS_I'
52
+ PHOTO_COUSINS_I: 'PHOTO_COUSINS_I',
53
+ PHOTO_SLOAN_U: 'PHOTO_SLOAN_U',
54
+ PHOTO_SLOAN_G: 'PHOTO_SLOAN_G',
55
+ PHOTO_SLOAN_R: 'PHOTO_SLOAN_R',
56
+ PHOTO_SLOAN_I: 'PHOTO_SLOAN_I',
57
+ PHOTO_SLOAN_Z: 'PHOTO_SLOAN_Z',
58
+ TRIPLE_BAND: 'TRIPLE_BAND',
59
+ QUAD_BAND: 'QUAD_BAND',
60
+ DARK: 'DARK',
61
+ OTHER: 'OTHER'
53
62
  };
54
63
  /**
55
64
  *
@@ -162,6 +171,30 @@ export const V1ImageFileType = {
162
171
  FITS: 'FITS',
163
172
  JPG: 'JPG'
164
173
  };
174
+ /**
175
+ *
176
+ * @export
177
+ * @enum {string}
178
+ */
179
+ export const V1PlateSolveStatus = {
180
+ MATCH_FOUND: 'MATCH_FOUND',
181
+ NO_MATCH_FOUND: 'NO_MATCH_FOUND',
182
+ CANCELLED: 'CANCELLED'
183
+ };
184
+ /**
185
+ *
186
+ * @export
187
+ * @enum {string}
188
+ */
189
+ export const V1SatelliteCalibrationFamily = {
190
+ GPS: 'GPS',
191
+ ILRS: 'ILRS',
192
+ SWARM: 'SWARM'
193
+ };
194
+ export const V1StateVectorReferenceFrameEnum = {
195
+ ECI_J2000: 'ECI_J2000',
196
+ ECEF: 'ECEF'
197
+ };
165
198
  /**
166
199
  *
167
200
  * @export
@@ -281,6 +314,39 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
281
314
  options: localVarRequestOptions,
282
315
  };
283
316
  }),
317
+ /**
318
+ * Create a direct-task instruction. This enables collecting observations on a target at a specific time, bypassing normal scheduling constraints.
319
+ * @param {V1CreateDirectTaskInstructionRequest} v1CreateDirectTaskInstructionRequest
320
+ * @param {*} [options] Override http request option.
321
+ * @throws {RequiredError}
322
+ */
323
+ v1CreateDirectTaskInstruction: (v1CreateDirectTaskInstructionRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
324
+ // verify required parameter 'v1CreateDirectTaskInstructionRequest' is not null or undefined
325
+ assertParamExists('v1CreateDirectTaskInstruction', 'v1CreateDirectTaskInstructionRequest', v1CreateDirectTaskInstructionRequest);
326
+ const localVarPath = `/v1/direct-task-instruction`;
327
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
328
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
329
+ let baseOptions;
330
+ if (configuration) {
331
+ baseOptions = configuration.baseOptions;
332
+ }
333
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
334
+ const localVarHeaderParameter = {};
335
+ const localVarQueryParameter = {};
336
+ // authentication Roles required
337
+ // authentication BearerToken required
338
+ // http bearer authentication required
339
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
340
+ localVarHeaderParameter['Content-Type'] = 'application/json';
341
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
342
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
343
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
344
+ localVarRequestOptions.data = serializeDataIfNeeded(v1CreateDirectTaskInstructionRequest, localVarRequestOptions, configuration);
345
+ return {
346
+ url: toPathString(localVarUrlObj),
347
+ options: localVarRequestOptions,
348
+ };
349
+ }),
284
350
  /**
285
351
  * Create an image set.
286
352
  * @param {V1CreateImageSetRequest} v1CreateImageSetRequest
@@ -580,6 +646,40 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
580
646
  options: localVarRequestOptions,
581
647
  };
582
648
  }),
649
+ /**
650
+ * Delete a direct task instruction.
651
+ * @param {string} id
652
+ * @param {*} [options] Override http request option.
653
+ * @throws {RequiredError}
654
+ */
655
+ v1DeleteDirectTaskInstruction: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
656
+ // verify required parameter 'id' is not null or undefined
657
+ assertParamExists('v1DeleteDirectTaskInstruction', 'id', id);
658
+ const localVarPath = `/v1/direct-task-instruction`;
659
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
660
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
661
+ let baseOptions;
662
+ if (configuration) {
663
+ baseOptions = configuration.baseOptions;
664
+ }
665
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
666
+ const localVarHeaderParameter = {};
667
+ const localVarQueryParameter = {};
668
+ // authentication Roles required
669
+ // authentication BearerToken required
670
+ // http bearer authentication required
671
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
672
+ if (id !== undefined) {
673
+ localVarQueryParameter['id'] = id;
674
+ }
675
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
676
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
677
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
678
+ return {
679
+ url: toPathString(localVarUrlObj),
680
+ options: localVarRequestOptions,
681
+ };
682
+ }),
583
683
  /**
584
684
  * Delete an image set.
585
685
  * @param {string} id
@@ -982,6 +1082,50 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
982
1082
  options: localVarRequestOptions,
983
1083
  };
984
1084
  }),
1085
+ /**
1086
+ * Get recent satellite calibrations by node. Paginate using `before` and `limit` to retrieve previous calibrations
1087
+ * @param {string} nodeId
1088
+ * @param {number} [limit]
1089
+ * @param {string} [before]
1090
+ * @param {*} [options] Override http request option.
1091
+ * @throws {RequiredError}
1092
+ */
1093
+ v1GetNodeSatelliteCalibrations: (nodeId, limit, before, options = {}) => __awaiter(this, void 0, void 0, function* () {
1094
+ // verify required parameter 'nodeId' is not null or undefined
1095
+ assertParamExists('v1GetNodeSatelliteCalibrations', 'nodeId', nodeId);
1096
+ const localVarPath = `/v1/satellite-calibrations`;
1097
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1098
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1099
+ let baseOptions;
1100
+ if (configuration) {
1101
+ baseOptions = configuration.baseOptions;
1102
+ }
1103
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1104
+ const localVarHeaderParameter = {};
1105
+ const localVarQueryParameter = {};
1106
+ // authentication Roles required
1107
+ // authentication BearerToken required
1108
+ // http bearer authentication required
1109
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1110
+ if (nodeId !== undefined) {
1111
+ localVarQueryParameter['nodeId'] = nodeId;
1112
+ }
1113
+ if (limit !== undefined) {
1114
+ localVarQueryParameter['limit'] = limit;
1115
+ }
1116
+ if (before !== undefined) {
1117
+ localVarQueryParameter['before'] = (before instanceof Date) ?
1118
+ before.toISOString() :
1119
+ before;
1120
+ }
1121
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1122
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1123
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1124
+ return {
1125
+ url: toPathString(localVarUrlObj),
1126
+ options: localVarRequestOptions,
1127
+ };
1128
+ }),
985
1129
  /**
986
1130
  * Get observation features.
987
1131
  * @param {string} imageId
@@ -1096,11 +1240,12 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1096
1240
  * @param {string} [before]
1097
1241
  * @param {string} [searchInstructionId]
1098
1242
  * @param {string} [surveyInstructionId]
1243
+ * @param {string} [resolvedImageInstructionId]
1099
1244
  * @param {string} [imageId]
1100
1245
  * @param {*} [options] Override http request option.
1101
1246
  * @throws {RequiredError}
1102
1247
  */
1103
- v1GetObservationStatuses: (targetId, before, searchInstructionId, surveyInstructionId, imageId, options = {}) => __awaiter(this, void 0, void 0, function* () {
1248
+ v1GetObservationStatuses: (targetId, before, searchInstructionId, surveyInstructionId, resolvedImageInstructionId, imageId, options = {}) => __awaiter(this, void 0, void 0, function* () {
1104
1249
  const localVarPath = `/v1/observation-statuses`;
1105
1250
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1106
1251
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1129,6 +1274,9 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1129
1274
  if (surveyInstructionId !== undefined) {
1130
1275
  localVarQueryParameter['surveyInstructionId'] = surveyInstructionId;
1131
1276
  }
1277
+ if (resolvedImageInstructionId !== undefined) {
1278
+ localVarQueryParameter['resolvedImageInstructionId'] = resolvedImageInstructionId;
1279
+ }
1132
1280
  if (imageId !== undefined) {
1133
1281
  localVarQueryParameter['imageId'] = imageId;
1134
1282
  }
@@ -1408,6 +1556,52 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1408
1556
  options: localVarRequestOptions,
1409
1557
  };
1410
1558
  }),
1559
+ /**
1560
+ * Get state vectors for a satellite.
1561
+ * @param {string} targetId
1562
+ * @param {string} [before]
1563
+ * @param {string} [after]
1564
+ * @param {*} [options] Override http request option.
1565
+ * @throws {RequiredError}
1566
+ */
1567
+ v1GetStateVectors: (targetId, before, after, options = {}) => __awaiter(this, void 0, void 0, function* () {
1568
+ // verify required parameter 'targetId' is not null or undefined
1569
+ assertParamExists('v1GetStateVectors', 'targetId', targetId);
1570
+ const localVarPath = `/v1/state-vectors`;
1571
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1572
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1573
+ let baseOptions;
1574
+ if (configuration) {
1575
+ baseOptions = configuration.baseOptions;
1576
+ }
1577
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1578
+ const localVarHeaderParameter = {};
1579
+ const localVarQueryParameter = {};
1580
+ // authentication Roles required
1581
+ // authentication BearerToken required
1582
+ // http bearer authentication required
1583
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1584
+ if (targetId !== undefined) {
1585
+ localVarQueryParameter['targetId'] = targetId;
1586
+ }
1587
+ if (before !== undefined) {
1588
+ localVarQueryParameter['before'] = (before instanceof Date) ?
1589
+ before.toISOString() :
1590
+ before;
1591
+ }
1592
+ if (after !== undefined) {
1593
+ localVarQueryParameter['after'] = (after instanceof Date) ?
1594
+ after.toISOString() :
1595
+ after;
1596
+ }
1597
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1598
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1599
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1600
+ return {
1601
+ url: toPathString(localVarUrlObj),
1602
+ options: localVarRequestOptions,
1603
+ };
1604
+ }),
1411
1605
  /**
1412
1606
  * 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.
1413
1607
  * @param {string} [before] The timestamp to get the next page of results. Defaults to the current time.
@@ -1917,6 +2111,44 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1917
2111
  options: localVarRequestOptions,
1918
2112
  };
1919
2113
  }),
2114
+ /**
2115
+ * Get a list of your organization\'s V2 searches by time range or status.
2116
+ * @param {string} [after] The timestamp after which to return results. Defaults to one day prior to the current time.
2117
+ * @param {V2GetSearchesStatusEnum} [status] The status of the searches to return. Defaults to all statuses.
2118
+ * @param {*} [options] Override http request option.
2119
+ * @throws {RequiredError}
2120
+ */
2121
+ v2GetSearches: (after, status, options = {}) => __awaiter(this, void 0, void 0, function* () {
2122
+ const localVarPath = `/v2/searches`;
2123
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2124
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2125
+ let baseOptions;
2126
+ if (configuration) {
2127
+ baseOptions = configuration.baseOptions;
2128
+ }
2129
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2130
+ const localVarHeaderParameter = {};
2131
+ const localVarQueryParameter = {};
2132
+ // authentication Roles required
2133
+ // authentication BearerToken required
2134
+ // http bearer authentication required
2135
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
2136
+ if (after !== undefined) {
2137
+ localVarQueryParameter['after'] = (after instanceof Date) ?
2138
+ after.toISOString() :
2139
+ after;
2140
+ }
2141
+ if (status !== undefined) {
2142
+ localVarQueryParameter['status'] = status;
2143
+ }
2144
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2145
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2146
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2147
+ return {
2148
+ url: toPathString(localVarUrlObj),
2149
+ options: localVarRequestOptions,
2150
+ };
2151
+ }),
1920
2152
  };
1921
2153
  };
1922
2154
  /**
@@ -1951,6 +2183,18 @@ export const DefaultApiFp = function (configuration) {
1951
2183
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1952
2184
  });
1953
2185
  },
2186
+ /**
2187
+ * Create a direct-task instruction. This enables collecting observations on a target at a specific time, bypassing normal scheduling constraints.
2188
+ * @param {V1CreateDirectTaskInstructionRequest} v1CreateDirectTaskInstructionRequest
2189
+ * @param {*} [options] Override http request option.
2190
+ * @throws {RequiredError}
2191
+ */
2192
+ v1CreateDirectTaskInstruction(v1CreateDirectTaskInstructionRequest, options) {
2193
+ return __awaiter(this, void 0, void 0, function* () {
2194
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateDirectTaskInstruction(v1CreateDirectTaskInstructionRequest, options);
2195
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2196
+ });
2197
+ },
1954
2198
  /**
1955
2199
  * Create an image set.
1956
2200
  * @param {V1CreateImageSetRequest} v1CreateImageSetRequest
@@ -2060,6 +2304,18 @@ export const DefaultApiFp = function (configuration) {
2060
2304
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2061
2305
  });
2062
2306
  },
2307
+ /**
2308
+ * Delete a direct task instruction.
2309
+ * @param {string} id
2310
+ * @param {*} [options] Override http request option.
2311
+ * @throws {RequiredError}
2312
+ */
2313
+ v1DeleteDirectTaskInstruction(id, options) {
2314
+ return __awaiter(this, void 0, void 0, function* () {
2315
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1DeleteDirectTaskInstruction(id, options);
2316
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2317
+ });
2318
+ },
2063
2319
  /**
2064
2320
  * Delete an image set.
2065
2321
  * @param {string} id
@@ -2203,6 +2459,20 @@ export const DefaultApiFp = function (configuration) {
2203
2459
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2204
2460
  });
2205
2461
  },
2462
+ /**
2463
+ * Get recent satellite calibrations by node. Paginate using `before` and `limit` to retrieve previous calibrations
2464
+ * @param {string} nodeId
2465
+ * @param {number} [limit]
2466
+ * @param {string} [before]
2467
+ * @param {*} [options] Override http request option.
2468
+ * @throws {RequiredError}
2469
+ */
2470
+ v1GetNodeSatelliteCalibrations(nodeId, limit, before, options) {
2471
+ return __awaiter(this, void 0, void 0, function* () {
2472
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetNodeSatelliteCalibrations(nodeId, limit, before, options);
2473
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2474
+ });
2475
+ },
2206
2476
  /**
2207
2477
  * Get observation features.
2208
2478
  * @param {string} imageId
@@ -2247,13 +2517,14 @@ export const DefaultApiFp = function (configuration) {
2247
2517
  * @param {string} [before]
2248
2518
  * @param {string} [searchInstructionId]
2249
2519
  * @param {string} [surveyInstructionId]
2520
+ * @param {string} [resolvedImageInstructionId]
2250
2521
  * @param {string} [imageId]
2251
2522
  * @param {*} [options] Override http request option.
2252
2523
  * @throws {RequiredError}
2253
2524
  */
2254
- v1GetObservationStatuses(targetId, before, searchInstructionId, surveyInstructionId, imageId, options) {
2525
+ v1GetObservationStatuses(targetId, before, searchInstructionId, surveyInstructionId, resolvedImageInstructionId, imageId, options) {
2255
2526
  return __awaiter(this, void 0, void 0, function* () {
2256
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetObservationStatuses(targetId, before, searchInstructionId, surveyInstructionId, imageId, options);
2527
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetObservationStatuses(targetId, before, searchInstructionId, surveyInstructionId, resolvedImageInstructionId, imageId, options);
2257
2528
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2258
2529
  });
2259
2530
  },
@@ -2348,6 +2619,20 @@ export const DefaultApiFp = function (configuration) {
2348
2619
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2349
2620
  });
2350
2621
  },
2622
+ /**
2623
+ * Get state vectors for a satellite.
2624
+ * @param {string} targetId
2625
+ * @param {string} [before]
2626
+ * @param {string} [after]
2627
+ * @param {*} [options] Override http request option.
2628
+ * @throws {RequiredError}
2629
+ */
2630
+ v1GetStateVectors(targetId, before, after, options) {
2631
+ return __awaiter(this, void 0, void 0, function* () {
2632
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetStateVectors(targetId, before, after, options);
2633
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2634
+ });
2635
+ },
2351
2636
  /**
2352
2637
  * 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.
2353
2638
  * @param {string} [before] The timestamp to get the next page of results. Defaults to the current time.
@@ -2530,6 +2815,19 @@ export const DefaultApiFp = function (configuration) {
2530
2815
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2531
2816
  });
2532
2817
  },
2818
+ /**
2819
+ * Get a list of your organization\'s V2 searches by time range or status.
2820
+ * @param {string} [after] The timestamp after which to return results. Defaults to one day prior to the current time.
2821
+ * @param {V2GetSearchesStatusEnum} [status] The status of the searches to return. Defaults to all statuses.
2822
+ * @param {*} [options] Override http request option.
2823
+ * @throws {RequiredError}
2824
+ */
2825
+ v2GetSearches(after, status, options) {
2826
+ return __awaiter(this, void 0, void 0, function* () {
2827
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v2GetSearches(after, status, options);
2828
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2829
+ });
2830
+ },
2533
2831
  };
2534
2832
  };
2535
2833
  /**
@@ -2558,6 +2856,15 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
2558
2856
  v1CreateBlackoutVolume(requestParameters, options) {
2559
2857
  return localVarFp.v1CreateBlackoutVolume(requestParameters.v1BlackoutVolumeRequest, options).then((request) => request(axios, basePath));
2560
2858
  },
2859
+ /**
2860
+ * Create a direct-task instruction. This enables collecting observations on a target at a specific time, bypassing normal scheduling constraints.
2861
+ * @param {DefaultApiV1CreateDirectTaskInstructionRequest} requestParameters Request parameters.
2862
+ * @param {*} [options] Override http request option.
2863
+ * @throws {RequiredError}
2864
+ */
2865
+ v1CreateDirectTaskInstruction(requestParameters, options) {
2866
+ return localVarFp.v1CreateDirectTaskInstruction(requestParameters.v1CreateDirectTaskInstructionRequest, options).then((request) => request(axios, basePath));
2867
+ },
2561
2868
  /**
2562
2869
  * Create an image set.
2563
2870
  * @param {DefaultApiV1CreateImageSetRequest} requestParameters Request parameters.
@@ -2640,6 +2947,15 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
2640
2947
  v1DeleteBlackoutVolume(requestParameters, options) {
2641
2948
  return localVarFp.v1DeleteBlackoutVolume(requestParameters.id, options).then((request) => request(axios, basePath));
2642
2949
  },
2950
+ /**
2951
+ * Delete a direct task instruction.
2952
+ * @param {DefaultApiV1DeleteDirectTaskInstructionRequest} requestParameters Request parameters.
2953
+ * @param {*} [options] Override http request option.
2954
+ * @throws {RequiredError}
2955
+ */
2956
+ v1DeleteDirectTaskInstruction(requestParameters, options) {
2957
+ return localVarFp.v1DeleteDirectTaskInstruction(requestParameters.id, options).then((request) => request(axios, basePath));
2958
+ },
2643
2959
  /**
2644
2960
  * Delete an image set.
2645
2961
  * @param {DefaultApiV1DeleteImageSetRequest} requestParameters Request parameters.
@@ -2747,6 +3063,15 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
2747
3063
  v1GetNodeProperties(requestParameters, options) {
2748
3064
  return localVarFp.v1GetNodeProperties(requestParameters.nodeId, options).then((request) => request(axios, basePath));
2749
3065
  },
3066
+ /**
3067
+ * Get recent satellite calibrations by node. Paginate using `before` and `limit` to retrieve previous calibrations
3068
+ * @param {DefaultApiV1GetNodeSatelliteCalibrationsRequest} requestParameters Request parameters.
3069
+ * @param {*} [options] Override http request option.
3070
+ * @throws {RequiredError}
3071
+ */
3072
+ v1GetNodeSatelliteCalibrations(requestParameters, options) {
3073
+ return localVarFp.v1GetNodeSatelliteCalibrations(requestParameters.nodeId, requestParameters.limit, requestParameters.before, options).then((request) => request(axios, basePath));
3074
+ },
2750
3075
  /**
2751
3076
  * Get observation features.
2752
3077
  * @param {DefaultApiV1GetObservationFeaturesRequest} requestParameters Request parameters.
@@ -2781,7 +3106,7 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
2781
3106
  * @throws {RequiredError}
2782
3107
  */
2783
3108
  v1GetObservationStatuses(requestParameters = {}, options) {
2784
- return localVarFp.v1GetObservationStatuses(requestParameters.targetId, requestParameters.before, requestParameters.searchInstructionId, requestParameters.surveyInstructionId, requestParameters.imageId, options).then((request) => request(axios, basePath));
3109
+ return localVarFp.v1GetObservationStatuses(requestParameters.targetId, requestParameters.before, requestParameters.searchInstructionId, requestParameters.surveyInstructionId, requestParameters.resolvedImageInstructionId, requestParameters.imageId, options).then((request) => request(axios, basePath));
2785
3110
  },
2786
3111
  /**
2787
3112
  * Get potential observation windows for all satellites of your organization across the network from now until the `until` datetime
@@ -2845,6 +3170,15 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
2845
3170
  v1GetSearchInstructions(requestParameters = {}, options) {
2846
3171
  return localVarFp.v1GetSearchInstructions(requestParameters.before, options).then((request) => request(axios, basePath));
2847
3172
  },
3173
+ /**
3174
+ * Get state vectors for a satellite.
3175
+ * @param {DefaultApiV1GetStateVectorsRequest} requestParameters Request parameters.
3176
+ * @param {*} [options] Override http request option.
3177
+ * @throws {RequiredError}
3178
+ */
3179
+ v1GetStateVectors(requestParameters, options) {
3180
+ return localVarFp.v1GetStateVectors(requestParameters.targetId, requestParameters.before, requestParameters.after, options).then((request) => request(axios, basePath));
3181
+ },
2848
3182
  /**
2849
3183
  * 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.
2850
3184
  * @param {DefaultApiV1GetSurveyInstructionsRequest} requestParameters Request parameters.
@@ -2979,6 +3313,15 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
2979
3313
  v2GetSearch(requestParameters, options) {
2980
3314
  return localVarFp.v2GetSearch(requestParameters.searchId, options).then((request) => request(axios, basePath));
2981
3315
  },
3316
+ /**
3317
+ * Get a list of your organization\'s V2 searches by time range or status.
3318
+ * @param {DefaultApiV2GetSearchesRequest} requestParameters Request parameters.
3319
+ * @param {*} [options] Override http request option.
3320
+ * @throws {RequiredError}
3321
+ */
3322
+ v2GetSearches(requestParameters = {}, options) {
3323
+ return localVarFp.v2GetSearches(requestParameters.after, requestParameters.status, options).then((request) => request(axios, basePath));
3324
+ },
2982
3325
  };
2983
3326
  };
2984
3327
  /**
@@ -3009,6 +3352,16 @@ export class DefaultApi extends BaseAPI {
3009
3352
  v1CreateBlackoutVolume(requestParameters, options) {
3010
3353
  return DefaultApiFp(this.configuration).v1CreateBlackoutVolume(requestParameters.v1BlackoutVolumeRequest, options).then((request) => request(this.axios, this.basePath));
3011
3354
  }
3355
+ /**
3356
+ * Create a direct-task instruction. This enables collecting observations on a target at a specific time, bypassing normal scheduling constraints.
3357
+ * @param {DefaultApiV1CreateDirectTaskInstructionRequest} requestParameters Request parameters.
3358
+ * @param {*} [options] Override http request option.
3359
+ * @throws {RequiredError}
3360
+ * @memberof DefaultApi
3361
+ */
3362
+ v1CreateDirectTaskInstruction(requestParameters, options) {
3363
+ return DefaultApiFp(this.configuration).v1CreateDirectTaskInstruction(requestParameters.v1CreateDirectTaskInstructionRequest, options).then((request) => request(this.axios, this.basePath));
3364
+ }
3012
3365
  /**
3013
3366
  * Create an image set.
3014
3367
  * @param {DefaultApiV1CreateImageSetRequest} requestParameters Request parameters.
@@ -3100,6 +3453,16 @@ export class DefaultApi extends BaseAPI {
3100
3453
  v1DeleteBlackoutVolume(requestParameters, options) {
3101
3454
  return DefaultApiFp(this.configuration).v1DeleteBlackoutVolume(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
3102
3455
  }
3456
+ /**
3457
+ * Delete a direct task instruction.
3458
+ * @param {DefaultApiV1DeleteDirectTaskInstructionRequest} requestParameters Request parameters.
3459
+ * @param {*} [options] Override http request option.
3460
+ * @throws {RequiredError}
3461
+ * @memberof DefaultApi
3462
+ */
3463
+ v1DeleteDirectTaskInstruction(requestParameters, options) {
3464
+ return DefaultApiFp(this.configuration).v1DeleteDirectTaskInstruction(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
3465
+ }
3103
3466
  /**
3104
3467
  * Delete an image set.
3105
3468
  * @param {DefaultApiV1DeleteImageSetRequest} requestParameters Request parameters.
@@ -3219,6 +3582,16 @@ export class DefaultApi extends BaseAPI {
3219
3582
  v1GetNodeProperties(requestParameters, options) {
3220
3583
  return DefaultApiFp(this.configuration).v1GetNodeProperties(requestParameters.nodeId, options).then((request) => request(this.axios, this.basePath));
3221
3584
  }
3585
+ /**
3586
+ * Get recent satellite calibrations by node. Paginate using `before` and `limit` to retrieve previous calibrations
3587
+ * @param {DefaultApiV1GetNodeSatelliteCalibrationsRequest} requestParameters Request parameters.
3588
+ * @param {*} [options] Override http request option.
3589
+ * @throws {RequiredError}
3590
+ * @memberof DefaultApi
3591
+ */
3592
+ v1GetNodeSatelliteCalibrations(requestParameters, options) {
3593
+ return DefaultApiFp(this.configuration).v1GetNodeSatelliteCalibrations(requestParameters.nodeId, requestParameters.limit, requestParameters.before, options).then((request) => request(this.axios, this.basePath));
3594
+ }
3222
3595
  /**
3223
3596
  * Get observation features.
3224
3597
  * @param {DefaultApiV1GetObservationFeaturesRequest} requestParameters Request parameters.
@@ -3257,7 +3630,7 @@ export class DefaultApi extends BaseAPI {
3257
3630
  * @memberof DefaultApi
3258
3631
  */
3259
3632
  v1GetObservationStatuses(requestParameters = {}, options) {
3260
- return DefaultApiFp(this.configuration).v1GetObservationStatuses(requestParameters.targetId, requestParameters.before, requestParameters.searchInstructionId, requestParameters.surveyInstructionId, requestParameters.imageId, options).then((request) => request(this.axios, this.basePath));
3633
+ return DefaultApiFp(this.configuration).v1GetObservationStatuses(requestParameters.targetId, requestParameters.before, requestParameters.searchInstructionId, requestParameters.surveyInstructionId, requestParameters.resolvedImageInstructionId, requestParameters.imageId, options).then((request) => request(this.axios, this.basePath));
3261
3634
  }
3262
3635
  /**
3263
3636
  * Get potential observation windows for all satellites of your organization across the network from now until the `until` datetime
@@ -3328,6 +3701,16 @@ export class DefaultApi extends BaseAPI {
3328
3701
  v1GetSearchInstructions(requestParameters = {}, options) {
3329
3702
  return DefaultApiFp(this.configuration).v1GetSearchInstructions(requestParameters.before, options).then((request) => request(this.axios, this.basePath));
3330
3703
  }
3704
+ /**
3705
+ * Get state vectors for a satellite.
3706
+ * @param {DefaultApiV1GetStateVectorsRequest} requestParameters Request parameters.
3707
+ * @param {*} [options] Override http request option.
3708
+ * @throws {RequiredError}
3709
+ * @memberof DefaultApi
3710
+ */
3711
+ v1GetStateVectors(requestParameters, options) {
3712
+ return DefaultApiFp(this.configuration).v1GetStateVectors(requestParameters.targetId, requestParameters.before, requestParameters.after, options).then((request) => request(this.axios, this.basePath));
3713
+ }
3331
3714
  /**
3332
3715
  * 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.
3333
3716
  * @param {DefaultApiV1GetSurveyInstructionsRequest} requestParameters Request parameters.
@@ -3477,4 +3860,22 @@ export class DefaultApi extends BaseAPI {
3477
3860
  v2GetSearch(requestParameters, options) {
3478
3861
  return DefaultApiFp(this.configuration).v2GetSearch(requestParameters.searchId, options).then((request) => request(this.axios, this.basePath));
3479
3862
  }
3863
+ /**
3864
+ * Get a list of your organization\'s V2 searches by time range or status.
3865
+ * @param {DefaultApiV2GetSearchesRequest} requestParameters Request parameters.
3866
+ * @param {*} [options] Override http request option.
3867
+ * @throws {RequiredError}
3868
+ * @memberof DefaultApi
3869
+ */
3870
+ v2GetSearches(requestParameters = {}, options) {
3871
+ return DefaultApiFp(this.configuration).v2GetSearches(requestParameters.after, requestParameters.status, options).then((request) => request(this.axios, this.basePath));
3872
+ }
3480
3873
  }
3874
+ /**
3875
+ * @export
3876
+ */
3877
+ export const V2GetSearchesStatusEnum = {
3878
+ COMPLETED: 'COMPLETED',
3879
+ IN_PROGRESS: 'IN_PROGRESS',
3880
+ FAILED: 'FAILED'
3881
+ };
@@ -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/esm/base.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * OurSky SDA
5
5
  * The basic flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#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.
6
6
  *
7
- * The version of the OpenAPI document: 1.3.6669
7
+ * The version of the OpenAPI document: 1.3.8459
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * OurSky SDA
3
3
  * The basic flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#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).
@@ -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 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.
6
6
  *
7
- * The version of the OpenAPI document: 1.3.6669
7
+ * The version of the OpenAPI document: 1.3.8459
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * OurSky SDA
3
3
  * The basic flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#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).