@ourskyai/platform-api 1.3.8106 → 1.3.8639

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/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.8106
8
+ * The version of the OpenAPI document: 1.3.8639
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.V1TimeWindowedAssetType = exports.V1SoftwareRuntimeEnvironmentType = exports.V1SoftwarePackageType = exports.V1PlateSolveCatalogFileDownloadActionEnum = exports.V1NodeEventType = exports.V1NodeDiagnosticType = exports.V1NodeControllerStatus = exports.V1NodeConfigScopeType = exports.V1NodeComponentType = exports.V1ImageRejectionReason = exports.V1ImageFileType = exports.V1FileType = exports.V1AssetSize = exports.V1AllSkyPredictionLabel = exports.UploadPriority = exports.TrackingType = exports.ShutterType = exports.OrbitType = exports.OpticalTubeType = exports.NodeState = exports.NetworkInterface = exports.MountType = exports.ModelType = exports.MetricType = exports.ImageSetType = exports.FilterType = exports.CameraMode = void 0;
25
+ exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.V1TimeWindowedAssetType = exports.V1SoftwareRuntimeEnvironmentType = exports.V1SoftwarePackageType = exports.V1PlateSolveCatalogFileDownloadActionEnum = exports.V1NodeEventType = exports.V1NodeDiagnosticType = exports.V1NodeControllerStatus = exports.V1NodeConfigScopeType = exports.V1NodeComponentType = exports.V1JobStatus = exports.V1ImageRejectionReason = exports.V1ImageFileType = exports.V1FileType = exports.V1AssetSize = exports.V1AllSkyPredictionLabel = exports.UploadPriority = exports.TrackingType = exports.ShutterType = exports.OrbitType = exports.OpticalTubeType = exports.NodeState = exports.NetworkInterface = exports.MountType = exports.ModelType = exports.MetricType = exports.ImageSetType = 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
@@ -274,6 +274,17 @@ exports.V1ImageRejectionReason = {
274
274
  MISSING_IMG_WIDTH_HEADER: 'MISSING_IMG_WIDTH_HEADER',
275
275
  UNKNOWN_ERROR: 'UNKNOWN_ERROR'
276
276
  };
277
+ /**
278
+ *
279
+ * @export
280
+ * @enum {string}
281
+ */
282
+ exports.V1JobStatus = {
283
+ PENDING: 'PENDING',
284
+ RUNNING: 'RUNNING',
285
+ SUCCEEDED: 'SUCCEEDED',
286
+ FAILED: 'FAILED'
287
+ };
277
288
  /**
278
289
  *
279
290
  * @export
@@ -409,6 +420,82 @@ exports.V1TimeWindowedAssetType = {
409
420
  */
410
421
  const DefaultApiAxiosParamCreator = function (configuration) {
411
422
  return {
423
+ /**
424
+ * Get edge controller crash report details
425
+ * @param {string} id
426
+ * @param {*} [options] Override http request option.
427
+ * @throws {RequiredError}
428
+ */
429
+ adminV1GetNodeControllerCrashReport: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
430
+ // verify required parameter 'id' is not null or undefined
431
+ (0, common_1.assertParamExists)('adminV1GetNodeControllerCrashReport', 'id', id);
432
+ const localVarPath = `/v1/node-controller/crash-report`;
433
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
434
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
435
+ let baseOptions;
436
+ if (configuration) {
437
+ baseOptions = configuration.baseOptions;
438
+ }
439
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
440
+ const localVarHeaderParameter = {};
441
+ const localVarQueryParameter = {};
442
+ // authentication Roles required
443
+ // authentication BearerToken required
444
+ // http bearer authentication required
445
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
446
+ if (id !== undefined) {
447
+ localVarQueryParameter['id'] = id;
448
+ }
449
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
450
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
451
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
452
+ return {
453
+ url: (0, common_1.toPathString)(localVarUrlObj),
454
+ options: localVarRequestOptions,
455
+ };
456
+ }),
457
+ /**
458
+ * Get edge controller crash reports around a specific timeframe
459
+ * @param {string} lineageId
460
+ * @param {string} time
461
+ * @param {*} [options] Override http request option.
462
+ * @throws {RequiredError}
463
+ */
464
+ adminV1GetNodeControllerCrashReportsAtTime: (lineageId, time, options = {}) => __awaiter(this, void 0, void 0, function* () {
465
+ // verify required parameter 'lineageId' is not null or undefined
466
+ (0, common_1.assertParamExists)('adminV1GetNodeControllerCrashReportsAtTime', 'lineageId', lineageId);
467
+ // verify required parameter 'time' is not null or undefined
468
+ (0, common_1.assertParamExists)('adminV1GetNodeControllerCrashReportsAtTime', 'time', time);
469
+ const localVarPath = `/v1/node-controller/crash-reports-at-time`;
470
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
471
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
472
+ let baseOptions;
473
+ if (configuration) {
474
+ baseOptions = configuration.baseOptions;
475
+ }
476
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
477
+ const localVarHeaderParameter = {};
478
+ const localVarQueryParameter = {};
479
+ // authentication Roles required
480
+ // authentication BearerToken required
481
+ // http bearer authentication required
482
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
483
+ if (lineageId !== undefined) {
484
+ localVarQueryParameter['lineageId'] = lineageId;
485
+ }
486
+ if (time !== undefined) {
487
+ localVarQueryParameter['time'] = (time instanceof Date) ?
488
+ time.toISOString() :
489
+ time;
490
+ }
491
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
492
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
493
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
494
+ return {
495
+ url: (0, common_1.toPathString)(localVarUrlObj),
496
+ options: localVarRequestOptions,
497
+ };
498
+ }),
412
499
  /**
413
500
  * Get images for a node for display in a camera roll format
414
501
  * @param {string} [nodeId]
@@ -571,6 +658,39 @@ const DefaultApiAxiosParamCreator = function (configuration) {
571
658
  options: localVarRequestOptions,
572
659
  };
573
660
  }),
661
+ /**
662
+ * Complete a crash report.
663
+ * @param {V1CompleteNodeControllerCrashReportRequest} v1CompleteNodeControllerCrashReportRequest
664
+ * @param {*} [options] Override http request option.
665
+ * @throws {RequiredError}
666
+ */
667
+ v1CompleteNodeControllerCrashReport: (v1CompleteNodeControllerCrashReportRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
668
+ // verify required parameter 'v1CompleteNodeControllerCrashReportRequest' is not null or undefined
669
+ (0, common_1.assertParamExists)('v1CompleteNodeControllerCrashReport', 'v1CompleteNodeControllerCrashReportRequest', v1CompleteNodeControllerCrashReportRequest);
670
+ const localVarPath = `/v1/node-controller/complete-crash-report`;
671
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
672
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
673
+ let baseOptions;
674
+ if (configuration) {
675
+ baseOptions = configuration.baseOptions;
676
+ }
677
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
678
+ const localVarHeaderParameter = {};
679
+ const localVarQueryParameter = {};
680
+ // authentication Roles required
681
+ // authentication BearerToken required
682
+ // http bearer authentication required
683
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
684
+ localVarHeaderParameter['Content-Type'] = 'application/json';
685
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
686
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
687
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
688
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v1CompleteNodeControllerCrashReportRequest, localVarRequestOptions, configuration);
689
+ return {
690
+ url: (0, common_1.toPathString)(localVarUrlObj),
691
+ options: localVarRequestOptions,
692
+ };
693
+ }),
574
694
  /**
575
695
  * Complete a node flare.
576
696
  * @param {V1CompleteNodeFlareRequest} v1CompleteNodeFlareRequest
@@ -996,6 +1116,39 @@ const DefaultApiAxiosParamCreator = function (configuration) {
996
1116
  options: localVarRequestOptions,
997
1117
  };
998
1118
  }),
1119
+ /**
1120
+ * create a crash report record
1121
+ * @param {V1CreateNodeControllerCrashReportRequest} v1CreateNodeControllerCrashReportRequest
1122
+ * @param {*} [options] Override http request option.
1123
+ * @throws {RequiredError}
1124
+ */
1125
+ v1CreateNodeControllerCrashReport: (v1CreateNodeControllerCrashReportRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
1126
+ // verify required parameter 'v1CreateNodeControllerCrashReportRequest' is not null or undefined
1127
+ (0, common_1.assertParamExists)('v1CreateNodeControllerCrashReport', 'v1CreateNodeControllerCrashReportRequest', v1CreateNodeControllerCrashReportRequest);
1128
+ const localVarPath = `/v1/node-controller/crash-report`;
1129
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1130
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1131
+ let baseOptions;
1132
+ if (configuration) {
1133
+ baseOptions = configuration.baseOptions;
1134
+ }
1135
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1136
+ const localVarHeaderParameter = {};
1137
+ const localVarQueryParameter = {};
1138
+ // authentication Roles required
1139
+ // authentication BearerToken required
1140
+ // http bearer authentication required
1141
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1142
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1143
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1144
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1145
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1146
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v1CreateNodeControllerCrashReportRequest, localVarRequestOptions, configuration);
1147
+ return {
1148
+ url: (0, common_1.toPathString)(localVarUrlObj),
1149
+ options: localVarRequestOptions,
1150
+ };
1151
+ }),
999
1152
  /**
1000
1153
  * Create node diagnostics.
1001
1154
  * @param {V1CreateNodeDiagnosticsRequest} v1CreateNodeDiagnosticsRequest
@@ -2035,6 +2188,40 @@ const DefaultApiAxiosParamCreator = function (configuration) {
2035
2188
  options: localVarRequestOptions,
2036
2189
  };
2037
2190
  }),
2191
+ /**
2192
+ * Get OTA encryption result
2193
+ * @param {string} id
2194
+ * @param {*} [options] Override http request option.
2195
+ * @throws {RequiredError}
2196
+ */
2197
+ v1GetOTAEncryption: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
2198
+ // verify required parameter 'id' is not null or undefined
2199
+ (0, common_1.assertParamExists)('v1GetOTAEncryption', 'id', id);
2200
+ const localVarPath = `/v1/encrypt-ota`;
2201
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2202
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2203
+ let baseOptions;
2204
+ if (configuration) {
2205
+ baseOptions = configuration.baseOptions;
2206
+ }
2207
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2208
+ const localVarHeaderParameter = {};
2209
+ const localVarQueryParameter = {};
2210
+ // authentication Roles required
2211
+ // authentication BearerToken required
2212
+ // http bearer authentication required
2213
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
2214
+ if (id !== undefined) {
2215
+ localVarQueryParameter['id'] = id;
2216
+ }
2217
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2218
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2219
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2220
+ return {
2221
+ url: (0, common_1.toPathString)(localVarUrlObj),
2222
+ options: localVarRequestOptions,
2223
+ };
2224
+ }),
2038
2225
  /**
2039
2226
  * Get an optical tube.
2040
2227
  * @param {string} id
@@ -2264,13 +2451,10 @@ const DefaultApiAxiosParamCreator = function (configuration) {
2264
2451
  }),
2265
2452
  /**
2266
2453
  * Get the target QCOM OTA software release for a node
2267
- * @param {string} lineageId lineage id
2268
2454
  * @param {*} [options] Override http request option.
2269
2455
  * @throws {RequiredError}
2270
2456
  */
2271
- v1GetTargetQCOMOTASoftwareReleaseForNode: (lineageId, options = {}) => __awaiter(this, void 0, void 0, function* () {
2272
- // verify required parameter 'lineageId' is not null or undefined
2273
- (0, common_1.assertParamExists)('v1GetTargetQCOMOTASoftwareReleaseForNode', 'lineageId', lineageId);
2457
+ v1GetTargetQCOMOTASoftwareReleaseForNode: (options = {}) => __awaiter(this, void 0, void 0, function* () {
2274
2458
  const localVarPath = `/v1/node-controller-releases`;
2275
2459
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2276
2460
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -2285,9 +2469,6 @@ const DefaultApiAxiosParamCreator = function (configuration) {
2285
2469
  // authentication BearerToken required
2286
2470
  // http bearer authentication required
2287
2471
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
2288
- if (lineageId !== undefined) {
2289
- localVarQueryParameter['lineageId'] = lineageId;
2290
- }
2291
2472
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2292
2473
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2293
2474
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -2690,6 +2871,39 @@ const DefaultApiAxiosParamCreator = function (configuration) {
2690
2871
  options: localVarRequestOptions,
2691
2872
  };
2692
2873
  }),
2874
+ /**
2875
+ * Start OTA encryption of latest software release for the specified edge controller
2876
+ * @param {V1OTAEncryptionRequestLatest} v1OTAEncryptionRequestLatest
2877
+ * @param {*} [options] Override http request option.
2878
+ * @throws {RequiredError}
2879
+ */
2880
+ v1StartOTAEncryptionLatest: (v1OTAEncryptionRequestLatest, options = {}) => __awaiter(this, void 0, void 0, function* () {
2881
+ // verify required parameter 'v1OTAEncryptionRequestLatest' is not null or undefined
2882
+ (0, common_1.assertParamExists)('v1StartOTAEncryptionLatest', 'v1OTAEncryptionRequestLatest', v1OTAEncryptionRequestLatest);
2883
+ const localVarPath = `/v1/encrypt-ota`;
2884
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2885
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2886
+ let baseOptions;
2887
+ if (configuration) {
2888
+ baseOptions = configuration.baseOptions;
2889
+ }
2890
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
2891
+ const localVarHeaderParameter = {};
2892
+ const localVarQueryParameter = {};
2893
+ // authentication Roles required
2894
+ // authentication BearerToken required
2895
+ // http bearer authentication required
2896
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
2897
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2898
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2899
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2900
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2901
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(v1OTAEncryptionRequestLatest, localVarRequestOptions, configuration);
2902
+ return {
2903
+ url: (0, common_1.toPathString)(localVarUrlObj),
2904
+ options: localVarRequestOptions,
2905
+ };
2906
+ }),
2693
2907
  /**
2694
2908
  * Update a mount.
2695
2909
  * @param {V1UpdateMountRequest} v1UpdateMountRequest
@@ -2894,6 +3108,31 @@ exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
2894
3108
  const DefaultApiFp = function (configuration) {
2895
3109
  const localVarAxiosParamCreator = (0, exports.DefaultApiAxiosParamCreator)(configuration);
2896
3110
  return {
3111
+ /**
3112
+ * Get edge controller crash report details
3113
+ * @param {string} id
3114
+ * @param {*} [options] Override http request option.
3115
+ * @throws {RequiredError}
3116
+ */
3117
+ adminV1GetNodeControllerCrashReport(id, options) {
3118
+ return __awaiter(this, void 0, void 0, function* () {
3119
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1GetNodeControllerCrashReport(id, options);
3120
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
3121
+ });
3122
+ },
3123
+ /**
3124
+ * Get edge controller crash reports around a specific timeframe
3125
+ * @param {string} lineageId
3126
+ * @param {string} time
3127
+ * @param {*} [options] Override http request option.
3128
+ * @throws {RequiredError}
3129
+ */
3130
+ adminV1GetNodeControllerCrashReportsAtTime(lineageId, time, options) {
3131
+ return __awaiter(this, void 0, void 0, function* () {
3132
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1GetNodeControllerCrashReportsAtTime(lineageId, time, options);
3133
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
3134
+ });
3135
+ },
2897
3136
  /**
2898
3137
  * Get images for a node for display in a camera roll format
2899
3138
  * @param {string} [nodeId]
@@ -2950,6 +3189,18 @@ const DefaultApiFp = function (configuration) {
2950
3189
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2951
3190
  });
2952
3191
  },
3192
+ /**
3193
+ * Complete a crash report.
3194
+ * @param {V1CompleteNodeControllerCrashReportRequest} v1CompleteNodeControllerCrashReportRequest
3195
+ * @param {*} [options] Override http request option.
3196
+ * @throws {RequiredError}
3197
+ */
3198
+ v1CompleteNodeControllerCrashReport(v1CompleteNodeControllerCrashReportRequest, options) {
3199
+ return __awaiter(this, void 0, void 0, function* () {
3200
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CompleteNodeControllerCrashReport(v1CompleteNodeControllerCrashReportRequest, options);
3201
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
3202
+ });
3203
+ },
2953
3204
  /**
2954
3205
  * Complete a node flare.
2955
3206
  * @param {V1CompleteNodeFlareRequest} v1CompleteNodeFlareRequest
@@ -3106,6 +3357,18 @@ const DefaultApiFp = function (configuration) {
3106
3357
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
3107
3358
  });
3108
3359
  },
3360
+ /**
3361
+ * create a crash report record
3362
+ * @param {V1CreateNodeControllerCrashReportRequest} v1CreateNodeControllerCrashReportRequest
3363
+ * @param {*} [options] Override http request option.
3364
+ * @throws {RequiredError}
3365
+ */
3366
+ v1CreateNodeControllerCrashReport(v1CreateNodeControllerCrashReportRequest, options) {
3367
+ return __awaiter(this, void 0, void 0, function* () {
3368
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1CreateNodeControllerCrashReport(v1CreateNodeControllerCrashReportRequest, options);
3369
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
3370
+ });
3371
+ },
3109
3372
  /**
3110
3373
  * Create node diagnostics.
3111
3374
  * @param {V1CreateNodeDiagnosticsRequest} v1CreateNodeDiagnosticsRequest
@@ -3473,6 +3736,18 @@ const DefaultApiFp = function (configuration) {
3473
3736
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
3474
3737
  });
3475
3738
  },
3739
+ /**
3740
+ * Get OTA encryption result
3741
+ * @param {string} id
3742
+ * @param {*} [options] Override http request option.
3743
+ * @throws {RequiredError}
3744
+ */
3745
+ v1GetOTAEncryption(id, options) {
3746
+ return __awaiter(this, void 0, void 0, function* () {
3747
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetOTAEncryption(id, options);
3748
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
3749
+ });
3750
+ },
3476
3751
  /**
3477
3752
  * Get an optical tube.
3478
3753
  * @param {string} id
@@ -3558,13 +3833,12 @@ const DefaultApiFp = function (configuration) {
3558
3833
  },
3559
3834
  /**
3560
3835
  * Get the target QCOM OTA software release for a node
3561
- * @param {string} lineageId lineage id
3562
3836
  * @param {*} [options] Override http request option.
3563
3837
  * @throws {RequiredError}
3564
3838
  */
3565
- v1GetTargetQCOMOTASoftwareReleaseForNode(lineageId, options) {
3839
+ v1GetTargetQCOMOTASoftwareReleaseForNode(options) {
3566
3840
  return __awaiter(this, void 0, void 0, function* () {
3567
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetTargetQCOMOTASoftwareReleaseForNode(lineageId, options);
3841
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1GetTargetQCOMOTASoftwareReleaseForNode(options);
3568
3842
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
3569
3843
  });
3570
3844
  },
@@ -3717,6 +3991,18 @@ const DefaultApiFp = function (configuration) {
3717
3991
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
3718
3992
  });
3719
3993
  },
3994
+ /**
3995
+ * Start OTA encryption of latest software release for the specified edge controller
3996
+ * @param {V1OTAEncryptionRequestLatest} v1OTAEncryptionRequestLatest
3997
+ * @param {*} [options] Override http request option.
3998
+ * @throws {RequiredError}
3999
+ */
4000
+ v1StartOTAEncryptionLatest(v1OTAEncryptionRequestLatest, options) {
4001
+ return __awaiter(this, void 0, void 0, function* () {
4002
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1StartOTAEncryptionLatest(v1OTAEncryptionRequestLatest, options);
4003
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
4004
+ });
4005
+ },
3720
4006
  /**
3721
4007
  * Update a mount.
3722
4008
  * @param {V1UpdateMountRequest} v1UpdateMountRequest
@@ -3799,6 +4085,24 @@ exports.DefaultApiFp = DefaultApiFp;
3799
4085
  const DefaultApiFactory = function (configuration, basePath, axios) {
3800
4086
  const localVarFp = (0, exports.DefaultApiFp)(configuration);
3801
4087
  return {
4088
+ /**
4089
+ * Get edge controller crash report details
4090
+ * @param {DefaultApiAdminV1GetNodeControllerCrashReportRequest} requestParameters Request parameters.
4091
+ * @param {*} [options] Override http request option.
4092
+ * @throws {RequiredError}
4093
+ */
4094
+ adminV1GetNodeControllerCrashReport(requestParameters, options) {
4095
+ return localVarFp.adminV1GetNodeControllerCrashReport(requestParameters.id, options).then((request) => request(axios, basePath));
4096
+ },
4097
+ /**
4098
+ * Get edge controller crash reports around a specific timeframe
4099
+ * @param {DefaultApiAdminV1GetNodeControllerCrashReportsAtTimeRequest} requestParameters Request parameters.
4100
+ * @param {*} [options] Override http request option.
4101
+ * @throws {RequiredError}
4102
+ */
4103
+ adminV1GetNodeControllerCrashReportsAtTime(requestParameters, options) {
4104
+ return localVarFp.adminV1GetNodeControllerCrashReportsAtTime(requestParameters.lineageId, requestParameters.time, options).then((request) => request(axios, basePath));
4105
+ },
3802
4106
  /**
3803
4107
  * Get images for a node for display in a camera roll format
3804
4108
  * @param {DefaultApiGetCameraRollRequest} requestParameters Request parameters.
@@ -3833,6 +4137,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
3833
4137
  v1CompleteBootstrap(options) {
3834
4138
  return localVarFp.v1CompleteBootstrap(options).then((request) => request(axios, basePath));
3835
4139
  },
4140
+ /**
4141
+ * Complete a crash report.
4142
+ * @param {DefaultApiV1CompleteNodeControllerCrashReportRequest} requestParameters Request parameters.
4143
+ * @param {*} [options] Override http request option.
4144
+ * @throws {RequiredError}
4145
+ */
4146
+ v1CompleteNodeControllerCrashReport(requestParameters, options) {
4147
+ return localVarFp.v1CompleteNodeControllerCrashReport(requestParameters.v1CompleteNodeControllerCrashReportRequest, options).then((request) => request(axios, basePath));
4148
+ },
3836
4149
  /**
3837
4150
  * Complete a node flare.
3838
4151
  * @param {DefaultApiV1CompleteNodeFlareRequest} requestParameters Request parameters.
@@ -3950,6 +4263,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
3950
4263
  v1CreateNodeControllerArtifact(requestParameters, options) {
3951
4264
  return localVarFp.v1CreateNodeControllerArtifact(requestParameters.v1CreateNodeControllerArtifactRequest, options).then((request) => request(axios, basePath));
3952
4265
  },
4266
+ /**
4267
+ * create a crash report record
4268
+ * @param {DefaultApiV1CreateNodeControllerCrashReportRequest} requestParameters Request parameters.
4269
+ * @param {*} [options] Override http request option.
4270
+ * @throws {RequiredError}
4271
+ */
4272
+ v1CreateNodeControllerCrashReport(requestParameters, options) {
4273
+ return localVarFp.v1CreateNodeControllerCrashReport(requestParameters.v1CreateNodeControllerCrashReportRequest, options).then((request) => request(axios, basePath));
4274
+ },
3953
4275
  /**
3954
4276
  * Create node diagnostics.
3955
4277
  * @param {DefaultApiV1CreateNodeDiagnosticsRequest} requestParameters Request parameters.
@@ -4218,6 +4540,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
4218
4540
  v1GetNodes(options) {
4219
4541
  return localVarFp.v1GetNodes(options).then((request) => request(axios, basePath));
4220
4542
  },
4543
+ /**
4544
+ * Get OTA encryption result
4545
+ * @param {DefaultApiV1GetOTAEncryptionRequest} requestParameters Request parameters.
4546
+ * @param {*} [options] Override http request option.
4547
+ * @throws {RequiredError}
4548
+ */
4549
+ v1GetOTAEncryption(requestParameters, options) {
4550
+ return localVarFp.v1GetOTAEncryption(requestParameters.id, options).then((request) => request(axios, basePath));
4551
+ },
4221
4552
  /**
4222
4553
  * Get an optical tube.
4223
4554
  * @param {DefaultApiV1GetOpticalTubeRequest} requestParameters Request parameters.
@@ -4282,12 +4613,11 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
4282
4613
  },
4283
4614
  /**
4284
4615
  * Get the target QCOM OTA software release for a node
4285
- * @param {DefaultApiV1GetTargetQCOMOTASoftwareReleaseForNodeRequest} requestParameters Request parameters.
4286
4616
  * @param {*} [options] Override http request option.
4287
4617
  * @throws {RequiredError}
4288
4618
  */
4289
- v1GetTargetQCOMOTASoftwareReleaseForNode(requestParameters, options) {
4290
- return localVarFp.v1GetTargetQCOMOTASoftwareReleaseForNode(requestParameters.lineageId, options).then((request) => request(axios, basePath));
4619
+ v1GetTargetQCOMOTASoftwareReleaseForNode(options) {
4620
+ return localVarFp.v1GetTargetQCOMOTASoftwareReleaseForNode(options).then((request) => request(axios, basePath));
4291
4621
  },
4292
4622
  /**
4293
4623
  * Get the target software releases for a node
@@ -4400,6 +4730,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
4400
4730
  v1RequestMacAddresses(requestParameters, options) {
4401
4731
  return localVarFp.v1RequestMacAddresses(requestParameters.v1RequestMacAddressesRequest, options).then((request) => request(axios, basePath));
4402
4732
  },
4733
+ /**
4734
+ * Start OTA encryption of latest software release for the specified edge controller
4735
+ * @param {DefaultApiV1StartOTAEncryptionLatestRequest} requestParameters Request parameters.
4736
+ * @param {*} [options] Override http request option.
4737
+ * @throws {RequiredError}
4738
+ */
4739
+ v1StartOTAEncryptionLatest(requestParameters, options) {
4740
+ return localVarFp.v1StartOTAEncryptionLatest(requestParameters.v1OTAEncryptionRequestLatest, options).then((request) => request(axios, basePath));
4741
+ },
4403
4742
  /**
4404
4743
  * Update a mount.
4405
4744
  * @param {DefaultApiV1UpdateMountRequest} requestParameters Request parameters.
@@ -4464,6 +4803,26 @@ exports.DefaultApiFactory = DefaultApiFactory;
4464
4803
  * @extends {BaseAPI}
4465
4804
  */
4466
4805
  class DefaultApi extends base_1.BaseAPI {
4806
+ /**
4807
+ * Get edge controller crash report details
4808
+ * @param {DefaultApiAdminV1GetNodeControllerCrashReportRequest} requestParameters Request parameters.
4809
+ * @param {*} [options] Override http request option.
4810
+ * @throws {RequiredError}
4811
+ * @memberof DefaultApi
4812
+ */
4813
+ adminV1GetNodeControllerCrashReport(requestParameters, options) {
4814
+ return (0, exports.DefaultApiFp)(this.configuration).adminV1GetNodeControllerCrashReport(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
4815
+ }
4816
+ /**
4817
+ * Get edge controller crash reports around a specific timeframe
4818
+ * @param {DefaultApiAdminV1GetNodeControllerCrashReportsAtTimeRequest} requestParameters Request parameters.
4819
+ * @param {*} [options] Override http request option.
4820
+ * @throws {RequiredError}
4821
+ * @memberof DefaultApi
4822
+ */
4823
+ adminV1GetNodeControllerCrashReportsAtTime(requestParameters, options) {
4824
+ return (0, exports.DefaultApiFp)(this.configuration).adminV1GetNodeControllerCrashReportsAtTime(requestParameters.lineageId, requestParameters.time, options).then((request) => request(this.axios, this.basePath));
4825
+ }
4467
4826
  /**
4468
4827
  * Get images for a node for display in a camera roll format
4469
4828
  * @param {DefaultApiGetCameraRollRequest} requestParameters Request parameters.
@@ -4502,6 +4861,16 @@ class DefaultApi extends base_1.BaseAPI {
4502
4861
  v1CompleteBootstrap(options) {
4503
4862
  return (0, exports.DefaultApiFp)(this.configuration).v1CompleteBootstrap(options).then((request) => request(this.axios, this.basePath));
4504
4863
  }
4864
+ /**
4865
+ * Complete a crash report.
4866
+ * @param {DefaultApiV1CompleteNodeControllerCrashReportRequest} requestParameters Request parameters.
4867
+ * @param {*} [options] Override http request option.
4868
+ * @throws {RequiredError}
4869
+ * @memberof DefaultApi
4870
+ */
4871
+ v1CompleteNodeControllerCrashReport(requestParameters, options) {
4872
+ return (0, exports.DefaultApiFp)(this.configuration).v1CompleteNodeControllerCrashReport(requestParameters.v1CompleteNodeControllerCrashReportRequest, options).then((request) => request(this.axios, this.basePath));
4873
+ }
4505
4874
  /**
4506
4875
  * Complete a node flare.
4507
4876
  * @param {DefaultApiV1CompleteNodeFlareRequest} requestParameters Request parameters.
@@ -4632,6 +5001,16 @@ class DefaultApi extends base_1.BaseAPI {
4632
5001
  v1CreateNodeControllerArtifact(requestParameters, options) {
4633
5002
  return (0, exports.DefaultApiFp)(this.configuration).v1CreateNodeControllerArtifact(requestParameters.v1CreateNodeControllerArtifactRequest, options).then((request) => request(this.axios, this.basePath));
4634
5003
  }
5004
+ /**
5005
+ * create a crash report record
5006
+ * @param {DefaultApiV1CreateNodeControllerCrashReportRequest} requestParameters Request parameters.
5007
+ * @param {*} [options] Override http request option.
5008
+ * @throws {RequiredError}
5009
+ * @memberof DefaultApi
5010
+ */
5011
+ v1CreateNodeControllerCrashReport(requestParameters, options) {
5012
+ return (0, exports.DefaultApiFp)(this.configuration).v1CreateNodeControllerCrashReport(requestParameters.v1CreateNodeControllerCrashReportRequest, options).then((request) => request(this.axios, this.basePath));
5013
+ }
4635
5014
  /**
4636
5015
  * Create node diagnostics.
4637
5016
  * @param {DefaultApiV1CreateNodeDiagnosticsRequest} requestParameters Request parameters.
@@ -4930,6 +5309,16 @@ class DefaultApi extends base_1.BaseAPI {
4930
5309
  v1GetNodes(options) {
4931
5310
  return (0, exports.DefaultApiFp)(this.configuration).v1GetNodes(options).then((request) => request(this.axios, this.basePath));
4932
5311
  }
5312
+ /**
5313
+ * Get OTA encryption result
5314
+ * @param {DefaultApiV1GetOTAEncryptionRequest} requestParameters Request parameters.
5315
+ * @param {*} [options] Override http request option.
5316
+ * @throws {RequiredError}
5317
+ * @memberof DefaultApi
5318
+ */
5319
+ v1GetOTAEncryption(requestParameters, options) {
5320
+ return (0, exports.DefaultApiFp)(this.configuration).v1GetOTAEncryption(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
5321
+ }
4933
5322
  /**
4934
5323
  * Get an optical tube.
4935
5324
  * @param {DefaultApiV1GetOpticalTubeRequest} requestParameters Request parameters.
@@ -5001,13 +5390,12 @@ class DefaultApi extends base_1.BaseAPI {
5001
5390
  }
5002
5391
  /**
5003
5392
  * Get the target QCOM OTA software release for a node
5004
- * @param {DefaultApiV1GetTargetQCOMOTASoftwareReleaseForNodeRequest} requestParameters Request parameters.
5005
5393
  * @param {*} [options] Override http request option.
5006
5394
  * @throws {RequiredError}
5007
5395
  * @memberof DefaultApi
5008
5396
  */
5009
- v1GetTargetQCOMOTASoftwareReleaseForNode(requestParameters, options) {
5010
- return (0, exports.DefaultApiFp)(this.configuration).v1GetTargetQCOMOTASoftwareReleaseForNode(requestParameters.lineageId, options).then((request) => request(this.axios, this.basePath));
5397
+ v1GetTargetQCOMOTASoftwareReleaseForNode(options) {
5398
+ return (0, exports.DefaultApiFp)(this.configuration).v1GetTargetQCOMOTASoftwareReleaseForNode(options).then((request) => request(this.axios, this.basePath));
5011
5399
  }
5012
5400
  /**
5013
5401
  * Get the target software releases for a node
@@ -5132,6 +5520,16 @@ class DefaultApi extends base_1.BaseAPI {
5132
5520
  v1RequestMacAddresses(requestParameters, options) {
5133
5521
  return (0, exports.DefaultApiFp)(this.configuration).v1RequestMacAddresses(requestParameters.v1RequestMacAddressesRequest, options).then((request) => request(this.axios, this.basePath));
5134
5522
  }
5523
+ /**
5524
+ * Start OTA encryption of latest software release for the specified edge controller
5525
+ * @param {DefaultApiV1StartOTAEncryptionLatestRequest} requestParameters Request parameters.
5526
+ * @param {*} [options] Override http request option.
5527
+ * @throws {RequiredError}
5528
+ * @memberof DefaultApi
5529
+ */
5530
+ v1StartOTAEncryptionLatest(requestParameters, options) {
5531
+ return (0, exports.DefaultApiFp)(this.configuration).v1StartOTAEncryptionLatest(requestParameters.v1OTAEncryptionRequestLatest, options).then((request) => request(this.axios, this.basePath));
5532
+ }
5135
5533
  /**
5136
5534
  * Update a mount.
5137
5535
  * @param {DefaultApiV1UpdateMountRequest} 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.8106
5
+ * The version of the OpenAPI document: 1.3.8639
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.8106
8
+ * The version of the OpenAPI document: 1.3.8639
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.8106
5
+ * The version of the OpenAPI document: 1.3.8639
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).