@ayasofyazilim/saas 0.0.9 → 0.0.11
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/AccountServiceClient.ts +65 -58
- package/AccountService/core/ApiError.ts +15 -19
- package/AccountService/core/ApiRequestOptions.ts +12 -16
- package/AccountService/core/ApiResult.ts +7 -11
- package/AccountService/core/BaseHttpRequest.ts +3 -7
- package/AccountService/core/CancelablePromise.ts +118 -123
- package/AccountService/core/FetchHttpRequest.ts +13 -17
- package/AccountService/core/OpenAPI.ts +48 -24
- package/AccountService/core/request.ts +280 -261
- package/AccountService/index.ts +9 -122
- package/AccountService/schemas.gen.ts +2331 -0
- package/AccountService/services.gen.ts +1453 -0
- package/AccountService/types.gen.ts +3176 -0
- package/AdministrationService/AdministrationServiceClient.ts +74 -67
- package/AdministrationService/core/ApiError.ts +15 -19
- package/AdministrationService/core/ApiRequestOptions.ts +12 -16
- package/AdministrationService/core/ApiResult.ts +7 -11
- package/AdministrationService/core/BaseHttpRequest.ts +3 -7
- package/AdministrationService/core/CancelablePromise.ts +118 -123
- package/AdministrationService/core/FetchHttpRequest.ts +13 -17
- package/AdministrationService/core/OpenAPI.ts +48 -24
- package/AdministrationService/core/request.ts +280 -261
- package/AdministrationService/index.ts +9 -118
- package/AdministrationService/schemas.gen.ts +2307 -0
- package/AdministrationService/services.gen.ts +1333 -0
- package/AdministrationService/types.gen.ts +2726 -0
- package/IdentityService/IdentityServiceClient.ts +77 -70
- package/IdentityService/core/ApiError.ts +15 -19
- package/IdentityService/core/ApiRequestOptions.ts +12 -16
- package/IdentityService/core/ApiResult.ts +7 -11
- package/IdentityService/core/BaseHttpRequest.ts +3 -7
- package/IdentityService/core/CancelablePromise.ts +118 -123
- package/IdentityService/core/FetchHttpRequest.ts +13 -17
- package/IdentityService/core/OpenAPI.ts +48 -24
- package/IdentityService/core/request.ts +280 -261
- package/IdentityService/index.ts +9 -133
- package/IdentityService/schemas.gen.ts +3170 -0
- package/IdentityService/services.gen.ts +2864 -0
- package/IdentityService/types.gen.ts +5342 -0
- package/ProjectService/ProjectServiceClient.ts +0 -3
- package/ProjectService/schemas.gen.ts +188 -109
- package/ProjectService/services.gen.ts +1 -48
- package/ProjectService/types.gen.ts +74 -187
- package/SaasService/SaasServiceClient.ts +65 -0
- package/SaasService/core/ApiError.ts +21 -0
- package/SaasService/core/ApiRequestOptions.ts +13 -0
- package/SaasService/core/ApiResult.ts +7 -0
- package/SaasService/core/BaseHttpRequest.ts +10 -0
- package/SaasService/core/CancelablePromise.ts +126 -0
- package/SaasService/core/FetchHttpRequest.ts +22 -0
- package/SaasService/core/OpenAPI.ts +56 -0
- package/SaasService/core/request.ts +341 -0
- package/SaasService/index.ts +9 -0
- package/SaasService/schemas.gen.ts +2148 -0
- package/SaasService/services.gen.ts +1326 -0
- package/SaasService/types.gen.ts +2735 -0
- package/package.json +9 -12
|
@@ -0,0 +1,2864 @@
|
|
|
1
|
+
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
+
|
|
3
|
+
import type { CancelablePromise } from './core/CancelablePromise';
|
|
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, 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, 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, GetApiIdentitySecurityLogsMyData, GetApiIdentitySecurityLogsMyResponse, GetApiIdentitySecurityLogsMyByIdData, GetApiIdentitySecurityLogsMyByIdResponse, GetApiIdentitySettingsResponse, PutApiIdentitySettingsData, PutApiIdentitySettingsResponse, GetApiIdentitySettingsLdapResponse, PutApiIdentitySettingsLdapData, PutApiIdentitySettingsLdapResponse, GetApiIdentitySettingsOauthResponse, PutApiIdentitySettingsOauthData, PutApiIdentitySettingsOauthResponse, 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, GetIntegrationApiIdentityUsersByIdRoleNamesData, GetIntegrationApiIdentityUsersByIdRoleNamesResponse, GetIntegrationApiIdentityUsersByIdData, GetIntegrationApiIdentityUsersByIdResponse, GetIntegrationApiIdentityUsersByUsernameByUserNameData, GetIntegrationApiIdentityUsersByUsernameByUserNameResponse, GetIntegrationApiIdentityUsersSearchData, GetIntegrationApiIdentityUsersSearchResponse, GetIntegrationApiIdentityUsersCountData, GetIntegrationApiIdentityUsersCountResponse, GetApiIdentityUsersLookupByIdData, GetApiIdentityUsersLookupByIdResponse, GetApiIdentityUsersLookupByUsernameByUserNameData, GetApiIdentityUsersLookupByUsernameByUserNameResponse, GetApiIdentityUsersLookupSearchData, GetApiIdentityUsersLookupSearchResponse, GetApiIdentityUsersLookupCountData, GetApiIdentityUsersLookupCountResponse } from './types.gen';
|
|
6
|
+
|
|
7
|
+
export class AbpApiDefinitionService {
|
|
8
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @param data The data for the request.
|
|
12
|
+
* @param data.includeTypes
|
|
13
|
+
* @returns Volo_Abp_Http_Modeling_ApplicationApiDescriptionModel Success
|
|
14
|
+
* @throws ApiError
|
|
15
|
+
*/
|
|
16
|
+
public getApiAbpApiDefinition(data: GetApiAbpApiDefinitionData = {}): CancelablePromise<GetApiAbpApiDefinitionResponse> {
|
|
17
|
+
return this.httpRequest.request({
|
|
18
|
+
method: 'GET',
|
|
19
|
+
url: '/api/abp/api-definition',
|
|
20
|
+
query: {
|
|
21
|
+
IncludeTypes: data.includeTypes
|
|
22
|
+
},
|
|
23
|
+
errors: {
|
|
24
|
+
400: 'Bad Request',
|
|
25
|
+
401: 'Unauthorized',
|
|
26
|
+
403: 'Forbidden',
|
|
27
|
+
404: 'Not Found',
|
|
28
|
+
500: 'Server Error',
|
|
29
|
+
501: 'Server Error'
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export class AbpApplicationConfigurationService {
|
|
37
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* @param data The data for the request.
|
|
41
|
+
* @param data.includeLocalizationResources
|
|
42
|
+
* @returns Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationConfigurationDto Success
|
|
43
|
+
* @throws ApiError
|
|
44
|
+
*/
|
|
45
|
+
public getApiAbpApplicationConfiguration(data: GetApiAbpApplicationConfigurationData = {}): CancelablePromise<GetApiAbpApplicationConfigurationResponse> {
|
|
46
|
+
return this.httpRequest.request({
|
|
47
|
+
method: 'GET',
|
|
48
|
+
url: '/api/abp/application-configuration',
|
|
49
|
+
query: {
|
|
50
|
+
IncludeLocalizationResources: data.includeLocalizationResources
|
|
51
|
+
},
|
|
52
|
+
errors: {
|
|
53
|
+
400: 'Bad Request',
|
|
54
|
+
401: 'Unauthorized',
|
|
55
|
+
403: 'Forbidden',
|
|
56
|
+
404: 'Not Found',
|
|
57
|
+
500: 'Server Error',
|
|
58
|
+
501: 'Server Error'
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export class AbpApplicationLocalizationService {
|
|
66
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* @param data The data for the request.
|
|
70
|
+
* @param data.cultureName
|
|
71
|
+
* @param data.onlyDynamics
|
|
72
|
+
* @returns Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationDto Success
|
|
73
|
+
* @throws ApiError
|
|
74
|
+
*/
|
|
75
|
+
public getApiAbpApplicationLocalization(data: GetApiAbpApplicationLocalizationData): CancelablePromise<GetApiAbpApplicationLocalizationResponse> {
|
|
76
|
+
return this.httpRequest.request({
|
|
77
|
+
method: 'GET',
|
|
78
|
+
url: '/api/abp/application-localization',
|
|
79
|
+
query: {
|
|
80
|
+
CultureName: data.cultureName,
|
|
81
|
+
OnlyDynamics: data.onlyDynamics
|
|
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
|
+
}
|
|
95
|
+
|
|
96
|
+
export class AccountSettingsService {
|
|
97
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* @returns Volo_Abp_Account_AccountSettingsDto Success
|
|
101
|
+
* @throws ApiError
|
|
102
|
+
*/
|
|
103
|
+
public getApiAccountAdminSettings(): CancelablePromise<GetApiAccountAdminSettingsResponse> {
|
|
104
|
+
return this.httpRequest.request({
|
|
105
|
+
method: 'GET',
|
|
106
|
+
url: '/api/account-admin/settings',
|
|
107
|
+
errors: {
|
|
108
|
+
400: 'Bad Request',
|
|
109
|
+
401: 'Unauthorized',
|
|
110
|
+
403: 'Forbidden',
|
|
111
|
+
404: 'Not Found',
|
|
112
|
+
500: 'Server Error',
|
|
113
|
+
501: 'Server Error'
|
|
114
|
+
}
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* @param data The data for the request.
|
|
120
|
+
* @param data.requestBody
|
|
121
|
+
* @returns unknown Success
|
|
122
|
+
* @throws ApiError
|
|
123
|
+
*/
|
|
124
|
+
public putApiAccountAdminSettings(data: PutApiAccountAdminSettingsData = {}): CancelablePromise<PutApiAccountAdminSettingsResponse> {
|
|
125
|
+
return this.httpRequest.request({
|
|
126
|
+
method: 'PUT',
|
|
127
|
+
url: '/api/account-admin/settings',
|
|
128
|
+
body: data.requestBody,
|
|
129
|
+
mediaType: 'application/json',
|
|
130
|
+
errors: {
|
|
131
|
+
400: 'Bad Request',
|
|
132
|
+
401: 'Unauthorized',
|
|
133
|
+
403: 'Forbidden',
|
|
134
|
+
404: 'Not Found',
|
|
135
|
+
500: 'Server Error',
|
|
136
|
+
501: 'Server Error'
|
|
137
|
+
}
|
|
138
|
+
});
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* @returns Volo_Abp_Account_AccountTwoFactorSettingsDto Success
|
|
143
|
+
* @throws ApiError
|
|
144
|
+
*/
|
|
145
|
+
public getApiAccountAdminSettingsTwoFactor(): CancelablePromise<GetApiAccountAdminSettingsTwoFactorResponse> {
|
|
146
|
+
return this.httpRequest.request({
|
|
147
|
+
method: 'GET',
|
|
148
|
+
url: '/api/account-admin/settings/two-factor',
|
|
149
|
+
errors: {
|
|
150
|
+
400: 'Bad Request',
|
|
151
|
+
401: 'Unauthorized',
|
|
152
|
+
403: 'Forbidden',
|
|
153
|
+
404: 'Not Found',
|
|
154
|
+
500: 'Server Error',
|
|
155
|
+
501: 'Server Error'
|
|
156
|
+
}
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* @param data The data for the request.
|
|
162
|
+
* @param data.requestBody
|
|
163
|
+
* @returns unknown Success
|
|
164
|
+
* @throws ApiError
|
|
165
|
+
*/
|
|
166
|
+
public putApiAccountAdminSettingsTwoFactor(data: PutApiAccountAdminSettingsTwoFactorData = {}): CancelablePromise<PutApiAccountAdminSettingsTwoFactorResponse> {
|
|
167
|
+
return this.httpRequest.request({
|
|
168
|
+
method: 'PUT',
|
|
169
|
+
url: '/api/account-admin/settings/two-factor',
|
|
170
|
+
body: data.requestBody,
|
|
171
|
+
mediaType: 'application/json',
|
|
172
|
+
errors: {
|
|
173
|
+
400: 'Bad Request',
|
|
174
|
+
401: 'Unauthorized',
|
|
175
|
+
403: 'Forbidden',
|
|
176
|
+
404: 'Not Found',
|
|
177
|
+
500: 'Server Error',
|
|
178
|
+
501: 'Server Error'
|
|
179
|
+
}
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* @returns Volo_Abp_Account_AccountRecaptchaSettingsDto Success
|
|
185
|
+
* @throws ApiError
|
|
186
|
+
*/
|
|
187
|
+
public getApiAccountAdminSettingsRecaptcha(): CancelablePromise<GetApiAccountAdminSettingsRecaptchaResponse> {
|
|
188
|
+
return this.httpRequest.request({
|
|
189
|
+
method: 'GET',
|
|
190
|
+
url: '/api/account-admin/settings/recaptcha',
|
|
191
|
+
errors: {
|
|
192
|
+
400: 'Bad Request',
|
|
193
|
+
401: 'Unauthorized',
|
|
194
|
+
403: 'Forbidden',
|
|
195
|
+
404: 'Not Found',
|
|
196
|
+
500: 'Server Error',
|
|
197
|
+
501: 'Server Error'
|
|
198
|
+
}
|
|
199
|
+
});
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* @param data The data for the request.
|
|
204
|
+
* @param data.requestBody
|
|
205
|
+
* @returns unknown Success
|
|
206
|
+
* @throws ApiError
|
|
207
|
+
*/
|
|
208
|
+
public putApiAccountAdminSettingsRecaptcha(data: PutApiAccountAdminSettingsRecaptchaData = {}): CancelablePromise<PutApiAccountAdminSettingsRecaptchaResponse> {
|
|
209
|
+
return this.httpRequest.request({
|
|
210
|
+
method: 'PUT',
|
|
211
|
+
url: '/api/account-admin/settings/recaptcha',
|
|
212
|
+
body: data.requestBody,
|
|
213
|
+
mediaType: 'application/json',
|
|
214
|
+
errors: {
|
|
215
|
+
400: 'Bad Request',
|
|
216
|
+
401: 'Unauthorized',
|
|
217
|
+
403: 'Forbidden',
|
|
218
|
+
404: 'Not Found',
|
|
219
|
+
500: 'Server Error',
|
|
220
|
+
501: 'Server Error'
|
|
221
|
+
}
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* @returns Volo_Abp_Account_AccountExternalProviderSettingsDto Success
|
|
227
|
+
* @throws ApiError
|
|
228
|
+
*/
|
|
229
|
+
public getApiAccountAdminSettingsExternalProvider(): CancelablePromise<GetApiAccountAdminSettingsExternalProviderResponse> {
|
|
230
|
+
return this.httpRequest.request({
|
|
231
|
+
method: 'GET',
|
|
232
|
+
url: '/api/account-admin/settings/external-provider',
|
|
233
|
+
errors: {
|
|
234
|
+
400: 'Bad Request',
|
|
235
|
+
401: 'Unauthorized',
|
|
236
|
+
403: 'Forbidden',
|
|
237
|
+
404: 'Not Found',
|
|
238
|
+
500: 'Server Error',
|
|
239
|
+
501: 'Server Error'
|
|
240
|
+
}
|
|
241
|
+
});
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* @param data The data for the request.
|
|
246
|
+
* @param data.requestBody
|
|
247
|
+
* @returns unknown Success
|
|
248
|
+
* @throws ApiError
|
|
249
|
+
*/
|
|
250
|
+
public putApiAccountAdminSettingsExternalProvider(data: PutApiAccountAdminSettingsExternalProviderData = {}): CancelablePromise<PutApiAccountAdminSettingsExternalProviderResponse> {
|
|
251
|
+
return this.httpRequest.request({
|
|
252
|
+
method: 'PUT',
|
|
253
|
+
url: '/api/account-admin/settings/external-provider',
|
|
254
|
+
body: data.requestBody,
|
|
255
|
+
mediaType: 'application/json',
|
|
256
|
+
errors: {
|
|
257
|
+
400: 'Bad Request',
|
|
258
|
+
401: 'Unauthorized',
|
|
259
|
+
403: 'Forbidden',
|
|
260
|
+
404: 'Not Found',
|
|
261
|
+
500: 'Server Error',
|
|
262
|
+
501: 'Server Error'
|
|
263
|
+
}
|
|
264
|
+
});
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
export class ApplicationsService {
|
|
270
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* @param data The data for the request.
|
|
274
|
+
* @param data.id
|
|
275
|
+
* @returns Volo_Abp_OpenIddict_Applications_Dtos_ApplicationDto Success
|
|
276
|
+
* @throws ApiError
|
|
277
|
+
*/
|
|
278
|
+
public getApiOpeniddictApplicationsById(data: GetApiOpeniddictApplicationsByIdData): CancelablePromise<GetApiOpeniddictApplicationsByIdResponse> {
|
|
279
|
+
return this.httpRequest.request({
|
|
280
|
+
method: 'GET',
|
|
281
|
+
url: '/api/openiddict/applications/{id}',
|
|
282
|
+
path: {
|
|
283
|
+
id: data.id
|
|
284
|
+
},
|
|
285
|
+
errors: {
|
|
286
|
+
400: 'Bad Request',
|
|
287
|
+
401: 'Unauthorized',
|
|
288
|
+
403: 'Forbidden',
|
|
289
|
+
404: 'Not Found',
|
|
290
|
+
500: 'Server Error',
|
|
291
|
+
501: 'Server Error'
|
|
292
|
+
}
|
|
293
|
+
});
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* @param data The data for the request.
|
|
298
|
+
* @param data.id
|
|
299
|
+
* @param data.requestBody
|
|
300
|
+
* @returns Volo_Abp_OpenIddict_Applications_Dtos_ApplicationDto Success
|
|
301
|
+
* @throws ApiError
|
|
302
|
+
*/
|
|
303
|
+
public putApiOpeniddictApplicationsById(data: PutApiOpeniddictApplicationsByIdData): CancelablePromise<PutApiOpeniddictApplicationsByIdResponse> {
|
|
304
|
+
return this.httpRequest.request({
|
|
305
|
+
method: 'PUT',
|
|
306
|
+
url: '/api/openiddict/applications/{id}',
|
|
307
|
+
path: {
|
|
308
|
+
id: data.id
|
|
309
|
+
},
|
|
310
|
+
body: data.requestBody,
|
|
311
|
+
mediaType: 'application/json',
|
|
312
|
+
errors: {
|
|
313
|
+
400: 'Bad Request',
|
|
314
|
+
401: 'Unauthorized',
|
|
315
|
+
403: 'Forbidden',
|
|
316
|
+
404: 'Not Found',
|
|
317
|
+
500: 'Server Error',
|
|
318
|
+
501: 'Server Error'
|
|
319
|
+
}
|
|
320
|
+
});
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* @param data The data for the request.
|
|
325
|
+
* @param data.filter
|
|
326
|
+
* @param data.sorting
|
|
327
|
+
* @param data.skipCount
|
|
328
|
+
* @param data.maxResultCount
|
|
329
|
+
* @returns Volo_Abp_Application_Dtos_PagedResultDto_1<Volo_Abp_OpenIddict_Applications_Dtos_ApplicationDto__Volo_Abp_OpenIddict_Pro_Application_Contracts__Version_8_0_5_0__Culture_neutral__PublicKeyToken_null_> Success
|
|
330
|
+
* @throws ApiError
|
|
331
|
+
*/
|
|
332
|
+
public getApiOpeniddictApplications(data: GetApiOpeniddictApplicationsData = {}): CancelablePromise<GetApiOpeniddictApplicationsResponse> {
|
|
333
|
+
return this.httpRequest.request({
|
|
334
|
+
method: 'GET',
|
|
335
|
+
url: '/api/openiddict/applications',
|
|
336
|
+
query: {
|
|
337
|
+
Filter: data.filter,
|
|
338
|
+
Sorting: data.sorting,
|
|
339
|
+
SkipCount: data.skipCount,
|
|
340
|
+
MaxResultCount: data.maxResultCount
|
|
341
|
+
},
|
|
342
|
+
errors: {
|
|
343
|
+
400: 'Bad Request',
|
|
344
|
+
401: 'Unauthorized',
|
|
345
|
+
403: 'Forbidden',
|
|
346
|
+
404: 'Not Found',
|
|
347
|
+
500: 'Server Error',
|
|
348
|
+
501: 'Server Error'
|
|
349
|
+
}
|
|
350
|
+
});
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* @param data The data for the request.
|
|
355
|
+
* @param data.requestBody
|
|
356
|
+
* @returns Volo_Abp_OpenIddict_Applications_Dtos_ApplicationDto Success
|
|
357
|
+
* @throws ApiError
|
|
358
|
+
*/
|
|
359
|
+
public postApiOpeniddictApplications(data: PostApiOpeniddictApplicationsData = {}): CancelablePromise<PostApiOpeniddictApplicationsResponse> {
|
|
360
|
+
return this.httpRequest.request({
|
|
361
|
+
method: 'POST',
|
|
362
|
+
url: '/api/openiddict/applications',
|
|
363
|
+
body: data.requestBody,
|
|
364
|
+
mediaType: 'application/json',
|
|
365
|
+
errors: {
|
|
366
|
+
400: 'Bad Request',
|
|
367
|
+
401: 'Unauthorized',
|
|
368
|
+
403: 'Forbidden',
|
|
369
|
+
404: 'Not Found',
|
|
370
|
+
500: 'Server Error',
|
|
371
|
+
501: 'Server Error'
|
|
372
|
+
}
|
|
373
|
+
});
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* @param data The data for the request.
|
|
378
|
+
* @param data.id
|
|
379
|
+
* @returns unknown Success
|
|
380
|
+
* @throws ApiError
|
|
381
|
+
*/
|
|
382
|
+
public deleteApiOpeniddictApplications(data: DeleteApiOpeniddictApplicationsData = {}): CancelablePromise<DeleteApiOpeniddictApplicationsResponse> {
|
|
383
|
+
return this.httpRequest.request({
|
|
384
|
+
method: 'DELETE',
|
|
385
|
+
url: '/api/openiddict/applications',
|
|
386
|
+
query: {
|
|
387
|
+
id: data.id
|
|
388
|
+
},
|
|
389
|
+
errors: {
|
|
390
|
+
400: 'Bad Request',
|
|
391
|
+
401: 'Unauthorized',
|
|
392
|
+
403: 'Forbidden',
|
|
393
|
+
404: 'Not Found',
|
|
394
|
+
500: 'Server Error',
|
|
395
|
+
501: 'Server Error'
|
|
396
|
+
}
|
|
397
|
+
});
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* @param data The data for the request.
|
|
402
|
+
* @param data.id
|
|
403
|
+
* @returns Volo_Abp_OpenIddict_Applications_Dtos_ApplicationTokenLifetimeDto Success
|
|
404
|
+
* @throws ApiError
|
|
405
|
+
*/
|
|
406
|
+
public getApiOpeniddictApplicationsByIdTokenLifetime(data: GetApiOpeniddictApplicationsByIdTokenLifetimeData): CancelablePromise<GetApiOpeniddictApplicationsByIdTokenLifetimeResponse> {
|
|
407
|
+
return this.httpRequest.request({
|
|
408
|
+
method: 'GET',
|
|
409
|
+
url: '/api/openiddict/applications/{id}/token-lifetime',
|
|
410
|
+
path: {
|
|
411
|
+
id: data.id
|
|
412
|
+
},
|
|
413
|
+
errors: {
|
|
414
|
+
400: 'Bad Request',
|
|
415
|
+
401: 'Unauthorized',
|
|
416
|
+
403: 'Forbidden',
|
|
417
|
+
404: 'Not Found',
|
|
418
|
+
500: 'Server Error',
|
|
419
|
+
501: 'Server Error'
|
|
420
|
+
}
|
|
421
|
+
});
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* @param data The data for the request.
|
|
426
|
+
* @param data.id
|
|
427
|
+
* @param data.requestBody
|
|
428
|
+
* @returns unknown Success
|
|
429
|
+
* @throws ApiError
|
|
430
|
+
*/
|
|
431
|
+
public putApiOpeniddictApplicationsByIdTokenLifetime(data: PutApiOpeniddictApplicationsByIdTokenLifetimeData): CancelablePromise<PutApiOpeniddictApplicationsByIdTokenLifetimeResponse> {
|
|
432
|
+
return this.httpRequest.request({
|
|
433
|
+
method: 'PUT',
|
|
434
|
+
url: '/api/openiddict/applications/{id}/token-lifetime',
|
|
435
|
+
path: {
|
|
436
|
+
id: data.id
|
|
437
|
+
},
|
|
438
|
+
body: data.requestBody,
|
|
439
|
+
mediaType: 'application/json',
|
|
440
|
+
errors: {
|
|
441
|
+
400: 'Bad Request',
|
|
442
|
+
401: 'Unauthorized',
|
|
443
|
+
403: 'Forbidden',
|
|
444
|
+
404: 'Not Found',
|
|
445
|
+
500: 'Server Error',
|
|
446
|
+
501: 'Server Error'
|
|
447
|
+
}
|
|
448
|
+
});
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
export class ClaimTypeService {
|
|
454
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
455
|
+
|
|
456
|
+
/**
|
|
457
|
+
* @param data The data for the request.
|
|
458
|
+
* @param data.filter
|
|
459
|
+
* @param data.sorting
|
|
460
|
+
* @param data.skipCount
|
|
461
|
+
* @param data.maxResultCount
|
|
462
|
+
* @param data.extraProperties
|
|
463
|
+
* @returns Volo_Abp_Application_Dtos_PagedResultDto_1<Volo_Abp_Identity_ClaimTypeDto__Volo_Abp_Identity_Pro_Application_Contracts__Version_8_0_5_0__Culture_neutral__PublicKeyToken_null_> Success
|
|
464
|
+
* @throws ApiError
|
|
465
|
+
*/
|
|
466
|
+
public getApiIdentityClaimTypes(data: GetApiIdentityClaimTypesData = {}): CancelablePromise<GetApiIdentityClaimTypesResponse> {
|
|
467
|
+
return this.httpRequest.request({
|
|
468
|
+
method: 'GET',
|
|
469
|
+
url: '/api/identity/claim-types',
|
|
470
|
+
query: {
|
|
471
|
+
Filter: data.filter,
|
|
472
|
+
Sorting: data.sorting,
|
|
473
|
+
SkipCount: data.skipCount,
|
|
474
|
+
MaxResultCount: data.maxResultCount,
|
|
475
|
+
ExtraProperties: data.extraProperties
|
|
476
|
+
},
|
|
477
|
+
errors: {
|
|
478
|
+
400: 'Bad Request',
|
|
479
|
+
401: 'Unauthorized',
|
|
480
|
+
403: 'Forbidden',
|
|
481
|
+
404: 'Not Found',
|
|
482
|
+
500: 'Server Error',
|
|
483
|
+
501: 'Server Error'
|
|
484
|
+
}
|
|
485
|
+
});
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
/**
|
|
489
|
+
* @param data The data for the request.
|
|
490
|
+
* @param data.requestBody
|
|
491
|
+
* @returns Volo_Abp_Identity_ClaimTypeDto Success
|
|
492
|
+
* @throws ApiError
|
|
493
|
+
*/
|
|
494
|
+
public postApiIdentityClaimTypes(data: PostApiIdentityClaimTypesData = {}): CancelablePromise<PostApiIdentityClaimTypesResponse> {
|
|
495
|
+
return this.httpRequest.request({
|
|
496
|
+
method: 'POST',
|
|
497
|
+
url: '/api/identity/claim-types',
|
|
498
|
+
body: data.requestBody,
|
|
499
|
+
mediaType: 'application/json',
|
|
500
|
+
errors: {
|
|
501
|
+
400: 'Bad Request',
|
|
502
|
+
401: 'Unauthorized',
|
|
503
|
+
403: 'Forbidden',
|
|
504
|
+
404: 'Not Found',
|
|
505
|
+
500: 'Server Error',
|
|
506
|
+
501: 'Server Error'
|
|
507
|
+
}
|
|
508
|
+
});
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
/**
|
|
512
|
+
* @param data The data for the request.
|
|
513
|
+
* @param data.id
|
|
514
|
+
* @returns Volo_Abp_Identity_ClaimTypeDto Success
|
|
515
|
+
* @throws ApiError
|
|
516
|
+
*/
|
|
517
|
+
public getApiIdentityClaimTypesById(data: GetApiIdentityClaimTypesByIdData): CancelablePromise<GetApiIdentityClaimTypesByIdResponse> {
|
|
518
|
+
return this.httpRequest.request({
|
|
519
|
+
method: 'GET',
|
|
520
|
+
url: '/api/identity/claim-types/{id}',
|
|
521
|
+
path: {
|
|
522
|
+
id: data.id
|
|
523
|
+
},
|
|
524
|
+
errors: {
|
|
525
|
+
400: 'Bad Request',
|
|
526
|
+
401: 'Unauthorized',
|
|
527
|
+
403: 'Forbidden',
|
|
528
|
+
404: 'Not Found',
|
|
529
|
+
500: 'Server Error',
|
|
530
|
+
501: 'Server Error'
|
|
531
|
+
}
|
|
532
|
+
});
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
/**
|
|
536
|
+
* @param data The data for the request.
|
|
537
|
+
* @param data.id
|
|
538
|
+
* @param data.requestBody
|
|
539
|
+
* @returns Volo_Abp_Identity_ClaimTypeDto Success
|
|
540
|
+
* @throws ApiError
|
|
541
|
+
*/
|
|
542
|
+
public putApiIdentityClaimTypesById(data: PutApiIdentityClaimTypesByIdData): CancelablePromise<PutApiIdentityClaimTypesByIdResponse> {
|
|
543
|
+
return this.httpRequest.request({
|
|
544
|
+
method: 'PUT',
|
|
545
|
+
url: '/api/identity/claim-types/{id}',
|
|
546
|
+
path: {
|
|
547
|
+
id: data.id
|
|
548
|
+
},
|
|
549
|
+
body: data.requestBody,
|
|
550
|
+
mediaType: 'application/json',
|
|
551
|
+
errors: {
|
|
552
|
+
400: 'Bad Request',
|
|
553
|
+
401: 'Unauthorized',
|
|
554
|
+
403: 'Forbidden',
|
|
555
|
+
404: 'Not Found',
|
|
556
|
+
500: 'Server Error',
|
|
557
|
+
501: 'Server Error'
|
|
558
|
+
}
|
|
559
|
+
});
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
/**
|
|
563
|
+
* @param data The data for the request.
|
|
564
|
+
* @param data.id
|
|
565
|
+
* @returns unknown Success
|
|
566
|
+
* @throws ApiError
|
|
567
|
+
*/
|
|
568
|
+
public deleteApiIdentityClaimTypesById(data: DeleteApiIdentityClaimTypesByIdData): CancelablePromise<DeleteApiIdentityClaimTypesByIdResponse> {
|
|
569
|
+
return this.httpRequest.request({
|
|
570
|
+
method: 'DELETE',
|
|
571
|
+
url: '/api/identity/claim-types/{id}',
|
|
572
|
+
path: {
|
|
573
|
+
id: data.id
|
|
574
|
+
},
|
|
575
|
+
errors: {
|
|
576
|
+
400: 'Bad Request',
|
|
577
|
+
401: 'Unauthorized',
|
|
578
|
+
403: 'Forbidden',
|
|
579
|
+
404: 'Not Found',
|
|
580
|
+
500: 'Server Error',
|
|
581
|
+
501: 'Server Error'
|
|
582
|
+
}
|
|
583
|
+
});
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
export class ExternalLoginService {
|
|
589
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
590
|
+
|
|
591
|
+
/**
|
|
592
|
+
* @returns unknown Success
|
|
593
|
+
* @throws ApiError
|
|
594
|
+
*/
|
|
595
|
+
public postApiIdentityExternalLogin(): CancelablePromise<PostApiIdentityExternalLoginResponse> {
|
|
596
|
+
return this.httpRequest.request({
|
|
597
|
+
method: 'POST',
|
|
598
|
+
url: '/api/identity/external-login',
|
|
599
|
+
errors: {
|
|
600
|
+
400: 'Bad Request',
|
|
601
|
+
401: 'Unauthorized',
|
|
602
|
+
403: 'Forbidden',
|
|
603
|
+
404: 'Not Found',
|
|
604
|
+
500: 'Server Error',
|
|
605
|
+
501: 'Server Error'
|
|
606
|
+
}
|
|
607
|
+
});
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
export class OrganizationUnitService {
|
|
613
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
614
|
+
|
|
615
|
+
/**
|
|
616
|
+
* @param data The data for the request.
|
|
617
|
+
* @param data.id
|
|
618
|
+
* @param data.requestBody
|
|
619
|
+
* @returns unknown Success
|
|
620
|
+
* @throws ApiError
|
|
621
|
+
*/
|
|
622
|
+
public putApiIdentityOrganizationUnitsByIdRoles(data: PutApiIdentityOrganizationUnitsByIdRolesData): CancelablePromise<PutApiIdentityOrganizationUnitsByIdRolesResponse> {
|
|
623
|
+
return this.httpRequest.request({
|
|
624
|
+
method: 'PUT',
|
|
625
|
+
url: '/api/identity/organization-units/{id}/roles',
|
|
626
|
+
path: {
|
|
627
|
+
id: data.id
|
|
628
|
+
},
|
|
629
|
+
body: data.requestBody,
|
|
630
|
+
mediaType: 'application/json',
|
|
631
|
+
errors: {
|
|
632
|
+
400: 'Bad Request',
|
|
633
|
+
401: 'Unauthorized',
|
|
634
|
+
403: 'Forbidden',
|
|
635
|
+
404: 'Not Found',
|
|
636
|
+
500: 'Server Error',
|
|
637
|
+
501: 'Server Error'
|
|
638
|
+
}
|
|
639
|
+
});
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
/**
|
|
643
|
+
* @param data The data for the request.
|
|
644
|
+
* @param data.id
|
|
645
|
+
* @param data.sorting
|
|
646
|
+
* @param data.skipCount
|
|
647
|
+
* @param data.maxResultCount
|
|
648
|
+
* @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
|
|
649
|
+
* @throws ApiError
|
|
650
|
+
*/
|
|
651
|
+
public getApiIdentityOrganizationUnitsByIdRoles(data: GetApiIdentityOrganizationUnitsByIdRolesData): CancelablePromise<GetApiIdentityOrganizationUnitsByIdRolesResponse> {
|
|
652
|
+
return this.httpRequest.request({
|
|
653
|
+
method: 'GET',
|
|
654
|
+
url: '/api/identity/organization-units/{id}/roles',
|
|
655
|
+
path: {
|
|
656
|
+
id: data.id
|
|
657
|
+
},
|
|
658
|
+
query: {
|
|
659
|
+
Sorting: data.sorting,
|
|
660
|
+
SkipCount: data.skipCount,
|
|
661
|
+
MaxResultCount: data.maxResultCount
|
|
662
|
+
},
|
|
663
|
+
errors: {
|
|
664
|
+
400: 'Bad Request',
|
|
665
|
+
401: 'Unauthorized',
|
|
666
|
+
403: 'Forbidden',
|
|
667
|
+
404: 'Not Found',
|
|
668
|
+
500: 'Server Error',
|
|
669
|
+
501: 'Server Error'
|
|
670
|
+
}
|
|
671
|
+
});
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
/**
|
|
675
|
+
* @param data The data for the request.
|
|
676
|
+
* @param data.id
|
|
677
|
+
* @param data.requestBody
|
|
678
|
+
* @returns unknown Success
|
|
679
|
+
* @throws ApiError
|
|
680
|
+
*/
|
|
681
|
+
public putApiIdentityOrganizationUnitsByIdMembers(data: PutApiIdentityOrganizationUnitsByIdMembersData): CancelablePromise<PutApiIdentityOrganizationUnitsByIdMembersResponse> {
|
|
682
|
+
return this.httpRequest.request({
|
|
683
|
+
method: 'PUT',
|
|
684
|
+
url: '/api/identity/organization-units/{id}/members',
|
|
685
|
+
path: {
|
|
686
|
+
id: data.id
|
|
687
|
+
},
|
|
688
|
+
body: data.requestBody,
|
|
689
|
+
mediaType: 'application/json',
|
|
690
|
+
errors: {
|
|
691
|
+
400: 'Bad Request',
|
|
692
|
+
401: 'Unauthorized',
|
|
693
|
+
403: 'Forbidden',
|
|
694
|
+
404: 'Not Found',
|
|
695
|
+
500: 'Server Error',
|
|
696
|
+
501: 'Server Error'
|
|
697
|
+
}
|
|
698
|
+
});
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
/**
|
|
702
|
+
* @param data The data for the request.
|
|
703
|
+
* @param data.id
|
|
704
|
+
* @param data.filter
|
|
705
|
+
* @param data.roleId
|
|
706
|
+
* @param data.organizationUnitId
|
|
707
|
+
* @param data.userName
|
|
708
|
+
* @param data.phoneNumber
|
|
709
|
+
* @param data.emailAddress
|
|
710
|
+
* @param data.name
|
|
711
|
+
* @param data.surname
|
|
712
|
+
* @param data.isLockedOut
|
|
713
|
+
* @param data.notActive
|
|
714
|
+
* @param data.emailConfirmed
|
|
715
|
+
* @param data.isExternal
|
|
716
|
+
* @param data.maxCreationTime
|
|
717
|
+
* @param data.minCreationTime
|
|
718
|
+
* @param data.maxModifitionTime
|
|
719
|
+
* @param data.minModifitionTime
|
|
720
|
+
* @param data.sorting
|
|
721
|
+
* @param data.skipCount
|
|
722
|
+
* @param data.maxResultCount
|
|
723
|
+
* @param data.extraProperties
|
|
724
|
+
* @returns Volo_Abp_Application_Dtos_PagedResultDto_1<Volo_Abp_Identity_IdentityUserDto__Volo_Abp_Identity_Pro_Application_Contracts__Version_8_0_5_0__Culture_neutral__PublicKeyToken_null_> Success
|
|
725
|
+
* @throws ApiError
|
|
726
|
+
*/
|
|
727
|
+
public getApiIdentityOrganizationUnitsByIdMembers(data: GetApiIdentityOrganizationUnitsByIdMembersData): CancelablePromise<GetApiIdentityOrganizationUnitsByIdMembersResponse> {
|
|
728
|
+
return this.httpRequest.request({
|
|
729
|
+
method: 'GET',
|
|
730
|
+
url: '/api/identity/organization-units/{id}/members',
|
|
731
|
+
path: {
|
|
732
|
+
id: data.id
|
|
733
|
+
},
|
|
734
|
+
query: {
|
|
735
|
+
Filter: data.filter,
|
|
736
|
+
RoleId: data.roleId,
|
|
737
|
+
OrganizationUnitId: data.organizationUnitId,
|
|
738
|
+
UserName: data.userName,
|
|
739
|
+
PhoneNumber: data.phoneNumber,
|
|
740
|
+
EmailAddress: data.emailAddress,
|
|
741
|
+
Name: data.name,
|
|
742
|
+
Surname: data.surname,
|
|
743
|
+
IsLockedOut: data.isLockedOut,
|
|
744
|
+
NotActive: data.notActive,
|
|
745
|
+
EmailConfirmed: data.emailConfirmed,
|
|
746
|
+
IsExternal: data.isExternal,
|
|
747
|
+
MaxCreationTime: data.maxCreationTime,
|
|
748
|
+
MinCreationTime: data.minCreationTime,
|
|
749
|
+
MaxModifitionTime: data.maxModifitionTime,
|
|
750
|
+
MinModifitionTime: data.minModifitionTime,
|
|
751
|
+
Sorting: data.sorting,
|
|
752
|
+
SkipCount: data.skipCount,
|
|
753
|
+
MaxResultCount: data.maxResultCount,
|
|
754
|
+
ExtraProperties: data.extraProperties
|
|
755
|
+
},
|
|
756
|
+
errors: {
|
|
757
|
+
400: 'Bad Request',
|
|
758
|
+
401: 'Unauthorized',
|
|
759
|
+
403: 'Forbidden',
|
|
760
|
+
404: 'Not Found',
|
|
761
|
+
500: 'Server Error',
|
|
762
|
+
501: 'Server Error'
|
|
763
|
+
}
|
|
764
|
+
});
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
/**
|
|
768
|
+
* @param data The data for the request.
|
|
769
|
+
* @param data.requestBody
|
|
770
|
+
* @returns Volo_Abp_Identity_OrganizationUnitWithDetailsDto Success
|
|
771
|
+
* @throws ApiError
|
|
772
|
+
*/
|
|
773
|
+
public postApiIdentityOrganizationUnits(data: PostApiIdentityOrganizationUnitsData = {}): CancelablePromise<PostApiIdentityOrganizationUnitsResponse> {
|
|
774
|
+
return this.httpRequest.request({
|
|
775
|
+
method: 'POST',
|
|
776
|
+
url: '/api/identity/organization-units',
|
|
777
|
+
body: data.requestBody,
|
|
778
|
+
mediaType: 'application/json',
|
|
779
|
+
errors: {
|
|
780
|
+
400: 'Bad Request',
|
|
781
|
+
401: 'Unauthorized',
|
|
782
|
+
403: 'Forbidden',
|
|
783
|
+
404: 'Not Found',
|
|
784
|
+
500: 'Server Error',
|
|
785
|
+
501: 'Server Error'
|
|
786
|
+
}
|
|
787
|
+
});
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
/**
|
|
791
|
+
* @param data The data for the request.
|
|
792
|
+
* @param data.id
|
|
793
|
+
* @returns unknown Success
|
|
794
|
+
* @throws ApiError
|
|
795
|
+
*/
|
|
796
|
+
public deleteApiIdentityOrganizationUnits(data: DeleteApiIdentityOrganizationUnitsData = {}): CancelablePromise<DeleteApiIdentityOrganizationUnitsResponse> {
|
|
797
|
+
return this.httpRequest.request({
|
|
798
|
+
method: 'DELETE',
|
|
799
|
+
url: '/api/identity/organization-units',
|
|
800
|
+
query: {
|
|
801
|
+
id: data.id
|
|
802
|
+
},
|
|
803
|
+
errors: {
|
|
804
|
+
400: 'Bad Request',
|
|
805
|
+
401: 'Unauthorized',
|
|
806
|
+
403: 'Forbidden',
|
|
807
|
+
404: 'Not Found',
|
|
808
|
+
500: 'Server Error',
|
|
809
|
+
501: 'Server Error'
|
|
810
|
+
}
|
|
811
|
+
});
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
/**
|
|
815
|
+
* @param data The data for the request.
|
|
816
|
+
* @param data.filter
|
|
817
|
+
* @param data.sorting
|
|
818
|
+
* @param data.skipCount
|
|
819
|
+
* @param data.maxResultCount
|
|
820
|
+
* @param data.extraProperties
|
|
821
|
+
* @returns Volo_Abp_Application_Dtos_PagedResultDto_1<Volo_Abp_Identity_OrganizationUnitWithDetailsDto__Volo_Abp_Identity_Pro_Application_Contracts__Version_8_0_5_0__Culture_neutral__PublicKeyToken_null_> Success
|
|
822
|
+
* @throws ApiError
|
|
823
|
+
*/
|
|
824
|
+
public getApiIdentityOrganizationUnits(data: GetApiIdentityOrganizationUnitsData = {}): CancelablePromise<GetApiIdentityOrganizationUnitsResponse> {
|
|
825
|
+
return this.httpRequest.request({
|
|
826
|
+
method: 'GET',
|
|
827
|
+
url: '/api/identity/organization-units',
|
|
828
|
+
query: {
|
|
829
|
+
Filter: data.filter,
|
|
830
|
+
Sorting: data.sorting,
|
|
831
|
+
SkipCount: data.skipCount,
|
|
832
|
+
MaxResultCount: data.maxResultCount,
|
|
833
|
+
ExtraProperties: data.extraProperties
|
|
834
|
+
},
|
|
835
|
+
errors: {
|
|
836
|
+
400: 'Bad Request',
|
|
837
|
+
401: 'Unauthorized',
|
|
838
|
+
403: 'Forbidden',
|
|
839
|
+
404: 'Not Found',
|
|
840
|
+
500: 'Server Error',
|
|
841
|
+
501: 'Server Error'
|
|
842
|
+
}
|
|
843
|
+
});
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
/**
|
|
847
|
+
* @param data The data for the request.
|
|
848
|
+
* @param data.id
|
|
849
|
+
* @returns Volo_Abp_Identity_OrganizationUnitWithDetailsDto Success
|
|
850
|
+
* @throws ApiError
|
|
851
|
+
*/
|
|
852
|
+
public getApiIdentityOrganizationUnitsById(data: GetApiIdentityOrganizationUnitsByIdData): CancelablePromise<GetApiIdentityOrganizationUnitsByIdResponse> {
|
|
853
|
+
return this.httpRequest.request({
|
|
854
|
+
method: 'GET',
|
|
855
|
+
url: '/api/identity/organization-units/{id}',
|
|
856
|
+
path: {
|
|
857
|
+
id: data.id
|
|
858
|
+
},
|
|
859
|
+
errors: {
|
|
860
|
+
400: 'Bad Request',
|
|
861
|
+
401: 'Unauthorized',
|
|
862
|
+
403: 'Forbidden',
|
|
863
|
+
404: 'Not Found',
|
|
864
|
+
500: 'Server Error',
|
|
865
|
+
501: 'Server Error'
|
|
866
|
+
}
|
|
867
|
+
});
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
/**
|
|
871
|
+
* @param data The data for the request.
|
|
872
|
+
* @param data.id
|
|
873
|
+
* @param data.requestBody
|
|
874
|
+
* @returns Volo_Abp_Identity_OrganizationUnitWithDetailsDto Success
|
|
875
|
+
* @throws ApiError
|
|
876
|
+
*/
|
|
877
|
+
public putApiIdentityOrganizationUnitsById(data: PutApiIdentityOrganizationUnitsByIdData): CancelablePromise<PutApiIdentityOrganizationUnitsByIdResponse> {
|
|
878
|
+
return this.httpRequest.request({
|
|
879
|
+
method: 'PUT',
|
|
880
|
+
url: '/api/identity/organization-units/{id}',
|
|
881
|
+
path: {
|
|
882
|
+
id: data.id
|
|
883
|
+
},
|
|
884
|
+
body: data.requestBody,
|
|
885
|
+
mediaType: 'application/json',
|
|
886
|
+
errors: {
|
|
887
|
+
400: 'Bad Request',
|
|
888
|
+
401: 'Unauthorized',
|
|
889
|
+
403: 'Forbidden',
|
|
890
|
+
404: 'Not Found',
|
|
891
|
+
500: 'Server Error',
|
|
892
|
+
501: 'Server Error'
|
|
893
|
+
}
|
|
894
|
+
});
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
/**
|
|
898
|
+
* @returns Volo_Abp_Application_Dtos_ListResultDto_1<Volo_Abp_Identity_OrganizationUnitWithDetailsDto__Volo_Abp_Identity_Pro_Application_Contracts__Version_8_0_5_0__Culture_neutral__PublicKeyToken_null_> Success
|
|
899
|
+
* @throws ApiError
|
|
900
|
+
*/
|
|
901
|
+
public getApiIdentityOrganizationUnitsAll(): CancelablePromise<GetApiIdentityOrganizationUnitsAllResponse> {
|
|
902
|
+
return this.httpRequest.request({
|
|
903
|
+
method: 'GET',
|
|
904
|
+
url: '/api/identity/organization-units/all',
|
|
905
|
+
errors: {
|
|
906
|
+
400: 'Bad Request',
|
|
907
|
+
401: 'Unauthorized',
|
|
908
|
+
403: 'Forbidden',
|
|
909
|
+
404: 'Not Found',
|
|
910
|
+
500: 'Server Error',
|
|
911
|
+
501: 'Server Error'
|
|
912
|
+
}
|
|
913
|
+
});
|
|
914
|
+
}
|
|
915
|
+
|
|
916
|
+
/**
|
|
917
|
+
* @param data The data for the request.
|
|
918
|
+
* @param data.id
|
|
919
|
+
* @param data.requestBody
|
|
920
|
+
* @returns unknown Success
|
|
921
|
+
* @throws ApiError
|
|
922
|
+
*/
|
|
923
|
+
public putApiIdentityOrganizationUnitsByIdMove(data: PutApiIdentityOrganizationUnitsByIdMoveData): CancelablePromise<PutApiIdentityOrganizationUnitsByIdMoveResponse> {
|
|
924
|
+
return this.httpRequest.request({
|
|
925
|
+
method: 'PUT',
|
|
926
|
+
url: '/api/identity/organization-units/{id}/move',
|
|
927
|
+
path: {
|
|
928
|
+
id: data.id
|
|
929
|
+
},
|
|
930
|
+
body: data.requestBody,
|
|
931
|
+
mediaType: 'application/json',
|
|
932
|
+
errors: {
|
|
933
|
+
400: 'Bad Request',
|
|
934
|
+
401: 'Unauthorized',
|
|
935
|
+
403: 'Forbidden',
|
|
936
|
+
404: 'Not Found',
|
|
937
|
+
500: 'Server Error',
|
|
938
|
+
501: 'Server Error'
|
|
939
|
+
}
|
|
940
|
+
});
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
/**
|
|
944
|
+
* @param data The data for the request.
|
|
945
|
+
* @param data.filter
|
|
946
|
+
* @param data.id
|
|
947
|
+
* @param data.sorting
|
|
948
|
+
* @param data.skipCount
|
|
949
|
+
* @param data.maxResultCount
|
|
950
|
+
* @param data.extraProperties
|
|
951
|
+
* @returns Volo_Abp_Application_Dtos_PagedResultDto_1<Volo_Abp_Identity_IdentityUserDto__Volo_Abp_Identity_Pro_Application_Contracts__Version_8_0_5_0__Culture_neutral__PublicKeyToken_null_> Success
|
|
952
|
+
* @throws ApiError
|
|
953
|
+
*/
|
|
954
|
+
public getApiIdentityOrganizationUnitsAvailableUsers(data: GetApiIdentityOrganizationUnitsAvailableUsersData = {}): CancelablePromise<GetApiIdentityOrganizationUnitsAvailableUsersResponse> {
|
|
955
|
+
return this.httpRequest.request({
|
|
956
|
+
method: 'GET',
|
|
957
|
+
url: '/api/identity/organization-units/available-users',
|
|
958
|
+
query: {
|
|
959
|
+
Filter: data.filter,
|
|
960
|
+
Id: data.id,
|
|
961
|
+
Sorting: data.sorting,
|
|
962
|
+
SkipCount: data.skipCount,
|
|
963
|
+
MaxResultCount: data.maxResultCount,
|
|
964
|
+
ExtraProperties: data.extraProperties
|
|
965
|
+
},
|
|
966
|
+
errors: {
|
|
967
|
+
400: 'Bad Request',
|
|
968
|
+
401: 'Unauthorized',
|
|
969
|
+
403: 'Forbidden',
|
|
970
|
+
404: 'Not Found',
|
|
971
|
+
500: 'Server Error',
|
|
972
|
+
501: 'Server Error'
|
|
973
|
+
}
|
|
974
|
+
});
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
/**
|
|
978
|
+
* @param data The data for the request.
|
|
979
|
+
* @param data.filter
|
|
980
|
+
* @param data.id
|
|
981
|
+
* @param data.sorting
|
|
982
|
+
* @param data.skipCount
|
|
983
|
+
* @param data.maxResultCount
|
|
984
|
+
* @param data.extraProperties
|
|
985
|
+
* @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
|
|
986
|
+
* @throws ApiError
|
|
987
|
+
*/
|
|
988
|
+
public getApiIdentityOrganizationUnitsAvailableRoles(data: GetApiIdentityOrganizationUnitsAvailableRolesData = {}): CancelablePromise<GetApiIdentityOrganizationUnitsAvailableRolesResponse> {
|
|
989
|
+
return this.httpRequest.request({
|
|
990
|
+
method: 'GET',
|
|
991
|
+
url: '/api/identity/organization-units/available-roles',
|
|
992
|
+
query: {
|
|
993
|
+
Filter: data.filter,
|
|
994
|
+
Id: data.id,
|
|
995
|
+
Sorting: data.sorting,
|
|
996
|
+
SkipCount: data.skipCount,
|
|
997
|
+
MaxResultCount: data.maxResultCount,
|
|
998
|
+
ExtraProperties: data.extraProperties
|
|
999
|
+
},
|
|
1000
|
+
errors: {
|
|
1001
|
+
400: 'Bad Request',
|
|
1002
|
+
401: 'Unauthorized',
|
|
1003
|
+
403: 'Forbidden',
|
|
1004
|
+
404: 'Not Found',
|
|
1005
|
+
500: 'Server Error',
|
|
1006
|
+
501: 'Server Error'
|
|
1007
|
+
}
|
|
1008
|
+
});
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
/**
|
|
1012
|
+
* @param data The data for the request.
|
|
1013
|
+
* @param data.id
|
|
1014
|
+
* @param data.organizationId
|
|
1015
|
+
* @returns unknown Success
|
|
1016
|
+
* @throws ApiError
|
|
1017
|
+
*/
|
|
1018
|
+
public putApiIdentityOrganizationUnitsByIdMoveAllUsers(data: PutApiIdentityOrganizationUnitsByIdMoveAllUsersData): CancelablePromise<PutApiIdentityOrganizationUnitsByIdMoveAllUsersResponse> {
|
|
1019
|
+
return this.httpRequest.request({
|
|
1020
|
+
method: 'PUT',
|
|
1021
|
+
url: '/api/identity/organization-units/{id}/move-all-users',
|
|
1022
|
+
path: {
|
|
1023
|
+
id: data.id
|
|
1024
|
+
},
|
|
1025
|
+
query: {
|
|
1026
|
+
organizationId: data.organizationId
|
|
1027
|
+
},
|
|
1028
|
+
errors: {
|
|
1029
|
+
400: 'Bad Request',
|
|
1030
|
+
401: 'Unauthorized',
|
|
1031
|
+
403: 'Forbidden',
|
|
1032
|
+
404: 'Not Found',
|
|
1033
|
+
500: 'Server Error',
|
|
1034
|
+
501: 'Server Error'
|
|
1035
|
+
}
|
|
1036
|
+
});
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
/**
|
|
1040
|
+
* @param data The data for the request.
|
|
1041
|
+
* @param data.id
|
|
1042
|
+
* @param data.memberId
|
|
1043
|
+
* @returns unknown Success
|
|
1044
|
+
* @throws ApiError
|
|
1045
|
+
*/
|
|
1046
|
+
public deleteApiIdentityOrganizationUnitsByIdMembersByMemberId(data: DeleteApiIdentityOrganizationUnitsByIdMembersByMemberIdData): CancelablePromise<DeleteApiIdentityOrganizationUnitsByIdMembersByMemberIdResponse> {
|
|
1047
|
+
return this.httpRequest.request({
|
|
1048
|
+
method: 'DELETE',
|
|
1049
|
+
url: '/api/identity/organization-units/{id}/members/{memberId}',
|
|
1050
|
+
path: {
|
|
1051
|
+
id: data.id,
|
|
1052
|
+
memberId: data.memberId
|
|
1053
|
+
},
|
|
1054
|
+
errors: {
|
|
1055
|
+
400: 'Bad Request',
|
|
1056
|
+
401: 'Unauthorized',
|
|
1057
|
+
403: 'Forbidden',
|
|
1058
|
+
404: 'Not Found',
|
|
1059
|
+
500: 'Server Error',
|
|
1060
|
+
501: 'Server Error'
|
|
1061
|
+
}
|
|
1062
|
+
});
|
|
1063
|
+
}
|
|
1064
|
+
|
|
1065
|
+
/**
|
|
1066
|
+
* @param data The data for the request.
|
|
1067
|
+
* @param data.id
|
|
1068
|
+
* @param data.roleId
|
|
1069
|
+
* @returns unknown Success
|
|
1070
|
+
* @throws ApiError
|
|
1071
|
+
*/
|
|
1072
|
+
public deleteApiIdentityOrganizationUnitsByIdRolesByRoleId(data: DeleteApiIdentityOrganizationUnitsByIdRolesByRoleIdData): CancelablePromise<DeleteApiIdentityOrganizationUnitsByIdRolesByRoleIdResponse> {
|
|
1073
|
+
return this.httpRequest.request({
|
|
1074
|
+
method: 'DELETE',
|
|
1075
|
+
url: '/api/identity/organization-units/{id}/roles/{roleId}',
|
|
1076
|
+
path: {
|
|
1077
|
+
id: data.id,
|
|
1078
|
+
roleId: data.roleId
|
|
1079
|
+
},
|
|
1080
|
+
errors: {
|
|
1081
|
+
400: 'Bad Request',
|
|
1082
|
+
401: 'Unauthorized',
|
|
1083
|
+
403: 'Forbidden',
|
|
1084
|
+
404: 'Not Found',
|
|
1085
|
+
500: 'Server Error',
|
|
1086
|
+
501: 'Server Error'
|
|
1087
|
+
}
|
|
1088
|
+
});
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
}
|
|
1092
|
+
|
|
1093
|
+
export class RoleService {
|
|
1094
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
1095
|
+
|
|
1096
|
+
/**
|
|
1097
|
+
* @param data The data for the request.
|
|
1098
|
+
* @param data.id
|
|
1099
|
+
* @returns Volo_Abp_Identity_IdentityRoleDto Success
|
|
1100
|
+
* @throws ApiError
|
|
1101
|
+
*/
|
|
1102
|
+
public getApiIdentityRolesById(data: GetApiIdentityRolesByIdData): CancelablePromise<GetApiIdentityRolesByIdResponse> {
|
|
1103
|
+
return this.httpRequest.request({
|
|
1104
|
+
method: 'GET',
|
|
1105
|
+
url: '/api/identity/roles/{id}',
|
|
1106
|
+
path: {
|
|
1107
|
+
id: data.id
|
|
1108
|
+
},
|
|
1109
|
+
errors: {
|
|
1110
|
+
400: 'Bad Request',
|
|
1111
|
+
401: 'Unauthorized',
|
|
1112
|
+
403: 'Forbidden',
|
|
1113
|
+
404: 'Not Found',
|
|
1114
|
+
500: 'Server Error',
|
|
1115
|
+
501: 'Server Error'
|
|
1116
|
+
}
|
|
1117
|
+
});
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
/**
|
|
1121
|
+
* @param data The data for the request.
|
|
1122
|
+
* @param data.id
|
|
1123
|
+
* @param data.requestBody
|
|
1124
|
+
* @returns Volo_Abp_Identity_IdentityRoleDto Success
|
|
1125
|
+
* @throws ApiError
|
|
1126
|
+
*/
|
|
1127
|
+
public putApiIdentityRolesById(data: PutApiIdentityRolesByIdData): CancelablePromise<PutApiIdentityRolesByIdResponse> {
|
|
1128
|
+
return this.httpRequest.request({
|
|
1129
|
+
method: 'PUT',
|
|
1130
|
+
url: '/api/identity/roles/{id}',
|
|
1131
|
+
path: {
|
|
1132
|
+
id: data.id
|
|
1133
|
+
},
|
|
1134
|
+
body: data.requestBody,
|
|
1135
|
+
mediaType: 'application/json',
|
|
1136
|
+
errors: {
|
|
1137
|
+
400: 'Bad Request',
|
|
1138
|
+
401: 'Unauthorized',
|
|
1139
|
+
403: 'Forbidden',
|
|
1140
|
+
404: 'Not Found',
|
|
1141
|
+
500: 'Server Error',
|
|
1142
|
+
501: 'Server Error'
|
|
1143
|
+
}
|
|
1144
|
+
});
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1147
|
+
/**
|
|
1148
|
+
* @param data The data for the request.
|
|
1149
|
+
* @param data.id
|
|
1150
|
+
* @returns unknown Success
|
|
1151
|
+
* @throws ApiError
|
|
1152
|
+
*/
|
|
1153
|
+
public deleteApiIdentityRolesById(data: DeleteApiIdentityRolesByIdData): CancelablePromise<DeleteApiIdentityRolesByIdResponse> {
|
|
1154
|
+
return this.httpRequest.request({
|
|
1155
|
+
method: 'DELETE',
|
|
1156
|
+
url: '/api/identity/roles/{id}',
|
|
1157
|
+
path: {
|
|
1158
|
+
id: data.id
|
|
1159
|
+
},
|
|
1160
|
+
errors: {
|
|
1161
|
+
400: 'Bad Request',
|
|
1162
|
+
401: 'Unauthorized',
|
|
1163
|
+
403: 'Forbidden',
|
|
1164
|
+
404: 'Not Found',
|
|
1165
|
+
500: 'Server Error',
|
|
1166
|
+
501: 'Server Error'
|
|
1167
|
+
}
|
|
1168
|
+
});
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
/**
|
|
1172
|
+
* @param data The data for the request.
|
|
1173
|
+
* @param data.requestBody
|
|
1174
|
+
* @returns Volo_Abp_Identity_IdentityRoleDto Success
|
|
1175
|
+
* @throws ApiError
|
|
1176
|
+
*/
|
|
1177
|
+
public postApiIdentityRoles(data: PostApiIdentityRolesData = {}): CancelablePromise<PostApiIdentityRolesResponse> {
|
|
1178
|
+
return this.httpRequest.request({
|
|
1179
|
+
method: 'POST',
|
|
1180
|
+
url: '/api/identity/roles',
|
|
1181
|
+
body: data.requestBody,
|
|
1182
|
+
mediaType: 'application/json',
|
|
1183
|
+
errors: {
|
|
1184
|
+
400: 'Bad Request',
|
|
1185
|
+
401: 'Unauthorized',
|
|
1186
|
+
403: 'Forbidden',
|
|
1187
|
+
404: 'Not Found',
|
|
1188
|
+
500: 'Server Error',
|
|
1189
|
+
501: 'Server Error'
|
|
1190
|
+
}
|
|
1191
|
+
});
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
/**
|
|
1195
|
+
* @param data The data for the request.
|
|
1196
|
+
* @param data.filter
|
|
1197
|
+
* @param data.sorting
|
|
1198
|
+
* @param data.skipCount
|
|
1199
|
+
* @param data.maxResultCount
|
|
1200
|
+
* @param data.extraProperties
|
|
1201
|
+
* @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
|
|
1202
|
+
* @throws ApiError
|
|
1203
|
+
*/
|
|
1204
|
+
public getApiIdentityRoles(data: GetApiIdentityRolesData = {}): CancelablePromise<GetApiIdentityRolesResponse> {
|
|
1205
|
+
return this.httpRequest.request({
|
|
1206
|
+
method: 'GET',
|
|
1207
|
+
url: '/api/identity/roles',
|
|
1208
|
+
query: {
|
|
1209
|
+
Filter: data.filter,
|
|
1210
|
+
Sorting: data.sorting,
|
|
1211
|
+
SkipCount: data.skipCount,
|
|
1212
|
+
MaxResultCount: data.maxResultCount,
|
|
1213
|
+
ExtraProperties: data.extraProperties
|
|
1214
|
+
},
|
|
1215
|
+
errors: {
|
|
1216
|
+
400: 'Bad Request',
|
|
1217
|
+
401: 'Unauthorized',
|
|
1218
|
+
403: 'Forbidden',
|
|
1219
|
+
404: 'Not Found',
|
|
1220
|
+
500: 'Server Error',
|
|
1221
|
+
501: 'Server Error'
|
|
1222
|
+
}
|
|
1223
|
+
});
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1226
|
+
/**
|
|
1227
|
+
* @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
|
|
1228
|
+
* @throws ApiError
|
|
1229
|
+
*/
|
|
1230
|
+
public getApiIdentityRolesAll(): CancelablePromise<GetApiIdentityRolesAllResponse> {
|
|
1231
|
+
return this.httpRequest.request({
|
|
1232
|
+
method: 'GET',
|
|
1233
|
+
url: '/api/identity/roles/all',
|
|
1234
|
+
errors: {
|
|
1235
|
+
400: 'Bad Request',
|
|
1236
|
+
401: 'Unauthorized',
|
|
1237
|
+
403: 'Forbidden',
|
|
1238
|
+
404: 'Not Found',
|
|
1239
|
+
500: 'Server Error',
|
|
1240
|
+
501: 'Server Error'
|
|
1241
|
+
}
|
|
1242
|
+
});
|
|
1243
|
+
}
|
|
1244
|
+
|
|
1245
|
+
/**
|
|
1246
|
+
* @param data The data for the request.
|
|
1247
|
+
* @param data.id
|
|
1248
|
+
* @param data.requestBody
|
|
1249
|
+
* @returns unknown Success
|
|
1250
|
+
* @throws ApiError
|
|
1251
|
+
*/
|
|
1252
|
+
public putApiIdentityRolesByIdClaims(data: PutApiIdentityRolesByIdClaimsData): CancelablePromise<PutApiIdentityRolesByIdClaimsResponse> {
|
|
1253
|
+
return this.httpRequest.request({
|
|
1254
|
+
method: 'PUT',
|
|
1255
|
+
url: '/api/identity/roles/{id}/claims',
|
|
1256
|
+
path: {
|
|
1257
|
+
id: data.id
|
|
1258
|
+
},
|
|
1259
|
+
body: data.requestBody,
|
|
1260
|
+
mediaType: 'application/json',
|
|
1261
|
+
errors: {
|
|
1262
|
+
400: 'Bad Request',
|
|
1263
|
+
401: 'Unauthorized',
|
|
1264
|
+
403: 'Forbidden',
|
|
1265
|
+
404: 'Not Found',
|
|
1266
|
+
500: 'Server Error',
|
|
1267
|
+
501: 'Server Error'
|
|
1268
|
+
}
|
|
1269
|
+
});
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1272
|
+
/**
|
|
1273
|
+
* @param data The data for the request.
|
|
1274
|
+
* @param data.id
|
|
1275
|
+
* @returns Volo_Abp_Identity_IdentityRoleClaimDto Success
|
|
1276
|
+
* @throws ApiError
|
|
1277
|
+
*/
|
|
1278
|
+
public getApiIdentityRolesByIdClaims(data: GetApiIdentityRolesByIdClaimsData): CancelablePromise<GetApiIdentityRolesByIdClaimsResponse> {
|
|
1279
|
+
return this.httpRequest.request({
|
|
1280
|
+
method: 'GET',
|
|
1281
|
+
url: '/api/identity/roles/{id}/claims',
|
|
1282
|
+
path: {
|
|
1283
|
+
id: data.id
|
|
1284
|
+
},
|
|
1285
|
+
errors: {
|
|
1286
|
+
400: 'Bad Request',
|
|
1287
|
+
401: 'Unauthorized',
|
|
1288
|
+
403: 'Forbidden',
|
|
1289
|
+
404: 'Not Found',
|
|
1290
|
+
500: 'Server Error',
|
|
1291
|
+
501: 'Server Error'
|
|
1292
|
+
}
|
|
1293
|
+
});
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1296
|
+
/**
|
|
1297
|
+
* @param data The data for the request.
|
|
1298
|
+
* @param data.id
|
|
1299
|
+
* @param data.roleId
|
|
1300
|
+
* @returns unknown Success
|
|
1301
|
+
* @throws ApiError
|
|
1302
|
+
*/
|
|
1303
|
+
public putApiIdentityRolesByIdMoveAllUsers(data: PutApiIdentityRolesByIdMoveAllUsersData): CancelablePromise<PutApiIdentityRolesByIdMoveAllUsersResponse> {
|
|
1304
|
+
return this.httpRequest.request({
|
|
1305
|
+
method: 'PUT',
|
|
1306
|
+
url: '/api/identity/roles/{id}/move-all-users',
|
|
1307
|
+
path: {
|
|
1308
|
+
id: data.id
|
|
1309
|
+
},
|
|
1310
|
+
query: {
|
|
1311
|
+
roleId: data.roleId
|
|
1312
|
+
},
|
|
1313
|
+
errors: {
|
|
1314
|
+
400: 'Bad Request',
|
|
1315
|
+
401: 'Unauthorized',
|
|
1316
|
+
403: 'Forbidden',
|
|
1317
|
+
404: 'Not Found',
|
|
1318
|
+
500: 'Server Error',
|
|
1319
|
+
501: 'Server Error'
|
|
1320
|
+
}
|
|
1321
|
+
});
|
|
1322
|
+
}
|
|
1323
|
+
|
|
1324
|
+
/**
|
|
1325
|
+
* @returns Volo_Abp_Identity_ClaimTypeDto Success
|
|
1326
|
+
* @throws ApiError
|
|
1327
|
+
*/
|
|
1328
|
+
public getApiIdentityRolesAllClaimTypes(): CancelablePromise<GetApiIdentityRolesAllClaimTypesResponse> {
|
|
1329
|
+
return this.httpRequest.request({
|
|
1330
|
+
method: 'GET',
|
|
1331
|
+
url: '/api/identity/roles/all-claim-types',
|
|
1332
|
+
errors: {
|
|
1333
|
+
400: 'Bad Request',
|
|
1334
|
+
401: 'Unauthorized',
|
|
1335
|
+
403: 'Forbidden',
|
|
1336
|
+
404: 'Not Found',
|
|
1337
|
+
500: 'Server Error',
|
|
1338
|
+
501: 'Server Error'
|
|
1339
|
+
}
|
|
1340
|
+
});
|
|
1341
|
+
}
|
|
1342
|
+
|
|
1343
|
+
}
|
|
1344
|
+
|
|
1345
|
+
export class ScopesService {
|
|
1346
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
1347
|
+
|
|
1348
|
+
/**
|
|
1349
|
+
* @param data The data for the request.
|
|
1350
|
+
* @param data.id
|
|
1351
|
+
* @returns Volo_Abp_OpenIddict_Scopes_Dtos_ScopeDto Success
|
|
1352
|
+
* @throws ApiError
|
|
1353
|
+
*/
|
|
1354
|
+
public getApiOpeniddictScopesById(data: GetApiOpeniddictScopesByIdData): CancelablePromise<GetApiOpeniddictScopesByIdResponse> {
|
|
1355
|
+
return this.httpRequest.request({
|
|
1356
|
+
method: 'GET',
|
|
1357
|
+
url: '/api/openiddict/scopes/{id}',
|
|
1358
|
+
path: {
|
|
1359
|
+
id: data.id
|
|
1360
|
+
},
|
|
1361
|
+
errors: {
|
|
1362
|
+
400: 'Bad Request',
|
|
1363
|
+
401: 'Unauthorized',
|
|
1364
|
+
403: 'Forbidden',
|
|
1365
|
+
404: 'Not Found',
|
|
1366
|
+
500: 'Server Error',
|
|
1367
|
+
501: 'Server Error'
|
|
1368
|
+
}
|
|
1369
|
+
});
|
|
1370
|
+
}
|
|
1371
|
+
|
|
1372
|
+
/**
|
|
1373
|
+
* @param data The data for the request.
|
|
1374
|
+
* @param data.id
|
|
1375
|
+
* @param data.requestBody
|
|
1376
|
+
* @returns Volo_Abp_OpenIddict_Scopes_Dtos_ScopeDto Success
|
|
1377
|
+
* @throws ApiError
|
|
1378
|
+
*/
|
|
1379
|
+
public putApiOpeniddictScopesById(data: PutApiOpeniddictScopesByIdData): CancelablePromise<PutApiOpeniddictScopesByIdResponse> {
|
|
1380
|
+
return this.httpRequest.request({
|
|
1381
|
+
method: 'PUT',
|
|
1382
|
+
url: '/api/openiddict/scopes/{id}',
|
|
1383
|
+
path: {
|
|
1384
|
+
id: data.id
|
|
1385
|
+
},
|
|
1386
|
+
body: data.requestBody,
|
|
1387
|
+
mediaType: 'application/json',
|
|
1388
|
+
errors: {
|
|
1389
|
+
400: 'Bad Request',
|
|
1390
|
+
401: 'Unauthorized',
|
|
1391
|
+
403: 'Forbidden',
|
|
1392
|
+
404: 'Not Found',
|
|
1393
|
+
500: 'Server Error',
|
|
1394
|
+
501: 'Server Error'
|
|
1395
|
+
}
|
|
1396
|
+
});
|
|
1397
|
+
}
|
|
1398
|
+
|
|
1399
|
+
/**
|
|
1400
|
+
* @param data The data for the request.
|
|
1401
|
+
* @param data.filter
|
|
1402
|
+
* @param data.sorting
|
|
1403
|
+
* @param data.skipCount
|
|
1404
|
+
* @param data.maxResultCount
|
|
1405
|
+
* @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
|
|
1406
|
+
* @throws ApiError
|
|
1407
|
+
*/
|
|
1408
|
+
public getApiOpeniddictScopes(data: GetApiOpeniddictScopesData = {}): CancelablePromise<GetApiOpeniddictScopesResponse> {
|
|
1409
|
+
return this.httpRequest.request({
|
|
1410
|
+
method: 'GET',
|
|
1411
|
+
url: '/api/openiddict/scopes',
|
|
1412
|
+
query: {
|
|
1413
|
+
Filter: data.filter,
|
|
1414
|
+
Sorting: data.sorting,
|
|
1415
|
+
SkipCount: data.skipCount,
|
|
1416
|
+
MaxResultCount: data.maxResultCount
|
|
1417
|
+
},
|
|
1418
|
+
errors: {
|
|
1419
|
+
400: 'Bad Request',
|
|
1420
|
+
401: 'Unauthorized',
|
|
1421
|
+
403: 'Forbidden',
|
|
1422
|
+
404: 'Not Found',
|
|
1423
|
+
500: 'Server Error',
|
|
1424
|
+
501: 'Server Error'
|
|
1425
|
+
}
|
|
1426
|
+
});
|
|
1427
|
+
}
|
|
1428
|
+
|
|
1429
|
+
/**
|
|
1430
|
+
* @param data The data for the request.
|
|
1431
|
+
* @param data.requestBody
|
|
1432
|
+
* @returns Volo_Abp_OpenIddict_Scopes_Dtos_ScopeDto Success
|
|
1433
|
+
* @throws ApiError
|
|
1434
|
+
*/
|
|
1435
|
+
public postApiOpeniddictScopes(data: PostApiOpeniddictScopesData = {}): CancelablePromise<PostApiOpeniddictScopesResponse> {
|
|
1436
|
+
return this.httpRequest.request({
|
|
1437
|
+
method: 'POST',
|
|
1438
|
+
url: '/api/openiddict/scopes',
|
|
1439
|
+
body: data.requestBody,
|
|
1440
|
+
mediaType: 'application/json',
|
|
1441
|
+
errors: {
|
|
1442
|
+
400: 'Bad Request',
|
|
1443
|
+
401: 'Unauthorized',
|
|
1444
|
+
403: 'Forbidden',
|
|
1445
|
+
404: 'Not Found',
|
|
1446
|
+
500: 'Server Error',
|
|
1447
|
+
501: 'Server Error'
|
|
1448
|
+
}
|
|
1449
|
+
});
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1452
|
+
/**
|
|
1453
|
+
* @param data The data for the request.
|
|
1454
|
+
* @param data.id
|
|
1455
|
+
* @returns unknown Success
|
|
1456
|
+
* @throws ApiError
|
|
1457
|
+
*/
|
|
1458
|
+
public deleteApiOpeniddictScopes(data: DeleteApiOpeniddictScopesData = {}): CancelablePromise<DeleteApiOpeniddictScopesResponse> {
|
|
1459
|
+
return this.httpRequest.request({
|
|
1460
|
+
method: 'DELETE',
|
|
1461
|
+
url: '/api/openiddict/scopes',
|
|
1462
|
+
query: {
|
|
1463
|
+
id: data.id
|
|
1464
|
+
},
|
|
1465
|
+
errors: {
|
|
1466
|
+
400: 'Bad Request',
|
|
1467
|
+
401: 'Unauthorized',
|
|
1468
|
+
403: 'Forbidden',
|
|
1469
|
+
404: 'Not Found',
|
|
1470
|
+
500: 'Server Error',
|
|
1471
|
+
501: 'Server Error'
|
|
1472
|
+
}
|
|
1473
|
+
});
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1476
|
+
/**
|
|
1477
|
+
* @returns Volo_Abp_OpenIddict_Scopes_Dtos_ScopeDto Success
|
|
1478
|
+
* @throws ApiError
|
|
1479
|
+
*/
|
|
1480
|
+
public getApiOpeniddictScopesAll(): CancelablePromise<GetApiOpeniddictScopesAllResponse> {
|
|
1481
|
+
return this.httpRequest.request({
|
|
1482
|
+
method: 'GET',
|
|
1483
|
+
url: '/api/openiddict/scopes/all',
|
|
1484
|
+
errors: {
|
|
1485
|
+
400: 'Bad Request',
|
|
1486
|
+
401: 'Unauthorized',
|
|
1487
|
+
403: 'Forbidden',
|
|
1488
|
+
404: 'Not Found',
|
|
1489
|
+
500: 'Server Error',
|
|
1490
|
+
501: 'Server Error'
|
|
1491
|
+
}
|
|
1492
|
+
});
|
|
1493
|
+
}
|
|
1494
|
+
|
|
1495
|
+
}
|
|
1496
|
+
|
|
1497
|
+
export class SecurityLogService {
|
|
1498
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
1499
|
+
|
|
1500
|
+
/**
|
|
1501
|
+
* @param data The data for the request.
|
|
1502
|
+
* @param data.startTime
|
|
1503
|
+
* @param data.endTime
|
|
1504
|
+
* @param data.applicationName
|
|
1505
|
+
* @param data.identity
|
|
1506
|
+
* @param data.action
|
|
1507
|
+
* @param data.userName
|
|
1508
|
+
* @param data.clientId
|
|
1509
|
+
* @param data.correlationId
|
|
1510
|
+
* @param data.sorting
|
|
1511
|
+
* @param data.skipCount
|
|
1512
|
+
* @param data.maxResultCount
|
|
1513
|
+
* @param data.extraProperties
|
|
1514
|
+
* @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
|
|
1515
|
+
* @throws ApiError
|
|
1516
|
+
*/
|
|
1517
|
+
public getApiIdentitySecurityLogs(data: GetApiIdentitySecurityLogsData = {}): CancelablePromise<GetApiIdentitySecurityLogsResponse> {
|
|
1518
|
+
return this.httpRequest.request({
|
|
1519
|
+
method: 'GET',
|
|
1520
|
+
url: '/api/identity/security-logs',
|
|
1521
|
+
query: {
|
|
1522
|
+
StartTime: data.startTime,
|
|
1523
|
+
EndTime: data.endTime,
|
|
1524
|
+
ApplicationName: data.applicationName,
|
|
1525
|
+
Identity: data.identity,
|
|
1526
|
+
Action: data.action,
|
|
1527
|
+
UserName: data.userName,
|
|
1528
|
+
ClientId: data.clientId,
|
|
1529
|
+
CorrelationId: data.correlationId,
|
|
1530
|
+
Sorting: data.sorting,
|
|
1531
|
+
SkipCount: data.skipCount,
|
|
1532
|
+
MaxResultCount: data.maxResultCount,
|
|
1533
|
+
ExtraProperties: data.extraProperties
|
|
1534
|
+
},
|
|
1535
|
+
errors: {
|
|
1536
|
+
400: 'Bad Request',
|
|
1537
|
+
401: 'Unauthorized',
|
|
1538
|
+
403: 'Forbidden',
|
|
1539
|
+
404: 'Not Found',
|
|
1540
|
+
500: 'Server Error',
|
|
1541
|
+
501: 'Server Error'
|
|
1542
|
+
}
|
|
1543
|
+
});
|
|
1544
|
+
}
|
|
1545
|
+
|
|
1546
|
+
/**
|
|
1547
|
+
* @param data The data for the request.
|
|
1548
|
+
* @param data.id
|
|
1549
|
+
* @returns Volo_Abp_Identity_IdentitySecurityLogDto Success
|
|
1550
|
+
* @throws ApiError
|
|
1551
|
+
*/
|
|
1552
|
+
public getApiIdentitySecurityLogsById(data: GetApiIdentitySecurityLogsByIdData): CancelablePromise<GetApiIdentitySecurityLogsByIdResponse> {
|
|
1553
|
+
return this.httpRequest.request({
|
|
1554
|
+
method: 'GET',
|
|
1555
|
+
url: '/api/identity/security-logs/{id}',
|
|
1556
|
+
path: {
|
|
1557
|
+
id: data.id
|
|
1558
|
+
},
|
|
1559
|
+
errors: {
|
|
1560
|
+
400: 'Bad Request',
|
|
1561
|
+
401: 'Unauthorized',
|
|
1562
|
+
403: 'Forbidden',
|
|
1563
|
+
404: 'Not Found',
|
|
1564
|
+
500: 'Server Error',
|
|
1565
|
+
501: 'Server Error'
|
|
1566
|
+
}
|
|
1567
|
+
});
|
|
1568
|
+
}
|
|
1569
|
+
|
|
1570
|
+
/**
|
|
1571
|
+
* @param data The data for the request.
|
|
1572
|
+
* @param data.startTime
|
|
1573
|
+
* @param data.endTime
|
|
1574
|
+
* @param data.applicationName
|
|
1575
|
+
* @param data.identity
|
|
1576
|
+
* @param data.action
|
|
1577
|
+
* @param data.userName
|
|
1578
|
+
* @param data.clientId
|
|
1579
|
+
* @param data.correlationId
|
|
1580
|
+
* @param data.sorting
|
|
1581
|
+
* @param data.skipCount
|
|
1582
|
+
* @param data.maxResultCount
|
|
1583
|
+
* @param data.extraProperties
|
|
1584
|
+
* @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
|
|
1585
|
+
* @throws ApiError
|
|
1586
|
+
*/
|
|
1587
|
+
public getApiIdentitySecurityLogsMy(data: GetApiIdentitySecurityLogsMyData = {}): CancelablePromise<GetApiIdentitySecurityLogsMyResponse> {
|
|
1588
|
+
return this.httpRequest.request({
|
|
1589
|
+
method: 'GET',
|
|
1590
|
+
url: '/api/identity/security-logs/my',
|
|
1591
|
+
query: {
|
|
1592
|
+
StartTime: data.startTime,
|
|
1593
|
+
EndTime: data.endTime,
|
|
1594
|
+
ApplicationName: data.applicationName,
|
|
1595
|
+
Identity: data.identity,
|
|
1596
|
+
Action: data.action,
|
|
1597
|
+
UserName: data.userName,
|
|
1598
|
+
ClientId: data.clientId,
|
|
1599
|
+
CorrelationId: data.correlationId,
|
|
1600
|
+
Sorting: data.sorting,
|
|
1601
|
+
SkipCount: data.skipCount,
|
|
1602
|
+
MaxResultCount: data.maxResultCount,
|
|
1603
|
+
ExtraProperties: data.extraProperties
|
|
1604
|
+
},
|
|
1605
|
+
errors: {
|
|
1606
|
+
400: 'Bad Request',
|
|
1607
|
+
401: 'Unauthorized',
|
|
1608
|
+
403: 'Forbidden',
|
|
1609
|
+
404: 'Not Found',
|
|
1610
|
+
500: 'Server Error',
|
|
1611
|
+
501: 'Server Error'
|
|
1612
|
+
}
|
|
1613
|
+
});
|
|
1614
|
+
}
|
|
1615
|
+
|
|
1616
|
+
/**
|
|
1617
|
+
* @param data The data for the request.
|
|
1618
|
+
* @param data.id
|
|
1619
|
+
* @returns Volo_Abp_Identity_IdentitySecurityLogDto Success
|
|
1620
|
+
* @throws ApiError
|
|
1621
|
+
*/
|
|
1622
|
+
public getApiIdentitySecurityLogsMyById(data: GetApiIdentitySecurityLogsMyByIdData): CancelablePromise<GetApiIdentitySecurityLogsMyByIdResponse> {
|
|
1623
|
+
return this.httpRequest.request({
|
|
1624
|
+
method: 'GET',
|
|
1625
|
+
url: '/api/identity/security-logs/my/{id}',
|
|
1626
|
+
path: {
|
|
1627
|
+
id: data.id
|
|
1628
|
+
},
|
|
1629
|
+
errors: {
|
|
1630
|
+
400: 'Bad Request',
|
|
1631
|
+
401: 'Unauthorized',
|
|
1632
|
+
403: 'Forbidden',
|
|
1633
|
+
404: 'Not Found',
|
|
1634
|
+
500: 'Server Error',
|
|
1635
|
+
501: 'Server Error'
|
|
1636
|
+
}
|
|
1637
|
+
});
|
|
1638
|
+
}
|
|
1639
|
+
|
|
1640
|
+
}
|
|
1641
|
+
|
|
1642
|
+
export class SettingsService {
|
|
1643
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
1644
|
+
|
|
1645
|
+
/**
|
|
1646
|
+
* @returns Volo_Abp_Identity_IdentitySettingsDto Success
|
|
1647
|
+
* @throws ApiError
|
|
1648
|
+
*/
|
|
1649
|
+
public getApiIdentitySettings(): CancelablePromise<GetApiIdentitySettingsResponse> {
|
|
1650
|
+
return this.httpRequest.request({
|
|
1651
|
+
method: 'GET',
|
|
1652
|
+
url: '/api/identity/settings',
|
|
1653
|
+
errors: {
|
|
1654
|
+
400: 'Bad Request',
|
|
1655
|
+
401: 'Unauthorized',
|
|
1656
|
+
403: 'Forbidden',
|
|
1657
|
+
404: 'Not Found',
|
|
1658
|
+
500: 'Server Error',
|
|
1659
|
+
501: 'Server Error'
|
|
1660
|
+
}
|
|
1661
|
+
});
|
|
1662
|
+
}
|
|
1663
|
+
|
|
1664
|
+
/**
|
|
1665
|
+
* @param data The data for the request.
|
|
1666
|
+
* @param data.requestBody
|
|
1667
|
+
* @returns unknown Success
|
|
1668
|
+
* @throws ApiError
|
|
1669
|
+
*/
|
|
1670
|
+
public putApiIdentitySettings(data: PutApiIdentitySettingsData = {}): CancelablePromise<PutApiIdentitySettingsResponse> {
|
|
1671
|
+
return this.httpRequest.request({
|
|
1672
|
+
method: 'PUT',
|
|
1673
|
+
url: '/api/identity/settings',
|
|
1674
|
+
body: data.requestBody,
|
|
1675
|
+
mediaType: 'application/json',
|
|
1676
|
+
errors: {
|
|
1677
|
+
400: 'Bad Request',
|
|
1678
|
+
401: 'Unauthorized',
|
|
1679
|
+
403: 'Forbidden',
|
|
1680
|
+
404: 'Not Found',
|
|
1681
|
+
500: 'Server Error',
|
|
1682
|
+
501: 'Server Error'
|
|
1683
|
+
}
|
|
1684
|
+
});
|
|
1685
|
+
}
|
|
1686
|
+
|
|
1687
|
+
/**
|
|
1688
|
+
* @returns Volo_Abp_Identity_IdentityLdapSettingsDto Success
|
|
1689
|
+
* @throws ApiError
|
|
1690
|
+
*/
|
|
1691
|
+
public getApiIdentitySettingsLdap(): CancelablePromise<GetApiIdentitySettingsLdapResponse> {
|
|
1692
|
+
return this.httpRequest.request({
|
|
1693
|
+
method: 'GET',
|
|
1694
|
+
url: '/api/identity/settings/ldap',
|
|
1695
|
+
errors: {
|
|
1696
|
+
400: 'Bad Request',
|
|
1697
|
+
401: 'Unauthorized',
|
|
1698
|
+
403: 'Forbidden',
|
|
1699
|
+
404: 'Not Found',
|
|
1700
|
+
500: 'Server Error',
|
|
1701
|
+
501: 'Server Error'
|
|
1702
|
+
}
|
|
1703
|
+
});
|
|
1704
|
+
}
|
|
1705
|
+
|
|
1706
|
+
/**
|
|
1707
|
+
* @param data The data for the request.
|
|
1708
|
+
* @param data.requestBody
|
|
1709
|
+
* @returns unknown Success
|
|
1710
|
+
* @throws ApiError
|
|
1711
|
+
*/
|
|
1712
|
+
public putApiIdentitySettingsLdap(data: PutApiIdentitySettingsLdapData = {}): CancelablePromise<PutApiIdentitySettingsLdapResponse> {
|
|
1713
|
+
return this.httpRequest.request({
|
|
1714
|
+
method: 'PUT',
|
|
1715
|
+
url: '/api/identity/settings/ldap',
|
|
1716
|
+
body: data.requestBody,
|
|
1717
|
+
mediaType: 'application/json',
|
|
1718
|
+
errors: {
|
|
1719
|
+
400: 'Bad Request',
|
|
1720
|
+
401: 'Unauthorized',
|
|
1721
|
+
403: 'Forbidden',
|
|
1722
|
+
404: 'Not Found',
|
|
1723
|
+
500: 'Server Error',
|
|
1724
|
+
501: 'Server Error'
|
|
1725
|
+
}
|
|
1726
|
+
});
|
|
1727
|
+
}
|
|
1728
|
+
|
|
1729
|
+
/**
|
|
1730
|
+
* @returns Volo_Abp_Identity_IdentityOAuthSettingsDto Success
|
|
1731
|
+
* @throws ApiError
|
|
1732
|
+
*/
|
|
1733
|
+
public getApiIdentitySettingsOauth(): CancelablePromise<GetApiIdentitySettingsOauthResponse> {
|
|
1734
|
+
return this.httpRequest.request({
|
|
1735
|
+
method: 'GET',
|
|
1736
|
+
url: '/api/identity/settings/oauth',
|
|
1737
|
+
errors: {
|
|
1738
|
+
400: 'Bad Request',
|
|
1739
|
+
401: 'Unauthorized',
|
|
1740
|
+
403: 'Forbidden',
|
|
1741
|
+
404: 'Not Found',
|
|
1742
|
+
500: 'Server Error',
|
|
1743
|
+
501: 'Server Error'
|
|
1744
|
+
}
|
|
1745
|
+
});
|
|
1746
|
+
}
|
|
1747
|
+
|
|
1748
|
+
/**
|
|
1749
|
+
* @param data The data for the request.
|
|
1750
|
+
* @param data.requestBody
|
|
1751
|
+
* @returns unknown Success
|
|
1752
|
+
* @throws ApiError
|
|
1753
|
+
*/
|
|
1754
|
+
public putApiIdentitySettingsOauth(data: PutApiIdentitySettingsOauthData = {}): CancelablePromise<PutApiIdentitySettingsOauthResponse> {
|
|
1755
|
+
return this.httpRequest.request({
|
|
1756
|
+
method: 'PUT',
|
|
1757
|
+
url: '/api/identity/settings/oauth',
|
|
1758
|
+
body: data.requestBody,
|
|
1759
|
+
mediaType: 'application/json',
|
|
1760
|
+
errors: {
|
|
1761
|
+
400: 'Bad Request',
|
|
1762
|
+
401: 'Unauthorized',
|
|
1763
|
+
403: 'Forbidden',
|
|
1764
|
+
404: 'Not Found',
|
|
1765
|
+
500: 'Server Error',
|
|
1766
|
+
501: 'Server Error'
|
|
1767
|
+
}
|
|
1768
|
+
});
|
|
1769
|
+
}
|
|
1770
|
+
|
|
1771
|
+
}
|
|
1772
|
+
|
|
1773
|
+
export class UserService {
|
|
1774
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
1775
|
+
|
|
1776
|
+
/**
|
|
1777
|
+
* @param data The data for the request.
|
|
1778
|
+
* @param data.id
|
|
1779
|
+
* @returns Volo_Abp_Identity_IdentityUserDto Success
|
|
1780
|
+
* @throws ApiError
|
|
1781
|
+
*/
|
|
1782
|
+
public getApiIdentityUsersById(data: GetApiIdentityUsersByIdData): CancelablePromise<GetApiIdentityUsersByIdResponse> {
|
|
1783
|
+
return this.httpRequest.request({
|
|
1784
|
+
method: 'GET',
|
|
1785
|
+
url: '/api/identity/users/{id}',
|
|
1786
|
+
path: {
|
|
1787
|
+
id: data.id
|
|
1788
|
+
},
|
|
1789
|
+
errors: {
|
|
1790
|
+
400: 'Bad Request',
|
|
1791
|
+
401: 'Unauthorized',
|
|
1792
|
+
403: 'Forbidden',
|
|
1793
|
+
404: 'Not Found',
|
|
1794
|
+
500: 'Server Error',
|
|
1795
|
+
501: 'Server Error'
|
|
1796
|
+
}
|
|
1797
|
+
});
|
|
1798
|
+
}
|
|
1799
|
+
|
|
1800
|
+
/**
|
|
1801
|
+
* @param data The data for the request.
|
|
1802
|
+
* @param data.id
|
|
1803
|
+
* @param data.requestBody
|
|
1804
|
+
* @returns Volo_Abp_Identity_IdentityUserDto Success
|
|
1805
|
+
* @throws ApiError
|
|
1806
|
+
*/
|
|
1807
|
+
public putApiIdentityUsersById(data: PutApiIdentityUsersByIdData): CancelablePromise<PutApiIdentityUsersByIdResponse> {
|
|
1808
|
+
return this.httpRequest.request({
|
|
1809
|
+
method: 'PUT',
|
|
1810
|
+
url: '/api/identity/users/{id}',
|
|
1811
|
+
path: {
|
|
1812
|
+
id: data.id
|
|
1813
|
+
},
|
|
1814
|
+
body: data.requestBody,
|
|
1815
|
+
mediaType: 'application/json',
|
|
1816
|
+
errors: {
|
|
1817
|
+
400: 'Bad Request',
|
|
1818
|
+
401: 'Unauthorized',
|
|
1819
|
+
403: 'Forbidden',
|
|
1820
|
+
404: 'Not Found',
|
|
1821
|
+
500: 'Server Error',
|
|
1822
|
+
501: 'Server Error'
|
|
1823
|
+
}
|
|
1824
|
+
});
|
|
1825
|
+
}
|
|
1826
|
+
|
|
1827
|
+
/**
|
|
1828
|
+
* @param data The data for the request.
|
|
1829
|
+
* @param data.id
|
|
1830
|
+
* @returns unknown Success
|
|
1831
|
+
* @throws ApiError
|
|
1832
|
+
*/
|
|
1833
|
+
public deleteApiIdentityUsersById(data: DeleteApiIdentityUsersByIdData): CancelablePromise<DeleteApiIdentityUsersByIdResponse> {
|
|
1834
|
+
return this.httpRequest.request({
|
|
1835
|
+
method: 'DELETE',
|
|
1836
|
+
url: '/api/identity/users/{id}',
|
|
1837
|
+
path: {
|
|
1838
|
+
id: data.id
|
|
1839
|
+
},
|
|
1840
|
+
errors: {
|
|
1841
|
+
400: 'Bad Request',
|
|
1842
|
+
401: 'Unauthorized',
|
|
1843
|
+
403: 'Forbidden',
|
|
1844
|
+
404: 'Not Found',
|
|
1845
|
+
500: 'Server Error',
|
|
1846
|
+
501: 'Server Error'
|
|
1847
|
+
}
|
|
1848
|
+
});
|
|
1849
|
+
}
|
|
1850
|
+
|
|
1851
|
+
/**
|
|
1852
|
+
* @param data The data for the request.
|
|
1853
|
+
* @param data.filter
|
|
1854
|
+
* @param data.roleId
|
|
1855
|
+
* @param data.organizationUnitId
|
|
1856
|
+
* @param data.userName
|
|
1857
|
+
* @param data.phoneNumber
|
|
1858
|
+
* @param data.emailAddress
|
|
1859
|
+
* @param data.name
|
|
1860
|
+
* @param data.surname
|
|
1861
|
+
* @param data.isLockedOut
|
|
1862
|
+
* @param data.notActive
|
|
1863
|
+
* @param data.emailConfirmed
|
|
1864
|
+
* @param data.isExternal
|
|
1865
|
+
* @param data.maxCreationTime
|
|
1866
|
+
* @param data.minCreationTime
|
|
1867
|
+
* @param data.maxModifitionTime
|
|
1868
|
+
* @param data.minModifitionTime
|
|
1869
|
+
* @param data.sorting
|
|
1870
|
+
* @param data.skipCount
|
|
1871
|
+
* @param data.maxResultCount
|
|
1872
|
+
* @param data.extraProperties
|
|
1873
|
+
* @returns Volo_Abp_Application_Dtos_PagedResultDto_1<Volo_Abp_Identity_IdentityUserDto__Volo_Abp_Identity_Pro_Application_Contracts__Version_8_0_5_0__Culture_neutral__PublicKeyToken_null_> Success
|
|
1874
|
+
* @throws ApiError
|
|
1875
|
+
*/
|
|
1876
|
+
public getApiIdentityUsers(data: GetApiIdentityUsersData = {}): CancelablePromise<GetApiIdentityUsersResponse> {
|
|
1877
|
+
return this.httpRequest.request({
|
|
1878
|
+
method: 'GET',
|
|
1879
|
+
url: '/api/identity/users',
|
|
1880
|
+
query: {
|
|
1881
|
+
Filter: data.filter,
|
|
1882
|
+
RoleId: data.roleId,
|
|
1883
|
+
OrganizationUnitId: data.organizationUnitId,
|
|
1884
|
+
UserName: data.userName,
|
|
1885
|
+
PhoneNumber: data.phoneNumber,
|
|
1886
|
+
EmailAddress: data.emailAddress,
|
|
1887
|
+
Name: data.name,
|
|
1888
|
+
Surname: data.surname,
|
|
1889
|
+
IsLockedOut: data.isLockedOut,
|
|
1890
|
+
NotActive: data.notActive,
|
|
1891
|
+
EmailConfirmed: data.emailConfirmed,
|
|
1892
|
+
IsExternal: data.isExternal,
|
|
1893
|
+
MaxCreationTime: data.maxCreationTime,
|
|
1894
|
+
MinCreationTime: data.minCreationTime,
|
|
1895
|
+
MaxModifitionTime: data.maxModifitionTime,
|
|
1896
|
+
MinModifitionTime: data.minModifitionTime,
|
|
1897
|
+
Sorting: data.sorting,
|
|
1898
|
+
SkipCount: data.skipCount,
|
|
1899
|
+
MaxResultCount: data.maxResultCount,
|
|
1900
|
+
ExtraProperties: data.extraProperties
|
|
1901
|
+
},
|
|
1902
|
+
errors: {
|
|
1903
|
+
400: 'Bad Request',
|
|
1904
|
+
401: 'Unauthorized',
|
|
1905
|
+
403: 'Forbidden',
|
|
1906
|
+
404: 'Not Found',
|
|
1907
|
+
500: 'Server Error',
|
|
1908
|
+
501: 'Server Error'
|
|
1909
|
+
}
|
|
1910
|
+
});
|
|
1911
|
+
}
|
|
1912
|
+
|
|
1913
|
+
/**
|
|
1914
|
+
* @param data The data for the request.
|
|
1915
|
+
* @param data.requestBody
|
|
1916
|
+
* @returns Volo_Abp_Identity_IdentityUserDto Success
|
|
1917
|
+
* @throws ApiError
|
|
1918
|
+
*/
|
|
1919
|
+
public postApiIdentityUsers(data: PostApiIdentityUsersData = {}): CancelablePromise<PostApiIdentityUsersResponse> {
|
|
1920
|
+
return this.httpRequest.request({
|
|
1921
|
+
method: 'POST',
|
|
1922
|
+
url: '/api/identity/users',
|
|
1923
|
+
body: data.requestBody,
|
|
1924
|
+
mediaType: 'application/json',
|
|
1925
|
+
errors: {
|
|
1926
|
+
400: 'Bad Request',
|
|
1927
|
+
401: 'Unauthorized',
|
|
1928
|
+
403: 'Forbidden',
|
|
1929
|
+
404: 'Not Found',
|
|
1930
|
+
500: 'Server Error',
|
|
1931
|
+
501: 'Server Error'
|
|
1932
|
+
}
|
|
1933
|
+
});
|
|
1934
|
+
}
|
|
1935
|
+
|
|
1936
|
+
/**
|
|
1937
|
+
* @param data The data for the request.
|
|
1938
|
+
* @param data.id
|
|
1939
|
+
* @returns Volo_Abp_Identity_IdentityUserDto Success
|
|
1940
|
+
* @throws ApiError
|
|
1941
|
+
*/
|
|
1942
|
+
public getApiIdentityUsersByIdById(data: GetApiIdentityUsersByIdByIdData): CancelablePromise<GetApiIdentityUsersByIdByIdResponse> {
|
|
1943
|
+
return this.httpRequest.request({
|
|
1944
|
+
method: 'GET',
|
|
1945
|
+
url: '/api/identity/users/by-id/{id}',
|
|
1946
|
+
path: {
|
|
1947
|
+
id: data.id
|
|
1948
|
+
},
|
|
1949
|
+
errors: {
|
|
1950
|
+
400: 'Bad Request',
|
|
1951
|
+
401: 'Unauthorized',
|
|
1952
|
+
403: 'Forbidden',
|
|
1953
|
+
404: 'Not Found',
|
|
1954
|
+
500: 'Server Error',
|
|
1955
|
+
501: 'Server Error'
|
|
1956
|
+
}
|
|
1957
|
+
});
|
|
1958
|
+
}
|
|
1959
|
+
|
|
1960
|
+
/**
|
|
1961
|
+
* @param data The data for the request.
|
|
1962
|
+
* @param data.id
|
|
1963
|
+
* @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
|
|
1964
|
+
* @throws ApiError
|
|
1965
|
+
*/
|
|
1966
|
+
public getApiIdentityUsersByIdRoles(data: GetApiIdentityUsersByIdRolesData): CancelablePromise<GetApiIdentityUsersByIdRolesResponse> {
|
|
1967
|
+
return this.httpRequest.request({
|
|
1968
|
+
method: 'GET',
|
|
1969
|
+
url: '/api/identity/users/{id}/roles',
|
|
1970
|
+
path: {
|
|
1971
|
+
id: data.id
|
|
1972
|
+
},
|
|
1973
|
+
errors: {
|
|
1974
|
+
400: 'Bad Request',
|
|
1975
|
+
401: 'Unauthorized',
|
|
1976
|
+
403: 'Forbidden',
|
|
1977
|
+
404: 'Not Found',
|
|
1978
|
+
500: 'Server Error',
|
|
1979
|
+
501: 'Server Error'
|
|
1980
|
+
}
|
|
1981
|
+
});
|
|
1982
|
+
}
|
|
1983
|
+
|
|
1984
|
+
/**
|
|
1985
|
+
* @param data The data for the request.
|
|
1986
|
+
* @param data.id
|
|
1987
|
+
* @param data.requestBody
|
|
1988
|
+
* @returns unknown Success
|
|
1989
|
+
* @throws ApiError
|
|
1990
|
+
*/
|
|
1991
|
+
public putApiIdentityUsersByIdRoles(data: PutApiIdentityUsersByIdRolesData): CancelablePromise<PutApiIdentityUsersByIdRolesResponse> {
|
|
1992
|
+
return this.httpRequest.request({
|
|
1993
|
+
method: 'PUT',
|
|
1994
|
+
url: '/api/identity/users/{id}/roles',
|
|
1995
|
+
path: {
|
|
1996
|
+
id: data.id
|
|
1997
|
+
},
|
|
1998
|
+
body: data.requestBody,
|
|
1999
|
+
mediaType: 'application/json',
|
|
2000
|
+
errors: {
|
|
2001
|
+
400: 'Bad Request',
|
|
2002
|
+
401: 'Unauthorized',
|
|
2003
|
+
403: 'Forbidden',
|
|
2004
|
+
404: 'Not Found',
|
|
2005
|
+
500: 'Server Error',
|
|
2006
|
+
501: 'Server Error'
|
|
2007
|
+
}
|
|
2008
|
+
});
|
|
2009
|
+
}
|
|
2010
|
+
|
|
2011
|
+
/**
|
|
2012
|
+
* @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
|
|
2013
|
+
* @throws ApiError
|
|
2014
|
+
*/
|
|
2015
|
+
public getApiIdentityUsersAssignableRoles(): CancelablePromise<GetApiIdentityUsersAssignableRolesResponse> {
|
|
2016
|
+
return this.httpRequest.request({
|
|
2017
|
+
method: 'GET',
|
|
2018
|
+
url: '/api/identity/users/assignable-roles',
|
|
2019
|
+
errors: {
|
|
2020
|
+
400: 'Bad Request',
|
|
2021
|
+
401: 'Unauthorized',
|
|
2022
|
+
403: 'Forbidden',
|
|
2023
|
+
404: 'Not Found',
|
|
2024
|
+
500: 'Server Error',
|
|
2025
|
+
501: 'Server Error'
|
|
2026
|
+
}
|
|
2027
|
+
});
|
|
2028
|
+
}
|
|
2029
|
+
|
|
2030
|
+
/**
|
|
2031
|
+
* @returns Volo_Abp_Application_Dtos_ListResultDto_1<Volo_Abp_Identity_OrganizationUnitWithDetailsDto__Volo_Abp_Identity_Pro_Application_Contracts__Version_8_0_5_0__Culture_neutral__PublicKeyToken_null_> Success
|
|
2032
|
+
* @throws ApiError
|
|
2033
|
+
*/
|
|
2034
|
+
public getApiIdentityUsersAvailableOrganizationUnits(): CancelablePromise<GetApiIdentityUsersAvailableOrganizationUnitsResponse> {
|
|
2035
|
+
return this.httpRequest.request({
|
|
2036
|
+
method: 'GET',
|
|
2037
|
+
url: '/api/identity/users/available-organization-units',
|
|
2038
|
+
errors: {
|
|
2039
|
+
400: 'Bad Request',
|
|
2040
|
+
401: 'Unauthorized',
|
|
2041
|
+
403: 'Forbidden',
|
|
2042
|
+
404: 'Not Found',
|
|
2043
|
+
500: 'Server Error',
|
|
2044
|
+
501: 'Server Error'
|
|
2045
|
+
}
|
|
2046
|
+
});
|
|
2047
|
+
}
|
|
2048
|
+
|
|
2049
|
+
/**
|
|
2050
|
+
* @returns Volo_Abp_Identity_ClaimTypeDto Success
|
|
2051
|
+
* @throws ApiError
|
|
2052
|
+
*/
|
|
2053
|
+
public getApiIdentityUsersAllClaimTypes(): CancelablePromise<GetApiIdentityUsersAllClaimTypesResponse> {
|
|
2054
|
+
return this.httpRequest.request({
|
|
2055
|
+
method: 'GET',
|
|
2056
|
+
url: '/api/identity/users/all-claim-types',
|
|
2057
|
+
errors: {
|
|
2058
|
+
400: 'Bad Request',
|
|
2059
|
+
401: 'Unauthorized',
|
|
2060
|
+
403: 'Forbidden',
|
|
2061
|
+
404: 'Not Found',
|
|
2062
|
+
500: 'Server Error',
|
|
2063
|
+
501: 'Server Error'
|
|
2064
|
+
}
|
|
2065
|
+
});
|
|
2066
|
+
}
|
|
2067
|
+
|
|
2068
|
+
/**
|
|
2069
|
+
* @param data The data for the request.
|
|
2070
|
+
* @param data.id
|
|
2071
|
+
* @returns Volo_Abp_Identity_IdentityUserClaimDto Success
|
|
2072
|
+
* @throws ApiError
|
|
2073
|
+
*/
|
|
2074
|
+
public getApiIdentityUsersByIdClaims(data: GetApiIdentityUsersByIdClaimsData): CancelablePromise<GetApiIdentityUsersByIdClaimsResponse> {
|
|
2075
|
+
return this.httpRequest.request({
|
|
2076
|
+
method: 'GET',
|
|
2077
|
+
url: '/api/identity/users/{id}/claims',
|
|
2078
|
+
path: {
|
|
2079
|
+
id: data.id
|
|
2080
|
+
},
|
|
2081
|
+
errors: {
|
|
2082
|
+
400: 'Bad Request',
|
|
2083
|
+
401: 'Unauthorized',
|
|
2084
|
+
403: 'Forbidden',
|
|
2085
|
+
404: 'Not Found',
|
|
2086
|
+
500: 'Server Error',
|
|
2087
|
+
501: 'Server Error'
|
|
2088
|
+
}
|
|
2089
|
+
});
|
|
2090
|
+
}
|
|
2091
|
+
|
|
2092
|
+
/**
|
|
2093
|
+
* @param data The data for the request.
|
|
2094
|
+
* @param data.id
|
|
2095
|
+
* @param data.requestBody
|
|
2096
|
+
* @returns unknown Success
|
|
2097
|
+
* @throws ApiError
|
|
2098
|
+
*/
|
|
2099
|
+
public putApiIdentityUsersByIdClaims(data: PutApiIdentityUsersByIdClaimsData): CancelablePromise<PutApiIdentityUsersByIdClaimsResponse> {
|
|
2100
|
+
return this.httpRequest.request({
|
|
2101
|
+
method: 'PUT',
|
|
2102
|
+
url: '/api/identity/users/{id}/claims',
|
|
2103
|
+
path: {
|
|
2104
|
+
id: data.id
|
|
2105
|
+
},
|
|
2106
|
+
body: data.requestBody,
|
|
2107
|
+
mediaType: 'application/json',
|
|
2108
|
+
errors: {
|
|
2109
|
+
400: 'Bad Request',
|
|
2110
|
+
401: 'Unauthorized',
|
|
2111
|
+
403: 'Forbidden',
|
|
2112
|
+
404: 'Not Found',
|
|
2113
|
+
500: 'Server Error',
|
|
2114
|
+
501: 'Server Error'
|
|
2115
|
+
}
|
|
2116
|
+
});
|
|
2117
|
+
}
|
|
2118
|
+
|
|
2119
|
+
/**
|
|
2120
|
+
* @param data The data for the request.
|
|
2121
|
+
* @param data.id
|
|
2122
|
+
* @returns Volo_Abp_Identity_OrganizationUnitDto Success
|
|
2123
|
+
* @throws ApiError
|
|
2124
|
+
*/
|
|
2125
|
+
public getApiIdentityUsersByIdOrganizationUnits(data: GetApiIdentityUsersByIdOrganizationUnitsData): CancelablePromise<GetApiIdentityUsersByIdOrganizationUnitsResponse> {
|
|
2126
|
+
return this.httpRequest.request({
|
|
2127
|
+
method: 'GET',
|
|
2128
|
+
url: '/api/identity/users/{id}/organization-units',
|
|
2129
|
+
path: {
|
|
2130
|
+
id: data.id
|
|
2131
|
+
},
|
|
2132
|
+
errors: {
|
|
2133
|
+
400: 'Bad Request',
|
|
2134
|
+
401: 'Unauthorized',
|
|
2135
|
+
403: 'Forbidden',
|
|
2136
|
+
404: 'Not Found',
|
|
2137
|
+
500: 'Server Error',
|
|
2138
|
+
501: 'Server Error'
|
|
2139
|
+
}
|
|
2140
|
+
});
|
|
2141
|
+
}
|
|
2142
|
+
|
|
2143
|
+
/**
|
|
2144
|
+
* @param data The data for the request.
|
|
2145
|
+
* @param data.id
|
|
2146
|
+
* @param data.lockoutEnd
|
|
2147
|
+
* @returns unknown Success
|
|
2148
|
+
* @throws ApiError
|
|
2149
|
+
*/
|
|
2150
|
+
public putApiIdentityUsersByIdLockByLockoutEnd(data: PutApiIdentityUsersByIdLockByLockoutEndData): CancelablePromise<PutApiIdentityUsersByIdLockByLockoutEndResponse> {
|
|
2151
|
+
return this.httpRequest.request({
|
|
2152
|
+
method: 'PUT',
|
|
2153
|
+
url: '/api/identity/users/{id}/lock/{lockoutEnd}',
|
|
2154
|
+
path: {
|
|
2155
|
+
id: data.id,
|
|
2156
|
+
lockoutEnd: data.lockoutEnd
|
|
2157
|
+
},
|
|
2158
|
+
errors: {
|
|
2159
|
+
400: 'Bad Request',
|
|
2160
|
+
401: 'Unauthorized',
|
|
2161
|
+
403: 'Forbidden',
|
|
2162
|
+
404: 'Not Found',
|
|
2163
|
+
500: 'Server Error',
|
|
2164
|
+
501: 'Server Error'
|
|
2165
|
+
}
|
|
2166
|
+
});
|
|
2167
|
+
}
|
|
2168
|
+
|
|
2169
|
+
/**
|
|
2170
|
+
* @param data The data for the request.
|
|
2171
|
+
* @param data.id
|
|
2172
|
+
* @returns unknown Success
|
|
2173
|
+
* @throws ApiError
|
|
2174
|
+
*/
|
|
2175
|
+
public putApiIdentityUsersByIdUnlock(data: PutApiIdentityUsersByIdUnlockData): CancelablePromise<PutApiIdentityUsersByIdUnlockResponse> {
|
|
2176
|
+
return this.httpRequest.request({
|
|
2177
|
+
method: 'PUT',
|
|
2178
|
+
url: '/api/identity/users/{id}/unlock',
|
|
2179
|
+
path: {
|
|
2180
|
+
id: data.id
|
|
2181
|
+
},
|
|
2182
|
+
errors: {
|
|
2183
|
+
400: 'Bad Request',
|
|
2184
|
+
401: 'Unauthorized',
|
|
2185
|
+
403: 'Forbidden',
|
|
2186
|
+
404: 'Not Found',
|
|
2187
|
+
500: 'Server Error',
|
|
2188
|
+
501: 'Server Error'
|
|
2189
|
+
}
|
|
2190
|
+
});
|
|
2191
|
+
}
|
|
2192
|
+
|
|
2193
|
+
/**
|
|
2194
|
+
* @param data The data for the request.
|
|
2195
|
+
* @param data.username
|
|
2196
|
+
* @returns Volo_Abp_Identity_IdentityUserDto Success
|
|
2197
|
+
* @throws ApiError
|
|
2198
|
+
*/
|
|
2199
|
+
public getApiIdentityUsersByUsernameByUsername(data: GetApiIdentityUsersByUsernameByUsernameData): CancelablePromise<GetApiIdentityUsersByUsernameByUsernameResponse> {
|
|
2200
|
+
return this.httpRequest.request({
|
|
2201
|
+
method: 'GET',
|
|
2202
|
+
url: '/api/identity/users/by-username/{username}',
|
|
2203
|
+
path: {
|
|
2204
|
+
username: data.username
|
|
2205
|
+
},
|
|
2206
|
+
errors: {
|
|
2207
|
+
400: 'Bad Request',
|
|
2208
|
+
401: 'Unauthorized',
|
|
2209
|
+
403: 'Forbidden',
|
|
2210
|
+
404: 'Not Found',
|
|
2211
|
+
500: 'Server Error',
|
|
2212
|
+
501: 'Server Error'
|
|
2213
|
+
}
|
|
2214
|
+
});
|
|
2215
|
+
}
|
|
2216
|
+
|
|
2217
|
+
/**
|
|
2218
|
+
* @param data The data for the request.
|
|
2219
|
+
* @param data.email
|
|
2220
|
+
* @returns Volo_Abp_Identity_IdentityUserDto Success
|
|
2221
|
+
* @throws ApiError
|
|
2222
|
+
*/
|
|
2223
|
+
public getApiIdentityUsersByEmailByEmail(data: GetApiIdentityUsersByEmailByEmailData): CancelablePromise<GetApiIdentityUsersByEmailByEmailResponse> {
|
|
2224
|
+
return this.httpRequest.request({
|
|
2225
|
+
method: 'GET',
|
|
2226
|
+
url: '/api/identity/users/by-email/{email}',
|
|
2227
|
+
path: {
|
|
2228
|
+
email: data.email
|
|
2229
|
+
},
|
|
2230
|
+
errors: {
|
|
2231
|
+
400: 'Bad Request',
|
|
2232
|
+
401: 'Unauthorized',
|
|
2233
|
+
403: 'Forbidden',
|
|
2234
|
+
404: 'Not Found',
|
|
2235
|
+
500: 'Server Error',
|
|
2236
|
+
501: 'Server Error'
|
|
2237
|
+
}
|
|
2238
|
+
});
|
|
2239
|
+
}
|
|
2240
|
+
|
|
2241
|
+
/**
|
|
2242
|
+
* @param data The data for the request.
|
|
2243
|
+
* @param data.id
|
|
2244
|
+
* @returns boolean Success
|
|
2245
|
+
* @throws ApiError
|
|
2246
|
+
*/
|
|
2247
|
+
public getApiIdentityUsersByIdTwoFactorEnabled(data: GetApiIdentityUsersByIdTwoFactorEnabledData): CancelablePromise<GetApiIdentityUsersByIdTwoFactorEnabledResponse> {
|
|
2248
|
+
return this.httpRequest.request({
|
|
2249
|
+
method: 'GET',
|
|
2250
|
+
url: '/api/identity/users/{id}/two-factor-enabled',
|
|
2251
|
+
path: {
|
|
2252
|
+
id: data.id
|
|
2253
|
+
},
|
|
2254
|
+
errors: {
|
|
2255
|
+
400: 'Bad Request',
|
|
2256
|
+
401: 'Unauthorized',
|
|
2257
|
+
403: 'Forbidden',
|
|
2258
|
+
404: 'Not Found',
|
|
2259
|
+
500: 'Server Error',
|
|
2260
|
+
501: 'Server Error'
|
|
2261
|
+
}
|
|
2262
|
+
});
|
|
2263
|
+
}
|
|
2264
|
+
|
|
2265
|
+
/**
|
|
2266
|
+
* @param data The data for the request.
|
|
2267
|
+
* @param data.id
|
|
2268
|
+
* @param data.enabled
|
|
2269
|
+
* @returns unknown Success
|
|
2270
|
+
* @throws ApiError
|
|
2271
|
+
*/
|
|
2272
|
+
public putApiIdentityUsersByIdTwoFactorByEnabled(data: PutApiIdentityUsersByIdTwoFactorByEnabledData): CancelablePromise<PutApiIdentityUsersByIdTwoFactorByEnabledResponse> {
|
|
2273
|
+
return this.httpRequest.request({
|
|
2274
|
+
method: 'PUT',
|
|
2275
|
+
url: '/api/identity/users/{id}/two-factor/{enabled}',
|
|
2276
|
+
path: {
|
|
2277
|
+
id: data.id,
|
|
2278
|
+
enabled: data.enabled
|
|
2279
|
+
},
|
|
2280
|
+
errors: {
|
|
2281
|
+
400: 'Bad Request',
|
|
2282
|
+
401: 'Unauthorized',
|
|
2283
|
+
403: 'Forbidden',
|
|
2284
|
+
404: 'Not Found',
|
|
2285
|
+
500: 'Server Error',
|
|
2286
|
+
501: 'Server Error'
|
|
2287
|
+
}
|
|
2288
|
+
});
|
|
2289
|
+
}
|
|
2290
|
+
|
|
2291
|
+
/**
|
|
2292
|
+
* @param data The data for the request.
|
|
2293
|
+
* @param data.id
|
|
2294
|
+
* @param data.requestBody
|
|
2295
|
+
* @returns unknown Success
|
|
2296
|
+
* @throws ApiError
|
|
2297
|
+
*/
|
|
2298
|
+
public putApiIdentityUsersByIdChangePassword(data: PutApiIdentityUsersByIdChangePasswordData): CancelablePromise<PutApiIdentityUsersByIdChangePasswordResponse> {
|
|
2299
|
+
return this.httpRequest.request({
|
|
2300
|
+
method: 'PUT',
|
|
2301
|
+
url: '/api/identity/users/{id}/change-password',
|
|
2302
|
+
path: {
|
|
2303
|
+
id: data.id
|
|
2304
|
+
},
|
|
2305
|
+
body: data.requestBody,
|
|
2306
|
+
mediaType: 'application/json',
|
|
2307
|
+
errors: {
|
|
2308
|
+
400: 'Bad Request',
|
|
2309
|
+
401: 'Unauthorized',
|
|
2310
|
+
403: 'Forbidden',
|
|
2311
|
+
404: 'Not Found',
|
|
2312
|
+
500: 'Server Error',
|
|
2313
|
+
501: 'Server Error'
|
|
2314
|
+
}
|
|
2315
|
+
});
|
|
2316
|
+
}
|
|
2317
|
+
|
|
2318
|
+
/**
|
|
2319
|
+
* @returns Volo_Abp_Identity_IdentityRoleLookupDto Success
|
|
2320
|
+
* @throws ApiError
|
|
2321
|
+
*/
|
|
2322
|
+
public getApiIdentityUsersLookupRoles(): CancelablePromise<GetApiIdentityUsersLookupRolesResponse> {
|
|
2323
|
+
return this.httpRequest.request({
|
|
2324
|
+
method: 'GET',
|
|
2325
|
+
url: '/api/identity/users/lookup/roles',
|
|
2326
|
+
errors: {
|
|
2327
|
+
400: 'Bad Request',
|
|
2328
|
+
401: 'Unauthorized',
|
|
2329
|
+
403: 'Forbidden',
|
|
2330
|
+
404: 'Not Found',
|
|
2331
|
+
500: 'Server Error',
|
|
2332
|
+
501: 'Server Error'
|
|
2333
|
+
}
|
|
2334
|
+
});
|
|
2335
|
+
}
|
|
2336
|
+
|
|
2337
|
+
/**
|
|
2338
|
+
* @returns Volo_Abp_Identity_OrganizationUnitLookupDto Success
|
|
2339
|
+
* @throws ApiError
|
|
2340
|
+
*/
|
|
2341
|
+
public getApiIdentityUsersLookupOrganizationUnits(): CancelablePromise<GetApiIdentityUsersLookupOrganizationUnitsResponse> {
|
|
2342
|
+
return this.httpRequest.request({
|
|
2343
|
+
method: 'GET',
|
|
2344
|
+
url: '/api/identity/users/lookup/organization-units',
|
|
2345
|
+
errors: {
|
|
2346
|
+
400: 'Bad Request',
|
|
2347
|
+
401: 'Unauthorized',
|
|
2348
|
+
403: 'Forbidden',
|
|
2349
|
+
404: 'Not Found',
|
|
2350
|
+
500: 'Server Error',
|
|
2351
|
+
501: 'Server Error'
|
|
2352
|
+
}
|
|
2353
|
+
});
|
|
2354
|
+
}
|
|
2355
|
+
|
|
2356
|
+
/**
|
|
2357
|
+
* @returns Volo_Abp_Identity_ExternalLoginProviderDto Success
|
|
2358
|
+
* @throws ApiError
|
|
2359
|
+
*/
|
|
2360
|
+
public getApiIdentityUsersExternalLoginProviders(): CancelablePromise<GetApiIdentityUsersExternalLoginProvidersResponse> {
|
|
2361
|
+
return this.httpRequest.request({
|
|
2362
|
+
method: 'GET',
|
|
2363
|
+
url: '/api/identity/users/external-login-Providers',
|
|
2364
|
+
errors: {
|
|
2365
|
+
400: 'Bad Request',
|
|
2366
|
+
401: 'Unauthorized',
|
|
2367
|
+
403: 'Forbidden',
|
|
2368
|
+
404: 'Not Found',
|
|
2369
|
+
500: 'Server Error',
|
|
2370
|
+
501: 'Server Error'
|
|
2371
|
+
}
|
|
2372
|
+
});
|
|
2373
|
+
}
|
|
2374
|
+
|
|
2375
|
+
/**
|
|
2376
|
+
* @param data The data for the request.
|
|
2377
|
+
* @param data.requestBody
|
|
2378
|
+
* @returns Volo_Abp_Identity_IdentityUserDto Success
|
|
2379
|
+
* @throws ApiError
|
|
2380
|
+
*/
|
|
2381
|
+
public postApiIdentityUsersImportExternalUser(data: PostApiIdentityUsersImportExternalUserData = {}): CancelablePromise<PostApiIdentityUsersImportExternalUserResponse> {
|
|
2382
|
+
return this.httpRequest.request({
|
|
2383
|
+
method: 'POST',
|
|
2384
|
+
url: '/api/identity/users/import-external-user',
|
|
2385
|
+
body: data.requestBody,
|
|
2386
|
+
mediaType: 'application/json',
|
|
2387
|
+
errors: {
|
|
2388
|
+
400: 'Bad Request',
|
|
2389
|
+
401: 'Unauthorized',
|
|
2390
|
+
403: 'Forbidden',
|
|
2391
|
+
404: 'Not Found',
|
|
2392
|
+
500: 'Server Error',
|
|
2393
|
+
501: 'Server Error'
|
|
2394
|
+
}
|
|
2395
|
+
});
|
|
2396
|
+
}
|
|
2397
|
+
|
|
2398
|
+
/**
|
|
2399
|
+
* @param data The data for the request.
|
|
2400
|
+
* @param data.token
|
|
2401
|
+
* @param data.filter
|
|
2402
|
+
* @param data.roleId
|
|
2403
|
+
* @param data.organizationUnitId
|
|
2404
|
+
* @param data.userName
|
|
2405
|
+
* @param data.phoneNumber
|
|
2406
|
+
* @param data.emailAddress
|
|
2407
|
+
* @param data.name
|
|
2408
|
+
* @param data.surname
|
|
2409
|
+
* @param data.isLockedOut
|
|
2410
|
+
* @param data.notActive
|
|
2411
|
+
* @param data.emailConfirmed
|
|
2412
|
+
* @param data.isExternal
|
|
2413
|
+
* @param data.maxCreationTime
|
|
2414
|
+
* @param data.minCreationTime
|
|
2415
|
+
* @param data.maxModifitionTime
|
|
2416
|
+
* @param data.minModifitionTime
|
|
2417
|
+
* @param data.sorting
|
|
2418
|
+
* @param data.skipCount
|
|
2419
|
+
* @param data.maxResultCount
|
|
2420
|
+
* @param data.extraProperties
|
|
2421
|
+
* @returns binary Success
|
|
2422
|
+
* @throws ApiError
|
|
2423
|
+
*/
|
|
2424
|
+
public getApiIdentityUsersExportAsExcel(data: GetApiIdentityUsersExportAsExcelData): CancelablePromise<GetApiIdentityUsersExportAsExcelResponse> {
|
|
2425
|
+
return this.httpRequest.request({
|
|
2426
|
+
method: 'GET',
|
|
2427
|
+
url: '/api/identity/users/export-as-excel',
|
|
2428
|
+
query: {
|
|
2429
|
+
Token: data.token,
|
|
2430
|
+
Filter: data.filter,
|
|
2431
|
+
RoleId: data.roleId,
|
|
2432
|
+
OrganizationUnitId: data.organizationUnitId,
|
|
2433
|
+
UserName: data.userName,
|
|
2434
|
+
PhoneNumber: data.phoneNumber,
|
|
2435
|
+
EmailAddress: data.emailAddress,
|
|
2436
|
+
Name: data.name,
|
|
2437
|
+
Surname: data.surname,
|
|
2438
|
+
IsLockedOut: data.isLockedOut,
|
|
2439
|
+
NotActive: data.notActive,
|
|
2440
|
+
EmailConfirmed: data.emailConfirmed,
|
|
2441
|
+
IsExternal: data.isExternal,
|
|
2442
|
+
MaxCreationTime: data.maxCreationTime,
|
|
2443
|
+
MinCreationTime: data.minCreationTime,
|
|
2444
|
+
MaxModifitionTime: data.maxModifitionTime,
|
|
2445
|
+
MinModifitionTime: data.minModifitionTime,
|
|
2446
|
+
Sorting: data.sorting,
|
|
2447
|
+
SkipCount: data.skipCount,
|
|
2448
|
+
MaxResultCount: data.maxResultCount,
|
|
2449
|
+
ExtraProperties: data.extraProperties
|
|
2450
|
+
},
|
|
2451
|
+
errors: {
|
|
2452
|
+
400: 'Bad Request',
|
|
2453
|
+
401: 'Unauthorized',
|
|
2454
|
+
403: 'Forbidden',
|
|
2455
|
+
404: 'Not Found',
|
|
2456
|
+
500: 'Server Error',
|
|
2457
|
+
501: 'Server Error'
|
|
2458
|
+
}
|
|
2459
|
+
});
|
|
2460
|
+
}
|
|
2461
|
+
|
|
2462
|
+
/**
|
|
2463
|
+
* @param data The data for the request.
|
|
2464
|
+
* @param data.token
|
|
2465
|
+
* @param data.filter
|
|
2466
|
+
* @param data.roleId
|
|
2467
|
+
* @param data.organizationUnitId
|
|
2468
|
+
* @param data.userName
|
|
2469
|
+
* @param data.phoneNumber
|
|
2470
|
+
* @param data.emailAddress
|
|
2471
|
+
* @param data.name
|
|
2472
|
+
* @param data.surname
|
|
2473
|
+
* @param data.isLockedOut
|
|
2474
|
+
* @param data.notActive
|
|
2475
|
+
* @param data.emailConfirmed
|
|
2476
|
+
* @param data.isExternal
|
|
2477
|
+
* @param data.maxCreationTime
|
|
2478
|
+
* @param data.minCreationTime
|
|
2479
|
+
* @param data.maxModifitionTime
|
|
2480
|
+
* @param data.minModifitionTime
|
|
2481
|
+
* @param data.sorting
|
|
2482
|
+
* @param data.skipCount
|
|
2483
|
+
* @param data.maxResultCount
|
|
2484
|
+
* @param data.extraProperties
|
|
2485
|
+
* @returns binary Success
|
|
2486
|
+
* @throws ApiError
|
|
2487
|
+
*/
|
|
2488
|
+
public getApiIdentityUsersExportAsCsv(data: GetApiIdentityUsersExportAsCsvData): CancelablePromise<GetApiIdentityUsersExportAsCsvResponse> {
|
|
2489
|
+
return this.httpRequest.request({
|
|
2490
|
+
method: 'GET',
|
|
2491
|
+
url: '/api/identity/users/export-as-csv',
|
|
2492
|
+
query: {
|
|
2493
|
+
Token: data.token,
|
|
2494
|
+
Filter: data.filter,
|
|
2495
|
+
RoleId: data.roleId,
|
|
2496
|
+
OrganizationUnitId: data.organizationUnitId,
|
|
2497
|
+
UserName: data.userName,
|
|
2498
|
+
PhoneNumber: data.phoneNumber,
|
|
2499
|
+
EmailAddress: data.emailAddress,
|
|
2500
|
+
Name: data.name,
|
|
2501
|
+
Surname: data.surname,
|
|
2502
|
+
IsLockedOut: data.isLockedOut,
|
|
2503
|
+
NotActive: data.notActive,
|
|
2504
|
+
EmailConfirmed: data.emailConfirmed,
|
|
2505
|
+
IsExternal: data.isExternal,
|
|
2506
|
+
MaxCreationTime: data.maxCreationTime,
|
|
2507
|
+
MinCreationTime: data.minCreationTime,
|
|
2508
|
+
MaxModifitionTime: data.maxModifitionTime,
|
|
2509
|
+
MinModifitionTime: data.minModifitionTime,
|
|
2510
|
+
Sorting: data.sorting,
|
|
2511
|
+
SkipCount: data.skipCount,
|
|
2512
|
+
MaxResultCount: data.maxResultCount,
|
|
2513
|
+
ExtraProperties: data.extraProperties
|
|
2514
|
+
},
|
|
2515
|
+
errors: {
|
|
2516
|
+
400: 'Bad Request',
|
|
2517
|
+
401: 'Unauthorized',
|
|
2518
|
+
403: 'Forbidden',
|
|
2519
|
+
404: 'Not Found',
|
|
2520
|
+
500: 'Server Error',
|
|
2521
|
+
501: 'Server Error'
|
|
2522
|
+
}
|
|
2523
|
+
});
|
|
2524
|
+
}
|
|
2525
|
+
|
|
2526
|
+
/**
|
|
2527
|
+
* @returns Volo_Abp_Identity_DownloadTokenResultDto Success
|
|
2528
|
+
* @throws ApiError
|
|
2529
|
+
*/
|
|
2530
|
+
public getApiIdentityUsersDownloadToken(): CancelablePromise<GetApiIdentityUsersDownloadTokenResponse> {
|
|
2531
|
+
return this.httpRequest.request({
|
|
2532
|
+
method: 'GET',
|
|
2533
|
+
url: '/api/identity/users/download-token',
|
|
2534
|
+
errors: {
|
|
2535
|
+
400: 'Bad Request',
|
|
2536
|
+
401: 'Unauthorized',
|
|
2537
|
+
403: 'Forbidden',
|
|
2538
|
+
404: 'Not Found',
|
|
2539
|
+
500: 'Server Error',
|
|
2540
|
+
501: 'Server Error'
|
|
2541
|
+
}
|
|
2542
|
+
});
|
|
2543
|
+
}
|
|
2544
|
+
|
|
2545
|
+
/**
|
|
2546
|
+
* @param data The data for the request.
|
|
2547
|
+
* @param data.token
|
|
2548
|
+
* @param data.fileType
|
|
2549
|
+
* @returns binary Success
|
|
2550
|
+
* @throws ApiError
|
|
2551
|
+
*/
|
|
2552
|
+
public getApiIdentityUsersImportUsersSampleFile(data: GetApiIdentityUsersImportUsersSampleFileData): CancelablePromise<GetApiIdentityUsersImportUsersSampleFileResponse> {
|
|
2553
|
+
return this.httpRequest.request({
|
|
2554
|
+
method: 'GET',
|
|
2555
|
+
url: '/api/identity/users/import-users-sample-file',
|
|
2556
|
+
query: {
|
|
2557
|
+
FileType: data.fileType,
|
|
2558
|
+
Token: data.token
|
|
2559
|
+
},
|
|
2560
|
+
errors: {
|
|
2561
|
+
400: 'Bad Request',
|
|
2562
|
+
401: 'Unauthorized',
|
|
2563
|
+
403: 'Forbidden',
|
|
2564
|
+
404: 'Not Found',
|
|
2565
|
+
500: 'Server Error',
|
|
2566
|
+
501: 'Server Error'
|
|
2567
|
+
}
|
|
2568
|
+
});
|
|
2569
|
+
}
|
|
2570
|
+
|
|
2571
|
+
/**
|
|
2572
|
+
* @param data The data for the request.
|
|
2573
|
+
* @param data.fileType
|
|
2574
|
+
* @param data.formData
|
|
2575
|
+
* @returns Volo_Abp_Identity_ImportUsersFromFileOutput Success
|
|
2576
|
+
* @throws ApiError
|
|
2577
|
+
*/
|
|
2578
|
+
public postApiIdentityUsersImportUsersFromFile(data: PostApiIdentityUsersImportUsersFromFileData = {}): CancelablePromise<PostApiIdentityUsersImportUsersFromFileResponse> {
|
|
2579
|
+
return this.httpRequest.request({
|
|
2580
|
+
method: 'POST',
|
|
2581
|
+
url: '/api/identity/users/import-users-from-file',
|
|
2582
|
+
query: {
|
|
2583
|
+
FileType: data.fileType
|
|
2584
|
+
},
|
|
2585
|
+
formData: data.formData,
|
|
2586
|
+
mediaType: 'multipart/form-data',
|
|
2587
|
+
errors: {
|
|
2588
|
+
400: 'Bad Request',
|
|
2589
|
+
401: 'Unauthorized',
|
|
2590
|
+
403: 'Forbidden',
|
|
2591
|
+
404: 'Not Found',
|
|
2592
|
+
500: 'Server Error',
|
|
2593
|
+
501: 'Server Error'
|
|
2594
|
+
}
|
|
2595
|
+
});
|
|
2596
|
+
}
|
|
2597
|
+
|
|
2598
|
+
/**
|
|
2599
|
+
* @param data The data for the request.
|
|
2600
|
+
* @param data.token
|
|
2601
|
+
* @returns binary Success
|
|
2602
|
+
* @throws ApiError
|
|
2603
|
+
*/
|
|
2604
|
+
public getApiIdentityUsersDownloadImportInvalidUsersFile(data: GetApiIdentityUsersDownloadImportInvalidUsersFileData): CancelablePromise<GetApiIdentityUsersDownloadImportInvalidUsersFileResponse> {
|
|
2605
|
+
return this.httpRequest.request({
|
|
2606
|
+
method: 'GET',
|
|
2607
|
+
url: '/api/identity/users/download-import-invalid-users-file',
|
|
2608
|
+
query: {
|
|
2609
|
+
Token: data.token
|
|
2610
|
+
},
|
|
2611
|
+
errors: {
|
|
2612
|
+
400: 'Bad Request',
|
|
2613
|
+
401: 'Unauthorized',
|
|
2614
|
+
403: 'Forbidden',
|
|
2615
|
+
404: 'Not Found',
|
|
2616
|
+
500: 'Server Error',
|
|
2617
|
+
501: 'Server Error'
|
|
2618
|
+
}
|
|
2619
|
+
});
|
|
2620
|
+
}
|
|
2621
|
+
|
|
2622
|
+
}
|
|
2623
|
+
|
|
2624
|
+
export class UserIntegrationService {
|
|
2625
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
2626
|
+
|
|
2627
|
+
/**
|
|
2628
|
+
* @param data The data for the request.
|
|
2629
|
+
* @param data.id
|
|
2630
|
+
* @returns string Success
|
|
2631
|
+
* @throws ApiError
|
|
2632
|
+
*/
|
|
2633
|
+
public getIntegrationApiIdentityUsersByIdRoleNames(data: GetIntegrationApiIdentityUsersByIdRoleNamesData): CancelablePromise<GetIntegrationApiIdentityUsersByIdRoleNamesResponse> {
|
|
2634
|
+
return this.httpRequest.request({
|
|
2635
|
+
method: 'GET',
|
|
2636
|
+
url: '/integration-api/identity/users/{id}/role-names',
|
|
2637
|
+
path: {
|
|
2638
|
+
id: data.id
|
|
2639
|
+
},
|
|
2640
|
+
errors: {
|
|
2641
|
+
400: 'Bad Request',
|
|
2642
|
+
401: 'Unauthorized',
|
|
2643
|
+
403: 'Forbidden',
|
|
2644
|
+
404: 'Not Found',
|
|
2645
|
+
500: 'Server Error',
|
|
2646
|
+
501: 'Server Error'
|
|
2647
|
+
}
|
|
2648
|
+
});
|
|
2649
|
+
}
|
|
2650
|
+
|
|
2651
|
+
/**
|
|
2652
|
+
* @param data The data for the request.
|
|
2653
|
+
* @param data.id
|
|
2654
|
+
* @returns Volo_Abp_Users_UserData Success
|
|
2655
|
+
* @throws ApiError
|
|
2656
|
+
*/
|
|
2657
|
+
public getIntegrationApiIdentityUsersById(data: GetIntegrationApiIdentityUsersByIdData): CancelablePromise<GetIntegrationApiIdentityUsersByIdResponse> {
|
|
2658
|
+
return this.httpRequest.request({
|
|
2659
|
+
method: 'GET',
|
|
2660
|
+
url: '/integration-api/identity/users/{id}',
|
|
2661
|
+
path: {
|
|
2662
|
+
id: data.id
|
|
2663
|
+
},
|
|
2664
|
+
errors: {
|
|
2665
|
+
400: 'Bad Request',
|
|
2666
|
+
401: 'Unauthorized',
|
|
2667
|
+
403: 'Forbidden',
|
|
2668
|
+
404: 'Not Found',
|
|
2669
|
+
500: 'Server Error',
|
|
2670
|
+
501: 'Server Error'
|
|
2671
|
+
}
|
|
2672
|
+
});
|
|
2673
|
+
}
|
|
2674
|
+
|
|
2675
|
+
/**
|
|
2676
|
+
* @param data The data for the request.
|
|
2677
|
+
* @param data.userName
|
|
2678
|
+
* @returns Volo_Abp_Users_UserData Success
|
|
2679
|
+
* @throws ApiError
|
|
2680
|
+
*/
|
|
2681
|
+
public getIntegrationApiIdentityUsersByUsernameByUserName(data: GetIntegrationApiIdentityUsersByUsernameByUserNameData): CancelablePromise<GetIntegrationApiIdentityUsersByUsernameByUserNameResponse> {
|
|
2682
|
+
return this.httpRequest.request({
|
|
2683
|
+
method: 'GET',
|
|
2684
|
+
url: '/integration-api/identity/users/by-username/{userName}',
|
|
2685
|
+
path: {
|
|
2686
|
+
userName: data.userName
|
|
2687
|
+
},
|
|
2688
|
+
errors: {
|
|
2689
|
+
400: 'Bad Request',
|
|
2690
|
+
401: 'Unauthorized',
|
|
2691
|
+
403: 'Forbidden',
|
|
2692
|
+
404: 'Not Found',
|
|
2693
|
+
500: 'Server Error',
|
|
2694
|
+
501: 'Server Error'
|
|
2695
|
+
}
|
|
2696
|
+
});
|
|
2697
|
+
}
|
|
2698
|
+
|
|
2699
|
+
/**
|
|
2700
|
+
* @param data The data for the request.
|
|
2701
|
+
* @param data.sorting
|
|
2702
|
+
* @param data.filter
|
|
2703
|
+
* @param data.skipCount
|
|
2704
|
+
* @param data.maxResultCount
|
|
2705
|
+
* @param data.extraProperties
|
|
2706
|
+
* @returns Volo_Abp_Application_Dtos_ListResultDto_1<Volo_Abp_Users_UserData__Volo_Abp_Users_Abstractions__Version_8_0_5_0__Culture_neutral__PublicKeyToken_null_> Success
|
|
2707
|
+
* @throws ApiError
|
|
2708
|
+
*/
|
|
2709
|
+
public getIntegrationApiIdentityUsersSearch(data: GetIntegrationApiIdentityUsersSearchData = {}): CancelablePromise<GetIntegrationApiIdentityUsersSearchResponse> {
|
|
2710
|
+
return this.httpRequest.request({
|
|
2711
|
+
method: 'GET',
|
|
2712
|
+
url: '/integration-api/identity/users/search',
|
|
2713
|
+
query: {
|
|
2714
|
+
Sorting: data.sorting,
|
|
2715
|
+
Filter: data.filter,
|
|
2716
|
+
SkipCount: data.skipCount,
|
|
2717
|
+
MaxResultCount: data.maxResultCount,
|
|
2718
|
+
ExtraProperties: data.extraProperties
|
|
2719
|
+
},
|
|
2720
|
+
errors: {
|
|
2721
|
+
400: 'Bad Request',
|
|
2722
|
+
401: 'Unauthorized',
|
|
2723
|
+
403: 'Forbidden',
|
|
2724
|
+
404: 'Not Found',
|
|
2725
|
+
500: 'Server Error',
|
|
2726
|
+
501: 'Server Error'
|
|
2727
|
+
}
|
|
2728
|
+
});
|
|
2729
|
+
}
|
|
2730
|
+
|
|
2731
|
+
/**
|
|
2732
|
+
* @param data The data for the request.
|
|
2733
|
+
* @param data.filter
|
|
2734
|
+
* @returns number Success
|
|
2735
|
+
* @throws ApiError
|
|
2736
|
+
*/
|
|
2737
|
+
public getIntegrationApiIdentityUsersCount(data: GetIntegrationApiIdentityUsersCountData = {}): CancelablePromise<GetIntegrationApiIdentityUsersCountResponse> {
|
|
2738
|
+
return this.httpRequest.request({
|
|
2739
|
+
method: 'GET',
|
|
2740
|
+
url: '/integration-api/identity/users/count',
|
|
2741
|
+
query: {
|
|
2742
|
+
Filter: data.filter
|
|
2743
|
+
},
|
|
2744
|
+
errors: {
|
|
2745
|
+
400: 'Bad Request',
|
|
2746
|
+
401: 'Unauthorized',
|
|
2747
|
+
403: 'Forbidden',
|
|
2748
|
+
404: 'Not Found',
|
|
2749
|
+
500: 'Server Error',
|
|
2750
|
+
501: 'Server Error'
|
|
2751
|
+
}
|
|
2752
|
+
});
|
|
2753
|
+
}
|
|
2754
|
+
|
|
2755
|
+
}
|
|
2756
|
+
|
|
2757
|
+
export class UserLookupService {
|
|
2758
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
2759
|
+
|
|
2760
|
+
/**
|
|
2761
|
+
* @param data The data for the request.
|
|
2762
|
+
* @param data.id
|
|
2763
|
+
* @returns Volo_Abp_Users_UserData Success
|
|
2764
|
+
* @throws ApiError
|
|
2765
|
+
*/
|
|
2766
|
+
public getApiIdentityUsersLookupById(data: GetApiIdentityUsersLookupByIdData): CancelablePromise<GetApiIdentityUsersLookupByIdResponse> {
|
|
2767
|
+
return this.httpRequest.request({
|
|
2768
|
+
method: 'GET',
|
|
2769
|
+
url: '/api/identity/users/lookup/{id}',
|
|
2770
|
+
path: {
|
|
2771
|
+
id: data.id
|
|
2772
|
+
},
|
|
2773
|
+
errors: {
|
|
2774
|
+
400: 'Bad Request',
|
|
2775
|
+
401: 'Unauthorized',
|
|
2776
|
+
403: 'Forbidden',
|
|
2777
|
+
404: 'Not Found',
|
|
2778
|
+
500: 'Server Error',
|
|
2779
|
+
501: 'Server Error'
|
|
2780
|
+
}
|
|
2781
|
+
});
|
|
2782
|
+
}
|
|
2783
|
+
|
|
2784
|
+
/**
|
|
2785
|
+
* @param data The data for the request.
|
|
2786
|
+
* @param data.userName
|
|
2787
|
+
* @returns Volo_Abp_Users_UserData Success
|
|
2788
|
+
* @throws ApiError
|
|
2789
|
+
*/
|
|
2790
|
+
public getApiIdentityUsersLookupByUsernameByUserName(data: GetApiIdentityUsersLookupByUsernameByUserNameData): CancelablePromise<GetApiIdentityUsersLookupByUsernameByUserNameResponse> {
|
|
2791
|
+
return this.httpRequest.request({
|
|
2792
|
+
method: 'GET',
|
|
2793
|
+
url: '/api/identity/users/lookup/by-username/{userName}',
|
|
2794
|
+
path: {
|
|
2795
|
+
userName: data.userName
|
|
2796
|
+
},
|
|
2797
|
+
errors: {
|
|
2798
|
+
400: 'Bad Request',
|
|
2799
|
+
401: 'Unauthorized',
|
|
2800
|
+
403: 'Forbidden',
|
|
2801
|
+
404: 'Not Found',
|
|
2802
|
+
500: 'Server Error',
|
|
2803
|
+
501: 'Server Error'
|
|
2804
|
+
}
|
|
2805
|
+
});
|
|
2806
|
+
}
|
|
2807
|
+
|
|
2808
|
+
/**
|
|
2809
|
+
* @param data The data for the request.
|
|
2810
|
+
* @param data.sorting
|
|
2811
|
+
* @param data.filter
|
|
2812
|
+
* @param data.skipCount
|
|
2813
|
+
* @param data.maxResultCount
|
|
2814
|
+
* @param data.extraProperties
|
|
2815
|
+
* @returns Volo_Abp_Application_Dtos_ListResultDto_1<Volo_Abp_Users_UserData__Volo_Abp_Users_Abstractions__Version_8_0_5_0__Culture_neutral__PublicKeyToken_null_> Success
|
|
2816
|
+
* @throws ApiError
|
|
2817
|
+
*/
|
|
2818
|
+
public getApiIdentityUsersLookupSearch(data: GetApiIdentityUsersLookupSearchData = {}): CancelablePromise<GetApiIdentityUsersLookupSearchResponse> {
|
|
2819
|
+
return this.httpRequest.request({
|
|
2820
|
+
method: 'GET',
|
|
2821
|
+
url: '/api/identity/users/lookup/search',
|
|
2822
|
+
query: {
|
|
2823
|
+
Sorting: data.sorting,
|
|
2824
|
+
Filter: data.filter,
|
|
2825
|
+
SkipCount: data.skipCount,
|
|
2826
|
+
MaxResultCount: data.maxResultCount,
|
|
2827
|
+
ExtraProperties: data.extraProperties
|
|
2828
|
+
},
|
|
2829
|
+
errors: {
|
|
2830
|
+
400: 'Bad Request',
|
|
2831
|
+
401: 'Unauthorized',
|
|
2832
|
+
403: 'Forbidden',
|
|
2833
|
+
404: 'Not Found',
|
|
2834
|
+
500: 'Server Error',
|
|
2835
|
+
501: 'Server Error'
|
|
2836
|
+
}
|
|
2837
|
+
});
|
|
2838
|
+
}
|
|
2839
|
+
|
|
2840
|
+
/**
|
|
2841
|
+
* @param data The data for the request.
|
|
2842
|
+
* @param data.filter
|
|
2843
|
+
* @returns number Success
|
|
2844
|
+
* @throws ApiError
|
|
2845
|
+
*/
|
|
2846
|
+
public getApiIdentityUsersLookupCount(data: GetApiIdentityUsersLookupCountData = {}): CancelablePromise<GetApiIdentityUsersLookupCountResponse> {
|
|
2847
|
+
return this.httpRequest.request({
|
|
2848
|
+
method: 'GET',
|
|
2849
|
+
url: '/api/identity/users/lookup/count',
|
|
2850
|
+
query: {
|
|
2851
|
+
Filter: data.filter
|
|
2852
|
+
},
|
|
2853
|
+
errors: {
|
|
2854
|
+
400: 'Bad Request',
|
|
2855
|
+
401: 'Unauthorized',
|
|
2856
|
+
403: 'Forbidden',
|
|
2857
|
+
404: 'Not Found',
|
|
2858
|
+
500: 'Server Error',
|
|
2859
|
+
501: 'Server Error'
|
|
2860
|
+
}
|
|
2861
|
+
});
|
|
2862
|
+
}
|
|
2863
|
+
|
|
2864
|
+
}
|