@ourskyai/platform-api 1.3.8459 → 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/api.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.8459
7
+ * The version of the OpenAPI document: 1.3.8639
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -777,6 +777,19 @@ export interface V1ClientToken {
777
777
  */
778
778
  'cesiumToken': string;
779
779
  }
780
+ /**
781
+ *
782
+ * @export
783
+ * @interface V1CompleteNodeControllerCrashReportRequest
784
+ */
785
+ export interface V1CompleteNodeControllerCrashReportRequest {
786
+ /**
787
+ *
788
+ * @type {string}
789
+ * @memberof V1CompleteNodeControllerCrashReportRequest
790
+ */
791
+ 'id': string;
792
+ }
780
793
  /**
781
794
  *
782
795
  * @export
@@ -1088,6 +1101,74 @@ export interface V1CreateNodeControllerArtifactRequest {
1088
1101
  */
1089
1102
  'path': string;
1090
1103
  }
1104
+ /**
1105
+ * create a crash report
1106
+ * @export
1107
+ * @interface V1CreateNodeControllerCrashReportRequest
1108
+ */
1109
+ export interface V1CreateNodeControllerCrashReportRequest {
1110
+ /**
1111
+ *
1112
+ * @type {string}
1113
+ * @memberof V1CreateNodeControllerCrashReportRequest
1114
+ */
1115
+ 'lineageId': string;
1116
+ /**
1117
+ *
1118
+ * @type {string}
1119
+ * @memberof V1CreateNodeControllerCrashReportRequest
1120
+ */
1121
+ 'fileSha': string;
1122
+ /**
1123
+ *
1124
+ * @type {number}
1125
+ * @memberof V1CreateNodeControllerCrashReportRequest
1126
+ */
1127
+ 'fileSizeMb': number;
1128
+ /**
1129
+ *
1130
+ * @type {string}
1131
+ * @memberof V1CreateNodeControllerCrashReportRequest
1132
+ */
1133
+ 'softwareVersion': string;
1134
+ /**
1135
+ *
1136
+ * @type {string}
1137
+ * @memberof V1CreateNodeControllerCrashReportRequest
1138
+ */
1139
+ 'componentName': string;
1140
+ /**
1141
+ *
1142
+ * @type {string}
1143
+ * @memberof V1CreateNodeControllerCrashReportRequest
1144
+ */
1145
+ 'kernelVersion': string;
1146
+ /**
1147
+ *
1148
+ * @type {string}
1149
+ * @memberof V1CreateNodeControllerCrashReportRequest
1150
+ */
1151
+ 'backtrace': string;
1152
+ }
1153
+ /**
1154
+ *
1155
+ * @export
1156
+ * @interface V1CreateNodeControllerCrashReportResponse
1157
+ */
1158
+ export interface V1CreateNodeControllerCrashReportResponse {
1159
+ /**
1160
+ *
1161
+ * @type {string}
1162
+ * @memberof V1CreateNodeControllerCrashReportResponse
1163
+ */
1164
+ 'id': string;
1165
+ /**
1166
+ *
1167
+ * @type {string}
1168
+ * @memberof V1CreateNodeControllerCrashReportResponse
1169
+ */
1170
+ 'uploadUrl': string;
1171
+ }
1091
1172
  /**
1092
1173
  *
1093
1174
  * @export
@@ -2779,6 +2860,22 @@ export interface V1Instruction {
2779
2860
  */
2780
2861
  'autofocus'?: V1AutoFocusInstruction;
2781
2862
  }
2863
+ /**
2864
+ *
2865
+ * @export
2866
+ * @enum {string}
2867
+ */
2868
+
2869
+ export const V1JobStatus = {
2870
+ PENDING: 'PENDING',
2871
+ RUNNING: 'RUNNING',
2872
+ SUCCEEDED: 'SUCCEEDED',
2873
+ FAILED: 'FAILED'
2874
+ } as const;
2875
+
2876
+ export type V1JobStatus = typeof V1JobStatus[keyof typeof V1JobStatus];
2877
+
2878
+
2782
2879
  /**
2783
2880
  *
2784
2881
  * @export
@@ -3260,6 +3357,67 @@ export interface V1NodeControllerBootstrapRequest {
3260
3357
  */
3261
3358
  'chipSerialNumber': number;
3262
3359
  }
3360
+ /**
3361
+ * edge controller crash report details
3362
+ * @export
3363
+ * @interface V1NodeControllerCrashReport
3364
+ */
3365
+ export interface V1NodeControllerCrashReport {
3366
+ /**
3367
+ *
3368
+ * @type {string}
3369
+ * @memberof V1NodeControllerCrashReport
3370
+ */
3371
+ 'id': string;
3372
+ /**
3373
+ *
3374
+ * @type {string}
3375
+ * @memberof V1NodeControllerCrashReport
3376
+ */
3377
+ 'lineageId': string;
3378
+ /**
3379
+ *
3380
+ * @type {string}
3381
+ * @memberof V1NodeControllerCrashReport
3382
+ */
3383
+ 'fileSha': string;
3384
+ /**
3385
+ *
3386
+ * @type {number}
3387
+ * @memberof V1NodeControllerCrashReport
3388
+ */
3389
+ 'fileSizeMb': number;
3390
+ /**
3391
+ *
3392
+ * @type {string}
3393
+ * @memberof V1NodeControllerCrashReport
3394
+ */
3395
+ 'softwareVersion': string;
3396
+ /**
3397
+ *
3398
+ * @type {string}
3399
+ * @memberof V1NodeControllerCrashReport
3400
+ */
3401
+ 'componentName': string;
3402
+ /**
3403
+ *
3404
+ * @type {string}
3405
+ * @memberof V1NodeControllerCrashReport
3406
+ */
3407
+ 'kernelVersion': string;
3408
+ /**
3409
+ *
3410
+ * @type {string}
3411
+ * @memberof V1NodeControllerCrashReport
3412
+ */
3413
+ 'backtrace': string;
3414
+ /**
3415
+ *
3416
+ * @type {string}
3417
+ * @memberof V1NodeControllerCrashReport
3418
+ */
3419
+ 'completedAt'?: string;
3420
+ }
3263
3421
  /**
3264
3422
  *
3265
3423
  * @export
@@ -3485,6 +3643,64 @@ export interface V1NodeWithLocation {
3485
3643
  */
3486
3644
  'location': Location;
3487
3645
  }
3646
+ /**
3647
+ *
3648
+ * @export
3649
+ * @interface V1OTAEncryptionRequestLatest
3650
+ */
3651
+ export interface V1OTAEncryptionRequestLatest {
3652
+ /**
3653
+ *
3654
+ * @type {string}
3655
+ * @memberof V1OTAEncryptionRequestLatest
3656
+ */
3657
+ 'lineageId': string;
3658
+ }
3659
+ /**
3660
+ *
3661
+ * @export
3662
+ * @interface V1OTAEncryptionResult
3663
+ */
3664
+ export interface V1OTAEncryptionResult {
3665
+ /**
3666
+ *
3667
+ * @type {string}
3668
+ * @memberof V1OTAEncryptionResult
3669
+ */
3670
+ 'id': string;
3671
+ /**
3672
+ *
3673
+ * @type {V1JobStatus}
3674
+ * @memberof V1OTAEncryptionResult
3675
+ */
3676
+ 'jobStatus': V1JobStatus;
3677
+ /**
3678
+ *
3679
+ * @type {string}
3680
+ * @memberof V1OTAEncryptionResult
3681
+ */
3682
+ 'createdAt': string;
3683
+ /**
3684
+ *
3685
+ * @type {string}
3686
+ * @memberof V1OTAEncryptionResult
3687
+ */
3688
+ 'startedAt'?: string;
3689
+ /**
3690
+ *
3691
+ * @type {string}
3692
+ * @memberof V1OTAEncryptionResult
3693
+ */
3694
+ 'finishedAt'?: string;
3695
+ /**
3696
+ *
3697
+ * @type {string}
3698
+ * @memberof V1OTAEncryptionResult
3699
+ */
3700
+ 'url'?: string;
3701
+ }
3702
+
3703
+
3488
3704
  /**
3489
3705
  * Observation Instruction
3490
3706
  * @export
@@ -4994,6 +5210,99 @@ export interface V2NodeControllerIssueCertificateResponse {
4994
5210
  */
4995
5211
  export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {
4996
5212
  return {
5213
+ /**
5214
+ * Get edge controller crash report details
5215
+ * @param {string} id
5216
+ * @param {*} [options] Override http request option.
5217
+ * @throws {RequiredError}
5218
+ */
5219
+ adminV1GetNodeControllerCrashReport: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5220
+ // verify required parameter 'id' is not null or undefined
5221
+ assertParamExists('adminV1GetNodeControllerCrashReport', 'id', id)
5222
+ const localVarPath = `/v1/node-controller/crash-report`;
5223
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5224
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5225
+ let baseOptions;
5226
+ if (configuration) {
5227
+ baseOptions = configuration.baseOptions;
5228
+ }
5229
+
5230
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
5231
+ const localVarHeaderParameter = {} as any;
5232
+ const localVarQueryParameter = {} as any;
5233
+
5234
+ // authentication Roles required
5235
+
5236
+ // authentication BearerToken required
5237
+ // http bearer authentication required
5238
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
5239
+
5240
+ if (id !== undefined) {
5241
+ localVarQueryParameter['id'] = id;
5242
+ }
5243
+
5244
+
5245
+
5246
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5247
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5248
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5249
+
5250
+ return {
5251
+ url: toPathString(localVarUrlObj),
5252
+ options: localVarRequestOptions,
5253
+ };
5254
+ },
5255
+ /**
5256
+ * Get edge controller crash reports around a specific timeframe
5257
+ * @param {string} lineageId
5258
+ * @param {string} time
5259
+ * @param {*} [options] Override http request option.
5260
+ * @throws {RequiredError}
5261
+ */
5262
+ adminV1GetNodeControllerCrashReportsAtTime: async (lineageId: string, time: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5263
+ // verify required parameter 'lineageId' is not null or undefined
5264
+ assertParamExists('adminV1GetNodeControllerCrashReportsAtTime', 'lineageId', lineageId)
5265
+ // verify required parameter 'time' is not null or undefined
5266
+ assertParamExists('adminV1GetNodeControllerCrashReportsAtTime', 'time', time)
5267
+ const localVarPath = `/v1/node-controller/crash-reports-at-time`;
5268
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5269
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5270
+ let baseOptions;
5271
+ if (configuration) {
5272
+ baseOptions = configuration.baseOptions;
5273
+ }
5274
+
5275
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
5276
+ const localVarHeaderParameter = {} as any;
5277
+ const localVarQueryParameter = {} as any;
5278
+
5279
+ // authentication Roles required
5280
+
5281
+ // authentication BearerToken required
5282
+ // http bearer authentication required
5283
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
5284
+
5285
+ if (lineageId !== undefined) {
5286
+ localVarQueryParameter['lineageId'] = lineageId;
5287
+ }
5288
+
5289
+ if (time !== undefined) {
5290
+ localVarQueryParameter['time'] = (time as any instanceof Date) ?
5291
+ (time as any).toISOString() :
5292
+ time;
5293
+ }
5294
+
5295
+
5296
+
5297
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5298
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5299
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5300
+
5301
+ return {
5302
+ url: toPathString(localVarUrlObj),
5303
+ options: localVarRequestOptions,
5304
+ };
5305
+ },
4997
5306
  /**
4998
5307
  * Get images for a node for display in a camera roll format
4999
5308
  * @param {string} [nodeId]
@@ -5196,6 +5505,47 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
5196
5505
  options: localVarRequestOptions,
5197
5506
  };
5198
5507
  },
5508
+ /**
5509
+ * Complete a crash report.
5510
+ * @param {V1CompleteNodeControllerCrashReportRequest} v1CompleteNodeControllerCrashReportRequest
5511
+ * @param {*} [options] Override http request option.
5512
+ * @throws {RequiredError}
5513
+ */
5514
+ v1CompleteNodeControllerCrashReport: async (v1CompleteNodeControllerCrashReportRequest: V1CompleteNodeControllerCrashReportRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5515
+ // verify required parameter 'v1CompleteNodeControllerCrashReportRequest' is not null or undefined
5516
+ assertParamExists('v1CompleteNodeControllerCrashReport', 'v1CompleteNodeControllerCrashReportRequest', v1CompleteNodeControllerCrashReportRequest)
5517
+ const localVarPath = `/v1/node-controller/complete-crash-report`;
5518
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5519
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5520
+ let baseOptions;
5521
+ if (configuration) {
5522
+ baseOptions = configuration.baseOptions;
5523
+ }
5524
+
5525
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
5526
+ const localVarHeaderParameter = {} as any;
5527
+ const localVarQueryParameter = {} as any;
5528
+
5529
+ // authentication Roles required
5530
+
5531
+ // authentication BearerToken required
5532
+ // http bearer authentication required
5533
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
5534
+
5535
+
5536
+
5537
+ localVarHeaderParameter['Content-Type'] = 'application/json';
5538
+
5539
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5540
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5541
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5542
+ localVarRequestOptions.data = serializeDataIfNeeded(v1CompleteNodeControllerCrashReportRequest, localVarRequestOptions, configuration)
5543
+
5544
+ return {
5545
+ url: toPathString(localVarUrlObj),
5546
+ options: localVarRequestOptions,
5547
+ };
5548
+ },
5199
5549
  /**
5200
5550
  * Complete a node flare.
5201
5551
  * @param {V1CompleteNodeFlareRequest} v1CompleteNodeFlareRequest
@@ -5658,7 +6008,48 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
5658
6008
  baseOptions = configuration.baseOptions;
5659
6009
  }
5660
6010
 
5661
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
6011
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
6012
+ const localVarHeaderParameter = {} as any;
6013
+ const localVarQueryParameter = {} as any;
6014
+
6015
+ // authentication Roles required
6016
+
6017
+ // authentication BearerToken required
6018
+ // http bearer authentication required
6019
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
6020
+
6021
+
6022
+
6023
+ localVarHeaderParameter['Content-Type'] = 'application/json';
6024
+
6025
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6026
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6027
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
6028
+ localVarRequestOptions.data = serializeDataIfNeeded(v1CreateNodeRequest, localVarRequestOptions, configuration)
6029
+
6030
+ return {
6031
+ url: toPathString(localVarUrlObj),
6032
+ options: localVarRequestOptions,
6033
+ };
6034
+ },
6035
+ /**
6036
+ * Create a node controller artifact.
6037
+ * @param {V1CreateNodeControllerArtifactRequest} v1CreateNodeControllerArtifactRequest
6038
+ * @param {*} [options] Override http request option.
6039
+ * @throws {RequiredError}
6040
+ */
6041
+ v1CreateNodeControllerArtifact: async (v1CreateNodeControllerArtifactRequest: V1CreateNodeControllerArtifactRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
6042
+ // verify required parameter 'v1CreateNodeControllerArtifactRequest' is not null or undefined
6043
+ assertParamExists('v1CreateNodeControllerArtifact', 'v1CreateNodeControllerArtifactRequest', v1CreateNodeControllerArtifactRequest)
6044
+ const localVarPath = `/v1/node-controller-artifact`;
6045
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6046
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6047
+ let baseOptions;
6048
+ if (configuration) {
6049
+ baseOptions = configuration.baseOptions;
6050
+ }
6051
+
6052
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
5662
6053
  const localVarHeaderParameter = {} as any;
5663
6054
  const localVarQueryParameter = {} as any;
5664
6055
 
@@ -5675,7 +6066,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
5675
6066
  setSearchParams(localVarUrlObj, localVarQueryParameter);
5676
6067
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5677
6068
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5678
- localVarRequestOptions.data = serializeDataIfNeeded(v1CreateNodeRequest, localVarRequestOptions, configuration)
6069
+ localVarRequestOptions.data = serializeDataIfNeeded(v1CreateNodeControllerArtifactRequest, localVarRequestOptions, configuration)
5679
6070
 
5680
6071
  return {
5681
6072
  url: toPathString(localVarUrlObj),
@@ -5683,15 +6074,15 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
5683
6074
  };
5684
6075
  },
5685
6076
  /**
5686
- * Create a node controller artifact.
5687
- * @param {V1CreateNodeControllerArtifactRequest} v1CreateNodeControllerArtifactRequest
6077
+ * create a crash report record
6078
+ * @param {V1CreateNodeControllerCrashReportRequest} v1CreateNodeControllerCrashReportRequest
5688
6079
  * @param {*} [options] Override http request option.
5689
6080
  * @throws {RequiredError}
5690
6081
  */
5691
- v1CreateNodeControllerArtifact: async (v1CreateNodeControllerArtifactRequest: V1CreateNodeControllerArtifactRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5692
- // verify required parameter 'v1CreateNodeControllerArtifactRequest' is not null or undefined
5693
- assertParamExists('v1CreateNodeControllerArtifact', 'v1CreateNodeControllerArtifactRequest', v1CreateNodeControllerArtifactRequest)
5694
- const localVarPath = `/v1/node-controller-artifact`;
6082
+ v1CreateNodeControllerCrashReport: async (v1CreateNodeControllerCrashReportRequest: V1CreateNodeControllerCrashReportRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
6083
+ // verify required parameter 'v1CreateNodeControllerCrashReportRequest' is not null or undefined
6084
+ assertParamExists('v1CreateNodeControllerCrashReport', 'v1CreateNodeControllerCrashReportRequest', v1CreateNodeControllerCrashReportRequest)
6085
+ const localVarPath = `/v1/node-controller/crash-report`;
5695
6086
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5696
6087
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5697
6088
  let baseOptions;
@@ -5699,7 +6090,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
5699
6090
  baseOptions = configuration.baseOptions;
5700
6091
  }
5701
6092
 
5702
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
6093
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
5703
6094
  const localVarHeaderParameter = {} as any;
5704
6095
  const localVarQueryParameter = {} as any;
5705
6096
 
@@ -5716,7 +6107,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
5716
6107
  setSearchParams(localVarUrlObj, localVarQueryParameter);
5717
6108
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5718
6109
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5719
- localVarRequestOptions.data = serializeDataIfNeeded(v1CreateNodeControllerArtifactRequest, localVarRequestOptions, configuration)
6110
+ localVarRequestOptions.data = serializeDataIfNeeded(v1CreateNodeControllerCrashReportRequest, localVarRequestOptions, configuration)
5720
6111
 
5721
6112
  return {
5722
6113
  url: toPathString(localVarUrlObj),
@@ -6998,6 +7389,48 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
6998
7389
 
6999
7390
 
7000
7391
 
7392
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7393
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7394
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
7395
+
7396
+ return {
7397
+ url: toPathString(localVarUrlObj),
7398
+ options: localVarRequestOptions,
7399
+ };
7400
+ },
7401
+ /**
7402
+ * Get OTA encryption result
7403
+ * @param {string} id
7404
+ * @param {*} [options] Override http request option.
7405
+ * @throws {RequiredError}
7406
+ */
7407
+ v1GetOTAEncryption: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
7408
+ // verify required parameter 'id' is not null or undefined
7409
+ assertParamExists('v1GetOTAEncryption', 'id', id)
7410
+ const localVarPath = `/v1/encrypt-ota`;
7411
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7412
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7413
+ let baseOptions;
7414
+ if (configuration) {
7415
+ baseOptions = configuration.baseOptions;
7416
+ }
7417
+
7418
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
7419
+ const localVarHeaderParameter = {} as any;
7420
+ const localVarQueryParameter = {} as any;
7421
+
7422
+ // authentication Roles required
7423
+
7424
+ // authentication BearerToken required
7425
+ // http bearer authentication required
7426
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
7427
+
7428
+ if (id !== undefined) {
7429
+ localVarQueryParameter['id'] = id;
7430
+ }
7431
+
7432
+
7433
+
7001
7434
  setSearchParams(localVarUrlObj, localVarQueryParameter);
7002
7435
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7003
7436
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -7810,6 +8243,47 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
7810
8243
  options: localVarRequestOptions,
7811
8244
  };
7812
8245
  },
8246
+ /**
8247
+ * Start OTA encryption of latest software release for the specified edge controller
8248
+ * @param {V1OTAEncryptionRequestLatest} v1OTAEncryptionRequestLatest
8249
+ * @param {*} [options] Override http request option.
8250
+ * @throws {RequiredError}
8251
+ */
8252
+ v1StartOTAEncryptionLatest: async (v1OTAEncryptionRequestLatest: V1OTAEncryptionRequestLatest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
8253
+ // verify required parameter 'v1OTAEncryptionRequestLatest' is not null or undefined
8254
+ assertParamExists('v1StartOTAEncryptionLatest', 'v1OTAEncryptionRequestLatest', v1OTAEncryptionRequestLatest)
8255
+ const localVarPath = `/v1/encrypt-ota`;
8256
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8257
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8258
+ let baseOptions;
8259
+ if (configuration) {
8260
+ baseOptions = configuration.baseOptions;
8261
+ }
8262
+
8263
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
8264
+ const localVarHeaderParameter = {} as any;
8265
+ const localVarQueryParameter = {} as any;
8266
+
8267
+ // authentication Roles required
8268
+
8269
+ // authentication BearerToken required
8270
+ // http bearer authentication required
8271
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
8272
+
8273
+
8274
+
8275
+ localVarHeaderParameter['Content-Type'] = 'application/json';
8276
+
8277
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
8278
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8279
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
8280
+ localVarRequestOptions.data = serializeDataIfNeeded(v1OTAEncryptionRequestLatest, localVarRequestOptions, configuration)
8281
+
8282
+ return {
8283
+ url: toPathString(localVarUrlObj),
8284
+ options: localVarRequestOptions,
8285
+ };
8286
+ },
7813
8287
  /**
7814
8288
  * Update a mount.
7815
8289
  * @param {V1UpdateMountRequest} v1UpdateMountRequest
@@ -8060,6 +8534,27 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
8060
8534
  export const DefaultApiFp = function(configuration?: Configuration) {
8061
8535
  const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
8062
8536
  return {
8537
+ /**
8538
+ * Get edge controller crash report details
8539
+ * @param {string} id
8540
+ * @param {*} [options] Override http request option.
8541
+ * @throws {RequiredError}
8542
+ */
8543
+ async adminV1GetNodeControllerCrashReport(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1NodeControllerCrashReport>> {
8544
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1GetNodeControllerCrashReport(id, options);
8545
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
8546
+ },
8547
+ /**
8548
+ * Get edge controller crash reports around a specific timeframe
8549
+ * @param {string} lineageId
8550
+ * @param {string} time
8551
+ * @param {*} [options] Override http request option.
8552
+ * @throws {RequiredError}
8553
+ */
8554
+ async adminV1GetNodeControllerCrashReportsAtTime(lineageId: string, time: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<V1NodeControllerCrashReport>>> {
8555
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1GetNodeControllerCrashReportsAtTime(lineageId, time, options);
8556
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
8557
+ },
8063
8558
  /**
8064
8559
  * Get images for a node for display in a camera roll format
8065
8560
  * @param {string} [nodeId]
@@ -8108,6 +8603,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
8108
8603
  const localVarAxiosArgs = await localVarAxiosParamCreator.v1CompleteBootstrap(options);
8109
8604
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
8110
8605
  },
8606
+ /**
8607
+ * Complete a crash report.
8608
+ * @param {V1CompleteNodeControllerCrashReportRequest} v1CompleteNodeControllerCrashReportRequest
8609
+ * @param {*} [options] Override http request option.
8610
+ * @throws {RequiredError}
8611
+ */
8612
+ async v1CompleteNodeControllerCrashReport(v1CompleteNodeControllerCrashReportRequest: V1CompleteNodeControllerCrashReportRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptySuccess>> {
8613
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1CompleteNodeControllerCrashReport(v1CompleteNodeControllerCrashReportRequest, options);
8614
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
8615
+ },
8111
8616
  /**
8112
8617
  * Complete a node flare.
8113
8618
  * @param {V1CompleteNodeFlareRequest} v1CompleteNodeFlareRequest
@@ -8238,6 +8743,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
8238
8743
  const localVarAxiosArgs = await localVarAxiosParamCreator.v1CreateNodeControllerArtifact(v1CreateNodeControllerArtifactRequest, options);
8239
8744
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
8240
8745
  },
8746
+ /**
8747
+ * create a crash report record
8748
+ * @param {V1CreateNodeControllerCrashReportRequest} v1CreateNodeControllerCrashReportRequest
8749
+ * @param {*} [options] Override http request option.
8750
+ * @throws {RequiredError}
8751
+ */
8752
+ async v1CreateNodeControllerCrashReport(v1CreateNodeControllerCrashReportRequest: V1CreateNodeControllerCrashReportRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1CreateNodeControllerCrashReportResponse>> {
8753
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1CreateNodeControllerCrashReport(v1CreateNodeControllerCrashReportRequest, options);
8754
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
8755
+ },
8241
8756
  /**
8242
8757
  * Create node diagnostics.
8243
8758
  * @param {V1CreateNodeDiagnosticsRequest} v1CreateNodeDiagnosticsRequest
@@ -8545,6 +9060,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
8545
9060
  const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetNodes(options);
8546
9061
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
8547
9062
  },
9063
+ /**
9064
+ * Get OTA encryption result
9065
+ * @param {string} id
9066
+ * @param {*} [options] Override http request option.
9067
+ * @throws {RequiredError}
9068
+ */
9069
+ async v1GetOTAEncryption(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1OTAEncryptionResult>> {
9070
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetOTAEncryption(id, options);
9071
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9072
+ },
8548
9073
  /**
8549
9074
  * Get an optical tube.
8550
9075
  * @param {string} id
@@ -8748,6 +9273,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
8748
9273
  const localVarAxiosArgs = await localVarAxiosParamCreator.v1RequestMacAddresses(v1RequestMacAddressesRequest, options);
8749
9274
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
8750
9275
  },
9276
+ /**
9277
+ * Start OTA encryption of latest software release for the specified edge controller
9278
+ * @param {V1OTAEncryptionRequestLatest} v1OTAEncryptionRequestLatest
9279
+ * @param {*} [options] Override http request option.
9280
+ * @throws {RequiredError}
9281
+ */
9282
+ async v1StartOTAEncryptionLatest(v1OTAEncryptionRequestLatest: V1OTAEncryptionRequestLatest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1OTAEncryptionResult>> {
9283
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1StartOTAEncryptionLatest(v1OTAEncryptionRequestLatest, options);
9284
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9285
+ },
8751
9286
  /**
8752
9287
  * Update a mount.
8753
9288
  * @param {V1UpdateMountRequest} v1UpdateMountRequest
@@ -8818,6 +9353,24 @@ export const DefaultApiFp = function(configuration?: Configuration) {
8818
9353
  export const DefaultApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
8819
9354
  const localVarFp = DefaultApiFp(configuration)
8820
9355
  return {
9356
+ /**
9357
+ * Get edge controller crash report details
9358
+ * @param {DefaultApiAdminV1GetNodeControllerCrashReportRequest} requestParameters Request parameters.
9359
+ * @param {*} [options] Override http request option.
9360
+ * @throws {RequiredError}
9361
+ */
9362
+ adminV1GetNodeControllerCrashReport(requestParameters: DefaultApiAdminV1GetNodeControllerCrashReportRequest, options?: AxiosRequestConfig): AxiosPromise<V1NodeControllerCrashReport> {
9363
+ return localVarFp.adminV1GetNodeControllerCrashReport(requestParameters.id, options).then((request) => request(axios, basePath));
9364
+ },
9365
+ /**
9366
+ * Get edge controller crash reports around a specific timeframe
9367
+ * @param {DefaultApiAdminV1GetNodeControllerCrashReportsAtTimeRequest} requestParameters Request parameters.
9368
+ * @param {*} [options] Override http request option.
9369
+ * @throws {RequiredError}
9370
+ */
9371
+ adminV1GetNodeControllerCrashReportsAtTime(requestParameters: DefaultApiAdminV1GetNodeControllerCrashReportsAtTimeRequest, options?: AxiosRequestConfig): AxiosPromise<Array<V1NodeControllerCrashReport>> {
9372
+ return localVarFp.adminV1GetNodeControllerCrashReportsAtTime(requestParameters.lineageId, requestParameters.time, options).then((request) => request(axios, basePath));
9373
+ },
8821
9374
  /**
8822
9375
  * Get images for a node for display in a camera roll format
8823
9376
  * @param {DefaultApiGetCameraRollRequest} requestParameters Request parameters.
@@ -8852,6 +9405,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
8852
9405
  v1CompleteBootstrap(options?: AxiosRequestConfig): AxiosPromise<EmptySuccess> {
8853
9406
  return localVarFp.v1CompleteBootstrap(options).then((request) => request(axios, basePath));
8854
9407
  },
9408
+ /**
9409
+ * Complete a crash report.
9410
+ * @param {DefaultApiV1CompleteNodeControllerCrashReportRequest} requestParameters Request parameters.
9411
+ * @param {*} [options] Override http request option.
9412
+ * @throws {RequiredError}
9413
+ */
9414
+ v1CompleteNodeControllerCrashReport(requestParameters: DefaultApiV1CompleteNodeControllerCrashReportRequest, options?: AxiosRequestConfig): AxiosPromise<EmptySuccess> {
9415
+ return localVarFp.v1CompleteNodeControllerCrashReport(requestParameters.v1CompleteNodeControllerCrashReportRequest, options).then((request) => request(axios, basePath));
9416
+ },
8855
9417
  /**
8856
9418
  * Complete a node flare.
8857
9419
  * @param {DefaultApiV1CompleteNodeFlareRequest} requestParameters Request parameters.
@@ -8969,6 +9531,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
8969
9531
  v1CreateNodeControllerArtifact(requestParameters: DefaultApiV1CreateNodeControllerArtifactRequest, options?: AxiosRequestConfig): AxiosPromise<V1NodeControllerArtifact> {
8970
9532
  return localVarFp.v1CreateNodeControllerArtifact(requestParameters.v1CreateNodeControllerArtifactRequest, options).then((request) => request(axios, basePath));
8971
9533
  },
9534
+ /**
9535
+ * create a crash report record
9536
+ * @param {DefaultApiV1CreateNodeControllerCrashReportRequest} requestParameters Request parameters.
9537
+ * @param {*} [options] Override http request option.
9538
+ * @throws {RequiredError}
9539
+ */
9540
+ v1CreateNodeControllerCrashReport(requestParameters: DefaultApiV1CreateNodeControllerCrashReportRequest, options?: AxiosRequestConfig): AxiosPromise<V1CreateNodeControllerCrashReportResponse> {
9541
+ return localVarFp.v1CreateNodeControllerCrashReport(requestParameters.v1CreateNodeControllerCrashReportRequest, options).then((request) => request(axios, basePath));
9542
+ },
8972
9543
  /**
8973
9544
  * Create node diagnostics.
8974
9545
  * @param {DefaultApiV1CreateNodeDiagnosticsRequest} requestParameters Request parameters.
@@ -9237,6 +9808,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
9237
9808
  v1GetNodes(options?: AxiosRequestConfig): AxiosPromise<V1GetNodes> {
9238
9809
  return localVarFp.v1GetNodes(options).then((request) => request(axios, basePath));
9239
9810
  },
9811
+ /**
9812
+ * Get OTA encryption result
9813
+ * @param {DefaultApiV1GetOTAEncryptionRequest} requestParameters Request parameters.
9814
+ * @param {*} [options] Override http request option.
9815
+ * @throws {RequiredError}
9816
+ */
9817
+ v1GetOTAEncryption(requestParameters: DefaultApiV1GetOTAEncryptionRequest, options?: AxiosRequestConfig): AxiosPromise<V1OTAEncryptionResult> {
9818
+ return localVarFp.v1GetOTAEncryption(requestParameters.id, options).then((request) => request(axios, basePath));
9819
+ },
9240
9820
  /**
9241
9821
  * Get an optical tube.
9242
9822
  * @param {DefaultApiV1GetOpticalTubeRequest} requestParameters Request parameters.
@@ -9418,6 +9998,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
9418
9998
  v1RequestMacAddresses(requestParameters: DefaultApiV1RequestMacAddressesRequest, options?: AxiosRequestConfig): AxiosPromise<V1RequestMacAddressesResponse> {
9419
9999
  return localVarFp.v1RequestMacAddresses(requestParameters.v1RequestMacAddressesRequest, options).then((request) => request(axios, basePath));
9420
10000
  },
10001
+ /**
10002
+ * Start OTA encryption of latest software release for the specified edge controller
10003
+ * @param {DefaultApiV1StartOTAEncryptionLatestRequest} requestParameters Request parameters.
10004
+ * @param {*} [options] Override http request option.
10005
+ * @throws {RequiredError}
10006
+ */
10007
+ v1StartOTAEncryptionLatest(requestParameters: DefaultApiV1StartOTAEncryptionLatestRequest, options?: AxiosRequestConfig): AxiosPromise<V1OTAEncryptionResult> {
10008
+ return localVarFp.v1StartOTAEncryptionLatest(requestParameters.v1OTAEncryptionRequestLatest, options).then((request) => request(axios, basePath));
10009
+ },
9421
10010
  /**
9422
10011
  * Update a mount.
9423
10012
  * @param {DefaultApiV1UpdateMountRequest} requestParameters Request parameters.
@@ -9475,6 +10064,41 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
9475
10064
  };
9476
10065
  };
9477
10066
 
10067
+ /**
10068
+ * Request parameters for adminV1GetNodeControllerCrashReport operation in DefaultApi.
10069
+ * @export
10070
+ * @interface DefaultApiAdminV1GetNodeControllerCrashReportRequest
10071
+ */
10072
+ export interface DefaultApiAdminV1GetNodeControllerCrashReportRequest {
10073
+ /**
10074
+ *
10075
+ * @type {string}
10076
+ * @memberof DefaultApiAdminV1GetNodeControllerCrashReport
10077
+ */
10078
+ readonly id: string
10079
+ }
10080
+
10081
+ /**
10082
+ * Request parameters for adminV1GetNodeControllerCrashReportsAtTime operation in DefaultApi.
10083
+ * @export
10084
+ * @interface DefaultApiAdminV1GetNodeControllerCrashReportsAtTimeRequest
10085
+ */
10086
+ export interface DefaultApiAdminV1GetNodeControllerCrashReportsAtTimeRequest {
10087
+ /**
10088
+ *
10089
+ * @type {string}
10090
+ * @memberof DefaultApiAdminV1GetNodeControllerCrashReportsAtTime
10091
+ */
10092
+ readonly lineageId: string
10093
+
10094
+ /**
10095
+ *
10096
+ * @type {string}
10097
+ * @memberof DefaultApiAdminV1GetNodeControllerCrashReportsAtTime
10098
+ */
10099
+ readonly time: string
10100
+ }
10101
+
9478
10102
  /**
9479
10103
  * Request parameters for getCameraRoll operation in DefaultApi.
9480
10104
  * @export
@@ -9573,6 +10197,20 @@ export interface DefaultApiV1CameraMatchRequest {
9573
10197
  readonly isColor?: boolean
9574
10198
  }
9575
10199
 
10200
+ /**
10201
+ * Request parameters for v1CompleteNodeControllerCrashReport operation in DefaultApi.
10202
+ * @export
10203
+ * @interface DefaultApiV1CompleteNodeControllerCrashReportRequest
10204
+ */
10205
+ export interface DefaultApiV1CompleteNodeControllerCrashReportRequest {
10206
+ /**
10207
+ *
10208
+ * @type {V1CompleteNodeControllerCrashReportRequest}
10209
+ * @memberof DefaultApiV1CompleteNodeControllerCrashReport
10210
+ */
10211
+ readonly v1CompleteNodeControllerCrashReportRequest: V1CompleteNodeControllerCrashReportRequest
10212
+ }
10213
+
9576
10214
  /**
9577
10215
  * Request parameters for v1CompleteNodeFlare operation in DefaultApi.
9578
10216
  * @export
@@ -9755,6 +10393,20 @@ export interface DefaultApiV1CreateNodeControllerArtifactRequest {
9755
10393
  readonly v1CreateNodeControllerArtifactRequest: V1CreateNodeControllerArtifactRequest
9756
10394
  }
9757
10395
 
10396
+ /**
10397
+ * Request parameters for v1CreateNodeControllerCrashReport operation in DefaultApi.
10398
+ * @export
10399
+ * @interface DefaultApiV1CreateNodeControllerCrashReportRequest
10400
+ */
10401
+ export interface DefaultApiV1CreateNodeControllerCrashReportRequest {
10402
+ /**
10403
+ *
10404
+ * @type {V1CreateNodeControllerCrashReportRequest}
10405
+ * @memberof DefaultApiV1CreateNodeControllerCrashReport
10406
+ */
10407
+ readonly v1CreateNodeControllerCrashReportRequest: V1CreateNodeControllerCrashReportRequest
10408
+ }
10409
+
9758
10410
  /**
9759
10411
  * Request parameters for v1CreateNodeDiagnostics operation in DefaultApi.
9760
10412
  * @export
@@ -10210,6 +10862,20 @@ export interface DefaultApiV1GetNodePropertiesRequest {
10210
10862
  readonly nodeId: string
10211
10863
  }
10212
10864
 
10865
+ /**
10866
+ * Request parameters for v1GetOTAEncryption operation in DefaultApi.
10867
+ * @export
10868
+ * @interface DefaultApiV1GetOTAEncryptionRequest
10869
+ */
10870
+ export interface DefaultApiV1GetOTAEncryptionRequest {
10871
+ /**
10872
+ *
10873
+ * @type {string}
10874
+ * @memberof DefaultApiV1GetOTAEncryption
10875
+ */
10876
+ readonly id: string
10877
+ }
10878
+
10213
10879
  /**
10214
10880
  * Request parameters for v1GetOpticalTube operation in DefaultApi.
10215
10881
  * @export
@@ -10462,6 +11128,20 @@ export interface DefaultApiV1RequestMacAddressesRequest {
10462
11128
  readonly v1RequestMacAddressesRequest: V1RequestMacAddressesRequest
10463
11129
  }
10464
11130
 
11131
+ /**
11132
+ * Request parameters for v1StartOTAEncryptionLatest operation in DefaultApi.
11133
+ * @export
11134
+ * @interface DefaultApiV1StartOTAEncryptionLatestRequest
11135
+ */
11136
+ export interface DefaultApiV1StartOTAEncryptionLatestRequest {
11137
+ /**
11138
+ *
11139
+ * @type {V1OTAEncryptionRequestLatest}
11140
+ * @memberof DefaultApiV1StartOTAEncryptionLatest
11141
+ */
11142
+ readonly v1OTAEncryptionRequestLatest: V1OTAEncryptionRequestLatest
11143
+ }
11144
+
10465
11145
  /**
10466
11146
  * Request parameters for v1UpdateMount operation in DefaultApi.
10467
11147
  * @export
@@ -10553,6 +11233,28 @@ export interface DefaultApiV2IssueCertificateRequest {
10553
11233
  * @extends {BaseAPI}
10554
11234
  */
10555
11235
  export class DefaultApi extends BaseAPI {
11236
+ /**
11237
+ * Get edge controller crash report details
11238
+ * @param {DefaultApiAdminV1GetNodeControllerCrashReportRequest} requestParameters Request parameters.
11239
+ * @param {*} [options] Override http request option.
11240
+ * @throws {RequiredError}
11241
+ * @memberof DefaultApi
11242
+ */
11243
+ public adminV1GetNodeControllerCrashReport(requestParameters: DefaultApiAdminV1GetNodeControllerCrashReportRequest, options?: AxiosRequestConfig) {
11244
+ return DefaultApiFp(this.configuration).adminV1GetNodeControllerCrashReport(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
11245
+ }
11246
+
11247
+ /**
11248
+ * Get edge controller crash reports around a specific timeframe
11249
+ * @param {DefaultApiAdminV1GetNodeControllerCrashReportsAtTimeRequest} requestParameters Request parameters.
11250
+ * @param {*} [options] Override http request option.
11251
+ * @throws {RequiredError}
11252
+ * @memberof DefaultApi
11253
+ */
11254
+ public adminV1GetNodeControllerCrashReportsAtTime(requestParameters: DefaultApiAdminV1GetNodeControllerCrashReportsAtTimeRequest, options?: AxiosRequestConfig) {
11255
+ return DefaultApiFp(this.configuration).adminV1GetNodeControllerCrashReportsAtTime(requestParameters.lineageId, requestParameters.time, options).then((request) => request(this.axios, this.basePath));
11256
+ }
11257
+
10556
11258
  /**
10557
11259
  * Get images for a node for display in a camera roll format
10558
11260
  * @param {DefaultApiGetCameraRollRequest} requestParameters Request parameters.
@@ -10595,6 +11297,17 @@ export class DefaultApi extends BaseAPI {
10595
11297
  return DefaultApiFp(this.configuration).v1CompleteBootstrap(options).then((request) => request(this.axios, this.basePath));
10596
11298
  }
10597
11299
 
11300
+ /**
11301
+ * Complete a crash report.
11302
+ * @param {DefaultApiV1CompleteNodeControllerCrashReportRequest} requestParameters Request parameters.
11303
+ * @param {*} [options] Override http request option.
11304
+ * @throws {RequiredError}
11305
+ * @memberof DefaultApi
11306
+ */
11307
+ public v1CompleteNodeControllerCrashReport(requestParameters: DefaultApiV1CompleteNodeControllerCrashReportRequest, options?: AxiosRequestConfig) {
11308
+ return DefaultApiFp(this.configuration).v1CompleteNodeControllerCrashReport(requestParameters.v1CompleteNodeControllerCrashReportRequest, options).then((request) => request(this.axios, this.basePath));
11309
+ }
11310
+
10598
11311
  /**
10599
11312
  * Complete a node flare.
10600
11313
  * @param {DefaultApiV1CompleteNodeFlareRequest} requestParameters Request parameters.
@@ -10738,6 +11451,17 @@ export class DefaultApi extends BaseAPI {
10738
11451
  return DefaultApiFp(this.configuration).v1CreateNodeControllerArtifact(requestParameters.v1CreateNodeControllerArtifactRequest, options).then((request) => request(this.axios, this.basePath));
10739
11452
  }
10740
11453
 
11454
+ /**
11455
+ * create a crash report record
11456
+ * @param {DefaultApiV1CreateNodeControllerCrashReportRequest} requestParameters Request parameters.
11457
+ * @param {*} [options] Override http request option.
11458
+ * @throws {RequiredError}
11459
+ * @memberof DefaultApi
11460
+ */
11461
+ public v1CreateNodeControllerCrashReport(requestParameters: DefaultApiV1CreateNodeControllerCrashReportRequest, options?: AxiosRequestConfig) {
11462
+ return DefaultApiFp(this.configuration).v1CreateNodeControllerCrashReport(requestParameters.v1CreateNodeControllerCrashReportRequest, options).then((request) => request(this.axios, this.basePath));
11463
+ }
11464
+
10741
11465
  /**
10742
11466
  * Create node diagnostics.
10743
11467
  * @param {DefaultApiV1CreateNodeDiagnosticsRequest} requestParameters Request parameters.
@@ -11066,6 +11790,17 @@ export class DefaultApi extends BaseAPI {
11066
11790
  return DefaultApiFp(this.configuration).v1GetNodes(options).then((request) => request(this.axios, this.basePath));
11067
11791
  }
11068
11792
 
11793
+ /**
11794
+ * Get OTA encryption result
11795
+ * @param {DefaultApiV1GetOTAEncryptionRequest} requestParameters Request parameters.
11796
+ * @param {*} [options] Override http request option.
11797
+ * @throws {RequiredError}
11798
+ * @memberof DefaultApi
11799
+ */
11800
+ public v1GetOTAEncryption(requestParameters: DefaultApiV1GetOTAEncryptionRequest, options?: AxiosRequestConfig) {
11801
+ return DefaultApiFp(this.configuration).v1GetOTAEncryption(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
11802
+ }
11803
+
11069
11804
  /**
11070
11805
  * Get an optical tube.
11071
11806
  * @param {DefaultApiV1GetOpticalTubeRequest} requestParameters Request parameters.
@@ -11287,6 +12022,17 @@ export class DefaultApi extends BaseAPI {
11287
12022
  return DefaultApiFp(this.configuration).v1RequestMacAddresses(requestParameters.v1RequestMacAddressesRequest, options).then((request) => request(this.axios, this.basePath));
11288
12023
  }
11289
12024
 
12025
+ /**
12026
+ * Start OTA encryption of latest software release for the specified edge controller
12027
+ * @param {DefaultApiV1StartOTAEncryptionLatestRequest} requestParameters Request parameters.
12028
+ * @param {*} [options] Override http request option.
12029
+ * @throws {RequiredError}
12030
+ * @memberof DefaultApi
12031
+ */
12032
+ public v1StartOTAEncryptionLatest(requestParameters: DefaultApiV1StartOTAEncryptionLatestRequest, options?: AxiosRequestConfig) {
12033
+ return DefaultApiFp(this.configuration).v1StartOTAEncryptionLatest(requestParameters.v1OTAEncryptionRequestLatest, options).then((request) => request(this.axios, this.basePath));
12034
+ }
12035
+
11290
12036
  /**
11291
12037
  * Update a mount.
11292
12038
  * @param {DefaultApiV1UpdateMountRequest} requestParameters Request parameters.