@emilgroup/tenant-sdk-node 1.39.1-beta.24 → 1.39.1-beta.26

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.
@@ -118,6 +118,7 @@ models/list-user-group-members-response-class.ts
118
118
  models/list-user-groups-response-class.ts
119
119
  models/list-users-response-class.ts
120
120
  models/oidc-sso-details-input-dto.ts
121
+ models/oidc-sso-details-update-dto.ts
121
122
  models/org-invitation-class.ts
122
123
  models/org-invitation-response-class.ts
123
124
  models/organization-class.ts
@@ -163,6 +164,8 @@ models/update-organization-request-dto-rest.ts
163
164
  models/update-organization-response-class.ts
164
165
  models/update-report-schedule-request-dto.ts
165
166
  models/update-report-schedule-response-class.ts
167
+ models/update-sso-connection-body-dto.ts
168
+ models/update-sso-connection-response-class.ts
166
169
  models/update-sso-connection-status-body-dto.ts
167
170
  models/update-sso-connection-status-response-class.ts
168
171
  models/update-user-group-request-dto.ts
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/tenant-sdk-node@1.39.1-beta.24 --save
20
+ npm install @emilgroup/tenant-sdk-node@1.39.1-beta.26 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/tenant-sdk-node@1.39.1-beta.24
24
+ yarn add @emilgroup/tenant-sdk-node@1.39.1-beta.26
25
25
  ```
26
26
 
27
27
  And then you can import `UsersApi`.
@@ -25,8 +25,14 @@ import { CreateSsoConnectionRequestDto } from '../models';
25
25
  // @ts-ignore
26
26
  import { CreateSsoConnectionResponseClass } from '../models';
27
27
  // @ts-ignore
28
+ import { DeleteResponseClass } from '../models';
29
+ // @ts-ignore
28
30
  import { GetSsoConnectionResponseClass } from '../models';
29
31
  // @ts-ignore
32
+ import { UpdateSsoConnectionBodyDto } from '../models';
33
+ // @ts-ignore
34
+ import { UpdateSsoConnectionResponseClass } from '../models';
35
+ // @ts-ignore
30
36
  import { UpdateSsoConnectionStatusBodyDto } from '../models';
31
37
  // @ts-ignore
32
38
  import { UpdateSsoConnectionStatusResponseClass } from '../models';
@@ -87,6 +93,92 @@ export const SSOConnectionApiAxiosParamCreator = function (configuration?: Confi
87
93
  options: localVarRequestOptions,
88
94
  };
89
95
  },
96
+ /**
97
+ * Removes the configuration, so the tenant can be configured again from scratch. Only an inactive connection can be deleted, so deactivate it first: deleting a live one would lock every SSO user out of the tenant. Custom attributes an attribute mapping provisioned stay on the user pool permanently, because Cognito cannot remove them. **Required Permissions** \"tenant-management.settings.delete\"
98
+ * @summary Delete the tenant\'s SSO connection
99
+ * @param {string} code Connection code.
100
+ * @param {string} [authorization] Bearer Token
101
+ * @param {*} [options] Override http request option.
102
+ * @throws {RequiredError}
103
+ */
104
+ deleteSsoConnection: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
105
+ // verify required parameter 'code' is not null or undefined
106
+ assertParamExists('deleteSsoConnection', 'code', code)
107
+ const localVarPath = `/tenantservice/v1/sso-connection/{code}`
108
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
109
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
110
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
111
+ let baseOptions;
112
+ let baseAccessToken;
113
+ if (configuration) {
114
+ baseOptions = configuration.baseOptions;
115
+ baseAccessToken = configuration.accessToken;
116
+ }
117
+
118
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
119
+ const localVarHeaderParameter = {} as any;
120
+ const localVarQueryParameter = {} as any;
121
+
122
+ // authentication bearer required
123
+ // http bearer authentication required
124
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
125
+
126
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
127
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
128
+ }
129
+
130
+
131
+
132
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
133
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
134
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
135
+
136
+ return {
137
+ url: toPathString(localVarUrlObj),
138
+ options: localVarRequestOptions,
139
+ };
140
+ },
141
+ /**
142
+ * Returns the SSO connection of the calling tenant. A tenant has at most one connection, so no code has to be known up front. Responds with a not found when the tenant has never configured one. **Required Permissions** \"tenant-management.settings.view\"
143
+ * @summary Read the tenant\'s current SSO connection
144
+ * @param {string} [authorization] Bearer Token
145
+ * @param {*} [options] Override http request option.
146
+ * @throws {RequiredError}
147
+ */
148
+ getCurrentSsoConnection: async (authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
149
+ const localVarPath = `/tenantservice/v1/sso-connection/current`;
150
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
151
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
152
+ let baseOptions;
153
+ let baseAccessToken;
154
+ if (configuration) {
155
+ baseOptions = configuration.baseOptions;
156
+ baseAccessToken = configuration.accessToken;
157
+ }
158
+
159
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
160
+ const localVarHeaderParameter = {} as any;
161
+ const localVarQueryParameter = {} as any;
162
+
163
+ // authentication bearer required
164
+ // http bearer authentication required
165
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
166
+
167
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
168
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
169
+ }
170
+
171
+
172
+
173
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
174
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
175
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
176
+
177
+ return {
178
+ url: toPathString(localVarUrlObj),
179
+ options: localVarRequestOptions,
180
+ };
181
+ },
90
182
  /**
91
183
  * Returns the SSO Connection entity identified by code **Required Permissions** \"tenant-management.settings.view\"
92
184
  * @summary Read the tenant\'s SSO connection
@@ -132,6 +224,57 @@ export const SSOConnectionApiAxiosParamCreator = function (configuration?: Confi
132
224
  options: localVarRequestOptions,
133
225
  };
134
226
  },
227
+ /**
228
+ * Replaces the display name, identity provider details and the claim mapping. The protocol and the provider are fixed for the lifetime of a connection. Editing is only allowed while the connection is inactive, so deactivate it first. Leaving the OIDC client secret out keeps the stored one, and an edit never activates the connection. **Required Permissions** \"tenant-management.settings.update\"
229
+ * @summary Edit the tenant\'s SSO connection
230
+ * @param {string} code Connection code.
231
+ * @param {UpdateSsoConnectionBodyDto} updateSsoConnectionBodyDto
232
+ * @param {string} [authorization] Bearer Token
233
+ * @param {*} [options] Override http request option.
234
+ * @throws {RequiredError}
235
+ */
236
+ updateSsoConnection: async (code: string, updateSsoConnectionBodyDto: UpdateSsoConnectionBodyDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
237
+ // verify required parameter 'code' is not null or undefined
238
+ assertParamExists('updateSsoConnection', 'code', code)
239
+ // verify required parameter 'updateSsoConnectionBodyDto' is not null or undefined
240
+ assertParamExists('updateSsoConnection', 'updateSsoConnectionBodyDto', updateSsoConnectionBodyDto)
241
+ const localVarPath = `/tenantservice/v1/sso-connection/{code}`
242
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
243
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
244
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
245
+ let baseOptions;
246
+ let baseAccessToken;
247
+ if (configuration) {
248
+ baseOptions = configuration.baseOptions;
249
+ baseAccessToken = configuration.accessToken;
250
+ }
251
+
252
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
253
+ const localVarHeaderParameter = {} as any;
254
+ const localVarQueryParameter = {} as any;
255
+
256
+ // authentication bearer required
257
+ // http bearer authentication required
258
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
259
+
260
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
261
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
262
+ }
263
+
264
+
265
+
266
+ localVarHeaderParameter['Content-Type'] = 'application/json';
267
+
268
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
269
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
270
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
271
+ localVarRequestOptions.data = serializeDataIfNeeded(updateSsoConnectionBodyDto, localVarRequestOptions, configuration)
272
+
273
+ return {
274
+ url: toPathString(localVarUrlObj),
275
+ options: localVarRequestOptions,
276
+ };
277
+ },
135
278
  /**
136
279
  * Activates and deactivates SSO connection status. **Required Permissions** \"tenant-management.settings.update\"
137
280
  * @summary Switch the tenant\'s SSO connection on or off
@@ -205,6 +348,29 @@ export const SSOConnectionApiFp = function(configuration?: Configuration) {
205
348
  const localVarAxiosArgs = await localVarAxiosParamCreator.createSsoConnection(createSsoConnectionRequestDto, authorization, options);
206
349
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
207
350
  },
351
+ /**
352
+ * Removes the configuration, so the tenant can be configured again from scratch. Only an inactive connection can be deleted, so deactivate it first: deleting a live one would lock every SSO user out of the tenant. Custom attributes an attribute mapping provisioned stay on the user pool permanently, because Cognito cannot remove them. **Required Permissions** \"tenant-management.settings.delete\"
353
+ * @summary Delete the tenant\'s SSO connection
354
+ * @param {string} code Connection code.
355
+ * @param {string} [authorization] Bearer Token
356
+ * @param {*} [options] Override http request option.
357
+ * @throws {RequiredError}
358
+ */
359
+ async deleteSsoConnection(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>> {
360
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSsoConnection(code, authorization, options);
361
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
362
+ },
363
+ /**
364
+ * Returns the SSO connection of the calling tenant. A tenant has at most one connection, so no code has to be known up front. Responds with a not found when the tenant has never configured one. **Required Permissions** \"tenant-management.settings.view\"
365
+ * @summary Read the tenant\'s current SSO connection
366
+ * @param {string} [authorization] Bearer Token
367
+ * @param {*} [options] Override http request option.
368
+ * @throws {RequiredError}
369
+ */
370
+ async getCurrentSsoConnection(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSsoConnectionResponseClass>> {
371
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getCurrentSsoConnection(authorization, options);
372
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
373
+ },
208
374
  /**
209
375
  * Returns the SSO Connection entity identified by code **Required Permissions** \"tenant-management.settings.view\"
210
376
  * @summary Read the tenant\'s SSO connection
@@ -217,6 +383,19 @@ export const SSOConnectionApiFp = function(configuration?: Configuration) {
217
383
  const localVarAxiosArgs = await localVarAxiosParamCreator.getSsoConnection(code, authorization, options);
218
384
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
219
385
  },
386
+ /**
387
+ * Replaces the display name, identity provider details and the claim mapping. The protocol and the provider are fixed for the lifetime of a connection. Editing is only allowed while the connection is inactive, so deactivate it first. Leaving the OIDC client secret out keeps the stored one, and an edit never activates the connection. **Required Permissions** \"tenant-management.settings.update\"
388
+ * @summary Edit the tenant\'s SSO connection
389
+ * @param {string} code Connection code.
390
+ * @param {UpdateSsoConnectionBodyDto} updateSsoConnectionBodyDto
391
+ * @param {string} [authorization] Bearer Token
392
+ * @param {*} [options] Override http request option.
393
+ * @throws {RequiredError}
394
+ */
395
+ async updateSsoConnection(code: string, updateSsoConnectionBodyDto: UpdateSsoConnectionBodyDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateSsoConnectionResponseClass>> {
396
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateSsoConnection(code, updateSsoConnectionBodyDto, authorization, options);
397
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
398
+ },
220
399
  /**
221
400
  * Activates and deactivates SSO connection status. **Required Permissions** \"tenant-management.settings.update\"
222
401
  * @summary Switch the tenant\'s SSO connection on or off
@@ -251,6 +430,27 @@ export const SSOConnectionApiFactory = function (configuration?: Configuration,
251
430
  createSsoConnection(createSsoConnectionRequestDto: CreateSsoConnectionRequestDto, authorization?: string, options?: any): AxiosPromise<CreateSsoConnectionResponseClass> {
252
431
  return localVarFp.createSsoConnection(createSsoConnectionRequestDto, authorization, options).then((request) => request(axios, basePath));
253
432
  },
433
+ /**
434
+ * Removes the configuration, so the tenant can be configured again from scratch. Only an inactive connection can be deleted, so deactivate it first: deleting a live one would lock every SSO user out of the tenant. Custom attributes an attribute mapping provisioned stay on the user pool permanently, because Cognito cannot remove them. **Required Permissions** \"tenant-management.settings.delete\"
435
+ * @summary Delete the tenant\'s SSO connection
436
+ * @param {string} code Connection code.
437
+ * @param {string} [authorization] Bearer Token
438
+ * @param {*} [options] Override http request option.
439
+ * @throws {RequiredError}
440
+ */
441
+ deleteSsoConnection(code: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass> {
442
+ return localVarFp.deleteSsoConnection(code, authorization, options).then((request) => request(axios, basePath));
443
+ },
444
+ /**
445
+ * Returns the SSO connection of the calling tenant. A tenant has at most one connection, so no code has to be known up front. Responds with a not found when the tenant has never configured one. **Required Permissions** \"tenant-management.settings.view\"
446
+ * @summary Read the tenant\'s current SSO connection
447
+ * @param {string} [authorization] Bearer Token
448
+ * @param {*} [options] Override http request option.
449
+ * @throws {RequiredError}
450
+ */
451
+ getCurrentSsoConnection(authorization?: string, options?: any): AxiosPromise<GetSsoConnectionResponseClass> {
452
+ return localVarFp.getCurrentSsoConnection(authorization, options).then((request) => request(axios, basePath));
453
+ },
254
454
  /**
255
455
  * Returns the SSO Connection entity identified by code **Required Permissions** \"tenant-management.settings.view\"
256
456
  * @summary Read the tenant\'s SSO connection
@@ -262,6 +462,18 @@ export const SSOConnectionApiFactory = function (configuration?: Configuration,
262
462
  getSsoConnection(code: string, authorization?: string, options?: any): AxiosPromise<GetSsoConnectionResponseClass> {
263
463
  return localVarFp.getSsoConnection(code, authorization, options).then((request) => request(axios, basePath));
264
464
  },
465
+ /**
466
+ * Replaces the display name, identity provider details and the claim mapping. The protocol and the provider are fixed for the lifetime of a connection. Editing is only allowed while the connection is inactive, so deactivate it first. Leaving the OIDC client secret out keeps the stored one, and an edit never activates the connection. **Required Permissions** \"tenant-management.settings.update\"
467
+ * @summary Edit the tenant\'s SSO connection
468
+ * @param {string} code Connection code.
469
+ * @param {UpdateSsoConnectionBodyDto} updateSsoConnectionBodyDto
470
+ * @param {string} [authorization] Bearer Token
471
+ * @param {*} [options] Override http request option.
472
+ * @throws {RequiredError}
473
+ */
474
+ updateSsoConnection(code: string, updateSsoConnectionBodyDto: UpdateSsoConnectionBodyDto, authorization?: string, options?: any): AxiosPromise<UpdateSsoConnectionResponseClass> {
475
+ return localVarFp.updateSsoConnection(code, updateSsoConnectionBodyDto, authorization, options).then((request) => request(axios, basePath));
476
+ },
265
477
  /**
266
478
  * Activates and deactivates SSO connection status. **Required Permissions** \"tenant-management.settings.update\"
267
479
  * @summary Switch the tenant\'s SSO connection on or off
@@ -298,6 +510,41 @@ export interface SSOConnectionApiCreateSsoConnectionRequest {
298
510
  readonly authorization?: string
299
511
  }
300
512
 
513
+ /**
514
+ * Request parameters for deleteSsoConnection operation in SSOConnectionApi.
515
+ * @export
516
+ * @interface SSOConnectionApiDeleteSsoConnectionRequest
517
+ */
518
+ export interface SSOConnectionApiDeleteSsoConnectionRequest {
519
+ /**
520
+ * Connection code.
521
+ * @type {string}
522
+ * @memberof SSOConnectionApiDeleteSsoConnection
523
+ */
524
+ readonly code: string
525
+
526
+ /**
527
+ * Bearer Token
528
+ * @type {string}
529
+ * @memberof SSOConnectionApiDeleteSsoConnection
530
+ */
531
+ readonly authorization?: string
532
+ }
533
+
534
+ /**
535
+ * Request parameters for getCurrentSsoConnection operation in SSOConnectionApi.
536
+ * @export
537
+ * @interface SSOConnectionApiGetCurrentSsoConnectionRequest
538
+ */
539
+ export interface SSOConnectionApiGetCurrentSsoConnectionRequest {
540
+ /**
541
+ * Bearer Token
542
+ * @type {string}
543
+ * @memberof SSOConnectionApiGetCurrentSsoConnection
544
+ */
545
+ readonly authorization?: string
546
+ }
547
+
301
548
  /**
302
549
  * Request parameters for getSsoConnection operation in SSOConnectionApi.
303
550
  * @export
@@ -319,6 +566,34 @@ export interface SSOConnectionApiGetSsoConnectionRequest {
319
566
  readonly authorization?: string
320
567
  }
321
568
 
569
+ /**
570
+ * Request parameters for updateSsoConnection operation in SSOConnectionApi.
571
+ * @export
572
+ * @interface SSOConnectionApiUpdateSsoConnectionRequest
573
+ */
574
+ export interface SSOConnectionApiUpdateSsoConnectionRequest {
575
+ /**
576
+ * Connection code.
577
+ * @type {string}
578
+ * @memberof SSOConnectionApiUpdateSsoConnection
579
+ */
580
+ readonly code: string
581
+
582
+ /**
583
+ *
584
+ * @type {UpdateSsoConnectionBodyDto}
585
+ * @memberof SSOConnectionApiUpdateSsoConnection
586
+ */
587
+ readonly updateSsoConnectionBodyDto: UpdateSsoConnectionBodyDto
588
+
589
+ /**
590
+ * Bearer Token
591
+ * @type {string}
592
+ * @memberof SSOConnectionApiUpdateSsoConnection
593
+ */
594
+ readonly authorization?: string
595
+ }
596
+
322
597
  /**
323
598
  * Request parameters for updateSsoConnectionStatus operation in SSOConnectionApi.
324
599
  * @export
@@ -366,6 +641,30 @@ export class SSOConnectionApi extends BaseAPI {
366
641
  return SSOConnectionApiFp(this.configuration).createSsoConnection(requestParameters.createSsoConnectionRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
367
642
  }
368
643
 
644
+ /**
645
+ * Removes the configuration, so the tenant can be configured again from scratch. Only an inactive connection can be deleted, so deactivate it first: deleting a live one would lock every SSO user out of the tenant. Custom attributes an attribute mapping provisioned stay on the user pool permanently, because Cognito cannot remove them. **Required Permissions** \"tenant-management.settings.delete\"
646
+ * @summary Delete the tenant\'s SSO connection
647
+ * @param {SSOConnectionApiDeleteSsoConnectionRequest} requestParameters Request parameters.
648
+ * @param {*} [options] Override http request option.
649
+ * @throws {RequiredError}
650
+ * @memberof SSOConnectionApi
651
+ */
652
+ public deleteSsoConnection(requestParameters: SSOConnectionApiDeleteSsoConnectionRequest, options?: AxiosRequestConfig) {
653
+ return SSOConnectionApiFp(this.configuration).deleteSsoConnection(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
654
+ }
655
+
656
+ /**
657
+ * Returns the SSO connection of the calling tenant. A tenant has at most one connection, so no code has to be known up front. Responds with a not found when the tenant has never configured one. **Required Permissions** \"tenant-management.settings.view\"
658
+ * @summary Read the tenant\'s current SSO connection
659
+ * @param {SSOConnectionApiGetCurrentSsoConnectionRequest} requestParameters Request parameters.
660
+ * @param {*} [options] Override http request option.
661
+ * @throws {RequiredError}
662
+ * @memberof SSOConnectionApi
663
+ */
664
+ public getCurrentSsoConnection(requestParameters: SSOConnectionApiGetCurrentSsoConnectionRequest = {}, options?: AxiosRequestConfig) {
665
+ return SSOConnectionApiFp(this.configuration).getCurrentSsoConnection(requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
666
+ }
667
+
369
668
  /**
370
669
  * Returns the SSO Connection entity identified by code **Required Permissions** \"tenant-management.settings.view\"
371
670
  * @summary Read the tenant\'s SSO connection
@@ -378,6 +677,18 @@ export class SSOConnectionApi extends BaseAPI {
378
677
  return SSOConnectionApiFp(this.configuration).getSsoConnection(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
379
678
  }
380
679
 
680
+ /**
681
+ * Replaces the display name, identity provider details and the claim mapping. The protocol and the provider are fixed for the lifetime of a connection. Editing is only allowed while the connection is inactive, so deactivate it first. Leaving the OIDC client secret out keeps the stored one, and an edit never activates the connection. **Required Permissions** \"tenant-management.settings.update\"
682
+ * @summary Edit the tenant\'s SSO connection
683
+ * @param {SSOConnectionApiUpdateSsoConnectionRequest} requestParameters Request parameters.
684
+ * @param {*} [options] Override http request option.
685
+ * @throws {RequiredError}
686
+ * @memberof SSOConnectionApi
687
+ */
688
+ public updateSsoConnection(requestParameters: SSOConnectionApiUpdateSsoConnectionRequest, options?: AxiosRequestConfig) {
689
+ return SSOConnectionApiFp(this.configuration).updateSsoConnection(requestParameters.code, requestParameters.updateSsoConnectionBodyDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
690
+ }
691
+
381
692
  /**
382
693
  * Activates and deactivates SSO connection status. **Required Permissions** \"tenant-management.settings.update\"
383
694
  * @summary Switch the tenant\'s SSO connection on or off