@emilgroup/tenant-sdk-node 1.39.1-beta.78 → 1.39.1-beta.79
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 +28 -28
- package/api/ssoid-pgroups-api.ts +24 -24
- package/dist/api/ssoconnection-api.d.ts +28 -28
- package/dist/api/ssoconnection-api.js +28 -28
- package/dist/api/ssoid-pgroups-api.d.ts +24 -24
- package/dist/api/ssoid-pgroups-api.js +24 -24
- package/dist/models/create-admin-tenant-request-dto.d.ts +11 -0
- package/dist/models/create-admin-tenant-request-dto.js +5 -0
- package/dist/models/create-tenant-request-dto.d.ts +11 -0
- package/dist/models/create-tenant-request-dto.js +5 -0
- package/dist/models/dbconfig-dto.d.ts +6 -0
- package/dist/models/delete-tenant-request-dto.d.ts +30 -0
- package/dist/models/delete-tenant-request-dto.js +15 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/models/create-admin-tenant-request-dto.ts +14 -0
- package/models/create-tenant-request-dto.ts +14 -0
- package/models/dbconfig-dto.ts +6 -0
- package/models/delete-tenant-request-dto.ts +36 -0
- package/models/index.ts +1 -0
- package/package.json +1 -1
|
@@ -27,7 +27,7 @@ import { UpdateSsoIdpGroupStatusResponseClass } from '../models';
|
|
|
27
27
|
*/
|
|
28
28
|
export declare const SSOIdPGroupsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
29
29
|
/**
|
|
30
|
-
* Creates an inactive IdP group with at least one EIS user-group mapping. externalId is any text and is immutable after create. **Required Permissions** \"
|
|
30
|
+
* Creates an inactive IdP group with at least one EIS user-group mapping. externalId is any text and is immutable after create. **Required Permissions** \"identity-management.sso.create\"
|
|
31
31
|
* @summary Register an IdP group and its EIS mappings
|
|
32
32
|
* @param {CreateSsoIdpGroupRequestDto} createSsoIdpGroupRequestDto
|
|
33
33
|
* @param {string} [authorization] Bearer Token
|
|
@@ -36,7 +36,7 @@ export declare const SSOIdPGroupsApiAxiosParamCreator: (configuration?: Configur
|
|
|
36
36
|
*/
|
|
37
37
|
createSsoIdpGroup: (createSsoIdpGroupRequestDto: CreateSsoIdpGroupRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
38
38
|
/**
|
|
39
|
-
* undefined **Required Permissions** \"
|
|
39
|
+
* undefined **Required Permissions** \"identity-management.sso.delete\"
|
|
40
40
|
* @summary Delete an IdP group and all of its mappings
|
|
41
41
|
* @param {string} code IdP group code.
|
|
42
42
|
* @param {string} [authorization] Bearer Token
|
|
@@ -45,7 +45,7 @@ export declare const SSOIdPGroupsApiAxiosParamCreator: (configuration?: Configur
|
|
|
45
45
|
*/
|
|
46
46
|
deleteSsoIdpGroup: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
47
47
|
/**
|
|
48
|
-
* undefined **Required Permissions** \"
|
|
48
|
+
* undefined **Required Permissions** \"identity-management.sso.view\"
|
|
49
49
|
* @summary Get an IdP group by code
|
|
50
50
|
* @param {string} code IdP group code.
|
|
51
51
|
* @param {string} [authorization] Bearer Token
|
|
@@ -54,7 +54,7 @@ export declare const SSOIdPGroupsApiAxiosParamCreator: (configuration?: Configur
|
|
|
54
54
|
*/
|
|
55
55
|
getSsoIdpGroup: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
56
56
|
/**
|
|
57
|
-
* The `name` field is deprecated in favor of `externalId`. **Required Permissions** \"
|
|
57
|
+
* The `name` field is deprecated in favor of `externalId`. **Required Permissions** \"identity-management.sso.view\"
|
|
58
58
|
* @summary List registered IdP groups
|
|
59
59
|
* @param {string} [authorization] Bearer Token
|
|
60
60
|
* @param {number} [pageSize] Number of items per page.
|
|
@@ -69,7 +69,7 @@ export declare const SSOIdPGroupsApiAxiosParamCreator: (configuration?: Configur
|
|
|
69
69
|
*/
|
|
70
70
|
listSsoIdpGroups: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
71
71
|
/**
|
|
72
|
-
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"
|
|
72
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"identity-management.sso.update\"
|
|
73
73
|
* @summary Update the EIS mappings of an IdP group
|
|
74
74
|
* @param {string} code IdP group code.
|
|
75
75
|
* @param {UpdateSsoIdpGroupBodyDto} updateSsoIdpGroupBodyDto
|
|
@@ -79,7 +79,7 @@ export declare const SSOIdPGroupsApiAxiosParamCreator: (configuration?: Configur
|
|
|
79
79
|
*/
|
|
80
80
|
updateSsoIdpGroup: (code: string, updateSsoIdpGroupBodyDto: UpdateSsoIdpGroupBodyDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
81
81
|
/**
|
|
82
|
-
* Switches whether the IdP group participates in login-time access resolution. Status is shared across every mapping edge for that group. **Required Permissions** \"
|
|
82
|
+
* Switches whether the IdP group participates in login-time access resolution. Status is shared across every mapping edge for that group. **Required Permissions** \"identity-management.sso.update\"
|
|
83
83
|
* @summary Activate or deactivate an IdP group
|
|
84
84
|
* @param {string} code IdP group code.
|
|
85
85
|
* @param {UpdateSsoIdpGroupStatusBodyDto} updateSsoIdpGroupStatusBodyDto
|
|
@@ -95,7 +95,7 @@ export declare const SSOIdPGroupsApiAxiosParamCreator: (configuration?: Configur
|
|
|
95
95
|
*/
|
|
96
96
|
export declare const SSOIdPGroupsApiFp: (configuration?: Configuration) => {
|
|
97
97
|
/**
|
|
98
|
-
* Creates an inactive IdP group with at least one EIS user-group mapping. externalId is any text and is immutable after create. **Required Permissions** \"
|
|
98
|
+
* Creates an inactive IdP group with at least one EIS user-group mapping. externalId is any text and is immutable after create. **Required Permissions** \"identity-management.sso.create\"
|
|
99
99
|
* @summary Register an IdP group and its EIS mappings
|
|
100
100
|
* @param {CreateSsoIdpGroupRequestDto} createSsoIdpGroupRequestDto
|
|
101
101
|
* @param {string} [authorization] Bearer Token
|
|
@@ -104,7 +104,7 @@ export declare const SSOIdPGroupsApiFp: (configuration?: Configuration) => {
|
|
|
104
104
|
*/
|
|
105
105
|
createSsoIdpGroup(createSsoIdpGroupRequestDto: CreateSsoIdpGroupRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateSsoIdpGroupResponseClass>>;
|
|
106
106
|
/**
|
|
107
|
-
* undefined **Required Permissions** \"
|
|
107
|
+
* undefined **Required Permissions** \"identity-management.sso.delete\"
|
|
108
108
|
* @summary Delete an IdP group and all of its mappings
|
|
109
109
|
* @param {string} code IdP group code.
|
|
110
110
|
* @param {string} [authorization] Bearer Token
|
|
@@ -113,7 +113,7 @@ export declare const SSOIdPGroupsApiFp: (configuration?: Configuration) => {
|
|
|
113
113
|
*/
|
|
114
114
|
deleteSsoIdpGroup(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteByCodeResponseClass>>;
|
|
115
115
|
/**
|
|
116
|
-
* undefined **Required Permissions** \"
|
|
116
|
+
* undefined **Required Permissions** \"identity-management.sso.view\"
|
|
117
117
|
* @summary Get an IdP group by code
|
|
118
118
|
* @param {string} code IdP group code.
|
|
119
119
|
* @param {string} [authorization] Bearer Token
|
|
@@ -122,7 +122,7 @@ export declare const SSOIdPGroupsApiFp: (configuration?: Configuration) => {
|
|
|
122
122
|
*/
|
|
123
123
|
getSsoIdpGroup(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSsoIdpGroupResponseClass>>;
|
|
124
124
|
/**
|
|
125
|
-
* The `name` field is deprecated in favor of `externalId`. **Required Permissions** \"
|
|
125
|
+
* The `name` field is deprecated in favor of `externalId`. **Required Permissions** \"identity-management.sso.view\"
|
|
126
126
|
* @summary List registered IdP groups
|
|
127
127
|
* @param {string} [authorization] Bearer Token
|
|
128
128
|
* @param {number} [pageSize] Number of items per page.
|
|
@@ -137,7 +137,7 @@ export declare const SSOIdPGroupsApiFp: (configuration?: Configuration) => {
|
|
|
137
137
|
*/
|
|
138
138
|
listSsoIdpGroups(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSsoIdpGroupsResponseClass>>;
|
|
139
139
|
/**
|
|
140
|
-
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"
|
|
140
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"identity-management.sso.update\"
|
|
141
141
|
* @summary Update the EIS mappings of an IdP group
|
|
142
142
|
* @param {string} code IdP group code.
|
|
143
143
|
* @param {UpdateSsoIdpGroupBodyDto} updateSsoIdpGroupBodyDto
|
|
@@ -147,7 +147,7 @@ export declare const SSOIdPGroupsApiFp: (configuration?: Configuration) => {
|
|
|
147
147
|
*/
|
|
148
148
|
updateSsoIdpGroup(code: string, updateSsoIdpGroupBodyDto: UpdateSsoIdpGroupBodyDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateSsoIdpGroupResponseClass>>;
|
|
149
149
|
/**
|
|
150
|
-
* Switches whether the IdP group participates in login-time access resolution. Status is shared across every mapping edge for that group. **Required Permissions** \"
|
|
150
|
+
* Switches whether the IdP group participates in login-time access resolution. Status is shared across every mapping edge for that group. **Required Permissions** \"identity-management.sso.update\"
|
|
151
151
|
* @summary Activate or deactivate an IdP group
|
|
152
152
|
* @param {string} code IdP group code.
|
|
153
153
|
* @param {UpdateSsoIdpGroupStatusBodyDto} updateSsoIdpGroupStatusBodyDto
|
|
@@ -163,7 +163,7 @@ export declare const SSOIdPGroupsApiFp: (configuration?: Configuration) => {
|
|
|
163
163
|
*/
|
|
164
164
|
export declare const SSOIdPGroupsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
165
165
|
/**
|
|
166
|
-
* Creates an inactive IdP group with at least one EIS user-group mapping. externalId is any text and is immutable after create. **Required Permissions** \"
|
|
166
|
+
* Creates an inactive IdP group with at least one EIS user-group mapping. externalId is any text and is immutable after create. **Required Permissions** \"identity-management.sso.create\"
|
|
167
167
|
* @summary Register an IdP group and its EIS mappings
|
|
168
168
|
* @param {CreateSsoIdpGroupRequestDto} createSsoIdpGroupRequestDto
|
|
169
169
|
* @param {string} [authorization] Bearer Token
|
|
@@ -172,7 +172,7 @@ export declare const SSOIdPGroupsApiFactory: (configuration?: Configuration, bas
|
|
|
172
172
|
*/
|
|
173
173
|
createSsoIdpGroup(createSsoIdpGroupRequestDto: CreateSsoIdpGroupRequestDto, authorization?: string, options?: any): AxiosPromise<CreateSsoIdpGroupResponseClass>;
|
|
174
174
|
/**
|
|
175
|
-
* undefined **Required Permissions** \"
|
|
175
|
+
* undefined **Required Permissions** \"identity-management.sso.delete\"
|
|
176
176
|
* @summary Delete an IdP group and all of its mappings
|
|
177
177
|
* @param {string} code IdP group code.
|
|
178
178
|
* @param {string} [authorization] Bearer Token
|
|
@@ -181,7 +181,7 @@ export declare const SSOIdPGroupsApiFactory: (configuration?: Configuration, bas
|
|
|
181
181
|
*/
|
|
182
182
|
deleteSsoIdpGroup(code: string, authorization?: string, options?: any): AxiosPromise<DeleteByCodeResponseClass>;
|
|
183
183
|
/**
|
|
184
|
-
* undefined **Required Permissions** \"
|
|
184
|
+
* undefined **Required Permissions** \"identity-management.sso.view\"
|
|
185
185
|
* @summary Get an IdP group by code
|
|
186
186
|
* @param {string} code IdP group code.
|
|
187
187
|
* @param {string} [authorization] Bearer Token
|
|
@@ -190,7 +190,7 @@ export declare const SSOIdPGroupsApiFactory: (configuration?: Configuration, bas
|
|
|
190
190
|
*/
|
|
191
191
|
getSsoIdpGroup(code: string, authorization?: string, options?: any): AxiosPromise<GetSsoIdpGroupResponseClass>;
|
|
192
192
|
/**
|
|
193
|
-
* The `name` field is deprecated in favor of `externalId`. **Required Permissions** \"
|
|
193
|
+
* The `name` field is deprecated in favor of `externalId`. **Required Permissions** \"identity-management.sso.view\"
|
|
194
194
|
* @summary List registered IdP groups
|
|
195
195
|
* @param {string} [authorization] Bearer Token
|
|
196
196
|
* @param {number} [pageSize] Number of items per page.
|
|
@@ -205,7 +205,7 @@ export declare const SSOIdPGroupsApiFactory: (configuration?: Configuration, bas
|
|
|
205
205
|
*/
|
|
206
206
|
listSsoIdpGroups(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListSsoIdpGroupsResponseClass>;
|
|
207
207
|
/**
|
|
208
|
-
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"
|
|
208
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"identity-management.sso.update\"
|
|
209
209
|
* @summary Update the EIS mappings of an IdP group
|
|
210
210
|
* @param {string} code IdP group code.
|
|
211
211
|
* @param {UpdateSsoIdpGroupBodyDto} updateSsoIdpGroupBodyDto
|
|
@@ -215,7 +215,7 @@ export declare const SSOIdPGroupsApiFactory: (configuration?: Configuration, bas
|
|
|
215
215
|
*/
|
|
216
216
|
updateSsoIdpGroup(code: string, updateSsoIdpGroupBodyDto: UpdateSsoIdpGroupBodyDto, authorization?: string, options?: any): AxiosPromise<UpdateSsoIdpGroupResponseClass>;
|
|
217
217
|
/**
|
|
218
|
-
* Switches whether the IdP group participates in login-time access resolution. Status is shared across every mapping edge for that group. **Required Permissions** \"
|
|
218
|
+
* Switches whether the IdP group participates in login-time access resolution. Status is shared across every mapping edge for that group. **Required Permissions** \"identity-management.sso.update\"
|
|
219
219
|
* @summary Activate or deactivate an IdP group
|
|
220
220
|
* @param {string} code IdP group code.
|
|
221
221
|
* @param {UpdateSsoIdpGroupStatusBodyDto} updateSsoIdpGroupStatusBodyDto
|
|
@@ -395,7 +395,7 @@ export interface SSOIdPGroupsApiUpdateSsoIdpGroupStatusRequest {
|
|
|
395
395
|
*/
|
|
396
396
|
export declare class SSOIdPGroupsApi extends BaseAPI {
|
|
397
397
|
/**
|
|
398
|
-
* Creates an inactive IdP group with at least one EIS user-group mapping. externalId is any text and is immutable after create. **Required Permissions** \"
|
|
398
|
+
* Creates an inactive IdP group with at least one EIS user-group mapping. externalId is any text and is immutable after create. **Required Permissions** \"identity-management.sso.create\"
|
|
399
399
|
* @summary Register an IdP group and its EIS mappings
|
|
400
400
|
* @param {SSOIdPGroupsApiCreateSsoIdpGroupRequest} requestParameters Request parameters.
|
|
401
401
|
* @param {*} [options] Override http request option.
|
|
@@ -404,7 +404,7 @@ export declare class SSOIdPGroupsApi extends BaseAPI {
|
|
|
404
404
|
*/
|
|
405
405
|
createSsoIdpGroup(requestParameters: SSOIdPGroupsApiCreateSsoIdpGroupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateSsoIdpGroupResponseClass, any, {}>>;
|
|
406
406
|
/**
|
|
407
|
-
* undefined **Required Permissions** \"
|
|
407
|
+
* undefined **Required Permissions** \"identity-management.sso.delete\"
|
|
408
408
|
* @summary Delete an IdP group and all of its mappings
|
|
409
409
|
* @param {SSOIdPGroupsApiDeleteSsoIdpGroupRequest} requestParameters Request parameters.
|
|
410
410
|
* @param {*} [options] Override http request option.
|
|
@@ -413,7 +413,7 @@ export declare class SSOIdPGroupsApi extends BaseAPI {
|
|
|
413
413
|
*/
|
|
414
414
|
deleteSsoIdpGroup(requestParameters: SSOIdPGroupsApiDeleteSsoIdpGroupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteByCodeResponseClass, any, {}>>;
|
|
415
415
|
/**
|
|
416
|
-
* undefined **Required Permissions** \"
|
|
416
|
+
* undefined **Required Permissions** \"identity-management.sso.view\"
|
|
417
417
|
* @summary Get an IdP group by code
|
|
418
418
|
* @param {SSOIdPGroupsApiGetSsoIdpGroupRequest} requestParameters Request parameters.
|
|
419
419
|
* @param {*} [options] Override http request option.
|
|
@@ -422,7 +422,7 @@ export declare class SSOIdPGroupsApi extends BaseAPI {
|
|
|
422
422
|
*/
|
|
423
423
|
getSsoIdpGroup(requestParameters: SSOIdPGroupsApiGetSsoIdpGroupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSsoIdpGroupResponseClass, any, {}>>;
|
|
424
424
|
/**
|
|
425
|
-
* The `name` field is deprecated in favor of `externalId`. **Required Permissions** \"
|
|
425
|
+
* The `name` field is deprecated in favor of `externalId`. **Required Permissions** \"identity-management.sso.view\"
|
|
426
426
|
* @summary List registered IdP groups
|
|
427
427
|
* @param {SSOIdPGroupsApiListSsoIdpGroupsRequest} requestParameters Request parameters.
|
|
428
428
|
* @param {*} [options] Override http request option.
|
|
@@ -431,7 +431,7 @@ export declare class SSOIdPGroupsApi extends BaseAPI {
|
|
|
431
431
|
*/
|
|
432
432
|
listSsoIdpGroups(requestParameters?: SSOIdPGroupsApiListSsoIdpGroupsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListSsoIdpGroupsResponseClass, any, {}>>;
|
|
433
433
|
/**
|
|
434
|
-
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"
|
|
434
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"identity-management.sso.update\"
|
|
435
435
|
* @summary Update the EIS mappings of an IdP group
|
|
436
436
|
* @param {SSOIdPGroupsApiUpdateSsoIdpGroupRequest} requestParameters Request parameters.
|
|
437
437
|
* @param {*} [options] Override http request option.
|
|
@@ -440,7 +440,7 @@ export declare class SSOIdPGroupsApi extends BaseAPI {
|
|
|
440
440
|
*/
|
|
441
441
|
updateSsoIdpGroup(requestParameters: SSOIdPGroupsApiUpdateSsoIdpGroupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateSsoIdpGroupResponseClass, any, {}>>;
|
|
442
442
|
/**
|
|
443
|
-
* Switches whether the IdP group participates in login-time access resolution. Status is shared across every mapping edge for that group. **Required Permissions** \"
|
|
443
|
+
* Switches whether the IdP group participates in login-time access resolution. Status is shared across every mapping edge for that group. **Required Permissions** \"identity-management.sso.update\"
|
|
444
444
|
* @summary Activate or deactivate an IdP group
|
|
445
445
|
* @param {SSOIdPGroupsApiUpdateSsoIdpGroupStatusRequest} requestParameters Request parameters.
|
|
446
446
|
* @param {*} [options] Override http request option.
|
|
@@ -97,7 +97,7 @@ var SSOIdPGroupsApiAxiosParamCreator = function (configuration) {
|
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
|
-
* Creates an inactive IdP group with at least one EIS user-group mapping. externalId is any text and is immutable after create. **Required Permissions** \"
|
|
100
|
+
* Creates an inactive IdP group with at least one EIS user-group mapping. externalId is any text and is immutable after create. **Required Permissions** \"identity-management.sso.create\"
|
|
101
101
|
* @summary Register an IdP group and its EIS mappings
|
|
102
102
|
* @param {CreateSsoIdpGroupRequestDto} createSsoIdpGroupRequestDto
|
|
103
103
|
* @param {string} [authorization] Bearer Token
|
|
@@ -146,7 +146,7 @@ var SSOIdPGroupsApiAxiosParamCreator = function (configuration) {
|
|
|
146
146
|
});
|
|
147
147
|
},
|
|
148
148
|
/**
|
|
149
|
-
* undefined **Required Permissions** \"
|
|
149
|
+
* undefined **Required Permissions** \"identity-management.sso.delete\"
|
|
150
150
|
* @summary Delete an IdP group and all of its mappings
|
|
151
151
|
* @param {string} code IdP group code.
|
|
152
152
|
* @param {string} [authorization] Bearer Token
|
|
@@ -194,7 +194,7 @@ var SSOIdPGroupsApiAxiosParamCreator = function (configuration) {
|
|
|
194
194
|
});
|
|
195
195
|
},
|
|
196
196
|
/**
|
|
197
|
-
* undefined **Required Permissions** \"
|
|
197
|
+
* undefined **Required Permissions** \"identity-management.sso.view\"
|
|
198
198
|
* @summary Get an IdP group by code
|
|
199
199
|
* @param {string} code IdP group code.
|
|
200
200
|
* @param {string} [authorization] Bearer Token
|
|
@@ -242,7 +242,7 @@ var SSOIdPGroupsApiAxiosParamCreator = function (configuration) {
|
|
|
242
242
|
});
|
|
243
243
|
},
|
|
244
244
|
/**
|
|
245
|
-
* The `name` field is deprecated in favor of `externalId`. **Required Permissions** \"
|
|
245
|
+
* The `name` field is deprecated in favor of `externalId`. **Required Permissions** \"identity-management.sso.view\"
|
|
246
246
|
* @summary List registered IdP groups
|
|
247
247
|
* @param {string} [authorization] Bearer Token
|
|
248
248
|
* @param {number} [pageSize] Number of items per page.
|
|
@@ -314,7 +314,7 @@ var SSOIdPGroupsApiAxiosParamCreator = function (configuration) {
|
|
|
314
314
|
});
|
|
315
315
|
},
|
|
316
316
|
/**
|
|
317
|
-
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"
|
|
317
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"identity-management.sso.update\"
|
|
318
318
|
* @summary Update the EIS mappings of an IdP group
|
|
319
319
|
* @param {string} code IdP group code.
|
|
320
320
|
* @param {UpdateSsoIdpGroupBodyDto} updateSsoIdpGroupBodyDto
|
|
@@ -367,7 +367,7 @@ var SSOIdPGroupsApiAxiosParamCreator = function (configuration) {
|
|
|
367
367
|
});
|
|
368
368
|
},
|
|
369
369
|
/**
|
|
370
|
-
* Switches whether the IdP group participates in login-time access resolution. Status is shared across every mapping edge for that group. **Required Permissions** \"
|
|
370
|
+
* Switches whether the IdP group participates in login-time access resolution. Status is shared across every mapping edge for that group. **Required Permissions** \"identity-management.sso.update\"
|
|
371
371
|
* @summary Activate or deactivate an IdP group
|
|
372
372
|
* @param {string} code IdP group code.
|
|
373
373
|
* @param {UpdateSsoIdpGroupStatusBodyDto} updateSsoIdpGroupStatusBodyDto
|
|
@@ -430,7 +430,7 @@ var SSOIdPGroupsApiFp = function (configuration) {
|
|
|
430
430
|
var localVarAxiosParamCreator = (0, exports.SSOIdPGroupsApiAxiosParamCreator)(configuration);
|
|
431
431
|
return {
|
|
432
432
|
/**
|
|
433
|
-
* Creates an inactive IdP group with at least one EIS user-group mapping. externalId is any text and is immutable after create. **Required Permissions** \"
|
|
433
|
+
* Creates an inactive IdP group with at least one EIS user-group mapping. externalId is any text and is immutable after create. **Required Permissions** \"identity-management.sso.create\"
|
|
434
434
|
* @summary Register an IdP group and its EIS mappings
|
|
435
435
|
* @param {CreateSsoIdpGroupRequestDto} createSsoIdpGroupRequestDto
|
|
436
436
|
* @param {string} [authorization] Bearer Token
|
|
@@ -451,7 +451,7 @@ var SSOIdPGroupsApiFp = function (configuration) {
|
|
|
451
451
|
});
|
|
452
452
|
},
|
|
453
453
|
/**
|
|
454
|
-
* undefined **Required Permissions** \"
|
|
454
|
+
* undefined **Required Permissions** \"identity-management.sso.delete\"
|
|
455
455
|
* @summary Delete an IdP group and all of its mappings
|
|
456
456
|
* @param {string} code IdP group code.
|
|
457
457
|
* @param {string} [authorization] Bearer Token
|
|
@@ -472,7 +472,7 @@ var SSOIdPGroupsApiFp = function (configuration) {
|
|
|
472
472
|
});
|
|
473
473
|
},
|
|
474
474
|
/**
|
|
475
|
-
* undefined **Required Permissions** \"
|
|
475
|
+
* undefined **Required Permissions** \"identity-management.sso.view\"
|
|
476
476
|
* @summary Get an IdP group by code
|
|
477
477
|
* @param {string} code IdP group code.
|
|
478
478
|
* @param {string} [authorization] Bearer Token
|
|
@@ -493,7 +493,7 @@ var SSOIdPGroupsApiFp = function (configuration) {
|
|
|
493
493
|
});
|
|
494
494
|
},
|
|
495
495
|
/**
|
|
496
|
-
* The `name` field is deprecated in favor of `externalId`. **Required Permissions** \"
|
|
496
|
+
* The `name` field is deprecated in favor of `externalId`. **Required Permissions** \"identity-management.sso.view\"
|
|
497
497
|
* @summary List registered IdP groups
|
|
498
498
|
* @param {string} [authorization] Bearer Token
|
|
499
499
|
* @param {number} [pageSize] Number of items per page.
|
|
@@ -520,7 +520,7 @@ var SSOIdPGroupsApiFp = function (configuration) {
|
|
|
520
520
|
});
|
|
521
521
|
},
|
|
522
522
|
/**
|
|
523
|
-
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"
|
|
523
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"identity-management.sso.update\"
|
|
524
524
|
* @summary Update the EIS mappings of an IdP group
|
|
525
525
|
* @param {string} code IdP group code.
|
|
526
526
|
* @param {UpdateSsoIdpGroupBodyDto} updateSsoIdpGroupBodyDto
|
|
@@ -542,7 +542,7 @@ var SSOIdPGroupsApiFp = function (configuration) {
|
|
|
542
542
|
});
|
|
543
543
|
},
|
|
544
544
|
/**
|
|
545
|
-
* Switches whether the IdP group participates in login-time access resolution. Status is shared across every mapping edge for that group. **Required Permissions** \"
|
|
545
|
+
* Switches whether the IdP group participates in login-time access resolution. Status is shared across every mapping edge for that group. **Required Permissions** \"identity-management.sso.update\"
|
|
546
546
|
* @summary Activate or deactivate an IdP group
|
|
547
547
|
* @param {string} code IdP group code.
|
|
548
548
|
* @param {UpdateSsoIdpGroupStatusBodyDto} updateSsoIdpGroupStatusBodyDto
|
|
@@ -574,7 +574,7 @@ var SSOIdPGroupsApiFactory = function (configuration, basePath, axios) {
|
|
|
574
574
|
var localVarFp = (0, exports.SSOIdPGroupsApiFp)(configuration);
|
|
575
575
|
return {
|
|
576
576
|
/**
|
|
577
|
-
* Creates an inactive IdP group with at least one EIS user-group mapping. externalId is any text and is immutable after create. **Required Permissions** \"
|
|
577
|
+
* Creates an inactive IdP group with at least one EIS user-group mapping. externalId is any text and is immutable after create. **Required Permissions** \"identity-management.sso.create\"
|
|
578
578
|
* @summary Register an IdP group and its EIS mappings
|
|
579
579
|
* @param {CreateSsoIdpGroupRequestDto} createSsoIdpGroupRequestDto
|
|
580
580
|
* @param {string} [authorization] Bearer Token
|
|
@@ -585,7 +585,7 @@ var SSOIdPGroupsApiFactory = function (configuration, basePath, axios) {
|
|
|
585
585
|
return localVarFp.createSsoIdpGroup(createSsoIdpGroupRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
586
586
|
},
|
|
587
587
|
/**
|
|
588
|
-
* undefined **Required Permissions** \"
|
|
588
|
+
* undefined **Required Permissions** \"identity-management.sso.delete\"
|
|
589
589
|
* @summary Delete an IdP group and all of its mappings
|
|
590
590
|
* @param {string} code IdP group code.
|
|
591
591
|
* @param {string} [authorization] Bearer Token
|
|
@@ -596,7 +596,7 @@ var SSOIdPGroupsApiFactory = function (configuration, basePath, axios) {
|
|
|
596
596
|
return localVarFp.deleteSsoIdpGroup(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
597
597
|
},
|
|
598
598
|
/**
|
|
599
|
-
* undefined **Required Permissions** \"
|
|
599
|
+
* undefined **Required Permissions** \"identity-management.sso.view\"
|
|
600
600
|
* @summary Get an IdP group by code
|
|
601
601
|
* @param {string} code IdP group code.
|
|
602
602
|
* @param {string} [authorization] Bearer Token
|
|
@@ -607,7 +607,7 @@ var SSOIdPGroupsApiFactory = function (configuration, basePath, axios) {
|
|
|
607
607
|
return localVarFp.getSsoIdpGroup(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
608
608
|
},
|
|
609
609
|
/**
|
|
610
|
-
* The `name` field is deprecated in favor of `externalId`. **Required Permissions** \"
|
|
610
|
+
* The `name` field is deprecated in favor of `externalId`. **Required Permissions** \"identity-management.sso.view\"
|
|
611
611
|
* @summary List registered IdP groups
|
|
612
612
|
* @param {string} [authorization] Bearer Token
|
|
613
613
|
* @param {number} [pageSize] Number of items per page.
|
|
@@ -624,7 +624,7 @@ var SSOIdPGroupsApiFactory = function (configuration, basePath, axios) {
|
|
|
624
624
|
return localVarFp.listSsoIdpGroups(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
625
625
|
},
|
|
626
626
|
/**
|
|
627
|
-
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"
|
|
627
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"identity-management.sso.update\"
|
|
628
628
|
* @summary Update the EIS mappings of an IdP group
|
|
629
629
|
* @param {string} code IdP group code.
|
|
630
630
|
* @param {UpdateSsoIdpGroupBodyDto} updateSsoIdpGroupBodyDto
|
|
@@ -636,7 +636,7 @@ var SSOIdPGroupsApiFactory = function (configuration, basePath, axios) {
|
|
|
636
636
|
return localVarFp.updateSsoIdpGroup(code, updateSsoIdpGroupBodyDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
637
637
|
},
|
|
638
638
|
/**
|
|
639
|
-
* Switches whether the IdP group participates in login-time access resolution. Status is shared across every mapping edge for that group. **Required Permissions** \"
|
|
639
|
+
* Switches whether the IdP group participates in login-time access resolution. Status is shared across every mapping edge for that group. **Required Permissions** \"identity-management.sso.update\"
|
|
640
640
|
* @summary Activate or deactivate an IdP group
|
|
641
641
|
* @param {string} code IdP group code.
|
|
642
642
|
* @param {UpdateSsoIdpGroupStatusBodyDto} updateSsoIdpGroupStatusBodyDto
|
|
@@ -662,7 +662,7 @@ var SSOIdPGroupsApi = /** @class */ (function (_super) {
|
|
|
662
662
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
663
663
|
}
|
|
664
664
|
/**
|
|
665
|
-
* Creates an inactive IdP group with at least one EIS user-group mapping. externalId is any text and is immutable after create. **Required Permissions** \"
|
|
665
|
+
* Creates an inactive IdP group with at least one EIS user-group mapping. externalId is any text and is immutable after create. **Required Permissions** \"identity-management.sso.create\"
|
|
666
666
|
* @summary Register an IdP group and its EIS mappings
|
|
667
667
|
* @param {SSOIdPGroupsApiCreateSsoIdpGroupRequest} requestParameters Request parameters.
|
|
668
668
|
* @param {*} [options] Override http request option.
|
|
@@ -674,7 +674,7 @@ var SSOIdPGroupsApi = /** @class */ (function (_super) {
|
|
|
674
674
|
return (0, exports.SSOIdPGroupsApiFp)(this.configuration).createSsoIdpGroup(requestParameters.createSsoIdpGroupRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
675
675
|
};
|
|
676
676
|
/**
|
|
677
|
-
* undefined **Required Permissions** \"
|
|
677
|
+
* undefined **Required Permissions** \"identity-management.sso.delete\"
|
|
678
678
|
* @summary Delete an IdP group and all of its mappings
|
|
679
679
|
* @param {SSOIdPGroupsApiDeleteSsoIdpGroupRequest} requestParameters Request parameters.
|
|
680
680
|
* @param {*} [options] Override http request option.
|
|
@@ -686,7 +686,7 @@ var SSOIdPGroupsApi = /** @class */ (function (_super) {
|
|
|
686
686
|
return (0, exports.SSOIdPGroupsApiFp)(this.configuration).deleteSsoIdpGroup(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
687
687
|
};
|
|
688
688
|
/**
|
|
689
|
-
* undefined **Required Permissions** \"
|
|
689
|
+
* undefined **Required Permissions** \"identity-management.sso.view\"
|
|
690
690
|
* @summary Get an IdP group by code
|
|
691
691
|
* @param {SSOIdPGroupsApiGetSsoIdpGroupRequest} requestParameters Request parameters.
|
|
692
692
|
* @param {*} [options] Override http request option.
|
|
@@ -698,7 +698,7 @@ var SSOIdPGroupsApi = /** @class */ (function (_super) {
|
|
|
698
698
|
return (0, exports.SSOIdPGroupsApiFp)(this.configuration).getSsoIdpGroup(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
699
699
|
};
|
|
700
700
|
/**
|
|
701
|
-
* The `name` field is deprecated in favor of `externalId`. **Required Permissions** \"
|
|
701
|
+
* The `name` field is deprecated in favor of `externalId`. **Required Permissions** \"identity-management.sso.view\"
|
|
702
702
|
* @summary List registered IdP groups
|
|
703
703
|
* @param {SSOIdPGroupsApiListSsoIdpGroupsRequest} requestParameters Request parameters.
|
|
704
704
|
* @param {*} [options] Override http request option.
|
|
@@ -711,7 +711,7 @@ var SSOIdPGroupsApi = /** @class */ (function (_super) {
|
|
|
711
711
|
return (0, exports.SSOIdPGroupsApiFp)(this.configuration).listSsoIdpGroups(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
712
712
|
};
|
|
713
713
|
/**
|
|
714
|
-
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"
|
|
714
|
+
* externalId is immutable. eisUserGroupCodes is set-replace when present. **Required Permissions** \"identity-management.sso.update\"
|
|
715
715
|
* @summary Update the EIS mappings of an IdP group
|
|
716
716
|
* @param {SSOIdPGroupsApiUpdateSsoIdpGroupRequest} requestParameters Request parameters.
|
|
717
717
|
* @param {*} [options] Override http request option.
|
|
@@ -723,7 +723,7 @@ var SSOIdPGroupsApi = /** @class */ (function (_super) {
|
|
|
723
723
|
return (0, exports.SSOIdPGroupsApiFp)(this.configuration).updateSsoIdpGroup(requestParameters.code, requestParameters.updateSsoIdpGroupBodyDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
724
724
|
};
|
|
725
725
|
/**
|
|
726
|
-
* Switches whether the IdP group participates in login-time access resolution. Status is shared across every mapping edge for that group. **Required Permissions** \"
|
|
726
|
+
* Switches whether the IdP group participates in login-time access resolution. Status is shared across every mapping edge for that group. **Required Permissions** \"identity-management.sso.update\"
|
|
727
727
|
* @summary Activate or deactivate an IdP group
|
|
728
728
|
* @param {SSOIdPGroupsApiUpdateSsoIdpGroupStatusRequest} requestParameters Request parameters.
|
|
729
729
|
* @param {*} [options] Override http request option.
|
|
@@ -48,6 +48,12 @@ export interface CreateAdminTenantRequestDto {
|
|
|
48
48
|
* @memberof CreateAdminTenantRequestDto
|
|
49
49
|
*/
|
|
50
50
|
'dbConfig'?: DBConfigDto;
|
|
51
|
+
/**
|
|
52
|
+
* The tenant\'s business model. Defaults to MGA when omitted.
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof CreateAdminTenantRequestDto
|
|
55
|
+
*/
|
|
56
|
+
'businessModel'?: CreateAdminTenantRequestDtoBusinessModelEnum;
|
|
51
57
|
/**
|
|
52
58
|
* Initial roles and tenant settings
|
|
53
59
|
* @type {AdminInitialTenantConfigDto}
|
|
@@ -55,3 +61,8 @@ export interface CreateAdminTenantRequestDto {
|
|
|
55
61
|
*/
|
|
56
62
|
'initialConfig': AdminInitialTenantConfigDto;
|
|
57
63
|
}
|
|
64
|
+
export declare const CreateAdminTenantRequestDtoBusinessModelEnum: {
|
|
65
|
+
readonly Mga: "MGA";
|
|
66
|
+
readonly RiskCarrier: "RISK_CARRIER";
|
|
67
|
+
};
|
|
68
|
+
export type CreateAdminTenantRequestDtoBusinessModelEnum = typeof CreateAdminTenantRequestDtoBusinessModelEnum[keyof typeof CreateAdminTenantRequestDtoBusinessModelEnum];
|
|
@@ -13,3 +13,8 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.CreateAdminTenantRequestDtoBusinessModelEnum = void 0;
|
|
17
|
+
exports.CreateAdminTenantRequestDtoBusinessModelEnum = {
|
|
18
|
+
Mga: 'MGA',
|
|
19
|
+
RiskCarrier: 'RISK_CARRIER'
|
|
20
|
+
};
|
|
@@ -42,6 +42,12 @@ export interface CreateTenantRequestDto {
|
|
|
42
42
|
* @memberof CreateTenantRequestDto
|
|
43
43
|
*/
|
|
44
44
|
'dbConfig'?: DBConfigDto;
|
|
45
|
+
/**
|
|
46
|
+
* The tenant\'s business model. Defaults to MGA when omitted.
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof CreateTenantRequestDto
|
|
49
|
+
*/
|
|
50
|
+
'businessModel'?: CreateTenantRequestDtoBusinessModelEnum;
|
|
45
51
|
/**
|
|
46
52
|
* Initial tenant settings like roles, tenant configurations about payment etc
|
|
47
53
|
* @type {InitialTenantConfigClass}
|
|
@@ -55,3 +61,8 @@ export interface CreateTenantRequestDto {
|
|
|
55
61
|
*/
|
|
56
62
|
'slug'?: string;
|
|
57
63
|
}
|
|
64
|
+
export declare const CreateTenantRequestDtoBusinessModelEnum: {
|
|
65
|
+
readonly Mga: "MGA";
|
|
66
|
+
readonly RiskCarrier: "RISK_CARRIER";
|
|
67
|
+
};
|
|
68
|
+
export type CreateTenantRequestDtoBusinessModelEnum = typeof CreateTenantRequestDtoBusinessModelEnum[keyof typeof CreateTenantRequestDtoBusinessModelEnum];
|
|
@@ -13,3 +13,8 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.CreateTenantRequestDtoBusinessModelEnum = void 0;
|
|
17
|
+
exports.CreateTenantRequestDtoBusinessModelEnum = {
|
|
18
|
+
Mga: 'MGA',
|
|
19
|
+
RiskCarrier: 'RISK_CARRIER'
|
|
20
|
+
};
|
|
@@ -45,4 +45,10 @@ export interface DBConfigDto {
|
|
|
45
45
|
* @memberof DBConfigDto
|
|
46
46
|
*/
|
|
47
47
|
'username': string;
|
|
48
|
+
/**
|
|
49
|
+
* Optional prefix applied to database/schema names when a tenant shares an RDS instance with other tenants but needs isolated database naming
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof DBConfigDto
|
|
52
|
+
*/
|
|
53
|
+
'databasePrefix'?: string;
|
|
48
54
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL Tenant Service
|
|
3
|
+
* The EMIL TenantService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface DeleteTenantRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface DeleteTenantRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof DeleteTenantRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'tenantSlug': string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof DeleteTenantRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'confirmationSlug': string;
|
|
30
|
+
}
|
|
@@ -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
|
@@ -41,6 +41,7 @@ export * from './data-report-filter-single-value-dto';
|
|
|
41
41
|
export * from './data-report-filter-value-dto';
|
|
42
42
|
export * from './delete-by-code-response-class';
|
|
43
43
|
export * from './delete-response-class';
|
|
44
|
+
export * from './delete-tenant-request-dto';
|
|
44
45
|
export * from './disable-users-request-dto';
|
|
45
46
|
export * from './disable-users-response-class';
|
|
46
47
|
export * from './duplicate-dashboard-request-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -57,6 +57,7 @@ __exportStar(require("./data-report-filter-single-value-dto"), exports);
|
|
|
57
57
|
__exportStar(require("./data-report-filter-value-dto"), exports);
|
|
58
58
|
__exportStar(require("./delete-by-code-response-class"), exports);
|
|
59
59
|
__exportStar(require("./delete-response-class"), exports);
|
|
60
|
+
__exportStar(require("./delete-tenant-request-dto"), exports);
|
|
60
61
|
__exportStar(require("./disable-users-request-dto"), exports);
|
|
61
62
|
__exportStar(require("./disable-users-response-class"), exports);
|
|
62
63
|
__exportStar(require("./duplicate-dashboard-request-dto"), exports);
|
|
@@ -53,6 +53,12 @@ export interface CreateAdminTenantRequestDto {
|
|
|
53
53
|
* @memberof CreateAdminTenantRequestDto
|
|
54
54
|
*/
|
|
55
55
|
'dbConfig'?: DBConfigDto;
|
|
56
|
+
/**
|
|
57
|
+
* The tenant\'s business model. Defaults to MGA when omitted.
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof CreateAdminTenantRequestDto
|
|
60
|
+
*/
|
|
61
|
+
'businessModel'?: CreateAdminTenantRequestDtoBusinessModelEnum;
|
|
56
62
|
/**
|
|
57
63
|
* Initial roles and tenant settings
|
|
58
64
|
* @type {AdminInitialTenantConfigDto}
|
|
@@ -61,3 +67,11 @@ export interface CreateAdminTenantRequestDto {
|
|
|
61
67
|
'initialConfig': AdminInitialTenantConfigDto;
|
|
62
68
|
}
|
|
63
69
|
|
|
70
|
+
export const CreateAdminTenantRequestDtoBusinessModelEnum = {
|
|
71
|
+
Mga: 'MGA',
|
|
72
|
+
RiskCarrier: 'RISK_CARRIER'
|
|
73
|
+
} as const;
|
|
74
|
+
|
|
75
|
+
export type CreateAdminTenantRequestDtoBusinessModelEnum = typeof CreateAdminTenantRequestDtoBusinessModelEnum[keyof typeof CreateAdminTenantRequestDtoBusinessModelEnum];
|
|
76
|
+
|
|
77
|
+
|
|
@@ -47,6 +47,12 @@ export interface CreateTenantRequestDto {
|
|
|
47
47
|
* @memberof CreateTenantRequestDto
|
|
48
48
|
*/
|
|
49
49
|
'dbConfig'?: DBConfigDto;
|
|
50
|
+
/**
|
|
51
|
+
* The tenant\'s business model. Defaults to MGA when omitted.
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof CreateTenantRequestDto
|
|
54
|
+
*/
|
|
55
|
+
'businessModel'?: CreateTenantRequestDtoBusinessModelEnum;
|
|
50
56
|
/**
|
|
51
57
|
* Initial tenant settings like roles, tenant configurations about payment etc
|
|
52
58
|
* @type {InitialTenantConfigClass}
|
|
@@ -61,3 +67,11 @@ export interface CreateTenantRequestDto {
|
|
|
61
67
|
'slug'?: string;
|
|
62
68
|
}
|
|
63
69
|
|
|
70
|
+
export const CreateTenantRequestDtoBusinessModelEnum = {
|
|
71
|
+
Mga: 'MGA',
|
|
72
|
+
RiskCarrier: 'RISK_CARRIER'
|
|
73
|
+
} as const;
|
|
74
|
+
|
|
75
|
+
export type CreateTenantRequestDtoBusinessModelEnum = typeof CreateTenantRequestDtoBusinessModelEnum[keyof typeof CreateTenantRequestDtoBusinessModelEnum];
|
|
76
|
+
|
|
77
|
+
|
package/models/dbconfig-dto.ts
CHANGED
|
@@ -50,5 +50,11 @@ export interface DBConfigDto {
|
|
|
50
50
|
* @memberof DBConfigDto
|
|
51
51
|
*/
|
|
52
52
|
'username': string;
|
|
53
|
+
/**
|
|
54
|
+
* Optional prefix applied to database/schema names when a tenant shares an RDS instance with other tenants but needs isolated database naming
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof DBConfigDto
|
|
57
|
+
*/
|
|
58
|
+
'databasePrefix'?: string;
|
|
53
59
|
}
|
|
54
60
|
|