@emilgroup/tenant-sdk 1.42.1-beta.24 → 1.42.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@1.42.1-beta.24 --save
20
+ npm install @emilgroup/tenant-sdk@1.42.1-beta.26 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/tenant-sdk@1.42.1-beta.24
24
+ yarn add @emilgroup/tenant-sdk@1.42.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';
@@ -83,6 +89,92 @@ export const SSOConnectionApiAxiosParamCreator = function (configuration?: Confi
83
89
  options: localVarRequestOptions,
84
90
  };
85
91
  },
92
+ /**
93
+ * 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\"
94
+ * @summary Delete the tenant\'s SSO connection
95
+ * @param {string} code Connection code.
96
+ * @param {string} [authorization] Bearer Token
97
+ * @param {*} [options] Override http request option.
98
+ * @throws {RequiredError}
99
+ */
100
+ deleteSsoConnection: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
101
+ // verify required parameter 'code' is not null or undefined
102
+ assertParamExists('deleteSsoConnection', 'code', code)
103
+ const localVarPath = `/tenantservice/v1/sso-connection/{code}`
104
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
105
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
106
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
107
+ let baseOptions;
108
+ let baseAccessToken;
109
+ if (configuration) {
110
+ baseOptions = configuration.baseOptions;
111
+ baseAccessToken = configuration.accessToken;
112
+ }
113
+
114
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
115
+ const localVarHeaderParameter = {} as any;
116
+ const localVarQueryParameter = {} as any;
117
+
118
+ // authentication bearer required
119
+ // http bearer authentication required
120
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
121
+
122
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
123
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
124
+ }
125
+
126
+
127
+
128
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
129
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
130
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
131
+
132
+ return {
133
+ url: toPathString(localVarUrlObj),
134
+ options: localVarRequestOptions,
135
+ };
136
+ },
137
+ /**
138
+ * 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\"
139
+ * @summary Read the tenant\'s current SSO connection
140
+ * @param {string} [authorization] Bearer Token
141
+ * @param {*} [options] Override http request option.
142
+ * @throws {RequiredError}
143
+ */
144
+ getCurrentSsoConnection: async (authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
145
+ const localVarPath = `/tenantservice/v1/sso-connection/current`;
146
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
147
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
148
+ let baseOptions;
149
+ let baseAccessToken;
150
+ if (configuration) {
151
+ baseOptions = configuration.baseOptions;
152
+ baseAccessToken = configuration.accessToken;
153
+ }
154
+
155
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
156
+ const localVarHeaderParameter = {} as any;
157
+ const localVarQueryParameter = {} as any;
158
+
159
+ // authentication bearer required
160
+ // http bearer authentication required
161
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
162
+
163
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
164
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
165
+ }
166
+
167
+
168
+
169
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
170
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
171
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
172
+
173
+ return {
174
+ url: toPathString(localVarUrlObj),
175
+ options: localVarRequestOptions,
176
+ };
177
+ },
86
178
  /**
87
179
  * Returns the SSO Connection entity identified by code **Required Permissions** \"tenant-management.settings.view\"
88
180
  * @summary Read the tenant\'s SSO connection
@@ -128,6 +220,57 @@ export const SSOConnectionApiAxiosParamCreator = function (configuration?: Confi
128
220
  options: localVarRequestOptions,
129
221
  };
130
222
  },
223
+ /**
224
+ * 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\"
225
+ * @summary Edit the tenant\'s SSO connection
226
+ * @param {string} code Connection code.
227
+ * @param {UpdateSsoConnectionBodyDto} updateSsoConnectionBodyDto
228
+ * @param {string} [authorization] Bearer Token
229
+ * @param {*} [options] Override http request option.
230
+ * @throws {RequiredError}
231
+ */
232
+ updateSsoConnection: async (code: string, updateSsoConnectionBodyDto: UpdateSsoConnectionBodyDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
233
+ // verify required parameter 'code' is not null or undefined
234
+ assertParamExists('updateSsoConnection', 'code', code)
235
+ // verify required parameter 'updateSsoConnectionBodyDto' is not null or undefined
236
+ assertParamExists('updateSsoConnection', 'updateSsoConnectionBodyDto', updateSsoConnectionBodyDto)
237
+ const localVarPath = `/tenantservice/v1/sso-connection/{code}`
238
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
239
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
240
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
241
+ let baseOptions;
242
+ let baseAccessToken;
243
+ if (configuration) {
244
+ baseOptions = configuration.baseOptions;
245
+ baseAccessToken = configuration.accessToken;
246
+ }
247
+
248
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
249
+ const localVarHeaderParameter = {} as any;
250
+ const localVarQueryParameter = {} as any;
251
+
252
+ // authentication bearer required
253
+ // http bearer authentication required
254
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
255
+
256
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
257
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
258
+ }
259
+
260
+
261
+
262
+ localVarHeaderParameter['Content-Type'] = 'application/json';
263
+
264
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
265
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
266
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
267
+ localVarRequestOptions.data = serializeDataIfNeeded(updateSsoConnectionBodyDto, localVarRequestOptions, configuration)
268
+
269
+ return {
270
+ url: toPathString(localVarUrlObj),
271
+ options: localVarRequestOptions,
272
+ };
273
+ },
131
274
  /**
132
275
  * Activates and deactivates SSO connection status. **Required Permissions** \"tenant-management.settings.update\"
133
276
  * @summary Switch the tenant\'s SSO connection on or off
@@ -201,6 +344,29 @@ export const SSOConnectionApiFp = function(configuration?: Configuration) {
201
344
  const localVarAxiosArgs = await localVarAxiosParamCreator.createSsoConnection(createSsoConnectionRequestDto, authorization, options);
202
345
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
203
346
  },
347
+ /**
348
+ * 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\"
349
+ * @summary Delete the tenant\'s SSO connection
350
+ * @param {string} code Connection code.
351
+ * @param {string} [authorization] Bearer Token
352
+ * @param {*} [options] Override http request option.
353
+ * @throws {RequiredError}
354
+ */
355
+ async deleteSsoConnection(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>> {
356
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSsoConnection(code, authorization, options);
357
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
358
+ },
359
+ /**
360
+ * 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\"
361
+ * @summary Read the tenant\'s current SSO connection
362
+ * @param {string} [authorization] Bearer Token
363
+ * @param {*} [options] Override http request option.
364
+ * @throws {RequiredError}
365
+ */
366
+ async getCurrentSsoConnection(authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSsoConnectionResponseClass>> {
367
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getCurrentSsoConnection(authorization, options);
368
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
369
+ },
204
370
  /**
205
371
  * Returns the SSO Connection entity identified by code **Required Permissions** \"tenant-management.settings.view\"
206
372
  * @summary Read the tenant\'s SSO connection
@@ -213,6 +379,19 @@ export const SSOConnectionApiFp = function(configuration?: Configuration) {
213
379
  const localVarAxiosArgs = await localVarAxiosParamCreator.getSsoConnection(code, authorization, options);
214
380
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
215
381
  },
382
+ /**
383
+ * 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\"
384
+ * @summary Edit the tenant\'s SSO connection
385
+ * @param {string} code Connection code.
386
+ * @param {UpdateSsoConnectionBodyDto} updateSsoConnectionBodyDto
387
+ * @param {string} [authorization] Bearer Token
388
+ * @param {*} [options] Override http request option.
389
+ * @throws {RequiredError}
390
+ */
391
+ async updateSsoConnection(code: string, updateSsoConnectionBodyDto: UpdateSsoConnectionBodyDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateSsoConnectionResponseClass>> {
392
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateSsoConnection(code, updateSsoConnectionBodyDto, authorization, options);
393
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
394
+ },
216
395
  /**
217
396
  * Activates and deactivates SSO connection status. **Required Permissions** \"tenant-management.settings.update\"
218
397
  * @summary Switch the tenant\'s SSO connection on or off
@@ -247,6 +426,27 @@ export const SSOConnectionApiFactory = function (configuration?: Configuration,
247
426
  createSsoConnection(createSsoConnectionRequestDto: CreateSsoConnectionRequestDto, authorization?: string, options?: any): AxiosPromise<CreateSsoConnectionResponseClass> {
248
427
  return localVarFp.createSsoConnection(createSsoConnectionRequestDto, authorization, options).then((request) => request(axios, basePath));
249
428
  },
429
+ /**
430
+ * 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\"
431
+ * @summary Delete the tenant\'s SSO connection
432
+ * @param {string} code Connection code.
433
+ * @param {string} [authorization] Bearer Token
434
+ * @param {*} [options] Override http request option.
435
+ * @throws {RequiredError}
436
+ */
437
+ deleteSsoConnection(code: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass> {
438
+ return localVarFp.deleteSsoConnection(code, authorization, options).then((request) => request(axios, basePath));
439
+ },
440
+ /**
441
+ * 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\"
442
+ * @summary Read the tenant\'s current SSO connection
443
+ * @param {string} [authorization] Bearer Token
444
+ * @param {*} [options] Override http request option.
445
+ * @throws {RequiredError}
446
+ */
447
+ getCurrentSsoConnection(authorization?: string, options?: any): AxiosPromise<GetSsoConnectionResponseClass> {
448
+ return localVarFp.getCurrentSsoConnection(authorization, options).then((request) => request(axios, basePath));
449
+ },
250
450
  /**
251
451
  * Returns the SSO Connection entity identified by code **Required Permissions** \"tenant-management.settings.view\"
252
452
  * @summary Read the tenant\'s SSO connection
@@ -258,6 +458,18 @@ export const SSOConnectionApiFactory = function (configuration?: Configuration,
258
458
  getSsoConnection(code: string, authorization?: string, options?: any): AxiosPromise<GetSsoConnectionResponseClass> {
259
459
  return localVarFp.getSsoConnection(code, authorization, options).then((request) => request(axios, basePath));
260
460
  },
461
+ /**
462
+ * 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\"
463
+ * @summary Edit the tenant\'s SSO connection
464
+ * @param {string} code Connection code.
465
+ * @param {UpdateSsoConnectionBodyDto} updateSsoConnectionBodyDto
466
+ * @param {string} [authorization] Bearer Token
467
+ * @param {*} [options] Override http request option.
468
+ * @throws {RequiredError}
469
+ */
470
+ updateSsoConnection(code: string, updateSsoConnectionBodyDto: UpdateSsoConnectionBodyDto, authorization?: string, options?: any): AxiosPromise<UpdateSsoConnectionResponseClass> {
471
+ return localVarFp.updateSsoConnection(code, updateSsoConnectionBodyDto, authorization, options).then((request) => request(axios, basePath));
472
+ },
261
473
  /**
262
474
  * Activates and deactivates SSO connection status. **Required Permissions** \"tenant-management.settings.update\"
263
475
  * @summary Switch the tenant\'s SSO connection on or off
@@ -294,6 +506,41 @@ export interface SSOConnectionApiCreateSsoConnectionRequest {
294
506
  readonly authorization?: string
295
507
  }
296
508
 
509
+ /**
510
+ * Request parameters for deleteSsoConnection operation in SSOConnectionApi.
511
+ * @export
512
+ * @interface SSOConnectionApiDeleteSsoConnectionRequest
513
+ */
514
+ export interface SSOConnectionApiDeleteSsoConnectionRequest {
515
+ /**
516
+ * Connection code.
517
+ * @type {string}
518
+ * @memberof SSOConnectionApiDeleteSsoConnection
519
+ */
520
+ readonly code: string
521
+
522
+ /**
523
+ * Bearer Token
524
+ * @type {string}
525
+ * @memberof SSOConnectionApiDeleteSsoConnection
526
+ */
527
+ readonly authorization?: string
528
+ }
529
+
530
+ /**
531
+ * Request parameters for getCurrentSsoConnection operation in SSOConnectionApi.
532
+ * @export
533
+ * @interface SSOConnectionApiGetCurrentSsoConnectionRequest
534
+ */
535
+ export interface SSOConnectionApiGetCurrentSsoConnectionRequest {
536
+ /**
537
+ * Bearer Token
538
+ * @type {string}
539
+ * @memberof SSOConnectionApiGetCurrentSsoConnection
540
+ */
541
+ readonly authorization?: string
542
+ }
543
+
297
544
  /**
298
545
  * Request parameters for getSsoConnection operation in SSOConnectionApi.
299
546
  * @export
@@ -315,6 +562,34 @@ export interface SSOConnectionApiGetSsoConnectionRequest {
315
562
  readonly authorization?: string
316
563
  }
317
564
 
565
+ /**
566
+ * Request parameters for updateSsoConnection operation in SSOConnectionApi.
567
+ * @export
568
+ * @interface SSOConnectionApiUpdateSsoConnectionRequest
569
+ */
570
+ export interface SSOConnectionApiUpdateSsoConnectionRequest {
571
+ /**
572
+ * Connection code.
573
+ * @type {string}
574
+ * @memberof SSOConnectionApiUpdateSsoConnection
575
+ */
576
+ readonly code: string
577
+
578
+ /**
579
+ *
580
+ * @type {UpdateSsoConnectionBodyDto}
581
+ * @memberof SSOConnectionApiUpdateSsoConnection
582
+ */
583
+ readonly updateSsoConnectionBodyDto: UpdateSsoConnectionBodyDto
584
+
585
+ /**
586
+ * Bearer Token
587
+ * @type {string}
588
+ * @memberof SSOConnectionApiUpdateSsoConnection
589
+ */
590
+ readonly authorization?: string
591
+ }
592
+
318
593
  /**
319
594
  * Request parameters for updateSsoConnectionStatus operation in SSOConnectionApi.
320
595
  * @export
@@ -362,6 +637,30 @@ export class SSOConnectionApi extends BaseAPI {
362
637
  return SSOConnectionApiFp(this.configuration).createSsoConnection(requestParameters.createSsoConnectionRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
363
638
  }
364
639
 
640
+ /**
641
+ * 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\"
642
+ * @summary Delete the tenant\'s SSO connection
643
+ * @param {SSOConnectionApiDeleteSsoConnectionRequest} requestParameters Request parameters.
644
+ * @param {*} [options] Override http request option.
645
+ * @throws {RequiredError}
646
+ * @memberof SSOConnectionApi
647
+ */
648
+ public deleteSsoConnection(requestParameters: SSOConnectionApiDeleteSsoConnectionRequest, options?: AxiosRequestConfig) {
649
+ return SSOConnectionApiFp(this.configuration).deleteSsoConnection(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
650
+ }
651
+
652
+ /**
653
+ * 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\"
654
+ * @summary Read the tenant\'s current SSO connection
655
+ * @param {SSOConnectionApiGetCurrentSsoConnectionRequest} requestParameters Request parameters.
656
+ * @param {*} [options] Override http request option.
657
+ * @throws {RequiredError}
658
+ * @memberof SSOConnectionApi
659
+ */
660
+ public getCurrentSsoConnection(requestParameters: SSOConnectionApiGetCurrentSsoConnectionRequest = {}, options?: AxiosRequestConfig) {
661
+ return SSOConnectionApiFp(this.configuration).getCurrentSsoConnection(requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
662
+ }
663
+
365
664
  /**
366
665
  * Returns the SSO Connection entity identified by code **Required Permissions** \"tenant-management.settings.view\"
367
666
  * @summary Read the tenant\'s SSO connection
@@ -374,6 +673,18 @@ export class SSOConnectionApi extends BaseAPI {
374
673
  return SSOConnectionApiFp(this.configuration).getSsoConnection(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
375
674
  }
376
675
 
676
+ /**
677
+ * 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\"
678
+ * @summary Edit the tenant\'s SSO connection
679
+ * @param {SSOConnectionApiUpdateSsoConnectionRequest} requestParameters Request parameters.
680
+ * @param {*} [options] Override http request option.
681
+ * @throws {RequiredError}
682
+ * @memberof SSOConnectionApi
683
+ */
684
+ public updateSsoConnection(requestParameters: SSOConnectionApiUpdateSsoConnectionRequest, options?: AxiosRequestConfig) {
685
+ return SSOConnectionApiFp(this.configuration).updateSsoConnection(requestParameters.code, requestParameters.updateSsoConnectionBodyDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
686
+ }
687
+
377
688
  /**
378
689
  * Activates and deactivates SSO connection status. **Required Permissions** \"tenant-management.settings.update\"
379
690
  * @summary Switch the tenant\'s SSO connection on or off