@ourskyai/astro-api 1.3.5068 → 1.3.5198

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/astro-api@1.3.5068
1
+ ## @ourskyai/astro-api@1.3.5198
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/astro-api@1.3.5068 --save
39
+ npm install @ourskyai/astro-api@1.3.5198 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * OurSky Astro
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.5068
7
+ * The version of the OpenAPI document: 1.3.5198
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1292,6 +1292,25 @@ export interface V1CreateCameraRequest {
1292
1292
  }
1293
1293
 
1294
1294
 
1295
+ /**
1296
+ *
1297
+ * @export
1298
+ * @interface V1CreateFocuserRequest
1299
+ */
1300
+ export interface V1CreateFocuserRequest {
1301
+ /**
1302
+ *
1303
+ * @type {string}
1304
+ * @memberof V1CreateFocuserRequest
1305
+ */
1306
+ 'model': string;
1307
+ /**
1308
+ *
1309
+ * @type {number}
1310
+ * @memberof V1CreateFocuserRequest
1311
+ */
1312
+ 'travelDistanceMm': number;
1313
+ }
1295
1314
  /**
1296
1315
  *
1297
1316
  * @export
@@ -1426,6 +1445,12 @@ export interface V1CreateNodeRequest {
1426
1445
  * @memberof V1CreateNodeRequest
1427
1446
  */
1428
1447
  'filterWheelId'?: string;
1448
+ /**
1449
+ *
1450
+ * @type {string}
1451
+ * @memberof V1CreateNodeRequest
1452
+ */
1453
+ 'focuserId'?: string;
1429
1454
  /**
1430
1455
  *
1431
1456
  * @type {number}
@@ -1497,6 +1522,31 @@ export interface V1ElevationMaskPoint {
1497
1522
  */
1498
1523
  'maxAltitudeDegrees': number;
1499
1524
  }
1525
+ /**
1526
+ * Optical Tube
1527
+ * @export
1528
+ * @interface V1Focuser
1529
+ */
1530
+ export interface V1Focuser {
1531
+ /**
1532
+ *
1533
+ * @type {string}
1534
+ * @memberof V1Focuser
1535
+ */
1536
+ 'id': string;
1537
+ /**
1538
+ *
1539
+ * @type {string}
1540
+ * @memberof V1Focuser
1541
+ */
1542
+ 'model': string;
1543
+ /**
1544
+ *
1545
+ * @type {number}
1546
+ * @memberof V1Focuser
1547
+ */
1548
+ 'travelDistanceMm': number;
1549
+ }
1500
1550
  /**
1501
1551
  * Gain Curve
1502
1552
  * @export
@@ -1702,6 +1752,25 @@ export interface V1GetOrCreateCameraRequest {
1702
1752
  }
1703
1753
 
1704
1754
 
1755
+ /**
1756
+ *
1757
+ * @export
1758
+ * @interface V1GetOrCreateFocuserRequest
1759
+ */
1760
+ export interface V1GetOrCreateFocuserRequest {
1761
+ /**
1762
+ *
1763
+ * @type {string}
1764
+ * @memberof V1GetOrCreateFocuserRequest
1765
+ */
1766
+ 'model'?: string;
1767
+ /**
1768
+ *
1769
+ * @type {number}
1770
+ * @memberof V1GetOrCreateFocuserRequest
1771
+ */
1772
+ 'travelDistanceMm'?: number;
1773
+ }
1705
1774
  /**
1706
1775
  *
1707
1776
  * @export
@@ -2542,6 +2611,12 @@ export interface V1UpdateNodeRequest {
2542
2611
  * @memberof V1UpdateNodeRequest
2543
2612
  */
2544
2613
  'filterWheelId'?: string;
2614
+ /**
2615
+ *
2616
+ * @type {string}
2617
+ * @memberof V1UpdateNodeRequest
2618
+ */
2619
+ 'focuserId'?: string;
2545
2620
  /**
2546
2621
  *
2547
2622
  * @type {number}
@@ -2735,6 +2810,47 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
2735
2810
  options: localVarRequestOptions,
2736
2811
  };
2737
2812
  },
2813
+ /**
2814
+ * Create an astro focuser.
2815
+ * @param {V1CreateFocuserRequest} v1CreateFocuserRequest
2816
+ * @param {*} [options] Override http request option.
2817
+ * @throws {RequiredError}
2818
+ */
2819
+ v1CreateAstroFocuser: async (v1CreateFocuserRequest: V1CreateFocuserRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2820
+ // verify required parameter 'v1CreateFocuserRequest' is not null or undefined
2821
+ assertParamExists('v1CreateAstroFocuser', 'v1CreateFocuserRequest', v1CreateFocuserRequest)
2822
+ const localVarPath = `/v1/astro-focuser`;
2823
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2824
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2825
+ let baseOptions;
2826
+ if (configuration) {
2827
+ baseOptions = configuration.baseOptions;
2828
+ }
2829
+
2830
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2831
+ const localVarHeaderParameter = {} as any;
2832
+ const localVarQueryParameter = {} as any;
2833
+
2834
+ // authentication Roles required
2835
+
2836
+ // authentication BearerToken required
2837
+ // http bearer authentication required
2838
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
2839
+
2840
+
2841
+
2842
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2843
+
2844
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2845
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2846
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2847
+ localVarRequestOptions.data = serializeDataIfNeeded(v1CreateFocuserRequest, localVarRequestOptions, configuration)
2848
+
2849
+ return {
2850
+ url: toPathString(localVarUrlObj),
2851
+ options: localVarRequestOptions,
2852
+ };
2853
+ },
2738
2854
  /**
2739
2855
  * Create an astro mount.
2740
2856
  * @param {V1CreateMountRequest} v1CreateMountRequest
@@ -3304,6 +3420,51 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3304
3420
 
3305
3421
 
3306
3422
 
3423
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3424
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3425
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3426
+
3427
+ return {
3428
+ url: toPathString(localVarUrlObj),
3429
+ options: localVarRequestOptions,
3430
+ };
3431
+ },
3432
+ /**
3433
+ * Match focuser.
3434
+ * @param {string} [model]
3435
+ * @param {number} [travelDistanceMm]
3436
+ * @param {*} [options] Override http request option.
3437
+ * @throws {RequiredError}
3438
+ */
3439
+ v1FocuserMatch: async (model?: string, travelDistanceMm?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3440
+ const localVarPath = `/v1/focuser-match`;
3441
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3442
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3443
+ let baseOptions;
3444
+ if (configuration) {
3445
+ baseOptions = configuration.baseOptions;
3446
+ }
3447
+
3448
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3449
+ const localVarHeaderParameter = {} as any;
3450
+ const localVarQueryParameter = {} as any;
3451
+
3452
+ // authentication Roles required
3453
+
3454
+ // authentication BearerToken required
3455
+ // http bearer authentication required
3456
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
3457
+
3458
+ if (model !== undefined) {
3459
+ localVarQueryParameter['model'] = model;
3460
+ }
3461
+
3462
+ if (travelDistanceMm !== undefined) {
3463
+ localVarQueryParameter['travelDistanceMm'] = travelDistanceMm;
3464
+ }
3465
+
3466
+
3467
+
3307
3468
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3308
3469
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3309
3470
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -3346,6 +3507,48 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3346
3507
 
3347
3508
 
3348
3509
 
3510
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3511
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3512
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3513
+
3514
+ return {
3515
+ url: toPathString(localVarUrlObj),
3516
+ options: localVarRequestOptions,
3517
+ };
3518
+ },
3519
+ /**
3520
+ * Get an astro focuser.
3521
+ * @param {string} id
3522
+ * @param {*} [options] Override http request option.
3523
+ * @throws {RequiredError}
3524
+ */
3525
+ v1GetAstroFocuser: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3526
+ // verify required parameter 'id' is not null or undefined
3527
+ assertParamExists('v1GetAstroFocuser', 'id', id)
3528
+ const localVarPath = `/v1/astro-focuser`;
3529
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3530
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3531
+ let baseOptions;
3532
+ if (configuration) {
3533
+ baseOptions = configuration.baseOptions;
3534
+ }
3535
+
3536
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3537
+ const localVarHeaderParameter = {} as any;
3538
+ const localVarQueryParameter = {} as any;
3539
+
3540
+ // authentication Roles required
3541
+
3542
+ // authentication BearerToken required
3543
+ // http bearer authentication required
3544
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
3545
+
3546
+ if (id !== undefined) {
3547
+ localVarQueryParameter['id'] = id;
3548
+ }
3549
+
3550
+
3551
+
3349
3552
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3350
3553
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3351
3554
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -4096,6 +4299,47 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4096
4299
  options: localVarRequestOptions,
4097
4300
  };
4098
4301
  },
4302
+ /**
4303
+ * Get or create focuser.
4304
+ * @param {V1GetOrCreateFocuserRequest} v1GetOrCreateFocuserRequest
4305
+ * @param {*} [options] Override http request option.
4306
+ * @throws {RequiredError}
4307
+ */
4308
+ v1GetOrCreateFocuser: async (v1GetOrCreateFocuserRequest: V1GetOrCreateFocuserRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4309
+ // verify required parameter 'v1GetOrCreateFocuserRequest' is not null or undefined
4310
+ assertParamExists('v1GetOrCreateFocuser', 'v1GetOrCreateFocuserRequest', v1GetOrCreateFocuserRequest)
4311
+ const localVarPath = `/v1/focuser-match`;
4312
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4313
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4314
+ let baseOptions;
4315
+ if (configuration) {
4316
+ baseOptions = configuration.baseOptions;
4317
+ }
4318
+
4319
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
4320
+ const localVarHeaderParameter = {} as any;
4321
+ const localVarQueryParameter = {} as any;
4322
+
4323
+ // authentication Roles required
4324
+
4325
+ // authentication BearerToken required
4326
+ // http bearer authentication required
4327
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
4328
+
4329
+
4330
+
4331
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4332
+
4333
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4334
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4335
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4336
+ localVarRequestOptions.data = serializeDataIfNeeded(v1GetOrCreateFocuserRequest, localVarRequestOptions, configuration)
4337
+
4338
+ return {
4339
+ url: toPathString(localVarUrlObj),
4340
+ options: localVarRequestOptions,
4341
+ };
4342
+ },
4099
4343
  /**
4100
4344
  * Get or create mount.
4101
4345
  * @param {V1GetOrCreateMountRequest} v1GetOrCreateMountRequest
@@ -4583,6 +4827,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
4583
4827
  const localVarAxiosArgs = await localVarAxiosParamCreator.v1CreateAstroCamera(v1CreateCameraRequest, options);
4584
4828
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4585
4829
  },
4830
+ /**
4831
+ * Create an astro focuser.
4832
+ * @param {V1CreateFocuserRequest} v1CreateFocuserRequest
4833
+ * @param {*} [options] Override http request option.
4834
+ * @throws {RequiredError}
4835
+ */
4836
+ async v1CreateAstroFocuser(v1CreateFocuserRequest: V1CreateFocuserRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessfulCreate>> {
4837
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1CreateAstroFocuser(v1CreateFocuserRequest, options);
4838
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4839
+ },
4586
4840
  /**
4587
4841
  * Create an astro mount.
4588
4842
  * @param {V1CreateMountRequest} v1CreateMountRequest
@@ -4723,6 +4977,17 @@ export const DefaultApiFp = function(configuration?: Configuration) {
4723
4977
  const localVarAxiosArgs = await localVarAxiosParamCreator.v1DeleteImageSetImage(imageId, options);
4724
4978
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4725
4979
  },
4980
+ /**
4981
+ * Match focuser.
4982
+ * @param {string} [model]
4983
+ * @param {number} [travelDistanceMm]
4984
+ * @param {*} [options] Override http request option.
4985
+ * @throws {RequiredError}
4986
+ */
4987
+ async v1FocuserMatch(model?: string, travelDistanceMm?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1Focuser>>> {
4988
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1FocuserMatch(model, travelDistanceMm, options);
4989
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4990
+ },
4726
4991
  /**
4727
4992
  * Get an astro camera.
4728
4993
  * @param {string} id
@@ -4733,6 +4998,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
4733
4998
  const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetAstroCamera(id, options);
4734
4999
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4735
5000
  },
5001
+ /**
5002
+ * Get an astro focuser.
5003
+ * @param {string} id
5004
+ * @param {*} [options] Override http request option.
5005
+ * @throws {RequiredError}
5006
+ */
5007
+ async v1GetAstroFocuser(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1Focuser>> {
5008
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetAstroFocuser(id, options);
5009
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5010
+ },
4736
5011
  /**
4737
5012
  * Get an astro mount.
4738
5013
  * @param {string} id
@@ -4913,6 +5188,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
4913
5188
  const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetOrCreateCamera(v1GetOrCreateCameraRequest, options);
4914
5189
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4915
5190
  },
5191
+ /**
5192
+ * Get or create focuser.
5193
+ * @param {V1GetOrCreateFocuserRequest} v1GetOrCreateFocuserRequest
5194
+ * @param {*} [options] Override http request option.
5195
+ * @throws {RequiredError}
5196
+ */
5197
+ async v1GetOrCreateFocuser(v1GetOrCreateFocuserRequest: V1GetOrCreateFocuserRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1Focuser>> {
5198
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetOrCreateFocuser(v1GetOrCreateFocuserRequest, options);
5199
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5200
+ },
4916
5201
  /**
4917
5202
  * Get or create mount.
4918
5203
  * @param {V1GetOrCreateMountRequest} v1GetOrCreateMountRequest
@@ -5047,6 +5332,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
5047
5332
  v1CreateAstroCamera(requestParameters: DefaultApiV1CreateAstroCameraRequest, options?: AxiosRequestConfig): AxiosPromise<SuccessfulCreate> {
5048
5333
  return localVarFp.v1CreateAstroCamera(requestParameters.v1CreateCameraRequest, options).then((request) => request(axios, basePath));
5049
5334
  },
5335
+ /**
5336
+ * Create an astro focuser.
5337
+ * @param {DefaultApiV1CreateAstroFocuserRequest} requestParameters Request parameters.
5338
+ * @param {*} [options] Override http request option.
5339
+ * @throws {RequiredError}
5340
+ */
5341
+ v1CreateAstroFocuser(requestParameters: DefaultApiV1CreateAstroFocuserRequest, options?: AxiosRequestConfig): AxiosPromise<SuccessfulCreate> {
5342
+ return localVarFp.v1CreateAstroFocuser(requestParameters.v1CreateFocuserRequest, options).then((request) => request(axios, basePath));
5343
+ },
5050
5344
  /**
5051
5345
  * Create an astro mount.
5052
5346
  * @param {DefaultApiV1CreateAstroMountRequest} requestParameters Request parameters.
@@ -5173,6 +5467,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
5173
5467
  v1DeleteImageSetImage(requestParameters: DefaultApiV1DeleteImageSetImageRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess> {
5174
5468
  return localVarFp.v1DeleteImageSetImage(requestParameters.imageId, options).then((request) => request(axios, basePath));
5175
5469
  },
5470
+ /**
5471
+ * Match focuser.
5472
+ * @param {DefaultApiV1FocuserMatchRequest} requestParameters Request parameters.
5473
+ * @param {*} [options] Override http request option.
5474
+ * @throws {RequiredError}
5475
+ */
5476
+ v1FocuserMatch(requestParameters: DefaultApiV1FocuserMatchRequest = {}, options?: AxiosRequestConfig): AxiosPromise<Array<V1Focuser>> {
5477
+ return localVarFp.v1FocuserMatch(requestParameters.model, requestParameters.travelDistanceMm, options).then((request) => request(axios, basePath));
5478
+ },
5176
5479
  /**
5177
5480
  * Get an astro camera.
5178
5481
  * @param {DefaultApiV1GetAstroCameraRequest} requestParameters Request parameters.
@@ -5182,6 +5485,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
5182
5485
  v1GetAstroCamera(requestParameters: DefaultApiV1GetAstroCameraRequest, options?: AxiosRequestConfig): AxiosPromise<V1Camera> {
5183
5486
  return localVarFp.v1GetAstroCamera(requestParameters.id, options).then((request) => request(axios, basePath));
5184
5487
  },
5488
+ /**
5489
+ * Get an astro focuser.
5490
+ * @param {DefaultApiV1GetAstroFocuserRequest} requestParameters Request parameters.
5491
+ * @param {*} [options] Override http request option.
5492
+ * @throws {RequiredError}
5493
+ */
5494
+ v1GetAstroFocuser(requestParameters: DefaultApiV1GetAstroFocuserRequest, options?: AxiosRequestConfig): AxiosPromise<V1Focuser> {
5495
+ return localVarFp.v1GetAstroFocuser(requestParameters.id, options).then((request) => request(axios, basePath));
5496
+ },
5185
5497
  /**
5186
5498
  * Get an astro mount.
5187
5499
  * @param {DefaultApiV1GetAstroMountRequest} requestParameters Request parameters.
@@ -5339,6 +5651,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
5339
5651
  v1GetOrCreateCamera(requestParameters: DefaultApiV1GetOrCreateCameraRequest, options?: AxiosRequestConfig): AxiosPromise<V1Camera> {
5340
5652
  return localVarFp.v1GetOrCreateCamera(requestParameters.v1GetOrCreateCameraRequest, options).then((request) => request(axios, basePath));
5341
5653
  },
5654
+ /**
5655
+ * Get or create focuser.
5656
+ * @param {DefaultApiV1GetOrCreateFocuserRequest} requestParameters Request parameters.
5657
+ * @param {*} [options] Override http request option.
5658
+ * @throws {RequiredError}
5659
+ */
5660
+ v1GetOrCreateFocuser(requestParameters: DefaultApiV1GetOrCreateFocuserRequest, options?: AxiosRequestConfig): AxiosPromise<V1Focuser> {
5661
+ return localVarFp.v1GetOrCreateFocuser(requestParameters.v1GetOrCreateFocuserRequest, options).then((request) => request(axios, basePath));
5662
+ },
5342
5663
  /**
5343
5664
  * Get or create mount.
5344
5665
  * @param {DefaultApiV1GetOrCreateMountRequest} requestParameters Request parameters.
@@ -5508,6 +5829,20 @@ export interface DefaultApiV1CreateAstroCameraRequest {
5508
5829
  readonly v1CreateCameraRequest: V1CreateCameraRequest
5509
5830
  }
5510
5831
 
5832
+ /**
5833
+ * Request parameters for v1CreateAstroFocuser operation in DefaultApi.
5834
+ * @export
5835
+ * @interface DefaultApiV1CreateAstroFocuserRequest
5836
+ */
5837
+ export interface DefaultApiV1CreateAstroFocuserRequest {
5838
+ /**
5839
+ *
5840
+ * @type {V1CreateFocuserRequest}
5841
+ * @memberof DefaultApiV1CreateAstroFocuser
5842
+ */
5843
+ readonly v1CreateFocuserRequest: V1CreateFocuserRequest
5844
+ }
5845
+
5511
5846
  /**
5512
5847
  * Request parameters for v1CreateAstroMount operation in DefaultApi.
5513
5848
  * @export
@@ -5704,6 +6039,27 @@ export interface DefaultApiV1DeleteImageSetImageRequest {
5704
6039
  readonly imageId: string
5705
6040
  }
5706
6041
 
6042
+ /**
6043
+ * Request parameters for v1FocuserMatch operation in DefaultApi.
6044
+ * @export
6045
+ * @interface DefaultApiV1FocuserMatchRequest
6046
+ */
6047
+ export interface DefaultApiV1FocuserMatchRequest {
6048
+ /**
6049
+ *
6050
+ * @type {string}
6051
+ * @memberof DefaultApiV1FocuserMatch
6052
+ */
6053
+ readonly model?: string
6054
+
6055
+ /**
6056
+ *
6057
+ * @type {number}
6058
+ * @memberof DefaultApiV1FocuserMatch
6059
+ */
6060
+ readonly travelDistanceMm?: number
6061
+ }
6062
+
5707
6063
  /**
5708
6064
  * Request parameters for v1GetAstroCamera operation in DefaultApi.
5709
6065
  * @export
@@ -5718,6 +6074,20 @@ export interface DefaultApiV1GetAstroCameraRequest {
5718
6074
  readonly id: string
5719
6075
  }
5720
6076
 
6077
+ /**
6078
+ * Request parameters for v1GetAstroFocuser operation in DefaultApi.
6079
+ * @export
6080
+ * @interface DefaultApiV1GetAstroFocuserRequest
6081
+ */
6082
+ export interface DefaultApiV1GetAstroFocuserRequest {
6083
+ /**
6084
+ *
6085
+ * @type {string}
6086
+ * @memberof DefaultApiV1GetAstroFocuser
6087
+ */
6088
+ readonly id: string
6089
+ }
6090
+
5721
6091
  /**
5722
6092
  * Request parameters for v1GetAstroMount operation in DefaultApi.
5723
6093
  * @export
@@ -5935,6 +6305,20 @@ export interface DefaultApiV1GetOrCreateCameraRequest {
5935
6305
  readonly v1GetOrCreateCameraRequest: V1GetOrCreateCameraRequest
5936
6306
  }
5937
6307
 
6308
+ /**
6309
+ * Request parameters for v1GetOrCreateFocuser operation in DefaultApi.
6310
+ * @export
6311
+ * @interface DefaultApiV1GetOrCreateFocuserRequest
6312
+ */
6313
+ export interface DefaultApiV1GetOrCreateFocuserRequest {
6314
+ /**
6315
+ *
6316
+ * @type {V1GetOrCreateFocuserRequest}
6317
+ * @memberof DefaultApiV1GetOrCreateFocuser
6318
+ */
6319
+ readonly v1GetOrCreateFocuserRequest: V1GetOrCreateFocuserRequest
6320
+ }
6321
+
5938
6322
  /**
5939
6323
  * Request parameters for v1GetOrCreateMount operation in DefaultApi.
5940
6324
  * @export
@@ -6139,6 +6523,17 @@ export class DefaultApi extends BaseAPI {
6139
6523
  return DefaultApiFp(this.configuration).v1CreateAstroCamera(requestParameters.v1CreateCameraRequest, options).then((request) => request(this.axios, this.basePath));
6140
6524
  }
6141
6525
 
6526
+ /**
6527
+ * Create an astro focuser.
6528
+ * @param {DefaultApiV1CreateAstroFocuserRequest} requestParameters Request parameters.
6529
+ * @param {*} [options] Override http request option.
6530
+ * @throws {RequiredError}
6531
+ * @memberof DefaultApi
6532
+ */
6533
+ public v1CreateAstroFocuser(requestParameters: DefaultApiV1CreateAstroFocuserRequest, options?: AxiosRequestConfig) {
6534
+ return DefaultApiFp(this.configuration).v1CreateAstroFocuser(requestParameters.v1CreateFocuserRequest, options).then((request) => request(this.axios, this.basePath));
6535
+ }
6536
+
6142
6537
  /**
6143
6538
  * Create an astro mount.
6144
6539
  * @param {DefaultApiV1CreateAstroMountRequest} requestParameters Request parameters.
@@ -6293,6 +6688,17 @@ export class DefaultApi extends BaseAPI {
6293
6688
  return DefaultApiFp(this.configuration).v1DeleteImageSetImage(requestParameters.imageId, options).then((request) => request(this.axios, this.basePath));
6294
6689
  }
6295
6690
 
6691
+ /**
6692
+ * Match focuser.
6693
+ * @param {DefaultApiV1FocuserMatchRequest} requestParameters Request parameters.
6694
+ * @param {*} [options] Override http request option.
6695
+ * @throws {RequiredError}
6696
+ * @memberof DefaultApi
6697
+ */
6698
+ public v1FocuserMatch(requestParameters: DefaultApiV1FocuserMatchRequest = {}, options?: AxiosRequestConfig) {
6699
+ return DefaultApiFp(this.configuration).v1FocuserMatch(requestParameters.model, requestParameters.travelDistanceMm, options).then((request) => request(this.axios, this.basePath));
6700
+ }
6701
+
6296
6702
  /**
6297
6703
  * Get an astro camera.
6298
6704
  * @param {DefaultApiV1GetAstroCameraRequest} requestParameters Request parameters.
@@ -6304,6 +6710,17 @@ export class DefaultApi extends BaseAPI {
6304
6710
  return DefaultApiFp(this.configuration).v1GetAstroCamera(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
6305
6711
  }
6306
6712
 
6713
+ /**
6714
+ * Get an astro focuser.
6715
+ * @param {DefaultApiV1GetAstroFocuserRequest} requestParameters Request parameters.
6716
+ * @param {*} [options] Override http request option.
6717
+ * @throws {RequiredError}
6718
+ * @memberof DefaultApi
6719
+ */
6720
+ public v1GetAstroFocuser(requestParameters: DefaultApiV1GetAstroFocuserRequest, options?: AxiosRequestConfig) {
6721
+ return DefaultApiFp(this.configuration).v1GetAstroFocuser(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
6722
+ }
6723
+
6307
6724
  /**
6308
6725
  * Get an astro mount.
6309
6726
  * @param {DefaultApiV1GetAstroMountRequest} requestParameters Request parameters.
@@ -6497,6 +6914,17 @@ export class DefaultApi extends BaseAPI {
6497
6914
  return DefaultApiFp(this.configuration).v1GetOrCreateCamera(requestParameters.v1GetOrCreateCameraRequest, options).then((request) => request(this.axios, this.basePath));
6498
6915
  }
6499
6916
 
6917
+ /**
6918
+ * Get or create focuser.
6919
+ * @param {DefaultApiV1GetOrCreateFocuserRequest} requestParameters Request parameters.
6920
+ * @param {*} [options] Override http request option.
6921
+ * @throws {RequiredError}
6922
+ * @memberof DefaultApi
6923
+ */
6924
+ public v1GetOrCreateFocuser(requestParameters: DefaultApiV1GetOrCreateFocuserRequest, options?: AxiosRequestConfig) {
6925
+ return DefaultApiFp(this.configuration).v1GetOrCreateFocuser(requestParameters.v1GetOrCreateFocuserRequest, options).then((request) => request(this.axios, this.basePath));
6926
+ }
6927
+
6500
6928
  /**
6501
6929
  * Get or create mount.
6502
6930
  * @param {DefaultApiV1GetOrCreateMountRequest} requestParameters Request parameters.
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * OurSky Astro
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.5068
7
+ * The version of the OpenAPI document: 1.3.5198
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 Astro
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.5068
7
+ * The version of the OpenAPI document: 1.3.5198
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 Astro
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.5068
7
+ * The version of the OpenAPI document: 1.3.5198
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).