@ayasofyazilim/saas 0.0.41 → 0.0.42

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.
Files changed (107) hide show
  1. package/AccountService/AccountServiceClient.ts +68 -65
  2. package/AccountService/core/ApiRequestOptions.ts +12 -12
  3. package/AccountService/core/BaseHttpRequest.ts +9 -9
  4. package/AccountService/core/FetchHttpRequest.ts +21 -21
  5. package/AccountService/core/OpenAPI.ts +55 -55
  6. package/AccountService/core/request.ts +340 -340
  7. package/AccountService/index.ts +9 -9
  8. package/AccountService/schemas.gen.ts +5333 -5103
  9. package/AccountService/services.gen.ts +1539 -1452
  10. package/AccountService/types.gen.ts +3328 -9896
  11. package/AdministrationService/AdministrationServiceClient.ts +77 -74
  12. package/AdministrationService/core/ApiRequestOptions.ts +12 -12
  13. package/AdministrationService/core/BaseHttpRequest.ts +9 -9
  14. package/AdministrationService/core/FetchHttpRequest.ts +21 -21
  15. package/AdministrationService/core/OpenAPI.ts +55 -55
  16. package/AdministrationService/core/request.ts +340 -340
  17. package/AdministrationService/index.ts +9 -9
  18. package/AdministrationService/schemas.gen.ts +5987 -5897
  19. package/AdministrationService/services.gen.ts +1404 -1332
  20. package/AdministrationService/types.gen.ts +2851 -9024
  21. package/BackerService/core/ApiRequestOptions.ts +12 -12
  22. package/BackerService/core/BaseHttpRequest.ts +9 -9
  23. package/BackerService/core/FetchHttpRequest.ts +21 -21
  24. package/BackerService/core/OpenAPI.ts +55 -55
  25. package/BackerService/core/request.ts +340 -340
  26. package/BackerService/index.ts +9 -9
  27. package/BackerService/services.gen.ts +866 -866
  28. package/BackerService/types.gen.ts +2170 -14936
  29. package/CRMService/schemas.gen.ts +15928 -15928
  30. package/CRMService/services.gen.ts +2104 -2104
  31. package/CRMService/types.gen.ts +4189 -4189
  32. package/ContractService/schemas.gen.ts +10590 -10590
  33. package/ContractService/types.gen.ts +3709 -3709
  34. package/FundraiserService/core/ApiRequestOptions.ts +12 -12
  35. package/FundraiserService/core/BaseHttpRequest.ts +9 -9
  36. package/FundraiserService/core/FetchHttpRequest.ts +21 -21
  37. package/FundraiserService/core/OpenAPI.ts +55 -55
  38. package/FundraiserService/core/request.ts +340 -340
  39. package/FundraiserService/index.ts +9 -9
  40. package/FundraiserService/services.gen.ts +627 -627
  41. package/FundraiserService/types.gen.ts +1793 -11187
  42. package/IdentityService/IdentityServiceClient.ts +80 -77
  43. package/IdentityService/core/ApiRequestOptions.ts +12 -12
  44. package/IdentityService/core/BaseHttpRequest.ts +9 -9
  45. package/IdentityService/core/FetchHttpRequest.ts +21 -21
  46. package/IdentityService/core/OpenAPI.ts +55 -55
  47. package/IdentityService/core/request.ts +340 -340
  48. package/IdentityService/index.ts +9 -9
  49. package/IdentityService/schemas.gen.ts +6845 -6573
  50. package/IdentityService/services.gen.ts +2924 -2839
  51. package/IdentityService/types.gen.ts +5484 -17446
  52. package/LocationService/LocationServiceClient.ts +110 -110
  53. package/LocationService/core/ApiError.ts +20 -20
  54. package/LocationService/core/ApiRequestOptions.ts +12 -12
  55. package/LocationService/core/ApiResult.ts +6 -6
  56. package/LocationService/core/BaseHttpRequest.ts +9 -9
  57. package/LocationService/core/CancelablePromise.ts +125 -125
  58. package/LocationService/core/FetchHttpRequest.ts +21 -21
  59. package/LocationService/core/OpenAPI.ts +55 -55
  60. package/LocationService/core/request.ts +340 -340
  61. package/LocationService/index.ts +8 -8
  62. package/LocationService/schemas.gen.ts +10136 -10136
  63. package/LocationService/services.gen.ts +3392 -3392
  64. package/LocationService/types.gen.ts +6507 -6507
  65. package/MerchantService/core/ApiRequestOptions.ts +12 -12
  66. package/MerchantService/core/BaseHttpRequest.ts +9 -9
  67. package/MerchantService/core/FetchHttpRequest.ts +21 -21
  68. package/MerchantService/core/OpenAPI.ts +55 -55
  69. package/MerchantService/core/request.ts +340 -340
  70. package/MerchantService/schemas.gen.ts +14764 -14764
  71. package/MerchantService/services.gen.ts +1602 -1602
  72. package/ProjectService/core/ApiRequestOptions.ts +12 -12
  73. package/ProjectService/core/BaseHttpRequest.ts +9 -9
  74. package/ProjectService/core/FetchHttpRequest.ts +21 -21
  75. package/ProjectService/core/OpenAPI.ts +55 -55
  76. package/ProjectService/core/request.ts +340 -340
  77. package/ProjectService/index.ts +9 -9
  78. package/ProjectService/services.gen.ts +492 -492
  79. package/ProjectService/types.gen.ts +1303 -4978
  80. package/ProjectService.json +2937 -2937
  81. package/SaasService/core/ApiRequestOptions.ts +12 -12
  82. package/SaasService/core/BaseHttpRequest.ts +9 -9
  83. package/SaasService/core/FetchHttpRequest.ts +21 -21
  84. package/SaasService/core/OpenAPI.ts +55 -55
  85. package/SaasService/core/request.ts +340 -340
  86. package/SaasService/index.ts +9 -9
  87. package/SaasService/schemas.gen.ts +5345 -5278
  88. package/SaasService/services.gen.ts +1329 -1325
  89. package/SaasService/types.gen.ts +2737 -9052
  90. package/SettingService/schemas.gen.ts +5410 -5395
  91. package/SettingService/services.gen.ts +890 -843
  92. package/SettingService/types.gen.ts +2052 -1965
  93. package/TravellerService/TravellerServiceClient.ts +56 -56
  94. package/TravellerService/core/ApiError.ts +20 -20
  95. package/TravellerService/core/ApiRequestOptions.ts +12 -12
  96. package/TravellerService/core/ApiResult.ts +6 -6
  97. package/TravellerService/core/BaseHttpRequest.ts +9 -9
  98. package/TravellerService/core/CancelablePromise.ts +125 -125
  99. package/TravellerService/core/FetchHttpRequest.ts +21 -21
  100. package/TravellerService/core/OpenAPI.ts +55 -55
  101. package/TravellerService/core/request.ts +340 -340
  102. package/TravellerService/index.ts +8 -8
  103. package/TravellerService/schemas.gen.ts +6184 -6204
  104. package/TravellerService/services.gen.ts +699 -695
  105. package/TravellerService/types.gen.ts +1809 -1808
  106. package/package.json +1 -1
  107. package/swagger.json +4794 -4794
@@ -1,1453 +1,1540 @@
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, GetApiAbpMultiTenancyTenantsByNameByNameData, GetApiAbpMultiTenancyTenantsByNameByNameResponse, GetApiAbpMultiTenancyTenantsByIdByIdData, GetApiAbpMultiTenancyTenantsByIdByIdResponse, PostApiAccountRegisterData, PostApiAccountRegisterResponse, PostApiAccountSendPasswordResetCodeData, PostApiAccountSendPasswordResetCodeResponse, PostApiAccountVerifyPasswordResetTokenData, PostApiAccountVerifyPasswordResetTokenResponse, PostApiAccountResetPasswordData, PostApiAccountResetPasswordResponse, GetApiAccountConfirmationStateData, GetApiAccountConfirmationStateResponse, PostApiAccountSendPhoneNumberConfirmationTokenData, PostApiAccountSendPhoneNumberConfirmationTokenResponse, PostApiAccountSendEmailConfirmationTokenData, PostApiAccountSendEmailConfirmationTokenResponse, PostApiAccountVerifyEmailConfirmationTokenData, PostApiAccountVerifyEmailConfirmationTokenResponse, PostApiAccountConfirmPhoneNumberData, PostApiAccountConfirmPhoneNumberResponse, PostApiAccountConfirmEmailData, PostApiAccountConfirmEmailResponse, PostApiAccountProfilePictureData, PostApiAccountProfilePictureResponse, GetApiAccountProfilePictureByIdData, GetApiAccountProfilePictureByIdResponse, GetApiAccountTwoFactorProvidersData, GetApiAccountTwoFactorProvidersResponse, PostApiAccountSendTwoFactorCodeData, PostApiAccountSendTwoFactorCodeResponse, GetApiAccountSecurityLogsData, GetApiAccountSecurityLogsResponse, PostApiAccountVerifyAuthenticatorCodeData, PostApiAccountVerifyAuthenticatorCodeResponse, PostApiAccountResetAuthenticatorResponse, GetApiAccountHasAuthenticatorKeyResponse, GetApiAccountAuthenticatorInfoResponse, GetApiAccountProfilePictureFileByIdData, GetApiAccountProfilePictureFileByIdResponse, GetApiAccountRecaptchaValidateData, GetApiAccountRecaptchaValidateResponse, GetApiAccountExternalProviderResponse, GetApiAccountExternalProviderByNameData, GetApiAccountExternalProviderByNameResponse, GetApiAccountAdminSettingsResponse, PutApiAccountAdminSettingsData, PutApiAccountAdminSettingsResponse, GetApiAccountAdminSettingsTwoFactorResponse, PutApiAccountAdminSettingsTwoFactorData, PutApiAccountAdminSettingsTwoFactorResponse, GetApiAccountAdminSettingsRecaptchaResponse, PutApiAccountAdminSettingsRecaptchaData, PutApiAccountAdminSettingsRecaptchaResponse, GetApiAccountAdminSettingsExternalProviderResponse, PutApiAccountAdminSettingsExternalProviderData, PutApiAccountAdminSettingsExternalProviderResponse, PostApiAccountDynamicClaimsRefreshResponse, PostApiAccountLoginData, PostApiAccountLoginResponse, PostApiAccountLinkLoginData, PostApiAccountLinkLoginResponse, GetApiAccountLogoutResponse, PostApiAccountCheckPasswordData, PostApiAccountCheckPasswordResponse, GetApiAccountMyProfileResponse, PutApiAccountMyProfileData, PutApiAccountMyProfileResponse, PostApiAccountMyProfileChangePasswordData, PostApiAccountMyProfileChangePasswordResponse, GetApiAccountMyProfileTwoFactorEnabledResponse, PostApiAccountMyProfileSetTwoFactorEnabledData, PostApiAccountMyProfileSetTwoFactorEnabledResponse, GetApiAccountMyProfileCanEnableTwoFactorResponse, GetApiAccountMyProfileTimezonesResponse, PostApiAccountLinkUserLinkData, PostApiAccountLinkUserLinkResponse, PostApiAccountLinkUserUnlinkData, PostApiAccountLinkUserUnlinkResponse, PostApiAccountLinkUserIsLinkedData, PostApiAccountLinkUserIsLinkedResponse, PostApiAccountLinkUserGenerateLinkTokenResponse, PostApiAccountLinkUserVerifyLinkTokenData, PostApiAccountLinkUserVerifyLinkTokenResponse, PostApiAccountLinkUserGenerateLinkLoginTokenResponse, PostApiAccountLinkUserVerifyLinkLoginTokenData, PostApiAccountLinkUserVerifyLinkLoginTokenResponse, GetApiAccountLinkUserResponse, GetApiAccountUserDelegationDelegatedUsersResponse, GetApiAccountUserDelegationMyDelegatedUsersResponse, GetApiAccountUserDelegationActiveDelegationsResponse, GetApiAccountUserDelegationUserLookupData, GetApiAccountUserDelegationUserLookupResponse, PostApiAccountUserDelegationDelegateNewUserData, PostApiAccountUserDelegationDelegateNewUserResponse, PostApiAccountUserDelegationDeleteDelegationData, PostApiAccountUserDelegationDeleteDelegationResponse } 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 unknown 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 unknown 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 unknown 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 AbpTenantService {
97
- constructor(public readonly httpRequest: BaseHttpRequest) { }
98
-
99
- /**
100
- * @param data The data for the request.
101
- * @param data.name
102
- * @returns unknown Success
103
- * @throws ApiError
104
- */
105
- public getApiAbpMultiTenancyTenantsByNameByName(data: GetApiAbpMultiTenancyTenantsByNameByNameData): CancelablePromise<GetApiAbpMultiTenancyTenantsByNameByNameResponse> {
106
- return this.httpRequest.request({
107
- method: 'GET',
108
- url: '/api/abp/multi-tenancy/tenants/by-name/{name}',
109
- path: {
110
- name: data.name
111
- },
112
- errors: {
113
- 400: 'Bad Request',
114
- 401: 'Unauthorized',
115
- 403: 'Forbidden',
116
- 404: 'Not Found',
117
- 500: 'Server Error',
118
- 501: 'Server Error'
119
- }
120
- });
121
- }
122
-
123
- /**
124
- * @param data The data for the request.
125
- * @param data.id
126
- * @returns unknown Success
127
- * @throws ApiError
128
- */
129
- public getApiAbpMultiTenancyTenantsByIdById(data: GetApiAbpMultiTenancyTenantsByIdByIdData): CancelablePromise<GetApiAbpMultiTenancyTenantsByIdByIdResponse> {
130
- return this.httpRequest.request({
131
- method: 'GET',
132
- url: '/api/abp/multi-tenancy/tenants/by-id/{id}',
133
- path: {
134
- id: data.id
135
- },
136
- errors: {
137
- 400: 'Bad Request',
138
- 401: 'Unauthorized',
139
- 403: 'Forbidden',
140
- 404: 'Not Found',
141
- 500: 'Server Error',
142
- 501: 'Server Error'
143
- }
144
- });
145
- }
146
-
147
- }
148
-
149
- export class AccountService {
150
- constructor(public readonly httpRequest: BaseHttpRequest) { }
151
-
152
- /**
153
- * @param data The data for the request.
154
- * @param data.requestBody
155
- * @returns unknown Success
156
- * @throws ApiError
157
- */
158
- public postApiAccountRegister(data: PostApiAccountRegisterData = {}): CancelablePromise<PostApiAccountRegisterResponse> {
159
- return this.httpRequest.request({
160
- method: 'POST',
161
- url: '/api/account/register',
162
- body: data.requestBody,
163
- mediaType: 'application/json',
164
- errors: {
165
- 400: 'Bad Request',
166
- 401: 'Unauthorized',
167
- 403: 'Forbidden',
168
- 404: 'Not Found',
169
- 500: 'Server Error',
170
- 501: 'Server Error'
171
- }
172
- });
173
- }
174
-
175
- /**
176
- * @param data The data for the request.
177
- * @param data.requestBody
178
- * @returns unknown Success
179
- * @throws ApiError
180
- */
181
- public postApiAccountSendPasswordResetCode(data: PostApiAccountSendPasswordResetCodeData = {}): CancelablePromise<PostApiAccountSendPasswordResetCodeResponse> {
182
- return this.httpRequest.request({
183
- method: 'POST',
184
- url: '/api/account/send-password-reset-code',
185
- body: data.requestBody,
186
- mediaType: 'application/json',
187
- errors: {
188
- 400: 'Bad Request',
189
- 401: 'Unauthorized',
190
- 403: 'Forbidden',
191
- 404: 'Not Found',
192
- 500: 'Server Error',
193
- 501: 'Server Error'
194
- }
195
- });
196
- }
197
-
198
- /**
199
- * @param data The data for the request.
200
- * @param data.requestBody
201
- * @returns boolean Success
202
- * @throws ApiError
203
- */
204
- public postApiAccountVerifyPasswordResetToken(data: PostApiAccountVerifyPasswordResetTokenData = {}): CancelablePromise<PostApiAccountVerifyPasswordResetTokenResponse> {
205
- return this.httpRequest.request({
206
- method: 'POST',
207
- url: '/api/account/verify-password-reset-token',
208
- body: data.requestBody,
209
- mediaType: 'application/json',
210
- errors: {
211
- 400: 'Bad Request',
212
- 401: 'Unauthorized',
213
- 403: 'Forbidden',
214
- 404: 'Not Found',
215
- 500: 'Server Error',
216
- 501: 'Server Error'
217
- }
218
- });
219
- }
220
-
221
- /**
222
- * @param data The data for the request.
223
- * @param data.requestBody
224
- * @returns unknown Success
225
- * @throws ApiError
226
- */
227
- public postApiAccountResetPassword(data: PostApiAccountResetPasswordData = {}): CancelablePromise<PostApiAccountResetPasswordResponse> {
228
- return this.httpRequest.request({
229
- method: 'POST',
230
- url: '/api/account/reset-password',
231
- body: data.requestBody,
232
- mediaType: 'application/json',
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.id
247
- * @returns unknown Success
248
- * @throws ApiError
249
- */
250
- public getApiAccountConfirmationState(data: GetApiAccountConfirmationStateData = {}): CancelablePromise<GetApiAccountConfirmationStateResponse> {
251
- return this.httpRequest.request({
252
- method: 'GET',
253
- url: '/api/account/confirmation-state',
254
- query: {
255
- id: data.id
256
- },
257
- errors: {
258
- 400: 'Bad Request',
259
- 401: 'Unauthorized',
260
- 403: 'Forbidden',
261
- 404: 'Not Found',
262
- 500: 'Server Error',
263
- 501: 'Server Error'
264
- }
265
- });
266
- }
267
-
268
- /**
269
- * @param data The data for the request.
270
- * @param data.requestBody
271
- * @returns unknown Success
272
- * @throws ApiError
273
- */
274
- public postApiAccountSendPhoneNumberConfirmationToken(data: PostApiAccountSendPhoneNumberConfirmationTokenData = {}): CancelablePromise<PostApiAccountSendPhoneNumberConfirmationTokenResponse> {
275
- return this.httpRequest.request({
276
- method: 'POST',
277
- url: '/api/account/send-phone-number-confirmation-token',
278
- body: data.requestBody,
279
- mediaType: 'application/json',
280
- errors: {
281
- 400: 'Bad Request',
282
- 401: 'Unauthorized',
283
- 403: 'Forbidden',
284
- 404: 'Not Found',
285
- 500: 'Server Error',
286
- 501: 'Server Error'
287
- }
288
- });
289
- }
290
-
291
- /**
292
- * @param data The data for the request.
293
- * @param data.requestBody
294
- * @returns unknown Success
295
- * @throws ApiError
296
- */
297
- public postApiAccountSendEmailConfirmationToken(data: PostApiAccountSendEmailConfirmationTokenData = {}): CancelablePromise<PostApiAccountSendEmailConfirmationTokenResponse> {
298
- return this.httpRequest.request({
299
- method: 'POST',
300
- url: '/api/account/send-email-confirmation-token',
301
- body: data.requestBody,
302
- mediaType: 'application/json',
303
- errors: {
304
- 400: 'Bad Request',
305
- 401: 'Unauthorized',
306
- 403: 'Forbidden',
307
- 404: 'Not Found',
308
- 500: 'Server Error',
309
- 501: 'Server Error'
310
- }
311
- });
312
- }
313
-
314
- /**
315
- * @param data The data for the request.
316
- * @param data.requestBody
317
- * @returns boolean Success
318
- * @throws ApiError
319
- */
320
- public postApiAccountVerifyEmailConfirmationToken(data: PostApiAccountVerifyEmailConfirmationTokenData = {}): CancelablePromise<PostApiAccountVerifyEmailConfirmationTokenResponse> {
321
- return this.httpRequest.request({
322
- method: 'POST',
323
- url: '/api/account/verify-email-confirmation-token',
324
- body: data.requestBody,
325
- mediaType: 'application/json',
326
- errors: {
327
- 400: 'Bad Request',
328
- 401: 'Unauthorized',
329
- 403: 'Forbidden',
330
- 404: 'Not Found',
331
- 500: 'Server Error',
332
- 501: 'Server Error'
333
- }
334
- });
335
- }
336
-
337
- /**
338
- * @param data The data for the request.
339
- * @param data.requestBody
340
- * @returns unknown Success
341
- * @throws ApiError
342
- */
343
- public postApiAccountConfirmPhoneNumber(data: PostApiAccountConfirmPhoneNumberData = {}): CancelablePromise<PostApiAccountConfirmPhoneNumberResponse> {
344
- return this.httpRequest.request({
345
- method: 'POST',
346
- url: '/api/account/confirm-phone-number',
347
- body: data.requestBody,
348
- mediaType: 'application/json',
349
- errors: {
350
- 400: 'Bad Request',
351
- 401: 'Unauthorized',
352
- 403: 'Forbidden',
353
- 404: 'Not Found',
354
- 500: 'Server Error',
355
- 501: 'Server Error'
356
- }
357
- });
358
- }
359
-
360
- /**
361
- * @param data The data for the request.
362
- * @param data.requestBody
363
- * @returns unknown Success
364
- * @throws ApiError
365
- */
366
- public postApiAccountConfirmEmail(data: PostApiAccountConfirmEmailData = {}): CancelablePromise<PostApiAccountConfirmEmailResponse> {
367
- return this.httpRequest.request({
368
- method: 'POST',
369
- url: '/api/account/confirm-email',
370
- body: data.requestBody,
371
- mediaType: 'application/json',
372
- errors: {
373
- 400: 'Bad Request',
374
- 401: 'Unauthorized',
375
- 403: 'Forbidden',
376
- 404: 'Not Found',
377
- 500: 'Server Error',
378
- 501: 'Server Error'
379
- }
380
- });
381
- }
382
-
383
- /**
384
- * @param data The data for the request.
385
- * @param data.type
386
- * @param data.formData
387
- * @returns unknown Success
388
- * @throws ApiError
389
- */
390
- public postApiAccountProfilePicture(data: PostApiAccountProfilePictureData = {}): CancelablePromise<PostApiAccountProfilePictureResponse> {
391
- return this.httpRequest.request({
392
- method: 'POST',
393
- url: '/api/account/profile-picture',
394
- query: {
395
- Type: data.type
396
- },
397
- formData: data.formData,
398
- mediaType: 'multipart/form-data',
399
- errors: {
400
- 400: 'Bad Request',
401
- 401: 'Unauthorized',
402
- 403: 'Forbidden',
403
- 404: 'Not Found',
404
- 500: 'Server Error',
405
- 501: 'Server Error'
406
- }
407
- });
408
- }
409
-
410
- /**
411
- * @param data The data for the request.
412
- * @param data.id
413
- * @returns unknown Success
414
- * @throws ApiError
415
- */
416
- public getApiAccountProfilePictureById(data: GetApiAccountProfilePictureByIdData): CancelablePromise<GetApiAccountProfilePictureByIdResponse> {
417
- return this.httpRequest.request({
418
- method: 'GET',
419
- url: '/api/account/profile-picture/{id}',
420
- path: {
421
- id: data.id
422
- },
423
- errors: {
424
- 400: 'Bad Request',
425
- 401: 'Unauthorized',
426
- 403: 'Forbidden',
427
- 404: 'Not Found',
428
- 500: 'Server Error',
429
- 501: 'Server Error'
430
- }
431
- });
432
- }
433
-
434
- /**
435
- * @param data The data for the request.
436
- * @param data.userId
437
- * @param data.token
438
- * @returns string Success
439
- * @throws ApiError
440
- */
441
- public getApiAccountTwoFactorProviders(data: GetApiAccountTwoFactorProvidersData): CancelablePromise<GetApiAccountTwoFactorProvidersResponse> {
442
- return this.httpRequest.request({
443
- method: 'GET',
444
- url: '/api/account/two-factor-providers',
445
- query: {
446
- UserId: data.userId,
447
- Token: data.token
448
- },
449
- errors: {
450
- 400: 'Bad Request',
451
- 401: 'Unauthorized',
452
- 403: 'Forbidden',
453
- 404: 'Not Found',
454
- 500: 'Server Error',
455
- 501: 'Server Error'
456
- }
457
- });
458
- }
459
-
460
- /**
461
- * @param data The data for the request.
462
- * @param data.requestBody
463
- * @returns unknown Success
464
- * @throws ApiError
465
- */
466
- public postApiAccountSendTwoFactorCode(data: PostApiAccountSendTwoFactorCodeData = {}): CancelablePromise<PostApiAccountSendTwoFactorCodeResponse> {
467
- return this.httpRequest.request({
468
- method: 'POST',
469
- url: '/api/account/send-two-factor-code',
470
- body: data.requestBody,
471
- mediaType: 'application/json',
472
- errors: {
473
- 400: 'Bad Request',
474
- 401: 'Unauthorized',
475
- 403: 'Forbidden',
476
- 404: 'Not Found',
477
- 500: 'Server Error',
478
- 501: 'Server Error'
479
- }
480
- });
481
- }
482
-
483
- /**
484
- * @param data The data for the request.
485
- * @param data.startTime
486
- * @param data.endTime
487
- * @param data.applicationName
488
- * @param data.identity
489
- * @param data.action
490
- * @param data.userName
491
- * @param data.clientId
492
- * @param data.correlationId
493
- * @param data.sorting
494
- * @param data.skipCount
495
- * @param data.maxResultCount
496
- * @param data.extraProperties
497
- * @returns unknown Success
498
- * @throws ApiError
499
- */
500
- public getApiAccountSecurityLogs(data: GetApiAccountSecurityLogsData = {}): CancelablePromise<GetApiAccountSecurityLogsResponse> {
501
- return this.httpRequest.request({
502
- method: 'GET',
503
- url: '/api/account/security-logs',
504
- query: {
505
- StartTime: data.startTime,
506
- EndTime: data.endTime,
507
- ApplicationName: data.applicationName,
508
- Identity: data.identity,
509
- Action: data.action,
510
- UserName: data.userName,
511
- ClientId: data.clientId,
512
- CorrelationId: data.correlationId,
513
- Sorting: data.sorting,
514
- SkipCount: data.skipCount,
515
- MaxResultCount: data.maxResultCount,
516
- ExtraProperties: data.extraProperties
517
- },
518
- errors: {
519
- 400: 'Bad Request',
520
- 401: 'Unauthorized',
521
- 403: 'Forbidden',
522
- 404: 'Not Found',
523
- 500: 'Server Error',
524
- 501: 'Server Error'
525
- }
526
- });
527
- }
528
-
529
- /**
530
- * @param data The data for the request.
531
- * @param data.requestBody
532
- * @returns unknown Success
533
- * @throws ApiError
534
- */
535
- public postApiAccountVerifyAuthenticatorCode(data: PostApiAccountVerifyAuthenticatorCodeData = {}): CancelablePromise<PostApiAccountVerifyAuthenticatorCodeResponse> {
536
- return this.httpRequest.request({
537
- method: 'POST',
538
- url: '/api/account/verify-authenticator-code',
539
- body: data.requestBody,
540
- mediaType: 'application/json',
541
- errors: {
542
- 400: 'Bad Request',
543
- 401: 'Unauthorized',
544
- 403: 'Forbidden',
545
- 404: 'Not Found',
546
- 500: 'Server Error',
547
- 501: 'Server Error'
548
- }
549
- });
550
- }
551
-
552
- /**
553
- * @returns unknown Success
554
- * @throws ApiError
555
- */
556
- public postApiAccountResetAuthenticator(): CancelablePromise<PostApiAccountResetAuthenticatorResponse> {
557
- return this.httpRequest.request({
558
- method: 'POST',
559
- url: '/api/account/reset-authenticator',
560
- errors: {
561
- 400: 'Bad Request',
562
- 401: 'Unauthorized',
563
- 403: 'Forbidden',
564
- 404: 'Not Found',
565
- 500: 'Server Error',
566
- 501: 'Server Error'
567
- }
568
- });
569
- }
570
-
571
- /**
572
- * @returns boolean Success
573
- * @throws ApiError
574
- */
575
- public getApiAccountHasAuthenticatorKey(): CancelablePromise<GetApiAccountHasAuthenticatorKeyResponse> {
576
- return this.httpRequest.request({
577
- method: 'GET',
578
- url: '/api/account/has-authenticator-key',
579
- errors: {
580
- 400: 'Bad Request',
581
- 401: 'Unauthorized',
582
- 403: 'Forbidden',
583
- 404: 'Not Found',
584
- 500: 'Server Error',
585
- 501: 'Server Error'
586
- }
587
- });
588
- }
589
-
590
- /**
591
- * @returns unknown Success
592
- * @throws ApiError
593
- */
594
- public getApiAccountAuthenticatorInfo(): CancelablePromise<GetApiAccountAuthenticatorInfoResponse> {
595
- return this.httpRequest.request({
596
- method: 'GET',
597
- url: '/api/account/authenticator-info',
598
- errors: {
599
- 400: 'Bad Request',
600
- 401: 'Unauthorized',
601
- 403: 'Forbidden',
602
- 404: 'Not Found',
603
- 500: 'Server Error',
604
- 501: 'Server Error'
605
- }
606
- });
607
- }
608
-
609
- /**
610
- * @param data The data for the request.
611
- * @param data.id
612
- * @returns binary Success
613
- * @throws ApiError
614
- */
615
- public getApiAccountProfilePictureFileById(data: GetApiAccountProfilePictureFileByIdData): CancelablePromise<GetApiAccountProfilePictureFileByIdResponse> {
616
- return this.httpRequest.request({
617
- method: 'GET',
618
- url: '/api/account/profile-picture-file/{id}',
619
- path: {
620
- id: data.id
621
- },
622
- errors: {
623
- 400: 'Bad Request',
624
- 401: 'Unauthorized',
625
- 403: 'Forbidden',
626
- 404: 'Not Found',
627
- 500: 'Server Error',
628
- 501: 'Server Error'
629
- }
630
- });
631
- }
632
-
633
- /**
634
- * @param data The data for the request.
635
- * @param data.captchaResponse
636
- * @returns unknown Success
637
- * @throws ApiError
638
- */
639
- public getApiAccountRecaptchaValidate(data: GetApiAccountRecaptchaValidateData = {}): CancelablePromise<GetApiAccountRecaptchaValidateResponse> {
640
- return this.httpRequest.request({
641
- method: 'GET',
642
- url: '/api/account/recaptcha-validate',
643
- query: {
644
- captchaResponse: data.captchaResponse
645
- },
646
- errors: {
647
- 400: 'Bad Request',
648
- 401: 'Unauthorized',
649
- 403: 'Forbidden',
650
- 404: 'Not Found',
651
- 500: 'Server Error',
652
- 501: 'Server Error'
653
- }
654
- });
655
- }
656
-
657
- }
658
-
659
- export class AccountExternalProviderService {
660
- constructor(public readonly httpRequest: BaseHttpRequest) { }
661
-
662
- /**
663
- * @returns unknown Success
664
- * @throws ApiError
665
- */
666
- public getApiAccountExternalProvider(): CancelablePromise<GetApiAccountExternalProviderResponse> {
667
- return this.httpRequest.request({
668
- method: 'GET',
669
- url: '/api/account/external-provider',
670
- errors: {
671
- 400: 'Bad Request',
672
- 401: 'Unauthorized',
673
- 403: 'Forbidden',
674
- 404: 'Not Found',
675
- 500: 'Server Error',
676
- 501: 'Server Error'
677
- }
678
- });
679
- }
680
-
681
- /**
682
- * @param data The data for the request.
683
- * @param data.tenantId
684
- * @param data.name
685
- * @returns unknown Success
686
- * @throws ApiError
687
- */
688
- public getApiAccountExternalProviderByName(data: GetApiAccountExternalProviderByNameData = {}): CancelablePromise<GetApiAccountExternalProviderByNameResponse> {
689
- return this.httpRequest.request({
690
- method: 'GET',
691
- url: '/api/account/external-provider/by-name',
692
- query: {
693
- TenantId: data.tenantId,
694
- Name: data.name
695
- },
696
- errors: {
697
- 400: 'Bad Request',
698
- 401: 'Unauthorized',
699
- 403: 'Forbidden',
700
- 404: 'Not Found',
701
- 500: 'Server Error',
702
- 501: 'Server Error'
703
- }
704
- });
705
- }
706
-
707
- }
708
-
709
- export class AccountSettingsService {
710
- constructor(public readonly httpRequest: BaseHttpRequest) { }
711
-
712
- /**
713
- * @returns unknown Success
714
- * @throws ApiError
715
- */
716
- public getApiAccountAdminSettings(): CancelablePromise<GetApiAccountAdminSettingsResponse> {
717
- return this.httpRequest.request({
718
- method: 'GET',
719
- url: '/api/account-admin/settings',
720
- errors: {
721
- 400: 'Bad Request',
722
- 401: 'Unauthorized',
723
- 403: 'Forbidden',
724
- 404: 'Not Found',
725
- 500: 'Server Error',
726
- 501: 'Server Error'
727
- }
728
- });
729
- }
730
-
731
- /**
732
- * @param data The data for the request.
733
- * @param data.requestBody
734
- * @returns unknown Success
735
- * @throws ApiError
736
- */
737
- public putApiAccountAdminSettings(data: PutApiAccountAdminSettingsData = {}): CancelablePromise<PutApiAccountAdminSettingsResponse> {
738
- return this.httpRequest.request({
739
- method: 'PUT',
740
- url: '/api/account-admin/settings',
741
- body: data.requestBody,
742
- mediaType: 'application/json',
743
- errors: {
744
- 400: 'Bad Request',
745
- 401: 'Unauthorized',
746
- 403: 'Forbidden',
747
- 404: 'Not Found',
748
- 500: 'Server Error',
749
- 501: 'Server Error'
750
- }
751
- });
752
- }
753
-
754
- /**
755
- * @returns unknown Success
756
- * @throws ApiError
757
- */
758
- public getApiAccountAdminSettingsTwoFactor(): CancelablePromise<GetApiAccountAdminSettingsTwoFactorResponse> {
759
- return this.httpRequest.request({
760
- method: 'GET',
761
- url: '/api/account-admin/settings/two-factor',
762
- errors: {
763
- 400: 'Bad Request',
764
- 401: 'Unauthorized',
765
- 403: 'Forbidden',
766
- 404: 'Not Found',
767
- 500: 'Server Error',
768
- 501: 'Server Error'
769
- }
770
- });
771
- }
772
-
773
- /**
774
- * @param data The data for the request.
775
- * @param data.requestBody
776
- * @returns unknown Success
777
- * @throws ApiError
778
- */
779
- public putApiAccountAdminSettingsTwoFactor(data: PutApiAccountAdminSettingsTwoFactorData = {}): CancelablePromise<PutApiAccountAdminSettingsTwoFactorResponse> {
780
- return this.httpRequest.request({
781
- method: 'PUT',
782
- url: '/api/account-admin/settings/two-factor',
783
- body: data.requestBody,
784
- mediaType: 'application/json',
785
- errors: {
786
- 400: 'Bad Request',
787
- 401: 'Unauthorized',
788
- 403: 'Forbidden',
789
- 404: 'Not Found',
790
- 500: 'Server Error',
791
- 501: 'Server Error'
792
- }
793
- });
794
- }
795
-
796
- /**
797
- * @returns unknown Success
798
- * @throws ApiError
799
- */
800
- public getApiAccountAdminSettingsRecaptcha(): CancelablePromise<GetApiAccountAdminSettingsRecaptchaResponse> {
801
- return this.httpRequest.request({
802
- method: 'GET',
803
- url: '/api/account-admin/settings/recaptcha',
804
- errors: {
805
- 400: 'Bad Request',
806
- 401: 'Unauthorized',
807
- 403: 'Forbidden',
808
- 404: 'Not Found',
809
- 500: 'Server Error',
810
- 501: 'Server Error'
811
- }
812
- });
813
- }
814
-
815
- /**
816
- * @param data The data for the request.
817
- * @param data.requestBody
818
- * @returns unknown Success
819
- * @throws ApiError
820
- */
821
- public putApiAccountAdminSettingsRecaptcha(data: PutApiAccountAdminSettingsRecaptchaData = {}): CancelablePromise<PutApiAccountAdminSettingsRecaptchaResponse> {
822
- return this.httpRequest.request({
823
- method: 'PUT',
824
- url: '/api/account-admin/settings/recaptcha',
825
- body: data.requestBody,
826
- mediaType: 'application/json',
827
- errors: {
828
- 400: 'Bad Request',
829
- 401: 'Unauthorized',
830
- 403: 'Forbidden',
831
- 404: 'Not Found',
832
- 500: 'Server Error',
833
- 501: 'Server Error'
834
- }
835
- });
836
- }
837
-
838
- /**
839
- * @returns unknown Success
840
- * @throws ApiError
841
- */
842
- public getApiAccountAdminSettingsExternalProvider(): CancelablePromise<GetApiAccountAdminSettingsExternalProviderResponse> {
843
- return this.httpRequest.request({
844
- method: 'GET',
845
- url: '/api/account-admin/settings/external-provider',
846
- errors: {
847
- 400: 'Bad Request',
848
- 401: 'Unauthorized',
849
- 403: 'Forbidden',
850
- 404: 'Not Found',
851
- 500: 'Server Error',
852
- 501: 'Server Error'
853
- }
854
- });
855
- }
856
-
857
- /**
858
- * @param data The data for the request.
859
- * @param data.requestBody
860
- * @returns unknown Success
861
- * @throws ApiError
862
- */
863
- public putApiAccountAdminSettingsExternalProvider(data: PutApiAccountAdminSettingsExternalProviderData = {}): CancelablePromise<PutApiAccountAdminSettingsExternalProviderResponse> {
864
- return this.httpRequest.request({
865
- method: 'PUT',
866
- url: '/api/account-admin/settings/external-provider',
867
- body: data.requestBody,
868
- mediaType: 'application/json',
869
- errors: {
870
- 400: 'Bad Request',
871
- 401: 'Unauthorized',
872
- 403: 'Forbidden',
873
- 404: 'Not Found',
874
- 500: 'Server Error',
875
- 501: 'Server Error'
876
- }
877
- });
878
- }
879
-
880
- }
881
-
882
- export class DynamicClaimsService {
883
- constructor(public readonly httpRequest: BaseHttpRequest) { }
884
-
885
- /**
886
- * @returns unknown Success
887
- * @throws ApiError
888
- */
889
- public postApiAccountDynamicClaimsRefresh(): CancelablePromise<PostApiAccountDynamicClaimsRefreshResponse> {
890
- return this.httpRequest.request({
891
- method: 'POST',
892
- url: '/api/account/dynamic-claims/refresh',
893
- errors: {
894
- 400: 'Bad Request',
895
- 401: 'Unauthorized',
896
- 403: 'Forbidden',
897
- 404: 'Not Found',
898
- 500: 'Server Error',
899
- 501: 'Server Error'
900
- }
901
- });
902
- }
903
-
904
- }
905
-
906
- export class LoginService {
907
- constructor(public readonly httpRequest: BaseHttpRequest) { }
908
-
909
- /**
910
- * @param data The data for the request.
911
- * @param data.requestBody
912
- * @returns unknown Success
913
- * @throws ApiError
914
- */
915
- public postApiAccountLogin(data: PostApiAccountLoginData = {}): CancelablePromise<PostApiAccountLoginResponse> {
916
- return this.httpRequest.request({
917
- method: 'POST',
918
- url: '/api/account/login',
919
- body: data.requestBody,
920
- mediaType: 'application/json',
921
- errors: {
922
- 400: 'Bad Request',
923
- 401: 'Unauthorized',
924
- 403: 'Forbidden',
925
- 404: 'Not Found',
926
- 500: 'Server Error',
927
- 501: 'Server Error'
928
- }
929
- });
930
- }
931
-
932
- /**
933
- * @param data The data for the request.
934
- * @param data.requestBody
935
- * @returns unknown Success
936
- * @throws ApiError
937
- */
938
- public postApiAccountLinkLogin(data: PostApiAccountLinkLoginData = {}): CancelablePromise<PostApiAccountLinkLoginResponse> {
939
- return this.httpRequest.request({
940
- method: 'POST',
941
- url: '/api/account/linkLogin',
942
- body: data.requestBody,
943
- mediaType: 'application/json',
944
- errors: {
945
- 400: 'Bad Request',
946
- 401: 'Unauthorized',
947
- 403: 'Forbidden',
948
- 404: 'Not Found',
949
- 500: 'Server Error',
950
- 501: 'Server Error'
951
- }
952
- });
953
- }
954
-
955
- /**
956
- * @returns unknown Success
957
- * @throws ApiError
958
- */
959
- public getApiAccountLogout(): CancelablePromise<GetApiAccountLogoutResponse> {
960
- return this.httpRequest.request({
961
- method: 'GET',
962
- url: '/api/account/logout',
963
- errors: {
964
- 400: 'Bad Request',
965
- 401: 'Unauthorized',
966
- 403: 'Forbidden',
967
- 404: 'Not Found',
968
- 500: 'Server Error',
969
- 501: 'Server Error'
970
- }
971
- });
972
- }
973
-
974
- /**
975
- * @param data The data for the request.
976
- * @param data.requestBody
977
- * @returns unknown Success
978
- * @throws ApiError
979
- */
980
- public postApiAccountCheckPassword(data: PostApiAccountCheckPasswordData = {}): CancelablePromise<PostApiAccountCheckPasswordResponse> {
981
- return this.httpRequest.request({
982
- method: 'POST',
983
- url: '/api/account/checkPassword',
984
- body: data.requestBody,
985
- mediaType: 'application/json',
986
- errors: {
987
- 400: 'Bad Request',
988
- 401: 'Unauthorized',
989
- 403: 'Forbidden',
990
- 404: 'Not Found',
991
- 500: 'Server Error',
992
- 501: 'Server Error'
993
- }
994
- });
995
- }
996
-
997
- }
998
-
999
- export class ProfileService {
1000
- constructor(public readonly httpRequest: BaseHttpRequest) { }
1001
-
1002
- /**
1003
- * @returns unknown Success
1004
- * @throws ApiError
1005
- */
1006
- public getApiAccountMyProfile(): CancelablePromise<GetApiAccountMyProfileResponse> {
1007
- return this.httpRequest.request({
1008
- method: 'GET',
1009
- url: '/api/account/my-profile',
1010
- errors: {
1011
- 400: 'Bad Request',
1012
- 401: 'Unauthorized',
1013
- 403: 'Forbidden',
1014
- 404: 'Not Found',
1015
- 500: 'Server Error',
1016
- 501: 'Server Error'
1017
- }
1018
- });
1019
- }
1020
-
1021
- /**
1022
- * @param data The data for the request.
1023
- * @param data.requestBody
1024
- * @returns unknown Success
1025
- * @throws ApiError
1026
- */
1027
- public putApiAccountMyProfile(data: PutApiAccountMyProfileData = {}): CancelablePromise<PutApiAccountMyProfileResponse> {
1028
- return this.httpRequest.request({
1029
- method: 'PUT',
1030
- url: '/api/account/my-profile',
1031
- body: data.requestBody,
1032
- mediaType: 'application/json',
1033
- errors: {
1034
- 400: 'Bad Request',
1035
- 401: 'Unauthorized',
1036
- 403: 'Forbidden',
1037
- 404: 'Not Found',
1038
- 500: 'Server Error',
1039
- 501: 'Server Error'
1040
- }
1041
- });
1042
- }
1043
-
1044
- /**
1045
- * @param data The data for the request.
1046
- * @param data.requestBody
1047
- * @returns unknown Success
1048
- * @throws ApiError
1049
- */
1050
- public postApiAccountMyProfileChangePassword(data: PostApiAccountMyProfileChangePasswordData = {}): CancelablePromise<PostApiAccountMyProfileChangePasswordResponse> {
1051
- return this.httpRequest.request({
1052
- method: 'POST',
1053
- url: '/api/account/my-profile/change-password',
1054
- body: data.requestBody,
1055
- mediaType: 'application/json',
1056
- errors: {
1057
- 400: 'Bad Request',
1058
- 401: 'Unauthorized',
1059
- 403: 'Forbidden',
1060
- 404: 'Not Found',
1061
- 500: 'Server Error',
1062
- 501: 'Server Error'
1063
- }
1064
- });
1065
- }
1066
-
1067
- /**
1068
- * @returns boolean Success
1069
- * @throws ApiError
1070
- */
1071
- public getApiAccountMyProfileTwoFactorEnabled(): CancelablePromise<GetApiAccountMyProfileTwoFactorEnabledResponse> {
1072
- return this.httpRequest.request({
1073
- method: 'GET',
1074
- url: '/api/account/my-profile/two-factor-enabled',
1075
- errors: {
1076
- 400: 'Bad Request',
1077
- 401: 'Unauthorized',
1078
- 403: 'Forbidden',
1079
- 404: 'Not Found',
1080
- 500: 'Server Error',
1081
- 501: 'Server Error'
1082
- }
1083
- });
1084
- }
1085
-
1086
- /**
1087
- * @param data The data for the request.
1088
- * @param data.enabled
1089
- * @returns unknown Success
1090
- * @throws ApiError
1091
- */
1092
- public postApiAccountMyProfileSetTwoFactorEnabled(data: PostApiAccountMyProfileSetTwoFactorEnabledData = {}): CancelablePromise<PostApiAccountMyProfileSetTwoFactorEnabledResponse> {
1093
- return this.httpRequest.request({
1094
- method: 'POST',
1095
- url: '/api/account/my-profile/set-two-factor-enabled',
1096
- query: {
1097
- enabled: data.enabled
1098
- },
1099
- errors: {
1100
- 400: 'Bad Request',
1101
- 401: 'Unauthorized',
1102
- 403: 'Forbidden',
1103
- 404: 'Not Found',
1104
- 500: 'Server Error',
1105
- 501: 'Server Error'
1106
- }
1107
- });
1108
- }
1109
-
1110
- /**
1111
- * @returns boolean Success
1112
- * @throws ApiError
1113
- */
1114
- public getApiAccountMyProfileCanEnableTwoFactor(): CancelablePromise<GetApiAccountMyProfileCanEnableTwoFactorResponse> {
1115
- return this.httpRequest.request({
1116
- method: 'GET',
1117
- url: '/api/account/my-profile/can-enable-two-factor',
1118
- errors: {
1119
- 400: 'Bad Request',
1120
- 401: 'Unauthorized',
1121
- 403: 'Forbidden',
1122
- 404: 'Not Found',
1123
- 500: 'Server Error',
1124
- 501: 'Server Error'
1125
- }
1126
- });
1127
- }
1128
-
1129
- /**
1130
- * @returns unknown Success
1131
- * @throws ApiError
1132
- */
1133
- public getApiAccountMyProfileTimezones(): CancelablePromise<GetApiAccountMyProfileTimezonesResponse> {
1134
- return this.httpRequest.request({
1135
- method: 'GET',
1136
- url: '/api/account/my-profile/timezones',
1137
- errors: {
1138
- 400: 'Bad Request',
1139
- 401: 'Unauthorized',
1140
- 403: 'Forbidden',
1141
- 404: 'Not Found',
1142
- 500: 'Server Error',
1143
- 501: 'Server Error'
1144
- }
1145
- });
1146
- }
1147
-
1148
- }
1149
-
1150
- export class UserService {
1151
- constructor(public readonly httpRequest: BaseHttpRequest) { }
1152
-
1153
- /**
1154
- * @param data The data for the request.
1155
- * @param data.requestBody
1156
- * @returns unknown Success
1157
- * @throws ApiError
1158
- */
1159
- public postApiAccountLinkUserLink(data: PostApiAccountLinkUserLinkData = {}): CancelablePromise<PostApiAccountLinkUserLinkResponse> {
1160
- return this.httpRequest.request({
1161
- method: 'POST',
1162
- url: '/api/account/link-user/link',
1163
- body: data.requestBody,
1164
- mediaType: 'application/json',
1165
- errors: {
1166
- 400: 'Bad Request',
1167
- 401: 'Unauthorized',
1168
- 403: 'Forbidden',
1169
- 404: 'Not Found',
1170
- 500: 'Server Error',
1171
- 501: 'Server Error'
1172
- }
1173
- });
1174
- }
1175
-
1176
- /**
1177
- * @param data The data for the request.
1178
- * @param data.requestBody
1179
- * @returns unknown Success
1180
- * @throws ApiError
1181
- */
1182
- public postApiAccountLinkUserUnlink(data: PostApiAccountLinkUserUnlinkData = {}): CancelablePromise<PostApiAccountLinkUserUnlinkResponse> {
1183
- return this.httpRequest.request({
1184
- method: 'POST',
1185
- url: '/api/account/link-user/unlink',
1186
- body: data.requestBody,
1187
- mediaType: 'application/json',
1188
- errors: {
1189
- 400: 'Bad Request',
1190
- 401: 'Unauthorized',
1191
- 403: 'Forbidden',
1192
- 404: 'Not Found',
1193
- 500: 'Server Error',
1194
- 501: 'Server Error'
1195
- }
1196
- });
1197
- }
1198
-
1199
- /**
1200
- * @param data The data for the request.
1201
- * @param data.requestBody
1202
- * @returns boolean Success
1203
- * @throws ApiError
1204
- */
1205
- public postApiAccountLinkUserIsLinked(data: PostApiAccountLinkUserIsLinkedData = {}): CancelablePromise<PostApiAccountLinkUserIsLinkedResponse> {
1206
- return this.httpRequest.request({
1207
- method: 'POST',
1208
- url: '/api/account/link-user/is-linked',
1209
- body: data.requestBody,
1210
- mediaType: 'application/json',
1211
- errors: {
1212
- 400: 'Bad Request',
1213
- 401: 'Unauthorized',
1214
- 403: 'Forbidden',
1215
- 404: 'Not Found',
1216
- 500: 'Server Error',
1217
- 501: 'Server Error'
1218
- }
1219
- });
1220
- }
1221
-
1222
- /**
1223
- * @returns string Success
1224
- * @throws ApiError
1225
- */
1226
- public postApiAccountLinkUserGenerateLinkToken(): CancelablePromise<PostApiAccountLinkUserGenerateLinkTokenResponse> {
1227
- return this.httpRequest.request({
1228
- method: 'POST',
1229
- url: '/api/account/link-user/generate-link-token',
1230
- errors: {
1231
- 400: 'Bad Request',
1232
- 401: 'Unauthorized',
1233
- 403: 'Forbidden',
1234
- 404: 'Not Found',
1235
- 500: 'Server Error',
1236
- 501: 'Server Error'
1237
- }
1238
- });
1239
- }
1240
-
1241
- /**
1242
- * @param data The data for the request.
1243
- * @param data.requestBody
1244
- * @returns boolean Success
1245
- * @throws ApiError
1246
- */
1247
- public postApiAccountLinkUserVerifyLinkToken(data: PostApiAccountLinkUserVerifyLinkTokenData = {}): CancelablePromise<PostApiAccountLinkUserVerifyLinkTokenResponse> {
1248
- return this.httpRequest.request({
1249
- method: 'POST',
1250
- url: '/api/account/link-user/verify-link-token',
1251
- body: data.requestBody,
1252
- mediaType: 'application/json',
1253
- errors: {
1254
- 400: 'Bad Request',
1255
- 401: 'Unauthorized',
1256
- 403: 'Forbidden',
1257
- 404: 'Not Found',
1258
- 500: 'Server Error',
1259
- 501: 'Server Error'
1260
- }
1261
- });
1262
- }
1263
-
1264
- /**
1265
- * @returns string Success
1266
- * @throws ApiError
1267
- */
1268
- public postApiAccountLinkUserGenerateLinkLoginToken(): CancelablePromise<PostApiAccountLinkUserGenerateLinkLoginTokenResponse> {
1269
- return this.httpRequest.request({
1270
- method: 'POST',
1271
- url: '/api/account/link-user/generate-link-login-token',
1272
- errors: {
1273
- 400: 'Bad Request',
1274
- 401: 'Unauthorized',
1275
- 403: 'Forbidden',
1276
- 404: 'Not Found',
1277
- 500: 'Server Error',
1278
- 501: 'Server Error'
1279
- }
1280
- });
1281
- }
1282
-
1283
- /**
1284
- * @param data The data for the request.
1285
- * @param data.requestBody
1286
- * @returns boolean Success
1287
- * @throws ApiError
1288
- */
1289
- public postApiAccountLinkUserVerifyLinkLoginToken(data: PostApiAccountLinkUserVerifyLinkLoginTokenData = {}): CancelablePromise<PostApiAccountLinkUserVerifyLinkLoginTokenResponse> {
1290
- return this.httpRequest.request({
1291
- method: 'POST',
1292
- url: '/api/account/link-user/verify-link-login-token',
1293
- body: data.requestBody,
1294
- mediaType: 'application/json',
1295
- errors: {
1296
- 400: 'Bad Request',
1297
- 401: 'Unauthorized',
1298
- 403: 'Forbidden',
1299
- 404: 'Not Found',
1300
- 500: 'Server Error',
1301
- 501: 'Server Error'
1302
- }
1303
- });
1304
- }
1305
-
1306
- /**
1307
- * @returns unknown Success
1308
- * @throws ApiError
1309
- */
1310
- public getApiAccountLinkUser(): CancelablePromise<GetApiAccountLinkUserResponse> {
1311
- return this.httpRequest.request({
1312
- method: 'GET',
1313
- url: '/api/account/link-user',
1314
- errors: {
1315
- 400: 'Bad Request',
1316
- 401: 'Unauthorized',
1317
- 403: 'Forbidden',
1318
- 404: 'Not Found',
1319
- 500: 'Server Error',
1320
- 501: 'Server Error'
1321
- }
1322
- });
1323
- }
1324
-
1325
- /**
1326
- * @returns unknown Success
1327
- * @throws ApiError
1328
- */
1329
- public getApiAccountUserDelegationDelegatedUsers(): CancelablePromise<GetApiAccountUserDelegationDelegatedUsersResponse> {
1330
- return this.httpRequest.request({
1331
- method: 'GET',
1332
- url: '/api/account/user-delegation/delegated-users',
1333
- errors: {
1334
- 400: 'Bad Request',
1335
- 401: 'Unauthorized',
1336
- 403: 'Forbidden',
1337
- 404: 'Not Found',
1338
- 500: 'Server Error',
1339
- 501: 'Server Error'
1340
- }
1341
- });
1342
- }
1343
-
1344
- /**
1345
- * @returns unknown Success
1346
- * @throws ApiError
1347
- */
1348
- public getApiAccountUserDelegationMyDelegatedUsers(): CancelablePromise<GetApiAccountUserDelegationMyDelegatedUsersResponse> {
1349
- return this.httpRequest.request({
1350
- method: 'GET',
1351
- url: '/api/account/user-delegation/my-delegated-users',
1352
- errors: {
1353
- 400: 'Bad Request',
1354
- 401: 'Unauthorized',
1355
- 403: 'Forbidden',
1356
- 404: 'Not Found',
1357
- 500: 'Server Error',
1358
- 501: 'Server Error'
1359
- }
1360
- });
1361
- }
1362
-
1363
- /**
1364
- * @returns unknown Success
1365
- * @throws ApiError
1366
- */
1367
- public getApiAccountUserDelegationActiveDelegations(): CancelablePromise<GetApiAccountUserDelegationActiveDelegationsResponse> {
1368
- return this.httpRequest.request({
1369
- method: 'GET',
1370
- url: '/api/account/user-delegation/active-delegations',
1371
- errors: {
1372
- 400: 'Bad Request',
1373
- 401: 'Unauthorized',
1374
- 403: 'Forbidden',
1375
- 404: 'Not Found',
1376
- 500: 'Server Error',
1377
- 501: 'Server Error'
1378
- }
1379
- });
1380
- }
1381
-
1382
- /**
1383
- * @param data The data for the request.
1384
- * @param data.userName
1385
- * @returns unknown Success
1386
- * @throws ApiError
1387
- */
1388
- public getApiAccountUserDelegationUserLookup(data: GetApiAccountUserDelegationUserLookupData = {}): CancelablePromise<GetApiAccountUserDelegationUserLookupResponse> {
1389
- return this.httpRequest.request({
1390
- method: 'GET',
1391
- url: '/api/account/user-delegation/user-lookup',
1392
- query: {
1393
- UserName: data.userName
1394
- },
1395
- errors: {
1396
- 400: 'Bad Request',
1397
- 401: 'Unauthorized',
1398
- 403: 'Forbidden',
1399
- 404: 'Not Found',
1400
- 500: 'Server Error',
1401
- 501: 'Server Error'
1402
- }
1403
- });
1404
- }
1405
-
1406
- /**
1407
- * @param data The data for the request.
1408
- * @param data.requestBody
1409
- * @returns unknown Success
1410
- * @throws ApiError
1411
- */
1412
- public postApiAccountUserDelegationDelegateNewUser(data: PostApiAccountUserDelegationDelegateNewUserData = {}): CancelablePromise<PostApiAccountUserDelegationDelegateNewUserResponse> {
1413
- return this.httpRequest.request({
1414
- method: 'POST',
1415
- url: '/api/account/user-delegation/delegate-new-user',
1416
- body: data.requestBody,
1417
- mediaType: 'application/json',
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.id
1432
- * @returns unknown Success
1433
- * @throws ApiError
1434
- */
1435
- public postApiAccountUserDelegationDeleteDelegation(data: PostApiAccountUserDelegationDeleteDelegationData = {}): CancelablePromise<PostApiAccountUserDelegationDeleteDelegationResponse> {
1436
- return this.httpRequest.request({
1437
- method: 'POST',
1438
- url: '/api/account/user-delegation/delete-delegation',
1439
- query: {
1440
- id: data.id
1441
- },
1442
- errors: {
1443
- 400: 'Bad Request',
1444
- 401: 'Unauthorized',
1445
- 403: 'Forbidden',
1446
- 404: 'Not Found',
1447
- 500: 'Server Error',
1448
- 501: 'Server Error'
1449
- }
1450
- });
1451
- }
1452
-
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, GetApiAbpMultiTenancyTenantsByNameByNameData, GetApiAbpMultiTenancyTenantsByNameByNameResponse, GetApiAbpMultiTenancyTenantsByIdByIdData, GetApiAbpMultiTenancyTenantsByIdByIdResponse, PostApiAccountRegisterData, PostApiAccountRegisterResponse, PostApiAccountSendPasswordResetCodeData, PostApiAccountSendPasswordResetCodeResponse, PostApiAccountVerifyPasswordResetTokenData, PostApiAccountVerifyPasswordResetTokenResponse, PostApiAccountResetPasswordData, PostApiAccountResetPasswordResponse, GetApiAccountConfirmationStateData, GetApiAccountConfirmationStateResponse, PostApiAccountSendPhoneNumberConfirmationTokenData, PostApiAccountSendPhoneNumberConfirmationTokenResponse, PostApiAccountSendEmailConfirmationTokenData, PostApiAccountSendEmailConfirmationTokenResponse, PostApiAccountVerifyEmailConfirmationTokenData, PostApiAccountVerifyEmailConfirmationTokenResponse, PostApiAccountConfirmPhoneNumberData, PostApiAccountConfirmPhoneNumberResponse, PostApiAccountConfirmEmailData, PostApiAccountConfirmEmailResponse, PostApiAccountProfilePictureData, PostApiAccountProfilePictureResponse, GetApiAccountProfilePictureByIdData, GetApiAccountProfilePictureByIdResponse, GetApiAccountTwoFactorProvidersData, GetApiAccountTwoFactorProvidersResponse, PostApiAccountSendTwoFactorCodeData, PostApiAccountSendTwoFactorCodeResponse, GetApiAccountSecurityLogsData, GetApiAccountSecurityLogsResponse, PostApiAccountVerifyAuthenticatorCodeData, PostApiAccountVerifyAuthenticatorCodeResponse, PostApiAccountResetAuthenticatorResponse, GetApiAccountHasAuthenticatorKeyResponse, GetApiAccountAuthenticatorInfoResponse, GetApiAccountProfilePictureFileByIdData, GetApiAccountProfilePictureFileByIdResponse, GetApiAccountRecaptchaValidateData, GetApiAccountRecaptchaValidateResponse, GetApiAccountExternalProviderResponse, GetApiAccountExternalProviderByNameData, GetApiAccountExternalProviderByNameResponse, GetApiAccountAdminSettingsResponse, PutApiAccountAdminSettingsData, PutApiAccountAdminSettingsResponse, GetApiAccountAdminSettingsTwoFactorResponse, PutApiAccountAdminSettingsTwoFactorData, PutApiAccountAdminSettingsTwoFactorResponse, GetApiAccountAdminSettingsRecaptchaResponse, PutApiAccountAdminSettingsRecaptchaData, PutApiAccountAdminSettingsRecaptchaResponse, GetApiAccountAdminSettingsExternalProviderResponse, PutApiAccountAdminSettingsExternalProviderData, PutApiAccountAdminSettingsExternalProviderResponse, PostApiAccountDynamicClaimsRefreshResponse, PostApiAccountLoginData, PostApiAccountLoginResponse, PostApiAccountLinkLoginData, PostApiAccountLinkLoginResponse, GetApiAccountLogoutResponse, PostApiAccountCheckPasswordData, PostApiAccountCheckPasswordResponse, GetApiAccountMyProfileResponse, PutApiAccountMyProfileData, PutApiAccountMyProfileResponse, PostApiAccountMyProfileChangePasswordData, PostApiAccountMyProfileChangePasswordResponse, GetApiAccountMyProfileTwoFactorEnabledResponse, PostApiAccountMyProfileSetTwoFactorEnabledData, PostApiAccountMyProfileSetTwoFactorEnabledResponse, GetApiAccountMyProfileCanEnableTwoFactorResponse, GetApiAccountMyProfileTimezonesResponse, GetApiAccountSessionsData, GetApiAccountSessionsResponse, GetApiAccountSessionsByIdData, GetApiAccountSessionsByIdResponse, DeleteApiAccountSessionsByIdData, DeleteApiAccountSessionsByIdResponse, PostApiAccountLinkUserLinkData, PostApiAccountLinkUserLinkResponse, PostApiAccountLinkUserUnlinkData, PostApiAccountLinkUserUnlinkResponse, PostApiAccountLinkUserIsLinkedData, PostApiAccountLinkUserIsLinkedResponse, PostApiAccountLinkUserGenerateLinkTokenResponse, PostApiAccountLinkUserVerifyLinkTokenData, PostApiAccountLinkUserVerifyLinkTokenResponse, PostApiAccountLinkUserGenerateLinkLoginTokenResponse, PostApiAccountLinkUserVerifyLinkLoginTokenData, PostApiAccountLinkUserVerifyLinkLoginTokenResponse, GetApiAccountLinkUserResponse, GetApiAccountUserDelegationDelegatedUsersResponse, GetApiAccountUserDelegationMyDelegatedUsersResponse, GetApiAccountUserDelegationActiveDelegationsResponse, GetApiAccountUserDelegationUserLookupData, GetApiAccountUserDelegationUserLookupResponse, PostApiAccountUserDelegationDelegateNewUserData, PostApiAccountUserDelegationDelegateNewUserResponse, PostApiAccountUserDelegationDeleteDelegationData, PostApiAccountUserDelegationDeleteDelegationResponse } 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 AbpTenantService {
97
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
98
+
99
+ /**
100
+ * @param data The data for the request.
101
+ * @param data.name
102
+ * @returns Volo_Abp_AspNetCore_Mvc_MultiTenancy_FindTenantResultDto Success
103
+ * @throws ApiError
104
+ */
105
+ public getApiAbpMultiTenancyTenantsByNameByName(data: GetApiAbpMultiTenancyTenantsByNameByNameData): CancelablePromise<GetApiAbpMultiTenancyTenantsByNameByNameResponse> {
106
+ return this.httpRequest.request({
107
+ method: 'GET',
108
+ url: '/api/abp/multi-tenancy/tenants/by-name/{name}',
109
+ path: {
110
+ name: data.name
111
+ },
112
+ errors: {
113
+ 400: 'Bad Request',
114
+ 401: 'Unauthorized',
115
+ 403: 'Forbidden',
116
+ 404: 'Not Found',
117
+ 500: 'Server Error',
118
+ 501: 'Server Error'
119
+ }
120
+ });
121
+ }
122
+
123
+ /**
124
+ * @param data The data for the request.
125
+ * @param data.id
126
+ * @returns Volo_Abp_AspNetCore_Mvc_MultiTenancy_FindTenantResultDto Success
127
+ * @throws ApiError
128
+ */
129
+ public getApiAbpMultiTenancyTenantsByIdById(data: GetApiAbpMultiTenancyTenantsByIdByIdData): CancelablePromise<GetApiAbpMultiTenancyTenantsByIdByIdResponse> {
130
+ return this.httpRequest.request({
131
+ method: 'GET',
132
+ url: '/api/abp/multi-tenancy/tenants/by-id/{id}',
133
+ path: {
134
+ id: data.id
135
+ },
136
+ errors: {
137
+ 400: 'Bad Request',
138
+ 401: 'Unauthorized',
139
+ 403: 'Forbidden',
140
+ 404: 'Not Found',
141
+ 500: 'Server Error',
142
+ 501: 'Server Error'
143
+ }
144
+ });
145
+ }
146
+
147
+ }
148
+
149
+ export class AccountService {
150
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
151
+
152
+ /**
153
+ * @param data The data for the request.
154
+ * @param data.requestBody
155
+ * @returns Volo_Abp_Identity_IdentityUserDto Success
156
+ * @throws ApiError
157
+ */
158
+ public postApiAccountRegister(data: PostApiAccountRegisterData = {}): CancelablePromise<PostApiAccountRegisterResponse> {
159
+ return this.httpRequest.request({
160
+ method: 'POST',
161
+ url: '/api/account/register',
162
+ body: data.requestBody,
163
+ mediaType: 'application/json',
164
+ errors: {
165
+ 400: 'Bad Request',
166
+ 401: 'Unauthorized',
167
+ 403: 'Forbidden',
168
+ 404: 'Not Found',
169
+ 500: 'Server Error',
170
+ 501: 'Server Error'
171
+ }
172
+ });
173
+ }
174
+
175
+ /**
176
+ * @param data The data for the request.
177
+ * @param data.requestBody
178
+ * @returns unknown Success
179
+ * @throws ApiError
180
+ */
181
+ public postApiAccountSendPasswordResetCode(data: PostApiAccountSendPasswordResetCodeData = {}): CancelablePromise<PostApiAccountSendPasswordResetCodeResponse> {
182
+ return this.httpRequest.request({
183
+ method: 'POST',
184
+ url: '/api/account/send-password-reset-code',
185
+ body: data.requestBody,
186
+ mediaType: 'application/json',
187
+ errors: {
188
+ 400: 'Bad Request',
189
+ 401: 'Unauthorized',
190
+ 403: 'Forbidden',
191
+ 404: 'Not Found',
192
+ 500: 'Server Error',
193
+ 501: 'Server Error'
194
+ }
195
+ });
196
+ }
197
+
198
+ /**
199
+ * @param data The data for the request.
200
+ * @param data.requestBody
201
+ * @returns boolean Success
202
+ * @throws ApiError
203
+ */
204
+ public postApiAccountVerifyPasswordResetToken(data: PostApiAccountVerifyPasswordResetTokenData = {}): CancelablePromise<PostApiAccountVerifyPasswordResetTokenResponse> {
205
+ return this.httpRequest.request({
206
+ method: 'POST',
207
+ url: '/api/account/verify-password-reset-token',
208
+ body: data.requestBody,
209
+ mediaType: 'application/json',
210
+ errors: {
211
+ 400: 'Bad Request',
212
+ 401: 'Unauthorized',
213
+ 403: 'Forbidden',
214
+ 404: 'Not Found',
215
+ 500: 'Server Error',
216
+ 501: 'Server Error'
217
+ }
218
+ });
219
+ }
220
+
221
+ /**
222
+ * @param data The data for the request.
223
+ * @param data.requestBody
224
+ * @returns unknown Success
225
+ * @throws ApiError
226
+ */
227
+ public postApiAccountResetPassword(data: PostApiAccountResetPasswordData = {}): CancelablePromise<PostApiAccountResetPasswordResponse> {
228
+ return this.httpRequest.request({
229
+ method: 'POST',
230
+ url: '/api/account/reset-password',
231
+ body: data.requestBody,
232
+ mediaType: 'application/json',
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.id
247
+ * @returns Volo_Abp_Account_IdentityUserConfirmationStateDto Success
248
+ * @throws ApiError
249
+ */
250
+ public getApiAccountConfirmationState(data: GetApiAccountConfirmationStateData = {}): CancelablePromise<GetApiAccountConfirmationStateResponse> {
251
+ return this.httpRequest.request({
252
+ method: 'GET',
253
+ url: '/api/account/confirmation-state',
254
+ query: {
255
+ id: data.id
256
+ },
257
+ errors: {
258
+ 400: 'Bad Request',
259
+ 401: 'Unauthorized',
260
+ 403: 'Forbidden',
261
+ 404: 'Not Found',
262
+ 500: 'Server Error',
263
+ 501: 'Server Error'
264
+ }
265
+ });
266
+ }
267
+
268
+ /**
269
+ * @param data The data for the request.
270
+ * @param data.requestBody
271
+ * @returns unknown Success
272
+ * @throws ApiError
273
+ */
274
+ public postApiAccountSendPhoneNumberConfirmationToken(data: PostApiAccountSendPhoneNumberConfirmationTokenData = {}): CancelablePromise<PostApiAccountSendPhoneNumberConfirmationTokenResponse> {
275
+ return this.httpRequest.request({
276
+ method: 'POST',
277
+ url: '/api/account/send-phone-number-confirmation-token',
278
+ body: data.requestBody,
279
+ mediaType: 'application/json',
280
+ errors: {
281
+ 400: 'Bad Request',
282
+ 401: 'Unauthorized',
283
+ 403: 'Forbidden',
284
+ 404: 'Not Found',
285
+ 500: 'Server Error',
286
+ 501: 'Server Error'
287
+ }
288
+ });
289
+ }
290
+
291
+ /**
292
+ * @param data The data for the request.
293
+ * @param data.requestBody
294
+ * @returns unknown Success
295
+ * @throws ApiError
296
+ */
297
+ public postApiAccountSendEmailConfirmationToken(data: PostApiAccountSendEmailConfirmationTokenData = {}): CancelablePromise<PostApiAccountSendEmailConfirmationTokenResponse> {
298
+ return this.httpRequest.request({
299
+ method: 'POST',
300
+ url: '/api/account/send-email-confirmation-token',
301
+ body: data.requestBody,
302
+ mediaType: 'application/json',
303
+ errors: {
304
+ 400: 'Bad Request',
305
+ 401: 'Unauthorized',
306
+ 403: 'Forbidden',
307
+ 404: 'Not Found',
308
+ 500: 'Server Error',
309
+ 501: 'Server Error'
310
+ }
311
+ });
312
+ }
313
+
314
+ /**
315
+ * @param data The data for the request.
316
+ * @param data.requestBody
317
+ * @returns boolean Success
318
+ * @throws ApiError
319
+ */
320
+ public postApiAccountVerifyEmailConfirmationToken(data: PostApiAccountVerifyEmailConfirmationTokenData = {}): CancelablePromise<PostApiAccountVerifyEmailConfirmationTokenResponse> {
321
+ return this.httpRequest.request({
322
+ method: 'POST',
323
+ url: '/api/account/verify-email-confirmation-token',
324
+ body: data.requestBody,
325
+ mediaType: 'application/json',
326
+ errors: {
327
+ 400: 'Bad Request',
328
+ 401: 'Unauthorized',
329
+ 403: 'Forbidden',
330
+ 404: 'Not Found',
331
+ 500: 'Server Error',
332
+ 501: 'Server Error'
333
+ }
334
+ });
335
+ }
336
+
337
+ /**
338
+ * @param data The data for the request.
339
+ * @param data.requestBody
340
+ * @returns unknown Success
341
+ * @throws ApiError
342
+ */
343
+ public postApiAccountConfirmPhoneNumber(data: PostApiAccountConfirmPhoneNumberData = {}): CancelablePromise<PostApiAccountConfirmPhoneNumberResponse> {
344
+ return this.httpRequest.request({
345
+ method: 'POST',
346
+ url: '/api/account/confirm-phone-number',
347
+ body: data.requestBody,
348
+ mediaType: 'application/json',
349
+ errors: {
350
+ 400: 'Bad Request',
351
+ 401: 'Unauthorized',
352
+ 403: 'Forbidden',
353
+ 404: 'Not Found',
354
+ 500: 'Server Error',
355
+ 501: 'Server Error'
356
+ }
357
+ });
358
+ }
359
+
360
+ /**
361
+ * @param data The data for the request.
362
+ * @param data.requestBody
363
+ * @returns unknown Success
364
+ * @throws ApiError
365
+ */
366
+ public postApiAccountConfirmEmail(data: PostApiAccountConfirmEmailData = {}): CancelablePromise<PostApiAccountConfirmEmailResponse> {
367
+ return this.httpRequest.request({
368
+ method: 'POST',
369
+ url: '/api/account/confirm-email',
370
+ body: data.requestBody,
371
+ mediaType: 'application/json',
372
+ errors: {
373
+ 400: 'Bad Request',
374
+ 401: 'Unauthorized',
375
+ 403: 'Forbidden',
376
+ 404: 'Not Found',
377
+ 500: 'Server Error',
378
+ 501: 'Server Error'
379
+ }
380
+ });
381
+ }
382
+
383
+ /**
384
+ * @param data The data for the request.
385
+ * @param data.type
386
+ * @param data.formData
387
+ * @returns unknown Success
388
+ * @throws ApiError
389
+ */
390
+ public postApiAccountProfilePicture(data: PostApiAccountProfilePictureData = {}): CancelablePromise<PostApiAccountProfilePictureResponse> {
391
+ return this.httpRequest.request({
392
+ method: 'POST',
393
+ url: '/api/account/profile-picture',
394
+ query: {
395
+ Type: data.type
396
+ },
397
+ formData: data.formData,
398
+ mediaType: 'multipart/form-data',
399
+ errors: {
400
+ 400: 'Bad Request',
401
+ 401: 'Unauthorized',
402
+ 403: 'Forbidden',
403
+ 404: 'Not Found',
404
+ 500: 'Server Error',
405
+ 501: 'Server Error'
406
+ }
407
+ });
408
+ }
409
+
410
+ /**
411
+ * @param data The data for the request.
412
+ * @param data.id
413
+ * @returns Volo_Abp_Account_ProfilePictureSourceDto Success
414
+ * @throws ApiError
415
+ */
416
+ public getApiAccountProfilePictureById(data: GetApiAccountProfilePictureByIdData): CancelablePromise<GetApiAccountProfilePictureByIdResponse> {
417
+ return this.httpRequest.request({
418
+ method: 'GET',
419
+ url: '/api/account/profile-picture/{id}',
420
+ path: {
421
+ id: data.id
422
+ },
423
+ errors: {
424
+ 400: 'Bad Request',
425
+ 401: 'Unauthorized',
426
+ 403: 'Forbidden',
427
+ 404: 'Not Found',
428
+ 500: 'Server Error',
429
+ 501: 'Server Error'
430
+ }
431
+ });
432
+ }
433
+
434
+ /**
435
+ * @param data The data for the request.
436
+ * @param data.userId
437
+ * @param data.token
438
+ * @returns string Success
439
+ * @throws ApiError
440
+ */
441
+ public getApiAccountTwoFactorProviders(data: GetApiAccountTwoFactorProvidersData): CancelablePromise<GetApiAccountTwoFactorProvidersResponse> {
442
+ return this.httpRequest.request({
443
+ method: 'GET',
444
+ url: '/api/account/two-factor-providers',
445
+ query: {
446
+ UserId: data.userId,
447
+ Token: data.token
448
+ },
449
+ errors: {
450
+ 400: 'Bad Request',
451
+ 401: 'Unauthorized',
452
+ 403: 'Forbidden',
453
+ 404: 'Not Found',
454
+ 500: 'Server Error',
455
+ 501: 'Server Error'
456
+ }
457
+ });
458
+ }
459
+
460
+ /**
461
+ * @param data The data for the request.
462
+ * @param data.requestBody
463
+ * @returns unknown Success
464
+ * @throws ApiError
465
+ */
466
+ public postApiAccountSendTwoFactorCode(data: PostApiAccountSendTwoFactorCodeData = {}): CancelablePromise<PostApiAccountSendTwoFactorCodeResponse> {
467
+ return this.httpRequest.request({
468
+ method: 'POST',
469
+ url: '/api/account/send-two-factor-code',
470
+ body: data.requestBody,
471
+ mediaType: 'application/json',
472
+ errors: {
473
+ 400: 'Bad Request',
474
+ 401: 'Unauthorized',
475
+ 403: 'Forbidden',
476
+ 404: 'Not Found',
477
+ 500: 'Server Error',
478
+ 501: 'Server Error'
479
+ }
480
+ });
481
+ }
482
+
483
+ /**
484
+ * @param data The data for the request.
485
+ * @param data.startTime
486
+ * @param data.endTime
487
+ * @param data.applicationName
488
+ * @param data.identity
489
+ * @param data.action
490
+ * @param data.userName
491
+ * @param data.clientId
492
+ * @param data.correlationId
493
+ * @param data.sorting
494
+ * @param data.skipCount
495
+ * @param data.maxResultCount
496
+ * @param data.extraProperties
497
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<Volo_Abp_Identity_IdentitySecurityLogDto__Volo_Abp_Identity_Pro_Application_Contracts__Version_8_2_0_0__Culture_neutral__PublicKeyToken_null_> Success
498
+ * @throws ApiError
499
+ */
500
+ public getApiAccountSecurityLogs(data: GetApiAccountSecurityLogsData = {}): CancelablePromise<GetApiAccountSecurityLogsResponse> {
501
+ return this.httpRequest.request({
502
+ method: 'GET',
503
+ url: '/api/account/security-logs',
504
+ query: {
505
+ StartTime: data.startTime,
506
+ EndTime: data.endTime,
507
+ ApplicationName: data.applicationName,
508
+ Identity: data.identity,
509
+ Action: data.action,
510
+ UserName: data.userName,
511
+ ClientId: data.clientId,
512
+ CorrelationId: data.correlationId,
513
+ Sorting: data.sorting,
514
+ SkipCount: data.skipCount,
515
+ MaxResultCount: data.maxResultCount,
516
+ ExtraProperties: data.extraProperties
517
+ },
518
+ errors: {
519
+ 400: 'Bad Request',
520
+ 401: 'Unauthorized',
521
+ 403: 'Forbidden',
522
+ 404: 'Not Found',
523
+ 500: 'Server Error',
524
+ 501: 'Server Error'
525
+ }
526
+ });
527
+ }
528
+
529
+ /**
530
+ * @param data The data for the request.
531
+ * @param data.requestBody
532
+ * @returns Volo_Abp_Account_VerifyAuthenticatorCodeDto Success
533
+ * @throws ApiError
534
+ */
535
+ public postApiAccountVerifyAuthenticatorCode(data: PostApiAccountVerifyAuthenticatorCodeData = {}): CancelablePromise<PostApiAccountVerifyAuthenticatorCodeResponse> {
536
+ return this.httpRequest.request({
537
+ method: 'POST',
538
+ url: '/api/account/verify-authenticator-code',
539
+ body: data.requestBody,
540
+ mediaType: 'application/json',
541
+ errors: {
542
+ 400: 'Bad Request',
543
+ 401: 'Unauthorized',
544
+ 403: 'Forbidden',
545
+ 404: 'Not Found',
546
+ 500: 'Server Error',
547
+ 501: 'Server Error'
548
+ }
549
+ });
550
+ }
551
+
552
+ /**
553
+ * @returns unknown Success
554
+ * @throws ApiError
555
+ */
556
+ public postApiAccountResetAuthenticator(): CancelablePromise<PostApiAccountResetAuthenticatorResponse> {
557
+ return this.httpRequest.request({
558
+ method: 'POST',
559
+ url: '/api/account/reset-authenticator',
560
+ errors: {
561
+ 400: 'Bad Request',
562
+ 401: 'Unauthorized',
563
+ 403: 'Forbidden',
564
+ 404: 'Not Found',
565
+ 500: 'Server Error',
566
+ 501: 'Server Error'
567
+ }
568
+ });
569
+ }
570
+
571
+ /**
572
+ * @returns boolean Success
573
+ * @throws ApiError
574
+ */
575
+ public getApiAccountHasAuthenticatorKey(): CancelablePromise<GetApiAccountHasAuthenticatorKeyResponse> {
576
+ return this.httpRequest.request({
577
+ method: 'GET',
578
+ url: '/api/account/has-authenticator-key',
579
+ errors: {
580
+ 400: 'Bad Request',
581
+ 401: 'Unauthorized',
582
+ 403: 'Forbidden',
583
+ 404: 'Not Found',
584
+ 500: 'Server Error',
585
+ 501: 'Server Error'
586
+ }
587
+ });
588
+ }
589
+
590
+ /**
591
+ * @returns Volo_Abp_Account_AuthenticatorInfoDto Success
592
+ * @throws ApiError
593
+ */
594
+ public getApiAccountAuthenticatorInfo(): CancelablePromise<GetApiAccountAuthenticatorInfoResponse> {
595
+ return this.httpRequest.request({
596
+ method: 'GET',
597
+ url: '/api/account/authenticator-info',
598
+ errors: {
599
+ 400: 'Bad Request',
600
+ 401: 'Unauthorized',
601
+ 403: 'Forbidden',
602
+ 404: 'Not Found',
603
+ 500: 'Server Error',
604
+ 501: 'Server Error'
605
+ }
606
+ });
607
+ }
608
+
609
+ /**
610
+ * @param data The data for the request.
611
+ * @param data.id
612
+ * @returns binary Success
613
+ * @throws ApiError
614
+ */
615
+ public getApiAccountProfilePictureFileById(data: GetApiAccountProfilePictureFileByIdData): CancelablePromise<GetApiAccountProfilePictureFileByIdResponse> {
616
+ return this.httpRequest.request({
617
+ method: 'GET',
618
+ url: '/api/account/profile-picture-file/{id}',
619
+ path: {
620
+ id: data.id
621
+ },
622
+ errors: {
623
+ 400: 'Bad Request',
624
+ 401: 'Unauthorized',
625
+ 403: 'Forbidden',
626
+ 404: 'Not Found',
627
+ 500: 'Server Error',
628
+ 501: 'Server Error'
629
+ }
630
+ });
631
+ }
632
+
633
+ /**
634
+ * @param data The data for the request.
635
+ * @param data.captchaResponse
636
+ * @returns unknown Success
637
+ * @throws ApiError
638
+ */
639
+ public getApiAccountRecaptchaValidate(data: GetApiAccountRecaptchaValidateData = {}): CancelablePromise<GetApiAccountRecaptchaValidateResponse> {
640
+ return this.httpRequest.request({
641
+ method: 'GET',
642
+ url: '/api/account/recaptcha-validate',
643
+ query: {
644
+ captchaResponse: data.captchaResponse
645
+ },
646
+ errors: {
647
+ 400: 'Bad Request',
648
+ 401: 'Unauthorized',
649
+ 403: 'Forbidden',
650
+ 404: 'Not Found',
651
+ 500: 'Server Error',
652
+ 501: 'Server Error'
653
+ }
654
+ });
655
+ }
656
+
657
+ }
658
+
659
+ export class AccountExternalProviderService {
660
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
661
+
662
+ /**
663
+ * @returns Volo_Abp_Account_ExternalProviders_ExternalProviderDto Success
664
+ * @throws ApiError
665
+ */
666
+ public getApiAccountExternalProvider(): CancelablePromise<GetApiAccountExternalProviderResponse> {
667
+ return this.httpRequest.request({
668
+ method: 'GET',
669
+ url: '/api/account/external-provider',
670
+ errors: {
671
+ 400: 'Bad Request',
672
+ 401: 'Unauthorized',
673
+ 403: 'Forbidden',
674
+ 404: 'Not Found',
675
+ 500: 'Server Error',
676
+ 501: 'Server Error'
677
+ }
678
+ });
679
+ }
680
+
681
+ /**
682
+ * @param data The data for the request.
683
+ * @param data.tenantId
684
+ * @param data.name
685
+ * @returns Volo_Abp_Account_ExternalProviders_ExternalProviderItemWithSecretDto Success
686
+ * @throws ApiError
687
+ */
688
+ public getApiAccountExternalProviderByName(data: GetApiAccountExternalProviderByNameData = {}): CancelablePromise<GetApiAccountExternalProviderByNameResponse> {
689
+ return this.httpRequest.request({
690
+ method: 'GET',
691
+ url: '/api/account/external-provider/by-name',
692
+ query: {
693
+ TenantId: data.tenantId,
694
+ Name: data.name
695
+ },
696
+ errors: {
697
+ 400: 'Bad Request',
698
+ 401: 'Unauthorized',
699
+ 403: 'Forbidden',
700
+ 404: 'Not Found',
701
+ 500: 'Server Error',
702
+ 501: 'Server Error'
703
+ }
704
+ });
705
+ }
706
+
707
+ }
708
+
709
+ export class AccountSettingsService {
710
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
711
+
712
+ /**
713
+ * @returns Volo_Abp_Account_AccountSettingsDto Success
714
+ * @throws ApiError
715
+ */
716
+ public getApiAccountAdminSettings(): CancelablePromise<GetApiAccountAdminSettingsResponse> {
717
+ return this.httpRequest.request({
718
+ method: 'GET',
719
+ url: '/api/account-admin/settings',
720
+ errors: {
721
+ 400: 'Bad Request',
722
+ 401: 'Unauthorized',
723
+ 403: 'Forbidden',
724
+ 404: 'Not Found',
725
+ 500: 'Server Error',
726
+ 501: 'Server Error'
727
+ }
728
+ });
729
+ }
730
+
731
+ /**
732
+ * @param data The data for the request.
733
+ * @param data.requestBody
734
+ * @returns unknown Success
735
+ * @throws ApiError
736
+ */
737
+ public putApiAccountAdminSettings(data: PutApiAccountAdminSettingsData = {}): CancelablePromise<PutApiAccountAdminSettingsResponse> {
738
+ return this.httpRequest.request({
739
+ method: 'PUT',
740
+ url: '/api/account-admin/settings',
741
+ body: data.requestBody,
742
+ mediaType: 'application/json',
743
+ errors: {
744
+ 400: 'Bad Request',
745
+ 401: 'Unauthorized',
746
+ 403: 'Forbidden',
747
+ 404: 'Not Found',
748
+ 500: 'Server Error',
749
+ 501: 'Server Error'
750
+ }
751
+ });
752
+ }
753
+
754
+ /**
755
+ * @returns Volo_Abp_Account_AccountTwoFactorSettingsDto Success
756
+ * @throws ApiError
757
+ */
758
+ public getApiAccountAdminSettingsTwoFactor(): CancelablePromise<GetApiAccountAdminSettingsTwoFactorResponse> {
759
+ return this.httpRequest.request({
760
+ method: 'GET',
761
+ url: '/api/account-admin/settings/two-factor',
762
+ errors: {
763
+ 400: 'Bad Request',
764
+ 401: 'Unauthorized',
765
+ 403: 'Forbidden',
766
+ 404: 'Not Found',
767
+ 500: 'Server Error',
768
+ 501: 'Server Error'
769
+ }
770
+ });
771
+ }
772
+
773
+ /**
774
+ * @param data The data for the request.
775
+ * @param data.requestBody
776
+ * @returns unknown Success
777
+ * @throws ApiError
778
+ */
779
+ public putApiAccountAdminSettingsTwoFactor(data: PutApiAccountAdminSettingsTwoFactorData = {}): CancelablePromise<PutApiAccountAdminSettingsTwoFactorResponse> {
780
+ return this.httpRequest.request({
781
+ method: 'PUT',
782
+ url: '/api/account-admin/settings/two-factor',
783
+ body: data.requestBody,
784
+ mediaType: 'application/json',
785
+ errors: {
786
+ 400: 'Bad Request',
787
+ 401: 'Unauthorized',
788
+ 403: 'Forbidden',
789
+ 404: 'Not Found',
790
+ 500: 'Server Error',
791
+ 501: 'Server Error'
792
+ }
793
+ });
794
+ }
795
+
796
+ /**
797
+ * @returns Volo_Abp_Account_AccountRecaptchaSettingsDto Success
798
+ * @throws ApiError
799
+ */
800
+ public getApiAccountAdminSettingsRecaptcha(): CancelablePromise<GetApiAccountAdminSettingsRecaptchaResponse> {
801
+ return this.httpRequest.request({
802
+ method: 'GET',
803
+ url: '/api/account-admin/settings/recaptcha',
804
+ errors: {
805
+ 400: 'Bad Request',
806
+ 401: 'Unauthorized',
807
+ 403: 'Forbidden',
808
+ 404: 'Not Found',
809
+ 500: 'Server Error',
810
+ 501: 'Server Error'
811
+ }
812
+ });
813
+ }
814
+
815
+ /**
816
+ * @param data The data for the request.
817
+ * @param data.requestBody
818
+ * @returns unknown Success
819
+ * @throws ApiError
820
+ */
821
+ public putApiAccountAdminSettingsRecaptcha(data: PutApiAccountAdminSettingsRecaptchaData = {}): CancelablePromise<PutApiAccountAdminSettingsRecaptchaResponse> {
822
+ return this.httpRequest.request({
823
+ method: 'PUT',
824
+ url: '/api/account-admin/settings/recaptcha',
825
+ body: data.requestBody,
826
+ mediaType: 'application/json',
827
+ errors: {
828
+ 400: 'Bad Request',
829
+ 401: 'Unauthorized',
830
+ 403: 'Forbidden',
831
+ 404: 'Not Found',
832
+ 500: 'Server Error',
833
+ 501: 'Server Error'
834
+ }
835
+ });
836
+ }
837
+
838
+ /**
839
+ * @returns Volo_Abp_Account_AccountExternalProviderSettingsDto Success
840
+ * @throws ApiError
841
+ */
842
+ public getApiAccountAdminSettingsExternalProvider(): CancelablePromise<GetApiAccountAdminSettingsExternalProviderResponse> {
843
+ return this.httpRequest.request({
844
+ method: 'GET',
845
+ url: '/api/account-admin/settings/external-provider',
846
+ errors: {
847
+ 400: 'Bad Request',
848
+ 401: 'Unauthorized',
849
+ 403: 'Forbidden',
850
+ 404: 'Not Found',
851
+ 500: 'Server Error',
852
+ 501: 'Server Error'
853
+ }
854
+ });
855
+ }
856
+
857
+ /**
858
+ * @param data The data for the request.
859
+ * @param data.requestBody
860
+ * @returns unknown Success
861
+ * @throws ApiError
862
+ */
863
+ public putApiAccountAdminSettingsExternalProvider(data: PutApiAccountAdminSettingsExternalProviderData = {}): CancelablePromise<PutApiAccountAdminSettingsExternalProviderResponse> {
864
+ return this.httpRequest.request({
865
+ method: 'PUT',
866
+ url: '/api/account-admin/settings/external-provider',
867
+ body: data.requestBody,
868
+ mediaType: 'application/json',
869
+ errors: {
870
+ 400: 'Bad Request',
871
+ 401: 'Unauthorized',
872
+ 403: 'Forbidden',
873
+ 404: 'Not Found',
874
+ 500: 'Server Error',
875
+ 501: 'Server Error'
876
+ }
877
+ });
878
+ }
879
+
880
+ }
881
+
882
+ export class DynamicClaimsService {
883
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
884
+
885
+ /**
886
+ * @returns unknown Success
887
+ * @throws ApiError
888
+ */
889
+ public postApiAccountDynamicClaimsRefresh(): CancelablePromise<PostApiAccountDynamicClaimsRefreshResponse> {
890
+ return this.httpRequest.request({
891
+ method: 'POST',
892
+ url: '/api/account/dynamic-claims/refresh',
893
+ errors: {
894
+ 400: 'Bad Request',
895
+ 401: 'Unauthorized',
896
+ 403: 'Forbidden',
897
+ 404: 'Not Found',
898
+ 500: 'Server Error',
899
+ 501: 'Server Error'
900
+ }
901
+ });
902
+ }
903
+
904
+ }
905
+
906
+ export class LoginService {
907
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
908
+
909
+ /**
910
+ * @param data The data for the request.
911
+ * @param data.requestBody
912
+ * @returns Volo_Abp_Account_Public_Web_Areas_Account_Controllers_Models_AbpLoginResult Success
913
+ * @throws ApiError
914
+ */
915
+ public postApiAccountLogin(data: PostApiAccountLoginData = {}): CancelablePromise<PostApiAccountLoginResponse> {
916
+ return this.httpRequest.request({
917
+ method: 'POST',
918
+ url: '/api/account/login',
919
+ body: data.requestBody,
920
+ mediaType: 'application/json',
921
+ errors: {
922
+ 400: 'Bad Request',
923
+ 401: 'Unauthorized',
924
+ 403: 'Forbidden',
925
+ 404: 'Not Found',
926
+ 500: 'Server Error',
927
+ 501: 'Server Error'
928
+ }
929
+ });
930
+ }
931
+
932
+ /**
933
+ * @param data The data for the request.
934
+ * @param data.requestBody
935
+ * @returns Volo_Abp_Account_Public_Web_Areas_Account_Controllers_Models_AbpLoginResult Success
936
+ * @throws ApiError
937
+ */
938
+ public postApiAccountLinkLogin(data: PostApiAccountLinkLoginData = {}): CancelablePromise<PostApiAccountLinkLoginResponse> {
939
+ return this.httpRequest.request({
940
+ method: 'POST',
941
+ url: '/api/account/linkLogin',
942
+ body: data.requestBody,
943
+ mediaType: 'application/json',
944
+ errors: {
945
+ 400: 'Bad Request',
946
+ 401: 'Unauthorized',
947
+ 403: 'Forbidden',
948
+ 404: 'Not Found',
949
+ 500: 'Server Error',
950
+ 501: 'Server Error'
951
+ }
952
+ });
953
+ }
954
+
955
+ /**
956
+ * @returns unknown Success
957
+ * @throws ApiError
958
+ */
959
+ public getApiAccountLogout(): CancelablePromise<GetApiAccountLogoutResponse> {
960
+ return this.httpRequest.request({
961
+ method: 'GET',
962
+ url: '/api/account/logout',
963
+ errors: {
964
+ 400: 'Bad Request',
965
+ 401: 'Unauthorized',
966
+ 403: 'Forbidden',
967
+ 404: 'Not Found',
968
+ 500: 'Server Error',
969
+ 501: 'Server Error'
970
+ }
971
+ });
972
+ }
973
+
974
+ /**
975
+ * @param data The data for the request.
976
+ * @param data.requestBody
977
+ * @returns Volo_Abp_Account_Public_Web_Areas_Account_Controllers_Models_AbpLoginResult Success
978
+ * @throws ApiError
979
+ */
980
+ public postApiAccountCheckPassword(data: PostApiAccountCheckPasswordData = {}): CancelablePromise<PostApiAccountCheckPasswordResponse> {
981
+ return this.httpRequest.request({
982
+ method: 'POST',
983
+ url: '/api/account/checkPassword',
984
+ body: data.requestBody,
985
+ mediaType: 'application/json',
986
+ errors: {
987
+ 400: 'Bad Request',
988
+ 401: 'Unauthorized',
989
+ 403: 'Forbidden',
990
+ 404: 'Not Found',
991
+ 500: 'Server Error',
992
+ 501: 'Server Error'
993
+ }
994
+ });
995
+ }
996
+
997
+ }
998
+
999
+ export class ProfileService {
1000
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
1001
+
1002
+ /**
1003
+ * @returns Volo_Abp_Account_ProfileDto Success
1004
+ * @throws ApiError
1005
+ */
1006
+ public getApiAccountMyProfile(): CancelablePromise<GetApiAccountMyProfileResponse> {
1007
+ return this.httpRequest.request({
1008
+ method: 'GET',
1009
+ url: '/api/account/my-profile',
1010
+ errors: {
1011
+ 400: 'Bad Request',
1012
+ 401: 'Unauthorized',
1013
+ 403: 'Forbidden',
1014
+ 404: 'Not Found',
1015
+ 500: 'Server Error',
1016
+ 501: 'Server Error'
1017
+ }
1018
+ });
1019
+ }
1020
+
1021
+ /**
1022
+ * @param data The data for the request.
1023
+ * @param data.requestBody
1024
+ * @returns Volo_Abp_Account_ProfileDto Success
1025
+ * @throws ApiError
1026
+ */
1027
+ public putApiAccountMyProfile(data: PutApiAccountMyProfileData = {}): CancelablePromise<PutApiAccountMyProfileResponse> {
1028
+ return this.httpRequest.request({
1029
+ method: 'PUT',
1030
+ url: '/api/account/my-profile',
1031
+ body: data.requestBody,
1032
+ mediaType: 'application/json',
1033
+ errors: {
1034
+ 400: 'Bad Request',
1035
+ 401: 'Unauthorized',
1036
+ 403: 'Forbidden',
1037
+ 404: 'Not Found',
1038
+ 500: 'Server Error',
1039
+ 501: 'Server Error'
1040
+ }
1041
+ });
1042
+ }
1043
+
1044
+ /**
1045
+ * @param data The data for the request.
1046
+ * @param data.requestBody
1047
+ * @returns unknown Success
1048
+ * @throws ApiError
1049
+ */
1050
+ public postApiAccountMyProfileChangePassword(data: PostApiAccountMyProfileChangePasswordData = {}): CancelablePromise<PostApiAccountMyProfileChangePasswordResponse> {
1051
+ return this.httpRequest.request({
1052
+ method: 'POST',
1053
+ url: '/api/account/my-profile/change-password',
1054
+ body: data.requestBody,
1055
+ mediaType: 'application/json',
1056
+ errors: {
1057
+ 400: 'Bad Request',
1058
+ 401: 'Unauthorized',
1059
+ 403: 'Forbidden',
1060
+ 404: 'Not Found',
1061
+ 500: 'Server Error',
1062
+ 501: 'Server Error'
1063
+ }
1064
+ });
1065
+ }
1066
+
1067
+ /**
1068
+ * @returns boolean Success
1069
+ * @throws ApiError
1070
+ */
1071
+ public getApiAccountMyProfileTwoFactorEnabled(): CancelablePromise<GetApiAccountMyProfileTwoFactorEnabledResponse> {
1072
+ return this.httpRequest.request({
1073
+ method: 'GET',
1074
+ url: '/api/account/my-profile/two-factor-enabled',
1075
+ errors: {
1076
+ 400: 'Bad Request',
1077
+ 401: 'Unauthorized',
1078
+ 403: 'Forbidden',
1079
+ 404: 'Not Found',
1080
+ 500: 'Server Error',
1081
+ 501: 'Server Error'
1082
+ }
1083
+ });
1084
+ }
1085
+
1086
+ /**
1087
+ * @param data The data for the request.
1088
+ * @param data.enabled
1089
+ * @returns unknown Success
1090
+ * @throws ApiError
1091
+ */
1092
+ public postApiAccountMyProfileSetTwoFactorEnabled(data: PostApiAccountMyProfileSetTwoFactorEnabledData = {}): CancelablePromise<PostApiAccountMyProfileSetTwoFactorEnabledResponse> {
1093
+ return this.httpRequest.request({
1094
+ method: 'POST',
1095
+ url: '/api/account/my-profile/set-two-factor-enabled',
1096
+ query: {
1097
+ enabled: data.enabled
1098
+ },
1099
+ errors: {
1100
+ 400: 'Bad Request',
1101
+ 401: 'Unauthorized',
1102
+ 403: 'Forbidden',
1103
+ 404: 'Not Found',
1104
+ 500: 'Server Error',
1105
+ 501: 'Server Error'
1106
+ }
1107
+ });
1108
+ }
1109
+
1110
+ /**
1111
+ * @returns boolean Success
1112
+ * @throws ApiError
1113
+ */
1114
+ public getApiAccountMyProfileCanEnableTwoFactor(): CancelablePromise<GetApiAccountMyProfileCanEnableTwoFactorResponse> {
1115
+ return this.httpRequest.request({
1116
+ method: 'GET',
1117
+ url: '/api/account/my-profile/can-enable-two-factor',
1118
+ errors: {
1119
+ 400: 'Bad Request',
1120
+ 401: 'Unauthorized',
1121
+ 403: 'Forbidden',
1122
+ 404: 'Not Found',
1123
+ 500: 'Server Error',
1124
+ 501: 'Server Error'
1125
+ }
1126
+ });
1127
+ }
1128
+
1129
+ /**
1130
+ * @returns Volo_Abp_NameValue Success
1131
+ * @throws ApiError
1132
+ */
1133
+ public getApiAccountMyProfileTimezones(): CancelablePromise<GetApiAccountMyProfileTimezonesResponse> {
1134
+ return this.httpRequest.request({
1135
+ method: 'GET',
1136
+ url: '/api/account/my-profile/timezones',
1137
+ errors: {
1138
+ 400: 'Bad Request',
1139
+ 401: 'Unauthorized',
1140
+ 403: 'Forbidden',
1141
+ 404: 'Not Found',
1142
+ 500: 'Server Error',
1143
+ 501: 'Server Error'
1144
+ }
1145
+ });
1146
+ }
1147
+
1148
+ }
1149
+
1150
+ export class SessionsService {
1151
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
1152
+
1153
+ /**
1154
+ * @param data The data for the request.
1155
+ * @param data.device
1156
+ * @param data.clientId
1157
+ * @param data.sorting
1158
+ * @param data.skipCount
1159
+ * @param data.maxResultCount
1160
+ * @param data.extraProperties
1161
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<Volo_Abp_Identity_IdentitySessionDto__Volo_Abp_Identity_Pro_Application_Contracts__Version_8_2_0_0__Culture_neutral__PublicKeyToken_null_> Success
1162
+ * @throws ApiError
1163
+ */
1164
+ public getApiAccountSessions(data: GetApiAccountSessionsData = {}): CancelablePromise<GetApiAccountSessionsResponse> {
1165
+ return this.httpRequest.request({
1166
+ method: 'GET',
1167
+ url: '/api/account/sessions',
1168
+ query: {
1169
+ Device: data.device,
1170
+ ClientId: data.clientId,
1171
+ Sorting: data.sorting,
1172
+ SkipCount: data.skipCount,
1173
+ MaxResultCount: data.maxResultCount,
1174
+ ExtraProperties: data.extraProperties
1175
+ },
1176
+ errors: {
1177
+ 400: 'Bad Request',
1178
+ 401: 'Unauthorized',
1179
+ 403: 'Forbidden',
1180
+ 404: 'Not Found',
1181
+ 500: 'Server Error',
1182
+ 501: 'Server Error'
1183
+ }
1184
+ });
1185
+ }
1186
+
1187
+ /**
1188
+ * @param data The data for the request.
1189
+ * @param data.id
1190
+ * @returns Volo_Abp_Identity_IdentitySessionDto Success
1191
+ * @throws ApiError
1192
+ */
1193
+ public getApiAccountSessionsById(data: GetApiAccountSessionsByIdData): CancelablePromise<GetApiAccountSessionsByIdResponse> {
1194
+ return this.httpRequest.request({
1195
+ method: 'GET',
1196
+ url: '/api/account/sessions/{id}',
1197
+ path: {
1198
+ id: data.id
1199
+ },
1200
+ errors: {
1201
+ 400: 'Bad Request',
1202
+ 401: 'Unauthorized',
1203
+ 403: 'Forbidden',
1204
+ 404: 'Not Found',
1205
+ 500: 'Server Error',
1206
+ 501: 'Server Error'
1207
+ }
1208
+ });
1209
+ }
1210
+
1211
+ /**
1212
+ * @param data The data for the request.
1213
+ * @param data.id
1214
+ * @returns unknown Success
1215
+ * @throws ApiError
1216
+ */
1217
+ public deleteApiAccountSessionsById(data: DeleteApiAccountSessionsByIdData): CancelablePromise<DeleteApiAccountSessionsByIdResponse> {
1218
+ return this.httpRequest.request({
1219
+ method: 'DELETE',
1220
+ url: '/api/account/sessions/{id}',
1221
+ path: {
1222
+ id: data.id
1223
+ },
1224
+ errors: {
1225
+ 400: 'Bad Request',
1226
+ 401: 'Unauthorized',
1227
+ 403: 'Forbidden',
1228
+ 404: 'Not Found',
1229
+ 500: 'Server Error',
1230
+ 501: 'Server Error'
1231
+ }
1232
+ });
1233
+ }
1234
+
1235
+ }
1236
+
1237
+ export class UserService {
1238
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
1239
+
1240
+ /**
1241
+ * @param data The data for the request.
1242
+ * @param data.requestBody
1243
+ * @returns unknown Success
1244
+ * @throws ApiError
1245
+ */
1246
+ public postApiAccountLinkUserLink(data: PostApiAccountLinkUserLinkData = {}): CancelablePromise<PostApiAccountLinkUserLinkResponse> {
1247
+ return this.httpRequest.request({
1248
+ method: 'POST',
1249
+ url: '/api/account/link-user/link',
1250
+ body: data.requestBody,
1251
+ mediaType: 'application/json',
1252
+ errors: {
1253
+ 400: 'Bad Request',
1254
+ 401: 'Unauthorized',
1255
+ 403: 'Forbidden',
1256
+ 404: 'Not Found',
1257
+ 500: 'Server Error',
1258
+ 501: 'Server Error'
1259
+ }
1260
+ });
1261
+ }
1262
+
1263
+ /**
1264
+ * @param data The data for the request.
1265
+ * @param data.requestBody
1266
+ * @returns unknown Success
1267
+ * @throws ApiError
1268
+ */
1269
+ public postApiAccountLinkUserUnlink(data: PostApiAccountLinkUserUnlinkData = {}): CancelablePromise<PostApiAccountLinkUserUnlinkResponse> {
1270
+ return this.httpRequest.request({
1271
+ method: 'POST',
1272
+ url: '/api/account/link-user/unlink',
1273
+ body: data.requestBody,
1274
+ mediaType: 'application/json',
1275
+ errors: {
1276
+ 400: 'Bad Request',
1277
+ 401: 'Unauthorized',
1278
+ 403: 'Forbidden',
1279
+ 404: 'Not Found',
1280
+ 500: 'Server Error',
1281
+ 501: 'Server Error'
1282
+ }
1283
+ });
1284
+ }
1285
+
1286
+ /**
1287
+ * @param data The data for the request.
1288
+ * @param data.requestBody
1289
+ * @returns boolean Success
1290
+ * @throws ApiError
1291
+ */
1292
+ public postApiAccountLinkUserIsLinked(data: PostApiAccountLinkUserIsLinkedData = {}): CancelablePromise<PostApiAccountLinkUserIsLinkedResponse> {
1293
+ return this.httpRequest.request({
1294
+ method: 'POST',
1295
+ url: '/api/account/link-user/is-linked',
1296
+ body: data.requestBody,
1297
+ mediaType: 'application/json',
1298
+ errors: {
1299
+ 400: 'Bad Request',
1300
+ 401: 'Unauthorized',
1301
+ 403: 'Forbidden',
1302
+ 404: 'Not Found',
1303
+ 500: 'Server Error',
1304
+ 501: 'Server Error'
1305
+ }
1306
+ });
1307
+ }
1308
+
1309
+ /**
1310
+ * @returns string Success
1311
+ * @throws ApiError
1312
+ */
1313
+ public postApiAccountLinkUserGenerateLinkToken(): CancelablePromise<PostApiAccountLinkUserGenerateLinkTokenResponse> {
1314
+ return this.httpRequest.request({
1315
+ method: 'POST',
1316
+ url: '/api/account/link-user/generate-link-token',
1317
+ errors: {
1318
+ 400: 'Bad Request',
1319
+ 401: 'Unauthorized',
1320
+ 403: 'Forbidden',
1321
+ 404: 'Not Found',
1322
+ 500: 'Server Error',
1323
+ 501: 'Server Error'
1324
+ }
1325
+ });
1326
+ }
1327
+
1328
+ /**
1329
+ * @param data The data for the request.
1330
+ * @param data.requestBody
1331
+ * @returns boolean Success
1332
+ * @throws ApiError
1333
+ */
1334
+ public postApiAccountLinkUserVerifyLinkToken(data: PostApiAccountLinkUserVerifyLinkTokenData = {}): CancelablePromise<PostApiAccountLinkUserVerifyLinkTokenResponse> {
1335
+ return this.httpRequest.request({
1336
+ method: 'POST',
1337
+ url: '/api/account/link-user/verify-link-token',
1338
+ body: data.requestBody,
1339
+ mediaType: 'application/json',
1340
+ errors: {
1341
+ 400: 'Bad Request',
1342
+ 401: 'Unauthorized',
1343
+ 403: 'Forbidden',
1344
+ 404: 'Not Found',
1345
+ 500: 'Server Error',
1346
+ 501: 'Server Error'
1347
+ }
1348
+ });
1349
+ }
1350
+
1351
+ /**
1352
+ * @returns string Success
1353
+ * @throws ApiError
1354
+ */
1355
+ public postApiAccountLinkUserGenerateLinkLoginToken(): CancelablePromise<PostApiAccountLinkUserGenerateLinkLoginTokenResponse> {
1356
+ return this.httpRequest.request({
1357
+ method: 'POST',
1358
+ url: '/api/account/link-user/generate-link-login-token',
1359
+ errors: {
1360
+ 400: 'Bad Request',
1361
+ 401: 'Unauthorized',
1362
+ 403: 'Forbidden',
1363
+ 404: 'Not Found',
1364
+ 500: 'Server Error',
1365
+ 501: 'Server Error'
1366
+ }
1367
+ });
1368
+ }
1369
+
1370
+ /**
1371
+ * @param data The data for the request.
1372
+ * @param data.requestBody
1373
+ * @returns boolean Success
1374
+ * @throws ApiError
1375
+ */
1376
+ public postApiAccountLinkUserVerifyLinkLoginToken(data: PostApiAccountLinkUserVerifyLinkLoginTokenData = {}): CancelablePromise<PostApiAccountLinkUserVerifyLinkLoginTokenResponse> {
1377
+ return this.httpRequest.request({
1378
+ method: 'POST',
1379
+ url: '/api/account/link-user/verify-link-login-token',
1380
+ body: data.requestBody,
1381
+ mediaType: 'application/json',
1382
+ errors: {
1383
+ 400: 'Bad Request',
1384
+ 401: 'Unauthorized',
1385
+ 403: 'Forbidden',
1386
+ 404: 'Not Found',
1387
+ 500: 'Server Error',
1388
+ 501: 'Server Error'
1389
+ }
1390
+ });
1391
+ }
1392
+
1393
+ /**
1394
+ * @returns Volo_Abp_Application_Dtos_ListResultDto_1<Volo_Abp_Account_LinkUserDto__Volo_Abp_Account_Pro_Public_Application_Contracts__Version_8_2_0_0__Culture_neutral__PublicKeyToken_null_> Success
1395
+ * @throws ApiError
1396
+ */
1397
+ public getApiAccountLinkUser(): CancelablePromise<GetApiAccountLinkUserResponse> {
1398
+ return this.httpRequest.request({
1399
+ method: 'GET',
1400
+ url: '/api/account/link-user',
1401
+ errors: {
1402
+ 400: 'Bad Request',
1403
+ 401: 'Unauthorized',
1404
+ 403: 'Forbidden',
1405
+ 404: 'Not Found',
1406
+ 500: 'Server Error',
1407
+ 501: 'Server Error'
1408
+ }
1409
+ });
1410
+ }
1411
+
1412
+ /**
1413
+ * @returns Volo_Abp_Application_Dtos_ListResultDto_1<Volo_Abp_Account_UserDelegationDto__Volo_Abp_Account_Pro_Public_Application_Contracts__Version_8_2_0_0__Culture_neutral__PublicKeyToken_null_> Success
1414
+ * @throws ApiError
1415
+ */
1416
+ public getApiAccountUserDelegationDelegatedUsers(): CancelablePromise<GetApiAccountUserDelegationDelegatedUsersResponse> {
1417
+ return this.httpRequest.request({
1418
+ method: 'GET',
1419
+ url: '/api/account/user-delegation/delegated-users',
1420
+ errors: {
1421
+ 400: 'Bad Request',
1422
+ 401: 'Unauthorized',
1423
+ 403: 'Forbidden',
1424
+ 404: 'Not Found',
1425
+ 500: 'Server Error',
1426
+ 501: 'Server Error'
1427
+ }
1428
+ });
1429
+ }
1430
+
1431
+ /**
1432
+ * @returns Volo_Abp_Application_Dtos_ListResultDto_1<Volo_Abp_Account_UserDelegationDto__Volo_Abp_Account_Pro_Public_Application_Contracts__Version_8_2_0_0__Culture_neutral__PublicKeyToken_null_> Success
1433
+ * @throws ApiError
1434
+ */
1435
+ public getApiAccountUserDelegationMyDelegatedUsers(): CancelablePromise<GetApiAccountUserDelegationMyDelegatedUsersResponse> {
1436
+ return this.httpRequest.request({
1437
+ method: 'GET',
1438
+ url: '/api/account/user-delegation/my-delegated-users',
1439
+ errors: {
1440
+ 400: 'Bad Request',
1441
+ 401: 'Unauthorized',
1442
+ 403: 'Forbidden',
1443
+ 404: 'Not Found',
1444
+ 500: 'Server Error',
1445
+ 501: 'Server Error'
1446
+ }
1447
+ });
1448
+ }
1449
+
1450
+ /**
1451
+ * @returns Volo_Abp_Application_Dtos_ListResultDto_1<Volo_Abp_Account_UserDelegationDto__Volo_Abp_Account_Pro_Public_Application_Contracts__Version_8_2_0_0__Culture_neutral__PublicKeyToken_null_> Success
1452
+ * @throws ApiError
1453
+ */
1454
+ public getApiAccountUserDelegationActiveDelegations(): CancelablePromise<GetApiAccountUserDelegationActiveDelegationsResponse> {
1455
+ return this.httpRequest.request({
1456
+ method: 'GET',
1457
+ url: '/api/account/user-delegation/active-delegations',
1458
+ errors: {
1459
+ 400: 'Bad Request',
1460
+ 401: 'Unauthorized',
1461
+ 403: 'Forbidden',
1462
+ 404: 'Not Found',
1463
+ 500: 'Server Error',
1464
+ 501: 'Server Error'
1465
+ }
1466
+ });
1467
+ }
1468
+
1469
+ /**
1470
+ * @param data The data for the request.
1471
+ * @param data.userName
1472
+ * @returns Volo_Abp_Application_Dtos_ListResultDto_1<Volo_Abp_Account_UserLookupDto__Volo_Abp_Account_Pro_Public_Application_Contracts__Version_8_2_0_0__Culture_neutral__PublicKeyToken_null_> Success
1473
+ * @throws ApiError
1474
+ */
1475
+ public getApiAccountUserDelegationUserLookup(data: GetApiAccountUserDelegationUserLookupData = {}): CancelablePromise<GetApiAccountUserDelegationUserLookupResponse> {
1476
+ return this.httpRequest.request({
1477
+ method: 'GET',
1478
+ url: '/api/account/user-delegation/user-lookup',
1479
+ query: {
1480
+ UserName: data.userName
1481
+ },
1482
+ errors: {
1483
+ 400: 'Bad Request',
1484
+ 401: 'Unauthorized',
1485
+ 403: 'Forbidden',
1486
+ 404: 'Not Found',
1487
+ 500: 'Server Error',
1488
+ 501: 'Server Error'
1489
+ }
1490
+ });
1491
+ }
1492
+
1493
+ /**
1494
+ * @param data The data for the request.
1495
+ * @param data.requestBody
1496
+ * @returns unknown Success
1497
+ * @throws ApiError
1498
+ */
1499
+ public postApiAccountUserDelegationDelegateNewUser(data: PostApiAccountUserDelegationDelegateNewUserData = {}): CancelablePromise<PostApiAccountUserDelegationDelegateNewUserResponse> {
1500
+ return this.httpRequest.request({
1501
+ method: 'POST',
1502
+ url: '/api/account/user-delegation/delegate-new-user',
1503
+ body: data.requestBody,
1504
+ mediaType: 'application/json',
1505
+ errors: {
1506
+ 400: 'Bad Request',
1507
+ 401: 'Unauthorized',
1508
+ 403: 'Forbidden',
1509
+ 404: 'Not Found',
1510
+ 500: 'Server Error',
1511
+ 501: 'Server Error'
1512
+ }
1513
+ });
1514
+ }
1515
+
1516
+ /**
1517
+ * @param data The data for the request.
1518
+ * @param data.id
1519
+ * @returns unknown Success
1520
+ * @throws ApiError
1521
+ */
1522
+ public postApiAccountUserDelegationDeleteDelegation(data: PostApiAccountUserDelegationDeleteDelegationData = {}): CancelablePromise<PostApiAccountUserDelegationDeleteDelegationResponse> {
1523
+ return this.httpRequest.request({
1524
+ method: 'POST',
1525
+ url: '/api/account/user-delegation/delete-delegation',
1526
+ query: {
1527
+ id: data.id
1528
+ },
1529
+ errors: {
1530
+ 400: 'Bad Request',
1531
+ 401: 'Unauthorized',
1532
+ 403: 'Forbidden',
1533
+ 404: 'Not Found',
1534
+ 500: 'Server Error',
1535
+ 501: 'Server Error'
1536
+ }
1537
+ });
1538
+ }
1539
+
1453
1540
  }