@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/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * OurSky Platform
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.3.2078
5
+ * The version of the OpenAPI document: 1.3.2151
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -421,6 +421,61 @@ export interface V1CreateNodeDiagnosticsRequest {
421
421
  */
422
422
  'diagnostics': Array<V1CreateNodeDiagnostic>;
423
423
  }
424
+ /**
425
+ * Create Node
426
+ * @export
427
+ * @interface V1CreateNodeRequest
428
+ */
429
+ export interface V1CreateNodeRequest {
430
+ /**
431
+ *
432
+ * @type {string}
433
+ * @memberof V1CreateNodeRequest
434
+ */
435
+ 'name': string;
436
+ /**
437
+ *
438
+ * @type {string}
439
+ * @memberof V1CreateNodeRequest
440
+ */
441
+ 'observatoryId'?: string;
442
+ /**
443
+ *
444
+ * @type {string}
445
+ * @memberof V1CreateNodeRequest
446
+ */
447
+ 'cameraId': string;
448
+ /**
449
+ *
450
+ * @type {string}
451
+ * @memberof V1CreateNodeRequest
452
+ */
453
+ 'opticalTubeId': string;
454
+ /**
455
+ *
456
+ * @type {string}
457
+ * @memberof V1CreateNodeRequest
458
+ */
459
+ 'mountId': string;
460
+ /**
461
+ *
462
+ * @type {string}
463
+ * @memberof V1CreateNodeRequest
464
+ */
465
+ 'filterWheelId'?: string;
466
+ /**
467
+ *
468
+ * @type {number}
469
+ * @memberof V1CreateNodeRequest
470
+ */
471
+ 'maxAltitude': number;
472
+ /**
473
+ *
474
+ * @type {Location}
475
+ * @memberof V1CreateNodeRequest
476
+ */
477
+ 'location': Location;
478
+ }
424
479
  /**
425
480
  *
426
481
  * @export
@@ -452,6 +507,31 @@ export interface V1CreateOpticalTubeRequest {
452
507
  */
453
508
  'type'?: OpticalTubeType;
454
509
  }
510
+ /**
511
+ * Elevation Mask Point
512
+ * @export
513
+ * @interface V1ElevationMaskPoint
514
+ */
515
+ export interface V1ElevationMaskPoint {
516
+ /**
517
+ *
518
+ * @type {number}
519
+ * @memberof V1ElevationMaskPoint
520
+ */
521
+ 'azimuthDegrees': number;
522
+ /**
523
+ *
524
+ * @type {number}
525
+ * @memberof V1ElevationMaskPoint
526
+ */
527
+ 'minAltitudeDegrees': number;
528
+ /**
529
+ *
530
+ * @type {number}
531
+ * @memberof V1ElevationMaskPoint
532
+ */
533
+ 'maxAltitudeDegrees': number;
534
+ }
455
535
  /**
456
536
  * Gain Curve
457
537
  * @export
@@ -1111,6 +1191,12 @@ export interface V1Node {
1111
1191
  * @memberof V1Node
1112
1192
  */
1113
1193
  'minAltitude': number;
1194
+ /**
1195
+ *
1196
+ * @type {Array<V1ElevationMaskPoint>}
1197
+ * @memberof V1Node
1198
+ */
1199
+ 'elevationMask'?: Array<V1ElevationMaskPoint>;
1114
1200
  /**
1115
1201
  *
1116
1202
  * @type {string}
@@ -1165,6 +1251,7 @@ export declare const V1NodeDiagnosticType: {
1165
1251
  readonly CAMERA_CHECKED: "CAMERA_CHECKED";
1166
1252
  readonly MOUNT_CHECKED: "MOUNT_CHECKED";
1167
1253
  readonly OPTICAL_TUBE_CHECKED: "OPTICAL_TUBE_CHECKED";
1254
+ readonly ELEVATION_MASK_CHECKED: "ELEVATION_MASK_CHECKED";
1168
1255
  };
1169
1256
  export type V1NodeDiagnosticType = typeof V1NodeDiagnosticType[keyof typeof V1NodeDiagnosticType];
1170
1257
  /**
@@ -1548,6 +1635,79 @@ export interface V1UpdateNodeMetricsRequest {
1548
1635
  */
1549
1636
  'measuredAt': string;
1550
1637
  }
1638
+ /**
1639
+ * Update Node
1640
+ * @export
1641
+ * @interface V1UpdateNodeRequest
1642
+ */
1643
+ export interface V1UpdateNodeRequest {
1644
+ /**
1645
+ *
1646
+ * @type {string}
1647
+ * @memberof V1UpdateNodeRequest
1648
+ */
1649
+ 'nodeId': string;
1650
+ /**
1651
+ *
1652
+ * @type {string}
1653
+ * @memberof V1UpdateNodeRequest
1654
+ */
1655
+ 'name'?: string;
1656
+ /**
1657
+ *
1658
+ * @type {string}
1659
+ * @memberof V1UpdateNodeRequest
1660
+ */
1661
+ 'observatoryId'?: string;
1662
+ /**
1663
+ *
1664
+ * @type {string}
1665
+ * @memberof V1UpdateNodeRequest
1666
+ */
1667
+ 'cameraId'?: string;
1668
+ /**
1669
+ *
1670
+ * @type {string}
1671
+ * @memberof V1UpdateNodeRequest
1672
+ */
1673
+ 'opticalTubeId'?: string;
1674
+ /**
1675
+ *
1676
+ * @type {string}
1677
+ * @memberof V1UpdateNodeRequest
1678
+ */
1679
+ 'mountId'?: string;
1680
+ /**
1681
+ *
1682
+ * @type {string}
1683
+ * @memberof V1UpdateNodeRequest
1684
+ */
1685
+ 'filterWheelId'?: string;
1686
+ /**
1687
+ *
1688
+ * @type {number}
1689
+ * @memberof V1UpdateNodeRequest
1690
+ */
1691
+ 'maxAltitude'?: number;
1692
+ /**
1693
+ *
1694
+ * @type {Array<V1ElevationMaskPoint>}
1695
+ * @memberof V1UpdateNodeRequest
1696
+ */
1697
+ 'elevationMask'?: Array<V1ElevationMaskPoint>;
1698
+ /**
1699
+ *
1700
+ * @type {Location}
1701
+ * @memberof V1UpdateNodeRequest
1702
+ */
1703
+ 'location'?: Location;
1704
+ /**
1705
+ *
1706
+ * @type {NodeState}
1707
+ * @memberof V1UpdateNodeRequest
1708
+ */
1709
+ 'state'?: NodeState;
1710
+ }
1551
1711
  /**
1552
1712
  *
1553
1713
  * @export
@@ -1767,6 +1927,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1767
1927
  * @throws {RequiredError}
1768
1928
  */
1769
1929
  v1CreateMount: (v1CreateMountRequest: V1CreateMountRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1930
+ /**
1931
+ * Create a node.
1932
+ * @param {V1CreateNodeRequest} v1CreateNodeRequest
1933
+ * @param {*} [options] Override http request option.
1934
+ * @throws {RequiredError}
1935
+ */
1936
+ v1CreateNode: (v1CreateNodeRequest: V1CreateNodeRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1770
1937
  /**
1771
1938
  * Create node diagnostics.
1772
1939
  * @param {V1CreateNodeDiagnosticsRequest} v1CreateNodeDiagnosticsRequest
@@ -1781,6 +1948,20 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1781
1948
  * @throws {RequiredError}
1782
1949
  */
1783
1950
  v1CreateOpticalTube: (v1CreateOpticalTubeRequest: V1CreateOpticalTubeRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1951
+ /**
1952
+ * Delete an image set.
1953
+ * @param {string} id
1954
+ * @param {*} [options] Override http request option.
1955
+ * @throws {RequiredError}
1956
+ */
1957
+ v1DeleteImageSet: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1958
+ /**
1959
+ * Delete an image.
1960
+ * @param {string} imageId
1961
+ * @param {*} [options] Override http request option.
1962
+ * @throws {RequiredError}
1963
+ */
1964
+ v1DeleteImageSetImage: (imageId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1784
1965
  /**
1785
1966
  * Get cameras.
1786
1967
  * @param {*} [options] Override http request option.
@@ -1872,6 +2053,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
1872
2053
  * @throws {RequiredError}
1873
2054
  */
1874
2055
  v1OpticalTubeMatch: (model?: string, focalLengthMm?: number, apertureMm?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2056
+ /**
2057
+ * Update a node.
2058
+ * @param {V1UpdateNodeRequest} v1UpdateNodeRequest
2059
+ * @param {*} [options] Override http request option.
2060
+ * @throws {RequiredError}
2061
+ */
2062
+ v1UpdateNode: (v1UpdateNodeRequest: V1UpdateNodeRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1875
2063
  /**
1876
2064
  * Update node components.
1877
2065
  * @param {V1UpdateNodeComponentsRequest} v1UpdateNodeComponentsRequest
@@ -1955,6 +2143,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
1955
2143
  * @throws {RequiredError}
1956
2144
  */
1957
2145
  v1CreateMount(v1CreateMountRequest: V1CreateMountRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessfulCreate>>;
2146
+ /**
2147
+ * Create a node.
2148
+ * @param {V1CreateNodeRequest} v1CreateNodeRequest
2149
+ * @param {*} [options] Override http request option.
2150
+ * @throws {RequiredError}
2151
+ */
2152
+ v1CreateNode(v1CreateNodeRequest: V1CreateNodeRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessfulCreate>>;
1958
2153
  /**
1959
2154
  * Create node diagnostics.
1960
2155
  * @param {V1CreateNodeDiagnosticsRequest} v1CreateNodeDiagnosticsRequest
@@ -1969,6 +2164,20 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
1969
2164
  * @throws {RequiredError}
1970
2165
  */
1971
2166
  v1CreateOpticalTube(v1CreateOpticalTubeRequest: V1CreateOpticalTubeRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessfulCreate>>;
2167
+ /**
2168
+ * Delete an image set.
2169
+ * @param {string} id
2170
+ * @param {*} [options] Override http request option.
2171
+ * @throws {RequiredError}
2172
+ */
2173
+ v1DeleteImageSet(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptySuccess>>;
2174
+ /**
2175
+ * Delete an image.
2176
+ * @param {string} imageId
2177
+ * @param {*} [options] Override http request option.
2178
+ * @throws {RequiredError}
2179
+ */
2180
+ v1DeleteImageSetImage(imageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptySuccess>>;
1972
2181
  /**
1973
2182
  * Get cameras.
1974
2183
  * @param {*} [options] Override http request option.
@@ -2060,6 +2269,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2060
2269
  * @throws {RequiredError}
2061
2270
  */
2062
2271
  v1OpticalTubeMatch(model?: string, focalLengthMm?: number, apertureMm?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1OpticalTube>>>;
2272
+ /**
2273
+ * Update a node.
2274
+ * @param {V1UpdateNodeRequest} v1UpdateNodeRequest
2275
+ * @param {*} [options] Override http request option.
2276
+ * @throws {RequiredError}
2277
+ */
2278
+ v1UpdateNode(v1UpdateNodeRequest: V1UpdateNodeRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptySuccess>>;
2063
2279
  /**
2064
2280
  * Update node components.
2065
2281
  * @param {V1UpdateNodeComponentsRequest} v1UpdateNodeComponentsRequest
@@ -2136,6 +2352,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2136
2352
  * @throws {RequiredError}
2137
2353
  */
2138
2354
  v1CreateMount(requestParameters: DefaultApiV1CreateMountRequest, options?: AxiosRequestConfig): AxiosPromise<SuccessfulCreate>;
2355
+ /**
2356
+ * Create a node.
2357
+ * @param {DefaultApiV1CreateNodeRequest} requestParameters Request parameters.
2358
+ * @param {*} [options] Override http request option.
2359
+ * @throws {RequiredError}
2360
+ */
2361
+ v1CreateNode(requestParameters: DefaultApiV1CreateNodeRequest, options?: AxiosRequestConfig): AxiosPromise<SuccessfulCreate>;
2139
2362
  /**
2140
2363
  * Create node diagnostics.
2141
2364
  * @param {DefaultApiV1CreateNodeDiagnosticsRequest} requestParameters Request parameters.
@@ -2150,6 +2373,20 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2150
2373
  * @throws {RequiredError}
2151
2374
  */
2152
2375
  v1CreateOpticalTube(requestParameters: DefaultApiV1CreateOpticalTubeRequest, options?: AxiosRequestConfig): AxiosPromise<SuccessfulCreate>;
2376
+ /**
2377
+ * Delete an image set.
2378
+ * @param {DefaultApiV1DeleteImageSetRequest} requestParameters Request parameters.
2379
+ * @param {*} [options] Override http request option.
2380
+ * @throws {RequiredError}
2381
+ */
2382
+ v1DeleteImageSet(requestParameters: DefaultApiV1DeleteImageSetRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess>;
2383
+ /**
2384
+ * Delete an image.
2385
+ * @param {DefaultApiV1DeleteImageSetImageRequest} requestParameters Request parameters.
2386
+ * @param {*} [options] Override http request option.
2387
+ * @throws {RequiredError}
2388
+ */
2389
+ v1DeleteImageSetImage(requestParameters: DefaultApiV1DeleteImageSetImageRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess>;
2153
2390
  /**
2154
2391
  * Get cameras.
2155
2392
  * @param {*} [options] Override http request option.
@@ -2239,6 +2476,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2239
2476
  * @throws {RequiredError}
2240
2477
  */
2241
2478
  v1OpticalTubeMatch(requestParameters?: DefaultApiV1OpticalTubeMatchRequest, options?: AxiosRequestConfig): AxiosPromise<Array<V1OpticalTube>>;
2479
+ /**
2480
+ * Update a node.
2481
+ * @param {DefaultApiV1UpdateNodeRequest} requestParameters Request parameters.
2482
+ * @param {*} [options] Override http request option.
2483
+ * @throws {RequiredError}
2484
+ */
2485
+ v1UpdateNode(requestParameters: DefaultApiV1UpdateNodeRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess>;
2242
2486
  /**
2243
2487
  * Update node components.
2244
2488
  * @param {DefaultApiV1UpdateNodeComponentsRequest} requestParameters Request parameters.
@@ -2388,6 +2632,19 @@ export interface DefaultApiV1CreateMountRequest {
2388
2632
  */
2389
2633
  readonly v1CreateMountRequest: V1CreateMountRequest;
2390
2634
  }
2635
+ /**
2636
+ * Request parameters for v1CreateNode operation in DefaultApi.
2637
+ * @export
2638
+ * @interface DefaultApiV1CreateNodeRequest
2639
+ */
2640
+ export interface DefaultApiV1CreateNodeRequest {
2641
+ /**
2642
+ *
2643
+ * @type {V1CreateNodeRequest}
2644
+ * @memberof DefaultApiV1CreateNode
2645
+ */
2646
+ readonly v1CreateNodeRequest: V1CreateNodeRequest;
2647
+ }
2391
2648
  /**
2392
2649
  * Request parameters for v1CreateNodeDiagnostics operation in DefaultApi.
2393
2650
  * @export
@@ -2414,6 +2671,32 @@ export interface DefaultApiV1CreateOpticalTubeRequest {
2414
2671
  */
2415
2672
  readonly v1CreateOpticalTubeRequest: V1CreateOpticalTubeRequest;
2416
2673
  }
2674
+ /**
2675
+ * Request parameters for v1DeleteImageSet operation in DefaultApi.
2676
+ * @export
2677
+ * @interface DefaultApiV1DeleteImageSetRequest
2678
+ */
2679
+ export interface DefaultApiV1DeleteImageSetRequest {
2680
+ /**
2681
+ *
2682
+ * @type {string}
2683
+ * @memberof DefaultApiV1DeleteImageSet
2684
+ */
2685
+ readonly id: string;
2686
+ }
2687
+ /**
2688
+ * Request parameters for v1DeleteImageSetImage operation in DefaultApi.
2689
+ * @export
2690
+ * @interface DefaultApiV1DeleteImageSetImageRequest
2691
+ */
2692
+ export interface DefaultApiV1DeleteImageSetImageRequest {
2693
+ /**
2694
+ *
2695
+ * @type {string}
2696
+ * @memberof DefaultApiV1DeleteImageSetImage
2697
+ */
2698
+ readonly imageId: string;
2699
+ }
2417
2700
  /**
2418
2701
  * Request parameters for v1GetImageSet operation in DefaultApi.
2419
2702
  * @export
@@ -2569,6 +2852,19 @@ export interface DefaultApiV1OpticalTubeMatchRequest {
2569
2852
  */
2570
2853
  readonly apertureMm?: number;
2571
2854
  }
2855
+ /**
2856
+ * Request parameters for v1UpdateNode operation in DefaultApi.
2857
+ * @export
2858
+ * @interface DefaultApiV1UpdateNodeRequest
2859
+ */
2860
+ export interface DefaultApiV1UpdateNodeRequest {
2861
+ /**
2862
+ *
2863
+ * @type {V1UpdateNodeRequest}
2864
+ * @memberof DefaultApiV1UpdateNode
2865
+ */
2866
+ readonly v1UpdateNodeRequest: V1UpdateNodeRequest;
2867
+ }
2572
2868
  /**
2573
2869
  * Request parameters for v1UpdateNodeComponents operation in DefaultApi.
2574
2870
  * @export
@@ -2676,6 +2972,14 @@ export declare class DefaultApi extends BaseAPI {
2676
2972
  * @memberof DefaultApi
2677
2973
  */
2678
2974
  v1CreateMount(requestParameters: DefaultApiV1CreateMountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SuccessfulCreate, any>>;
2975
+ /**
2976
+ * Create a node.
2977
+ * @param {DefaultApiV1CreateNodeRequest} requestParameters Request parameters.
2978
+ * @param {*} [options] Override http request option.
2979
+ * @throws {RequiredError}
2980
+ * @memberof DefaultApi
2981
+ */
2982
+ v1CreateNode(requestParameters: DefaultApiV1CreateNodeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SuccessfulCreate, any>>;
2679
2983
  /**
2680
2984
  * Create node diagnostics.
2681
2985
  * @param {DefaultApiV1CreateNodeDiagnosticsRequest} requestParameters Request parameters.
@@ -2692,6 +2996,22 @@ export declare class DefaultApi extends BaseAPI {
2692
2996
  * @memberof DefaultApi
2693
2997
  */
2694
2998
  v1CreateOpticalTube(requestParameters: DefaultApiV1CreateOpticalTubeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SuccessfulCreate, any>>;
2999
+ /**
3000
+ * Delete an image set.
3001
+ * @param {DefaultApiV1DeleteImageSetRequest} requestParameters Request parameters.
3002
+ * @param {*} [options] Override http request option.
3003
+ * @throws {RequiredError}
3004
+ * @memberof DefaultApi
3005
+ */
3006
+ v1DeleteImageSet(requestParameters: DefaultApiV1DeleteImageSetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EmptySuccess, any>>;
3007
+ /**
3008
+ * Delete an image.
3009
+ * @param {DefaultApiV1DeleteImageSetImageRequest} requestParameters Request parameters.
3010
+ * @param {*} [options] Override http request option.
3011
+ * @throws {RequiredError}
3012
+ * @memberof DefaultApi
3013
+ */
3014
+ v1DeleteImageSetImage(requestParameters: DefaultApiV1DeleteImageSetImageRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EmptySuccess, any>>;
2695
3015
  /**
2696
3016
  * Get cameras.
2697
3017
  * @param {*} [options] Override http request option.
@@ -2794,6 +3114,14 @@ export declare class DefaultApi extends BaseAPI {
2794
3114
  * @memberof DefaultApi
2795
3115
  */
2796
3116
  v1OpticalTubeMatch(requestParameters?: DefaultApiV1OpticalTubeMatchRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<V1OpticalTube[], any>>;
3117
+ /**
3118
+ * Update a node.
3119
+ * @param {DefaultApiV1UpdateNodeRequest} requestParameters Request parameters.
3120
+ * @param {*} [options] Override http request option.
3121
+ * @throws {RequiredError}
3122
+ * @memberof DefaultApi
3123
+ */
3124
+ v1UpdateNode(requestParameters: DefaultApiV1UpdateNodeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EmptySuccess, any>>;
2797
3125
  /**
2798
3126
  * Update node components.
2799
3127
  * @param {DefaultApiV1UpdateNodeComponentsRequest} requestParameters Request parameters.