@ayasofyazilim/saas 0.0.92 → 0.0.93
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.
|
@@ -9,6 +9,7 @@ import { AbpApplicationLocalizationService } from './services.gen';
|
|
|
9
9
|
import { AccountSettingsService } from './services.gen';
|
|
10
10
|
import { ApplicationsService } from './services.gen';
|
|
11
11
|
import { AssignableRoleService } from './services.gen';
|
|
12
|
+
import { AssignableRoleIntegrationService } from './services.gen';
|
|
12
13
|
import { ClaimTypeService } from './services.gen';
|
|
13
14
|
import { ExternalLoginService } from './services.gen';
|
|
14
15
|
import { OrganizationUnitService } from './services.gen';
|
|
@@ -31,6 +32,7 @@ export class IdentityServiceClient {
|
|
|
31
32
|
public readonly accountSettings: AccountSettingsService;
|
|
32
33
|
public readonly applications: ApplicationsService;
|
|
33
34
|
public readonly assignableRole: AssignableRoleService;
|
|
35
|
+
public readonly assignableRoleIntegration: AssignableRoleIntegrationService;
|
|
34
36
|
public readonly claimType: ClaimTypeService;
|
|
35
37
|
public readonly externalLogin: ExternalLoginService;
|
|
36
38
|
public readonly organizationUnit: OrganizationUnitService;
|
|
@@ -68,6 +70,7 @@ export class IdentityServiceClient {
|
|
|
68
70
|
this.accountSettings = new AccountSettingsService(this.request);
|
|
69
71
|
this.applications = new ApplicationsService(this.request);
|
|
70
72
|
this.assignableRole = new AssignableRoleService(this.request);
|
|
73
|
+
this.assignableRoleIntegration = new AssignableRoleIntegrationService(this.request);
|
|
71
74
|
this.claimType = new ClaimTypeService(this.request);
|
|
72
75
|
this.externalLogin = new ExternalLoginService(this.request);
|
|
73
76
|
this.organizationUnit = new OrganizationUnitService(this.request);
|
|
@@ -766,6 +766,35 @@ export const $PagedResultDto_IdentityUserDto = {
|
|
|
766
766
|
additionalProperties: false
|
|
767
767
|
} as const;
|
|
768
768
|
|
|
769
|
+
export const $PagedResultDto_NameAndIdDto = {
|
|
770
|
+
type: 'object',
|
|
771
|
+
properties: {
|
|
772
|
+
items: {
|
|
773
|
+
type: 'array',
|
|
774
|
+
items: {
|
|
775
|
+
type: 'object',
|
|
776
|
+
properties: {
|
|
777
|
+
id: {
|
|
778
|
+
type: 'string',
|
|
779
|
+
format: 'uuid'
|
|
780
|
+
},
|
|
781
|
+
fullName: {
|
|
782
|
+
type: 'string',
|
|
783
|
+
nullable: true
|
|
784
|
+
}
|
|
785
|
+
},
|
|
786
|
+
additionalProperties: false
|
|
787
|
+
},
|
|
788
|
+
nullable: true
|
|
789
|
+
},
|
|
790
|
+
totalCount: {
|
|
791
|
+
type: 'integer',
|
|
792
|
+
format: 'int64'
|
|
793
|
+
}
|
|
794
|
+
},
|
|
795
|
+
additionalProperties: false
|
|
796
|
+
} as const;
|
|
797
|
+
|
|
769
798
|
export const $PagedResultDto_OrganizationUnitWithDetailsDto = {
|
|
770
799
|
type: 'object',
|
|
771
800
|
properties: {
|
|
@@ -984,6 +1013,21 @@ export const $UniRefund_IdentityService_AssignableRoles_UpsertAssignableRoleDto
|
|
|
984
1013
|
additionalProperties: false
|
|
985
1014
|
} as const;
|
|
986
1015
|
|
|
1016
|
+
export const $UniRefund_IdentityService_Users_NameAndIdDto = {
|
|
1017
|
+
type: 'object',
|
|
1018
|
+
properties: {
|
|
1019
|
+
id: {
|
|
1020
|
+
type: 'string',
|
|
1021
|
+
format: 'uuid'
|
|
1022
|
+
},
|
|
1023
|
+
fullName: {
|
|
1024
|
+
type: 'string',
|
|
1025
|
+
nullable: true
|
|
1026
|
+
}
|
|
1027
|
+
},
|
|
1028
|
+
additionalProperties: false
|
|
1029
|
+
} as const;
|
|
1030
|
+
|
|
987
1031
|
export const $Volo_Abp_Account_AccountExternalProviderSettingsDto = {
|
|
988
1032
|
type: 'object',
|
|
989
1033
|
properties: {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import type { CancelablePromise } from './core/CancelablePromise';
|
|
4
4
|
import type { BaseHttpRequest } from './core/BaseHttpRequest';
|
|
5
|
-
import type { GetApiAbpApiDefinitionData, GetApiAbpApiDefinitionResponse, GetApiAbpApplicationConfigurationData, GetApiAbpApplicationConfigurationResponse, GetApiAbpApplicationLocalizationData, GetApiAbpApplicationLocalizationResponse, GetApiAccountAdminSettingsResponse, PutApiAccountAdminSettingsData, PutApiAccountAdminSettingsResponse, GetApiAccountAdminSettingsTwoFactorResponse, PutApiAccountAdminSettingsTwoFactorData, PutApiAccountAdminSettingsTwoFactorResponse, GetApiAccountAdminSettingsRecaptchaResponse, PutApiAccountAdminSettingsRecaptchaData, PutApiAccountAdminSettingsRecaptchaResponse, GetApiAccountAdminSettingsExternalProviderResponse, PutApiAccountAdminSettingsExternalProviderData, PutApiAccountAdminSettingsExternalProviderResponse, GetApiOpeniddictApplicationsByIdData, GetApiOpeniddictApplicationsByIdResponse, PutApiOpeniddictApplicationsByIdData, PutApiOpeniddictApplicationsByIdResponse, GetApiOpeniddictApplicationsData, GetApiOpeniddictApplicationsResponse, PostApiOpeniddictApplicationsData, PostApiOpeniddictApplicationsResponse, DeleteApiOpeniddictApplicationsData, DeleteApiOpeniddictApplicationsResponse, GetApiOpeniddictApplicationsByIdTokenLifetimeData, GetApiOpeniddictApplicationsByIdTokenLifetimeResponse, PutApiOpeniddictApplicationsByIdTokenLifetimeData, PutApiOpeniddictApplicationsByIdTokenLifetimeResponse,
|
|
5
|
+
import type { GetApiAbpApiDefinitionData, GetApiAbpApiDefinitionResponse, GetApiAbpApplicationConfigurationData, GetApiAbpApplicationConfigurationResponse, GetApiAbpApplicationLocalizationData, GetApiAbpApplicationLocalizationResponse, GetApiAccountAdminSettingsResponse, PutApiAccountAdminSettingsData, PutApiAccountAdminSettingsResponse, GetApiAccountAdminSettingsTwoFactorResponse, PutApiAccountAdminSettingsTwoFactorData, PutApiAccountAdminSettingsTwoFactorResponse, GetApiAccountAdminSettingsRecaptchaResponse, PutApiAccountAdminSettingsRecaptchaData, PutApiAccountAdminSettingsRecaptchaResponse, GetApiAccountAdminSettingsExternalProviderResponse, PutApiAccountAdminSettingsExternalProviderData, PutApiAccountAdminSettingsExternalProviderResponse, GetApiOpeniddictApplicationsByIdData, GetApiOpeniddictApplicationsByIdResponse, PutApiOpeniddictApplicationsByIdData, PutApiOpeniddictApplicationsByIdResponse, GetApiOpeniddictApplicationsData, GetApiOpeniddictApplicationsResponse, PostApiOpeniddictApplicationsData, PostApiOpeniddictApplicationsResponse, DeleteApiOpeniddictApplicationsData, DeleteApiOpeniddictApplicationsResponse, GetApiOpeniddictApplicationsByIdTokenLifetimeData, GetApiOpeniddictApplicationsByIdTokenLifetimeResponse, PutApiOpeniddictApplicationsByIdTokenLifetimeData, PutApiOpeniddictApplicationsByIdTokenLifetimeResponse, GetApiIdentityAssignableRolesAllRolesWithAssignableByRoleIdData, GetApiIdentityAssignableRolesAllRolesWithAssignableByRoleIdResponse, PutApiIdentityAssignableRolesData, PutApiIdentityAssignableRolesResponse, GetIntegrationApiAssignableRolesCheckAssignableRoleByUserByUserIdByRoleIdData, GetIntegrationApiAssignableRolesCheckAssignableRoleByUserByUserIdByRoleIdResponse, GetApiIdentityClaimTypesData, GetApiIdentityClaimTypesResponse, PostApiIdentityClaimTypesData, PostApiIdentityClaimTypesResponse, GetApiIdentityClaimTypesByIdData, GetApiIdentityClaimTypesByIdResponse, PutApiIdentityClaimTypesByIdData, PutApiIdentityClaimTypesByIdResponse, DeleteApiIdentityClaimTypesByIdData, DeleteApiIdentityClaimTypesByIdResponse, PostApiIdentityExternalLoginResponse, PutApiIdentityOrganizationUnitsByIdRolesData, PutApiIdentityOrganizationUnitsByIdRolesResponse, GetApiIdentityOrganizationUnitsByIdRolesData, GetApiIdentityOrganizationUnitsByIdRolesResponse, PutApiIdentityOrganizationUnitsByIdMembersData, PutApiIdentityOrganizationUnitsByIdMembersResponse, GetApiIdentityOrganizationUnitsByIdMembersData, GetApiIdentityOrganizationUnitsByIdMembersResponse, PostApiIdentityOrganizationUnitsData, PostApiIdentityOrganizationUnitsResponse, DeleteApiIdentityOrganizationUnitsData, DeleteApiIdentityOrganizationUnitsResponse, GetApiIdentityOrganizationUnitsData, GetApiIdentityOrganizationUnitsResponse, GetApiIdentityOrganizationUnitsByIdData, GetApiIdentityOrganizationUnitsByIdResponse, PutApiIdentityOrganizationUnitsByIdData, PutApiIdentityOrganizationUnitsByIdResponse, GetApiIdentityOrganizationUnitsAllResponse, PutApiIdentityOrganizationUnitsByIdMoveData, PutApiIdentityOrganizationUnitsByIdMoveResponse, GetApiIdentityOrganizationUnitsAvailableUsersData, GetApiIdentityOrganizationUnitsAvailableUsersResponse, GetApiIdentityOrganizationUnitsAvailableRolesData, GetApiIdentityOrganizationUnitsAvailableRolesResponse, PutApiIdentityOrganizationUnitsByIdMoveAllUsersData, PutApiIdentityOrganizationUnitsByIdMoveAllUsersResponse, DeleteApiIdentityOrganizationUnitsByIdMembersByMemberIdData, DeleteApiIdentityOrganizationUnitsByIdMembersByMemberIdResponse, DeleteApiIdentityOrganizationUnitsByIdRolesByRoleIdData, DeleteApiIdentityOrganizationUnitsByIdRolesByRoleIdResponse, GetApiIdentityRolesAssignableRolesByCurrentUserResponse, GetApiIdentityRolesByIdData, GetApiIdentityRolesByIdResponse, PutApiIdentityRolesByIdData, PutApiIdentityRolesByIdResponse, DeleteApiIdentityRolesByIdData, DeleteApiIdentityRolesByIdResponse, PostApiIdentityRolesData, PostApiIdentityRolesResponse, GetApiIdentityRolesData, GetApiIdentityRolesResponse, GetApiIdentityRolesAllResponse, PutApiIdentityRolesByIdClaimsData, PutApiIdentityRolesByIdClaimsResponse, GetApiIdentityRolesByIdClaimsData, GetApiIdentityRolesByIdClaimsResponse, PutApiIdentityRolesByIdMoveAllUsersData, PutApiIdentityRolesByIdMoveAllUsersResponse, GetApiIdentityRolesAllClaimTypesResponse, GetApiOpeniddictScopesByIdData, GetApiOpeniddictScopesByIdResponse, PutApiOpeniddictScopesByIdData, PutApiOpeniddictScopesByIdResponse, GetApiOpeniddictScopesData, GetApiOpeniddictScopesResponse, PostApiOpeniddictScopesData, PostApiOpeniddictScopesResponse, DeleteApiOpeniddictScopesData, DeleteApiOpeniddictScopesResponse, GetApiOpeniddictScopesAllResponse, GetApiIdentitySecurityLogsData, GetApiIdentitySecurityLogsResponse, GetApiIdentitySecurityLogsByIdData, GetApiIdentitySecurityLogsByIdResponse, GetApiIdentitySessionsData, GetApiIdentitySessionsResponse, GetApiIdentitySessionsByIdData, GetApiIdentitySessionsByIdResponse, DeleteApiIdentitySessionsByIdData, DeleteApiIdentitySessionsByIdResponse, GetApiIdentitySettingsResponse, PutApiIdentitySettingsData, PutApiIdentitySettingsResponse, GetApiIdentitySettingsLdapResponse, PutApiIdentitySettingsLdapData, PutApiIdentitySettingsLdapResponse, GetApiIdentitySettingsOauthResponse, PutApiIdentitySettingsOauthData, PutApiIdentitySettingsOauthResponse, GetApiIdentitySettingsSessionResponse, PutApiIdentitySettingsSessionData, PutApiIdentitySettingsSessionResponse, PutApiIdentityUsersByIdAssignRolesData, PutApiIdentityUsersByIdAssignRolesResponse, GetApiIdentityUsersByIdData, GetApiIdentityUsersByIdResponse, PutApiIdentityUsersByIdData, PutApiIdentityUsersByIdResponse, DeleteApiIdentityUsersByIdData, DeleteApiIdentityUsersByIdResponse, GetApiIdentityUsersData, GetApiIdentityUsersResponse, PostApiIdentityUsersData, PostApiIdentityUsersResponse, GetApiIdentityUsersByIdByIdData, GetApiIdentityUsersByIdByIdResponse, GetApiIdentityUsersByIdRolesData, GetApiIdentityUsersByIdRolesResponse, PutApiIdentityUsersByIdRolesData, PutApiIdentityUsersByIdRolesResponse, GetApiIdentityUsersAssignableRolesResponse, GetApiIdentityUsersAvailableOrganizationUnitsResponse, GetApiIdentityUsersAllClaimTypesResponse, GetApiIdentityUsersByIdClaimsData, GetApiIdentityUsersByIdClaimsResponse, PutApiIdentityUsersByIdClaimsData, PutApiIdentityUsersByIdClaimsResponse, GetApiIdentityUsersByIdOrganizationUnitsData, GetApiIdentityUsersByIdOrganizationUnitsResponse, PutApiIdentityUsersByIdLockByLockoutEndData, PutApiIdentityUsersByIdLockByLockoutEndResponse, PutApiIdentityUsersByIdUnlockData, PutApiIdentityUsersByIdUnlockResponse, GetApiIdentityUsersByUsernameByUsernameData, GetApiIdentityUsersByUsernameByUsernameResponse, GetApiIdentityUsersByEmailByEmailData, GetApiIdentityUsersByEmailByEmailResponse, GetApiIdentityUsersByIdTwoFactorEnabledData, GetApiIdentityUsersByIdTwoFactorEnabledResponse, PutApiIdentityUsersByIdTwoFactorByEnabledData, PutApiIdentityUsersByIdTwoFactorByEnabledResponse, PutApiIdentityUsersByIdChangePasswordData, PutApiIdentityUsersByIdChangePasswordResponse, GetApiIdentityUsersLookupRolesResponse, GetApiIdentityUsersLookupOrganizationUnitsResponse, GetApiIdentityUsersExternalLoginProvidersResponse, PostApiIdentityUsersImportExternalUserData, PostApiIdentityUsersImportExternalUserResponse, GetApiIdentityUsersExportAsExcelData, GetApiIdentityUsersExportAsExcelResponse, GetApiIdentityUsersExportAsCsvData, GetApiIdentityUsersExportAsCsvResponse, GetApiIdentityUsersDownloadTokenResponse, GetApiIdentityUsersImportUsersSampleFileData, GetApiIdentityUsersImportUsersSampleFileResponse, PostApiIdentityUsersImportUsersFromFileData, PostApiIdentityUsersImportUsersFromFileResponse, GetApiIdentityUsersDownloadImportInvalidUsersFileData, GetApiIdentityUsersDownloadImportInvalidUsersFileResponse, PostIntegrationApiUserData, PostIntegrationApiUserResponse, GetIntegrationApiUserNamesByIdsPagedData, GetIntegrationApiUserNamesByIdsPagedResponse, GetIntegrationApiUserNamesByIdsData, GetIntegrationApiUserNamesByIdsResponse, PostIntegrationApiUserByIdRoleByRoleIdData, PostIntegrationApiUserByIdRoleByRoleIdResponse, GetIntegrationApiIdentityUsersByIdRoleNamesData, GetIntegrationApiIdentityUsersByIdRoleNamesResponse, GetIntegrationApiIdentityUsersByIdData, GetIntegrationApiIdentityUsersByIdResponse, GetIntegrationApiIdentityUsersByUsernameByUserNameData, GetIntegrationApiIdentityUsersByUsernameByUserNameResponse, GetIntegrationApiIdentityUsersSearchData, GetIntegrationApiIdentityUsersSearchResponse, GetIntegrationApiIdentityUsersCountData, GetIntegrationApiIdentityUsersCountResponse, GetApiIdentityUsersLookupByIdData, GetApiIdentityUsersLookupByIdResponse, GetApiIdentityUsersLookupByUsernameByUserNameData, GetApiIdentityUsersLookupByUsernameByUserNameResponse, GetApiIdentityUsersLookupSearchData, GetApiIdentityUsersLookupSearchResponse, GetApiIdentityUsersLookupCountData, GetApiIdentityUsersLookupCountResponse } from './types.gen';
|
|
6
6
|
|
|
7
7
|
export class AbpApiDefinitionService {
|
|
8
8
|
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
@@ -455,16 +455,16 @@ export class AssignableRoleService {
|
|
|
455
455
|
|
|
456
456
|
/**
|
|
457
457
|
* @param data The data for the request.
|
|
458
|
-
* @param data.
|
|
458
|
+
* @param data.roleId
|
|
459
459
|
* @returns UniRefund_IdentityService_AssignableRoles_AssignableRoleDto Success
|
|
460
460
|
* @throws ApiError
|
|
461
461
|
*/
|
|
462
|
-
public
|
|
462
|
+
public getApiIdentityAssignableRolesAllRolesWithAssignableByRoleId(data: GetApiIdentityAssignableRolesAllRolesWithAssignableByRoleIdData): CancelablePromise<GetApiIdentityAssignableRolesAllRolesWithAssignableByRoleIdResponse> {
|
|
463
463
|
return this.httpRequest.request({
|
|
464
464
|
method: 'GET',
|
|
465
|
-
url: '/api/identity/assignable-roles/all-roles-with-assignable/{
|
|
465
|
+
url: '/api/identity/assignable-roles/all-roles-with-assignable/{roleId}',
|
|
466
466
|
path: {
|
|
467
|
-
|
|
467
|
+
roleId: data.roleId
|
|
468
468
|
},
|
|
469
469
|
errors: {
|
|
470
470
|
400: 'Bad Request',
|
|
@@ -502,6 +502,37 @@ export class AssignableRoleService {
|
|
|
502
502
|
|
|
503
503
|
}
|
|
504
504
|
|
|
505
|
+
export class AssignableRoleIntegrationService {
|
|
506
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
507
|
+
|
|
508
|
+
/**
|
|
509
|
+
* @param data The data for the request.
|
|
510
|
+
* @param data.userId
|
|
511
|
+
* @param data.roleId
|
|
512
|
+
* @returns unknown Success
|
|
513
|
+
* @throws ApiError
|
|
514
|
+
*/
|
|
515
|
+
public getIntegrationApiAssignableRolesCheckAssignableRoleByUserByUserIdByRoleId(data: GetIntegrationApiAssignableRolesCheckAssignableRoleByUserByUserIdByRoleIdData): CancelablePromise<GetIntegrationApiAssignableRolesCheckAssignableRoleByUserByUserIdByRoleIdResponse> {
|
|
516
|
+
return this.httpRequest.request({
|
|
517
|
+
method: 'GET',
|
|
518
|
+
url: '/integration-api/assignable-roles/check-assignable-role-by-user/{userId}/{roleId}',
|
|
519
|
+
path: {
|
|
520
|
+
userId: data.userId,
|
|
521
|
+
roleId: data.roleId
|
|
522
|
+
},
|
|
523
|
+
errors: {
|
|
524
|
+
400: 'Bad Request',
|
|
525
|
+
401: 'Unauthorized',
|
|
526
|
+
403: 'Forbidden',
|
|
527
|
+
404: 'Not Found',
|
|
528
|
+
500: 'Server Error',
|
|
529
|
+
501: 'Server Error'
|
|
530
|
+
}
|
|
531
|
+
});
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
}
|
|
535
|
+
|
|
505
536
|
export class ClaimTypeService {
|
|
506
537
|
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
507
538
|
|
|
@@ -1145,6 +1176,25 @@ export class OrganizationUnitService {
|
|
|
1145
1176
|
export class RoleService {
|
|
1146
1177
|
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
1147
1178
|
|
|
1179
|
+
/**
|
|
1180
|
+
* @returns UniRefund_IdentityService_AssignableRoles_AssignableRoleDto Success
|
|
1181
|
+
* @throws ApiError
|
|
1182
|
+
*/
|
|
1183
|
+
public getApiIdentityRolesAssignableRolesByCurrentUser(): CancelablePromise<GetApiIdentityRolesAssignableRolesByCurrentUserResponse> {
|
|
1184
|
+
return this.httpRequest.request({
|
|
1185
|
+
method: 'GET',
|
|
1186
|
+
url: '/api/identity/roles/assignable-roles-by-current-user',
|
|
1187
|
+
errors: {
|
|
1188
|
+
400: 'Bad Request',
|
|
1189
|
+
401: 'Unauthorized',
|
|
1190
|
+
403: 'Forbidden',
|
|
1191
|
+
404: 'Not Found',
|
|
1192
|
+
500: 'Server Error',
|
|
1193
|
+
501: 'Server Error'
|
|
1194
|
+
}
|
|
1195
|
+
});
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1148
1198
|
/**
|
|
1149
1199
|
* @param data The data for the request.
|
|
1150
1200
|
* @param data.id
|
|
@@ -1893,10 +1943,10 @@ export class UserService {
|
|
|
1893
1943
|
* @returns unknown Success
|
|
1894
1944
|
* @throws ApiError
|
|
1895
1945
|
*/
|
|
1896
|
-
public
|
|
1946
|
+
public putApiIdentityUsersByIdAssignRoles(data: PutApiIdentityUsersByIdAssignRolesData): CancelablePromise<PutApiIdentityUsersByIdAssignRolesResponse> {
|
|
1897
1947
|
return this.httpRequest.request({
|
|
1898
1948
|
method: 'PUT',
|
|
1899
|
-
url: '/api/identity/users/{id}/
|
|
1949
|
+
url: '/api/identity/users/{id}/assign-roles',
|
|
1900
1950
|
path: {
|
|
1901
1951
|
id: data.id
|
|
1902
1952
|
},
|
|
@@ -2787,6 +2837,84 @@ export class UserIntegrationService {
|
|
|
2787
2837
|
});
|
|
2788
2838
|
}
|
|
2789
2839
|
|
|
2840
|
+
/**
|
|
2841
|
+
* @param data The data for the request.
|
|
2842
|
+
* @param data.ids
|
|
2843
|
+
* @param data.skipCount
|
|
2844
|
+
* @param data.maxResultCount
|
|
2845
|
+
* @returns PagedResultDto_NameAndIdDto Success
|
|
2846
|
+
* @throws ApiError
|
|
2847
|
+
*/
|
|
2848
|
+
public getIntegrationApiUserNamesByIdsPaged(data: GetIntegrationApiUserNamesByIdsPagedData): CancelablePromise<GetIntegrationApiUserNamesByIdsPagedResponse> {
|
|
2849
|
+
return this.httpRequest.request({
|
|
2850
|
+
method: 'GET',
|
|
2851
|
+
url: '/integration-api/user/names-by-ids-paged',
|
|
2852
|
+
query: {
|
|
2853
|
+
Ids: data.ids,
|
|
2854
|
+
SkipCount: data.skipCount,
|
|
2855
|
+
MaxResultCount: data.maxResultCount
|
|
2856
|
+
},
|
|
2857
|
+
errors: {
|
|
2858
|
+
400: 'Bad Request',
|
|
2859
|
+
401: 'Unauthorized',
|
|
2860
|
+
403: 'Forbidden',
|
|
2861
|
+
404: 'Not Found',
|
|
2862
|
+
500: 'Server Error',
|
|
2863
|
+
501: 'Server Error'
|
|
2864
|
+
}
|
|
2865
|
+
});
|
|
2866
|
+
}
|
|
2867
|
+
|
|
2868
|
+
/**
|
|
2869
|
+
* @param data The data for the request.
|
|
2870
|
+
* @param data.ids
|
|
2871
|
+
* @returns UniRefund_IdentityService_Users_NameAndIdDto Success
|
|
2872
|
+
* @throws ApiError
|
|
2873
|
+
*/
|
|
2874
|
+
public getIntegrationApiUserNamesByIds(data: GetIntegrationApiUserNamesByIdsData): CancelablePromise<GetIntegrationApiUserNamesByIdsResponse> {
|
|
2875
|
+
return this.httpRequest.request({
|
|
2876
|
+
method: 'GET',
|
|
2877
|
+
url: '/integration-api/user/names-by-ids',
|
|
2878
|
+
query: {
|
|
2879
|
+
Ids: data.ids
|
|
2880
|
+
},
|
|
2881
|
+
errors: {
|
|
2882
|
+
400: 'Bad Request',
|
|
2883
|
+
401: 'Unauthorized',
|
|
2884
|
+
403: 'Forbidden',
|
|
2885
|
+
404: 'Not Found',
|
|
2886
|
+
500: 'Server Error',
|
|
2887
|
+
501: 'Server Error'
|
|
2888
|
+
}
|
|
2889
|
+
});
|
|
2890
|
+
}
|
|
2891
|
+
|
|
2892
|
+
/**
|
|
2893
|
+
* @param data The data for the request.
|
|
2894
|
+
* @param data.id
|
|
2895
|
+
* @param data.roleId
|
|
2896
|
+
* @returns unknown Success
|
|
2897
|
+
* @throws ApiError
|
|
2898
|
+
*/
|
|
2899
|
+
public postIntegrationApiUserByIdRoleByRoleId(data: PostIntegrationApiUserByIdRoleByRoleIdData): CancelablePromise<PostIntegrationApiUserByIdRoleByRoleIdResponse> {
|
|
2900
|
+
return this.httpRequest.request({
|
|
2901
|
+
method: 'POST',
|
|
2902
|
+
url: '/integration-api/user/{id}/role/{roleId}',
|
|
2903
|
+
path: {
|
|
2904
|
+
id: data.id,
|
|
2905
|
+
roleId: data.roleId
|
|
2906
|
+
},
|
|
2907
|
+
errors: {
|
|
2908
|
+
400: 'Bad Request',
|
|
2909
|
+
401: 'Unauthorized',
|
|
2910
|
+
403: 'Forbidden',
|
|
2911
|
+
404: 'Not Found',
|
|
2912
|
+
500: 'Server Error',
|
|
2913
|
+
501: 'Server Error'
|
|
2914
|
+
}
|
|
2915
|
+
});
|
|
2916
|
+
}
|
|
2917
|
+
|
|
2790
2918
|
/**
|
|
2791
2919
|
* @param data The data for the request.
|
|
2792
2920
|
* @param data.id
|
|
@@ -42,6 +42,11 @@ export type PagedResultDto_IdentityUserDto = {
|
|
|
42
42
|
totalCount?: number;
|
|
43
43
|
};
|
|
44
44
|
|
|
45
|
+
export type PagedResultDto_NameAndIdDto = {
|
|
46
|
+
items?: Array<UniRefund_IdentityService_Users_NameAndIdDto> | null;
|
|
47
|
+
totalCount?: number;
|
|
48
|
+
};
|
|
49
|
+
|
|
45
50
|
export type PagedResultDto_OrganizationUnitWithDetailsDto = {
|
|
46
51
|
items?: Array<Volo_Abp_Identity_OrganizationUnitWithDetailsDto> | null;
|
|
47
52
|
totalCount?: number;
|
|
@@ -63,6 +68,11 @@ export type UniRefund_IdentityService_AssignableRoles_UpsertAssignableRoleDto =
|
|
|
63
68
|
targetRoleIds?: Array<(string)> | null;
|
|
64
69
|
};
|
|
65
70
|
|
|
71
|
+
export type UniRefund_IdentityService_Users_NameAndIdDto = {
|
|
72
|
+
id?: string;
|
|
73
|
+
fullName?: string | null;
|
|
74
|
+
};
|
|
75
|
+
|
|
66
76
|
export type Volo_Abp_Account_AccountExternalProviderSettingsDto = {
|
|
67
77
|
settings?: Array<Volo_Abp_Account_ExternalProviders_ExternalProviderSettings> | null;
|
|
68
78
|
};
|
|
@@ -1101,11 +1111,11 @@ export type PutApiOpeniddictApplicationsByIdTokenLifetimeData = {
|
|
|
1101
1111
|
|
|
1102
1112
|
export type PutApiOpeniddictApplicationsByIdTokenLifetimeResponse = unknown;
|
|
1103
1113
|
|
|
1104
|
-
export type
|
|
1105
|
-
|
|
1114
|
+
export type GetApiIdentityAssignableRolesAllRolesWithAssignableByRoleIdData = {
|
|
1115
|
+
roleId: string;
|
|
1106
1116
|
};
|
|
1107
1117
|
|
|
1108
|
-
export type
|
|
1118
|
+
export type GetApiIdentityAssignableRolesAllRolesWithAssignableByRoleIdResponse = Array<UniRefund_IdentityService_AssignableRoles_AssignableRoleDto>;
|
|
1109
1119
|
|
|
1110
1120
|
export type PutApiIdentityAssignableRolesData = {
|
|
1111
1121
|
requestBody?: UniRefund_IdentityService_AssignableRoles_UpsertAssignableRoleDto;
|
|
@@ -1113,6 +1123,13 @@ export type PutApiIdentityAssignableRolesData = {
|
|
|
1113
1123
|
|
|
1114
1124
|
export type PutApiIdentityAssignableRolesResponse = unknown;
|
|
1115
1125
|
|
|
1126
|
+
export type GetIntegrationApiAssignableRolesCheckAssignableRoleByUserByUserIdByRoleIdData = {
|
|
1127
|
+
roleId: string;
|
|
1128
|
+
userId: string;
|
|
1129
|
+
};
|
|
1130
|
+
|
|
1131
|
+
export type GetIntegrationApiAssignableRolesCheckAssignableRoleByUserByUserIdByRoleIdResponse = unknown;
|
|
1132
|
+
|
|
1116
1133
|
export type GetApiIdentityClaimTypesData = {
|
|
1117
1134
|
extraProperties?: {
|
|
1118
1135
|
[key: string]: unknown;
|
|
@@ -1296,6 +1313,8 @@ export type DeleteApiIdentityOrganizationUnitsByIdRolesByRoleIdData = {
|
|
|
1296
1313
|
|
|
1297
1314
|
export type DeleteApiIdentityOrganizationUnitsByIdRolesByRoleIdResponse = unknown;
|
|
1298
1315
|
|
|
1316
|
+
export type GetApiIdentityRolesAssignableRolesByCurrentUserResponse = Array<UniRefund_IdentityService_AssignableRoles_AssignableRoleDto>;
|
|
1317
|
+
|
|
1299
1318
|
export type GetApiIdentityRolesByIdData = {
|
|
1300
1319
|
id: string;
|
|
1301
1320
|
};
|
|
@@ -1476,12 +1495,12 @@ export type PutApiIdentitySettingsSessionData = {
|
|
|
1476
1495
|
|
|
1477
1496
|
export type PutApiIdentitySettingsSessionResponse = unknown;
|
|
1478
1497
|
|
|
1479
|
-
export type
|
|
1498
|
+
export type PutApiIdentityUsersByIdAssignRolesData = {
|
|
1480
1499
|
id: string;
|
|
1481
1500
|
requestBody?: Array<(string)>;
|
|
1482
1501
|
};
|
|
1483
1502
|
|
|
1484
|
-
export type
|
|
1503
|
+
export type PutApiIdentityUsersByIdAssignRolesResponse = unknown;
|
|
1485
1504
|
|
|
1486
1505
|
export type GetApiIdentityUsersByIdData = {
|
|
1487
1506
|
id: string;
|
|
@@ -1722,6 +1741,27 @@ export type PostIntegrationApiUserData = {
|
|
|
1722
1741
|
|
|
1723
1742
|
export type PostIntegrationApiUserResponse = Volo_Abp_Identity_IdentityUserDto;
|
|
1724
1743
|
|
|
1744
|
+
export type GetIntegrationApiUserNamesByIdsPagedData = {
|
|
1745
|
+
ids: Array<(string)>;
|
|
1746
|
+
maxResultCount?: number;
|
|
1747
|
+
skipCount?: number;
|
|
1748
|
+
};
|
|
1749
|
+
|
|
1750
|
+
export type GetIntegrationApiUserNamesByIdsPagedResponse = PagedResultDto_NameAndIdDto;
|
|
1751
|
+
|
|
1752
|
+
export type GetIntegrationApiUserNamesByIdsData = {
|
|
1753
|
+
ids: Array<(string)>;
|
|
1754
|
+
};
|
|
1755
|
+
|
|
1756
|
+
export type GetIntegrationApiUserNamesByIdsResponse = Array<UniRefund_IdentityService_Users_NameAndIdDto>;
|
|
1757
|
+
|
|
1758
|
+
export type PostIntegrationApiUserByIdRoleByRoleIdData = {
|
|
1759
|
+
id: string;
|
|
1760
|
+
roleId: string;
|
|
1761
|
+
};
|
|
1762
|
+
|
|
1763
|
+
export type PostIntegrationApiUserByIdRoleByRoleIdResponse = unknown;
|
|
1764
|
+
|
|
1725
1765
|
export type GetIntegrationApiIdentityUsersByIdRoleNamesData = {
|
|
1726
1766
|
id: string;
|
|
1727
1767
|
};
|
|
@@ -2399,9 +2439,9 @@ export type $OpenApiTs = {
|
|
|
2399
2439
|
};
|
|
2400
2440
|
};
|
|
2401
2441
|
};
|
|
2402
|
-
'/api/identity/assignable-roles/all-roles-with-assignable/{
|
|
2442
|
+
'/api/identity/assignable-roles/all-roles-with-assignable/{roleId}': {
|
|
2403
2443
|
get: {
|
|
2404
|
-
req:
|
|
2444
|
+
req: GetApiIdentityAssignableRolesAllRolesWithAssignableByRoleIdData;
|
|
2405
2445
|
res: {
|
|
2406
2446
|
/**
|
|
2407
2447
|
* Success
|
|
@@ -2469,6 +2509,41 @@ export type $OpenApiTs = {
|
|
|
2469
2509
|
};
|
|
2470
2510
|
};
|
|
2471
2511
|
};
|
|
2512
|
+
'/integration-api/assignable-roles/check-assignable-role-by-user/{userId}/{roleId}': {
|
|
2513
|
+
get: {
|
|
2514
|
+
req: GetIntegrationApiAssignableRolesCheckAssignableRoleByUserByUserIdByRoleIdData;
|
|
2515
|
+
res: {
|
|
2516
|
+
/**
|
|
2517
|
+
* Success
|
|
2518
|
+
*/
|
|
2519
|
+
200: unknown;
|
|
2520
|
+
/**
|
|
2521
|
+
* Bad Request
|
|
2522
|
+
*/
|
|
2523
|
+
400: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
2524
|
+
/**
|
|
2525
|
+
* Unauthorized
|
|
2526
|
+
*/
|
|
2527
|
+
401: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
2528
|
+
/**
|
|
2529
|
+
* Forbidden
|
|
2530
|
+
*/
|
|
2531
|
+
403: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
2532
|
+
/**
|
|
2533
|
+
* Not Found
|
|
2534
|
+
*/
|
|
2535
|
+
404: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
2536
|
+
/**
|
|
2537
|
+
* Server Error
|
|
2538
|
+
*/
|
|
2539
|
+
500: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
2540
|
+
/**
|
|
2541
|
+
* Server Error
|
|
2542
|
+
*/
|
|
2543
|
+
501: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
2544
|
+
};
|
|
2545
|
+
};
|
|
2546
|
+
};
|
|
2472
2547
|
'/api/identity/claim-types': {
|
|
2473
2548
|
get: {
|
|
2474
2549
|
req: GetApiIdentityClaimTypesData;
|
|
@@ -3221,6 +3296,40 @@ export type $OpenApiTs = {
|
|
|
3221
3296
|
};
|
|
3222
3297
|
};
|
|
3223
3298
|
};
|
|
3299
|
+
'/api/identity/roles/assignable-roles-by-current-user': {
|
|
3300
|
+
get: {
|
|
3301
|
+
res: {
|
|
3302
|
+
/**
|
|
3303
|
+
* Success
|
|
3304
|
+
*/
|
|
3305
|
+
200: Array<UniRefund_IdentityService_AssignableRoles_AssignableRoleDto>;
|
|
3306
|
+
/**
|
|
3307
|
+
* Bad Request
|
|
3308
|
+
*/
|
|
3309
|
+
400: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
3310
|
+
/**
|
|
3311
|
+
* Unauthorized
|
|
3312
|
+
*/
|
|
3313
|
+
401: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
3314
|
+
/**
|
|
3315
|
+
* Forbidden
|
|
3316
|
+
*/
|
|
3317
|
+
403: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
3318
|
+
/**
|
|
3319
|
+
* Not Found
|
|
3320
|
+
*/
|
|
3321
|
+
404: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
3322
|
+
/**
|
|
3323
|
+
* Server Error
|
|
3324
|
+
*/
|
|
3325
|
+
500: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
3326
|
+
/**
|
|
3327
|
+
* Server Error
|
|
3328
|
+
*/
|
|
3329
|
+
501: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
3330
|
+
};
|
|
3331
|
+
};
|
|
3332
|
+
};
|
|
3224
3333
|
'/api/identity/roles/{id}': {
|
|
3225
3334
|
get: {
|
|
3226
3335
|
req: GetApiIdentityRolesByIdData;
|
|
@@ -4205,9 +4314,9 @@ export type $OpenApiTs = {
|
|
|
4205
4314
|
};
|
|
4206
4315
|
};
|
|
4207
4316
|
};
|
|
4208
|
-
'/api/identity/users/{id}/
|
|
4317
|
+
'/api/identity/users/{id}/assign-roles': {
|
|
4209
4318
|
put: {
|
|
4210
|
-
req:
|
|
4319
|
+
req: PutApiIdentityUsersByIdAssignRolesData;
|
|
4211
4320
|
res: {
|
|
4212
4321
|
/**
|
|
4213
4322
|
* Success
|
|
@@ -5343,6 +5452,111 @@ export type $OpenApiTs = {
|
|
|
5343
5452
|
};
|
|
5344
5453
|
};
|
|
5345
5454
|
};
|
|
5455
|
+
'/integration-api/user/names-by-ids-paged': {
|
|
5456
|
+
get: {
|
|
5457
|
+
req: GetIntegrationApiUserNamesByIdsPagedData;
|
|
5458
|
+
res: {
|
|
5459
|
+
/**
|
|
5460
|
+
* Success
|
|
5461
|
+
*/
|
|
5462
|
+
200: PagedResultDto_NameAndIdDto;
|
|
5463
|
+
/**
|
|
5464
|
+
* Bad Request
|
|
5465
|
+
*/
|
|
5466
|
+
400: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
5467
|
+
/**
|
|
5468
|
+
* Unauthorized
|
|
5469
|
+
*/
|
|
5470
|
+
401: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
5471
|
+
/**
|
|
5472
|
+
* Forbidden
|
|
5473
|
+
*/
|
|
5474
|
+
403: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
5475
|
+
/**
|
|
5476
|
+
* Not Found
|
|
5477
|
+
*/
|
|
5478
|
+
404: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
5479
|
+
/**
|
|
5480
|
+
* Server Error
|
|
5481
|
+
*/
|
|
5482
|
+
500: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
5483
|
+
/**
|
|
5484
|
+
* Server Error
|
|
5485
|
+
*/
|
|
5486
|
+
501: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
5487
|
+
};
|
|
5488
|
+
};
|
|
5489
|
+
};
|
|
5490
|
+
'/integration-api/user/names-by-ids': {
|
|
5491
|
+
get: {
|
|
5492
|
+
req: GetIntegrationApiUserNamesByIdsData;
|
|
5493
|
+
res: {
|
|
5494
|
+
/**
|
|
5495
|
+
* Success
|
|
5496
|
+
*/
|
|
5497
|
+
200: Array<UniRefund_IdentityService_Users_NameAndIdDto>;
|
|
5498
|
+
/**
|
|
5499
|
+
* Bad Request
|
|
5500
|
+
*/
|
|
5501
|
+
400: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
5502
|
+
/**
|
|
5503
|
+
* Unauthorized
|
|
5504
|
+
*/
|
|
5505
|
+
401: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
5506
|
+
/**
|
|
5507
|
+
* Forbidden
|
|
5508
|
+
*/
|
|
5509
|
+
403: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
5510
|
+
/**
|
|
5511
|
+
* Not Found
|
|
5512
|
+
*/
|
|
5513
|
+
404: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
5514
|
+
/**
|
|
5515
|
+
* Server Error
|
|
5516
|
+
*/
|
|
5517
|
+
500: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
5518
|
+
/**
|
|
5519
|
+
* Server Error
|
|
5520
|
+
*/
|
|
5521
|
+
501: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
5522
|
+
};
|
|
5523
|
+
};
|
|
5524
|
+
};
|
|
5525
|
+
'/integration-api/user/{id}/role/{roleId}': {
|
|
5526
|
+
post: {
|
|
5527
|
+
req: PostIntegrationApiUserByIdRoleByRoleIdData;
|
|
5528
|
+
res: {
|
|
5529
|
+
/**
|
|
5530
|
+
* Success
|
|
5531
|
+
*/
|
|
5532
|
+
200: unknown;
|
|
5533
|
+
/**
|
|
5534
|
+
* Bad Request
|
|
5535
|
+
*/
|
|
5536
|
+
400: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
5537
|
+
/**
|
|
5538
|
+
* Unauthorized
|
|
5539
|
+
*/
|
|
5540
|
+
401: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
5541
|
+
/**
|
|
5542
|
+
* Forbidden
|
|
5543
|
+
*/
|
|
5544
|
+
403: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
5545
|
+
/**
|
|
5546
|
+
* Not Found
|
|
5547
|
+
*/
|
|
5548
|
+
404: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
5549
|
+
/**
|
|
5550
|
+
* Server Error
|
|
5551
|
+
*/
|
|
5552
|
+
500: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
5553
|
+
/**
|
|
5554
|
+
* Server Error
|
|
5555
|
+
*/
|
|
5556
|
+
501: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
5557
|
+
};
|
|
5558
|
+
};
|
|
5559
|
+
};
|
|
5346
5560
|
'/integration-api/identity/users/{id}/role-names': {
|
|
5347
5561
|
get: {
|
|
5348
5562
|
req: GetIntegrationApiIdentityUsersByIdRoleNamesData;
|