@emilgroup/tenant-sdk-node 1.39.1-beta.22 → 1.39.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-node@1.39.1-beta.
|
|
20
|
+
npm install @emilgroup/tenant-sdk-node@1.39.1-beta.23 --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.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
|
// URLSearchParams not necessarily used
|
|
28
30
|
// @ts-ignore
|
|
29
31
|
import { URL, URLSearchParams } from 'url';
|
|
@@ -76,6 +78,51 @@ export const SSOConnectionApiAxiosParamCreator = function (configuration?: Confi
|
|
|
76
78
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
77
79
|
localVarRequestOptions.data = serializeDataIfNeeded(createSsoConnectionRequestDto, localVarRequestOptions, configuration)
|
|
78
80
|
|
|
81
|
+
return {
|
|
82
|
+
url: toPathString(localVarUrlObj),
|
|
83
|
+
options: localVarRequestOptions,
|
|
84
|
+
};
|
|
85
|
+
},
|
|
86
|
+
/**
|
|
87
|
+
* Returns the SSO Connection entity identified by code **Required Permissions** \"tenant-management.settings.view\"
|
|
88
|
+
* @summary Read the tenant\'s SSO connection
|
|
89
|
+
* @param {string} code Connection code.
|
|
90
|
+
* @param {string} [authorization] Bearer Token
|
|
91
|
+
* @param {*} [options] Override http request option.
|
|
92
|
+
* @throws {RequiredError}
|
|
93
|
+
*/
|
|
94
|
+
getSsoConnection: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
95
|
+
// verify required parameter 'code' is not null or undefined
|
|
96
|
+
assertParamExists('getSsoConnection', 'code', code)
|
|
97
|
+
const localVarPath = `/tenantservice/v1/sso-connection/{code}`
|
|
98
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
99
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
100
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
101
|
+
let baseOptions;
|
|
102
|
+
let baseAccessToken;
|
|
103
|
+
if (configuration) {
|
|
104
|
+
baseOptions = configuration.baseOptions;
|
|
105
|
+
baseAccessToken = configuration.accessToken;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
109
|
+
const localVarHeaderParameter = {} as any;
|
|
110
|
+
const localVarQueryParameter = {} as any;
|
|
111
|
+
|
|
112
|
+
// authentication bearer required
|
|
113
|
+
// http bearer authentication required
|
|
114
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
115
|
+
|
|
116
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
117
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
123
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
124
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
125
|
+
|
|
79
126
|
return {
|
|
80
127
|
url: toPathString(localVarUrlObj),
|
|
81
128
|
options: localVarRequestOptions,
|
|
@@ -103,6 +150,18 @@ export const SSOConnectionApiFp = function(configuration?: Configuration) {
|
|
|
103
150
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createSsoConnection(createSsoConnectionRequestDto, authorization, options);
|
|
104
151
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
105
152
|
},
|
|
153
|
+
/**
|
|
154
|
+
* Returns the SSO Connection entity identified by code **Required Permissions** \"tenant-management.settings.view\"
|
|
155
|
+
* @summary Read the tenant\'s SSO connection
|
|
156
|
+
* @param {string} code Connection code.
|
|
157
|
+
* @param {string} [authorization] Bearer Token
|
|
158
|
+
* @param {*} [options] Override http request option.
|
|
159
|
+
* @throws {RequiredError}
|
|
160
|
+
*/
|
|
161
|
+
async getSsoConnection(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSsoConnectionResponseClass>> {
|
|
162
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSsoConnection(code, authorization, options);
|
|
163
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
164
|
+
},
|
|
106
165
|
}
|
|
107
166
|
};
|
|
108
167
|
|
|
@@ -124,6 +183,17 @@ export const SSOConnectionApiFactory = function (configuration?: Configuration,
|
|
|
124
183
|
createSsoConnection(createSsoConnectionRequestDto: CreateSsoConnectionRequestDto, authorization?: string, options?: any): AxiosPromise<CreateSsoConnectionResponseClass> {
|
|
125
184
|
return localVarFp.createSsoConnection(createSsoConnectionRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
126
185
|
},
|
|
186
|
+
/**
|
|
187
|
+
* Returns the SSO Connection entity identified by code **Required Permissions** \"tenant-management.settings.view\"
|
|
188
|
+
* @summary Read the tenant\'s SSO connection
|
|
189
|
+
* @param {string} code Connection code.
|
|
190
|
+
* @param {string} [authorization] Bearer Token
|
|
191
|
+
* @param {*} [options] Override http request option.
|
|
192
|
+
* @throws {RequiredError}
|
|
193
|
+
*/
|
|
194
|
+
getSsoConnection(code: string, authorization?: string, options?: any): AxiosPromise<GetSsoConnectionResponseClass> {
|
|
195
|
+
return localVarFp.getSsoConnection(code, authorization, options).then((request) => request(axios, basePath));
|
|
196
|
+
},
|
|
127
197
|
};
|
|
128
198
|
};
|
|
129
199
|
|
|
@@ -148,6 +218,27 @@ export interface SSOConnectionApiCreateSsoConnectionRequest {
|
|
|
148
218
|
readonly authorization?: string
|
|
149
219
|
}
|
|
150
220
|
|
|
221
|
+
/**
|
|
222
|
+
* Request parameters for getSsoConnection operation in SSOConnectionApi.
|
|
223
|
+
* @export
|
|
224
|
+
* @interface SSOConnectionApiGetSsoConnectionRequest
|
|
225
|
+
*/
|
|
226
|
+
export interface SSOConnectionApiGetSsoConnectionRequest {
|
|
227
|
+
/**
|
|
228
|
+
* Connection code.
|
|
229
|
+
* @type {string}
|
|
230
|
+
* @memberof SSOConnectionApiGetSsoConnection
|
|
231
|
+
*/
|
|
232
|
+
readonly code: string
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* Bearer Token
|
|
236
|
+
* @type {string}
|
|
237
|
+
* @memberof SSOConnectionApiGetSsoConnection
|
|
238
|
+
*/
|
|
239
|
+
readonly authorization?: string
|
|
240
|
+
}
|
|
241
|
+
|
|
151
242
|
/**
|
|
152
243
|
* SSOConnectionApi - object-oriented interface
|
|
153
244
|
* @export
|
|
@@ -166,4 +257,16 @@ export class SSOConnectionApi extends BaseAPI {
|
|
|
166
257
|
public createSsoConnection(requestParameters: SSOConnectionApiCreateSsoConnectionRequest, options?: AxiosRequestConfig) {
|
|
167
258
|
return SSOConnectionApiFp(this.configuration).createSsoConnection(requestParameters.createSsoConnectionRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
168
259
|
}
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* Returns the SSO Connection entity identified by code **Required Permissions** \"tenant-management.settings.view\"
|
|
263
|
+
* @summary Read the tenant\'s SSO connection
|
|
264
|
+
* @param {SSOConnectionApiGetSsoConnectionRequest} requestParameters Request parameters.
|
|
265
|
+
* @param {*} [options] Override http request option.
|
|
266
|
+
* @throws {RequiredError}
|
|
267
|
+
* @memberof SSOConnectionApi
|
|
268
|
+
*/
|
|
269
|
+
public getSsoConnection(requestParameters: SSOConnectionApiGetSsoConnectionRequest, options?: AxiosRequestConfig) {
|
|
270
|
+
return SSOConnectionApiFp(this.configuration).getSsoConnection(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
271
|
+
}
|
|
169
272
|
}
|
|
@@ -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
|
}
|
|
@@ -145,6 +145,54 @@ 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
|
+
},
|
|
148
196
|
};
|
|
149
197
|
};
|
|
150
198
|
exports.SSOConnectionApiAxiosParamCreator = SSOConnectionApiAxiosParamCreator;
|
|
@@ -176,6 +224,27 @@ var SSOConnectionApiFp = function (configuration) {
|
|
|
176
224
|
});
|
|
177
225
|
});
|
|
178
226
|
},
|
|
227
|
+
/**
|
|
228
|
+
* Returns the SSO Connection entity identified by code **Required Permissions** \"tenant-management.settings.view\"
|
|
229
|
+
* @summary Read the tenant\'s SSO connection
|
|
230
|
+
* @param {string} code Connection code.
|
|
231
|
+
* @param {string} [authorization] Bearer Token
|
|
232
|
+
* @param {*} [options] Override http request option.
|
|
233
|
+
* @throws {RequiredError}
|
|
234
|
+
*/
|
|
235
|
+
getSsoConnection: function (code, authorization, options) {
|
|
236
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
237
|
+
var localVarAxiosArgs;
|
|
238
|
+
return __generator(this, function (_a) {
|
|
239
|
+
switch (_a.label) {
|
|
240
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getSsoConnection(code, authorization, options)];
|
|
241
|
+
case 1:
|
|
242
|
+
localVarAxiosArgs = _a.sent();
|
|
243
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
244
|
+
}
|
|
245
|
+
});
|
|
246
|
+
});
|
|
247
|
+
},
|
|
179
248
|
};
|
|
180
249
|
};
|
|
181
250
|
exports.SSOConnectionApiFp = SSOConnectionApiFp;
|
|
@@ -197,6 +266,17 @@ var SSOConnectionApiFactory = function (configuration, basePath, axios) {
|
|
|
197
266
|
createSsoConnection: function (createSsoConnectionRequestDto, authorization, options) {
|
|
198
267
|
return localVarFp.createSsoConnection(createSsoConnectionRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
199
268
|
},
|
|
269
|
+
/**
|
|
270
|
+
* Returns the SSO Connection entity identified by code **Required Permissions** \"tenant-management.settings.view\"
|
|
271
|
+
* @summary Read the tenant\'s SSO connection
|
|
272
|
+
* @param {string} code Connection code.
|
|
273
|
+
* @param {string} [authorization] Bearer Token
|
|
274
|
+
* @param {*} [options] Override http request option.
|
|
275
|
+
* @throws {RequiredError}
|
|
276
|
+
*/
|
|
277
|
+
getSsoConnection: function (code, authorization, options) {
|
|
278
|
+
return localVarFp.getSsoConnection(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
279
|
+
},
|
|
200
280
|
};
|
|
201
281
|
};
|
|
202
282
|
exports.SSOConnectionApiFactory = SSOConnectionApiFactory;
|
|
@@ -223,6 +303,18 @@ var SSOConnectionApi = /** @class */ (function (_super) {
|
|
|
223
303
|
var _this = this;
|
|
224
304
|
return (0, exports.SSOConnectionApiFp)(this.configuration).createSsoConnection(requestParameters.createSsoConnectionRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
225
305
|
};
|
|
306
|
+
/**
|
|
307
|
+
* Returns the SSO Connection entity identified by code **Required Permissions** \"tenant-management.settings.view\"
|
|
308
|
+
* @summary Read the tenant\'s SSO connection
|
|
309
|
+
* @param {SSOConnectionApiGetSsoConnectionRequest} requestParameters Request parameters.
|
|
310
|
+
* @param {*} [options] Override http request option.
|
|
311
|
+
* @throws {RequiredError}
|
|
312
|
+
* @memberof SSOConnectionApi
|
|
313
|
+
*/
|
|
314
|
+
SSOConnectionApi.prototype.getSsoConnection = function (requestParameters, options) {
|
|
315
|
+
var _this = this;
|
|
316
|
+
return (0, exports.SSOConnectionApiFp)(this.configuration).getSsoConnection(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
317
|
+
};
|
|
226
318
|
return SSOConnectionApi;
|
|
227
319
|
}(base_1.BaseAPI));
|
|
228
320
|
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
|
|