@emilgroup/tenant-sdk 1.42.1-beta.13 → 1.42.1-beta.131
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 +33 -0
- package/README.md +2 -2
- package/api/custom-schema-api.ts +32 -12
- package/api/dashboard-api.ts +96 -36
- package/api/dashboard-group-api.ts +40 -15
- package/api/data-report-api.ts +32 -12
- package/api/data-report-executor-api.ts +8 -3
- package/api/delete-organization-invitations-api.ts +8 -3
- package/api/health-check-api.ts +1 -1
- package/api/invitation-controller-rest-api.ts +32 -12
- package/api/invite-organizations-api.ts +8 -3
- package/api/invite-users-api.ts +40 -20
- package/api/list-organization-invitations-api.ts +8 -3
- package/api/organization-migration-api.ts +40 -15
- package/api/organizations-api.ts +24 -9
- package/api/re-invite-an-organization-api.ts +8 -3
- package/api/report-schedule-api.ts +40 -15
- package/api/report-schedule-logs-api.ts +8 -3
- package/api/roles-api.ts +8 -3
- package/api/settings-api.ts +32 -12
- package/api/ssoconnection-api.ts +824 -0
- package/api/ssoid-pgroups-api.ts +829 -0
- package/api/user-controller-rest-api.ts +116 -57
- package/api/user-group-api.ts +64 -24
- package/api/users-api.ts +76 -37
- package/api.ts +4 -0
- package/base.ts +239 -43
- package/common.ts +3 -2
- package/configuration.ts +20 -0
- package/dist/api/custom-schema-api.d.ts +4 -4
- package/dist/api/custom-schema-api.js +52 -30
- package/dist/api/dashboard-api.d.ts +12 -12
- package/dist/api/dashboard-api.js +176 -95
- package/dist/api/dashboard-group-api.d.ts +5 -5
- package/dist/api/dashboard-group-api.js +71 -39
- package/dist/api/data-report-api.d.ts +4 -4
- package/dist/api/data-report-api.js +52 -30
- package/dist/api/data-report-executor-api.d.ts +1 -1
- package/dist/api/data-report-executor-api.js +15 -8
- package/dist/api/delete-organization-invitations-api.d.ts +1 -1
- package/dist/api/delete-organization-invitations-api.js +15 -8
- package/dist/api/health-check-api.d.ts +1 -1
- package/dist/api/health-check-api.js +1 -1
- package/dist/api/invitation-controller-rest-api.d.ts +4 -4
- package/dist/api/invitation-controller-rest-api.js +56 -31
- package/dist/api/invite-organizations-api.d.ts +1 -1
- package/dist/api/invite-organizations-api.js +15 -8
- package/dist/api/invite-users-api.d.ts +12 -12
- package/dist/api/invite-users-api.js +62 -37
- package/dist/api/list-organization-invitations-api.d.ts +1 -1
- package/dist/api/list-organization-invitations-api.js +11 -7
- package/dist/api/organization-migration-api.d.ts +5 -5
- package/dist/api/organization-migration-api.js +67 -38
- package/dist/api/organizations-api.d.ts +3 -3
- package/dist/api/organizations-api.js +41 -23
- package/dist/api/re-invite-an-organization-api.d.ts +1 -1
- package/dist/api/re-invite-an-organization-api.js +15 -8
- package/dist/api/report-schedule-api.d.ts +5 -5
- package/dist/api/report-schedule-api.js +67 -38
- package/dist/api/report-schedule-logs-api.d.ts +1 -1
- package/dist/api/report-schedule-logs-api.js +11 -7
- package/dist/api/roles-api.d.ts +1 -1
- package/dist/api/roles-api.js +11 -7
- package/dist/api/settings-api.d.ts +4 -4
- package/dist/api/settings-api.js +52 -30
- package/dist/api/ssoconnection-api.d.ts +434 -0
- package/dist/api/ssoconnection-api.js +829 -0
- package/dist/api/ssoid-pgroups-api.d.ts +451 -0
- package/dist/api/ssoid-pgroups-api.js +774 -0
- package/dist/api/user-controller-rest-api.d.ts +39 -35
- package/dist/api/user-controller-rest-api.js +177 -105
- package/dist/api/user-group-api.d.ts +8 -8
- package/dist/api/user-group-api.js +112 -62
- package/dist/api/users-api.d.ts +27 -23
- package/dist/api/users-api.js +115 -68
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/base.d.ts +26 -0
- package/dist/base.js +243 -60
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -0
- package/dist/configuration.d.ts +17 -0
- package/dist/configuration.js +2 -0
- package/dist/models/admin-initial-tenant-config-dto.d.ts +4 -2
- 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-sso-connection-request-dto.d.ts +67 -0
- package/dist/models/create-sso-connection-request-dto.js +24 -0
- package/dist/models/create-sso-connection-response-class.d.ts +25 -0
- package/dist/models/create-sso-connection-response-class.js +15 -0
- package/dist/models/create-sso-idp-group-request-dto.d.ts +37 -0
- package/dist/models/create-sso-idp-group-request-dto.js +15 -0
- package/dist/models/create-sso-idp-group-response-class.d.ts +25 -0
- package/dist/models/create-sso-idp-group-response-class.js +15 -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/custom-field-dto.d.ts +8 -4
- package/dist/models/delete-by-code-response-class.d.ts +24 -0
- package/dist/models/delete-by-code-response-class.js +15 -0
- package/dist/models/get-sso-connection-response-class.d.ts +25 -0
- package/dist/models/get-sso-connection-response-class.js +15 -0
- package/dist/models/get-sso-connection-setup-response-class.d.ts +25 -0
- package/dist/models/get-sso-connection-setup-response-class.js +15 -0
- package/dist/models/get-sso-idp-group-response-class.d.ts +25 -0
- package/dist/models/get-sso-idp-group-response-class.js +15 -0
- package/dist/models/index.d.ts +31 -0
- package/dist/models/index.js +31 -0
- package/dist/models/invite-class.d.ts +6 -0
- package/dist/models/list-sso-idp-groups-response-class.d.ts +43 -0
- package/dist/models/list-sso-idp-groups-response-class.js +15 -0
- package/dist/models/oidc-sso-details-input-dto.d.ts +42 -0
- package/dist/models/oidc-sso-details-input-dto.js +15 -0
- package/dist/models/oidc-sso-details-update-dto.d.ts +42 -0
- package/dist/models/oidc-sso-details-update-dto.js +15 -0
- package/dist/models/oidc-sso-setup-class.d.ts +37 -0
- package/dist/models/oidc-sso-setup-class.js +15 -0
- package/dist/models/org-invitation-class.d.ts +6 -0
- package/dist/models/role-class.d.ts +7 -0
- package/dist/models/role-source-class.d.ts +35 -0
- package/dist/models/role-source-class.js +20 -0
- package/dist/models/saml-sso-details-dto.d.ts +24 -0
- package/dist/models/saml-sso-details-dto.js +15 -0
- package/dist/models/saml-sso-setup-class.d.ts +37 -0
- package/dist/models/saml-sso-setup-class.js +15 -0
- package/dist/models/shared-oidc-sso-details-class.d.ts +42 -0
- package/dist/models/shared-oidc-sso-details-class.js +15 -0
- package/dist/models/shared-saml-sso-details-class.d.ts +24 -0
- package/dist/models/shared-saml-sso-details-class.js +15 -0
- package/dist/models/shared-sso-attribute-mapping-class.d.ts +30 -0
- package/dist/models/shared-sso-attribute-mapping-class.js +15 -0
- package/dist/models/sso-attribute-mapping-dto.d.ts +30 -0
- package/dist/models/sso-attribute-mapping-dto.js +15 -0
- package/dist/models/sso-attribute-mapping-template-class.d.ts +36 -0
- package/dist/models/sso-attribute-mapping-template-class.js +15 -0
- package/dist/models/sso-connection-class.d.ts +103 -0
- package/dist/models/sso-connection-class.js +24 -0
- package/dist/models/sso-connection-setup-class.d.ts +32 -0
- package/dist/models/sso-connection-setup-class.js +15 -0
- package/dist/models/sso-idp-group-class.d.ts +73 -0
- package/dist/models/sso-idp-group-class.js +15 -0
- package/dist/models/update-sso-connection-body-dto.d.ts +45 -0
- package/dist/models/update-sso-connection-body-dto.js +15 -0
- package/dist/models/update-sso-connection-response-class.d.ts +25 -0
- package/dist/models/update-sso-connection-response-class.js +15 -0
- package/dist/models/update-sso-connection-status-body-dto.d.ts +24 -0
- package/dist/models/update-sso-connection-status-body-dto.js +15 -0
- package/dist/models/update-sso-connection-status-response-class.d.ts +25 -0
- package/dist/models/update-sso-connection-status-response-class.js +15 -0
- package/dist/models/update-sso-idp-group-body-dto.d.ts +31 -0
- package/dist/models/update-sso-idp-group-body-dto.js +15 -0
- package/dist/models/update-sso-idp-group-response-class.d.ts +25 -0
- package/dist/models/update-sso-idp-group-response-class.js +15 -0
- package/dist/models/update-sso-idp-group-status-body-dto.d.ts +24 -0
- package/dist/models/update-sso-idp-group-status-body-dto.js +15 -0
- package/dist/models/update-sso-idp-group-status-response-class.d.ts +25 -0
- package/dist/models/update-sso-idp-group-status-response-class.js +15 -0
- package/dist/models/user-class.d.ts +7 -0
- package/models/admin-initial-tenant-config-dto.ts +2 -2
- package/models/create-admin-tenant-request-dto.ts +14 -0
- package/models/create-sso-connection-request-dto.ts +77 -0
- package/models/create-sso-connection-response-class.ts +31 -0
- package/models/create-sso-idp-group-request-dto.ts +43 -0
- package/models/create-sso-idp-group-response-class.ts +31 -0
- package/models/create-tenant-request-dto.ts +14 -0
- package/models/custom-field-dto.ts +4 -4
- package/models/delete-by-code-response-class.ts +30 -0
- package/models/get-sso-connection-response-class.ts +31 -0
- package/models/get-sso-connection-setup-response-class.ts +31 -0
- package/models/get-sso-idp-group-response-class.ts +31 -0
- package/models/index.ts +31 -0
- package/models/invite-class.ts +6 -0
- package/models/list-sso-idp-groups-response-class.ts +49 -0
- package/models/oidc-sso-details-input-dto.ts +48 -0
- package/models/oidc-sso-details-update-dto.ts +48 -0
- package/models/oidc-sso-setup-class.ts +43 -0
- package/models/org-invitation-class.ts +6 -0
- package/models/role-class.ts +7 -0
- package/models/role-source-class.ts +44 -0
- package/models/saml-sso-details-dto.ts +30 -0
- package/models/saml-sso-setup-class.ts +43 -0
- package/models/shared-oidc-sso-details-class.ts +48 -0
- package/models/shared-saml-sso-details-class.ts +30 -0
- package/models/shared-sso-attribute-mapping-class.ts +36 -0
- package/models/sso-attribute-mapping-dto.ts +36 -0
- package/models/sso-attribute-mapping-template-class.ts +42 -0
- package/models/sso-connection-class.ts +113 -0
- package/models/sso-connection-setup-class.ts +38 -0
- package/models/sso-idp-group-class.ts +79 -0
- package/models/update-sso-connection-body-dto.ts +51 -0
- package/models/update-sso-connection-response-class.ts +31 -0
- package/models/update-sso-connection-status-body-dto.ts +30 -0
- package/models/update-sso-connection-status-response-class.ts +31 -0
- package/models/update-sso-idp-group-body-dto.ts +37 -0
- package/models/update-sso-idp-group-response-class.ts +31 -0
- package/models/update-sso-idp-group-status-body-dto.ts +30 -0
- package/models/update-sso-idp-group-status-response-class.ts +31 -0
- package/models/user-class.ts +7 -0
- package/package.json +2 -2
package/dist/api/users-api.d.ts
CHANGED
|
@@ -64,10 +64,11 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
64
64
|
*/
|
|
65
65
|
enableUsers: (enableUsersRequestDto: EnableUsersRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
66
66
|
/**
|
|
67
|
-
*
|
|
67
|
+
* Returns the user with the given code. expand=roles returns only roles assigned directly to the user and leaves out roles granted by user groups. Use expand=inheritedRoles to get direct and user group roles together, each role once with its sources (DIRECT or GROUP with userGroupCode). **Required Permissions** \"tenant-management.users.view\"
|
|
68
|
+
* @summary Retrieve the user
|
|
68
69
|
* @param {string} code
|
|
69
70
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
70
|
-
* @param {string} [expand]
|
|
71
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: subscriptions, organizations, userGroups, roles, inheritedRoles<i>
|
|
71
72
|
* @param {*} [options] Override http request option.
|
|
72
73
|
* @throws {RequiredError}
|
|
73
74
|
*/
|
|
@@ -82,7 +83,7 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
82
83
|
*/
|
|
83
84
|
linkUserWithPartner: (code: string, linkUserWithPartnerRequestDtoRest: LinkUserWithPartnerRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
84
85
|
/**
|
|
85
|
-
* Returns a list of users
|
|
86
|
+
* Returns a list of users. expand=roles returns only roles assigned directly to the user and leaves out roles granted by user groups. Use expand=inheritedRoles to get direct and user group roles together, each role once with its sources (DIRECT or GROUP with userGroupCode). **Required Permissions** \"tenant-management.users.list\"
|
|
86
87
|
* @summary List users
|
|
87
88
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
88
89
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -90,7 +91,7 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
90
91
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode</i>
|
|
91
92
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
92
93
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, email, firstName, lastName</i>
|
|
93
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: subscriptions, organizations<i>
|
|
94
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: subscriptions, organizations, userGroups, roles, inheritedRoles<i>
|
|
94
95
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode</i>
|
|
95
96
|
* @param {*} [options] Override http request option.
|
|
96
97
|
* @throws {RequiredError}
|
|
@@ -137,10 +138,11 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
137
138
|
*/
|
|
138
139
|
enableUsers(enableUsersRequestDto: EnableUsersRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnableUsersResponseClass>>;
|
|
139
140
|
/**
|
|
140
|
-
*
|
|
141
|
+
* Returns the user with the given code. expand=roles returns only roles assigned directly to the user and leaves out roles granted by user groups. Use expand=inheritedRoles to get direct and user group roles together, each role once with its sources (DIRECT or GROUP with userGroupCode). **Required Permissions** \"tenant-management.users.view\"
|
|
142
|
+
* @summary Retrieve the user
|
|
141
143
|
* @param {string} code
|
|
142
144
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
143
|
-
* @param {string} [expand]
|
|
145
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: subscriptions, organizations, userGroups, roles, inheritedRoles<i>
|
|
144
146
|
* @param {*} [options] Override http request option.
|
|
145
147
|
* @throws {RequiredError}
|
|
146
148
|
*/
|
|
@@ -155,7 +157,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
155
157
|
*/
|
|
156
158
|
linkUserWithPartner(code: string, linkUserWithPartnerRequestDtoRest: LinkUserWithPartnerRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LinkUserWithPartnerResponseClass>>;
|
|
157
159
|
/**
|
|
158
|
-
* Returns a list of users
|
|
160
|
+
* Returns a list of users. expand=roles returns only roles assigned directly to the user and leaves out roles granted by user groups. Use expand=inheritedRoles to get direct and user group roles together, each role once with its sources (DIRECT or GROUP with userGroupCode). **Required Permissions** \"tenant-management.users.list\"
|
|
159
161
|
* @summary List users
|
|
160
162
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
161
163
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -163,7 +165,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
163
165
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode</i>
|
|
164
166
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
165
167
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, email, firstName, lastName</i>
|
|
166
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: subscriptions, organizations<i>
|
|
168
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: subscriptions, organizations, userGroups, roles, inheritedRoles<i>
|
|
167
169
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode</i>
|
|
168
170
|
* @param {*} [options] Override http request option.
|
|
169
171
|
* @throws {RequiredError}
|
|
@@ -210,10 +212,11 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
210
212
|
*/
|
|
211
213
|
enableUsers(enableUsersRequestDto: EnableUsersRequestDto, authorization?: string, options?: any): AxiosPromise<EnableUsersResponseClass>;
|
|
212
214
|
/**
|
|
213
|
-
*
|
|
215
|
+
* Returns the user with the given code. expand=roles returns only roles assigned directly to the user and leaves out roles granted by user groups. Use expand=inheritedRoles to get direct and user group roles together, each role once with its sources (DIRECT or GROUP with userGroupCode). **Required Permissions** \"tenant-management.users.view\"
|
|
216
|
+
* @summary Retrieve the user
|
|
214
217
|
* @param {string} code
|
|
215
218
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
216
|
-
* @param {string} [expand]
|
|
219
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: subscriptions, organizations, userGroups, roles, inheritedRoles<i>
|
|
217
220
|
* @param {*} [options] Override http request option.
|
|
218
221
|
* @throws {RequiredError}
|
|
219
222
|
*/
|
|
@@ -228,7 +231,7 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
228
231
|
*/
|
|
229
232
|
linkUserWithPartner(code: string, linkUserWithPartnerRequestDtoRest: LinkUserWithPartnerRequestDtoRest, authorization?: string, options?: any): AxiosPromise<LinkUserWithPartnerResponseClass>;
|
|
230
233
|
/**
|
|
231
|
-
* Returns a list of users
|
|
234
|
+
* Returns a list of users. expand=roles returns only roles assigned directly to the user and leaves out roles granted by user groups. Use expand=inheritedRoles to get direct and user group roles together, each role once with its sources (DIRECT or GROUP with userGroupCode). **Required Permissions** \"tenant-management.users.list\"
|
|
232
235
|
* @summary List users
|
|
233
236
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
234
237
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -236,7 +239,7 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
236
239
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode</i>
|
|
237
240
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
238
241
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, email, firstName, lastName</i>
|
|
239
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: subscriptions, organizations<i>
|
|
242
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: subscriptions, organizations, userGroups, roles, inheritedRoles<i>
|
|
240
243
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, email, sub, status, organizationId, ern, partnerCode</i>
|
|
241
244
|
* @param {*} [options] Override http request option.
|
|
242
245
|
* @throws {RequiredError}
|
|
@@ -344,7 +347,7 @@ export interface UsersApiGetUserRequest {
|
|
|
344
347
|
*/
|
|
345
348
|
readonly authorization?: string;
|
|
346
349
|
/**
|
|
347
|
-
*
|
|
350
|
+
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: subscriptions, organizations, userGroups, roles, inheritedRoles<i>
|
|
348
351
|
* @type {string}
|
|
349
352
|
* @memberof UsersApiGetUser
|
|
350
353
|
*/
|
|
@@ -418,7 +421,7 @@ export interface UsersApiListUsersRequest {
|
|
|
418
421
|
*/
|
|
419
422
|
readonly order?: string;
|
|
420
423
|
/**
|
|
421
|
-
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: subscriptions, organizations<i>
|
|
424
|
+
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: subscriptions, organizations, userGroups, roles, inheritedRoles<i>
|
|
422
425
|
* @type {string}
|
|
423
426
|
* @memberof UsersApiListUsers
|
|
424
427
|
*/
|
|
@@ -445,7 +448,7 @@ export declare class UsersApi extends BaseAPI {
|
|
|
445
448
|
* @throws {RequiredError}
|
|
446
449
|
* @memberof UsersApi
|
|
447
450
|
*/
|
|
448
|
-
assignUserRoles(requestParameters: UsersApiAssignUserRolesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AssignUserRolesResponseClass, any, {}>>;
|
|
451
|
+
assignUserRoles(requestParameters: UsersApiAssignUserRolesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AssignUserRolesResponseClass, any, {}, any>>;
|
|
449
452
|
/**
|
|
450
453
|
* undefined **Required Permissions** \"tenant-management.users.delete\"
|
|
451
454
|
* @param {UsersApiDeleteUsersRequest} requestParameters Request parameters.
|
|
@@ -453,7 +456,7 @@ export declare class UsersApi extends BaseAPI {
|
|
|
453
456
|
* @throws {RequiredError}
|
|
454
457
|
* @memberof UsersApi
|
|
455
458
|
*/
|
|
456
|
-
deleteUsers(requestParameters: UsersApiDeleteUsersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BatchDeleteResponseClass, any, {}>>;
|
|
459
|
+
deleteUsers(requestParameters: UsersApiDeleteUsersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BatchDeleteResponseClass, any, {}, any>>;
|
|
457
460
|
/**
|
|
458
461
|
* undefined **Required Permissions** \"tenant-management.users.update\"
|
|
459
462
|
* @param {UsersApiDisableUsersRequest} requestParameters Request parameters.
|
|
@@ -461,7 +464,7 @@ export declare class UsersApi extends BaseAPI {
|
|
|
461
464
|
* @throws {RequiredError}
|
|
462
465
|
* @memberof UsersApi
|
|
463
466
|
*/
|
|
464
|
-
disableUsers(requestParameters: UsersApiDisableUsersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DisableUsersResponseClass, any, {}>>;
|
|
467
|
+
disableUsers(requestParameters: UsersApiDisableUsersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DisableUsersResponseClass, any, {}, any>>;
|
|
465
468
|
/**
|
|
466
469
|
* undefined **Required Permissions** \"tenant-management.users.update\"
|
|
467
470
|
* @param {UsersApiEnableUsersRequest} requestParameters Request parameters.
|
|
@@ -469,15 +472,16 @@ export declare class UsersApi extends BaseAPI {
|
|
|
469
472
|
* @throws {RequiredError}
|
|
470
473
|
* @memberof UsersApi
|
|
471
474
|
*/
|
|
472
|
-
enableUsers(requestParameters: UsersApiEnableUsersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EnableUsersResponseClass, any, {}>>;
|
|
475
|
+
enableUsers(requestParameters: UsersApiEnableUsersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EnableUsersResponseClass, any, {}, any>>;
|
|
473
476
|
/**
|
|
474
|
-
*
|
|
477
|
+
* Returns the user with the given code. expand=roles returns only roles assigned directly to the user and leaves out roles granted by user groups. Use expand=inheritedRoles to get direct and user group roles together, each role once with its sources (DIRECT or GROUP with userGroupCode). **Required Permissions** \"tenant-management.users.view\"
|
|
478
|
+
* @summary Retrieve the user
|
|
475
479
|
* @param {UsersApiGetUserRequest} requestParameters Request parameters.
|
|
476
480
|
* @param {*} [options] Override http request option.
|
|
477
481
|
* @throws {RequiredError}
|
|
478
482
|
* @memberof UsersApi
|
|
479
483
|
*/
|
|
480
|
-
getUser(requestParameters: UsersApiGetUserRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserResponseClass, any, {}>>;
|
|
484
|
+
getUser(requestParameters: UsersApiGetUserRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserResponseClass, any, {}, any>>;
|
|
481
485
|
/**
|
|
482
486
|
* undefined **Required Permissions** \"partner-management.partners.update\"
|
|
483
487
|
* @param {UsersApiLinkUserWithPartnerRequest} requestParameters Request parameters.
|
|
@@ -485,14 +489,14 @@ export declare class UsersApi extends BaseAPI {
|
|
|
485
489
|
* @throws {RequiredError}
|
|
486
490
|
* @memberof UsersApi
|
|
487
491
|
*/
|
|
488
|
-
linkUserWithPartner(requestParameters: UsersApiLinkUserWithPartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LinkUserWithPartnerResponseClass, any, {}>>;
|
|
492
|
+
linkUserWithPartner(requestParameters: UsersApiLinkUserWithPartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LinkUserWithPartnerResponseClass, any, {}, any>>;
|
|
489
493
|
/**
|
|
490
|
-
* Returns a list of users
|
|
494
|
+
* Returns a list of users. expand=roles returns only roles assigned directly to the user and leaves out roles granted by user groups. Use expand=inheritedRoles to get direct and user group roles together, each role once with its sources (DIRECT or GROUP with userGroupCode). **Required Permissions** \"tenant-management.users.list\"
|
|
491
495
|
* @summary List users
|
|
492
496
|
* @param {UsersApiListUsersRequest} requestParameters Request parameters.
|
|
493
497
|
* @param {*} [options] Override http request option.
|
|
494
498
|
* @throws {RequiredError}
|
|
495
499
|
* @memberof UsersApi
|
|
496
500
|
*/
|
|
497
|
-
listUsers(requestParameters?: UsersApiListUsersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListUsersResponseClass, any, {}>>;
|
|
501
|
+
listUsers(requestParameters?: UsersApiListUsersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListUsersResponseClass, any, {}, any>>;
|
|
498
502
|
}
|