@emilgroup/tenant-sdk 1.42.1-beta.22 → 1.42.1-beta.23
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 +1 -0
- package/README.md +2 -2
- package/api/ssoconnection-api.ts +103 -0
- package/dist/api/ssoconnection-api.d.ts +56 -0
- package/dist/api/ssoconnection-api.js +92 -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 +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/shared-oidc-sso-details-class.d.ts +6 -0
- package/models/get-sso-connection-response-class.ts +31 -0
- package/models/index.ts +1 -0
- package/models/shared-oidc-sso-details-class.ts +6 -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
|
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.
|
|
20
|
+
npm install @emilgroup/tenant-sdk@1.42.1-beta.23 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/tenant-sdk@1.42.1-beta.
|
|
24
|
+
yarn add @emilgroup/tenant-sdk@1.42.1-beta.23
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `UsersApi`.
|
package/api/ssoconnection-api.ts
CHANGED
|
@@ -24,6 +24,8 @@ 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';
|
|
27
29
|
/**
|
|
28
30
|
* SSOConnectionApi - axios parameter creator
|
|
29
31
|
* @export
|
|
@@ -72,6 +74,51 @@ export const SSOConnectionApiAxiosParamCreator = function (configuration?: Confi
|
|
|
72
74
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
73
75
|
localVarRequestOptions.data = serializeDataIfNeeded(createSsoConnectionRequestDto, localVarRequestOptions, configuration)
|
|
74
76
|
|
|
77
|
+
return {
|
|
78
|
+
url: toPathString(localVarUrlObj),
|
|
79
|
+
options: localVarRequestOptions,
|
|
80
|
+
};
|
|
81
|
+
},
|
|
82
|
+
/**
|
|
83
|
+
* Returns the SSO Connection entity identified by code **Required Permissions** \"tenant-management.settings.view\"
|
|
84
|
+
* @summary Read the tenant\'s SSO connection
|
|
85
|
+
* @param {string} code Connection code.
|
|
86
|
+
* @param {string} [authorization] Bearer Token
|
|
87
|
+
* @param {*} [options] Override http request option.
|
|
88
|
+
* @throws {RequiredError}
|
|
89
|
+
*/
|
|
90
|
+
getSsoConnection: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
91
|
+
// verify required parameter 'code' is not null or undefined
|
|
92
|
+
assertParamExists('getSsoConnection', 'code', code)
|
|
93
|
+
const localVarPath = `/tenantservice/v1/sso-connection/{code}`
|
|
94
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
95
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
96
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
97
|
+
let baseOptions;
|
|
98
|
+
let baseAccessToken;
|
|
99
|
+
if (configuration) {
|
|
100
|
+
baseOptions = configuration.baseOptions;
|
|
101
|
+
baseAccessToken = configuration.accessToken;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
105
|
+
const localVarHeaderParameter = {} as any;
|
|
106
|
+
const localVarQueryParameter = {} as any;
|
|
107
|
+
|
|
108
|
+
// authentication bearer required
|
|
109
|
+
// http bearer authentication required
|
|
110
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
111
|
+
|
|
112
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
113
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
119
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
120
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
121
|
+
|
|
75
122
|
return {
|
|
76
123
|
url: toPathString(localVarUrlObj),
|
|
77
124
|
options: localVarRequestOptions,
|
|
@@ -99,6 +146,18 @@ export const SSOConnectionApiFp = function(configuration?: Configuration) {
|
|
|
99
146
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createSsoConnection(createSsoConnectionRequestDto, authorization, options);
|
|
100
147
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
101
148
|
},
|
|
149
|
+
/**
|
|
150
|
+
* Returns the SSO Connection entity identified by code **Required Permissions** \"tenant-management.settings.view\"
|
|
151
|
+
* @summary Read the tenant\'s SSO connection
|
|
152
|
+
* @param {string} code Connection code.
|
|
153
|
+
* @param {string} [authorization] Bearer Token
|
|
154
|
+
* @param {*} [options] Override http request option.
|
|
155
|
+
* @throws {RequiredError}
|
|
156
|
+
*/
|
|
157
|
+
async getSsoConnection(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSsoConnectionResponseClass>> {
|
|
158
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSsoConnection(code, authorization, options);
|
|
159
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
160
|
+
},
|
|
102
161
|
}
|
|
103
162
|
};
|
|
104
163
|
|
|
@@ -120,6 +179,17 @@ export const SSOConnectionApiFactory = function (configuration?: Configuration,
|
|
|
120
179
|
createSsoConnection(createSsoConnectionRequestDto: CreateSsoConnectionRequestDto, authorization?: string, options?: any): AxiosPromise<CreateSsoConnectionResponseClass> {
|
|
121
180
|
return localVarFp.createSsoConnection(createSsoConnectionRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
122
181
|
},
|
|
182
|
+
/**
|
|
183
|
+
* Returns the SSO Connection entity identified by code **Required Permissions** \"tenant-management.settings.view\"
|
|
184
|
+
* @summary Read the tenant\'s SSO connection
|
|
185
|
+
* @param {string} code Connection code.
|
|
186
|
+
* @param {string} [authorization] Bearer Token
|
|
187
|
+
* @param {*} [options] Override http request option.
|
|
188
|
+
* @throws {RequiredError}
|
|
189
|
+
*/
|
|
190
|
+
getSsoConnection(code: string, authorization?: string, options?: any): AxiosPromise<GetSsoConnectionResponseClass> {
|
|
191
|
+
return localVarFp.getSsoConnection(code, authorization, options).then((request) => request(axios, basePath));
|
|
192
|
+
},
|
|
123
193
|
};
|
|
124
194
|
};
|
|
125
195
|
|
|
@@ -144,6 +214,27 @@ export interface SSOConnectionApiCreateSsoConnectionRequest {
|
|
|
144
214
|
readonly authorization?: string
|
|
145
215
|
}
|
|
146
216
|
|
|
217
|
+
/**
|
|
218
|
+
* Request parameters for getSsoConnection operation in SSOConnectionApi.
|
|
219
|
+
* @export
|
|
220
|
+
* @interface SSOConnectionApiGetSsoConnectionRequest
|
|
221
|
+
*/
|
|
222
|
+
export interface SSOConnectionApiGetSsoConnectionRequest {
|
|
223
|
+
/**
|
|
224
|
+
* Connection code.
|
|
225
|
+
* @type {string}
|
|
226
|
+
* @memberof SSOConnectionApiGetSsoConnection
|
|
227
|
+
*/
|
|
228
|
+
readonly code: string
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* Bearer Token
|
|
232
|
+
* @type {string}
|
|
233
|
+
* @memberof SSOConnectionApiGetSsoConnection
|
|
234
|
+
*/
|
|
235
|
+
readonly authorization?: string
|
|
236
|
+
}
|
|
237
|
+
|
|
147
238
|
/**
|
|
148
239
|
* SSOConnectionApi - object-oriented interface
|
|
149
240
|
* @export
|
|
@@ -162,4 +253,16 @@ export class SSOConnectionApi extends BaseAPI {
|
|
|
162
253
|
public createSsoConnection(requestParameters: SSOConnectionApiCreateSsoConnectionRequest, options?: AxiosRequestConfig) {
|
|
163
254
|
return SSOConnectionApiFp(this.configuration).createSsoConnection(requestParameters.createSsoConnectionRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
164
255
|
}
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* Returns the SSO Connection entity identified by code **Required Permissions** \"tenant-management.settings.view\"
|
|
259
|
+
* @summary Read the tenant\'s SSO connection
|
|
260
|
+
* @param {SSOConnectionApiGetSsoConnectionRequest} requestParameters Request parameters.
|
|
261
|
+
* @param {*} [options] Override http request option.
|
|
262
|
+
* @throws {RequiredError}
|
|
263
|
+
* @memberof SSOConnectionApi
|
|
264
|
+
*/
|
|
265
|
+
public getSsoConnection(requestParameters: SSOConnectionApiGetSsoConnectionRequest, options?: AxiosRequestConfig) {
|
|
266
|
+
return SSOConnectionApiFp(this.configuration).getSsoConnection(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
267
|
+
}
|
|
165
268
|
}
|
|
@@ -14,6 +14,7 @@ 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';
|
|
17
18
|
/**
|
|
18
19
|
* SSOConnectionApi - axios parameter creator
|
|
19
20
|
* @export
|
|
@@ -28,6 +29,15 @@ export declare const SSOConnectionApiAxiosParamCreator: (configuration?: Configu
|
|
|
28
29
|
* @throws {RequiredError}
|
|
29
30
|
*/
|
|
30
31
|
createSsoConnection: (createSsoConnectionRequestDto: CreateSsoConnectionRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32
|
+
/**
|
|
33
|
+
* Returns the SSO Connection entity identified by code **Required Permissions** \"tenant-management.settings.view\"
|
|
34
|
+
* @summary Read the tenant\'s SSO connection
|
|
35
|
+
* @param {string} code Connection code.
|
|
36
|
+
* @param {string} [authorization] Bearer Token
|
|
37
|
+
* @param {*} [options] Override http request option.
|
|
38
|
+
* @throws {RequiredError}
|
|
39
|
+
*/
|
|
40
|
+
getSsoConnection: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
41
|
};
|
|
32
42
|
/**
|
|
33
43
|
* SSOConnectionApi - functional programming interface
|
|
@@ -43,6 +53,15 @@ export declare const SSOConnectionApiFp: (configuration?: Configuration) => {
|
|
|
43
53
|
* @throws {RequiredError}
|
|
44
54
|
*/
|
|
45
55
|
createSsoConnection(createSsoConnectionRequestDto: CreateSsoConnectionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateSsoConnectionResponseClass>>;
|
|
56
|
+
/**
|
|
57
|
+
* Returns the SSO Connection entity identified by code **Required Permissions** \"tenant-management.settings.view\"
|
|
58
|
+
* @summary Read the tenant\'s SSO connection
|
|
59
|
+
* @param {string} code Connection code.
|
|
60
|
+
* @param {string} [authorization] Bearer Token
|
|
61
|
+
* @param {*} [options] Override http request option.
|
|
62
|
+
* @throws {RequiredError}
|
|
63
|
+
*/
|
|
64
|
+
getSsoConnection(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSsoConnectionResponseClass>>;
|
|
46
65
|
};
|
|
47
66
|
/**
|
|
48
67
|
* SSOConnectionApi - factory interface
|
|
@@ -58,6 +77,15 @@ export declare const SSOConnectionApiFactory: (configuration?: Configuration, ba
|
|
|
58
77
|
* @throws {RequiredError}
|
|
59
78
|
*/
|
|
60
79
|
createSsoConnection(createSsoConnectionRequestDto: CreateSsoConnectionRequestDto, authorization?: string, options?: any): AxiosPromise<CreateSsoConnectionResponseClass>;
|
|
80
|
+
/**
|
|
81
|
+
* Returns the SSO Connection entity identified by code **Required Permissions** \"tenant-management.settings.view\"
|
|
82
|
+
* @summary Read the tenant\'s SSO connection
|
|
83
|
+
* @param {string} code Connection code.
|
|
84
|
+
* @param {string} [authorization] Bearer Token
|
|
85
|
+
* @param {*} [options] Override http request option.
|
|
86
|
+
* @throws {RequiredError}
|
|
87
|
+
*/
|
|
88
|
+
getSsoConnection(code: string, authorization?: string, options?: any): AxiosPromise<GetSsoConnectionResponseClass>;
|
|
61
89
|
};
|
|
62
90
|
/**
|
|
63
91
|
* Request parameters for createSsoConnection operation in SSOConnectionApi.
|
|
@@ -78,6 +106,25 @@ export interface SSOConnectionApiCreateSsoConnectionRequest {
|
|
|
78
106
|
*/
|
|
79
107
|
readonly authorization?: string;
|
|
80
108
|
}
|
|
109
|
+
/**
|
|
110
|
+
* Request parameters for getSsoConnection operation in SSOConnectionApi.
|
|
111
|
+
* @export
|
|
112
|
+
* @interface SSOConnectionApiGetSsoConnectionRequest
|
|
113
|
+
*/
|
|
114
|
+
export interface SSOConnectionApiGetSsoConnectionRequest {
|
|
115
|
+
/**
|
|
116
|
+
* Connection code.
|
|
117
|
+
* @type {string}
|
|
118
|
+
* @memberof SSOConnectionApiGetSsoConnection
|
|
119
|
+
*/
|
|
120
|
+
readonly code: string;
|
|
121
|
+
/**
|
|
122
|
+
* Bearer Token
|
|
123
|
+
* @type {string}
|
|
124
|
+
* @memberof SSOConnectionApiGetSsoConnection
|
|
125
|
+
*/
|
|
126
|
+
readonly authorization?: string;
|
|
127
|
+
}
|
|
81
128
|
/**
|
|
82
129
|
* SSOConnectionApi - object-oriented interface
|
|
83
130
|
* @export
|
|
@@ -94,4 +141,13 @@ export declare class SSOConnectionApi extends BaseAPI {
|
|
|
94
141
|
* @memberof SSOConnectionApi
|
|
95
142
|
*/
|
|
96
143
|
createSsoConnection(requestParameters: SSOConnectionApiCreateSsoConnectionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateSsoConnectionResponseClass, any, {}>>;
|
|
144
|
+
/**
|
|
145
|
+
* Returns the SSO Connection entity identified by code **Required Permissions** \"tenant-management.settings.view\"
|
|
146
|
+
* @summary Read the tenant\'s SSO connection
|
|
147
|
+
* @param {SSOConnectionApiGetSsoConnectionRequest} requestParameters Request parameters.
|
|
148
|
+
* @param {*} [options] Override http request option.
|
|
149
|
+
* @throws {RequiredError}
|
|
150
|
+
* @memberof SSOConnectionApi
|
|
151
|
+
*/
|
|
152
|
+
getSsoConnection(requestParameters: SSOConnectionApiGetSsoConnectionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSsoConnectionResponseClass, any, {}>>;
|
|
97
153
|
}
|
|
@@ -141,6 +141,54 @@ var SSOConnectionApiAxiosParamCreator = function (configuration) {
|
|
|
141
141
|
});
|
|
142
142
|
});
|
|
143
143
|
},
|
|
144
|
+
/**
|
|
145
|
+
* Returns the SSO Connection entity identified by code **Required Permissions** \"tenant-management.settings.view\"
|
|
146
|
+
* @summary Read the tenant\'s SSO connection
|
|
147
|
+
* @param {string} code Connection code.
|
|
148
|
+
* @param {string} [authorization] Bearer Token
|
|
149
|
+
* @param {*} [options] Override http request option.
|
|
150
|
+
* @throws {RequiredError}
|
|
151
|
+
*/
|
|
152
|
+
getSsoConnection: function (code, authorization, options) {
|
|
153
|
+
if (options === void 0) { options = {}; }
|
|
154
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
155
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
156
|
+
return __generator(this, function (_a) {
|
|
157
|
+
switch (_a.label) {
|
|
158
|
+
case 0:
|
|
159
|
+
// verify required parameter 'code' is not null or undefined
|
|
160
|
+
(0, common_1.assertParamExists)('getSsoConnection', 'code', code);
|
|
161
|
+
localVarPath = "/tenantservice/v1/sso-connection/{code}"
|
|
162
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
163
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
164
|
+
if (configuration) {
|
|
165
|
+
baseOptions = configuration.baseOptions;
|
|
166
|
+
baseAccessToken = configuration.accessToken;
|
|
167
|
+
}
|
|
168
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
169
|
+
localVarHeaderParameter = {};
|
|
170
|
+
localVarQueryParameter = {};
|
|
171
|
+
// authentication bearer required
|
|
172
|
+
// http bearer authentication required
|
|
173
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
174
|
+
case 1:
|
|
175
|
+
// authentication bearer required
|
|
176
|
+
// http bearer authentication required
|
|
177
|
+
_a.sent();
|
|
178
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
179
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
180
|
+
}
|
|
181
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
182
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
183
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
184
|
+
return [2 /*return*/, {
|
|
185
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
186
|
+
options: localVarRequestOptions,
|
|
187
|
+
}];
|
|
188
|
+
}
|
|
189
|
+
});
|
|
190
|
+
});
|
|
191
|
+
},
|
|
144
192
|
};
|
|
145
193
|
};
|
|
146
194
|
exports.SSOConnectionApiAxiosParamCreator = SSOConnectionApiAxiosParamCreator;
|
|
@@ -172,6 +220,27 @@ var SSOConnectionApiFp = function (configuration) {
|
|
|
172
220
|
});
|
|
173
221
|
});
|
|
174
222
|
},
|
|
223
|
+
/**
|
|
224
|
+
* Returns the SSO Connection entity identified by code **Required Permissions** \"tenant-management.settings.view\"
|
|
225
|
+
* @summary Read the tenant\'s SSO connection
|
|
226
|
+
* @param {string} code Connection code.
|
|
227
|
+
* @param {string} [authorization] Bearer Token
|
|
228
|
+
* @param {*} [options] Override http request option.
|
|
229
|
+
* @throws {RequiredError}
|
|
230
|
+
*/
|
|
231
|
+
getSsoConnection: function (code, authorization, options) {
|
|
232
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
233
|
+
var localVarAxiosArgs;
|
|
234
|
+
return __generator(this, function (_a) {
|
|
235
|
+
switch (_a.label) {
|
|
236
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getSsoConnection(code, authorization, options)];
|
|
237
|
+
case 1:
|
|
238
|
+
localVarAxiosArgs = _a.sent();
|
|
239
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
240
|
+
}
|
|
241
|
+
});
|
|
242
|
+
});
|
|
243
|
+
},
|
|
175
244
|
};
|
|
176
245
|
};
|
|
177
246
|
exports.SSOConnectionApiFp = SSOConnectionApiFp;
|
|
@@ -193,6 +262,17 @@ var SSOConnectionApiFactory = function (configuration, basePath, axios) {
|
|
|
193
262
|
createSsoConnection: function (createSsoConnectionRequestDto, authorization, options) {
|
|
194
263
|
return localVarFp.createSsoConnection(createSsoConnectionRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
195
264
|
},
|
|
265
|
+
/**
|
|
266
|
+
* Returns the SSO Connection entity identified by code **Required Permissions** \"tenant-management.settings.view\"
|
|
267
|
+
* @summary Read the tenant\'s SSO connection
|
|
268
|
+
* @param {string} code Connection code.
|
|
269
|
+
* @param {string} [authorization] Bearer Token
|
|
270
|
+
* @param {*} [options] Override http request option.
|
|
271
|
+
* @throws {RequiredError}
|
|
272
|
+
*/
|
|
273
|
+
getSsoConnection: function (code, authorization, options) {
|
|
274
|
+
return localVarFp.getSsoConnection(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
275
|
+
},
|
|
196
276
|
};
|
|
197
277
|
};
|
|
198
278
|
exports.SSOConnectionApiFactory = SSOConnectionApiFactory;
|
|
@@ -219,6 +299,18 @@ var SSOConnectionApi = /** @class */ (function (_super) {
|
|
|
219
299
|
var _this = this;
|
|
220
300
|
return (0, exports.SSOConnectionApiFp)(this.configuration).createSsoConnection(requestParameters.createSsoConnectionRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
221
301
|
};
|
|
302
|
+
/**
|
|
303
|
+
* Returns the SSO Connection entity identified by code **Required Permissions** \"tenant-management.settings.view\"
|
|
304
|
+
* @summary Read the tenant\'s SSO connection
|
|
305
|
+
* @param {SSOConnectionApiGetSsoConnectionRequest} requestParameters Request parameters.
|
|
306
|
+
* @param {*} [options] Override http request option.
|
|
307
|
+
* @throws {RequiredError}
|
|
308
|
+
* @memberof SSOConnectionApi
|
|
309
|
+
*/
|
|
310
|
+
SSOConnectionApi.prototype.getSsoConnection = function (requestParameters, options) {
|
|
311
|
+
var _this = this;
|
|
312
|
+
return (0, exports.SSOConnectionApiFp)(this.configuration).getSsoConnection(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
313
|
+
};
|
|
222
314
|
return SSOConnectionApi;
|
|
223
315
|
}(base_1.BaseAPI));
|
|
224
316
|
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';
|
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);
|
|
@@ -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,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';
|
|
@@ -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
|
|