@ourskyai/sda-api 1.3.8459 → 1.3.8815

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @ourskyai/sda-api@1.3.8459
1
+ ## @ourskyai/sda-api@1.3.8815
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @ourskyai/sda-api@1.3.8459 --save
39
+ npm install @ourskyai/sda-api@1.3.8815 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * OurSky SDA
5
5
  * The basic flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#tag/satellite-targets/GET/v1/satellite-targets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#tag/organization-targets/GET/v1/organization-targets) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#tag/webhooks/POST/v1/communications/webhook) endpoint to receive 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.8459
7
+ * The version of the OpenAPI document: 1.3.8815
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -537,11 +537,17 @@ export type V1BlackoutVolumeRequestReferenceFrameEnum = typeof V1BlackoutVolumeR
537
537
  */
538
538
  export interface V1CreateDirectTaskInstructionRequest {
539
539
  /**
540
- * NET time after which the instruction can be executed. If null, the instruction can be executed immediately.
540
+ * NET time after which the instruction can be executed (expressed in UTC). If null, the instruction can be executed immediately.
541
541
  * @type {string}
542
542
  * @memberof V1CreateDirectTaskInstructionRequest
543
543
  */
544
544
  'executableAfter'?: string;
545
+ /**
546
+ * Latest time the instruction can be executed (expressed in UTC). If null, the instruction will not have an expiration.
547
+ * @type {string}
548
+ * @memberof V1CreateDirectTaskInstructionRequest
549
+ */
550
+ 'executableUntil'?: string;
545
551
  /**
546
552
  *
547
553
  * @type {string}
@@ -1026,6 +1032,44 @@ export interface V1ImageMetadata {
1026
1032
  */
1027
1033
  'createdAt': string;
1028
1034
  }
1035
+ /**
1036
+ *
1037
+ * @export
1038
+ * @enum {string}
1039
+ */
1040
+
1041
+ export const V1ImageRejectionReason = {
1042
+ TARGET_NOT_FOUND: 'TARGET_NOT_FOUND',
1043
+ RATE_TARGET_NOT_FOUND: 'RATE_TARGET_NOT_FOUND',
1044
+ RATE_PLATE_SOLVE_FAILURE: 'RATE_PLATE_SOLVE_FAILURE',
1045
+ STREAK_DETECTION_FAILURE: 'STREAK_DETECTION_FAILURE',
1046
+ PLATE_SOLVE_FAILURE: 'PLATE_SOLVE_FAILURE',
1047
+ PLATE_SOLVE_NOT_ENOUGH_STARS_FAILURE: 'PLATE_SOLVE_NOT_ENOUGH_STARS_FAILURE',
1048
+ PLATE_SOLVE_NO_SOLUTION_FAILURE: 'PLATE_SOLVE_NO_SOLUTION_FAILURE',
1049
+ CROP_IMAGE_FAILURE: 'CROP_IMAGE_FAILURE',
1050
+ COSMETIC_CORRECTION_FAILURE: 'COSMETIC_CORRECTION_FAILURE',
1051
+ GRADIENT_REMOVAL_FAILURE: 'GRADIENT_REMOVAL_FAILURE',
1052
+ CATMAG_FAILURE: 'CATMAG_FAILURE',
1053
+ IMAGE_QUALITY_TOO_LOW: 'IMAGE_QUALITY_TOO_LOW',
1054
+ OBSERVATION_NOT_FOUND: 'OBSERVATION_NOT_FOUND',
1055
+ NODE_NOT_FOUND: 'NODE_NOT_FOUND',
1056
+ CAMERA_NOT_FOUND: 'CAMERA_NOT_FOUND',
1057
+ OTA_NOT_FOUND: 'OTA_NOT_FOUND',
1058
+ TLE_NOT_EXTRACTED: 'TLE_NOT_EXTRACTED',
1059
+ FAILED_TO_LOAD: 'FAILED_TO_LOAD',
1060
+ GPS_ERROR: 'GPS_ERROR',
1061
+ MUTEX_TIMEOUT: 'MUTEX_TIMEOUT',
1062
+ AWAIT_TIMEOUT: 'AWAIT_TIMEOUT',
1063
+ CATALOG_COMPARE_ERROR: 'CATALOG_COMPARE_ERROR',
1064
+ SAVE_FAILURE: 'SAVE_FAILURE',
1065
+ RATE_CATALOG_COMPARE_ERROR: 'RATE_CATALOG_COMPARE_ERROR',
1066
+ MISSING_IMG_WIDTH_HEADER: 'MISSING_IMG_WIDTH_HEADER',
1067
+ UNKNOWN_ERROR: 'UNKNOWN_ERROR'
1068
+ } as const;
1069
+
1070
+ export type V1ImageRejectionReason = typeof V1ImageRejectionReason[keyof typeof V1ImageRejectionReason];
1071
+
1072
+
1029
1073
  /**
1030
1074
  * An image set represents a contiguous set of observations of the same target captured by the same node.
1031
1075
  * @export
@@ -1263,7 +1307,15 @@ export interface V1ImageSetImage {
1263
1307
  * @memberof V1ImageSetImage
1264
1308
  */
1265
1309
  'predictedStreakLocation'?: V1PredictedStreakLocation;
1310
+ /**
1311
+ *
1312
+ * @type {V1ImageRejectionReason}
1313
+ * @memberof V1ImageSetImage
1314
+ */
1315
+ 'rejectedReason'?: V1ImageRejectionReason;
1266
1316
  }
1317
+
1318
+
1267
1319
  /**
1268
1320
  * Extracted stars that matched during plate solving
1269
1321
  * @export
@@ -1590,11 +1642,11 @@ export interface V1ObservationSequenceResultImageSetsInner {
1590
1642
  */
1591
1643
  export interface V1ObservationStatus {
1592
1644
  /**
1593
- *
1645
+ * The ID of the observation, null if the observation has not happened yet
1594
1646
  * @type {string}
1595
1647
  * @memberof V1ObservationStatus
1596
1648
  */
1597
- 'id': string;
1649
+ 'observationId'?: string;
1598
1650
  /**
1599
1651
  *
1600
1652
  * @type {string}
@@ -1608,41 +1660,41 @@ export interface V1ObservationStatus {
1608
1660
  */
1609
1661
  'trackingType'?: TrackingType;
1610
1662
  /**
1611
- *
1663
+ * The expected RA at the time of the observation, null if the observation has not happened yet
1612
1664
  * @type {number}
1613
1665
  * @memberof V1ObservationStatus
1614
1666
  */
1615
- 'ra': number;
1667
+ 'ra'?: number;
1616
1668
  /**
1617
- *
1669
+ * The expected Dec at the time of the observation, null if the observation has not happened yet
1618
1670
  * @type {number}
1619
1671
  * @memberof V1ObservationStatus
1620
1672
  */
1621
- 'dec': number;
1673
+ 'dec'?: number;
1622
1674
  /**
1623
- *
1675
+ * Time the observation was executed at, null if the observation has not happened yet
1624
1676
  * @type {string}
1625
1677
  * @memberof V1ObservationStatus
1626
1678
  */
1627
- 'observationTime': string;
1679
+ 'observationTime'?: string;
1628
1680
  /**
1629
- * TLE line 1 of when the observation was tasked
1681
+ * TLE line 1 of when the observation was tasked, null if the observation has not happened yet
1630
1682
  * @type {string}
1631
1683
  * @memberof V1ObservationStatus
1632
1684
  */
1633
- 'tleLine1': string;
1685
+ 'tleLine1'?: string;
1634
1686
  /**
1635
- * TLE line 2 of when the observation was tasked
1687
+ * TLE line 2 of when the observation was tasked, null if the observation has not happened yet
1636
1688
  * @type {string}
1637
1689
  * @memberof V1ObservationStatus
1638
1690
  */
1639
- 'tleLine2': string;
1691
+ 'tleLine2'?: string;
1640
1692
  /**
1641
- *
1693
+ * TLE Epoch of when the observation was tasked, null if the observation has not happened yet
1642
1694
  * @type {string}
1643
1695
  * @memberof V1ObservationStatus
1644
1696
  */
1645
- 'tleEpoch': string;
1697
+ 'tleEpoch'?: string;
1646
1698
  /**
1647
1699
  *
1648
1700
  * @type {string}
@@ -1672,7 +1724,25 @@ export interface V1ObservationStatus {
1672
1724
  * @type {string}
1673
1725
  * @memberof V1ObservationStatus
1674
1726
  */
1727
+ 'directTaskId'?: string;
1728
+ /**
1729
+ * The time the observation was completed in our system, null if the observation has not happened yet
1730
+ * @type {string}
1731
+ * @memberof V1ObservationStatus
1732
+ */
1675
1733
  'completedAt'?: string;
1734
+ /**
1735
+ * The time the instruction was scheduled for, if applicable (direct tasked instructions only)
1736
+ * @type {string}
1737
+ * @memberof V1ObservationStatus
1738
+ */
1739
+ 'scheduledAt'?: string;
1740
+ /**
1741
+ * The time the instruction was valid until, if applicable (direct tasked instructions only)
1742
+ * @type {string}
1743
+ * @memberof V1ObservationStatus
1744
+ */
1745
+ 'validUntil'?: string;
1676
1746
  /**
1677
1747
  *
1678
1748
  * @type {ObservationState}
@@ -4478,17 +4548,18 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4478
4548
  };
4479
4549
  },
4480
4550
  /**
4481
- * Get the status of observations tasked on our network either for an entire organization, by a specific `targetId`, by `searchInstructionId`, or by `surveyInstructionId`. 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` or `surveyInstructionId`, a `before` timestamp is not required.
4551
+ * Get the status of observations tasked on our network either for an entire organization, by a specific `targetId`, `searchInstructionId`, `directTaskId`, or by `surveyInstructionId`. 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`, `directTaskId`, or `surveyInstructionId`, a `before` timestamp is not required.
4482
4552
  * @param {string} [targetId]
4483
4553
  * @param {string} [before]
4484
4554
  * @param {string} [searchInstructionId]
4485
4555
  * @param {string} [surveyInstructionId]
4486
4556
  * @param {string} [resolvedImageInstructionId]
4557
+ * @param {string} [directTaskId]
4487
4558
  * @param {string} [imageId]
4488
4559
  * @param {*} [options] Override http request option.
4489
4560
  * @throws {RequiredError}
4490
4561
  */
4491
- v1GetObservationStatuses: async (targetId?: string, before?: string, searchInstructionId?: string, surveyInstructionId?: string, resolvedImageInstructionId?: string, imageId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4562
+ v1GetObservationStatuses: async (targetId?: string, before?: string, searchInstructionId?: string, surveyInstructionId?: string, resolvedImageInstructionId?: string, directTaskId?: string, imageId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4492
4563
  const localVarPath = `/v1/observation-statuses`;
4493
4564
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4494
4565
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -4529,6 +4600,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4529
4600
  localVarQueryParameter['resolvedImageInstructionId'] = resolvedImageInstructionId;
4530
4601
  }
4531
4602
 
4603
+ if (directTaskId !== undefined) {
4604
+ localVarQueryParameter['directTaskId'] = directTaskId;
4605
+ }
4606
+
4532
4607
  if (imageId !== undefined) {
4533
4608
  localVarQueryParameter['imageId'] = imageId;
4534
4609
  }
@@ -5915,18 +5990,19 @@ export const DefaultApiFp = function(configuration?: Configuration) {
5915
5990
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5916
5991
  },
5917
5992
  /**
5918
- * Get the status of observations tasked on our network either for an entire organization, by a specific `targetId`, by `searchInstructionId`, or by `surveyInstructionId`. 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` or `surveyInstructionId`, a `before` timestamp is not required.
5993
+ * Get the status of observations tasked on our network either for an entire organization, by a specific `targetId`, `searchInstructionId`, `directTaskId`, or by `surveyInstructionId`. 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`, `directTaskId`, or `surveyInstructionId`, a `before` timestamp is not required.
5919
5994
  * @param {string} [targetId]
5920
5995
  * @param {string} [before]
5921
5996
  * @param {string} [searchInstructionId]
5922
5997
  * @param {string} [surveyInstructionId]
5923
5998
  * @param {string} [resolvedImageInstructionId]
5999
+ * @param {string} [directTaskId]
5924
6000
  * @param {string} [imageId]
5925
6001
  * @param {*} [options] Override http request option.
5926
6002
  * @throws {RequiredError}
5927
6003
  */
5928
- async v1GetObservationStatuses(targetId?: string, before?: string, searchInstructionId?: string, surveyInstructionId?: string, resolvedImageInstructionId?: string, imageId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1ObservationStatus>>> {
5929
- const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetObservationStatuses(targetId, before, searchInstructionId, surveyInstructionId, resolvedImageInstructionId, imageId, options);
6004
+ async v1GetObservationStatuses(targetId?: string, before?: string, searchInstructionId?: string, surveyInstructionId?: string, resolvedImageInstructionId?: string, directTaskId?: string, imageId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1ObservationStatus>>> {
6005
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetObservationStatuses(targetId, before, searchInstructionId, surveyInstructionId, resolvedImageInstructionId, directTaskId, imageId, options);
5930
6006
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5931
6007
  },
5932
6008
  /**
@@ -6454,13 +6530,13 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
6454
6530
  return localVarFp.v1GetObservationSequenceResults(requestParameters.targetId, requestParameters.after, options).then((request) => request(axios, basePath));
6455
6531
  },
6456
6532
  /**
6457
- * Get the status of observations tasked on our network either for an entire organization, by a specific `targetId`, by `searchInstructionId`, or by `surveyInstructionId`. 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` or `surveyInstructionId`, a `before` timestamp is not required.
6533
+ * Get the status of observations tasked on our network either for an entire organization, by a specific `targetId`, `searchInstructionId`, `directTaskId`, or by `surveyInstructionId`. 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`, `directTaskId`, or `surveyInstructionId`, a `before` timestamp is not required.
6458
6534
  * @param {DefaultApiV1GetObservationStatusesRequest} requestParameters Request parameters.
6459
6535
  * @param {*} [options] Override http request option.
6460
6536
  * @throws {RequiredError}
6461
6537
  */
6462
6538
  v1GetObservationStatuses(requestParameters: DefaultApiV1GetObservationStatusesRequest = {}, options?: AxiosRequestConfig): AxiosPromise<Array<V1ObservationStatus>> {
6463
- return localVarFp.v1GetObservationStatuses(requestParameters.targetId, requestParameters.before, requestParameters.searchInstructionId, requestParameters.surveyInstructionId, requestParameters.resolvedImageInstructionId, requestParameters.imageId, options).then((request) => request(axios, basePath));
6539
+ return localVarFp.v1GetObservationStatuses(requestParameters.targetId, requestParameters.before, requestParameters.searchInstructionId, requestParameters.surveyInstructionId, requestParameters.resolvedImageInstructionId, requestParameters.directTaskId, requestParameters.imageId, options).then((request) => request(axios, basePath));
6464
6540
  },
6465
6541
  /**
6466
6542
  * Get potential observation windows for all satellites of your organization across the network from now until the `until` datetime
@@ -7140,6 +7216,13 @@ export interface DefaultApiV1GetObservationStatusesRequest {
7140
7216
  */
7141
7217
  readonly resolvedImageInstructionId?: string
7142
7218
 
7219
+ /**
7220
+ *
7221
+ * @type {string}
7222
+ * @memberof DefaultApiV1GetObservationStatuses
7223
+ */
7224
+ readonly directTaskId?: string
7225
+
7143
7226
  /**
7144
7227
  *
7145
7228
  * @type {string}
@@ -7882,14 +7965,14 @@ export class DefaultApi extends BaseAPI {
7882
7965
  }
7883
7966
 
7884
7967
  /**
7885
- * Get the status of observations tasked on our network either for an entire organization, by a specific `targetId`, by `searchInstructionId`, or by `surveyInstructionId`. 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` or `surveyInstructionId`, a `before` timestamp is not required.
7968
+ * Get the status of observations tasked on our network either for an entire organization, by a specific `targetId`, `searchInstructionId`, `directTaskId`, or by `surveyInstructionId`. 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`, `directTaskId`, or `surveyInstructionId`, a `before` timestamp is not required.
7886
7969
  * @param {DefaultApiV1GetObservationStatusesRequest} requestParameters Request parameters.
7887
7970
  * @param {*} [options] Override http request option.
7888
7971
  * @throws {RequiredError}
7889
7972
  * @memberof DefaultApi
7890
7973
  */
7891
7974
  public v1GetObservationStatuses(requestParameters: DefaultApiV1GetObservationStatusesRequest = {}, options?: AxiosRequestConfig) {
7892
- 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));
7975
+ return DefaultApiFp(this.configuration).v1GetObservationStatuses(requestParameters.targetId, requestParameters.before, requestParameters.searchInstructionId, requestParameters.surveyInstructionId, requestParameters.resolvedImageInstructionId, requestParameters.directTaskId, requestParameters.imageId, options).then((request) => request(this.axios, this.basePath));
7893
7976
  }
7894
7977
 
7895
7978
  /**
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * OurSky SDA
5
5
  * The basic flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#tag/satellite-targets/GET/v1/satellite-targets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#tag/organization-targets/GET/v1/organization-targets) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#tag/webhooks/POST/v1/communications/webhook) endpoint to receive 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.8459
7
+ * The version of the OpenAPI document: 1.3.8815
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * OurSky SDA
5
5
  * The basic flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#tag/satellite-targets/GET/v1/satellite-targets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#tag/organization-targets/GET/v1/organization-targets) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#tag/webhooks/POST/v1/communications/webhook) endpoint to receive 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.8459
7
+ * The version of the OpenAPI document: 1.3.8815
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * OurSky SDA
5
5
  * The basic flow for a new organization is as follows: 1. View the available satellite targets with the [satellite targets](#tag/satellite-targets/GET/v1/satellite-targets) endpoint. Copy the id of the target you want to observe. 2. Create an organization target with the [organization target](#tag/organization-targets/GET/v1/organization-targets) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](#tag/webhooks/POST/v1/communications/webhook) endpoint to receive 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.8459
7
+ * The version of the OpenAPI document: 1.3.8815
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
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 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.8459
5
+ * The version of the OpenAPI document: 1.3.8815
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -488,11 +488,17 @@ export type V1BlackoutVolumeRequestReferenceFrameEnum = typeof V1BlackoutVolumeR
488
488
  */
489
489
  export interface V1CreateDirectTaskInstructionRequest {
490
490
  /**
491
- * NET time after which the instruction can be executed. If null, the instruction can be executed immediately.
491
+ * NET time after which the instruction can be executed (expressed in UTC). If null, the instruction can be executed immediately.
492
492
  * @type {string}
493
493
  * @memberof V1CreateDirectTaskInstructionRequest
494
494
  */
495
495
  'executableAfter'?: string;
496
+ /**
497
+ * Latest time the instruction can be executed (expressed in UTC). If null, the instruction will not have an expiration.
498
+ * @type {string}
499
+ * @memberof V1CreateDirectTaskInstructionRequest
500
+ */
501
+ 'executableUntil'?: string;
496
502
  /**
497
503
  *
498
504
  * @type {string}
@@ -961,6 +967,40 @@ export interface V1ImageMetadata {
961
967
  */
962
968
  'createdAt': string;
963
969
  }
970
+ /**
971
+ *
972
+ * @export
973
+ * @enum {string}
974
+ */
975
+ export declare const V1ImageRejectionReason: {
976
+ readonly TARGET_NOT_FOUND: "TARGET_NOT_FOUND";
977
+ readonly RATE_TARGET_NOT_FOUND: "RATE_TARGET_NOT_FOUND";
978
+ readonly RATE_PLATE_SOLVE_FAILURE: "RATE_PLATE_SOLVE_FAILURE";
979
+ readonly STREAK_DETECTION_FAILURE: "STREAK_DETECTION_FAILURE";
980
+ readonly PLATE_SOLVE_FAILURE: "PLATE_SOLVE_FAILURE";
981
+ readonly PLATE_SOLVE_NOT_ENOUGH_STARS_FAILURE: "PLATE_SOLVE_NOT_ENOUGH_STARS_FAILURE";
982
+ readonly PLATE_SOLVE_NO_SOLUTION_FAILURE: "PLATE_SOLVE_NO_SOLUTION_FAILURE";
983
+ readonly CROP_IMAGE_FAILURE: "CROP_IMAGE_FAILURE";
984
+ readonly COSMETIC_CORRECTION_FAILURE: "COSMETIC_CORRECTION_FAILURE";
985
+ readonly GRADIENT_REMOVAL_FAILURE: "GRADIENT_REMOVAL_FAILURE";
986
+ readonly CATMAG_FAILURE: "CATMAG_FAILURE";
987
+ readonly IMAGE_QUALITY_TOO_LOW: "IMAGE_QUALITY_TOO_LOW";
988
+ readonly OBSERVATION_NOT_FOUND: "OBSERVATION_NOT_FOUND";
989
+ readonly NODE_NOT_FOUND: "NODE_NOT_FOUND";
990
+ readonly CAMERA_NOT_FOUND: "CAMERA_NOT_FOUND";
991
+ readonly OTA_NOT_FOUND: "OTA_NOT_FOUND";
992
+ readonly TLE_NOT_EXTRACTED: "TLE_NOT_EXTRACTED";
993
+ readonly FAILED_TO_LOAD: "FAILED_TO_LOAD";
994
+ readonly GPS_ERROR: "GPS_ERROR";
995
+ readonly MUTEX_TIMEOUT: "MUTEX_TIMEOUT";
996
+ readonly AWAIT_TIMEOUT: "AWAIT_TIMEOUT";
997
+ readonly CATALOG_COMPARE_ERROR: "CATALOG_COMPARE_ERROR";
998
+ readonly SAVE_FAILURE: "SAVE_FAILURE";
999
+ readonly RATE_CATALOG_COMPARE_ERROR: "RATE_CATALOG_COMPARE_ERROR";
1000
+ readonly MISSING_IMG_WIDTH_HEADER: "MISSING_IMG_WIDTH_HEADER";
1001
+ readonly UNKNOWN_ERROR: "UNKNOWN_ERROR";
1002
+ };
1003
+ export type V1ImageRejectionReason = typeof V1ImageRejectionReason[keyof typeof V1ImageRejectionReason];
964
1004
  /**
965
1005
  * An image set represents a contiguous set of observations of the same target captured by the same node.
966
1006
  * @export
@@ -1196,6 +1236,12 @@ export interface V1ImageSetImage {
1196
1236
  * @memberof V1ImageSetImage
1197
1237
  */
1198
1238
  'predictedStreakLocation'?: V1PredictedStreakLocation;
1239
+ /**
1240
+ *
1241
+ * @type {V1ImageRejectionReason}
1242
+ * @memberof V1ImageSetImage
1243
+ */
1244
+ 'rejectedReason'?: V1ImageRejectionReason;
1199
1245
  }
1200
1246
  /**
1201
1247
  * Extracted stars that matched during plate solving
@@ -1521,11 +1567,11 @@ export interface V1ObservationSequenceResultImageSetsInner {
1521
1567
  */
1522
1568
  export interface V1ObservationStatus {
1523
1569
  /**
1524
- *
1570
+ * The ID of the observation, null if the observation has not happened yet
1525
1571
  * @type {string}
1526
1572
  * @memberof V1ObservationStatus
1527
1573
  */
1528
- 'id': string;
1574
+ 'observationId'?: string;
1529
1575
  /**
1530
1576
  *
1531
1577
  * @type {string}
@@ -1539,41 +1585,41 @@ export interface V1ObservationStatus {
1539
1585
  */
1540
1586
  'trackingType'?: TrackingType;
1541
1587
  /**
1542
- *
1588
+ * The expected RA at the time of the observation, null if the observation has not happened yet
1543
1589
  * @type {number}
1544
1590
  * @memberof V1ObservationStatus
1545
1591
  */
1546
- 'ra': number;
1592
+ 'ra'?: number;
1547
1593
  /**
1548
- *
1594
+ * The expected Dec at the time of the observation, null if the observation has not happened yet
1549
1595
  * @type {number}
1550
1596
  * @memberof V1ObservationStatus
1551
1597
  */
1552
- 'dec': number;
1598
+ 'dec'?: number;
1553
1599
  /**
1554
- *
1600
+ * Time the observation was executed at, null if the observation has not happened yet
1555
1601
  * @type {string}
1556
1602
  * @memberof V1ObservationStatus
1557
1603
  */
1558
- 'observationTime': string;
1604
+ 'observationTime'?: string;
1559
1605
  /**
1560
- * TLE line 1 of when the observation was tasked
1606
+ * TLE line 1 of when the observation was tasked, null if the observation has not happened yet
1561
1607
  * @type {string}
1562
1608
  * @memberof V1ObservationStatus
1563
1609
  */
1564
- 'tleLine1': string;
1610
+ 'tleLine1'?: string;
1565
1611
  /**
1566
- * TLE line 2 of when the observation was tasked
1612
+ * TLE line 2 of when the observation was tasked, null if the observation has not happened yet
1567
1613
  * @type {string}
1568
1614
  * @memberof V1ObservationStatus
1569
1615
  */
1570
- 'tleLine2': string;
1616
+ 'tleLine2'?: string;
1571
1617
  /**
1572
- *
1618
+ * TLE Epoch of when the observation was tasked, null if the observation has not happened yet
1573
1619
  * @type {string}
1574
1620
  * @memberof V1ObservationStatus
1575
1621
  */
1576
- 'tleEpoch': string;
1622
+ 'tleEpoch'?: string;
1577
1623
  /**
1578
1624
  *
1579
1625
  * @type {string}
@@ -1603,7 +1649,25 @@ export interface V1ObservationStatus {
1603
1649
  * @type {string}
1604
1650
  * @memberof V1ObservationStatus
1605
1651
  */
1652
+ 'directTaskId'?: string;
1653
+ /**
1654
+ * The time the observation was completed in our system, null if the observation has not happened yet
1655
+ * @type {string}
1656
+ * @memberof V1ObservationStatus
1657
+ */
1606
1658
  'completedAt'?: string;
1659
+ /**
1660
+ * The time the instruction was scheduled for, if applicable (direct tasked instructions only)
1661
+ * @type {string}
1662
+ * @memberof V1ObservationStatus
1663
+ */
1664
+ 'scheduledAt'?: string;
1665
+ /**
1666
+ * The time the instruction was valid until, if applicable (direct tasked instructions only)
1667
+ * @type {string}
1668
+ * @memberof V1ObservationStatus
1669
+ */
1670
+ 'validUntil'?: string;
1607
1671
  /**
1608
1672
  *
1609
1673
  * @type {ObservationState}
@@ -3357,17 +3421,18 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
3357
3421
  */
3358
3422
  v1GetObservationSequenceResults: (targetId?: string, after?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3359
3423
  /**
3360
- * Get the status of observations tasked on our network either for an entire organization, by a specific `targetId`, by `searchInstructionId`, or by `surveyInstructionId`. 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` or `surveyInstructionId`, a `before` timestamp is not required.
3424
+ * Get the status of observations tasked on our network either for an entire organization, by a specific `targetId`, `searchInstructionId`, `directTaskId`, or by `surveyInstructionId`. 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`, `directTaskId`, or `surveyInstructionId`, a `before` timestamp is not required.
3361
3425
  * @param {string} [targetId]
3362
3426
  * @param {string} [before]
3363
3427
  * @param {string} [searchInstructionId]
3364
3428
  * @param {string} [surveyInstructionId]
3365
3429
  * @param {string} [resolvedImageInstructionId]
3430
+ * @param {string} [directTaskId]
3366
3431
  * @param {string} [imageId]
3367
3432
  * @param {*} [options] Override http request option.
3368
3433
  * @throws {RequiredError}
3369
3434
  */
3370
- v1GetObservationStatuses: (targetId?: string, before?: string, searchInstructionId?: string, surveyInstructionId?: string, resolvedImageInstructionId?: string, imageId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3435
+ v1GetObservationStatuses: (targetId?: string, before?: string, searchInstructionId?: string, surveyInstructionId?: string, resolvedImageInstructionId?: string, directTaskId?: string, imageId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3371
3436
  /**
3372
3437
  * Get potential observation windows for all satellites of your organization across the network from now until the `until` datetime
3373
3438
  * @param {string} until
@@ -3763,17 +3828,18 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
3763
3828
  */
3764
3829
  v1GetObservationSequenceResults(targetId?: string, after?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1ObservationSequenceResult>>>;
3765
3830
  /**
3766
- * Get the status of observations tasked on our network either for an entire organization, by a specific `targetId`, by `searchInstructionId`, or by `surveyInstructionId`. 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` or `surveyInstructionId`, a `before` timestamp is not required.
3831
+ * Get the status of observations tasked on our network either for an entire organization, by a specific `targetId`, `searchInstructionId`, `directTaskId`, or by `surveyInstructionId`. 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`, `directTaskId`, or `surveyInstructionId`, a `before` timestamp is not required.
3767
3832
  * @param {string} [targetId]
3768
3833
  * @param {string} [before]
3769
3834
  * @param {string} [searchInstructionId]
3770
3835
  * @param {string} [surveyInstructionId]
3771
3836
  * @param {string} [resolvedImageInstructionId]
3837
+ * @param {string} [directTaskId]
3772
3838
  * @param {string} [imageId]
3773
3839
  * @param {*} [options] Override http request option.
3774
3840
  * @throws {RequiredError}
3775
3841
  */
3776
- v1GetObservationStatuses(targetId?: string, before?: string, searchInstructionId?: string, surveyInstructionId?: string, resolvedImageInstructionId?: string, imageId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1ObservationStatus>>>;
3842
+ v1GetObservationStatuses(targetId?: string, before?: string, searchInstructionId?: string, surveyInstructionId?: string, resolvedImageInstructionId?: string, directTaskId?: string, imageId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1ObservationStatus>>>;
3777
3843
  /**
3778
3844
  * Get potential observation windows for all satellites of your organization across the network from now until the `until` datetime
3779
3845
  * @param {string} until
@@ -4165,7 +4231,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
4165
4231
  */
4166
4232
  v1GetObservationSequenceResults(requestParameters?: DefaultApiV1GetObservationSequenceResultsRequest, options?: AxiosRequestConfig): AxiosPromise<Array<V1ObservationSequenceResult>>;
4167
4233
  /**
4168
- * Get the status of observations tasked on our network either for an entire organization, by a specific `targetId`, by `searchInstructionId`, or by `surveyInstructionId`. 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` or `surveyInstructionId`, a `before` timestamp is not required.
4234
+ * Get the status of observations tasked on our network either for an entire organization, by a specific `targetId`, `searchInstructionId`, `directTaskId`, or by `surveyInstructionId`. 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`, `directTaskId`, or `surveyInstructionId`, a `before` timestamp is not required.
4169
4235
  * @param {DefaultApiV1GetObservationStatusesRequest} requestParameters Request parameters.
4170
4236
  * @param {*} [options] Override http request option.
4171
4237
  * @throws {RequiredError}
@@ -4762,6 +4828,12 @@ export interface DefaultApiV1GetObservationStatusesRequest {
4762
4828
  * @memberof DefaultApiV1GetObservationStatuses
4763
4829
  */
4764
4830
  readonly resolvedImageInstructionId?: string;
4831
+ /**
4832
+ *
4833
+ * @type {string}
4834
+ * @memberof DefaultApiV1GetObservationStatuses
4835
+ */
4836
+ readonly directTaskId?: string;
4765
4837
  /**
4766
4838
  *
4767
4839
  * @type {string}
@@ -5380,7 +5452,7 @@ export declare class DefaultApi extends BaseAPI {
5380
5452
  */
5381
5453
  v1GetObservationSequenceResults(requestParameters?: DefaultApiV1GetObservationSequenceResultsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<V1ObservationSequenceResult[], any>>;
5382
5454
  /**
5383
- * Get the status of observations tasked on our network either for an entire organization, by a specific `targetId`, by `searchInstructionId`, or by `surveyInstructionId`. 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` or `surveyInstructionId`, a `before` timestamp is not required.
5455
+ * Get the status of observations tasked on our network either for an entire organization, by a specific `targetId`, `searchInstructionId`, `directTaskId`, or by `surveyInstructionId`. 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`, `directTaskId`, or `surveyInstructionId`, a `before` timestamp is not required.
5384
5456
  * @param {DefaultApiV1GetObservationStatusesRequest} requestParameters Request parameters.
5385
5457
  * @param {*} [options] Override http request option.
5386
5458
  * @throws {RequiredError}