@emilgroup/tenant-sdk-node 1.39.1-beta.21 → 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.
Files changed (42) hide show
  1. package/.openapi-generator/FILES +11 -0
  2. package/README.md +2 -2
  3. package/api/ssoconnection-api.ts +272 -0
  4. package/api.ts +2 -0
  5. package/dist/api/ssoconnection-api.d.ts +153 -0
  6. package/dist/api/ssoconnection-api.js +320 -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-node@1.39.1-beta.21 --save
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.21
24
+ yarn add @emilgroup/tenant-sdk-node@1.39.1-beta.23
25
25
  ```
26
26
 
27
27
  And then you can import `UsersApi`.
@@ -0,0 +1,272 @@
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
+ // URLSearchParams not necessarily used
30
+ // @ts-ignore
31
+ import { URL, URLSearchParams } from 'url';
32
+ const FormData = require('form-data');
33
+ /**
34
+ * SSOConnectionApi - axios parameter creator
35
+ * @export
36
+ */
37
+ export const SSOConnectionApiAxiosParamCreator = function (configuration?: Configuration) {
38
+ return {
39
+ /**
40
+ * 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\"
41
+ * @summary Create the tenant\'s SSO connection
42
+ * @param {CreateSsoConnectionRequestDto} createSsoConnectionRequestDto
43
+ * @param {string} [authorization] Bearer Token
44
+ * @param {*} [options] Override http request option.
45
+ * @throws {RequiredError}
46
+ */
47
+ createSsoConnection: async (createSsoConnectionRequestDto: CreateSsoConnectionRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
48
+ // verify required parameter 'createSsoConnectionRequestDto' is not null or undefined
49
+ assertParamExists('createSsoConnection', 'createSsoConnectionRequestDto', createSsoConnectionRequestDto)
50
+ const localVarPath = `/tenantservice/v1/sso-connection`;
51
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
52
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
53
+ let baseOptions;
54
+ let baseAccessToken;
55
+ if (configuration) {
56
+ baseOptions = configuration.baseOptions;
57
+ baseAccessToken = configuration.accessToken;
58
+ }
59
+
60
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
61
+ const localVarHeaderParameter = {} as any;
62
+ const localVarQueryParameter = {} as any;
63
+
64
+ // authentication bearer required
65
+ // http bearer authentication required
66
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
67
+
68
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
69
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
70
+ }
71
+
72
+
73
+
74
+ localVarHeaderParameter['Content-Type'] = 'application/json';
75
+
76
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
77
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
78
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
79
+ localVarRequestOptions.data = serializeDataIfNeeded(createSsoConnectionRequestDto, localVarRequestOptions, configuration)
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
+
126
+ return {
127
+ url: toPathString(localVarUrlObj),
128
+ options: localVarRequestOptions,
129
+ };
130
+ },
131
+ }
132
+ };
133
+
134
+ /**
135
+ * SSOConnectionApi - functional programming interface
136
+ * @export
137
+ */
138
+ export const SSOConnectionApiFp = function(configuration?: Configuration) {
139
+ const localVarAxiosParamCreator = SSOConnectionApiAxiosParamCreator(configuration)
140
+ return {
141
+ /**
142
+ * 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\"
143
+ * @summary Create the tenant\'s SSO connection
144
+ * @param {CreateSsoConnectionRequestDto} createSsoConnectionRequestDto
145
+ * @param {string} [authorization] Bearer Token
146
+ * @param {*} [options] Override http request option.
147
+ * @throws {RequiredError}
148
+ */
149
+ async createSsoConnection(createSsoConnectionRequestDto: CreateSsoConnectionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateSsoConnectionResponseClass>> {
150
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createSsoConnection(createSsoConnectionRequestDto, authorization, options);
151
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
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
+ },
165
+ }
166
+ };
167
+
168
+ /**
169
+ * SSOConnectionApi - factory interface
170
+ * @export
171
+ */
172
+ export const SSOConnectionApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
173
+ const localVarFp = SSOConnectionApiFp(configuration)
174
+ return {
175
+ /**
176
+ * 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\"
177
+ * @summary Create the tenant\'s SSO connection
178
+ * @param {CreateSsoConnectionRequestDto} createSsoConnectionRequestDto
179
+ * @param {string} [authorization] Bearer Token
180
+ * @param {*} [options] Override http request option.
181
+ * @throws {RequiredError}
182
+ */
183
+ createSsoConnection(createSsoConnectionRequestDto: CreateSsoConnectionRequestDto, authorization?: string, options?: any): AxiosPromise<CreateSsoConnectionResponseClass> {
184
+ return localVarFp.createSsoConnection(createSsoConnectionRequestDto, authorization, options).then((request) => request(axios, basePath));
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
+ },
197
+ };
198
+ };
199
+
200
+ /**
201
+ * Request parameters for createSsoConnection operation in SSOConnectionApi.
202
+ * @export
203
+ * @interface SSOConnectionApiCreateSsoConnectionRequest
204
+ */
205
+ export interface SSOConnectionApiCreateSsoConnectionRequest {
206
+ /**
207
+ *
208
+ * @type {CreateSsoConnectionRequestDto}
209
+ * @memberof SSOConnectionApiCreateSsoConnection
210
+ */
211
+ readonly createSsoConnectionRequestDto: CreateSsoConnectionRequestDto
212
+
213
+ /**
214
+ * Bearer Token
215
+ * @type {string}
216
+ * @memberof SSOConnectionApiCreateSsoConnection
217
+ */
218
+ readonly authorization?: string
219
+ }
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
+
242
+ /**
243
+ * SSOConnectionApi - object-oriented interface
244
+ * @export
245
+ * @class SSOConnectionApi
246
+ * @extends {BaseAPI}
247
+ */
248
+ export class SSOConnectionApi extends BaseAPI {
249
+ /**
250
+ * 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\"
251
+ * @summary Create the tenant\'s SSO connection
252
+ * @param {SSOConnectionApiCreateSsoConnectionRequest} requestParameters Request parameters.
253
+ * @param {*} [options] Override http request option.
254
+ * @throws {RequiredError}
255
+ * @memberof SSOConnectionApi
256
+ */
257
+ public createSsoConnection(requestParameters: SSOConnectionApiCreateSsoConnectionRequest, options?: AxiosRequestConfig) {
258
+ return SSOConnectionApiFp(this.configuration).createSsoConnection(requestParameters.createSsoConnectionRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
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
+ }
272
+ }
package/api.ts CHANGED
@@ -41,6 +41,7 @@ import { ReInviteAnOrganizationApi } from './api';
41
41
  import { ReportScheduleApi } from './api';
42
42
  import { ReportScheduleLogsApi } from './api';
43
43
  import { RolesApi } from './api';
44
+ import { SSOConnectionApi } from './api';
44
45
  import { SettingsApi } from './api';
45
46
  import { UserControllerRestApi } from './api';
46
47
  import { UserGroupApi } from './api';
@@ -64,6 +65,7 @@ export * from './api/re-invite-an-organization-api';
64
65
  export * from './api/report-schedule-api';
65
66
  export * from './api/report-schedule-logs-api';
66
67
  export * from './api/roles-api';
68
+ export * from './api/ssoconnection-api';
67
69
  export * from './api/settings-api';
68
70
  export * from './api/user-controller-rest-api';
69
71
  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
+ }