@ourskyai/sda-api 1.3.4331 → 1.3.4675
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api.ts +263 -6
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +165 -3
- package/dist/api.js +143 -6
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +165 -3
- package/dist/esm/api.js +143 -6
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @ourskyai/sda-api@1.3.
|
|
1
|
+
## @ourskyai/sda-api@1.3.4675
|
|
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.
|
|
39
|
+
npm install @ourskyai/sda-api@1.3.4675 --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](https://api.prod.oursky.ai/docs/sda#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](https://api.prod.oursky.ai/docs/sda#tag/organization-targets/get/v1/organization-targets) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](https://api.prod.oursky.ai/docs/sda#tag/webhooks/post/v1/communications/webhook) endpoint to receive TDMs automatically (preferred) or use the [tdms](https://api.prod.oursky.ai/docs/sda#tag/tdms/get/v1/tdms) endpoint to poll for TDMs. 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.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.4675
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -998,6 +998,12 @@ export interface V1ImageSetImage {
|
|
|
998
998
|
* @memberof V1ImageSetImage
|
|
999
999
|
*/
|
|
1000
1000
|
'fitsHeaders': Array<FitsHeader>;
|
|
1001
|
+
/**
|
|
1002
|
+
*
|
|
1003
|
+
* @type {V1PredictedStreakLocation}
|
|
1004
|
+
* @memberof V1ImageSetImage
|
|
1005
|
+
*/
|
|
1006
|
+
'predictedStreakLocation'?: V1PredictedStreakLocation;
|
|
1001
1007
|
}
|
|
1002
1008
|
/**
|
|
1003
1009
|
* Observation Feature
|
|
@@ -1270,6 +1276,37 @@ export interface V1OrganizationTarget {
|
|
|
1270
1276
|
*/
|
|
1271
1277
|
'createdAt': string;
|
|
1272
1278
|
}
|
|
1279
|
+
/**
|
|
1280
|
+
*
|
|
1281
|
+
* @export
|
|
1282
|
+
* @interface V1PredictedStreakLocation
|
|
1283
|
+
*/
|
|
1284
|
+
export interface V1PredictedStreakLocation {
|
|
1285
|
+
/**
|
|
1286
|
+
*
|
|
1287
|
+
* @type {number}
|
|
1288
|
+
* @memberof V1PredictedStreakLocation
|
|
1289
|
+
*/
|
|
1290
|
+
'startX'?: number;
|
|
1291
|
+
/**
|
|
1292
|
+
*
|
|
1293
|
+
* @type {number}
|
|
1294
|
+
* @memberof V1PredictedStreakLocation
|
|
1295
|
+
*/
|
|
1296
|
+
'startY'?: number;
|
|
1297
|
+
/**
|
|
1298
|
+
*
|
|
1299
|
+
* @type {number}
|
|
1300
|
+
* @memberof V1PredictedStreakLocation
|
|
1301
|
+
*/
|
|
1302
|
+
'endX'?: number;
|
|
1303
|
+
/**
|
|
1304
|
+
*
|
|
1305
|
+
* @type {number}
|
|
1306
|
+
* @memberof V1PredictedStreakLocation
|
|
1307
|
+
*/
|
|
1308
|
+
'endY'?: number;
|
|
1309
|
+
}
|
|
1273
1310
|
/**
|
|
1274
1311
|
* SatellitePotential
|
|
1275
1312
|
* @export
|
|
@@ -1802,6 +1839,25 @@ export interface V1UpdateSatelliteTargetRequest {
|
|
|
1802
1839
|
*/
|
|
1803
1840
|
'crossSection'?: number;
|
|
1804
1841
|
}
|
|
1842
|
+
/**
|
|
1843
|
+
*
|
|
1844
|
+
* @export
|
|
1845
|
+
* @interface V1UpdateWebhookConfigurationRequest
|
|
1846
|
+
*/
|
|
1847
|
+
export interface V1UpdateWebhookConfigurationRequest {
|
|
1848
|
+
/**
|
|
1849
|
+
*
|
|
1850
|
+
* @type {string}
|
|
1851
|
+
* @memberof V1UpdateWebhookConfigurationRequest
|
|
1852
|
+
*/
|
|
1853
|
+
'id': string;
|
|
1854
|
+
/**
|
|
1855
|
+
*
|
|
1856
|
+
* @type {boolean}
|
|
1857
|
+
* @memberof V1UpdateWebhookConfigurationRequest
|
|
1858
|
+
*/
|
|
1859
|
+
'enabled': boolean;
|
|
1860
|
+
}
|
|
1805
1861
|
/**
|
|
1806
1862
|
*
|
|
1807
1863
|
* @export
|
|
@@ -1832,6 +1888,12 @@ export interface V1WebhookConfiguration {
|
|
|
1832
1888
|
* @memberof V1WebhookConfiguration
|
|
1833
1889
|
*/
|
|
1834
1890
|
'lastFailureAt'?: string;
|
|
1891
|
+
/**
|
|
1892
|
+
*
|
|
1893
|
+
* @type {string}
|
|
1894
|
+
* @memberof V1WebhookConfiguration
|
|
1895
|
+
*/
|
|
1896
|
+
'disabledAt'?: string;
|
|
1835
1897
|
/**
|
|
1836
1898
|
*
|
|
1837
1899
|
* @type {Array<WebhookEvent>}
|
|
@@ -2771,6 +2833,51 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2771
2833
|
|
|
2772
2834
|
|
|
2773
2835
|
|
|
2836
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2837
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2838
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2839
|
+
|
|
2840
|
+
return {
|
|
2841
|
+
url: toPathString(localVarUrlObj),
|
|
2842
|
+
options: localVarRequestOptions,
|
|
2843
|
+
};
|
|
2844
|
+
},
|
|
2845
|
+
/**
|
|
2846
|
+
* Get an observation sequence result for a specific image id.
|
|
2847
|
+
* @param {string} [observationSequenceResultId]
|
|
2848
|
+
* @param {string} [imageId]
|
|
2849
|
+
* @param {*} [options] Override http request option.
|
|
2850
|
+
* @throws {RequiredError}
|
|
2851
|
+
*/
|
|
2852
|
+
v1GetObservationSequenceResult: async (observationSequenceResultId?: string, imageId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2853
|
+
const localVarPath = `/v1/observation-sequence-result`;
|
|
2854
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2855
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2856
|
+
let baseOptions;
|
|
2857
|
+
if (configuration) {
|
|
2858
|
+
baseOptions = configuration.baseOptions;
|
|
2859
|
+
}
|
|
2860
|
+
|
|
2861
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
2862
|
+
const localVarHeaderParameter = {} as any;
|
|
2863
|
+
const localVarQueryParameter = {} as any;
|
|
2864
|
+
|
|
2865
|
+
// authentication Roles required
|
|
2866
|
+
|
|
2867
|
+
// authentication BearerToken required
|
|
2868
|
+
// http bearer authentication required
|
|
2869
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2870
|
+
|
|
2871
|
+
if (observationSequenceResultId !== undefined) {
|
|
2872
|
+
localVarQueryParameter['observationSequenceResultId'] = observationSequenceResultId;
|
|
2873
|
+
}
|
|
2874
|
+
|
|
2875
|
+
if (imageId !== undefined) {
|
|
2876
|
+
localVarQueryParameter['imageId'] = imageId;
|
|
2877
|
+
}
|
|
2878
|
+
|
|
2879
|
+
|
|
2880
|
+
|
|
2774
2881
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2775
2882
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2776
2883
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -2833,10 +2940,11 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2833
2940
|
* @param {string} [before]
|
|
2834
2941
|
* @param {string} [searchInstructionId]
|
|
2835
2942
|
* @param {string} [surveyInstructionId]
|
|
2943
|
+
* @param {string} [imageId]
|
|
2836
2944
|
* @param {*} [options] Override http request option.
|
|
2837
2945
|
* @throws {RequiredError}
|
|
2838
2946
|
*/
|
|
2839
|
-
v1GetObservationStatuses: async (targetId?: string, before?: string, searchInstructionId?: string, surveyInstructionId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2947
|
+
v1GetObservationStatuses: async (targetId?: string, before?: string, searchInstructionId?: string, surveyInstructionId?: string, imageId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2840
2948
|
const localVarPath = `/v1/observation-statuses`;
|
|
2841
2949
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2842
2950
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -2873,6 +2981,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2873
2981
|
localVarQueryParameter['surveyInstructionId'] = surveyInstructionId;
|
|
2874
2982
|
}
|
|
2875
2983
|
|
|
2984
|
+
if (imageId !== undefined) {
|
|
2985
|
+
localVarQueryParameter['imageId'] = imageId;
|
|
2986
|
+
}
|
|
2987
|
+
|
|
2876
2988
|
|
|
2877
2989
|
|
|
2878
2990
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -3468,6 +3580,47 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3468
3580
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3469
3581
|
localVarRequestOptions.data = serializeDataIfNeeded(v1UpdateSatelliteTargetRequest, localVarRequestOptions, configuration)
|
|
3470
3582
|
|
|
3583
|
+
return {
|
|
3584
|
+
url: toPathString(localVarUrlObj),
|
|
3585
|
+
options: localVarRequestOptions,
|
|
3586
|
+
};
|
|
3587
|
+
},
|
|
3588
|
+
/**
|
|
3589
|
+
* Update a webhook configuration.
|
|
3590
|
+
* @param {V1UpdateWebhookConfigurationRequest} v1UpdateWebhookConfigurationRequest
|
|
3591
|
+
* @param {*} [options] Override http request option.
|
|
3592
|
+
* @throws {RequiredError}
|
|
3593
|
+
*/
|
|
3594
|
+
v1UpdateWebhookConfiguration: async (v1UpdateWebhookConfigurationRequest: V1UpdateWebhookConfigurationRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3595
|
+
// verify required parameter 'v1UpdateWebhookConfigurationRequest' is not null or undefined
|
|
3596
|
+
assertParamExists('v1UpdateWebhookConfiguration', 'v1UpdateWebhookConfigurationRequest', v1UpdateWebhookConfigurationRequest)
|
|
3597
|
+
const localVarPath = `/v1/communications/webhook`;
|
|
3598
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3599
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3600
|
+
let baseOptions;
|
|
3601
|
+
if (configuration) {
|
|
3602
|
+
baseOptions = configuration.baseOptions;
|
|
3603
|
+
}
|
|
3604
|
+
|
|
3605
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
3606
|
+
const localVarHeaderParameter = {} as any;
|
|
3607
|
+
const localVarQueryParameter = {} as any;
|
|
3608
|
+
|
|
3609
|
+
// authentication Roles required
|
|
3610
|
+
|
|
3611
|
+
// authentication BearerToken required
|
|
3612
|
+
// http bearer authentication required
|
|
3613
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3614
|
+
|
|
3615
|
+
|
|
3616
|
+
|
|
3617
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3618
|
+
|
|
3619
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3620
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3621
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3622
|
+
localVarRequestOptions.data = serializeDataIfNeeded(v1UpdateWebhookConfigurationRequest, localVarRequestOptions, configuration)
|
|
3623
|
+
|
|
3471
3624
|
return {
|
|
3472
3625
|
url: toPathString(localVarUrlObj),
|
|
3473
3626
|
options: localVarRequestOptions,
|
|
@@ -3682,6 +3835,17 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
3682
3835
|
const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetObservationFeatures(imageId, options);
|
|
3683
3836
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3684
3837
|
},
|
|
3838
|
+
/**
|
|
3839
|
+
* Get an observation sequence result for a specific image id.
|
|
3840
|
+
* @param {string} [observationSequenceResultId]
|
|
3841
|
+
* @param {string} [imageId]
|
|
3842
|
+
* @param {*} [options] Override http request option.
|
|
3843
|
+
* @throws {RequiredError}
|
|
3844
|
+
*/
|
|
3845
|
+
async v1GetObservationSequenceResult(observationSequenceResultId?: string, imageId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1ObservationSequenceResult>> {
|
|
3846
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetObservationSequenceResult(observationSequenceResultId, imageId, options);
|
|
3847
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3848
|
+
},
|
|
3685
3849
|
/**
|
|
3686
3850
|
* 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.
|
|
3687
3851
|
* @param {string} [targetId]
|
|
@@ -3699,11 +3863,12 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
3699
3863
|
* @param {string} [before]
|
|
3700
3864
|
* @param {string} [searchInstructionId]
|
|
3701
3865
|
* @param {string} [surveyInstructionId]
|
|
3866
|
+
* @param {string} [imageId]
|
|
3702
3867
|
* @param {*} [options] Override http request option.
|
|
3703
3868
|
* @throws {RequiredError}
|
|
3704
3869
|
*/
|
|
3705
|
-
async v1GetObservationStatuses(targetId?: string, before?: string, searchInstructionId?: string, surveyInstructionId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1ObservationStatus>>> {
|
|
3706
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetObservationStatuses(targetId, before, searchInstructionId, surveyInstructionId, options);
|
|
3870
|
+
async v1GetObservationStatuses(targetId?: string, before?: string, searchInstructionId?: string, surveyInstructionId?: string, imageId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1ObservationStatus>>> {
|
|
3871
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetObservationStatuses(targetId, before, searchInstructionId, surveyInstructionId, imageId, options);
|
|
3707
3872
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3708
3873
|
},
|
|
3709
3874
|
/**
|
|
@@ -3845,6 +4010,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
3845
4010
|
const localVarAxiosArgs = await localVarAxiosParamCreator.v1UpdateSatelliteTarget(v1UpdateSatelliteTargetRequest, options);
|
|
3846
4011
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3847
4012
|
},
|
|
4013
|
+
/**
|
|
4014
|
+
* Update a webhook configuration.
|
|
4015
|
+
* @param {V1UpdateWebhookConfigurationRequest} v1UpdateWebhookConfigurationRequest
|
|
4016
|
+
* @param {*} [options] Override http request option.
|
|
4017
|
+
* @throws {RequiredError}
|
|
4018
|
+
*/
|
|
4019
|
+
async v1UpdateWebhookConfiguration(v1UpdateWebhookConfigurationRequest: V1UpdateWebhookConfigurationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptySuccess>> {
|
|
4020
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1UpdateWebhookConfiguration(v1UpdateWebhookConfigurationRequest, options);
|
|
4021
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4022
|
+
},
|
|
3848
4023
|
}
|
|
3849
4024
|
};
|
|
3850
4025
|
|
|
@@ -4034,6 +4209,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
4034
4209
|
v1GetObservationFeatures(requestParameters: DefaultApiV1GetObservationFeaturesRequest, options?: AxiosRequestConfig): AxiosPromise<Array<V1ObservationFeature>> {
|
|
4035
4210
|
return localVarFp.v1GetObservationFeatures(requestParameters.imageId, options).then((request) => request(axios, basePath));
|
|
4036
4211
|
},
|
|
4212
|
+
/**
|
|
4213
|
+
* Get an observation sequence result for a specific image id.
|
|
4214
|
+
* @param {DefaultApiV1GetObservationSequenceResultRequest} requestParameters Request parameters.
|
|
4215
|
+
* @param {*} [options] Override http request option.
|
|
4216
|
+
* @throws {RequiredError}
|
|
4217
|
+
*/
|
|
4218
|
+
v1GetObservationSequenceResult(requestParameters: DefaultApiV1GetObservationSequenceResultRequest = {}, options?: AxiosRequestConfig): AxiosPromise<V1ObservationSequenceResult> {
|
|
4219
|
+
return localVarFp.v1GetObservationSequenceResult(requestParameters.observationSequenceResultId, requestParameters.imageId, options).then((request) => request(axios, basePath));
|
|
4220
|
+
},
|
|
4037
4221
|
/**
|
|
4038
4222
|
* 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.
|
|
4039
4223
|
* @param {DefaultApiV1GetObservationSequenceResultsRequest} requestParameters Request parameters.
|
|
@@ -4050,7 +4234,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
4050
4234
|
* @throws {RequiredError}
|
|
4051
4235
|
*/
|
|
4052
4236
|
v1GetObservationStatuses(requestParameters: DefaultApiV1GetObservationStatusesRequest = {}, options?: AxiosRequestConfig): AxiosPromise<Array<V1ObservationStatus>> {
|
|
4053
|
-
return localVarFp.v1GetObservationStatuses(requestParameters.targetId, requestParameters.before, requestParameters.searchInstructionId, requestParameters.surveyInstructionId, options).then((request) => request(axios, basePath));
|
|
4237
|
+
return localVarFp.v1GetObservationStatuses(requestParameters.targetId, requestParameters.before, requestParameters.searchInstructionId, requestParameters.surveyInstructionId, requestParameters.imageId, options).then((request) => request(axios, basePath));
|
|
4054
4238
|
},
|
|
4055
4239
|
/**
|
|
4056
4240
|
* Get potential observation windows for all satellites of your organization across the network from now until the `until` datetime
|
|
@@ -4167,6 +4351,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
4167
4351
|
v1UpdateSatelliteTarget(requestParameters: DefaultApiV1UpdateSatelliteTargetRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess> {
|
|
4168
4352
|
return localVarFp.v1UpdateSatelliteTarget(requestParameters.v1UpdateSatelliteTargetRequest, options).then((request) => request(axios, basePath));
|
|
4169
4353
|
},
|
|
4354
|
+
/**
|
|
4355
|
+
* Update a webhook configuration.
|
|
4356
|
+
* @param {DefaultApiV1UpdateWebhookConfigurationRequest} requestParameters Request parameters.
|
|
4357
|
+
* @param {*} [options] Override http request option.
|
|
4358
|
+
* @throws {RequiredError}
|
|
4359
|
+
*/
|
|
4360
|
+
v1UpdateWebhookConfiguration(requestParameters: DefaultApiV1UpdateWebhookConfigurationRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess> {
|
|
4361
|
+
return localVarFp.v1UpdateWebhookConfiguration(requestParameters.v1UpdateWebhookConfigurationRequest, options).then((request) => request(axios, basePath));
|
|
4362
|
+
},
|
|
4170
4363
|
};
|
|
4171
4364
|
};
|
|
4172
4365
|
|
|
@@ -4436,6 +4629,27 @@ export interface DefaultApiV1GetObservationFeaturesRequest {
|
|
|
4436
4629
|
readonly imageId: string
|
|
4437
4630
|
}
|
|
4438
4631
|
|
|
4632
|
+
/**
|
|
4633
|
+
* Request parameters for v1GetObservationSequenceResult operation in DefaultApi.
|
|
4634
|
+
* @export
|
|
4635
|
+
* @interface DefaultApiV1GetObservationSequenceResultRequest
|
|
4636
|
+
*/
|
|
4637
|
+
export interface DefaultApiV1GetObservationSequenceResultRequest {
|
|
4638
|
+
/**
|
|
4639
|
+
*
|
|
4640
|
+
* @type {string}
|
|
4641
|
+
* @memberof DefaultApiV1GetObservationSequenceResult
|
|
4642
|
+
*/
|
|
4643
|
+
readonly observationSequenceResultId?: string
|
|
4644
|
+
|
|
4645
|
+
/**
|
|
4646
|
+
*
|
|
4647
|
+
* @type {string}
|
|
4648
|
+
* @memberof DefaultApiV1GetObservationSequenceResult
|
|
4649
|
+
*/
|
|
4650
|
+
readonly imageId?: string
|
|
4651
|
+
}
|
|
4652
|
+
|
|
4439
4653
|
/**
|
|
4440
4654
|
* Request parameters for v1GetObservationSequenceResults operation in DefaultApi.
|
|
4441
4655
|
* @export
|
|
@@ -4490,6 +4704,13 @@ export interface DefaultApiV1GetObservationStatusesRequest {
|
|
|
4490
4704
|
* @memberof DefaultApiV1GetObservationStatuses
|
|
4491
4705
|
*/
|
|
4492
4706
|
readonly surveyInstructionId?: string
|
|
4707
|
+
|
|
4708
|
+
/**
|
|
4709
|
+
*
|
|
4710
|
+
* @type {string}
|
|
4711
|
+
* @memberof DefaultApiV1GetObservationStatuses
|
|
4712
|
+
*/
|
|
4713
|
+
readonly imageId?: string
|
|
4493
4714
|
}
|
|
4494
4715
|
|
|
4495
4716
|
/**
|
|
@@ -4723,6 +4944,20 @@ export interface DefaultApiV1UpdateSatelliteTargetRequest {
|
|
|
4723
4944
|
readonly v1UpdateSatelliteTargetRequest: V1UpdateSatelliteTargetRequest
|
|
4724
4945
|
}
|
|
4725
4946
|
|
|
4947
|
+
/**
|
|
4948
|
+
* Request parameters for v1UpdateWebhookConfiguration operation in DefaultApi.
|
|
4949
|
+
* @export
|
|
4950
|
+
* @interface DefaultApiV1UpdateWebhookConfigurationRequest
|
|
4951
|
+
*/
|
|
4952
|
+
export interface DefaultApiV1UpdateWebhookConfigurationRequest {
|
|
4953
|
+
/**
|
|
4954
|
+
*
|
|
4955
|
+
* @type {V1UpdateWebhookConfigurationRequest}
|
|
4956
|
+
* @memberof DefaultApiV1UpdateWebhookConfiguration
|
|
4957
|
+
*/
|
|
4958
|
+
readonly v1UpdateWebhookConfigurationRequest: V1UpdateWebhookConfigurationRequest
|
|
4959
|
+
}
|
|
4960
|
+
|
|
4726
4961
|
/**
|
|
4727
4962
|
* DefaultApi - object-oriented interface
|
|
4728
4963
|
* @export
|
|
@@ -4949,6 +5184,17 @@ export class DefaultApi extends BaseAPI {
|
|
|
4949
5184
|
return DefaultApiFp(this.configuration).v1GetObservationFeatures(requestParameters.imageId, options).then((request) => request(this.axios, this.basePath));
|
|
4950
5185
|
}
|
|
4951
5186
|
|
|
5187
|
+
/**
|
|
5188
|
+
* Get an observation sequence result for a specific image id.
|
|
5189
|
+
* @param {DefaultApiV1GetObservationSequenceResultRequest} requestParameters Request parameters.
|
|
5190
|
+
* @param {*} [options] Override http request option.
|
|
5191
|
+
* @throws {RequiredError}
|
|
5192
|
+
* @memberof DefaultApi
|
|
5193
|
+
*/
|
|
5194
|
+
public v1GetObservationSequenceResult(requestParameters: DefaultApiV1GetObservationSequenceResultRequest = {}, options?: AxiosRequestConfig) {
|
|
5195
|
+
return DefaultApiFp(this.configuration).v1GetObservationSequenceResult(requestParameters.observationSequenceResultId, requestParameters.imageId, options).then((request) => request(this.axios, this.basePath));
|
|
5196
|
+
}
|
|
5197
|
+
|
|
4952
5198
|
/**
|
|
4953
5199
|
* 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.
|
|
4954
5200
|
* @param {DefaultApiV1GetObservationSequenceResultsRequest} requestParameters Request parameters.
|
|
@@ -4968,7 +5214,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
4968
5214
|
* @memberof DefaultApi
|
|
4969
5215
|
*/
|
|
4970
5216
|
public v1GetObservationStatuses(requestParameters: DefaultApiV1GetObservationStatusesRequest = {}, options?: AxiosRequestConfig) {
|
|
4971
|
-
return DefaultApiFp(this.configuration).v1GetObservationStatuses(requestParameters.targetId, requestParameters.before, requestParameters.searchInstructionId, requestParameters.surveyInstructionId, options).then((request) => request(this.axios, this.basePath));
|
|
5217
|
+
return DefaultApiFp(this.configuration).v1GetObservationStatuses(requestParameters.targetId, requestParameters.before, requestParameters.searchInstructionId, requestParameters.surveyInstructionId, requestParameters.imageId, options).then((request) => request(this.axios, this.basePath));
|
|
4972
5218
|
}
|
|
4973
5219
|
|
|
4974
5220
|
/**
|
|
@@ -5111,6 +5357,17 @@ export class DefaultApi extends BaseAPI {
|
|
|
5111
5357
|
public v1UpdateSatelliteTarget(requestParameters: DefaultApiV1UpdateSatelliteTargetRequest, options?: AxiosRequestConfig) {
|
|
5112
5358
|
return DefaultApiFp(this.configuration).v1UpdateSatelliteTarget(requestParameters.v1UpdateSatelliteTargetRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5113
5359
|
}
|
|
5360
|
+
|
|
5361
|
+
/**
|
|
5362
|
+
* Update a webhook configuration.
|
|
5363
|
+
* @param {DefaultApiV1UpdateWebhookConfigurationRequest} requestParameters Request parameters.
|
|
5364
|
+
* @param {*} [options] Override http request option.
|
|
5365
|
+
* @throws {RequiredError}
|
|
5366
|
+
* @memberof DefaultApi
|
|
5367
|
+
*/
|
|
5368
|
+
public v1UpdateWebhookConfiguration(requestParameters: DefaultApiV1UpdateWebhookConfigurationRequest, options?: AxiosRequestConfig) {
|
|
5369
|
+
return DefaultApiFp(this.configuration).v1UpdateWebhookConfiguration(requestParameters.v1UpdateWebhookConfigurationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5370
|
+
}
|
|
5114
5371
|
}
|
|
5115
5372
|
|
|
5116
5373
|
|
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](https://api.prod.oursky.ai/docs/sda#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](https://api.prod.oursky.ai/docs/sda#tag/organization-targets/get/v1/organization-targets) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](https://api.prod.oursky.ai/docs/sda#tag/webhooks/post/v1/communications/webhook) endpoint to receive TDMs automatically (preferred) or use the [tdms](https://api.prod.oursky.ai/docs/sda#tag/tdms/get/v1/tdms) endpoint to poll for TDMs. 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.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.4675
|
|
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](https://api.prod.oursky.ai/docs/sda#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](https://api.prod.oursky.ai/docs/sda#tag/organization-targets/get/v1/organization-targets) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](https://api.prod.oursky.ai/docs/sda#tag/webhooks/post/v1/communications/webhook) endpoint to receive TDMs automatically (preferred) or use the [tdms](https://api.prod.oursky.ai/docs/sda#tag/tdms/get/v1/tdms) endpoint to poll for TDMs. 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.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.4675
|
|
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](https://api.prod.oursky.ai/docs/sda#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](https://api.prod.oursky.ai/docs/sda#tag/organization-targets/get/v1/organization-targets) endpoint. Use the id copied from above. 3. Create a webhook with the [webhook](https://api.prod.oursky.ai/docs/sda#tag/webhooks/post/v1/communications/webhook) endpoint to receive TDMs automatically (preferred) or use the [tdms](https://api.prod.oursky.ai/docs/sda#tag/tdms/get/v1/tdms) endpoint to poll for TDMs. 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.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.4675
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|