@ourskyai/sda-api 1.3.2765 → 1.3.2816

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.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 TDMs automatically (preferred) or use the [tdms](#tag/tdms/[get]/v1/tdms) endpoint to poll for TDMs.
4
4
  *
5
- * The version of the OpenAPI document: 1.3.2765
5
+ * The version of the OpenAPI document: 1.3.2816
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -161,55 +161,6 @@ export interface ObservationBoundingBox {
161
161
  */
162
162
  'endY': number;
163
163
  }
164
- /**
165
- * Observation Feature
166
- * @export
167
- * @interface ObservationFeature
168
- */
169
- export interface ObservationFeature {
170
- /**
171
- *
172
- * @type {number}
173
- * @memberof ObservationFeature
174
- */
175
- 'ra': number;
176
- /**
177
- *
178
- * @type {number}
179
- * @memberof ObservationFeature
180
- */
181
- 'dec': number;
182
- /**
183
- *
184
- * @type {string}
185
- * @memberof ObservationFeature
186
- */
187
- 'timestamp': string;
188
- /**
189
- *
190
- * @type {ObservationBoundingBox}
191
- * @memberof ObservationFeature
192
- */
193
- 'boundingBox'?: ObservationBoundingBox;
194
- /**
195
- * BETA: the apparent magnitude of the target at the time of the observation
196
- * @type {number}
197
- * @memberof ObservationFeature
198
- */
199
- 'apparentMagnitude'?: number;
200
- /**
201
- *
202
- * @type {number}
203
- * @memberof ObservationFeature
204
- */
205
- 'distanceFromPrediction'?: number;
206
- /**
207
- *
208
- * @type {Array<TargetCorrelation>}
209
- * @memberof ObservationFeature
210
- */
211
- 'targetCorrelations'?: Array<TargetCorrelation>;
212
- }
213
164
  /**
214
165
  *
215
166
  * @export
@@ -309,10 +260,10 @@ export interface ObservationResult {
309
260
  'distanceFromPrediction'?: number;
310
261
  /**
311
262
  *
312
- * @type {Array<ObservationFeature>}
263
+ * @type {Array<V1ObservationFeature>}
313
264
  * @memberof ObservationResult
314
265
  */
315
- 'features'?: Array<ObservationFeature>;
266
+ 'features'?: Array<V1ObservationFeature>;
316
267
  }
317
268
  /**
318
269
  *
@@ -364,31 +315,6 @@ export interface SuccessfulCreate {
364
315
  */
365
316
  'id': string;
366
317
  }
367
- /**
368
- * Target Correlation
369
- * @export
370
- * @interface TargetCorrelation
371
- */
372
- export interface TargetCorrelation {
373
- /**
374
- *
375
- * @type {string}
376
- * @memberof TargetCorrelation
377
- */
378
- 'targetId': string;
379
- /**
380
- *
381
- * @type {number}
382
- * @memberof TargetCorrelation
383
- */
384
- 'ra': number;
385
- /**
386
- *
387
- * @type {number}
388
- * @memberof TargetCorrelation
389
- */
390
- 'dec': number;
391
- }
392
318
  /**
393
319
  *
394
320
  * @export
@@ -896,6 +822,55 @@ export interface V1ImageSetImage {
896
822
  */
897
823
  'exposureLength': number;
898
824
  }
825
+ /**
826
+ * Observation Feature
827
+ * @export
828
+ * @interface V1ObservationFeature
829
+ */
830
+ export interface V1ObservationFeature {
831
+ /**
832
+ *
833
+ * @type {number}
834
+ * @memberof V1ObservationFeature
835
+ */
836
+ 'ra': number;
837
+ /**
838
+ *
839
+ * @type {number}
840
+ * @memberof V1ObservationFeature
841
+ */
842
+ 'dec': number;
843
+ /**
844
+ *
845
+ * @type {string}
846
+ * @memberof V1ObservationFeature
847
+ */
848
+ 'timestamp': string;
849
+ /**
850
+ *
851
+ * @type {ObservationBoundingBox}
852
+ * @memberof V1ObservationFeature
853
+ */
854
+ 'boundingBox'?: ObservationBoundingBox;
855
+ /**
856
+ * BETA: the apparent magnitude of the target at the time of the observation
857
+ * @type {number}
858
+ * @memberof V1ObservationFeature
859
+ */
860
+ 'apparentMagnitude'?: number;
861
+ /**
862
+ *
863
+ * @type {number}
864
+ * @memberof V1ObservationFeature
865
+ */
866
+ 'distanceFromPrediction'?: number;
867
+ /**
868
+ *
869
+ * @type {Array<V1TargetCorrelation>}
870
+ * @memberof V1ObservationFeature
871
+ */
872
+ 'targetCorrelations'?: Array<V1TargetCorrelation>;
873
+ }
899
874
  /**
900
875
  * Observation Sequence Result
901
876
  * @export
@@ -976,6 +951,85 @@ export interface V1ObservationSequenceResultImageSetsInner {
976
951
  */
977
952
  'observationQuality'?: ObservationQuality;
978
953
  }
954
+ /**
955
+ *
956
+ * @export
957
+ * @interface V1ObservationStatus
958
+ */
959
+ export interface V1ObservationStatus {
960
+ /**
961
+ *
962
+ * @type {string}
963
+ * @memberof V1ObservationStatus
964
+ */
965
+ 'id': string;
966
+ /**
967
+ *
968
+ * @type {string}
969
+ * @memberof V1ObservationStatus
970
+ */
971
+ 'targetId': string;
972
+ /**
973
+ *
974
+ * @type {TrackingType}
975
+ * @memberof V1ObservationStatus
976
+ */
977
+ 'trackingType'?: TrackingType;
978
+ /**
979
+ *
980
+ * @type {number}
981
+ * @memberof V1ObservationStatus
982
+ */
983
+ 'ra': number;
984
+ /**
985
+ *
986
+ * @type {number}
987
+ * @memberof V1ObservationStatus
988
+ */
989
+ 'dec': number;
990
+ /**
991
+ *
992
+ * @type {string}
993
+ * @memberof V1ObservationStatus
994
+ */
995
+ 'observationTime': string;
996
+ /**
997
+ * TLE line 1 of when the observation was tasked
998
+ * @type {string}
999
+ * @memberof V1ObservationStatus
1000
+ */
1001
+ 'tleLine1': string;
1002
+ /**
1003
+ * TLE line 2 of when the observation was tasked
1004
+ * @type {string}
1005
+ * @memberof V1ObservationStatus
1006
+ */
1007
+ 'tleLine2': string;
1008
+ /**
1009
+ *
1010
+ * @type {string}
1011
+ * @memberof V1ObservationStatus
1012
+ */
1013
+ 'tleEpoch': string;
1014
+ /**
1015
+ *
1016
+ * @type {string}
1017
+ * @memberof V1ObservationStatus
1018
+ */
1019
+ 'imageSetId'?: string;
1020
+ /**
1021
+ *
1022
+ * @type {string}
1023
+ * @memberof V1ObservationStatus
1024
+ */
1025
+ 'observationSequenceResultId'?: string;
1026
+ /**
1027
+ *
1028
+ * @type {string}
1029
+ * @memberof V1ObservationStatus
1030
+ */
1031
+ 'searchInstructionId'?: string;
1032
+ }
979
1033
  /**
980
1034
  *
981
1035
  * @export
@@ -1099,6 +1153,31 @@ export interface V1SatelliteTarget {
1099
1153
  */
1100
1154
  'trackingStatus'?: SatelliteTargetTrackingStatus;
1101
1155
  }
1156
+ /**
1157
+ * Target Correlation
1158
+ * @export
1159
+ * @interface V1TargetCorrelation
1160
+ */
1161
+ export interface V1TargetCorrelation {
1162
+ /**
1163
+ *
1164
+ * @type {string}
1165
+ * @memberof V1TargetCorrelation
1166
+ */
1167
+ 'targetId': string;
1168
+ /**
1169
+ *
1170
+ * @type {number}
1171
+ * @memberof V1TargetCorrelation
1172
+ */
1173
+ 'ra': number;
1174
+ /**
1175
+ *
1176
+ * @type {number}
1177
+ * @memberof V1TargetCorrelation
1178
+ */
1179
+ 'dec': number;
1180
+ }
1102
1181
  /**
1103
1182
  * TDM
1104
1183
  * @export
@@ -1407,6 +1486,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1407
1486
  * @throws {RequiredError}
1408
1487
  */
1409
1488
  v1GetNodeProperties: (nodeId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1489
+ /**
1490
+ * Get observation features.
1491
+ * @param {string} imageId
1492
+ * @param {*} [options] Override http request option.
1493
+ * @throws {RequiredError}
1494
+ */
1495
+ v1GetObservationFeatures: (imageId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1410
1496
  /**
1411
1497
  * Get all observation sequence results for a specific target or all for an organization. This response is paginated. It will only return at most 5 at a time. To get the next page, pass in the `created_at` timestamp of the last observation sequence in the current page as the `after` query parameter. Omitting this field uses the current time as the `after` timestamp.
1412
1498
  * @param {string} [targetId]
@@ -1415,6 +1501,15 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1415
1501
  * @throws {RequiredError}
1416
1502
  */
1417
1503
  v1GetObservationSequenceResults: (targetId?: string, after?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1504
+ /**
1505
+ * Get the status of observations tasked on our network either for an entire organization, by a specific `targetId` or by a specific `searchInstructionId`. By default `before` is set to the current time and returns 20 results with `observationTime` less than `before`. To paginate through responses, pass the earliest timestamp in the previous response as the `before` parameter. When searching by `searchInstructionId`, a `before` timestamp is not required.
1506
+ * @param {string} [targetId]
1507
+ * @param {string} [before]
1508
+ * @param {string} [searchInstructionId]
1509
+ * @param {*} [options] Override http request option.
1510
+ * @throws {RequiredError}
1511
+ */
1512
+ v1GetObservationStatuses: (targetId?: string, before?: string, searchInstructionId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1418
1513
  /**
1419
1514
  * Get organization targets see the [create](#operation/v1CreateOrganizationTarget) endpoint for more details.
1420
1515
  * @param {*} [options] Override http request option.
@@ -1582,6 +1677,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
1582
1677
  * @throws {RequiredError}
1583
1678
  */
1584
1679
  v1GetNodeProperties(nodeId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1GroundStationParticipant>>;
1680
+ /**
1681
+ * Get observation features.
1682
+ * @param {string} imageId
1683
+ * @param {*} [options] Override http request option.
1684
+ * @throws {RequiredError}
1685
+ */
1686
+ v1GetObservationFeatures(imageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1ObservationFeature>>>;
1585
1687
  /**
1586
1688
  * Get all observation sequence results for a specific target or all for an organization. This response is paginated. It will only return at most 5 at a time. To get the next page, pass in the `created_at` timestamp of the last observation sequence in the current page as the `after` query parameter. Omitting this field uses the current time as the `after` timestamp.
1587
1689
  * @param {string} [targetId]
@@ -1590,6 +1692,15 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
1590
1692
  * @throws {RequiredError}
1591
1693
  */
1592
1694
  v1GetObservationSequenceResults(targetId?: string, after?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1ObservationSequenceResult>>>;
1695
+ /**
1696
+ * Get the status of observations tasked on our network either for an entire organization, by a specific `targetId` or by a specific `searchInstructionId`. By default `before` is set to the current time and returns 20 results with `observationTime` less than `before`. To paginate through responses, pass the earliest timestamp in the previous response as the `before` parameter. When searching by `searchInstructionId`, a `before` timestamp is not required.
1697
+ * @param {string} [targetId]
1698
+ * @param {string} [before]
1699
+ * @param {string} [searchInstructionId]
1700
+ * @param {*} [options] Override http request option.
1701
+ * @throws {RequiredError}
1702
+ */
1703
+ v1GetObservationStatuses(targetId?: string, before?: string, searchInstructionId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1ObservationStatus>>>;
1593
1704
  /**
1594
1705
  * Get organization targets see the [create](#operation/v1CreateOrganizationTarget) endpoint for more details.
1595
1706
  * @param {*} [options] Override http request option.
@@ -1757,6 +1868,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
1757
1868
  * @throws {RequiredError}
1758
1869
  */
1759
1870
  v1GetNodeProperties(requestParameters: DefaultApiV1GetNodePropertiesRequest, options?: AxiosRequestConfig): AxiosPromise<V1GroundStationParticipant>;
1871
+ /**
1872
+ * Get observation features.
1873
+ * @param {DefaultApiV1GetObservationFeaturesRequest} requestParameters Request parameters.
1874
+ * @param {*} [options] Override http request option.
1875
+ * @throws {RequiredError}
1876
+ */
1877
+ v1GetObservationFeatures(requestParameters: DefaultApiV1GetObservationFeaturesRequest, options?: AxiosRequestConfig): AxiosPromise<Array<V1ObservationFeature>>;
1760
1878
  /**
1761
1879
  * Get all observation sequence results for a specific target or all for an organization. This response is paginated. It will only return at most 5 at a time. To get the next page, pass in the `created_at` timestamp of the last observation sequence in the current page as the `after` query parameter. Omitting this field uses the current time as the `after` timestamp.
1762
1880
  * @param {DefaultApiV1GetObservationSequenceResultsRequest} requestParameters Request parameters.
@@ -1764,6 +1882,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
1764
1882
  * @throws {RequiredError}
1765
1883
  */
1766
1884
  v1GetObservationSequenceResults(requestParameters?: DefaultApiV1GetObservationSequenceResultsRequest, options?: AxiosRequestConfig): AxiosPromise<Array<V1ObservationSequenceResult>>;
1885
+ /**
1886
+ * Get the status of observations tasked on our network either for an entire organization, by a specific `targetId` or by a specific `searchInstructionId`. By default `before` is set to the current time and returns 20 results with `observationTime` less than `before`. To paginate through responses, pass the earliest timestamp in the previous response as the `before` parameter. When searching by `searchInstructionId`, a `before` timestamp is not required.
1887
+ * @param {DefaultApiV1GetObservationStatusesRequest} requestParameters Request parameters.
1888
+ * @param {*} [options] Override http request option.
1889
+ * @throws {RequiredError}
1890
+ */
1891
+ v1GetObservationStatuses(requestParameters?: DefaultApiV1GetObservationStatusesRequest, options?: AxiosRequestConfig): AxiosPromise<Array<V1ObservationStatus>>;
1767
1892
  /**
1768
1893
  * Get organization targets see the [create](#operation/v1CreateOrganizationTarget) endpoint for more details.
1769
1894
  * @param {*} [options] Override http request option.
@@ -2001,6 +2126,19 @@ export interface DefaultApiV1GetNodePropertiesRequest {
2001
2126
  */
2002
2127
  readonly nodeId: string;
2003
2128
  }
2129
+ /**
2130
+ * Request parameters for v1GetObservationFeatures operation in DefaultApi.
2131
+ * @export
2132
+ * @interface DefaultApiV1GetObservationFeaturesRequest
2133
+ */
2134
+ export interface DefaultApiV1GetObservationFeaturesRequest {
2135
+ /**
2136
+ *
2137
+ * @type {string}
2138
+ * @memberof DefaultApiV1GetObservationFeatures
2139
+ */
2140
+ readonly imageId: string;
2141
+ }
2004
2142
  /**
2005
2143
  * Request parameters for v1GetObservationSequenceResults operation in DefaultApi.
2006
2144
  * @export
@@ -2020,6 +2158,31 @@ export interface DefaultApiV1GetObservationSequenceResultsRequest {
2020
2158
  */
2021
2159
  readonly after?: string;
2022
2160
  }
2161
+ /**
2162
+ * Request parameters for v1GetObservationStatuses operation in DefaultApi.
2163
+ * @export
2164
+ * @interface DefaultApiV1GetObservationStatusesRequest
2165
+ */
2166
+ export interface DefaultApiV1GetObservationStatusesRequest {
2167
+ /**
2168
+ *
2169
+ * @type {string}
2170
+ * @memberof DefaultApiV1GetObservationStatuses
2171
+ */
2172
+ readonly targetId?: string;
2173
+ /**
2174
+ *
2175
+ * @type {string}
2176
+ * @memberof DefaultApiV1GetObservationStatuses
2177
+ */
2178
+ readonly before?: string;
2179
+ /**
2180
+ *
2181
+ * @type {string}
2182
+ * @memberof DefaultApiV1GetObservationStatuses
2183
+ */
2184
+ readonly searchInstructionId?: string;
2185
+ }
2023
2186
  /**
2024
2187
  * Request parameters for v1GetSatellitePotentials operation in DefaultApi.
2025
2188
  * @export
@@ -2242,6 +2405,14 @@ export declare class DefaultApi extends BaseAPI {
2242
2405
  * @memberof DefaultApi
2243
2406
  */
2244
2407
  v1GetNodeProperties(requestParameters: DefaultApiV1GetNodePropertiesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<V1GroundStationParticipant, any>>;
2408
+ /**
2409
+ * Get observation features.
2410
+ * @param {DefaultApiV1GetObservationFeaturesRequest} requestParameters Request parameters.
2411
+ * @param {*} [options] Override http request option.
2412
+ * @throws {RequiredError}
2413
+ * @memberof DefaultApi
2414
+ */
2415
+ v1GetObservationFeatures(requestParameters: DefaultApiV1GetObservationFeaturesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<V1ObservationFeature[], any>>;
2245
2416
  /**
2246
2417
  * Get all observation sequence results for a specific target or all for an organization. This response is paginated. It will only return at most 5 at a time. To get the next page, pass in the `created_at` timestamp of the last observation sequence in the current page as the `after` query parameter. Omitting this field uses the current time as the `after` timestamp.
2247
2418
  * @param {DefaultApiV1GetObservationSequenceResultsRequest} requestParameters Request parameters.
@@ -2250,6 +2421,14 @@ export declare class DefaultApi extends BaseAPI {
2250
2421
  * @memberof DefaultApi
2251
2422
  */
2252
2423
  v1GetObservationSequenceResults(requestParameters?: DefaultApiV1GetObservationSequenceResultsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<V1ObservationSequenceResult[], any>>;
2424
+ /**
2425
+ * Get the status of observations tasked on our network either for an entire organization, by a specific `targetId` or by a specific `searchInstructionId`. By default `before` is set to the current time and returns 20 results with `observationTime` less than `before`. To paginate through responses, pass the earliest timestamp in the previous response as the `before` parameter. When searching by `searchInstructionId`, a `before` timestamp is not required.
2426
+ * @param {DefaultApiV1GetObservationStatusesRequest} requestParameters Request parameters.
2427
+ * @param {*} [options] Override http request option.
2428
+ * @throws {RequiredError}
2429
+ * @memberof DefaultApi
2430
+ */
2431
+ v1GetObservationStatuses(requestParameters?: DefaultApiV1GetObservationStatusesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<V1ObservationStatus[], any>>;
2253
2432
  /**
2254
2433
  * Get organization targets see the [create](#operation/v1CreateOrganizationTarget) endpoint for more details.
2255
2434
  * @param {*} [options] Override http request option.
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 TDMs automatically (preferred) or use the [tdms](#tag/tdms/[get]/v1/tdms) endpoint to poll for TDMs.
7
7
  *
8
- * The version of the OpenAPI document: 1.3.2765
8
+ * The version of the OpenAPI document: 1.3.2816
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -634,6 +634,40 @@ const DefaultApiAxiosParamCreator = function (configuration) {
634
634
  options: localVarRequestOptions,
635
635
  };
636
636
  }),
637
+ /**
638
+ * Get observation features.
639
+ * @param {string} imageId
640
+ * @param {*} [options] Override http request option.
641
+ * @throws {RequiredError}
642
+ */
643
+ v1GetObservationFeatures: (imageId, options = {}) => __awaiter(this, void 0, void 0, function* () {
644
+ // verify required parameter 'imageId' is not null or undefined
645
+ (0, common_1.assertParamExists)('v1GetObservationFeatures', 'imageId', imageId);
646
+ const localVarPath = `/v1/observation-features`;
647
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
648
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
649
+ let baseOptions;
650
+ if (configuration) {
651
+ baseOptions = configuration.baseOptions;
652
+ }
653
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
654
+ const localVarHeaderParameter = {};
655
+ const localVarQueryParameter = {};
656
+ // authentication Roles required
657
+ // authentication BearerToken required
658
+ // http bearer authentication required
659
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
660
+ if (imageId !== undefined) {
661
+ localVarQueryParameter['imageId'] = imageId;
662
+ }
663
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
664
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
665
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
666
+ return {
667
+ url: (0, common_1.toPathString)(localVarUrlObj),
668
+ options: localVarRequestOptions,
669
+ };
670
+ }),
637
671
  /**
638
672
  * Get all observation sequence results for a specific target or all for an organization. This response is paginated. It will only return at most 5 at a time. To get the next page, pass in the `created_at` timestamp of the last observation sequence in the current page as the `after` query parameter. Omitting this field uses the current time as the `after` timestamp.
639
673
  * @param {string} [targetId]
@@ -672,6 +706,48 @@ const DefaultApiAxiosParamCreator = function (configuration) {
672
706
  options: localVarRequestOptions,
673
707
  };
674
708
  }),
709
+ /**
710
+ * Get the status of observations tasked on our network either for an entire organization, by a specific `targetId` or by a specific `searchInstructionId`. By default `before` is set to the current time and returns 20 results with `observationTime` less than `before`. To paginate through responses, pass the earliest timestamp in the previous response as the `before` parameter. When searching by `searchInstructionId`, a `before` timestamp is not required.
711
+ * @param {string} [targetId]
712
+ * @param {string} [before]
713
+ * @param {string} [searchInstructionId]
714
+ * @param {*} [options] Override http request option.
715
+ * @throws {RequiredError}
716
+ */
717
+ v1GetObservationStatuses: (targetId, before, searchInstructionId, options = {}) => __awaiter(this, void 0, void 0, function* () {
718
+ const localVarPath = `/v1/observation-statuses`;
719
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
720
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
721
+ let baseOptions;
722
+ if (configuration) {
723
+ baseOptions = configuration.baseOptions;
724
+ }
725
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
726
+ const localVarHeaderParameter = {};
727
+ const localVarQueryParameter = {};
728
+ // authentication Roles required
729
+ // authentication BearerToken required
730
+ // http bearer authentication required
731
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
732
+ if (targetId !== undefined) {
733
+ localVarQueryParameter['targetId'] = targetId;
734
+ }
735
+ if (before !== undefined) {
736
+ localVarQueryParameter['before'] = (before instanceof Date) ?
737
+ before.toISOString() :
738
+ before;
739
+ }
740
+ if (searchInstructionId !== undefined) {
741
+ localVarQueryParameter['searchInstructionId'] = searchInstructionId;
742
+ }
743
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
744
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
745
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
746
+ return {
747
+ url: (0, common_1.toPathString)(localVarUrlObj),
748
+ options: localVarRequestOptions,
749
+ };
750
+ }),
675
751
  /**
676
752
  * Get organization targets see the [create](#operation/v1CreateOrganizationTarget) endpoint for more details.
677
753
  * @param {*} [options] Override http request option.
@@ -1133,6 +1209,18 @@ const DefaultApiFp = function (configuration) {
1133
1209
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1134
1210
  });
1135
1211
  },
1212
+ /**
1213
+ * Get observation features.
1214
+ * @param {string} imageId
1215
+ * @param {*} [options] Override http request option.
1216
+ * @throws {RequiredError}
1217
+ */
1218
+ v1GetObservationFeatures(imageId, options) {
1219
+ return __awaiter(this, void 0, void 0, function* () {
1220
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetObservationFeatures(imageId, options);
1221
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1222
+ });
1223
+ },
1136
1224
  /**
1137
1225
  * Get all observation sequence results for a specific target or all for an organization. This response is paginated. It will only return at most 5 at a time. To get the next page, pass in the `created_at` timestamp of the last observation sequence in the current page as the `after` query parameter. Omitting this field uses the current time as the `after` timestamp.
1138
1226
  * @param {string} [targetId]
@@ -1146,6 +1234,20 @@ const DefaultApiFp = function (configuration) {
1146
1234
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1147
1235
  });
1148
1236
  },
1237
+ /**
1238
+ * Get the status of observations tasked on our network either for an entire organization, by a specific `targetId` or by a specific `searchInstructionId`. By default `before` is set to the current time and returns 20 results with `observationTime` less than `before`. To paginate through responses, pass the earliest timestamp in the previous response as the `before` parameter. When searching by `searchInstructionId`, a `before` timestamp is not required.
1239
+ * @param {string} [targetId]
1240
+ * @param {string} [before]
1241
+ * @param {string} [searchInstructionId]
1242
+ * @param {*} [options] Override http request option.
1243
+ * @throws {RequiredError}
1244
+ */
1245
+ v1GetObservationStatuses(targetId, before, searchInstructionId, options) {
1246
+ return __awaiter(this, void 0, void 0, function* () {
1247
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetObservationStatuses(targetId, before, searchInstructionId, options);
1248
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1249
+ });
1250
+ },
1149
1251
  /**
1150
1252
  * Get organization targets see the [create](#operation/v1CreateOrganizationTarget) endpoint for more details.
1151
1253
  * @param {*} [options] Override http request option.
@@ -1387,6 +1489,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
1387
1489
  v1GetNodeProperties(requestParameters, options) {
1388
1490
  return localVarFp.v1GetNodeProperties(requestParameters.nodeId, options).then((request) => request(axios, basePath));
1389
1491
  },
1492
+ /**
1493
+ * Get observation features.
1494
+ * @param {DefaultApiV1GetObservationFeaturesRequest} requestParameters Request parameters.
1495
+ * @param {*} [options] Override http request option.
1496
+ * @throws {RequiredError}
1497
+ */
1498
+ v1GetObservationFeatures(requestParameters, options) {
1499
+ return localVarFp.v1GetObservationFeatures(requestParameters.imageId, options).then((request) => request(axios, basePath));
1500
+ },
1390
1501
  /**
1391
1502
  * Get all observation sequence results for a specific target or all for an organization. This response is paginated. It will only return at most 5 at a time. To get the next page, pass in the `created_at` timestamp of the last observation sequence in the current page as the `after` query parameter. Omitting this field uses the current time as the `after` timestamp.
1392
1503
  * @param {DefaultApiV1GetObservationSequenceResultsRequest} requestParameters Request parameters.
@@ -1396,6 +1507,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
1396
1507
  v1GetObservationSequenceResults(requestParameters = {}, options) {
1397
1508
  return localVarFp.v1GetObservationSequenceResults(requestParameters.targetId, requestParameters.after, options).then((request) => request(axios, basePath));
1398
1509
  },
1510
+ /**
1511
+ * Get the status of observations tasked on our network either for an entire organization, by a specific `targetId` or by a specific `searchInstructionId`. By default `before` is set to the current time and returns 20 results with `observationTime` less than `before`. To paginate through responses, pass the earliest timestamp in the previous response as the `before` parameter. When searching by `searchInstructionId`, a `before` timestamp is not required.
1512
+ * @param {DefaultApiV1GetObservationStatusesRequest} requestParameters Request parameters.
1513
+ * @param {*} [options] Override http request option.
1514
+ * @throws {RequiredError}
1515
+ */
1516
+ v1GetObservationStatuses(requestParameters = {}, options) {
1517
+ return localVarFp.v1GetObservationStatuses(requestParameters.targetId, requestParameters.before, requestParameters.searchInstructionId, options).then((request) => request(axios, basePath));
1518
+ },
1399
1519
  /**
1400
1520
  * Get organization targets see the [create](#operation/v1CreateOrganizationTarget) endpoint for more details.
1401
1521
  * @param {*} [options] Override http request option.
@@ -1625,6 +1745,16 @@ class DefaultApi extends base_1.BaseAPI {
1625
1745
  v1GetNodeProperties(requestParameters, options) {
1626
1746
  return (0, exports.DefaultApiFp)(this.configuration).v1GetNodeProperties(requestParameters.nodeId, options).then((request) => request(this.axios, this.basePath));
1627
1747
  }
1748
+ /**
1749
+ * Get observation features.
1750
+ * @param {DefaultApiV1GetObservationFeaturesRequest} requestParameters Request parameters.
1751
+ * @param {*} [options] Override http request option.
1752
+ * @throws {RequiredError}
1753
+ * @memberof DefaultApi
1754
+ */
1755
+ v1GetObservationFeatures(requestParameters, options) {
1756
+ return (0, exports.DefaultApiFp)(this.configuration).v1GetObservationFeatures(requestParameters.imageId, options).then((request) => request(this.axios, this.basePath));
1757
+ }
1628
1758
  /**
1629
1759
  * Get all observation sequence results for a specific target or all for an organization. This response is paginated. It will only return at most 5 at a time. To get the next page, pass in the `created_at` timestamp of the last observation sequence in the current page as the `after` query parameter. Omitting this field uses the current time as the `after` timestamp.
1630
1760
  * @param {DefaultApiV1GetObservationSequenceResultsRequest} requestParameters Request parameters.
@@ -1635,6 +1765,16 @@ class DefaultApi extends base_1.BaseAPI {
1635
1765
  v1GetObservationSequenceResults(requestParameters = {}, options) {
1636
1766
  return (0, exports.DefaultApiFp)(this.configuration).v1GetObservationSequenceResults(requestParameters.targetId, requestParameters.after, options).then((request) => request(this.axios, this.basePath));
1637
1767
  }
1768
+ /**
1769
+ * Get the status of observations tasked on our network either for an entire organization, by a specific `targetId` or by a specific `searchInstructionId`. By default `before` is set to the current time and returns 20 results with `observationTime` less than `before`. To paginate through responses, pass the earliest timestamp in the previous response as the `before` parameter. When searching by `searchInstructionId`, a `before` timestamp is not required.
1770
+ * @param {DefaultApiV1GetObservationStatusesRequest} requestParameters Request parameters.
1771
+ * @param {*} [options] Override http request option.
1772
+ * @throws {RequiredError}
1773
+ * @memberof DefaultApi
1774
+ */
1775
+ v1GetObservationStatuses(requestParameters = {}, options) {
1776
+ return (0, exports.DefaultApiFp)(this.configuration).v1GetObservationStatuses(requestParameters.targetId, requestParameters.before, requestParameters.searchInstructionId, options).then((request) => request(this.axios, this.basePath));
1777
+ }
1638
1778
  /**
1639
1779
  * Get organization targets see the [create](#operation/v1CreateOrganizationTarget) endpoint for more details.
1640
1780
  * @param {*} [options] Override http request option.
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 TDMs automatically (preferred) or use the [tdms](#tag/tdms/[get]/v1/tdms) endpoint to poll for TDMs.
4
4
  *
5
- * The version of the OpenAPI document: 1.3.2765
5
+ * The version of the OpenAPI document: 1.3.2816
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 TDMs automatically (preferred) or use the [tdms](#tag/tdms/[get]/v1/tdms) endpoint to poll for TDMs.
7
7
  *
8
- * The version of the OpenAPI document: 1.3.2765
8
+ * The version of the OpenAPI document: 1.3.2816
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).