@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/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.8106
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]
@@ -5197,15 +5506,15 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
5197
5506
  };
5198
5507
  },
5199
5508
  /**
5200
- * Complete a node flare.
5201
- * @param {V1CompleteNodeFlareRequest} v1CompleteNodeFlareRequest
5509
+ * Complete a crash report.
5510
+ * @param {V1CompleteNodeControllerCrashReportRequest} v1CompleteNodeControllerCrashReportRequest
5202
5511
  * @param {*} [options] Override http request option.
5203
5512
  * @throws {RequiredError}
5204
5513
  */
5205
- v1CompleteNodeFlare: async (v1CompleteNodeFlareRequest: V1CompleteNodeFlareRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5206
- // verify required parameter 'v1CompleteNodeFlareRequest' is not null or undefined
5207
- assertParamExists('v1CompleteNodeFlare', 'v1CompleteNodeFlareRequest', v1CompleteNodeFlareRequest)
5208
- const localVarPath = `/v1/node-flare/complete`;
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`;
5209
5518
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5210
5519
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5211
5520
  let baseOptions;
@@ -5230,7 +5539,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
5230
5539
  setSearchParams(localVarUrlObj, localVarQueryParameter);
5231
5540
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5232
5541
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5233
- localVarRequestOptions.data = serializeDataIfNeeded(v1CompleteNodeFlareRequest, localVarRequestOptions, configuration)
5542
+ localVarRequestOptions.data = serializeDataIfNeeded(v1CompleteNodeControllerCrashReportRequest, localVarRequestOptions, configuration)
5234
5543
 
5235
5544
  return {
5236
5545
  url: toPathString(localVarUrlObj),
@@ -5238,15 +5547,15 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
5238
5547
  };
5239
5548
  },
5240
5549
  /**
5241
- * Complete an observation.
5242
- * @param {V1CompleteObservationRequest} v1CompleteObservationRequest
5550
+ * Complete a node flare.
5551
+ * @param {V1CompleteNodeFlareRequest} v1CompleteNodeFlareRequest
5243
5552
  * @param {*} [options] Override http request option.
5244
5553
  * @throws {RequiredError}
5245
5554
  */
5246
- v1CompleteObservation: async (v1CompleteObservationRequest: V1CompleteObservationRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5247
- // verify required parameter 'v1CompleteObservationRequest' is not null or undefined
5248
- assertParamExists('v1CompleteObservation', 'v1CompleteObservationRequest', v1CompleteObservationRequest)
5249
- const localVarPath = `/v1/observation-complete`;
5555
+ v1CompleteNodeFlare: async (v1CompleteNodeFlareRequest: V1CompleteNodeFlareRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5556
+ // verify required parameter 'v1CompleteNodeFlareRequest' is not null or undefined
5557
+ assertParamExists('v1CompleteNodeFlare', 'v1CompleteNodeFlareRequest', v1CompleteNodeFlareRequest)
5558
+ const localVarPath = `/v1/node-flare/complete`;
5250
5559
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5251
5560
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5252
5561
  let baseOptions;
@@ -5254,7 +5563,48 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
5254
5563
  baseOptions = configuration.baseOptions;
5255
5564
  }
5256
5565
 
5257
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
5566
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
5567
+ const localVarHeaderParameter = {} as any;
5568
+ const localVarQueryParameter = {} as any;
5569
+
5570
+ // authentication Roles required
5571
+
5572
+ // authentication BearerToken required
5573
+ // http bearer authentication required
5574
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
5575
+
5576
+
5577
+
5578
+ localVarHeaderParameter['Content-Type'] = 'application/json';
5579
+
5580
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5581
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5582
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5583
+ localVarRequestOptions.data = serializeDataIfNeeded(v1CompleteNodeFlareRequest, localVarRequestOptions, configuration)
5584
+
5585
+ return {
5586
+ url: toPathString(localVarUrlObj),
5587
+ options: localVarRequestOptions,
5588
+ };
5589
+ },
5590
+ /**
5591
+ * Complete an observation.
5592
+ * @param {V1CompleteObservationRequest} v1CompleteObservationRequest
5593
+ * @param {*} [options] Override http request option.
5594
+ * @throws {RequiredError}
5595
+ */
5596
+ v1CompleteObservation: async (v1CompleteObservationRequest: V1CompleteObservationRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5597
+ // verify required parameter 'v1CompleteObservationRequest' is not null or undefined
5598
+ assertParamExists('v1CompleteObservation', 'v1CompleteObservationRequest', v1CompleteObservationRequest)
5599
+ const localVarPath = `/v1/observation-complete`;
5600
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5601
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5602
+ let baseOptions;
5603
+ if (configuration) {
5604
+ baseOptions = configuration.baseOptions;
5605
+ }
5606
+
5607
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
5258
5608
  const localVarHeaderParameter = {} as any;
5259
5609
  const localVarQueryParameter = {} as any;
5260
5610
 
@@ -5723,6 +6073,47 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
5723
6073
  options: localVarRequestOptions,
5724
6074
  };
5725
6075
  },
6076
+ /**
6077
+ * create a crash report record
6078
+ * @param {V1CreateNodeControllerCrashReportRequest} v1CreateNodeControllerCrashReportRequest
6079
+ * @param {*} [options] Override http request option.
6080
+ * @throws {RequiredError}
6081
+ */
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`;
6086
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6087
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6088
+ let baseOptions;
6089
+ if (configuration) {
6090
+ baseOptions = configuration.baseOptions;
6091
+ }
6092
+
6093
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
6094
+ const localVarHeaderParameter = {} as any;
6095
+ const localVarQueryParameter = {} as any;
6096
+
6097
+ // authentication Roles required
6098
+
6099
+ // authentication BearerToken required
6100
+ // http bearer authentication required
6101
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
6102
+
6103
+
6104
+
6105
+ localVarHeaderParameter['Content-Type'] = 'application/json';
6106
+
6107
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6108
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6109
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
6110
+ localVarRequestOptions.data = serializeDataIfNeeded(v1CreateNodeControllerCrashReportRequest, localVarRequestOptions, configuration)
6111
+
6112
+ return {
6113
+ url: toPathString(localVarUrlObj),
6114
+ options: localVarRequestOptions,
6115
+ };
6116
+ },
5726
6117
  /**
5727
6118
  * Create node diagnostics.
5728
6119
  * @param {V1CreateNodeDiagnosticsRequest} v1CreateNodeDiagnosticsRequest
@@ -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};
@@ -7291,13 +7724,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
7291
7724
  },
7292
7725
  /**
7293
7726
  * Get the target QCOM OTA software release for a node
7294
- * @param {string} lineageId lineage id
7295
7727
  * @param {*} [options] Override http request option.
7296
7728
  * @throws {RequiredError}
7297
7729
  */
7298
- v1GetTargetQCOMOTASoftwareReleaseForNode: async (lineageId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
7299
- // verify required parameter 'lineageId' is not null or undefined
7300
- assertParamExists('v1GetTargetQCOMOTASoftwareReleaseForNode', 'lineageId', lineageId)
7730
+ v1GetTargetQCOMOTASoftwareReleaseForNode: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
7301
7731
  const localVarPath = `/v1/node-controller-releases`;
7302
7732
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
7303
7733
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -7316,10 +7746,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
7316
7746
  // http bearer authentication required
7317
7747
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
7318
7748
 
7319
- if (lineageId !== undefined) {
7320
- localVarQueryParameter['lineageId'] = lineageId;
7321
- }
7322
-
7323
7749
 
7324
7750
 
7325
7751
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -7817,6 +8243,47 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
7817
8243
  options: localVarRequestOptions,
7818
8244
  };
7819
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
+ },
7820
8287
  /**
7821
8288
  * Update a mount.
7822
8289
  * @param {V1UpdateMountRequest} v1UpdateMountRequest
@@ -8067,6 +8534,27 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
8067
8534
  export const DefaultApiFp = function(configuration?: Configuration) {
8068
8535
  const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
8069
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
+ },
8070
8558
  /**
8071
8559
  * Get images for a node for display in a camera roll format
8072
8560
  * @param {string} [nodeId]
@@ -8115,6 +8603,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
8115
8603
  const localVarAxiosArgs = await localVarAxiosParamCreator.v1CompleteBootstrap(options);
8116
8604
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
8117
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
+ },
8118
8616
  /**
8119
8617
  * Complete a node flare.
8120
8618
  * @param {V1CompleteNodeFlareRequest} v1CompleteNodeFlareRequest
@@ -8245,6 +8743,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
8245
8743
  const localVarAxiosArgs = await localVarAxiosParamCreator.v1CreateNodeControllerArtifact(v1CreateNodeControllerArtifactRequest, options);
8246
8744
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
8247
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
+ },
8248
8756
  /**
8249
8757
  * Create node diagnostics.
8250
8758
  * @param {V1CreateNodeDiagnosticsRequest} v1CreateNodeDiagnosticsRequest
@@ -8552,6 +9060,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
8552
9060
  const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetNodes(options);
8553
9061
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
8554
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
+ },
8555
9073
  /**
8556
9074
  * Get an optical tube.
8557
9075
  * @param {string} id
@@ -8623,12 +9141,11 @@ export const DefaultApiFp = function(configuration?: Configuration) {
8623
9141
  },
8624
9142
  /**
8625
9143
  * Get the target QCOM OTA software release for a node
8626
- * @param {string} lineageId lineage id
8627
9144
  * @param {*} [options] Override http request option.
8628
9145
  * @throws {RequiredError}
8629
9146
  */
8630
- async v1GetTargetQCOMOTASoftwareReleaseForNode(lineageId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1SoftwareRelease>> {
8631
- const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetTargetQCOMOTASoftwareReleaseForNode(lineageId, options);
9147
+ async v1GetTargetQCOMOTASoftwareReleaseForNode(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1SoftwareRelease>> {
9148
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1GetTargetQCOMOTASoftwareReleaseForNode(options);
8632
9149
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
8633
9150
  },
8634
9151
  /**
@@ -8756,6 +9273,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
8756
9273
  const localVarAxiosArgs = await localVarAxiosParamCreator.v1RequestMacAddresses(v1RequestMacAddressesRequest, options);
8757
9274
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
8758
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
+ },
8759
9286
  /**
8760
9287
  * Update a mount.
8761
9288
  * @param {V1UpdateMountRequest} v1UpdateMountRequest
@@ -8826,6 +9353,24 @@ export const DefaultApiFp = function(configuration?: Configuration) {
8826
9353
  export const DefaultApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
8827
9354
  const localVarFp = DefaultApiFp(configuration)
8828
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
+ },
8829
9374
  /**
8830
9375
  * Get images for a node for display in a camera roll format
8831
9376
  * @param {DefaultApiGetCameraRollRequest} requestParameters Request parameters.
@@ -8860,6 +9405,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
8860
9405
  v1CompleteBootstrap(options?: AxiosRequestConfig): AxiosPromise<EmptySuccess> {
8861
9406
  return localVarFp.v1CompleteBootstrap(options).then((request) => request(axios, basePath));
8862
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
+ },
8863
9417
  /**
8864
9418
  * Complete a node flare.
8865
9419
  * @param {DefaultApiV1CompleteNodeFlareRequest} requestParameters Request parameters.
@@ -8977,6 +9531,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
8977
9531
  v1CreateNodeControllerArtifact(requestParameters: DefaultApiV1CreateNodeControllerArtifactRequest, options?: AxiosRequestConfig): AxiosPromise<V1NodeControllerArtifact> {
8978
9532
  return localVarFp.v1CreateNodeControllerArtifact(requestParameters.v1CreateNodeControllerArtifactRequest, options).then((request) => request(axios, basePath));
8979
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
+ },
8980
9543
  /**
8981
9544
  * Create node diagnostics.
8982
9545
  * @param {DefaultApiV1CreateNodeDiagnosticsRequest} requestParameters Request parameters.
@@ -9245,6 +9808,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
9245
9808
  v1GetNodes(options?: AxiosRequestConfig): AxiosPromise<V1GetNodes> {
9246
9809
  return localVarFp.v1GetNodes(options).then((request) => request(axios, basePath));
9247
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
+ },
9248
9820
  /**
9249
9821
  * Get an optical tube.
9250
9822
  * @param {DefaultApiV1GetOpticalTubeRequest} requestParameters Request parameters.
@@ -9309,12 +9881,11 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
9309
9881
  },
9310
9882
  /**
9311
9883
  * Get the target QCOM OTA software release for a node
9312
- * @param {DefaultApiV1GetTargetQCOMOTASoftwareReleaseForNodeRequest} requestParameters Request parameters.
9313
9884
  * @param {*} [options] Override http request option.
9314
9885
  * @throws {RequiredError}
9315
9886
  */
9316
- v1GetTargetQCOMOTASoftwareReleaseForNode(requestParameters: DefaultApiV1GetTargetQCOMOTASoftwareReleaseForNodeRequest, options?: AxiosRequestConfig): AxiosPromise<V1SoftwareRelease> {
9317
- return localVarFp.v1GetTargetQCOMOTASoftwareReleaseForNode(requestParameters.lineageId, options).then((request) => request(axios, basePath));
9887
+ v1GetTargetQCOMOTASoftwareReleaseForNode(options?: AxiosRequestConfig): AxiosPromise<V1SoftwareRelease> {
9888
+ return localVarFp.v1GetTargetQCOMOTASoftwareReleaseForNode(options).then((request) => request(axios, basePath));
9318
9889
  },
9319
9890
  /**
9320
9891
  * Get the target software releases for a node
@@ -9427,6 +9998,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
9427
9998
  v1RequestMacAddresses(requestParameters: DefaultApiV1RequestMacAddressesRequest, options?: AxiosRequestConfig): AxiosPromise<V1RequestMacAddressesResponse> {
9428
9999
  return localVarFp.v1RequestMacAddresses(requestParameters.v1RequestMacAddressesRequest, options).then((request) => request(axios, basePath));
9429
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
+ },
9430
10010
  /**
9431
10011
  * Update a mount.
9432
10012
  * @param {DefaultApiV1UpdateMountRequest} requestParameters Request parameters.
@@ -9484,6 +10064,41 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
9484
10064
  };
9485
10065
  };
9486
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
+
9487
10102
  /**
9488
10103
  * Request parameters for getCameraRoll operation in DefaultApi.
9489
10104
  * @export
@@ -9582,6 +10197,20 @@ export interface DefaultApiV1CameraMatchRequest {
9582
10197
  readonly isColor?: boolean
9583
10198
  }
9584
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
+
9585
10214
  /**
9586
10215
  * Request parameters for v1CompleteNodeFlare operation in DefaultApi.
9587
10216
  * @export
@@ -9764,6 +10393,20 @@ export interface DefaultApiV1CreateNodeControllerArtifactRequest {
9764
10393
  readonly v1CreateNodeControllerArtifactRequest: V1CreateNodeControllerArtifactRequest
9765
10394
  }
9766
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
+
9767
10410
  /**
9768
10411
  * Request parameters for v1CreateNodeDiagnostics operation in DefaultApi.
9769
10412
  * @export
@@ -10219,6 +10862,20 @@ export interface DefaultApiV1GetNodePropertiesRequest {
10219
10862
  readonly nodeId: string
10220
10863
  }
10221
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
+
10222
10879
  /**
10223
10880
  * Request parameters for v1GetOpticalTube operation in DefaultApi.
10224
10881
  * @export
@@ -10303,20 +10960,6 @@ export interface DefaultApiV1GetPlateSolveCatalogDiffRequest {
10303
10960
  readonly v1GetPlateSolveCatalogDiffRequest: V1GetPlateSolveCatalogDiffRequest
10304
10961
  }
10305
10962
 
10306
- /**
10307
- * Request parameters for v1GetTargetQCOMOTASoftwareReleaseForNode operation in DefaultApi.
10308
- * @export
10309
- * @interface DefaultApiV1GetTargetQCOMOTASoftwareReleaseForNodeRequest
10310
- */
10311
- export interface DefaultApiV1GetTargetQCOMOTASoftwareReleaseForNodeRequest {
10312
- /**
10313
- * lineage id
10314
- * @type {string}
10315
- * @memberof DefaultApiV1GetTargetQCOMOTASoftwareReleaseForNode
10316
- */
10317
- readonly lineageId: string
10318
- }
10319
-
10320
10963
  /**
10321
10964
  * Request parameters for v1GetTargetSoftwareReleasesForNode operation in DefaultApi.
10322
10965
  * @export
@@ -10485,6 +11128,20 @@ export interface DefaultApiV1RequestMacAddressesRequest {
10485
11128
  readonly v1RequestMacAddressesRequest: V1RequestMacAddressesRequest
10486
11129
  }
10487
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
+
10488
11145
  /**
10489
11146
  * Request parameters for v1UpdateMount operation in DefaultApi.
10490
11147
  * @export
@@ -10576,6 +11233,28 @@ export interface DefaultApiV2IssueCertificateRequest {
10576
11233
  * @extends {BaseAPI}
10577
11234
  */
10578
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
+
10579
11258
  /**
10580
11259
  * Get images for a node for display in a camera roll format
10581
11260
  * @param {DefaultApiGetCameraRollRequest} requestParameters Request parameters.
@@ -10618,6 +11297,17 @@ export class DefaultApi extends BaseAPI {
10618
11297
  return DefaultApiFp(this.configuration).v1CompleteBootstrap(options).then((request) => request(this.axios, this.basePath));
10619
11298
  }
10620
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
+
10621
11311
  /**
10622
11312
  * Complete a node flare.
10623
11313
  * @param {DefaultApiV1CompleteNodeFlareRequest} requestParameters Request parameters.
@@ -10761,6 +11451,17 @@ export class DefaultApi extends BaseAPI {
10761
11451
  return DefaultApiFp(this.configuration).v1CreateNodeControllerArtifact(requestParameters.v1CreateNodeControllerArtifactRequest, options).then((request) => request(this.axios, this.basePath));
10762
11452
  }
10763
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
+
10764
11465
  /**
10765
11466
  * Create node diagnostics.
10766
11467
  * @param {DefaultApiV1CreateNodeDiagnosticsRequest} requestParameters Request parameters.
@@ -11089,6 +11790,17 @@ export class DefaultApi extends BaseAPI {
11089
11790
  return DefaultApiFp(this.configuration).v1GetNodes(options).then((request) => request(this.axios, this.basePath));
11090
11791
  }
11091
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
+
11092
11804
  /**
11093
11805
  * Get an optical tube.
11094
11806
  * @param {DefaultApiV1GetOpticalTubeRequest} requestParameters Request parameters.
@@ -11167,13 +11879,12 @@ export class DefaultApi extends BaseAPI {
11167
11879
 
11168
11880
  /**
11169
11881
  * Get the target QCOM OTA software release for a node
11170
- * @param {DefaultApiV1GetTargetQCOMOTASoftwareReleaseForNodeRequest} requestParameters Request parameters.
11171
11882
  * @param {*} [options] Override http request option.
11172
11883
  * @throws {RequiredError}
11173
11884
  * @memberof DefaultApi
11174
11885
  */
11175
- public v1GetTargetQCOMOTASoftwareReleaseForNode(requestParameters: DefaultApiV1GetTargetQCOMOTASoftwareReleaseForNodeRequest, options?: AxiosRequestConfig) {
11176
- return DefaultApiFp(this.configuration).v1GetTargetQCOMOTASoftwareReleaseForNode(requestParameters.lineageId, options).then((request) => request(this.axios, this.basePath));
11886
+ public v1GetTargetQCOMOTASoftwareReleaseForNode(options?: AxiosRequestConfig) {
11887
+ return DefaultApiFp(this.configuration).v1GetTargetQCOMOTASoftwareReleaseForNode(options).then((request) => request(this.axios, this.basePath));
11177
11888
  }
11178
11889
 
11179
11890
  /**
@@ -11311,6 +12022,17 @@ export class DefaultApi extends BaseAPI {
11311
12022
  return DefaultApiFp(this.configuration).v1RequestMacAddresses(requestParameters.v1RequestMacAddressesRequest, options).then((request) => request(this.axios, this.basePath));
11312
12023
  }
11313
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
+
11314
12036
  /**
11315
12037
  * Update a mount.
11316
12038
  * @param {DefaultApiV1UpdateMountRequest} requestParameters Request parameters.