@emilgroup/tenant-sdk 1.42.1-beta.21 → 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.
Files changed (42) hide show
  1. package/.openapi-generator/FILES +11 -0
  2. package/README.md +2 -2
  3. package/api/ssoconnection-api.ts +268 -0
  4. package/api.ts +2 -0
  5. package/dist/api/ssoconnection-api.d.ts +153 -0
  6. package/dist/api/ssoconnection-api.js +316 -0
  7. package/dist/api.d.ts +1 -0
  8. package/dist/api.js +1 -0
  9. package/dist/models/create-sso-connection-request-dto.d.ts +66 -0
  10. package/dist/models/create-sso-connection-request-dto.js +23 -0
  11. package/dist/models/create-sso-connection-response-class.d.ts +25 -0
  12. package/dist/models/create-sso-connection-response-class.js +15 -0
  13. package/dist/models/get-sso-connection-response-class.d.ts +25 -0
  14. package/dist/models/get-sso-connection-response-class.js +15 -0
  15. package/dist/models/index.d.ts +10 -0
  16. package/dist/models/index.js +10 -0
  17. package/dist/models/oidc-sso-details-input-dto.d.ts +36 -0
  18. package/dist/models/oidc-sso-details-input-dto.js +15 -0
  19. package/dist/models/saml-sso-details-dto.d.ts +24 -0
  20. package/dist/models/saml-sso-details-dto.js +15 -0
  21. package/dist/models/shared-oidc-sso-details-class.d.ts +36 -0
  22. package/dist/models/shared-oidc-sso-details-class.js +15 -0
  23. package/dist/models/shared-saml-sso-details-class.d.ts +24 -0
  24. package/dist/models/shared-saml-sso-details-class.js +15 -0
  25. package/dist/models/shared-sso-attribute-mapping-class.d.ts +30 -0
  26. package/dist/models/shared-sso-attribute-mapping-class.js +15 -0
  27. package/dist/models/sso-attribute-mapping-dto.d.ts +30 -0
  28. package/dist/models/sso-attribute-mapping-dto.js +15 -0
  29. package/dist/models/sso-connection-class.d.ts +102 -0
  30. package/dist/models/sso-connection-class.js +23 -0
  31. package/models/create-sso-connection-request-dto.ts +76 -0
  32. package/models/create-sso-connection-response-class.ts +31 -0
  33. package/models/get-sso-connection-response-class.ts +31 -0
  34. package/models/index.ts +10 -0
  35. package/models/oidc-sso-details-input-dto.ts +42 -0
  36. package/models/saml-sso-details-dto.ts +30 -0
  37. package/models/shared-oidc-sso-details-class.ts +42 -0
  38. package/models/shared-saml-sso-details-class.ts +30 -0
  39. package/models/shared-sso-attribute-mapping-class.ts +36 -0
  40. package/models/sso-attribute-mapping-dto.ts +36 -0
  41. package/models/sso-connection-class.ts +112 -0
  42. package/package.json +1 -1
@@ -21,6 +21,7 @@ api/report-schedule-api.ts
21
21
  api/report-schedule-logs-api.ts
22
22
  api/roles-api.ts
23
23
  api/settings-api.ts
24
+ api/ssoconnection-api.ts
24
25
  api/user-controller-rest-api.ts
25
26
  api/user-group-api.ts
26
27
  api/users-api.ts
@@ -52,6 +53,8 @@ models/create-organization-migration-response-class.ts
52
53
  models/create-report-schedule-request-dto.ts
53
54
  models/create-report-schedule-response-class.ts
54
55
  models/create-resources-migration-request-dto.ts
56
+ models/create-sso-connection-request-dto.ts
57
+ models/create-sso-connection-response-class.ts
55
58
  models/create-tenant-request-dto.ts
56
59
  models/create-user-group-request-dto.ts
57
60
  models/create-user-group-response-class.ts
@@ -85,6 +88,7 @@ models/get-organization-migration-response-class.ts
85
88
  models/get-organization-response-class.ts
86
89
  models/get-report-schedule-response-class.ts
87
90
  models/get-settings-response-class.ts
91
+ models/get-sso-connection-response-class.ts
88
92
  models/get-user-group-response-class.ts
89
93
  models/get-user-response-class.ts
90
94
  models/index.ts
@@ -113,6 +117,7 @@ models/list-roles-response-class.ts
113
117
  models/list-user-group-members-response-class.ts
114
118
  models/list-user-groups-response-class.ts
115
119
  models/list-users-response-class.ts
120
+ models/oidc-sso-details-input-dto.ts
116
121
  models/org-invitation-class.ts
117
122
  models/org-invitation-response-class.ts
118
123
  models/organization-class.ts
@@ -133,10 +138,16 @@ models/revert-organization-migration-response-class.ts
133
138
  models/role-class.ts
134
139
  models/run-data-report-request-dto.ts
135
140
  models/run-data-report-response-class.ts
141
+ models/saml-sso-details-dto.ts
136
142
  models/set-setting-grpc-request-dto.ts
137
143
  models/set-setting-request-dto.ts
138
144
  models/set-tenant-setting-response-class.ts
139
145
  models/set-user-setting-response-class.ts
146
+ models/shared-oidc-sso-details-class.ts
147
+ models/shared-saml-sso-details-class.ts
148
+ models/shared-sso-attribute-mapping-class.ts
149
+ models/sso-attribute-mapping-dto.ts
150
+ models/sso-connection-class.ts
140
151
  models/subscription-class.ts
141
152
  models/tenant-admin-user-dto.ts
142
153
  models/tenant-settings-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@1.42.1-beta.21 --save
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.21
24
+ yarn add @emilgroup/tenant-sdk@1.42.1-beta.23
25
25
  ```
26
26
 
27
27
  And then you can import `UsersApi`.
@@ -0,0 +1,268 @@
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 globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
17
+ import { Configuration } from '../configuration';
18
+ // Some imports not used depending on template conditions
19
+ // @ts-ignore
20
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
21
+ // @ts-ignore
22
+ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
+ // @ts-ignore
24
+ import { CreateSsoConnectionRequestDto } from '../models';
25
+ // @ts-ignore
26
+ import { CreateSsoConnectionResponseClass } from '../models';
27
+ // @ts-ignore
28
+ import { GetSsoConnectionResponseClass } from '../models';
29
+ /**
30
+ * SSOConnectionApi - axios parameter creator
31
+ * @export
32
+ */
33
+ export const SSOConnectionApiAxiosParamCreator = function (configuration?: Configuration) {
34
+ return {
35
+ /**
36
+ * Validates the identity provider data, stores the configuration, and prepares the tenant\'s Cognito user pool for the mapped claims. The connection is created inactive: activating it is a separate action. One connection per tenant. **Required Permissions** \"tenant-management.settings.create\"
37
+ * @summary Create the tenant\'s SSO connection
38
+ * @param {CreateSsoConnectionRequestDto} createSsoConnectionRequestDto
39
+ * @param {string} [authorization] Bearer Token
40
+ * @param {*} [options] Override http request option.
41
+ * @throws {RequiredError}
42
+ */
43
+ createSsoConnection: async (createSsoConnectionRequestDto: CreateSsoConnectionRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
44
+ // verify required parameter 'createSsoConnectionRequestDto' is not null or undefined
45
+ assertParamExists('createSsoConnection', 'createSsoConnectionRequestDto', createSsoConnectionRequestDto)
46
+ const localVarPath = `/tenantservice/v1/sso-connection`;
47
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
48
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
49
+ let baseOptions;
50
+ let baseAccessToken;
51
+ if (configuration) {
52
+ baseOptions = configuration.baseOptions;
53
+ baseAccessToken = configuration.accessToken;
54
+ }
55
+
56
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
57
+ const localVarHeaderParameter = {} as any;
58
+ const localVarQueryParameter = {} as any;
59
+
60
+ // authentication bearer required
61
+ // http bearer authentication required
62
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
63
+
64
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
65
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
66
+ }
67
+
68
+
69
+
70
+ localVarHeaderParameter['Content-Type'] = 'application/json';
71
+
72
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
73
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
74
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
75
+ localVarRequestOptions.data = serializeDataIfNeeded(createSsoConnectionRequestDto, localVarRequestOptions, configuration)
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
+
122
+ return {
123
+ url: toPathString(localVarUrlObj),
124
+ options: localVarRequestOptions,
125
+ };
126
+ },
127
+ }
128
+ };
129
+
130
+ /**
131
+ * SSOConnectionApi - functional programming interface
132
+ * @export
133
+ */
134
+ export const SSOConnectionApiFp = function(configuration?: Configuration) {
135
+ const localVarAxiosParamCreator = SSOConnectionApiAxiosParamCreator(configuration)
136
+ return {
137
+ /**
138
+ * Validates the identity provider data, stores the configuration, and prepares the tenant\'s Cognito user pool for the mapped claims. The connection is created inactive: activating it is a separate action. One connection per tenant. **Required Permissions** \"tenant-management.settings.create\"
139
+ * @summary Create the tenant\'s SSO connection
140
+ * @param {CreateSsoConnectionRequestDto} createSsoConnectionRequestDto
141
+ * @param {string} [authorization] Bearer Token
142
+ * @param {*} [options] Override http request option.
143
+ * @throws {RequiredError}
144
+ */
145
+ async createSsoConnection(createSsoConnectionRequestDto: CreateSsoConnectionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateSsoConnectionResponseClass>> {
146
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createSsoConnection(createSsoConnectionRequestDto, authorization, options);
147
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
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
+ },
161
+ }
162
+ };
163
+
164
+ /**
165
+ * SSOConnectionApi - factory interface
166
+ * @export
167
+ */
168
+ export const SSOConnectionApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
169
+ const localVarFp = SSOConnectionApiFp(configuration)
170
+ return {
171
+ /**
172
+ * Validates the identity provider data, stores the configuration, and prepares the tenant\'s Cognito user pool for the mapped claims. The connection is created inactive: activating it is a separate action. One connection per tenant. **Required Permissions** \"tenant-management.settings.create\"
173
+ * @summary Create the tenant\'s SSO connection
174
+ * @param {CreateSsoConnectionRequestDto} createSsoConnectionRequestDto
175
+ * @param {string} [authorization] Bearer Token
176
+ * @param {*} [options] Override http request option.
177
+ * @throws {RequiredError}
178
+ */
179
+ createSsoConnection(createSsoConnectionRequestDto: CreateSsoConnectionRequestDto, authorization?: string, options?: any): AxiosPromise<CreateSsoConnectionResponseClass> {
180
+ return localVarFp.createSsoConnection(createSsoConnectionRequestDto, authorization, options).then((request) => request(axios, basePath));
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
+ },
193
+ };
194
+ };
195
+
196
+ /**
197
+ * Request parameters for createSsoConnection operation in SSOConnectionApi.
198
+ * @export
199
+ * @interface SSOConnectionApiCreateSsoConnectionRequest
200
+ */
201
+ export interface SSOConnectionApiCreateSsoConnectionRequest {
202
+ /**
203
+ *
204
+ * @type {CreateSsoConnectionRequestDto}
205
+ * @memberof SSOConnectionApiCreateSsoConnection
206
+ */
207
+ readonly createSsoConnectionRequestDto: CreateSsoConnectionRequestDto
208
+
209
+ /**
210
+ * Bearer Token
211
+ * @type {string}
212
+ * @memberof SSOConnectionApiCreateSsoConnection
213
+ */
214
+ readonly authorization?: string
215
+ }
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
+
238
+ /**
239
+ * SSOConnectionApi - object-oriented interface
240
+ * @export
241
+ * @class SSOConnectionApi
242
+ * @extends {BaseAPI}
243
+ */
244
+ export class SSOConnectionApi extends BaseAPI {
245
+ /**
246
+ * Validates the identity provider data, stores the configuration, and prepares the tenant\'s Cognito user pool for the mapped claims. The connection is created inactive: activating it is a separate action. One connection per tenant. **Required Permissions** \"tenant-management.settings.create\"
247
+ * @summary Create the tenant\'s SSO connection
248
+ * @param {SSOConnectionApiCreateSsoConnectionRequest} requestParameters Request parameters.
249
+ * @param {*} [options] Override http request option.
250
+ * @throws {RequiredError}
251
+ * @memberof SSOConnectionApi
252
+ */
253
+ public createSsoConnection(requestParameters: SSOConnectionApiCreateSsoConnectionRequest, options?: AxiosRequestConfig) {
254
+ return SSOConnectionApiFp(this.configuration).createSsoConnection(requestParameters.createSsoConnectionRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
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
+ }
268
+ }
package/api.ts CHANGED
@@ -37,6 +37,7 @@ import { ReInviteAnOrganizationApi } from './api';
37
37
  import { ReportScheduleApi } from './api';
38
38
  import { ReportScheduleLogsApi } from './api';
39
39
  import { RolesApi } from './api';
40
+ import { SSOConnectionApi } from './api';
40
41
  import { SettingsApi } from './api';
41
42
  import { UserControllerRestApi } from './api';
42
43
  import { UserGroupApi } from './api';
@@ -60,6 +61,7 @@ export * from './api/re-invite-an-organization-api';
60
61
  export * from './api/report-schedule-api';
61
62
  export * from './api/report-schedule-logs-api';
62
63
  export * from './api/roles-api';
64
+ export * from './api/ssoconnection-api';
63
65
  export * from './api/settings-api';
64
66
  export * from './api/user-controller-rest-api';
65
67
  export * from './api/user-group-api';
@@ -0,0 +1,153 @@
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 { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
+ import { Configuration } from '../configuration';
14
+ import { RequestArgs, BaseAPI } from '../base';
15
+ import { CreateSsoConnectionRequestDto } from '../models';
16
+ import { CreateSsoConnectionResponseClass } from '../models';
17
+ import { GetSsoConnectionResponseClass } from '../models';
18
+ /**
19
+ * SSOConnectionApi - axios parameter creator
20
+ * @export
21
+ */
22
+ export declare const SSOConnectionApiAxiosParamCreator: (configuration?: Configuration) => {
23
+ /**
24
+ * Validates the identity provider data, stores the configuration, and prepares the tenant\'s Cognito user pool for the mapped claims. The connection is created inactive: activating it is a separate action. One connection per tenant. **Required Permissions** \"tenant-management.settings.create\"
25
+ * @summary Create the tenant\'s SSO connection
26
+ * @param {CreateSsoConnectionRequestDto} createSsoConnectionRequestDto
27
+ * @param {string} [authorization] Bearer Token
28
+ * @param {*} [options] Override http request option.
29
+ * @throws {RequiredError}
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>;
41
+ };
42
+ /**
43
+ * SSOConnectionApi - functional programming interface
44
+ * @export
45
+ */
46
+ export declare const SSOConnectionApiFp: (configuration?: Configuration) => {
47
+ /**
48
+ * Validates the identity provider data, stores the configuration, and prepares the tenant\'s Cognito user pool for the mapped claims. The connection is created inactive: activating it is a separate action. One connection per tenant. **Required Permissions** \"tenant-management.settings.create\"
49
+ * @summary Create the tenant\'s SSO connection
50
+ * @param {CreateSsoConnectionRequestDto} createSsoConnectionRequestDto
51
+ * @param {string} [authorization] Bearer Token
52
+ * @param {*} [options] Override http request option.
53
+ * @throws {RequiredError}
54
+ */
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>>;
65
+ };
66
+ /**
67
+ * SSOConnectionApi - factory interface
68
+ * @export
69
+ */
70
+ export declare const SSOConnectionApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
71
+ /**
72
+ * Validates the identity provider data, stores the configuration, and prepares the tenant\'s Cognito user pool for the mapped claims. The connection is created inactive: activating it is a separate action. One connection per tenant. **Required Permissions** \"tenant-management.settings.create\"
73
+ * @summary Create the tenant\'s SSO connection
74
+ * @param {CreateSsoConnectionRequestDto} createSsoConnectionRequestDto
75
+ * @param {string} [authorization] Bearer Token
76
+ * @param {*} [options] Override http request option.
77
+ * @throws {RequiredError}
78
+ */
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>;
89
+ };
90
+ /**
91
+ * Request parameters for createSsoConnection operation in SSOConnectionApi.
92
+ * @export
93
+ * @interface SSOConnectionApiCreateSsoConnectionRequest
94
+ */
95
+ export interface SSOConnectionApiCreateSsoConnectionRequest {
96
+ /**
97
+ *
98
+ * @type {CreateSsoConnectionRequestDto}
99
+ * @memberof SSOConnectionApiCreateSsoConnection
100
+ */
101
+ readonly createSsoConnectionRequestDto: CreateSsoConnectionRequestDto;
102
+ /**
103
+ * Bearer Token
104
+ * @type {string}
105
+ * @memberof SSOConnectionApiCreateSsoConnection
106
+ */
107
+ readonly authorization?: string;
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
+ }
128
+ /**
129
+ * SSOConnectionApi - object-oriented interface
130
+ * @export
131
+ * @class SSOConnectionApi
132
+ * @extends {BaseAPI}
133
+ */
134
+ export declare class SSOConnectionApi extends BaseAPI {
135
+ /**
136
+ * Validates the identity provider data, stores the configuration, and prepares the tenant\'s Cognito user pool for the mapped claims. The connection is created inactive: activating it is a separate action. One connection per tenant. **Required Permissions** \"tenant-management.settings.create\"
137
+ * @summary Create the tenant\'s SSO connection
138
+ * @param {SSOConnectionApiCreateSsoConnectionRequest} requestParameters Request parameters.
139
+ * @param {*} [options] Override http request option.
140
+ * @throws {RequiredError}
141
+ * @memberof SSOConnectionApi
142
+ */
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, {}>>;
153
+ }