@ourskyai/platform-api 1.3.5020 → 1.3.5055
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 +296 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +192 -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 +192 -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.5055
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -919,6 +919,19 @@ export interface V1GetInstructionRequestUploadHealth {
|
|
|
919
919
|
*/
|
|
920
920
|
'averageUploadDurationSeconds'?: number;
|
|
921
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
|
+
}
|
|
922
935
|
/**
|
|
923
936
|
*
|
|
924
937
|
* @export
|
|
@@ -1207,6 +1220,19 @@ export interface V1GroundStationParticipant {
|
|
|
1207
1220
|
*/
|
|
1208
1221
|
'masterBias'?: string;
|
|
1209
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
|
+
}
|
|
1210
1236
|
/**
|
|
1211
1237
|
* An image set represents a contiguous set of observations of the same target captured by the same node.
|
|
1212
1238
|
* @export
|
|
@@ -1696,6 +1722,53 @@ export interface V1Node {
|
|
|
1696
1722
|
*/
|
|
1697
1723
|
'location': Location;
|
|
1698
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];
|
|
1699
1772
|
/**
|
|
1700
1773
|
*
|
|
1701
1774
|
* @export
|
|
@@ -2342,6 +2415,32 @@ export interface V1SlewTimingInterval {
|
|
|
2342
2415
|
*/
|
|
2343
2416
|
'durationMs': number;
|
|
2344
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
|
+
}
|
|
2345
2444
|
/**
|
|
2346
2445
|
*
|
|
2347
2446
|
* @export
|
|
@@ -2813,6 +2912,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2813
2912
|
* @throws {RequiredError}
|
|
2814
2913
|
*/
|
|
2815
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>;
|
|
2816
2922
|
/**
|
|
2817
2923
|
* Get cameras.
|
|
2818
2924
|
* @param {*} [options] Override http request option.
|
|
@@ -2868,6 +2974,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2868
2974
|
* @throws {RequiredError}
|
|
2869
2975
|
*/
|
|
2870
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>;
|
|
2871
2985
|
/**
|
|
2872
2986
|
* returns the current release for the node
|
|
2873
2987
|
* @param {string} lineageId lineage id
|
|
@@ -3085,6 +3199,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
3085
3199
|
* @throws {RequiredError}
|
|
3086
3200
|
*/
|
|
3087
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>>;
|
|
3088
3209
|
/**
|
|
3089
3210
|
* Get cameras.
|
|
3090
3211
|
* @param {*} [options] Override http request option.
|
|
@@ -3140,6 +3261,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
3140
3261
|
* @throws {RequiredError}
|
|
3141
3262
|
*/
|
|
3142
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>>;
|
|
3143
3272
|
/**
|
|
3144
3273
|
* returns the current release for the node
|
|
3145
3274
|
* @param {string} lineageId lineage id
|
|
@@ -3350,6 +3479,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
3350
3479
|
* @throws {RequiredError}
|
|
3351
3480
|
*/
|
|
3352
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>;
|
|
3353
3489
|
/**
|
|
3354
3490
|
* Get cameras.
|
|
3355
3491
|
* @param {*} [options] Override http request option.
|
|
@@ -3405,6 +3541,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
3405
3541
|
* @throws {RequiredError}
|
|
3406
3542
|
*/
|
|
3407
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>;
|
|
3408
3551
|
/**
|
|
3409
3552
|
* returns the current release for the node
|
|
3410
3553
|
* @param {DefaultApiV1GetNodeControllerReleaseRequest} requestParameters Request parameters.
|
|
@@ -3727,6 +3870,19 @@ export interface DefaultApiV1DeleteImageSetImageRequest {
|
|
|
3727
3870
|
*/
|
|
3728
3871
|
readonly imageId: string;
|
|
3729
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
|
+
}
|
|
3730
3886
|
/**
|
|
3731
3887
|
* Request parameters for v1GetImageSet operation in DefaultApi.
|
|
3732
3888
|
* @export
|
|
@@ -3818,6 +3974,25 @@ export interface DefaultApiV1GetNodeRequest {
|
|
|
3818
3974
|
*/
|
|
3819
3975
|
readonly lineageId: string;
|
|
3820
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
|
+
}
|
|
3821
3996
|
/**
|
|
3822
3997
|
* Request parameters for v1GetNodeControllerRelease operation in DefaultApi.
|
|
3823
3998
|
* @export
|
|
@@ -4131,6 +4306,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
4131
4306
|
* @memberof DefaultApi
|
|
4132
4307
|
*/
|
|
4133
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>>;
|
|
4134
4317
|
/**
|
|
4135
4318
|
* Get cameras.
|
|
4136
4319
|
* @param {*} [options] Override http request option.
|
|
@@ -4194,6 +4377,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
4194
4377
|
* @memberof DefaultApi
|
|
4195
4378
|
*/
|
|
4196
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>>;
|
|
4197
4388
|
/**
|
|
4198
4389
|
* returns the current release for the node
|
|
4199
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.5055
|
|
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.5055
|
|
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.5055
|
|
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.5055
|
|
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.5055
|
|
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.5055
|
|
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.5055
|
|
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.5055
|
|
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.5055
|
|
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.5055
|
|
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.5055
|
|
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.5055
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|