@ourskyai/platform-api 1.3.5020 → 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 +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/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).
|
|
@@ -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/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.5040
|
|
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.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;
|
|
25
|
+
exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.V1PlateSolveCatalogFileDownloadActionEnum = exports.V1NodeEventType = exports.V1NodeDiagnosticType = exports.V1NodeComponentType = exports.V1NodeCommandType = 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
|
|
@@ -169,6 +169,16 @@ exports.UploadPriority = {
|
|
|
169
169
|
exports.V1FileType = {
|
|
170
170
|
ZIP: 'ZIP'
|
|
171
171
|
};
|
|
172
|
+
/**
|
|
173
|
+
*
|
|
174
|
+
* @export
|
|
175
|
+
* @enum {string}
|
|
176
|
+
*/
|
|
177
|
+
exports.V1NodeCommandType = {
|
|
178
|
+
V1_START_PERPETUAL_INSTRUCTION_LOOP: 'V1_START_PERPETUAL_INSTRUCTION_LOOP',
|
|
179
|
+
V1_STOP_PERPETUAL_INSTRUCTION_LOOP: 'V1_STOP_PERPETUAL_INSTRUCTION_LOOP',
|
|
180
|
+
V1_HALT: 'V1_HALT'
|
|
181
|
+
};
|
|
172
182
|
/**
|
|
173
183
|
*
|
|
174
184
|
* @export
|
|
@@ -768,6 +778,40 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
768
778
|
options: localVarRequestOptions,
|
|
769
779
|
};
|
|
770
780
|
}),
|
|
781
|
+
/**
|
|
782
|
+
* Delete a node command
|
|
783
|
+
* @param {string} id
|
|
784
|
+
* @param {*} [options] Override http request option.
|
|
785
|
+
* @throws {RequiredError}
|
|
786
|
+
*/
|
|
787
|
+
v1DeleteNodeCommand: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
788
|
+
// verify required parameter 'id' is not null or undefined
|
|
789
|
+
(0, common_1.assertParamExists)('v1DeleteNodeCommand', 'id', id);
|
|
790
|
+
const localVarPath = `/v1/node-commands`;
|
|
791
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
792
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
793
|
+
let baseOptions;
|
|
794
|
+
if (configuration) {
|
|
795
|
+
baseOptions = configuration.baseOptions;
|
|
796
|
+
}
|
|
797
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
798
|
+
const localVarHeaderParameter = {};
|
|
799
|
+
const localVarQueryParameter = {};
|
|
800
|
+
// authentication Roles required
|
|
801
|
+
// authentication BearerToken required
|
|
802
|
+
// http bearer authentication required
|
|
803
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
804
|
+
if (id !== undefined) {
|
|
805
|
+
localVarQueryParameter['id'] = id;
|
|
806
|
+
}
|
|
807
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
808
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
809
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
810
|
+
return {
|
|
811
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
812
|
+
options: localVarRequestOptions,
|
|
813
|
+
};
|
|
814
|
+
}),
|
|
771
815
|
/**
|
|
772
816
|
* Get cameras.
|
|
773
817
|
* @param {*} [options] Override http request option.
|
|
@@ -1033,6 +1077,48 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1033
1077
|
options: localVarRequestOptions,
|
|
1034
1078
|
};
|
|
1035
1079
|
}),
|
|
1080
|
+
/**
|
|
1081
|
+
* Get node commands
|
|
1082
|
+
* @param {string} nodeId
|
|
1083
|
+
* @param {string} executableAt
|
|
1084
|
+
* @param {*} [options] Override http request option.
|
|
1085
|
+
* @throws {RequiredError}
|
|
1086
|
+
*/
|
|
1087
|
+
v1GetNodeCommands: (nodeId, executableAt, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1088
|
+
// verify required parameter 'nodeId' is not null or undefined
|
|
1089
|
+
(0, common_1.assertParamExists)('v1GetNodeCommands', 'nodeId', nodeId);
|
|
1090
|
+
// verify required parameter 'executableAt' is not null or undefined
|
|
1091
|
+
(0, common_1.assertParamExists)('v1GetNodeCommands', 'executableAt', executableAt);
|
|
1092
|
+
const localVarPath = `/v1/node-commands`;
|
|
1093
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1094
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1095
|
+
let baseOptions;
|
|
1096
|
+
if (configuration) {
|
|
1097
|
+
baseOptions = configuration.baseOptions;
|
|
1098
|
+
}
|
|
1099
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1100
|
+
const localVarHeaderParameter = {};
|
|
1101
|
+
const localVarQueryParameter = {};
|
|
1102
|
+
// authentication Roles required
|
|
1103
|
+
// authentication BearerToken required
|
|
1104
|
+
// http bearer authentication required
|
|
1105
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1106
|
+
if (nodeId !== undefined) {
|
|
1107
|
+
localVarQueryParameter['nodeId'] = nodeId;
|
|
1108
|
+
}
|
|
1109
|
+
if (executableAt !== undefined) {
|
|
1110
|
+
localVarQueryParameter['executableAt'] = (executableAt instanceof Date) ?
|
|
1111
|
+
executableAt.toISOString() :
|
|
1112
|
+
executableAt;
|
|
1113
|
+
}
|
|
1114
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1115
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1116
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1117
|
+
return {
|
|
1118
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1119
|
+
options: localVarRequestOptions,
|
|
1120
|
+
};
|
|
1121
|
+
}),
|
|
1036
1122
|
/**
|
|
1037
1123
|
* returns the current release for the node
|
|
1038
1124
|
* @param {string} lineageId lineage id
|
|
@@ -1700,6 +1786,18 @@ const DefaultApiFp = function (configuration) {
|
|
|
1700
1786
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1701
1787
|
});
|
|
1702
1788
|
},
|
|
1789
|
+
/**
|
|
1790
|
+
* Delete a node command
|
|
1791
|
+
* @param {string} id
|
|
1792
|
+
* @param {*} [options] Override http request option.
|
|
1793
|
+
* @throws {RequiredError}
|
|
1794
|
+
*/
|
|
1795
|
+
v1DeleteNodeCommand(id, options) {
|
|
1796
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1797
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1DeleteNodeCommand(id, options);
|
|
1798
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1799
|
+
});
|
|
1800
|
+
},
|
|
1703
1801
|
/**
|
|
1704
1802
|
* Get cameras.
|
|
1705
1803
|
* @param {*} [options] Override http request option.
|
|
@@ -1795,6 +1893,19 @@ const DefaultApiFp = function (configuration) {
|
|
|
1795
1893
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1796
1894
|
});
|
|
1797
1895
|
},
|
|
1896
|
+
/**
|
|
1897
|
+
* Get node commands
|
|
1898
|
+
* @param {string} nodeId
|
|
1899
|
+
* @param {string} executableAt
|
|
1900
|
+
* @param {*} [options] Override http request option.
|
|
1901
|
+
* @throws {RequiredError}
|
|
1902
|
+
*/
|
|
1903
|
+
v1GetNodeCommands(nodeId, executableAt, options) {
|
|
1904
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1905
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetNodeCommands(nodeId, executableAt, options);
|
|
1906
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1907
|
+
});
|
|
1908
|
+
},
|
|
1798
1909
|
/**
|
|
1799
1910
|
* returns the current release for the node
|
|
1800
1911
|
* @param {string} lineageId lineage id
|
|
@@ -2109,6 +2220,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2109
2220
|
v1DeleteImageSetImage(requestParameters, options) {
|
|
2110
2221
|
return localVarFp.v1DeleteImageSetImage(requestParameters.imageId, options).then((request) => request(axios, basePath));
|
|
2111
2222
|
},
|
|
2223
|
+
/**
|
|
2224
|
+
* Delete a node command
|
|
2225
|
+
* @param {DefaultApiV1DeleteNodeCommandRequest} requestParameters Request parameters.
|
|
2226
|
+
* @param {*} [options] Override http request option.
|
|
2227
|
+
* @throws {RequiredError}
|
|
2228
|
+
*/
|
|
2229
|
+
v1DeleteNodeCommand(requestParameters, options) {
|
|
2230
|
+
return localVarFp.v1DeleteNodeCommand(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
2231
|
+
},
|
|
2112
2232
|
/**
|
|
2113
2233
|
* Get cameras.
|
|
2114
2234
|
* @param {*} [options] Override http request option.
|
|
@@ -2180,6 +2300,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2180
2300
|
v1GetNode(requestParameters, options) {
|
|
2181
2301
|
return localVarFp.v1GetNode(requestParameters.lineageId, options).then((request) => request(axios, basePath));
|
|
2182
2302
|
},
|
|
2303
|
+
/**
|
|
2304
|
+
* Get node commands
|
|
2305
|
+
* @param {DefaultApiV1GetNodeCommandsRequest} requestParameters Request parameters.
|
|
2306
|
+
* @param {*} [options] Override http request option.
|
|
2307
|
+
* @throws {RequiredError}
|
|
2308
|
+
*/
|
|
2309
|
+
v1GetNodeCommands(requestParameters, options) {
|
|
2310
|
+
return localVarFp.v1GetNodeCommands(requestParameters.nodeId, requestParameters.executableAt, options).then((request) => request(axios, basePath));
|
|
2311
|
+
},
|
|
2183
2312
|
/**
|
|
2184
2313
|
* returns the current release for the node
|
|
2185
2314
|
* @param {DefaultApiV1GetNodeControllerReleaseRequest} requestParameters Request parameters.
|
|
@@ -2464,6 +2593,16 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
2464
2593
|
v1DeleteImageSetImage(requestParameters, options) {
|
|
2465
2594
|
return (0, exports.DefaultApiFp)(this.configuration).v1DeleteImageSetImage(requestParameters.imageId, options).then((request) => request(this.axios, this.basePath));
|
|
2466
2595
|
}
|
|
2596
|
+
/**
|
|
2597
|
+
* Delete a node command
|
|
2598
|
+
* @param {DefaultApiV1DeleteNodeCommandRequest} requestParameters Request parameters.
|
|
2599
|
+
* @param {*} [options] Override http request option.
|
|
2600
|
+
* @throws {RequiredError}
|
|
2601
|
+
* @memberof DefaultApi
|
|
2602
|
+
*/
|
|
2603
|
+
v1DeleteNodeCommand(requestParameters, options) {
|
|
2604
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1DeleteNodeCommand(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
2605
|
+
}
|
|
2467
2606
|
/**
|
|
2468
2607
|
* Get cameras.
|
|
2469
2608
|
* @param {*} [options] Override http request option.
|
|
@@ -2543,6 +2682,16 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
2543
2682
|
v1GetNode(requestParameters, options) {
|
|
2544
2683
|
return (0, exports.DefaultApiFp)(this.configuration).v1GetNode(requestParameters.lineageId, options).then((request) => request(this.axios, this.basePath));
|
|
2545
2684
|
}
|
|
2685
|
+
/**
|
|
2686
|
+
* Get node commands
|
|
2687
|
+
* @param {DefaultApiV1GetNodeCommandsRequest} requestParameters Request parameters.
|
|
2688
|
+
* @param {*} [options] Override http request option.
|
|
2689
|
+
* @throws {RequiredError}
|
|
2690
|
+
* @memberof DefaultApi
|
|
2691
|
+
*/
|
|
2692
|
+
v1GetNodeCommands(requestParameters, options) {
|
|
2693
|
+
return (0, exports.DefaultApiFp)(this.configuration).v1GetNodeCommands(requestParameters.nodeId, requestParameters.executableAt, options).then((request) => request(this.axios, this.basePath));
|
|
2694
|
+
}
|
|
2546
2695
|
/**
|
|
2547
2696
|
* returns the current release for the node
|
|
2548
2697
|
* @param {DefaultApiV1GetNodeControllerReleaseRequest} 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.5040
|
|
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.5040
|
|
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.5040
|
|
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.5040
|
|
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.5040
|
|
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.5040
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|