@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/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * OurSky Astro
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.3.8815
8
+ * The version of the OpenAPI document: 1.4.118
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -22,18 +22,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
22
22
  });
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
- exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.V1PlatformCreditUnit = exports.V1PlatformCreditType = exports.V1PlatformCreditSource = exports.V1JobStatus = exports.V1JobKind = exports.V1ImageRejectionReason = exports.V1ImageFileType = exports.TrackingType = exports.ShutterType = exports.OpticalTubeType = exports.NodeState = exports.MountType = exports.ImageSetType = exports.FilterType = exports.CalibrationMasterType = exports.AssetType = exports.AssetFileType = void 0;
25
+ exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.V1PlatformCreditUnit = exports.V1PlatformCreditType = exports.V1PlatformCreditSource = exports.V1JobStatus = exports.V1ImageRejectionReason = exports.V1ImageFileType = exports.TrackingType = exports.ShutterType = exports.OpticalTubeType = exports.NodeState = exports.MountType = exports.MountGeometry = exports.ImageSetType = exports.FilterType = exports.CalibrationMasterType = exports.AssetType = exports.AssetFileType = void 0;
26
26
  const axios_1 = require("axios");
27
27
  // Some imports not used depending on template conditions
28
28
  // @ts-ignore
29
29
  const common_1 = require("./common");
30
30
  // @ts-ignore
31
31
  const base_1 = require("./base");
32
- /**
33
- *
34
- * @export
35
- * @enum {string}
36
- */
37
32
  exports.AssetFileType = {
38
33
  FITS: 'FITS',
39
34
  TIFF: 'TIFF',
@@ -42,11 +37,6 @@ exports.AssetFileType = {
42
37
  JSON: 'JSON',
43
38
  TXT: 'TXT'
44
39
  };
45
- /**
46
- *
47
- * @export
48
- * @enum {string}
49
- */
50
40
  exports.AssetType = {
51
41
  STACK_RESULT: 'STACK_RESULT',
52
42
  PROJECT_UNBEAUTIFIED: 'PROJECT_UNBEAUTIFIED',
@@ -54,21 +44,11 @@ exports.AssetType = {
54
44
  IMAGE_THUMBNAIL: 'IMAGE_THUMBNAIL',
55
45
  PROJECT_BEAUTIFIED_THUMBNAIL: 'PROJECT_BEAUTIFIED_THUMBNAIL'
56
46
  };
57
- /**
58
- *
59
- * @export
60
- * @enum {string}
61
- */
62
47
  exports.CalibrationMasterType = {
63
48
  FLAT: 'FLAT',
64
49
  DARK: 'DARK',
65
50
  BIAS: 'BIAS'
66
51
  };
67
- /**
68
- *
69
- * @export
70
- * @enum {string}
71
- */
72
52
  exports.FilterType = {
73
53
  NONE: 'NONE',
74
54
  RED: 'RED',
@@ -98,32 +78,25 @@ exports.FilterType = {
98
78
  DARK: 'DARK',
99
79
  OTHER: 'OTHER'
100
80
  };
101
- /**
102
- *
103
- * @export
104
- * @enum {string}
105
- */
106
81
  exports.ImageSetType = {
107
82
  ASTRONOMICAL: 'ASTRONOMICAL',
108
83
  EARTH_ORBITAL: 'EARTH_ORBITAL',
109
84
  GNSS_CALIBRATION: 'GNSS_CALIBRATION',
110
85
  SATELLITE_CALIBRATION: 'SATELLITE_CALIBRATION',
111
- ALL_SKY: 'ALL_SKY'
86
+ WAVEFRONT_SENSOR_FACTORY_CALIBRATION: 'WAVEFRONT_SENSOR_FACTORY_CALIBRATION',
87
+ ALL_SKY: 'ALL_SKY',
88
+ THERMAL: 'THERMAL',
89
+ STACKED_ASTRONOMICAL: 'STACKED_ASTRONOMICAL',
90
+ TERRESTRIAL_DOWNLINK: 'TERRESTRIAL_DOWNLINK'
91
+ };
92
+ exports.MountGeometry = {
93
+ ALT_AZ: 'ALT_AZ',
94
+ EQUATORIAL: 'EQUATORIAL'
112
95
  };
113
- /**
114
- *
115
- * @export
116
- * @enum {string}
117
- */
118
96
  exports.MountType = {
119
97
  ALT_AZ: 'ALT_AZ',
120
98
  EQUITORIAL: 'EQUITORIAL'
121
99
  };
122
- /**
123
- *
124
- * @export
125
- * @enum {string}
126
- */
127
100
  exports.NodeState = {
128
101
  READY: 'READY',
129
102
  PENDING: 'PENDING',
@@ -133,11 +106,6 @@ exports.NodeState = {
133
106
  SUPERSEDED: 'SUPERSEDED',
134
107
  DECOMMISSIONED: 'DECOMMISSIONED'
135
108
  };
136
- /**
137
- *
138
- * @export
139
- * @enum {string}
140
- */
141
109
  exports.OpticalTubeType = {
142
110
  NEWTONIAN: 'NEWTONIAN',
143
111
  SCT: 'SCT',
@@ -145,39 +113,19 @@ exports.OpticalTubeType = {
145
113
  RC: 'RC',
146
114
  REFRACTOR: 'REFRACTOR'
147
115
  };
148
- /**
149
- *
150
- * @export
151
- * @enum {string}
152
- */
153
116
  exports.ShutterType = {
154
117
  ROLLING: 'ROLLING',
155
118
  GLOBAL: 'GLOBAL'
156
119
  };
157
- /**
158
- *
159
- * @export
160
- * @enum {string}
161
- */
162
120
  exports.TrackingType = {
163
121
  SIDEREAL: 'SIDEREAL',
164
122
  TARGET_RATE: 'TARGET_RATE',
165
123
  NONE: 'NONE'
166
124
  };
167
- /**
168
- *
169
- * @export
170
- * @enum {string}
171
- */
172
125
  exports.V1ImageFileType = {
173
126
  FITS: 'FITS',
174
127
  JPG: 'JPG'
175
128
  };
176
- /**
177
- *
178
- * @export
179
- * @enum {string}
180
- */
181
129
  exports.V1ImageRejectionReason = {
182
130
  TARGET_NOT_FOUND: 'TARGET_NOT_FOUND',
183
131
  RATE_TARGET_NOT_FOUND: 'RATE_TARGET_NOT_FOUND',
@@ -204,59 +152,32 @@ exports.V1ImageRejectionReason = {
204
152
  SAVE_FAILURE: 'SAVE_FAILURE',
205
153
  RATE_CATALOG_COMPARE_ERROR: 'RATE_CATALOG_COMPARE_ERROR',
206
154
  MISSING_IMG_WIDTH_HEADER: 'MISSING_IMG_WIDTH_HEADER',
155
+ CALIBRATION_FAILURE: 'CALIBRATION_FAILURE',
156
+ HOT_PIXEL_REMOVAL_FAILURE: 'HOT_PIXEL_REMOVAL_FAILURE',
157
+ PIPELINE_TIMEOUT: 'PIPELINE_TIMEOUT',
207
158
  UNKNOWN_ERROR: 'UNKNOWN_ERROR'
208
159
  };
209
- /**
210
- *
211
- * @export
212
- * @enum {string}
213
- */
214
- exports.V1JobKind = {
215
- STACK: 'STACK',
216
- REPROCESS: 'REPROCESS',
217
- OBSERVATION_POTENTIAL: 'OBSERVATION_POTENTIAL'
218
- };
219
- /**
220
- *
221
- * @export
222
- * @enum {string}
223
- */
224
160
  exports.V1JobStatus = {
225
161
  PENDING: 'PENDING',
226
162
  RUNNING: 'RUNNING',
227
163
  SUCCEEDED: 'SUCCEEDED',
164
+ CANCELLED: 'CANCELLED',
228
165
  FAILED: 'FAILED'
229
166
  };
230
- /**
231
- *
232
- * @export
233
- * @enum {string}
234
- */
235
167
  exports.V1PlatformCreditSource = {
236
168
  SIGNUP: 'SIGNUP',
237
169
  OSR_CONTRIBUTION: 'OSR_CONTRIBUTION',
238
170
  STACKING: 'STACKING',
239
171
  ADMIN: 'ADMIN'
240
172
  };
241
- /**
242
- *
243
- * @export
244
- * @enum {string}
245
- */
246
173
  exports.V1PlatformCreditType = {
247
174
  ASTRO_PLATFORM_USAGE: 'ASTRO_PLATFORM_USAGE'
248
175
  };
249
- /**
250
- *
251
- * @export
252
- * @enum {string}
253
- */
254
176
  exports.V1PlatformCreditUnit = {
255
177
  MEGABYTE: 'MEGABYTE'
256
178
  };
257
179
  /**
258
180
  * DefaultApi - axios parameter creator
259
- * @export
260
181
  */
261
182
  const DefaultApiAxiosParamCreator = function (configuration) {
262
183
  return {
@@ -273,7 +194,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
273
194
  * @param {*} [options] Override http request option.
274
195
  * @throws {RequiredError}
275
196
  */
276
- v1CameraMatch: (model, pixelSizeMicrons, pixelsX, pixelsY, megapixels, chilled, adcBitDepth, isColor, options = {}) => __awaiter(this, void 0, void 0, function* () {
197
+ 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 = {}) {
277
198
  const localVarPath = `/v1/camera-match`;
278
199
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
279
200
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -312,6 +233,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
312
233
  if (isColor !== undefined) {
313
234
  localVarQueryParameter['isColor'] = isColor;
314
235
  }
236
+ localVarHeaderParameter['Accept'] = 'application/json';
315
237
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
316
238
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
317
239
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -320,145 +242,13 @@ const DefaultApiAxiosParamCreator = function (configuration) {
320
242
  options: localVarRequestOptions,
321
243
  };
322
244
  }),
323
- /**
324
- * Create an astro camera.
325
- * @param {V1CreateCameraRequest} v1CreateCameraRequest
326
- * @param {*} [options] Override http request option.
327
- * @throws {RequiredError}
328
- */
329
- v1CreateAstroCamera: (v1CreateCameraRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
330
- // verify required parameter 'v1CreateCameraRequest' is not null or undefined
331
- (0, common_1.assertParamExists)('v1CreateAstroCamera', 'v1CreateCameraRequest', v1CreateCameraRequest);
332
- const localVarPath = `/v1/astro-camera`;
333
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
334
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
335
- let baseOptions;
336
- if (configuration) {
337
- baseOptions = configuration.baseOptions;
338
- }
339
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
340
- const localVarHeaderParameter = {};
341
- const localVarQueryParameter = {};
342
- // authentication Roles required
343
- // authentication BearerToken required
344
- // http bearer authentication required
345
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
346
- localVarHeaderParameter['Content-Type'] = 'application/json';
347
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
348
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
349
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
350
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v1CreateCameraRequest, localVarRequestOptions, configuration);
351
- return {
352
- url: (0, common_1.toPathString)(localVarUrlObj),
353
- options: localVarRequestOptions,
354
- };
355
- }),
356
- /**
357
- * Create an astro focuser.
358
- * @param {V1CreateFocuserRequest} v1CreateFocuserRequest
359
- * @param {*} [options] Override http request option.
360
- * @throws {RequiredError}
361
- */
362
- v1CreateAstroFocuser: (v1CreateFocuserRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
363
- // verify required parameter 'v1CreateFocuserRequest' is not null or undefined
364
- (0, common_1.assertParamExists)('v1CreateAstroFocuser', 'v1CreateFocuserRequest', v1CreateFocuserRequest);
365
- const localVarPath = `/v1/astro-focuser`;
366
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
367
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
368
- let baseOptions;
369
- if (configuration) {
370
- baseOptions = configuration.baseOptions;
371
- }
372
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
373
- const localVarHeaderParameter = {};
374
- const localVarQueryParameter = {};
375
- // authentication Roles required
376
- // authentication BearerToken required
377
- // http bearer authentication required
378
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
379
- localVarHeaderParameter['Content-Type'] = 'application/json';
380
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
381
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
382
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
383
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v1CreateFocuserRequest, localVarRequestOptions, configuration);
384
- return {
385
- url: (0, common_1.toPathString)(localVarUrlObj),
386
- options: localVarRequestOptions,
387
- };
388
- }),
389
- /**
390
- * Create an astro mount.
391
- * @param {V1CreateMountRequest} v1CreateMountRequest
392
- * @param {*} [options] Override http request option.
393
- * @throws {RequiredError}
394
- */
395
- v1CreateAstroMount: (v1CreateMountRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
396
- // verify required parameter 'v1CreateMountRequest' is not null or undefined
397
- (0, common_1.assertParamExists)('v1CreateAstroMount', 'v1CreateMountRequest', v1CreateMountRequest);
398
- const localVarPath = `/v1/astro-mount`;
399
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
400
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
401
- let baseOptions;
402
- if (configuration) {
403
- baseOptions = configuration.baseOptions;
404
- }
405
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
406
- const localVarHeaderParameter = {};
407
- const localVarQueryParameter = {};
408
- // authentication Roles required
409
- // authentication BearerToken required
410
- // http bearer authentication required
411
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
412
- localVarHeaderParameter['Content-Type'] = 'application/json';
413
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
414
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
415
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
416
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v1CreateMountRequest, localVarRequestOptions, configuration);
417
- return {
418
- url: (0, common_1.toPathString)(localVarUrlObj),
419
- options: localVarRequestOptions,
420
- };
421
- }),
422
- /**
423
- * Create an astro optical tube.
424
- * @param {V1CreateOpticalTubeRequest} v1CreateOpticalTubeRequest
425
- * @param {*} [options] Override http request option.
426
- * @throws {RequiredError}
427
- */
428
- v1CreateAstroOpticalTube: (v1CreateOpticalTubeRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
429
- // verify required parameter 'v1CreateOpticalTubeRequest' is not null or undefined
430
- (0, common_1.assertParamExists)('v1CreateAstroOpticalTube', 'v1CreateOpticalTubeRequest', v1CreateOpticalTubeRequest);
431
- const localVarPath = `/v1/astro-optical-tube`;
432
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
433
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
434
- let baseOptions;
435
- if (configuration) {
436
- baseOptions = configuration.baseOptions;
437
- }
438
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
439
- const localVarHeaderParameter = {};
440
- const localVarQueryParameter = {};
441
- // authentication Roles required
442
- // authentication BearerToken required
443
- // http bearer authentication required
444
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
445
- localVarHeaderParameter['Content-Type'] = 'application/json';
446
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
447
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
448
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
449
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v1CreateOpticalTubeRequest, localVarRequestOptions, configuration);
450
- return {
451
- url: (0, common_1.toPathString)(localVarUrlObj),
452
- options: localVarRequestOptions,
453
- };
454
- }),
455
245
  /**
456
246
  * Create an astro project.
457
247
  * @param {V1CreateAstroProjectRequest} v1CreateAstroProjectRequest
458
248
  * @param {*} [options] Override http request option.
459
249
  * @throws {RequiredError}
460
250
  */
461
- v1CreateAstroProject: (v1CreateAstroProjectRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
251
+ v1CreateAstroProject: (v1CreateAstroProjectRequest_1, ...args_1) => __awaiter(this, [v1CreateAstroProjectRequest_1, ...args_1], void 0, function* (v1CreateAstroProjectRequest, options = {}) {
462
252
  // verify required parameter 'v1CreateAstroProjectRequest' is not null or undefined
463
253
  (0, common_1.assertParamExists)('v1CreateAstroProject', 'v1CreateAstroProjectRequest', v1CreateAstroProjectRequest);
464
254
  const localVarPath = `/v1/astro-project`;
@@ -476,6 +266,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
476
266
  // http bearer authentication required
477
267
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
478
268
  localVarHeaderParameter['Content-Type'] = 'application/json';
269
+ localVarHeaderParameter['Accept'] = 'application/json';
479
270
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
480
271
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
481
272
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -491,7 +282,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
491
282
  * @param {*} [options] Override http request option.
492
283
  * @throws {RequiredError}
493
284
  */
494
- v1CreateAstroProjectImageSet: (v1CreateAstroProjectImageSetRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
285
+ v1CreateAstroProjectImageSet: (v1CreateAstroProjectImageSetRequest_1, ...args_1) => __awaiter(this, [v1CreateAstroProjectImageSetRequest_1, ...args_1], void 0, function* (v1CreateAstroProjectImageSetRequest, options = {}) {
495
286
  // verify required parameter 'v1CreateAstroProjectImageSetRequest' is not null or undefined
496
287
  (0, common_1.assertParamExists)('v1CreateAstroProjectImageSet', 'v1CreateAstroProjectImageSetRequest', v1CreateAstroProjectImageSetRequest);
497
288
  const localVarPath = `/v1/astro-project-image-set`;
@@ -509,6 +300,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
509
300
  // http bearer authentication required
510
301
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
511
302
  localVarHeaderParameter['Content-Type'] = 'application/json';
303
+ localVarHeaderParameter['Accept'] = 'application/json';
512
304
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
513
305
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
514
306
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -524,7 +316,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
524
316
  * @param {*} [options] Override http request option.
525
317
  * @throws {RequiredError}
526
318
  */
527
- v1CreateCalibrationMaster: (v1CreateCalibrationMasterRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
319
+ v1CreateCalibrationMaster: (v1CreateCalibrationMasterRequest_1, ...args_1) => __awaiter(this, [v1CreateCalibrationMasterRequest_1, ...args_1], void 0, function* (v1CreateCalibrationMasterRequest, options = {}) {
528
320
  // verify required parameter 'v1CreateCalibrationMasterRequest' is not null or undefined
529
321
  (0, common_1.assertParamExists)('v1CreateCalibrationMaster', 'v1CreateCalibrationMasterRequest', v1CreateCalibrationMasterRequest);
530
322
  const localVarPath = `/v1/calibration-master`;
@@ -542,6 +334,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
542
334
  // http bearer authentication required
543
335
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
544
336
  localVarHeaderParameter['Content-Type'] = 'application/json';
337
+ localVarHeaderParameter['Accept'] = 'application/json';
545
338
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
546
339
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
547
340
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -557,7 +350,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
557
350
  * @param {*} [options] Override http request option.
558
351
  * @throws {RequiredError}
559
352
  */
560
- v1CreateCalibrationSet: (v1CreateCalibrationSetRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
353
+ v1CreateCalibrationSet: (v1CreateCalibrationSetRequest_1, ...args_1) => __awaiter(this, [v1CreateCalibrationSetRequest_1, ...args_1], void 0, function* (v1CreateCalibrationSetRequest, options = {}) {
561
354
  // verify required parameter 'v1CreateCalibrationSetRequest' is not null or undefined
562
355
  (0, common_1.assertParamExists)('v1CreateCalibrationSet', 'v1CreateCalibrationSetRequest', v1CreateCalibrationSetRequest);
563
356
  const localVarPath = `/v1/calibration-set`;
@@ -575,6 +368,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
575
368
  // http bearer authentication required
576
369
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
577
370
  localVarHeaderParameter['Content-Type'] = 'application/json';
371
+ localVarHeaderParameter['Accept'] = 'application/json';
578
372
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
579
373
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
580
374
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -590,7 +384,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
590
384
  * @param {*} [options] Override http request option.
591
385
  * @throws {RequiredError}
592
386
  */
593
- v1CreateCalibrationSetImage: (v1CreateCalibrationSetImageRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
387
+ v1CreateCalibrationSetImage: (v1CreateCalibrationSetImageRequest_1, ...args_1) => __awaiter(this, [v1CreateCalibrationSetImageRequest_1, ...args_1], void 0, function* (v1CreateCalibrationSetImageRequest, options = {}) {
594
388
  // verify required parameter 'v1CreateCalibrationSetImageRequest' is not null or undefined
595
389
  (0, common_1.assertParamExists)('v1CreateCalibrationSetImage', 'v1CreateCalibrationSetImageRequest', v1CreateCalibrationSetImageRequest);
596
390
  const localVarPath = `/v1/calibration-set-image`;
@@ -608,6 +402,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
608
402
  // http bearer authentication required
609
403
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
610
404
  localVarHeaderParameter['Content-Type'] = 'application/json';
405
+ localVarHeaderParameter['Accept'] = 'application/json';
611
406
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
612
407
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
613
408
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -623,7 +418,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
623
418
  * @param {*} [options] Override http request option.
624
419
  * @throws {RequiredError}
625
420
  */
626
- v1CreateImageSet: (v1CreateImageSetRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
421
+ v1CreateImageSet: (v1CreateImageSetRequest_1, ...args_1) => __awaiter(this, [v1CreateImageSetRequest_1, ...args_1], void 0, function* (v1CreateImageSetRequest, options = {}) {
627
422
  // verify required parameter 'v1CreateImageSetRequest' is not null or undefined
628
423
  (0, common_1.assertParamExists)('v1CreateImageSet', 'v1CreateImageSetRequest', v1CreateImageSetRequest);
629
424
  const localVarPath = `/v1/image-set`;
@@ -641,6 +436,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
641
436
  // http bearer authentication required
642
437
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
643
438
  localVarHeaderParameter['Content-Type'] = 'application/json';
439
+ localVarHeaderParameter['Accept'] = 'application/json';
644
440
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
645
441
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
646
442
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -656,7 +452,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
656
452
  * @param {*} [options] Override http request option.
657
453
  * @throws {RequiredError}
658
454
  */
659
- v1CreateImageSetImage: (v1CreateImageSetImageRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
455
+ v1CreateImageSetImage: (v1CreateImageSetImageRequest_1, ...args_1) => __awaiter(this, [v1CreateImageSetImageRequest_1, ...args_1], void 0, function* (v1CreateImageSetImageRequest, options = {}) {
660
456
  // verify required parameter 'v1CreateImageSetImageRequest' is not null or undefined
661
457
  (0, common_1.assertParamExists)('v1CreateImageSetImage', 'v1CreateImageSetImageRequest', v1CreateImageSetImageRequest);
662
458
  const localVarPath = `/v1/image-set-image`;
@@ -674,6 +470,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
674
470
  // http bearer authentication required
675
471
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
676
472
  localVarHeaderParameter['Content-Type'] = 'application/json';
473
+ localVarHeaderParameter['Accept'] = 'application/json';
677
474
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
678
475
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
679
476
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -689,7 +486,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
689
486
  * @param {*} [options] Override http request option.
690
487
  * @throws {RequiredError}
691
488
  */
692
- v1CreateNode: (v1CreateNodeRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
489
+ v1CreateNode: (v1CreateNodeRequest_1, ...args_1) => __awaiter(this, [v1CreateNodeRequest_1, ...args_1], void 0, function* (v1CreateNodeRequest, options = {}) {
693
490
  // verify required parameter 'v1CreateNodeRequest' is not null or undefined
694
491
  (0, common_1.assertParamExists)('v1CreateNode', 'v1CreateNodeRequest', v1CreateNodeRequest);
695
492
  const localVarPath = `/v1/node`;
@@ -707,6 +504,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
707
504
  // http bearer authentication required
708
505
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
709
506
  localVarHeaderParameter['Content-Type'] = 'application/json';
507
+ localVarHeaderParameter['Accept'] = 'application/json';
710
508
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
711
509
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
712
510
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -716,13 +514,47 @@ const DefaultApiAxiosParamCreator = function (configuration) {
716
514
  options: localVarRequestOptions,
717
515
  };
718
516
  }),
517
+ /**
518
+ * Create an optical train instance.
519
+ * @param {V1CreateOpticalTrainInstanceRequest} v1CreateOpticalTrainInstanceRequest
520
+ * @param {*} [options] Override http request option.
521
+ * @throws {RequiredError}
522
+ */
523
+ v1CreateOpticalTrainInstance: (v1CreateOpticalTrainInstanceRequest_1, ...args_1) => __awaiter(this, [v1CreateOpticalTrainInstanceRequest_1, ...args_1], void 0, function* (v1CreateOpticalTrainInstanceRequest, options = {}) {
524
+ // verify required parameter 'v1CreateOpticalTrainInstanceRequest' is not null or undefined
525
+ (0, common_1.assertParamExists)('v1CreateOpticalTrainInstance', 'v1CreateOpticalTrainInstanceRequest', v1CreateOpticalTrainInstanceRequest);
526
+ const localVarPath = `/v1/node/optical-train-instances`;
527
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
528
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
529
+ let baseOptions;
530
+ if (configuration) {
531
+ baseOptions = configuration.baseOptions;
532
+ }
533
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
534
+ const localVarHeaderParameter = {};
535
+ const localVarQueryParameter = {};
536
+ // authentication Roles required
537
+ // authentication BearerToken required
538
+ // http bearer authentication required
539
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
540
+ localVarHeaderParameter['Content-Type'] = 'application/json';
541
+ localVarHeaderParameter['Accept'] = 'application/json';
542
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
543
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
544
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
545
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v1CreateOpticalTrainInstanceRequest, localVarRequestOptions, configuration);
546
+ return {
547
+ url: (0, common_1.toPathString)(localVarUrlObj),
548
+ options: localVarRequestOptions,
549
+ };
550
+ }),
719
551
  /**
720
552
  * Delete an astro project with all associated assets and images.
721
553
  * @param {string} astroProjectId
722
554
  * @param {*} [options] Override http request option.
723
555
  * @throws {RequiredError}
724
556
  */
725
- v1DeleteAstroProject: (astroProjectId, options = {}) => __awaiter(this, void 0, void 0, function* () {
557
+ v1DeleteAstroProject: (astroProjectId_1, ...args_1) => __awaiter(this, [astroProjectId_1, ...args_1], void 0, function* (astroProjectId, options = {}) {
726
558
  // verify required parameter 'astroProjectId' is not null or undefined
727
559
  (0, common_1.assertParamExists)('v1DeleteAstroProject', 'astroProjectId', astroProjectId);
728
560
  const localVarPath = `/v1/astro-project`;
@@ -742,6 +574,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
742
574
  if (astroProjectId !== undefined) {
743
575
  localVarQueryParameter['astroProjectId'] = astroProjectId;
744
576
  }
577
+ localVarHeaderParameter['Accept'] = 'application/json';
745
578
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
746
579
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
747
580
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -756,7 +589,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
756
589
  * @param {*} [options] Override http request option.
757
590
  * @throws {RequiredError}
758
591
  */
759
- v1DeleteCalibrationMaster: (calibrationMasterId, options = {}) => __awaiter(this, void 0, void 0, function* () {
592
+ v1DeleteCalibrationMaster: (calibrationMasterId_1, ...args_1) => __awaiter(this, [calibrationMasterId_1, ...args_1], void 0, function* (calibrationMasterId, options = {}) {
760
593
  // verify required parameter 'calibrationMasterId' is not null or undefined
761
594
  (0, common_1.assertParamExists)('v1DeleteCalibrationMaster', 'calibrationMasterId', calibrationMasterId);
762
595
  const localVarPath = `/v1/calibration-master`;
@@ -776,6 +609,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
776
609
  if (calibrationMasterId !== undefined) {
777
610
  localVarQueryParameter['calibrationMasterId'] = calibrationMasterId;
778
611
  }
612
+ localVarHeaderParameter['Accept'] = 'application/json';
779
613
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
780
614
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
781
615
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -790,7 +624,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
790
624
  * @param {*} [options] Override http request option.
791
625
  * @throws {RequiredError}
792
626
  */
793
- v1DeleteImageSet: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
627
+ v1DeleteImageSet: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
794
628
  // verify required parameter 'id' is not null or undefined
795
629
  (0, common_1.assertParamExists)('v1DeleteImageSet', 'id', id);
796
630
  const localVarPath = `/v1/image-set`;
@@ -810,6 +644,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
810
644
  if (id !== undefined) {
811
645
  localVarQueryParameter['id'] = id;
812
646
  }
647
+ localVarHeaderParameter['Accept'] = 'application/json';
813
648
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
814
649
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
815
650
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -824,7 +659,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
824
659
  * @param {*} [options] Override http request option.
825
660
  * @throws {RequiredError}
826
661
  */
827
- v1DeleteImageSetImage: (imageId, options = {}) => __awaiter(this, void 0, void 0, function* () {
662
+ v1DeleteImageSetImage: (imageId_1, ...args_1) => __awaiter(this, [imageId_1, ...args_1], void 0, function* (imageId, options = {}) {
828
663
  // verify required parameter 'imageId' is not null or undefined
829
664
  (0, common_1.assertParamExists)('v1DeleteImageSetImage', 'imageId', imageId);
830
665
  const localVarPath = `/v1/image-set-image`;
@@ -844,6 +679,42 @@ const DefaultApiAxiosParamCreator = function (configuration) {
844
679
  if (imageId !== undefined) {
845
680
  localVarQueryParameter['imageId'] = imageId;
846
681
  }
682
+ localVarHeaderParameter['Accept'] = 'application/json';
683
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
684
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
685
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
686
+ return {
687
+ url: (0, common_1.toPathString)(localVarUrlObj),
688
+ options: localVarRequestOptions,
689
+ };
690
+ }),
691
+ /**
692
+ * Delete an optical train instance.
693
+ * @param {string} id
694
+ * @param {*} [options] Override http request option.
695
+ * @throws {RequiredError}
696
+ */
697
+ v1DeleteOpticalTrainInstance: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
698
+ // verify required parameter 'id' is not null or undefined
699
+ (0, common_1.assertParamExists)('v1DeleteOpticalTrainInstance', 'id', id);
700
+ const localVarPath = `/v1/node/optical-train-instance`;
701
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
702
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
703
+ let baseOptions;
704
+ if (configuration) {
705
+ baseOptions = configuration.baseOptions;
706
+ }
707
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
708
+ const localVarHeaderParameter = {};
709
+ const localVarQueryParameter = {};
710
+ // authentication Roles required
711
+ // authentication BearerToken required
712
+ // http bearer authentication required
713
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
714
+ if (id !== undefined) {
715
+ localVarQueryParameter['id'] = id;
716
+ }
717
+ localVarHeaderParameter['Accept'] = 'application/json';
847
718
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
848
719
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
849
720
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -859,7 +730,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
859
730
  * @param {*} [options] Override http request option.
860
731
  * @throws {RequiredError}
861
732
  */
862
- v1FocuserMatch: (model, travelDistanceMm, options = {}) => __awaiter(this, void 0, void 0, function* () {
733
+ v1FocuserMatch: (model_1, travelDistanceMm_1, ...args_1) => __awaiter(this, [model_1, travelDistanceMm_1, ...args_1], void 0, function* (model, travelDistanceMm, options = {}) {
863
734
  const localVarPath = `/v1/focuser-match`;
864
735
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
865
736
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -880,6 +751,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
880
751
  if (travelDistanceMm !== undefined) {
881
752
  localVarQueryParameter['travelDistanceMm'] = travelDistanceMm;
882
753
  }
754
+ localVarHeaderParameter['Accept'] = 'application/json';
883
755
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
884
756
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
885
757
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -894,7 +766,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
894
766
  * @param {*} [options] Override http request option.
895
767
  * @throws {RequiredError}
896
768
  */
897
- v1GetAstroCamera: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
769
+ v1GetAstroCamera: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
898
770
  // verify required parameter 'id' is not null or undefined
899
771
  (0, common_1.assertParamExists)('v1GetAstroCamera', 'id', id);
900
772
  const localVarPath = `/v1/astro-camera`;
@@ -914,6 +786,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
914
786
  if (id !== undefined) {
915
787
  localVarQueryParameter['id'] = id;
916
788
  }
789
+ localVarHeaderParameter['Accept'] = 'application/json';
917
790
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
918
791
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
919
792
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -928,7 +801,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
928
801
  * @param {*} [options] Override http request option.
929
802
  * @throws {RequiredError}
930
803
  */
931
- v1GetAstroFocuser: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
804
+ v1GetAstroFocuser: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
932
805
  // verify required parameter 'id' is not null or undefined
933
806
  (0, common_1.assertParamExists)('v1GetAstroFocuser', 'id', id);
934
807
  const localVarPath = `/v1/astro-focuser`;
@@ -948,6 +821,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
948
821
  if (id !== undefined) {
949
822
  localVarQueryParameter['id'] = id;
950
823
  }
824
+ localVarHeaderParameter['Accept'] = 'application/json';
951
825
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
952
826
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
953
827
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -962,7 +836,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
962
836
  * @param {*} [options] Override http request option.
963
837
  * @throws {RequiredError}
964
838
  */
965
- v1GetAstroMount: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
839
+ v1GetAstroMount: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
966
840
  // verify required parameter 'id' is not null or undefined
967
841
  (0, common_1.assertParamExists)('v1GetAstroMount', 'id', id);
968
842
  const localVarPath = `/v1/astro-mount`;
@@ -982,6 +856,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
982
856
  if (id !== undefined) {
983
857
  localVarQueryParameter['id'] = id;
984
858
  }
859
+ localVarHeaderParameter['Accept'] = 'application/json';
985
860
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
986
861
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
987
862
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -996,7 +871,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
996
871
  * @param {*} [options] Override http request option.
997
872
  * @throws {RequiredError}
998
873
  */
999
- v1GetAstroOpticalTube: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
874
+ v1GetAstroOpticalTube: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
1000
875
  // verify required parameter 'id' is not null or undefined
1001
876
  (0, common_1.assertParamExists)('v1GetAstroOpticalTube', 'id', id);
1002
877
  const localVarPath = `/v1/astro-optical-tube`;
@@ -1016,6 +891,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1016
891
  if (id !== undefined) {
1017
892
  localVarQueryParameter['id'] = id;
1018
893
  }
894
+ localVarHeaderParameter['Accept'] = 'application/json';
1019
895
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1020
896
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1021
897
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1029,7 +905,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1029
905
  * @param {*} [options] Override http request option.
1030
906
  * @throws {RequiredError}
1031
907
  */
1032
- v1GetAstroPlatformCreditBalance: (options = {}) => __awaiter(this, void 0, void 0, function* () {
908
+ v1GetAstroPlatformCreditBalance: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
1033
909
  const localVarPath = `/v1/astro-platform-credit-balance`;
1034
910
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1035
911
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -1044,6 +920,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1044
920
  // authentication BearerToken required
1045
921
  // http bearer authentication required
1046
922
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
923
+ localVarHeaderParameter['Accept'] = 'application/json';
1047
924
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1048
925
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1049
926
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1058,7 +935,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1058
935
  * @param {*} [options] Override http request option.
1059
936
  * @throws {RequiredError}
1060
937
  */
1061
- v1GetAstroProject: (astroProjectId, options = {}) => __awaiter(this, void 0, void 0, function* () {
938
+ v1GetAstroProject: (astroProjectId_1, ...args_1) => __awaiter(this, [astroProjectId_1, ...args_1], void 0, function* (astroProjectId, options = {}) {
1062
939
  // verify required parameter 'astroProjectId' is not null or undefined
1063
940
  (0, common_1.assertParamExists)('v1GetAstroProject', 'astroProjectId', astroProjectId);
1064
941
  const localVarPath = `/v1/astro-project`;
@@ -1078,6 +955,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1078
955
  if (astroProjectId !== undefined) {
1079
956
  localVarQueryParameter['astroProjectId'] = astroProjectId;
1080
957
  }
958
+ localVarHeaderParameter['Accept'] = 'application/json';
1081
959
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1082
960
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1083
961
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1092,7 +970,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1092
970
  * @param {*} [options] Override http request option.
1093
971
  * @throws {RequiredError}
1094
972
  */
1095
- v1GetAstroProjectAssets: (astroProjectId, options = {}) => __awaiter(this, void 0, void 0, function* () {
973
+ v1GetAstroProjectAssets: (astroProjectId_1, ...args_1) => __awaiter(this, [astroProjectId_1, ...args_1], void 0, function* (astroProjectId, options = {}) {
1096
974
  // verify required parameter 'astroProjectId' is not null or undefined
1097
975
  (0, common_1.assertParamExists)('v1GetAstroProjectAssets', 'astroProjectId', astroProjectId);
1098
976
  const localVarPath = `/v1/astro-project-assets`;
@@ -1112,6 +990,42 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1112
990
  if (astroProjectId !== undefined) {
1113
991
  localVarQueryParameter['astroProjectId'] = astroProjectId;
1114
992
  }
993
+ localVarHeaderParameter['Accept'] = 'application/json';
994
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
995
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
996
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
997
+ return {
998
+ url: (0, common_1.toPathString)(localVarUrlObj),
999
+ options: localVarRequestOptions,
1000
+ };
1001
+ }),
1002
+ /**
1003
+ * Get astro project job logs.
1004
+ * @param {string} astroProjectId
1005
+ * @param {*} [options] Override http request option.
1006
+ * @throws {RequiredError}
1007
+ */
1008
+ v1GetAstroProjectJobLogs: (astroProjectId_1, ...args_1) => __awaiter(this, [astroProjectId_1, ...args_1], void 0, function* (astroProjectId, options = {}) {
1009
+ // verify required parameter 'astroProjectId' is not null or undefined
1010
+ (0, common_1.assertParamExists)('v1GetAstroProjectJobLogs', 'astroProjectId', astroProjectId);
1011
+ const localVarPath = `/v1/job-logs`;
1012
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1013
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1014
+ let baseOptions;
1015
+ if (configuration) {
1016
+ baseOptions = configuration.baseOptions;
1017
+ }
1018
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1019
+ const localVarHeaderParameter = {};
1020
+ const localVarQueryParameter = {};
1021
+ // authentication Roles required
1022
+ // authentication BearerToken required
1023
+ // http bearer authentication required
1024
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1025
+ if (astroProjectId !== undefined) {
1026
+ localVarQueryParameter['astroProjectId'] = astroProjectId;
1027
+ }
1028
+ localVarHeaderParameter['Accept'] = 'application/json';
1115
1029
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1116
1030
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1117
1031
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1125,7 +1039,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1125
1039
  * @param {*} [options] Override http request option.
1126
1040
  * @throws {RequiredError}
1127
1041
  */
1128
- v1GetAstroProjects: (options = {}) => __awaiter(this, void 0, void 0, function* () {
1042
+ v1GetAstroProjects: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
1129
1043
  const localVarPath = `/v1/astro-projects`;
1130
1044
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1131
1045
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -1140,6 +1054,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1140
1054
  // authentication BearerToken required
1141
1055
  // http bearer authentication required
1142
1056
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1057
+ localVarHeaderParameter['Accept'] = 'application/json';
1143
1058
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1144
1059
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1145
1060
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1156,7 +1071,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1156
1071
  * @param {*} [options] Override http request option.
1157
1072
  * @throws {RequiredError}
1158
1073
  */
1159
- v1GetAstroTarget: (id, ngcId, icId, options = {}) => __awaiter(this, void 0, void 0, function* () {
1074
+ 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 = {}) {
1160
1075
  const localVarPath = `/v1/astro-target`;
1161
1076
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1162
1077
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -1180,6 +1095,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1180
1095
  if (icId !== undefined) {
1181
1096
  localVarQueryParameter['icId'] = icId;
1182
1097
  }
1098
+ localVarHeaderParameter['Accept'] = 'application/json';
1183
1099
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1184
1100
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1185
1101
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1197,7 +1113,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1197
1113
  * @param {*} [options] Override http request option.
1198
1114
  * @throws {RequiredError}
1199
1115
  */
1200
- v1GetAstroTargets: (lastId, catalogId, ra, dec, options = {}) => __awaiter(this, void 0, void 0, function* () {
1116
+ 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 = {}) {
1201
1117
  const localVarPath = `/v1/astro-targets`;
1202
1118
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1203
1119
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -1224,6 +1140,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1224
1140
  if (dec !== undefined) {
1225
1141
  localVarQueryParameter['dec'] = dec;
1226
1142
  }
1143
+ localVarHeaderParameter['Accept'] = 'application/json';
1227
1144
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1228
1145
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1229
1146
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1238,7 +1155,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1238
1155
  * @param {*} [options] Override http request option.
1239
1156
  * @throws {RequiredError}
1240
1157
  */
1241
- v1GetCalibrationMasters: (nodeId, options = {}) => __awaiter(this, void 0, void 0, function* () {
1158
+ v1GetCalibrationMasters: (nodeId_1, ...args_1) => __awaiter(this, [nodeId_1, ...args_1], void 0, function* (nodeId, options = {}) {
1242
1159
  // verify required parameter 'nodeId' is not null or undefined
1243
1160
  (0, common_1.assertParamExists)('v1GetCalibrationMasters', 'nodeId', nodeId);
1244
1161
  const localVarPath = `/v1/calibration-masters`;
@@ -1258,34 +1175,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1258
1175
  if (nodeId !== undefined) {
1259
1176
  localVarQueryParameter['nodeId'] = nodeId;
1260
1177
  }
1261
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1262
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1263
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1264
- return {
1265
- url: (0, common_1.toPathString)(localVarUrlObj),
1266
- options: localVarRequestOptions,
1267
- };
1268
- }),
1269
- /**
1270
- * Get cameras.
1271
- * @param {*} [options] Override http request option.
1272
- * @throws {RequiredError}
1273
- */
1274
- v1GetCameras: (options = {}) => __awaiter(this, void 0, void 0, function* () {
1275
- const localVarPath = `/v1/cameras`;
1276
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
1277
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1278
- let baseOptions;
1279
- if (configuration) {
1280
- baseOptions = configuration.baseOptions;
1281
- }
1282
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1283
- const localVarHeaderParameter = {};
1284
- const localVarQueryParameter = {};
1285
- // authentication Roles required
1286
- // authentication BearerToken required
1287
- // http bearer authentication required
1288
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1178
+ localVarHeaderParameter['Accept'] = 'application/json';
1289
1179
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1290
1180
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1291
1181
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1300,7 +1190,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1300
1190
  * @param {*} [options] Override http request option.
1301
1191
  * @throws {RequiredError}
1302
1192
  */
1303
- v1GetImageSet: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
1193
+ v1GetImageSet: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
1304
1194
  // verify required parameter 'id' is not null or undefined
1305
1195
  (0, common_1.assertParamExists)('v1GetImageSet', 'id', id);
1306
1196
  const localVarPath = `/v1/image-set`;
@@ -1320,6 +1210,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1320
1210
  if (id !== undefined) {
1321
1211
  localVarQueryParameter['id'] = id;
1322
1212
  }
1213
+ localVarHeaderParameter['Accept'] = 'application/json';
1323
1214
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1324
1215
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1325
1216
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1334,7 +1225,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1334
1225
  * @param {*} [options] Override http request option.
1335
1226
  * @throws {RequiredError}
1336
1227
  */
1337
- v1GetImageSetImage: (imageId, options = {}) => __awaiter(this, void 0, void 0, function* () {
1228
+ v1GetImageSetImage: (imageId_1, ...args_1) => __awaiter(this, [imageId_1, ...args_1], void 0, function* (imageId, options = {}) {
1338
1229
  // verify required parameter 'imageId' is not null or undefined
1339
1230
  (0, common_1.assertParamExists)('v1GetImageSetImage', 'imageId', imageId);
1340
1231
  const localVarPath = `/v1/image-set-image`;
@@ -1354,6 +1245,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1354
1245
  if (imageId !== undefined) {
1355
1246
  localVarQueryParameter['imageId'] = imageId;
1356
1247
  }
1248
+ localVarHeaderParameter['Accept'] = 'application/json';
1357
1249
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1358
1250
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1359
1251
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1363,14 +1255,13 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1363
1255
  };
1364
1256
  }),
1365
1257
  /**
1366
- * Get image set images.
1367
- * @param {Array<string>} imageSets
1258
+ * 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.
1259
+ * @param {Array<string>} [imageSets]
1260
+ * @param {string} [starPartyId]
1368
1261
  * @param {*} [options] Override http request option.
1369
1262
  * @throws {RequiredError}
1370
1263
  */
1371
- v1GetImageSetImages: (imageSets, options = {}) => __awaiter(this, void 0, void 0, function* () {
1372
- // verify required parameter 'imageSets' is not null or undefined
1373
- (0, common_1.assertParamExists)('v1GetImageSetImages', 'imageSets', imageSets);
1264
+ v1GetImageSetImages: (imageSets_1, starPartyId_1, ...args_1) => __awaiter(this, [imageSets_1, starPartyId_1, ...args_1], void 0, function* (imageSets, starPartyId, options = {}) {
1374
1265
  const localVarPath = `/v1/image-set-images`;
1375
1266
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1376
1267
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -1388,6 +1279,10 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1388
1279
  if (imageSets) {
1389
1280
  localVarQueryParameter['imageSets'] = imageSets.join(base_1.COLLECTION_FORMATS.csv);
1390
1281
  }
1282
+ if (starPartyId !== undefined) {
1283
+ localVarQueryParameter['starPartyId'] = starPartyId;
1284
+ }
1285
+ localVarHeaderParameter['Accept'] = 'application/json';
1391
1286
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1392
1287
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1393
1288
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1397,11 +1292,12 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1397
1292
  };
1398
1293
  }),
1399
1294
  /**
1400
- * Get image sets.
1295
+ * 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.
1296
+ * @param {string} [starPartyId]
1401
1297
  * @param {*} [options] Override http request option.
1402
1298
  * @throws {RequiredError}
1403
1299
  */
1404
- v1GetImageSets: (options = {}) => __awaiter(this, void 0, void 0, function* () {
1300
+ v1GetImageSets: (starPartyId_1, ...args_1) => __awaiter(this, [starPartyId_1, ...args_1], void 0, function* (starPartyId, options = {}) {
1405
1301
  const localVarPath = `/v1/image-sets`;
1406
1302
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1407
1303
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -1416,6 +1312,10 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1416
1312
  // authentication BearerToken required
1417
1313
  // http bearer authentication required
1418
1314
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1315
+ if (starPartyId !== undefined) {
1316
+ localVarQueryParameter['starPartyId'] = starPartyId;
1317
+ }
1318
+ localVarHeaderParameter['Accept'] = 'application/json';
1419
1319
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1420
1320
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1421
1321
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1425,15 +1325,14 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1425
1325
  };
1426
1326
  }),
1427
1327
  /**
1428
- * Get job logs.
1429
- * @param {string} astroProjectId
1328
+ * Get node by lineage id or node id.
1329
+ * @param {string} [lineageId]
1330
+ * @param {string} [nodeId]
1430
1331
  * @param {*} [options] Override http request option.
1431
1332
  * @throws {RequiredError}
1432
1333
  */
1433
- v1GetJobLogs: (astroProjectId, options = {}) => __awaiter(this, void 0, void 0, function* () {
1434
- // verify required parameter 'astroProjectId' is not null or undefined
1435
- (0, common_1.assertParamExists)('v1GetJobLogs', 'astroProjectId', astroProjectId);
1436
- const localVarPath = `/v1/job-logs`;
1334
+ v1GetNode: (lineageId_1, nodeId_1, ...args_1) => __awaiter(this, [lineageId_1, nodeId_1, ...args_1], void 0, function* (lineageId, nodeId, options = {}) {
1335
+ const localVarPath = `/v1/node`;
1437
1336
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1438
1337
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1439
1338
  let baseOptions;
@@ -1447,9 +1346,13 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1447
1346
  // authentication BearerToken required
1448
1347
  // http bearer authentication required
1449
1348
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1450
- if (astroProjectId !== undefined) {
1451
- localVarQueryParameter['astroProjectId'] = astroProjectId;
1349
+ if (lineageId !== undefined) {
1350
+ localVarQueryParameter['lineageId'] = lineageId;
1452
1351
  }
1352
+ if (nodeId !== undefined) {
1353
+ localVarQueryParameter['nodeId'] = nodeId;
1354
+ }
1355
+ localVarHeaderParameter['Accept'] = 'application/json';
1453
1356
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1454
1357
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1455
1358
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1459,14 +1362,12 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1459
1362
  };
1460
1363
  }),
1461
1364
  /**
1462
- * Get node by lineage id or node id.
1463
- * @param {string} [lineageId]
1464
- * @param {string} [nodeId]
1365
+ * Get nodes.
1465
1366
  * @param {*} [options] Override http request option.
1466
1367
  * @throws {RequiredError}
1467
1368
  */
1468
- v1GetNode: (lineageId, nodeId, options = {}) => __awaiter(this, void 0, void 0, function* () {
1469
- const localVarPath = `/v1/node`;
1369
+ v1GetNodes: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
1370
+ const localVarPath = `/v1/nodes`;
1470
1371
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1471
1372
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1472
1373
  let baseOptions;
@@ -1480,12 +1381,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1480
1381
  // authentication BearerToken required
1481
1382
  // http bearer authentication required
1482
1383
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1483
- if (lineageId !== undefined) {
1484
- localVarQueryParameter['lineageId'] = lineageId;
1485
- }
1486
- if (nodeId !== undefined) {
1487
- localVarQueryParameter['nodeId'] = nodeId;
1488
- }
1384
+ localVarHeaderParameter['Accept'] = 'application/json';
1489
1385
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1490
1386
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1491
1387
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1495,12 +1391,15 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1495
1391
  };
1496
1392
  }),
1497
1393
  /**
1498
- * Get nodes.
1394
+ * Get an optical train instance.
1395
+ * @param {string} id
1499
1396
  * @param {*} [options] Override http request option.
1500
1397
  * @throws {RequiredError}
1501
1398
  */
1502
- v1GetNodes: (options = {}) => __awaiter(this, void 0, void 0, function* () {
1503
- const localVarPath = `/v1/nodes`;
1399
+ v1GetOpticalTrainInstance: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
1400
+ // verify required parameter 'id' is not null or undefined
1401
+ (0, common_1.assertParamExists)('v1GetOpticalTrainInstance', 'id', id);
1402
+ const localVarPath = `/v1/node/optical-train-instance`;
1504
1403
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1505
1404
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1506
1405
  let baseOptions;
@@ -1514,6 +1413,10 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1514
1413
  // authentication BearerToken required
1515
1414
  // http bearer authentication required
1516
1415
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1416
+ if (id !== undefined) {
1417
+ localVarQueryParameter['id'] = id;
1418
+ }
1419
+ localVarHeaderParameter['Accept'] = 'application/json';
1517
1420
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1518
1421
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1519
1422
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1528,7 +1431,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1528
1431
  * @param {*} [options] Override http request option.
1529
1432
  * @throws {RequiredError}
1530
1433
  */
1531
- v1GetOrCreateCamera: (v1GetOrCreateCameraRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
1434
+ v1GetOrCreateCamera: (v1GetOrCreateCameraRequest_1, ...args_1) => __awaiter(this, [v1GetOrCreateCameraRequest_1, ...args_1], void 0, function* (v1GetOrCreateCameraRequest, options = {}) {
1532
1435
  // verify required parameter 'v1GetOrCreateCameraRequest' is not null or undefined
1533
1436
  (0, common_1.assertParamExists)('v1GetOrCreateCamera', 'v1GetOrCreateCameraRequest', v1GetOrCreateCameraRequest);
1534
1437
  const localVarPath = `/v1/camera-match`;
@@ -1546,6 +1449,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1546
1449
  // http bearer authentication required
1547
1450
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1548
1451
  localVarHeaderParameter['Content-Type'] = 'application/json';
1452
+ localVarHeaderParameter['Accept'] = 'application/json';
1549
1453
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1550
1454
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1551
1455
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1561,7 +1465,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1561
1465
  * @param {*} [options] Override http request option.
1562
1466
  * @throws {RequiredError}
1563
1467
  */
1564
- v1GetOrCreateFocuser: (v1GetOrCreateFocuserRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
1468
+ v1GetOrCreateFocuser: (v1GetOrCreateFocuserRequest_1, ...args_1) => __awaiter(this, [v1GetOrCreateFocuserRequest_1, ...args_1], void 0, function* (v1GetOrCreateFocuserRequest, options = {}) {
1565
1469
  // verify required parameter 'v1GetOrCreateFocuserRequest' is not null or undefined
1566
1470
  (0, common_1.assertParamExists)('v1GetOrCreateFocuser', 'v1GetOrCreateFocuserRequest', v1GetOrCreateFocuserRequest);
1567
1471
  const localVarPath = `/v1/focuser-match`;
@@ -1579,6 +1483,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1579
1483
  // http bearer authentication required
1580
1484
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1581
1485
  localVarHeaderParameter['Content-Type'] = 'application/json';
1486
+ localVarHeaderParameter['Accept'] = 'application/json';
1582
1487
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1583
1488
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1584
1489
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1594,7 +1499,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1594
1499
  * @param {*} [options] Override http request option.
1595
1500
  * @throws {RequiredError}
1596
1501
  */
1597
- v1GetOrCreateMount: (v1GetOrCreateMountRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
1502
+ v1GetOrCreateMount: (v1GetOrCreateMountRequest_1, ...args_1) => __awaiter(this, [v1GetOrCreateMountRequest_1, ...args_1], void 0, function* (v1GetOrCreateMountRequest, options = {}) {
1598
1503
  // verify required parameter 'v1GetOrCreateMountRequest' is not null or undefined
1599
1504
  (0, common_1.assertParamExists)('v1GetOrCreateMount', 'v1GetOrCreateMountRequest', v1GetOrCreateMountRequest);
1600
1505
  const localVarPath = `/v1/mount-match`;
@@ -1612,6 +1517,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1612
1517
  // http bearer authentication required
1613
1518
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1614
1519
  localVarHeaderParameter['Content-Type'] = 'application/json';
1520
+ localVarHeaderParameter['Accept'] = 'application/json';
1615
1521
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1616
1522
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1617
1523
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1627,7 +1533,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1627
1533
  * @param {*} [options] Override http request option.
1628
1534
  * @throws {RequiredError}
1629
1535
  */
1630
- v1GetOrCreateOpticalTube: (v1GetOrCreateOpticalTubeRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
1536
+ v1GetOrCreateOpticalTube: (v1GetOrCreateOpticalTubeRequest_1, ...args_1) => __awaiter(this, [v1GetOrCreateOpticalTubeRequest_1, ...args_1], void 0, function* (v1GetOrCreateOpticalTubeRequest, options = {}) {
1631
1537
  // verify required parameter 'v1GetOrCreateOpticalTubeRequest' is not null or undefined
1632
1538
  (0, common_1.assertParamExists)('v1GetOrCreateOpticalTube', 'v1GetOrCreateOpticalTubeRequest', v1GetOrCreateOpticalTubeRequest);
1633
1539
  const localVarPath = `/v1/optical-tube-match`;
@@ -1645,6 +1551,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1645
1551
  // http bearer authentication required
1646
1552
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1647
1553
  localVarHeaderParameter['Content-Type'] = 'application/json';
1554
+ localVarHeaderParameter['Accept'] = 'application/json';
1648
1555
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1649
1556
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1650
1557
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1659,7 +1566,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1659
1566
  * @param {*} [options] Override http request option.
1660
1567
  * @throws {RequiredError}
1661
1568
  */
1662
- v1GetPlatformCredits: (options = {}) => __awaiter(this, void 0, void 0, function* () {
1569
+ v1GetPlatformCredits: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
1663
1570
  const localVarPath = `/v1/platform-credits`;
1664
1571
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1665
1572
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -1674,6 +1581,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1674
1581
  // authentication BearerToken required
1675
1582
  // http bearer authentication required
1676
1583
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1584
+ localVarHeaderParameter['Accept'] = 'application/json';
1677
1585
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1678
1586
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1679
1587
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1690,7 +1598,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1690
1598
  * @param {*} [options] Override http request option.
1691
1599
  * @throws {RequiredError}
1692
1600
  */
1693
- v1GetVisibleAstroTargets: (timestamp, nodeId, offset, options = {}) => __awaiter(this, void 0, void 0, function* () {
1601
+ 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 = {}) {
1694
1602
  // verify required parameter 'timestamp' is not null or undefined
1695
1603
  (0, common_1.assertParamExists)('v1GetVisibleAstroTargets', 'timestamp', timestamp);
1696
1604
  // verify required parameter 'nodeId' is not null or undefined
@@ -1720,6 +1628,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1720
1628
  if (nodeId !== undefined) {
1721
1629
  localVarQueryParameter['nodeId'] = nodeId;
1722
1630
  }
1631
+ localVarHeaderParameter['Accept'] = 'application/json';
1723
1632
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1724
1633
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1725
1634
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1735,7 +1644,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1735
1644
  * @param {*} [options] Override http request option.
1736
1645
  * @throws {RequiredError}
1737
1646
  */
1738
- v1GetWeather: (latitude, longitude, options = {}) => __awaiter(this, void 0, void 0, function* () {
1647
+ v1GetWeather: (latitude_1, longitude_1, ...args_1) => __awaiter(this, [latitude_1, longitude_1, ...args_1], void 0, function* (latitude, longitude, options = {}) {
1739
1648
  // verify required parameter 'latitude' is not null or undefined
1740
1649
  (0, common_1.assertParamExists)('v1GetWeather', 'latitude', latitude);
1741
1650
  // verify required parameter 'longitude' is not null or undefined
@@ -1760,6 +1669,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1760
1669
  if (longitude !== undefined) {
1761
1670
  localVarQueryParameter['longitude'] = longitude;
1762
1671
  }
1672
+ localVarHeaderParameter['Accept'] = 'application/json';
1763
1673
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1764
1674
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1765
1675
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1776,7 +1686,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1776
1686
  * @param {*} [options] Override http request option.
1777
1687
  * @throws {RequiredError}
1778
1688
  */
1779
- v1MatchAstroProject: (targetId, cameraId, otaId, options = {}) => __awaiter(this, void 0, void 0, function* () {
1689
+ 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 = {}) {
1780
1690
  // verify required parameter 'targetId' is not null or undefined
1781
1691
  (0, common_1.assertParamExists)('v1MatchAstroProject', 'targetId', targetId);
1782
1692
  // verify required parameter 'cameraId' is not null or undefined
@@ -1806,6 +1716,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1806
1716
  if (otaId !== undefined) {
1807
1717
  localVarQueryParameter['otaId'] = otaId;
1808
1718
  }
1719
+ localVarHeaderParameter['Accept'] = 'application/json';
1809
1720
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1810
1721
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1811
1722
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1820,7 +1731,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1820
1731
  * @param {*} [options] Override http request option.
1821
1732
  * @throws {RequiredError}
1822
1733
  */
1823
- v1MountMatch: (model, options = {}) => __awaiter(this, void 0, void 0, function* () {
1734
+ v1MountMatch: (model_1, ...args_1) => __awaiter(this, [model_1, ...args_1], void 0, function* (model, options = {}) {
1824
1735
  const localVarPath = `/v1/mount-match`;
1825
1736
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1826
1737
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -1838,6 +1749,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1838
1749
  if (model !== undefined) {
1839
1750
  localVarQueryParameter['model'] = model;
1840
1751
  }
1752
+ localVarHeaderParameter['Accept'] = 'application/json';
1841
1753
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1842
1754
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1843
1755
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1851,10 +1763,11 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1851
1763
  * @param {string} [model]
1852
1764
  * @param {number} [focalLengthMm]
1853
1765
  * @param {number} [apertureMm]
1766
+ * @param {OpticalTubeType} [type]
1854
1767
  * @param {*} [options] Override http request option.
1855
1768
  * @throws {RequiredError}
1856
1769
  */
1857
- v1OpticalTubeMatch: (model, focalLengthMm, apertureMm, options = {}) => __awaiter(this, void 0, void 0, function* () {
1770
+ 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 = {}) {
1858
1771
  const localVarPath = `/v1/optical-tube-match`;
1859
1772
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1860
1773
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -1878,6 +1791,10 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1878
1791
  if (apertureMm !== undefined) {
1879
1792
  localVarQueryParameter['apertureMm'] = apertureMm;
1880
1793
  }
1794
+ if (type !== undefined) {
1795
+ localVarQueryParameter['type'] = type;
1796
+ }
1797
+ localVarHeaderParameter['Accept'] = 'application/json';
1881
1798
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1882
1799
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1883
1800
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1892,7 +1809,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1892
1809
  * @param {*} [options] Override http request option.
1893
1810
  * @throws {RequiredError}
1894
1811
  */
1895
- v1PutStackAstroProject: (v1PutStackAstroProjectRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
1812
+ v1PutStackAstroProject: (v1PutStackAstroProjectRequest_1, ...args_1) => __awaiter(this, [v1PutStackAstroProjectRequest_1, ...args_1], void 0, function* (v1PutStackAstroProjectRequest, options = {}) {
1896
1813
  // verify required parameter 'v1PutStackAstroProjectRequest' is not null or undefined
1897
1814
  (0, common_1.assertParamExists)('v1PutStackAstroProject', 'v1PutStackAstroProjectRequest', v1PutStackAstroProjectRequest);
1898
1815
  const localVarPath = `/v1/stack-astro-project`;
@@ -1910,6 +1827,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1910
1827
  // http bearer authentication required
1911
1828
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1912
1829
  localVarHeaderParameter['Content-Type'] = 'application/json';
1830
+ localVarHeaderParameter['Accept'] = 'application/json';
1913
1831
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1914
1832
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1915
1833
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1925,7 +1843,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1925
1843
  * @param {*} [options] Override http request option.
1926
1844
  * @throws {RequiredError}
1927
1845
  */
1928
- v1UpdateNode: (v1UpdateNodeRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
1846
+ v1UpdateNode: (v1UpdateNodeRequest_1, ...args_1) => __awaiter(this, [v1UpdateNodeRequest_1, ...args_1], void 0, function* (v1UpdateNodeRequest, options = {}) {
1929
1847
  // verify required parameter 'v1UpdateNodeRequest' is not null or undefined
1930
1848
  (0, common_1.assertParamExists)('v1UpdateNode', 'v1UpdateNodeRequest', v1UpdateNodeRequest);
1931
1849
  const localVarPath = `/v1/node`;
@@ -1943,6 +1861,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1943
1861
  // http bearer authentication required
1944
1862
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1945
1863
  localVarHeaderParameter['Content-Type'] = 'application/json';
1864
+ localVarHeaderParameter['Accept'] = 'application/json';
1946
1865
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1947
1866
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1948
1867
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1952,12 +1871,45 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1952
1871
  options: localVarRequestOptions,
1953
1872
  };
1954
1873
  }),
1874
+ /**
1875
+ * Update a node.
1876
+ * @param {V2UpdateNodeRequest} v2UpdateNodeRequest
1877
+ * @param {*} [options] Override http request option.
1878
+ * @throws {RequiredError}
1879
+ */
1880
+ v2UpdateNode: (v2UpdateNodeRequest_1, ...args_1) => __awaiter(this, [v2UpdateNodeRequest_1, ...args_1], void 0, function* (v2UpdateNodeRequest, options = {}) {
1881
+ // verify required parameter 'v2UpdateNodeRequest' is not null or undefined
1882
+ (0, common_1.assertParamExists)('v2UpdateNode', 'v2UpdateNodeRequest', v2UpdateNodeRequest);
1883
+ const localVarPath = `/v2/node`;
1884
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1885
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1886
+ let baseOptions;
1887
+ if (configuration) {
1888
+ baseOptions = configuration.baseOptions;
1889
+ }
1890
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
1891
+ const localVarHeaderParameter = {};
1892
+ const localVarQueryParameter = {};
1893
+ // authentication Roles required
1894
+ // authentication BearerToken required
1895
+ // http bearer authentication required
1896
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1897
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1898
+ localVarHeaderParameter['Accept'] = 'application/json';
1899
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1900
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1901
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1902
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v2UpdateNodeRequest, localVarRequestOptions, configuration);
1903
+ return {
1904
+ url: (0, common_1.toPathString)(localVarUrlObj),
1905
+ options: localVarRequestOptions,
1906
+ };
1907
+ }),
1955
1908
  };
1956
1909
  };
1957
1910
  exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
1958
1911
  /**
1959
1912
  * DefaultApi - functional programming interface
1960
- * @export
1961
1913
  */
1962
1914
  const DefaultApiFp = function (configuration) {
1963
1915
  const localVarAxiosParamCreator = (0, exports.DefaultApiAxiosParamCreator)(configuration);
@@ -1977,56 +1929,11 @@ const DefaultApiFp = function (configuration) {
1977
1929
  */
1978
1930
  v1CameraMatch(model, pixelSizeMicrons, pixelsX, pixelsY, megapixels, chilled, adcBitDepth, isColor, options) {
1979
1931
  return __awaiter(this, void 0, void 0, function* () {
1932
+ var _a, _b, _c;
1980
1933
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CameraMatch(model, pixelSizeMicrons, pixelsX, pixelsY, megapixels, chilled, adcBitDepth, isColor, options);
1981
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1982
- });
1983
- },
1984
- /**
1985
- * Create an astro camera.
1986
- * @param {V1CreateCameraRequest} v1CreateCameraRequest
1987
- * @param {*} [options] Override http request option.
1988
- * @throws {RequiredError}
1989
- */
1990
- v1CreateAstroCamera(v1CreateCameraRequest, options) {
1991
- return __awaiter(this, void 0, void 0, function* () {
1992
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateAstroCamera(v1CreateCameraRequest, options);
1993
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1994
- });
1995
- },
1996
- /**
1997
- * Create an astro focuser.
1998
- * @param {V1CreateFocuserRequest} v1CreateFocuserRequest
1999
- * @param {*} [options] Override http request option.
2000
- * @throws {RequiredError}
2001
- */
2002
- v1CreateAstroFocuser(v1CreateFocuserRequest, options) {
2003
- return __awaiter(this, void 0, void 0, function* () {
2004
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateAstroFocuser(v1CreateFocuserRequest, options);
2005
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2006
- });
2007
- },
2008
- /**
2009
- * Create an astro mount.
2010
- * @param {V1CreateMountRequest} v1CreateMountRequest
2011
- * @param {*} [options] Override http request option.
2012
- * @throws {RequiredError}
2013
- */
2014
- v1CreateAstroMount(v1CreateMountRequest, options) {
2015
- return __awaiter(this, void 0, void 0, function* () {
2016
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateAstroMount(v1CreateMountRequest, options);
2017
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2018
- });
2019
- },
2020
- /**
2021
- * Create an astro optical tube.
2022
- * @param {V1CreateOpticalTubeRequest} v1CreateOpticalTubeRequest
2023
- * @param {*} [options] Override http request option.
2024
- * @throws {RequiredError}
2025
- */
2026
- v1CreateAstroOpticalTube(v1CreateOpticalTubeRequest, options) {
2027
- return __awaiter(this, void 0, void 0, function* () {
2028
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateAstroOpticalTube(v1CreateOpticalTubeRequest, options);
2029
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1934
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1935
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1CameraMatch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1936
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2030
1937
  });
2031
1938
  },
2032
1939
  /**
@@ -2037,8 +1944,11 @@ const DefaultApiFp = function (configuration) {
2037
1944
  */
2038
1945
  v1CreateAstroProject(v1CreateAstroProjectRequest, options) {
2039
1946
  return __awaiter(this, void 0, void 0, function* () {
1947
+ var _a, _b, _c;
2040
1948
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateAstroProject(v1CreateAstroProjectRequest, options);
2041
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1949
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1950
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1CreateAstroProject']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1951
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2042
1952
  });
2043
1953
  },
2044
1954
  /**
@@ -2049,8 +1959,11 @@ const DefaultApiFp = function (configuration) {
2049
1959
  */
2050
1960
  v1CreateAstroProjectImageSet(v1CreateAstroProjectImageSetRequest, options) {
2051
1961
  return __awaiter(this, void 0, void 0, function* () {
1962
+ var _a, _b, _c;
2052
1963
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateAstroProjectImageSet(v1CreateAstroProjectImageSetRequest, options);
2053
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1964
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1965
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1CreateAstroProjectImageSet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1966
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2054
1967
  });
2055
1968
  },
2056
1969
  /**
@@ -2061,8 +1974,11 @@ const DefaultApiFp = function (configuration) {
2061
1974
  */
2062
1975
  v1CreateCalibrationMaster(v1CreateCalibrationMasterRequest, options) {
2063
1976
  return __awaiter(this, void 0, void 0, function* () {
1977
+ var _a, _b, _c;
2064
1978
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateCalibrationMaster(v1CreateCalibrationMasterRequest, options);
2065
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1979
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1980
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1CreateCalibrationMaster']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1981
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2066
1982
  });
2067
1983
  },
2068
1984
  /**
@@ -2073,8 +1989,11 @@ const DefaultApiFp = function (configuration) {
2073
1989
  */
2074
1990
  v1CreateCalibrationSet(v1CreateCalibrationSetRequest, options) {
2075
1991
  return __awaiter(this, void 0, void 0, function* () {
1992
+ var _a, _b, _c;
2076
1993
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateCalibrationSet(v1CreateCalibrationSetRequest, options);
2077
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1994
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1995
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1CreateCalibrationSet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1996
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2078
1997
  });
2079
1998
  },
2080
1999
  /**
@@ -2085,8 +2004,11 @@ const DefaultApiFp = function (configuration) {
2085
2004
  */
2086
2005
  v1CreateCalibrationSetImage(v1CreateCalibrationSetImageRequest, options) {
2087
2006
  return __awaiter(this, void 0, void 0, function* () {
2007
+ var _a, _b, _c;
2088
2008
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateCalibrationSetImage(v1CreateCalibrationSetImageRequest, options);
2089
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2009
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2010
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1CreateCalibrationSetImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2011
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2090
2012
  });
2091
2013
  },
2092
2014
  /**
@@ -2097,8 +2019,11 @@ const DefaultApiFp = function (configuration) {
2097
2019
  */
2098
2020
  v1CreateImageSet(v1CreateImageSetRequest, options) {
2099
2021
  return __awaiter(this, void 0, void 0, function* () {
2022
+ var _a, _b, _c;
2100
2023
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateImageSet(v1CreateImageSetRequest, options);
2101
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2024
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2025
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1CreateImageSet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2026
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2102
2027
  });
2103
2028
  },
2104
2029
  /**
@@ -2109,8 +2034,11 @@ const DefaultApiFp = function (configuration) {
2109
2034
  */
2110
2035
  v1CreateImageSetImage(v1CreateImageSetImageRequest, options) {
2111
2036
  return __awaiter(this, void 0, void 0, function* () {
2037
+ var _a, _b, _c;
2112
2038
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateImageSetImage(v1CreateImageSetImageRequest, options);
2113
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2039
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2040
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1CreateImageSetImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2041
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2114
2042
  });
2115
2043
  },
2116
2044
  /**
@@ -2121,8 +2049,26 @@ const DefaultApiFp = function (configuration) {
2121
2049
  */
2122
2050
  v1CreateNode(v1CreateNodeRequest, options) {
2123
2051
  return __awaiter(this, void 0, void 0, function* () {
2052
+ var _a, _b, _c;
2124
2053
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateNode(v1CreateNodeRequest, options);
2125
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2054
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2055
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1CreateNode']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2056
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2057
+ });
2058
+ },
2059
+ /**
2060
+ * Create an optical train instance.
2061
+ * @param {V1CreateOpticalTrainInstanceRequest} v1CreateOpticalTrainInstanceRequest
2062
+ * @param {*} [options] Override http request option.
2063
+ * @throws {RequiredError}
2064
+ */
2065
+ v1CreateOpticalTrainInstance(v1CreateOpticalTrainInstanceRequest, options) {
2066
+ return __awaiter(this, void 0, void 0, function* () {
2067
+ var _a, _b, _c;
2068
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateOpticalTrainInstance(v1CreateOpticalTrainInstanceRequest, options);
2069
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2070
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1CreateOpticalTrainInstance']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2071
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2126
2072
  });
2127
2073
  },
2128
2074
  /**
@@ -2133,8 +2079,11 @@ const DefaultApiFp = function (configuration) {
2133
2079
  */
2134
2080
  v1DeleteAstroProject(astroProjectId, options) {
2135
2081
  return __awaiter(this, void 0, void 0, function* () {
2082
+ var _a, _b, _c;
2136
2083
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1DeleteAstroProject(astroProjectId, options);
2137
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2084
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2085
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1DeleteAstroProject']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2086
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2138
2087
  });
2139
2088
  },
2140
2089
  /**
@@ -2145,8 +2094,11 @@ const DefaultApiFp = function (configuration) {
2145
2094
  */
2146
2095
  v1DeleteCalibrationMaster(calibrationMasterId, options) {
2147
2096
  return __awaiter(this, void 0, void 0, function* () {
2097
+ var _a, _b, _c;
2148
2098
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1DeleteCalibrationMaster(calibrationMasterId, options);
2149
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2099
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2100
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1DeleteCalibrationMaster']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2101
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2150
2102
  });
2151
2103
  },
2152
2104
  /**
@@ -2157,8 +2109,11 @@ const DefaultApiFp = function (configuration) {
2157
2109
  */
2158
2110
  v1DeleteImageSet(id, options) {
2159
2111
  return __awaiter(this, void 0, void 0, function* () {
2112
+ var _a, _b, _c;
2160
2113
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1DeleteImageSet(id, options);
2161
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2114
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2115
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1DeleteImageSet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2116
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2162
2117
  });
2163
2118
  },
2164
2119
  /**
@@ -2169,8 +2124,26 @@ const DefaultApiFp = function (configuration) {
2169
2124
  */
2170
2125
  v1DeleteImageSetImage(imageId, options) {
2171
2126
  return __awaiter(this, void 0, void 0, function* () {
2127
+ var _a, _b, _c;
2172
2128
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1DeleteImageSetImage(imageId, options);
2173
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2129
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2130
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1DeleteImageSetImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2131
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2132
+ });
2133
+ },
2134
+ /**
2135
+ * Delete an optical train instance.
2136
+ * @param {string} id
2137
+ * @param {*} [options] Override http request option.
2138
+ * @throws {RequiredError}
2139
+ */
2140
+ v1DeleteOpticalTrainInstance(id, options) {
2141
+ return __awaiter(this, void 0, void 0, function* () {
2142
+ var _a, _b, _c;
2143
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1DeleteOpticalTrainInstance(id, options);
2144
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2145
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1DeleteOpticalTrainInstance']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2146
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2174
2147
  });
2175
2148
  },
2176
2149
  /**
@@ -2182,8 +2155,11 @@ const DefaultApiFp = function (configuration) {
2182
2155
  */
2183
2156
  v1FocuserMatch(model, travelDistanceMm, options) {
2184
2157
  return __awaiter(this, void 0, void 0, function* () {
2158
+ var _a, _b, _c;
2185
2159
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1FocuserMatch(model, travelDistanceMm, options);
2186
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2160
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2161
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1FocuserMatch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2162
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2187
2163
  });
2188
2164
  },
2189
2165
  /**
@@ -2194,8 +2170,11 @@ const DefaultApiFp = function (configuration) {
2194
2170
  */
2195
2171
  v1GetAstroCamera(id, options) {
2196
2172
  return __awaiter(this, void 0, void 0, function* () {
2173
+ var _a, _b, _c;
2197
2174
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetAstroCamera(id, options);
2198
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2175
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2176
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1GetAstroCamera']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2177
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2199
2178
  });
2200
2179
  },
2201
2180
  /**
@@ -2206,8 +2185,11 @@ const DefaultApiFp = function (configuration) {
2206
2185
  */
2207
2186
  v1GetAstroFocuser(id, options) {
2208
2187
  return __awaiter(this, void 0, void 0, function* () {
2188
+ var _a, _b, _c;
2209
2189
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetAstroFocuser(id, options);
2210
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2190
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2191
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1GetAstroFocuser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2192
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2211
2193
  });
2212
2194
  },
2213
2195
  /**
@@ -2218,8 +2200,11 @@ const DefaultApiFp = function (configuration) {
2218
2200
  */
2219
2201
  v1GetAstroMount(id, options) {
2220
2202
  return __awaiter(this, void 0, void 0, function* () {
2203
+ var _a, _b, _c;
2221
2204
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetAstroMount(id, options);
2222
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2205
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2206
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1GetAstroMount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2207
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2223
2208
  });
2224
2209
  },
2225
2210
  /**
@@ -2230,8 +2215,11 @@ const DefaultApiFp = function (configuration) {
2230
2215
  */
2231
2216
  v1GetAstroOpticalTube(id, options) {
2232
2217
  return __awaiter(this, void 0, void 0, function* () {
2218
+ var _a, _b, _c;
2233
2219
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetAstroOpticalTube(id, options);
2234
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2220
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2221
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1GetAstroOpticalTube']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2222
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2235
2223
  });
2236
2224
  },
2237
2225
  /**
@@ -2241,8 +2229,11 @@ const DefaultApiFp = function (configuration) {
2241
2229
  */
2242
2230
  v1GetAstroPlatformCreditBalance(options) {
2243
2231
  return __awaiter(this, void 0, void 0, function* () {
2232
+ var _a, _b, _c;
2244
2233
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetAstroPlatformCreditBalance(options);
2245
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2234
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2235
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1GetAstroPlatformCreditBalance']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2236
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2246
2237
  });
2247
2238
  },
2248
2239
  /**
@@ -2253,8 +2244,11 @@ const DefaultApiFp = function (configuration) {
2253
2244
  */
2254
2245
  v1GetAstroProject(astroProjectId, options) {
2255
2246
  return __awaiter(this, void 0, void 0, function* () {
2247
+ var _a, _b, _c;
2256
2248
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetAstroProject(astroProjectId, options);
2257
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2249
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2250
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1GetAstroProject']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2251
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2258
2252
  });
2259
2253
  },
2260
2254
  /**
@@ -2265,8 +2259,26 @@ const DefaultApiFp = function (configuration) {
2265
2259
  */
2266
2260
  v1GetAstroProjectAssets(astroProjectId, options) {
2267
2261
  return __awaiter(this, void 0, void 0, function* () {
2262
+ var _a, _b, _c;
2268
2263
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetAstroProjectAssets(astroProjectId, options);
2269
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2264
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2265
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1GetAstroProjectAssets']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2266
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2267
+ });
2268
+ },
2269
+ /**
2270
+ * Get astro project job logs.
2271
+ * @param {string} astroProjectId
2272
+ * @param {*} [options] Override http request option.
2273
+ * @throws {RequiredError}
2274
+ */
2275
+ v1GetAstroProjectJobLogs(astroProjectId, options) {
2276
+ return __awaiter(this, void 0, void 0, function* () {
2277
+ var _a, _b, _c;
2278
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetAstroProjectJobLogs(astroProjectId, options);
2279
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2280
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1GetAstroProjectJobLogs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2281
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2270
2282
  });
2271
2283
  },
2272
2284
  /**
@@ -2276,8 +2288,11 @@ const DefaultApiFp = function (configuration) {
2276
2288
  */
2277
2289
  v1GetAstroProjects(options) {
2278
2290
  return __awaiter(this, void 0, void 0, function* () {
2291
+ var _a, _b, _c;
2279
2292
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetAstroProjects(options);
2280
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2293
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2294
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1GetAstroProjects']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2295
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2281
2296
  });
2282
2297
  },
2283
2298
  /**
@@ -2290,8 +2305,11 @@ const DefaultApiFp = function (configuration) {
2290
2305
  */
2291
2306
  v1GetAstroTarget(id, ngcId, icId, options) {
2292
2307
  return __awaiter(this, void 0, void 0, function* () {
2308
+ var _a, _b, _c;
2293
2309
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetAstroTarget(id, ngcId, icId, options);
2294
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2310
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2311
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1GetAstroTarget']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2312
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2295
2313
  });
2296
2314
  },
2297
2315
  /**
@@ -2305,8 +2323,11 @@ const DefaultApiFp = function (configuration) {
2305
2323
  */
2306
2324
  v1GetAstroTargets(lastId, catalogId, ra, dec, options) {
2307
2325
  return __awaiter(this, void 0, void 0, function* () {
2326
+ var _a, _b, _c;
2308
2327
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetAstroTargets(lastId, catalogId, ra, dec, options);
2309
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2328
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2329
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1GetAstroTargets']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2330
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2310
2331
  });
2311
2332
  },
2312
2333
  /**
@@ -2317,19 +2338,11 @@ const DefaultApiFp = function (configuration) {
2317
2338
  */
2318
2339
  v1GetCalibrationMasters(nodeId, options) {
2319
2340
  return __awaiter(this, void 0, void 0, function* () {
2341
+ var _a, _b, _c;
2320
2342
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetCalibrationMasters(nodeId, options);
2321
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2322
- });
2323
- },
2324
- /**
2325
- * Get cameras.
2326
- * @param {*} [options] Override http request option.
2327
- * @throws {RequiredError}
2328
- */
2329
- v1GetCameras(options) {
2330
- return __awaiter(this, void 0, void 0, function* () {
2331
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetCameras(options);
2332
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2343
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2344
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1GetCalibrationMasters']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2345
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2333
2346
  });
2334
2347
  },
2335
2348
  /**
@@ -2340,8 +2353,11 @@ const DefaultApiFp = function (configuration) {
2340
2353
  */
2341
2354
  v1GetImageSet(id, options) {
2342
2355
  return __awaiter(this, void 0, void 0, function* () {
2356
+ var _a, _b, _c;
2343
2357
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetImageSet(id, options);
2344
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2358
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2359
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1GetImageSet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2360
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2345
2361
  });
2346
2362
  },
2347
2363
  /**
@@ -2352,43 +2368,42 @@ const DefaultApiFp = function (configuration) {
2352
2368
  */
2353
2369
  v1GetImageSetImage(imageId, options) {
2354
2370
  return __awaiter(this, void 0, void 0, function* () {
2371
+ var _a, _b, _c;
2355
2372
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetImageSetImage(imageId, options);
2356
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2373
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2374
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1GetImageSetImage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2375
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2357
2376
  });
2358
2377
  },
2359
2378
  /**
2360
- * Get image set images.
2361
- * @param {Array<string>} imageSets
2379
+ * 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.
2380
+ * @param {Array<string>} [imageSets]
2381
+ * @param {string} [starPartyId]
2362
2382
  * @param {*} [options] Override http request option.
2363
2383
  * @throws {RequiredError}
2364
2384
  */
2365
- v1GetImageSetImages(imageSets, options) {
2385
+ v1GetImageSetImages(imageSets, starPartyId, options) {
2366
2386
  return __awaiter(this, void 0, void 0, function* () {
2367
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetImageSetImages(imageSets, options);
2368
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2387
+ var _a, _b, _c;
2388
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetImageSetImages(imageSets, starPartyId, options);
2389
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2390
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1GetImageSetImages']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2391
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2369
2392
  });
2370
2393
  },
2371
2394
  /**
2372
- * Get image sets.
2373
- * @param {*} [options] Override http request option.
2374
- * @throws {RequiredError}
2375
- */
2376
- v1GetImageSets(options) {
2377
- return __awaiter(this, void 0, void 0, function* () {
2378
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetImageSets(options);
2379
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2380
- });
2381
- },
2382
- /**
2383
- * Get job logs.
2384
- * @param {string} astroProjectId
2395
+ * 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.
2396
+ * @param {string} [starPartyId]
2385
2397
  * @param {*} [options] Override http request option.
2386
2398
  * @throws {RequiredError}
2387
2399
  */
2388
- v1GetJobLogs(astroProjectId, options) {
2400
+ v1GetImageSets(starPartyId, options) {
2389
2401
  return __awaiter(this, void 0, void 0, function* () {
2390
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetJobLogs(astroProjectId, options);
2391
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2402
+ var _a, _b, _c;
2403
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetImageSets(starPartyId, options);
2404
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2405
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1GetImageSets']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2406
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2392
2407
  });
2393
2408
  },
2394
2409
  /**
@@ -2400,8 +2415,11 @@ const DefaultApiFp = function (configuration) {
2400
2415
  */
2401
2416
  v1GetNode(lineageId, nodeId, options) {
2402
2417
  return __awaiter(this, void 0, void 0, function* () {
2418
+ var _a, _b, _c;
2403
2419
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetNode(lineageId, nodeId, options);
2404
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2420
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2421
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1GetNode']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2422
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2405
2423
  });
2406
2424
  },
2407
2425
  /**
@@ -2411,8 +2429,26 @@ const DefaultApiFp = function (configuration) {
2411
2429
  */
2412
2430
  v1GetNodes(options) {
2413
2431
  return __awaiter(this, void 0, void 0, function* () {
2432
+ var _a, _b, _c;
2414
2433
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetNodes(options);
2415
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2434
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2435
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1GetNodes']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2436
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2437
+ });
2438
+ },
2439
+ /**
2440
+ * Get an optical train instance.
2441
+ * @param {string} id
2442
+ * @param {*} [options] Override http request option.
2443
+ * @throws {RequiredError}
2444
+ */
2445
+ v1GetOpticalTrainInstance(id, options) {
2446
+ return __awaiter(this, void 0, void 0, function* () {
2447
+ var _a, _b, _c;
2448
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetOpticalTrainInstance(id, options);
2449
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2450
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1GetOpticalTrainInstance']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2451
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2416
2452
  });
2417
2453
  },
2418
2454
  /**
@@ -2423,8 +2459,11 @@ const DefaultApiFp = function (configuration) {
2423
2459
  */
2424
2460
  v1GetOrCreateCamera(v1GetOrCreateCameraRequest, options) {
2425
2461
  return __awaiter(this, void 0, void 0, function* () {
2462
+ var _a, _b, _c;
2426
2463
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetOrCreateCamera(v1GetOrCreateCameraRequest, options);
2427
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2464
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2465
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1GetOrCreateCamera']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2466
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2428
2467
  });
2429
2468
  },
2430
2469
  /**
@@ -2435,8 +2474,11 @@ const DefaultApiFp = function (configuration) {
2435
2474
  */
2436
2475
  v1GetOrCreateFocuser(v1GetOrCreateFocuserRequest, options) {
2437
2476
  return __awaiter(this, void 0, void 0, function* () {
2477
+ var _a, _b, _c;
2438
2478
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetOrCreateFocuser(v1GetOrCreateFocuserRequest, options);
2439
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2479
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2480
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1GetOrCreateFocuser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2481
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2440
2482
  });
2441
2483
  },
2442
2484
  /**
@@ -2447,8 +2489,11 @@ const DefaultApiFp = function (configuration) {
2447
2489
  */
2448
2490
  v1GetOrCreateMount(v1GetOrCreateMountRequest, options) {
2449
2491
  return __awaiter(this, void 0, void 0, function* () {
2492
+ var _a, _b, _c;
2450
2493
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetOrCreateMount(v1GetOrCreateMountRequest, options);
2451
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2494
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2495
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1GetOrCreateMount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2496
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2452
2497
  });
2453
2498
  },
2454
2499
  /**
@@ -2459,8 +2504,11 @@ const DefaultApiFp = function (configuration) {
2459
2504
  */
2460
2505
  v1GetOrCreateOpticalTube(v1GetOrCreateOpticalTubeRequest, options) {
2461
2506
  return __awaiter(this, void 0, void 0, function* () {
2507
+ var _a, _b, _c;
2462
2508
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetOrCreateOpticalTube(v1GetOrCreateOpticalTubeRequest, options);
2463
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2509
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2510
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1GetOrCreateOpticalTube']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2511
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2464
2512
  });
2465
2513
  },
2466
2514
  /**
@@ -2470,8 +2518,11 @@ const DefaultApiFp = function (configuration) {
2470
2518
  */
2471
2519
  v1GetPlatformCredits(options) {
2472
2520
  return __awaiter(this, void 0, void 0, function* () {
2521
+ var _a, _b, _c;
2473
2522
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetPlatformCredits(options);
2474
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2523
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2524
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1GetPlatformCredits']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2525
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2475
2526
  });
2476
2527
  },
2477
2528
  /**
@@ -2484,8 +2535,11 @@ const DefaultApiFp = function (configuration) {
2484
2535
  */
2485
2536
  v1GetVisibleAstroTargets(timestamp, nodeId, offset, options) {
2486
2537
  return __awaiter(this, void 0, void 0, function* () {
2538
+ var _a, _b, _c;
2487
2539
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetVisibleAstroTargets(timestamp, nodeId, offset, options);
2488
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2540
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2541
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1GetVisibleAstroTargets']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2542
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2489
2543
  });
2490
2544
  },
2491
2545
  /**
@@ -2497,8 +2551,11 @@ const DefaultApiFp = function (configuration) {
2497
2551
  */
2498
2552
  v1GetWeather(latitude, longitude, options) {
2499
2553
  return __awaiter(this, void 0, void 0, function* () {
2554
+ var _a, _b, _c;
2500
2555
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetWeather(latitude, longitude, options);
2501
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2556
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2557
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1GetWeather']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2558
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2502
2559
  });
2503
2560
  },
2504
2561
  /**
@@ -2511,8 +2568,11 @@ const DefaultApiFp = function (configuration) {
2511
2568
  */
2512
2569
  v1MatchAstroProject(targetId, cameraId, otaId, options) {
2513
2570
  return __awaiter(this, void 0, void 0, function* () {
2571
+ var _a, _b, _c;
2514
2572
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1MatchAstroProject(targetId, cameraId, otaId, options);
2515
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2573
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2574
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1MatchAstroProject']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2575
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2516
2576
  });
2517
2577
  },
2518
2578
  /**
@@ -2523,8 +2583,11 @@ const DefaultApiFp = function (configuration) {
2523
2583
  */
2524
2584
  v1MountMatch(model, options) {
2525
2585
  return __awaiter(this, void 0, void 0, function* () {
2586
+ var _a, _b, _c;
2526
2587
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1MountMatch(model, options);
2527
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2588
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2589
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1MountMatch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2590
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2528
2591
  });
2529
2592
  },
2530
2593
  /**
@@ -2532,13 +2595,17 @@ const DefaultApiFp = function (configuration) {
2532
2595
  * @param {string} [model]
2533
2596
  * @param {number} [focalLengthMm]
2534
2597
  * @param {number} [apertureMm]
2598
+ * @param {OpticalTubeType} [type]
2535
2599
  * @param {*} [options] Override http request option.
2536
2600
  * @throws {RequiredError}
2537
2601
  */
2538
- v1OpticalTubeMatch(model, focalLengthMm, apertureMm, options) {
2602
+ v1OpticalTubeMatch(model, focalLengthMm, apertureMm, type, options) {
2539
2603
  return __awaiter(this, void 0, void 0, function* () {
2540
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1OpticalTubeMatch(model, focalLengthMm, apertureMm, options);
2541
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2604
+ var _a, _b, _c;
2605
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1OpticalTubeMatch(model, focalLengthMm, apertureMm, type, options);
2606
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2607
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1OpticalTubeMatch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2608
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2542
2609
  });
2543
2610
  },
2544
2611
  /**
@@ -2549,8 +2616,11 @@ const DefaultApiFp = function (configuration) {
2549
2616
  */
2550
2617
  v1PutStackAstroProject(v1PutStackAstroProjectRequest, options) {
2551
2618
  return __awaiter(this, void 0, void 0, function* () {
2619
+ var _a, _b, _c;
2552
2620
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1PutStackAstroProject(v1PutStackAstroProjectRequest, options);
2553
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2621
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2622
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1PutStackAstroProject']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2623
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2554
2624
  });
2555
2625
  },
2556
2626
  /**
@@ -2561,8 +2631,26 @@ const DefaultApiFp = function (configuration) {
2561
2631
  */
2562
2632
  v1UpdateNode(v1UpdateNodeRequest, options) {
2563
2633
  return __awaiter(this, void 0, void 0, function* () {
2634
+ var _a, _b, _c;
2564
2635
  const localVarAxiosArgs = yield localVarAxiosParamCreator.v1UpdateNode(v1UpdateNodeRequest, options);
2565
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2636
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2637
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v1UpdateNode']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2638
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2639
+ });
2640
+ },
2641
+ /**
2642
+ * Update a node.
2643
+ * @param {V2UpdateNodeRequest} v2UpdateNodeRequest
2644
+ * @param {*} [options] Override http request option.
2645
+ * @throws {RequiredError}
2646
+ */
2647
+ v2UpdateNode(v2UpdateNodeRequest, options) {
2648
+ return __awaiter(this, void 0, void 0, function* () {
2649
+ var _a, _b, _c;
2650
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v2UpdateNode(v2UpdateNodeRequest, options);
2651
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2652
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.v2UpdateNode']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2653
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2566
2654
  });
2567
2655
  },
2568
2656
  };
@@ -2570,7 +2658,6 @@ const DefaultApiFp = function (configuration) {
2570
2658
  exports.DefaultApiFp = DefaultApiFp;
2571
2659
  /**
2572
2660
  * DefaultApi - factory interface
2573
- * @export
2574
2661
  */
2575
2662
  const DefaultApiFactory = function (configuration, basePath, axios) {
2576
2663
  const localVarFp = (0, exports.DefaultApiFp)(configuration);
@@ -2584,42 +2671,6 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2584
2671
  v1CameraMatch(requestParameters = {}, options) {
2585
2672
  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));
2586
2673
  },
2587
- /**
2588
- * Create an astro camera.
2589
- * @param {DefaultApiV1CreateAstroCameraRequest} requestParameters Request parameters.
2590
- * @param {*} [options] Override http request option.
2591
- * @throws {RequiredError}
2592
- */
2593
- v1CreateAstroCamera(requestParameters, options) {
2594
- return localVarFp.v1CreateAstroCamera(requestParameters.v1CreateCameraRequest, options).then((request) => request(axios, basePath));
2595
- },
2596
- /**
2597
- * Create an astro focuser.
2598
- * @param {DefaultApiV1CreateAstroFocuserRequest} requestParameters Request parameters.
2599
- * @param {*} [options] Override http request option.
2600
- * @throws {RequiredError}
2601
- */
2602
- v1CreateAstroFocuser(requestParameters, options) {
2603
- return localVarFp.v1CreateAstroFocuser(requestParameters.v1CreateFocuserRequest, options).then((request) => request(axios, basePath));
2604
- },
2605
- /**
2606
- * Create an astro mount.
2607
- * @param {DefaultApiV1CreateAstroMountRequest} requestParameters Request parameters.
2608
- * @param {*} [options] Override http request option.
2609
- * @throws {RequiredError}
2610
- */
2611
- v1CreateAstroMount(requestParameters, options) {
2612
- return localVarFp.v1CreateAstroMount(requestParameters.v1CreateMountRequest, options).then((request) => request(axios, basePath));
2613
- },
2614
- /**
2615
- * Create an astro optical tube.
2616
- * @param {DefaultApiV1CreateAstroOpticalTubeRequest} requestParameters Request parameters.
2617
- * @param {*} [options] Override http request option.
2618
- * @throws {RequiredError}
2619
- */
2620
- v1CreateAstroOpticalTube(requestParameters, options) {
2621
- return localVarFp.v1CreateAstroOpticalTube(requestParameters.v1CreateOpticalTubeRequest, options).then((request) => request(axios, basePath));
2622
- },
2623
2674
  /**
2624
2675
  * Create an astro project.
2625
2676
  * @param {DefaultApiV1CreateAstroProjectRequest} requestParameters Request parameters.
@@ -2692,6 +2743,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2692
2743
  v1CreateNode(requestParameters, options) {
2693
2744
  return localVarFp.v1CreateNode(requestParameters.v1CreateNodeRequest, options).then((request) => request(axios, basePath));
2694
2745
  },
2746
+ /**
2747
+ * Create an optical train instance.
2748
+ * @param {DefaultApiV1CreateOpticalTrainInstanceRequest} requestParameters Request parameters.
2749
+ * @param {*} [options] Override http request option.
2750
+ * @throws {RequiredError}
2751
+ */
2752
+ v1CreateOpticalTrainInstance(requestParameters, options) {
2753
+ return localVarFp.v1CreateOpticalTrainInstance(requestParameters.v1CreateOpticalTrainInstanceRequest, options).then((request) => request(axios, basePath));
2754
+ },
2695
2755
  /**
2696
2756
  * Delete an astro project with all associated assets and images.
2697
2757
  * @param {DefaultApiV1DeleteAstroProjectRequest} requestParameters Request parameters.
@@ -2728,6 +2788,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2728
2788
  v1DeleteImageSetImage(requestParameters, options) {
2729
2789
  return localVarFp.v1DeleteImageSetImage(requestParameters.imageId, options).then((request) => request(axios, basePath));
2730
2790
  },
2791
+ /**
2792
+ * Delete an optical train instance.
2793
+ * @param {DefaultApiV1DeleteOpticalTrainInstanceRequest} requestParameters Request parameters.
2794
+ * @param {*} [options] Override http request option.
2795
+ * @throws {RequiredError}
2796
+ */
2797
+ v1DeleteOpticalTrainInstance(requestParameters, options) {
2798
+ return localVarFp.v1DeleteOpticalTrainInstance(requestParameters.id, options).then((request) => request(axios, basePath));
2799
+ },
2731
2800
  /**
2732
2801
  * Match focuser.
2733
2802
  * @param {DefaultApiV1FocuserMatchRequest} requestParameters Request parameters.
@@ -2799,6 +2868,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2799
2868
  v1GetAstroProjectAssets(requestParameters, options) {
2800
2869
  return localVarFp.v1GetAstroProjectAssets(requestParameters.astroProjectId, options).then((request) => request(axios, basePath));
2801
2870
  },
2871
+ /**
2872
+ * Get astro project job logs.
2873
+ * @param {DefaultApiV1GetAstroProjectJobLogsRequest} requestParameters Request parameters.
2874
+ * @param {*} [options] Override http request option.
2875
+ * @throws {RequiredError}
2876
+ */
2877
+ v1GetAstroProjectJobLogs(requestParameters, options) {
2878
+ return localVarFp.v1GetAstroProjectJobLogs(requestParameters.astroProjectId, options).then((request) => request(axios, basePath));
2879
+ },
2802
2880
  /**
2803
2881
  * Get astro projects.
2804
2882
  * @param {*} [options] Override http request option.
@@ -2834,14 +2912,6 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2834
2912
  v1GetCalibrationMasters(requestParameters, options) {
2835
2913
  return localVarFp.v1GetCalibrationMasters(requestParameters.nodeId, options).then((request) => request(axios, basePath));
2836
2914
  },
2837
- /**
2838
- * Get cameras.
2839
- * @param {*} [options] Override http request option.
2840
- * @throws {RequiredError}
2841
- */
2842
- v1GetCameras(options) {
2843
- return localVarFp.v1GetCameras(options).then((request) => request(axios, basePath));
2844
- },
2845
2915
  /**
2846
2916
  * Get an image set.
2847
2917
  * @param {DefaultApiV1GetImageSetRequest} requestParameters Request parameters.
@@ -2861,30 +2931,22 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2861
2931
  return localVarFp.v1GetImageSetImage(requestParameters.imageId, options).then((request) => request(axios, basePath));
2862
2932
  },
2863
2933
  /**
2864
- * Get image set images.
2934
+ * 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.
2865
2935
  * @param {DefaultApiV1GetImageSetImagesRequest} requestParameters Request parameters.
2866
2936
  * @param {*} [options] Override http request option.
2867
2937
  * @throws {RequiredError}
2868
2938
  */
2869
- v1GetImageSetImages(requestParameters, options) {
2870
- return localVarFp.v1GetImageSetImages(requestParameters.imageSets, options).then((request) => request(axios, basePath));
2939
+ v1GetImageSetImages(requestParameters = {}, options) {
2940
+ return localVarFp.v1GetImageSetImages(requestParameters.imageSets, requestParameters.starPartyId, options).then((request) => request(axios, basePath));
2871
2941
  },
2872
2942
  /**
2873
- * Get image sets.
2943
+ * 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.
2944
+ * @param {DefaultApiV1GetImageSetsRequest} requestParameters Request parameters.
2874
2945
  * @param {*} [options] Override http request option.
2875
2946
  * @throws {RequiredError}
2876
2947
  */
2877
- v1GetImageSets(options) {
2878
- return localVarFp.v1GetImageSets(options).then((request) => request(axios, basePath));
2879
- },
2880
- /**
2881
- * Get job logs.
2882
- * @param {DefaultApiV1GetJobLogsRequest} requestParameters Request parameters.
2883
- * @param {*} [options] Override http request option.
2884
- * @throws {RequiredError}
2885
- */
2886
- v1GetJobLogs(requestParameters, options) {
2887
- return localVarFp.v1GetJobLogs(requestParameters.astroProjectId, options).then((request) => request(axios, basePath));
2948
+ v1GetImageSets(requestParameters = {}, options) {
2949
+ return localVarFp.v1GetImageSets(requestParameters.starPartyId, options).then((request) => request(axios, basePath));
2888
2950
  },
2889
2951
  /**
2890
2952
  * Get node by lineage id or node id.
@@ -2903,6 +2965,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2903
2965
  v1GetNodes(options) {
2904
2966
  return localVarFp.v1GetNodes(options).then((request) => request(axios, basePath));
2905
2967
  },
2968
+ /**
2969
+ * Get an optical train instance.
2970
+ * @param {DefaultApiV1GetOpticalTrainInstanceRequest} requestParameters Request parameters.
2971
+ * @param {*} [options] Override http request option.
2972
+ * @throws {RequiredError}
2973
+ */
2974
+ v1GetOpticalTrainInstance(requestParameters, options) {
2975
+ return localVarFp.v1GetOpticalTrainInstance(requestParameters.id, options).then((request) => request(axios, basePath));
2976
+ },
2906
2977
  /**
2907
2978
  * Get or create camera.
2908
2979
  * @param {DefaultApiV1GetOrCreateCameraRequest} requestParameters Request parameters.
@@ -2990,7 +3061,7 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2990
3061
  * @throws {RequiredError}
2991
3062
  */
2992
3063
  v1OpticalTubeMatch(requestParameters = {}, options) {
2993
- return localVarFp.v1OpticalTubeMatch(requestParameters.model, requestParameters.focalLengthMm, requestParameters.apertureMm, options).then((request) => request(axios, basePath));
3064
+ return localVarFp.v1OpticalTubeMatch(requestParameters.model, requestParameters.focalLengthMm, requestParameters.apertureMm, requestParameters.type, options).then((request) => request(axios, basePath));
2994
3065
  },
2995
3066
  /**
2996
3067
  * Stack an astro project.
@@ -3010,14 +3081,20 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
3010
3081
  v1UpdateNode(requestParameters, options) {
3011
3082
  return localVarFp.v1UpdateNode(requestParameters.v1UpdateNodeRequest, options).then((request) => request(axios, basePath));
3012
3083
  },
3084
+ /**
3085
+ * Update a node.
3086
+ * @param {DefaultApiV2UpdateNodeRequest} requestParameters Request parameters.
3087
+ * @param {*} [options] Override http request option.
3088
+ * @throws {RequiredError}
3089
+ */
3090
+ v2UpdateNode(requestParameters, options) {
3091
+ return localVarFp.v2UpdateNode(requestParameters.v2UpdateNodeRequest, options).then((request) => request(axios, basePath));
3092
+ },
3013
3093
  };
3014
3094
  };
3015
3095
  exports.DefaultApiFactory = DefaultApiFactory;
3016
3096
  /**
3017
3097
  * DefaultApi - object-oriented interface
3018
- * @export
3019
- * @class DefaultApi
3020
- * @extends {BaseAPI}
3021
3098
  */
3022
3099
  class DefaultApi extends base_1.BaseAPI {
3023
3100
  /**
@@ -3025,57 +3102,15 @@ class DefaultApi extends base_1.BaseAPI {
3025
3102
  * @param {DefaultApiV1CameraMatchRequest} requestParameters Request parameters.
3026
3103
  * @param {*} [options] Override http request option.
3027
3104
  * @throws {RequiredError}
3028
- * @memberof DefaultApi
3029
3105
  */
3030
3106
  v1CameraMatch(requestParameters = {}, options) {
3031
3107
  return (0, exports.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));
3032
3108
  }
3033
- /**
3034
- * Create an astro camera.
3035
- * @param {DefaultApiV1CreateAstroCameraRequest} requestParameters Request parameters.
3036
- * @param {*} [options] Override http request option.
3037
- * @throws {RequiredError}
3038
- * @memberof DefaultApi
3039
- */
3040
- v1CreateAstroCamera(requestParameters, options) {
3041
- return (0, exports.DefaultApiFp)(this.configuration).v1CreateAstroCamera(requestParameters.v1CreateCameraRequest, options).then((request) => request(this.axios, this.basePath));
3042
- }
3043
- /**
3044
- * Create an astro focuser.
3045
- * @param {DefaultApiV1CreateAstroFocuserRequest} requestParameters Request parameters.
3046
- * @param {*} [options] Override http request option.
3047
- * @throws {RequiredError}
3048
- * @memberof DefaultApi
3049
- */
3050
- v1CreateAstroFocuser(requestParameters, options) {
3051
- return (0, exports.DefaultApiFp)(this.configuration).v1CreateAstroFocuser(requestParameters.v1CreateFocuserRequest, options).then((request) => request(this.axios, this.basePath));
3052
- }
3053
- /**
3054
- * Create an astro mount.
3055
- * @param {DefaultApiV1CreateAstroMountRequest} requestParameters Request parameters.
3056
- * @param {*} [options] Override http request option.
3057
- * @throws {RequiredError}
3058
- * @memberof DefaultApi
3059
- */
3060
- v1CreateAstroMount(requestParameters, options) {
3061
- return (0, exports.DefaultApiFp)(this.configuration).v1CreateAstroMount(requestParameters.v1CreateMountRequest, options).then((request) => request(this.axios, this.basePath));
3062
- }
3063
- /**
3064
- * Create an astro optical tube.
3065
- * @param {DefaultApiV1CreateAstroOpticalTubeRequest} requestParameters Request parameters.
3066
- * @param {*} [options] Override http request option.
3067
- * @throws {RequiredError}
3068
- * @memberof DefaultApi
3069
- */
3070
- v1CreateAstroOpticalTube(requestParameters, options) {
3071
- return (0, exports.DefaultApiFp)(this.configuration).v1CreateAstroOpticalTube(requestParameters.v1CreateOpticalTubeRequest, options).then((request) => request(this.axios, this.basePath));
3072
- }
3073
3109
  /**
3074
3110
  * Create an astro project.
3075
3111
  * @param {DefaultApiV1CreateAstroProjectRequest} requestParameters Request parameters.
3076
3112
  * @param {*} [options] Override http request option.
3077
3113
  * @throws {RequiredError}
3078
- * @memberof DefaultApi
3079
3114
  */
3080
3115
  v1CreateAstroProject(requestParameters, options) {
3081
3116
  return (0, exports.DefaultApiFp)(this.configuration).v1CreateAstroProject(requestParameters.v1CreateAstroProjectRequest, options).then((request) => request(this.axios, this.basePath));
@@ -3085,7 +3120,6 @@ class DefaultApi extends base_1.BaseAPI {
3085
3120
  * @param {DefaultApiV1CreateAstroProjectImageSetRequest} requestParameters Request parameters.
3086
3121
  * @param {*} [options] Override http request option.
3087
3122
  * @throws {RequiredError}
3088
- * @memberof DefaultApi
3089
3123
  */
3090
3124
  v1CreateAstroProjectImageSet(requestParameters, options) {
3091
3125
  return (0, exports.DefaultApiFp)(this.configuration).v1CreateAstroProjectImageSet(requestParameters.v1CreateAstroProjectImageSetRequest, options).then((request) => request(this.axios, this.basePath));
@@ -3095,7 +3129,6 @@ class DefaultApi extends base_1.BaseAPI {
3095
3129
  * @param {DefaultApiV1CreateCalibrationMasterRequest} requestParameters Request parameters.
3096
3130
  * @param {*} [options] Override http request option.
3097
3131
  * @throws {RequiredError}
3098
- * @memberof DefaultApi
3099
3132
  */
3100
3133
  v1CreateCalibrationMaster(requestParameters, options) {
3101
3134
  return (0, exports.DefaultApiFp)(this.configuration).v1CreateCalibrationMaster(requestParameters.v1CreateCalibrationMasterRequest, options).then((request) => request(this.axios, this.basePath));
@@ -3105,7 +3138,6 @@ class DefaultApi extends base_1.BaseAPI {
3105
3138
  * @param {DefaultApiV1CreateCalibrationSetRequest} requestParameters Request parameters.
3106
3139
  * @param {*} [options] Override http request option.
3107
3140
  * @throws {RequiredError}
3108
- * @memberof DefaultApi
3109
3141
  */
3110
3142
  v1CreateCalibrationSet(requestParameters, options) {
3111
3143
  return (0, exports.DefaultApiFp)(this.configuration).v1CreateCalibrationSet(requestParameters.v1CreateCalibrationSetRequest, options).then((request) => request(this.axios, this.basePath));
@@ -3115,7 +3147,6 @@ class DefaultApi extends base_1.BaseAPI {
3115
3147
  * @param {DefaultApiV1CreateCalibrationSetImageRequest} requestParameters Request parameters.
3116
3148
  * @param {*} [options] Override http request option.
3117
3149
  * @throws {RequiredError}
3118
- * @memberof DefaultApi
3119
3150
  */
3120
3151
  v1CreateCalibrationSetImage(requestParameters, options) {
3121
3152
  return (0, exports.DefaultApiFp)(this.configuration).v1CreateCalibrationSetImage(requestParameters.v1CreateCalibrationSetImageRequest, options).then((request) => request(this.axios, this.basePath));
@@ -3125,7 +3156,6 @@ class DefaultApi extends base_1.BaseAPI {
3125
3156
  * @param {DefaultApiV1CreateImageSetRequest} requestParameters Request parameters.
3126
3157
  * @param {*} [options] Override http request option.
3127
3158
  * @throws {RequiredError}
3128
- * @memberof DefaultApi
3129
3159
  */
3130
3160
  v1CreateImageSet(requestParameters, options) {
3131
3161
  return (0, exports.DefaultApiFp)(this.configuration).v1CreateImageSet(requestParameters.v1CreateImageSetRequest, options).then((request) => request(this.axios, this.basePath));
@@ -3135,7 +3165,6 @@ class DefaultApi extends base_1.BaseAPI {
3135
3165
  * @param {DefaultApiV1CreateImageSetImageRequest} requestParameters Request parameters.
3136
3166
  * @param {*} [options] Override http request option.
3137
3167
  * @throws {RequiredError}
3138
- * @memberof DefaultApi
3139
3168
  */
3140
3169
  v1CreateImageSetImage(requestParameters, options) {
3141
3170
  return (0, exports.DefaultApiFp)(this.configuration).v1CreateImageSetImage(requestParameters.v1CreateImageSetImageRequest, options).then((request) => request(this.axios, this.basePath));
@@ -3145,17 +3174,24 @@ class DefaultApi extends base_1.BaseAPI {
3145
3174
  * @param {DefaultApiV1CreateNodeRequest} requestParameters Request parameters.
3146
3175
  * @param {*} [options] Override http request option.
3147
3176
  * @throws {RequiredError}
3148
- * @memberof DefaultApi
3149
3177
  */
3150
3178
  v1CreateNode(requestParameters, options) {
3151
3179
  return (0, exports.DefaultApiFp)(this.configuration).v1CreateNode(requestParameters.v1CreateNodeRequest, options).then((request) => request(this.axios, this.basePath));
3152
3180
  }
3181
+ /**
3182
+ * Create an optical train instance.
3183
+ * @param {DefaultApiV1CreateOpticalTrainInstanceRequest} requestParameters Request parameters.
3184
+ * @param {*} [options] Override http request option.
3185
+ * @throws {RequiredError}
3186
+ */
3187
+ v1CreateOpticalTrainInstance(requestParameters, options) {
3188
+ return (0, exports.DefaultApiFp)(this.configuration).v1CreateOpticalTrainInstance(requestParameters.v1CreateOpticalTrainInstanceRequest, options).then((request) => request(this.axios, this.basePath));
3189
+ }
3153
3190
  /**
3154
3191
  * Delete an astro project with all associated assets and images.
3155
3192
  * @param {DefaultApiV1DeleteAstroProjectRequest} requestParameters Request parameters.
3156
3193
  * @param {*} [options] Override http request option.
3157
3194
  * @throws {RequiredError}
3158
- * @memberof DefaultApi
3159
3195
  */
3160
3196
  v1DeleteAstroProject(requestParameters, options) {
3161
3197
  return (0, exports.DefaultApiFp)(this.configuration).v1DeleteAstroProject(requestParameters.astroProjectId, options).then((request) => request(this.axios, this.basePath));
@@ -3165,7 +3201,6 @@ class DefaultApi extends base_1.BaseAPI {
3165
3201
  * @param {DefaultApiV1DeleteCalibrationMasterRequest} requestParameters Request parameters.
3166
3202
  * @param {*} [options] Override http request option.
3167
3203
  * @throws {RequiredError}
3168
- * @memberof DefaultApi
3169
3204
  */
3170
3205
  v1DeleteCalibrationMaster(requestParameters, options) {
3171
3206
  return (0, exports.DefaultApiFp)(this.configuration).v1DeleteCalibrationMaster(requestParameters.calibrationMasterId, options).then((request) => request(this.axios, this.basePath));
@@ -3175,7 +3210,6 @@ class DefaultApi extends base_1.BaseAPI {
3175
3210
  * @param {DefaultApiV1DeleteImageSetRequest} requestParameters Request parameters.
3176
3211
  * @param {*} [options] Override http request option.
3177
3212
  * @throws {RequiredError}
3178
- * @memberof DefaultApi
3179
3213
  */
3180
3214
  v1DeleteImageSet(requestParameters, options) {
3181
3215
  return (0, exports.DefaultApiFp)(this.configuration).v1DeleteImageSet(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
@@ -3185,17 +3219,24 @@ class DefaultApi extends base_1.BaseAPI {
3185
3219
  * @param {DefaultApiV1DeleteImageSetImageRequest} requestParameters Request parameters.
3186
3220
  * @param {*} [options] Override http request option.
3187
3221
  * @throws {RequiredError}
3188
- * @memberof DefaultApi
3189
3222
  */
3190
3223
  v1DeleteImageSetImage(requestParameters, options) {
3191
3224
  return (0, exports.DefaultApiFp)(this.configuration).v1DeleteImageSetImage(requestParameters.imageId, options).then((request) => request(this.axios, this.basePath));
3192
3225
  }
3226
+ /**
3227
+ * Delete an optical train instance.
3228
+ * @param {DefaultApiV1DeleteOpticalTrainInstanceRequest} requestParameters Request parameters.
3229
+ * @param {*} [options] Override http request option.
3230
+ * @throws {RequiredError}
3231
+ */
3232
+ v1DeleteOpticalTrainInstance(requestParameters, options) {
3233
+ return (0, exports.DefaultApiFp)(this.configuration).v1DeleteOpticalTrainInstance(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
3234
+ }
3193
3235
  /**
3194
3236
  * Match focuser.
3195
3237
  * @param {DefaultApiV1FocuserMatchRequest} requestParameters Request parameters.
3196
3238
  * @param {*} [options] Override http request option.
3197
3239
  * @throws {RequiredError}
3198
- * @memberof DefaultApi
3199
3240
  */
3200
3241
  v1FocuserMatch(requestParameters = {}, options) {
3201
3242
  return (0, exports.DefaultApiFp)(this.configuration).v1FocuserMatch(requestParameters.model, requestParameters.travelDistanceMm, options).then((request) => request(this.axios, this.basePath));
@@ -3205,7 +3246,6 @@ class DefaultApi extends base_1.BaseAPI {
3205
3246
  * @param {DefaultApiV1GetAstroCameraRequest} requestParameters Request parameters.
3206
3247
  * @param {*} [options] Override http request option.
3207
3248
  * @throws {RequiredError}
3208
- * @memberof DefaultApi
3209
3249
  */
3210
3250
  v1GetAstroCamera(requestParameters, options) {
3211
3251
  return (0, exports.DefaultApiFp)(this.configuration).v1GetAstroCamera(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
@@ -3215,7 +3255,6 @@ class DefaultApi extends base_1.BaseAPI {
3215
3255
  * @param {DefaultApiV1GetAstroFocuserRequest} requestParameters Request parameters.
3216
3256
  * @param {*} [options] Override http request option.
3217
3257
  * @throws {RequiredError}
3218
- * @memberof DefaultApi
3219
3258
  */
3220
3259
  v1GetAstroFocuser(requestParameters, options) {
3221
3260
  return (0, exports.DefaultApiFp)(this.configuration).v1GetAstroFocuser(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
@@ -3225,7 +3264,6 @@ class DefaultApi extends base_1.BaseAPI {
3225
3264
  * @param {DefaultApiV1GetAstroMountRequest} requestParameters Request parameters.
3226
3265
  * @param {*} [options] Override http request option.
3227
3266
  * @throws {RequiredError}
3228
- * @memberof DefaultApi
3229
3267
  */
3230
3268
  v1GetAstroMount(requestParameters, options) {
3231
3269
  return (0, exports.DefaultApiFp)(this.configuration).v1GetAstroMount(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
@@ -3235,7 +3273,6 @@ class DefaultApi extends base_1.BaseAPI {
3235
3273
  * @param {DefaultApiV1GetAstroOpticalTubeRequest} requestParameters Request parameters.
3236
3274
  * @param {*} [options] Override http request option.
3237
3275
  * @throws {RequiredError}
3238
- * @memberof DefaultApi
3239
3276
  */
3240
3277
  v1GetAstroOpticalTube(requestParameters, options) {
3241
3278
  return (0, exports.DefaultApiFp)(this.configuration).v1GetAstroOpticalTube(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
@@ -3244,7 +3281,6 @@ class DefaultApi extends base_1.BaseAPI {
3244
3281
  * Get astro platform credit balance.
3245
3282
  * @param {*} [options] Override http request option.
3246
3283
  * @throws {RequiredError}
3247
- * @memberof DefaultApi
3248
3284
  */
3249
3285
  v1GetAstroPlatformCreditBalance(options) {
3250
3286
  return (0, exports.DefaultApiFp)(this.configuration).v1GetAstroPlatformCreditBalance(options).then((request) => request(this.axios, this.basePath));
@@ -3254,7 +3290,6 @@ class DefaultApi extends base_1.BaseAPI {
3254
3290
  * @param {DefaultApiV1GetAstroProjectRequest} requestParameters Request parameters.
3255
3291
  * @param {*} [options] Override http request option.
3256
3292
  * @throws {RequiredError}
3257
- * @memberof DefaultApi
3258
3293
  */
3259
3294
  v1GetAstroProject(requestParameters, options) {
3260
3295
  return (0, exports.DefaultApiFp)(this.configuration).v1GetAstroProject(requestParameters.astroProjectId, options).then((request) => request(this.axios, this.basePath));
@@ -3264,16 +3299,23 @@ class DefaultApi extends base_1.BaseAPI {
3264
3299
  * @param {DefaultApiV1GetAstroProjectAssetsRequest} requestParameters Request parameters.
3265
3300
  * @param {*} [options] Override http request option.
3266
3301
  * @throws {RequiredError}
3267
- * @memberof DefaultApi
3268
3302
  */
3269
3303
  v1GetAstroProjectAssets(requestParameters, options) {
3270
3304
  return (0, exports.DefaultApiFp)(this.configuration).v1GetAstroProjectAssets(requestParameters.astroProjectId, options).then((request) => request(this.axios, this.basePath));
3271
3305
  }
3306
+ /**
3307
+ * Get astro project job logs.
3308
+ * @param {DefaultApiV1GetAstroProjectJobLogsRequest} requestParameters Request parameters.
3309
+ * @param {*} [options] Override http request option.
3310
+ * @throws {RequiredError}
3311
+ */
3312
+ v1GetAstroProjectJobLogs(requestParameters, options) {
3313
+ return (0, exports.DefaultApiFp)(this.configuration).v1GetAstroProjectJobLogs(requestParameters.astroProjectId, options).then((request) => request(this.axios, this.basePath));
3314
+ }
3272
3315
  /**
3273
3316
  * Get astro projects.
3274
3317
  * @param {*} [options] Override http request option.
3275
3318
  * @throws {RequiredError}
3276
- * @memberof DefaultApi
3277
3319
  */
3278
3320
  v1GetAstroProjects(options) {
3279
3321
  return (0, exports.DefaultApiFp)(this.configuration).v1GetAstroProjects(options).then((request) => request(this.axios, this.basePath));
@@ -3283,7 +3325,6 @@ class DefaultApi extends base_1.BaseAPI {
3283
3325
  * @param {DefaultApiV1GetAstroTargetRequest} requestParameters Request parameters.
3284
3326
  * @param {*} [options] Override http request option.
3285
3327
  * @throws {RequiredError}
3286
- * @memberof DefaultApi
3287
3328
  */
3288
3329
  v1GetAstroTarget(requestParameters = {}, options) {
3289
3330
  return (0, exports.DefaultApiFp)(this.configuration).v1GetAstroTarget(requestParameters.id, requestParameters.ngcId, requestParameters.icId, options).then((request) => request(this.axios, this.basePath));
@@ -3293,7 +3334,6 @@ class DefaultApi extends base_1.BaseAPI {
3293
3334
  * @param {DefaultApiV1GetAstroTargetsRequest} requestParameters Request parameters.
3294
3335
  * @param {*} [options] Override http request option.
3295
3336
  * @throws {RequiredError}
3296
- * @memberof DefaultApi
3297
3337
  */
3298
3338
  v1GetAstroTargets(requestParameters = {}, options) {
3299
3339
  return (0, exports.DefaultApiFp)(this.configuration).v1GetAstroTargets(requestParameters.lastId, requestParameters.catalogId, requestParameters.ra, requestParameters.dec, options).then((request) => request(this.axios, this.basePath));
@@ -3303,26 +3343,15 @@ class DefaultApi extends base_1.BaseAPI {
3303
3343
  * @param {DefaultApiV1GetCalibrationMastersRequest} requestParameters Request parameters.
3304
3344
  * @param {*} [options] Override http request option.
3305
3345
  * @throws {RequiredError}
3306
- * @memberof DefaultApi
3307
3346
  */
3308
3347
  v1GetCalibrationMasters(requestParameters, options) {
3309
3348
  return (0, exports.DefaultApiFp)(this.configuration).v1GetCalibrationMasters(requestParameters.nodeId, options).then((request) => request(this.axios, this.basePath));
3310
3349
  }
3311
- /**
3312
- * Get cameras.
3313
- * @param {*} [options] Override http request option.
3314
- * @throws {RequiredError}
3315
- * @memberof DefaultApi
3316
- */
3317
- v1GetCameras(options) {
3318
- return (0, exports.DefaultApiFp)(this.configuration).v1GetCameras(options).then((request) => request(this.axios, this.basePath));
3319
- }
3320
3350
  /**
3321
3351
  * Get an image set.
3322
3352
  * @param {DefaultApiV1GetImageSetRequest} requestParameters Request parameters.
3323
3353
  * @param {*} [options] Override http request option.
3324
3354
  * @throws {RequiredError}
3325
- * @memberof DefaultApi
3326
3355
  */
3327
3356
  v1GetImageSet(requestParameters, options) {
3328
3357
  return (0, exports.DefaultApiFp)(this.configuration).v1GetImageSet(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
@@ -3332,46 +3361,33 @@ class DefaultApi extends base_1.BaseAPI {
3332
3361
  * @param {DefaultApiV1GetImageSetImageRequest} requestParameters Request parameters.
3333
3362
  * @param {*} [options] Override http request option.
3334
3363
  * @throws {RequiredError}
3335
- * @memberof DefaultApi
3336
3364
  */
3337
3365
  v1GetImageSetImage(requestParameters, options) {
3338
3366
  return (0, exports.DefaultApiFp)(this.configuration).v1GetImageSetImage(requestParameters.imageId, options).then((request) => request(this.axios, this.basePath));
3339
3367
  }
3340
3368
  /**
3341
- * Get image set images.
3369
+ * 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.
3342
3370
  * @param {DefaultApiV1GetImageSetImagesRequest} requestParameters Request parameters.
3343
3371
  * @param {*} [options] Override http request option.
3344
3372
  * @throws {RequiredError}
3345
- * @memberof DefaultApi
3346
3373
  */
3347
- v1GetImageSetImages(requestParameters, options) {
3348
- return (0, exports.DefaultApiFp)(this.configuration).v1GetImageSetImages(requestParameters.imageSets, options).then((request) => request(this.axios, this.basePath));
3374
+ v1GetImageSetImages(requestParameters = {}, options) {
3375
+ return (0, exports.DefaultApiFp)(this.configuration).v1GetImageSetImages(requestParameters.imageSets, requestParameters.starPartyId, options).then((request) => request(this.axios, this.basePath));
3349
3376
  }
3350
3377
  /**
3351
- * Get image sets.
3378
+ * 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.
3379
+ * @param {DefaultApiV1GetImageSetsRequest} requestParameters Request parameters.
3352
3380
  * @param {*} [options] Override http request option.
3353
3381
  * @throws {RequiredError}
3354
- * @memberof DefaultApi
3355
3382
  */
3356
- v1GetImageSets(options) {
3357
- return (0, exports.DefaultApiFp)(this.configuration).v1GetImageSets(options).then((request) => request(this.axios, this.basePath));
3358
- }
3359
- /**
3360
- * Get job logs.
3361
- * @param {DefaultApiV1GetJobLogsRequest} requestParameters Request parameters.
3362
- * @param {*} [options] Override http request option.
3363
- * @throws {RequiredError}
3364
- * @memberof DefaultApi
3365
- */
3366
- v1GetJobLogs(requestParameters, options) {
3367
- return (0, exports.DefaultApiFp)(this.configuration).v1GetJobLogs(requestParameters.astroProjectId, options).then((request) => request(this.axios, this.basePath));
3383
+ v1GetImageSets(requestParameters = {}, options) {
3384
+ return (0, exports.DefaultApiFp)(this.configuration).v1GetImageSets(requestParameters.starPartyId, options).then((request) => request(this.axios, this.basePath));
3368
3385
  }
3369
3386
  /**
3370
3387
  * Get node by lineage id or node id.
3371
3388
  * @param {DefaultApiV1GetNodeRequest} requestParameters Request parameters.
3372
3389
  * @param {*} [options] Override http request option.
3373
3390
  * @throws {RequiredError}
3374
- * @memberof DefaultApi
3375
3391
  */
3376
3392
  v1GetNode(requestParameters = {}, options) {
3377
3393
  return (0, exports.DefaultApiFp)(this.configuration).v1GetNode(requestParameters.lineageId, requestParameters.nodeId, options).then((request) => request(this.axios, this.basePath));
@@ -3380,17 +3396,24 @@ class DefaultApi extends base_1.BaseAPI {
3380
3396
  * Get nodes.
3381
3397
  * @param {*} [options] Override http request option.
3382
3398
  * @throws {RequiredError}
3383
- * @memberof DefaultApi
3384
3399
  */
3385
3400
  v1GetNodes(options) {
3386
3401
  return (0, exports.DefaultApiFp)(this.configuration).v1GetNodes(options).then((request) => request(this.axios, this.basePath));
3387
3402
  }
3403
+ /**
3404
+ * Get an optical train instance.
3405
+ * @param {DefaultApiV1GetOpticalTrainInstanceRequest} requestParameters Request parameters.
3406
+ * @param {*} [options] Override http request option.
3407
+ * @throws {RequiredError}
3408
+ */
3409
+ v1GetOpticalTrainInstance(requestParameters, options) {
3410
+ return (0, exports.DefaultApiFp)(this.configuration).v1GetOpticalTrainInstance(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
3411
+ }
3388
3412
  /**
3389
3413
  * Get or create camera.
3390
3414
  * @param {DefaultApiV1GetOrCreateCameraRequest} requestParameters Request parameters.
3391
3415
  * @param {*} [options] Override http request option.
3392
3416
  * @throws {RequiredError}
3393
- * @memberof DefaultApi
3394
3417
  */
3395
3418
  v1GetOrCreateCamera(requestParameters, options) {
3396
3419
  return (0, exports.DefaultApiFp)(this.configuration).v1GetOrCreateCamera(requestParameters.v1GetOrCreateCameraRequest, options).then((request) => request(this.axios, this.basePath));
@@ -3400,7 +3423,6 @@ class DefaultApi extends base_1.BaseAPI {
3400
3423
  * @param {DefaultApiV1GetOrCreateFocuserRequest} requestParameters Request parameters.
3401
3424
  * @param {*} [options] Override http request option.
3402
3425
  * @throws {RequiredError}
3403
- * @memberof DefaultApi
3404
3426
  */
3405
3427
  v1GetOrCreateFocuser(requestParameters, options) {
3406
3428
  return (0, exports.DefaultApiFp)(this.configuration).v1GetOrCreateFocuser(requestParameters.v1GetOrCreateFocuserRequest, options).then((request) => request(this.axios, this.basePath));
@@ -3410,7 +3432,6 @@ class DefaultApi extends base_1.BaseAPI {
3410
3432
  * @param {DefaultApiV1GetOrCreateMountRequest} requestParameters Request parameters.
3411
3433
  * @param {*} [options] Override http request option.
3412
3434
  * @throws {RequiredError}
3413
- * @memberof DefaultApi
3414
3435
  */
3415
3436
  v1GetOrCreateMount(requestParameters, options) {
3416
3437
  return (0, exports.DefaultApiFp)(this.configuration).v1GetOrCreateMount(requestParameters.v1GetOrCreateMountRequest, options).then((request) => request(this.axios, this.basePath));
@@ -3420,7 +3441,6 @@ class DefaultApi extends base_1.BaseAPI {
3420
3441
  * @param {DefaultApiV1GetOrCreateOpticalTubeRequest} requestParameters Request parameters.
3421
3442
  * @param {*} [options] Override http request option.
3422
3443
  * @throws {RequiredError}
3423
- * @memberof DefaultApi
3424
3444
  */
3425
3445
  v1GetOrCreateOpticalTube(requestParameters, options) {
3426
3446
  return (0, exports.DefaultApiFp)(this.configuration).v1GetOrCreateOpticalTube(requestParameters.v1GetOrCreateOpticalTubeRequest, options).then((request) => request(this.axios, this.basePath));
@@ -3429,7 +3449,6 @@ class DefaultApi extends base_1.BaseAPI {
3429
3449
  * Get platform credits.
3430
3450
  * @param {*} [options] Override http request option.
3431
3451
  * @throws {RequiredError}
3432
- * @memberof DefaultApi
3433
3452
  */
3434
3453
  v1GetPlatformCredits(options) {
3435
3454
  return (0, exports.DefaultApiFp)(this.configuration).v1GetPlatformCredits(options).then((request) => request(this.axios, this.basePath));
@@ -3439,7 +3458,6 @@ class DefaultApi extends base_1.BaseAPI {
3439
3458
  * @param {DefaultApiV1GetVisibleAstroTargetsRequest} requestParameters Request parameters.
3440
3459
  * @param {*} [options] Override http request option.
3441
3460
  * @throws {RequiredError}
3442
- * @memberof DefaultApi
3443
3461
  */
3444
3462
  v1GetVisibleAstroTargets(requestParameters, options) {
3445
3463
  return (0, exports.DefaultApiFp)(this.configuration).v1GetVisibleAstroTargets(requestParameters.timestamp, requestParameters.nodeId, requestParameters.offset, options).then((request) => request(this.axios, this.basePath));
@@ -3449,7 +3467,6 @@ class DefaultApi extends base_1.BaseAPI {
3449
3467
  * @param {DefaultApiV1GetWeatherRequest} requestParameters Request parameters.
3450
3468
  * @param {*} [options] Override http request option.
3451
3469
  * @throws {RequiredError}
3452
- * @memberof DefaultApi
3453
3470
  */
3454
3471
  v1GetWeather(requestParameters, options) {
3455
3472
  return (0, exports.DefaultApiFp)(this.configuration).v1GetWeather(requestParameters.latitude, requestParameters.longitude, options).then((request) => request(this.axios, this.basePath));
@@ -3459,7 +3476,6 @@ class DefaultApi extends base_1.BaseAPI {
3459
3476
  * @param {DefaultApiV1MatchAstroProjectRequest} requestParameters Request parameters.
3460
3477
  * @param {*} [options] Override http request option.
3461
3478
  * @throws {RequiredError}
3462
- * @memberof DefaultApi
3463
3479
  */
3464
3480
  v1MatchAstroProject(requestParameters, options) {
3465
3481
  return (0, exports.DefaultApiFp)(this.configuration).v1MatchAstroProject(requestParameters.targetId, requestParameters.cameraId, requestParameters.otaId, options).then((request) => request(this.axios, this.basePath));
@@ -3469,7 +3485,6 @@ class DefaultApi extends base_1.BaseAPI {
3469
3485
  * @param {DefaultApiV1MountMatchRequest} requestParameters Request parameters.
3470
3486
  * @param {*} [options] Override http request option.
3471
3487
  * @throws {RequiredError}
3472
- * @memberof DefaultApi
3473
3488
  */
3474
3489
  v1MountMatch(requestParameters = {}, options) {
3475
3490
  return (0, exports.DefaultApiFp)(this.configuration).v1MountMatch(requestParameters.model, options).then((request) => request(this.axios, this.basePath));
@@ -3479,17 +3494,15 @@ class DefaultApi extends base_1.BaseAPI {
3479
3494
  * @param {DefaultApiV1OpticalTubeMatchRequest} requestParameters Request parameters.
3480
3495
  * @param {*} [options] Override http request option.
3481
3496
  * @throws {RequiredError}
3482
- * @memberof DefaultApi
3483
3497
  */
3484
3498
  v1OpticalTubeMatch(requestParameters = {}, options) {
3485
- return (0, exports.DefaultApiFp)(this.configuration).v1OpticalTubeMatch(requestParameters.model, requestParameters.focalLengthMm, requestParameters.apertureMm, options).then((request) => request(this.axios, this.basePath));
3499
+ return (0, exports.DefaultApiFp)(this.configuration).v1OpticalTubeMatch(requestParameters.model, requestParameters.focalLengthMm, requestParameters.apertureMm, requestParameters.type, options).then((request) => request(this.axios, this.basePath));
3486
3500
  }
3487
3501
  /**
3488
3502
  * Stack an astro project.
3489
3503
  * @param {DefaultApiV1PutStackAstroProjectRequest} requestParameters Request parameters.
3490
3504
  * @param {*} [options] Override http request option.
3491
3505
  * @throws {RequiredError}
3492
- * @memberof DefaultApi
3493
3506
  */
3494
3507
  v1PutStackAstroProject(requestParameters, options) {
3495
3508
  return (0, exports.DefaultApiFp)(this.configuration).v1PutStackAstroProject(requestParameters.v1PutStackAstroProjectRequest, options).then((request) => request(this.axios, this.basePath));
@@ -3499,10 +3512,18 @@ class DefaultApi extends base_1.BaseAPI {
3499
3512
  * @param {DefaultApiV1UpdateNodeRequest} requestParameters Request parameters.
3500
3513
  * @param {*} [options] Override http request option.
3501
3514
  * @throws {RequiredError}
3502
- * @memberof DefaultApi
3503
3515
  */
3504
3516
  v1UpdateNode(requestParameters, options) {
3505
3517
  return (0, exports.DefaultApiFp)(this.configuration).v1UpdateNode(requestParameters.v1UpdateNodeRequest, options).then((request) => request(this.axios, this.basePath));
3506
3518
  }
3519
+ /**
3520
+ * Update a node.
3521
+ * @param {DefaultApiV2UpdateNodeRequest} requestParameters Request parameters.
3522
+ * @param {*} [options] Override http request option.
3523
+ * @throws {RequiredError}
3524
+ */
3525
+ v2UpdateNode(requestParameters, options) {
3526
+ return (0, exports.DefaultApiFp)(this.configuration).v2UpdateNode(requestParameters.v2UpdateNodeRequest, options).then((request) => request(this.axios, this.basePath));
3527
+ }
3507
3528
  }
3508
3529
  exports.DefaultApi = DefaultApi;