@ourskyai/platform-api 1.3.5002 → 1.3.5040
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 +347 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +243 -1
- package/dist/api.js +151 -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 +243 -1
- package/dist/esm/api.js +150 -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/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.5040
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -754,6 +754,31 @@ export interface V1DiagnosticInstruction {
|
|
|
754
754
|
*/
|
|
755
755
|
'diagnosticType': V1NodeDiagnosticType;
|
|
756
756
|
}
|
|
757
|
+
/**
|
|
758
|
+
*
|
|
759
|
+
* @export
|
|
760
|
+
* @interface V1DurationMeasured
|
|
761
|
+
*/
|
|
762
|
+
export interface V1DurationMeasured {
|
|
763
|
+
/**
|
|
764
|
+
*
|
|
765
|
+
* @type {string}
|
|
766
|
+
* @memberof V1DurationMeasured
|
|
767
|
+
*/
|
|
768
|
+
'name': string;
|
|
769
|
+
/**
|
|
770
|
+
*
|
|
771
|
+
* @type {string}
|
|
772
|
+
* @memberof V1DurationMeasured
|
|
773
|
+
*/
|
|
774
|
+
'startedAt': string;
|
|
775
|
+
/**
|
|
776
|
+
*
|
|
777
|
+
* @type {string}
|
|
778
|
+
* @memberof V1DurationMeasured
|
|
779
|
+
*/
|
|
780
|
+
'endedAt': string;
|
|
781
|
+
}
|
|
757
782
|
/**
|
|
758
783
|
* Elevation Mask Point
|
|
759
784
|
* @export
|
|
@@ -894,6 +919,19 @@ export interface V1GetInstructionRequestUploadHealth {
|
|
|
894
919
|
*/
|
|
895
920
|
'averageUploadDurationSeconds'?: number;
|
|
896
921
|
}
|
|
922
|
+
/**
|
|
923
|
+
*
|
|
924
|
+
* @export
|
|
925
|
+
* @interface V1GetNodeCommandsResponse
|
|
926
|
+
*/
|
|
927
|
+
export interface V1GetNodeCommandsResponse {
|
|
928
|
+
/**
|
|
929
|
+
*
|
|
930
|
+
* @type {Array<V1NodeCommand>}
|
|
931
|
+
* @memberof V1GetNodeCommandsResponse
|
|
932
|
+
*/
|
|
933
|
+
'nodeCommands': Array<V1NodeCommand>;
|
|
934
|
+
}
|
|
897
935
|
/**
|
|
898
936
|
*
|
|
899
937
|
* @export
|
|
@@ -1182,6 +1220,19 @@ export interface V1GroundStationParticipant {
|
|
|
1182
1220
|
*/
|
|
1183
1221
|
'masterBias'?: string;
|
|
1184
1222
|
}
|
|
1223
|
+
/**
|
|
1224
|
+
*
|
|
1225
|
+
* @export
|
|
1226
|
+
* @interface V1Halt
|
|
1227
|
+
*/
|
|
1228
|
+
export interface V1Halt {
|
|
1229
|
+
/**
|
|
1230
|
+
*
|
|
1231
|
+
* @type {boolean}
|
|
1232
|
+
* @memberof V1Halt
|
|
1233
|
+
*/
|
|
1234
|
+
'placeholder'?: boolean;
|
|
1235
|
+
}
|
|
1185
1236
|
/**
|
|
1186
1237
|
* An image set represents a contiguous set of observations of the same target captured by the same node.
|
|
1187
1238
|
* @export
|
|
@@ -1499,6 +1550,19 @@ export interface V1LatestHfrResponse {
|
|
|
1499
1550
|
*/
|
|
1500
1551
|
'timestamp'?: string;
|
|
1501
1552
|
}
|
|
1553
|
+
/**
|
|
1554
|
+
*
|
|
1555
|
+
* @export
|
|
1556
|
+
* @interface V1LogRecorded
|
|
1557
|
+
*/
|
|
1558
|
+
export interface V1LogRecorded {
|
|
1559
|
+
/**
|
|
1560
|
+
*
|
|
1561
|
+
* @type {string}
|
|
1562
|
+
* @memberof V1LogRecorded
|
|
1563
|
+
*/
|
|
1564
|
+
'log': string;
|
|
1565
|
+
}
|
|
1502
1566
|
/**
|
|
1503
1567
|
*
|
|
1504
1568
|
* @export
|
|
@@ -1658,6 +1722,53 @@ export interface V1Node {
|
|
|
1658
1722
|
*/
|
|
1659
1723
|
'location': Location;
|
|
1660
1724
|
}
|
|
1725
|
+
/**
|
|
1726
|
+
*
|
|
1727
|
+
* @export
|
|
1728
|
+
* @interface V1NodeCommand
|
|
1729
|
+
*/
|
|
1730
|
+
export interface V1NodeCommand {
|
|
1731
|
+
/**
|
|
1732
|
+
*
|
|
1733
|
+
* @type {string}
|
|
1734
|
+
* @memberof V1NodeCommand
|
|
1735
|
+
*/
|
|
1736
|
+
'id': string;
|
|
1737
|
+
/**
|
|
1738
|
+
*
|
|
1739
|
+
* @type {V1NodeCommandType}
|
|
1740
|
+
* @memberof V1NodeCommand
|
|
1741
|
+
*/
|
|
1742
|
+
'type': V1NodeCommandType;
|
|
1743
|
+
/**
|
|
1744
|
+
*
|
|
1745
|
+
* @type {V1NodeCommandBody}
|
|
1746
|
+
* @memberof V1NodeCommand
|
|
1747
|
+
*/
|
|
1748
|
+
'body': V1NodeCommandBody;
|
|
1749
|
+
/**
|
|
1750
|
+
*
|
|
1751
|
+
* @type {string}
|
|
1752
|
+
* @memberof V1NodeCommand
|
|
1753
|
+
*/
|
|
1754
|
+
'executableAt'?: string;
|
|
1755
|
+
}
|
|
1756
|
+
/**
|
|
1757
|
+
* @type V1NodeCommandBody
|
|
1758
|
+
* @export
|
|
1759
|
+
*/
|
|
1760
|
+
export type V1NodeCommandBody = V1Halt | V1StartPerpetualInstructionLoop | V1StopPerpetualInstructionLoop;
|
|
1761
|
+
/**
|
|
1762
|
+
*
|
|
1763
|
+
* @export
|
|
1764
|
+
* @enum {string}
|
|
1765
|
+
*/
|
|
1766
|
+
export declare const V1NodeCommandType: {
|
|
1767
|
+
readonly V1_START_PERPETUAL_INSTRUCTION_LOOP: "V1_START_PERPETUAL_INSTRUCTION_LOOP";
|
|
1768
|
+
readonly V1_STOP_PERPETUAL_INSTRUCTION_LOOP: "V1_STOP_PERPETUAL_INSTRUCTION_LOOP";
|
|
1769
|
+
readonly V1_HALT: "V1_HALT";
|
|
1770
|
+
};
|
|
1771
|
+
export type V1NodeCommandType = typeof V1NodeCommandType[keyof typeof V1NodeCommandType];
|
|
1661
1772
|
/**
|
|
1662
1773
|
*
|
|
1663
1774
|
* @export
|
|
@@ -2228,6 +2339,19 @@ export interface V1Release {
|
|
|
2228
2339
|
*/
|
|
2229
2340
|
'fileType': V1FileType;
|
|
2230
2341
|
}
|
|
2342
|
+
/**
|
|
2343
|
+
*
|
|
2344
|
+
* @export
|
|
2345
|
+
* @interface V1SafetyStatusUpdated
|
|
2346
|
+
*/
|
|
2347
|
+
export interface V1SafetyStatusUpdated {
|
|
2348
|
+
/**
|
|
2349
|
+
*
|
|
2350
|
+
* @type {boolean}
|
|
2351
|
+
* @memberof V1SafetyStatusUpdated
|
|
2352
|
+
*/
|
|
2353
|
+
'isSafe': boolean;
|
|
2354
|
+
}
|
|
2231
2355
|
/**
|
|
2232
2356
|
* Setup Action
|
|
2233
2357
|
* @export
|
|
@@ -2291,6 +2415,32 @@ export interface V1SlewTimingInterval {
|
|
|
2291
2415
|
*/
|
|
2292
2416
|
'durationMs': number;
|
|
2293
2417
|
}
|
|
2418
|
+
/**
|
|
2419
|
+
*
|
|
2420
|
+
* @export
|
|
2421
|
+
* @interface V1StartPerpetualInstructionLoop
|
|
2422
|
+
*/
|
|
2423
|
+
export interface V1StartPerpetualInstructionLoop {
|
|
2424
|
+
/**
|
|
2425
|
+
*
|
|
2426
|
+
* @type {boolean}
|
|
2427
|
+
* @memberof V1StartPerpetualInstructionLoop
|
|
2428
|
+
*/
|
|
2429
|
+
'placeholder'?: boolean;
|
|
2430
|
+
}
|
|
2431
|
+
/**
|
|
2432
|
+
*
|
|
2433
|
+
* @export
|
|
2434
|
+
* @interface V1StopPerpetualInstructionLoop
|
|
2435
|
+
*/
|
|
2436
|
+
export interface V1StopPerpetualInstructionLoop {
|
|
2437
|
+
/**
|
|
2438
|
+
*
|
|
2439
|
+
* @type {boolean}
|
|
2440
|
+
* @memberof V1StopPerpetualInstructionLoop
|
|
2441
|
+
*/
|
|
2442
|
+
'placeholder'?: boolean;
|
|
2443
|
+
}
|
|
2294
2444
|
/**
|
|
2295
2445
|
*
|
|
2296
2446
|
* @export
|
|
@@ -2762,6 +2912,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2762
2912
|
* @throws {RequiredError}
|
|
2763
2913
|
*/
|
|
2764
2914
|
v1DeleteImageSetImage: (imageId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2915
|
+
/**
|
|
2916
|
+
* Delete a node command
|
|
2917
|
+
* @param {string} id
|
|
2918
|
+
* @param {*} [options] Override http request option.
|
|
2919
|
+
* @throws {RequiredError}
|
|
2920
|
+
*/
|
|
2921
|
+
v1DeleteNodeCommand: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2765
2922
|
/**
|
|
2766
2923
|
* Get cameras.
|
|
2767
2924
|
* @param {*} [options] Override http request option.
|
|
@@ -2817,6 +2974,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2817
2974
|
* @throws {RequiredError}
|
|
2818
2975
|
*/
|
|
2819
2976
|
v1GetNode: (lineageId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2977
|
+
/**
|
|
2978
|
+
* Get node commands
|
|
2979
|
+
* @param {string} nodeId
|
|
2980
|
+
* @param {string} executableAt
|
|
2981
|
+
* @param {*} [options] Override http request option.
|
|
2982
|
+
* @throws {RequiredError}
|
|
2983
|
+
*/
|
|
2984
|
+
v1GetNodeCommands: (nodeId: string, executableAt: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2820
2985
|
/**
|
|
2821
2986
|
* returns the current release for the node
|
|
2822
2987
|
* @param {string} lineageId lineage id
|
|
@@ -3034,6 +3199,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
3034
3199
|
* @throws {RequiredError}
|
|
3035
3200
|
*/
|
|
3036
3201
|
v1DeleteImageSetImage(imageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptySuccess>>;
|
|
3202
|
+
/**
|
|
3203
|
+
* Delete a node command
|
|
3204
|
+
* @param {string} id
|
|
3205
|
+
* @param {*} [options] Override http request option.
|
|
3206
|
+
* @throws {RequiredError}
|
|
3207
|
+
*/
|
|
3208
|
+
v1DeleteNodeCommand(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptySuccess>>;
|
|
3037
3209
|
/**
|
|
3038
3210
|
* Get cameras.
|
|
3039
3211
|
* @param {*} [options] Override http request option.
|
|
@@ -3089,6 +3261,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
3089
3261
|
* @throws {RequiredError}
|
|
3090
3262
|
*/
|
|
3091
3263
|
v1GetNode(lineageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1Node>>;
|
|
3264
|
+
/**
|
|
3265
|
+
* Get node commands
|
|
3266
|
+
* @param {string} nodeId
|
|
3267
|
+
* @param {string} executableAt
|
|
3268
|
+
* @param {*} [options] Override http request option.
|
|
3269
|
+
* @throws {RequiredError}
|
|
3270
|
+
*/
|
|
3271
|
+
v1GetNodeCommands(nodeId: string, executableAt: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1GetNodeCommandsResponse>>;
|
|
3092
3272
|
/**
|
|
3093
3273
|
* returns the current release for the node
|
|
3094
3274
|
* @param {string} lineageId lineage id
|
|
@@ -3299,6 +3479,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
3299
3479
|
* @throws {RequiredError}
|
|
3300
3480
|
*/
|
|
3301
3481
|
v1DeleteImageSetImage(requestParameters: DefaultApiV1DeleteImageSetImageRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess>;
|
|
3482
|
+
/**
|
|
3483
|
+
* Delete a node command
|
|
3484
|
+
* @param {DefaultApiV1DeleteNodeCommandRequest} requestParameters Request parameters.
|
|
3485
|
+
* @param {*} [options] Override http request option.
|
|
3486
|
+
* @throws {RequiredError}
|
|
3487
|
+
*/
|
|
3488
|
+
v1DeleteNodeCommand(requestParameters: DefaultApiV1DeleteNodeCommandRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess>;
|
|
3302
3489
|
/**
|
|
3303
3490
|
* Get cameras.
|
|
3304
3491
|
* @param {*} [options] Override http request option.
|
|
@@ -3354,6 +3541,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
3354
3541
|
* @throws {RequiredError}
|
|
3355
3542
|
*/
|
|
3356
3543
|
v1GetNode(requestParameters: DefaultApiV1GetNodeRequest, options?: AxiosRequestConfig): AxiosPromise<V1Node>;
|
|
3544
|
+
/**
|
|
3545
|
+
* Get node commands
|
|
3546
|
+
* @param {DefaultApiV1GetNodeCommandsRequest} requestParameters Request parameters.
|
|
3547
|
+
* @param {*} [options] Override http request option.
|
|
3548
|
+
* @throws {RequiredError}
|
|
3549
|
+
*/
|
|
3550
|
+
v1GetNodeCommands(requestParameters: DefaultApiV1GetNodeCommandsRequest, options?: AxiosRequestConfig): AxiosPromise<V1GetNodeCommandsResponse>;
|
|
3357
3551
|
/**
|
|
3358
3552
|
* returns the current release for the node
|
|
3359
3553
|
* @param {DefaultApiV1GetNodeControllerReleaseRequest} requestParameters Request parameters.
|
|
@@ -3676,6 +3870,19 @@ export interface DefaultApiV1DeleteImageSetImageRequest {
|
|
|
3676
3870
|
*/
|
|
3677
3871
|
readonly imageId: string;
|
|
3678
3872
|
}
|
|
3873
|
+
/**
|
|
3874
|
+
* Request parameters for v1DeleteNodeCommand operation in DefaultApi.
|
|
3875
|
+
* @export
|
|
3876
|
+
* @interface DefaultApiV1DeleteNodeCommandRequest
|
|
3877
|
+
*/
|
|
3878
|
+
export interface DefaultApiV1DeleteNodeCommandRequest {
|
|
3879
|
+
/**
|
|
3880
|
+
*
|
|
3881
|
+
* @type {string}
|
|
3882
|
+
* @memberof DefaultApiV1DeleteNodeCommand
|
|
3883
|
+
*/
|
|
3884
|
+
readonly id: string;
|
|
3885
|
+
}
|
|
3679
3886
|
/**
|
|
3680
3887
|
* Request parameters for v1GetImageSet operation in DefaultApi.
|
|
3681
3888
|
* @export
|
|
@@ -3767,6 +3974,25 @@ export interface DefaultApiV1GetNodeRequest {
|
|
|
3767
3974
|
*/
|
|
3768
3975
|
readonly lineageId: string;
|
|
3769
3976
|
}
|
|
3977
|
+
/**
|
|
3978
|
+
* Request parameters for v1GetNodeCommands operation in DefaultApi.
|
|
3979
|
+
* @export
|
|
3980
|
+
* @interface DefaultApiV1GetNodeCommandsRequest
|
|
3981
|
+
*/
|
|
3982
|
+
export interface DefaultApiV1GetNodeCommandsRequest {
|
|
3983
|
+
/**
|
|
3984
|
+
*
|
|
3985
|
+
* @type {string}
|
|
3986
|
+
* @memberof DefaultApiV1GetNodeCommands
|
|
3987
|
+
*/
|
|
3988
|
+
readonly nodeId: string;
|
|
3989
|
+
/**
|
|
3990
|
+
*
|
|
3991
|
+
* @type {string}
|
|
3992
|
+
* @memberof DefaultApiV1GetNodeCommands
|
|
3993
|
+
*/
|
|
3994
|
+
readonly executableAt: string;
|
|
3995
|
+
}
|
|
3770
3996
|
/**
|
|
3771
3997
|
* Request parameters for v1GetNodeControllerRelease operation in DefaultApi.
|
|
3772
3998
|
* @export
|
|
@@ -4080,6 +4306,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
4080
4306
|
* @memberof DefaultApi
|
|
4081
4307
|
*/
|
|
4082
4308
|
v1DeleteImageSetImage(requestParameters: DefaultApiV1DeleteImageSetImageRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EmptySuccess, any>>;
|
|
4309
|
+
/**
|
|
4310
|
+
* Delete a node command
|
|
4311
|
+
* @param {DefaultApiV1DeleteNodeCommandRequest} requestParameters Request parameters.
|
|
4312
|
+
* @param {*} [options] Override http request option.
|
|
4313
|
+
* @throws {RequiredError}
|
|
4314
|
+
* @memberof DefaultApi
|
|
4315
|
+
*/
|
|
4316
|
+
v1DeleteNodeCommand(requestParameters: DefaultApiV1DeleteNodeCommandRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EmptySuccess, any>>;
|
|
4083
4317
|
/**
|
|
4084
4318
|
* Get cameras.
|
|
4085
4319
|
* @param {*} [options] Override http request option.
|
|
@@ -4143,6 +4377,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
4143
4377
|
* @memberof DefaultApi
|
|
4144
4378
|
*/
|
|
4145
4379
|
v1GetNode(requestParameters: DefaultApiV1GetNodeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<V1Node, any>>;
|
|
4380
|
+
/**
|
|
4381
|
+
* Get node commands
|
|
4382
|
+
* @param {DefaultApiV1GetNodeCommandsRequest} requestParameters Request parameters.
|
|
4383
|
+
* @param {*} [options] Override http request option.
|
|
4384
|
+
* @throws {RequiredError}
|
|
4385
|
+
* @memberof DefaultApi
|
|
4386
|
+
*/
|
|
4387
|
+
v1GetNodeCommands(requestParameters: DefaultApiV1GetNodeCommandsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<V1GetNodeCommandsResponse, any>>;
|
|
4146
4388
|
/**
|
|
4147
4389
|
* returns the current release for the node
|
|
4148
4390
|
* @param {DefaultApiV1GetNodeControllerReleaseRequest} 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.5040
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -166,6 +166,16 @@ export const UploadPriority = {
|
|
|
166
166
|
export const V1FileType = {
|
|
167
167
|
ZIP: 'ZIP'
|
|
168
168
|
};
|
|
169
|
+
/**
|
|
170
|
+
*
|
|
171
|
+
* @export
|
|
172
|
+
* @enum {string}
|
|
173
|
+
*/
|
|
174
|
+
export const V1NodeCommandType = {
|
|
175
|
+
V1_START_PERPETUAL_INSTRUCTION_LOOP: 'V1_START_PERPETUAL_INSTRUCTION_LOOP',
|
|
176
|
+
V1_STOP_PERPETUAL_INSTRUCTION_LOOP: 'V1_STOP_PERPETUAL_INSTRUCTION_LOOP',
|
|
177
|
+
V1_HALT: 'V1_HALT'
|
|
178
|
+
};
|
|
169
179
|
/**
|
|
170
180
|
*
|
|
171
181
|
* @export
|
|
@@ -765,6 +775,40 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
765
775
|
options: localVarRequestOptions,
|
|
766
776
|
};
|
|
767
777
|
}),
|
|
778
|
+
/**
|
|
779
|
+
* Delete a node command
|
|
780
|
+
* @param {string} id
|
|
781
|
+
* @param {*} [options] Override http request option.
|
|
782
|
+
* @throws {RequiredError}
|
|
783
|
+
*/
|
|
784
|
+
v1DeleteNodeCommand: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
785
|
+
// verify required parameter 'id' is not null or undefined
|
|
786
|
+
assertParamExists('v1DeleteNodeCommand', 'id', id);
|
|
787
|
+
const localVarPath = `/v1/node-commands`;
|
|
788
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
789
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
790
|
+
let baseOptions;
|
|
791
|
+
if (configuration) {
|
|
792
|
+
baseOptions = configuration.baseOptions;
|
|
793
|
+
}
|
|
794
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
795
|
+
const localVarHeaderParameter = {};
|
|
796
|
+
const localVarQueryParameter = {};
|
|
797
|
+
// authentication Roles required
|
|
798
|
+
// authentication BearerToken required
|
|
799
|
+
// http bearer authentication required
|
|
800
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
801
|
+
if (id !== undefined) {
|
|
802
|
+
localVarQueryParameter['id'] = id;
|
|
803
|
+
}
|
|
804
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
805
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
806
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
807
|
+
return {
|
|
808
|
+
url: toPathString(localVarUrlObj),
|
|
809
|
+
options: localVarRequestOptions,
|
|
810
|
+
};
|
|
811
|
+
}),
|
|
768
812
|
/**
|
|
769
813
|
* Get cameras.
|
|
770
814
|
* @param {*} [options] Override http request option.
|
|
@@ -1030,6 +1074,48 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1030
1074
|
options: localVarRequestOptions,
|
|
1031
1075
|
};
|
|
1032
1076
|
}),
|
|
1077
|
+
/**
|
|
1078
|
+
* Get node commands
|
|
1079
|
+
* @param {string} nodeId
|
|
1080
|
+
* @param {string} executableAt
|
|
1081
|
+
* @param {*} [options] Override http request option.
|
|
1082
|
+
* @throws {RequiredError}
|
|
1083
|
+
*/
|
|
1084
|
+
v1GetNodeCommands: (nodeId, executableAt, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1085
|
+
// verify required parameter 'nodeId' is not null or undefined
|
|
1086
|
+
assertParamExists('v1GetNodeCommands', 'nodeId', nodeId);
|
|
1087
|
+
// verify required parameter 'executableAt' is not null or undefined
|
|
1088
|
+
assertParamExists('v1GetNodeCommands', 'executableAt', executableAt);
|
|
1089
|
+
const localVarPath = `/v1/node-commands`;
|
|
1090
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1091
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1092
|
+
let baseOptions;
|
|
1093
|
+
if (configuration) {
|
|
1094
|
+
baseOptions = configuration.baseOptions;
|
|
1095
|
+
}
|
|
1096
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1097
|
+
const localVarHeaderParameter = {};
|
|
1098
|
+
const localVarQueryParameter = {};
|
|
1099
|
+
// authentication Roles required
|
|
1100
|
+
// authentication BearerToken required
|
|
1101
|
+
// http bearer authentication required
|
|
1102
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1103
|
+
if (nodeId !== undefined) {
|
|
1104
|
+
localVarQueryParameter['nodeId'] = nodeId;
|
|
1105
|
+
}
|
|
1106
|
+
if (executableAt !== undefined) {
|
|
1107
|
+
localVarQueryParameter['executableAt'] = (executableAt instanceof Date) ?
|
|
1108
|
+
executableAt.toISOString() :
|
|
1109
|
+
executableAt;
|
|
1110
|
+
}
|
|
1111
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1112
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1113
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1114
|
+
return {
|
|
1115
|
+
url: toPathString(localVarUrlObj),
|
|
1116
|
+
options: localVarRequestOptions,
|
|
1117
|
+
};
|
|
1118
|
+
}),
|
|
1033
1119
|
/**
|
|
1034
1120
|
* returns the current release for the node
|
|
1035
1121
|
* @param {string} lineageId lineage id
|
|
@@ -1696,6 +1782,18 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1696
1782
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1697
1783
|
});
|
|
1698
1784
|
},
|
|
1785
|
+
/**
|
|
1786
|
+
* Delete a node command
|
|
1787
|
+
* @param {string} id
|
|
1788
|
+
* @param {*} [options] Override http request option.
|
|
1789
|
+
* @throws {RequiredError}
|
|
1790
|
+
*/
|
|
1791
|
+
v1DeleteNodeCommand(id, options) {
|
|
1792
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1793
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1DeleteNodeCommand(id, options);
|
|
1794
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1795
|
+
});
|
|
1796
|
+
},
|
|
1699
1797
|
/**
|
|
1700
1798
|
* Get cameras.
|
|
1701
1799
|
* @param {*} [options] Override http request option.
|
|
@@ -1791,6 +1889,19 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1791
1889
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1792
1890
|
});
|
|
1793
1891
|
},
|
|
1892
|
+
/**
|
|
1893
|
+
* Get node commands
|
|
1894
|
+
* @param {string} nodeId
|
|
1895
|
+
* @param {string} executableAt
|
|
1896
|
+
* @param {*} [options] Override http request option.
|
|
1897
|
+
* @throws {RequiredError}
|
|
1898
|
+
*/
|
|
1899
|
+
v1GetNodeCommands(nodeId, executableAt, options) {
|
|
1900
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1901
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetNodeCommands(nodeId, executableAt, options);
|
|
1902
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1903
|
+
});
|
|
1904
|
+
},
|
|
1794
1905
|
/**
|
|
1795
1906
|
* returns the current release for the node
|
|
1796
1907
|
* @param {string} lineageId lineage id
|
|
@@ -2104,6 +2215,15 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2104
2215
|
v1DeleteImageSetImage(requestParameters, options) {
|
|
2105
2216
|
return localVarFp.v1DeleteImageSetImage(requestParameters.imageId, options).then((request) => request(axios, basePath));
|
|
2106
2217
|
},
|
|
2218
|
+
/**
|
|
2219
|
+
* Delete a node command
|
|
2220
|
+
* @param {DefaultApiV1DeleteNodeCommandRequest} requestParameters Request parameters.
|
|
2221
|
+
* @param {*} [options] Override http request option.
|
|
2222
|
+
* @throws {RequiredError}
|
|
2223
|
+
*/
|
|
2224
|
+
v1DeleteNodeCommand(requestParameters, options) {
|
|
2225
|
+
return localVarFp.v1DeleteNodeCommand(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
2226
|
+
},
|
|
2107
2227
|
/**
|
|
2108
2228
|
* Get cameras.
|
|
2109
2229
|
* @param {*} [options] Override http request option.
|
|
@@ -2175,6 +2295,15 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2175
2295
|
v1GetNode(requestParameters, options) {
|
|
2176
2296
|
return localVarFp.v1GetNode(requestParameters.lineageId, options).then((request) => request(axios, basePath));
|
|
2177
2297
|
},
|
|
2298
|
+
/**
|
|
2299
|
+
* Get node commands
|
|
2300
|
+
* @param {DefaultApiV1GetNodeCommandsRequest} requestParameters Request parameters.
|
|
2301
|
+
* @param {*} [options] Override http request option.
|
|
2302
|
+
* @throws {RequiredError}
|
|
2303
|
+
*/
|
|
2304
|
+
v1GetNodeCommands(requestParameters, options) {
|
|
2305
|
+
return localVarFp.v1GetNodeCommands(requestParameters.nodeId, requestParameters.executableAt, options).then((request) => request(axios, basePath));
|
|
2306
|
+
},
|
|
2178
2307
|
/**
|
|
2179
2308
|
* returns the current release for the node
|
|
2180
2309
|
* @param {DefaultApiV1GetNodeControllerReleaseRequest} requestParameters Request parameters.
|
|
@@ -2458,6 +2587,16 @@ export class DefaultApi extends BaseAPI {
|
|
|
2458
2587
|
v1DeleteImageSetImage(requestParameters, options) {
|
|
2459
2588
|
return DefaultApiFp(this.configuration).v1DeleteImageSetImage(requestParameters.imageId, options).then((request) => request(this.axios, this.basePath));
|
|
2460
2589
|
}
|
|
2590
|
+
/**
|
|
2591
|
+
* Delete a node command
|
|
2592
|
+
* @param {DefaultApiV1DeleteNodeCommandRequest} requestParameters Request parameters.
|
|
2593
|
+
* @param {*} [options] Override http request option.
|
|
2594
|
+
* @throws {RequiredError}
|
|
2595
|
+
* @memberof DefaultApi
|
|
2596
|
+
*/
|
|
2597
|
+
v1DeleteNodeCommand(requestParameters, options) {
|
|
2598
|
+
return DefaultApiFp(this.configuration).v1DeleteNodeCommand(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
2599
|
+
}
|
|
2461
2600
|
/**
|
|
2462
2601
|
* Get cameras.
|
|
2463
2602
|
* @param {*} [options] Override http request option.
|
|
@@ -2537,6 +2676,16 @@ export class DefaultApi extends BaseAPI {
|
|
|
2537
2676
|
v1GetNode(requestParameters, options) {
|
|
2538
2677
|
return DefaultApiFp(this.configuration).v1GetNode(requestParameters.lineageId, options).then((request) => request(this.axios, this.basePath));
|
|
2539
2678
|
}
|
|
2679
|
+
/**
|
|
2680
|
+
* Get node commands
|
|
2681
|
+
* @param {DefaultApiV1GetNodeCommandsRequest} requestParameters Request parameters.
|
|
2682
|
+
* @param {*} [options] Override http request option.
|
|
2683
|
+
* @throws {RequiredError}
|
|
2684
|
+
* @memberof DefaultApi
|
|
2685
|
+
*/
|
|
2686
|
+
v1GetNodeCommands(requestParameters, options) {
|
|
2687
|
+
return DefaultApiFp(this.configuration).v1GetNodeCommands(requestParameters.nodeId, requestParameters.executableAt, options).then((request) => request(this.axios, this.basePath));
|
|
2688
|
+
}
|
|
2540
2689
|
/**
|
|
2541
2690
|
* returns the current release for the node
|
|
2542
2691
|
* @param {DefaultApiV1GetNodeControllerReleaseRequest} 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.5040
|
|
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.5040
|
|
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.5040
|
|
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.5040
|
|
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.5040
|
|
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.5040
|
|
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.5040
|
|
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.5040
|
|
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.5040
|
|
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.5040
|
|
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.5040
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|