@ourskyai/platform-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/platform-api@1.3.5068
1
+ ## @ourskyai/platform-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/platform-api@1.3.5068 --save
39
+ npm install @ourskyai/platform-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 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.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).
@@ -506,6 +506,25 @@ export interface V1CreateAutofocusResultRequest {
506
506
  */
507
507
  'hfrAfter': number;
508
508
  }
509
+ /**
510
+ *
511
+ * @export
512
+ * @interface V1CreateFocuserRequest
513
+ */
514
+ export interface V1CreateFocuserRequest {
515
+ /**
516
+ *
517
+ * @type {string}
518
+ * @memberof V1CreateFocuserRequest
519
+ */
520
+ 'model': string;
521
+ /**
522
+ *
523
+ * @type {number}
524
+ * @memberof V1CreateFocuserRequest
525
+ */
526
+ 'travelDistanceMm': number;
527
+ }
509
528
  /**
510
529
  *
511
530
  * @export
@@ -757,6 +776,12 @@ export interface V1CreateNodeRequest {
757
776
  * @memberof V1CreateNodeRequest
758
777
  */
759
778
  'filterWheelId'?: string;
779
+ /**
780
+ *
781
+ * @type {string}
782
+ * @memberof V1CreateNodeRequest
783
+ */
784
+ 'focuserId'?: string;
760
785
  /**
761
786
  *
762
787
  * @type {number}
@@ -881,6 +906,31 @@ export const V1FileType = {
881
906
  export type V1FileType = typeof V1FileType[keyof typeof V1FileType];
882
907
 
883
908
 
909
+ /**
910
+ * Optical Tube
911
+ * @export
912
+ * @interface V1Focuser
913
+ */
914
+ export interface V1Focuser {
915
+ /**
916
+ *
917
+ * @type {string}
918
+ * @memberof V1Focuser
919
+ */
920
+ 'id': string;
921
+ /**
922
+ *
923
+ * @type {string}
924
+ * @memberof V1Focuser
925
+ */
926
+ 'model': string;
927
+ /**
928
+ *
929
+ * @type {number}
930
+ * @memberof V1Focuser
931
+ */
932
+ 'travelDistanceMm': number;
933
+ }
884
934
  /**
885
935
  * Gain Curve
886
936
  * @export
@@ -1148,6 +1198,25 @@ export interface V1GetOrCreateCameraRequest {
1148
1198
  }
1149
1199
 
1150
1200
 
1201
+ /**
1202
+ *
1203
+ * @export
1204
+ * @interface V1GetOrCreateFocuserRequest
1205
+ */
1206
+ export interface V1GetOrCreateFocuserRequest {
1207
+ /**
1208
+ *
1209
+ * @type {string}
1210
+ * @memberof V1GetOrCreateFocuserRequest
1211
+ */
1212
+ 'model'?: string;
1213
+ /**
1214
+ *
1215
+ * @type {number}
1216
+ * @memberof V1GetOrCreateFocuserRequest
1217
+ */
1218
+ 'travelDistanceMm'?: number;
1219
+ }
1151
1220
  /**
1152
1221
  *
1153
1222
  * @export
@@ -1293,6 +1362,12 @@ export interface V1GroundStationParticipant {
1293
1362
  * @memberof V1GroundStationParticipant
1294
1363
  */
1295
1364
  'masterBias'?: string;
1365
+ /**
1366
+ *
1367
+ * @type {number}
1368
+ * @memberof V1GroundStationParticipant
1369
+ */
1370
+ 'focuserTravelDistanceMm'?: number;
1296
1371
  }
1297
1372
 
1298
1373
 
@@ -1931,7 +2006,8 @@ export const V1NodeDiagnosticType = {
1931
2006
  ASCOM_SECONDARY_SIGN_EAST: 'ASCOM_SECONDARY_SIGN_EAST',
1932
2007
  ASCOM_PRIMARY_REVERSED: 'ASCOM_PRIMARY_REVERSED',
1933
2008
  ASCOM_SECONDARY_REVERSED: 'ASCOM_SECONDARY_REVERSED',
1934
- ASCOM_CAN_TRACK_LEO: 'ASCOM_CAN_TRACK_LEO'
2009
+ ASCOM_CAN_TRACK_LEO: 'ASCOM_CAN_TRACK_LEO',
2010
+ FOCUSER_RANGE: 'FOCUSER_RANGE'
1935
2011
  } as const;
1936
2012
 
1937
2013
  export type V1NodeDiagnosticType = typeof V1NodeDiagnosticType[keyof typeof V1NodeDiagnosticType];
@@ -2581,6 +2657,12 @@ export interface V1UpdateNodeComponentsRequest {
2581
2657
  * @memberof V1UpdateNodeComponentsRequest
2582
2658
  */
2583
2659
  'opticalTube'?: V1UpdateNodeComponentsRequestOpticalTube;
2660
+ /**
2661
+ *
2662
+ * @type {V1UpdateNodeComponentsRequestFocuser}
2663
+ * @memberof V1UpdateNodeComponentsRequest
2664
+ */
2665
+ 'focuser'?: V1UpdateNodeComponentsRequestFocuser;
2584
2666
  }
2585
2667
  /**
2586
2668
  *
@@ -2717,6 +2799,25 @@ export interface V1UpdateNodeComponentsRequestCamera {
2717
2799
  }
2718
2800
 
2719
2801
 
2802
+ /**
2803
+ *
2804
+ * @export
2805
+ * @interface V1UpdateNodeComponentsRequestFocuser
2806
+ */
2807
+ export interface V1UpdateNodeComponentsRequestFocuser {
2808
+ /**
2809
+ *
2810
+ * @type {string}
2811
+ * @memberof V1UpdateNodeComponentsRequestFocuser
2812
+ */
2813
+ 'model'?: string;
2814
+ /**
2815
+ *
2816
+ * @type {number}
2817
+ * @memberof V1UpdateNodeComponentsRequestFocuser
2818
+ */
2819
+ 'travelDistanceMm'?: number;
2820
+ }
2720
2821
  /**
2721
2822
  *
2722
2823
  * @export
@@ -2819,6 +2920,12 @@ export interface V1UpdateNodeRequest {
2819
2920
  * @memberof V1UpdateNodeRequest
2820
2921
  */
2821
2922
  'filterWheelId'?: string;
2923
+ /**
2924
+ *
2925
+ * @type {string}
2926
+ * @memberof V1UpdateNodeRequest
2927
+ */
2928
+ 'focuserId'?: string;
2822
2929
  /**
2823
2930
  *
2824
2931
  * @type {number}
@@ -3113,6 +3220,47 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3113
3220
  options: localVarRequestOptions,
3114
3221
  };
3115
3222
  },
3223
+ /**
3224
+ * Create an focuser.
3225
+ * @param {V1CreateFocuserRequest} v1CreateFocuserRequest
3226
+ * @param {*} [options] Override http request option.
3227
+ * @throws {RequiredError}
3228
+ */
3229
+ v1CreateFocuser: async (v1CreateFocuserRequest: V1CreateFocuserRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3230
+ // verify required parameter 'v1CreateFocuserRequest' is not null or undefined
3231
+ assertParamExists('v1CreateFocuser', 'v1CreateFocuserRequest', v1CreateFocuserRequest)
3232
+ const localVarPath = `/v1/focuser`;
3233
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3234
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3235
+ let baseOptions;
3236
+ if (configuration) {
3237
+ baseOptions = configuration.baseOptions;
3238
+ }
3239
+
3240
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
3241
+ const localVarHeaderParameter = {} as any;
3242
+ const localVarQueryParameter = {} as any;
3243
+
3244
+ // authentication Roles required
3245
+
3246
+ // authentication BearerToken required
3247
+ // http bearer authentication required
3248
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
3249
+
3250
+
3251
+
3252
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3253
+
3254
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3255
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3256
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3257
+ localVarRequestOptions.data = serializeDataIfNeeded(v1CreateFocuserRequest, localVarRequestOptions, configuration)
3258
+
3259
+ return {
3260
+ url: toPathString(localVarUrlObj),
3261
+ options: localVarRequestOptions,
3262
+ };
3263
+ },
3116
3264
  /**
3117
3265
  * Create an image set.
3118
3266
  * @param {V1CreateImageSetRequest} v1CreateImageSetRequest
@@ -3599,6 +3747,51 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3599
3747
 
3600
3748
 
3601
3749
 
3750
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3751
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3752
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3753
+
3754
+ return {
3755
+ url: toPathString(localVarUrlObj),
3756
+ options: localVarRequestOptions,
3757
+ };
3758
+ },
3759
+ /**
3760
+ * Match focuser.
3761
+ * @param {string} [model]
3762
+ * @param {number} [travelDistanceMm]
3763
+ * @param {*} [options] Override http request option.
3764
+ * @throws {RequiredError}
3765
+ */
3766
+ v1FocuserMatch: async (model?: string, travelDistanceMm?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3767
+ const localVarPath = `/v1/focuser-match`;
3768
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3769
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3770
+ let baseOptions;
3771
+ if (configuration) {
3772
+ baseOptions = configuration.baseOptions;
3773
+ }
3774
+
3775
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3776
+ const localVarHeaderParameter = {} as any;
3777
+ const localVarQueryParameter = {} as any;
3778
+
3779
+ // authentication Roles required
3780
+
3781
+ // authentication BearerToken required
3782
+ // http bearer authentication required
3783
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
3784
+
3785
+ if (model !== undefined) {
3786
+ localVarQueryParameter['model'] = model;
3787
+ }
3788
+
3789
+ if (travelDistanceMm !== undefined) {
3790
+ localVarQueryParameter['travelDistanceMm'] = travelDistanceMm;
3791
+ }
3792
+
3793
+
3794
+
3602
3795
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3603
3796
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3604
3797
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -3634,6 +3827,48 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3634
3827
 
3635
3828
 
3636
3829
 
3830
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3831
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3832
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3833
+
3834
+ return {
3835
+ url: toPathString(localVarUrlObj),
3836
+ options: localVarRequestOptions,
3837
+ };
3838
+ },
3839
+ /**
3840
+ * Get a focuser.
3841
+ * @param {string} id
3842
+ * @param {*} [options] Override http request option.
3843
+ * @throws {RequiredError}
3844
+ */
3845
+ v1GetFocuser: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3846
+ // verify required parameter 'id' is not null or undefined
3847
+ assertParamExists('v1GetFocuser', 'id', id)
3848
+ const localVarPath = `/v1/focuser`;
3849
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3850
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3851
+ let baseOptions;
3852
+ if (configuration) {
3853
+ baseOptions = configuration.baseOptions;
3854
+ }
3855
+
3856
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3857
+ const localVarHeaderParameter = {} as any;
3858
+ const localVarQueryParameter = {} as any;
3859
+
3860
+ // authentication Roles required
3861
+
3862
+ // authentication BearerToken required
3863
+ // http bearer authentication required
3864
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
3865
+
3866
+ if (id !== undefined) {
3867
+ localVarQueryParameter['id'] = id;
3868
+ }
3869
+
3870
+
3871
+
3637
3872
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3638
3873
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3639
3874
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -4236,6 +4471,47 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4236
4471
  options: localVarRequestOptions,
4237
4472
  };
4238
4473
  },
4474
+ /**
4475
+ * Get or create focuser.
4476
+ * @param {V1GetOrCreateFocuserRequest} v1GetOrCreateFocuserRequest
4477
+ * @param {*} [options] Override http request option.
4478
+ * @throws {RequiredError}
4479
+ */
4480
+ v1GetOrCreateFocuser: async (v1GetOrCreateFocuserRequest: V1GetOrCreateFocuserRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4481
+ // verify required parameter 'v1GetOrCreateFocuserRequest' is not null or undefined
4482
+ assertParamExists('v1GetOrCreateFocuser', 'v1GetOrCreateFocuserRequest', v1GetOrCreateFocuserRequest)
4483
+ const localVarPath = `/v1/focuser-match`;
4484
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4485
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4486
+ let baseOptions;
4487
+ if (configuration) {
4488
+ baseOptions = configuration.baseOptions;
4489
+ }
4490
+
4491
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
4492
+ const localVarHeaderParameter = {} as any;
4493
+ const localVarQueryParameter = {} as any;
4494
+
4495
+ // authentication Roles required
4496
+
4497
+ // authentication BearerToken required
4498
+ // http bearer authentication required
4499
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
4500
+
4501
+
4502
+
4503
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4504
+
4505
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4506
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4507
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4508
+ localVarRequestOptions.data = serializeDataIfNeeded(v1GetOrCreateFocuserRequest, localVarRequestOptions, configuration)
4509
+
4510
+ return {
4511
+ url: toPathString(localVarUrlObj),
4512
+ options: localVarRequestOptions,
4513
+ };
4514
+ },
4239
4515
  /**
4240
4516
  * Get or create mount.
4241
4517
  * @param {V1GetOrCreateMountRequest} v1GetOrCreateMountRequest
@@ -4628,6 +4904,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
4628
4904
  const localVarAxiosArgs = await localVarAxiosParamCreator.v1CreateAutofocusResult(v1CreateAutofocusResultRequest, options);
4629
4905
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4630
4906
  },
4907
+ /**
4908
+ * Create an focuser.
4909
+ * @param {V1CreateFocuserRequest} v1CreateFocuserRequest
4910
+ * @param {*} [options] Override http request option.
4911
+ * @throws {RequiredError}
4912
+ */
4913
+ async v1CreateFocuser(v1CreateFocuserRequest: V1CreateFocuserRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessfulCreate>> {
4914
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1CreateFocuser(v1CreateFocuserRequest, options);
4915
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4916
+ },
4631
4917
  /**
4632
4918
  * Create an image set.
4633
4919
  * @param {V1CreateImageSetRequest} v1CreateImageSetRequest
@@ -4748,6 +5034,17 @@ export const DefaultApiFp = function(configuration?: Configuration) {
4748
5034
  const localVarAxiosArgs = await localVarAxiosParamCreator.v1DeleteNodeCommand(id, options);
4749
5035
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4750
5036
  },
5037
+ /**
5038
+ * Match focuser.
5039
+ * @param {string} [model]
5040
+ * @param {number} [travelDistanceMm]
5041
+ * @param {*} [options] Override http request option.
5042
+ * @throws {RequiredError}
5043
+ */
5044
+ async v1FocuserMatch(model?: string, travelDistanceMm?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1Focuser>>> {
5045
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1FocuserMatch(model, travelDistanceMm, options);
5046
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5047
+ },
4751
5048
  /**
4752
5049
  * Get cameras.
4753
5050
  * @param {*} [options] Override http request option.
@@ -4757,6 +5054,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
4757
5054
  const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetCameras(options);
4758
5055
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4759
5056
  },
5057
+ /**
5058
+ * Get a focuser.
5059
+ * @param {string} id
5060
+ * @param {*} [options] Override http request option.
5061
+ * @throws {RequiredError}
5062
+ */
5063
+ async v1GetFocuser(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1Focuser>> {
5064
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetFocuser(id, options);
5065
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5066
+ },
4760
5067
  /**
4761
5068
  * Get an image set.
4762
5069
  * @param {string} id
@@ -4898,6 +5205,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
4898
5205
  const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetOrCreateCamera(v1GetOrCreateCameraRequest, options);
4899
5206
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4900
5207
  },
5208
+ /**
5209
+ * Get or create focuser.
5210
+ * @param {V1GetOrCreateFocuserRequest} v1GetOrCreateFocuserRequest
5211
+ * @param {*} [options] Override http request option.
5212
+ * @throws {RequiredError}
5213
+ */
5214
+ async v1GetOrCreateFocuser(v1GetOrCreateFocuserRequest: V1GetOrCreateFocuserRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1Focuser>> {
5215
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetOrCreateFocuser(v1GetOrCreateFocuserRequest, options);
5216
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5217
+ },
4901
5218
  /**
4902
5219
  * Get or create mount.
4903
5220
  * @param {V1GetOrCreateMountRequest} v1GetOrCreateMountRequest
@@ -5025,6 +5342,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
5025
5342
  v1CreateAutofocusResult(requestParameters: DefaultApiV1CreateAutofocusResultRequest, options?: AxiosRequestConfig): AxiosPromise<SuccessfulCreate> {
5026
5343
  return localVarFp.v1CreateAutofocusResult(requestParameters.v1CreateAutofocusResultRequest, options).then((request) => request(axios, basePath));
5027
5344
  },
5345
+ /**
5346
+ * Create an focuser.
5347
+ * @param {DefaultApiV1CreateFocuserRequest} requestParameters Request parameters.
5348
+ * @param {*} [options] Override http request option.
5349
+ * @throws {RequiredError}
5350
+ */
5351
+ v1CreateFocuser(requestParameters: DefaultApiV1CreateFocuserRequest, options?: AxiosRequestConfig): AxiosPromise<SuccessfulCreate> {
5352
+ return localVarFp.v1CreateFocuser(requestParameters.v1CreateFocuserRequest, options).then((request) => request(axios, basePath));
5353
+ },
5028
5354
  /**
5029
5355
  * Create an image set.
5030
5356
  * @param {DefaultApiV1CreateImageSetRequest} requestParameters Request parameters.
@@ -5133,6 +5459,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
5133
5459
  v1DeleteNodeCommand(requestParameters: DefaultApiV1DeleteNodeCommandRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess> {
5134
5460
  return localVarFp.v1DeleteNodeCommand(requestParameters.id, options).then((request) => request(axios, basePath));
5135
5461
  },
5462
+ /**
5463
+ * Match focuser.
5464
+ * @param {DefaultApiV1FocuserMatchRequest} requestParameters Request parameters.
5465
+ * @param {*} [options] Override http request option.
5466
+ * @throws {RequiredError}
5467
+ */
5468
+ v1FocuserMatch(requestParameters: DefaultApiV1FocuserMatchRequest = {}, options?: AxiosRequestConfig): AxiosPromise<Array<V1Focuser>> {
5469
+ return localVarFp.v1FocuserMatch(requestParameters.model, requestParameters.travelDistanceMm, options).then((request) => request(axios, basePath));
5470
+ },
5136
5471
  /**
5137
5472
  * Get cameras.
5138
5473
  * @param {*} [options] Override http request option.
@@ -5141,6 +5476,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
5141
5476
  v1GetCameras(options?: AxiosRequestConfig): AxiosPromise<Array<V1Camera>> {
5142
5477
  return localVarFp.v1GetCameras(options).then((request) => request(axios, basePath));
5143
5478
  },
5479
+ /**
5480
+ * Get a focuser.
5481
+ * @param {DefaultApiV1GetFocuserRequest} requestParameters Request parameters.
5482
+ * @param {*} [options] Override http request option.
5483
+ * @throws {RequiredError}
5484
+ */
5485
+ v1GetFocuser(requestParameters: DefaultApiV1GetFocuserRequest, options?: AxiosRequestConfig): AxiosPromise<V1Focuser> {
5486
+ return localVarFp.v1GetFocuser(requestParameters.id, options).then((request) => request(axios, basePath));
5487
+ },
5144
5488
  /**
5145
5489
  * Get an image set.
5146
5490
  * @param {DefaultApiV1GetImageSetRequest} requestParameters Request parameters.
@@ -5266,6 +5610,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
5266
5610
  v1GetOrCreateCamera(requestParameters: DefaultApiV1GetOrCreateCameraRequest, options?: AxiosRequestConfig): AxiosPromise<V1Camera> {
5267
5611
  return localVarFp.v1GetOrCreateCamera(requestParameters.v1GetOrCreateCameraRequest, options).then((request) => request(axios, basePath));
5268
5612
  },
5613
+ /**
5614
+ * Get or create focuser.
5615
+ * @param {DefaultApiV1GetOrCreateFocuserRequest} requestParameters Request parameters.
5616
+ * @param {*} [options] Override http request option.
5617
+ * @throws {RequiredError}
5618
+ */
5619
+ v1GetOrCreateFocuser(requestParameters: DefaultApiV1GetOrCreateFocuserRequest, options?: AxiosRequestConfig): AxiosPromise<V1Focuser> {
5620
+ return localVarFp.v1GetOrCreateFocuser(requestParameters.v1GetOrCreateFocuserRequest, options).then((request) => request(axios, basePath));
5621
+ },
5269
5622
  /**
5270
5623
  * Get or create mount.
5271
5624
  * @param {DefaultApiV1GetOrCreateMountRequest} requestParameters Request parameters.
@@ -5432,6 +5785,20 @@ export interface DefaultApiV1CreateAutofocusResultRequest {
5432
5785
  readonly v1CreateAutofocusResultRequest: V1CreateAutofocusResultRequest
5433
5786
  }
5434
5787
 
5788
+ /**
5789
+ * Request parameters for v1CreateFocuser operation in DefaultApi.
5790
+ * @export
5791
+ * @interface DefaultApiV1CreateFocuserRequest
5792
+ */
5793
+ export interface DefaultApiV1CreateFocuserRequest {
5794
+ /**
5795
+ *
5796
+ * @type {V1CreateFocuserRequest}
5797
+ * @memberof DefaultApiV1CreateFocuser
5798
+ */
5799
+ readonly v1CreateFocuserRequest: V1CreateFocuserRequest
5800
+ }
5801
+
5435
5802
  /**
5436
5803
  * Request parameters for v1CreateImageSet operation in DefaultApi.
5437
5804
  * @export
@@ -5600,6 +5967,41 @@ export interface DefaultApiV1DeleteNodeCommandRequest {
5600
5967
  readonly id: string
5601
5968
  }
5602
5969
 
5970
+ /**
5971
+ * Request parameters for v1FocuserMatch operation in DefaultApi.
5972
+ * @export
5973
+ * @interface DefaultApiV1FocuserMatchRequest
5974
+ */
5975
+ export interface DefaultApiV1FocuserMatchRequest {
5976
+ /**
5977
+ *
5978
+ * @type {string}
5979
+ * @memberof DefaultApiV1FocuserMatch
5980
+ */
5981
+ readonly model?: string
5982
+
5983
+ /**
5984
+ *
5985
+ * @type {number}
5986
+ * @memberof DefaultApiV1FocuserMatch
5987
+ */
5988
+ readonly travelDistanceMm?: number
5989
+ }
5990
+
5991
+ /**
5992
+ * Request parameters for v1GetFocuser operation in DefaultApi.
5993
+ * @export
5994
+ * @interface DefaultApiV1GetFocuserRequest
5995
+ */
5996
+ export interface DefaultApiV1GetFocuserRequest {
5997
+ /**
5998
+ *
5999
+ * @type {string}
6000
+ * @memberof DefaultApiV1GetFocuser
6001
+ */
6002
+ readonly id: string
6003
+ }
6004
+
5603
6005
  /**
5604
6006
  * Request parameters for v1GetImageSet operation in DefaultApi.
5605
6007
  * @export
@@ -5796,6 +6198,20 @@ export interface DefaultApiV1GetOrCreateCameraRequest {
5796
6198
  readonly v1GetOrCreateCameraRequest: V1GetOrCreateCameraRequest
5797
6199
  }
5798
6200
 
6201
+ /**
6202
+ * Request parameters for v1GetOrCreateFocuser operation in DefaultApi.
6203
+ * @export
6204
+ * @interface DefaultApiV1GetOrCreateFocuserRequest
6205
+ */
6206
+ export interface DefaultApiV1GetOrCreateFocuserRequest {
6207
+ /**
6208
+ *
6209
+ * @type {V1GetOrCreateFocuserRequest}
6210
+ * @memberof DefaultApiV1GetOrCreateFocuser
6211
+ */
6212
+ readonly v1GetOrCreateFocuserRequest: V1GetOrCreateFocuserRequest
6213
+ }
6214
+
5799
6215
  /**
5800
6216
  * Request parameters for v1GetOrCreateMount operation in DefaultApi.
5801
6217
  * @export
@@ -5972,6 +6388,17 @@ export class DefaultApi extends BaseAPI {
5972
6388
  return DefaultApiFp(this.configuration).v1CreateAutofocusResult(requestParameters.v1CreateAutofocusResultRequest, options).then((request) => request(this.axios, this.basePath));
5973
6389
  }
5974
6390
 
6391
+ /**
6392
+ * Create an focuser.
6393
+ * @param {DefaultApiV1CreateFocuserRequest} requestParameters Request parameters.
6394
+ * @param {*} [options] Override http request option.
6395
+ * @throws {RequiredError}
6396
+ * @memberof DefaultApi
6397
+ */
6398
+ public v1CreateFocuser(requestParameters: DefaultApiV1CreateFocuserRequest, options?: AxiosRequestConfig) {
6399
+ return DefaultApiFp(this.configuration).v1CreateFocuser(requestParameters.v1CreateFocuserRequest, options).then((request) => request(this.axios, this.basePath));
6400
+ }
6401
+
5975
6402
  /**
5976
6403
  * Create an image set.
5977
6404
  * @param {DefaultApiV1CreateImageSetRequest} requestParameters Request parameters.
@@ -6104,6 +6531,17 @@ export class DefaultApi extends BaseAPI {
6104
6531
  return DefaultApiFp(this.configuration).v1DeleteNodeCommand(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
6105
6532
  }
6106
6533
 
6534
+ /**
6535
+ * Match focuser.
6536
+ * @param {DefaultApiV1FocuserMatchRequest} requestParameters Request parameters.
6537
+ * @param {*} [options] Override http request option.
6538
+ * @throws {RequiredError}
6539
+ * @memberof DefaultApi
6540
+ */
6541
+ public v1FocuserMatch(requestParameters: DefaultApiV1FocuserMatchRequest = {}, options?: AxiosRequestConfig) {
6542
+ return DefaultApiFp(this.configuration).v1FocuserMatch(requestParameters.model, requestParameters.travelDistanceMm, options).then((request) => request(this.axios, this.basePath));
6543
+ }
6544
+
6107
6545
  /**
6108
6546
  * Get cameras.
6109
6547
  * @param {*} [options] Override http request option.
@@ -6114,6 +6552,17 @@ export class DefaultApi extends BaseAPI {
6114
6552
  return DefaultApiFp(this.configuration).v1GetCameras(options).then((request) => request(this.axios, this.basePath));
6115
6553
  }
6116
6554
 
6555
+ /**
6556
+ * Get a focuser.
6557
+ * @param {DefaultApiV1GetFocuserRequest} requestParameters Request parameters.
6558
+ * @param {*} [options] Override http request option.
6559
+ * @throws {RequiredError}
6560
+ * @memberof DefaultApi
6561
+ */
6562
+ public v1GetFocuser(requestParameters: DefaultApiV1GetFocuserRequest, options?: AxiosRequestConfig) {
6563
+ return DefaultApiFp(this.configuration).v1GetFocuser(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
6564
+ }
6565
+
6117
6566
  /**
6118
6567
  * Get an image set.
6119
6568
  * @param {DefaultApiV1GetImageSetRequest} requestParameters Request parameters.
@@ -6267,6 +6716,17 @@ export class DefaultApi extends BaseAPI {
6267
6716
  return DefaultApiFp(this.configuration).v1GetOrCreateCamera(requestParameters.v1GetOrCreateCameraRequest, options).then((request) => request(this.axios, this.basePath));
6268
6717
  }
6269
6718
 
6719
+ /**
6720
+ * Get or create focuser.
6721
+ * @param {DefaultApiV1GetOrCreateFocuserRequest} requestParameters Request parameters.
6722
+ * @param {*} [options] Override http request option.
6723
+ * @throws {RequiredError}
6724
+ * @memberof DefaultApi
6725
+ */
6726
+ public v1GetOrCreateFocuser(requestParameters: DefaultApiV1GetOrCreateFocuserRequest, options?: AxiosRequestConfig) {
6727
+ return DefaultApiFp(this.configuration).v1GetOrCreateFocuser(requestParameters.v1GetOrCreateFocuserRequest, options).then((request) => request(this.axios, this.basePath));
6728
+ }
6729
+
6270
6730
  /**
6271
6731
  * Get or create mount.
6272
6732
  * @param {DefaultApiV1GetOrCreateMountRequest} 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.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 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.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).