@ourskyai/platform-api 1.3.2078 → 1.3.2151

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.2151
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.2151 --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.2151
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
@@ -1175,6 +1255,12 @@ export interface V1Node {
1175
1255
  * @memberof V1Node
1176
1256
  */
1177
1257
  'minAltitude': number;
1258
+ /**
1259
+ *
1260
+ * @type {Array<V1ElevationMaskPoint>}
1261
+ * @memberof V1Node
1262
+ */
1263
+ 'elevationMask'?: Array<V1ElevationMaskPoint>;
1178
1264
  /**
1179
1265
  *
1180
1266
  * @type {string}
@@ -1235,7 +1321,8 @@ export const V1NodeDiagnosticType = {
1235
1321
  POINTING_ERROR_DEGREES: 'POINTING_ERROR_DEGREES',
1236
1322
  CAMERA_CHECKED: 'CAMERA_CHECKED',
1237
1323
  MOUNT_CHECKED: 'MOUNT_CHECKED',
1238
- OPTICAL_TUBE_CHECKED: 'OPTICAL_TUBE_CHECKED'
1324
+ OPTICAL_TUBE_CHECKED: 'OPTICAL_TUBE_CHECKED',
1325
+ ELEVATION_MASK_CHECKED: 'ELEVATION_MASK_CHECKED'
1239
1326
  } as const;
1240
1327
 
1241
1328
  export type V1NodeDiagnosticType = typeof V1NodeDiagnosticType[keyof typeof V1NodeDiagnosticType];
@@ -1628,6 +1715,81 @@ export interface V1UpdateNodeMetricsRequest {
1628
1715
  */
1629
1716
  'measuredAt': string;
1630
1717
  }
1718
+ /**
1719
+ * Update Node
1720
+ * @export
1721
+ * @interface V1UpdateNodeRequest
1722
+ */
1723
+ export interface V1UpdateNodeRequest {
1724
+ /**
1725
+ *
1726
+ * @type {string}
1727
+ * @memberof V1UpdateNodeRequest
1728
+ */
1729
+ 'nodeId': string;
1730
+ /**
1731
+ *
1732
+ * @type {string}
1733
+ * @memberof V1UpdateNodeRequest
1734
+ */
1735
+ 'name'?: string;
1736
+ /**
1737
+ *
1738
+ * @type {string}
1739
+ * @memberof V1UpdateNodeRequest
1740
+ */
1741
+ 'observatoryId'?: string;
1742
+ /**
1743
+ *
1744
+ * @type {string}
1745
+ * @memberof V1UpdateNodeRequest
1746
+ */
1747
+ 'cameraId'?: string;
1748
+ /**
1749
+ *
1750
+ * @type {string}
1751
+ * @memberof V1UpdateNodeRequest
1752
+ */
1753
+ 'opticalTubeId'?: string;
1754
+ /**
1755
+ *
1756
+ * @type {string}
1757
+ * @memberof V1UpdateNodeRequest
1758
+ */
1759
+ 'mountId'?: string;
1760
+ /**
1761
+ *
1762
+ * @type {string}
1763
+ * @memberof V1UpdateNodeRequest
1764
+ */
1765
+ 'filterWheelId'?: string;
1766
+ /**
1767
+ *
1768
+ * @type {number}
1769
+ * @memberof V1UpdateNodeRequest
1770
+ */
1771
+ 'maxAltitude'?: number;
1772
+ /**
1773
+ *
1774
+ * @type {Array<V1ElevationMaskPoint>}
1775
+ * @memberof V1UpdateNodeRequest
1776
+ */
1777
+ 'elevationMask'?: Array<V1ElevationMaskPoint>;
1778
+ /**
1779
+ *
1780
+ * @type {Location}
1781
+ * @memberof V1UpdateNodeRequest
1782
+ */
1783
+ 'location'?: Location;
1784
+ /**
1785
+ *
1786
+ * @type {NodeState}
1787
+ * @memberof V1UpdateNodeRequest
1788
+ */
1789
+ 'state'?: NodeState;
1790
+ }
1791
+
1792
+
1631
1793
  /**
1632
1794
  *
1633
1795
  * @export
@@ -2082,6 +2244,47 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
2082
2244
  options: localVarRequestOptions,
2083
2245
  };
2084
2246
  },
2247
+ /**
2248
+ * Create a node.
2249
+ * @param {V1CreateNodeRequest} v1CreateNodeRequest
2250
+ * @param {*} [options] Override http request option.
2251
+ * @throws {RequiredError}
2252
+ */
2253
+ v1CreateNode: async (v1CreateNodeRequest: V1CreateNodeRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2254
+ // verify required parameter 'v1CreateNodeRequest' is not null or undefined
2255
+ assertParamExists('v1CreateNode', 'v1CreateNodeRequest', v1CreateNodeRequest)
2256
+ const localVarPath = `/v1/node`;
2257
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2258
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2259
+ let baseOptions;
2260
+ if (configuration) {
2261
+ baseOptions = configuration.baseOptions;
2262
+ }
2263
+
2264
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2265
+ const localVarHeaderParameter = {} as any;
2266
+ const localVarQueryParameter = {} as any;
2267
+
2268
+ // authentication Roles required
2269
+
2270
+ // authentication BearerToken required
2271
+ // http bearer authentication required
2272
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
2273
+
2274
+
2275
+
2276
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2277
+
2278
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2279
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2280
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2281
+ localVarRequestOptions.data = serializeDataIfNeeded(v1CreateNodeRequest, localVarRequestOptions, configuration)
2282
+
2283
+ return {
2284
+ url: toPathString(localVarUrlObj),
2285
+ options: localVarRequestOptions,
2286
+ };
2287
+ },
2085
2288
  /**
2086
2289
  * Create node diagnostics.
2087
2290
  * @param {V1CreateNodeDiagnosticsRequest} v1CreateNodeDiagnosticsRequest
@@ -2164,6 +2367,90 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
2164
2367
  options: localVarRequestOptions,
2165
2368
  };
2166
2369
  },
2370
+ /**
2371
+ * Delete an image set.
2372
+ * @param {string} id
2373
+ * @param {*} [options] Override http request option.
2374
+ * @throws {RequiredError}
2375
+ */
2376
+ v1DeleteImageSet: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2377
+ // verify required parameter 'id' is not null or undefined
2378
+ assertParamExists('v1DeleteImageSet', 'id', id)
2379
+ const localVarPath = `/v1/image-set`;
2380
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2381
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2382
+ let baseOptions;
2383
+ if (configuration) {
2384
+ baseOptions = configuration.baseOptions;
2385
+ }
2386
+
2387
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
2388
+ const localVarHeaderParameter = {} as any;
2389
+ const localVarQueryParameter = {} as any;
2390
+
2391
+ // authentication Roles required
2392
+
2393
+ // authentication BearerToken required
2394
+ // http bearer authentication required
2395
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
2396
+
2397
+ if (id !== undefined) {
2398
+ localVarQueryParameter['id'] = id;
2399
+ }
2400
+
2401
+
2402
+
2403
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2404
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2405
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2406
+
2407
+ return {
2408
+ url: toPathString(localVarUrlObj),
2409
+ options: localVarRequestOptions,
2410
+ };
2411
+ },
2412
+ /**
2413
+ * Delete an image.
2414
+ * @param {string} imageId
2415
+ * @param {*} [options] Override http request option.
2416
+ * @throws {RequiredError}
2417
+ */
2418
+ v1DeleteImageSetImage: async (imageId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2419
+ // verify required parameter 'imageId' is not null or undefined
2420
+ assertParamExists('v1DeleteImageSetImage', 'imageId', imageId)
2421
+ const localVarPath = `/v1/image-set-image`;
2422
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2423
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2424
+ let baseOptions;
2425
+ if (configuration) {
2426
+ baseOptions = configuration.baseOptions;
2427
+ }
2428
+
2429
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
2430
+ const localVarHeaderParameter = {} as any;
2431
+ const localVarQueryParameter = {} as any;
2432
+
2433
+ // authentication Roles required
2434
+
2435
+ // authentication BearerToken required
2436
+ // http bearer authentication required
2437
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
2438
+
2439
+ if (imageId !== undefined) {
2440
+ localVarQueryParameter['imageId'] = imageId;
2441
+ }
2442
+
2443
+
2444
+
2445
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2446
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2447
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2448
+
2449
+ return {
2450
+ url: toPathString(localVarUrlObj),
2451
+ options: localVarRequestOptions,
2452
+ };
2453
+ },
2167
2454
  /**
2168
2455
  * Get cameras.
2169
2456
  * @param {*} [options] Override http request option.
@@ -2699,6 +2986,47 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
2699
2986
  options: localVarRequestOptions,
2700
2987
  };
2701
2988
  },
2989
+ /**
2990
+ * Update a node.
2991
+ * @param {V1UpdateNodeRequest} v1UpdateNodeRequest
2992
+ * @param {*} [options] Override http request option.
2993
+ * @throws {RequiredError}
2994
+ */
2995
+ v1UpdateNode: async (v1UpdateNodeRequest: V1UpdateNodeRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2996
+ // verify required parameter 'v1UpdateNodeRequest' is not null or undefined
2997
+ assertParamExists('v1UpdateNode', 'v1UpdateNodeRequest', v1UpdateNodeRequest)
2998
+ const localVarPath = `/v1/node`;
2999
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3000
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3001
+ let baseOptions;
3002
+ if (configuration) {
3003
+ baseOptions = configuration.baseOptions;
3004
+ }
3005
+
3006
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
3007
+ const localVarHeaderParameter = {} as any;
3008
+ const localVarQueryParameter = {} as any;
3009
+
3010
+ // authentication Roles required
3011
+
3012
+ // authentication BearerToken required
3013
+ // http bearer authentication required
3014
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
3015
+
3016
+
3017
+
3018
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3019
+
3020
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3021
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3022
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3023
+ localVarRequestOptions.data = serializeDataIfNeeded(v1UpdateNodeRequest, localVarRequestOptions, configuration)
3024
+
3025
+ return {
3026
+ url: toPathString(localVarUrlObj),
3027
+ options: localVarRequestOptions,
3028
+ };
3029
+ },
2702
3030
  /**
2703
3031
  * Update node components.
2704
3032
  * @param {V1UpdateNodeComponentsRequest} v1UpdateNodeComponentsRequest
@@ -2941,6 +3269,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
2941
3269
  const localVarAxiosArgs = await localVarAxiosParamCreator.v1CreateMount(v1CreateMountRequest, options);
2942
3270
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2943
3271
  },
3272
+ /**
3273
+ * Create a node.
3274
+ * @param {V1CreateNodeRequest} v1CreateNodeRequest
3275
+ * @param {*} [options] Override http request option.
3276
+ * @throws {RequiredError}
3277
+ */
3278
+ async v1CreateNode(v1CreateNodeRequest: V1CreateNodeRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessfulCreate>> {
3279
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1CreateNode(v1CreateNodeRequest, options);
3280
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3281
+ },
2944
3282
  /**
2945
3283
  * Create node diagnostics.
2946
3284
  * @param {V1CreateNodeDiagnosticsRequest} v1CreateNodeDiagnosticsRequest
@@ -2961,6 +3299,26 @@ export const DefaultApiFp = function(configuration?: Configuration) {
2961
3299
  const localVarAxiosArgs = await localVarAxiosParamCreator.v1CreateOpticalTube(v1CreateOpticalTubeRequest, options);
2962
3300
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2963
3301
  },
3302
+ /**
3303
+ * Delete an image set.
3304
+ * @param {string} id
3305
+ * @param {*} [options] Override http request option.
3306
+ * @throws {RequiredError}
3307
+ */
3308
+ async v1DeleteImageSet(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptySuccess>> {
3309
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1DeleteImageSet(id, options);
3310
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3311
+ },
3312
+ /**
3313
+ * Delete an image.
3314
+ * @param {string} imageId
3315
+ * @param {*} [options] Override http request option.
3316
+ * @throws {RequiredError}
3317
+ */
3318
+ async v1DeleteImageSetImage(imageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptySuccess>> {
3319
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1DeleteImageSetImage(imageId, options);
3320
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3321
+ },
2964
3322
  /**
2965
3323
  * Get cameras.
2966
3324
  * @param {*} [options] Override http request option.
@@ -3091,6 +3449,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
3091
3449
  const localVarAxiosArgs = await localVarAxiosParamCreator.v1OpticalTubeMatch(model, focalLengthMm, apertureMm, options);
3092
3450
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3093
3451
  },
3452
+ /**
3453
+ * Update a node.
3454
+ * @param {V1UpdateNodeRequest} v1UpdateNodeRequest
3455
+ * @param {*} [options] Override http request option.
3456
+ * @throws {RequiredError}
3457
+ */
3458
+ async v1UpdateNode(v1UpdateNodeRequest: V1UpdateNodeRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptySuccess>> {
3459
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1UpdateNode(v1UpdateNodeRequest, options);
3460
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3461
+ },
3094
3462
  /**
3095
3463
  * Update node components.
3096
3464
  * @param {V1UpdateNodeComponentsRequest} v1UpdateNodeComponentsRequest
@@ -3195,6 +3563,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
3195
3563
  v1CreateMount(requestParameters: DefaultApiV1CreateMountRequest, options?: AxiosRequestConfig): AxiosPromise<SuccessfulCreate> {
3196
3564
  return localVarFp.v1CreateMount(requestParameters.v1CreateMountRequest, options).then((request) => request(axios, basePath));
3197
3565
  },
3566
+ /**
3567
+ * Create a node.
3568
+ * @param {DefaultApiV1CreateNodeRequest} requestParameters Request parameters.
3569
+ * @param {*} [options] Override http request option.
3570
+ * @throws {RequiredError}
3571
+ */
3572
+ v1CreateNode(requestParameters: DefaultApiV1CreateNodeRequest, options?: AxiosRequestConfig): AxiosPromise<SuccessfulCreate> {
3573
+ return localVarFp.v1CreateNode(requestParameters.v1CreateNodeRequest, options).then((request) => request(axios, basePath));
3574
+ },
3198
3575
  /**
3199
3576
  * Create node diagnostics.
3200
3577
  * @param {DefaultApiV1CreateNodeDiagnosticsRequest} requestParameters Request parameters.
@@ -3213,6 +3590,24 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
3213
3590
  v1CreateOpticalTube(requestParameters: DefaultApiV1CreateOpticalTubeRequest, options?: AxiosRequestConfig): AxiosPromise<SuccessfulCreate> {
3214
3591
  return localVarFp.v1CreateOpticalTube(requestParameters.v1CreateOpticalTubeRequest, options).then((request) => request(axios, basePath));
3215
3592
  },
3593
+ /**
3594
+ * Delete an image set.
3595
+ * @param {DefaultApiV1DeleteImageSetRequest} requestParameters Request parameters.
3596
+ * @param {*} [options] Override http request option.
3597
+ * @throws {RequiredError}
3598
+ */
3599
+ v1DeleteImageSet(requestParameters: DefaultApiV1DeleteImageSetRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess> {
3600
+ return localVarFp.v1DeleteImageSet(requestParameters.id, options).then((request) => request(axios, basePath));
3601
+ },
3602
+ /**
3603
+ * Delete an image.
3604
+ * @param {DefaultApiV1DeleteImageSetImageRequest} requestParameters Request parameters.
3605
+ * @param {*} [options] Override http request option.
3606
+ * @throws {RequiredError}
3607
+ */
3608
+ v1DeleteImageSetImage(requestParameters: DefaultApiV1DeleteImageSetImageRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess> {
3609
+ return localVarFp.v1DeleteImageSetImage(requestParameters.imageId, options).then((request) => request(axios, basePath));
3610
+ },
3216
3611
  /**
3217
3612
  * Get cameras.
3218
3613
  * @param {*} [options] Override http request option.
@@ -3328,6 +3723,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
3328
3723
  v1OpticalTubeMatch(requestParameters: DefaultApiV1OpticalTubeMatchRequest = {}, options?: AxiosRequestConfig): AxiosPromise<Array<V1OpticalTube>> {
3329
3724
  return localVarFp.v1OpticalTubeMatch(requestParameters.model, requestParameters.focalLengthMm, requestParameters.apertureMm, options).then((request) => request(axios, basePath));
3330
3725
  },
3726
+ /**
3727
+ * Update a node.
3728
+ * @param {DefaultApiV1UpdateNodeRequest} requestParameters Request parameters.
3729
+ * @param {*} [options] Override http request option.
3730
+ * @throws {RequiredError}
3731
+ */
3732
+ v1UpdateNode(requestParameters: DefaultApiV1UpdateNodeRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess> {
3733
+ return localVarFp.v1UpdateNode(requestParameters.v1UpdateNodeRequest, options).then((request) => request(axios, basePath));
3734
+ },
3331
3735
  /**
3332
3736
  * Update node components.
3333
3737
  * @param {DefaultApiV1UpdateNodeComponentsRequest} requestParameters Request parameters.
@@ -3500,6 +3904,20 @@ export interface DefaultApiV1CreateMountRequest {
3500
3904
  readonly v1CreateMountRequest: V1CreateMountRequest
3501
3905
  }
3502
3906
 
3907
+ /**
3908
+ * Request parameters for v1CreateNode operation in DefaultApi.
3909
+ * @export
3910
+ * @interface DefaultApiV1CreateNodeRequest
3911
+ */
3912
+ export interface DefaultApiV1CreateNodeRequest {
3913
+ /**
3914
+ *
3915
+ * @type {V1CreateNodeRequest}
3916
+ * @memberof DefaultApiV1CreateNode
3917
+ */
3918
+ readonly v1CreateNodeRequest: V1CreateNodeRequest
3919
+ }
3920
+
3503
3921
  /**
3504
3922
  * Request parameters for v1CreateNodeDiagnostics operation in DefaultApi.
3505
3923
  * @export
@@ -3528,6 +3946,34 @@ export interface DefaultApiV1CreateOpticalTubeRequest {
3528
3946
  readonly v1CreateOpticalTubeRequest: V1CreateOpticalTubeRequest
3529
3947
  }
3530
3948
 
3949
+ /**
3950
+ * Request parameters for v1DeleteImageSet operation in DefaultApi.
3951
+ * @export
3952
+ * @interface DefaultApiV1DeleteImageSetRequest
3953
+ */
3954
+ export interface DefaultApiV1DeleteImageSetRequest {
3955
+ /**
3956
+ *
3957
+ * @type {string}
3958
+ * @memberof DefaultApiV1DeleteImageSet
3959
+ */
3960
+ readonly id: string
3961
+ }
3962
+
3963
+ /**
3964
+ * Request parameters for v1DeleteImageSetImage operation in DefaultApi.
3965
+ * @export
3966
+ * @interface DefaultApiV1DeleteImageSetImageRequest
3967
+ */
3968
+ export interface DefaultApiV1DeleteImageSetImageRequest {
3969
+ /**
3970
+ *
3971
+ * @type {string}
3972
+ * @memberof DefaultApiV1DeleteImageSetImage
3973
+ */
3974
+ readonly imageId: string
3975
+ }
3976
+
3531
3977
  /**
3532
3978
  * Request parameters for v1GetImageSet operation in DefaultApi.
3533
3979
  * @export
@@ -3696,6 +4142,20 @@ export interface DefaultApiV1OpticalTubeMatchRequest {
3696
4142
  readonly apertureMm?: number
3697
4143
  }
3698
4144
 
4145
+ /**
4146
+ * Request parameters for v1UpdateNode operation in DefaultApi.
4147
+ * @export
4148
+ * @interface DefaultApiV1UpdateNodeRequest
4149
+ */
4150
+ export interface DefaultApiV1UpdateNodeRequest {
4151
+ /**
4152
+ *
4153
+ * @type {V1UpdateNodeRequest}
4154
+ * @memberof DefaultApiV1UpdateNode
4155
+ */
4156
+ readonly v1UpdateNodeRequest: V1UpdateNodeRequest
4157
+ }
4158
+
3699
4159
  /**
3700
4160
  * Request parameters for v1UpdateNodeComponents operation in DefaultApi.
3701
4161
  * @export
@@ -3825,6 +4285,17 @@ export class DefaultApi extends BaseAPI {
3825
4285
  return DefaultApiFp(this.configuration).v1CreateMount(requestParameters.v1CreateMountRequest, options).then((request) => request(this.axios, this.basePath));
3826
4286
  }
3827
4287
 
4288
+ /**
4289
+ * Create a node.
4290
+ * @param {DefaultApiV1CreateNodeRequest} requestParameters Request parameters.
4291
+ * @param {*} [options] Override http request option.
4292
+ * @throws {RequiredError}
4293
+ * @memberof DefaultApi
4294
+ */
4295
+ public v1CreateNode(requestParameters: DefaultApiV1CreateNodeRequest, options?: AxiosRequestConfig) {
4296
+ return DefaultApiFp(this.configuration).v1CreateNode(requestParameters.v1CreateNodeRequest, options).then((request) => request(this.axios, this.basePath));
4297
+ }
4298
+
3828
4299
  /**
3829
4300
  * Create node diagnostics.
3830
4301
  * @param {DefaultApiV1CreateNodeDiagnosticsRequest} requestParameters Request parameters.
@@ -3847,6 +4318,28 @@ export class DefaultApi extends BaseAPI {
3847
4318
  return DefaultApiFp(this.configuration).v1CreateOpticalTube(requestParameters.v1CreateOpticalTubeRequest, options).then((request) => request(this.axios, this.basePath));
3848
4319
  }
3849
4320
 
4321
+ /**
4322
+ * Delete an image set.
4323
+ * @param {DefaultApiV1DeleteImageSetRequest} requestParameters Request parameters.
4324
+ * @param {*} [options] Override http request option.
4325
+ * @throws {RequiredError}
4326
+ * @memberof DefaultApi
4327
+ */
4328
+ public v1DeleteImageSet(requestParameters: DefaultApiV1DeleteImageSetRequest, options?: AxiosRequestConfig) {
4329
+ return DefaultApiFp(this.configuration).v1DeleteImageSet(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
4330
+ }
4331
+
4332
+ /**
4333
+ * Delete an image.
4334
+ * @param {DefaultApiV1DeleteImageSetImageRequest} requestParameters Request parameters.
4335
+ * @param {*} [options] Override http request option.
4336
+ * @throws {RequiredError}
4337
+ * @memberof DefaultApi
4338
+ */
4339
+ public v1DeleteImageSetImage(requestParameters: DefaultApiV1DeleteImageSetImageRequest, options?: AxiosRequestConfig) {
4340
+ return DefaultApiFp(this.configuration).v1DeleteImageSetImage(requestParameters.imageId, options).then((request) => request(this.axios, this.basePath));
4341
+ }
4342
+
3850
4343
  /**
3851
4344
  * Get cameras.
3852
4345
  * @param {*} [options] Override http request option.
@@ -3988,6 +4481,17 @@ export class DefaultApi extends BaseAPI {
3988
4481
  return DefaultApiFp(this.configuration).v1OpticalTubeMatch(requestParameters.model, requestParameters.focalLengthMm, requestParameters.apertureMm, options).then((request) => request(this.axios, this.basePath));
3989
4482
  }
3990
4483
 
4484
+ /**
4485
+ * Update a node.
4486
+ * @param {DefaultApiV1UpdateNodeRequest} requestParameters Request parameters.
4487
+ * @param {*} [options] Override http request option.
4488
+ * @throws {RequiredError}
4489
+ * @memberof DefaultApi
4490
+ */
4491
+ public v1UpdateNode(requestParameters: DefaultApiV1UpdateNodeRequest, options?: AxiosRequestConfig) {
4492
+ return DefaultApiFp(this.configuration).v1UpdateNode(requestParameters.v1UpdateNodeRequest, options).then((request) => request(this.axios, this.basePath));
4493
+ }
4494
+
3991
4495
  /**
3992
4496
  * Update node components.
3993
4497
  * @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.2151
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.2151
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 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.2151
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).