@ourskyai/astro-api 1.3.8815 → 1.4.118

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.
Files changed (105) hide show
  1. package/.openapi-generator/FILES +76 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +155 -4
  4. package/api.ts +869 -3218
  5. package/base.ts +14 -24
  6. package/common.ts +20 -44
  7. package/configuration.ts +37 -17
  8. package/dist/api.d.ts +449 -2852
  9. package/dist/api.js +640 -619
  10. package/dist/base.d.ts +11 -23
  11. package/dist/base.js +5 -18
  12. package/dist/common.d.ts +6 -37
  13. package/dist/common.js +18 -40
  14. package/dist/configuration.d.ts +30 -15
  15. package/dist/configuration.js +5 -3
  16. package/dist/esm/api.d.ts +449 -2852
  17. package/dist/esm/api.js +640 -619
  18. package/dist/esm/base.d.ts +11 -23
  19. package/dist/esm/base.js +4 -17
  20. package/dist/esm/common.d.ts +6 -37
  21. package/dist/esm/common.js +16 -39
  22. package/dist/esm/configuration.d.ts +30 -15
  23. package/dist/esm/configuration.js +5 -3
  24. package/dist/esm/index.d.ts +1 -1
  25. package/dist/esm/index.js +1 -1
  26. package/dist/index.d.ts +1 -1
  27. package/dist/index.js +1 -1
  28. package/docs/AssetFileType.md +18 -0
  29. package/docs/AssetType.md +16 -0
  30. package/docs/CalibrationMasterType.md +12 -0
  31. package/docs/DailyWeatherCity.md +22 -0
  32. package/docs/DailyWeatherForecastItem.md +40 -0
  33. package/docs/DailyWeatherForecastItemTemp.md +26 -0
  34. package/docs/DailyWeatherForecastItemWeatherInner.md +26 -0
  35. package/docs/DailyWeatherForecastListResponse.md +22 -0
  36. package/docs/DefaultApi.md +2560 -0
  37. package/docs/EmptySuccess.md +20 -0
  38. package/docs/FilterType.md +60 -0
  39. package/docs/FitsHeader.md +22 -0
  40. package/docs/ImageSetType.md +24 -0
  41. package/docs/IntegrationTime.md +27 -0
  42. package/docs/Location.md +25 -0
  43. package/docs/MountGeometry.md +10 -0
  44. package/docs/MountType.md +10 -0
  45. package/docs/NodeState.md +20 -0
  46. package/docs/OpticalTubeType.md +16 -0
  47. package/docs/ShutterType.md +10 -0
  48. package/docs/SuccessfulCreate.md +20 -0
  49. package/docs/TrackingType.md +12 -0
  50. package/docs/V1AstroProject.md +43 -0
  51. package/docs/V1AstroProjectAsset.md +41 -0
  52. package/docs/V1AstroProjectAssetMetadata.md +22 -0
  53. package/docs/V1AstroProjectAssetMetadataColorCombination.md +24 -0
  54. package/docs/V1AstroProjectJobLog.md +31 -0
  55. package/docs/V1AstroTarget.md +33 -0
  56. package/docs/V1CalibrationMaster.md +43 -0
  57. package/docs/V1Camera.md +47 -0
  58. package/docs/V1CreateAstroProjectImageSetRequest.md +24 -0
  59. package/docs/V1CreateAstroProjectRequest.md +30 -0
  60. package/docs/V1CreateAstroProjectResponse.md +23 -0
  61. package/docs/V1CreateCalibrationMasterRequest.md +42 -0
  62. package/docs/V1CreateCalibrationMasterResponse.md +22 -0
  63. package/docs/V1CreateCalibrationSetImageRequest.md +22 -0
  64. package/docs/V1CreateCalibrationSetImageResponse.md +22 -0
  65. package/docs/V1CreateCalibrationSetRequest.md +40 -0
  66. package/docs/V1CreateCalibrationSetResponse.md +20 -0
  67. package/docs/V1CreateImageSetImageRequest.md +32 -0
  68. package/docs/V1CreateImageSetImageResponse.md +23 -0
  69. package/docs/V1CreateImageSetRequest.md +28 -0
  70. package/docs/V1CreateNodeRequest.md +37 -0
  71. package/docs/V1CreateOpticalTrainInstanceRequest.md +28 -0
  72. package/docs/V1ElevationMaskPoint.md +25 -0
  73. package/docs/V1Focuser.md +27 -0
  74. package/docs/V1GainCurve.md +25 -0
  75. package/docs/V1GainCurvePoint.md +22 -0
  76. package/docs/V1GetAstroPlatformCreditBalanceResponse.md +21 -0
  77. package/docs/V1GetNodes.md +20 -0
  78. package/docs/V1GetOrCreateCameraRequest.md +60 -0
  79. package/docs/V1GetOrCreateFocuserRequest.md +24 -0
  80. package/docs/V1GetOrCreateMountRequest.md +24 -0
  81. package/docs/V1GetOrCreateOpticalTubeRequest.md +26 -0
  82. package/docs/V1ImageFileType.md +10 -0
  83. package/docs/V1ImageRejectionReason.md +64 -0
  84. package/docs/V1ImageSet.md +43 -0
  85. package/docs/V1ImageSetImage.md +77 -0
  86. package/docs/V1JobStatus.md +16 -0
  87. package/docs/V1Mount.md +23 -0
  88. package/docs/V1Node.md +59 -0
  89. package/docs/V1NodeWithLocation.md +23 -0
  90. package/docs/V1OpticalTrainInstance.md +43 -0
  91. package/docs/V1OpticalTube.md +27 -0
  92. package/docs/V1PlatformCredit.md +37 -0
  93. package/docs/V1PlatformCreditSource.md +14 -0
  94. package/docs/V1PlatformCreditType.md +8 -0
  95. package/docs/V1PlatformCreditUnit.md +8 -0
  96. package/docs/V1PredictedStreakLocation.md +26 -0
  97. package/docs/V1PutStackAstroProjectRequest.md +20 -0
  98. package/docs/V1PutStackAstroProjectResponse.md +23 -0
  99. package/docs/V1ReadNoisePoint.md +22 -0
  100. package/docs/V1SetupAction.md +23 -0
  101. package/docs/V1UpdateNodeRequest.md +51 -0
  102. package/docs/V1VideoModeFramerateProperty.md +28 -0
  103. package/docs/V2UpdateNodeRequest.md +43 -0
  104. package/index.ts +1 -1
  105. package/package.json +4 -4
package/dist/esm/api.js 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.8815
7
+ * The version of the OpenAPI document: 1.4.118
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -25,12 +25,7 @@ import globalAxios from 'axios';
25
25
  // @ts-ignore
26
26
  import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
27
27
  // @ts-ignore
28
- import { BASE_PATH, COLLECTION_FORMATS, BaseAPI } from './base';
29
- /**
30
- *
31
- * @export
32
- * @enum {string}
33
- */
28
+ import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, operationServerMap } from './base';
34
29
  export const AssetFileType = {
35
30
  FITS: 'FITS',
36
31
  TIFF: 'TIFF',
@@ -39,11 +34,6 @@ export const AssetFileType = {
39
34
  JSON: 'JSON',
40
35
  TXT: 'TXT'
41
36
  };
42
- /**
43
- *
44
- * @export
45
- * @enum {string}
46
- */
47
37
  export const AssetType = {
48
38
  STACK_RESULT: 'STACK_RESULT',
49
39
  PROJECT_UNBEAUTIFIED: 'PROJECT_UNBEAUTIFIED',
@@ -51,21 +41,11 @@ export const AssetType = {
51
41
  IMAGE_THUMBNAIL: 'IMAGE_THUMBNAIL',
52
42
  PROJECT_BEAUTIFIED_THUMBNAIL: 'PROJECT_BEAUTIFIED_THUMBNAIL'
53
43
  };
54
- /**
55
- *
56
- * @export
57
- * @enum {string}
58
- */
59
44
  export const CalibrationMasterType = {
60
45
  FLAT: 'FLAT',
61
46
  DARK: 'DARK',
62
47
  BIAS: 'BIAS'
63
48
  };
64
- /**
65
- *
66
- * @export
67
- * @enum {string}
68
- */
69
49
  export const FilterType = {
70
50
  NONE: 'NONE',
71
51
  RED: 'RED',
@@ -95,32 +75,25 @@ export const FilterType = {
95
75
  DARK: 'DARK',
96
76
  OTHER: 'OTHER'
97
77
  };
98
- /**
99
- *
100
- * @export
101
- * @enum {string}
102
- */
103
78
  export const ImageSetType = {
104
79
  ASTRONOMICAL: 'ASTRONOMICAL',
105
80
  EARTH_ORBITAL: 'EARTH_ORBITAL',
106
81
  GNSS_CALIBRATION: 'GNSS_CALIBRATION',
107
82
  SATELLITE_CALIBRATION: 'SATELLITE_CALIBRATION',
108
- ALL_SKY: 'ALL_SKY'
83
+ WAVEFRONT_SENSOR_FACTORY_CALIBRATION: 'WAVEFRONT_SENSOR_FACTORY_CALIBRATION',
84
+ ALL_SKY: 'ALL_SKY',
85
+ THERMAL: 'THERMAL',
86
+ STACKED_ASTRONOMICAL: 'STACKED_ASTRONOMICAL',
87
+ TERRESTRIAL_DOWNLINK: 'TERRESTRIAL_DOWNLINK'
88
+ };
89
+ export const MountGeometry = {
90
+ ALT_AZ: 'ALT_AZ',
91
+ EQUATORIAL: 'EQUATORIAL'
109
92
  };
110
- /**
111
- *
112
- * @export
113
- * @enum {string}
114
- */
115
93
  export const MountType = {
116
94
  ALT_AZ: 'ALT_AZ',
117
95
  EQUITORIAL: 'EQUITORIAL'
118
96
  };
119
- /**
120
- *
121
- * @export
122
- * @enum {string}
123
- */
124
97
  export const NodeState = {
125
98
  READY: 'READY',
126
99
  PENDING: 'PENDING',
@@ -130,11 +103,6 @@ export const NodeState = {
130
103
  SUPERSEDED: 'SUPERSEDED',
131
104
  DECOMMISSIONED: 'DECOMMISSIONED'
132
105
  };
133
- /**
134
- *
135
- * @export
136
- * @enum {string}
137
- */
138
106
  export const OpticalTubeType = {
139
107
  NEWTONIAN: 'NEWTONIAN',
140
108
  SCT: 'SCT',
@@ -142,39 +110,19 @@ export const OpticalTubeType = {
142
110
  RC: 'RC',
143
111
  REFRACTOR: 'REFRACTOR'
144
112
  };
145
- /**
146
- *
147
- * @export
148
- * @enum {string}
149
- */
150
113
  export const ShutterType = {
151
114
  ROLLING: 'ROLLING',
152
115
  GLOBAL: 'GLOBAL'
153
116
  };
154
- /**
155
- *
156
- * @export
157
- * @enum {string}
158
- */
159
117
  export const TrackingType = {
160
118
  SIDEREAL: 'SIDEREAL',
161
119
  TARGET_RATE: 'TARGET_RATE',
162
120
  NONE: 'NONE'
163
121
  };
164
- /**
165
- *
166
- * @export
167
- * @enum {string}
168
- */
169
122
  export const V1ImageFileType = {
170
123
  FITS: 'FITS',
171
124
  JPG: 'JPG'
172
125
  };
173
- /**
174
- *
175
- * @export
176
- * @enum {string}
177
- */
178
126
  export const V1ImageRejectionReason = {
179
127
  TARGET_NOT_FOUND: 'TARGET_NOT_FOUND',
180
128
  RATE_TARGET_NOT_FOUND: 'RATE_TARGET_NOT_FOUND',
@@ -201,59 +149,32 @@ export const V1ImageRejectionReason = {
201
149
  SAVE_FAILURE: 'SAVE_FAILURE',
202
150
  RATE_CATALOG_COMPARE_ERROR: 'RATE_CATALOG_COMPARE_ERROR',
203
151
  MISSING_IMG_WIDTH_HEADER: 'MISSING_IMG_WIDTH_HEADER',
152
+ CALIBRATION_FAILURE: 'CALIBRATION_FAILURE',
153
+ HOT_PIXEL_REMOVAL_FAILURE: 'HOT_PIXEL_REMOVAL_FAILURE',
154
+ PIPELINE_TIMEOUT: 'PIPELINE_TIMEOUT',
204
155
  UNKNOWN_ERROR: 'UNKNOWN_ERROR'
205
156
  };
206
- /**
207
- *
208
- * @export
209
- * @enum {string}
210
- */
211
- export const V1JobKind = {
212
- STACK: 'STACK',
213
- REPROCESS: 'REPROCESS',
214
- OBSERVATION_POTENTIAL: 'OBSERVATION_POTENTIAL'
215
- };
216
- /**
217
- *
218
- * @export
219
- * @enum {string}
220
- */
221
157
  export const V1JobStatus = {
222
158
  PENDING: 'PENDING',
223
159
  RUNNING: 'RUNNING',
224
160
  SUCCEEDED: 'SUCCEEDED',
161
+ CANCELLED: 'CANCELLED',
225
162
  FAILED: 'FAILED'
226
163
  };
227
- /**
228
- *
229
- * @export
230
- * @enum {string}
231
- */
232
164
  export const V1PlatformCreditSource = {
233
165
  SIGNUP: 'SIGNUP',
234
166
  OSR_CONTRIBUTION: 'OSR_CONTRIBUTION',
235
167
  STACKING: 'STACKING',
236
168
  ADMIN: 'ADMIN'
237
169
  };
238
- /**
239
- *
240
- * @export
241
- * @enum {string}
242
- */
243
170
  export const V1PlatformCreditType = {
244
171
  ASTRO_PLATFORM_USAGE: 'ASTRO_PLATFORM_USAGE'
245
172
  };
246
- /**
247
- *
248
- * @export
249
- * @enum {string}
250
- */
251
173
  export const V1PlatformCreditUnit = {
252
174
  MEGABYTE: 'MEGABYTE'
253
175
  };
254
176
  /**
255
177
  * DefaultApi - axios parameter creator
256
- * @export
257
178
  */
258
179
  export const DefaultApiAxiosParamCreator = function (configuration) {
259
180
  return {
@@ -270,7 +191,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
270
191
  * @param {*} [options] Override http request option.
271
192
  * @throws {RequiredError}
272
193
  */
273
- v1CameraMatch: (model, pixelSizeMicrons, pixelsX, pixelsY, megapixels, chilled, adcBitDepth, isColor, options = {}) => __awaiter(this, void 0, void 0, function* () {
194
+ v1CameraMatch: (model_1, pixelSizeMicrons_1, pixelsX_1, pixelsY_1, megapixels_1, chilled_1, adcBitDepth_1, isColor_1, ...args_1) => __awaiter(this, [model_1, pixelSizeMicrons_1, pixelsX_1, pixelsY_1, megapixels_1, chilled_1, adcBitDepth_1, isColor_1, ...args_1], void 0, function* (model, pixelSizeMicrons, pixelsX, pixelsY, megapixels, chilled, adcBitDepth, isColor, options = {}) {
274
195
  const localVarPath = `/v1/camera-match`;
275
196
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
276
197
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -309,6 +230,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
309
230
  if (isColor !== undefined) {
310
231
  localVarQueryParameter['isColor'] = isColor;
311
232
  }
233
+ localVarHeaderParameter['Accept'] = 'application/json';
312
234
  setSearchParams(localVarUrlObj, localVarQueryParameter);
313
235
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
314
236
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -317,145 +239,13 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
317
239
  options: localVarRequestOptions,
318
240
  };
319
241
  }),
320
- /**
321
- * Create an astro camera.
322
- * @param {V1CreateCameraRequest} v1CreateCameraRequest
323
- * @param {*} [options] Override http request option.
324
- * @throws {RequiredError}
325
- */
326
- v1CreateAstroCamera: (v1CreateCameraRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
327
- // verify required parameter 'v1CreateCameraRequest' is not null or undefined
328
- assertParamExists('v1CreateAstroCamera', 'v1CreateCameraRequest', v1CreateCameraRequest);
329
- const localVarPath = `/v1/astro-camera`;
330
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
331
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
332
- let baseOptions;
333
- if (configuration) {
334
- baseOptions = configuration.baseOptions;
335
- }
336
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
337
- const localVarHeaderParameter = {};
338
- const localVarQueryParameter = {};
339
- // authentication Roles required
340
- // authentication BearerToken required
341
- // http bearer authentication required
342
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
343
- localVarHeaderParameter['Content-Type'] = 'application/json';
344
- setSearchParams(localVarUrlObj, localVarQueryParameter);
345
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
346
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
347
- localVarRequestOptions.data = serializeDataIfNeeded(v1CreateCameraRequest, localVarRequestOptions, configuration);
348
- return {
349
- url: toPathString(localVarUrlObj),
350
- options: localVarRequestOptions,
351
- };
352
- }),
353
- /**
354
- * Create an astro focuser.
355
- * @param {V1CreateFocuserRequest} v1CreateFocuserRequest
356
- * @param {*} [options] Override http request option.
357
- * @throws {RequiredError}
358
- */
359
- v1CreateAstroFocuser: (v1CreateFocuserRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
360
- // verify required parameter 'v1CreateFocuserRequest' is not null or undefined
361
- assertParamExists('v1CreateAstroFocuser', 'v1CreateFocuserRequest', v1CreateFocuserRequest);
362
- const localVarPath = `/v1/astro-focuser`;
363
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
364
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
365
- let baseOptions;
366
- if (configuration) {
367
- baseOptions = configuration.baseOptions;
368
- }
369
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
370
- const localVarHeaderParameter = {};
371
- const localVarQueryParameter = {};
372
- // authentication Roles required
373
- // authentication BearerToken required
374
- // http bearer authentication required
375
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
376
- localVarHeaderParameter['Content-Type'] = 'application/json';
377
- setSearchParams(localVarUrlObj, localVarQueryParameter);
378
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
379
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
380
- localVarRequestOptions.data = serializeDataIfNeeded(v1CreateFocuserRequest, localVarRequestOptions, configuration);
381
- return {
382
- url: toPathString(localVarUrlObj),
383
- options: localVarRequestOptions,
384
- };
385
- }),
386
- /**
387
- * Create an astro mount.
388
- * @param {V1CreateMountRequest} v1CreateMountRequest
389
- * @param {*} [options] Override http request option.
390
- * @throws {RequiredError}
391
- */
392
- v1CreateAstroMount: (v1CreateMountRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
393
- // verify required parameter 'v1CreateMountRequest' is not null or undefined
394
- assertParamExists('v1CreateAstroMount', 'v1CreateMountRequest', v1CreateMountRequest);
395
- const localVarPath = `/v1/astro-mount`;
396
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
397
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
398
- let baseOptions;
399
- if (configuration) {
400
- baseOptions = configuration.baseOptions;
401
- }
402
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
403
- const localVarHeaderParameter = {};
404
- const localVarQueryParameter = {};
405
- // authentication Roles required
406
- // authentication BearerToken required
407
- // http bearer authentication required
408
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
409
- localVarHeaderParameter['Content-Type'] = 'application/json';
410
- setSearchParams(localVarUrlObj, localVarQueryParameter);
411
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
412
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
413
- localVarRequestOptions.data = serializeDataIfNeeded(v1CreateMountRequest, localVarRequestOptions, configuration);
414
- return {
415
- url: toPathString(localVarUrlObj),
416
- options: localVarRequestOptions,
417
- };
418
- }),
419
- /**
420
- * Create an astro optical tube.
421
- * @param {V1CreateOpticalTubeRequest} v1CreateOpticalTubeRequest
422
- * @param {*} [options] Override http request option.
423
- * @throws {RequiredError}
424
- */
425
- v1CreateAstroOpticalTube: (v1CreateOpticalTubeRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
426
- // verify required parameter 'v1CreateOpticalTubeRequest' is not null or undefined
427
- assertParamExists('v1CreateAstroOpticalTube', 'v1CreateOpticalTubeRequest', v1CreateOpticalTubeRequest);
428
- const localVarPath = `/v1/astro-optical-tube`;
429
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
430
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
431
- let baseOptions;
432
- if (configuration) {
433
- baseOptions = configuration.baseOptions;
434
- }
435
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
436
- const localVarHeaderParameter = {};
437
- const localVarQueryParameter = {};
438
- // authentication Roles required
439
- // authentication BearerToken required
440
- // http bearer authentication required
441
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
442
- localVarHeaderParameter['Content-Type'] = 'application/json';
443
- setSearchParams(localVarUrlObj, localVarQueryParameter);
444
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
445
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
446
- localVarRequestOptions.data = serializeDataIfNeeded(v1CreateOpticalTubeRequest, localVarRequestOptions, configuration);
447
- return {
448
- url: toPathString(localVarUrlObj),
449
- options: localVarRequestOptions,
450
- };
451
- }),
452
242
  /**
453
243
  * Create an astro project.
454
244
  * @param {V1CreateAstroProjectRequest} v1CreateAstroProjectRequest
455
245
  * @param {*} [options] Override http request option.
456
246
  * @throws {RequiredError}
457
247
  */
458
- v1CreateAstroProject: (v1CreateAstroProjectRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
248
+ v1CreateAstroProject: (v1CreateAstroProjectRequest_1, ...args_1) => __awaiter(this, [v1CreateAstroProjectRequest_1, ...args_1], void 0, function* (v1CreateAstroProjectRequest, options = {}) {
459
249
  // verify required parameter 'v1CreateAstroProjectRequest' is not null or undefined
460
250
  assertParamExists('v1CreateAstroProject', 'v1CreateAstroProjectRequest', v1CreateAstroProjectRequest);
461
251
  const localVarPath = `/v1/astro-project`;
@@ -473,6 +263,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
473
263
  // http bearer authentication required
474
264
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
475
265
  localVarHeaderParameter['Content-Type'] = 'application/json';
266
+ localVarHeaderParameter['Accept'] = 'application/json';
476
267
  setSearchParams(localVarUrlObj, localVarQueryParameter);
477
268
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
478
269
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -488,7 +279,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
488
279
  * @param {*} [options] Override http request option.
489
280
  * @throws {RequiredError}
490
281
  */
491
- v1CreateAstroProjectImageSet: (v1CreateAstroProjectImageSetRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
282
+ v1CreateAstroProjectImageSet: (v1CreateAstroProjectImageSetRequest_1, ...args_1) => __awaiter(this, [v1CreateAstroProjectImageSetRequest_1, ...args_1], void 0, function* (v1CreateAstroProjectImageSetRequest, options = {}) {
492
283
  // verify required parameter 'v1CreateAstroProjectImageSetRequest' is not null or undefined
493
284
  assertParamExists('v1CreateAstroProjectImageSet', 'v1CreateAstroProjectImageSetRequest', v1CreateAstroProjectImageSetRequest);
494
285
  const localVarPath = `/v1/astro-project-image-set`;
@@ -506,6 +297,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
506
297
  // http bearer authentication required
507
298
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
508
299
  localVarHeaderParameter['Content-Type'] = 'application/json';
300
+ localVarHeaderParameter['Accept'] = 'application/json';
509
301
  setSearchParams(localVarUrlObj, localVarQueryParameter);
510
302
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
511
303
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -521,7 +313,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
521
313
  * @param {*} [options] Override http request option.
522
314
  * @throws {RequiredError}
523
315
  */
524
- v1CreateCalibrationMaster: (v1CreateCalibrationMasterRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
316
+ v1CreateCalibrationMaster: (v1CreateCalibrationMasterRequest_1, ...args_1) => __awaiter(this, [v1CreateCalibrationMasterRequest_1, ...args_1], void 0, function* (v1CreateCalibrationMasterRequest, options = {}) {
525
317
  // verify required parameter 'v1CreateCalibrationMasterRequest' is not null or undefined
526
318
  assertParamExists('v1CreateCalibrationMaster', 'v1CreateCalibrationMasterRequest', v1CreateCalibrationMasterRequest);
527
319
  const localVarPath = `/v1/calibration-master`;
@@ -539,6 +331,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
539
331
  // http bearer authentication required
540
332
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
541
333
  localVarHeaderParameter['Content-Type'] = 'application/json';
334
+ localVarHeaderParameter['Accept'] = 'application/json';
542
335
  setSearchParams(localVarUrlObj, localVarQueryParameter);
543
336
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
544
337
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -554,7 +347,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
554
347
  * @param {*} [options] Override http request option.
555
348
  * @throws {RequiredError}
556
349
  */
557
- v1CreateCalibrationSet: (v1CreateCalibrationSetRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
350
+ v1CreateCalibrationSet: (v1CreateCalibrationSetRequest_1, ...args_1) => __awaiter(this, [v1CreateCalibrationSetRequest_1, ...args_1], void 0, function* (v1CreateCalibrationSetRequest, options = {}) {
558
351
  // verify required parameter 'v1CreateCalibrationSetRequest' is not null or undefined
559
352
  assertParamExists('v1CreateCalibrationSet', 'v1CreateCalibrationSetRequest', v1CreateCalibrationSetRequest);
560
353
  const localVarPath = `/v1/calibration-set`;
@@ -572,6 +365,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
572
365
  // http bearer authentication required
573
366
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
574
367
  localVarHeaderParameter['Content-Type'] = 'application/json';
368
+ localVarHeaderParameter['Accept'] = 'application/json';
575
369
  setSearchParams(localVarUrlObj, localVarQueryParameter);
576
370
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
577
371
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -587,7 +381,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
587
381
  * @param {*} [options] Override http request option.
588
382
  * @throws {RequiredError}
589
383
  */
590
- v1CreateCalibrationSetImage: (v1CreateCalibrationSetImageRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
384
+ v1CreateCalibrationSetImage: (v1CreateCalibrationSetImageRequest_1, ...args_1) => __awaiter(this, [v1CreateCalibrationSetImageRequest_1, ...args_1], void 0, function* (v1CreateCalibrationSetImageRequest, options = {}) {
591
385
  // verify required parameter 'v1CreateCalibrationSetImageRequest' is not null or undefined
592
386
  assertParamExists('v1CreateCalibrationSetImage', 'v1CreateCalibrationSetImageRequest', v1CreateCalibrationSetImageRequest);
593
387
  const localVarPath = `/v1/calibration-set-image`;
@@ -605,6 +399,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
605
399
  // http bearer authentication required
606
400
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
607
401
  localVarHeaderParameter['Content-Type'] = 'application/json';
402
+ localVarHeaderParameter['Accept'] = 'application/json';
608
403
  setSearchParams(localVarUrlObj, localVarQueryParameter);
609
404
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
610
405
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -620,7 +415,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
620
415
  * @param {*} [options] Override http request option.
621
416
  * @throws {RequiredError}
622
417
  */
623
- v1CreateImageSet: (v1CreateImageSetRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
418
+ v1CreateImageSet: (v1CreateImageSetRequest_1, ...args_1) => __awaiter(this, [v1CreateImageSetRequest_1, ...args_1], void 0, function* (v1CreateImageSetRequest, options = {}) {
624
419
  // verify required parameter 'v1CreateImageSetRequest' is not null or undefined
625
420
  assertParamExists('v1CreateImageSet', 'v1CreateImageSetRequest', v1CreateImageSetRequest);
626
421
  const localVarPath = `/v1/image-set`;
@@ -638,6 +433,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
638
433
  // http bearer authentication required
639
434
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
640
435
  localVarHeaderParameter['Content-Type'] = 'application/json';
436
+ localVarHeaderParameter['Accept'] = 'application/json';
641
437
  setSearchParams(localVarUrlObj, localVarQueryParameter);
642
438
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
643
439
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -653,7 +449,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
653
449
  * @param {*} [options] Override http request option.
654
450
  * @throws {RequiredError}
655
451
  */
656
- v1CreateImageSetImage: (v1CreateImageSetImageRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
452
+ v1CreateImageSetImage: (v1CreateImageSetImageRequest_1, ...args_1) => __awaiter(this, [v1CreateImageSetImageRequest_1, ...args_1], void 0, function* (v1CreateImageSetImageRequest, options = {}) {
657
453
  // verify required parameter 'v1CreateImageSetImageRequest' is not null or undefined
658
454
  assertParamExists('v1CreateImageSetImage', 'v1CreateImageSetImageRequest', v1CreateImageSetImageRequest);
659
455
  const localVarPath = `/v1/image-set-image`;
@@ -671,6 +467,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
671
467
  // http bearer authentication required
672
468
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
673
469
  localVarHeaderParameter['Content-Type'] = 'application/json';
470
+ localVarHeaderParameter['Accept'] = 'application/json';
674
471
  setSearchParams(localVarUrlObj, localVarQueryParameter);
675
472
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
676
473
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -686,7 +483,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
686
483
  * @param {*} [options] Override http request option.
687
484
  * @throws {RequiredError}
688
485
  */
689
- v1CreateNode: (v1CreateNodeRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
486
+ v1CreateNode: (v1CreateNodeRequest_1, ...args_1) => __awaiter(this, [v1CreateNodeRequest_1, ...args_1], void 0, function* (v1CreateNodeRequest, options = {}) {
690
487
  // verify required parameter 'v1CreateNodeRequest' is not null or undefined
691
488
  assertParamExists('v1CreateNode', 'v1CreateNodeRequest', v1CreateNodeRequest);
692
489
  const localVarPath = `/v1/node`;
@@ -704,6 +501,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
704
501
  // http bearer authentication required
705
502
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
706
503
  localVarHeaderParameter['Content-Type'] = 'application/json';
504
+ localVarHeaderParameter['Accept'] = 'application/json';
707
505
  setSearchParams(localVarUrlObj, localVarQueryParameter);
708
506
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
709
507
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -713,13 +511,47 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
713
511
  options: localVarRequestOptions,
714
512
  };
715
513
  }),
514
+ /**
515
+ * Create an optical train instance.
516
+ * @param {V1CreateOpticalTrainInstanceRequest} v1CreateOpticalTrainInstanceRequest
517
+ * @param {*} [options] Override http request option.
518
+ * @throws {RequiredError}
519
+ */
520
+ v1CreateOpticalTrainInstance: (v1CreateOpticalTrainInstanceRequest_1, ...args_1) => __awaiter(this, [v1CreateOpticalTrainInstanceRequest_1, ...args_1], void 0, function* (v1CreateOpticalTrainInstanceRequest, options = {}) {
521
+ // verify required parameter 'v1CreateOpticalTrainInstanceRequest' is not null or undefined
522
+ assertParamExists('v1CreateOpticalTrainInstance', 'v1CreateOpticalTrainInstanceRequest', v1CreateOpticalTrainInstanceRequest);
523
+ const localVarPath = `/v1/node/optical-train-instances`;
524
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
525
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
526
+ let baseOptions;
527
+ if (configuration) {
528
+ baseOptions = configuration.baseOptions;
529
+ }
530
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
531
+ const localVarHeaderParameter = {};
532
+ const localVarQueryParameter = {};
533
+ // authentication Roles required
534
+ // authentication BearerToken required
535
+ // http bearer authentication required
536
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
537
+ localVarHeaderParameter['Content-Type'] = 'application/json';
538
+ localVarHeaderParameter['Accept'] = 'application/json';
539
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
540
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
541
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
542
+ localVarRequestOptions.data = serializeDataIfNeeded(v1CreateOpticalTrainInstanceRequest, localVarRequestOptions, configuration);
543
+ return {
544
+ url: toPathString(localVarUrlObj),
545
+ options: localVarRequestOptions,
546
+ };
547
+ }),
716
548
  /**
717
549
  * Delete an astro project with all associated assets and images.
718
550
  * @param {string} astroProjectId
719
551
  * @param {*} [options] Override http request option.
720
552
  * @throws {RequiredError}
721
553
  */
722
- v1DeleteAstroProject: (astroProjectId, options = {}) => __awaiter(this, void 0, void 0, function* () {
554
+ v1DeleteAstroProject: (astroProjectId_1, ...args_1) => __awaiter(this, [astroProjectId_1, ...args_1], void 0, function* (astroProjectId, options = {}) {
723
555
  // verify required parameter 'astroProjectId' is not null or undefined
724
556
  assertParamExists('v1DeleteAstroProject', 'astroProjectId', astroProjectId);
725
557
  const localVarPath = `/v1/astro-project`;
@@ -739,6 +571,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
739
571
  if (astroProjectId !== undefined) {
740
572
  localVarQueryParameter['astroProjectId'] = astroProjectId;
741
573
  }
574
+ localVarHeaderParameter['Accept'] = 'application/json';
742
575
  setSearchParams(localVarUrlObj, localVarQueryParameter);
743
576
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
744
577
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -753,7 +586,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
753
586
  * @param {*} [options] Override http request option.
754
587
  * @throws {RequiredError}
755
588
  */
756
- v1DeleteCalibrationMaster: (calibrationMasterId, options = {}) => __awaiter(this, void 0, void 0, function* () {
589
+ v1DeleteCalibrationMaster: (calibrationMasterId_1, ...args_1) => __awaiter(this, [calibrationMasterId_1, ...args_1], void 0, function* (calibrationMasterId, options = {}) {
757
590
  // verify required parameter 'calibrationMasterId' is not null or undefined
758
591
  assertParamExists('v1DeleteCalibrationMaster', 'calibrationMasterId', calibrationMasterId);
759
592
  const localVarPath = `/v1/calibration-master`;
@@ -773,6 +606,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
773
606
  if (calibrationMasterId !== undefined) {
774
607
  localVarQueryParameter['calibrationMasterId'] = calibrationMasterId;
775
608
  }
609
+ localVarHeaderParameter['Accept'] = 'application/json';
776
610
  setSearchParams(localVarUrlObj, localVarQueryParameter);
777
611
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
778
612
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -787,7 +621,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
787
621
  * @param {*} [options] Override http request option.
788
622
  * @throws {RequiredError}
789
623
  */
790
- v1DeleteImageSet: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
624
+ v1DeleteImageSet: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
791
625
  // verify required parameter 'id' is not null or undefined
792
626
  assertParamExists('v1DeleteImageSet', 'id', id);
793
627
  const localVarPath = `/v1/image-set`;
@@ -807,6 +641,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
807
641
  if (id !== undefined) {
808
642
  localVarQueryParameter['id'] = id;
809
643
  }
644
+ localVarHeaderParameter['Accept'] = 'application/json';
810
645
  setSearchParams(localVarUrlObj, localVarQueryParameter);
811
646
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
812
647
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -821,7 +656,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
821
656
  * @param {*} [options] Override http request option.
822
657
  * @throws {RequiredError}
823
658
  */
824
- v1DeleteImageSetImage: (imageId, options = {}) => __awaiter(this, void 0, void 0, function* () {
659
+ v1DeleteImageSetImage: (imageId_1, ...args_1) => __awaiter(this, [imageId_1, ...args_1], void 0, function* (imageId, options = {}) {
825
660
  // verify required parameter 'imageId' is not null or undefined
826
661
  assertParamExists('v1DeleteImageSetImage', 'imageId', imageId);
827
662
  const localVarPath = `/v1/image-set-image`;
@@ -841,6 +676,42 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
841
676
  if (imageId !== undefined) {
842
677
  localVarQueryParameter['imageId'] = imageId;
843
678
  }
679
+ localVarHeaderParameter['Accept'] = 'application/json';
680
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
681
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
682
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
683
+ return {
684
+ url: toPathString(localVarUrlObj),
685
+ options: localVarRequestOptions,
686
+ };
687
+ }),
688
+ /**
689
+ * Delete an optical train instance.
690
+ * @param {string} id
691
+ * @param {*} [options] Override http request option.
692
+ * @throws {RequiredError}
693
+ */
694
+ v1DeleteOpticalTrainInstance: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
695
+ // verify required parameter 'id' is not null or undefined
696
+ assertParamExists('v1DeleteOpticalTrainInstance', 'id', id);
697
+ const localVarPath = `/v1/node/optical-train-instance`;
698
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
699
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
700
+ let baseOptions;
701
+ if (configuration) {
702
+ baseOptions = configuration.baseOptions;
703
+ }
704
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
705
+ const localVarHeaderParameter = {};
706
+ const localVarQueryParameter = {};
707
+ // authentication Roles required
708
+ // authentication BearerToken required
709
+ // http bearer authentication required
710
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
711
+ if (id !== undefined) {
712
+ localVarQueryParameter['id'] = id;
713
+ }
714
+ localVarHeaderParameter['Accept'] = 'application/json';
844
715
  setSearchParams(localVarUrlObj, localVarQueryParameter);
845
716
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
846
717
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -856,7 +727,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
856
727
  * @param {*} [options] Override http request option.
857
728
  * @throws {RequiredError}
858
729
  */
859
- v1FocuserMatch: (model, travelDistanceMm, options = {}) => __awaiter(this, void 0, void 0, function* () {
730
+ v1FocuserMatch: (model_1, travelDistanceMm_1, ...args_1) => __awaiter(this, [model_1, travelDistanceMm_1, ...args_1], void 0, function* (model, travelDistanceMm, options = {}) {
860
731
  const localVarPath = `/v1/focuser-match`;
861
732
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
862
733
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -877,6 +748,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
877
748
  if (travelDistanceMm !== undefined) {
878
749
  localVarQueryParameter['travelDistanceMm'] = travelDistanceMm;
879
750
  }
751
+ localVarHeaderParameter['Accept'] = 'application/json';
880
752
  setSearchParams(localVarUrlObj, localVarQueryParameter);
881
753
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
882
754
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -891,7 +763,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
891
763
  * @param {*} [options] Override http request option.
892
764
  * @throws {RequiredError}
893
765
  */
894
- v1GetAstroCamera: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
766
+ v1GetAstroCamera: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
895
767
  // verify required parameter 'id' is not null or undefined
896
768
  assertParamExists('v1GetAstroCamera', 'id', id);
897
769
  const localVarPath = `/v1/astro-camera`;
@@ -911,6 +783,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
911
783
  if (id !== undefined) {
912
784
  localVarQueryParameter['id'] = id;
913
785
  }
786
+ localVarHeaderParameter['Accept'] = 'application/json';
914
787
  setSearchParams(localVarUrlObj, localVarQueryParameter);
915
788
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
916
789
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -925,7 +798,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
925
798
  * @param {*} [options] Override http request option.
926
799
  * @throws {RequiredError}
927
800
  */
928
- v1GetAstroFocuser: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
801
+ v1GetAstroFocuser: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
929
802
  // verify required parameter 'id' is not null or undefined
930
803
  assertParamExists('v1GetAstroFocuser', 'id', id);
931
804
  const localVarPath = `/v1/astro-focuser`;
@@ -945,6 +818,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
945
818
  if (id !== undefined) {
946
819
  localVarQueryParameter['id'] = id;
947
820
  }
821
+ localVarHeaderParameter['Accept'] = 'application/json';
948
822
  setSearchParams(localVarUrlObj, localVarQueryParameter);
949
823
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
950
824
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -959,7 +833,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
959
833
  * @param {*} [options] Override http request option.
960
834
  * @throws {RequiredError}
961
835
  */
962
- v1GetAstroMount: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
836
+ v1GetAstroMount: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
963
837
  // verify required parameter 'id' is not null or undefined
964
838
  assertParamExists('v1GetAstroMount', 'id', id);
965
839
  const localVarPath = `/v1/astro-mount`;
@@ -979,6 +853,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
979
853
  if (id !== undefined) {
980
854
  localVarQueryParameter['id'] = id;
981
855
  }
856
+ localVarHeaderParameter['Accept'] = 'application/json';
982
857
  setSearchParams(localVarUrlObj, localVarQueryParameter);
983
858
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
984
859
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -993,7 +868,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
993
868
  * @param {*} [options] Override http request option.
994
869
  * @throws {RequiredError}
995
870
  */
996
- v1GetAstroOpticalTube: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
871
+ v1GetAstroOpticalTube: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
997
872
  // verify required parameter 'id' is not null or undefined
998
873
  assertParamExists('v1GetAstroOpticalTube', 'id', id);
999
874
  const localVarPath = `/v1/astro-optical-tube`;
@@ -1013,6 +888,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1013
888
  if (id !== undefined) {
1014
889
  localVarQueryParameter['id'] = id;
1015
890
  }
891
+ localVarHeaderParameter['Accept'] = 'application/json';
1016
892
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1017
893
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1018
894
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1026,7 +902,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1026
902
  * @param {*} [options] Override http request option.
1027
903
  * @throws {RequiredError}
1028
904
  */
1029
- v1GetAstroPlatformCreditBalance: (options = {}) => __awaiter(this, void 0, void 0, function* () {
905
+ v1GetAstroPlatformCreditBalance: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
1030
906
  const localVarPath = `/v1/astro-platform-credit-balance`;
1031
907
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1032
908
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1041,6 +917,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1041
917
  // authentication BearerToken required
1042
918
  // http bearer authentication required
1043
919
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
920
+ localVarHeaderParameter['Accept'] = 'application/json';
1044
921
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1045
922
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1046
923
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1055,7 +932,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1055
932
  * @param {*} [options] Override http request option.
1056
933
  * @throws {RequiredError}
1057
934
  */
1058
- v1GetAstroProject: (astroProjectId, options = {}) => __awaiter(this, void 0, void 0, function* () {
935
+ v1GetAstroProject: (astroProjectId_1, ...args_1) => __awaiter(this, [astroProjectId_1, ...args_1], void 0, function* (astroProjectId, options = {}) {
1059
936
  // verify required parameter 'astroProjectId' is not null or undefined
1060
937
  assertParamExists('v1GetAstroProject', 'astroProjectId', astroProjectId);
1061
938
  const localVarPath = `/v1/astro-project`;
@@ -1075,6 +952,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1075
952
  if (astroProjectId !== undefined) {
1076
953
  localVarQueryParameter['astroProjectId'] = astroProjectId;
1077
954
  }
955
+ localVarHeaderParameter['Accept'] = 'application/json';
1078
956
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1079
957
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1080
958
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1089,7 +967,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1089
967
  * @param {*} [options] Override http request option.
1090
968
  * @throws {RequiredError}
1091
969
  */
1092
- v1GetAstroProjectAssets: (astroProjectId, options = {}) => __awaiter(this, void 0, void 0, function* () {
970
+ v1GetAstroProjectAssets: (astroProjectId_1, ...args_1) => __awaiter(this, [astroProjectId_1, ...args_1], void 0, function* (astroProjectId, options = {}) {
1093
971
  // verify required parameter 'astroProjectId' is not null or undefined
1094
972
  assertParamExists('v1GetAstroProjectAssets', 'astroProjectId', astroProjectId);
1095
973
  const localVarPath = `/v1/astro-project-assets`;
@@ -1109,6 +987,42 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1109
987
  if (astroProjectId !== undefined) {
1110
988
  localVarQueryParameter['astroProjectId'] = astroProjectId;
1111
989
  }
990
+ localVarHeaderParameter['Accept'] = 'application/json';
991
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
992
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
993
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
994
+ return {
995
+ url: toPathString(localVarUrlObj),
996
+ options: localVarRequestOptions,
997
+ };
998
+ }),
999
+ /**
1000
+ * Get astro project job logs.
1001
+ * @param {string} astroProjectId
1002
+ * @param {*} [options] Override http request option.
1003
+ * @throws {RequiredError}
1004
+ */
1005
+ v1GetAstroProjectJobLogs: (astroProjectId_1, ...args_1) => __awaiter(this, [astroProjectId_1, ...args_1], void 0, function* (astroProjectId, options = {}) {
1006
+ // verify required parameter 'astroProjectId' is not null or undefined
1007
+ assertParamExists('v1GetAstroProjectJobLogs', 'astroProjectId', astroProjectId);
1008
+ const localVarPath = `/v1/job-logs`;
1009
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1010
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1011
+ let baseOptions;
1012
+ if (configuration) {
1013
+ baseOptions = configuration.baseOptions;
1014
+ }
1015
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1016
+ const localVarHeaderParameter = {};
1017
+ const localVarQueryParameter = {};
1018
+ // authentication Roles required
1019
+ // authentication BearerToken required
1020
+ // http bearer authentication required
1021
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1022
+ if (astroProjectId !== undefined) {
1023
+ localVarQueryParameter['astroProjectId'] = astroProjectId;
1024
+ }
1025
+ localVarHeaderParameter['Accept'] = 'application/json';
1112
1026
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1113
1027
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1114
1028
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1122,7 +1036,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1122
1036
  * @param {*} [options] Override http request option.
1123
1037
  * @throws {RequiredError}
1124
1038
  */
1125
- v1GetAstroProjects: (options = {}) => __awaiter(this, void 0, void 0, function* () {
1039
+ v1GetAstroProjects: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
1126
1040
  const localVarPath = `/v1/astro-projects`;
1127
1041
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1128
1042
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1137,6 +1051,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1137
1051
  // authentication BearerToken required
1138
1052
  // http bearer authentication required
1139
1053
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1054
+ localVarHeaderParameter['Accept'] = 'application/json';
1140
1055
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1141
1056
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1142
1057
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1153,7 +1068,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1153
1068
  * @param {*} [options] Override http request option.
1154
1069
  * @throws {RequiredError}
1155
1070
  */
1156
- v1GetAstroTarget: (id, ngcId, icId, options = {}) => __awaiter(this, void 0, void 0, function* () {
1071
+ v1GetAstroTarget: (id_1, ngcId_1, icId_1, ...args_1) => __awaiter(this, [id_1, ngcId_1, icId_1, ...args_1], void 0, function* (id, ngcId, icId, options = {}) {
1157
1072
  const localVarPath = `/v1/astro-target`;
1158
1073
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1159
1074
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1177,6 +1092,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1177
1092
  if (icId !== undefined) {
1178
1093
  localVarQueryParameter['icId'] = icId;
1179
1094
  }
1095
+ localVarHeaderParameter['Accept'] = 'application/json';
1180
1096
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1181
1097
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1182
1098
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1194,7 +1110,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1194
1110
  * @param {*} [options] Override http request option.
1195
1111
  * @throws {RequiredError}
1196
1112
  */
1197
- v1GetAstroTargets: (lastId, catalogId, ra, dec, options = {}) => __awaiter(this, void 0, void 0, function* () {
1113
+ v1GetAstroTargets: (lastId_1, catalogId_1, ra_1, dec_1, ...args_1) => __awaiter(this, [lastId_1, catalogId_1, ra_1, dec_1, ...args_1], void 0, function* (lastId, catalogId, ra, dec, options = {}) {
1198
1114
  const localVarPath = `/v1/astro-targets`;
1199
1115
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1200
1116
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1221,6 +1137,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1221
1137
  if (dec !== undefined) {
1222
1138
  localVarQueryParameter['dec'] = dec;
1223
1139
  }
1140
+ localVarHeaderParameter['Accept'] = 'application/json';
1224
1141
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1225
1142
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1226
1143
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1235,7 +1152,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1235
1152
  * @param {*} [options] Override http request option.
1236
1153
  * @throws {RequiredError}
1237
1154
  */
1238
- v1GetCalibrationMasters: (nodeId, options = {}) => __awaiter(this, void 0, void 0, function* () {
1155
+ v1GetCalibrationMasters: (nodeId_1, ...args_1) => __awaiter(this, [nodeId_1, ...args_1], void 0, function* (nodeId, options = {}) {
1239
1156
  // verify required parameter 'nodeId' is not null or undefined
1240
1157
  assertParamExists('v1GetCalibrationMasters', 'nodeId', nodeId);
1241
1158
  const localVarPath = `/v1/calibration-masters`;
@@ -1255,34 +1172,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1255
1172
  if (nodeId !== undefined) {
1256
1173
  localVarQueryParameter['nodeId'] = nodeId;
1257
1174
  }
1258
- setSearchParams(localVarUrlObj, localVarQueryParameter);
1259
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1260
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1261
- return {
1262
- url: toPathString(localVarUrlObj),
1263
- options: localVarRequestOptions,
1264
- };
1265
- }),
1266
- /**
1267
- * Get cameras.
1268
- * @param {*} [options] Override http request option.
1269
- * @throws {RequiredError}
1270
- */
1271
- v1GetCameras: (options = {}) => __awaiter(this, void 0, void 0, function* () {
1272
- const localVarPath = `/v1/cameras`;
1273
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
1274
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1275
- let baseOptions;
1276
- if (configuration) {
1277
- baseOptions = configuration.baseOptions;
1278
- }
1279
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1280
- const localVarHeaderParameter = {};
1281
- const localVarQueryParameter = {};
1282
- // authentication Roles required
1283
- // authentication BearerToken required
1284
- // http bearer authentication required
1285
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1175
+ localVarHeaderParameter['Accept'] = 'application/json';
1286
1176
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1287
1177
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1288
1178
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1297,7 +1187,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1297
1187
  * @param {*} [options] Override http request option.
1298
1188
  * @throws {RequiredError}
1299
1189
  */
1300
- v1GetImageSet: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
1190
+ v1GetImageSet: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
1301
1191
  // verify required parameter 'id' is not null or undefined
1302
1192
  assertParamExists('v1GetImageSet', 'id', id);
1303
1193
  const localVarPath = `/v1/image-set`;
@@ -1317,6 +1207,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1317
1207
  if (id !== undefined) {
1318
1208
  localVarQueryParameter['id'] = id;
1319
1209
  }
1210
+ localVarHeaderParameter['Accept'] = 'application/json';
1320
1211
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1321
1212
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1322
1213
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1331,7 +1222,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1331
1222
  * @param {*} [options] Override http request option.
1332
1223
  * @throws {RequiredError}
1333
1224
  */
1334
- v1GetImageSetImage: (imageId, options = {}) => __awaiter(this, void 0, void 0, function* () {
1225
+ v1GetImageSetImage: (imageId_1, ...args_1) => __awaiter(this, [imageId_1, ...args_1], void 0, function* (imageId, options = {}) {
1335
1226
  // verify required parameter 'imageId' is not null or undefined
1336
1227
  assertParamExists('v1GetImageSetImage', 'imageId', imageId);
1337
1228
  const localVarPath = `/v1/image-set-image`;
@@ -1351,6 +1242,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1351
1242
  if (imageId !== undefined) {
1352
1243
  localVarQueryParameter['imageId'] = imageId;
1353
1244
  }
1245
+ localVarHeaderParameter['Accept'] = 'application/json';
1354
1246
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1355
1247
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1356
1248
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1360,14 +1252,13 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1360
1252
  };
1361
1253
  }),
1362
1254
  /**
1363
- * Get image set images.
1364
- * @param {Array<string>} imageSets
1255
+ * Get image set images for an explicit list of image set ids. Star parties are owned by the edge controller, so the starPartyId param is not supported in the cloud API and returns 400 if provided; use the node-platform star party endpoints to resolve a party\'s image sets.
1256
+ * @param {Array<string>} [imageSets]
1257
+ * @param {string} [starPartyId]
1365
1258
  * @param {*} [options] Override http request option.
1366
1259
  * @throws {RequiredError}
1367
1260
  */
1368
- v1GetImageSetImages: (imageSets, options = {}) => __awaiter(this, void 0, void 0, function* () {
1369
- // verify required parameter 'imageSets' is not null or undefined
1370
- assertParamExists('v1GetImageSetImages', 'imageSets', imageSets);
1261
+ v1GetImageSetImages: (imageSets_1, starPartyId_1, ...args_1) => __awaiter(this, [imageSets_1, starPartyId_1, ...args_1], void 0, function* (imageSets, starPartyId, options = {}) {
1371
1262
  const localVarPath = `/v1/image-set-images`;
1372
1263
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1373
1264
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1385,6 +1276,10 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1385
1276
  if (imageSets) {
1386
1277
  localVarQueryParameter['imageSets'] = imageSets.join(COLLECTION_FORMATS.csv);
1387
1278
  }
1279
+ if (starPartyId !== undefined) {
1280
+ localVarQueryParameter['starPartyId'] = starPartyId;
1281
+ }
1282
+ localVarHeaderParameter['Accept'] = 'application/json';
1388
1283
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1389
1284
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1390
1285
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1394,11 +1289,12 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1394
1289
  };
1395
1290
  }),
1396
1291
  /**
1397
- * Get image sets.
1292
+ * Get image sets. Star parties are owned by the edge controller, so the starPartyId param is not supported in the cloud API and returns 400 if provided; use the node-platform star party endpoints to resolve a party\'s image sets.
1293
+ * @param {string} [starPartyId]
1398
1294
  * @param {*} [options] Override http request option.
1399
1295
  * @throws {RequiredError}
1400
1296
  */
1401
- v1GetImageSets: (options = {}) => __awaiter(this, void 0, void 0, function* () {
1297
+ v1GetImageSets: (starPartyId_1, ...args_1) => __awaiter(this, [starPartyId_1, ...args_1], void 0, function* (starPartyId, options = {}) {
1402
1298
  const localVarPath = `/v1/image-sets`;
1403
1299
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1404
1300
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1413,6 +1309,10 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1413
1309
  // authentication BearerToken required
1414
1310
  // http bearer authentication required
1415
1311
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1312
+ if (starPartyId !== undefined) {
1313
+ localVarQueryParameter['starPartyId'] = starPartyId;
1314
+ }
1315
+ localVarHeaderParameter['Accept'] = 'application/json';
1416
1316
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1417
1317
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1418
1318
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1422,15 +1322,14 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1422
1322
  };
1423
1323
  }),
1424
1324
  /**
1425
- * Get job logs.
1426
- * @param {string} astroProjectId
1325
+ * Get node by lineage id or node id.
1326
+ * @param {string} [lineageId]
1327
+ * @param {string} [nodeId]
1427
1328
  * @param {*} [options] Override http request option.
1428
1329
  * @throws {RequiredError}
1429
1330
  */
1430
- v1GetJobLogs: (astroProjectId, options = {}) => __awaiter(this, void 0, void 0, function* () {
1431
- // verify required parameter 'astroProjectId' is not null or undefined
1432
- assertParamExists('v1GetJobLogs', 'astroProjectId', astroProjectId);
1433
- const localVarPath = `/v1/job-logs`;
1331
+ v1GetNode: (lineageId_1, nodeId_1, ...args_1) => __awaiter(this, [lineageId_1, nodeId_1, ...args_1], void 0, function* (lineageId, nodeId, options = {}) {
1332
+ const localVarPath = `/v1/node`;
1434
1333
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1435
1334
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1436
1335
  let baseOptions;
@@ -1444,9 +1343,13 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1444
1343
  // authentication BearerToken required
1445
1344
  // http bearer authentication required
1446
1345
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1447
- if (astroProjectId !== undefined) {
1448
- localVarQueryParameter['astroProjectId'] = astroProjectId;
1346
+ if (lineageId !== undefined) {
1347
+ localVarQueryParameter['lineageId'] = lineageId;
1449
1348
  }
1349
+ if (nodeId !== undefined) {
1350
+ localVarQueryParameter['nodeId'] = nodeId;
1351
+ }
1352
+ localVarHeaderParameter['Accept'] = 'application/json';
1450
1353
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1451
1354
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1452
1355
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1456,14 +1359,12 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1456
1359
  };
1457
1360
  }),
1458
1361
  /**
1459
- * Get node by lineage id or node id.
1460
- * @param {string} [lineageId]
1461
- * @param {string} [nodeId]
1362
+ * Get nodes.
1462
1363
  * @param {*} [options] Override http request option.
1463
1364
  * @throws {RequiredError}
1464
1365
  */
1465
- v1GetNode: (lineageId, nodeId, options = {}) => __awaiter(this, void 0, void 0, function* () {
1466
- const localVarPath = `/v1/node`;
1366
+ v1GetNodes: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
1367
+ const localVarPath = `/v1/nodes`;
1467
1368
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1468
1369
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1469
1370
  let baseOptions;
@@ -1477,12 +1378,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1477
1378
  // authentication BearerToken required
1478
1379
  // http bearer authentication required
1479
1380
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1480
- if (lineageId !== undefined) {
1481
- localVarQueryParameter['lineageId'] = lineageId;
1482
- }
1483
- if (nodeId !== undefined) {
1484
- localVarQueryParameter['nodeId'] = nodeId;
1485
- }
1381
+ localVarHeaderParameter['Accept'] = 'application/json';
1486
1382
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1487
1383
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1488
1384
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1492,12 +1388,15 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1492
1388
  };
1493
1389
  }),
1494
1390
  /**
1495
- * Get nodes.
1391
+ * Get an optical train instance.
1392
+ * @param {string} id
1496
1393
  * @param {*} [options] Override http request option.
1497
1394
  * @throws {RequiredError}
1498
1395
  */
1499
- v1GetNodes: (options = {}) => __awaiter(this, void 0, void 0, function* () {
1500
- const localVarPath = `/v1/nodes`;
1396
+ v1GetOpticalTrainInstance: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
1397
+ // verify required parameter 'id' is not null or undefined
1398
+ assertParamExists('v1GetOpticalTrainInstance', 'id', id);
1399
+ const localVarPath = `/v1/node/optical-train-instance`;
1501
1400
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1502
1401
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1503
1402
  let baseOptions;
@@ -1511,6 +1410,10 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1511
1410
  // authentication BearerToken required
1512
1411
  // http bearer authentication required
1513
1412
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1413
+ if (id !== undefined) {
1414
+ localVarQueryParameter['id'] = id;
1415
+ }
1416
+ localVarHeaderParameter['Accept'] = 'application/json';
1514
1417
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1515
1418
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1516
1419
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1525,7 +1428,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1525
1428
  * @param {*} [options] Override http request option.
1526
1429
  * @throws {RequiredError}
1527
1430
  */
1528
- v1GetOrCreateCamera: (v1GetOrCreateCameraRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
1431
+ v1GetOrCreateCamera: (v1GetOrCreateCameraRequest_1, ...args_1) => __awaiter(this, [v1GetOrCreateCameraRequest_1, ...args_1], void 0, function* (v1GetOrCreateCameraRequest, options = {}) {
1529
1432
  // verify required parameter 'v1GetOrCreateCameraRequest' is not null or undefined
1530
1433
  assertParamExists('v1GetOrCreateCamera', 'v1GetOrCreateCameraRequest', v1GetOrCreateCameraRequest);
1531
1434
  const localVarPath = `/v1/camera-match`;
@@ -1543,6 +1446,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1543
1446
  // http bearer authentication required
1544
1447
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1545
1448
  localVarHeaderParameter['Content-Type'] = 'application/json';
1449
+ localVarHeaderParameter['Accept'] = 'application/json';
1546
1450
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1547
1451
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1548
1452
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1558,7 +1462,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1558
1462
  * @param {*} [options] Override http request option.
1559
1463
  * @throws {RequiredError}
1560
1464
  */
1561
- v1GetOrCreateFocuser: (v1GetOrCreateFocuserRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
1465
+ v1GetOrCreateFocuser: (v1GetOrCreateFocuserRequest_1, ...args_1) => __awaiter(this, [v1GetOrCreateFocuserRequest_1, ...args_1], void 0, function* (v1GetOrCreateFocuserRequest, options = {}) {
1562
1466
  // verify required parameter 'v1GetOrCreateFocuserRequest' is not null or undefined
1563
1467
  assertParamExists('v1GetOrCreateFocuser', 'v1GetOrCreateFocuserRequest', v1GetOrCreateFocuserRequest);
1564
1468
  const localVarPath = `/v1/focuser-match`;
@@ -1576,6 +1480,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1576
1480
  // http bearer authentication required
1577
1481
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1578
1482
  localVarHeaderParameter['Content-Type'] = 'application/json';
1483
+ localVarHeaderParameter['Accept'] = 'application/json';
1579
1484
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1580
1485
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1581
1486
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1591,7 +1496,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1591
1496
  * @param {*} [options] Override http request option.
1592
1497
  * @throws {RequiredError}
1593
1498
  */
1594
- v1GetOrCreateMount: (v1GetOrCreateMountRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
1499
+ v1GetOrCreateMount: (v1GetOrCreateMountRequest_1, ...args_1) => __awaiter(this, [v1GetOrCreateMountRequest_1, ...args_1], void 0, function* (v1GetOrCreateMountRequest, options = {}) {
1595
1500
  // verify required parameter 'v1GetOrCreateMountRequest' is not null or undefined
1596
1501
  assertParamExists('v1GetOrCreateMount', 'v1GetOrCreateMountRequest', v1GetOrCreateMountRequest);
1597
1502
  const localVarPath = `/v1/mount-match`;
@@ -1609,6 +1514,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1609
1514
  // http bearer authentication required
1610
1515
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1611
1516
  localVarHeaderParameter['Content-Type'] = 'application/json';
1517
+ localVarHeaderParameter['Accept'] = 'application/json';
1612
1518
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1613
1519
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1614
1520
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1624,7 +1530,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1624
1530
  * @param {*} [options] Override http request option.
1625
1531
  * @throws {RequiredError}
1626
1532
  */
1627
- v1GetOrCreateOpticalTube: (v1GetOrCreateOpticalTubeRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
1533
+ v1GetOrCreateOpticalTube: (v1GetOrCreateOpticalTubeRequest_1, ...args_1) => __awaiter(this, [v1GetOrCreateOpticalTubeRequest_1, ...args_1], void 0, function* (v1GetOrCreateOpticalTubeRequest, options = {}) {
1628
1534
  // verify required parameter 'v1GetOrCreateOpticalTubeRequest' is not null or undefined
1629
1535
  assertParamExists('v1GetOrCreateOpticalTube', 'v1GetOrCreateOpticalTubeRequest', v1GetOrCreateOpticalTubeRequest);
1630
1536
  const localVarPath = `/v1/optical-tube-match`;
@@ -1642,6 +1548,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1642
1548
  // http bearer authentication required
1643
1549
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1644
1550
  localVarHeaderParameter['Content-Type'] = 'application/json';
1551
+ localVarHeaderParameter['Accept'] = 'application/json';
1645
1552
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1646
1553
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1647
1554
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1656,7 +1563,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1656
1563
  * @param {*} [options] Override http request option.
1657
1564
  * @throws {RequiredError}
1658
1565
  */
1659
- v1GetPlatformCredits: (options = {}) => __awaiter(this, void 0, void 0, function* () {
1566
+ v1GetPlatformCredits: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
1660
1567
  const localVarPath = `/v1/platform-credits`;
1661
1568
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1662
1569
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1671,6 +1578,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1671
1578
  // authentication BearerToken required
1672
1579
  // http bearer authentication required
1673
1580
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1581
+ localVarHeaderParameter['Accept'] = 'application/json';
1674
1582
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1675
1583
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1676
1584
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1687,7 +1595,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1687
1595
  * @param {*} [options] Override http request option.
1688
1596
  * @throws {RequiredError}
1689
1597
  */
1690
- v1GetVisibleAstroTargets: (timestamp, nodeId, offset, options = {}) => __awaiter(this, void 0, void 0, function* () {
1598
+ v1GetVisibleAstroTargets: (timestamp_1, nodeId_1, offset_1, ...args_1) => __awaiter(this, [timestamp_1, nodeId_1, offset_1, ...args_1], void 0, function* (timestamp, nodeId, offset, options = {}) {
1691
1599
  // verify required parameter 'timestamp' is not null or undefined
1692
1600
  assertParamExists('v1GetVisibleAstroTargets', 'timestamp', timestamp);
1693
1601
  // verify required parameter 'nodeId' is not null or undefined
@@ -1717,6 +1625,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1717
1625
  if (nodeId !== undefined) {
1718
1626
  localVarQueryParameter['nodeId'] = nodeId;
1719
1627
  }
1628
+ localVarHeaderParameter['Accept'] = 'application/json';
1720
1629
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1721
1630
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1722
1631
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1732,7 +1641,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1732
1641
  * @param {*} [options] Override http request option.
1733
1642
  * @throws {RequiredError}
1734
1643
  */
1735
- v1GetWeather: (latitude, longitude, options = {}) => __awaiter(this, void 0, void 0, function* () {
1644
+ v1GetWeather: (latitude_1, longitude_1, ...args_1) => __awaiter(this, [latitude_1, longitude_1, ...args_1], void 0, function* (latitude, longitude, options = {}) {
1736
1645
  // verify required parameter 'latitude' is not null or undefined
1737
1646
  assertParamExists('v1GetWeather', 'latitude', latitude);
1738
1647
  // verify required parameter 'longitude' is not null or undefined
@@ -1757,6 +1666,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1757
1666
  if (longitude !== undefined) {
1758
1667
  localVarQueryParameter['longitude'] = longitude;
1759
1668
  }
1669
+ localVarHeaderParameter['Accept'] = 'application/json';
1760
1670
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1761
1671
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1762
1672
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1773,7 +1683,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1773
1683
  * @param {*} [options] Override http request option.
1774
1684
  * @throws {RequiredError}
1775
1685
  */
1776
- v1MatchAstroProject: (targetId, cameraId, otaId, options = {}) => __awaiter(this, void 0, void 0, function* () {
1686
+ v1MatchAstroProject: (targetId_1, cameraId_1, otaId_1, ...args_1) => __awaiter(this, [targetId_1, cameraId_1, otaId_1, ...args_1], void 0, function* (targetId, cameraId, otaId, options = {}) {
1777
1687
  // verify required parameter 'targetId' is not null or undefined
1778
1688
  assertParamExists('v1MatchAstroProject', 'targetId', targetId);
1779
1689
  // verify required parameter 'cameraId' is not null or undefined
@@ -1803,6 +1713,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1803
1713
  if (otaId !== undefined) {
1804
1714
  localVarQueryParameter['otaId'] = otaId;
1805
1715
  }
1716
+ localVarHeaderParameter['Accept'] = 'application/json';
1806
1717
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1807
1718
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1808
1719
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1817,7 +1728,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1817
1728
  * @param {*} [options] Override http request option.
1818
1729
  * @throws {RequiredError}
1819
1730
  */
1820
- v1MountMatch: (model, options = {}) => __awaiter(this, void 0, void 0, function* () {
1731
+ v1MountMatch: (model_1, ...args_1) => __awaiter(this, [model_1, ...args_1], void 0, function* (model, options = {}) {
1821
1732
  const localVarPath = `/v1/mount-match`;
1822
1733
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1823
1734
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1835,6 +1746,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1835
1746
  if (model !== undefined) {
1836
1747
  localVarQueryParameter['model'] = model;
1837
1748
  }
1749
+ localVarHeaderParameter['Accept'] = 'application/json';
1838
1750
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1839
1751
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1840
1752
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1848,10 +1760,11 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1848
1760
  * @param {string} [model]
1849
1761
  * @param {number} [focalLengthMm]
1850
1762
  * @param {number} [apertureMm]
1763
+ * @param {OpticalTubeType} [type]
1851
1764
  * @param {*} [options] Override http request option.
1852
1765
  * @throws {RequiredError}
1853
1766
  */
1854
- v1OpticalTubeMatch: (model, focalLengthMm, apertureMm, options = {}) => __awaiter(this, void 0, void 0, function* () {
1767
+ v1OpticalTubeMatch: (model_1, focalLengthMm_1, apertureMm_1, type_1, ...args_1) => __awaiter(this, [model_1, focalLengthMm_1, apertureMm_1, type_1, ...args_1], void 0, function* (model, focalLengthMm, apertureMm, type, options = {}) {
1855
1768
  const localVarPath = `/v1/optical-tube-match`;
1856
1769
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1857
1770
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1875,6 +1788,10 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1875
1788
  if (apertureMm !== undefined) {
1876
1789
  localVarQueryParameter['apertureMm'] = apertureMm;
1877
1790
  }
1791
+ if (type !== undefined) {
1792
+ localVarQueryParameter['type'] = type;
1793
+ }
1794
+ localVarHeaderParameter['Accept'] = 'application/json';
1878
1795
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1879
1796
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1880
1797
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1889,7 +1806,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1889
1806
  * @param {*} [options] Override http request option.
1890
1807
  * @throws {RequiredError}
1891
1808
  */
1892
- v1PutStackAstroProject: (v1PutStackAstroProjectRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
1809
+ v1PutStackAstroProject: (v1PutStackAstroProjectRequest_1, ...args_1) => __awaiter(this, [v1PutStackAstroProjectRequest_1, ...args_1], void 0, function* (v1PutStackAstroProjectRequest, options = {}) {
1893
1810
  // verify required parameter 'v1PutStackAstroProjectRequest' is not null or undefined
1894
1811
  assertParamExists('v1PutStackAstroProject', 'v1PutStackAstroProjectRequest', v1PutStackAstroProjectRequest);
1895
1812
  const localVarPath = `/v1/stack-astro-project`;
@@ -1907,6 +1824,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1907
1824
  // http bearer authentication required
1908
1825
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1909
1826
  localVarHeaderParameter['Content-Type'] = 'application/json';
1827
+ localVarHeaderParameter['Accept'] = 'application/json';
1910
1828
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1911
1829
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1912
1830
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1922,7 +1840,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1922
1840
  * @param {*} [options] Override http request option.
1923
1841
  * @throws {RequiredError}
1924
1842
  */
1925
- v1UpdateNode: (v1UpdateNodeRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
1843
+ v1UpdateNode: (v1UpdateNodeRequest_1, ...args_1) => __awaiter(this, [v1UpdateNodeRequest_1, ...args_1], void 0, function* (v1UpdateNodeRequest, options = {}) {
1926
1844
  // verify required parameter 'v1UpdateNodeRequest' is not null or undefined
1927
1845
  assertParamExists('v1UpdateNode', 'v1UpdateNodeRequest', v1UpdateNodeRequest);
1928
1846
  const localVarPath = `/v1/node`;
@@ -1940,6 +1858,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1940
1858
  // http bearer authentication required
1941
1859
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1942
1860
  localVarHeaderParameter['Content-Type'] = 'application/json';
1861
+ localVarHeaderParameter['Accept'] = 'application/json';
1943
1862
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1944
1863
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1945
1864
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1949,11 +1868,44 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
1949
1868
  options: localVarRequestOptions,
1950
1869
  };
1951
1870
  }),
1871
+ /**
1872
+ * Update a node.
1873
+ * @param {V2UpdateNodeRequest} v2UpdateNodeRequest
1874
+ * @param {*} [options] Override http request option.
1875
+ * @throws {RequiredError}
1876
+ */
1877
+ v2UpdateNode: (v2UpdateNodeRequest_1, ...args_1) => __awaiter(this, [v2UpdateNodeRequest_1, ...args_1], void 0, function* (v2UpdateNodeRequest, options = {}) {
1878
+ // verify required parameter 'v2UpdateNodeRequest' is not null or undefined
1879
+ assertParamExists('v2UpdateNode', 'v2UpdateNodeRequest', v2UpdateNodeRequest);
1880
+ const localVarPath = `/v2/node`;
1881
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1882
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1883
+ let baseOptions;
1884
+ if (configuration) {
1885
+ baseOptions = configuration.baseOptions;
1886
+ }
1887
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
1888
+ const localVarHeaderParameter = {};
1889
+ const localVarQueryParameter = {};
1890
+ // authentication Roles required
1891
+ // authentication BearerToken required
1892
+ // http bearer authentication required
1893
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1894
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1895
+ localVarHeaderParameter['Accept'] = 'application/json';
1896
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1897
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1898
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1899
+ localVarRequestOptions.data = serializeDataIfNeeded(v2UpdateNodeRequest, localVarRequestOptions, configuration);
1900
+ return {
1901
+ url: toPathString(localVarUrlObj),
1902
+ options: localVarRequestOptions,
1903
+ };
1904
+ }),
1952
1905
  };
1953
1906
  };
1954
1907
  /**
1955
1908
  * DefaultApi - functional programming interface
1956
- * @export
1957
1909
  */
1958
1910
  export const DefaultApiFp = function (configuration) {
1959
1911
  const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration);
@@ -1973,56 +1925,11 @@ export const DefaultApiFp = function (configuration) {
1973
1925
  */
1974
1926
  v1CameraMatch(model, pixelSizeMicrons, pixelsX, pixelsY, megapixels, chilled, adcBitDepth, isColor, options) {
1975
1927
  return __awaiter(this, void 0, void 0, function* () {
1928
+ var _a, _b, _c;
1976
1929
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CameraMatch(model, pixelSizeMicrons, pixelsX, pixelsY, megapixels, chilled, adcBitDepth, isColor, options);
1977
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1978
- });
1979
- },
1980
- /**
1981
- * Create an astro camera.
1982
- * @param {V1CreateCameraRequest} v1CreateCameraRequest
1983
- * @param {*} [options] Override http request option.
1984
- * @throws {RequiredError}
1985
- */
1986
- v1CreateAstroCamera(v1CreateCameraRequest, options) {
1987
- return __awaiter(this, void 0, void 0, function* () {
1988
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateAstroCamera(v1CreateCameraRequest, options);
1989
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1990
- });
1991
- },
1992
- /**
1993
- * Create an astro focuser.
1994
- * @param {V1CreateFocuserRequest} v1CreateFocuserRequest
1995
- * @param {*} [options] Override http request option.
1996
- * @throws {RequiredError}
1997
- */
1998
- v1CreateAstroFocuser(v1CreateFocuserRequest, options) {
1999
- return __awaiter(this, void 0, void 0, function* () {
2000
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateAstroFocuser(v1CreateFocuserRequest, options);
2001
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2002
- });
2003
- },
2004
- /**
2005
- * Create an astro mount.
2006
- * @param {V1CreateMountRequest} v1CreateMountRequest
2007
- * @param {*} [options] Override http request option.
2008
- * @throws {RequiredError}
2009
- */
2010
- v1CreateAstroMount(v1CreateMountRequest, options) {
2011
- return __awaiter(this, void 0, void 0, function* () {
2012
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateAstroMount(v1CreateMountRequest, options);
2013
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2014
- });
2015
- },
2016
- /**
2017
- * Create an astro optical tube.
2018
- * @param {V1CreateOpticalTubeRequest} v1CreateOpticalTubeRequest
2019
- * @param {*} [options] Override http request option.
2020
- * @throws {RequiredError}
2021
- */
2022
- v1CreateAstroOpticalTube(v1CreateOpticalTubeRequest, options) {
2023
- return __awaiter(this, void 0, void 0, function* () {
2024
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateAstroOpticalTube(v1CreateOpticalTubeRequest, options);
2025
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1930
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1931
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1CameraMatch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1932
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2026
1933
  });
2027
1934
  },
2028
1935
  /**
@@ -2033,8 +1940,11 @@ export const DefaultApiFp = function (configuration) {
2033
1940
  */
2034
1941
  v1CreateAstroProject(v1CreateAstroProjectRequest, options) {
2035
1942
  return __awaiter(this, void 0, void 0, function* () {
1943
+ var _a, _b, _c;
2036
1944
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateAstroProject(v1CreateAstroProjectRequest, options);
2037
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1945
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1946
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1CreateAstroProject']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1947
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2038
1948
  });
2039
1949
  },
2040
1950
  /**
@@ -2045,8 +1955,11 @@ export const DefaultApiFp = function (configuration) {
2045
1955
  */
2046
1956
  v1CreateAstroProjectImageSet(v1CreateAstroProjectImageSetRequest, options) {
2047
1957
  return __awaiter(this, void 0, void 0, function* () {
1958
+ var _a, _b, _c;
2048
1959
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateAstroProjectImageSet(v1CreateAstroProjectImageSetRequest, options);
2049
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1960
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1961
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1CreateAstroProjectImageSet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1962
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2050
1963
  });
2051
1964
  },
2052
1965
  /**
@@ -2057,8 +1970,11 @@ export const DefaultApiFp = function (configuration) {
2057
1970
  */
2058
1971
  v1CreateCalibrationMaster(v1CreateCalibrationMasterRequest, options) {
2059
1972
  return __awaiter(this, void 0, void 0, function* () {
1973
+ var _a, _b, _c;
2060
1974
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateCalibrationMaster(v1CreateCalibrationMasterRequest, options);
2061
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1975
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1976
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1CreateCalibrationMaster']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1977
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2062
1978
  });
2063
1979
  },
2064
1980
  /**
@@ -2069,8 +1985,11 @@ export const DefaultApiFp = function (configuration) {
2069
1985
  */
2070
1986
  v1CreateCalibrationSet(v1CreateCalibrationSetRequest, options) {
2071
1987
  return __awaiter(this, void 0, void 0, function* () {
1988
+ var _a, _b, _c;
2072
1989
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateCalibrationSet(v1CreateCalibrationSetRequest, options);
2073
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1990
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1991
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1CreateCalibrationSet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1992
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2074
1993
  });
2075
1994
  },
2076
1995
  /**
@@ -2081,8 +2000,11 @@ export const DefaultApiFp = function (configuration) {
2081
2000
  */
2082
2001
  v1CreateCalibrationSetImage(v1CreateCalibrationSetImageRequest, options) {
2083
2002
  return __awaiter(this, void 0, void 0, function* () {
2003
+ var _a, _b, _c;
2084
2004
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateCalibrationSetImage(v1CreateCalibrationSetImageRequest, options);
2085
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2005
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2006
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1CreateCalibrationSetImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2007
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2086
2008
  });
2087
2009
  },
2088
2010
  /**
@@ -2093,8 +2015,11 @@ export const DefaultApiFp = function (configuration) {
2093
2015
  */
2094
2016
  v1CreateImageSet(v1CreateImageSetRequest, options) {
2095
2017
  return __awaiter(this, void 0, void 0, function* () {
2018
+ var _a, _b, _c;
2096
2019
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateImageSet(v1CreateImageSetRequest, options);
2097
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2020
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2021
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1CreateImageSet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2022
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2098
2023
  });
2099
2024
  },
2100
2025
  /**
@@ -2105,8 +2030,11 @@ export const DefaultApiFp = function (configuration) {
2105
2030
  */
2106
2031
  v1CreateImageSetImage(v1CreateImageSetImageRequest, options) {
2107
2032
  return __awaiter(this, void 0, void 0, function* () {
2033
+ var _a, _b, _c;
2108
2034
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateImageSetImage(v1CreateImageSetImageRequest, options);
2109
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2035
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2036
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1CreateImageSetImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2037
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2110
2038
  });
2111
2039
  },
2112
2040
  /**
@@ -2117,8 +2045,26 @@ export const DefaultApiFp = function (configuration) {
2117
2045
  */
2118
2046
  v1CreateNode(v1CreateNodeRequest, options) {
2119
2047
  return __awaiter(this, void 0, void 0, function* () {
2048
+ var _a, _b, _c;
2120
2049
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateNode(v1CreateNodeRequest, options);
2121
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2050
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2051
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1CreateNode']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2052
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2053
+ });
2054
+ },
2055
+ /**
2056
+ * Create an optical train instance.
2057
+ * @param {V1CreateOpticalTrainInstanceRequest} v1CreateOpticalTrainInstanceRequest
2058
+ * @param {*} [options] Override http request option.
2059
+ * @throws {RequiredError}
2060
+ */
2061
+ v1CreateOpticalTrainInstance(v1CreateOpticalTrainInstanceRequest, options) {
2062
+ return __awaiter(this, void 0, void 0, function* () {
2063
+ var _a, _b, _c;
2064
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateOpticalTrainInstance(v1CreateOpticalTrainInstanceRequest, options);
2065
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2066
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1CreateOpticalTrainInstance']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2067
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2122
2068
  });
2123
2069
  },
2124
2070
  /**
@@ -2129,8 +2075,11 @@ export const DefaultApiFp = function (configuration) {
2129
2075
  */
2130
2076
  v1DeleteAstroProject(astroProjectId, options) {
2131
2077
  return __awaiter(this, void 0, void 0, function* () {
2078
+ var _a, _b, _c;
2132
2079
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1DeleteAstroProject(astroProjectId, options);
2133
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2080
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2081
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1DeleteAstroProject']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2082
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2134
2083
  });
2135
2084
  },
2136
2085
  /**
@@ -2141,8 +2090,11 @@ export const DefaultApiFp = function (configuration) {
2141
2090
  */
2142
2091
  v1DeleteCalibrationMaster(calibrationMasterId, options) {
2143
2092
  return __awaiter(this, void 0, void 0, function* () {
2093
+ var _a, _b, _c;
2144
2094
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1DeleteCalibrationMaster(calibrationMasterId, options);
2145
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2095
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2096
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1DeleteCalibrationMaster']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2097
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2146
2098
  });
2147
2099
  },
2148
2100
  /**
@@ -2153,8 +2105,11 @@ export const DefaultApiFp = function (configuration) {
2153
2105
  */
2154
2106
  v1DeleteImageSet(id, options) {
2155
2107
  return __awaiter(this, void 0, void 0, function* () {
2108
+ var _a, _b, _c;
2156
2109
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1DeleteImageSet(id, options);
2157
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2110
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2111
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1DeleteImageSet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2112
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2158
2113
  });
2159
2114
  },
2160
2115
  /**
@@ -2165,8 +2120,26 @@ export const DefaultApiFp = function (configuration) {
2165
2120
  */
2166
2121
  v1DeleteImageSetImage(imageId, options) {
2167
2122
  return __awaiter(this, void 0, void 0, function* () {
2123
+ var _a, _b, _c;
2168
2124
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1DeleteImageSetImage(imageId, options);
2169
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2125
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2126
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1DeleteImageSetImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2127
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2128
+ });
2129
+ },
2130
+ /**
2131
+ * Delete an optical train instance.
2132
+ * @param {string} id
2133
+ * @param {*} [options] Override http request option.
2134
+ * @throws {RequiredError}
2135
+ */
2136
+ v1DeleteOpticalTrainInstance(id, options) {
2137
+ return __awaiter(this, void 0, void 0, function* () {
2138
+ var _a, _b, _c;
2139
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1DeleteOpticalTrainInstance(id, options);
2140
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2141
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1DeleteOpticalTrainInstance']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2142
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2170
2143
  });
2171
2144
  },
2172
2145
  /**
@@ -2178,8 +2151,11 @@ export const DefaultApiFp = function (configuration) {
2178
2151
  */
2179
2152
  v1FocuserMatch(model, travelDistanceMm, options) {
2180
2153
  return __awaiter(this, void 0, void 0, function* () {
2154
+ var _a, _b, _c;
2181
2155
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1FocuserMatch(model, travelDistanceMm, options);
2182
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2156
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2157
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1FocuserMatch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2158
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2183
2159
  });
2184
2160
  },
2185
2161
  /**
@@ -2190,8 +2166,11 @@ export const DefaultApiFp = function (configuration) {
2190
2166
  */
2191
2167
  v1GetAstroCamera(id, options) {
2192
2168
  return __awaiter(this, void 0, void 0, function* () {
2169
+ var _a, _b, _c;
2193
2170
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetAstroCamera(id, options);
2194
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2171
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2172
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1GetAstroCamera']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2173
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2195
2174
  });
2196
2175
  },
2197
2176
  /**
@@ -2202,8 +2181,11 @@ export const DefaultApiFp = function (configuration) {
2202
2181
  */
2203
2182
  v1GetAstroFocuser(id, options) {
2204
2183
  return __awaiter(this, void 0, void 0, function* () {
2184
+ var _a, _b, _c;
2205
2185
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetAstroFocuser(id, options);
2206
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2186
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2187
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1GetAstroFocuser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2188
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2207
2189
  });
2208
2190
  },
2209
2191
  /**
@@ -2214,8 +2196,11 @@ export const DefaultApiFp = function (configuration) {
2214
2196
  */
2215
2197
  v1GetAstroMount(id, options) {
2216
2198
  return __awaiter(this, void 0, void 0, function* () {
2199
+ var _a, _b, _c;
2217
2200
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetAstroMount(id, options);
2218
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2201
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2202
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1GetAstroMount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2203
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2219
2204
  });
2220
2205
  },
2221
2206
  /**
@@ -2226,8 +2211,11 @@ export const DefaultApiFp = function (configuration) {
2226
2211
  */
2227
2212
  v1GetAstroOpticalTube(id, options) {
2228
2213
  return __awaiter(this, void 0, void 0, function* () {
2214
+ var _a, _b, _c;
2229
2215
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetAstroOpticalTube(id, options);
2230
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2216
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2217
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1GetAstroOpticalTube']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2218
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2231
2219
  });
2232
2220
  },
2233
2221
  /**
@@ -2237,8 +2225,11 @@ export const DefaultApiFp = function (configuration) {
2237
2225
  */
2238
2226
  v1GetAstroPlatformCreditBalance(options) {
2239
2227
  return __awaiter(this, void 0, void 0, function* () {
2228
+ var _a, _b, _c;
2240
2229
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetAstroPlatformCreditBalance(options);
2241
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2230
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2231
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1GetAstroPlatformCreditBalance']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2232
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2242
2233
  });
2243
2234
  },
2244
2235
  /**
@@ -2249,8 +2240,11 @@ export const DefaultApiFp = function (configuration) {
2249
2240
  */
2250
2241
  v1GetAstroProject(astroProjectId, options) {
2251
2242
  return __awaiter(this, void 0, void 0, function* () {
2243
+ var _a, _b, _c;
2252
2244
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetAstroProject(astroProjectId, options);
2253
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2245
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2246
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1GetAstroProject']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2247
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2254
2248
  });
2255
2249
  },
2256
2250
  /**
@@ -2261,8 +2255,26 @@ export const DefaultApiFp = function (configuration) {
2261
2255
  */
2262
2256
  v1GetAstroProjectAssets(astroProjectId, options) {
2263
2257
  return __awaiter(this, void 0, void 0, function* () {
2258
+ var _a, _b, _c;
2264
2259
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetAstroProjectAssets(astroProjectId, options);
2265
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2260
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2261
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1GetAstroProjectAssets']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2262
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2263
+ });
2264
+ },
2265
+ /**
2266
+ * Get astro project job logs.
2267
+ * @param {string} astroProjectId
2268
+ * @param {*} [options] Override http request option.
2269
+ * @throws {RequiredError}
2270
+ */
2271
+ v1GetAstroProjectJobLogs(astroProjectId, options) {
2272
+ return __awaiter(this, void 0, void 0, function* () {
2273
+ var _a, _b, _c;
2274
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetAstroProjectJobLogs(astroProjectId, options);
2275
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2276
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1GetAstroProjectJobLogs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2277
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2266
2278
  });
2267
2279
  },
2268
2280
  /**
@@ -2272,8 +2284,11 @@ export const DefaultApiFp = function (configuration) {
2272
2284
  */
2273
2285
  v1GetAstroProjects(options) {
2274
2286
  return __awaiter(this, void 0, void 0, function* () {
2287
+ var _a, _b, _c;
2275
2288
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetAstroProjects(options);
2276
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2289
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2290
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1GetAstroProjects']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2291
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2277
2292
  });
2278
2293
  },
2279
2294
  /**
@@ -2286,8 +2301,11 @@ export const DefaultApiFp = function (configuration) {
2286
2301
  */
2287
2302
  v1GetAstroTarget(id, ngcId, icId, options) {
2288
2303
  return __awaiter(this, void 0, void 0, function* () {
2304
+ var _a, _b, _c;
2289
2305
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetAstroTarget(id, ngcId, icId, options);
2290
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2306
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2307
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1GetAstroTarget']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2308
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2291
2309
  });
2292
2310
  },
2293
2311
  /**
@@ -2301,8 +2319,11 @@ export const DefaultApiFp = function (configuration) {
2301
2319
  */
2302
2320
  v1GetAstroTargets(lastId, catalogId, ra, dec, options) {
2303
2321
  return __awaiter(this, void 0, void 0, function* () {
2322
+ var _a, _b, _c;
2304
2323
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetAstroTargets(lastId, catalogId, ra, dec, options);
2305
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2324
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2325
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1GetAstroTargets']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2326
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2306
2327
  });
2307
2328
  },
2308
2329
  /**
@@ -2313,19 +2334,11 @@ export const DefaultApiFp = function (configuration) {
2313
2334
  */
2314
2335
  v1GetCalibrationMasters(nodeId, options) {
2315
2336
  return __awaiter(this, void 0, void 0, function* () {
2337
+ var _a, _b, _c;
2316
2338
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetCalibrationMasters(nodeId, options);
2317
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2318
- });
2319
- },
2320
- /**
2321
- * Get cameras.
2322
- * @param {*} [options] Override http request option.
2323
- * @throws {RequiredError}
2324
- */
2325
- v1GetCameras(options) {
2326
- return __awaiter(this, void 0, void 0, function* () {
2327
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetCameras(options);
2328
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2339
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2340
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1GetCalibrationMasters']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2341
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2329
2342
  });
2330
2343
  },
2331
2344
  /**
@@ -2336,8 +2349,11 @@ export const DefaultApiFp = function (configuration) {
2336
2349
  */
2337
2350
  v1GetImageSet(id, options) {
2338
2351
  return __awaiter(this, void 0, void 0, function* () {
2352
+ var _a, _b, _c;
2339
2353
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetImageSet(id, options);
2340
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2354
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2355
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1GetImageSet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2356
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2341
2357
  });
2342
2358
  },
2343
2359
  /**
@@ -2348,43 +2364,42 @@ export const DefaultApiFp = function (configuration) {
2348
2364
  */
2349
2365
  v1GetImageSetImage(imageId, options) {
2350
2366
  return __awaiter(this, void 0, void 0, function* () {
2367
+ var _a, _b, _c;
2351
2368
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetImageSetImage(imageId, options);
2352
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2369
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2370
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1GetImageSetImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2371
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2353
2372
  });
2354
2373
  },
2355
2374
  /**
2356
- * Get image set images.
2357
- * @param {Array<string>} imageSets
2375
+ * Get image set images for an explicit list of image set ids. Star parties are owned by the edge controller, so the starPartyId param is not supported in the cloud API and returns 400 if provided; use the node-platform star party endpoints to resolve a party\'s image sets.
2376
+ * @param {Array<string>} [imageSets]
2377
+ * @param {string} [starPartyId]
2358
2378
  * @param {*} [options] Override http request option.
2359
2379
  * @throws {RequiredError}
2360
2380
  */
2361
- v1GetImageSetImages(imageSets, options) {
2381
+ v1GetImageSetImages(imageSets, starPartyId, options) {
2362
2382
  return __awaiter(this, void 0, void 0, function* () {
2363
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetImageSetImages(imageSets, options);
2364
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2383
+ var _a, _b, _c;
2384
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetImageSetImages(imageSets, starPartyId, options);
2385
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2386
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1GetImageSetImages']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2387
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2365
2388
  });
2366
2389
  },
2367
2390
  /**
2368
- * Get image sets.
2369
- * @param {*} [options] Override http request option.
2370
- * @throws {RequiredError}
2371
- */
2372
- v1GetImageSets(options) {
2373
- return __awaiter(this, void 0, void 0, function* () {
2374
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetImageSets(options);
2375
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2376
- });
2377
- },
2378
- /**
2379
- * Get job logs.
2380
- * @param {string} astroProjectId
2391
+ * Get image sets. Star parties are owned by the edge controller, so the starPartyId param is not supported in the cloud API and returns 400 if provided; use the node-platform star party endpoints to resolve a party\'s image sets.
2392
+ * @param {string} [starPartyId]
2381
2393
  * @param {*} [options] Override http request option.
2382
2394
  * @throws {RequiredError}
2383
2395
  */
2384
- v1GetJobLogs(astroProjectId, options) {
2396
+ v1GetImageSets(starPartyId, options) {
2385
2397
  return __awaiter(this, void 0, void 0, function* () {
2386
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetJobLogs(astroProjectId, options);
2387
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2398
+ var _a, _b, _c;
2399
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetImageSets(starPartyId, options);
2400
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2401
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1GetImageSets']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2402
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2388
2403
  });
2389
2404
  },
2390
2405
  /**
@@ -2396,8 +2411,11 @@ export const DefaultApiFp = function (configuration) {
2396
2411
  */
2397
2412
  v1GetNode(lineageId, nodeId, options) {
2398
2413
  return __awaiter(this, void 0, void 0, function* () {
2414
+ var _a, _b, _c;
2399
2415
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetNode(lineageId, nodeId, options);
2400
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2416
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2417
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1GetNode']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2418
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2401
2419
  });
2402
2420
  },
2403
2421
  /**
@@ -2407,8 +2425,26 @@ export const DefaultApiFp = function (configuration) {
2407
2425
  */
2408
2426
  v1GetNodes(options) {
2409
2427
  return __awaiter(this, void 0, void 0, function* () {
2428
+ var _a, _b, _c;
2410
2429
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetNodes(options);
2411
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2430
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2431
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1GetNodes']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2432
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2433
+ });
2434
+ },
2435
+ /**
2436
+ * Get an optical train instance.
2437
+ * @param {string} id
2438
+ * @param {*} [options] Override http request option.
2439
+ * @throws {RequiredError}
2440
+ */
2441
+ v1GetOpticalTrainInstance(id, options) {
2442
+ return __awaiter(this, void 0, void 0, function* () {
2443
+ var _a, _b, _c;
2444
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetOpticalTrainInstance(id, options);
2445
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2446
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1GetOpticalTrainInstance']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2447
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2412
2448
  });
2413
2449
  },
2414
2450
  /**
@@ -2419,8 +2455,11 @@ export const DefaultApiFp = function (configuration) {
2419
2455
  */
2420
2456
  v1GetOrCreateCamera(v1GetOrCreateCameraRequest, options) {
2421
2457
  return __awaiter(this, void 0, void 0, function* () {
2458
+ var _a, _b, _c;
2422
2459
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetOrCreateCamera(v1GetOrCreateCameraRequest, options);
2423
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2460
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2461
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1GetOrCreateCamera']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2462
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2424
2463
  });
2425
2464
  },
2426
2465
  /**
@@ -2431,8 +2470,11 @@ export const DefaultApiFp = function (configuration) {
2431
2470
  */
2432
2471
  v1GetOrCreateFocuser(v1GetOrCreateFocuserRequest, options) {
2433
2472
  return __awaiter(this, void 0, void 0, function* () {
2473
+ var _a, _b, _c;
2434
2474
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetOrCreateFocuser(v1GetOrCreateFocuserRequest, options);
2435
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2475
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2476
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1GetOrCreateFocuser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2477
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2436
2478
  });
2437
2479
  },
2438
2480
  /**
@@ -2443,8 +2485,11 @@ export const DefaultApiFp = function (configuration) {
2443
2485
  */
2444
2486
  v1GetOrCreateMount(v1GetOrCreateMountRequest, options) {
2445
2487
  return __awaiter(this, void 0, void 0, function* () {
2488
+ var _a, _b, _c;
2446
2489
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetOrCreateMount(v1GetOrCreateMountRequest, options);
2447
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2490
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2491
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1GetOrCreateMount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2492
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2448
2493
  });
2449
2494
  },
2450
2495
  /**
@@ -2455,8 +2500,11 @@ export const DefaultApiFp = function (configuration) {
2455
2500
  */
2456
2501
  v1GetOrCreateOpticalTube(v1GetOrCreateOpticalTubeRequest, options) {
2457
2502
  return __awaiter(this, void 0, void 0, function* () {
2503
+ var _a, _b, _c;
2458
2504
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetOrCreateOpticalTube(v1GetOrCreateOpticalTubeRequest, options);
2459
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2505
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2506
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1GetOrCreateOpticalTube']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2507
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2460
2508
  });
2461
2509
  },
2462
2510
  /**
@@ -2466,8 +2514,11 @@ export const DefaultApiFp = function (configuration) {
2466
2514
  */
2467
2515
  v1GetPlatformCredits(options) {
2468
2516
  return __awaiter(this, void 0, void 0, function* () {
2517
+ var _a, _b, _c;
2469
2518
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetPlatformCredits(options);
2470
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2519
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2520
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1GetPlatformCredits']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2521
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2471
2522
  });
2472
2523
  },
2473
2524
  /**
@@ -2480,8 +2531,11 @@ export const DefaultApiFp = function (configuration) {
2480
2531
  */
2481
2532
  v1GetVisibleAstroTargets(timestamp, nodeId, offset, options) {
2482
2533
  return __awaiter(this, void 0, void 0, function* () {
2534
+ var _a, _b, _c;
2483
2535
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetVisibleAstroTargets(timestamp, nodeId, offset, options);
2484
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2536
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2537
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1GetVisibleAstroTargets']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2538
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2485
2539
  });
2486
2540
  },
2487
2541
  /**
@@ -2493,8 +2547,11 @@ export const DefaultApiFp = function (configuration) {
2493
2547
  */
2494
2548
  v1GetWeather(latitude, longitude, options) {
2495
2549
  return __awaiter(this, void 0, void 0, function* () {
2550
+ var _a, _b, _c;
2496
2551
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetWeather(latitude, longitude, options);
2497
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2552
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2553
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1GetWeather']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2554
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2498
2555
  });
2499
2556
  },
2500
2557
  /**
@@ -2507,8 +2564,11 @@ export const DefaultApiFp = function (configuration) {
2507
2564
  */
2508
2565
  v1MatchAstroProject(targetId, cameraId, otaId, options) {
2509
2566
  return __awaiter(this, void 0, void 0, function* () {
2567
+ var _a, _b, _c;
2510
2568
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1MatchAstroProject(targetId, cameraId, otaId, options);
2511
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2569
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2570
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1MatchAstroProject']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2571
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2512
2572
  });
2513
2573
  },
2514
2574
  /**
@@ -2519,8 +2579,11 @@ export const DefaultApiFp = function (configuration) {
2519
2579
  */
2520
2580
  v1MountMatch(model, options) {
2521
2581
  return __awaiter(this, void 0, void 0, function* () {
2582
+ var _a, _b, _c;
2522
2583
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1MountMatch(model, options);
2523
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2584
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2585
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1MountMatch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2586
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2524
2587
  });
2525
2588
  },
2526
2589
  /**
@@ -2528,13 +2591,17 @@ export const DefaultApiFp = function (configuration) {
2528
2591
  * @param {string} [model]
2529
2592
  * @param {number} [focalLengthMm]
2530
2593
  * @param {number} [apertureMm]
2594
+ * @param {OpticalTubeType} [type]
2531
2595
  * @param {*} [options] Override http request option.
2532
2596
  * @throws {RequiredError}
2533
2597
  */
2534
- v1OpticalTubeMatch(model, focalLengthMm, apertureMm, options) {
2598
+ v1OpticalTubeMatch(model, focalLengthMm, apertureMm, type, options) {
2535
2599
  return __awaiter(this, void 0, void 0, function* () {
2536
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1OpticalTubeMatch(model, focalLengthMm, apertureMm, options);
2537
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2600
+ var _a, _b, _c;
2601
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1OpticalTubeMatch(model, focalLengthMm, apertureMm, type, options);
2602
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2603
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1OpticalTubeMatch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2604
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2538
2605
  });
2539
2606
  },
2540
2607
  /**
@@ -2545,8 +2612,11 @@ export const DefaultApiFp = function (configuration) {
2545
2612
  */
2546
2613
  v1PutStackAstroProject(v1PutStackAstroProjectRequest, options) {
2547
2614
  return __awaiter(this, void 0, void 0, function* () {
2615
+ var _a, _b, _c;
2548
2616
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1PutStackAstroProject(v1PutStackAstroProjectRequest, options);
2549
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2617
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2618
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1PutStackAstroProject']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2619
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2550
2620
  });
2551
2621
  },
2552
2622
  /**
@@ -2557,15 +2627,32 @@ export const DefaultApiFp = function (configuration) {
2557
2627
  */
2558
2628
  v1UpdateNode(v1UpdateNodeRequest, options) {
2559
2629
  return __awaiter(this, void 0, void 0, function* () {
2630
+ var _a, _b, _c;
2560
2631
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1UpdateNode(v1UpdateNodeRequest, options);
2561
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2632
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2633
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v1UpdateNode']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2634
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2635
+ });
2636
+ },
2637
+ /**
2638
+ * Update a node.
2639
+ * @param {V2UpdateNodeRequest} v2UpdateNodeRequest
2640
+ * @param {*} [options] Override http request option.
2641
+ * @throws {RequiredError}
2642
+ */
2643
+ v2UpdateNode(v2UpdateNodeRequest, options) {
2644
+ return __awaiter(this, void 0, void 0, function* () {
2645
+ var _a, _b, _c;
2646
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v2UpdateNode(v2UpdateNodeRequest, options);
2647
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2648
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.v2UpdateNode']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2649
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2562
2650
  });
2563
2651
  },
2564
2652
  };
2565
2653
  };
2566
2654
  /**
2567
2655
  * DefaultApi - factory interface
2568
- * @export
2569
2656
  */
2570
2657
  export const DefaultApiFactory = function (configuration, basePath, axios) {
2571
2658
  const localVarFp = DefaultApiFp(configuration);
@@ -2579,42 +2666,6 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
2579
2666
  v1CameraMatch(requestParameters = {}, options) {
2580
2667
  return localVarFp.v1CameraMatch(requestParameters.model, requestParameters.pixelSizeMicrons, requestParameters.pixelsX, requestParameters.pixelsY, requestParameters.megapixels, requestParameters.chilled, requestParameters.adcBitDepth, requestParameters.isColor, options).then((request) => request(axios, basePath));
2581
2668
  },
2582
- /**
2583
- * Create an astro camera.
2584
- * @param {DefaultApiV1CreateAstroCameraRequest} requestParameters Request parameters.
2585
- * @param {*} [options] Override http request option.
2586
- * @throws {RequiredError}
2587
- */
2588
- v1CreateAstroCamera(requestParameters, options) {
2589
- return localVarFp.v1CreateAstroCamera(requestParameters.v1CreateCameraRequest, options).then((request) => request(axios, basePath));
2590
- },
2591
- /**
2592
- * Create an astro focuser.
2593
- * @param {DefaultApiV1CreateAstroFocuserRequest} requestParameters Request parameters.
2594
- * @param {*} [options] Override http request option.
2595
- * @throws {RequiredError}
2596
- */
2597
- v1CreateAstroFocuser(requestParameters, options) {
2598
- return localVarFp.v1CreateAstroFocuser(requestParameters.v1CreateFocuserRequest, options).then((request) => request(axios, basePath));
2599
- },
2600
- /**
2601
- * Create an astro mount.
2602
- * @param {DefaultApiV1CreateAstroMountRequest} requestParameters Request parameters.
2603
- * @param {*} [options] Override http request option.
2604
- * @throws {RequiredError}
2605
- */
2606
- v1CreateAstroMount(requestParameters, options) {
2607
- return localVarFp.v1CreateAstroMount(requestParameters.v1CreateMountRequest, options).then((request) => request(axios, basePath));
2608
- },
2609
- /**
2610
- * Create an astro optical tube.
2611
- * @param {DefaultApiV1CreateAstroOpticalTubeRequest} requestParameters Request parameters.
2612
- * @param {*} [options] Override http request option.
2613
- * @throws {RequiredError}
2614
- */
2615
- v1CreateAstroOpticalTube(requestParameters, options) {
2616
- return localVarFp.v1CreateAstroOpticalTube(requestParameters.v1CreateOpticalTubeRequest, options).then((request) => request(axios, basePath));
2617
- },
2618
2669
  /**
2619
2670
  * Create an astro project.
2620
2671
  * @param {DefaultApiV1CreateAstroProjectRequest} requestParameters Request parameters.
@@ -2687,6 +2738,15 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
2687
2738
  v1CreateNode(requestParameters, options) {
2688
2739
  return localVarFp.v1CreateNode(requestParameters.v1CreateNodeRequest, options).then((request) => request(axios, basePath));
2689
2740
  },
2741
+ /**
2742
+ * Create an optical train instance.
2743
+ * @param {DefaultApiV1CreateOpticalTrainInstanceRequest} requestParameters Request parameters.
2744
+ * @param {*} [options] Override http request option.
2745
+ * @throws {RequiredError}
2746
+ */
2747
+ v1CreateOpticalTrainInstance(requestParameters, options) {
2748
+ return localVarFp.v1CreateOpticalTrainInstance(requestParameters.v1CreateOpticalTrainInstanceRequest, options).then((request) => request(axios, basePath));
2749
+ },
2690
2750
  /**
2691
2751
  * Delete an astro project with all associated assets and images.
2692
2752
  * @param {DefaultApiV1DeleteAstroProjectRequest} requestParameters Request parameters.
@@ -2723,6 +2783,15 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
2723
2783
  v1DeleteImageSetImage(requestParameters, options) {
2724
2784
  return localVarFp.v1DeleteImageSetImage(requestParameters.imageId, options).then((request) => request(axios, basePath));
2725
2785
  },
2786
+ /**
2787
+ * Delete an optical train instance.
2788
+ * @param {DefaultApiV1DeleteOpticalTrainInstanceRequest} requestParameters Request parameters.
2789
+ * @param {*} [options] Override http request option.
2790
+ * @throws {RequiredError}
2791
+ */
2792
+ v1DeleteOpticalTrainInstance(requestParameters, options) {
2793
+ return localVarFp.v1DeleteOpticalTrainInstance(requestParameters.id, options).then((request) => request(axios, basePath));
2794
+ },
2726
2795
  /**
2727
2796
  * Match focuser.
2728
2797
  * @param {DefaultApiV1FocuserMatchRequest} requestParameters Request parameters.
@@ -2794,6 +2863,15 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
2794
2863
  v1GetAstroProjectAssets(requestParameters, options) {
2795
2864
  return localVarFp.v1GetAstroProjectAssets(requestParameters.astroProjectId, options).then((request) => request(axios, basePath));
2796
2865
  },
2866
+ /**
2867
+ * Get astro project job logs.
2868
+ * @param {DefaultApiV1GetAstroProjectJobLogsRequest} requestParameters Request parameters.
2869
+ * @param {*} [options] Override http request option.
2870
+ * @throws {RequiredError}
2871
+ */
2872
+ v1GetAstroProjectJobLogs(requestParameters, options) {
2873
+ return localVarFp.v1GetAstroProjectJobLogs(requestParameters.astroProjectId, options).then((request) => request(axios, basePath));
2874
+ },
2797
2875
  /**
2798
2876
  * Get astro projects.
2799
2877
  * @param {*} [options] Override http request option.
@@ -2829,14 +2907,6 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
2829
2907
  v1GetCalibrationMasters(requestParameters, options) {
2830
2908
  return localVarFp.v1GetCalibrationMasters(requestParameters.nodeId, options).then((request) => request(axios, basePath));
2831
2909
  },
2832
- /**
2833
- * Get cameras.
2834
- * @param {*} [options] Override http request option.
2835
- * @throws {RequiredError}
2836
- */
2837
- v1GetCameras(options) {
2838
- return localVarFp.v1GetCameras(options).then((request) => request(axios, basePath));
2839
- },
2840
2910
  /**
2841
2911
  * Get an image set.
2842
2912
  * @param {DefaultApiV1GetImageSetRequest} requestParameters Request parameters.
@@ -2856,30 +2926,22 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
2856
2926
  return localVarFp.v1GetImageSetImage(requestParameters.imageId, options).then((request) => request(axios, basePath));
2857
2927
  },
2858
2928
  /**
2859
- * Get image set images.
2929
+ * Get image set images for an explicit list of image set ids. Star parties are owned by the edge controller, so the starPartyId param is not supported in the cloud API and returns 400 if provided; use the node-platform star party endpoints to resolve a party\'s image sets.
2860
2930
  * @param {DefaultApiV1GetImageSetImagesRequest} requestParameters Request parameters.
2861
2931
  * @param {*} [options] Override http request option.
2862
2932
  * @throws {RequiredError}
2863
2933
  */
2864
- v1GetImageSetImages(requestParameters, options) {
2865
- return localVarFp.v1GetImageSetImages(requestParameters.imageSets, options).then((request) => request(axios, basePath));
2934
+ v1GetImageSetImages(requestParameters = {}, options) {
2935
+ return localVarFp.v1GetImageSetImages(requestParameters.imageSets, requestParameters.starPartyId, options).then((request) => request(axios, basePath));
2866
2936
  },
2867
2937
  /**
2868
- * Get image sets.
2938
+ * Get image sets. Star parties are owned by the edge controller, so the starPartyId param is not supported in the cloud API and returns 400 if provided; use the node-platform star party endpoints to resolve a party\'s image sets.
2939
+ * @param {DefaultApiV1GetImageSetsRequest} requestParameters Request parameters.
2869
2940
  * @param {*} [options] Override http request option.
2870
2941
  * @throws {RequiredError}
2871
2942
  */
2872
- v1GetImageSets(options) {
2873
- return localVarFp.v1GetImageSets(options).then((request) => request(axios, basePath));
2874
- },
2875
- /**
2876
- * Get job logs.
2877
- * @param {DefaultApiV1GetJobLogsRequest} requestParameters Request parameters.
2878
- * @param {*} [options] Override http request option.
2879
- * @throws {RequiredError}
2880
- */
2881
- v1GetJobLogs(requestParameters, options) {
2882
- return localVarFp.v1GetJobLogs(requestParameters.astroProjectId, options).then((request) => request(axios, basePath));
2943
+ v1GetImageSets(requestParameters = {}, options) {
2944
+ return localVarFp.v1GetImageSets(requestParameters.starPartyId, options).then((request) => request(axios, basePath));
2883
2945
  },
2884
2946
  /**
2885
2947
  * Get node by lineage id or node id.
@@ -2898,6 +2960,15 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
2898
2960
  v1GetNodes(options) {
2899
2961
  return localVarFp.v1GetNodes(options).then((request) => request(axios, basePath));
2900
2962
  },
2963
+ /**
2964
+ * Get an optical train instance.
2965
+ * @param {DefaultApiV1GetOpticalTrainInstanceRequest} requestParameters Request parameters.
2966
+ * @param {*} [options] Override http request option.
2967
+ * @throws {RequiredError}
2968
+ */
2969
+ v1GetOpticalTrainInstance(requestParameters, options) {
2970
+ return localVarFp.v1GetOpticalTrainInstance(requestParameters.id, options).then((request) => request(axios, basePath));
2971
+ },
2901
2972
  /**
2902
2973
  * Get or create camera.
2903
2974
  * @param {DefaultApiV1GetOrCreateCameraRequest} requestParameters Request parameters.
@@ -2985,7 +3056,7 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
2985
3056
  * @throws {RequiredError}
2986
3057
  */
2987
3058
  v1OpticalTubeMatch(requestParameters = {}, options) {
2988
- return localVarFp.v1OpticalTubeMatch(requestParameters.model, requestParameters.focalLengthMm, requestParameters.apertureMm, options).then((request) => request(axios, basePath));
3059
+ return localVarFp.v1OpticalTubeMatch(requestParameters.model, requestParameters.focalLengthMm, requestParameters.apertureMm, requestParameters.type, options).then((request) => request(axios, basePath));
2989
3060
  },
2990
3061
  /**
2991
3062
  * Stack an astro project.
@@ -3005,13 +3076,19 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
3005
3076
  v1UpdateNode(requestParameters, options) {
3006
3077
  return localVarFp.v1UpdateNode(requestParameters.v1UpdateNodeRequest, options).then((request) => request(axios, basePath));
3007
3078
  },
3079
+ /**
3080
+ * Update a node.
3081
+ * @param {DefaultApiV2UpdateNodeRequest} requestParameters Request parameters.
3082
+ * @param {*} [options] Override http request option.
3083
+ * @throws {RequiredError}
3084
+ */
3085
+ v2UpdateNode(requestParameters, options) {
3086
+ return localVarFp.v2UpdateNode(requestParameters.v2UpdateNodeRequest, options).then((request) => request(axios, basePath));
3087
+ },
3008
3088
  };
3009
3089
  };
3010
3090
  /**
3011
3091
  * DefaultApi - object-oriented interface
3012
- * @export
3013
- * @class DefaultApi
3014
- * @extends {BaseAPI}
3015
3092
  */
3016
3093
  export class DefaultApi extends BaseAPI {
3017
3094
  /**
@@ -3019,57 +3096,15 @@ export class DefaultApi extends BaseAPI {
3019
3096
  * @param {DefaultApiV1CameraMatchRequest} requestParameters Request parameters.
3020
3097
  * @param {*} [options] Override http request option.
3021
3098
  * @throws {RequiredError}
3022
- * @memberof DefaultApi
3023
3099
  */
3024
3100
  v1CameraMatch(requestParameters = {}, options) {
3025
3101
  return DefaultApiFp(this.configuration).v1CameraMatch(requestParameters.model, requestParameters.pixelSizeMicrons, requestParameters.pixelsX, requestParameters.pixelsY, requestParameters.megapixels, requestParameters.chilled, requestParameters.adcBitDepth, requestParameters.isColor, options).then((request) => request(this.axios, this.basePath));
3026
3102
  }
3027
- /**
3028
- * Create an astro camera.
3029
- * @param {DefaultApiV1CreateAstroCameraRequest} requestParameters Request parameters.
3030
- * @param {*} [options] Override http request option.
3031
- * @throws {RequiredError}
3032
- * @memberof DefaultApi
3033
- */
3034
- v1CreateAstroCamera(requestParameters, options) {
3035
- return DefaultApiFp(this.configuration).v1CreateAstroCamera(requestParameters.v1CreateCameraRequest, options).then((request) => request(this.axios, this.basePath));
3036
- }
3037
- /**
3038
- * Create an astro focuser.
3039
- * @param {DefaultApiV1CreateAstroFocuserRequest} requestParameters Request parameters.
3040
- * @param {*} [options] Override http request option.
3041
- * @throws {RequiredError}
3042
- * @memberof DefaultApi
3043
- */
3044
- v1CreateAstroFocuser(requestParameters, options) {
3045
- return DefaultApiFp(this.configuration).v1CreateAstroFocuser(requestParameters.v1CreateFocuserRequest, options).then((request) => request(this.axios, this.basePath));
3046
- }
3047
- /**
3048
- * Create an astro mount.
3049
- * @param {DefaultApiV1CreateAstroMountRequest} requestParameters Request parameters.
3050
- * @param {*} [options] Override http request option.
3051
- * @throws {RequiredError}
3052
- * @memberof DefaultApi
3053
- */
3054
- v1CreateAstroMount(requestParameters, options) {
3055
- return DefaultApiFp(this.configuration).v1CreateAstroMount(requestParameters.v1CreateMountRequest, options).then((request) => request(this.axios, this.basePath));
3056
- }
3057
- /**
3058
- * Create an astro optical tube.
3059
- * @param {DefaultApiV1CreateAstroOpticalTubeRequest} requestParameters Request parameters.
3060
- * @param {*} [options] Override http request option.
3061
- * @throws {RequiredError}
3062
- * @memberof DefaultApi
3063
- */
3064
- v1CreateAstroOpticalTube(requestParameters, options) {
3065
- return DefaultApiFp(this.configuration).v1CreateAstroOpticalTube(requestParameters.v1CreateOpticalTubeRequest, options).then((request) => request(this.axios, this.basePath));
3066
- }
3067
3103
  /**
3068
3104
  * Create an astro project.
3069
3105
  * @param {DefaultApiV1CreateAstroProjectRequest} requestParameters Request parameters.
3070
3106
  * @param {*} [options] Override http request option.
3071
3107
  * @throws {RequiredError}
3072
- * @memberof DefaultApi
3073
3108
  */
3074
3109
  v1CreateAstroProject(requestParameters, options) {
3075
3110
  return DefaultApiFp(this.configuration).v1CreateAstroProject(requestParameters.v1CreateAstroProjectRequest, options).then((request) => request(this.axios, this.basePath));
@@ -3079,7 +3114,6 @@ export class DefaultApi extends BaseAPI {
3079
3114
  * @param {DefaultApiV1CreateAstroProjectImageSetRequest} requestParameters Request parameters.
3080
3115
  * @param {*} [options] Override http request option.
3081
3116
  * @throws {RequiredError}
3082
- * @memberof DefaultApi
3083
3117
  */
3084
3118
  v1CreateAstroProjectImageSet(requestParameters, options) {
3085
3119
  return DefaultApiFp(this.configuration).v1CreateAstroProjectImageSet(requestParameters.v1CreateAstroProjectImageSetRequest, options).then((request) => request(this.axios, this.basePath));
@@ -3089,7 +3123,6 @@ export class DefaultApi extends BaseAPI {
3089
3123
  * @param {DefaultApiV1CreateCalibrationMasterRequest} requestParameters Request parameters.
3090
3124
  * @param {*} [options] Override http request option.
3091
3125
  * @throws {RequiredError}
3092
- * @memberof DefaultApi
3093
3126
  */
3094
3127
  v1CreateCalibrationMaster(requestParameters, options) {
3095
3128
  return DefaultApiFp(this.configuration).v1CreateCalibrationMaster(requestParameters.v1CreateCalibrationMasterRequest, options).then((request) => request(this.axios, this.basePath));
@@ -3099,7 +3132,6 @@ export class DefaultApi extends BaseAPI {
3099
3132
  * @param {DefaultApiV1CreateCalibrationSetRequest} requestParameters Request parameters.
3100
3133
  * @param {*} [options] Override http request option.
3101
3134
  * @throws {RequiredError}
3102
- * @memberof DefaultApi
3103
3135
  */
3104
3136
  v1CreateCalibrationSet(requestParameters, options) {
3105
3137
  return DefaultApiFp(this.configuration).v1CreateCalibrationSet(requestParameters.v1CreateCalibrationSetRequest, options).then((request) => request(this.axios, this.basePath));
@@ -3109,7 +3141,6 @@ export class DefaultApi extends BaseAPI {
3109
3141
  * @param {DefaultApiV1CreateCalibrationSetImageRequest} requestParameters Request parameters.
3110
3142
  * @param {*} [options] Override http request option.
3111
3143
  * @throws {RequiredError}
3112
- * @memberof DefaultApi
3113
3144
  */
3114
3145
  v1CreateCalibrationSetImage(requestParameters, options) {
3115
3146
  return DefaultApiFp(this.configuration).v1CreateCalibrationSetImage(requestParameters.v1CreateCalibrationSetImageRequest, options).then((request) => request(this.axios, this.basePath));
@@ -3119,7 +3150,6 @@ export class DefaultApi extends BaseAPI {
3119
3150
  * @param {DefaultApiV1CreateImageSetRequest} requestParameters Request parameters.
3120
3151
  * @param {*} [options] Override http request option.
3121
3152
  * @throws {RequiredError}
3122
- * @memberof DefaultApi
3123
3153
  */
3124
3154
  v1CreateImageSet(requestParameters, options) {
3125
3155
  return DefaultApiFp(this.configuration).v1CreateImageSet(requestParameters.v1CreateImageSetRequest, options).then((request) => request(this.axios, this.basePath));
@@ -3129,7 +3159,6 @@ export class DefaultApi extends BaseAPI {
3129
3159
  * @param {DefaultApiV1CreateImageSetImageRequest} requestParameters Request parameters.
3130
3160
  * @param {*} [options] Override http request option.
3131
3161
  * @throws {RequiredError}
3132
- * @memberof DefaultApi
3133
3162
  */
3134
3163
  v1CreateImageSetImage(requestParameters, options) {
3135
3164
  return DefaultApiFp(this.configuration).v1CreateImageSetImage(requestParameters.v1CreateImageSetImageRequest, options).then((request) => request(this.axios, this.basePath));
@@ -3139,17 +3168,24 @@ export class DefaultApi extends BaseAPI {
3139
3168
  * @param {DefaultApiV1CreateNodeRequest} requestParameters Request parameters.
3140
3169
  * @param {*} [options] Override http request option.
3141
3170
  * @throws {RequiredError}
3142
- * @memberof DefaultApi
3143
3171
  */
3144
3172
  v1CreateNode(requestParameters, options) {
3145
3173
  return DefaultApiFp(this.configuration).v1CreateNode(requestParameters.v1CreateNodeRequest, options).then((request) => request(this.axios, this.basePath));
3146
3174
  }
3175
+ /**
3176
+ * Create an optical train instance.
3177
+ * @param {DefaultApiV1CreateOpticalTrainInstanceRequest} requestParameters Request parameters.
3178
+ * @param {*} [options] Override http request option.
3179
+ * @throws {RequiredError}
3180
+ */
3181
+ v1CreateOpticalTrainInstance(requestParameters, options) {
3182
+ return DefaultApiFp(this.configuration).v1CreateOpticalTrainInstance(requestParameters.v1CreateOpticalTrainInstanceRequest, options).then((request) => request(this.axios, this.basePath));
3183
+ }
3147
3184
  /**
3148
3185
  * Delete an astro project with all associated assets and images.
3149
3186
  * @param {DefaultApiV1DeleteAstroProjectRequest} requestParameters Request parameters.
3150
3187
  * @param {*} [options] Override http request option.
3151
3188
  * @throws {RequiredError}
3152
- * @memberof DefaultApi
3153
3189
  */
3154
3190
  v1DeleteAstroProject(requestParameters, options) {
3155
3191
  return DefaultApiFp(this.configuration).v1DeleteAstroProject(requestParameters.astroProjectId, options).then((request) => request(this.axios, this.basePath));
@@ -3159,7 +3195,6 @@ export class DefaultApi extends BaseAPI {
3159
3195
  * @param {DefaultApiV1DeleteCalibrationMasterRequest} requestParameters Request parameters.
3160
3196
  * @param {*} [options] Override http request option.
3161
3197
  * @throws {RequiredError}
3162
- * @memberof DefaultApi
3163
3198
  */
3164
3199
  v1DeleteCalibrationMaster(requestParameters, options) {
3165
3200
  return DefaultApiFp(this.configuration).v1DeleteCalibrationMaster(requestParameters.calibrationMasterId, options).then((request) => request(this.axios, this.basePath));
@@ -3169,7 +3204,6 @@ export class DefaultApi extends BaseAPI {
3169
3204
  * @param {DefaultApiV1DeleteImageSetRequest} requestParameters Request parameters.
3170
3205
  * @param {*} [options] Override http request option.
3171
3206
  * @throws {RequiredError}
3172
- * @memberof DefaultApi
3173
3207
  */
3174
3208
  v1DeleteImageSet(requestParameters, options) {
3175
3209
  return DefaultApiFp(this.configuration).v1DeleteImageSet(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
@@ -3179,17 +3213,24 @@ export class DefaultApi extends BaseAPI {
3179
3213
  * @param {DefaultApiV1DeleteImageSetImageRequest} requestParameters Request parameters.
3180
3214
  * @param {*} [options] Override http request option.
3181
3215
  * @throws {RequiredError}
3182
- * @memberof DefaultApi
3183
3216
  */
3184
3217
  v1DeleteImageSetImage(requestParameters, options) {
3185
3218
  return DefaultApiFp(this.configuration).v1DeleteImageSetImage(requestParameters.imageId, options).then((request) => request(this.axios, this.basePath));
3186
3219
  }
3220
+ /**
3221
+ * Delete an optical train instance.
3222
+ * @param {DefaultApiV1DeleteOpticalTrainInstanceRequest} requestParameters Request parameters.
3223
+ * @param {*} [options] Override http request option.
3224
+ * @throws {RequiredError}
3225
+ */
3226
+ v1DeleteOpticalTrainInstance(requestParameters, options) {
3227
+ return DefaultApiFp(this.configuration).v1DeleteOpticalTrainInstance(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
3228
+ }
3187
3229
  /**
3188
3230
  * Match focuser.
3189
3231
  * @param {DefaultApiV1FocuserMatchRequest} requestParameters Request parameters.
3190
3232
  * @param {*} [options] Override http request option.
3191
3233
  * @throws {RequiredError}
3192
- * @memberof DefaultApi
3193
3234
  */
3194
3235
  v1FocuserMatch(requestParameters = {}, options) {
3195
3236
  return DefaultApiFp(this.configuration).v1FocuserMatch(requestParameters.model, requestParameters.travelDistanceMm, options).then((request) => request(this.axios, this.basePath));
@@ -3199,7 +3240,6 @@ export class DefaultApi extends BaseAPI {
3199
3240
  * @param {DefaultApiV1GetAstroCameraRequest} requestParameters Request parameters.
3200
3241
  * @param {*} [options] Override http request option.
3201
3242
  * @throws {RequiredError}
3202
- * @memberof DefaultApi
3203
3243
  */
3204
3244
  v1GetAstroCamera(requestParameters, options) {
3205
3245
  return DefaultApiFp(this.configuration).v1GetAstroCamera(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
@@ -3209,7 +3249,6 @@ export class DefaultApi extends BaseAPI {
3209
3249
  * @param {DefaultApiV1GetAstroFocuserRequest} requestParameters Request parameters.
3210
3250
  * @param {*} [options] Override http request option.
3211
3251
  * @throws {RequiredError}
3212
- * @memberof DefaultApi
3213
3252
  */
3214
3253
  v1GetAstroFocuser(requestParameters, options) {
3215
3254
  return DefaultApiFp(this.configuration).v1GetAstroFocuser(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
@@ -3219,7 +3258,6 @@ export class DefaultApi extends BaseAPI {
3219
3258
  * @param {DefaultApiV1GetAstroMountRequest} requestParameters Request parameters.
3220
3259
  * @param {*} [options] Override http request option.
3221
3260
  * @throws {RequiredError}
3222
- * @memberof DefaultApi
3223
3261
  */
3224
3262
  v1GetAstroMount(requestParameters, options) {
3225
3263
  return DefaultApiFp(this.configuration).v1GetAstroMount(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
@@ -3229,7 +3267,6 @@ export class DefaultApi extends BaseAPI {
3229
3267
  * @param {DefaultApiV1GetAstroOpticalTubeRequest} requestParameters Request parameters.
3230
3268
  * @param {*} [options] Override http request option.
3231
3269
  * @throws {RequiredError}
3232
- * @memberof DefaultApi
3233
3270
  */
3234
3271
  v1GetAstroOpticalTube(requestParameters, options) {
3235
3272
  return DefaultApiFp(this.configuration).v1GetAstroOpticalTube(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
@@ -3238,7 +3275,6 @@ export class DefaultApi extends BaseAPI {
3238
3275
  * Get astro platform credit balance.
3239
3276
  * @param {*} [options] Override http request option.
3240
3277
  * @throws {RequiredError}
3241
- * @memberof DefaultApi
3242
3278
  */
3243
3279
  v1GetAstroPlatformCreditBalance(options) {
3244
3280
  return DefaultApiFp(this.configuration).v1GetAstroPlatformCreditBalance(options).then((request) => request(this.axios, this.basePath));
@@ -3248,7 +3284,6 @@ export class DefaultApi extends BaseAPI {
3248
3284
  * @param {DefaultApiV1GetAstroProjectRequest} requestParameters Request parameters.
3249
3285
  * @param {*} [options] Override http request option.
3250
3286
  * @throws {RequiredError}
3251
- * @memberof DefaultApi
3252
3287
  */
3253
3288
  v1GetAstroProject(requestParameters, options) {
3254
3289
  return DefaultApiFp(this.configuration).v1GetAstroProject(requestParameters.astroProjectId, options).then((request) => request(this.axios, this.basePath));
@@ -3258,16 +3293,23 @@ export class DefaultApi extends BaseAPI {
3258
3293
  * @param {DefaultApiV1GetAstroProjectAssetsRequest} requestParameters Request parameters.
3259
3294
  * @param {*} [options] Override http request option.
3260
3295
  * @throws {RequiredError}
3261
- * @memberof DefaultApi
3262
3296
  */
3263
3297
  v1GetAstroProjectAssets(requestParameters, options) {
3264
3298
  return DefaultApiFp(this.configuration).v1GetAstroProjectAssets(requestParameters.astroProjectId, options).then((request) => request(this.axios, this.basePath));
3265
3299
  }
3300
+ /**
3301
+ * Get astro project job logs.
3302
+ * @param {DefaultApiV1GetAstroProjectJobLogsRequest} requestParameters Request parameters.
3303
+ * @param {*} [options] Override http request option.
3304
+ * @throws {RequiredError}
3305
+ */
3306
+ v1GetAstroProjectJobLogs(requestParameters, options) {
3307
+ return DefaultApiFp(this.configuration).v1GetAstroProjectJobLogs(requestParameters.astroProjectId, options).then((request) => request(this.axios, this.basePath));
3308
+ }
3266
3309
  /**
3267
3310
  * Get astro projects.
3268
3311
  * @param {*} [options] Override http request option.
3269
3312
  * @throws {RequiredError}
3270
- * @memberof DefaultApi
3271
3313
  */
3272
3314
  v1GetAstroProjects(options) {
3273
3315
  return DefaultApiFp(this.configuration).v1GetAstroProjects(options).then((request) => request(this.axios, this.basePath));
@@ -3277,7 +3319,6 @@ export class DefaultApi extends BaseAPI {
3277
3319
  * @param {DefaultApiV1GetAstroTargetRequest} requestParameters Request parameters.
3278
3320
  * @param {*} [options] Override http request option.
3279
3321
  * @throws {RequiredError}
3280
- * @memberof DefaultApi
3281
3322
  */
3282
3323
  v1GetAstroTarget(requestParameters = {}, options) {
3283
3324
  return DefaultApiFp(this.configuration).v1GetAstroTarget(requestParameters.id, requestParameters.ngcId, requestParameters.icId, options).then((request) => request(this.axios, this.basePath));
@@ -3287,7 +3328,6 @@ export class DefaultApi extends BaseAPI {
3287
3328
  * @param {DefaultApiV1GetAstroTargetsRequest} requestParameters Request parameters.
3288
3329
  * @param {*} [options] Override http request option.
3289
3330
  * @throws {RequiredError}
3290
- * @memberof DefaultApi
3291
3331
  */
3292
3332
  v1GetAstroTargets(requestParameters = {}, options) {
3293
3333
  return DefaultApiFp(this.configuration).v1GetAstroTargets(requestParameters.lastId, requestParameters.catalogId, requestParameters.ra, requestParameters.dec, options).then((request) => request(this.axios, this.basePath));
@@ -3297,26 +3337,15 @@ export class DefaultApi extends BaseAPI {
3297
3337
  * @param {DefaultApiV1GetCalibrationMastersRequest} requestParameters Request parameters.
3298
3338
  * @param {*} [options] Override http request option.
3299
3339
  * @throws {RequiredError}
3300
- * @memberof DefaultApi
3301
3340
  */
3302
3341
  v1GetCalibrationMasters(requestParameters, options) {
3303
3342
  return DefaultApiFp(this.configuration).v1GetCalibrationMasters(requestParameters.nodeId, options).then((request) => request(this.axios, this.basePath));
3304
3343
  }
3305
- /**
3306
- * Get cameras.
3307
- * @param {*} [options] Override http request option.
3308
- * @throws {RequiredError}
3309
- * @memberof DefaultApi
3310
- */
3311
- v1GetCameras(options) {
3312
- return DefaultApiFp(this.configuration).v1GetCameras(options).then((request) => request(this.axios, this.basePath));
3313
- }
3314
3344
  /**
3315
3345
  * Get an image set.
3316
3346
  * @param {DefaultApiV1GetImageSetRequest} requestParameters Request parameters.
3317
3347
  * @param {*} [options] Override http request option.
3318
3348
  * @throws {RequiredError}
3319
- * @memberof DefaultApi
3320
3349
  */
3321
3350
  v1GetImageSet(requestParameters, options) {
3322
3351
  return DefaultApiFp(this.configuration).v1GetImageSet(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
@@ -3326,46 +3355,33 @@ export class DefaultApi extends BaseAPI {
3326
3355
  * @param {DefaultApiV1GetImageSetImageRequest} requestParameters Request parameters.
3327
3356
  * @param {*} [options] Override http request option.
3328
3357
  * @throws {RequiredError}
3329
- * @memberof DefaultApi
3330
3358
  */
3331
3359
  v1GetImageSetImage(requestParameters, options) {
3332
3360
  return DefaultApiFp(this.configuration).v1GetImageSetImage(requestParameters.imageId, options).then((request) => request(this.axios, this.basePath));
3333
3361
  }
3334
3362
  /**
3335
- * Get image set images.
3363
+ * Get image set images for an explicit list of image set ids. Star parties are owned by the edge controller, so the starPartyId param is not supported in the cloud API and returns 400 if provided; use the node-platform star party endpoints to resolve a party\'s image sets.
3336
3364
  * @param {DefaultApiV1GetImageSetImagesRequest} requestParameters Request parameters.
3337
3365
  * @param {*} [options] Override http request option.
3338
3366
  * @throws {RequiredError}
3339
- * @memberof DefaultApi
3340
3367
  */
3341
- v1GetImageSetImages(requestParameters, options) {
3342
- return DefaultApiFp(this.configuration).v1GetImageSetImages(requestParameters.imageSets, options).then((request) => request(this.axios, this.basePath));
3368
+ v1GetImageSetImages(requestParameters = {}, options) {
3369
+ return DefaultApiFp(this.configuration).v1GetImageSetImages(requestParameters.imageSets, requestParameters.starPartyId, options).then((request) => request(this.axios, this.basePath));
3343
3370
  }
3344
3371
  /**
3345
- * Get image sets.
3372
+ * Get image sets. Star parties are owned by the edge controller, so the starPartyId param is not supported in the cloud API and returns 400 if provided; use the node-platform star party endpoints to resolve a party\'s image sets.
3373
+ * @param {DefaultApiV1GetImageSetsRequest} requestParameters Request parameters.
3346
3374
  * @param {*} [options] Override http request option.
3347
3375
  * @throws {RequiredError}
3348
- * @memberof DefaultApi
3349
3376
  */
3350
- v1GetImageSets(options) {
3351
- return DefaultApiFp(this.configuration).v1GetImageSets(options).then((request) => request(this.axios, this.basePath));
3352
- }
3353
- /**
3354
- * Get job logs.
3355
- * @param {DefaultApiV1GetJobLogsRequest} requestParameters Request parameters.
3356
- * @param {*} [options] Override http request option.
3357
- * @throws {RequiredError}
3358
- * @memberof DefaultApi
3359
- */
3360
- v1GetJobLogs(requestParameters, options) {
3361
- return DefaultApiFp(this.configuration).v1GetJobLogs(requestParameters.astroProjectId, options).then((request) => request(this.axios, this.basePath));
3377
+ v1GetImageSets(requestParameters = {}, options) {
3378
+ return DefaultApiFp(this.configuration).v1GetImageSets(requestParameters.starPartyId, options).then((request) => request(this.axios, this.basePath));
3362
3379
  }
3363
3380
  /**
3364
3381
  * Get node by lineage id or node id.
3365
3382
  * @param {DefaultApiV1GetNodeRequest} requestParameters Request parameters.
3366
3383
  * @param {*} [options] Override http request option.
3367
3384
  * @throws {RequiredError}
3368
- * @memberof DefaultApi
3369
3385
  */
3370
3386
  v1GetNode(requestParameters = {}, options) {
3371
3387
  return DefaultApiFp(this.configuration).v1GetNode(requestParameters.lineageId, requestParameters.nodeId, options).then((request) => request(this.axios, this.basePath));
@@ -3374,17 +3390,24 @@ export class DefaultApi extends BaseAPI {
3374
3390
  * Get nodes.
3375
3391
  * @param {*} [options] Override http request option.
3376
3392
  * @throws {RequiredError}
3377
- * @memberof DefaultApi
3378
3393
  */
3379
3394
  v1GetNodes(options) {
3380
3395
  return DefaultApiFp(this.configuration).v1GetNodes(options).then((request) => request(this.axios, this.basePath));
3381
3396
  }
3397
+ /**
3398
+ * Get an optical train instance.
3399
+ * @param {DefaultApiV1GetOpticalTrainInstanceRequest} requestParameters Request parameters.
3400
+ * @param {*} [options] Override http request option.
3401
+ * @throws {RequiredError}
3402
+ */
3403
+ v1GetOpticalTrainInstance(requestParameters, options) {
3404
+ return DefaultApiFp(this.configuration).v1GetOpticalTrainInstance(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
3405
+ }
3382
3406
  /**
3383
3407
  * Get or create camera.
3384
3408
  * @param {DefaultApiV1GetOrCreateCameraRequest} requestParameters Request parameters.
3385
3409
  * @param {*} [options] Override http request option.
3386
3410
  * @throws {RequiredError}
3387
- * @memberof DefaultApi
3388
3411
  */
3389
3412
  v1GetOrCreateCamera(requestParameters, options) {
3390
3413
  return DefaultApiFp(this.configuration).v1GetOrCreateCamera(requestParameters.v1GetOrCreateCameraRequest, options).then((request) => request(this.axios, this.basePath));
@@ -3394,7 +3417,6 @@ export class DefaultApi extends BaseAPI {
3394
3417
  * @param {DefaultApiV1GetOrCreateFocuserRequest} requestParameters Request parameters.
3395
3418
  * @param {*} [options] Override http request option.
3396
3419
  * @throws {RequiredError}
3397
- * @memberof DefaultApi
3398
3420
  */
3399
3421
  v1GetOrCreateFocuser(requestParameters, options) {
3400
3422
  return DefaultApiFp(this.configuration).v1GetOrCreateFocuser(requestParameters.v1GetOrCreateFocuserRequest, options).then((request) => request(this.axios, this.basePath));
@@ -3404,7 +3426,6 @@ export class DefaultApi extends BaseAPI {
3404
3426
  * @param {DefaultApiV1GetOrCreateMountRequest} requestParameters Request parameters.
3405
3427
  * @param {*} [options] Override http request option.
3406
3428
  * @throws {RequiredError}
3407
- * @memberof DefaultApi
3408
3429
  */
3409
3430
  v1GetOrCreateMount(requestParameters, options) {
3410
3431
  return DefaultApiFp(this.configuration).v1GetOrCreateMount(requestParameters.v1GetOrCreateMountRequest, options).then((request) => request(this.axios, this.basePath));
@@ -3414,7 +3435,6 @@ export class DefaultApi extends BaseAPI {
3414
3435
  * @param {DefaultApiV1GetOrCreateOpticalTubeRequest} requestParameters Request parameters.
3415
3436
  * @param {*} [options] Override http request option.
3416
3437
  * @throws {RequiredError}
3417
- * @memberof DefaultApi
3418
3438
  */
3419
3439
  v1GetOrCreateOpticalTube(requestParameters, options) {
3420
3440
  return DefaultApiFp(this.configuration).v1GetOrCreateOpticalTube(requestParameters.v1GetOrCreateOpticalTubeRequest, options).then((request) => request(this.axios, this.basePath));
@@ -3423,7 +3443,6 @@ export class DefaultApi extends BaseAPI {
3423
3443
  * Get platform credits.
3424
3444
  * @param {*} [options] Override http request option.
3425
3445
  * @throws {RequiredError}
3426
- * @memberof DefaultApi
3427
3446
  */
3428
3447
  v1GetPlatformCredits(options) {
3429
3448
  return DefaultApiFp(this.configuration).v1GetPlatformCredits(options).then((request) => request(this.axios, this.basePath));
@@ -3433,7 +3452,6 @@ export class DefaultApi extends BaseAPI {
3433
3452
  * @param {DefaultApiV1GetVisibleAstroTargetsRequest} requestParameters Request parameters.
3434
3453
  * @param {*} [options] Override http request option.
3435
3454
  * @throws {RequiredError}
3436
- * @memberof DefaultApi
3437
3455
  */
3438
3456
  v1GetVisibleAstroTargets(requestParameters, options) {
3439
3457
  return DefaultApiFp(this.configuration).v1GetVisibleAstroTargets(requestParameters.timestamp, requestParameters.nodeId, requestParameters.offset, options).then((request) => request(this.axios, this.basePath));
@@ -3443,7 +3461,6 @@ export class DefaultApi extends BaseAPI {
3443
3461
  * @param {DefaultApiV1GetWeatherRequest} requestParameters Request parameters.
3444
3462
  * @param {*} [options] Override http request option.
3445
3463
  * @throws {RequiredError}
3446
- * @memberof DefaultApi
3447
3464
  */
3448
3465
  v1GetWeather(requestParameters, options) {
3449
3466
  return DefaultApiFp(this.configuration).v1GetWeather(requestParameters.latitude, requestParameters.longitude, options).then((request) => request(this.axios, this.basePath));
@@ -3453,7 +3470,6 @@ export class DefaultApi extends BaseAPI {
3453
3470
  * @param {DefaultApiV1MatchAstroProjectRequest} requestParameters Request parameters.
3454
3471
  * @param {*} [options] Override http request option.
3455
3472
  * @throws {RequiredError}
3456
- * @memberof DefaultApi
3457
3473
  */
3458
3474
  v1MatchAstroProject(requestParameters, options) {
3459
3475
  return DefaultApiFp(this.configuration).v1MatchAstroProject(requestParameters.targetId, requestParameters.cameraId, requestParameters.otaId, options).then((request) => request(this.axios, this.basePath));
@@ -3463,7 +3479,6 @@ export class DefaultApi extends BaseAPI {
3463
3479
  * @param {DefaultApiV1MountMatchRequest} requestParameters Request parameters.
3464
3480
  * @param {*} [options] Override http request option.
3465
3481
  * @throws {RequiredError}
3466
- * @memberof DefaultApi
3467
3482
  */
3468
3483
  v1MountMatch(requestParameters = {}, options) {
3469
3484
  return DefaultApiFp(this.configuration).v1MountMatch(requestParameters.model, options).then((request) => request(this.axios, this.basePath));
@@ -3473,17 +3488,15 @@ export class DefaultApi extends BaseAPI {
3473
3488
  * @param {DefaultApiV1OpticalTubeMatchRequest} requestParameters Request parameters.
3474
3489
  * @param {*} [options] Override http request option.
3475
3490
  * @throws {RequiredError}
3476
- * @memberof DefaultApi
3477
3491
  */
3478
3492
  v1OpticalTubeMatch(requestParameters = {}, options) {
3479
- return DefaultApiFp(this.configuration).v1OpticalTubeMatch(requestParameters.model, requestParameters.focalLengthMm, requestParameters.apertureMm, options).then((request) => request(this.axios, this.basePath));
3493
+ return DefaultApiFp(this.configuration).v1OpticalTubeMatch(requestParameters.model, requestParameters.focalLengthMm, requestParameters.apertureMm, requestParameters.type, options).then((request) => request(this.axios, this.basePath));
3480
3494
  }
3481
3495
  /**
3482
3496
  * Stack an astro project.
3483
3497
  * @param {DefaultApiV1PutStackAstroProjectRequest} requestParameters Request parameters.
3484
3498
  * @param {*} [options] Override http request option.
3485
3499
  * @throws {RequiredError}
3486
- * @memberof DefaultApi
3487
3500
  */
3488
3501
  v1PutStackAstroProject(requestParameters, options) {
3489
3502
  return DefaultApiFp(this.configuration).v1PutStackAstroProject(requestParameters.v1PutStackAstroProjectRequest, options).then((request) => request(this.axios, this.basePath));
@@ -3493,9 +3506,17 @@ export class DefaultApi extends BaseAPI {
3493
3506
  * @param {DefaultApiV1UpdateNodeRequest} requestParameters Request parameters.
3494
3507
  * @param {*} [options] Override http request option.
3495
3508
  * @throws {RequiredError}
3496
- * @memberof DefaultApi
3497
3509
  */
3498
3510
  v1UpdateNode(requestParameters, options) {
3499
3511
  return DefaultApiFp(this.configuration).v1UpdateNode(requestParameters.v1UpdateNodeRequest, options).then((request) => request(this.axios, this.basePath));
3500
3512
  }
3513
+ /**
3514
+ * Update a node.
3515
+ * @param {DefaultApiV2UpdateNodeRequest} requestParameters Request parameters.
3516
+ * @param {*} [options] Override http request option.
3517
+ * @throws {RequiredError}
3518
+ */
3519
+ v2UpdateNode(requestParameters, options) {
3520
+ return DefaultApiFp(this.configuration).v2UpdateNode(requestParameters.v2UpdateNodeRequest, options).then((request) => request(this.axios, this.basePath));
3521
+ }
3501
3522
  }