@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
|
@@ -543,7 +543,7 @@ export declare class UserGroupApi extends BaseAPI {
|
|
|
543
543
|
* @throws {RequiredError}
|
|
544
544
|
* @memberof UserGroupApi
|
|
545
545
|
*/
|
|
546
|
-
addUsersToGroup(requestParameters: UserGroupApiAddUsersToGroupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AddUsersToGroupResponseClass, any, {}>>;
|
|
546
|
+
addUsersToGroup(requestParameters: UserGroupApiAddUsersToGroupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AddUsersToGroupResponseClass, any, {}, any>>;
|
|
547
547
|
/**
|
|
548
548
|
* undefined **Required Permissions** \"identity-management.user-groups.create\"
|
|
549
549
|
* @param {UserGroupApiCreateUserGroupRequest} requestParameters Request parameters.
|
|
@@ -551,7 +551,7 @@ export declare class UserGroupApi extends BaseAPI {
|
|
|
551
551
|
* @throws {RequiredError}
|
|
552
552
|
* @memberof UserGroupApi
|
|
553
553
|
*/
|
|
554
|
-
createUserGroup(requestParameters: UserGroupApiCreateUserGroupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateUserGroupResponseClass, any, {}>>;
|
|
554
|
+
createUserGroup(requestParameters: UserGroupApiCreateUserGroupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateUserGroupResponseClass, any, {}, any>>;
|
|
555
555
|
/**
|
|
556
556
|
* undefined **Required Permissions** \"identity-management.user-groups.delete\"
|
|
557
557
|
* @param {UserGroupApiDeleteUserGroupRequest} requestParameters Request parameters.
|
|
@@ -559,7 +559,7 @@ export declare class UserGroupApi extends BaseAPI {
|
|
|
559
559
|
* @throws {RequiredError}
|
|
560
560
|
* @memberof UserGroupApi
|
|
561
561
|
*/
|
|
562
|
-
deleteUserGroup(requestParameters: UserGroupApiDeleteUserGroupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any, {}>>;
|
|
562
|
+
deleteUserGroup(requestParameters: UserGroupApiDeleteUserGroupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any, {}, any>>;
|
|
563
563
|
/**
|
|
564
564
|
* undefined **Required Permissions** \"identity-management.user-groups.view\"
|
|
565
565
|
* @param {UserGroupApiGetUserGroupRequest} requestParameters Request parameters.
|
|
@@ -567,7 +567,7 @@ export declare class UserGroupApi extends BaseAPI {
|
|
|
567
567
|
* @throws {RequiredError}
|
|
568
568
|
* @memberof UserGroupApi
|
|
569
569
|
*/
|
|
570
|
-
getUserGroup(requestParameters: UserGroupApiGetUserGroupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserGroupResponseClass, any, {}>>;
|
|
570
|
+
getUserGroup(requestParameters: UserGroupApiGetUserGroupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserGroupResponseClass, any, {}, any>>;
|
|
571
571
|
/**
|
|
572
572
|
* undefined **Required Permissions** \"identity-management.user-groups.view\"
|
|
573
573
|
* @param {UserGroupApiListUserGroupMembersRequest} requestParameters Request parameters.
|
|
@@ -575,7 +575,7 @@ export declare class UserGroupApi extends BaseAPI {
|
|
|
575
575
|
* @throws {RequiredError}
|
|
576
576
|
* @memberof UserGroupApi
|
|
577
577
|
*/
|
|
578
|
-
listUserGroupMembers(requestParameters: UserGroupApiListUserGroupMembersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListUserGroupMembersResponseClass, any, {}>>;
|
|
578
|
+
listUserGroupMembers(requestParameters: UserGroupApiListUserGroupMembersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListUserGroupMembersResponseClass, any, {}, any>>;
|
|
579
579
|
/**
|
|
580
580
|
* undefined **Required Permissions** \"identity-management.user-groups.view\"
|
|
581
581
|
* @param {UserGroupApiListUserGroupsRequest} requestParameters Request parameters.
|
|
@@ -583,7 +583,7 @@ export declare class UserGroupApi extends BaseAPI {
|
|
|
583
583
|
* @throws {RequiredError}
|
|
584
584
|
* @memberof UserGroupApi
|
|
585
585
|
*/
|
|
586
|
-
listUserGroups(requestParameters?: UserGroupApiListUserGroupsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListUserGroupsResponseClass, any, {}>>;
|
|
586
|
+
listUserGroups(requestParameters?: UserGroupApiListUserGroupsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListUserGroupsResponseClass, any, {}, any>>;
|
|
587
587
|
/**
|
|
588
588
|
* undefined **Required Permissions** \"identity-management.user-groups.update\"
|
|
589
589
|
* @param {UserGroupApiRemoveUsersFromGroupRequest} requestParameters Request parameters.
|
|
@@ -591,7 +591,7 @@ export declare class UserGroupApi extends BaseAPI {
|
|
|
591
591
|
* @throws {RequiredError}
|
|
592
592
|
* @memberof UserGroupApi
|
|
593
593
|
*/
|
|
594
|
-
removeUsersFromGroup(requestParameters: UserGroupApiRemoveUsersFromGroupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any, {}>>;
|
|
594
|
+
removeUsersFromGroup(requestParameters: UserGroupApiRemoveUsersFromGroupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any, {}, any>>;
|
|
595
595
|
/**
|
|
596
596
|
* undefined **Required Permissions** \"identity-management.user-groups.update\"
|
|
597
597
|
* @param {UserGroupApiUpdateUserGroupRequest} requestParameters Request parameters.
|
|
@@ -599,5 +599,5 @@ export declare class UserGroupApi extends BaseAPI {
|
|
|
599
599
|
* @throws {RequiredError}
|
|
600
600
|
* @memberof UserGroupApi
|
|
601
601
|
*/
|
|
602
|
-
updateUserGroup(requestParameters: UserGroupApiUpdateUserGroupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateUserGroupResponseClass, any, {}>>;
|
|
602
|
+
updateUserGroup(requestParameters: UserGroupApiUpdateUserGroupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateUserGroupResponseClass, any, {}, any>>;
|
|
603
603
|
}
|
|
@@ -103,9 +103,10 @@ var UserGroupApiAxiosParamCreator = function (configuration) {
|
|
|
103
103
|
addUsersToGroup: function (code, addUsersToGroupRequestDto, authorization, options) {
|
|
104
104
|
if (options === void 0) { options = {}; }
|
|
105
105
|
return __awaiter(_this, void 0, void 0, function () {
|
|
106
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
107
|
-
|
|
108
|
-
|
|
106
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
|
|
107
|
+
var _a;
|
|
108
|
+
return __generator(this, function (_b) {
|
|
109
|
+
switch (_b.label) {
|
|
109
110
|
case 0:
|
|
110
111
|
// verify required parameter 'code' is not null or undefined
|
|
111
112
|
(0, common_1.assertParamExists)('addUsersToGroup', 'code', code);
|
|
@@ -123,13 +124,19 @@ var UserGroupApiAxiosParamCreator = function (configuration) {
|
|
|
123
124
|
localVarQueryParameter = {};
|
|
124
125
|
// authentication bearer required
|
|
125
126
|
// http bearer authentication required
|
|
126
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
127
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
128
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
129
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
130
|
+
];
|
|
127
131
|
case 1:
|
|
128
132
|
// authentication bearer required
|
|
129
133
|
// http bearer authentication required
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
134
|
+
_b.sent();
|
|
135
|
+
authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
136
|
+
authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
137
|
+
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
138
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
139
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
133
140
|
}
|
|
134
141
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
135
142
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -154,9 +161,10 @@ var UserGroupApiAxiosParamCreator = function (configuration) {
|
|
|
154
161
|
createUserGroup: function (createUserGroupRequestDto, authorization, options) {
|
|
155
162
|
if (options === void 0) { options = {}; }
|
|
156
163
|
return __awaiter(_this, void 0, void 0, function () {
|
|
157
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
158
|
-
|
|
159
|
-
|
|
164
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
|
|
165
|
+
var _a;
|
|
166
|
+
return __generator(this, function (_b) {
|
|
167
|
+
switch (_b.label) {
|
|
160
168
|
case 0:
|
|
161
169
|
// verify required parameter 'createUserGroupRequestDto' is not null or undefined
|
|
162
170
|
(0, common_1.assertParamExists)('createUserGroup', 'createUserGroupRequestDto', createUserGroupRequestDto);
|
|
@@ -171,13 +179,19 @@ var UserGroupApiAxiosParamCreator = function (configuration) {
|
|
|
171
179
|
localVarQueryParameter = {};
|
|
172
180
|
// authentication bearer required
|
|
173
181
|
// http bearer authentication required
|
|
174
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
182
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
183
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
184
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
185
|
+
];
|
|
175
186
|
case 1:
|
|
176
187
|
// authentication bearer required
|
|
177
188
|
// http bearer authentication required
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
189
|
+
_b.sent();
|
|
190
|
+
authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
191
|
+
authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
192
|
+
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
193
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
194
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
181
195
|
}
|
|
182
196
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
183
197
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -202,9 +216,10 @@ var UserGroupApiAxiosParamCreator = function (configuration) {
|
|
|
202
216
|
deleteUserGroup: function (code, authorization, options) {
|
|
203
217
|
if (options === void 0) { options = {}; }
|
|
204
218
|
return __awaiter(_this, void 0, void 0, function () {
|
|
205
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
206
|
-
|
|
207
|
-
|
|
219
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
|
|
220
|
+
var _a;
|
|
221
|
+
return __generator(this, function (_b) {
|
|
222
|
+
switch (_b.label) {
|
|
208
223
|
case 0:
|
|
209
224
|
// verify required parameter 'code' is not null or undefined
|
|
210
225
|
(0, common_1.assertParamExists)('deleteUserGroup', 'code', code);
|
|
@@ -220,13 +235,19 @@ var UserGroupApiAxiosParamCreator = function (configuration) {
|
|
|
220
235
|
localVarQueryParameter = {};
|
|
221
236
|
// authentication bearer required
|
|
222
237
|
// http bearer authentication required
|
|
223
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
238
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
239
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
240
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
241
|
+
];
|
|
224
242
|
case 1:
|
|
225
243
|
// authentication bearer required
|
|
226
244
|
// http bearer authentication required
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
245
|
+
_b.sent();
|
|
246
|
+
authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
247
|
+
authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
248
|
+
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
249
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
250
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
230
251
|
}
|
|
231
252
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
232
253
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -249,9 +270,10 @@ var UserGroupApiAxiosParamCreator = function (configuration) {
|
|
|
249
270
|
getUserGroup: function (code, authorization, options) {
|
|
250
271
|
if (options === void 0) { options = {}; }
|
|
251
272
|
return __awaiter(_this, void 0, void 0, function () {
|
|
252
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
253
|
-
|
|
254
|
-
|
|
273
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
|
|
274
|
+
var _a;
|
|
275
|
+
return __generator(this, function (_b) {
|
|
276
|
+
switch (_b.label) {
|
|
255
277
|
case 0:
|
|
256
278
|
// verify required parameter 'code' is not null or undefined
|
|
257
279
|
(0, common_1.assertParamExists)('getUserGroup', 'code', code);
|
|
@@ -267,13 +289,19 @@ var UserGroupApiAxiosParamCreator = function (configuration) {
|
|
|
267
289
|
localVarQueryParameter = {};
|
|
268
290
|
// authentication bearer required
|
|
269
291
|
// http bearer authentication required
|
|
270
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
292
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
293
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
294
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
295
|
+
];
|
|
271
296
|
case 1:
|
|
272
297
|
// authentication bearer required
|
|
273
298
|
// http bearer authentication required
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
299
|
+
_b.sent();
|
|
300
|
+
authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
301
|
+
authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
302
|
+
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
303
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
304
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
277
305
|
}
|
|
278
306
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
279
307
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -303,9 +331,10 @@ var UserGroupApiAxiosParamCreator = function (configuration) {
|
|
|
303
331
|
listUserGroupMembers: function (code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
304
332
|
if (options === void 0) { options = {}; }
|
|
305
333
|
return __awaiter(_this, void 0, void 0, function () {
|
|
306
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
307
|
-
|
|
308
|
-
|
|
334
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
|
|
335
|
+
var _a;
|
|
336
|
+
return __generator(this, function (_b) {
|
|
337
|
+
switch (_b.label) {
|
|
309
338
|
case 0:
|
|
310
339
|
// verify required parameter 'code' is not null or undefined
|
|
311
340
|
(0, common_1.assertParamExists)('listUserGroupMembers', 'code', code);
|
|
@@ -325,7 +354,7 @@ var UserGroupApiAxiosParamCreator = function (configuration) {
|
|
|
325
354
|
case 1:
|
|
326
355
|
// authentication bearer required
|
|
327
356
|
// http bearer authentication required
|
|
328
|
-
|
|
357
|
+
_b.sent();
|
|
329
358
|
if (pageSize !== undefined) {
|
|
330
359
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
331
360
|
}
|
|
@@ -347,8 +376,11 @@ var UserGroupApiAxiosParamCreator = function (configuration) {
|
|
|
347
376
|
if (filters !== undefined) {
|
|
348
377
|
localVarQueryParameter['filters'] = filters;
|
|
349
378
|
}
|
|
350
|
-
|
|
351
|
-
|
|
379
|
+
authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
380
|
+
authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
381
|
+
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
382
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
383
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
352
384
|
}
|
|
353
385
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
354
386
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -377,9 +409,10 @@ var UserGroupApiAxiosParamCreator = function (configuration) {
|
|
|
377
409
|
listUserGroups: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
378
410
|
if (options === void 0) { options = {}; }
|
|
379
411
|
return __awaiter(_this, void 0, void 0, function () {
|
|
380
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
381
|
-
|
|
382
|
-
|
|
412
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
|
|
413
|
+
var _a;
|
|
414
|
+
return __generator(this, function (_b) {
|
|
415
|
+
switch (_b.label) {
|
|
383
416
|
case 0:
|
|
384
417
|
localVarPath = "/tenantservice/v1/user-groups";
|
|
385
418
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -396,7 +429,7 @@ var UserGroupApiAxiosParamCreator = function (configuration) {
|
|
|
396
429
|
case 1:
|
|
397
430
|
// authentication bearer required
|
|
398
431
|
// http bearer authentication required
|
|
399
|
-
|
|
432
|
+
_b.sent();
|
|
400
433
|
if (pageSize !== undefined) {
|
|
401
434
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
402
435
|
}
|
|
@@ -418,8 +451,11 @@ var UserGroupApiAxiosParamCreator = function (configuration) {
|
|
|
418
451
|
if (filters !== undefined) {
|
|
419
452
|
localVarQueryParameter['filters'] = filters;
|
|
420
453
|
}
|
|
421
|
-
|
|
422
|
-
|
|
454
|
+
authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
455
|
+
authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
456
|
+
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
457
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
458
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
423
459
|
}
|
|
424
460
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
425
461
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -443,9 +479,10 @@ var UserGroupApiAxiosParamCreator = function (configuration) {
|
|
|
443
479
|
removeUsersFromGroup: function (code, removeUsersFromGroupRequestDto, authorization, options) {
|
|
444
480
|
if (options === void 0) { options = {}; }
|
|
445
481
|
return __awaiter(_this, void 0, void 0, function () {
|
|
446
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
447
|
-
|
|
448
|
-
|
|
482
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
|
|
483
|
+
var _a;
|
|
484
|
+
return __generator(this, function (_b) {
|
|
485
|
+
switch (_b.label) {
|
|
449
486
|
case 0:
|
|
450
487
|
// verify required parameter 'code' is not null or undefined
|
|
451
488
|
(0, common_1.assertParamExists)('removeUsersFromGroup', 'code', code);
|
|
@@ -463,13 +500,19 @@ var UserGroupApiAxiosParamCreator = function (configuration) {
|
|
|
463
500
|
localVarQueryParameter = {};
|
|
464
501
|
// authentication bearer required
|
|
465
502
|
// http bearer authentication required
|
|
466
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
503
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
504
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
505
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
506
|
+
];
|
|
467
507
|
case 1:
|
|
468
508
|
// authentication bearer required
|
|
469
509
|
// http bearer authentication required
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
510
|
+
_b.sent();
|
|
511
|
+
authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
512
|
+
authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
513
|
+
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
514
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
515
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
473
516
|
}
|
|
474
517
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
475
518
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -495,9 +538,10 @@ var UserGroupApiAxiosParamCreator = function (configuration) {
|
|
|
495
538
|
updateUserGroup: function (code, updateUserGroupRequestDto, authorization, options) {
|
|
496
539
|
if (options === void 0) { options = {}; }
|
|
497
540
|
return __awaiter(_this, void 0, void 0, function () {
|
|
498
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
499
|
-
|
|
500
|
-
|
|
541
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
|
|
542
|
+
var _a;
|
|
543
|
+
return __generator(this, function (_b) {
|
|
544
|
+
switch (_b.label) {
|
|
501
545
|
case 0:
|
|
502
546
|
// verify required parameter 'code' is not null or undefined
|
|
503
547
|
(0, common_1.assertParamExists)('updateUserGroup', 'code', code);
|
|
@@ -515,13 +559,19 @@ var UserGroupApiAxiosParamCreator = function (configuration) {
|
|
|
515
559
|
localVarQueryParameter = {};
|
|
516
560
|
// authentication bearer required
|
|
517
561
|
// http bearer authentication required
|
|
518
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
562
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
563
|
+
// Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
|
|
564
|
+
// no token is stored, so a refused call still refreshes; a session call (account header) sends none.
|
|
565
|
+
];
|
|
519
566
|
case 1:
|
|
520
567
|
// authentication bearer required
|
|
521
568
|
// http bearer authentication required
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
569
|
+
_b.sent();
|
|
570
|
+
authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
571
|
+
authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
572
|
+
authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
|
|
573
|
+
if (authorizationValue || authorizationKeepEmpty) {
|
|
574
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
525
575
|
}
|
|
526
576
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
527
577
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -851,7 +901,7 @@ var UserGroupApi = /** @class */ (function (_super) {
|
|
|
851
901
|
*/
|
|
852
902
|
UserGroupApi.prototype.addUsersToGroup = function (requestParameters, options) {
|
|
853
903
|
var _this = this;
|
|
854
|
-
return (0, exports.UserGroupApiFp)(this.configuration).addUsersToGroup(requestParameters.code, requestParameters.addUsersToGroupRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
904
|
+
return (0, exports.UserGroupApiFp)(this.configuration).addUsersToGroup(requestParameters.code, requestParameters.addUsersToGroupRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
855
905
|
};
|
|
856
906
|
/**
|
|
857
907
|
* undefined **Required Permissions** \"identity-management.user-groups.create\"
|
|
@@ -862,7 +912,7 @@ var UserGroupApi = /** @class */ (function (_super) {
|
|
|
862
912
|
*/
|
|
863
913
|
UserGroupApi.prototype.createUserGroup = function (requestParameters, options) {
|
|
864
914
|
var _this = this;
|
|
865
|
-
return (0, exports.UserGroupApiFp)(this.configuration).createUserGroup(requestParameters.createUserGroupRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
915
|
+
return (0, exports.UserGroupApiFp)(this.configuration).createUserGroup(requestParameters.createUserGroupRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
866
916
|
};
|
|
867
917
|
/**
|
|
868
918
|
* undefined **Required Permissions** \"identity-management.user-groups.delete\"
|
|
@@ -873,7 +923,7 @@ var UserGroupApi = /** @class */ (function (_super) {
|
|
|
873
923
|
*/
|
|
874
924
|
UserGroupApi.prototype.deleteUserGroup = function (requestParameters, options) {
|
|
875
925
|
var _this = this;
|
|
876
|
-
return (0, exports.UserGroupApiFp)(this.configuration).deleteUserGroup(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
926
|
+
return (0, exports.UserGroupApiFp)(this.configuration).deleteUserGroup(requestParameters.code, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
877
927
|
};
|
|
878
928
|
/**
|
|
879
929
|
* undefined **Required Permissions** \"identity-management.user-groups.view\"
|
|
@@ -884,7 +934,7 @@ var UserGroupApi = /** @class */ (function (_super) {
|
|
|
884
934
|
*/
|
|
885
935
|
UserGroupApi.prototype.getUserGroup = function (requestParameters, options) {
|
|
886
936
|
var _this = this;
|
|
887
|
-
return (0, exports.UserGroupApiFp)(this.configuration).getUserGroup(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
937
|
+
return (0, exports.UserGroupApiFp)(this.configuration).getUserGroup(requestParameters.code, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
888
938
|
};
|
|
889
939
|
/**
|
|
890
940
|
* undefined **Required Permissions** \"identity-management.user-groups.view\"
|
|
@@ -895,7 +945,7 @@ var UserGroupApi = /** @class */ (function (_super) {
|
|
|
895
945
|
*/
|
|
896
946
|
UserGroupApi.prototype.listUserGroupMembers = function (requestParameters, options) {
|
|
897
947
|
var _this = this;
|
|
898
|
-
return (0, exports.UserGroupApiFp)(this.configuration).listUserGroupMembers(requestParameters.code, 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); });
|
|
948
|
+
return (0, exports.UserGroupApiFp)(this.configuration).listUserGroupMembers(requestParameters.code, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
899
949
|
};
|
|
900
950
|
/**
|
|
901
951
|
* undefined **Required Permissions** \"identity-management.user-groups.view\"
|
|
@@ -907,7 +957,7 @@ var UserGroupApi = /** @class */ (function (_super) {
|
|
|
907
957
|
UserGroupApi.prototype.listUserGroups = function (requestParameters, options) {
|
|
908
958
|
var _this = this;
|
|
909
959
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
910
|
-
return (0, exports.UserGroupApiFp)(this.configuration).listUserGroups(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); });
|
|
960
|
+
return (0, exports.UserGroupApiFp)(this.configuration).listUserGroups(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
911
961
|
};
|
|
912
962
|
/**
|
|
913
963
|
* undefined **Required Permissions** \"identity-management.user-groups.update\"
|
|
@@ -918,7 +968,7 @@ var UserGroupApi = /** @class */ (function (_super) {
|
|
|
918
968
|
*/
|
|
919
969
|
UserGroupApi.prototype.removeUsersFromGroup = function (requestParameters, options) {
|
|
920
970
|
var _this = this;
|
|
921
|
-
return (0, exports.UserGroupApiFp)(this.configuration).removeUsersFromGroup(requestParameters.code, requestParameters.removeUsersFromGroupRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
971
|
+
return (0, exports.UserGroupApiFp)(this.configuration).removeUsersFromGroup(requestParameters.code, requestParameters.removeUsersFromGroupRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
922
972
|
};
|
|
923
973
|
/**
|
|
924
974
|
* undefined **Required Permissions** \"identity-management.user-groups.update\"
|
|
@@ -929,7 +979,7 @@ var UserGroupApi = /** @class */ (function (_super) {
|
|
|
929
979
|
*/
|
|
930
980
|
UserGroupApi.prototype.updateUserGroup = function (requestParameters, options) {
|
|
931
981
|
var _this = this;
|
|
932
|
-
return (0, exports.UserGroupApiFp)(this.configuration).updateUserGroup(requestParameters.code, requestParameters.updateUserGroupRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
982
|
+
return (0, exports.UserGroupApiFp)(this.configuration).updateUserGroup(requestParameters.code, requestParameters.updateUserGroupRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
933
983
|
};
|
|
934
984
|
return UserGroupApi;
|
|
935
985
|
}(base_1.BaseAPI));
|