@ayasofyazilim/saas 0.0.4 → 0.0.5
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/AccountService/index.ts +115 -117
- package/AdministrationService/index.ts +111 -116
- package/IdentityService/IdentityServiceClient.ts +70 -0
- package/IdentityService/core/ApiError.ts +25 -0
- package/IdentityService/core/ApiRequestOptions.ts +17 -0
- package/IdentityService/core/ApiResult.ts +11 -0
- package/IdentityService/core/BaseHttpRequest.ts +14 -0
- package/IdentityService/core/CancelablePromise.ts +131 -0
- package/IdentityService/core/FetchHttpRequest.ts +26 -0
- package/IdentityService/core/OpenAPI.ts +32 -0
- package/IdentityService/core/request.ts +322 -0
- package/IdentityService/index.ts +133 -0
- package/IdentityService/models/Volo_Abp_Account_AccountExternalProviderSettingsDto.ts +9 -0
- package/IdentityService/models/Volo_Abp_Account_AccountRecaptchaSettingsDto.ts +14 -0
- package/IdentityService/models/Volo_Abp_Account_AccountSettingsDto.ts +9 -0
- package/IdentityService/models/Volo_Abp_Account_AccountTwoFactorSettingsDto.ts +11 -0
- package/IdentityService/models/Volo_Abp_Account_ExternalProviders_ExternalProviderSettings.ts +12 -0
- package/IdentityService/models/Volo_Abp_Account_ExternalProviders_ExternalProviderSettingsProperty.ts +9 -0
- package/IdentityService/models/Volo_Abp_Account_UpdateExternalProviderDto.ts +12 -0
- package/IdentityService/models/Volo_Abp_Application_Dtos_ListResultDto_1.ts +9 -0
- package/IdentityService/models/Volo_Abp_Application_Dtos_PagedResultDto_1.ts +10 -0
- package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationAuthConfigurationDto.ts +8 -0
- package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationConfigurationDto.ts +30 -0
- package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationFeatureConfigurationDto.ts +8 -0
- package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationGlobalFeatureConfigurationDto.ts +8 -0
- package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationConfigurationDto.ts +18 -0
- package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationDto.ts +9 -0
- package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationResourceDto.ts +9 -0
- package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationSettingConfigurationDto.ts +8 -0
- package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ClockDto.ts +8 -0
- package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_CurrentCultureDto.ts +17 -0
- package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_CurrentUserDto.ts +22 -0
- package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_DateTimeFormatDto.ts +14 -0
- package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_IanaTimeZone.ts +8 -0
- package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_EntityExtensionDto.ts +10 -0
- package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionEnumDto.ts +10 -0
- package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionEnumFieldDto.ts +9 -0
- package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiCreateDto.ts +8 -0
- package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiDto.ts +13 -0
- package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiGetDto.ts +8 -0
- package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiUpdateDto.ts +8 -0
- package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyAttributeDto.ts +9 -0
- package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyDto.ts +19 -0
- package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiDto.ts +14 -0
- package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiFormDto.ts +8 -0
- package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiLookupDto.ts +12 -0
- package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiTableDto.ts +8 -0
- package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_LocalizableStringDto.ts +9 -0
- package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ModuleExtensionDto.ts +10 -0
- package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ObjectExtensionsDto.ts +11 -0
- package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_TimeZone.ts +11 -0
- package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_TimingDto.ts +9 -0
- package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_WindowsTimeZone.ts +8 -0
- package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_MultiTenancy_CurrentTenantDto.ts +10 -0
- package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_MultiTenancy_MultiTenancyInfoDto.ts +8 -0
- package/IdentityService/models/Volo_Abp_Http_Modeling_ActionApiDescriptionModel.ts +20 -0
- package/IdentityService/models/Volo_Abp_Http_Modeling_ApplicationApiDescriptionModel.ts +11 -0
- package/IdentityService/models/Volo_Abp_Http_Modeling_ControllerApiDescriptionModel.ts +17 -0
- package/IdentityService/models/Volo_Abp_Http_Modeling_ControllerInterfaceApiDescriptionModel.ts +11 -0
- package/IdentityService/models/Volo_Abp_Http_Modeling_InterfaceMethodApiDescriptionModel.ts +12 -0
- package/IdentityService/models/Volo_Abp_Http_Modeling_MethodParameterApiDescriptionModel.ts +13 -0
- package/IdentityService/models/Volo_Abp_Http_Modeling_ModuleApiDescriptionModel.ts +11 -0
- package/IdentityService/models/Volo_Abp_Http_Modeling_ParameterApiDescriptionModel.ts +17 -0
- package/IdentityService/models/Volo_Abp_Http_Modeling_PropertyApiDescriptionModel.ts +17 -0
- package/IdentityService/models/Volo_Abp_Http_Modeling_ReturnValueApiDescriptionModel.ts +9 -0
- package/IdentityService/models/Volo_Abp_Http_Modeling_TypeApiDescriptionModel.ts +14 -0
- package/IdentityService/models/Volo_Abp_Http_RemoteServiceErrorInfo.ts +13 -0
- package/IdentityService/models/Volo_Abp_Http_RemoteServiceErrorResponse.ts +9 -0
- package/IdentityService/models/Volo_Abp_Http_RemoteServiceValidationErrorInfo.ts +9 -0
- package/IdentityService/models/Volo_Abp_Identity_ClaimTypeDto.ts +19 -0
- package/IdentityService/models/Volo_Abp_Identity_CreateClaimTypeDto.ts +15 -0
- package/IdentityService/models/Volo_Abp_Identity_DownloadTokenResultDto.ts +8 -0
- package/IdentityService/models/Volo_Abp_Identity_ExternalLoginProviderDto.ts +9 -0
- package/IdentityService/models/Volo_Abp_Identity_Features_IdentityProTwoFactorBehaviour.ts +9 -0
- package/IdentityService/models/Volo_Abp_Identity_IdentityClaimValueType.ts +10 -0
- package/IdentityService/models/Volo_Abp_Identity_IdentityLdapSettingsDto.ts +15 -0
- package/IdentityService/models/Volo_Abp_Identity_IdentityLockoutSettingsDto.ts +10 -0
- package/IdentityService/models/Volo_Abp_Identity_IdentityOAuthSettingsDto.ts +15 -0
- package/IdentityService/models/Volo_Abp_Identity_IdentityPasswordSettingsDto.ts +15 -0
- package/IdentityService/models/Volo_Abp_Identity_IdentityRoleClaimDto.ts +10 -0
- package/IdentityService/models/Volo_Abp_Identity_IdentityRoleCreateDto.ts +11 -0
- package/IdentityService/models/Volo_Abp_Identity_IdentityRoleDto.ts +15 -0
- package/IdentityService/models/Volo_Abp_Identity_IdentityRoleLookupDto.ts +9 -0
- package/IdentityService/models/Volo_Abp_Identity_IdentityRoleUpdateDto.ts +12 -0
- package/IdentityService/models/Volo_Abp_Identity_IdentitySecurityLogDto.ts +21 -0
- package/IdentityService/models/Volo_Abp_Identity_IdentitySettingsDto.ts +15 -0
- package/IdentityService/models/Volo_Abp_Identity_IdentitySignInSettingsDto.ts +10 -0
- package/IdentityService/models/Volo_Abp_Identity_IdentityUserClaimDto.ts +10 -0
- package/IdentityService/models/Volo_Abp_Identity_IdentityUserCreateDto.ts +20 -0
- package/IdentityService/models/Volo_Abp_Identity_IdentityUserDto.ts +35 -0
- package/IdentityService/models/Volo_Abp_Identity_IdentityUserSettingsDto.ts +9 -0
- package/IdentityService/models/Volo_Abp_Identity_IdentityUserUpdateDto.ts +19 -0
- package/IdentityService/models/Volo_Abp_Identity_IdentityUserUpdatePasswordInput.ts +8 -0
- package/IdentityService/models/Volo_Abp_Identity_IdentityUserUpdateRolesDto.ts +8 -0
- package/IdentityService/models/Volo_Abp_Identity_ImportExternalUserInput.ts +10 -0
- package/IdentityService/models/Volo_Abp_Identity_ImportUsersFromFileOutput.ts +12 -0
- package/IdentityService/models/Volo_Abp_Identity_ImportUsersFromFileType.ts +8 -0
- package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitCreateDto.ts +10 -0
- package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitDto.ts +21 -0
- package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitLookupDto.ts +9 -0
- package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitMoveInput.ts +8 -0
- package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitRoleDto.ts +11 -0
- package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitRoleInput.ts +8 -0
- package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitUpdateDto.ts +10 -0
- package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitUserInput.ts +8 -0
- package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitWithDetailsDto.ts +23 -0
- package/IdentityService/models/Volo_Abp_Identity_UpdateClaimTypeDto.ts +16 -0
- package/IdentityService/models/Volo_Abp_Localization_LanguageInfo.ts +12 -0
- package/IdentityService/models/Volo_Abp_NameValue.ts +9 -0
- package/IdentityService/models/Volo_Abp_OpenIddict_Applications_Dtos_ApplicationDto.ts +29 -0
- package/IdentityService/models/Volo_Abp_OpenIddict_Applications_Dtos_ApplicationTokenLifetimeDto.ts +13 -0
- package/IdentityService/models/Volo_Abp_OpenIddict_Applications_Dtos_CreateApplicationInput.ts +28 -0
- package/IdentityService/models/Volo_Abp_OpenIddict_Applications_Dtos_UpdateApplicationInput.ts +28 -0
- package/IdentityService/models/Volo_Abp_OpenIddict_Scopes_Dtos_CreateScopeInput.ts +12 -0
- package/IdentityService/models/Volo_Abp_OpenIddict_Scopes_Dtos_ScopeDto.ts +14 -0
- package/IdentityService/models/Volo_Abp_OpenIddict_Scopes_Dtos_UpdateScopeInput.ts +12 -0
- package/IdentityService/models/Volo_Abp_Users_UserData.ts +18 -0
- package/IdentityService/services/AbpApiDefinitionService.ts +34 -0
- package/IdentityService/services/AbpApplicationConfigurationService.ts +34 -0
- package/IdentityService/services/AbpApplicationLocalizationService.ts +37 -0
- package/IdentityService/services/AccountSettingsService.ts +178 -0
- package/IdentityService/services/ApplicationsService.ts +199 -0
- package/IdentityService/services/ClaimTypeService.ts +149 -0
- package/IdentityService/services/ExternalLoginService.ts +27 -0
- package/IdentityService/services/OrganizationUnitService.ts +539 -0
- package/IdentityService/services/RoleService.ts +269 -0
- package/IdentityService/services/ScopesService.ts +164 -0
- package/IdentityService/services/SecurityLogService.ts +174 -0
- package/IdentityService/services/SettingsService.ts +135 -0
- package/IdentityService/services/UserIntegrationService.ts +144 -0
- package/IdentityService/services/UserLookupService.ts +120 -0
- package/IdentityService/services/UserService.ts +937 -0
- package/ProjectService/index.ts +75 -77
- package/package.json +5 -3
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { Volo_Abp_Application_Dtos_ListResultDto_1 } from '../models/Volo_Abp_Application_Dtos_ListResultDto_1';
|
|
6
|
+
import type { Volo_Abp_Application_Dtos_PagedResultDto_1 } from '../models/Volo_Abp_Application_Dtos_PagedResultDto_1';
|
|
7
|
+
import type { Volo_Abp_Identity_ClaimTypeDto } from '../models/Volo_Abp_Identity_ClaimTypeDto';
|
|
8
|
+
import type { Volo_Abp_Identity_IdentityRoleClaimDto } from '../models/Volo_Abp_Identity_IdentityRoleClaimDto';
|
|
9
|
+
import type { Volo_Abp_Identity_IdentityRoleCreateDto } from '../models/Volo_Abp_Identity_IdentityRoleCreateDto';
|
|
10
|
+
import type { Volo_Abp_Identity_IdentityRoleDto } from '../models/Volo_Abp_Identity_IdentityRoleDto';
|
|
11
|
+
import type { Volo_Abp_Identity_IdentityRoleDto_Volo_Abp_Identity_Pro_Application_Contracts_Version_8_0_5_0_Culture_neutral_PublicKeyToken_null_ } from '../models/Volo_Abp_Identity_IdentityRoleDto_Volo_Abp_Identity_Pro_Application_Contracts_Version_8_0_5_0_Culture_neutral_PublicKeyToken_null_';
|
|
12
|
+
import type { Volo_Abp_Identity_IdentityRoleUpdateDto } from '../models/Volo_Abp_Identity_IdentityRoleUpdateDto';
|
|
13
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
14
|
+
import type { BaseHttpRequest } from '../core/BaseHttpRequest';
|
|
15
|
+
export class RoleService {
|
|
16
|
+
constructor(public readonly httpRequest: BaseHttpRequest) {}
|
|
17
|
+
/**
|
|
18
|
+
* @param id
|
|
19
|
+
* @returns Volo_Abp_Identity_IdentityRoleDto Success
|
|
20
|
+
* @throws ApiError
|
|
21
|
+
*/
|
|
22
|
+
public getApiIdentityRoles(
|
|
23
|
+
id: string,
|
|
24
|
+
): CancelablePromise<Volo_Abp_Identity_IdentityRoleDto> {
|
|
25
|
+
return this.httpRequest.request({
|
|
26
|
+
method: 'GET',
|
|
27
|
+
url: '/api/identity/roles/{id}',
|
|
28
|
+
path: {
|
|
29
|
+
'id': id,
|
|
30
|
+
},
|
|
31
|
+
errors: {
|
|
32
|
+
400: `Bad Request`,
|
|
33
|
+
401: `Unauthorized`,
|
|
34
|
+
403: `Forbidden`,
|
|
35
|
+
404: `Not Found`,
|
|
36
|
+
500: `Server Error`,
|
|
37
|
+
501: `Server Error`,
|
|
38
|
+
},
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* @param id
|
|
43
|
+
* @param requestBody
|
|
44
|
+
* @returns Volo_Abp_Identity_IdentityRoleDto Success
|
|
45
|
+
* @throws ApiError
|
|
46
|
+
*/
|
|
47
|
+
public putApiIdentityRoles(
|
|
48
|
+
id: string,
|
|
49
|
+
requestBody?: Volo_Abp_Identity_IdentityRoleUpdateDto,
|
|
50
|
+
): CancelablePromise<Volo_Abp_Identity_IdentityRoleDto> {
|
|
51
|
+
return this.httpRequest.request({
|
|
52
|
+
method: 'PUT',
|
|
53
|
+
url: '/api/identity/roles/{id}',
|
|
54
|
+
path: {
|
|
55
|
+
'id': id,
|
|
56
|
+
},
|
|
57
|
+
body: requestBody,
|
|
58
|
+
mediaType: 'application/json',
|
|
59
|
+
errors: {
|
|
60
|
+
400: `Bad Request`,
|
|
61
|
+
401: `Unauthorized`,
|
|
62
|
+
403: `Forbidden`,
|
|
63
|
+
404: `Not Found`,
|
|
64
|
+
500: `Server Error`,
|
|
65
|
+
501: `Server Error`,
|
|
66
|
+
},
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* @param id
|
|
71
|
+
* @returns any Success
|
|
72
|
+
* @throws ApiError
|
|
73
|
+
*/
|
|
74
|
+
public deleteApiIdentityRoles(
|
|
75
|
+
id: string,
|
|
76
|
+
): CancelablePromise<any> {
|
|
77
|
+
return this.httpRequest.request({
|
|
78
|
+
method: 'DELETE',
|
|
79
|
+
url: '/api/identity/roles/{id}',
|
|
80
|
+
path: {
|
|
81
|
+
'id': id,
|
|
82
|
+
},
|
|
83
|
+
errors: {
|
|
84
|
+
400: `Bad Request`,
|
|
85
|
+
401: `Unauthorized`,
|
|
86
|
+
403: `Forbidden`,
|
|
87
|
+
404: `Not Found`,
|
|
88
|
+
500: `Server Error`,
|
|
89
|
+
501: `Server Error`,
|
|
90
|
+
},
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* @param requestBody
|
|
95
|
+
* @returns Volo_Abp_Identity_IdentityRoleDto Success
|
|
96
|
+
* @throws ApiError
|
|
97
|
+
*/
|
|
98
|
+
public postApiIdentityRoles(
|
|
99
|
+
requestBody?: Volo_Abp_Identity_IdentityRoleCreateDto,
|
|
100
|
+
): CancelablePromise<Volo_Abp_Identity_IdentityRoleDto> {
|
|
101
|
+
return this.httpRequest.request({
|
|
102
|
+
method: 'POST',
|
|
103
|
+
url: '/api/identity/roles',
|
|
104
|
+
body: requestBody,
|
|
105
|
+
mediaType: 'application/json',
|
|
106
|
+
errors: {
|
|
107
|
+
400: `Bad Request`,
|
|
108
|
+
401: `Unauthorized`,
|
|
109
|
+
403: `Forbidden`,
|
|
110
|
+
404: `Not Found`,
|
|
111
|
+
500: `Server Error`,
|
|
112
|
+
501: `Server Error`,
|
|
113
|
+
},
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* @param filter
|
|
118
|
+
* @param sorting
|
|
119
|
+
* @param skipCount
|
|
120
|
+
* @param maxResultCount
|
|
121
|
+
* @param extraProperties
|
|
122
|
+
* @returns Volo_Abp_Application_Dtos_PagedResultDto_1<Volo_Abp_Identity_IdentityRoleDto_Volo_Abp_Identity_Pro_Application_Contracts_Version_8_0_5_0_Culture_neutral_PublicKeyToken_null_> Success
|
|
123
|
+
* @throws ApiError
|
|
124
|
+
*/
|
|
125
|
+
public getApiIdentityRoles1(
|
|
126
|
+
filter?: string,
|
|
127
|
+
sorting?: string,
|
|
128
|
+
skipCount?: number,
|
|
129
|
+
maxResultCount?: number,
|
|
130
|
+
extraProperties?: Record<string, any>,
|
|
131
|
+
): CancelablePromise<Volo_Abp_Application_Dtos_PagedResultDto_1> {
|
|
132
|
+
return this.httpRequest.request({
|
|
133
|
+
method: 'GET',
|
|
134
|
+
url: '/api/identity/roles',
|
|
135
|
+
query: {
|
|
136
|
+
'Filter': filter,
|
|
137
|
+
'Sorting': sorting,
|
|
138
|
+
'SkipCount': skipCount,
|
|
139
|
+
'MaxResultCount': maxResultCount,
|
|
140
|
+
'ExtraProperties': extraProperties,
|
|
141
|
+
},
|
|
142
|
+
errors: {
|
|
143
|
+
400: `Bad Request`,
|
|
144
|
+
401: `Unauthorized`,
|
|
145
|
+
403: `Forbidden`,
|
|
146
|
+
404: `Not Found`,
|
|
147
|
+
500: `Server Error`,
|
|
148
|
+
501: `Server Error`,
|
|
149
|
+
},
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* @returns Volo_Abp_Application_Dtos_ListResultDto_1<Volo_Abp_Identity_IdentityRoleDto_Volo_Abp_Identity_Pro_Application_Contracts_Version_8_0_5_0_Culture_neutral_PublicKeyToken_null_> Success
|
|
154
|
+
* @throws ApiError
|
|
155
|
+
*/
|
|
156
|
+
public getApiIdentityRolesAll(): CancelablePromise<Volo_Abp_Application_Dtos_ListResultDto_1> {
|
|
157
|
+
return this.httpRequest.request({
|
|
158
|
+
method: 'GET',
|
|
159
|
+
url: '/api/identity/roles/all',
|
|
160
|
+
errors: {
|
|
161
|
+
400: `Bad Request`,
|
|
162
|
+
401: `Unauthorized`,
|
|
163
|
+
403: `Forbidden`,
|
|
164
|
+
404: `Not Found`,
|
|
165
|
+
500: `Server Error`,
|
|
166
|
+
501: `Server Error`,
|
|
167
|
+
},
|
|
168
|
+
});
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* @param id
|
|
172
|
+
* @param requestBody
|
|
173
|
+
* @returns any Success
|
|
174
|
+
* @throws ApiError
|
|
175
|
+
*/
|
|
176
|
+
public putApiIdentityRolesClaims(
|
|
177
|
+
id: string,
|
|
178
|
+
requestBody?: Array<Volo_Abp_Identity_IdentityRoleClaimDto>,
|
|
179
|
+
): CancelablePromise<any> {
|
|
180
|
+
return this.httpRequest.request({
|
|
181
|
+
method: 'PUT',
|
|
182
|
+
url: '/api/identity/roles/{id}/claims',
|
|
183
|
+
path: {
|
|
184
|
+
'id': id,
|
|
185
|
+
},
|
|
186
|
+
body: requestBody,
|
|
187
|
+
mediaType: 'application/json',
|
|
188
|
+
errors: {
|
|
189
|
+
400: `Bad Request`,
|
|
190
|
+
401: `Unauthorized`,
|
|
191
|
+
403: `Forbidden`,
|
|
192
|
+
404: `Not Found`,
|
|
193
|
+
500: `Server Error`,
|
|
194
|
+
501: `Server Error`,
|
|
195
|
+
},
|
|
196
|
+
});
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* @param id
|
|
200
|
+
* @returns Volo_Abp_Identity_IdentityRoleClaimDto Success
|
|
201
|
+
* @throws ApiError
|
|
202
|
+
*/
|
|
203
|
+
public getApiIdentityRolesClaims(
|
|
204
|
+
id: string,
|
|
205
|
+
): CancelablePromise<Array<Volo_Abp_Identity_IdentityRoleClaimDto>> {
|
|
206
|
+
return this.httpRequest.request({
|
|
207
|
+
method: 'GET',
|
|
208
|
+
url: '/api/identity/roles/{id}/claims',
|
|
209
|
+
path: {
|
|
210
|
+
'id': id,
|
|
211
|
+
},
|
|
212
|
+
errors: {
|
|
213
|
+
400: `Bad Request`,
|
|
214
|
+
401: `Unauthorized`,
|
|
215
|
+
403: `Forbidden`,
|
|
216
|
+
404: `Not Found`,
|
|
217
|
+
500: `Server Error`,
|
|
218
|
+
501: `Server Error`,
|
|
219
|
+
},
|
|
220
|
+
});
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* @param id
|
|
224
|
+
* @param roleId
|
|
225
|
+
* @returns any Success
|
|
226
|
+
* @throws ApiError
|
|
227
|
+
*/
|
|
228
|
+
public putApiIdentityRolesMoveAllUsers(
|
|
229
|
+
id: string,
|
|
230
|
+
roleId?: string,
|
|
231
|
+
): CancelablePromise<any> {
|
|
232
|
+
return this.httpRequest.request({
|
|
233
|
+
method: 'PUT',
|
|
234
|
+
url: '/api/identity/roles/{id}/move-all-users',
|
|
235
|
+
path: {
|
|
236
|
+
'id': id,
|
|
237
|
+
},
|
|
238
|
+
query: {
|
|
239
|
+
'roleId': roleId,
|
|
240
|
+
},
|
|
241
|
+
errors: {
|
|
242
|
+
400: `Bad Request`,
|
|
243
|
+
401: `Unauthorized`,
|
|
244
|
+
403: `Forbidden`,
|
|
245
|
+
404: `Not Found`,
|
|
246
|
+
500: `Server Error`,
|
|
247
|
+
501: `Server Error`,
|
|
248
|
+
},
|
|
249
|
+
});
|
|
250
|
+
}
|
|
251
|
+
/**
|
|
252
|
+
* @returns Volo_Abp_Identity_ClaimTypeDto Success
|
|
253
|
+
* @throws ApiError
|
|
254
|
+
*/
|
|
255
|
+
public getApiIdentityRolesAllClaimTypes(): CancelablePromise<Array<Volo_Abp_Identity_ClaimTypeDto>> {
|
|
256
|
+
return this.httpRequest.request({
|
|
257
|
+
method: 'GET',
|
|
258
|
+
url: '/api/identity/roles/all-claim-types',
|
|
259
|
+
errors: {
|
|
260
|
+
400: `Bad Request`,
|
|
261
|
+
401: `Unauthorized`,
|
|
262
|
+
403: `Forbidden`,
|
|
263
|
+
404: `Not Found`,
|
|
264
|
+
500: `Server Error`,
|
|
265
|
+
501: `Server Error`,
|
|
266
|
+
},
|
|
267
|
+
});
|
|
268
|
+
}
|
|
269
|
+
}
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { Volo_Abp_Application_Dtos_PagedResultDto_1 } from '../models/Volo_Abp_Application_Dtos_PagedResultDto_1';
|
|
6
|
+
import type { Volo_Abp_OpenIddict_Scopes_Dtos_CreateScopeInput } from '../models/Volo_Abp_OpenIddict_Scopes_Dtos_CreateScopeInput';
|
|
7
|
+
import type { Volo_Abp_OpenIddict_Scopes_Dtos_ScopeDto } from '../models/Volo_Abp_OpenIddict_Scopes_Dtos_ScopeDto';
|
|
8
|
+
import type { Volo_Abp_OpenIddict_Scopes_Dtos_ScopeDto_Volo_Abp_OpenIddict_Pro_Application_Contracts_Version_8_0_5_0_Culture_neutral_PublicKeyToken_null_ } from '../models/Volo_Abp_OpenIddict_Scopes_Dtos_ScopeDto_Volo_Abp_OpenIddict_Pro_Application_Contracts_Version_8_0_5_0_Culture_neutral_PublicKeyToken_null_';
|
|
9
|
+
import type { Volo_Abp_OpenIddict_Scopes_Dtos_UpdateScopeInput } from '../models/Volo_Abp_OpenIddict_Scopes_Dtos_UpdateScopeInput';
|
|
10
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
11
|
+
import type { BaseHttpRequest } from '../core/BaseHttpRequest';
|
|
12
|
+
export class ScopesService {
|
|
13
|
+
constructor(public readonly httpRequest: BaseHttpRequest) {}
|
|
14
|
+
/**
|
|
15
|
+
* @param id
|
|
16
|
+
* @returns Volo_Abp_OpenIddict_Scopes_Dtos_ScopeDto Success
|
|
17
|
+
* @throws ApiError
|
|
18
|
+
*/
|
|
19
|
+
public getApiOpeniddictScopes(
|
|
20
|
+
id: string,
|
|
21
|
+
): CancelablePromise<Volo_Abp_OpenIddict_Scopes_Dtos_ScopeDto> {
|
|
22
|
+
return this.httpRequest.request({
|
|
23
|
+
method: 'GET',
|
|
24
|
+
url: '/api/openiddict/scopes/{id}',
|
|
25
|
+
path: {
|
|
26
|
+
'id': id,
|
|
27
|
+
},
|
|
28
|
+
errors: {
|
|
29
|
+
400: `Bad Request`,
|
|
30
|
+
401: `Unauthorized`,
|
|
31
|
+
403: `Forbidden`,
|
|
32
|
+
404: `Not Found`,
|
|
33
|
+
500: `Server Error`,
|
|
34
|
+
501: `Server Error`,
|
|
35
|
+
},
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* @param id
|
|
40
|
+
* @param requestBody
|
|
41
|
+
* @returns Volo_Abp_OpenIddict_Scopes_Dtos_ScopeDto Success
|
|
42
|
+
* @throws ApiError
|
|
43
|
+
*/
|
|
44
|
+
public putApiOpeniddictScopes(
|
|
45
|
+
id: string,
|
|
46
|
+
requestBody?: Volo_Abp_OpenIddict_Scopes_Dtos_UpdateScopeInput,
|
|
47
|
+
): CancelablePromise<Volo_Abp_OpenIddict_Scopes_Dtos_ScopeDto> {
|
|
48
|
+
return this.httpRequest.request({
|
|
49
|
+
method: 'PUT',
|
|
50
|
+
url: '/api/openiddict/scopes/{id}',
|
|
51
|
+
path: {
|
|
52
|
+
'id': id,
|
|
53
|
+
},
|
|
54
|
+
body: requestBody,
|
|
55
|
+
mediaType: 'application/json',
|
|
56
|
+
errors: {
|
|
57
|
+
400: `Bad Request`,
|
|
58
|
+
401: `Unauthorized`,
|
|
59
|
+
403: `Forbidden`,
|
|
60
|
+
404: `Not Found`,
|
|
61
|
+
500: `Server Error`,
|
|
62
|
+
501: `Server Error`,
|
|
63
|
+
},
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* @param filter
|
|
68
|
+
* @param sorting
|
|
69
|
+
* @param skipCount
|
|
70
|
+
* @param maxResultCount
|
|
71
|
+
* @returns Volo_Abp_Application_Dtos_PagedResultDto_1<Volo_Abp_OpenIddict_Scopes_Dtos_ScopeDto_Volo_Abp_OpenIddict_Pro_Application_Contracts_Version_8_0_5_0_Culture_neutral_PublicKeyToken_null_> Success
|
|
72
|
+
* @throws ApiError
|
|
73
|
+
*/
|
|
74
|
+
public getApiOpeniddictScopes1(
|
|
75
|
+
filter?: string,
|
|
76
|
+
sorting?: string,
|
|
77
|
+
skipCount?: number,
|
|
78
|
+
maxResultCount?: number,
|
|
79
|
+
): CancelablePromise<Volo_Abp_Application_Dtos_PagedResultDto_1> {
|
|
80
|
+
return this.httpRequest.request({
|
|
81
|
+
method: 'GET',
|
|
82
|
+
url: '/api/openiddict/scopes',
|
|
83
|
+
query: {
|
|
84
|
+
'Filter': filter,
|
|
85
|
+
'Sorting': sorting,
|
|
86
|
+
'SkipCount': skipCount,
|
|
87
|
+
'MaxResultCount': maxResultCount,
|
|
88
|
+
},
|
|
89
|
+
errors: {
|
|
90
|
+
400: `Bad Request`,
|
|
91
|
+
401: `Unauthorized`,
|
|
92
|
+
403: `Forbidden`,
|
|
93
|
+
404: `Not Found`,
|
|
94
|
+
500: `Server Error`,
|
|
95
|
+
501: `Server Error`,
|
|
96
|
+
},
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* @param requestBody
|
|
101
|
+
* @returns Volo_Abp_OpenIddict_Scopes_Dtos_ScopeDto Success
|
|
102
|
+
* @throws ApiError
|
|
103
|
+
*/
|
|
104
|
+
public postApiOpeniddictScopes(
|
|
105
|
+
requestBody?: Volo_Abp_OpenIddict_Scopes_Dtos_CreateScopeInput,
|
|
106
|
+
): CancelablePromise<Volo_Abp_OpenIddict_Scopes_Dtos_ScopeDto> {
|
|
107
|
+
return this.httpRequest.request({
|
|
108
|
+
method: 'POST',
|
|
109
|
+
url: '/api/openiddict/scopes',
|
|
110
|
+
body: requestBody,
|
|
111
|
+
mediaType: 'application/json',
|
|
112
|
+
errors: {
|
|
113
|
+
400: `Bad Request`,
|
|
114
|
+
401: `Unauthorized`,
|
|
115
|
+
403: `Forbidden`,
|
|
116
|
+
404: `Not Found`,
|
|
117
|
+
500: `Server Error`,
|
|
118
|
+
501: `Server Error`,
|
|
119
|
+
},
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* @param id
|
|
124
|
+
* @returns any Success
|
|
125
|
+
* @throws ApiError
|
|
126
|
+
*/
|
|
127
|
+
public deleteApiOpeniddictScopes(
|
|
128
|
+
id?: string,
|
|
129
|
+
): CancelablePromise<any> {
|
|
130
|
+
return this.httpRequest.request({
|
|
131
|
+
method: 'DELETE',
|
|
132
|
+
url: '/api/openiddict/scopes',
|
|
133
|
+
query: {
|
|
134
|
+
'id': id,
|
|
135
|
+
},
|
|
136
|
+
errors: {
|
|
137
|
+
400: `Bad Request`,
|
|
138
|
+
401: `Unauthorized`,
|
|
139
|
+
403: `Forbidden`,
|
|
140
|
+
404: `Not Found`,
|
|
141
|
+
500: `Server Error`,
|
|
142
|
+
501: `Server Error`,
|
|
143
|
+
},
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* @returns Volo_Abp_OpenIddict_Scopes_Dtos_ScopeDto Success
|
|
148
|
+
* @throws ApiError
|
|
149
|
+
*/
|
|
150
|
+
public getApiOpeniddictScopesAll(): CancelablePromise<Array<Volo_Abp_OpenIddict_Scopes_Dtos_ScopeDto>> {
|
|
151
|
+
return this.httpRequest.request({
|
|
152
|
+
method: 'GET',
|
|
153
|
+
url: '/api/openiddict/scopes/all',
|
|
154
|
+
errors: {
|
|
155
|
+
400: `Bad Request`,
|
|
156
|
+
401: `Unauthorized`,
|
|
157
|
+
403: `Forbidden`,
|
|
158
|
+
404: `Not Found`,
|
|
159
|
+
500: `Server Error`,
|
|
160
|
+
501: `Server Error`,
|
|
161
|
+
},
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
}
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { Volo_Abp_Application_Dtos_PagedResultDto_1 } from '../models/Volo_Abp_Application_Dtos_PagedResultDto_1';
|
|
6
|
+
import type { Volo_Abp_Identity_IdentitySecurityLogDto } from '../models/Volo_Abp_Identity_IdentitySecurityLogDto';
|
|
7
|
+
import type { Volo_Abp_Identity_IdentitySecurityLogDto_Volo_Abp_Identity_Pro_Application_Contracts_Version_8_0_5_0_Culture_neutral_PublicKeyToken_null_ } from '../models/Volo_Abp_Identity_IdentitySecurityLogDto_Volo_Abp_Identity_Pro_Application_Contracts_Version_8_0_5_0_Culture_neutral_PublicKeyToken_null_';
|
|
8
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
9
|
+
import type { BaseHttpRequest } from '../core/BaseHttpRequest';
|
|
10
|
+
export class SecurityLogService {
|
|
11
|
+
constructor(public readonly httpRequest: BaseHttpRequest) {}
|
|
12
|
+
/**
|
|
13
|
+
* @param startTime
|
|
14
|
+
* @param endTime
|
|
15
|
+
* @param applicationName
|
|
16
|
+
* @param identity
|
|
17
|
+
* @param action
|
|
18
|
+
* @param userName
|
|
19
|
+
* @param clientId
|
|
20
|
+
* @param correlationId
|
|
21
|
+
* @param sorting
|
|
22
|
+
* @param skipCount
|
|
23
|
+
* @param maxResultCount
|
|
24
|
+
* @param extraProperties
|
|
25
|
+
* @returns Volo_Abp_Application_Dtos_PagedResultDto_1<Volo_Abp_Identity_IdentitySecurityLogDto_Volo_Abp_Identity_Pro_Application_Contracts_Version_8_0_5_0_Culture_neutral_PublicKeyToken_null_> Success
|
|
26
|
+
* @throws ApiError
|
|
27
|
+
*/
|
|
28
|
+
public getApiIdentitySecurityLogs(
|
|
29
|
+
startTime?: string,
|
|
30
|
+
endTime?: string,
|
|
31
|
+
applicationName?: string,
|
|
32
|
+
identity?: string,
|
|
33
|
+
action?: string,
|
|
34
|
+
userName?: string,
|
|
35
|
+
clientId?: string,
|
|
36
|
+
correlationId?: string,
|
|
37
|
+
sorting?: string,
|
|
38
|
+
skipCount?: number,
|
|
39
|
+
maxResultCount?: number,
|
|
40
|
+
extraProperties?: Record<string, any>,
|
|
41
|
+
): CancelablePromise<Volo_Abp_Application_Dtos_PagedResultDto_1> {
|
|
42
|
+
return this.httpRequest.request({
|
|
43
|
+
method: 'GET',
|
|
44
|
+
url: '/api/identity/security-logs',
|
|
45
|
+
query: {
|
|
46
|
+
'StartTime': startTime,
|
|
47
|
+
'EndTime': endTime,
|
|
48
|
+
'ApplicationName': applicationName,
|
|
49
|
+
'Identity': identity,
|
|
50
|
+
'Action': action,
|
|
51
|
+
'UserName': userName,
|
|
52
|
+
'ClientId': clientId,
|
|
53
|
+
'CorrelationId': correlationId,
|
|
54
|
+
'Sorting': sorting,
|
|
55
|
+
'SkipCount': skipCount,
|
|
56
|
+
'MaxResultCount': maxResultCount,
|
|
57
|
+
'ExtraProperties': extraProperties,
|
|
58
|
+
},
|
|
59
|
+
errors: {
|
|
60
|
+
400: `Bad Request`,
|
|
61
|
+
401: `Unauthorized`,
|
|
62
|
+
403: `Forbidden`,
|
|
63
|
+
404: `Not Found`,
|
|
64
|
+
500: `Server Error`,
|
|
65
|
+
501: `Server Error`,
|
|
66
|
+
},
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* @param id
|
|
71
|
+
* @returns Volo_Abp_Identity_IdentitySecurityLogDto Success
|
|
72
|
+
* @throws ApiError
|
|
73
|
+
*/
|
|
74
|
+
public getApiIdentitySecurityLogs1(
|
|
75
|
+
id: string,
|
|
76
|
+
): CancelablePromise<Volo_Abp_Identity_IdentitySecurityLogDto> {
|
|
77
|
+
return this.httpRequest.request({
|
|
78
|
+
method: 'GET',
|
|
79
|
+
url: '/api/identity/security-logs/{id}',
|
|
80
|
+
path: {
|
|
81
|
+
'id': id,
|
|
82
|
+
},
|
|
83
|
+
errors: {
|
|
84
|
+
400: `Bad Request`,
|
|
85
|
+
401: `Unauthorized`,
|
|
86
|
+
403: `Forbidden`,
|
|
87
|
+
404: `Not Found`,
|
|
88
|
+
500: `Server Error`,
|
|
89
|
+
501: `Server Error`,
|
|
90
|
+
},
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* @param startTime
|
|
95
|
+
* @param endTime
|
|
96
|
+
* @param applicationName
|
|
97
|
+
* @param identity
|
|
98
|
+
* @param action
|
|
99
|
+
* @param userName
|
|
100
|
+
* @param clientId
|
|
101
|
+
* @param correlationId
|
|
102
|
+
* @param sorting
|
|
103
|
+
* @param skipCount
|
|
104
|
+
* @param maxResultCount
|
|
105
|
+
* @param extraProperties
|
|
106
|
+
* @returns Volo_Abp_Application_Dtos_PagedResultDto_1<Volo_Abp_Identity_IdentitySecurityLogDto_Volo_Abp_Identity_Pro_Application_Contracts_Version_8_0_5_0_Culture_neutral_PublicKeyToken_null_> Success
|
|
107
|
+
* @throws ApiError
|
|
108
|
+
*/
|
|
109
|
+
public getApiIdentitySecurityLogsMy(
|
|
110
|
+
startTime?: string,
|
|
111
|
+
endTime?: string,
|
|
112
|
+
applicationName?: string,
|
|
113
|
+
identity?: string,
|
|
114
|
+
action?: string,
|
|
115
|
+
userName?: string,
|
|
116
|
+
clientId?: string,
|
|
117
|
+
correlationId?: string,
|
|
118
|
+
sorting?: string,
|
|
119
|
+
skipCount?: number,
|
|
120
|
+
maxResultCount?: number,
|
|
121
|
+
extraProperties?: Record<string, any>,
|
|
122
|
+
): CancelablePromise<Volo_Abp_Application_Dtos_PagedResultDto_1> {
|
|
123
|
+
return this.httpRequest.request({
|
|
124
|
+
method: 'GET',
|
|
125
|
+
url: '/api/identity/security-logs/my',
|
|
126
|
+
query: {
|
|
127
|
+
'StartTime': startTime,
|
|
128
|
+
'EndTime': endTime,
|
|
129
|
+
'ApplicationName': applicationName,
|
|
130
|
+
'Identity': identity,
|
|
131
|
+
'Action': action,
|
|
132
|
+
'UserName': userName,
|
|
133
|
+
'ClientId': clientId,
|
|
134
|
+
'CorrelationId': correlationId,
|
|
135
|
+
'Sorting': sorting,
|
|
136
|
+
'SkipCount': skipCount,
|
|
137
|
+
'MaxResultCount': maxResultCount,
|
|
138
|
+
'ExtraProperties': extraProperties,
|
|
139
|
+
},
|
|
140
|
+
errors: {
|
|
141
|
+
400: `Bad Request`,
|
|
142
|
+
401: `Unauthorized`,
|
|
143
|
+
403: `Forbidden`,
|
|
144
|
+
404: `Not Found`,
|
|
145
|
+
500: `Server Error`,
|
|
146
|
+
501: `Server Error`,
|
|
147
|
+
},
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* @param id
|
|
152
|
+
* @returns Volo_Abp_Identity_IdentitySecurityLogDto Success
|
|
153
|
+
* @throws ApiError
|
|
154
|
+
*/
|
|
155
|
+
public getApiIdentitySecurityLogsMy1(
|
|
156
|
+
id: string,
|
|
157
|
+
): CancelablePromise<Volo_Abp_Identity_IdentitySecurityLogDto> {
|
|
158
|
+
return this.httpRequest.request({
|
|
159
|
+
method: 'GET',
|
|
160
|
+
url: '/api/identity/security-logs/my/{id}',
|
|
161
|
+
path: {
|
|
162
|
+
'id': id,
|
|
163
|
+
},
|
|
164
|
+
errors: {
|
|
165
|
+
400: `Bad Request`,
|
|
166
|
+
401: `Unauthorized`,
|
|
167
|
+
403: `Forbidden`,
|
|
168
|
+
404: `Not Found`,
|
|
169
|
+
500: `Server Error`,
|
|
170
|
+
501: `Server Error`,
|
|
171
|
+
},
|
|
172
|
+
});
|
|
173
|
+
}
|
|
174
|
+
}
|