@ourskyai/platform-api 1.3.4784 → 1.3.4796
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/README.md +2 -2
- package/api.ts +164 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +114 -1
- package/dist/api.js +74 -2
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +114 -1
- package/dist/esm/api.js +73 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @ourskyai/platform-api@1.3.
|
|
1
|
+
## @ourskyai/platform-api@1.3.4796
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @ourskyai/platform-api@1.3.
|
|
39
|
+
npm install @ourskyai/platform-api@1.3.4796 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
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.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.4796
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -675,6 +675,58 @@ export interface V1CreateNodeDiagnosticsRequest {
|
|
|
675
675
|
*/
|
|
676
676
|
'diagnostics': Array<V1CreateNodeDiagnostic>;
|
|
677
677
|
}
|
|
678
|
+
/**
|
|
679
|
+
*
|
|
680
|
+
* @export
|
|
681
|
+
* @interface V1CreateNodeEvent
|
|
682
|
+
*/
|
|
683
|
+
export interface V1CreateNodeEvent {
|
|
684
|
+
/**
|
|
685
|
+
*
|
|
686
|
+
* @type {V1NodeEventType}
|
|
687
|
+
* @memberof V1CreateNodeEvent
|
|
688
|
+
*/
|
|
689
|
+
'type': V1NodeEventType;
|
|
690
|
+
/**
|
|
691
|
+
*
|
|
692
|
+
* @type {V1CreateNodeEventBody}
|
|
693
|
+
* @memberof V1CreateNodeEvent
|
|
694
|
+
*/
|
|
695
|
+
'body': V1CreateNodeEventBody;
|
|
696
|
+
/**
|
|
697
|
+
*
|
|
698
|
+
* @type {string}
|
|
699
|
+
* @memberof V1CreateNodeEvent
|
|
700
|
+
*/
|
|
701
|
+
'generatedAt': string;
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
|
|
705
|
+
/**
|
|
706
|
+
* @type V1CreateNodeEventBody
|
|
707
|
+
* @export
|
|
708
|
+
*/
|
|
709
|
+
export type V1CreateNodeEventBody = V1SafetyStatusUpdated;
|
|
710
|
+
|
|
711
|
+
/**
|
|
712
|
+
*
|
|
713
|
+
* @export
|
|
714
|
+
* @interface V1CreateNodeEventsRequest
|
|
715
|
+
*/
|
|
716
|
+
export interface V1CreateNodeEventsRequest {
|
|
717
|
+
/**
|
|
718
|
+
*
|
|
719
|
+
* @type {string}
|
|
720
|
+
* @memberof V1CreateNodeEventsRequest
|
|
721
|
+
*/
|
|
722
|
+
'nodeId': string;
|
|
723
|
+
/**
|
|
724
|
+
*
|
|
725
|
+
* @type {Array<V1CreateNodeEvent>}
|
|
726
|
+
* @memberof V1CreateNodeEventsRequest
|
|
727
|
+
*/
|
|
728
|
+
'events': Array<V1CreateNodeEvent>;
|
|
729
|
+
}
|
|
678
730
|
/**
|
|
679
731
|
* Create Node
|
|
680
732
|
* @export
|
|
@@ -1791,6 +1843,19 @@ export const V1NodeDiagnosticType = {
|
|
|
1791
1843
|
export type V1NodeDiagnosticType = typeof V1NodeDiagnosticType[keyof typeof V1NodeDiagnosticType];
|
|
1792
1844
|
|
|
1793
1845
|
|
|
1846
|
+
/**
|
|
1847
|
+
*
|
|
1848
|
+
* @export
|
|
1849
|
+
* @enum {string}
|
|
1850
|
+
*/
|
|
1851
|
+
|
|
1852
|
+
export const V1NodeEventType = {
|
|
1853
|
+
V1_SAFETY_STATUS_UPDATED: 'V1_SAFETY_STATUS_UPDATED'
|
|
1854
|
+
} as const;
|
|
1855
|
+
|
|
1856
|
+
export type V1NodeEventType = typeof V1NodeEventType[keyof typeof V1NodeEventType];
|
|
1857
|
+
|
|
1858
|
+
|
|
1794
1859
|
/**
|
|
1795
1860
|
* Node with location
|
|
1796
1861
|
* @export
|
|
@@ -2283,6 +2348,19 @@ export interface V1Release {
|
|
|
2283
2348
|
}
|
|
2284
2349
|
|
|
2285
2350
|
|
|
2351
|
+
/**
|
|
2352
|
+
*
|
|
2353
|
+
* @export
|
|
2354
|
+
* @interface V1SafetyStatusUpdated
|
|
2355
|
+
*/
|
|
2356
|
+
export interface V1SafetyStatusUpdated {
|
|
2357
|
+
/**
|
|
2358
|
+
*
|
|
2359
|
+
* @type {boolean}
|
|
2360
|
+
* @memberof V1SafetyStatusUpdated
|
|
2361
|
+
*/
|
|
2362
|
+
'isSafe': boolean;
|
|
2363
|
+
}
|
|
2286
2364
|
/**
|
|
2287
2365
|
* Setup Action
|
|
2288
2366
|
* @export
|
|
@@ -3201,6 +3279,47 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3201
3279
|
options: localVarRequestOptions,
|
|
3202
3280
|
};
|
|
3203
3281
|
},
|
|
3282
|
+
/**
|
|
3283
|
+
* Create node events
|
|
3284
|
+
* @param {V1CreateNodeEventsRequest} v1CreateNodeEventsRequest
|
|
3285
|
+
* @param {*} [options] Override http request option.
|
|
3286
|
+
* @throws {RequiredError}
|
|
3287
|
+
*/
|
|
3288
|
+
v1CreateNodeEvents: async (v1CreateNodeEventsRequest: V1CreateNodeEventsRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3289
|
+
// verify required parameter 'v1CreateNodeEventsRequest' is not null or undefined
|
|
3290
|
+
assertParamExists('v1CreateNodeEvents', 'v1CreateNodeEventsRequest', v1CreateNodeEventsRequest)
|
|
3291
|
+
const localVarPath = `/v1/node-events`;
|
|
3292
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3293
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3294
|
+
let baseOptions;
|
|
3295
|
+
if (configuration) {
|
|
3296
|
+
baseOptions = configuration.baseOptions;
|
|
3297
|
+
}
|
|
3298
|
+
|
|
3299
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
3300
|
+
const localVarHeaderParameter = {} as any;
|
|
3301
|
+
const localVarQueryParameter = {} as any;
|
|
3302
|
+
|
|
3303
|
+
// authentication Roles required
|
|
3304
|
+
|
|
3305
|
+
// authentication BearerToken required
|
|
3306
|
+
// http bearer authentication required
|
|
3307
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3308
|
+
|
|
3309
|
+
|
|
3310
|
+
|
|
3311
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3312
|
+
|
|
3313
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3314
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3315
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3316
|
+
localVarRequestOptions.data = serializeDataIfNeeded(v1CreateNodeEventsRequest, localVarRequestOptions, configuration)
|
|
3317
|
+
|
|
3318
|
+
return {
|
|
3319
|
+
url: toPathString(localVarUrlObj),
|
|
3320
|
+
options: localVarRequestOptions,
|
|
3321
|
+
};
|
|
3322
|
+
},
|
|
3204
3323
|
/**
|
|
3205
3324
|
* Create an optical tube.
|
|
3206
3325
|
* @param {V1CreateOpticalTubeRequest} v1CreateOpticalTubeRequest
|
|
@@ -4365,6 +4484,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
4365
4484
|
const localVarAxiosArgs = await localVarAxiosParamCreator.v1CreateNodeDiagnostics(v1CreateNodeDiagnosticsRequest, options);
|
|
4366
4485
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4367
4486
|
},
|
|
4487
|
+
/**
|
|
4488
|
+
* Create node events
|
|
4489
|
+
* @param {V1CreateNodeEventsRequest} v1CreateNodeEventsRequest
|
|
4490
|
+
* @param {*} [options] Override http request option.
|
|
4491
|
+
* @throws {RequiredError}
|
|
4492
|
+
*/
|
|
4493
|
+
async v1CreateNodeEvents(v1CreateNodeEventsRequest: V1CreateNodeEventsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptySuccess>> {
|
|
4494
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.v1CreateNodeEvents(v1CreateNodeEventsRequest, options);
|
|
4495
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4496
|
+
},
|
|
4368
4497
|
/**
|
|
4369
4498
|
* Create an optical tube.
|
|
4370
4499
|
* @param {V1CreateOpticalTubeRequest} v1CreateOpticalTubeRequest
|
|
@@ -4724,6 +4853,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
4724
4853
|
v1CreateNodeDiagnostics(requestParameters: DefaultApiV1CreateNodeDiagnosticsRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess> {
|
|
4725
4854
|
return localVarFp.v1CreateNodeDiagnostics(requestParameters.v1CreateNodeDiagnosticsRequest, options).then((request) => request(axios, basePath));
|
|
4726
4855
|
},
|
|
4856
|
+
/**
|
|
4857
|
+
* Create node events
|
|
4858
|
+
* @param {DefaultApiV1CreateNodeEventsRequest} requestParameters Request parameters.
|
|
4859
|
+
* @param {*} [options] Override http request option.
|
|
4860
|
+
* @throws {RequiredError}
|
|
4861
|
+
*/
|
|
4862
|
+
v1CreateNodeEvents(requestParameters: DefaultApiV1CreateNodeEventsRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess> {
|
|
4863
|
+
return localVarFp.v1CreateNodeEvents(requestParameters.v1CreateNodeEventsRequest, options).then((request) => request(axios, basePath));
|
|
4864
|
+
},
|
|
4727
4865
|
/**
|
|
4728
4866
|
* Create an optical tube.
|
|
4729
4867
|
* @param {DefaultApiV1CreateOpticalTubeRequest} requestParameters Request parameters.
|
|
@@ -5139,6 +5277,20 @@ export interface DefaultApiV1CreateNodeDiagnosticsRequest {
|
|
|
5139
5277
|
readonly v1CreateNodeDiagnosticsRequest: V1CreateNodeDiagnosticsRequest
|
|
5140
5278
|
}
|
|
5141
5279
|
|
|
5280
|
+
/**
|
|
5281
|
+
* Request parameters for v1CreateNodeEvents operation in DefaultApi.
|
|
5282
|
+
* @export
|
|
5283
|
+
* @interface DefaultApiV1CreateNodeEventsRequest
|
|
5284
|
+
*/
|
|
5285
|
+
export interface DefaultApiV1CreateNodeEventsRequest {
|
|
5286
|
+
/**
|
|
5287
|
+
*
|
|
5288
|
+
* @type {V1CreateNodeEventsRequest}
|
|
5289
|
+
* @memberof DefaultApiV1CreateNodeEvents
|
|
5290
|
+
*/
|
|
5291
|
+
readonly v1CreateNodeEventsRequest: V1CreateNodeEventsRequest
|
|
5292
|
+
}
|
|
5293
|
+
|
|
5142
5294
|
/**
|
|
5143
5295
|
* Request parameters for v1CreateOpticalTube operation in DefaultApi.
|
|
5144
5296
|
* @export
|
|
@@ -5609,6 +5761,17 @@ export class DefaultApi extends BaseAPI {
|
|
|
5609
5761
|
return DefaultApiFp(this.configuration).v1CreateNodeDiagnostics(requestParameters.v1CreateNodeDiagnosticsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5610
5762
|
}
|
|
5611
5763
|
|
|
5764
|
+
/**
|
|
5765
|
+
* Create node events
|
|
5766
|
+
* @param {DefaultApiV1CreateNodeEventsRequest} requestParameters Request parameters.
|
|
5767
|
+
* @param {*} [options] Override http request option.
|
|
5768
|
+
* @throws {RequiredError}
|
|
5769
|
+
* @memberof DefaultApi
|
|
5770
|
+
*/
|
|
5771
|
+
public v1CreateNodeEvents(requestParameters: DefaultApiV1CreateNodeEventsRequest, options?: AxiosRequestConfig) {
|
|
5772
|
+
return DefaultApiFp(this.configuration).v1CreateNodeEvents(requestParameters.v1CreateNodeEventsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5773
|
+
}
|
|
5774
|
+
|
|
5612
5775
|
/**
|
|
5613
5776
|
* Create an optical tube.
|
|
5614
5777
|
* @param {DefaultApiV1CreateOpticalTubeRequest} requestParameters Request parameters.
|
package/base.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.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.4796
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/common.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.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.4796
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/configuration.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.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.4796
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OurSky Platform
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.4796
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -617,6 +617,55 @@ export interface V1CreateNodeDiagnosticsRequest {
|
|
|
617
617
|
*/
|
|
618
618
|
'diagnostics': Array<V1CreateNodeDiagnostic>;
|
|
619
619
|
}
|
|
620
|
+
/**
|
|
621
|
+
*
|
|
622
|
+
* @export
|
|
623
|
+
* @interface V1CreateNodeEvent
|
|
624
|
+
*/
|
|
625
|
+
export interface V1CreateNodeEvent {
|
|
626
|
+
/**
|
|
627
|
+
*
|
|
628
|
+
* @type {V1NodeEventType}
|
|
629
|
+
* @memberof V1CreateNodeEvent
|
|
630
|
+
*/
|
|
631
|
+
'type': V1NodeEventType;
|
|
632
|
+
/**
|
|
633
|
+
*
|
|
634
|
+
* @type {V1CreateNodeEventBody}
|
|
635
|
+
* @memberof V1CreateNodeEvent
|
|
636
|
+
*/
|
|
637
|
+
'body': V1CreateNodeEventBody;
|
|
638
|
+
/**
|
|
639
|
+
*
|
|
640
|
+
* @type {string}
|
|
641
|
+
* @memberof V1CreateNodeEvent
|
|
642
|
+
*/
|
|
643
|
+
'generatedAt': string;
|
|
644
|
+
}
|
|
645
|
+
/**
|
|
646
|
+
* @type V1CreateNodeEventBody
|
|
647
|
+
* @export
|
|
648
|
+
*/
|
|
649
|
+
export type V1CreateNodeEventBody = V1SafetyStatusUpdated;
|
|
650
|
+
/**
|
|
651
|
+
*
|
|
652
|
+
* @export
|
|
653
|
+
* @interface V1CreateNodeEventsRequest
|
|
654
|
+
*/
|
|
655
|
+
export interface V1CreateNodeEventsRequest {
|
|
656
|
+
/**
|
|
657
|
+
*
|
|
658
|
+
* @type {string}
|
|
659
|
+
* @memberof V1CreateNodeEventsRequest
|
|
660
|
+
*/
|
|
661
|
+
'nodeId': string;
|
|
662
|
+
/**
|
|
663
|
+
*
|
|
664
|
+
* @type {Array<V1CreateNodeEvent>}
|
|
665
|
+
* @memberof V1CreateNodeEventsRequest
|
|
666
|
+
*/
|
|
667
|
+
'events': Array<V1CreateNodeEvent>;
|
|
668
|
+
}
|
|
620
669
|
/**
|
|
621
670
|
* Create Node
|
|
622
671
|
* @export
|
|
@@ -1701,6 +1750,15 @@ export declare const V1NodeDiagnosticType: {
|
|
|
1701
1750
|
readonly ASCOM_CAN_TRACK_LEO: "ASCOM_CAN_TRACK_LEO";
|
|
1702
1751
|
};
|
|
1703
1752
|
export type V1NodeDiagnosticType = typeof V1NodeDiagnosticType[keyof typeof V1NodeDiagnosticType];
|
|
1753
|
+
/**
|
|
1754
|
+
*
|
|
1755
|
+
* @export
|
|
1756
|
+
* @enum {string}
|
|
1757
|
+
*/
|
|
1758
|
+
export declare const V1NodeEventType: {
|
|
1759
|
+
readonly V1_SAFETY_STATUS_UPDATED: "V1_SAFETY_STATUS_UPDATED";
|
|
1760
|
+
};
|
|
1761
|
+
export type V1NodeEventType = typeof V1NodeEventType[keyof typeof V1NodeEventType];
|
|
1704
1762
|
/**
|
|
1705
1763
|
* Node with location
|
|
1706
1764
|
* @export
|
|
@@ -2186,6 +2244,19 @@ export interface V1Release {
|
|
|
2186
2244
|
*/
|
|
2187
2245
|
'fileType': V1FileType;
|
|
2188
2246
|
}
|
|
2247
|
+
/**
|
|
2248
|
+
*
|
|
2249
|
+
* @export
|
|
2250
|
+
* @interface V1SafetyStatusUpdated
|
|
2251
|
+
*/
|
|
2252
|
+
export interface V1SafetyStatusUpdated {
|
|
2253
|
+
/**
|
|
2254
|
+
*
|
|
2255
|
+
* @type {boolean}
|
|
2256
|
+
* @memberof V1SafetyStatusUpdated
|
|
2257
|
+
*/
|
|
2258
|
+
'isSafe': boolean;
|
|
2259
|
+
}
|
|
2189
2260
|
/**
|
|
2190
2261
|
* Setup Action
|
|
2191
2262
|
* @export
|
|
@@ -2698,6 +2769,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2698
2769
|
* @throws {RequiredError}
|
|
2699
2770
|
*/
|
|
2700
2771
|
v1CreateNodeDiagnostics: (v1CreateNodeDiagnosticsRequest: V1CreateNodeDiagnosticsRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2772
|
+
/**
|
|
2773
|
+
* Create node events
|
|
2774
|
+
* @param {V1CreateNodeEventsRequest} v1CreateNodeEventsRequest
|
|
2775
|
+
* @param {*} [options] Override http request option.
|
|
2776
|
+
* @throws {RequiredError}
|
|
2777
|
+
*/
|
|
2778
|
+
v1CreateNodeEvents: (v1CreateNodeEventsRequest: V1CreateNodeEventsRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2701
2779
|
/**
|
|
2702
2780
|
* Create an optical tube.
|
|
2703
2781
|
* @param {V1CreateOpticalTubeRequest} v1CreateOpticalTubeRequest
|
|
@@ -2963,6 +3041,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2963
3041
|
* @throws {RequiredError}
|
|
2964
3042
|
*/
|
|
2965
3043
|
v1CreateNodeDiagnostics(v1CreateNodeDiagnosticsRequest: V1CreateNodeDiagnosticsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptySuccess>>;
|
|
3044
|
+
/**
|
|
3045
|
+
* Create node events
|
|
3046
|
+
* @param {V1CreateNodeEventsRequest} v1CreateNodeEventsRequest
|
|
3047
|
+
* @param {*} [options] Override http request option.
|
|
3048
|
+
* @throws {RequiredError}
|
|
3049
|
+
*/
|
|
3050
|
+
v1CreateNodeEvents(v1CreateNodeEventsRequest: V1CreateNodeEventsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptySuccess>>;
|
|
2966
3051
|
/**
|
|
2967
3052
|
* Create an optical tube.
|
|
2968
3053
|
* @param {V1CreateOpticalTubeRequest} v1CreateOpticalTubeRequest
|
|
@@ -3221,6 +3306,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
3221
3306
|
* @throws {RequiredError}
|
|
3222
3307
|
*/
|
|
3223
3308
|
v1CreateNodeDiagnostics(requestParameters: DefaultApiV1CreateNodeDiagnosticsRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess>;
|
|
3309
|
+
/**
|
|
3310
|
+
* Create node events
|
|
3311
|
+
* @param {DefaultApiV1CreateNodeEventsRequest} requestParameters Request parameters.
|
|
3312
|
+
* @param {*} [options] Override http request option.
|
|
3313
|
+
* @throws {RequiredError}
|
|
3314
|
+
*/
|
|
3315
|
+
v1CreateNodeEvents(requestParameters: DefaultApiV1CreateNodeEventsRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess>;
|
|
3224
3316
|
/**
|
|
3225
3317
|
* Create an optical tube.
|
|
3226
3318
|
* @param {DefaultApiV1CreateOpticalTubeRequest} requestParameters Request parameters.
|
|
@@ -3567,6 +3659,19 @@ export interface DefaultApiV1CreateNodeDiagnosticsRequest {
|
|
|
3567
3659
|
*/
|
|
3568
3660
|
readonly v1CreateNodeDiagnosticsRequest: V1CreateNodeDiagnosticsRequest;
|
|
3569
3661
|
}
|
|
3662
|
+
/**
|
|
3663
|
+
* Request parameters for v1CreateNodeEvents operation in DefaultApi.
|
|
3664
|
+
* @export
|
|
3665
|
+
* @interface DefaultApiV1CreateNodeEventsRequest
|
|
3666
|
+
*/
|
|
3667
|
+
export interface DefaultApiV1CreateNodeEventsRequest {
|
|
3668
|
+
/**
|
|
3669
|
+
*
|
|
3670
|
+
* @type {V1CreateNodeEventsRequest}
|
|
3671
|
+
* @memberof DefaultApiV1CreateNodeEvents
|
|
3672
|
+
*/
|
|
3673
|
+
readonly v1CreateNodeEventsRequest: V1CreateNodeEventsRequest;
|
|
3674
|
+
}
|
|
3570
3675
|
/**
|
|
3571
3676
|
* Request parameters for v1CreateOpticalTube operation in DefaultApi.
|
|
3572
3677
|
* @export
|
|
@@ -3978,6 +4083,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3978
4083
|
* @memberof DefaultApi
|
|
3979
4084
|
*/
|
|
3980
4085
|
v1CreateNodeDiagnostics(requestParameters: DefaultApiV1CreateNodeDiagnosticsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EmptySuccess, any>>;
|
|
4086
|
+
/**
|
|
4087
|
+
* Create node events
|
|
4088
|
+
* @param {DefaultApiV1CreateNodeEventsRequest} requestParameters Request parameters.
|
|
4089
|
+
* @param {*} [options] Override http request option.
|
|
4090
|
+
* @throws {RequiredError}
|
|
4091
|
+
* @memberof DefaultApi
|
|
4092
|
+
*/
|
|
4093
|
+
v1CreateNodeEvents(requestParameters: DefaultApiV1CreateNodeEventsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EmptySuccess, any>>;
|
|
3981
4094
|
/**
|
|
3982
4095
|
* Create an optical tube.
|
|
3983
4096
|
* @param {DefaultApiV1CreateOpticalTubeRequest} requestParameters Request parameters.
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* OurSky Platform
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.3.
|
|
8
|
+
* The version of the OpenAPI document: 1.3.4796
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.V1PlateSolveCatalogFileDownloadActionEnum = exports.V1NodeDiagnosticType = exports.V1NodeComponentType = exports.V1FileType = exports.UploadPriority = exports.TrackingType = exports.ShutterType = exports.OrbitType = exports.OpticalTubeType = exports.NodeState = exports.MountType = exports.MetricType = exports.FilterType = exports.CameraMode = void 0;
|
|
25
|
+
exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.V1PlateSolveCatalogFileDownloadActionEnum = exports.V1NodeEventType = exports.V1NodeDiagnosticType = exports.V1NodeComponentType = exports.V1FileType = exports.UploadPriority = exports.TrackingType = exports.ShutterType = exports.OrbitType = exports.OpticalTubeType = exports.NodeState = exports.MountType = exports.MetricType = exports.FilterType = exports.CameraMode = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
@@ -223,6 +223,14 @@ exports.V1NodeDiagnosticType = {
|
|
|
223
223
|
ASCOM_SECONDARY_REVERSED: 'ASCOM_SECONDARY_REVERSED',
|
|
224
224
|
ASCOM_CAN_TRACK_LEO: 'ASCOM_CAN_TRACK_LEO'
|
|
225
225
|
};
|
|
226
|
+
/**
|
|
227
|
+
*
|
|
228
|
+
* @export
|
|
229
|
+
* @enum {string}
|
|
230
|
+
*/
|
|
231
|
+
exports.V1NodeEventType = {
|
|
232
|
+
V1_SAFETY_STATUS_UPDATED: 'V1_SAFETY_STATUS_UPDATED'
|
|
233
|
+
};
|
|
226
234
|
exports.V1PlateSolveCatalogFileDownloadActionEnum = {
|
|
227
235
|
DOWNLOAD: 'DOWNLOAD',
|
|
228
236
|
DELETE: 'DELETE',
|
|
@@ -619,6 +627,39 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
619
627
|
options: localVarRequestOptions,
|
|
620
628
|
};
|
|
621
629
|
}),
|
|
630
|
+
/**
|
|
631
|
+
* Create node events
|
|
632
|
+
* @param {V1CreateNodeEventsRequest} v1CreateNodeEventsRequest
|
|
633
|
+
* @param {*} [options] Override http request option.
|
|
634
|
+
* @throws {RequiredError}
|
|
635
|
+
*/
|
|
636
|
+
v1CreateNodeEvents: (v1CreateNodeEventsRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
637
|
+
// verify required parameter 'v1CreateNodeEventsRequest' is not null or undefined
|
|
638
|
+
(0, common_1.assertParamExists)('v1CreateNodeEvents', 'v1CreateNodeEventsRequest', v1CreateNodeEventsRequest);
|
|
639
|
+
const localVarPath = `/v1/node-events`;
|
|
640
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
641
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
642
|
+
let baseOptions;
|
|
643
|
+
if (configuration) {
|
|
644
|
+
baseOptions = configuration.baseOptions;
|
|
645
|
+
}
|
|
646
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
647
|
+
const localVarHeaderParameter = {};
|
|
648
|
+
const localVarQueryParameter = {};
|
|
649
|
+
// authentication Roles required
|
|
650
|
+
// authentication BearerToken required
|
|
651
|
+
// http bearer authentication required
|
|
652
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
653
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
654
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
655
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
656
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
657
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v1CreateNodeEventsRequest, localVarRequestOptions, configuration);
|
|
658
|
+
return {
|
|
659
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
660
|
+
options: localVarRequestOptions,
|
|
661
|
+
};
|
|
662
|
+
}),
|
|
622
663
|
/**
|
|
623
664
|
* Create an optical tube.
|
|
624
665
|
* @param {V1CreateOpticalTubeRequest} v1CreateOpticalTubeRequest
|
|
@@ -1604,6 +1645,18 @@ const DefaultApiFp = function (configuration) {
|
|
|
1604
1645
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1605
1646
|
});
|
|
1606
1647
|
},
|
|
1648
|
+
/**
|
|
1649
|
+
* Create node events
|
|
1650
|
+
* @param {V1CreateNodeEventsRequest} v1CreateNodeEventsRequest
|
|
1651
|
+
* @param {*} [options] Override http request option.
|
|
1652
|
+
* @throws {RequiredError}
|
|
1653
|
+
*/
|
|
1654
|
+
v1CreateNodeEvents(v1CreateNodeEventsRequest, options) {
|
|
1655
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1656
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateNodeEvents(v1CreateNodeEventsRequest, options);
|
|
1657
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1658
|
+
});
|
|
1659
|
+
},
|
|
1607
1660
|
/**
|
|
1608
1661
|
* Create an optical tube.
|
|
1609
1662
|
* @param {V1CreateOpticalTubeRequest} v1CreateOpticalTubeRequest
|
|
@@ -2013,6 +2066,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2013
2066
|
v1CreateNodeDiagnostics(requestParameters, options) {
|
|
2014
2067
|
return localVarFp.v1CreateNodeDiagnostics(requestParameters.v1CreateNodeDiagnosticsRequest, options).then((request) => request(axios, basePath));
|
|
2015
2068
|
},
|
|
2069
|
+
/**
|
|
2070
|
+
* Create node events
|
|
2071
|
+
* @param {DefaultApiV1CreateNodeEventsRequest} requestParameters Request parameters.
|
|
2072
|
+
* @param {*} [options] Override http request option.
|
|
2073
|
+
* @throws {RequiredError}
|
|
2074
|
+
*/
|
|
2075
|
+
v1CreateNodeEvents(requestParameters, options) {
|
|
2076
|
+
return localVarFp.v1CreateNodeEvents(requestParameters.v1CreateNodeEventsRequest, options).then((request) => request(axios, basePath));
|
|
2077
|
+
},
|
|
2016
2078
|
/**
|
|
2017
2079
|
* Create an optical tube.
|
|
2018
2080
|
* @param {DefaultApiV1CreateOpticalTubeRequest} requestParameters Request parameters.
|
|
@@ -2355,6 +2417,16 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
2355
2417
|
v1CreateNodeDiagnostics(requestParameters, options) {
|
|
2356
2418
|
return (0, exports.DefaultApiFp)(this.configuration).v1CreateNodeDiagnostics(requestParameters.v1CreateNodeDiagnosticsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2357
2419
|
}
|
|
2420
|
+
/**
|
|
2421
|
+
* Create node events
|
|
2422
|
+
* @param {DefaultApiV1CreateNodeEventsRequest} requestParameters Request parameters.
|
|
2423
|
+
* @param {*} [options] Override http request option.
|
|
2424
|
+
* @throws {RequiredError}
|
|
2425
|
+
* @memberof DefaultApi
|
|
2426
|
+
*/
|
|
2427
|
+
v1CreateNodeEvents(requestParameters, options) {
|
|
2428
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1CreateNodeEvents(requestParameters.v1CreateNodeEventsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2429
|
+
}
|
|
2358
2430
|
/**
|
|
2359
2431
|
* Create an optical tube.
|
|
2360
2432
|
* @param {DefaultApiV1CreateOpticalTubeRequest} requestParameters Request parameters.
|
package/dist/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OurSky Platform
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.4796
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/base.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* OurSky Platform
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.3.
|
|
8
|
+
* The version of the OpenAPI document: 1.3.4796
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OurSky Platform
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.4796
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* OurSky Platform
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.3.
|
|
8
|
+
* The version of the OpenAPI document: 1.3.4796
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OurSky Platform
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.4796
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* OurSky Platform
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.3.
|
|
8
|
+
* The version of the OpenAPI document: 1.3.4796
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OurSky Platform
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.4796
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -617,6 +617,55 @@ export interface V1CreateNodeDiagnosticsRequest {
|
|
|
617
617
|
*/
|
|
618
618
|
'diagnostics': Array<V1CreateNodeDiagnostic>;
|
|
619
619
|
}
|
|
620
|
+
/**
|
|
621
|
+
*
|
|
622
|
+
* @export
|
|
623
|
+
* @interface V1CreateNodeEvent
|
|
624
|
+
*/
|
|
625
|
+
export interface V1CreateNodeEvent {
|
|
626
|
+
/**
|
|
627
|
+
*
|
|
628
|
+
* @type {V1NodeEventType}
|
|
629
|
+
* @memberof V1CreateNodeEvent
|
|
630
|
+
*/
|
|
631
|
+
'type': V1NodeEventType;
|
|
632
|
+
/**
|
|
633
|
+
*
|
|
634
|
+
* @type {V1CreateNodeEventBody}
|
|
635
|
+
* @memberof V1CreateNodeEvent
|
|
636
|
+
*/
|
|
637
|
+
'body': V1CreateNodeEventBody;
|
|
638
|
+
/**
|
|
639
|
+
*
|
|
640
|
+
* @type {string}
|
|
641
|
+
* @memberof V1CreateNodeEvent
|
|
642
|
+
*/
|
|
643
|
+
'generatedAt': string;
|
|
644
|
+
}
|
|
645
|
+
/**
|
|
646
|
+
* @type V1CreateNodeEventBody
|
|
647
|
+
* @export
|
|
648
|
+
*/
|
|
649
|
+
export type V1CreateNodeEventBody = V1SafetyStatusUpdated;
|
|
650
|
+
/**
|
|
651
|
+
*
|
|
652
|
+
* @export
|
|
653
|
+
* @interface V1CreateNodeEventsRequest
|
|
654
|
+
*/
|
|
655
|
+
export interface V1CreateNodeEventsRequest {
|
|
656
|
+
/**
|
|
657
|
+
*
|
|
658
|
+
* @type {string}
|
|
659
|
+
* @memberof V1CreateNodeEventsRequest
|
|
660
|
+
*/
|
|
661
|
+
'nodeId': string;
|
|
662
|
+
/**
|
|
663
|
+
*
|
|
664
|
+
* @type {Array<V1CreateNodeEvent>}
|
|
665
|
+
* @memberof V1CreateNodeEventsRequest
|
|
666
|
+
*/
|
|
667
|
+
'events': Array<V1CreateNodeEvent>;
|
|
668
|
+
}
|
|
620
669
|
/**
|
|
621
670
|
* Create Node
|
|
622
671
|
* @export
|
|
@@ -1701,6 +1750,15 @@ export declare const V1NodeDiagnosticType: {
|
|
|
1701
1750
|
readonly ASCOM_CAN_TRACK_LEO: "ASCOM_CAN_TRACK_LEO";
|
|
1702
1751
|
};
|
|
1703
1752
|
export type V1NodeDiagnosticType = typeof V1NodeDiagnosticType[keyof typeof V1NodeDiagnosticType];
|
|
1753
|
+
/**
|
|
1754
|
+
*
|
|
1755
|
+
* @export
|
|
1756
|
+
* @enum {string}
|
|
1757
|
+
*/
|
|
1758
|
+
export declare const V1NodeEventType: {
|
|
1759
|
+
readonly V1_SAFETY_STATUS_UPDATED: "V1_SAFETY_STATUS_UPDATED";
|
|
1760
|
+
};
|
|
1761
|
+
export type V1NodeEventType = typeof V1NodeEventType[keyof typeof V1NodeEventType];
|
|
1704
1762
|
/**
|
|
1705
1763
|
* Node with location
|
|
1706
1764
|
* @export
|
|
@@ -2186,6 +2244,19 @@ export interface V1Release {
|
|
|
2186
2244
|
*/
|
|
2187
2245
|
'fileType': V1FileType;
|
|
2188
2246
|
}
|
|
2247
|
+
/**
|
|
2248
|
+
*
|
|
2249
|
+
* @export
|
|
2250
|
+
* @interface V1SafetyStatusUpdated
|
|
2251
|
+
*/
|
|
2252
|
+
export interface V1SafetyStatusUpdated {
|
|
2253
|
+
/**
|
|
2254
|
+
*
|
|
2255
|
+
* @type {boolean}
|
|
2256
|
+
* @memberof V1SafetyStatusUpdated
|
|
2257
|
+
*/
|
|
2258
|
+
'isSafe': boolean;
|
|
2259
|
+
}
|
|
2189
2260
|
/**
|
|
2190
2261
|
* Setup Action
|
|
2191
2262
|
* @export
|
|
@@ -2698,6 +2769,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2698
2769
|
* @throws {RequiredError}
|
|
2699
2770
|
*/
|
|
2700
2771
|
v1CreateNodeDiagnostics: (v1CreateNodeDiagnosticsRequest: V1CreateNodeDiagnosticsRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2772
|
+
/**
|
|
2773
|
+
* Create node events
|
|
2774
|
+
* @param {V1CreateNodeEventsRequest} v1CreateNodeEventsRequest
|
|
2775
|
+
* @param {*} [options] Override http request option.
|
|
2776
|
+
* @throws {RequiredError}
|
|
2777
|
+
*/
|
|
2778
|
+
v1CreateNodeEvents: (v1CreateNodeEventsRequest: V1CreateNodeEventsRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2701
2779
|
/**
|
|
2702
2780
|
* Create an optical tube.
|
|
2703
2781
|
* @param {V1CreateOpticalTubeRequest} v1CreateOpticalTubeRequest
|
|
@@ -2963,6 +3041,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2963
3041
|
* @throws {RequiredError}
|
|
2964
3042
|
*/
|
|
2965
3043
|
v1CreateNodeDiagnostics(v1CreateNodeDiagnosticsRequest: V1CreateNodeDiagnosticsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptySuccess>>;
|
|
3044
|
+
/**
|
|
3045
|
+
* Create node events
|
|
3046
|
+
* @param {V1CreateNodeEventsRequest} v1CreateNodeEventsRequest
|
|
3047
|
+
* @param {*} [options] Override http request option.
|
|
3048
|
+
* @throws {RequiredError}
|
|
3049
|
+
*/
|
|
3050
|
+
v1CreateNodeEvents(v1CreateNodeEventsRequest: V1CreateNodeEventsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptySuccess>>;
|
|
2966
3051
|
/**
|
|
2967
3052
|
* Create an optical tube.
|
|
2968
3053
|
* @param {V1CreateOpticalTubeRequest} v1CreateOpticalTubeRequest
|
|
@@ -3221,6 +3306,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
3221
3306
|
* @throws {RequiredError}
|
|
3222
3307
|
*/
|
|
3223
3308
|
v1CreateNodeDiagnostics(requestParameters: DefaultApiV1CreateNodeDiagnosticsRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess>;
|
|
3309
|
+
/**
|
|
3310
|
+
* Create node events
|
|
3311
|
+
* @param {DefaultApiV1CreateNodeEventsRequest} requestParameters Request parameters.
|
|
3312
|
+
* @param {*} [options] Override http request option.
|
|
3313
|
+
* @throws {RequiredError}
|
|
3314
|
+
*/
|
|
3315
|
+
v1CreateNodeEvents(requestParameters: DefaultApiV1CreateNodeEventsRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess>;
|
|
3224
3316
|
/**
|
|
3225
3317
|
* Create an optical tube.
|
|
3226
3318
|
* @param {DefaultApiV1CreateOpticalTubeRequest} requestParameters Request parameters.
|
|
@@ -3567,6 +3659,19 @@ export interface DefaultApiV1CreateNodeDiagnosticsRequest {
|
|
|
3567
3659
|
*/
|
|
3568
3660
|
readonly v1CreateNodeDiagnosticsRequest: V1CreateNodeDiagnosticsRequest;
|
|
3569
3661
|
}
|
|
3662
|
+
/**
|
|
3663
|
+
* Request parameters for v1CreateNodeEvents operation in DefaultApi.
|
|
3664
|
+
* @export
|
|
3665
|
+
* @interface DefaultApiV1CreateNodeEventsRequest
|
|
3666
|
+
*/
|
|
3667
|
+
export interface DefaultApiV1CreateNodeEventsRequest {
|
|
3668
|
+
/**
|
|
3669
|
+
*
|
|
3670
|
+
* @type {V1CreateNodeEventsRequest}
|
|
3671
|
+
* @memberof DefaultApiV1CreateNodeEvents
|
|
3672
|
+
*/
|
|
3673
|
+
readonly v1CreateNodeEventsRequest: V1CreateNodeEventsRequest;
|
|
3674
|
+
}
|
|
3570
3675
|
/**
|
|
3571
3676
|
* Request parameters for v1CreateOpticalTube operation in DefaultApi.
|
|
3572
3677
|
* @export
|
|
@@ -3978,6 +4083,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3978
4083
|
* @memberof DefaultApi
|
|
3979
4084
|
*/
|
|
3980
4085
|
v1CreateNodeDiagnostics(requestParameters: DefaultApiV1CreateNodeDiagnosticsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EmptySuccess, any>>;
|
|
4086
|
+
/**
|
|
4087
|
+
* Create node events
|
|
4088
|
+
* @param {DefaultApiV1CreateNodeEventsRequest} requestParameters Request parameters.
|
|
4089
|
+
* @param {*} [options] Override http request option.
|
|
4090
|
+
* @throws {RequiredError}
|
|
4091
|
+
* @memberof DefaultApi
|
|
4092
|
+
*/
|
|
4093
|
+
v1CreateNodeEvents(requestParameters: DefaultApiV1CreateNodeEventsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EmptySuccess, any>>;
|
|
3981
4094
|
/**
|
|
3982
4095
|
* Create an optical tube.
|
|
3983
4096
|
* @param {DefaultApiV1CreateOpticalTubeRequest} requestParameters Request parameters.
|
package/dist/esm/api.js
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.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.4796
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -220,6 +220,14 @@ export const V1NodeDiagnosticType = {
|
|
|
220
220
|
ASCOM_SECONDARY_REVERSED: 'ASCOM_SECONDARY_REVERSED',
|
|
221
221
|
ASCOM_CAN_TRACK_LEO: 'ASCOM_CAN_TRACK_LEO'
|
|
222
222
|
};
|
|
223
|
+
/**
|
|
224
|
+
*
|
|
225
|
+
* @export
|
|
226
|
+
* @enum {string}
|
|
227
|
+
*/
|
|
228
|
+
export const V1NodeEventType = {
|
|
229
|
+
V1_SAFETY_STATUS_UPDATED: 'V1_SAFETY_STATUS_UPDATED'
|
|
230
|
+
};
|
|
223
231
|
export const V1PlateSolveCatalogFileDownloadActionEnum = {
|
|
224
232
|
DOWNLOAD: 'DOWNLOAD',
|
|
225
233
|
DELETE: 'DELETE',
|
|
@@ -616,6 +624,39 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
616
624
|
options: localVarRequestOptions,
|
|
617
625
|
};
|
|
618
626
|
}),
|
|
627
|
+
/**
|
|
628
|
+
* Create node events
|
|
629
|
+
* @param {V1CreateNodeEventsRequest} v1CreateNodeEventsRequest
|
|
630
|
+
* @param {*} [options] Override http request option.
|
|
631
|
+
* @throws {RequiredError}
|
|
632
|
+
*/
|
|
633
|
+
v1CreateNodeEvents: (v1CreateNodeEventsRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
634
|
+
// verify required parameter 'v1CreateNodeEventsRequest' is not null or undefined
|
|
635
|
+
assertParamExists('v1CreateNodeEvents', 'v1CreateNodeEventsRequest', v1CreateNodeEventsRequest);
|
|
636
|
+
const localVarPath = `/v1/node-events`;
|
|
637
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
638
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
639
|
+
let baseOptions;
|
|
640
|
+
if (configuration) {
|
|
641
|
+
baseOptions = configuration.baseOptions;
|
|
642
|
+
}
|
|
643
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
644
|
+
const localVarHeaderParameter = {};
|
|
645
|
+
const localVarQueryParameter = {};
|
|
646
|
+
// authentication Roles required
|
|
647
|
+
// authentication BearerToken required
|
|
648
|
+
// http bearer authentication required
|
|
649
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
650
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
651
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
652
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
653
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
654
|
+
localVarRequestOptions.data = serializeDataIfNeeded(v1CreateNodeEventsRequest, localVarRequestOptions, configuration);
|
|
655
|
+
return {
|
|
656
|
+
url: toPathString(localVarUrlObj),
|
|
657
|
+
options: localVarRequestOptions,
|
|
658
|
+
};
|
|
659
|
+
}),
|
|
619
660
|
/**
|
|
620
661
|
* Create an optical tube.
|
|
621
662
|
* @param {V1CreateOpticalTubeRequest} v1CreateOpticalTubeRequest
|
|
@@ -1600,6 +1641,18 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1600
1641
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1601
1642
|
});
|
|
1602
1643
|
},
|
|
1644
|
+
/**
|
|
1645
|
+
* Create node events
|
|
1646
|
+
* @param {V1CreateNodeEventsRequest} v1CreateNodeEventsRequest
|
|
1647
|
+
* @param {*} [options] Override http request option.
|
|
1648
|
+
* @throws {RequiredError}
|
|
1649
|
+
*/
|
|
1650
|
+
v1CreateNodeEvents(v1CreateNodeEventsRequest, options) {
|
|
1651
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1652
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateNodeEvents(v1CreateNodeEventsRequest, options);
|
|
1653
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1654
|
+
});
|
|
1655
|
+
},
|
|
1603
1656
|
/**
|
|
1604
1657
|
* Create an optical tube.
|
|
1605
1658
|
* @param {V1CreateOpticalTubeRequest} v1CreateOpticalTubeRequest
|
|
@@ -2008,6 +2061,15 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2008
2061
|
v1CreateNodeDiagnostics(requestParameters, options) {
|
|
2009
2062
|
return localVarFp.v1CreateNodeDiagnostics(requestParameters.v1CreateNodeDiagnosticsRequest, options).then((request) => request(axios, basePath));
|
|
2010
2063
|
},
|
|
2064
|
+
/**
|
|
2065
|
+
* Create node events
|
|
2066
|
+
* @param {DefaultApiV1CreateNodeEventsRequest} requestParameters Request parameters.
|
|
2067
|
+
* @param {*} [options] Override http request option.
|
|
2068
|
+
* @throws {RequiredError}
|
|
2069
|
+
*/
|
|
2070
|
+
v1CreateNodeEvents(requestParameters, options) {
|
|
2071
|
+
return localVarFp.v1CreateNodeEvents(requestParameters.v1CreateNodeEventsRequest, options).then((request) => request(axios, basePath));
|
|
2072
|
+
},
|
|
2011
2073
|
/**
|
|
2012
2074
|
* Create an optical tube.
|
|
2013
2075
|
* @param {DefaultApiV1CreateOpticalTubeRequest} requestParameters Request parameters.
|
|
@@ -2349,6 +2411,16 @@ export class DefaultApi extends BaseAPI {
|
|
|
2349
2411
|
v1CreateNodeDiagnostics(requestParameters, options) {
|
|
2350
2412
|
return DefaultApiFp(this.configuration).v1CreateNodeDiagnostics(requestParameters.v1CreateNodeDiagnosticsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2351
2413
|
}
|
|
2414
|
+
/**
|
|
2415
|
+
* Create node events
|
|
2416
|
+
* @param {DefaultApiV1CreateNodeEventsRequest} requestParameters Request parameters.
|
|
2417
|
+
* @param {*} [options] Override http request option.
|
|
2418
|
+
* @throws {RequiredError}
|
|
2419
|
+
* @memberof DefaultApi
|
|
2420
|
+
*/
|
|
2421
|
+
v1CreateNodeEvents(requestParameters, options) {
|
|
2422
|
+
return DefaultApiFp(this.configuration).v1CreateNodeEvents(requestParameters.v1CreateNodeEventsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2423
|
+
}
|
|
2352
2424
|
/**
|
|
2353
2425
|
* Create an optical tube.
|
|
2354
2426
|
* @param {DefaultApiV1CreateOpticalTubeRequest} requestParameters Request parameters.
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OurSky Platform
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.4796
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/base.js
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.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.4796
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OurSky Platform
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.4796
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.js
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.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.4796
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OurSky Platform
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.4796
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.4796
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OurSky Platform
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.4796
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/index.js
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.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.4796
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* OurSky Platform
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.3.
|
|
5
|
+
* The version of the OpenAPI document: 1.3.4796
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* OurSky Platform
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.3.
|
|
8
|
+
* The version of the OpenAPI document: 1.3.4796
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/index.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.
|
|
7
|
+
* The version of the OpenAPI document: 1.3.4796
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|