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