@ourskyai/platform-api 1.3.2816 → 1.3.3181

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.3181
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}
@@ -1500,13 +1541,13 @@ export interface V1ObservationInstruction {
1500
1541
  */
1501
1542
  'gainMode': number;
1502
1543
  /**
1503
- *
1544
+ * 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
1545
  * @type {number}
1505
1546
  * @memberof V1ObservationInstruction
1506
1547
  */
1507
1548
  'ra': number;
1508
1549
  /**
1509
- *
1550
+ * 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
1551
  * @type {number}
1511
1552
  * @memberof V1ObservationInstruction
1512
1553
  */
@@ -1565,6 +1606,12 @@ export interface V1ObservationInstruction {
1565
1606
  * @memberof V1ObservationInstruction
1566
1607
  */
1567
1608
  'tleOffsetRa'?: number;
1609
+ /**
1610
+ *
1611
+ * @type {PlateSolveParameters}
1612
+ * @memberof V1ObservationInstruction
1613
+ */
1614
+ 'plateSolveParameters'?: PlateSolveParameters;
1568
1615
  }
1569
1616
 
1570
1617
 
@@ -1637,6 +1684,50 @@ export interface V1SetupAction {
1637
1684
  */
1638
1685
  'arguments'?: Array<string>;
1639
1686
  }
1687
+ /**
1688
+ * Slew Timing
1689
+ * @export
1690
+ * @interface V1SlewTiming
1691
+ */
1692
+ export interface V1SlewTiming {
1693
+ /**
1694
+ *
1695
+ * @type {Array<V1SlewTimingInterval>}
1696
+ * @memberof V1SlewTiming
1697
+ */
1698
+ 'azimuth': Array<V1SlewTimingInterval>;
1699
+ /**
1700
+ *
1701
+ * @type {Array<V1SlewTimingInterval>}
1702
+ * @memberof V1SlewTiming
1703
+ */
1704
+ 'altitude': Array<V1SlewTimingInterval>;
1705
+ }
1706
+ /**
1707
+ * Slew Timing Interval
1708
+ * @export
1709
+ * @interface V1SlewTimingInterval
1710
+ */
1711
+ export interface V1SlewTimingInterval {
1712
+ /**
1713
+ *
1714
+ * @type {number}
1715
+ * @memberof V1SlewTimingInterval
1716
+ */
1717
+ 'startDegree': number;
1718
+ /**
1719
+ *
1720
+ * @type {number}
1721
+ * @memberof V1SlewTimingInterval
1722
+ */
1723
+ 'endDegree': number;
1724
+ /**
1725
+ *
1726
+ * @type {number}
1727
+ * @memberof V1SlewTimingInterval
1728
+ */
1729
+ 'durationMs': number;
1730
+ }
1640
1731
  /**
1641
1732
  *
1642
1733
  * @export
@@ -1863,79 +1954,6 @@ export interface V1UpdateNodeComponentsRequestOpticalTube {
1863
1954
  }
1864
1955
 
1865
1956
 
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
1957
  /**
1940
1958
  * Update Node
1941
1959
  * @export
@@ -1996,6 +2014,12 @@ export interface V1UpdateNodeRequest {
1996
2014
  * @memberof V1UpdateNodeRequest
1997
2015
  */
1998
2016
  'elevationMask'?: Array<V1ElevationMaskPoint>;
2017
+ /**
2018
+ *
2019
+ * @type {V1SlewTiming}
2020
+ * @memberof V1UpdateNodeRequest
2021
+ */
2022
+ 'slewTiming'?: V1SlewTiming;
1999
2023
  /**
2000
2024
  *
2001
2025
  * @type {Location}
@@ -2067,117 +2091,6 @@ export interface V2CompleteObservationRequest {
2067
2091
  */
2068
2092
  'expectedImageCount': number;
2069
2093
  }
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
2094
 
2182
2095
  /**
2183
2096
  * DefaultApi - axios parameter creator
@@ -2185,6 +2098,41 @@ export interface V2GetObservationResponse {
2185
2098
  */
2186
2099
  export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {
2187
2100
  return {
2101
+ /**
2102
+ * Get the various tokens used in client applications
2103
+ * @param {*} [options] Override http request option.
2104
+ * @throws {RequiredError}
2105
+ */
2106
+ getClientToken: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2107
+ const localVarPath = `/v1/client-tokens`;
2108
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2109
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2110
+ let baseOptions;
2111
+ if (configuration) {
2112
+ baseOptions = configuration.baseOptions;
2113
+ }
2114
+
2115
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
2116
+ const localVarHeaderParameter = {} as any;
2117
+ const localVarQueryParameter = {} as any;
2118
+
2119
+ // authentication Roles required
2120
+
2121
+ // authentication BearerToken required
2122
+ // http bearer authentication required
2123
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
2124
+
2125
+
2126
+
2127
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2128
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2129
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2130
+
2131
+ return {
2132
+ url: toPathString(localVarUrlObj),
2133
+ options: localVarRequestOptions,
2134
+ };
2135
+ },
2188
2136
  /**
2189
2137
  * Match camera.
2190
2138
  * @param {string} [model]
@@ -2547,47 +2495,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
2547
2495
  options: localVarRequestOptions,
2548
2496
  };
2549
2497
  },
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
2498
  /**
2592
2499
  * Create an optical tube.
2593
2500
  * @param {V1CreateOpticalTubeRequest} v1CreateOpticalTubeRequest
@@ -3376,47 +3283,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3376
3283
  options: localVarRequestOptions,
3377
3284
  };
3378
3285
  },
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
3286
  /**
3421
3287
  * Complete an observation utilizing the async pipeline.
3422
3288
  * @param {V2CompleteObservationRequest} v2CompleteObservationRequest
@@ -3453,48 +3319,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3453
3319
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3454
3320
  localVarRequestOptions.data = serializeDataIfNeeded(v2CompleteObservationRequest, localVarRequestOptions, configuration)
3455
3321
 
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
3322
  return {
3499
3323
  url: toPathString(localVarUrlObj),
3500
3324
  options: localVarRequestOptions,
@@ -3510,6 +3334,15 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3510
3334
  export const DefaultApiFp = function(configuration?: Configuration) {
3511
3335
  const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
3512
3336
  return {
3337
+ /**
3338
+ * Get the various tokens used in client applications
3339
+ * @param {*} [options] Override http request option.
3340
+ * @throws {RequiredError}
3341
+ */
3342
+ async getClientToken(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1ClientToken>> {
3343
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClientToken(options);
3344
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3345
+ },
3513
3346
  /**
3514
3347
  * Match camera.
3515
3348
  * @param {string} [model]
@@ -3597,16 +3430,6 @@ export const DefaultApiFp = function(configuration?: Configuration) {
3597
3430
  const localVarAxiosArgs = await localVarAxiosParamCreator.v1CreateNodeDiagnostics(v1CreateNodeDiagnosticsRequest, options);
3598
3431
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3599
3432
  },
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
3433
  /**
3611
3434
  * Create an optical tube.
3612
3435
  * @param {V1CreateOpticalTubeRequest} v1CreateOpticalTubeRequest
@@ -3798,16 +3621,6 @@ export const DefaultApiFp = function(configuration?: Configuration) {
3798
3621
  const localVarAxiosArgs = await localVarAxiosParamCreator.v1UpdateNodeComponents(v1UpdateNodeComponentsRequest, options);
3799
3622
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3800
3623
  },
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
3624
  /**
3812
3625
  * Complete an observation utilizing the async pipeline.
3813
3626
  * @param {V2CompleteObservationRequest} v2CompleteObservationRequest
@@ -3818,16 +3631,6 @@ export const DefaultApiFp = function(configuration?: Configuration) {
3818
3631
  const localVarAxiosArgs = await localVarAxiosParamCreator.v2CompleteObservation(v2CompleteObservationRequest, options);
3819
3632
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3820
3633
  },
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
3634
  }
3832
3635
  };
3833
3636
 
@@ -3838,6 +3641,14 @@ export const DefaultApiFp = function(configuration?: Configuration) {
3838
3641
  export const DefaultApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
3839
3642
  const localVarFp = DefaultApiFp(configuration)
3840
3643
  return {
3644
+ /**
3645
+ * Get the various tokens used in client applications
3646
+ * @param {*} [options] Override http request option.
3647
+ * @throws {RequiredError}
3648
+ */
3649
+ getClientToken(options?: AxiosRequestConfig): AxiosPromise<V1ClientToken> {
3650
+ return localVarFp.getClientToken(options).then((request) => request(axios, basePath));
3651
+ },
3841
3652
  /**
3842
3653
  * Match camera.
3843
3654
  * @param {DefaultApiV1CameraMatchRequest} requestParameters Request parameters.
@@ -3910,15 +3721,6 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
3910
3721
  v1CreateNodeDiagnostics(requestParameters: DefaultApiV1CreateNodeDiagnosticsRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess> {
3911
3722
  return localVarFp.v1CreateNodeDiagnostics(requestParameters.v1CreateNodeDiagnosticsRequest, options).then((request) => request(axios, basePath));
3912
3723
  },
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
3724
  /**
3923
3725
  * Create an optical tube.
3924
3726
  * @param {DefaultApiV1CreateOpticalTubeRequest} requestParameters Request parameters.
@@ -4088,15 +3890,6 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
4088
3890
  v1UpdateNodeComponents(requestParameters: DefaultApiV1UpdateNodeComponentsRequest, options?: AxiosRequestConfig): AxiosPromise<V1Node> {
4089
3891
  return localVarFp.v1UpdateNodeComponents(requestParameters.v1UpdateNodeComponentsRequest, options).then((request) => request(axios, basePath));
4090
3892
  },
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
3893
  /**
4101
3894
  * Complete an observation utilizing the async pipeline.
4102
3895
  * @param {DefaultApiV2CompleteObservationRequest} requestParameters Request parameters.
@@ -4106,15 +3899,6 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
4106
3899
  v2CompleteObservation(requestParameters: DefaultApiV2CompleteObservationRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess> {
4107
3900
  return localVarFp.v2CompleteObservation(requestParameters.v2CompleteObservationRequest, options).then((request) => request(axios, basePath));
4108
3901
  },
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
3902
  };
4119
3903
  };
4120
3904
 
@@ -4279,20 +4063,6 @@ export interface DefaultApiV1CreateNodeDiagnosticsRequest {
4279
4063
  readonly v1CreateNodeDiagnosticsRequest: V1CreateNodeDiagnosticsRequest
4280
4064
  }
4281
4065
 
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
4066
  /**
4297
4067
  * Request parameters for v1CreateOpticalTube operation in DefaultApi.
4298
4068
  * @export
@@ -4552,20 +4322,6 @@ export interface DefaultApiV1UpdateNodeComponentsRequest {
4552
4322
  readonly v1UpdateNodeComponentsRequest: V1UpdateNodeComponentsRequest
4553
4323
  }
4554
4324
 
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
4325
  /**
4570
4326
  * Request parameters for v2CompleteObservation operation in DefaultApi.
4571
4327
  * @export
@@ -4580,20 +4336,6 @@ export interface DefaultApiV2CompleteObservationRequest {
4580
4336
  readonly v2CompleteObservationRequest: V2CompleteObservationRequest
4581
4337
  }
4582
4338
 
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
4339
  /**
4598
4340
  * DefaultApi - object-oriented interface
4599
4341
  * @export
@@ -4601,6 +4343,16 @@ export interface DefaultApiV2GetObservationRequest {
4601
4343
  * @extends {BaseAPI}
4602
4344
  */
4603
4345
  export class DefaultApi extends BaseAPI {
4346
+ /**
4347
+ * Get the various tokens used in client applications
4348
+ * @param {*} [options] Override http request option.
4349
+ * @throws {RequiredError}
4350
+ * @memberof DefaultApi
4351
+ */
4352
+ public getClientToken(options?: AxiosRequestConfig) {
4353
+ return DefaultApiFp(this.configuration).getClientToken(options).then((request) => request(this.axios, this.basePath));
4354
+ }
4355
+
4604
4356
  /**
4605
4357
  * Match camera.
4606
4358
  * @param {DefaultApiV1CameraMatchRequest} requestParameters Request parameters.
@@ -4689,17 +4441,6 @@ export class DefaultApi extends BaseAPI {
4689
4441
  return DefaultApiFp(this.configuration).v1CreateNodeDiagnostics(requestParameters.v1CreateNodeDiagnosticsRequest, options).then((request) => request(this.axios, this.basePath));
4690
4442
  }
4691
4443
 
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
4444
  /**
4704
4445
  * Create an optical tube.
4705
4446
  * @param {DefaultApiV1CreateOpticalTubeRequest} requestParameters Request parameters.
@@ -4907,17 +4648,6 @@ export class DefaultApi extends BaseAPI {
4907
4648
  return DefaultApiFp(this.configuration).v1UpdateNodeComponents(requestParameters.v1UpdateNodeComponentsRequest, options).then((request) => request(this.axios, this.basePath));
4908
4649
  }
4909
4650
 
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
4651
  /**
4922
4652
  * Complete an observation utilizing the async pipeline.
4923
4653
  * @param {DefaultApiV2CompleteObservationRequest} requestParameters Request parameters.
@@ -4928,17 +4658,6 @@ export class DefaultApi extends BaseAPI {
4928
4658
  public v2CompleteObservation(requestParameters: DefaultApiV2CompleteObservationRequest, options?: AxiosRequestConfig) {
4929
4659
  return DefaultApiFp(this.configuration).v2CompleteObservation(requestParameters.v2CompleteObservationRequest, options).then((request) => request(this.axios, this.basePath));
4930
4660
  }
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
4661
  }
4943
4662
 
4944
4663