@ourskyai/platform-api 1.3.2078 → 1.3.2229

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/platform-api@1.3.2078
1
+ ## @ourskyai/platform-api@1.3.2229
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/platform-api@1.3.2078 --save
39
+ npm install @ourskyai/platform-api@1.3.2229 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * OurSky Platform
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.3.2078
7
+ * The version of the OpenAPI document: 1.3.2229
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -471,6 +471,61 @@ export interface V1CreateNodeDiagnosticsRequest {
471
471
  */
472
472
  'diagnostics': Array<V1CreateNodeDiagnostic>;
473
473
  }
474
+ /**
475
+ * Create Node
476
+ * @export
477
+ * @interface V1CreateNodeRequest
478
+ */
479
+ export interface V1CreateNodeRequest {
480
+ /**
481
+ *
482
+ * @type {string}
483
+ * @memberof V1CreateNodeRequest
484
+ */
485
+ 'name': string;
486
+ /**
487
+ *
488
+ * @type {string}
489
+ * @memberof V1CreateNodeRequest
490
+ */
491
+ 'observatoryId'?: string;
492
+ /**
493
+ *
494
+ * @type {string}
495
+ * @memberof V1CreateNodeRequest
496
+ */
497
+ 'cameraId': string;
498
+ /**
499
+ *
500
+ * @type {string}
501
+ * @memberof V1CreateNodeRequest
502
+ */
503
+ 'opticalTubeId': string;
504
+ /**
505
+ *
506
+ * @type {string}
507
+ * @memberof V1CreateNodeRequest
508
+ */
509
+ 'mountId': string;
510
+ /**
511
+ *
512
+ * @type {string}
513
+ * @memberof V1CreateNodeRequest
514
+ */
515
+ 'filterWheelId'?: string;
516
+ /**
517
+ *
518
+ * @type {number}
519
+ * @memberof V1CreateNodeRequest
520
+ */
521
+ 'maxAltitude': number;
522
+ /**
523
+ *
524
+ * @type {Location}
525
+ * @memberof V1CreateNodeRequest
526
+ */
527
+ 'location': Location;
528
+ }
474
529
  /**
475
530
  *
476
531
  * @export
@@ -504,6 +559,31 @@ export interface V1CreateOpticalTubeRequest {
504
559
  }
505
560
 
506
561
 
562
+ /**
563
+ * Elevation Mask Point
564
+ * @export
565
+ * @interface V1ElevationMaskPoint
566
+ */
567
+ export interface V1ElevationMaskPoint {
568
+ /**
569
+ *
570
+ * @type {number}
571
+ * @memberof V1ElevationMaskPoint
572
+ */
573
+ 'azimuthDegrees': number;
574
+ /**
575
+ *
576
+ * @type {number}
577
+ * @memberof V1ElevationMaskPoint
578
+ */
579
+ 'minAltitudeDegrees': number;
580
+ /**
581
+ *
582
+ * @type {number}
583
+ * @memberof V1ElevationMaskPoint
584
+ */
585
+ 'maxAltitudeDegrees': number;
586
+ }
507
587
  /**
508
588
  * Gain Curve
509
589
  * @export
@@ -942,6 +1022,12 @@ export interface V1ImageSetImage {
942
1022
  * @memberof V1ImageSetImage
943
1023
  */
944
1024
  'imageUrl': string;
1025
+ /**
1026
+ *
1027
+ * @type {string}
1028
+ * @memberof V1ImageSetImage
1029
+ */
1030
+ 'fullJpgUrl'?: string;
945
1031
  /**
946
1032
  *
947
1033
  * @type {string}
@@ -1175,6 +1261,12 @@ export interface V1Node {
1175
1261
  * @memberof V1Node
1176
1262
  */
1177
1263
  'minAltitude': number;
1264
+ /**
1265
+ *
1266
+ * @type {Array<V1ElevationMaskPoint>}
1267
+ * @memberof V1Node
1268
+ */
1269
+ 'elevationMask'?: Array<V1ElevationMaskPoint>;
1178
1270
  /**
1179
1271
  *
1180
1272
  * @type {string}
@@ -1235,7 +1327,8 @@ export const V1NodeDiagnosticType = {
1235
1327
  POINTING_ERROR_DEGREES: 'POINTING_ERROR_DEGREES',
1236
1328
  CAMERA_CHECKED: 'CAMERA_CHECKED',
1237
1329
  MOUNT_CHECKED: 'MOUNT_CHECKED',
1238
- OPTICAL_TUBE_CHECKED: 'OPTICAL_TUBE_CHECKED'
1330
+ OPTICAL_TUBE_CHECKED: 'OPTICAL_TUBE_CHECKED',
1331
+ ELEVATION_MASK_CHECKED: 'ELEVATION_MASK_CHECKED'
1239
1332
  } as const;
1240
1333
 
1241
1334
  export type V1NodeDiagnosticType = typeof V1NodeDiagnosticType[keyof typeof V1NodeDiagnosticType];
@@ -1628,6 +1721,81 @@ export interface V1UpdateNodeMetricsRequest {
1628
1721
  */
1629
1722
  'measuredAt': string;
1630
1723
  }
1724
+ /**
1725
+ * Update Node
1726
+ * @export
1727
+ * @interface V1UpdateNodeRequest
1728
+ */
1729
+ export interface V1UpdateNodeRequest {
1730
+ /**
1731
+ *
1732
+ * @type {string}
1733
+ * @memberof V1UpdateNodeRequest
1734
+ */
1735
+ 'nodeId': string;
1736
+ /**
1737
+ *
1738
+ * @type {string}
1739
+ * @memberof V1UpdateNodeRequest
1740
+ */
1741
+ 'name'?: string;
1742
+ /**
1743
+ *
1744
+ * @type {string}
1745
+ * @memberof V1UpdateNodeRequest
1746
+ */
1747
+ 'observatoryId'?: string;
1748
+ /**
1749
+ *
1750
+ * @type {string}
1751
+ * @memberof V1UpdateNodeRequest
1752
+ */
1753
+ 'cameraId'?: string;
1754
+ /**
1755
+ *
1756
+ * @type {string}
1757
+ * @memberof V1UpdateNodeRequest
1758
+ */
1759
+ 'opticalTubeId'?: string;
1760
+ /**
1761
+ *
1762
+ * @type {string}
1763
+ * @memberof V1UpdateNodeRequest
1764
+ */
1765
+ 'mountId'?: string;
1766
+ /**
1767
+ *
1768
+ * @type {string}
1769
+ * @memberof V1UpdateNodeRequest
1770
+ */
1771
+ 'filterWheelId'?: string;
1772
+ /**
1773
+ *
1774
+ * @type {number}
1775
+ * @memberof V1UpdateNodeRequest
1776
+ */
1777
+ 'maxAltitude'?: number;
1778
+ /**
1779
+ *
1780
+ * @type {Array<V1ElevationMaskPoint>}
1781
+ * @memberof V1UpdateNodeRequest
1782
+ */
1783
+ 'elevationMask'?: Array<V1ElevationMaskPoint>;
1784
+ /**
1785
+ *
1786
+ * @type {Location}
1787
+ * @memberof V1UpdateNodeRequest
1788
+ */
1789
+ 'location'?: Location;
1790
+ /**
1791
+ *
1792
+ * @type {NodeState}
1793
+ * @memberof V1UpdateNodeRequest
1794
+ */
1795
+ 'state'?: NodeState;
1796
+ }
1797
+
1798
+
1631
1799
  /**
1632
1800
  *
1633
1801
  * @export
@@ -2082,6 +2250,47 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
2082
2250
  options: localVarRequestOptions,
2083
2251
  };
2084
2252
  },
2253
+ /**
2254
+ * Create a node.
2255
+ * @param {V1CreateNodeRequest} v1CreateNodeRequest
2256
+ * @param {*} [options] Override http request option.
2257
+ * @throws {RequiredError}
2258
+ */
2259
+ v1CreateNode: async (v1CreateNodeRequest: V1CreateNodeRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2260
+ // verify required parameter 'v1CreateNodeRequest' is not null or undefined
2261
+ assertParamExists('v1CreateNode', 'v1CreateNodeRequest', v1CreateNodeRequest)
2262
+ const localVarPath = `/v1/node`;
2263
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2264
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2265
+ let baseOptions;
2266
+ if (configuration) {
2267
+ baseOptions = configuration.baseOptions;
2268
+ }
2269
+
2270
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2271
+ const localVarHeaderParameter = {} as any;
2272
+ const localVarQueryParameter = {} as any;
2273
+
2274
+ // authentication Roles required
2275
+
2276
+ // authentication BearerToken required
2277
+ // http bearer authentication required
2278
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
2279
+
2280
+
2281
+
2282
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2283
+
2284
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2285
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2286
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2287
+ localVarRequestOptions.data = serializeDataIfNeeded(v1CreateNodeRequest, localVarRequestOptions, configuration)
2288
+
2289
+ return {
2290
+ url: toPathString(localVarUrlObj),
2291
+ options: localVarRequestOptions,
2292
+ };
2293
+ },
2085
2294
  /**
2086
2295
  * Create node diagnostics.
2087
2296
  * @param {V1CreateNodeDiagnosticsRequest} v1CreateNodeDiagnosticsRequest
@@ -2164,6 +2373,90 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
2164
2373
  options: localVarRequestOptions,
2165
2374
  };
2166
2375
  },
2376
+ /**
2377
+ * Delete an image set.
2378
+ * @param {string} id
2379
+ * @param {*} [options] Override http request option.
2380
+ * @throws {RequiredError}
2381
+ */
2382
+ v1DeleteImageSet: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2383
+ // verify required parameter 'id' is not null or undefined
2384
+ assertParamExists('v1DeleteImageSet', 'id', id)
2385
+ const localVarPath = `/v1/image-set`;
2386
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2387
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2388
+ let baseOptions;
2389
+ if (configuration) {
2390
+ baseOptions = configuration.baseOptions;
2391
+ }
2392
+
2393
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
2394
+ const localVarHeaderParameter = {} as any;
2395
+ const localVarQueryParameter = {} as any;
2396
+
2397
+ // authentication Roles required
2398
+
2399
+ // authentication BearerToken required
2400
+ // http bearer authentication required
2401
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
2402
+
2403
+ if (id !== undefined) {
2404
+ localVarQueryParameter['id'] = id;
2405
+ }
2406
+
2407
+
2408
+
2409
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2410
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2411
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2412
+
2413
+ return {
2414
+ url: toPathString(localVarUrlObj),
2415
+ options: localVarRequestOptions,
2416
+ };
2417
+ },
2418
+ /**
2419
+ * Delete an image.
2420
+ * @param {string} imageId
2421
+ * @param {*} [options] Override http request option.
2422
+ * @throws {RequiredError}
2423
+ */
2424
+ v1DeleteImageSetImage: async (imageId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2425
+ // verify required parameter 'imageId' is not null or undefined
2426
+ assertParamExists('v1DeleteImageSetImage', 'imageId', imageId)
2427
+ const localVarPath = `/v1/image-set-image`;
2428
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2429
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2430
+ let baseOptions;
2431
+ if (configuration) {
2432
+ baseOptions = configuration.baseOptions;
2433
+ }
2434
+
2435
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
2436
+ const localVarHeaderParameter = {} as any;
2437
+ const localVarQueryParameter = {} as any;
2438
+
2439
+ // authentication Roles required
2440
+
2441
+ // authentication BearerToken required
2442
+ // http bearer authentication required
2443
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
2444
+
2445
+ if (imageId !== undefined) {
2446
+ localVarQueryParameter['imageId'] = imageId;
2447
+ }
2448
+
2449
+
2450
+
2451
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2452
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2453
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2454
+
2455
+ return {
2456
+ url: toPathString(localVarUrlObj),
2457
+ options: localVarRequestOptions,
2458
+ };
2459
+ },
2167
2460
  /**
2168
2461
  * Get cameras.
2169
2462
  * @param {*} [options] Override http request option.
@@ -2699,6 +2992,47 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
2699
2992
  options: localVarRequestOptions,
2700
2993
  };
2701
2994
  },
2995
+ /**
2996
+ * Update a node.
2997
+ * @param {V1UpdateNodeRequest} v1UpdateNodeRequest
2998
+ * @param {*} [options] Override http request option.
2999
+ * @throws {RequiredError}
3000
+ */
3001
+ v1UpdateNode: async (v1UpdateNodeRequest: V1UpdateNodeRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3002
+ // verify required parameter 'v1UpdateNodeRequest' is not null or undefined
3003
+ assertParamExists('v1UpdateNode', 'v1UpdateNodeRequest', v1UpdateNodeRequest)
3004
+ const localVarPath = `/v1/node`;
3005
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3006
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3007
+ let baseOptions;
3008
+ if (configuration) {
3009
+ baseOptions = configuration.baseOptions;
3010
+ }
3011
+
3012
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
3013
+ const localVarHeaderParameter = {} as any;
3014
+ const localVarQueryParameter = {} as any;
3015
+
3016
+ // authentication Roles required
3017
+
3018
+ // authentication BearerToken required
3019
+ // http bearer authentication required
3020
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
3021
+
3022
+
3023
+
3024
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3025
+
3026
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3027
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3028
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3029
+ localVarRequestOptions.data = serializeDataIfNeeded(v1UpdateNodeRequest, localVarRequestOptions, configuration)
3030
+
3031
+ return {
3032
+ url: toPathString(localVarUrlObj),
3033
+ options: localVarRequestOptions,
3034
+ };
3035
+ },
2702
3036
  /**
2703
3037
  * Update node components.
2704
3038
  * @param {V1UpdateNodeComponentsRequest} v1UpdateNodeComponentsRequest
@@ -2941,6 +3275,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
2941
3275
  const localVarAxiosArgs = await localVarAxiosParamCreator.v1CreateMount(v1CreateMountRequest, options);
2942
3276
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2943
3277
  },
3278
+ /**
3279
+ * Create a node.
3280
+ * @param {V1CreateNodeRequest} v1CreateNodeRequest
3281
+ * @param {*} [options] Override http request option.
3282
+ * @throws {RequiredError}
3283
+ */
3284
+ async v1CreateNode(v1CreateNodeRequest: V1CreateNodeRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessfulCreate>> {
3285
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1CreateNode(v1CreateNodeRequest, options);
3286
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3287
+ },
2944
3288
  /**
2945
3289
  * Create node diagnostics.
2946
3290
  * @param {V1CreateNodeDiagnosticsRequest} v1CreateNodeDiagnosticsRequest
@@ -2961,6 +3305,26 @@ export const DefaultApiFp = function(configuration?: Configuration) {
2961
3305
  const localVarAxiosArgs = await localVarAxiosParamCreator.v1CreateOpticalTube(v1CreateOpticalTubeRequest, options);
2962
3306
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2963
3307
  },
3308
+ /**
3309
+ * Delete an image set.
3310
+ * @param {string} id
3311
+ * @param {*} [options] Override http request option.
3312
+ * @throws {RequiredError}
3313
+ */
3314
+ async v1DeleteImageSet(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptySuccess>> {
3315
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1DeleteImageSet(id, options);
3316
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3317
+ },
3318
+ /**
3319
+ * Delete an image.
3320
+ * @param {string} imageId
3321
+ * @param {*} [options] Override http request option.
3322
+ * @throws {RequiredError}
3323
+ */
3324
+ async v1DeleteImageSetImage(imageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptySuccess>> {
3325
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1DeleteImageSetImage(imageId, options);
3326
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3327
+ },
2964
3328
  /**
2965
3329
  * Get cameras.
2966
3330
  * @param {*} [options] Override http request option.
@@ -3091,6 +3455,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
3091
3455
  const localVarAxiosArgs = await localVarAxiosParamCreator.v1OpticalTubeMatch(model, focalLengthMm, apertureMm, options);
3092
3456
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3093
3457
  },
3458
+ /**
3459
+ * Update a node.
3460
+ * @param {V1UpdateNodeRequest} v1UpdateNodeRequest
3461
+ * @param {*} [options] Override http request option.
3462
+ * @throws {RequiredError}
3463
+ */
3464
+ async v1UpdateNode(v1UpdateNodeRequest: V1UpdateNodeRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptySuccess>> {
3465
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1UpdateNode(v1UpdateNodeRequest, options);
3466
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3467
+ },
3094
3468
  /**
3095
3469
  * Update node components.
3096
3470
  * @param {V1UpdateNodeComponentsRequest} v1UpdateNodeComponentsRequest
@@ -3195,6 +3569,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
3195
3569
  v1CreateMount(requestParameters: DefaultApiV1CreateMountRequest, options?: AxiosRequestConfig): AxiosPromise<SuccessfulCreate> {
3196
3570
  return localVarFp.v1CreateMount(requestParameters.v1CreateMountRequest, options).then((request) => request(axios, basePath));
3197
3571
  },
3572
+ /**
3573
+ * Create a node.
3574
+ * @param {DefaultApiV1CreateNodeRequest} requestParameters Request parameters.
3575
+ * @param {*} [options] Override http request option.
3576
+ * @throws {RequiredError}
3577
+ */
3578
+ v1CreateNode(requestParameters: DefaultApiV1CreateNodeRequest, options?: AxiosRequestConfig): AxiosPromise<SuccessfulCreate> {
3579
+ return localVarFp.v1CreateNode(requestParameters.v1CreateNodeRequest, options).then((request) => request(axios, basePath));
3580
+ },
3198
3581
  /**
3199
3582
  * Create node diagnostics.
3200
3583
  * @param {DefaultApiV1CreateNodeDiagnosticsRequest} requestParameters Request parameters.
@@ -3213,6 +3596,24 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
3213
3596
  v1CreateOpticalTube(requestParameters: DefaultApiV1CreateOpticalTubeRequest, options?: AxiosRequestConfig): AxiosPromise<SuccessfulCreate> {
3214
3597
  return localVarFp.v1CreateOpticalTube(requestParameters.v1CreateOpticalTubeRequest, options).then((request) => request(axios, basePath));
3215
3598
  },
3599
+ /**
3600
+ * Delete an image set.
3601
+ * @param {DefaultApiV1DeleteImageSetRequest} requestParameters Request parameters.
3602
+ * @param {*} [options] Override http request option.
3603
+ * @throws {RequiredError}
3604
+ */
3605
+ v1DeleteImageSet(requestParameters: DefaultApiV1DeleteImageSetRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess> {
3606
+ return localVarFp.v1DeleteImageSet(requestParameters.id, options).then((request) => request(axios, basePath));
3607
+ },
3608
+ /**
3609
+ * Delete an image.
3610
+ * @param {DefaultApiV1DeleteImageSetImageRequest} requestParameters Request parameters.
3611
+ * @param {*} [options] Override http request option.
3612
+ * @throws {RequiredError}
3613
+ */
3614
+ v1DeleteImageSetImage(requestParameters: DefaultApiV1DeleteImageSetImageRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess> {
3615
+ return localVarFp.v1DeleteImageSetImage(requestParameters.imageId, options).then((request) => request(axios, basePath));
3616
+ },
3216
3617
  /**
3217
3618
  * Get cameras.
3218
3619
  * @param {*} [options] Override http request option.
@@ -3328,6 +3729,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
3328
3729
  v1OpticalTubeMatch(requestParameters: DefaultApiV1OpticalTubeMatchRequest = {}, options?: AxiosRequestConfig): AxiosPromise<Array<V1OpticalTube>> {
3329
3730
  return localVarFp.v1OpticalTubeMatch(requestParameters.model, requestParameters.focalLengthMm, requestParameters.apertureMm, options).then((request) => request(axios, basePath));
3330
3731
  },
3732
+ /**
3733
+ * Update a node.
3734
+ * @param {DefaultApiV1UpdateNodeRequest} requestParameters Request parameters.
3735
+ * @param {*} [options] Override http request option.
3736
+ * @throws {RequiredError}
3737
+ */
3738
+ v1UpdateNode(requestParameters: DefaultApiV1UpdateNodeRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess> {
3739
+ return localVarFp.v1UpdateNode(requestParameters.v1UpdateNodeRequest, options).then((request) => request(axios, basePath));
3740
+ },
3331
3741
  /**
3332
3742
  * Update node components.
3333
3743
  * @param {DefaultApiV1UpdateNodeComponentsRequest} requestParameters Request parameters.
@@ -3500,6 +3910,20 @@ export interface DefaultApiV1CreateMountRequest {
3500
3910
  readonly v1CreateMountRequest: V1CreateMountRequest
3501
3911
  }
3502
3912
 
3913
+ /**
3914
+ * Request parameters for v1CreateNode operation in DefaultApi.
3915
+ * @export
3916
+ * @interface DefaultApiV1CreateNodeRequest
3917
+ */
3918
+ export interface DefaultApiV1CreateNodeRequest {
3919
+ /**
3920
+ *
3921
+ * @type {V1CreateNodeRequest}
3922
+ * @memberof DefaultApiV1CreateNode
3923
+ */
3924
+ readonly v1CreateNodeRequest: V1CreateNodeRequest
3925
+ }
3926
+
3503
3927
  /**
3504
3928
  * Request parameters for v1CreateNodeDiagnostics operation in DefaultApi.
3505
3929
  * @export
@@ -3528,6 +3952,34 @@ export interface DefaultApiV1CreateOpticalTubeRequest {
3528
3952
  readonly v1CreateOpticalTubeRequest: V1CreateOpticalTubeRequest
3529
3953
  }
3530
3954
 
3955
+ /**
3956
+ * Request parameters for v1DeleteImageSet operation in DefaultApi.
3957
+ * @export
3958
+ * @interface DefaultApiV1DeleteImageSetRequest
3959
+ */
3960
+ export interface DefaultApiV1DeleteImageSetRequest {
3961
+ /**
3962
+ *
3963
+ * @type {string}
3964
+ * @memberof DefaultApiV1DeleteImageSet
3965
+ */
3966
+ readonly id: string
3967
+ }
3968
+
3969
+ /**
3970
+ * Request parameters for v1DeleteImageSetImage operation in DefaultApi.
3971
+ * @export
3972
+ * @interface DefaultApiV1DeleteImageSetImageRequest
3973
+ */
3974
+ export interface DefaultApiV1DeleteImageSetImageRequest {
3975
+ /**
3976
+ *
3977
+ * @type {string}
3978
+ * @memberof DefaultApiV1DeleteImageSetImage
3979
+ */
3980
+ readonly imageId: string
3981
+ }
3982
+
3531
3983
  /**
3532
3984
  * Request parameters for v1GetImageSet operation in DefaultApi.
3533
3985
  * @export
@@ -3696,6 +4148,20 @@ export interface DefaultApiV1OpticalTubeMatchRequest {
3696
4148
  readonly apertureMm?: number
3697
4149
  }
3698
4150
 
4151
+ /**
4152
+ * Request parameters for v1UpdateNode operation in DefaultApi.
4153
+ * @export
4154
+ * @interface DefaultApiV1UpdateNodeRequest
4155
+ */
4156
+ export interface DefaultApiV1UpdateNodeRequest {
4157
+ /**
4158
+ *
4159
+ * @type {V1UpdateNodeRequest}
4160
+ * @memberof DefaultApiV1UpdateNode
4161
+ */
4162
+ readonly v1UpdateNodeRequest: V1UpdateNodeRequest
4163
+ }
4164
+
3699
4165
  /**
3700
4166
  * Request parameters for v1UpdateNodeComponents operation in DefaultApi.
3701
4167
  * @export
@@ -3825,6 +4291,17 @@ export class DefaultApi extends BaseAPI {
3825
4291
  return DefaultApiFp(this.configuration).v1CreateMount(requestParameters.v1CreateMountRequest, options).then((request) => request(this.axios, this.basePath));
3826
4292
  }
3827
4293
 
4294
+ /**
4295
+ * Create a node.
4296
+ * @param {DefaultApiV1CreateNodeRequest} requestParameters Request parameters.
4297
+ * @param {*} [options] Override http request option.
4298
+ * @throws {RequiredError}
4299
+ * @memberof DefaultApi
4300
+ */
4301
+ public v1CreateNode(requestParameters: DefaultApiV1CreateNodeRequest, options?: AxiosRequestConfig) {
4302
+ return DefaultApiFp(this.configuration).v1CreateNode(requestParameters.v1CreateNodeRequest, options).then((request) => request(this.axios, this.basePath));
4303
+ }
4304
+
3828
4305
  /**
3829
4306
  * Create node diagnostics.
3830
4307
  * @param {DefaultApiV1CreateNodeDiagnosticsRequest} requestParameters Request parameters.
@@ -3847,6 +4324,28 @@ export class DefaultApi extends BaseAPI {
3847
4324
  return DefaultApiFp(this.configuration).v1CreateOpticalTube(requestParameters.v1CreateOpticalTubeRequest, options).then((request) => request(this.axios, this.basePath));
3848
4325
  }
3849
4326
 
4327
+ /**
4328
+ * Delete an image set.
4329
+ * @param {DefaultApiV1DeleteImageSetRequest} requestParameters Request parameters.
4330
+ * @param {*} [options] Override http request option.
4331
+ * @throws {RequiredError}
4332
+ * @memberof DefaultApi
4333
+ */
4334
+ public v1DeleteImageSet(requestParameters: DefaultApiV1DeleteImageSetRequest, options?: AxiosRequestConfig) {
4335
+ return DefaultApiFp(this.configuration).v1DeleteImageSet(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
4336
+ }
4337
+
4338
+ /**
4339
+ * Delete an image.
4340
+ * @param {DefaultApiV1DeleteImageSetImageRequest} requestParameters Request parameters.
4341
+ * @param {*} [options] Override http request option.
4342
+ * @throws {RequiredError}
4343
+ * @memberof DefaultApi
4344
+ */
4345
+ public v1DeleteImageSetImage(requestParameters: DefaultApiV1DeleteImageSetImageRequest, options?: AxiosRequestConfig) {
4346
+ return DefaultApiFp(this.configuration).v1DeleteImageSetImage(requestParameters.imageId, options).then((request) => request(this.axios, this.basePath));
4347
+ }
4348
+
3850
4349
  /**
3851
4350
  * Get cameras.
3852
4351
  * @param {*} [options] Override http request option.
@@ -3988,6 +4487,17 @@ export class DefaultApi extends BaseAPI {
3988
4487
  return DefaultApiFp(this.configuration).v1OpticalTubeMatch(requestParameters.model, requestParameters.focalLengthMm, requestParameters.apertureMm, options).then((request) => request(this.axios, this.basePath));
3989
4488
  }
3990
4489
 
4490
+ /**
4491
+ * Update a node.
4492
+ * @param {DefaultApiV1UpdateNodeRequest} requestParameters Request parameters.
4493
+ * @param {*} [options] Override http request option.
4494
+ * @throws {RequiredError}
4495
+ * @memberof DefaultApi
4496
+ */
4497
+ public v1UpdateNode(requestParameters: DefaultApiV1UpdateNodeRequest, options?: AxiosRequestConfig) {
4498
+ return DefaultApiFp(this.configuration).v1UpdateNode(requestParameters.v1UpdateNodeRequest, options).then((request) => request(this.axios, this.basePath));
4499
+ }
4500
+
3991
4501
  /**
3992
4502
  * Update node components.
3993
4503
  * @param {DefaultApiV1UpdateNodeComponentsRequest} requestParameters Request parameters.
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * OurSky Platform
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.3.2078
7
+ * The version of the OpenAPI document: 1.3.2229
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 Platform
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.3.2078
7
+ * The version of the OpenAPI document: 1.3.2229
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).