@ourskyai/astro-api 1.3.1734
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 +13 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +45 -0
- package/api.ts +4686 -0
- package/base.ts +72 -0
- package/common.ts +150 -0
- package/configuration.ts +101 -0
- package/dist/api.d.ts +3120 -0
- package/dist/api.js +2353 -0
- package/dist/base.d.ts +54 -0
- package/dist/base.js +59 -0
- package/dist/common.d.ts +65 -0
- package/dist/common.js +160 -0
- package/dist/configuration.d.ts +83 -0
- package/dist/configuration.js +42 -0
- package/dist/esm/api.d.ts +3120 -0
- package/dist/esm/api.js +2346 -0
- package/dist/esm/base.d.ts +54 -0
- package/dist/esm/base.js +54 -0
- package/dist/esm/common.d.ts +65 -0
- package/dist/esm/common.js +148 -0
- package/dist/esm/configuration.d.ts +83 -0
- package/dist/esm/configuration.js +38 -0
- package/dist/esm/index.d.ts +13 -0
- package/dist/esm/index.js +15 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +31 -0
- package/git_push.sh +57 -0
- package/index.ts +18 -0
- package/package.json +33 -0
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +18 -0
package/dist/api.js
ADDED
|
@@ -0,0 +1,2353 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* OurSky Astro
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.3.1734
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.V1PlatformCreditUnit = exports.V1PlatformCreditType = exports.V1PlatformCreditSource = exports.TrackingType = exports.ShutterType = exports.OpticalTubeType = exports.NodeState = exports.MountType = exports.FilterType = exports.CalibrationMasterType = exports.AssetType = exports.AssetFileType = void 0;
|
|
26
|
+
const axios_1 = require("axios");
|
|
27
|
+
// Some imports not used depending on template conditions
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
const common_1 = require("./common");
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
const base_1 = require("./base");
|
|
32
|
+
/**
|
|
33
|
+
* asset file type
|
|
34
|
+
* @export
|
|
35
|
+
* @enum {string}
|
|
36
|
+
*/
|
|
37
|
+
exports.AssetFileType = {
|
|
38
|
+
FITS: 'FITS',
|
|
39
|
+
TIFF: 'TIFF',
|
|
40
|
+
PNG: 'PNG',
|
|
41
|
+
JPEG: 'JPEG',
|
|
42
|
+
JSON: 'JSON',
|
|
43
|
+
TXT: 'TXT'
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* asset type
|
|
47
|
+
* @export
|
|
48
|
+
* @enum {string}
|
|
49
|
+
*/
|
|
50
|
+
exports.AssetType = {
|
|
51
|
+
STACK_RESULT: 'STACK_RESULT',
|
|
52
|
+
PROJECT_UNBEAUTIFIED: 'PROJECT_UNBEAUTIFIED',
|
|
53
|
+
PROJECT_BEAUTIFIED: 'PROJECT_BEAUTIFIED',
|
|
54
|
+
IMAGE_THUMBNAIL: 'IMAGE_THUMBNAIL',
|
|
55
|
+
PROJECT_BEAUTIFIED_THUMBNAIL: 'PROJECT_BEAUTIFIED_THUMBNAIL'
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @export
|
|
60
|
+
* @enum {string}
|
|
61
|
+
*/
|
|
62
|
+
exports.CalibrationMasterType = {
|
|
63
|
+
FLAT: 'FLAT',
|
|
64
|
+
DARK: 'DARK',
|
|
65
|
+
BIAS: 'BIAS'
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @export
|
|
70
|
+
* @enum {string}
|
|
71
|
+
*/
|
|
72
|
+
exports.FilterType = {
|
|
73
|
+
NONE: 'NONE',
|
|
74
|
+
RED: 'RED',
|
|
75
|
+
BLUE: 'BLUE',
|
|
76
|
+
GREEN: 'GREEN',
|
|
77
|
+
UV: 'UV',
|
|
78
|
+
IR: 'IR',
|
|
79
|
+
LUMINANCE: 'LUMINANCE',
|
|
80
|
+
ENHANCED_LUMINANCE: 'ENHANCED_LUMINANCE',
|
|
81
|
+
H_ALPHA: 'H_ALPHA',
|
|
82
|
+
H_BETA: 'H_BETA',
|
|
83
|
+
S_II: 'S_II',
|
|
84
|
+
O_III: 'O_III',
|
|
85
|
+
DUAL_BAND: 'DUAL_BAND',
|
|
86
|
+
PHOTO_JOHNSON_U: 'PHOTO_JOHNSON_U',
|
|
87
|
+
PHOTO_JOHNSON_B: 'PHOTO_JOHNSON_B',
|
|
88
|
+
PHOTO_JOHNSON_V: 'PHOTO_JOHNSON_V',
|
|
89
|
+
PHOTO_COUSINS_R: 'PHOTO_COUSINS_R',
|
|
90
|
+
PHOTO_COUSINS_I: 'PHOTO_COUSINS_I'
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* The type of mount
|
|
94
|
+
* @export
|
|
95
|
+
* @enum {string}
|
|
96
|
+
*/
|
|
97
|
+
exports.MountType = {
|
|
98
|
+
ALT_AZ: 'ALT_AZ',
|
|
99
|
+
EQUITORIAL: 'EQUITORIAL'
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* possible states for a node
|
|
103
|
+
* @export
|
|
104
|
+
* @enum {string}
|
|
105
|
+
*/
|
|
106
|
+
exports.NodeState = {
|
|
107
|
+
READY: 'READY',
|
|
108
|
+
PENDING: 'PENDING',
|
|
109
|
+
OFFLINE: 'OFFLINE',
|
|
110
|
+
UNAVAILABLE: 'UNAVAILABLE',
|
|
111
|
+
UNKNOWN: 'UNKNOWN',
|
|
112
|
+
SUPERSEDED: 'SUPERSEDED'
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
* optical tube types
|
|
116
|
+
* @export
|
|
117
|
+
* @enum {string}
|
|
118
|
+
*/
|
|
119
|
+
exports.OpticalTubeType = {
|
|
120
|
+
NEWTONIAN: 'NEWTONIAN',
|
|
121
|
+
SCT: 'SCT',
|
|
122
|
+
MCT: 'MCT',
|
|
123
|
+
RC: 'RC',
|
|
124
|
+
REFRACTOR: 'REFRACTOR'
|
|
125
|
+
};
|
|
126
|
+
/**
|
|
127
|
+
* shutter type
|
|
128
|
+
* @export
|
|
129
|
+
* @enum {string}
|
|
130
|
+
*/
|
|
131
|
+
exports.ShutterType = {
|
|
132
|
+
ROLLING: 'ROLLING',
|
|
133
|
+
GLOBAL: 'GLOBAL'
|
|
134
|
+
};
|
|
135
|
+
/**
|
|
136
|
+
* target tracking type
|
|
137
|
+
* @export
|
|
138
|
+
* @enum {string}
|
|
139
|
+
*/
|
|
140
|
+
exports.TrackingType = {
|
|
141
|
+
SIDEREAL: 'SIDEREAL',
|
|
142
|
+
TARGET_RATE: 'TARGET_RATE'
|
|
143
|
+
};
|
|
144
|
+
/**
|
|
145
|
+
* platform credit source
|
|
146
|
+
* @export
|
|
147
|
+
* @enum {string}
|
|
148
|
+
*/
|
|
149
|
+
exports.V1PlatformCreditSource = {
|
|
150
|
+
SIGNUP: 'SIGNUP',
|
|
151
|
+
OSR_CONTRIBUTION: 'OSR_CONTRIBUTION',
|
|
152
|
+
STACKING: 'STACKING',
|
|
153
|
+
ADMIN: 'ADMIN'
|
|
154
|
+
};
|
|
155
|
+
/**
|
|
156
|
+
* platform credit type
|
|
157
|
+
* @export
|
|
158
|
+
* @enum {string}
|
|
159
|
+
*/
|
|
160
|
+
exports.V1PlatformCreditType = {
|
|
161
|
+
ASTRO_PLATFORM_USAGE: 'ASTRO_PLATFORM_USAGE'
|
|
162
|
+
};
|
|
163
|
+
/**
|
|
164
|
+
* platform credit unit
|
|
165
|
+
* @export
|
|
166
|
+
* @enum {string}
|
|
167
|
+
*/
|
|
168
|
+
exports.V1PlatformCreditUnit = {
|
|
169
|
+
MEGABYTE: 'MEGABYTE'
|
|
170
|
+
};
|
|
171
|
+
/**
|
|
172
|
+
* DefaultApi - axios parameter creator
|
|
173
|
+
* @export
|
|
174
|
+
*/
|
|
175
|
+
const DefaultApiAxiosParamCreator = function (configuration) {
|
|
176
|
+
return {
|
|
177
|
+
/**
|
|
178
|
+
* match camera
|
|
179
|
+
* @param {string} [model]
|
|
180
|
+
* @param {number} [pixelSizeMicrons]
|
|
181
|
+
* @param {number} [pixelsX]
|
|
182
|
+
* @param {number} [pixelsY]
|
|
183
|
+
* @param {number} [megapixels]
|
|
184
|
+
* @param {boolean} [chilled]
|
|
185
|
+
* @param {number} [adcBitDepth]
|
|
186
|
+
* @param {boolean} [isColor]
|
|
187
|
+
* @param {*} [options] Override http request option.
|
|
188
|
+
* @throws {RequiredError}
|
|
189
|
+
*/
|
|
190
|
+
v1CameraMatch: (model, pixelSizeMicrons, pixelsX, pixelsY, megapixels, chilled, adcBitDepth, isColor, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
191
|
+
const localVarPath = `/v1/camera-match`;
|
|
192
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
193
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
194
|
+
let baseOptions;
|
|
195
|
+
if (configuration) {
|
|
196
|
+
baseOptions = configuration.baseOptions;
|
|
197
|
+
}
|
|
198
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
199
|
+
const localVarHeaderParameter = {};
|
|
200
|
+
const localVarQueryParameter = {};
|
|
201
|
+
// authentication Roles required
|
|
202
|
+
// authentication BearerToken required
|
|
203
|
+
// http bearer authentication required
|
|
204
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
205
|
+
if (model !== undefined) {
|
|
206
|
+
localVarQueryParameter['model'] = model;
|
|
207
|
+
}
|
|
208
|
+
if (pixelSizeMicrons !== undefined) {
|
|
209
|
+
localVarQueryParameter['pixelSizeMicrons'] = pixelSizeMicrons;
|
|
210
|
+
}
|
|
211
|
+
if (pixelsX !== undefined) {
|
|
212
|
+
localVarQueryParameter['pixelsX'] = pixelsX;
|
|
213
|
+
}
|
|
214
|
+
if (pixelsY !== undefined) {
|
|
215
|
+
localVarQueryParameter['pixelsY'] = pixelsY;
|
|
216
|
+
}
|
|
217
|
+
if (megapixels !== undefined) {
|
|
218
|
+
localVarQueryParameter['megapixels'] = megapixels;
|
|
219
|
+
}
|
|
220
|
+
if (chilled !== undefined) {
|
|
221
|
+
localVarQueryParameter['chilled'] = chilled;
|
|
222
|
+
}
|
|
223
|
+
if (adcBitDepth !== undefined) {
|
|
224
|
+
localVarQueryParameter['adcBitDepth'] = adcBitDepth;
|
|
225
|
+
}
|
|
226
|
+
if (isColor !== undefined) {
|
|
227
|
+
localVarQueryParameter['isColor'] = isColor;
|
|
228
|
+
}
|
|
229
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
230
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
231
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
232
|
+
return {
|
|
233
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
234
|
+
options: localVarRequestOptions,
|
|
235
|
+
};
|
|
236
|
+
}),
|
|
237
|
+
/**
|
|
238
|
+
* create an astro user camera
|
|
239
|
+
* @param {V1CreateCamera} v1CreateCamera request to create an camera
|
|
240
|
+
* @param {*} [options] Override http request option.
|
|
241
|
+
* @throws {RequiredError}
|
|
242
|
+
*/
|
|
243
|
+
v1CreateAstroCamera: (v1CreateCamera, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
244
|
+
// verify required parameter 'v1CreateCamera' is not null or undefined
|
|
245
|
+
(0, common_1.assertParamExists)('v1CreateAstroCamera', 'v1CreateCamera', v1CreateCamera);
|
|
246
|
+
const localVarPath = `/v1/astro-camera`;
|
|
247
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
248
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
249
|
+
let baseOptions;
|
|
250
|
+
if (configuration) {
|
|
251
|
+
baseOptions = configuration.baseOptions;
|
|
252
|
+
}
|
|
253
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
254
|
+
const localVarHeaderParameter = {};
|
|
255
|
+
const localVarQueryParameter = {};
|
|
256
|
+
// authentication Roles required
|
|
257
|
+
// authentication BearerToken required
|
|
258
|
+
// http bearer authentication required
|
|
259
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
260
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
261
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
262
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
263
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
264
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v1CreateCamera, localVarRequestOptions, configuration);
|
|
265
|
+
return {
|
|
266
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
267
|
+
options: localVarRequestOptions,
|
|
268
|
+
};
|
|
269
|
+
}),
|
|
270
|
+
/**
|
|
271
|
+
* create an astro user mount
|
|
272
|
+
* @param {V1CreateMount} v1CreateMount request to create a mount
|
|
273
|
+
* @param {*} [options] Override http request option.
|
|
274
|
+
* @throws {RequiredError}
|
|
275
|
+
*/
|
|
276
|
+
v1CreateAstroMount: (v1CreateMount, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
277
|
+
// verify required parameter 'v1CreateMount' is not null or undefined
|
|
278
|
+
(0, common_1.assertParamExists)('v1CreateAstroMount', 'v1CreateMount', v1CreateMount);
|
|
279
|
+
const localVarPath = `/v1/astro-mount`;
|
|
280
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
281
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
282
|
+
let baseOptions;
|
|
283
|
+
if (configuration) {
|
|
284
|
+
baseOptions = configuration.baseOptions;
|
|
285
|
+
}
|
|
286
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
287
|
+
const localVarHeaderParameter = {};
|
|
288
|
+
const localVarQueryParameter = {};
|
|
289
|
+
// authentication Roles required
|
|
290
|
+
// authentication BearerToken required
|
|
291
|
+
// http bearer authentication required
|
|
292
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
293
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
294
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
295
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
296
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
297
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v1CreateMount, localVarRequestOptions, configuration);
|
|
298
|
+
return {
|
|
299
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
300
|
+
options: localVarRequestOptions,
|
|
301
|
+
};
|
|
302
|
+
}),
|
|
303
|
+
/**
|
|
304
|
+
* create an optical tube for an astro user
|
|
305
|
+
* @param {V1CreateOpticalTube} v1CreateOpticalTube request to create an optical tube
|
|
306
|
+
* @param {*} [options] Override http request option.
|
|
307
|
+
* @throws {RequiredError}
|
|
308
|
+
*/
|
|
309
|
+
v1CreateAstroOpticalTube: (v1CreateOpticalTube, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
310
|
+
// verify required parameter 'v1CreateOpticalTube' is not null or undefined
|
|
311
|
+
(0, common_1.assertParamExists)('v1CreateAstroOpticalTube', 'v1CreateOpticalTube', v1CreateOpticalTube);
|
|
312
|
+
const localVarPath = `/v1/astro-optical-tube`;
|
|
313
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
314
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
315
|
+
let baseOptions;
|
|
316
|
+
if (configuration) {
|
|
317
|
+
baseOptions = configuration.baseOptions;
|
|
318
|
+
}
|
|
319
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
320
|
+
const localVarHeaderParameter = {};
|
|
321
|
+
const localVarQueryParameter = {};
|
|
322
|
+
// authentication Roles required
|
|
323
|
+
// authentication BearerToken required
|
|
324
|
+
// http bearer authentication required
|
|
325
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
326
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
327
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
328
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
329
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
330
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v1CreateOpticalTube, localVarRequestOptions, configuration);
|
|
331
|
+
return {
|
|
332
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
333
|
+
options: localVarRequestOptions,
|
|
334
|
+
};
|
|
335
|
+
}),
|
|
336
|
+
/**
|
|
337
|
+
* create an astro project
|
|
338
|
+
* @param {V1CreateAstroProject} v1CreateAstroProject request to create an astro project
|
|
339
|
+
* @param {*} [options] Override http request option.
|
|
340
|
+
* @throws {RequiredError}
|
|
341
|
+
*/
|
|
342
|
+
v1CreateAstroProject: (v1CreateAstroProject, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
343
|
+
// verify required parameter 'v1CreateAstroProject' is not null or undefined
|
|
344
|
+
(0, common_1.assertParamExists)('v1CreateAstroProject', 'v1CreateAstroProject', v1CreateAstroProject);
|
|
345
|
+
const localVarPath = `/v1/astro-project`;
|
|
346
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
347
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
348
|
+
let baseOptions;
|
|
349
|
+
if (configuration) {
|
|
350
|
+
baseOptions = configuration.baseOptions;
|
|
351
|
+
}
|
|
352
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
353
|
+
const localVarHeaderParameter = {};
|
|
354
|
+
const localVarQueryParameter = {};
|
|
355
|
+
// authentication Roles required
|
|
356
|
+
// authentication BearerToken required
|
|
357
|
+
// http bearer authentication required
|
|
358
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
359
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
360
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
361
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
362
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
363
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v1CreateAstroProject, localVarRequestOptions, configuration);
|
|
364
|
+
return {
|
|
365
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
366
|
+
options: localVarRequestOptions,
|
|
367
|
+
};
|
|
368
|
+
}),
|
|
369
|
+
/**
|
|
370
|
+
* create a project image set
|
|
371
|
+
* @param {V1CreateAstroProjectImageSet} v1CreateAstroProjectImageSet request to create a project image Set
|
|
372
|
+
* @param {*} [options] Override http request option.
|
|
373
|
+
* @throws {RequiredError}
|
|
374
|
+
*/
|
|
375
|
+
v1CreateAstroProjectImageSet: (v1CreateAstroProjectImageSet, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
376
|
+
// verify required parameter 'v1CreateAstroProjectImageSet' is not null or undefined
|
|
377
|
+
(0, common_1.assertParamExists)('v1CreateAstroProjectImageSet', 'v1CreateAstroProjectImageSet', v1CreateAstroProjectImageSet);
|
|
378
|
+
const localVarPath = `/v1/astro-project-image-set`;
|
|
379
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
380
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
381
|
+
let baseOptions;
|
|
382
|
+
if (configuration) {
|
|
383
|
+
baseOptions = configuration.baseOptions;
|
|
384
|
+
}
|
|
385
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
386
|
+
const localVarHeaderParameter = {};
|
|
387
|
+
const localVarQueryParameter = {};
|
|
388
|
+
// authentication Roles required
|
|
389
|
+
// authentication BearerToken required
|
|
390
|
+
// http bearer authentication required
|
|
391
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
392
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
393
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
394
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
395
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
396
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v1CreateAstroProjectImageSet, localVarRequestOptions, configuration);
|
|
397
|
+
return {
|
|
398
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
399
|
+
options: localVarRequestOptions,
|
|
400
|
+
};
|
|
401
|
+
}),
|
|
402
|
+
/**
|
|
403
|
+
* create an calibration master
|
|
404
|
+
* @param {V1CreateCalibrationMaster} v1CreateCalibrationMaster request to create the calibration master
|
|
405
|
+
* @param {*} [options] Override http request option.
|
|
406
|
+
* @throws {RequiredError}
|
|
407
|
+
*/
|
|
408
|
+
v1CreateCalibrationMaster: (v1CreateCalibrationMaster, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
409
|
+
// verify required parameter 'v1CreateCalibrationMaster' is not null or undefined
|
|
410
|
+
(0, common_1.assertParamExists)('v1CreateCalibrationMaster', 'v1CreateCalibrationMaster', v1CreateCalibrationMaster);
|
|
411
|
+
const localVarPath = `/v1/calibration-master`;
|
|
412
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
413
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
414
|
+
let baseOptions;
|
|
415
|
+
if (configuration) {
|
|
416
|
+
baseOptions = configuration.baseOptions;
|
|
417
|
+
}
|
|
418
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
419
|
+
const localVarHeaderParameter = {};
|
|
420
|
+
const localVarQueryParameter = {};
|
|
421
|
+
// authentication Roles required
|
|
422
|
+
// authentication BearerToken required
|
|
423
|
+
// http bearer authentication required
|
|
424
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
425
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
426
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
427
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
428
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
429
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v1CreateCalibrationMaster, localVarRequestOptions, configuration);
|
|
430
|
+
return {
|
|
431
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
432
|
+
options: localVarRequestOptions,
|
|
433
|
+
};
|
|
434
|
+
}),
|
|
435
|
+
/**
|
|
436
|
+
* create an image set
|
|
437
|
+
* @param {V1CreateImageSet} v1CreateImageSet request to create the Image Set
|
|
438
|
+
* @param {*} [options] Override http request option.
|
|
439
|
+
* @throws {RequiredError}
|
|
440
|
+
*/
|
|
441
|
+
v1CreateImageSet: (v1CreateImageSet, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
442
|
+
// verify required parameter 'v1CreateImageSet' is not null or undefined
|
|
443
|
+
(0, common_1.assertParamExists)('v1CreateImageSet', 'v1CreateImageSet', v1CreateImageSet);
|
|
444
|
+
const localVarPath = `/v1/image-set`;
|
|
445
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
446
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
447
|
+
let baseOptions;
|
|
448
|
+
if (configuration) {
|
|
449
|
+
baseOptions = configuration.baseOptions;
|
|
450
|
+
}
|
|
451
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
452
|
+
const localVarHeaderParameter = {};
|
|
453
|
+
const localVarQueryParameter = {};
|
|
454
|
+
// authentication Roles required
|
|
455
|
+
// authentication BearerToken required
|
|
456
|
+
// http bearer authentication required
|
|
457
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
458
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
459
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
460
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
461
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
462
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v1CreateImageSet, localVarRequestOptions, configuration);
|
|
463
|
+
return {
|
|
464
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
465
|
+
options: localVarRequestOptions,
|
|
466
|
+
};
|
|
467
|
+
}),
|
|
468
|
+
/**
|
|
469
|
+
* create an image set image
|
|
470
|
+
* @param {V1CreateImageSetImage} v1CreateImageSetImage request to create an image set image
|
|
471
|
+
* @param {*} [options] Override http request option.
|
|
472
|
+
* @throws {RequiredError}
|
|
473
|
+
*/
|
|
474
|
+
v1CreateImageSetImage: (v1CreateImageSetImage, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
475
|
+
// verify required parameter 'v1CreateImageSetImage' is not null or undefined
|
|
476
|
+
(0, common_1.assertParamExists)('v1CreateImageSetImage', 'v1CreateImageSetImage', v1CreateImageSetImage);
|
|
477
|
+
const localVarPath = `/v1/image-set-image`;
|
|
478
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
479
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
480
|
+
let baseOptions;
|
|
481
|
+
if (configuration) {
|
|
482
|
+
baseOptions = configuration.baseOptions;
|
|
483
|
+
}
|
|
484
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
485
|
+
const localVarHeaderParameter = {};
|
|
486
|
+
const localVarQueryParameter = {};
|
|
487
|
+
// authentication Roles required
|
|
488
|
+
// authentication BearerToken required
|
|
489
|
+
// http bearer authentication required
|
|
490
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
491
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
492
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
493
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
494
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
495
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v1CreateImageSetImage, localVarRequestOptions, configuration);
|
|
496
|
+
return {
|
|
497
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
498
|
+
options: localVarRequestOptions,
|
|
499
|
+
};
|
|
500
|
+
}),
|
|
501
|
+
/**
|
|
502
|
+
* create a node
|
|
503
|
+
* @param {V1CreateNode} v1CreateNode request to create a node
|
|
504
|
+
* @param {*} [options] Override http request option.
|
|
505
|
+
* @throws {RequiredError}
|
|
506
|
+
*/
|
|
507
|
+
v1CreateNode: (v1CreateNode, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
508
|
+
// verify required parameter 'v1CreateNode' is not null or undefined
|
|
509
|
+
(0, common_1.assertParamExists)('v1CreateNode', 'v1CreateNode', v1CreateNode);
|
|
510
|
+
const localVarPath = `/v1/node`;
|
|
511
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
512
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
513
|
+
let baseOptions;
|
|
514
|
+
if (configuration) {
|
|
515
|
+
baseOptions = configuration.baseOptions;
|
|
516
|
+
}
|
|
517
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
518
|
+
const localVarHeaderParameter = {};
|
|
519
|
+
const localVarQueryParameter = {};
|
|
520
|
+
// authentication Roles required
|
|
521
|
+
// authentication BearerToken required
|
|
522
|
+
// http bearer authentication required
|
|
523
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
524
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
525
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
526
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
527
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
528
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v1CreateNode, localVarRequestOptions, configuration);
|
|
529
|
+
return {
|
|
530
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
531
|
+
options: localVarRequestOptions,
|
|
532
|
+
};
|
|
533
|
+
}),
|
|
534
|
+
/**
|
|
535
|
+
* get an astro camera
|
|
536
|
+
* @param {string} id
|
|
537
|
+
* @param {*} [options] Override http request option.
|
|
538
|
+
* @throws {RequiredError}
|
|
539
|
+
*/
|
|
540
|
+
v1GetAstroCamera: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
541
|
+
// verify required parameter 'id' is not null or undefined
|
|
542
|
+
(0, common_1.assertParamExists)('v1GetAstroCamera', 'id', id);
|
|
543
|
+
const localVarPath = `/v1/astro-camera`;
|
|
544
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
545
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
546
|
+
let baseOptions;
|
|
547
|
+
if (configuration) {
|
|
548
|
+
baseOptions = configuration.baseOptions;
|
|
549
|
+
}
|
|
550
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
551
|
+
const localVarHeaderParameter = {};
|
|
552
|
+
const localVarQueryParameter = {};
|
|
553
|
+
// authentication Roles required
|
|
554
|
+
// authentication BearerToken required
|
|
555
|
+
// http bearer authentication required
|
|
556
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
557
|
+
if (id !== undefined) {
|
|
558
|
+
localVarQueryParameter['id'] = id;
|
|
559
|
+
}
|
|
560
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
561
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
562
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
563
|
+
return {
|
|
564
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
565
|
+
options: localVarRequestOptions,
|
|
566
|
+
};
|
|
567
|
+
}),
|
|
568
|
+
/**
|
|
569
|
+
* get an astro mount
|
|
570
|
+
* @param {string} id
|
|
571
|
+
* @param {*} [options] Override http request option.
|
|
572
|
+
* @throws {RequiredError}
|
|
573
|
+
*/
|
|
574
|
+
v1GetAstroMount: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
575
|
+
// verify required parameter 'id' is not null or undefined
|
|
576
|
+
(0, common_1.assertParamExists)('v1GetAstroMount', 'id', id);
|
|
577
|
+
const localVarPath = `/v1/astro-mount`;
|
|
578
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
579
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
580
|
+
let baseOptions;
|
|
581
|
+
if (configuration) {
|
|
582
|
+
baseOptions = configuration.baseOptions;
|
|
583
|
+
}
|
|
584
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
585
|
+
const localVarHeaderParameter = {};
|
|
586
|
+
const localVarQueryParameter = {};
|
|
587
|
+
// authentication Roles required
|
|
588
|
+
// authentication BearerToken required
|
|
589
|
+
// http bearer authentication required
|
|
590
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
591
|
+
if (id !== undefined) {
|
|
592
|
+
localVarQueryParameter['id'] = id;
|
|
593
|
+
}
|
|
594
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
595
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
596
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
597
|
+
return {
|
|
598
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
599
|
+
options: localVarRequestOptions,
|
|
600
|
+
};
|
|
601
|
+
}),
|
|
602
|
+
/**
|
|
603
|
+
* get an optical tube
|
|
604
|
+
* @param {string} id
|
|
605
|
+
* @param {*} [options] Override http request option.
|
|
606
|
+
* @throws {RequiredError}
|
|
607
|
+
*/
|
|
608
|
+
v1GetAstroOpticalTube: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
609
|
+
// verify required parameter 'id' is not null or undefined
|
|
610
|
+
(0, common_1.assertParamExists)('v1GetAstroOpticalTube', 'id', id);
|
|
611
|
+
const localVarPath = `/v1/astro-optical-tube`;
|
|
612
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
613
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
614
|
+
let baseOptions;
|
|
615
|
+
if (configuration) {
|
|
616
|
+
baseOptions = configuration.baseOptions;
|
|
617
|
+
}
|
|
618
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
619
|
+
const localVarHeaderParameter = {};
|
|
620
|
+
const localVarQueryParameter = {};
|
|
621
|
+
// authentication Roles required
|
|
622
|
+
// authentication BearerToken required
|
|
623
|
+
// http bearer authentication required
|
|
624
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
625
|
+
if (id !== undefined) {
|
|
626
|
+
localVarQueryParameter['id'] = id;
|
|
627
|
+
}
|
|
628
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
629
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
630
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
631
|
+
return {
|
|
632
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
633
|
+
options: localVarRequestOptions,
|
|
634
|
+
};
|
|
635
|
+
}),
|
|
636
|
+
/**
|
|
637
|
+
* get astro platform credit balance
|
|
638
|
+
* @param {*} [options] Override http request option.
|
|
639
|
+
* @throws {RequiredError}
|
|
640
|
+
*/
|
|
641
|
+
v1GetAstroPlatformCreditBalance: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
642
|
+
const localVarPath = `/v1/astro-platform-credit-balance`;
|
|
643
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
644
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
645
|
+
let baseOptions;
|
|
646
|
+
if (configuration) {
|
|
647
|
+
baseOptions = configuration.baseOptions;
|
|
648
|
+
}
|
|
649
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
650
|
+
const localVarHeaderParameter = {};
|
|
651
|
+
const localVarQueryParameter = {};
|
|
652
|
+
// authentication Roles required
|
|
653
|
+
// authentication BearerToken required
|
|
654
|
+
// http bearer authentication required
|
|
655
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
656
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
657
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
658
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
659
|
+
return {
|
|
660
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
661
|
+
options: localVarRequestOptions,
|
|
662
|
+
};
|
|
663
|
+
}),
|
|
664
|
+
/**
|
|
665
|
+
* get an astro project
|
|
666
|
+
* @param {string} astroProjectId
|
|
667
|
+
* @param {*} [options] Override http request option.
|
|
668
|
+
* @throws {RequiredError}
|
|
669
|
+
*/
|
|
670
|
+
v1GetAstroProject: (astroProjectId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
671
|
+
// verify required parameter 'astroProjectId' is not null or undefined
|
|
672
|
+
(0, common_1.assertParamExists)('v1GetAstroProject', 'astroProjectId', astroProjectId);
|
|
673
|
+
const localVarPath = `/v1/astro-project`;
|
|
674
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
675
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
676
|
+
let baseOptions;
|
|
677
|
+
if (configuration) {
|
|
678
|
+
baseOptions = configuration.baseOptions;
|
|
679
|
+
}
|
|
680
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
681
|
+
const localVarHeaderParameter = {};
|
|
682
|
+
const localVarQueryParameter = {};
|
|
683
|
+
// authentication Roles required
|
|
684
|
+
// authentication BearerToken required
|
|
685
|
+
// http bearer authentication required
|
|
686
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
687
|
+
if (astroProjectId !== undefined) {
|
|
688
|
+
localVarQueryParameter['astroProjectId'] = astroProjectId;
|
|
689
|
+
}
|
|
690
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
691
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
692
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
693
|
+
return {
|
|
694
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
695
|
+
options: localVarRequestOptions,
|
|
696
|
+
};
|
|
697
|
+
}),
|
|
698
|
+
/**
|
|
699
|
+
* get all assets for an astro project
|
|
700
|
+
* @param {string} astroProjectId
|
|
701
|
+
* @param {*} [options] Override http request option.
|
|
702
|
+
* @throws {RequiredError}
|
|
703
|
+
*/
|
|
704
|
+
v1GetAstroProjectAssets: (astroProjectId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
705
|
+
// verify required parameter 'astroProjectId' is not null or undefined
|
|
706
|
+
(0, common_1.assertParamExists)('v1GetAstroProjectAssets', 'astroProjectId', astroProjectId);
|
|
707
|
+
const localVarPath = `/v1/astro-project-assets`;
|
|
708
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
709
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
710
|
+
let baseOptions;
|
|
711
|
+
if (configuration) {
|
|
712
|
+
baseOptions = configuration.baseOptions;
|
|
713
|
+
}
|
|
714
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
715
|
+
const localVarHeaderParameter = {};
|
|
716
|
+
const localVarQueryParameter = {};
|
|
717
|
+
// authentication Roles required
|
|
718
|
+
// authentication BearerToken required
|
|
719
|
+
// http bearer authentication required
|
|
720
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
721
|
+
if (astroProjectId !== undefined) {
|
|
722
|
+
localVarQueryParameter['astroProjectId'] = astroProjectId;
|
|
723
|
+
}
|
|
724
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
725
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
726
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
727
|
+
return {
|
|
728
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
729
|
+
options: localVarRequestOptions,
|
|
730
|
+
};
|
|
731
|
+
}),
|
|
732
|
+
/**
|
|
733
|
+
* get all astro projects
|
|
734
|
+
* @param {*} [options] Override http request option.
|
|
735
|
+
* @throws {RequiredError}
|
|
736
|
+
*/
|
|
737
|
+
v1GetAstroProjects: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
738
|
+
const localVarPath = `/v1/astro-projects`;
|
|
739
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
740
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
741
|
+
let baseOptions;
|
|
742
|
+
if (configuration) {
|
|
743
|
+
baseOptions = configuration.baseOptions;
|
|
744
|
+
}
|
|
745
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
746
|
+
const localVarHeaderParameter = {};
|
|
747
|
+
const localVarQueryParameter = {};
|
|
748
|
+
// authentication Roles required
|
|
749
|
+
// authentication BearerToken required
|
|
750
|
+
// http bearer authentication required
|
|
751
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
752
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
753
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
754
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
755
|
+
return {
|
|
756
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
757
|
+
options: localVarRequestOptions,
|
|
758
|
+
};
|
|
759
|
+
}),
|
|
760
|
+
/**
|
|
761
|
+
* Get an astro targets. pass in an ID, an NGC ID or an IC ID
|
|
762
|
+
* @param {string} [id]
|
|
763
|
+
* @param {string} [ngcId]
|
|
764
|
+
* @param {string} [icId]
|
|
765
|
+
* @param {*} [options] Override http request option.
|
|
766
|
+
* @throws {RequiredError}
|
|
767
|
+
*/
|
|
768
|
+
v1GetAstroTarget: (id, ngcId, icId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
769
|
+
const localVarPath = `/v1/astro-target`;
|
|
770
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
771
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
772
|
+
let baseOptions;
|
|
773
|
+
if (configuration) {
|
|
774
|
+
baseOptions = configuration.baseOptions;
|
|
775
|
+
}
|
|
776
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
777
|
+
const localVarHeaderParameter = {};
|
|
778
|
+
const localVarQueryParameter = {};
|
|
779
|
+
// authentication Roles required
|
|
780
|
+
// authentication BearerToken required
|
|
781
|
+
// http bearer authentication required
|
|
782
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
783
|
+
if (id !== undefined) {
|
|
784
|
+
localVarQueryParameter['id'] = id;
|
|
785
|
+
}
|
|
786
|
+
if (ngcId !== undefined) {
|
|
787
|
+
localVarQueryParameter['ngcId'] = ngcId;
|
|
788
|
+
}
|
|
789
|
+
if (icId !== undefined) {
|
|
790
|
+
localVarQueryParameter['icId'] = icId;
|
|
791
|
+
}
|
|
792
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
793
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
794
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
795
|
+
return {
|
|
796
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
797
|
+
options: localVarRequestOptions,
|
|
798
|
+
};
|
|
799
|
+
}),
|
|
800
|
+
/**
|
|
801
|
+
* Get all astro targets. This response is paginated. It will only return at most 100 at a time. To get the next page, pass in the `id` of the last target in the current page as the `lastId` query parameter. Omitting this field fetches the first page.
|
|
802
|
+
* @param {string} [lastId]
|
|
803
|
+
* @param {string} [catalogId]
|
|
804
|
+
* @param {number} [ra]
|
|
805
|
+
* @param {number} [dec]
|
|
806
|
+
* @param {*} [options] Override http request option.
|
|
807
|
+
* @throws {RequiredError}
|
|
808
|
+
*/
|
|
809
|
+
v1GetAstroTargets: (lastId, catalogId, ra, dec, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
810
|
+
const localVarPath = `/v1/astro-targets`;
|
|
811
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
812
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
813
|
+
let baseOptions;
|
|
814
|
+
if (configuration) {
|
|
815
|
+
baseOptions = configuration.baseOptions;
|
|
816
|
+
}
|
|
817
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
818
|
+
const localVarHeaderParameter = {};
|
|
819
|
+
const localVarQueryParameter = {};
|
|
820
|
+
// authentication Roles required
|
|
821
|
+
// authentication BearerToken required
|
|
822
|
+
// http bearer authentication required
|
|
823
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
824
|
+
if (lastId !== undefined) {
|
|
825
|
+
localVarQueryParameter['lastId'] = lastId;
|
|
826
|
+
}
|
|
827
|
+
if (catalogId !== undefined) {
|
|
828
|
+
localVarQueryParameter['catalogId'] = catalogId;
|
|
829
|
+
}
|
|
830
|
+
if (ra !== undefined) {
|
|
831
|
+
localVarQueryParameter['ra'] = ra;
|
|
832
|
+
}
|
|
833
|
+
if (dec !== undefined) {
|
|
834
|
+
localVarQueryParameter['dec'] = dec;
|
|
835
|
+
}
|
|
836
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
837
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
838
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
839
|
+
return {
|
|
840
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
841
|
+
options: localVarRequestOptions,
|
|
842
|
+
};
|
|
843
|
+
}),
|
|
844
|
+
/**
|
|
845
|
+
* get all calibration masters for a node
|
|
846
|
+
* @param {string} nodeId
|
|
847
|
+
* @param {*} [options] Override http request option.
|
|
848
|
+
* @throws {RequiredError}
|
|
849
|
+
*/
|
|
850
|
+
v1GetCalibrationMasters: (nodeId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
851
|
+
// verify required parameter 'nodeId' is not null or undefined
|
|
852
|
+
(0, common_1.assertParamExists)('v1GetCalibrationMasters', 'nodeId', nodeId);
|
|
853
|
+
const localVarPath = `/v1/calibration-masters`;
|
|
854
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
855
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
856
|
+
let baseOptions;
|
|
857
|
+
if (configuration) {
|
|
858
|
+
baseOptions = configuration.baseOptions;
|
|
859
|
+
}
|
|
860
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
861
|
+
const localVarHeaderParameter = {};
|
|
862
|
+
const localVarQueryParameter = {};
|
|
863
|
+
// authentication Roles required
|
|
864
|
+
// authentication BearerToken required
|
|
865
|
+
// http bearer authentication required
|
|
866
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
867
|
+
if (nodeId !== undefined) {
|
|
868
|
+
localVarQueryParameter['nodeId'] = nodeId;
|
|
869
|
+
}
|
|
870
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
871
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
872
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
873
|
+
return {
|
|
874
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
875
|
+
options: localVarRequestOptions,
|
|
876
|
+
};
|
|
877
|
+
}),
|
|
878
|
+
/**
|
|
879
|
+
* get all cameras
|
|
880
|
+
* @param {*} [options] Override http request option.
|
|
881
|
+
* @throws {RequiredError}
|
|
882
|
+
*/
|
|
883
|
+
v1GetCameras: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
884
|
+
const localVarPath = `/v1/cameras`;
|
|
885
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
886
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
887
|
+
let baseOptions;
|
|
888
|
+
if (configuration) {
|
|
889
|
+
baseOptions = configuration.baseOptions;
|
|
890
|
+
}
|
|
891
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
892
|
+
const localVarHeaderParameter = {};
|
|
893
|
+
const localVarQueryParameter = {};
|
|
894
|
+
// authentication Roles required
|
|
895
|
+
// authentication BearerToken required
|
|
896
|
+
// http bearer authentication required
|
|
897
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
898
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
899
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
900
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
901
|
+
return {
|
|
902
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
903
|
+
options: localVarRequestOptions,
|
|
904
|
+
};
|
|
905
|
+
}),
|
|
906
|
+
/**
|
|
907
|
+
* get an image set
|
|
908
|
+
* @param {string} id
|
|
909
|
+
* @param {*} [options] Override http request option.
|
|
910
|
+
* @throws {RequiredError}
|
|
911
|
+
*/
|
|
912
|
+
v1GetImageSet: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
913
|
+
// verify required parameter 'id' is not null or undefined
|
|
914
|
+
(0, common_1.assertParamExists)('v1GetImageSet', 'id', id);
|
|
915
|
+
const localVarPath = `/v1/image-set`;
|
|
916
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
917
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
918
|
+
let baseOptions;
|
|
919
|
+
if (configuration) {
|
|
920
|
+
baseOptions = configuration.baseOptions;
|
|
921
|
+
}
|
|
922
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
923
|
+
const localVarHeaderParameter = {};
|
|
924
|
+
const localVarQueryParameter = {};
|
|
925
|
+
// authentication Roles required
|
|
926
|
+
// authentication BearerToken required
|
|
927
|
+
// http bearer authentication required
|
|
928
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
929
|
+
if (id !== undefined) {
|
|
930
|
+
localVarQueryParameter['id'] = id;
|
|
931
|
+
}
|
|
932
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
933
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
934
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
935
|
+
return {
|
|
936
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
937
|
+
options: localVarRequestOptions,
|
|
938
|
+
};
|
|
939
|
+
}),
|
|
940
|
+
/**
|
|
941
|
+
* get an image
|
|
942
|
+
* @param {string} imageId
|
|
943
|
+
* @param {*} [options] Override http request option.
|
|
944
|
+
* @throws {RequiredError}
|
|
945
|
+
*/
|
|
946
|
+
v1GetImageSetImage: (imageId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
947
|
+
// verify required parameter 'imageId' is not null or undefined
|
|
948
|
+
(0, common_1.assertParamExists)('v1GetImageSetImage', 'imageId', imageId);
|
|
949
|
+
const localVarPath = `/v1/image-set-image`;
|
|
950
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
951
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
952
|
+
let baseOptions;
|
|
953
|
+
if (configuration) {
|
|
954
|
+
baseOptions = configuration.baseOptions;
|
|
955
|
+
}
|
|
956
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
957
|
+
const localVarHeaderParameter = {};
|
|
958
|
+
const localVarQueryParameter = {};
|
|
959
|
+
// authentication Roles required
|
|
960
|
+
// authentication BearerToken required
|
|
961
|
+
// http bearer authentication required
|
|
962
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
963
|
+
if (imageId !== undefined) {
|
|
964
|
+
localVarQueryParameter['imageId'] = imageId;
|
|
965
|
+
}
|
|
966
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
967
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
968
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
969
|
+
return {
|
|
970
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
971
|
+
options: localVarRequestOptions,
|
|
972
|
+
};
|
|
973
|
+
}),
|
|
974
|
+
/**
|
|
975
|
+
* get image set images
|
|
976
|
+
* @param {Array<string>} imageSets
|
|
977
|
+
* @param {*} [options] Override http request option.
|
|
978
|
+
* @throws {RequiredError}
|
|
979
|
+
*/
|
|
980
|
+
v1GetImageSetImages: (imageSets, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
981
|
+
// verify required parameter 'imageSets' is not null or undefined
|
|
982
|
+
(0, common_1.assertParamExists)('v1GetImageSetImages', 'imageSets', imageSets);
|
|
983
|
+
const localVarPath = `/v1/image-set-images`;
|
|
984
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
985
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
986
|
+
let baseOptions;
|
|
987
|
+
if (configuration) {
|
|
988
|
+
baseOptions = configuration.baseOptions;
|
|
989
|
+
}
|
|
990
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
991
|
+
const localVarHeaderParameter = {};
|
|
992
|
+
const localVarQueryParameter = {};
|
|
993
|
+
// authentication Roles required
|
|
994
|
+
// authentication BearerToken required
|
|
995
|
+
// http bearer authentication required
|
|
996
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
997
|
+
if (imageSets) {
|
|
998
|
+
localVarQueryParameter['imageSets'] = imageSets.join(base_1.COLLECTION_FORMATS.csv);
|
|
999
|
+
}
|
|
1000
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1001
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1002
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1003
|
+
return {
|
|
1004
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1005
|
+
options: localVarRequestOptions,
|
|
1006
|
+
};
|
|
1007
|
+
}),
|
|
1008
|
+
/**
|
|
1009
|
+
* get image sets for targets observed for your organization
|
|
1010
|
+
* @param {*} [options] Override http request option.
|
|
1011
|
+
* @throws {RequiredError}
|
|
1012
|
+
*/
|
|
1013
|
+
v1GetImageSets: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1014
|
+
const localVarPath = `/v1/image-sets`;
|
|
1015
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1016
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1017
|
+
let baseOptions;
|
|
1018
|
+
if (configuration) {
|
|
1019
|
+
baseOptions = configuration.baseOptions;
|
|
1020
|
+
}
|
|
1021
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1022
|
+
const localVarHeaderParameter = {};
|
|
1023
|
+
const localVarQueryParameter = {};
|
|
1024
|
+
// authentication Roles required
|
|
1025
|
+
// authentication BearerToken required
|
|
1026
|
+
// http bearer authentication required
|
|
1027
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1028
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1029
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1030
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1031
|
+
return {
|
|
1032
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1033
|
+
options: localVarRequestOptions,
|
|
1034
|
+
};
|
|
1035
|
+
}),
|
|
1036
|
+
/**
|
|
1037
|
+
* get mounts
|
|
1038
|
+
* @param {*} [options] Override http request option.
|
|
1039
|
+
* @throws {RequiredError}
|
|
1040
|
+
*/
|
|
1041
|
+
v1GetMounts: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1042
|
+
const localVarPath = `/v1/mounts`;
|
|
1043
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1044
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1045
|
+
let baseOptions;
|
|
1046
|
+
if (configuration) {
|
|
1047
|
+
baseOptions = configuration.baseOptions;
|
|
1048
|
+
}
|
|
1049
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1050
|
+
const localVarHeaderParameter = {};
|
|
1051
|
+
const localVarQueryParameter = {};
|
|
1052
|
+
// authentication Roles required
|
|
1053
|
+
// authentication BearerToken required
|
|
1054
|
+
// http bearer authentication required
|
|
1055
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1056
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1057
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1058
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1059
|
+
return {
|
|
1060
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1061
|
+
options: localVarRequestOptions,
|
|
1062
|
+
};
|
|
1063
|
+
}),
|
|
1064
|
+
/**
|
|
1065
|
+
* get all nodes
|
|
1066
|
+
* @param {*} [options] Override http request option.
|
|
1067
|
+
* @throws {RequiredError}
|
|
1068
|
+
*/
|
|
1069
|
+
v1GetNodes: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1070
|
+
const localVarPath = `/v1/nodes`;
|
|
1071
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1072
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1073
|
+
let baseOptions;
|
|
1074
|
+
if (configuration) {
|
|
1075
|
+
baseOptions = configuration.baseOptions;
|
|
1076
|
+
}
|
|
1077
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1078
|
+
const localVarHeaderParameter = {};
|
|
1079
|
+
const localVarQueryParameter = {};
|
|
1080
|
+
// authentication Roles required
|
|
1081
|
+
// authentication BearerToken required
|
|
1082
|
+
// http bearer authentication required
|
|
1083
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1084
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1085
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1086
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1087
|
+
return {
|
|
1088
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1089
|
+
options: localVarRequestOptions,
|
|
1090
|
+
};
|
|
1091
|
+
}),
|
|
1092
|
+
/**
|
|
1093
|
+
* get platform credits
|
|
1094
|
+
* @param {*} [options] Override http request option.
|
|
1095
|
+
* @throws {RequiredError}
|
|
1096
|
+
*/
|
|
1097
|
+
v1GetPlatformCredits: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1098
|
+
const localVarPath = `/v1/platform-credits`;
|
|
1099
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1100
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1101
|
+
let baseOptions;
|
|
1102
|
+
if (configuration) {
|
|
1103
|
+
baseOptions = configuration.baseOptions;
|
|
1104
|
+
}
|
|
1105
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1106
|
+
const localVarHeaderParameter = {};
|
|
1107
|
+
const localVarQueryParameter = {};
|
|
1108
|
+
// authentication Roles required
|
|
1109
|
+
// authentication BearerToken required
|
|
1110
|
+
// http bearer authentication required
|
|
1111
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1112
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1113
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1114
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1115
|
+
return {
|
|
1116
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1117
|
+
options: localVarRequestOptions,
|
|
1118
|
+
};
|
|
1119
|
+
}),
|
|
1120
|
+
/**
|
|
1121
|
+
* search for an astro project with certain properties
|
|
1122
|
+
* @param {string} targetId
|
|
1123
|
+
* @param {string} cameraId
|
|
1124
|
+
* @param {string} otaId
|
|
1125
|
+
* @param {*} [options] Override http request option.
|
|
1126
|
+
* @throws {RequiredError}
|
|
1127
|
+
*/
|
|
1128
|
+
v1MatchAstroProject: (targetId, cameraId, otaId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1129
|
+
// verify required parameter 'targetId' is not null or undefined
|
|
1130
|
+
(0, common_1.assertParamExists)('v1MatchAstroProject', 'targetId', targetId);
|
|
1131
|
+
// verify required parameter 'cameraId' is not null or undefined
|
|
1132
|
+
(0, common_1.assertParamExists)('v1MatchAstroProject', 'cameraId', cameraId);
|
|
1133
|
+
// verify required parameter 'otaId' is not null or undefined
|
|
1134
|
+
(0, common_1.assertParamExists)('v1MatchAstroProject', 'otaId', otaId);
|
|
1135
|
+
const localVarPath = `/v1/astro-project-match`;
|
|
1136
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1137
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1138
|
+
let baseOptions;
|
|
1139
|
+
if (configuration) {
|
|
1140
|
+
baseOptions = configuration.baseOptions;
|
|
1141
|
+
}
|
|
1142
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1143
|
+
const localVarHeaderParameter = {};
|
|
1144
|
+
const localVarQueryParameter = {};
|
|
1145
|
+
// authentication Roles required
|
|
1146
|
+
// authentication BearerToken required
|
|
1147
|
+
// http bearer authentication required
|
|
1148
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1149
|
+
if (targetId !== undefined) {
|
|
1150
|
+
localVarQueryParameter['targetId'] = targetId;
|
|
1151
|
+
}
|
|
1152
|
+
if (cameraId !== undefined) {
|
|
1153
|
+
localVarQueryParameter['cameraId'] = cameraId;
|
|
1154
|
+
}
|
|
1155
|
+
if (otaId !== undefined) {
|
|
1156
|
+
localVarQueryParameter['otaId'] = otaId;
|
|
1157
|
+
}
|
|
1158
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1159
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1160
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1161
|
+
return {
|
|
1162
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1163
|
+
options: localVarRequestOptions,
|
|
1164
|
+
};
|
|
1165
|
+
}),
|
|
1166
|
+
/**
|
|
1167
|
+
* match mount
|
|
1168
|
+
* @param {string} [model]
|
|
1169
|
+
* @param {*} [options] Override http request option.
|
|
1170
|
+
* @throws {RequiredError}
|
|
1171
|
+
*/
|
|
1172
|
+
v1MountMatch: (model, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1173
|
+
const localVarPath = `/v1/mount-match`;
|
|
1174
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1175
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1176
|
+
let baseOptions;
|
|
1177
|
+
if (configuration) {
|
|
1178
|
+
baseOptions = configuration.baseOptions;
|
|
1179
|
+
}
|
|
1180
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1181
|
+
const localVarHeaderParameter = {};
|
|
1182
|
+
const localVarQueryParameter = {};
|
|
1183
|
+
// authentication Roles required
|
|
1184
|
+
// authentication BearerToken required
|
|
1185
|
+
// http bearer authentication required
|
|
1186
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1187
|
+
if (model !== undefined) {
|
|
1188
|
+
localVarQueryParameter['model'] = model;
|
|
1189
|
+
}
|
|
1190
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1191
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1192
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1193
|
+
return {
|
|
1194
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1195
|
+
options: localVarRequestOptions,
|
|
1196
|
+
};
|
|
1197
|
+
}),
|
|
1198
|
+
/**
|
|
1199
|
+
* match optical tube
|
|
1200
|
+
* @param {string} [model]
|
|
1201
|
+
* @param {number} [focalLengthMm]
|
|
1202
|
+
* @param {number} [apertureMm]
|
|
1203
|
+
* @param {*} [options] Override http request option.
|
|
1204
|
+
* @throws {RequiredError}
|
|
1205
|
+
*/
|
|
1206
|
+
v1OpticalTubeMatch: (model, focalLengthMm, apertureMm, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1207
|
+
const localVarPath = `/v1/optical-tube-match`;
|
|
1208
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1209
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1210
|
+
let baseOptions;
|
|
1211
|
+
if (configuration) {
|
|
1212
|
+
baseOptions = configuration.baseOptions;
|
|
1213
|
+
}
|
|
1214
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1215
|
+
const localVarHeaderParameter = {};
|
|
1216
|
+
const localVarQueryParameter = {};
|
|
1217
|
+
// authentication Roles required
|
|
1218
|
+
// authentication BearerToken required
|
|
1219
|
+
// http bearer authentication required
|
|
1220
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1221
|
+
if (model !== undefined) {
|
|
1222
|
+
localVarQueryParameter['model'] = model;
|
|
1223
|
+
}
|
|
1224
|
+
if (focalLengthMm !== undefined) {
|
|
1225
|
+
localVarQueryParameter['focalLengthMm'] = focalLengthMm;
|
|
1226
|
+
}
|
|
1227
|
+
if (apertureMm !== undefined) {
|
|
1228
|
+
localVarQueryParameter['apertureMm'] = apertureMm;
|
|
1229
|
+
}
|
|
1230
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1231
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1232
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1233
|
+
return {
|
|
1234
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1235
|
+
options: localVarRequestOptions,
|
|
1236
|
+
};
|
|
1237
|
+
}),
|
|
1238
|
+
/**
|
|
1239
|
+
* stack an astro project
|
|
1240
|
+
* @param {V1PutStackAstroProject} v1PutStackAstroProject request to stack an astro project
|
|
1241
|
+
* @param {*} [options] Override http request option.
|
|
1242
|
+
* @throws {RequiredError}
|
|
1243
|
+
*/
|
|
1244
|
+
v1PutStackAstroProject: (v1PutStackAstroProject, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1245
|
+
// verify required parameter 'v1PutStackAstroProject' is not null or undefined
|
|
1246
|
+
(0, common_1.assertParamExists)('v1PutStackAstroProject', 'v1PutStackAstroProject', v1PutStackAstroProject);
|
|
1247
|
+
const localVarPath = `/v1/stack-astro-project`;
|
|
1248
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1249
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1250
|
+
let baseOptions;
|
|
1251
|
+
if (configuration) {
|
|
1252
|
+
baseOptions = configuration.baseOptions;
|
|
1253
|
+
}
|
|
1254
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
1255
|
+
const localVarHeaderParameter = {};
|
|
1256
|
+
const localVarQueryParameter = {};
|
|
1257
|
+
// authentication Roles required
|
|
1258
|
+
// authentication BearerToken required
|
|
1259
|
+
// http bearer authentication required
|
|
1260
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1261
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1262
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1263
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1264
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1265
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v1PutStackAstroProject, localVarRequestOptions, configuration);
|
|
1266
|
+
return {
|
|
1267
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1268
|
+
options: localVarRequestOptions,
|
|
1269
|
+
};
|
|
1270
|
+
}),
|
|
1271
|
+
/**
|
|
1272
|
+
* update a node
|
|
1273
|
+
* @param {V1UpdateNode} v1UpdateNode request to update a node
|
|
1274
|
+
* @param {*} [options] Override http request option.
|
|
1275
|
+
* @throws {RequiredError}
|
|
1276
|
+
*/
|
|
1277
|
+
v1UpdateNode: (v1UpdateNode, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1278
|
+
// verify required parameter 'v1UpdateNode' is not null or undefined
|
|
1279
|
+
(0, common_1.assertParamExists)('v1UpdateNode', 'v1UpdateNode', v1UpdateNode);
|
|
1280
|
+
const localVarPath = `/v1/node`;
|
|
1281
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1282
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1283
|
+
let baseOptions;
|
|
1284
|
+
if (configuration) {
|
|
1285
|
+
baseOptions = configuration.baseOptions;
|
|
1286
|
+
}
|
|
1287
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
1288
|
+
const localVarHeaderParameter = {};
|
|
1289
|
+
const localVarQueryParameter = {};
|
|
1290
|
+
// authentication Roles required
|
|
1291
|
+
// authentication BearerToken required
|
|
1292
|
+
// http bearer authentication required
|
|
1293
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1294
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1295
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1296
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1297
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1298
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v1UpdateNode, localVarRequestOptions, configuration);
|
|
1299
|
+
return {
|
|
1300
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1301
|
+
options: localVarRequestOptions,
|
|
1302
|
+
};
|
|
1303
|
+
}),
|
|
1304
|
+
};
|
|
1305
|
+
};
|
|
1306
|
+
exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
|
|
1307
|
+
/**
|
|
1308
|
+
* DefaultApi - functional programming interface
|
|
1309
|
+
* @export
|
|
1310
|
+
*/
|
|
1311
|
+
const DefaultApiFp = function (configuration) {
|
|
1312
|
+
const localVarAxiosParamCreator = (0, exports.DefaultApiAxiosParamCreator)(configuration);
|
|
1313
|
+
return {
|
|
1314
|
+
/**
|
|
1315
|
+
* match camera
|
|
1316
|
+
* @param {string} [model]
|
|
1317
|
+
* @param {number} [pixelSizeMicrons]
|
|
1318
|
+
* @param {number} [pixelsX]
|
|
1319
|
+
* @param {number} [pixelsY]
|
|
1320
|
+
* @param {number} [megapixels]
|
|
1321
|
+
* @param {boolean} [chilled]
|
|
1322
|
+
* @param {number} [adcBitDepth]
|
|
1323
|
+
* @param {boolean} [isColor]
|
|
1324
|
+
* @param {*} [options] Override http request option.
|
|
1325
|
+
* @throws {RequiredError}
|
|
1326
|
+
*/
|
|
1327
|
+
v1CameraMatch(model, pixelSizeMicrons, pixelsX, pixelsY, megapixels, chilled, adcBitDepth, isColor, options) {
|
|
1328
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1329
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CameraMatch(model, pixelSizeMicrons, pixelsX, pixelsY, megapixels, chilled, adcBitDepth, isColor, options);
|
|
1330
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1331
|
+
});
|
|
1332
|
+
},
|
|
1333
|
+
/**
|
|
1334
|
+
* create an astro user camera
|
|
1335
|
+
* @param {V1CreateCamera} v1CreateCamera request to create an camera
|
|
1336
|
+
* @param {*} [options] Override http request option.
|
|
1337
|
+
* @throws {RequiredError}
|
|
1338
|
+
*/
|
|
1339
|
+
v1CreateAstroCamera(v1CreateCamera, options) {
|
|
1340
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1341
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateAstroCamera(v1CreateCamera, options);
|
|
1342
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1343
|
+
});
|
|
1344
|
+
},
|
|
1345
|
+
/**
|
|
1346
|
+
* create an astro user mount
|
|
1347
|
+
* @param {V1CreateMount} v1CreateMount request to create a mount
|
|
1348
|
+
* @param {*} [options] Override http request option.
|
|
1349
|
+
* @throws {RequiredError}
|
|
1350
|
+
*/
|
|
1351
|
+
v1CreateAstroMount(v1CreateMount, options) {
|
|
1352
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1353
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateAstroMount(v1CreateMount, options);
|
|
1354
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1355
|
+
});
|
|
1356
|
+
},
|
|
1357
|
+
/**
|
|
1358
|
+
* create an optical tube for an astro user
|
|
1359
|
+
* @param {V1CreateOpticalTube} v1CreateOpticalTube request to create an optical tube
|
|
1360
|
+
* @param {*} [options] Override http request option.
|
|
1361
|
+
* @throws {RequiredError}
|
|
1362
|
+
*/
|
|
1363
|
+
v1CreateAstroOpticalTube(v1CreateOpticalTube, options) {
|
|
1364
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1365
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateAstroOpticalTube(v1CreateOpticalTube, options);
|
|
1366
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1367
|
+
});
|
|
1368
|
+
},
|
|
1369
|
+
/**
|
|
1370
|
+
* create an astro project
|
|
1371
|
+
* @param {V1CreateAstroProject} v1CreateAstroProject request to create an astro project
|
|
1372
|
+
* @param {*} [options] Override http request option.
|
|
1373
|
+
* @throws {RequiredError}
|
|
1374
|
+
*/
|
|
1375
|
+
v1CreateAstroProject(v1CreateAstroProject, options) {
|
|
1376
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1377
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateAstroProject(v1CreateAstroProject, options);
|
|
1378
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1379
|
+
});
|
|
1380
|
+
},
|
|
1381
|
+
/**
|
|
1382
|
+
* create a project image set
|
|
1383
|
+
* @param {V1CreateAstroProjectImageSet} v1CreateAstroProjectImageSet request to create a project image Set
|
|
1384
|
+
* @param {*} [options] Override http request option.
|
|
1385
|
+
* @throws {RequiredError}
|
|
1386
|
+
*/
|
|
1387
|
+
v1CreateAstroProjectImageSet(v1CreateAstroProjectImageSet, options) {
|
|
1388
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1389
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateAstroProjectImageSet(v1CreateAstroProjectImageSet, options);
|
|
1390
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1391
|
+
});
|
|
1392
|
+
},
|
|
1393
|
+
/**
|
|
1394
|
+
* create an calibration master
|
|
1395
|
+
* @param {V1CreateCalibrationMaster} v1CreateCalibrationMaster request to create the calibration master
|
|
1396
|
+
* @param {*} [options] Override http request option.
|
|
1397
|
+
* @throws {RequiredError}
|
|
1398
|
+
*/
|
|
1399
|
+
v1CreateCalibrationMaster(v1CreateCalibrationMaster, options) {
|
|
1400
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1401
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateCalibrationMaster(v1CreateCalibrationMaster, options);
|
|
1402
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1403
|
+
});
|
|
1404
|
+
},
|
|
1405
|
+
/**
|
|
1406
|
+
* create an image set
|
|
1407
|
+
* @param {V1CreateImageSet} v1CreateImageSet request to create the Image Set
|
|
1408
|
+
* @param {*} [options] Override http request option.
|
|
1409
|
+
* @throws {RequiredError}
|
|
1410
|
+
*/
|
|
1411
|
+
v1CreateImageSet(v1CreateImageSet, options) {
|
|
1412
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1413
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateImageSet(v1CreateImageSet, options);
|
|
1414
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1415
|
+
});
|
|
1416
|
+
},
|
|
1417
|
+
/**
|
|
1418
|
+
* create an image set image
|
|
1419
|
+
* @param {V1CreateImageSetImage} v1CreateImageSetImage request to create an image set image
|
|
1420
|
+
* @param {*} [options] Override http request option.
|
|
1421
|
+
* @throws {RequiredError}
|
|
1422
|
+
*/
|
|
1423
|
+
v1CreateImageSetImage(v1CreateImageSetImage, options) {
|
|
1424
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1425
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateImageSetImage(v1CreateImageSetImage, options);
|
|
1426
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1427
|
+
});
|
|
1428
|
+
},
|
|
1429
|
+
/**
|
|
1430
|
+
* create a node
|
|
1431
|
+
* @param {V1CreateNode} v1CreateNode request to create a node
|
|
1432
|
+
* @param {*} [options] Override http request option.
|
|
1433
|
+
* @throws {RequiredError}
|
|
1434
|
+
*/
|
|
1435
|
+
v1CreateNode(v1CreateNode, options) {
|
|
1436
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1437
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateNode(v1CreateNode, options);
|
|
1438
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1439
|
+
});
|
|
1440
|
+
},
|
|
1441
|
+
/**
|
|
1442
|
+
* get an astro camera
|
|
1443
|
+
* @param {string} id
|
|
1444
|
+
* @param {*} [options] Override http request option.
|
|
1445
|
+
* @throws {RequiredError}
|
|
1446
|
+
*/
|
|
1447
|
+
v1GetAstroCamera(id, options) {
|
|
1448
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1449
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetAstroCamera(id, options);
|
|
1450
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1451
|
+
});
|
|
1452
|
+
},
|
|
1453
|
+
/**
|
|
1454
|
+
* get an astro mount
|
|
1455
|
+
* @param {string} id
|
|
1456
|
+
* @param {*} [options] Override http request option.
|
|
1457
|
+
* @throws {RequiredError}
|
|
1458
|
+
*/
|
|
1459
|
+
v1GetAstroMount(id, options) {
|
|
1460
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1461
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetAstroMount(id, options);
|
|
1462
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1463
|
+
});
|
|
1464
|
+
},
|
|
1465
|
+
/**
|
|
1466
|
+
* get an optical tube
|
|
1467
|
+
* @param {string} id
|
|
1468
|
+
* @param {*} [options] Override http request option.
|
|
1469
|
+
* @throws {RequiredError}
|
|
1470
|
+
*/
|
|
1471
|
+
v1GetAstroOpticalTube(id, options) {
|
|
1472
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1473
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetAstroOpticalTube(id, options);
|
|
1474
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1475
|
+
});
|
|
1476
|
+
},
|
|
1477
|
+
/**
|
|
1478
|
+
* get astro platform credit balance
|
|
1479
|
+
* @param {*} [options] Override http request option.
|
|
1480
|
+
* @throws {RequiredError}
|
|
1481
|
+
*/
|
|
1482
|
+
v1GetAstroPlatformCreditBalance(options) {
|
|
1483
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1484
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetAstroPlatformCreditBalance(options);
|
|
1485
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1486
|
+
});
|
|
1487
|
+
},
|
|
1488
|
+
/**
|
|
1489
|
+
* get an astro project
|
|
1490
|
+
* @param {string} astroProjectId
|
|
1491
|
+
* @param {*} [options] Override http request option.
|
|
1492
|
+
* @throws {RequiredError}
|
|
1493
|
+
*/
|
|
1494
|
+
v1GetAstroProject(astroProjectId, options) {
|
|
1495
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1496
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetAstroProject(astroProjectId, options);
|
|
1497
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1498
|
+
});
|
|
1499
|
+
},
|
|
1500
|
+
/**
|
|
1501
|
+
* get all assets for an astro project
|
|
1502
|
+
* @param {string} astroProjectId
|
|
1503
|
+
* @param {*} [options] Override http request option.
|
|
1504
|
+
* @throws {RequiredError}
|
|
1505
|
+
*/
|
|
1506
|
+
v1GetAstroProjectAssets(astroProjectId, options) {
|
|
1507
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1508
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetAstroProjectAssets(astroProjectId, options);
|
|
1509
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1510
|
+
});
|
|
1511
|
+
},
|
|
1512
|
+
/**
|
|
1513
|
+
* get all astro projects
|
|
1514
|
+
* @param {*} [options] Override http request option.
|
|
1515
|
+
* @throws {RequiredError}
|
|
1516
|
+
*/
|
|
1517
|
+
v1GetAstroProjects(options) {
|
|
1518
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1519
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetAstroProjects(options);
|
|
1520
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1521
|
+
});
|
|
1522
|
+
},
|
|
1523
|
+
/**
|
|
1524
|
+
* Get an astro targets. pass in an ID, an NGC ID or an IC ID
|
|
1525
|
+
* @param {string} [id]
|
|
1526
|
+
* @param {string} [ngcId]
|
|
1527
|
+
* @param {string} [icId]
|
|
1528
|
+
* @param {*} [options] Override http request option.
|
|
1529
|
+
* @throws {RequiredError}
|
|
1530
|
+
*/
|
|
1531
|
+
v1GetAstroTarget(id, ngcId, icId, options) {
|
|
1532
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1533
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetAstroTarget(id, ngcId, icId, options);
|
|
1534
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1535
|
+
});
|
|
1536
|
+
},
|
|
1537
|
+
/**
|
|
1538
|
+
* Get all astro targets. This response is paginated. It will only return at most 100 at a time. To get the next page, pass in the `id` of the last target in the current page as the `lastId` query parameter. Omitting this field fetches the first page.
|
|
1539
|
+
* @param {string} [lastId]
|
|
1540
|
+
* @param {string} [catalogId]
|
|
1541
|
+
* @param {number} [ra]
|
|
1542
|
+
* @param {number} [dec]
|
|
1543
|
+
* @param {*} [options] Override http request option.
|
|
1544
|
+
* @throws {RequiredError}
|
|
1545
|
+
*/
|
|
1546
|
+
v1GetAstroTargets(lastId, catalogId, ra, dec, options) {
|
|
1547
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1548
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetAstroTargets(lastId, catalogId, ra, dec, options);
|
|
1549
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1550
|
+
});
|
|
1551
|
+
},
|
|
1552
|
+
/**
|
|
1553
|
+
* get all calibration masters for a node
|
|
1554
|
+
* @param {string} nodeId
|
|
1555
|
+
* @param {*} [options] Override http request option.
|
|
1556
|
+
* @throws {RequiredError}
|
|
1557
|
+
*/
|
|
1558
|
+
v1GetCalibrationMasters(nodeId, options) {
|
|
1559
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1560
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetCalibrationMasters(nodeId, options);
|
|
1561
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1562
|
+
});
|
|
1563
|
+
},
|
|
1564
|
+
/**
|
|
1565
|
+
* get all cameras
|
|
1566
|
+
* @param {*} [options] Override http request option.
|
|
1567
|
+
* @throws {RequiredError}
|
|
1568
|
+
*/
|
|
1569
|
+
v1GetCameras(options) {
|
|
1570
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1571
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetCameras(options);
|
|
1572
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1573
|
+
});
|
|
1574
|
+
},
|
|
1575
|
+
/**
|
|
1576
|
+
* get an image set
|
|
1577
|
+
* @param {string} id
|
|
1578
|
+
* @param {*} [options] Override http request option.
|
|
1579
|
+
* @throws {RequiredError}
|
|
1580
|
+
*/
|
|
1581
|
+
v1GetImageSet(id, options) {
|
|
1582
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1583
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetImageSet(id, options);
|
|
1584
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1585
|
+
});
|
|
1586
|
+
},
|
|
1587
|
+
/**
|
|
1588
|
+
* get an image
|
|
1589
|
+
* @param {string} imageId
|
|
1590
|
+
* @param {*} [options] Override http request option.
|
|
1591
|
+
* @throws {RequiredError}
|
|
1592
|
+
*/
|
|
1593
|
+
v1GetImageSetImage(imageId, options) {
|
|
1594
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1595
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetImageSetImage(imageId, options);
|
|
1596
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1597
|
+
});
|
|
1598
|
+
},
|
|
1599
|
+
/**
|
|
1600
|
+
* get image set images
|
|
1601
|
+
* @param {Array<string>} imageSets
|
|
1602
|
+
* @param {*} [options] Override http request option.
|
|
1603
|
+
* @throws {RequiredError}
|
|
1604
|
+
*/
|
|
1605
|
+
v1GetImageSetImages(imageSets, options) {
|
|
1606
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1607
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetImageSetImages(imageSets, options);
|
|
1608
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1609
|
+
});
|
|
1610
|
+
},
|
|
1611
|
+
/**
|
|
1612
|
+
* get image sets for targets observed for your organization
|
|
1613
|
+
* @param {*} [options] Override http request option.
|
|
1614
|
+
* @throws {RequiredError}
|
|
1615
|
+
*/
|
|
1616
|
+
v1GetImageSets(options) {
|
|
1617
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1618
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetImageSets(options);
|
|
1619
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1620
|
+
});
|
|
1621
|
+
},
|
|
1622
|
+
/**
|
|
1623
|
+
* get mounts
|
|
1624
|
+
* @param {*} [options] Override http request option.
|
|
1625
|
+
* @throws {RequiredError}
|
|
1626
|
+
*/
|
|
1627
|
+
v1GetMounts(options) {
|
|
1628
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1629
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetMounts(options);
|
|
1630
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1631
|
+
});
|
|
1632
|
+
},
|
|
1633
|
+
/**
|
|
1634
|
+
* get all nodes
|
|
1635
|
+
* @param {*} [options] Override http request option.
|
|
1636
|
+
* @throws {RequiredError}
|
|
1637
|
+
*/
|
|
1638
|
+
v1GetNodes(options) {
|
|
1639
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1640
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetNodes(options);
|
|
1641
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1642
|
+
});
|
|
1643
|
+
},
|
|
1644
|
+
/**
|
|
1645
|
+
* get platform credits
|
|
1646
|
+
* @param {*} [options] Override http request option.
|
|
1647
|
+
* @throws {RequiredError}
|
|
1648
|
+
*/
|
|
1649
|
+
v1GetPlatformCredits(options) {
|
|
1650
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1651
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetPlatformCredits(options);
|
|
1652
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1653
|
+
});
|
|
1654
|
+
},
|
|
1655
|
+
/**
|
|
1656
|
+
* search for an astro project with certain properties
|
|
1657
|
+
* @param {string} targetId
|
|
1658
|
+
* @param {string} cameraId
|
|
1659
|
+
* @param {string} otaId
|
|
1660
|
+
* @param {*} [options] Override http request option.
|
|
1661
|
+
* @throws {RequiredError}
|
|
1662
|
+
*/
|
|
1663
|
+
v1MatchAstroProject(targetId, cameraId, otaId, options) {
|
|
1664
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1665
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1MatchAstroProject(targetId, cameraId, otaId, options);
|
|
1666
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1667
|
+
});
|
|
1668
|
+
},
|
|
1669
|
+
/**
|
|
1670
|
+
* match mount
|
|
1671
|
+
* @param {string} [model]
|
|
1672
|
+
* @param {*} [options] Override http request option.
|
|
1673
|
+
* @throws {RequiredError}
|
|
1674
|
+
*/
|
|
1675
|
+
v1MountMatch(model, options) {
|
|
1676
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1677
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1MountMatch(model, options);
|
|
1678
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1679
|
+
});
|
|
1680
|
+
},
|
|
1681
|
+
/**
|
|
1682
|
+
* match optical tube
|
|
1683
|
+
* @param {string} [model]
|
|
1684
|
+
* @param {number} [focalLengthMm]
|
|
1685
|
+
* @param {number} [apertureMm]
|
|
1686
|
+
* @param {*} [options] Override http request option.
|
|
1687
|
+
* @throws {RequiredError}
|
|
1688
|
+
*/
|
|
1689
|
+
v1OpticalTubeMatch(model, focalLengthMm, apertureMm, options) {
|
|
1690
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1691
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1OpticalTubeMatch(model, focalLengthMm, apertureMm, options);
|
|
1692
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1693
|
+
});
|
|
1694
|
+
},
|
|
1695
|
+
/**
|
|
1696
|
+
* stack an astro project
|
|
1697
|
+
* @param {V1PutStackAstroProject} v1PutStackAstroProject request to stack an astro project
|
|
1698
|
+
* @param {*} [options] Override http request option.
|
|
1699
|
+
* @throws {RequiredError}
|
|
1700
|
+
*/
|
|
1701
|
+
v1PutStackAstroProject(v1PutStackAstroProject, options) {
|
|
1702
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1703
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1PutStackAstroProject(v1PutStackAstroProject, options);
|
|
1704
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1705
|
+
});
|
|
1706
|
+
},
|
|
1707
|
+
/**
|
|
1708
|
+
* update a node
|
|
1709
|
+
* @param {V1UpdateNode} v1UpdateNode request to update a node
|
|
1710
|
+
* @param {*} [options] Override http request option.
|
|
1711
|
+
* @throws {RequiredError}
|
|
1712
|
+
*/
|
|
1713
|
+
v1UpdateNode(v1UpdateNode, options) {
|
|
1714
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1715
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1UpdateNode(v1UpdateNode, options);
|
|
1716
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1717
|
+
});
|
|
1718
|
+
},
|
|
1719
|
+
};
|
|
1720
|
+
};
|
|
1721
|
+
exports.DefaultApiFp = DefaultApiFp;
|
|
1722
|
+
/**
|
|
1723
|
+
* DefaultApi - factory interface
|
|
1724
|
+
* @export
|
|
1725
|
+
*/
|
|
1726
|
+
const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
1727
|
+
const localVarFp = (0, exports.DefaultApiFp)(configuration);
|
|
1728
|
+
return {
|
|
1729
|
+
/**
|
|
1730
|
+
* match camera
|
|
1731
|
+
* @param {DefaultApiV1CameraMatchRequest} requestParameters Request parameters.
|
|
1732
|
+
* @param {*} [options] Override http request option.
|
|
1733
|
+
* @throws {RequiredError}
|
|
1734
|
+
*/
|
|
1735
|
+
v1CameraMatch(requestParameters = {}, options) {
|
|
1736
|
+
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));
|
|
1737
|
+
},
|
|
1738
|
+
/**
|
|
1739
|
+
* create an astro user camera
|
|
1740
|
+
* @param {DefaultApiV1CreateAstroCameraRequest} requestParameters Request parameters.
|
|
1741
|
+
* @param {*} [options] Override http request option.
|
|
1742
|
+
* @throws {RequiredError}
|
|
1743
|
+
*/
|
|
1744
|
+
v1CreateAstroCamera(requestParameters, options) {
|
|
1745
|
+
return localVarFp.v1CreateAstroCamera(requestParameters.v1CreateCamera, options).then((request) => request(axios, basePath));
|
|
1746
|
+
},
|
|
1747
|
+
/**
|
|
1748
|
+
* create an astro user mount
|
|
1749
|
+
* @param {DefaultApiV1CreateAstroMountRequest} requestParameters Request parameters.
|
|
1750
|
+
* @param {*} [options] Override http request option.
|
|
1751
|
+
* @throws {RequiredError}
|
|
1752
|
+
*/
|
|
1753
|
+
v1CreateAstroMount(requestParameters, options) {
|
|
1754
|
+
return localVarFp.v1CreateAstroMount(requestParameters.v1CreateMount, options).then((request) => request(axios, basePath));
|
|
1755
|
+
},
|
|
1756
|
+
/**
|
|
1757
|
+
* create an optical tube for an astro user
|
|
1758
|
+
* @param {DefaultApiV1CreateAstroOpticalTubeRequest} requestParameters Request parameters.
|
|
1759
|
+
* @param {*} [options] Override http request option.
|
|
1760
|
+
* @throws {RequiredError}
|
|
1761
|
+
*/
|
|
1762
|
+
v1CreateAstroOpticalTube(requestParameters, options) {
|
|
1763
|
+
return localVarFp.v1CreateAstroOpticalTube(requestParameters.v1CreateOpticalTube, options).then((request) => request(axios, basePath));
|
|
1764
|
+
},
|
|
1765
|
+
/**
|
|
1766
|
+
* create an astro project
|
|
1767
|
+
* @param {DefaultApiV1CreateAstroProjectRequest} requestParameters Request parameters.
|
|
1768
|
+
* @param {*} [options] Override http request option.
|
|
1769
|
+
* @throws {RequiredError}
|
|
1770
|
+
*/
|
|
1771
|
+
v1CreateAstroProject(requestParameters, options) {
|
|
1772
|
+
return localVarFp.v1CreateAstroProject(requestParameters.v1CreateAstroProject, options).then((request) => request(axios, basePath));
|
|
1773
|
+
},
|
|
1774
|
+
/**
|
|
1775
|
+
* create a project image set
|
|
1776
|
+
* @param {DefaultApiV1CreateAstroProjectImageSetRequest} requestParameters Request parameters.
|
|
1777
|
+
* @param {*} [options] Override http request option.
|
|
1778
|
+
* @throws {RequiredError}
|
|
1779
|
+
*/
|
|
1780
|
+
v1CreateAstroProjectImageSet(requestParameters, options) {
|
|
1781
|
+
return localVarFp.v1CreateAstroProjectImageSet(requestParameters.v1CreateAstroProjectImageSet, options).then((request) => request(axios, basePath));
|
|
1782
|
+
},
|
|
1783
|
+
/**
|
|
1784
|
+
* create an calibration master
|
|
1785
|
+
* @param {DefaultApiV1CreateCalibrationMasterRequest} requestParameters Request parameters.
|
|
1786
|
+
* @param {*} [options] Override http request option.
|
|
1787
|
+
* @throws {RequiredError}
|
|
1788
|
+
*/
|
|
1789
|
+
v1CreateCalibrationMaster(requestParameters, options) {
|
|
1790
|
+
return localVarFp.v1CreateCalibrationMaster(requestParameters.v1CreateCalibrationMaster, options).then((request) => request(axios, basePath));
|
|
1791
|
+
},
|
|
1792
|
+
/**
|
|
1793
|
+
* create an image set
|
|
1794
|
+
* @param {DefaultApiV1CreateImageSetRequest} requestParameters Request parameters.
|
|
1795
|
+
* @param {*} [options] Override http request option.
|
|
1796
|
+
* @throws {RequiredError}
|
|
1797
|
+
*/
|
|
1798
|
+
v1CreateImageSet(requestParameters, options) {
|
|
1799
|
+
return localVarFp.v1CreateImageSet(requestParameters.v1CreateImageSet, options).then((request) => request(axios, basePath));
|
|
1800
|
+
},
|
|
1801
|
+
/**
|
|
1802
|
+
* create an image set image
|
|
1803
|
+
* @param {DefaultApiV1CreateImageSetImageRequest} requestParameters Request parameters.
|
|
1804
|
+
* @param {*} [options] Override http request option.
|
|
1805
|
+
* @throws {RequiredError}
|
|
1806
|
+
*/
|
|
1807
|
+
v1CreateImageSetImage(requestParameters, options) {
|
|
1808
|
+
return localVarFp.v1CreateImageSetImage(requestParameters.v1CreateImageSetImage, options).then((request) => request(axios, basePath));
|
|
1809
|
+
},
|
|
1810
|
+
/**
|
|
1811
|
+
* create a node
|
|
1812
|
+
* @param {DefaultApiV1CreateNodeRequest} requestParameters Request parameters.
|
|
1813
|
+
* @param {*} [options] Override http request option.
|
|
1814
|
+
* @throws {RequiredError}
|
|
1815
|
+
*/
|
|
1816
|
+
v1CreateNode(requestParameters, options) {
|
|
1817
|
+
return localVarFp.v1CreateNode(requestParameters.v1CreateNode, options).then((request) => request(axios, basePath));
|
|
1818
|
+
},
|
|
1819
|
+
/**
|
|
1820
|
+
* get an astro camera
|
|
1821
|
+
* @param {DefaultApiV1GetAstroCameraRequest} requestParameters Request parameters.
|
|
1822
|
+
* @param {*} [options] Override http request option.
|
|
1823
|
+
* @throws {RequiredError}
|
|
1824
|
+
*/
|
|
1825
|
+
v1GetAstroCamera(requestParameters, options) {
|
|
1826
|
+
return localVarFp.v1GetAstroCamera(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1827
|
+
},
|
|
1828
|
+
/**
|
|
1829
|
+
* get an astro mount
|
|
1830
|
+
* @param {DefaultApiV1GetAstroMountRequest} requestParameters Request parameters.
|
|
1831
|
+
* @param {*} [options] Override http request option.
|
|
1832
|
+
* @throws {RequiredError}
|
|
1833
|
+
*/
|
|
1834
|
+
v1GetAstroMount(requestParameters, options) {
|
|
1835
|
+
return localVarFp.v1GetAstroMount(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1836
|
+
},
|
|
1837
|
+
/**
|
|
1838
|
+
* get an optical tube
|
|
1839
|
+
* @param {DefaultApiV1GetAstroOpticalTubeRequest} requestParameters Request parameters.
|
|
1840
|
+
* @param {*} [options] Override http request option.
|
|
1841
|
+
* @throws {RequiredError}
|
|
1842
|
+
*/
|
|
1843
|
+
v1GetAstroOpticalTube(requestParameters, options) {
|
|
1844
|
+
return localVarFp.v1GetAstroOpticalTube(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1845
|
+
},
|
|
1846
|
+
/**
|
|
1847
|
+
* get astro platform credit balance
|
|
1848
|
+
* @param {*} [options] Override http request option.
|
|
1849
|
+
* @throws {RequiredError}
|
|
1850
|
+
*/
|
|
1851
|
+
v1GetAstroPlatformCreditBalance(options) {
|
|
1852
|
+
return localVarFp.v1GetAstroPlatformCreditBalance(options).then((request) => request(axios, basePath));
|
|
1853
|
+
},
|
|
1854
|
+
/**
|
|
1855
|
+
* get an astro project
|
|
1856
|
+
* @param {DefaultApiV1GetAstroProjectRequest} requestParameters Request parameters.
|
|
1857
|
+
* @param {*} [options] Override http request option.
|
|
1858
|
+
* @throws {RequiredError}
|
|
1859
|
+
*/
|
|
1860
|
+
v1GetAstroProject(requestParameters, options) {
|
|
1861
|
+
return localVarFp.v1GetAstroProject(requestParameters.astroProjectId, options).then((request) => request(axios, basePath));
|
|
1862
|
+
},
|
|
1863
|
+
/**
|
|
1864
|
+
* get all assets for an astro project
|
|
1865
|
+
* @param {DefaultApiV1GetAstroProjectAssetsRequest} requestParameters Request parameters.
|
|
1866
|
+
* @param {*} [options] Override http request option.
|
|
1867
|
+
* @throws {RequiredError}
|
|
1868
|
+
*/
|
|
1869
|
+
v1GetAstroProjectAssets(requestParameters, options) {
|
|
1870
|
+
return localVarFp.v1GetAstroProjectAssets(requestParameters.astroProjectId, options).then((request) => request(axios, basePath));
|
|
1871
|
+
},
|
|
1872
|
+
/**
|
|
1873
|
+
* get all astro projects
|
|
1874
|
+
* @param {*} [options] Override http request option.
|
|
1875
|
+
* @throws {RequiredError}
|
|
1876
|
+
*/
|
|
1877
|
+
v1GetAstroProjects(options) {
|
|
1878
|
+
return localVarFp.v1GetAstroProjects(options).then((request) => request(axios, basePath));
|
|
1879
|
+
},
|
|
1880
|
+
/**
|
|
1881
|
+
* Get an astro targets. pass in an ID, an NGC ID or an IC ID
|
|
1882
|
+
* @param {DefaultApiV1GetAstroTargetRequest} requestParameters Request parameters.
|
|
1883
|
+
* @param {*} [options] Override http request option.
|
|
1884
|
+
* @throws {RequiredError}
|
|
1885
|
+
*/
|
|
1886
|
+
v1GetAstroTarget(requestParameters = {}, options) {
|
|
1887
|
+
return localVarFp.v1GetAstroTarget(requestParameters.id, requestParameters.ngcId, requestParameters.icId, options).then((request) => request(axios, basePath));
|
|
1888
|
+
},
|
|
1889
|
+
/**
|
|
1890
|
+
* Get all astro targets. This response is paginated. It will only return at most 100 at a time. To get the next page, pass in the `id` of the last target in the current page as the `lastId` query parameter. Omitting this field fetches the first page.
|
|
1891
|
+
* @param {DefaultApiV1GetAstroTargetsRequest} requestParameters Request parameters.
|
|
1892
|
+
* @param {*} [options] Override http request option.
|
|
1893
|
+
* @throws {RequiredError}
|
|
1894
|
+
*/
|
|
1895
|
+
v1GetAstroTargets(requestParameters = {}, options) {
|
|
1896
|
+
return localVarFp.v1GetAstroTargets(requestParameters.lastId, requestParameters.catalogId, requestParameters.ra, requestParameters.dec, options).then((request) => request(axios, basePath));
|
|
1897
|
+
},
|
|
1898
|
+
/**
|
|
1899
|
+
* get all calibration masters for a node
|
|
1900
|
+
* @param {DefaultApiV1GetCalibrationMastersRequest} requestParameters Request parameters.
|
|
1901
|
+
* @param {*} [options] Override http request option.
|
|
1902
|
+
* @throws {RequiredError}
|
|
1903
|
+
*/
|
|
1904
|
+
v1GetCalibrationMasters(requestParameters, options) {
|
|
1905
|
+
return localVarFp.v1GetCalibrationMasters(requestParameters.nodeId, options).then((request) => request(axios, basePath));
|
|
1906
|
+
},
|
|
1907
|
+
/**
|
|
1908
|
+
* get all cameras
|
|
1909
|
+
* @param {*} [options] Override http request option.
|
|
1910
|
+
* @throws {RequiredError}
|
|
1911
|
+
*/
|
|
1912
|
+
v1GetCameras(options) {
|
|
1913
|
+
return localVarFp.v1GetCameras(options).then((request) => request(axios, basePath));
|
|
1914
|
+
},
|
|
1915
|
+
/**
|
|
1916
|
+
* get an image set
|
|
1917
|
+
* @param {DefaultApiV1GetImageSetRequest} requestParameters Request parameters.
|
|
1918
|
+
* @param {*} [options] Override http request option.
|
|
1919
|
+
* @throws {RequiredError}
|
|
1920
|
+
*/
|
|
1921
|
+
v1GetImageSet(requestParameters, options) {
|
|
1922
|
+
return localVarFp.v1GetImageSet(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1923
|
+
},
|
|
1924
|
+
/**
|
|
1925
|
+
* get an image
|
|
1926
|
+
* @param {DefaultApiV1GetImageSetImageRequest} requestParameters Request parameters.
|
|
1927
|
+
* @param {*} [options] Override http request option.
|
|
1928
|
+
* @throws {RequiredError}
|
|
1929
|
+
*/
|
|
1930
|
+
v1GetImageSetImage(requestParameters, options) {
|
|
1931
|
+
return localVarFp.v1GetImageSetImage(requestParameters.imageId, options).then((request) => request(axios, basePath));
|
|
1932
|
+
},
|
|
1933
|
+
/**
|
|
1934
|
+
* get image set images
|
|
1935
|
+
* @param {DefaultApiV1GetImageSetImagesRequest} requestParameters Request parameters.
|
|
1936
|
+
* @param {*} [options] Override http request option.
|
|
1937
|
+
* @throws {RequiredError}
|
|
1938
|
+
*/
|
|
1939
|
+
v1GetImageSetImages(requestParameters, options) {
|
|
1940
|
+
return localVarFp.v1GetImageSetImages(requestParameters.imageSets, options).then((request) => request(axios, basePath));
|
|
1941
|
+
},
|
|
1942
|
+
/**
|
|
1943
|
+
* get image sets for targets observed for your organization
|
|
1944
|
+
* @param {*} [options] Override http request option.
|
|
1945
|
+
* @throws {RequiredError}
|
|
1946
|
+
*/
|
|
1947
|
+
v1GetImageSets(options) {
|
|
1948
|
+
return localVarFp.v1GetImageSets(options).then((request) => request(axios, basePath));
|
|
1949
|
+
},
|
|
1950
|
+
/**
|
|
1951
|
+
* get mounts
|
|
1952
|
+
* @param {*} [options] Override http request option.
|
|
1953
|
+
* @throws {RequiredError}
|
|
1954
|
+
*/
|
|
1955
|
+
v1GetMounts(options) {
|
|
1956
|
+
return localVarFp.v1GetMounts(options).then((request) => request(axios, basePath));
|
|
1957
|
+
},
|
|
1958
|
+
/**
|
|
1959
|
+
* get all nodes
|
|
1960
|
+
* @param {*} [options] Override http request option.
|
|
1961
|
+
* @throws {RequiredError}
|
|
1962
|
+
*/
|
|
1963
|
+
v1GetNodes(options) {
|
|
1964
|
+
return localVarFp.v1GetNodes(options).then((request) => request(axios, basePath));
|
|
1965
|
+
},
|
|
1966
|
+
/**
|
|
1967
|
+
* get platform credits
|
|
1968
|
+
* @param {*} [options] Override http request option.
|
|
1969
|
+
* @throws {RequiredError}
|
|
1970
|
+
*/
|
|
1971
|
+
v1GetPlatformCredits(options) {
|
|
1972
|
+
return localVarFp.v1GetPlatformCredits(options).then((request) => request(axios, basePath));
|
|
1973
|
+
},
|
|
1974
|
+
/**
|
|
1975
|
+
* search for an astro project with certain properties
|
|
1976
|
+
* @param {DefaultApiV1MatchAstroProjectRequest} requestParameters Request parameters.
|
|
1977
|
+
* @param {*} [options] Override http request option.
|
|
1978
|
+
* @throws {RequiredError}
|
|
1979
|
+
*/
|
|
1980
|
+
v1MatchAstroProject(requestParameters, options) {
|
|
1981
|
+
return localVarFp.v1MatchAstroProject(requestParameters.targetId, requestParameters.cameraId, requestParameters.otaId, options).then((request) => request(axios, basePath));
|
|
1982
|
+
},
|
|
1983
|
+
/**
|
|
1984
|
+
* match mount
|
|
1985
|
+
* @param {DefaultApiV1MountMatchRequest} requestParameters Request parameters.
|
|
1986
|
+
* @param {*} [options] Override http request option.
|
|
1987
|
+
* @throws {RequiredError}
|
|
1988
|
+
*/
|
|
1989
|
+
v1MountMatch(requestParameters = {}, options) {
|
|
1990
|
+
return localVarFp.v1MountMatch(requestParameters.model, options).then((request) => request(axios, basePath));
|
|
1991
|
+
},
|
|
1992
|
+
/**
|
|
1993
|
+
* match optical tube
|
|
1994
|
+
* @param {DefaultApiV1OpticalTubeMatchRequest} requestParameters Request parameters.
|
|
1995
|
+
* @param {*} [options] Override http request option.
|
|
1996
|
+
* @throws {RequiredError}
|
|
1997
|
+
*/
|
|
1998
|
+
v1OpticalTubeMatch(requestParameters = {}, options) {
|
|
1999
|
+
return localVarFp.v1OpticalTubeMatch(requestParameters.model, requestParameters.focalLengthMm, requestParameters.apertureMm, options).then((request) => request(axios, basePath));
|
|
2000
|
+
},
|
|
2001
|
+
/**
|
|
2002
|
+
* stack an astro project
|
|
2003
|
+
* @param {DefaultApiV1PutStackAstroProjectRequest} requestParameters Request parameters.
|
|
2004
|
+
* @param {*} [options] Override http request option.
|
|
2005
|
+
* @throws {RequiredError}
|
|
2006
|
+
*/
|
|
2007
|
+
v1PutStackAstroProject(requestParameters, options) {
|
|
2008
|
+
return localVarFp.v1PutStackAstroProject(requestParameters.v1PutStackAstroProject, options).then((request) => request(axios, basePath));
|
|
2009
|
+
},
|
|
2010
|
+
/**
|
|
2011
|
+
* update a node
|
|
2012
|
+
* @param {DefaultApiV1UpdateNodeRequest} requestParameters Request parameters.
|
|
2013
|
+
* @param {*} [options] Override http request option.
|
|
2014
|
+
* @throws {RequiredError}
|
|
2015
|
+
*/
|
|
2016
|
+
v1UpdateNode(requestParameters, options) {
|
|
2017
|
+
return localVarFp.v1UpdateNode(requestParameters.v1UpdateNode, options).then((request) => request(axios, basePath));
|
|
2018
|
+
},
|
|
2019
|
+
};
|
|
2020
|
+
};
|
|
2021
|
+
exports.DefaultApiFactory = DefaultApiFactory;
|
|
2022
|
+
/**
|
|
2023
|
+
* DefaultApi - object-oriented interface
|
|
2024
|
+
* @export
|
|
2025
|
+
* @class DefaultApi
|
|
2026
|
+
* @extends {BaseAPI}
|
|
2027
|
+
*/
|
|
2028
|
+
class DefaultApi extends base_1.BaseAPI {
|
|
2029
|
+
/**
|
|
2030
|
+
* match camera
|
|
2031
|
+
* @param {DefaultApiV1CameraMatchRequest} requestParameters Request parameters.
|
|
2032
|
+
* @param {*} [options] Override http request option.
|
|
2033
|
+
* @throws {RequiredError}
|
|
2034
|
+
* @memberof DefaultApi
|
|
2035
|
+
*/
|
|
2036
|
+
v1CameraMatch(requestParameters = {}, options) {
|
|
2037
|
+
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));
|
|
2038
|
+
}
|
|
2039
|
+
/**
|
|
2040
|
+
* create an astro user camera
|
|
2041
|
+
* @param {DefaultApiV1CreateAstroCameraRequest} requestParameters Request parameters.
|
|
2042
|
+
* @param {*} [options] Override http request option.
|
|
2043
|
+
* @throws {RequiredError}
|
|
2044
|
+
* @memberof DefaultApi
|
|
2045
|
+
*/
|
|
2046
|
+
v1CreateAstroCamera(requestParameters, options) {
|
|
2047
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1CreateAstroCamera(requestParameters.v1CreateCamera, options).then((request) => request(this.axios, this.basePath));
|
|
2048
|
+
}
|
|
2049
|
+
/**
|
|
2050
|
+
* create an astro user mount
|
|
2051
|
+
* @param {DefaultApiV1CreateAstroMountRequest} requestParameters Request parameters.
|
|
2052
|
+
* @param {*} [options] Override http request option.
|
|
2053
|
+
* @throws {RequiredError}
|
|
2054
|
+
* @memberof DefaultApi
|
|
2055
|
+
*/
|
|
2056
|
+
v1CreateAstroMount(requestParameters, options) {
|
|
2057
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1CreateAstroMount(requestParameters.v1CreateMount, options).then((request) => request(this.axios, this.basePath));
|
|
2058
|
+
}
|
|
2059
|
+
/**
|
|
2060
|
+
* create an optical tube for an astro user
|
|
2061
|
+
* @param {DefaultApiV1CreateAstroOpticalTubeRequest} requestParameters Request parameters.
|
|
2062
|
+
* @param {*} [options] Override http request option.
|
|
2063
|
+
* @throws {RequiredError}
|
|
2064
|
+
* @memberof DefaultApi
|
|
2065
|
+
*/
|
|
2066
|
+
v1CreateAstroOpticalTube(requestParameters, options) {
|
|
2067
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1CreateAstroOpticalTube(requestParameters.v1CreateOpticalTube, options).then((request) => request(this.axios, this.basePath));
|
|
2068
|
+
}
|
|
2069
|
+
/**
|
|
2070
|
+
* create an astro project
|
|
2071
|
+
* @param {DefaultApiV1CreateAstroProjectRequest} requestParameters Request parameters.
|
|
2072
|
+
* @param {*} [options] Override http request option.
|
|
2073
|
+
* @throws {RequiredError}
|
|
2074
|
+
* @memberof DefaultApi
|
|
2075
|
+
*/
|
|
2076
|
+
v1CreateAstroProject(requestParameters, options) {
|
|
2077
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1CreateAstroProject(requestParameters.v1CreateAstroProject, options).then((request) => request(this.axios, this.basePath));
|
|
2078
|
+
}
|
|
2079
|
+
/**
|
|
2080
|
+
* create a project image set
|
|
2081
|
+
* @param {DefaultApiV1CreateAstroProjectImageSetRequest} requestParameters Request parameters.
|
|
2082
|
+
* @param {*} [options] Override http request option.
|
|
2083
|
+
* @throws {RequiredError}
|
|
2084
|
+
* @memberof DefaultApi
|
|
2085
|
+
*/
|
|
2086
|
+
v1CreateAstroProjectImageSet(requestParameters, options) {
|
|
2087
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1CreateAstroProjectImageSet(requestParameters.v1CreateAstroProjectImageSet, options).then((request) => request(this.axios, this.basePath));
|
|
2088
|
+
}
|
|
2089
|
+
/**
|
|
2090
|
+
* create an calibration master
|
|
2091
|
+
* @param {DefaultApiV1CreateCalibrationMasterRequest} requestParameters Request parameters.
|
|
2092
|
+
* @param {*} [options] Override http request option.
|
|
2093
|
+
* @throws {RequiredError}
|
|
2094
|
+
* @memberof DefaultApi
|
|
2095
|
+
*/
|
|
2096
|
+
v1CreateCalibrationMaster(requestParameters, options) {
|
|
2097
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1CreateCalibrationMaster(requestParameters.v1CreateCalibrationMaster, options).then((request) => request(this.axios, this.basePath));
|
|
2098
|
+
}
|
|
2099
|
+
/**
|
|
2100
|
+
* create an image set
|
|
2101
|
+
* @param {DefaultApiV1CreateImageSetRequest} requestParameters Request parameters.
|
|
2102
|
+
* @param {*} [options] Override http request option.
|
|
2103
|
+
* @throws {RequiredError}
|
|
2104
|
+
* @memberof DefaultApi
|
|
2105
|
+
*/
|
|
2106
|
+
v1CreateImageSet(requestParameters, options) {
|
|
2107
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1CreateImageSet(requestParameters.v1CreateImageSet, options).then((request) => request(this.axios, this.basePath));
|
|
2108
|
+
}
|
|
2109
|
+
/**
|
|
2110
|
+
* create an image set image
|
|
2111
|
+
* @param {DefaultApiV1CreateImageSetImageRequest} requestParameters Request parameters.
|
|
2112
|
+
* @param {*} [options] Override http request option.
|
|
2113
|
+
* @throws {RequiredError}
|
|
2114
|
+
* @memberof DefaultApi
|
|
2115
|
+
*/
|
|
2116
|
+
v1CreateImageSetImage(requestParameters, options) {
|
|
2117
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1CreateImageSetImage(requestParameters.v1CreateImageSetImage, options).then((request) => request(this.axios, this.basePath));
|
|
2118
|
+
}
|
|
2119
|
+
/**
|
|
2120
|
+
* create a node
|
|
2121
|
+
* @param {DefaultApiV1CreateNodeRequest} requestParameters Request parameters.
|
|
2122
|
+
* @param {*} [options] Override http request option.
|
|
2123
|
+
* @throws {RequiredError}
|
|
2124
|
+
* @memberof DefaultApi
|
|
2125
|
+
*/
|
|
2126
|
+
v1CreateNode(requestParameters, options) {
|
|
2127
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1CreateNode(requestParameters.v1CreateNode, options).then((request) => request(this.axios, this.basePath));
|
|
2128
|
+
}
|
|
2129
|
+
/**
|
|
2130
|
+
* get an astro camera
|
|
2131
|
+
* @param {DefaultApiV1GetAstroCameraRequest} requestParameters Request parameters.
|
|
2132
|
+
* @param {*} [options] Override http request option.
|
|
2133
|
+
* @throws {RequiredError}
|
|
2134
|
+
* @memberof DefaultApi
|
|
2135
|
+
*/
|
|
2136
|
+
v1GetAstroCamera(requestParameters, options) {
|
|
2137
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1GetAstroCamera(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
2138
|
+
}
|
|
2139
|
+
/**
|
|
2140
|
+
* get an astro mount
|
|
2141
|
+
* @param {DefaultApiV1GetAstroMountRequest} requestParameters Request parameters.
|
|
2142
|
+
* @param {*} [options] Override http request option.
|
|
2143
|
+
* @throws {RequiredError}
|
|
2144
|
+
* @memberof DefaultApi
|
|
2145
|
+
*/
|
|
2146
|
+
v1GetAstroMount(requestParameters, options) {
|
|
2147
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1GetAstroMount(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
2148
|
+
}
|
|
2149
|
+
/**
|
|
2150
|
+
* get an optical tube
|
|
2151
|
+
* @param {DefaultApiV1GetAstroOpticalTubeRequest} requestParameters Request parameters.
|
|
2152
|
+
* @param {*} [options] Override http request option.
|
|
2153
|
+
* @throws {RequiredError}
|
|
2154
|
+
* @memberof DefaultApi
|
|
2155
|
+
*/
|
|
2156
|
+
v1GetAstroOpticalTube(requestParameters, options) {
|
|
2157
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1GetAstroOpticalTube(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
2158
|
+
}
|
|
2159
|
+
/**
|
|
2160
|
+
* get astro platform credit balance
|
|
2161
|
+
* @param {*} [options] Override http request option.
|
|
2162
|
+
* @throws {RequiredError}
|
|
2163
|
+
* @memberof DefaultApi
|
|
2164
|
+
*/
|
|
2165
|
+
v1GetAstroPlatformCreditBalance(options) {
|
|
2166
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1GetAstroPlatformCreditBalance(options).then((request) => request(this.axios, this.basePath));
|
|
2167
|
+
}
|
|
2168
|
+
/**
|
|
2169
|
+
* get an astro project
|
|
2170
|
+
* @param {DefaultApiV1GetAstroProjectRequest} requestParameters Request parameters.
|
|
2171
|
+
* @param {*} [options] Override http request option.
|
|
2172
|
+
* @throws {RequiredError}
|
|
2173
|
+
* @memberof DefaultApi
|
|
2174
|
+
*/
|
|
2175
|
+
v1GetAstroProject(requestParameters, options) {
|
|
2176
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1GetAstroProject(requestParameters.astroProjectId, options).then((request) => request(this.axios, this.basePath));
|
|
2177
|
+
}
|
|
2178
|
+
/**
|
|
2179
|
+
* get all assets for an astro project
|
|
2180
|
+
* @param {DefaultApiV1GetAstroProjectAssetsRequest} requestParameters Request parameters.
|
|
2181
|
+
* @param {*} [options] Override http request option.
|
|
2182
|
+
* @throws {RequiredError}
|
|
2183
|
+
* @memberof DefaultApi
|
|
2184
|
+
*/
|
|
2185
|
+
v1GetAstroProjectAssets(requestParameters, options) {
|
|
2186
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1GetAstroProjectAssets(requestParameters.astroProjectId, options).then((request) => request(this.axios, this.basePath));
|
|
2187
|
+
}
|
|
2188
|
+
/**
|
|
2189
|
+
* get all astro projects
|
|
2190
|
+
* @param {*} [options] Override http request option.
|
|
2191
|
+
* @throws {RequiredError}
|
|
2192
|
+
* @memberof DefaultApi
|
|
2193
|
+
*/
|
|
2194
|
+
v1GetAstroProjects(options) {
|
|
2195
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1GetAstroProjects(options).then((request) => request(this.axios, this.basePath));
|
|
2196
|
+
}
|
|
2197
|
+
/**
|
|
2198
|
+
* Get an astro targets. pass in an ID, an NGC ID or an IC ID
|
|
2199
|
+
* @param {DefaultApiV1GetAstroTargetRequest} requestParameters Request parameters.
|
|
2200
|
+
* @param {*} [options] Override http request option.
|
|
2201
|
+
* @throws {RequiredError}
|
|
2202
|
+
* @memberof DefaultApi
|
|
2203
|
+
*/
|
|
2204
|
+
v1GetAstroTarget(requestParameters = {}, options) {
|
|
2205
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1GetAstroTarget(requestParameters.id, requestParameters.ngcId, requestParameters.icId, options).then((request) => request(this.axios, this.basePath));
|
|
2206
|
+
}
|
|
2207
|
+
/**
|
|
2208
|
+
* Get all astro targets. This response is paginated. It will only return at most 100 at a time. To get the next page, pass in the `id` of the last target in the current page as the `lastId` query parameter. Omitting this field fetches the first page.
|
|
2209
|
+
* @param {DefaultApiV1GetAstroTargetsRequest} requestParameters Request parameters.
|
|
2210
|
+
* @param {*} [options] Override http request option.
|
|
2211
|
+
* @throws {RequiredError}
|
|
2212
|
+
* @memberof DefaultApi
|
|
2213
|
+
*/
|
|
2214
|
+
v1GetAstroTargets(requestParameters = {}, options) {
|
|
2215
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1GetAstroTargets(requestParameters.lastId, requestParameters.catalogId, requestParameters.ra, requestParameters.dec, options).then((request) => request(this.axios, this.basePath));
|
|
2216
|
+
}
|
|
2217
|
+
/**
|
|
2218
|
+
* get all calibration masters for a node
|
|
2219
|
+
* @param {DefaultApiV1GetCalibrationMastersRequest} requestParameters Request parameters.
|
|
2220
|
+
* @param {*} [options] Override http request option.
|
|
2221
|
+
* @throws {RequiredError}
|
|
2222
|
+
* @memberof DefaultApi
|
|
2223
|
+
*/
|
|
2224
|
+
v1GetCalibrationMasters(requestParameters, options) {
|
|
2225
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1GetCalibrationMasters(requestParameters.nodeId, options).then((request) => request(this.axios, this.basePath));
|
|
2226
|
+
}
|
|
2227
|
+
/**
|
|
2228
|
+
* get all cameras
|
|
2229
|
+
* @param {*} [options] Override http request option.
|
|
2230
|
+
* @throws {RequiredError}
|
|
2231
|
+
* @memberof DefaultApi
|
|
2232
|
+
*/
|
|
2233
|
+
v1GetCameras(options) {
|
|
2234
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1GetCameras(options).then((request) => request(this.axios, this.basePath));
|
|
2235
|
+
}
|
|
2236
|
+
/**
|
|
2237
|
+
* get an image set
|
|
2238
|
+
* @param {DefaultApiV1GetImageSetRequest} requestParameters Request parameters.
|
|
2239
|
+
* @param {*} [options] Override http request option.
|
|
2240
|
+
* @throws {RequiredError}
|
|
2241
|
+
* @memberof DefaultApi
|
|
2242
|
+
*/
|
|
2243
|
+
v1GetImageSet(requestParameters, options) {
|
|
2244
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1GetImageSet(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
2245
|
+
}
|
|
2246
|
+
/**
|
|
2247
|
+
* get an image
|
|
2248
|
+
* @param {DefaultApiV1GetImageSetImageRequest} requestParameters Request parameters.
|
|
2249
|
+
* @param {*} [options] Override http request option.
|
|
2250
|
+
* @throws {RequiredError}
|
|
2251
|
+
* @memberof DefaultApi
|
|
2252
|
+
*/
|
|
2253
|
+
v1GetImageSetImage(requestParameters, options) {
|
|
2254
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1GetImageSetImage(requestParameters.imageId, options).then((request) => request(this.axios, this.basePath));
|
|
2255
|
+
}
|
|
2256
|
+
/**
|
|
2257
|
+
* get image set images
|
|
2258
|
+
* @param {DefaultApiV1GetImageSetImagesRequest} requestParameters Request parameters.
|
|
2259
|
+
* @param {*} [options] Override http request option.
|
|
2260
|
+
* @throws {RequiredError}
|
|
2261
|
+
* @memberof DefaultApi
|
|
2262
|
+
*/
|
|
2263
|
+
v1GetImageSetImages(requestParameters, options) {
|
|
2264
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1GetImageSetImages(requestParameters.imageSets, options).then((request) => request(this.axios, this.basePath));
|
|
2265
|
+
}
|
|
2266
|
+
/**
|
|
2267
|
+
* get image sets for targets observed for your organization
|
|
2268
|
+
* @param {*} [options] Override http request option.
|
|
2269
|
+
* @throws {RequiredError}
|
|
2270
|
+
* @memberof DefaultApi
|
|
2271
|
+
*/
|
|
2272
|
+
v1GetImageSets(options) {
|
|
2273
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1GetImageSets(options).then((request) => request(this.axios, this.basePath));
|
|
2274
|
+
}
|
|
2275
|
+
/**
|
|
2276
|
+
* get mounts
|
|
2277
|
+
* @param {*} [options] Override http request option.
|
|
2278
|
+
* @throws {RequiredError}
|
|
2279
|
+
* @memberof DefaultApi
|
|
2280
|
+
*/
|
|
2281
|
+
v1GetMounts(options) {
|
|
2282
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1GetMounts(options).then((request) => request(this.axios, this.basePath));
|
|
2283
|
+
}
|
|
2284
|
+
/**
|
|
2285
|
+
* get all nodes
|
|
2286
|
+
* @param {*} [options] Override http request option.
|
|
2287
|
+
* @throws {RequiredError}
|
|
2288
|
+
* @memberof DefaultApi
|
|
2289
|
+
*/
|
|
2290
|
+
v1GetNodes(options) {
|
|
2291
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1GetNodes(options).then((request) => request(this.axios, this.basePath));
|
|
2292
|
+
}
|
|
2293
|
+
/**
|
|
2294
|
+
* get platform credits
|
|
2295
|
+
* @param {*} [options] Override http request option.
|
|
2296
|
+
* @throws {RequiredError}
|
|
2297
|
+
* @memberof DefaultApi
|
|
2298
|
+
*/
|
|
2299
|
+
v1GetPlatformCredits(options) {
|
|
2300
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1GetPlatformCredits(options).then((request) => request(this.axios, this.basePath));
|
|
2301
|
+
}
|
|
2302
|
+
/**
|
|
2303
|
+
* search for an astro project with certain properties
|
|
2304
|
+
* @param {DefaultApiV1MatchAstroProjectRequest} requestParameters Request parameters.
|
|
2305
|
+
* @param {*} [options] Override http request option.
|
|
2306
|
+
* @throws {RequiredError}
|
|
2307
|
+
* @memberof DefaultApi
|
|
2308
|
+
*/
|
|
2309
|
+
v1MatchAstroProject(requestParameters, options) {
|
|
2310
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1MatchAstroProject(requestParameters.targetId, requestParameters.cameraId, requestParameters.otaId, options).then((request) => request(this.axios, this.basePath));
|
|
2311
|
+
}
|
|
2312
|
+
/**
|
|
2313
|
+
* match mount
|
|
2314
|
+
* @param {DefaultApiV1MountMatchRequest} requestParameters Request parameters.
|
|
2315
|
+
* @param {*} [options] Override http request option.
|
|
2316
|
+
* @throws {RequiredError}
|
|
2317
|
+
* @memberof DefaultApi
|
|
2318
|
+
*/
|
|
2319
|
+
v1MountMatch(requestParameters = {}, options) {
|
|
2320
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1MountMatch(requestParameters.model, options).then((request) => request(this.axios, this.basePath));
|
|
2321
|
+
}
|
|
2322
|
+
/**
|
|
2323
|
+
* match optical tube
|
|
2324
|
+
* @param {DefaultApiV1OpticalTubeMatchRequest} requestParameters Request parameters.
|
|
2325
|
+
* @param {*} [options] Override http request option.
|
|
2326
|
+
* @throws {RequiredError}
|
|
2327
|
+
* @memberof DefaultApi
|
|
2328
|
+
*/
|
|
2329
|
+
v1OpticalTubeMatch(requestParameters = {}, options) {
|
|
2330
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1OpticalTubeMatch(requestParameters.model, requestParameters.focalLengthMm, requestParameters.apertureMm, options).then((request) => request(this.axios, this.basePath));
|
|
2331
|
+
}
|
|
2332
|
+
/**
|
|
2333
|
+
* stack an astro project
|
|
2334
|
+
* @param {DefaultApiV1PutStackAstroProjectRequest} requestParameters Request parameters.
|
|
2335
|
+
* @param {*} [options] Override http request option.
|
|
2336
|
+
* @throws {RequiredError}
|
|
2337
|
+
* @memberof DefaultApi
|
|
2338
|
+
*/
|
|
2339
|
+
v1PutStackAstroProject(requestParameters, options) {
|
|
2340
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1PutStackAstroProject(requestParameters.v1PutStackAstroProject, options).then((request) => request(this.axios, this.basePath));
|
|
2341
|
+
}
|
|
2342
|
+
/**
|
|
2343
|
+
* update a node
|
|
2344
|
+
* @param {DefaultApiV1UpdateNodeRequest} requestParameters Request parameters.
|
|
2345
|
+
* @param {*} [options] Override http request option.
|
|
2346
|
+
* @throws {RequiredError}
|
|
2347
|
+
* @memberof DefaultApi
|
|
2348
|
+
*/
|
|
2349
|
+
v1UpdateNode(requestParameters, options) {
|
|
2350
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1UpdateNode(requestParameters.v1UpdateNode, options).then((request) => request(this.axios, this.basePath));
|
|
2351
|
+
}
|
|
2352
|
+
}
|
|
2353
|
+
exports.DefaultApi = DefaultApi;
|