@emilgroup/tenant-sdk-node 1.39.1-beta.22 → 1.39.1-beta.24
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/.openapi-generator/FILES +3 -0
- package/README.md +2 -2
- package/api/ssoconnection-api.ts +223 -0
- package/dist/api/ssoconnection-api.d.ts +122 -0
- package/dist/api/ssoconnection-api.js +191 -0
- package/dist/models/get-sso-connection-response-class.d.ts +25 -0
- package/dist/models/get-sso-connection-response-class.js +15 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/models/shared-oidc-sso-details-class.d.ts +6 -0
- package/dist/models/update-sso-connection-status-body-dto.d.ts +24 -0
- package/dist/models/update-sso-connection-status-body-dto.js +15 -0
- package/dist/models/update-sso-connection-status-response-class.d.ts +25 -0
- package/dist/models/update-sso-connection-status-response-class.js +15 -0
- package/models/get-sso-connection-response-class.ts +31 -0
- package/models/index.ts +3 -0
- package/models/shared-oidc-sso-details-class.ts +6 -0
- package/models/update-sso-connection-status-body-dto.ts +30 -0
- package/models/update-sso-connection-status-response-class.ts +31 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -88,6 +88,7 @@ models/get-organization-migration-response-class.ts
|
|
|
88
88
|
models/get-organization-response-class.ts
|
|
89
89
|
models/get-report-schedule-response-class.ts
|
|
90
90
|
models/get-settings-response-class.ts
|
|
91
|
+
models/get-sso-connection-response-class.ts
|
|
91
92
|
models/get-user-group-response-class.ts
|
|
92
93
|
models/get-user-response-class.ts
|
|
93
94
|
models/index.ts
|
|
@@ -162,6 +163,8 @@ models/update-organization-request-dto-rest.ts
|
|
|
162
163
|
models/update-organization-response-class.ts
|
|
163
164
|
models/update-report-schedule-request-dto.ts
|
|
164
165
|
models/update-report-schedule-response-class.ts
|
|
166
|
+
models/update-sso-connection-status-body-dto.ts
|
|
167
|
+
models/update-sso-connection-status-response-class.ts
|
|
165
168
|
models/update-user-group-request-dto.ts
|
|
166
169
|
models/update-user-group-response-class.ts
|
|
167
170
|
models/user-class.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.
|
|
20
|
+
npm install @emilgroup/tenant-sdk-node@1.39.1-beta.24 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/tenant-sdk-node@1.39.1-beta.
|
|
24
|
+
yarn add @emilgroup/tenant-sdk-node@1.39.1-beta.24
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `UsersApi`.
|
package/api/ssoconnection-api.ts
CHANGED
|
@@ -24,6 +24,12 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
|
|
|
24
24
|
import { CreateSsoConnectionRequestDto } from '../models';
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
import { CreateSsoConnectionResponseClass } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { GetSsoConnectionResponseClass } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { UpdateSsoConnectionStatusBodyDto } from '../models';
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
import { UpdateSsoConnectionStatusResponseClass } from '../models';
|
|
27
33
|
// URLSearchParams not necessarily used
|
|
28
34
|
// @ts-ignore
|
|
29
35
|
import { URL, URLSearchParams } from 'url';
|
|
@@ -76,6 +82,102 @@ export const SSOConnectionApiAxiosParamCreator = function (configuration?: Confi
|
|
|
76
82
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
77
83
|
localVarRequestOptions.data = serializeDataIfNeeded(createSsoConnectionRequestDto, localVarRequestOptions, configuration)
|
|
78
84
|
|
|
85
|
+
return {
|
|
86
|
+
url: toPathString(localVarUrlObj),
|
|
87
|
+
options: localVarRequestOptions,
|
|
88
|
+
};
|
|
89
|
+
},
|
|
90
|
+
/**
|
|
91
|
+
* Returns the SSO Connection entity identified by code **Required Permissions** \"tenant-management.settings.view\"
|
|
92
|
+
* @summary Read the tenant\'s SSO connection
|
|
93
|
+
* @param {string} code Connection code.
|
|
94
|
+
* @param {string} [authorization] Bearer Token
|
|
95
|
+
* @param {*} [options] Override http request option.
|
|
96
|
+
* @throws {RequiredError}
|
|
97
|
+
*/
|
|
98
|
+
getSsoConnection: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
99
|
+
// verify required parameter 'code' is not null or undefined
|
|
100
|
+
assertParamExists('getSsoConnection', 'code', code)
|
|
101
|
+
const localVarPath = `/tenantservice/v1/sso-connection/{code}`
|
|
102
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
103
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
104
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
105
|
+
let baseOptions;
|
|
106
|
+
let baseAccessToken;
|
|
107
|
+
if (configuration) {
|
|
108
|
+
baseOptions = configuration.baseOptions;
|
|
109
|
+
baseAccessToken = configuration.accessToken;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
113
|
+
const localVarHeaderParameter = {} as any;
|
|
114
|
+
const localVarQueryParameter = {} as any;
|
|
115
|
+
|
|
116
|
+
// authentication bearer required
|
|
117
|
+
// http bearer authentication required
|
|
118
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
119
|
+
|
|
120
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
121
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
127
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
128
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
129
|
+
|
|
130
|
+
return {
|
|
131
|
+
url: toPathString(localVarUrlObj),
|
|
132
|
+
options: localVarRequestOptions,
|
|
133
|
+
};
|
|
134
|
+
},
|
|
135
|
+
/**
|
|
136
|
+
* Activates and deactivates SSO connection status. **Required Permissions** \"tenant-management.settings.update\"
|
|
137
|
+
* @summary Switch the tenant\'s SSO connection on or off
|
|
138
|
+
* @param {string} code Connection code.
|
|
139
|
+
* @param {UpdateSsoConnectionStatusBodyDto} updateSsoConnectionStatusBodyDto
|
|
140
|
+
* @param {string} [authorization] Bearer Token
|
|
141
|
+
* @param {*} [options] Override http request option.
|
|
142
|
+
* @throws {RequiredError}
|
|
143
|
+
*/
|
|
144
|
+
updateSsoConnectionStatus: async (code: string, updateSsoConnectionStatusBodyDto: UpdateSsoConnectionStatusBodyDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
145
|
+
// verify required parameter 'code' is not null or undefined
|
|
146
|
+
assertParamExists('updateSsoConnectionStatus', 'code', code)
|
|
147
|
+
// verify required parameter 'updateSsoConnectionStatusBodyDto' is not null or undefined
|
|
148
|
+
assertParamExists('updateSsoConnectionStatus', 'updateSsoConnectionStatusBodyDto', updateSsoConnectionStatusBodyDto)
|
|
149
|
+
const localVarPath = `/tenantservice/v1/sso-connection/{code}`
|
|
150
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
151
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
152
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
153
|
+
let baseOptions;
|
|
154
|
+
let baseAccessToken;
|
|
155
|
+
if (configuration) {
|
|
156
|
+
baseOptions = configuration.baseOptions;
|
|
157
|
+
baseAccessToken = configuration.accessToken;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
161
|
+
const localVarHeaderParameter = {} as any;
|
|
162
|
+
const localVarQueryParameter = {} as any;
|
|
163
|
+
|
|
164
|
+
// authentication bearer required
|
|
165
|
+
// http bearer authentication required
|
|
166
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
167
|
+
|
|
168
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
169
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
175
|
+
|
|
176
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
177
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
178
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
179
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateSsoConnectionStatusBodyDto, localVarRequestOptions, configuration)
|
|
180
|
+
|
|
79
181
|
return {
|
|
80
182
|
url: toPathString(localVarUrlObj),
|
|
81
183
|
options: localVarRequestOptions,
|
|
@@ -103,6 +205,31 @@ export const SSOConnectionApiFp = function(configuration?: Configuration) {
|
|
|
103
205
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createSsoConnection(createSsoConnectionRequestDto, authorization, options);
|
|
104
206
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
105
207
|
},
|
|
208
|
+
/**
|
|
209
|
+
* Returns the SSO Connection entity identified by code **Required Permissions** \"tenant-management.settings.view\"
|
|
210
|
+
* @summary Read the tenant\'s SSO connection
|
|
211
|
+
* @param {string} code Connection code.
|
|
212
|
+
* @param {string} [authorization] Bearer Token
|
|
213
|
+
* @param {*} [options] Override http request option.
|
|
214
|
+
* @throws {RequiredError}
|
|
215
|
+
*/
|
|
216
|
+
async getSsoConnection(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSsoConnectionResponseClass>> {
|
|
217
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSsoConnection(code, authorization, options);
|
|
218
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
219
|
+
},
|
|
220
|
+
/**
|
|
221
|
+
* Activates and deactivates SSO connection status. **Required Permissions** \"tenant-management.settings.update\"
|
|
222
|
+
* @summary Switch the tenant\'s SSO connection on or off
|
|
223
|
+
* @param {string} code Connection code.
|
|
224
|
+
* @param {UpdateSsoConnectionStatusBodyDto} updateSsoConnectionStatusBodyDto
|
|
225
|
+
* @param {string} [authorization] Bearer Token
|
|
226
|
+
* @param {*} [options] Override http request option.
|
|
227
|
+
* @throws {RequiredError}
|
|
228
|
+
*/
|
|
229
|
+
async updateSsoConnectionStatus(code: string, updateSsoConnectionStatusBodyDto: UpdateSsoConnectionStatusBodyDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateSsoConnectionStatusResponseClass>> {
|
|
230
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSsoConnectionStatus(code, updateSsoConnectionStatusBodyDto, authorization, options);
|
|
231
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
232
|
+
},
|
|
106
233
|
}
|
|
107
234
|
};
|
|
108
235
|
|
|
@@ -124,6 +251,29 @@ export const SSOConnectionApiFactory = function (configuration?: Configuration,
|
|
|
124
251
|
createSsoConnection(createSsoConnectionRequestDto: CreateSsoConnectionRequestDto, authorization?: string, options?: any): AxiosPromise<CreateSsoConnectionResponseClass> {
|
|
125
252
|
return localVarFp.createSsoConnection(createSsoConnectionRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
126
253
|
},
|
|
254
|
+
/**
|
|
255
|
+
* Returns the SSO Connection entity identified by code **Required Permissions** \"tenant-management.settings.view\"
|
|
256
|
+
* @summary Read the tenant\'s SSO connection
|
|
257
|
+
* @param {string} code Connection code.
|
|
258
|
+
* @param {string} [authorization] Bearer Token
|
|
259
|
+
* @param {*} [options] Override http request option.
|
|
260
|
+
* @throws {RequiredError}
|
|
261
|
+
*/
|
|
262
|
+
getSsoConnection(code: string, authorization?: string, options?: any): AxiosPromise<GetSsoConnectionResponseClass> {
|
|
263
|
+
return localVarFp.getSsoConnection(code, authorization, options).then((request) => request(axios, basePath));
|
|
264
|
+
},
|
|
265
|
+
/**
|
|
266
|
+
* Activates and deactivates SSO connection status. **Required Permissions** \"tenant-management.settings.update\"
|
|
267
|
+
* @summary Switch the tenant\'s SSO connection on or off
|
|
268
|
+
* @param {string} code Connection code.
|
|
269
|
+
* @param {UpdateSsoConnectionStatusBodyDto} updateSsoConnectionStatusBodyDto
|
|
270
|
+
* @param {string} [authorization] Bearer Token
|
|
271
|
+
* @param {*} [options] Override http request option.
|
|
272
|
+
* @throws {RequiredError}
|
|
273
|
+
*/
|
|
274
|
+
updateSsoConnectionStatus(code: string, updateSsoConnectionStatusBodyDto: UpdateSsoConnectionStatusBodyDto, authorization?: string, options?: any): AxiosPromise<UpdateSsoConnectionStatusResponseClass> {
|
|
275
|
+
return localVarFp.updateSsoConnectionStatus(code, updateSsoConnectionStatusBodyDto, authorization, options).then((request) => request(axios, basePath));
|
|
276
|
+
},
|
|
127
277
|
};
|
|
128
278
|
};
|
|
129
279
|
|
|
@@ -148,6 +298,55 @@ export interface SSOConnectionApiCreateSsoConnectionRequest {
|
|
|
148
298
|
readonly authorization?: string
|
|
149
299
|
}
|
|
150
300
|
|
|
301
|
+
/**
|
|
302
|
+
* Request parameters for getSsoConnection operation in SSOConnectionApi.
|
|
303
|
+
* @export
|
|
304
|
+
* @interface SSOConnectionApiGetSsoConnectionRequest
|
|
305
|
+
*/
|
|
306
|
+
export interface SSOConnectionApiGetSsoConnectionRequest {
|
|
307
|
+
/**
|
|
308
|
+
* Connection code.
|
|
309
|
+
* @type {string}
|
|
310
|
+
* @memberof SSOConnectionApiGetSsoConnection
|
|
311
|
+
*/
|
|
312
|
+
readonly code: string
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* Bearer Token
|
|
316
|
+
* @type {string}
|
|
317
|
+
* @memberof SSOConnectionApiGetSsoConnection
|
|
318
|
+
*/
|
|
319
|
+
readonly authorization?: string
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* Request parameters for updateSsoConnectionStatus operation in SSOConnectionApi.
|
|
324
|
+
* @export
|
|
325
|
+
* @interface SSOConnectionApiUpdateSsoConnectionStatusRequest
|
|
326
|
+
*/
|
|
327
|
+
export interface SSOConnectionApiUpdateSsoConnectionStatusRequest {
|
|
328
|
+
/**
|
|
329
|
+
* Connection code.
|
|
330
|
+
* @type {string}
|
|
331
|
+
* @memberof SSOConnectionApiUpdateSsoConnectionStatus
|
|
332
|
+
*/
|
|
333
|
+
readonly code: string
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
*
|
|
337
|
+
* @type {UpdateSsoConnectionStatusBodyDto}
|
|
338
|
+
* @memberof SSOConnectionApiUpdateSsoConnectionStatus
|
|
339
|
+
*/
|
|
340
|
+
readonly updateSsoConnectionStatusBodyDto: UpdateSsoConnectionStatusBodyDto
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* Bearer Token
|
|
344
|
+
* @type {string}
|
|
345
|
+
* @memberof SSOConnectionApiUpdateSsoConnectionStatus
|
|
346
|
+
*/
|
|
347
|
+
readonly authorization?: string
|
|
348
|
+
}
|
|
349
|
+
|
|
151
350
|
/**
|
|
152
351
|
* SSOConnectionApi - object-oriented interface
|
|
153
352
|
* @export
|
|
@@ -166,4 +365,28 @@ export class SSOConnectionApi extends BaseAPI {
|
|
|
166
365
|
public createSsoConnection(requestParameters: SSOConnectionApiCreateSsoConnectionRequest, options?: AxiosRequestConfig) {
|
|
167
366
|
return SSOConnectionApiFp(this.configuration).createSsoConnection(requestParameters.createSsoConnectionRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
168
367
|
}
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* Returns the SSO Connection entity identified by code **Required Permissions** \"tenant-management.settings.view\"
|
|
371
|
+
* @summary Read the tenant\'s SSO connection
|
|
372
|
+
* @param {SSOConnectionApiGetSsoConnectionRequest} requestParameters Request parameters.
|
|
373
|
+
* @param {*} [options] Override http request option.
|
|
374
|
+
* @throws {RequiredError}
|
|
375
|
+
* @memberof SSOConnectionApi
|
|
376
|
+
*/
|
|
377
|
+
public getSsoConnection(requestParameters: SSOConnectionApiGetSsoConnectionRequest, options?: AxiosRequestConfig) {
|
|
378
|
+
return SSOConnectionApiFp(this.configuration).getSsoConnection(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* Activates and deactivates SSO connection status. **Required Permissions** \"tenant-management.settings.update\"
|
|
383
|
+
* @summary Switch the tenant\'s SSO connection on or off
|
|
384
|
+
* @param {SSOConnectionApiUpdateSsoConnectionStatusRequest} requestParameters Request parameters.
|
|
385
|
+
* @param {*} [options] Override http request option.
|
|
386
|
+
* @throws {RequiredError}
|
|
387
|
+
* @memberof SSOConnectionApi
|
|
388
|
+
*/
|
|
389
|
+
public updateSsoConnectionStatus(requestParameters: SSOConnectionApiUpdateSsoConnectionStatusRequest, options?: AxiosRequestConfig) {
|
|
390
|
+
return SSOConnectionApiFp(this.configuration).updateSsoConnectionStatus(requestParameters.code, requestParameters.updateSsoConnectionStatusBodyDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
391
|
+
}
|
|
169
392
|
}
|
|
@@ -14,6 +14,9 @@ import { Configuration } from '../configuration';
|
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { CreateSsoConnectionRequestDto } from '../models';
|
|
16
16
|
import { CreateSsoConnectionResponseClass } from '../models';
|
|
17
|
+
import { GetSsoConnectionResponseClass } from '../models';
|
|
18
|
+
import { UpdateSsoConnectionStatusBodyDto } from '../models';
|
|
19
|
+
import { UpdateSsoConnectionStatusResponseClass } from '../models';
|
|
17
20
|
/**
|
|
18
21
|
* SSOConnectionApi - axios parameter creator
|
|
19
22
|
* @export
|
|
@@ -28,6 +31,25 @@ export declare const SSOConnectionApiAxiosParamCreator: (configuration?: Configu
|
|
|
28
31
|
* @throws {RequiredError}
|
|
29
32
|
*/
|
|
30
33
|
createSsoConnection: (createSsoConnectionRequestDto: CreateSsoConnectionRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
34
|
+
/**
|
|
35
|
+
* Returns the SSO Connection entity identified by code **Required Permissions** \"tenant-management.settings.view\"
|
|
36
|
+
* @summary Read the tenant\'s SSO connection
|
|
37
|
+
* @param {string} code Connection code.
|
|
38
|
+
* @param {string} [authorization] Bearer Token
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
getSsoConnection: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
43
|
+
/**
|
|
44
|
+
* Activates and deactivates SSO connection status. **Required Permissions** \"tenant-management.settings.update\"
|
|
45
|
+
* @summary Switch the tenant\'s SSO connection on or off
|
|
46
|
+
* @param {string} code Connection code.
|
|
47
|
+
* @param {UpdateSsoConnectionStatusBodyDto} updateSsoConnectionStatusBodyDto
|
|
48
|
+
* @param {string} [authorization] Bearer Token
|
|
49
|
+
* @param {*} [options] Override http request option.
|
|
50
|
+
* @throws {RequiredError}
|
|
51
|
+
*/
|
|
52
|
+
updateSsoConnectionStatus: (code: string, updateSsoConnectionStatusBodyDto: UpdateSsoConnectionStatusBodyDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
53
|
};
|
|
32
54
|
/**
|
|
33
55
|
* SSOConnectionApi - functional programming interface
|
|
@@ -43,6 +65,25 @@ export declare const SSOConnectionApiFp: (configuration?: Configuration) => {
|
|
|
43
65
|
* @throws {RequiredError}
|
|
44
66
|
*/
|
|
45
67
|
createSsoConnection(createSsoConnectionRequestDto: CreateSsoConnectionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateSsoConnectionResponseClass>>;
|
|
68
|
+
/**
|
|
69
|
+
* Returns the SSO Connection entity identified by code **Required Permissions** \"tenant-management.settings.view\"
|
|
70
|
+
* @summary Read the tenant\'s SSO connection
|
|
71
|
+
* @param {string} code Connection code.
|
|
72
|
+
* @param {string} [authorization] Bearer Token
|
|
73
|
+
* @param {*} [options] Override http request option.
|
|
74
|
+
* @throws {RequiredError}
|
|
75
|
+
*/
|
|
76
|
+
getSsoConnection(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSsoConnectionResponseClass>>;
|
|
77
|
+
/**
|
|
78
|
+
* Activates and deactivates SSO connection status. **Required Permissions** \"tenant-management.settings.update\"
|
|
79
|
+
* @summary Switch the tenant\'s SSO connection on or off
|
|
80
|
+
* @param {string} code Connection code.
|
|
81
|
+
* @param {UpdateSsoConnectionStatusBodyDto} updateSsoConnectionStatusBodyDto
|
|
82
|
+
* @param {string} [authorization] Bearer Token
|
|
83
|
+
* @param {*} [options] Override http request option.
|
|
84
|
+
* @throws {RequiredError}
|
|
85
|
+
*/
|
|
86
|
+
updateSsoConnectionStatus(code: string, updateSsoConnectionStatusBodyDto: UpdateSsoConnectionStatusBodyDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateSsoConnectionStatusResponseClass>>;
|
|
46
87
|
};
|
|
47
88
|
/**
|
|
48
89
|
* SSOConnectionApi - factory interface
|
|
@@ -58,6 +99,25 @@ export declare const SSOConnectionApiFactory: (configuration?: Configuration, ba
|
|
|
58
99
|
* @throws {RequiredError}
|
|
59
100
|
*/
|
|
60
101
|
createSsoConnection(createSsoConnectionRequestDto: CreateSsoConnectionRequestDto, authorization?: string, options?: any): AxiosPromise<CreateSsoConnectionResponseClass>;
|
|
102
|
+
/**
|
|
103
|
+
* Returns the SSO Connection entity identified by code **Required Permissions** \"tenant-management.settings.view\"
|
|
104
|
+
* @summary Read the tenant\'s SSO connection
|
|
105
|
+
* @param {string} code Connection code.
|
|
106
|
+
* @param {string} [authorization] Bearer Token
|
|
107
|
+
* @param {*} [options] Override http request option.
|
|
108
|
+
* @throws {RequiredError}
|
|
109
|
+
*/
|
|
110
|
+
getSsoConnection(code: string, authorization?: string, options?: any): AxiosPromise<GetSsoConnectionResponseClass>;
|
|
111
|
+
/**
|
|
112
|
+
* Activates and deactivates SSO connection status. **Required Permissions** \"tenant-management.settings.update\"
|
|
113
|
+
* @summary Switch the tenant\'s SSO connection on or off
|
|
114
|
+
* @param {string} code Connection code.
|
|
115
|
+
* @param {UpdateSsoConnectionStatusBodyDto} updateSsoConnectionStatusBodyDto
|
|
116
|
+
* @param {string} [authorization] Bearer Token
|
|
117
|
+
* @param {*} [options] Override http request option.
|
|
118
|
+
* @throws {RequiredError}
|
|
119
|
+
*/
|
|
120
|
+
updateSsoConnectionStatus(code: string, updateSsoConnectionStatusBodyDto: UpdateSsoConnectionStatusBodyDto, authorization?: string, options?: any): AxiosPromise<UpdateSsoConnectionStatusResponseClass>;
|
|
61
121
|
};
|
|
62
122
|
/**
|
|
63
123
|
* Request parameters for createSsoConnection operation in SSOConnectionApi.
|
|
@@ -78,6 +138,50 @@ export interface SSOConnectionApiCreateSsoConnectionRequest {
|
|
|
78
138
|
*/
|
|
79
139
|
readonly authorization?: string;
|
|
80
140
|
}
|
|
141
|
+
/**
|
|
142
|
+
* Request parameters for getSsoConnection operation in SSOConnectionApi.
|
|
143
|
+
* @export
|
|
144
|
+
* @interface SSOConnectionApiGetSsoConnectionRequest
|
|
145
|
+
*/
|
|
146
|
+
export interface SSOConnectionApiGetSsoConnectionRequest {
|
|
147
|
+
/**
|
|
148
|
+
* Connection code.
|
|
149
|
+
* @type {string}
|
|
150
|
+
* @memberof SSOConnectionApiGetSsoConnection
|
|
151
|
+
*/
|
|
152
|
+
readonly code: string;
|
|
153
|
+
/**
|
|
154
|
+
* Bearer Token
|
|
155
|
+
* @type {string}
|
|
156
|
+
* @memberof SSOConnectionApiGetSsoConnection
|
|
157
|
+
*/
|
|
158
|
+
readonly authorization?: string;
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* Request parameters for updateSsoConnectionStatus operation in SSOConnectionApi.
|
|
162
|
+
* @export
|
|
163
|
+
* @interface SSOConnectionApiUpdateSsoConnectionStatusRequest
|
|
164
|
+
*/
|
|
165
|
+
export interface SSOConnectionApiUpdateSsoConnectionStatusRequest {
|
|
166
|
+
/**
|
|
167
|
+
* Connection code.
|
|
168
|
+
* @type {string}
|
|
169
|
+
* @memberof SSOConnectionApiUpdateSsoConnectionStatus
|
|
170
|
+
*/
|
|
171
|
+
readonly code: string;
|
|
172
|
+
/**
|
|
173
|
+
*
|
|
174
|
+
* @type {UpdateSsoConnectionStatusBodyDto}
|
|
175
|
+
* @memberof SSOConnectionApiUpdateSsoConnectionStatus
|
|
176
|
+
*/
|
|
177
|
+
readonly updateSsoConnectionStatusBodyDto: UpdateSsoConnectionStatusBodyDto;
|
|
178
|
+
/**
|
|
179
|
+
* Bearer Token
|
|
180
|
+
* @type {string}
|
|
181
|
+
* @memberof SSOConnectionApiUpdateSsoConnectionStatus
|
|
182
|
+
*/
|
|
183
|
+
readonly authorization?: string;
|
|
184
|
+
}
|
|
81
185
|
/**
|
|
82
186
|
* SSOConnectionApi - object-oriented interface
|
|
83
187
|
* @export
|
|
@@ -94,4 +198,22 @@ export declare class SSOConnectionApi extends BaseAPI {
|
|
|
94
198
|
* @memberof SSOConnectionApi
|
|
95
199
|
*/
|
|
96
200
|
createSsoConnection(requestParameters: SSOConnectionApiCreateSsoConnectionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateSsoConnectionResponseClass, any, {}>>;
|
|
201
|
+
/**
|
|
202
|
+
* Returns the SSO Connection entity identified by code **Required Permissions** \"tenant-management.settings.view\"
|
|
203
|
+
* @summary Read the tenant\'s SSO connection
|
|
204
|
+
* @param {SSOConnectionApiGetSsoConnectionRequest} requestParameters Request parameters.
|
|
205
|
+
* @param {*} [options] Override http request option.
|
|
206
|
+
* @throws {RequiredError}
|
|
207
|
+
* @memberof SSOConnectionApi
|
|
208
|
+
*/
|
|
209
|
+
getSsoConnection(requestParameters: SSOConnectionApiGetSsoConnectionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSsoConnectionResponseClass, any, {}>>;
|
|
210
|
+
/**
|
|
211
|
+
* Activates and deactivates SSO connection status. **Required Permissions** \"tenant-management.settings.update\"
|
|
212
|
+
* @summary Switch the tenant\'s SSO connection on or off
|
|
213
|
+
* @param {SSOConnectionApiUpdateSsoConnectionStatusRequest} requestParameters Request parameters.
|
|
214
|
+
* @param {*} [options] Override http request option.
|
|
215
|
+
* @throws {RequiredError}
|
|
216
|
+
* @memberof SSOConnectionApi
|
|
217
|
+
*/
|
|
218
|
+
updateSsoConnectionStatus(requestParameters: SSOConnectionApiUpdateSsoConnectionStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateSsoConnectionStatusResponseClass, any, {}>>;
|
|
97
219
|
}
|
|
@@ -145,6 +145,107 @@ var SSOConnectionApiAxiosParamCreator = function (configuration) {
|
|
|
145
145
|
});
|
|
146
146
|
});
|
|
147
147
|
},
|
|
148
|
+
/**
|
|
149
|
+
* Returns the SSO Connection entity identified by code **Required Permissions** \"tenant-management.settings.view\"
|
|
150
|
+
* @summary Read the tenant\'s SSO connection
|
|
151
|
+
* @param {string} code Connection code.
|
|
152
|
+
* @param {string} [authorization] Bearer Token
|
|
153
|
+
* @param {*} [options] Override http request option.
|
|
154
|
+
* @throws {RequiredError}
|
|
155
|
+
*/
|
|
156
|
+
getSsoConnection: function (code, authorization, options) {
|
|
157
|
+
if (options === void 0) { options = {}; }
|
|
158
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
159
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
160
|
+
return __generator(this, function (_a) {
|
|
161
|
+
switch (_a.label) {
|
|
162
|
+
case 0:
|
|
163
|
+
// verify required parameter 'code' is not null or undefined
|
|
164
|
+
(0, common_1.assertParamExists)('getSsoConnection', 'code', code);
|
|
165
|
+
localVarPath = "/tenantservice/v1/sso-connection/{code}"
|
|
166
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
167
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
168
|
+
if (configuration) {
|
|
169
|
+
baseOptions = configuration.baseOptions;
|
|
170
|
+
baseAccessToken = configuration.accessToken;
|
|
171
|
+
}
|
|
172
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
173
|
+
localVarHeaderParameter = {};
|
|
174
|
+
localVarQueryParameter = {};
|
|
175
|
+
// authentication bearer required
|
|
176
|
+
// http bearer authentication required
|
|
177
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
178
|
+
case 1:
|
|
179
|
+
// authentication bearer required
|
|
180
|
+
// http bearer authentication required
|
|
181
|
+
_a.sent();
|
|
182
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
183
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
184
|
+
}
|
|
185
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
186
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
187
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
188
|
+
return [2 /*return*/, {
|
|
189
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
190
|
+
options: localVarRequestOptions,
|
|
191
|
+
}];
|
|
192
|
+
}
|
|
193
|
+
});
|
|
194
|
+
});
|
|
195
|
+
},
|
|
196
|
+
/**
|
|
197
|
+
* Activates and deactivates SSO connection status. **Required Permissions** \"tenant-management.settings.update\"
|
|
198
|
+
* @summary Switch the tenant\'s SSO connection on or off
|
|
199
|
+
* @param {string} code Connection code.
|
|
200
|
+
* @param {UpdateSsoConnectionStatusBodyDto} updateSsoConnectionStatusBodyDto
|
|
201
|
+
* @param {string} [authorization] Bearer Token
|
|
202
|
+
* @param {*} [options] Override http request option.
|
|
203
|
+
* @throws {RequiredError}
|
|
204
|
+
*/
|
|
205
|
+
updateSsoConnectionStatus: function (code, updateSsoConnectionStatusBodyDto, authorization, options) {
|
|
206
|
+
if (options === void 0) { options = {}; }
|
|
207
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
208
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
209
|
+
return __generator(this, function (_a) {
|
|
210
|
+
switch (_a.label) {
|
|
211
|
+
case 0:
|
|
212
|
+
// verify required parameter 'code' is not null or undefined
|
|
213
|
+
(0, common_1.assertParamExists)('updateSsoConnectionStatus', 'code', code);
|
|
214
|
+
// verify required parameter 'updateSsoConnectionStatusBodyDto' is not null or undefined
|
|
215
|
+
(0, common_1.assertParamExists)('updateSsoConnectionStatus', 'updateSsoConnectionStatusBodyDto', updateSsoConnectionStatusBodyDto);
|
|
216
|
+
localVarPath = "/tenantservice/v1/sso-connection/{code}"
|
|
217
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
218
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
219
|
+
if (configuration) {
|
|
220
|
+
baseOptions = configuration.baseOptions;
|
|
221
|
+
baseAccessToken = configuration.accessToken;
|
|
222
|
+
}
|
|
223
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
224
|
+
localVarHeaderParameter = {};
|
|
225
|
+
localVarQueryParameter = {};
|
|
226
|
+
// authentication bearer required
|
|
227
|
+
// http bearer authentication required
|
|
228
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
229
|
+
case 1:
|
|
230
|
+
// authentication bearer required
|
|
231
|
+
// http bearer authentication required
|
|
232
|
+
_a.sent();
|
|
233
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
234
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
235
|
+
}
|
|
236
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
237
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
238
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
239
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
240
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateSsoConnectionStatusBodyDto, localVarRequestOptions, configuration);
|
|
241
|
+
return [2 /*return*/, {
|
|
242
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
243
|
+
options: localVarRequestOptions,
|
|
244
|
+
}];
|
|
245
|
+
}
|
|
246
|
+
});
|
|
247
|
+
});
|
|
248
|
+
},
|
|
148
249
|
};
|
|
149
250
|
};
|
|
150
251
|
exports.SSOConnectionApiAxiosParamCreator = SSOConnectionApiAxiosParamCreator;
|
|
@@ -176,6 +277,49 @@ var SSOConnectionApiFp = function (configuration) {
|
|
|
176
277
|
});
|
|
177
278
|
});
|
|
178
279
|
},
|
|
280
|
+
/**
|
|
281
|
+
* Returns the SSO Connection entity identified by code **Required Permissions** \"tenant-management.settings.view\"
|
|
282
|
+
* @summary Read the tenant\'s SSO connection
|
|
283
|
+
* @param {string} code Connection code.
|
|
284
|
+
* @param {string} [authorization] Bearer Token
|
|
285
|
+
* @param {*} [options] Override http request option.
|
|
286
|
+
* @throws {RequiredError}
|
|
287
|
+
*/
|
|
288
|
+
getSsoConnection: function (code, authorization, options) {
|
|
289
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
290
|
+
var localVarAxiosArgs;
|
|
291
|
+
return __generator(this, function (_a) {
|
|
292
|
+
switch (_a.label) {
|
|
293
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getSsoConnection(code, authorization, options)];
|
|
294
|
+
case 1:
|
|
295
|
+
localVarAxiosArgs = _a.sent();
|
|
296
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
297
|
+
}
|
|
298
|
+
});
|
|
299
|
+
});
|
|
300
|
+
},
|
|
301
|
+
/**
|
|
302
|
+
* Activates and deactivates SSO connection status. **Required Permissions** \"tenant-management.settings.update\"
|
|
303
|
+
* @summary Switch the tenant\'s SSO connection on or off
|
|
304
|
+
* @param {string} code Connection code.
|
|
305
|
+
* @param {UpdateSsoConnectionStatusBodyDto} updateSsoConnectionStatusBodyDto
|
|
306
|
+
* @param {string} [authorization] Bearer Token
|
|
307
|
+
* @param {*} [options] Override http request option.
|
|
308
|
+
* @throws {RequiredError}
|
|
309
|
+
*/
|
|
310
|
+
updateSsoConnectionStatus: function (code, updateSsoConnectionStatusBodyDto, authorization, options) {
|
|
311
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
312
|
+
var localVarAxiosArgs;
|
|
313
|
+
return __generator(this, function (_a) {
|
|
314
|
+
switch (_a.label) {
|
|
315
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateSsoConnectionStatus(code, updateSsoConnectionStatusBodyDto, authorization, options)];
|
|
316
|
+
case 1:
|
|
317
|
+
localVarAxiosArgs = _a.sent();
|
|
318
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
319
|
+
}
|
|
320
|
+
});
|
|
321
|
+
});
|
|
322
|
+
},
|
|
179
323
|
};
|
|
180
324
|
};
|
|
181
325
|
exports.SSOConnectionApiFp = SSOConnectionApiFp;
|
|
@@ -197,6 +341,29 @@ var SSOConnectionApiFactory = function (configuration, basePath, axios) {
|
|
|
197
341
|
createSsoConnection: function (createSsoConnectionRequestDto, authorization, options) {
|
|
198
342
|
return localVarFp.createSsoConnection(createSsoConnectionRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
199
343
|
},
|
|
344
|
+
/**
|
|
345
|
+
* Returns the SSO Connection entity identified by code **Required Permissions** \"tenant-management.settings.view\"
|
|
346
|
+
* @summary Read the tenant\'s SSO connection
|
|
347
|
+
* @param {string} code Connection code.
|
|
348
|
+
* @param {string} [authorization] Bearer Token
|
|
349
|
+
* @param {*} [options] Override http request option.
|
|
350
|
+
* @throws {RequiredError}
|
|
351
|
+
*/
|
|
352
|
+
getSsoConnection: function (code, authorization, options) {
|
|
353
|
+
return localVarFp.getSsoConnection(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
354
|
+
},
|
|
355
|
+
/**
|
|
356
|
+
* Activates and deactivates SSO connection status. **Required Permissions** \"tenant-management.settings.update\"
|
|
357
|
+
* @summary Switch the tenant\'s SSO connection on or off
|
|
358
|
+
* @param {string} code Connection code.
|
|
359
|
+
* @param {UpdateSsoConnectionStatusBodyDto} updateSsoConnectionStatusBodyDto
|
|
360
|
+
* @param {string} [authorization] Bearer Token
|
|
361
|
+
* @param {*} [options] Override http request option.
|
|
362
|
+
* @throws {RequiredError}
|
|
363
|
+
*/
|
|
364
|
+
updateSsoConnectionStatus: function (code, updateSsoConnectionStatusBodyDto, authorization, options) {
|
|
365
|
+
return localVarFp.updateSsoConnectionStatus(code, updateSsoConnectionStatusBodyDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
366
|
+
},
|
|
200
367
|
};
|
|
201
368
|
};
|
|
202
369
|
exports.SSOConnectionApiFactory = SSOConnectionApiFactory;
|
|
@@ -223,6 +390,30 @@ var SSOConnectionApi = /** @class */ (function (_super) {
|
|
|
223
390
|
var _this = this;
|
|
224
391
|
return (0, exports.SSOConnectionApiFp)(this.configuration).createSsoConnection(requestParameters.createSsoConnectionRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
225
392
|
};
|
|
393
|
+
/**
|
|
394
|
+
* Returns the SSO Connection entity identified by code **Required Permissions** \"tenant-management.settings.view\"
|
|
395
|
+
* @summary Read the tenant\'s SSO connection
|
|
396
|
+
* @param {SSOConnectionApiGetSsoConnectionRequest} requestParameters Request parameters.
|
|
397
|
+
* @param {*} [options] Override http request option.
|
|
398
|
+
* @throws {RequiredError}
|
|
399
|
+
* @memberof SSOConnectionApi
|
|
400
|
+
*/
|
|
401
|
+
SSOConnectionApi.prototype.getSsoConnection = function (requestParameters, options) {
|
|
402
|
+
var _this = this;
|
|
403
|
+
return (0, exports.SSOConnectionApiFp)(this.configuration).getSsoConnection(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
404
|
+
};
|
|
405
|
+
/**
|
|
406
|
+
* Activates and deactivates SSO connection status. **Required Permissions** \"tenant-management.settings.update\"
|
|
407
|
+
* @summary Switch the tenant\'s SSO connection on or off
|
|
408
|
+
* @param {SSOConnectionApiUpdateSsoConnectionStatusRequest} requestParameters Request parameters.
|
|
409
|
+
* @param {*} [options] Override http request option.
|
|
410
|
+
* @throws {RequiredError}
|
|
411
|
+
* @memberof SSOConnectionApi
|
|
412
|
+
*/
|
|
413
|
+
SSOConnectionApi.prototype.updateSsoConnectionStatus = function (requestParameters, options) {
|
|
414
|
+
var _this = this;
|
|
415
|
+
return (0, exports.SSOConnectionApiFp)(this.configuration).updateSsoConnectionStatus(requestParameters.code, requestParameters.updateSsoConnectionStatusBodyDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
416
|
+
};
|
|
226
417
|
return SSOConnectionApi;
|
|
227
418
|
}(base_1.BaseAPI));
|
|
228
419
|
exports.SSOConnectionApi = SSOConnectionApi;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL Tenant Service
|
|
3
|
+
* The EMIL TenantService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { SsoConnectionClass } from './sso-connection-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetSsoConnectionResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface GetSsoConnectionResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {SsoConnectionClass}
|
|
22
|
+
* @memberof GetSsoConnectionResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'ssoConnection': SsoConnectionClass;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL Tenant Service
|
|
6
|
+
* The EMIL TenantService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/models/index.d.ts
CHANGED
|
@@ -56,6 +56,7 @@ export * from './get-organization-migration-response-class';
|
|
|
56
56
|
export * from './get-organization-response-class';
|
|
57
57
|
export * from './get-report-schedule-response-class';
|
|
58
58
|
export * from './get-settings-response-class';
|
|
59
|
+
export * from './get-sso-connection-response-class';
|
|
59
60
|
export * from './get-user-group-response-class';
|
|
60
61
|
export * from './get-user-response-class';
|
|
61
62
|
export * from './initial-tenant-config-class';
|
|
@@ -129,6 +130,8 @@ export * from './update-organization-request-dto-rest';
|
|
|
129
130
|
export * from './update-organization-response-class';
|
|
130
131
|
export * from './update-report-schedule-request-dto';
|
|
131
132
|
export * from './update-report-schedule-response-class';
|
|
133
|
+
export * from './update-sso-connection-status-body-dto';
|
|
134
|
+
export * from './update-sso-connection-status-response-class';
|
|
132
135
|
export * from './update-user-group-request-dto';
|
|
133
136
|
export * from './update-user-group-response-class';
|
|
134
137
|
export * from './user-class';
|
package/dist/models/index.js
CHANGED
|
@@ -72,6 +72,7 @@ __exportStar(require("./get-organization-migration-response-class"), exports);
|
|
|
72
72
|
__exportStar(require("./get-organization-response-class"), exports);
|
|
73
73
|
__exportStar(require("./get-report-schedule-response-class"), exports);
|
|
74
74
|
__exportStar(require("./get-settings-response-class"), exports);
|
|
75
|
+
__exportStar(require("./get-sso-connection-response-class"), exports);
|
|
75
76
|
__exportStar(require("./get-user-group-response-class"), exports);
|
|
76
77
|
__exportStar(require("./get-user-response-class"), exports);
|
|
77
78
|
__exportStar(require("./initial-tenant-config-class"), exports);
|
|
@@ -145,6 +146,8 @@ __exportStar(require("./update-organization-request-dto-rest"), exports);
|
|
|
145
146
|
__exportStar(require("./update-organization-response-class"), exports);
|
|
146
147
|
__exportStar(require("./update-report-schedule-request-dto"), exports);
|
|
147
148
|
__exportStar(require("./update-report-schedule-response-class"), exports);
|
|
149
|
+
__exportStar(require("./update-sso-connection-status-body-dto"), exports);
|
|
150
|
+
__exportStar(require("./update-sso-connection-status-response-class"), exports);
|
|
148
151
|
__exportStar(require("./update-user-group-request-dto"), exports);
|
|
149
152
|
__exportStar(require("./update-user-group-response-class"), exports);
|
|
150
153
|
__exportStar(require("./user-class"), exports);
|
|
@@ -27,4 +27,10 @@ export interface SharedOidcSsoDetailsClass {
|
|
|
27
27
|
* @memberof SharedOidcSsoDetailsClass
|
|
28
28
|
*/
|
|
29
29
|
'clientId': string;
|
|
30
|
+
/**
|
|
31
|
+
* Whether a client secret is stored. The value itself is never returned.
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof SharedOidcSsoDetailsClass
|
|
34
|
+
*/
|
|
35
|
+
'hasClientSecret': boolean;
|
|
30
36
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL Tenant Service
|
|
3
|
+
* The EMIL TenantService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UpdateSsoConnectionStatusBodyDto
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateSsoConnectionStatusBodyDto {
|
|
18
|
+
/**
|
|
19
|
+
* Is SSO connection active.
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof UpdateSsoConnectionStatusBodyDto
|
|
22
|
+
*/
|
|
23
|
+
'isActive': boolean;
|
|
24
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL Tenant Service
|
|
6
|
+
* The EMIL TenantService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL Tenant Service
|
|
3
|
+
* The EMIL TenantService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { SsoConnectionClass } from './sso-connection-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UpdateSsoConnectionStatusResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateSsoConnectionStatusResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {SsoConnectionClass}
|
|
22
|
+
* @memberof UpdateSsoConnectionStatusResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'ssoConnection': SsoConnectionClass;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL Tenant Service
|
|
6
|
+
* The EMIL TenantService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL Tenant Service
|
|
5
|
+
* The EMIL TenantService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { SsoConnectionClass } from './sso-connection-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetSsoConnectionResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetSsoConnectionResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {SsoConnectionClass}
|
|
27
|
+
* @memberof GetSsoConnectionResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'ssoConnection': SsoConnectionClass;
|
|
30
|
+
}
|
|
31
|
+
|
package/models/index.ts
CHANGED
|
@@ -56,6 +56,7 @@ export * from './get-organization-migration-response-class';
|
|
|
56
56
|
export * from './get-organization-response-class';
|
|
57
57
|
export * from './get-report-schedule-response-class';
|
|
58
58
|
export * from './get-settings-response-class';
|
|
59
|
+
export * from './get-sso-connection-response-class';
|
|
59
60
|
export * from './get-user-group-response-class';
|
|
60
61
|
export * from './get-user-response-class';
|
|
61
62
|
export * from './initial-tenant-config-class';
|
|
@@ -129,6 +130,8 @@ export * from './update-organization-request-dto-rest';
|
|
|
129
130
|
export * from './update-organization-response-class';
|
|
130
131
|
export * from './update-report-schedule-request-dto';
|
|
131
132
|
export * from './update-report-schedule-response-class';
|
|
133
|
+
export * from './update-sso-connection-status-body-dto';
|
|
134
|
+
export * from './update-sso-connection-status-response-class';
|
|
132
135
|
export * from './update-user-group-request-dto';
|
|
133
136
|
export * from './update-user-group-response-class';
|
|
134
137
|
export * from './user-class';
|
|
@@ -32,5 +32,11 @@ export interface SharedOidcSsoDetailsClass {
|
|
|
32
32
|
* @memberof SharedOidcSsoDetailsClass
|
|
33
33
|
*/
|
|
34
34
|
'clientId': string;
|
|
35
|
+
/**
|
|
36
|
+
* Whether a client secret is stored. The value itself is never returned.
|
|
37
|
+
* @type {boolean}
|
|
38
|
+
* @memberof SharedOidcSsoDetailsClass
|
|
39
|
+
*/
|
|
40
|
+
'hasClientSecret': boolean;
|
|
35
41
|
}
|
|
36
42
|
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL Tenant Service
|
|
5
|
+
* The EMIL TenantService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface UpdateSsoConnectionStatusBodyDto
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateSsoConnectionStatusBodyDto {
|
|
23
|
+
/**
|
|
24
|
+
* Is SSO connection active.
|
|
25
|
+
* @type {boolean}
|
|
26
|
+
* @memberof UpdateSsoConnectionStatusBodyDto
|
|
27
|
+
*/
|
|
28
|
+
'isActive': boolean;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL Tenant Service
|
|
5
|
+
* The EMIL TenantService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { SsoConnectionClass } from './sso-connection-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface UpdateSsoConnectionStatusResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface UpdateSsoConnectionStatusResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {SsoConnectionClass}
|
|
27
|
+
* @memberof UpdateSsoConnectionStatusResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'ssoConnection': SsoConnectionClass;
|
|
30
|
+
}
|
|
31
|
+
|