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