@ourskyai/platform-api 1.3.2816 → 1.3.3197

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/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * OurSky Platform
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.3.2816
7
+ * The version of the OpenAPI document: 1.3.3197
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -170,6 +170,37 @@ export const OpticalTubeType = {
170
170
  export type OpticalTubeType = typeof OpticalTubeType[keyof typeof OpticalTubeType];
171
171
 
172
172
 
173
+ /**
174
+ *
175
+ * @export
176
+ * @interface PlateSolveParameters
177
+ */
178
+ export interface PlateSolveParameters {
179
+ /**
180
+ *
181
+ * @type {number}
182
+ * @memberof PlateSolveParameters
183
+ */
184
+ 'exposureDuration': number;
185
+ /**
186
+ *
187
+ * @type {number}
188
+ * @memberof PlateSolveParameters
189
+ */
190
+ 'toleranceArcMin': number;
191
+ /**
192
+ *
193
+ * @type {number}
194
+ * @memberof PlateSolveParameters
195
+ */
196
+ 'binning': number;
197
+ /**
198
+ *
199
+ * @type {number}
200
+ * @memberof PlateSolveParameters
201
+ */
202
+ 'gain': number;
203
+ }
173
204
  /**
174
205
  *
175
206
  * @export
@@ -304,6 +335,25 @@ export interface V1Camera {
304
335
  }
305
336
 
306
337
 
338
+ /**
339
+ *
340
+ * @export
341
+ * @interface V1ClientToken
342
+ */
343
+ export interface V1ClientToken {
344
+ /**
345
+ * Mapbox token
346
+ * @type {string}
347
+ * @memberof V1ClientToken
348
+ */
349
+ 'mapboxToken': string;
350
+ /**
351
+ * Cesium token
352
+ * @type {string}
353
+ * @memberof V1ClientToken
354
+ */
355
+ 'cesiumToken': string;
356
+ }
307
357
  /**
308
358
  *
309
359
  * @export
@@ -528,33 +578,6 @@ export interface V1CreateNodeRequest {
528
578
  */
529
579
  'location': Location;
530
580
  }
531
- /**
532
- *
533
- * @export
534
- * @interface V1CreateObservationInstructionRequest
535
- */
536
- export interface V1CreateObservationInstructionRequest {
537
- /**
538
- *
539
- * @type {string}
540
- * @memberof V1CreateObservationInstructionRequest
541
- */
542
- 'nodeId': string;
543
- /**
544
- *
545
- * @type {string}
546
- * @memberof V1CreateObservationInstructionRequest
547
- */
548
- 'targetId': string;
549
- /**
550
- *
551
- * @type {TrackingType}
552
- * @memberof V1CreateObservationInstructionRequest
553
- */
554
- 'trackingType': TrackingType;
555
- }
556
-
557
-
558
581
  /**
559
582
  *
560
583
  * @export
@@ -690,6 +713,18 @@ export interface V1GetInstructionRequest {
690
713
  * @memberof V1GetInstructionRequest
691
714
  */
692
715
  'supportedDiagnostics': Array<V1NodeDiagnosticType>;
716
+ /**
717
+ *
718
+ * @type {number}
719
+ * @memberof V1GetInstructionRequest
720
+ */
721
+ 'altitude'?: number;
722
+ /**
723
+ *
724
+ * @type {number}
725
+ * @memberof V1GetInstructionRequest
726
+ */
727
+ 'azimuth'?: number;
693
728
  }
694
729
  /**
695
730
  *
@@ -1231,7 +1266,7 @@ export interface V1Instruction {
1231
1266
  */
1232
1267
  'diagnostic'?: V1DiagnosticInstruction;
1233
1268
  /**
1234
- * Search Instruction
1269
+ *
1235
1270
  * @type {Array<V1ObservationInstruction>}
1236
1271
  * @memberof V1Instruction
1237
1272
  */
@@ -1355,6 +1390,12 @@ export interface V1Node {
1355
1390
  * @memberof V1Node
1356
1391
  */
1357
1392
  'elevationMask'?: Array<V1ElevationMaskPoint>;
1393
+ /**
1394
+ *
1395
+ * @type {V1SlewTiming}
1396
+ * @memberof V1Node
1397
+ */
1398
+ 'slewTiming'?: V1SlewTiming;
1358
1399
  /**
1359
1400
  *
1360
1401
  * @type {string}
@@ -1408,6 +1449,7 @@ export const V1NodeDiagnosticType = {
1408
1449
  SLEW_SPEED_DEGREES_PER_SECOND: 'SLEW_SPEED_DEGREES_PER_SECOND',
1409
1450
  CENTERING_TIME_MS: 'CENTERING_TIME_MS',
1410
1451
  POINTING_ERROR_DEGREES: 'POINTING_ERROR_DEGREES',
1452
+ SLEW_TIMING_CHECKED: 'SLEW_TIMING_CHECKED',
1411
1453
  CAMERA_CHECKED: 'CAMERA_CHECKED',
1412
1454
  CAMERA_HAS_GPS: 'CAMERA_HAS_GPS',
1413
1455
  MOUNT_CHECKED: 'MOUNT_CHECKED',
@@ -1500,13 +1542,13 @@ export interface V1ObservationInstruction {
1500
1542
  */
1501
1543
  'gainMode': number;
1502
1544
  /**
1503
- *
1545
+ * Represents the Right Ascension of the target at captureStart when `trackingType` is equal to `SIDEREAL`. When `trackingType` is equal to `TARGET_RATE`, however this is an offset from the RA and is better represented by the `tleOffsetRa` value.
1504
1546
  * @type {number}
1505
1547
  * @memberof V1ObservationInstruction
1506
1548
  */
1507
1549
  'ra': number;
1508
1550
  /**
1509
- *
1551
+ * Represents the Declination of the target at captureStart when `trackingType` is equal to `SIDEREAL`. When `trackingType` is equal to `TARGET_RATE`, however this is an offset from the Dec and is better represented by the `tleOffsetDec` value.
1510
1552
  * @type {number}
1511
1553
  * @memberof V1ObservationInstruction
1512
1554
  */
@@ -1565,6 +1607,12 @@ export interface V1ObservationInstruction {
1565
1607
  * @memberof V1ObservationInstruction
1566
1608
  */
1567
1609
  'tleOffsetRa'?: number;
1610
+ /**
1611
+ *
1612
+ * @type {PlateSolveParameters}
1613
+ * @memberof V1ObservationInstruction
1614
+ */
1615
+ 'plateSolveParameters'?: PlateSolveParameters;
1568
1616
  }
1569
1617
 
1570
1618
 
@@ -1637,6 +1685,50 @@ export interface V1SetupAction {
1637
1685
  */
1638
1686
  'arguments'?: Array<string>;
1639
1687
  }
1688
+ /**
1689
+ * Slew Timing
1690
+ * @export
1691
+ * @interface V1SlewTiming
1692
+ */
1693
+ export interface V1SlewTiming {
1694
+ /**
1695
+ *
1696
+ * @type {Array<V1SlewTimingInterval>}
1697
+ * @memberof V1SlewTiming
1698
+ */
1699
+ 'azimuth': Array<V1SlewTimingInterval>;
1700
+ /**
1701
+ *
1702
+ * @type {Array<V1SlewTimingInterval>}
1703
+ * @memberof V1SlewTiming
1704
+ */
1705
+ 'altitude': Array<V1SlewTimingInterval>;
1706
+ }
1707
+ /**
1708
+ * Slew Timing Interval
1709
+ * @export
1710
+ * @interface V1SlewTimingInterval
1711
+ */
1712
+ export interface V1SlewTimingInterval {
1713
+ /**
1714
+ *
1715
+ * @type {number}
1716
+ * @memberof V1SlewTimingInterval
1717
+ */
1718
+ 'startDegree': number;
1719
+ /**
1720
+ *
1721
+ * @type {number}
1722
+ * @memberof V1SlewTimingInterval
1723
+ */
1724
+ 'endDegree': number;
1725
+ /**
1726
+ *
1727
+ * @type {number}
1728
+ * @memberof V1SlewTimingInterval
1729
+ */
1730
+ 'durationMs': number;
1731
+ }
1640
1732
  /**
1641
1733
  *
1642
1734
  * @export
@@ -1863,79 +1955,6 @@ export interface V1UpdateNodeComponentsRequestOpticalTube {
1863
1955
  }
1864
1956
 
1865
1957
 
1866
- /**
1867
- *
1868
- * @export
1869
- * @interface V1UpdateNodeMetricsRequest
1870
- */
1871
- export interface V1UpdateNodeMetricsRequest {
1872
- /**
1873
- *
1874
- * @type {string}
1875
- * @memberof V1UpdateNodeMetricsRequest
1876
- */
1877
- 'nodeId': string;
1878
- /**
1879
- *
1880
- * @type {number}
1881
- * @memberof V1UpdateNodeMetricsRequest
1882
- */
1883
- 'availableDiskBytes': number;
1884
- /**
1885
- *
1886
- * @type {number}
1887
- * @memberof V1UpdateNodeMetricsRequest
1888
- */
1889
- 'availableMemoryBytes': number;
1890
- /**
1891
- *
1892
- * @type {number}
1893
- * @memberof V1UpdateNodeMetricsRequest
1894
- */
1895
- 'ntpTimeDriftMs': number;
1896
- /**
1897
- *
1898
- * @type {number}
1899
- * @memberof V1UpdateNodeMetricsRequest
1900
- */
1901
- 'minSlewSpeedMs'?: number;
1902
- /**
1903
- *
1904
- * @type {number}
1905
- * @memberof V1UpdateNodeMetricsRequest
1906
- */
1907
- 'maxSlewSpeedMs'?: number;
1908
- /**
1909
- *
1910
- * @type {number}
1911
- * @memberof V1UpdateNodeMetricsRequest
1912
- */
1913
- 'minSlewAndCenterSpeedMs'?: number;
1914
- /**
1915
- *
1916
- * @type {number}
1917
- * @memberof V1UpdateNodeMetricsRequest
1918
- */
1919
- 'maxSlewAndCenterSpeedMs'?: number;
1920
- /**
1921
- *
1922
- * @type {number}
1923
- * @memberof V1UpdateNodeMetricsRequest
1924
- */
1925
- 'minSlewAccuracyArcseconds'?: number;
1926
- /**
1927
- *
1928
- * @type {number}
1929
- * @memberof V1UpdateNodeMetricsRequest
1930
- */
1931
- 'maxSlewAccuracyArcseconds'?: number;
1932
- /**
1933
- *
1934
- * @type {string}
1935
- * @memberof V1UpdateNodeMetricsRequest
1936
- */
1937
- 'measuredAt': string;
1938
- }
1939
1958
  /**
1940
1959
  * Update Node
1941
1960
  * @export
@@ -1996,6 +2015,12 @@ export interface V1UpdateNodeRequest {
1996
2015
  * @memberof V1UpdateNodeRequest
1997
2016
  */
1998
2017
  'elevationMask'?: Array<V1ElevationMaskPoint>;
2018
+ /**
2019
+ *
2020
+ * @type {V1SlewTiming}
2021
+ * @memberof V1UpdateNodeRequest
2022
+ */
2023
+ 'slewTiming'?: V1SlewTiming;
1999
2024
  /**
2000
2025
  *
2001
2026
  * @type {Location}
@@ -2067,117 +2092,6 @@ export interface V2CompleteObservationRequest {
2067
2092
  */
2068
2093
  'expectedImageCount': number;
2069
2094
  }
2070
- /**
2071
- *
2072
- * @export
2073
- * @interface V2GetObservationResponse
2074
- */
2075
- export interface V2GetObservationResponse {
2076
- /**
2077
- *
2078
- * @type {string}
2079
- * @memberof V2GetObservationResponse
2080
- */
2081
- 'id': string;
2082
- /**
2083
- *
2084
- * @type {string}
2085
- * @memberof V2GetObservationResponse
2086
- */
2087
- 'imageSetId': string;
2088
- /**
2089
- *
2090
- * @type {string}
2091
- * @memberof V2GetObservationResponse
2092
- */
2093
- 'targetId': string;
2094
- /**
2095
- *
2096
- * @type {TrackingType}
2097
- * @memberof V2GetObservationResponse
2098
- */
2099
- 'trackingType': TrackingType;
2100
- /**
2101
- *
2102
- * @type {number}
2103
- * @memberof V2GetObservationResponse
2104
- */
2105
- 'exposureDuration': number;
2106
- /**
2107
- *
2108
- * @type {number}
2109
- * @memberof V2GetObservationResponse
2110
- */
2111
- 'binning': number;
2112
- /**
2113
- *
2114
- * @type {number}
2115
- * @memberof V2GetObservationResponse
2116
- */
2117
- 'gain': number;
2118
- /**
2119
- *
2120
- * @type {number}
2121
- * @memberof V2GetObservationResponse
2122
- */
2123
- 'gainMode': number;
2124
- /**
2125
- *
2126
- * @type {number}
2127
- * @memberof V2GetObservationResponse
2128
- */
2129
- 'ra': number;
2130
- /**
2131
- *
2132
- * @type {number}
2133
- * @memberof V2GetObservationResponse
2134
- */
2135
- 'dec': number;
2136
- /**
2137
- *
2138
- * @type {string}
2139
- * @memberof V2GetObservationResponse
2140
- */
2141
- 'captureStart': string;
2142
- /**
2143
- *
2144
- * @type {string}
2145
- * @memberof V2GetObservationResponse
2146
- */
2147
- 'captureEnd': string;
2148
- /**
2149
- *
2150
- * @type {number}
2151
- * @memberof V2GetObservationResponse
2152
- */
2153
- 'preCaptureWait': number;
2154
- /**
2155
- *
2156
- * @type {string}
2157
- * @memberof V2GetObservationResponse
2158
- */
2159
- 'startSlewAt': string;
2160
- /**
2161
- *
2162
- * @type {CameraMode}
2163
- * @memberof V2GetObservationResponse
2164
- */
2165
- 'cameraMode': CameraMode;
2166
- /**
2167
- *
2168
- * @type {string}
2169
- * @memberof V2GetObservationResponse
2170
- */
2171
- 'tleLine1': string;
2172
- /**
2173
- *
2174
- * @type {string}
2175
- * @memberof V2GetObservationResponse
2176
- */
2177
- 'tleLine2': string;
2178
- }
2179
-
2180
-
2181
2095
 
2182
2096
  /**
2183
2097
  * DefaultApi - axios parameter creator
@@ -2185,6 +2099,41 @@ export interface V2GetObservationResponse {
2185
2099
  */
2186
2100
  export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {
2187
2101
  return {
2102
+ /**
2103
+ * Get the various tokens used in client applications
2104
+ * @param {*} [options] Override http request option.
2105
+ * @throws {RequiredError}
2106
+ */
2107
+ getClientToken: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2108
+ const localVarPath = `/v1/client-tokens`;
2109
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2110
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2111
+ let baseOptions;
2112
+ if (configuration) {
2113
+ baseOptions = configuration.baseOptions;
2114
+ }
2115
+
2116
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
2117
+ const localVarHeaderParameter = {} as any;
2118
+ const localVarQueryParameter = {} as any;
2119
+
2120
+ // authentication Roles required
2121
+
2122
+ // authentication BearerToken required
2123
+ // http bearer authentication required
2124
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
2125
+
2126
+
2127
+
2128
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2129
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2130
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2131
+
2132
+ return {
2133
+ url: toPathString(localVarUrlObj),
2134
+ options: localVarRequestOptions,
2135
+ };
2136
+ },
2188
2137
  /**
2189
2138
  * Match camera.
2190
2139
  * @param {string} [model]
@@ -2547,47 +2496,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
2547
2496
  options: localVarRequestOptions,
2548
2497
  };
2549
2498
  },
2550
- /**
2551
- * Create an observation instruction.
2552
- * @param {V1CreateObservationInstructionRequest} v1CreateObservationInstructionRequest
2553
- * @param {*} [options] Override http request option.
2554
- * @throws {RequiredError}
2555
- */
2556
- v1CreateObservationInstruction: async (v1CreateObservationInstructionRequest: V1CreateObservationInstructionRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2557
- // verify required parameter 'v1CreateObservationInstructionRequest' is not null or undefined
2558
- assertParamExists('v1CreateObservationInstruction', 'v1CreateObservationInstructionRequest', v1CreateObservationInstructionRequest)
2559
- const localVarPath = `/v1/observation-instruction`;
2560
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
2561
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2562
- let baseOptions;
2563
- if (configuration) {
2564
- baseOptions = configuration.baseOptions;
2565
- }
2566
-
2567
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2568
- const localVarHeaderParameter = {} as any;
2569
- const localVarQueryParameter = {} as any;
2570
-
2571
- // authentication Roles required
2572
-
2573
- // authentication BearerToken required
2574
- // http bearer authentication required
2575
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
2576
-
2577
-
2578
-
2579
- localVarHeaderParameter['Content-Type'] = 'application/json';
2580
-
2581
- setSearchParams(localVarUrlObj, localVarQueryParameter);
2582
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2583
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2584
- localVarRequestOptions.data = serializeDataIfNeeded(v1CreateObservationInstructionRequest, localVarRequestOptions, configuration)
2585
-
2586
- return {
2587
- url: toPathString(localVarUrlObj),
2588
- options: localVarRequestOptions,
2589
- };
2590
- },
2591
2499
  /**
2592
2500
  * Create an optical tube.
2593
2501
  * @param {V1CreateOpticalTubeRequest} v1CreateOpticalTubeRequest
@@ -3376,47 +3284,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3376
3284
  options: localVarRequestOptions,
3377
3285
  };
3378
3286
  },
3379
- /**
3380
- * Update node metrics.
3381
- * @param {V1UpdateNodeMetricsRequest} v1UpdateNodeMetricsRequest
3382
- * @param {*} [options] Override http request option.
3383
- * @throws {RequiredError}
3384
- */
3385
- v1UpdateNodeMetrics: async (v1UpdateNodeMetricsRequest: V1UpdateNodeMetricsRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3386
- // verify required parameter 'v1UpdateNodeMetricsRequest' is not null or undefined
3387
- assertParamExists('v1UpdateNodeMetrics', 'v1UpdateNodeMetricsRequest', v1UpdateNodeMetricsRequest)
3388
- const localVarPath = `/v1/node-metrics`;
3389
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
3390
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3391
- let baseOptions;
3392
- if (configuration) {
3393
- baseOptions = configuration.baseOptions;
3394
- }
3395
-
3396
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
3397
- const localVarHeaderParameter = {} as any;
3398
- const localVarQueryParameter = {} as any;
3399
-
3400
- // authentication Roles required
3401
-
3402
- // authentication BearerToken required
3403
- // http bearer authentication required
3404
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
3405
-
3406
-
3407
-
3408
- localVarHeaderParameter['Content-Type'] = 'application/json';
3409
-
3410
- setSearchParams(localVarUrlObj, localVarQueryParameter);
3411
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3412
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3413
- localVarRequestOptions.data = serializeDataIfNeeded(v1UpdateNodeMetricsRequest, localVarRequestOptions, configuration)
3414
-
3415
- return {
3416
- url: toPathString(localVarUrlObj),
3417
- options: localVarRequestOptions,
3418
- };
3419
- },
3420
3287
  /**
3421
3288
  * Complete an observation utilizing the async pipeline.
3422
3289
  * @param {V2CompleteObservationRequest} v2CompleteObservationRequest
@@ -3453,48 +3320,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3453
3320
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3454
3321
  localVarRequestOptions.data = serializeDataIfNeeded(v2CompleteObservationRequest, localVarRequestOptions, configuration)
3455
3322
 
3456
- return {
3457
- url: toPathString(localVarUrlObj),
3458
- options: localVarRequestOptions,
3459
- };
3460
- },
3461
- /**
3462
- * Get next observation.
3463
- * @param {string} nodeId
3464
- * @param {*} [options] Override http request option.
3465
- * @throws {RequiredError}
3466
- */
3467
- v2GetObservation: async (nodeId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3468
- // verify required parameter 'nodeId' is not null or undefined
3469
- assertParamExists('v2GetObservation', 'nodeId', nodeId)
3470
- const localVarPath = `/v2/observation`;
3471
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
3472
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3473
- let baseOptions;
3474
- if (configuration) {
3475
- baseOptions = configuration.baseOptions;
3476
- }
3477
-
3478
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3479
- const localVarHeaderParameter = {} as any;
3480
- const localVarQueryParameter = {} as any;
3481
-
3482
- // authentication Roles required
3483
-
3484
- // authentication BearerToken required
3485
- // http bearer authentication required
3486
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
3487
-
3488
- if (nodeId !== undefined) {
3489
- localVarQueryParameter['nodeId'] = nodeId;
3490
- }
3491
-
3492
-
3493
-
3494
- setSearchParams(localVarUrlObj, localVarQueryParameter);
3495
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3496
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3497
-
3498
3323
  return {
3499
3324
  url: toPathString(localVarUrlObj),
3500
3325
  options: localVarRequestOptions,
@@ -3510,6 +3335,15 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3510
3335
  export const DefaultApiFp = function(configuration?: Configuration) {
3511
3336
  const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
3512
3337
  return {
3338
+ /**
3339
+ * Get the various tokens used in client applications
3340
+ * @param {*} [options] Override http request option.
3341
+ * @throws {RequiredError}
3342
+ */
3343
+ async getClientToken(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1ClientToken>> {
3344
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClientToken(options);
3345
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3346
+ },
3513
3347
  /**
3514
3348
  * Match camera.
3515
3349
  * @param {string} [model]
@@ -3597,16 +3431,6 @@ export const DefaultApiFp = function(configuration?: Configuration) {
3597
3431
  const localVarAxiosArgs = await localVarAxiosParamCreator.v1CreateNodeDiagnostics(v1CreateNodeDiagnosticsRequest, options);
3598
3432
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3599
3433
  },
3600
- /**
3601
- * Create an observation instruction.
3602
- * @param {V1CreateObservationInstructionRequest} v1CreateObservationInstructionRequest
3603
- * @param {*} [options] Override http request option.
3604
- * @throws {RequiredError}
3605
- */
3606
- async v1CreateObservationInstruction(v1CreateObservationInstructionRequest: V1CreateObservationInstructionRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuccessfulCreate>> {
3607
- const localVarAxiosArgs = await localVarAxiosParamCreator.v1CreateObservationInstruction(v1CreateObservationInstructionRequest, options);
3608
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3609
- },
3610
3434
  /**
3611
3435
  * Create an optical tube.
3612
3436
  * @param {V1CreateOpticalTubeRequest} v1CreateOpticalTubeRequest
@@ -3798,16 +3622,6 @@ export const DefaultApiFp = function(configuration?: Configuration) {
3798
3622
  const localVarAxiosArgs = await localVarAxiosParamCreator.v1UpdateNodeComponents(v1UpdateNodeComponentsRequest, options);
3799
3623
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3800
3624
  },
3801
- /**
3802
- * Update node metrics.
3803
- * @param {V1UpdateNodeMetricsRequest} v1UpdateNodeMetricsRequest
3804
- * @param {*} [options] Override http request option.
3805
- * @throws {RequiredError}
3806
- */
3807
- async v1UpdateNodeMetrics(v1UpdateNodeMetricsRequest: V1UpdateNodeMetricsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptySuccess>> {
3808
- const localVarAxiosArgs = await localVarAxiosParamCreator.v1UpdateNodeMetrics(v1UpdateNodeMetricsRequest, options);
3809
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3810
- },
3811
3625
  /**
3812
3626
  * Complete an observation utilizing the async pipeline.
3813
3627
  * @param {V2CompleteObservationRequest} v2CompleteObservationRequest
@@ -3818,16 +3632,6 @@ export const DefaultApiFp = function(configuration?: Configuration) {
3818
3632
  const localVarAxiosArgs = await localVarAxiosParamCreator.v2CompleteObservation(v2CompleteObservationRequest, options);
3819
3633
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3820
3634
  },
3821
- /**
3822
- * Get next observation.
3823
- * @param {string} nodeId
3824
- * @param {*} [options] Override http request option.
3825
- * @throws {RequiredError}
3826
- */
3827
- async v2GetObservation(nodeId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V2GetObservationResponse>> {
3828
- const localVarAxiosArgs = await localVarAxiosParamCreator.v2GetObservation(nodeId, options);
3829
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3830
- },
3831
3635
  }
3832
3636
  };
3833
3637
 
@@ -3838,6 +3642,14 @@ export const DefaultApiFp = function(configuration?: Configuration) {
3838
3642
  export const DefaultApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
3839
3643
  const localVarFp = DefaultApiFp(configuration)
3840
3644
  return {
3645
+ /**
3646
+ * Get the various tokens used in client applications
3647
+ * @param {*} [options] Override http request option.
3648
+ * @throws {RequiredError}
3649
+ */
3650
+ getClientToken(options?: AxiosRequestConfig): AxiosPromise<V1ClientToken> {
3651
+ return localVarFp.getClientToken(options).then((request) => request(axios, basePath));
3652
+ },
3841
3653
  /**
3842
3654
  * Match camera.
3843
3655
  * @param {DefaultApiV1CameraMatchRequest} requestParameters Request parameters.
@@ -3910,15 +3722,6 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
3910
3722
  v1CreateNodeDiagnostics(requestParameters: DefaultApiV1CreateNodeDiagnosticsRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess> {
3911
3723
  return localVarFp.v1CreateNodeDiagnostics(requestParameters.v1CreateNodeDiagnosticsRequest, options).then((request) => request(axios, basePath));
3912
3724
  },
3913
- /**
3914
- * Create an observation instruction.
3915
- * @param {DefaultApiV1CreateObservationInstructionRequest} requestParameters Request parameters.
3916
- * @param {*} [options] Override http request option.
3917
- * @throws {RequiredError}
3918
- */
3919
- v1CreateObservationInstruction(requestParameters: DefaultApiV1CreateObservationInstructionRequest, options?: AxiosRequestConfig): AxiosPromise<SuccessfulCreate> {
3920
- return localVarFp.v1CreateObservationInstruction(requestParameters.v1CreateObservationInstructionRequest, options).then((request) => request(axios, basePath));
3921
- },
3922
3725
  /**
3923
3726
  * Create an optical tube.
3924
3727
  * @param {DefaultApiV1CreateOpticalTubeRequest} requestParameters Request parameters.
@@ -4088,15 +3891,6 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
4088
3891
  v1UpdateNodeComponents(requestParameters: DefaultApiV1UpdateNodeComponentsRequest, options?: AxiosRequestConfig): AxiosPromise<V1Node> {
4089
3892
  return localVarFp.v1UpdateNodeComponents(requestParameters.v1UpdateNodeComponentsRequest, options).then((request) => request(axios, basePath));
4090
3893
  },
4091
- /**
4092
- * Update node metrics.
4093
- * @param {DefaultApiV1UpdateNodeMetricsRequest} requestParameters Request parameters.
4094
- * @param {*} [options] Override http request option.
4095
- * @throws {RequiredError}
4096
- */
4097
- v1UpdateNodeMetrics(requestParameters: DefaultApiV1UpdateNodeMetricsRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess> {
4098
- return localVarFp.v1UpdateNodeMetrics(requestParameters.v1UpdateNodeMetricsRequest, options).then((request) => request(axios, basePath));
4099
- },
4100
3894
  /**
4101
3895
  * Complete an observation utilizing the async pipeline.
4102
3896
  * @param {DefaultApiV2CompleteObservationRequest} requestParameters Request parameters.
@@ -4106,15 +3900,6 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
4106
3900
  v2CompleteObservation(requestParameters: DefaultApiV2CompleteObservationRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess> {
4107
3901
  return localVarFp.v2CompleteObservation(requestParameters.v2CompleteObservationRequest, options).then((request) => request(axios, basePath));
4108
3902
  },
4109
- /**
4110
- * Get next observation.
4111
- * @param {DefaultApiV2GetObservationRequest} requestParameters Request parameters.
4112
- * @param {*} [options] Override http request option.
4113
- * @throws {RequiredError}
4114
- */
4115
- v2GetObservation(requestParameters: DefaultApiV2GetObservationRequest, options?: AxiosRequestConfig): AxiosPromise<V2GetObservationResponse> {
4116
- return localVarFp.v2GetObservation(requestParameters.nodeId, options).then((request) => request(axios, basePath));
4117
- },
4118
3903
  };
4119
3904
  };
4120
3905
 
@@ -4279,20 +4064,6 @@ export interface DefaultApiV1CreateNodeDiagnosticsRequest {
4279
4064
  readonly v1CreateNodeDiagnosticsRequest: V1CreateNodeDiagnosticsRequest
4280
4065
  }
4281
4066
 
4282
- /**
4283
- * Request parameters for v1CreateObservationInstruction operation in DefaultApi.
4284
- * @export
4285
- * @interface DefaultApiV1CreateObservationInstructionRequest
4286
- */
4287
- export interface DefaultApiV1CreateObservationInstructionRequest {
4288
- /**
4289
- *
4290
- * @type {V1CreateObservationInstructionRequest}
4291
- * @memberof DefaultApiV1CreateObservationInstruction
4292
- */
4293
- readonly v1CreateObservationInstructionRequest: V1CreateObservationInstructionRequest
4294
- }
4295
-
4296
4067
  /**
4297
4068
  * Request parameters for v1CreateOpticalTube operation in DefaultApi.
4298
4069
  * @export
@@ -4552,20 +4323,6 @@ export interface DefaultApiV1UpdateNodeComponentsRequest {
4552
4323
  readonly v1UpdateNodeComponentsRequest: V1UpdateNodeComponentsRequest
4553
4324
  }
4554
4325
 
4555
- /**
4556
- * Request parameters for v1UpdateNodeMetrics operation in DefaultApi.
4557
- * @export
4558
- * @interface DefaultApiV1UpdateNodeMetricsRequest
4559
- */
4560
- export interface DefaultApiV1UpdateNodeMetricsRequest {
4561
- /**
4562
- *
4563
- * @type {V1UpdateNodeMetricsRequest}
4564
- * @memberof DefaultApiV1UpdateNodeMetrics
4565
- */
4566
- readonly v1UpdateNodeMetricsRequest: V1UpdateNodeMetricsRequest
4567
- }
4568
-
4569
4326
  /**
4570
4327
  * Request parameters for v2CompleteObservation operation in DefaultApi.
4571
4328
  * @export
@@ -4580,20 +4337,6 @@ export interface DefaultApiV2CompleteObservationRequest {
4580
4337
  readonly v2CompleteObservationRequest: V2CompleteObservationRequest
4581
4338
  }
4582
4339
 
4583
- /**
4584
- * Request parameters for v2GetObservation operation in DefaultApi.
4585
- * @export
4586
- * @interface DefaultApiV2GetObservationRequest
4587
- */
4588
- export interface DefaultApiV2GetObservationRequest {
4589
- /**
4590
- *
4591
- * @type {string}
4592
- * @memberof DefaultApiV2GetObservation
4593
- */
4594
- readonly nodeId: string
4595
- }
4596
-
4597
4340
  /**
4598
4341
  * DefaultApi - object-oriented interface
4599
4342
  * @export
@@ -4601,6 +4344,16 @@ export interface DefaultApiV2GetObservationRequest {
4601
4344
  * @extends {BaseAPI}
4602
4345
  */
4603
4346
  export class DefaultApi extends BaseAPI {
4347
+ /**
4348
+ * Get the various tokens used in client applications
4349
+ * @param {*} [options] Override http request option.
4350
+ * @throws {RequiredError}
4351
+ * @memberof DefaultApi
4352
+ */
4353
+ public getClientToken(options?: AxiosRequestConfig) {
4354
+ return DefaultApiFp(this.configuration).getClientToken(options).then((request) => request(this.axios, this.basePath));
4355
+ }
4356
+
4604
4357
  /**
4605
4358
  * Match camera.
4606
4359
  * @param {DefaultApiV1CameraMatchRequest} requestParameters Request parameters.
@@ -4689,17 +4442,6 @@ export class DefaultApi extends BaseAPI {
4689
4442
  return DefaultApiFp(this.configuration).v1CreateNodeDiagnostics(requestParameters.v1CreateNodeDiagnosticsRequest, options).then((request) => request(this.axios, this.basePath));
4690
4443
  }
4691
4444
 
4692
- /**
4693
- * Create an observation instruction.
4694
- * @param {DefaultApiV1CreateObservationInstructionRequest} requestParameters Request parameters.
4695
- * @param {*} [options] Override http request option.
4696
- * @throws {RequiredError}
4697
- * @memberof DefaultApi
4698
- */
4699
- public v1CreateObservationInstruction(requestParameters: DefaultApiV1CreateObservationInstructionRequest, options?: AxiosRequestConfig) {
4700
- return DefaultApiFp(this.configuration).v1CreateObservationInstruction(requestParameters.v1CreateObservationInstructionRequest, options).then((request) => request(this.axios, this.basePath));
4701
- }
4702
-
4703
4445
  /**
4704
4446
  * Create an optical tube.
4705
4447
  * @param {DefaultApiV1CreateOpticalTubeRequest} requestParameters Request parameters.
@@ -4907,17 +4649,6 @@ export class DefaultApi extends BaseAPI {
4907
4649
  return DefaultApiFp(this.configuration).v1UpdateNodeComponents(requestParameters.v1UpdateNodeComponentsRequest, options).then((request) => request(this.axios, this.basePath));
4908
4650
  }
4909
4651
 
4910
- /**
4911
- * Update node metrics.
4912
- * @param {DefaultApiV1UpdateNodeMetricsRequest} requestParameters Request parameters.
4913
- * @param {*} [options] Override http request option.
4914
- * @throws {RequiredError}
4915
- * @memberof DefaultApi
4916
- */
4917
- public v1UpdateNodeMetrics(requestParameters: DefaultApiV1UpdateNodeMetricsRequest, options?: AxiosRequestConfig) {
4918
- return DefaultApiFp(this.configuration).v1UpdateNodeMetrics(requestParameters.v1UpdateNodeMetricsRequest, options).then((request) => request(this.axios, this.basePath));
4919
- }
4920
-
4921
4652
  /**
4922
4653
  * Complete an observation utilizing the async pipeline.
4923
4654
  * @param {DefaultApiV2CompleteObservationRequest} requestParameters Request parameters.
@@ -4928,17 +4659,6 @@ export class DefaultApi extends BaseAPI {
4928
4659
  public v2CompleteObservation(requestParameters: DefaultApiV2CompleteObservationRequest, options?: AxiosRequestConfig) {
4929
4660
  return DefaultApiFp(this.configuration).v2CompleteObservation(requestParameters.v2CompleteObservationRequest, options).then((request) => request(this.axios, this.basePath));
4930
4661
  }
4931
-
4932
- /**
4933
- * Get next observation.
4934
- * @param {DefaultApiV2GetObservationRequest} requestParameters Request parameters.
4935
- * @param {*} [options] Override http request option.
4936
- * @throws {RequiredError}
4937
- * @memberof DefaultApi
4938
- */
4939
- public v2GetObservation(requestParameters: DefaultApiV2GetObservationRequest, options?: AxiosRequestConfig) {
4940
- return DefaultApiFp(this.configuration).v2GetObservation(requestParameters.nodeId, options).then((request) => request(this.axios, this.basePath));
4941
- }
4942
4662
  }
4943
4663
 
4944
4664