@ourskyai/platform-api 1.3.8459 → 1.3.8815
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 +765 -11
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +477 -1
- package/dist/api.js +409 -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 +477 -1
- package/dist/esm/api.js +408 -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.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.8815
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -271,6 +271,17 @@ export const V1ImageRejectionReason = {
|
|
|
271
271
|
MISSING_IMG_WIDTH_HEADER: 'MISSING_IMG_WIDTH_HEADER',
|
|
272
272
|
UNKNOWN_ERROR: 'UNKNOWN_ERROR'
|
|
273
273
|
};
|
|
274
|
+
/**
|
|
275
|
+
*
|
|
276
|
+
* @export
|
|
277
|
+
* @enum {string}
|
|
278
|
+
*/
|
|
279
|
+
export const V1JobStatus = {
|
|
280
|
+
PENDING: 'PENDING',
|
|
281
|
+
RUNNING: 'RUNNING',
|
|
282
|
+
SUCCEEDED: 'SUCCEEDED',
|
|
283
|
+
FAILED: 'FAILED'
|
|
284
|
+
};
|
|
274
285
|
/**
|
|
275
286
|
*
|
|
276
287
|
* @export
|
|
@@ -406,6 +417,82 @@ export const V1TimeWindowedAssetType = {
|
|
|
406
417
|
*/
|
|
407
418
|
export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
408
419
|
return {
|
|
420
|
+
/**
|
|
421
|
+
* Get edge controller crash report details
|
|
422
|
+
* @param {string} id
|
|
423
|
+
* @param {*} [options] Override http request option.
|
|
424
|
+
* @throws {RequiredError}
|
|
425
|
+
*/
|
|
426
|
+
adminV1GetNodeControllerCrashReport: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
427
|
+
// verify required parameter 'id' is not null or undefined
|
|
428
|
+
assertParamExists('adminV1GetNodeControllerCrashReport', 'id', id);
|
|
429
|
+
const localVarPath = `/v1/node-controller/crash-report`;
|
|
430
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
431
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
432
|
+
let baseOptions;
|
|
433
|
+
if (configuration) {
|
|
434
|
+
baseOptions = configuration.baseOptions;
|
|
435
|
+
}
|
|
436
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
437
|
+
const localVarHeaderParameter = {};
|
|
438
|
+
const localVarQueryParameter = {};
|
|
439
|
+
// authentication Roles required
|
|
440
|
+
// authentication BearerToken required
|
|
441
|
+
// http bearer authentication required
|
|
442
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
443
|
+
if (id !== undefined) {
|
|
444
|
+
localVarQueryParameter['id'] = id;
|
|
445
|
+
}
|
|
446
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
447
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
448
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
449
|
+
return {
|
|
450
|
+
url: toPathString(localVarUrlObj),
|
|
451
|
+
options: localVarRequestOptions,
|
|
452
|
+
};
|
|
453
|
+
}),
|
|
454
|
+
/**
|
|
455
|
+
* Get edge controller crash reports around a specific timeframe
|
|
456
|
+
* @param {string} lineageId
|
|
457
|
+
* @param {string} time
|
|
458
|
+
* @param {*} [options] Override http request option.
|
|
459
|
+
* @throws {RequiredError}
|
|
460
|
+
*/
|
|
461
|
+
adminV1GetNodeControllerCrashReportsAtTime: (lineageId, time, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
462
|
+
// verify required parameter 'lineageId' is not null or undefined
|
|
463
|
+
assertParamExists('adminV1GetNodeControllerCrashReportsAtTime', 'lineageId', lineageId);
|
|
464
|
+
// verify required parameter 'time' is not null or undefined
|
|
465
|
+
assertParamExists('adminV1GetNodeControllerCrashReportsAtTime', 'time', time);
|
|
466
|
+
const localVarPath = `/v1/node-controller/crash-reports-at-time`;
|
|
467
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
468
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
469
|
+
let baseOptions;
|
|
470
|
+
if (configuration) {
|
|
471
|
+
baseOptions = configuration.baseOptions;
|
|
472
|
+
}
|
|
473
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
474
|
+
const localVarHeaderParameter = {};
|
|
475
|
+
const localVarQueryParameter = {};
|
|
476
|
+
// authentication Roles required
|
|
477
|
+
// authentication BearerToken required
|
|
478
|
+
// http bearer authentication required
|
|
479
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
480
|
+
if (lineageId !== undefined) {
|
|
481
|
+
localVarQueryParameter['lineageId'] = lineageId;
|
|
482
|
+
}
|
|
483
|
+
if (time !== undefined) {
|
|
484
|
+
localVarQueryParameter['time'] = (time instanceof Date) ?
|
|
485
|
+
time.toISOString() :
|
|
486
|
+
time;
|
|
487
|
+
}
|
|
488
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
489
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
490
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
491
|
+
return {
|
|
492
|
+
url: toPathString(localVarUrlObj),
|
|
493
|
+
options: localVarRequestOptions,
|
|
494
|
+
};
|
|
495
|
+
}),
|
|
409
496
|
/**
|
|
410
497
|
* Get images for a node for display in a camera roll format
|
|
411
498
|
* @param {string} [nodeId]
|
|
@@ -568,6 +655,39 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
568
655
|
options: localVarRequestOptions,
|
|
569
656
|
};
|
|
570
657
|
}),
|
|
658
|
+
/**
|
|
659
|
+
* Complete a crash report.
|
|
660
|
+
* @param {V1CompleteNodeControllerCrashReportRequest} v1CompleteNodeControllerCrashReportRequest
|
|
661
|
+
* @param {*} [options] Override http request option.
|
|
662
|
+
* @throws {RequiredError}
|
|
663
|
+
*/
|
|
664
|
+
v1CompleteNodeControllerCrashReport: (v1CompleteNodeControllerCrashReportRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
665
|
+
// verify required parameter 'v1CompleteNodeControllerCrashReportRequest' is not null or undefined
|
|
666
|
+
assertParamExists('v1CompleteNodeControllerCrashReport', 'v1CompleteNodeControllerCrashReportRequest', v1CompleteNodeControllerCrashReportRequest);
|
|
667
|
+
const localVarPath = `/v1/node-controller/complete-crash-report`;
|
|
668
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
669
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
670
|
+
let baseOptions;
|
|
671
|
+
if (configuration) {
|
|
672
|
+
baseOptions = configuration.baseOptions;
|
|
673
|
+
}
|
|
674
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
675
|
+
const localVarHeaderParameter = {};
|
|
676
|
+
const localVarQueryParameter = {};
|
|
677
|
+
// authentication Roles required
|
|
678
|
+
// authentication BearerToken required
|
|
679
|
+
// http bearer authentication required
|
|
680
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
681
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
682
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
683
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
684
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
685
|
+
localVarRequestOptions.data = serializeDataIfNeeded(v1CompleteNodeControllerCrashReportRequest, localVarRequestOptions, configuration);
|
|
686
|
+
return {
|
|
687
|
+
url: toPathString(localVarUrlObj),
|
|
688
|
+
options: localVarRequestOptions,
|
|
689
|
+
};
|
|
690
|
+
}),
|
|
571
691
|
/**
|
|
572
692
|
* Complete a node flare.
|
|
573
693
|
* @param {V1CompleteNodeFlareRequest} v1CompleteNodeFlareRequest
|
|
@@ -993,6 +1113,39 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
993
1113
|
options: localVarRequestOptions,
|
|
994
1114
|
};
|
|
995
1115
|
}),
|
|
1116
|
+
/**
|
|
1117
|
+
* create a crash report record
|
|
1118
|
+
* @param {V1CreateNodeControllerCrashReportRequest} v1CreateNodeControllerCrashReportRequest
|
|
1119
|
+
* @param {*} [options] Override http request option.
|
|
1120
|
+
* @throws {RequiredError}
|
|
1121
|
+
*/
|
|
1122
|
+
v1CreateNodeControllerCrashReport: (v1CreateNodeControllerCrashReportRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1123
|
+
// verify required parameter 'v1CreateNodeControllerCrashReportRequest' is not null or undefined
|
|
1124
|
+
assertParamExists('v1CreateNodeControllerCrashReport', 'v1CreateNodeControllerCrashReportRequest', v1CreateNodeControllerCrashReportRequest);
|
|
1125
|
+
const localVarPath = `/v1/node-controller/crash-report`;
|
|
1126
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1127
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1128
|
+
let baseOptions;
|
|
1129
|
+
if (configuration) {
|
|
1130
|
+
baseOptions = configuration.baseOptions;
|
|
1131
|
+
}
|
|
1132
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1133
|
+
const localVarHeaderParameter = {};
|
|
1134
|
+
const localVarQueryParameter = {};
|
|
1135
|
+
// authentication Roles required
|
|
1136
|
+
// authentication BearerToken required
|
|
1137
|
+
// http bearer authentication required
|
|
1138
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1139
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1140
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1141
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1142
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1143
|
+
localVarRequestOptions.data = serializeDataIfNeeded(v1CreateNodeControllerCrashReportRequest, localVarRequestOptions, configuration);
|
|
1144
|
+
return {
|
|
1145
|
+
url: toPathString(localVarUrlObj),
|
|
1146
|
+
options: localVarRequestOptions,
|
|
1147
|
+
};
|
|
1148
|
+
}),
|
|
996
1149
|
/**
|
|
997
1150
|
* Create node diagnostics.
|
|
998
1151
|
* @param {V1CreateNodeDiagnosticsRequest} v1CreateNodeDiagnosticsRequest
|
|
@@ -2032,6 +2185,40 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2032
2185
|
options: localVarRequestOptions,
|
|
2033
2186
|
};
|
|
2034
2187
|
}),
|
|
2188
|
+
/**
|
|
2189
|
+
* Get OTA encryption result
|
|
2190
|
+
* @param {string} id
|
|
2191
|
+
* @param {*} [options] Override http request option.
|
|
2192
|
+
* @throws {RequiredError}
|
|
2193
|
+
*/
|
|
2194
|
+
v1GetOTAEncryption: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2195
|
+
// verify required parameter 'id' is not null or undefined
|
|
2196
|
+
assertParamExists('v1GetOTAEncryption', 'id', id);
|
|
2197
|
+
const localVarPath = `/v1/encrypt-ota`;
|
|
2198
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2199
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2200
|
+
let baseOptions;
|
|
2201
|
+
if (configuration) {
|
|
2202
|
+
baseOptions = configuration.baseOptions;
|
|
2203
|
+
}
|
|
2204
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2205
|
+
const localVarHeaderParameter = {};
|
|
2206
|
+
const localVarQueryParameter = {};
|
|
2207
|
+
// authentication Roles required
|
|
2208
|
+
// authentication BearerToken required
|
|
2209
|
+
// http bearer authentication required
|
|
2210
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2211
|
+
if (id !== undefined) {
|
|
2212
|
+
localVarQueryParameter['id'] = id;
|
|
2213
|
+
}
|
|
2214
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2215
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2216
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2217
|
+
return {
|
|
2218
|
+
url: toPathString(localVarUrlObj),
|
|
2219
|
+
options: localVarRequestOptions,
|
|
2220
|
+
};
|
|
2221
|
+
}),
|
|
2035
2222
|
/**
|
|
2036
2223
|
* Get an optical tube.
|
|
2037
2224
|
* @param {string} id
|
|
@@ -2681,6 +2868,39 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2681
2868
|
options: localVarRequestOptions,
|
|
2682
2869
|
};
|
|
2683
2870
|
}),
|
|
2871
|
+
/**
|
|
2872
|
+
* Start OTA encryption of latest software release for the specified edge controller
|
|
2873
|
+
* @param {V1OTAEncryptionRequestLatest} v1OTAEncryptionRequestLatest
|
|
2874
|
+
* @param {*} [options] Override http request option.
|
|
2875
|
+
* @throws {RequiredError}
|
|
2876
|
+
*/
|
|
2877
|
+
v1StartOTAEncryptionLatest: (v1OTAEncryptionRequestLatest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2878
|
+
// verify required parameter 'v1OTAEncryptionRequestLatest' is not null or undefined
|
|
2879
|
+
assertParamExists('v1StartOTAEncryptionLatest', 'v1OTAEncryptionRequestLatest', v1OTAEncryptionRequestLatest);
|
|
2880
|
+
const localVarPath = `/v1/encrypt-ota`;
|
|
2881
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2882
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2883
|
+
let baseOptions;
|
|
2884
|
+
if (configuration) {
|
|
2885
|
+
baseOptions = configuration.baseOptions;
|
|
2886
|
+
}
|
|
2887
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
2888
|
+
const localVarHeaderParameter = {};
|
|
2889
|
+
const localVarQueryParameter = {};
|
|
2890
|
+
// authentication Roles required
|
|
2891
|
+
// authentication BearerToken required
|
|
2892
|
+
// http bearer authentication required
|
|
2893
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2894
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2895
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2896
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2897
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2898
|
+
localVarRequestOptions.data = serializeDataIfNeeded(v1OTAEncryptionRequestLatest, localVarRequestOptions, configuration);
|
|
2899
|
+
return {
|
|
2900
|
+
url: toPathString(localVarUrlObj),
|
|
2901
|
+
options: localVarRequestOptions,
|
|
2902
|
+
};
|
|
2903
|
+
}),
|
|
2684
2904
|
/**
|
|
2685
2905
|
* Update a mount.
|
|
2686
2906
|
* @param {V1UpdateMountRequest} v1UpdateMountRequest
|
|
@@ -2884,6 +3104,31 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2884
3104
|
export const DefaultApiFp = function (configuration) {
|
|
2885
3105
|
const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration);
|
|
2886
3106
|
return {
|
|
3107
|
+
/**
|
|
3108
|
+
* Get edge controller crash report details
|
|
3109
|
+
* @param {string} id
|
|
3110
|
+
* @param {*} [options] Override http request option.
|
|
3111
|
+
* @throws {RequiredError}
|
|
3112
|
+
*/
|
|
3113
|
+
adminV1GetNodeControllerCrashReport(id, options) {
|
|
3114
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3115
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1GetNodeControllerCrashReport(id, options);
|
|
3116
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3117
|
+
});
|
|
3118
|
+
},
|
|
3119
|
+
/**
|
|
3120
|
+
* Get edge controller crash reports around a specific timeframe
|
|
3121
|
+
* @param {string} lineageId
|
|
3122
|
+
* @param {string} time
|
|
3123
|
+
* @param {*} [options] Override http request option.
|
|
3124
|
+
* @throws {RequiredError}
|
|
3125
|
+
*/
|
|
3126
|
+
adminV1GetNodeControllerCrashReportsAtTime(lineageId, time, options) {
|
|
3127
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3128
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1GetNodeControllerCrashReportsAtTime(lineageId, time, options);
|
|
3129
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3130
|
+
});
|
|
3131
|
+
},
|
|
2887
3132
|
/**
|
|
2888
3133
|
* Get images for a node for display in a camera roll format
|
|
2889
3134
|
* @param {string} [nodeId]
|
|
@@ -2940,6 +3185,18 @@ export const DefaultApiFp = function (configuration) {
|
|
|
2940
3185
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2941
3186
|
});
|
|
2942
3187
|
},
|
|
3188
|
+
/**
|
|
3189
|
+
* Complete a crash report.
|
|
3190
|
+
* @param {V1CompleteNodeControllerCrashReportRequest} v1CompleteNodeControllerCrashReportRequest
|
|
3191
|
+
* @param {*} [options] Override http request option.
|
|
3192
|
+
* @throws {RequiredError}
|
|
3193
|
+
*/
|
|
3194
|
+
v1CompleteNodeControllerCrashReport(v1CompleteNodeControllerCrashReportRequest, options) {
|
|
3195
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3196
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CompleteNodeControllerCrashReport(v1CompleteNodeControllerCrashReportRequest, options);
|
|
3197
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3198
|
+
});
|
|
3199
|
+
},
|
|
2943
3200
|
/**
|
|
2944
3201
|
* Complete a node flare.
|
|
2945
3202
|
* @param {V1CompleteNodeFlareRequest} v1CompleteNodeFlareRequest
|
|
@@ -3096,6 +3353,18 @@ export const DefaultApiFp = function (configuration) {
|
|
|
3096
3353
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3097
3354
|
});
|
|
3098
3355
|
},
|
|
3356
|
+
/**
|
|
3357
|
+
* create a crash report record
|
|
3358
|
+
* @param {V1CreateNodeControllerCrashReportRequest} v1CreateNodeControllerCrashReportRequest
|
|
3359
|
+
* @param {*} [options] Override http request option.
|
|
3360
|
+
* @throws {RequiredError}
|
|
3361
|
+
*/
|
|
3362
|
+
v1CreateNodeControllerCrashReport(v1CreateNodeControllerCrashReportRequest, options) {
|
|
3363
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3364
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateNodeControllerCrashReport(v1CreateNodeControllerCrashReportRequest, options);
|
|
3365
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3366
|
+
});
|
|
3367
|
+
},
|
|
3099
3368
|
/**
|
|
3100
3369
|
* Create node diagnostics.
|
|
3101
3370
|
* @param {V1CreateNodeDiagnosticsRequest} v1CreateNodeDiagnosticsRequest
|
|
@@ -3463,6 +3732,18 @@ export const DefaultApiFp = function (configuration) {
|
|
|
3463
3732
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3464
3733
|
});
|
|
3465
3734
|
},
|
|
3735
|
+
/**
|
|
3736
|
+
* Get OTA encryption result
|
|
3737
|
+
* @param {string} id
|
|
3738
|
+
* @param {*} [options] Override http request option.
|
|
3739
|
+
* @throws {RequiredError}
|
|
3740
|
+
*/
|
|
3741
|
+
v1GetOTAEncryption(id, options) {
|
|
3742
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3743
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetOTAEncryption(id, options);
|
|
3744
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3745
|
+
});
|
|
3746
|
+
},
|
|
3466
3747
|
/**
|
|
3467
3748
|
* Get an optical tube.
|
|
3468
3749
|
* @param {string} id
|
|
@@ -3706,6 +3987,18 @@ export const DefaultApiFp = function (configuration) {
|
|
|
3706
3987
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3707
3988
|
});
|
|
3708
3989
|
},
|
|
3990
|
+
/**
|
|
3991
|
+
* Start OTA encryption of latest software release for the specified edge controller
|
|
3992
|
+
* @param {V1OTAEncryptionRequestLatest} v1OTAEncryptionRequestLatest
|
|
3993
|
+
* @param {*} [options] Override http request option.
|
|
3994
|
+
* @throws {RequiredError}
|
|
3995
|
+
*/
|
|
3996
|
+
v1StartOTAEncryptionLatest(v1OTAEncryptionRequestLatest, options) {
|
|
3997
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3998
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1StartOTAEncryptionLatest(v1OTAEncryptionRequestLatest, options);
|
|
3999
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4000
|
+
});
|
|
4001
|
+
},
|
|
3709
4002
|
/**
|
|
3710
4003
|
* Update a mount.
|
|
3711
4004
|
* @param {V1UpdateMountRequest} v1UpdateMountRequest
|
|
@@ -3787,6 +4080,24 @@ export const DefaultApiFp = function (configuration) {
|
|
|
3787
4080
|
export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
3788
4081
|
const localVarFp = DefaultApiFp(configuration);
|
|
3789
4082
|
return {
|
|
4083
|
+
/**
|
|
4084
|
+
* Get edge controller crash report details
|
|
4085
|
+
* @param {DefaultApiAdminV1GetNodeControllerCrashReportRequest} requestParameters Request parameters.
|
|
4086
|
+
* @param {*} [options] Override http request option.
|
|
4087
|
+
* @throws {RequiredError}
|
|
4088
|
+
*/
|
|
4089
|
+
adminV1GetNodeControllerCrashReport(requestParameters, options) {
|
|
4090
|
+
return localVarFp.adminV1GetNodeControllerCrashReport(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
4091
|
+
},
|
|
4092
|
+
/**
|
|
4093
|
+
* Get edge controller crash reports around a specific timeframe
|
|
4094
|
+
* @param {DefaultApiAdminV1GetNodeControllerCrashReportsAtTimeRequest} requestParameters Request parameters.
|
|
4095
|
+
* @param {*} [options] Override http request option.
|
|
4096
|
+
* @throws {RequiredError}
|
|
4097
|
+
*/
|
|
4098
|
+
adminV1GetNodeControllerCrashReportsAtTime(requestParameters, options) {
|
|
4099
|
+
return localVarFp.adminV1GetNodeControllerCrashReportsAtTime(requestParameters.lineageId, requestParameters.time, options).then((request) => request(axios, basePath));
|
|
4100
|
+
},
|
|
3790
4101
|
/**
|
|
3791
4102
|
* Get images for a node for display in a camera roll format
|
|
3792
4103
|
* @param {DefaultApiGetCameraRollRequest} requestParameters Request parameters.
|
|
@@ -3821,6 +4132,15 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
3821
4132
|
v1CompleteBootstrap(options) {
|
|
3822
4133
|
return localVarFp.v1CompleteBootstrap(options).then((request) => request(axios, basePath));
|
|
3823
4134
|
},
|
|
4135
|
+
/**
|
|
4136
|
+
* Complete a crash report.
|
|
4137
|
+
* @param {DefaultApiV1CompleteNodeControllerCrashReportRequest} requestParameters Request parameters.
|
|
4138
|
+
* @param {*} [options] Override http request option.
|
|
4139
|
+
* @throws {RequiredError}
|
|
4140
|
+
*/
|
|
4141
|
+
v1CompleteNodeControllerCrashReport(requestParameters, options) {
|
|
4142
|
+
return localVarFp.v1CompleteNodeControllerCrashReport(requestParameters.v1CompleteNodeControllerCrashReportRequest, options).then((request) => request(axios, basePath));
|
|
4143
|
+
},
|
|
3824
4144
|
/**
|
|
3825
4145
|
* Complete a node flare.
|
|
3826
4146
|
* @param {DefaultApiV1CompleteNodeFlareRequest} requestParameters Request parameters.
|
|
@@ -3938,6 +4258,15 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
3938
4258
|
v1CreateNodeControllerArtifact(requestParameters, options) {
|
|
3939
4259
|
return localVarFp.v1CreateNodeControllerArtifact(requestParameters.v1CreateNodeControllerArtifactRequest, options).then((request) => request(axios, basePath));
|
|
3940
4260
|
},
|
|
4261
|
+
/**
|
|
4262
|
+
* create a crash report record
|
|
4263
|
+
* @param {DefaultApiV1CreateNodeControllerCrashReportRequest} requestParameters Request parameters.
|
|
4264
|
+
* @param {*} [options] Override http request option.
|
|
4265
|
+
* @throws {RequiredError}
|
|
4266
|
+
*/
|
|
4267
|
+
v1CreateNodeControllerCrashReport(requestParameters, options) {
|
|
4268
|
+
return localVarFp.v1CreateNodeControllerCrashReport(requestParameters.v1CreateNodeControllerCrashReportRequest, options).then((request) => request(axios, basePath));
|
|
4269
|
+
},
|
|
3941
4270
|
/**
|
|
3942
4271
|
* Create node diagnostics.
|
|
3943
4272
|
* @param {DefaultApiV1CreateNodeDiagnosticsRequest} requestParameters Request parameters.
|
|
@@ -4206,6 +4535,15 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
4206
4535
|
v1GetNodes(options) {
|
|
4207
4536
|
return localVarFp.v1GetNodes(options).then((request) => request(axios, basePath));
|
|
4208
4537
|
},
|
|
4538
|
+
/**
|
|
4539
|
+
* Get OTA encryption result
|
|
4540
|
+
* @param {DefaultApiV1GetOTAEncryptionRequest} requestParameters Request parameters.
|
|
4541
|
+
* @param {*} [options] Override http request option.
|
|
4542
|
+
* @throws {RequiredError}
|
|
4543
|
+
*/
|
|
4544
|
+
v1GetOTAEncryption(requestParameters, options) {
|
|
4545
|
+
return localVarFp.v1GetOTAEncryption(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
4546
|
+
},
|
|
4209
4547
|
/**
|
|
4210
4548
|
* Get an optical tube.
|
|
4211
4549
|
* @param {DefaultApiV1GetOpticalTubeRequest} requestParameters Request parameters.
|
|
@@ -4387,6 +4725,15 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
4387
4725
|
v1RequestMacAddresses(requestParameters, options) {
|
|
4388
4726
|
return localVarFp.v1RequestMacAddresses(requestParameters.v1RequestMacAddressesRequest, options).then((request) => request(axios, basePath));
|
|
4389
4727
|
},
|
|
4728
|
+
/**
|
|
4729
|
+
* Start OTA encryption of latest software release for the specified edge controller
|
|
4730
|
+
* @param {DefaultApiV1StartOTAEncryptionLatestRequest} requestParameters Request parameters.
|
|
4731
|
+
* @param {*} [options] Override http request option.
|
|
4732
|
+
* @throws {RequiredError}
|
|
4733
|
+
*/
|
|
4734
|
+
v1StartOTAEncryptionLatest(requestParameters, options) {
|
|
4735
|
+
return localVarFp.v1StartOTAEncryptionLatest(requestParameters.v1OTAEncryptionRequestLatest, options).then((request) => request(axios, basePath));
|
|
4736
|
+
},
|
|
4390
4737
|
/**
|
|
4391
4738
|
* Update a mount.
|
|
4392
4739
|
* @param {DefaultApiV1UpdateMountRequest} requestParameters Request parameters.
|
|
@@ -4450,6 +4797,26 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
4450
4797
|
* @extends {BaseAPI}
|
|
4451
4798
|
*/
|
|
4452
4799
|
export class DefaultApi extends BaseAPI {
|
|
4800
|
+
/**
|
|
4801
|
+
* Get edge controller crash report details
|
|
4802
|
+
* @param {DefaultApiAdminV1GetNodeControllerCrashReportRequest} requestParameters Request parameters.
|
|
4803
|
+
* @param {*} [options] Override http request option.
|
|
4804
|
+
* @throws {RequiredError}
|
|
4805
|
+
* @memberof DefaultApi
|
|
4806
|
+
*/
|
|
4807
|
+
adminV1GetNodeControllerCrashReport(requestParameters, options) {
|
|
4808
|
+
return DefaultApiFp(this.configuration).adminV1GetNodeControllerCrashReport(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
4809
|
+
}
|
|
4810
|
+
/**
|
|
4811
|
+
* Get edge controller crash reports around a specific timeframe
|
|
4812
|
+
* @param {DefaultApiAdminV1GetNodeControllerCrashReportsAtTimeRequest} requestParameters Request parameters.
|
|
4813
|
+
* @param {*} [options] Override http request option.
|
|
4814
|
+
* @throws {RequiredError}
|
|
4815
|
+
* @memberof DefaultApi
|
|
4816
|
+
*/
|
|
4817
|
+
adminV1GetNodeControllerCrashReportsAtTime(requestParameters, options) {
|
|
4818
|
+
return DefaultApiFp(this.configuration).adminV1GetNodeControllerCrashReportsAtTime(requestParameters.lineageId, requestParameters.time, options).then((request) => request(this.axios, this.basePath));
|
|
4819
|
+
}
|
|
4453
4820
|
/**
|
|
4454
4821
|
* Get images for a node for display in a camera roll format
|
|
4455
4822
|
* @param {DefaultApiGetCameraRollRequest} requestParameters Request parameters.
|
|
@@ -4488,6 +4855,16 @@ export class DefaultApi extends BaseAPI {
|
|
|
4488
4855
|
v1CompleteBootstrap(options) {
|
|
4489
4856
|
return DefaultApiFp(this.configuration).v1CompleteBootstrap(options).then((request) => request(this.axios, this.basePath));
|
|
4490
4857
|
}
|
|
4858
|
+
/**
|
|
4859
|
+
* Complete a crash report.
|
|
4860
|
+
* @param {DefaultApiV1CompleteNodeControllerCrashReportRequest} requestParameters Request parameters.
|
|
4861
|
+
* @param {*} [options] Override http request option.
|
|
4862
|
+
* @throws {RequiredError}
|
|
4863
|
+
* @memberof DefaultApi
|
|
4864
|
+
*/
|
|
4865
|
+
v1CompleteNodeControllerCrashReport(requestParameters, options) {
|
|
4866
|
+
return DefaultApiFp(this.configuration).v1CompleteNodeControllerCrashReport(requestParameters.v1CompleteNodeControllerCrashReportRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4867
|
+
}
|
|
4491
4868
|
/**
|
|
4492
4869
|
* Complete a node flare.
|
|
4493
4870
|
* @param {DefaultApiV1CompleteNodeFlareRequest} requestParameters Request parameters.
|
|
@@ -4618,6 +4995,16 @@ export class DefaultApi extends BaseAPI {
|
|
|
4618
4995
|
v1CreateNodeControllerArtifact(requestParameters, options) {
|
|
4619
4996
|
return DefaultApiFp(this.configuration).v1CreateNodeControllerArtifact(requestParameters.v1CreateNodeControllerArtifactRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4620
4997
|
}
|
|
4998
|
+
/**
|
|
4999
|
+
* create a crash report record
|
|
5000
|
+
* @param {DefaultApiV1CreateNodeControllerCrashReportRequest} requestParameters Request parameters.
|
|
5001
|
+
* @param {*} [options] Override http request option.
|
|
5002
|
+
* @throws {RequiredError}
|
|
5003
|
+
* @memberof DefaultApi
|
|
5004
|
+
*/
|
|
5005
|
+
v1CreateNodeControllerCrashReport(requestParameters, options) {
|
|
5006
|
+
return DefaultApiFp(this.configuration).v1CreateNodeControllerCrashReport(requestParameters.v1CreateNodeControllerCrashReportRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5007
|
+
}
|
|
4621
5008
|
/**
|
|
4622
5009
|
* Create node diagnostics.
|
|
4623
5010
|
* @param {DefaultApiV1CreateNodeDiagnosticsRequest} requestParameters Request parameters.
|
|
@@ -4916,6 +5303,16 @@ export class DefaultApi extends BaseAPI {
|
|
|
4916
5303
|
v1GetNodes(options) {
|
|
4917
5304
|
return DefaultApiFp(this.configuration).v1GetNodes(options).then((request) => request(this.axios, this.basePath));
|
|
4918
5305
|
}
|
|
5306
|
+
/**
|
|
5307
|
+
* Get OTA encryption result
|
|
5308
|
+
* @param {DefaultApiV1GetOTAEncryptionRequest} requestParameters Request parameters.
|
|
5309
|
+
* @param {*} [options] Override http request option.
|
|
5310
|
+
* @throws {RequiredError}
|
|
5311
|
+
* @memberof DefaultApi
|
|
5312
|
+
*/
|
|
5313
|
+
v1GetOTAEncryption(requestParameters, options) {
|
|
5314
|
+
return DefaultApiFp(this.configuration).v1GetOTAEncryption(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
5315
|
+
}
|
|
4919
5316
|
/**
|
|
4920
5317
|
* Get an optical tube.
|
|
4921
5318
|
* @param {DefaultApiV1GetOpticalTubeRequest} requestParameters Request parameters.
|
|
@@ -5117,6 +5514,16 @@ export class DefaultApi extends BaseAPI {
|
|
|
5117
5514
|
v1RequestMacAddresses(requestParameters, options) {
|
|
5118
5515
|
return DefaultApiFp(this.configuration).v1RequestMacAddresses(requestParameters.v1RequestMacAddressesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5119
5516
|
}
|
|
5517
|
+
/**
|
|
5518
|
+
* Start OTA encryption of latest software release for the specified edge controller
|
|
5519
|
+
* @param {DefaultApiV1StartOTAEncryptionLatestRequest} requestParameters Request parameters.
|
|
5520
|
+
* @param {*} [options] Override http request option.
|
|
5521
|
+
* @throws {RequiredError}
|
|
5522
|
+
* @memberof DefaultApi
|
|
5523
|
+
*/
|
|
5524
|
+
v1StartOTAEncryptionLatest(requestParameters, options) {
|
|
5525
|
+
return DefaultApiFp(this.configuration).v1StartOTAEncryptionLatest(requestParameters.v1OTAEncryptionRequestLatest, options).then((request) => request(this.axios, this.basePath));
|
|
5526
|
+
}
|
|
5120
5527
|
/**
|
|
5121
5528
|
* Update a mount.
|
|
5122
5529
|
* @param {DefaultApiV1UpdateMountRequest} 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.8815
|
|
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.8815
|
|
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.8815
|
|
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.8815
|
|
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.8815
|
|
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.8815
|
|
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.8815
|
|
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.8815
|
|
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.8815
|
|
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.8815
|
|
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.8815
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|