@ayasofyazilim/saas 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (134) hide show
  1. package/AccountService/index.ts +115 -117
  2. package/AdministrationService/index.ts +111 -116
  3. package/IdentityService/IdentityServiceClient.ts +70 -0
  4. package/IdentityService/core/ApiError.ts +25 -0
  5. package/IdentityService/core/ApiRequestOptions.ts +17 -0
  6. package/IdentityService/core/ApiResult.ts +11 -0
  7. package/IdentityService/core/BaseHttpRequest.ts +14 -0
  8. package/IdentityService/core/CancelablePromise.ts +131 -0
  9. package/IdentityService/core/FetchHttpRequest.ts +26 -0
  10. package/IdentityService/core/OpenAPI.ts +32 -0
  11. package/IdentityService/core/request.ts +322 -0
  12. package/IdentityService/index.ts +133 -0
  13. package/IdentityService/models/Volo_Abp_Account_AccountExternalProviderSettingsDto.ts +9 -0
  14. package/IdentityService/models/Volo_Abp_Account_AccountRecaptchaSettingsDto.ts +14 -0
  15. package/IdentityService/models/Volo_Abp_Account_AccountSettingsDto.ts +9 -0
  16. package/IdentityService/models/Volo_Abp_Account_AccountTwoFactorSettingsDto.ts +11 -0
  17. package/IdentityService/models/Volo_Abp_Account_ExternalProviders_ExternalProviderSettings.ts +12 -0
  18. package/IdentityService/models/Volo_Abp_Account_ExternalProviders_ExternalProviderSettingsProperty.ts +9 -0
  19. package/IdentityService/models/Volo_Abp_Account_UpdateExternalProviderDto.ts +12 -0
  20. package/IdentityService/models/Volo_Abp_Application_Dtos_ListResultDto_1.ts +9 -0
  21. package/IdentityService/models/Volo_Abp_Application_Dtos_PagedResultDto_1.ts +10 -0
  22. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationAuthConfigurationDto.ts +8 -0
  23. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationConfigurationDto.ts +30 -0
  24. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationFeatureConfigurationDto.ts +8 -0
  25. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationGlobalFeatureConfigurationDto.ts +8 -0
  26. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationConfigurationDto.ts +18 -0
  27. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationDto.ts +9 -0
  28. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationResourceDto.ts +9 -0
  29. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationSettingConfigurationDto.ts +8 -0
  30. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ClockDto.ts +8 -0
  31. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_CurrentCultureDto.ts +17 -0
  32. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_CurrentUserDto.ts +22 -0
  33. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_DateTimeFormatDto.ts +14 -0
  34. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_IanaTimeZone.ts +8 -0
  35. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_EntityExtensionDto.ts +10 -0
  36. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionEnumDto.ts +10 -0
  37. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionEnumFieldDto.ts +9 -0
  38. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiCreateDto.ts +8 -0
  39. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiDto.ts +13 -0
  40. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiGetDto.ts +8 -0
  41. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiUpdateDto.ts +8 -0
  42. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyAttributeDto.ts +9 -0
  43. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyDto.ts +19 -0
  44. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiDto.ts +14 -0
  45. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiFormDto.ts +8 -0
  46. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiLookupDto.ts +12 -0
  47. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiTableDto.ts +8 -0
  48. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_LocalizableStringDto.ts +9 -0
  49. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ModuleExtensionDto.ts +10 -0
  50. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ObjectExtensionsDto.ts +11 -0
  51. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_TimeZone.ts +11 -0
  52. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_TimingDto.ts +9 -0
  53. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_WindowsTimeZone.ts +8 -0
  54. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_MultiTenancy_CurrentTenantDto.ts +10 -0
  55. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_MultiTenancy_MultiTenancyInfoDto.ts +8 -0
  56. package/IdentityService/models/Volo_Abp_Http_Modeling_ActionApiDescriptionModel.ts +20 -0
  57. package/IdentityService/models/Volo_Abp_Http_Modeling_ApplicationApiDescriptionModel.ts +11 -0
  58. package/IdentityService/models/Volo_Abp_Http_Modeling_ControllerApiDescriptionModel.ts +17 -0
  59. package/IdentityService/models/Volo_Abp_Http_Modeling_ControllerInterfaceApiDescriptionModel.ts +11 -0
  60. package/IdentityService/models/Volo_Abp_Http_Modeling_InterfaceMethodApiDescriptionModel.ts +12 -0
  61. package/IdentityService/models/Volo_Abp_Http_Modeling_MethodParameterApiDescriptionModel.ts +13 -0
  62. package/IdentityService/models/Volo_Abp_Http_Modeling_ModuleApiDescriptionModel.ts +11 -0
  63. package/IdentityService/models/Volo_Abp_Http_Modeling_ParameterApiDescriptionModel.ts +17 -0
  64. package/IdentityService/models/Volo_Abp_Http_Modeling_PropertyApiDescriptionModel.ts +17 -0
  65. package/IdentityService/models/Volo_Abp_Http_Modeling_ReturnValueApiDescriptionModel.ts +9 -0
  66. package/IdentityService/models/Volo_Abp_Http_Modeling_TypeApiDescriptionModel.ts +14 -0
  67. package/IdentityService/models/Volo_Abp_Http_RemoteServiceErrorInfo.ts +13 -0
  68. package/IdentityService/models/Volo_Abp_Http_RemoteServiceErrorResponse.ts +9 -0
  69. package/IdentityService/models/Volo_Abp_Http_RemoteServiceValidationErrorInfo.ts +9 -0
  70. package/IdentityService/models/Volo_Abp_Identity_ClaimTypeDto.ts +19 -0
  71. package/IdentityService/models/Volo_Abp_Identity_CreateClaimTypeDto.ts +15 -0
  72. package/IdentityService/models/Volo_Abp_Identity_DownloadTokenResultDto.ts +8 -0
  73. package/IdentityService/models/Volo_Abp_Identity_ExternalLoginProviderDto.ts +9 -0
  74. package/IdentityService/models/Volo_Abp_Identity_Features_IdentityProTwoFactorBehaviour.ts +9 -0
  75. package/IdentityService/models/Volo_Abp_Identity_IdentityClaimValueType.ts +10 -0
  76. package/IdentityService/models/Volo_Abp_Identity_IdentityLdapSettingsDto.ts +15 -0
  77. package/IdentityService/models/Volo_Abp_Identity_IdentityLockoutSettingsDto.ts +10 -0
  78. package/IdentityService/models/Volo_Abp_Identity_IdentityOAuthSettingsDto.ts +15 -0
  79. package/IdentityService/models/Volo_Abp_Identity_IdentityPasswordSettingsDto.ts +15 -0
  80. package/IdentityService/models/Volo_Abp_Identity_IdentityRoleClaimDto.ts +10 -0
  81. package/IdentityService/models/Volo_Abp_Identity_IdentityRoleCreateDto.ts +11 -0
  82. package/IdentityService/models/Volo_Abp_Identity_IdentityRoleDto.ts +15 -0
  83. package/IdentityService/models/Volo_Abp_Identity_IdentityRoleLookupDto.ts +9 -0
  84. package/IdentityService/models/Volo_Abp_Identity_IdentityRoleUpdateDto.ts +12 -0
  85. package/IdentityService/models/Volo_Abp_Identity_IdentitySecurityLogDto.ts +21 -0
  86. package/IdentityService/models/Volo_Abp_Identity_IdentitySettingsDto.ts +15 -0
  87. package/IdentityService/models/Volo_Abp_Identity_IdentitySignInSettingsDto.ts +10 -0
  88. package/IdentityService/models/Volo_Abp_Identity_IdentityUserClaimDto.ts +10 -0
  89. package/IdentityService/models/Volo_Abp_Identity_IdentityUserCreateDto.ts +20 -0
  90. package/IdentityService/models/Volo_Abp_Identity_IdentityUserDto.ts +35 -0
  91. package/IdentityService/models/Volo_Abp_Identity_IdentityUserSettingsDto.ts +9 -0
  92. package/IdentityService/models/Volo_Abp_Identity_IdentityUserUpdateDto.ts +19 -0
  93. package/IdentityService/models/Volo_Abp_Identity_IdentityUserUpdatePasswordInput.ts +8 -0
  94. package/IdentityService/models/Volo_Abp_Identity_IdentityUserUpdateRolesDto.ts +8 -0
  95. package/IdentityService/models/Volo_Abp_Identity_ImportExternalUserInput.ts +10 -0
  96. package/IdentityService/models/Volo_Abp_Identity_ImportUsersFromFileOutput.ts +12 -0
  97. package/IdentityService/models/Volo_Abp_Identity_ImportUsersFromFileType.ts +8 -0
  98. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitCreateDto.ts +10 -0
  99. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitDto.ts +21 -0
  100. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitLookupDto.ts +9 -0
  101. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitMoveInput.ts +8 -0
  102. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitRoleDto.ts +11 -0
  103. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitRoleInput.ts +8 -0
  104. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitUpdateDto.ts +10 -0
  105. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitUserInput.ts +8 -0
  106. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitWithDetailsDto.ts +23 -0
  107. package/IdentityService/models/Volo_Abp_Identity_UpdateClaimTypeDto.ts +16 -0
  108. package/IdentityService/models/Volo_Abp_Localization_LanguageInfo.ts +12 -0
  109. package/IdentityService/models/Volo_Abp_NameValue.ts +9 -0
  110. package/IdentityService/models/Volo_Abp_OpenIddict_Applications_Dtos_ApplicationDto.ts +29 -0
  111. package/IdentityService/models/Volo_Abp_OpenIddict_Applications_Dtos_ApplicationTokenLifetimeDto.ts +13 -0
  112. package/IdentityService/models/Volo_Abp_OpenIddict_Applications_Dtos_CreateApplicationInput.ts +28 -0
  113. package/IdentityService/models/Volo_Abp_OpenIddict_Applications_Dtos_UpdateApplicationInput.ts +28 -0
  114. package/IdentityService/models/Volo_Abp_OpenIddict_Scopes_Dtos_CreateScopeInput.ts +12 -0
  115. package/IdentityService/models/Volo_Abp_OpenIddict_Scopes_Dtos_ScopeDto.ts +14 -0
  116. package/IdentityService/models/Volo_Abp_OpenIddict_Scopes_Dtos_UpdateScopeInput.ts +12 -0
  117. package/IdentityService/models/Volo_Abp_Users_UserData.ts +18 -0
  118. package/IdentityService/services/AbpApiDefinitionService.ts +34 -0
  119. package/IdentityService/services/AbpApplicationConfigurationService.ts +34 -0
  120. package/IdentityService/services/AbpApplicationLocalizationService.ts +37 -0
  121. package/IdentityService/services/AccountSettingsService.ts +178 -0
  122. package/IdentityService/services/ApplicationsService.ts +199 -0
  123. package/IdentityService/services/ClaimTypeService.ts +149 -0
  124. package/IdentityService/services/ExternalLoginService.ts +27 -0
  125. package/IdentityService/services/OrganizationUnitService.ts +539 -0
  126. package/IdentityService/services/RoleService.ts +269 -0
  127. package/IdentityService/services/ScopesService.ts +164 -0
  128. package/IdentityService/services/SecurityLogService.ts +174 -0
  129. package/IdentityService/services/SettingsService.ts +135 -0
  130. package/IdentityService/services/UserIntegrationService.ts +144 -0
  131. package/IdentityService/services/UserLookupService.ts +120 -0
  132. package/IdentityService/services/UserService.ts +937 -0
  133. package/ProjectService/index.ts +75 -77
  134. package/package.json +5 -3
@@ -0,0 +1,178 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { Volo_Abp_Account_AccountExternalProviderSettingsDto } from '../models/Volo_Abp_Account_AccountExternalProviderSettingsDto';
6
+ import type { Volo_Abp_Account_AccountRecaptchaSettingsDto } from '../models/Volo_Abp_Account_AccountRecaptchaSettingsDto';
7
+ import type { Volo_Abp_Account_AccountSettingsDto } from '../models/Volo_Abp_Account_AccountSettingsDto';
8
+ import type { Volo_Abp_Account_AccountTwoFactorSettingsDto } from '../models/Volo_Abp_Account_AccountTwoFactorSettingsDto';
9
+ import type { Volo_Abp_Account_UpdateExternalProviderDto } from '../models/Volo_Abp_Account_UpdateExternalProviderDto';
10
+ import type { CancelablePromise } from '../core/CancelablePromise';
11
+ import type { BaseHttpRequest } from '../core/BaseHttpRequest';
12
+ export class AccountSettingsService {
13
+ constructor(public readonly httpRequest: BaseHttpRequest) {}
14
+ /**
15
+ * @returns Volo_Abp_Account_AccountSettingsDto Success
16
+ * @throws ApiError
17
+ */
18
+ public getApiAccountAdminSettings(): CancelablePromise<Volo_Abp_Account_AccountSettingsDto> {
19
+ return this.httpRequest.request({
20
+ method: 'GET',
21
+ url: '/api/account-admin/settings',
22
+ errors: {
23
+ 400: `Bad Request`,
24
+ 401: `Unauthorized`,
25
+ 403: `Forbidden`,
26
+ 404: `Not Found`,
27
+ 500: `Server Error`,
28
+ 501: `Server Error`,
29
+ },
30
+ });
31
+ }
32
+ /**
33
+ * @param requestBody
34
+ * @returns any Success
35
+ * @throws ApiError
36
+ */
37
+ public putApiAccountAdminSettings(
38
+ requestBody?: Volo_Abp_Account_AccountSettingsDto,
39
+ ): CancelablePromise<any> {
40
+ return this.httpRequest.request({
41
+ method: 'PUT',
42
+ url: '/api/account-admin/settings',
43
+ body: requestBody,
44
+ mediaType: 'application/json',
45
+ errors: {
46
+ 400: `Bad Request`,
47
+ 401: `Unauthorized`,
48
+ 403: `Forbidden`,
49
+ 404: `Not Found`,
50
+ 500: `Server Error`,
51
+ 501: `Server Error`,
52
+ },
53
+ });
54
+ }
55
+ /**
56
+ * @returns Volo_Abp_Account_AccountTwoFactorSettingsDto Success
57
+ * @throws ApiError
58
+ */
59
+ public getApiAccountAdminSettingsTwoFactor(): CancelablePromise<Volo_Abp_Account_AccountTwoFactorSettingsDto> {
60
+ return this.httpRequest.request({
61
+ method: 'GET',
62
+ url: '/api/account-admin/settings/two-factor',
63
+ errors: {
64
+ 400: `Bad Request`,
65
+ 401: `Unauthorized`,
66
+ 403: `Forbidden`,
67
+ 404: `Not Found`,
68
+ 500: `Server Error`,
69
+ 501: `Server Error`,
70
+ },
71
+ });
72
+ }
73
+ /**
74
+ * @param requestBody
75
+ * @returns any Success
76
+ * @throws ApiError
77
+ */
78
+ public putApiAccountAdminSettingsTwoFactor(
79
+ requestBody?: Volo_Abp_Account_AccountTwoFactorSettingsDto,
80
+ ): CancelablePromise<any> {
81
+ return this.httpRequest.request({
82
+ method: 'PUT',
83
+ url: '/api/account-admin/settings/two-factor',
84
+ body: requestBody,
85
+ mediaType: 'application/json',
86
+ errors: {
87
+ 400: `Bad Request`,
88
+ 401: `Unauthorized`,
89
+ 403: `Forbidden`,
90
+ 404: `Not Found`,
91
+ 500: `Server Error`,
92
+ 501: `Server Error`,
93
+ },
94
+ });
95
+ }
96
+ /**
97
+ * @returns Volo_Abp_Account_AccountRecaptchaSettingsDto Success
98
+ * @throws ApiError
99
+ */
100
+ public getApiAccountAdminSettingsRecaptcha(): CancelablePromise<Volo_Abp_Account_AccountRecaptchaSettingsDto> {
101
+ return this.httpRequest.request({
102
+ method: 'GET',
103
+ url: '/api/account-admin/settings/recaptcha',
104
+ errors: {
105
+ 400: `Bad Request`,
106
+ 401: `Unauthorized`,
107
+ 403: `Forbidden`,
108
+ 404: `Not Found`,
109
+ 500: `Server Error`,
110
+ 501: `Server Error`,
111
+ },
112
+ });
113
+ }
114
+ /**
115
+ * @param requestBody
116
+ * @returns any Success
117
+ * @throws ApiError
118
+ */
119
+ public putApiAccountAdminSettingsRecaptcha(
120
+ requestBody?: Volo_Abp_Account_AccountRecaptchaSettingsDto,
121
+ ): CancelablePromise<any> {
122
+ return this.httpRequest.request({
123
+ method: 'PUT',
124
+ url: '/api/account-admin/settings/recaptcha',
125
+ body: requestBody,
126
+ mediaType: 'application/json',
127
+ errors: {
128
+ 400: `Bad Request`,
129
+ 401: `Unauthorized`,
130
+ 403: `Forbidden`,
131
+ 404: `Not Found`,
132
+ 500: `Server Error`,
133
+ 501: `Server Error`,
134
+ },
135
+ });
136
+ }
137
+ /**
138
+ * @returns Volo_Abp_Account_AccountExternalProviderSettingsDto Success
139
+ * @throws ApiError
140
+ */
141
+ public getApiAccountAdminSettingsExternalProvider(): CancelablePromise<Volo_Abp_Account_AccountExternalProviderSettingsDto> {
142
+ return this.httpRequest.request({
143
+ method: 'GET',
144
+ url: '/api/account-admin/settings/external-provider',
145
+ errors: {
146
+ 400: `Bad Request`,
147
+ 401: `Unauthorized`,
148
+ 403: `Forbidden`,
149
+ 404: `Not Found`,
150
+ 500: `Server Error`,
151
+ 501: `Server Error`,
152
+ },
153
+ });
154
+ }
155
+ /**
156
+ * @param requestBody
157
+ * @returns any Success
158
+ * @throws ApiError
159
+ */
160
+ public putApiAccountAdminSettingsExternalProvider(
161
+ requestBody?: Array<Volo_Abp_Account_UpdateExternalProviderDto>,
162
+ ): CancelablePromise<any> {
163
+ return this.httpRequest.request({
164
+ method: 'PUT',
165
+ url: '/api/account-admin/settings/external-provider',
166
+ body: requestBody,
167
+ mediaType: 'application/json',
168
+ errors: {
169
+ 400: `Bad Request`,
170
+ 401: `Unauthorized`,
171
+ 403: `Forbidden`,
172
+ 404: `Not Found`,
173
+ 500: `Server Error`,
174
+ 501: `Server Error`,
175
+ },
176
+ });
177
+ }
178
+ }
@@ -0,0 +1,199 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { Volo_Abp_Application_Dtos_PagedResultDto_1 } from '../models/Volo_Abp_Application_Dtos_PagedResultDto_1';
6
+ import type { Volo_Abp_OpenIddict_Applications_Dtos_ApplicationDto } from '../models/Volo_Abp_OpenIddict_Applications_Dtos_ApplicationDto';
7
+ import type { Volo_Abp_OpenIddict_Applications_Dtos_ApplicationDto_Volo_Abp_OpenIddict_Pro_Application_Contracts_Version_8_0_5_0_Culture_neutral_PublicKeyToken_null_ } from '../models/Volo_Abp_OpenIddict_Applications_Dtos_ApplicationDto_Volo_Abp_OpenIddict_Pro_Application_Contracts_Version_8_0_5_0_Culture_neutral_PublicKeyToken_null_';
8
+ import type { Volo_Abp_OpenIddict_Applications_Dtos_ApplicationTokenLifetimeDto } from '../models/Volo_Abp_OpenIddict_Applications_Dtos_ApplicationTokenLifetimeDto';
9
+ import type { Volo_Abp_OpenIddict_Applications_Dtos_CreateApplicationInput } from '../models/Volo_Abp_OpenIddict_Applications_Dtos_CreateApplicationInput';
10
+ import type { Volo_Abp_OpenIddict_Applications_Dtos_UpdateApplicationInput } from '../models/Volo_Abp_OpenIddict_Applications_Dtos_UpdateApplicationInput';
11
+ import type { CancelablePromise } from '../core/CancelablePromise';
12
+ import type { BaseHttpRequest } from '../core/BaseHttpRequest';
13
+ export class ApplicationsService {
14
+ constructor(public readonly httpRequest: BaseHttpRequest) {}
15
+ /**
16
+ * @param id
17
+ * @returns Volo_Abp_OpenIddict_Applications_Dtos_ApplicationDto Success
18
+ * @throws ApiError
19
+ */
20
+ public getApiOpeniddictApplications(
21
+ id: string,
22
+ ): CancelablePromise<Volo_Abp_OpenIddict_Applications_Dtos_ApplicationDto> {
23
+ return this.httpRequest.request({
24
+ method: 'GET',
25
+ url: '/api/openiddict/applications/{id}',
26
+ path: {
27
+ 'id': id,
28
+ },
29
+ errors: {
30
+ 400: `Bad Request`,
31
+ 401: `Unauthorized`,
32
+ 403: `Forbidden`,
33
+ 404: `Not Found`,
34
+ 500: `Server Error`,
35
+ 501: `Server Error`,
36
+ },
37
+ });
38
+ }
39
+ /**
40
+ * @param id
41
+ * @param requestBody
42
+ * @returns Volo_Abp_OpenIddict_Applications_Dtos_ApplicationDto Success
43
+ * @throws ApiError
44
+ */
45
+ public putApiOpeniddictApplications(
46
+ id: string,
47
+ requestBody?: Volo_Abp_OpenIddict_Applications_Dtos_UpdateApplicationInput,
48
+ ): CancelablePromise<Volo_Abp_OpenIddict_Applications_Dtos_ApplicationDto> {
49
+ return this.httpRequest.request({
50
+ method: 'PUT',
51
+ url: '/api/openiddict/applications/{id}',
52
+ path: {
53
+ 'id': id,
54
+ },
55
+ body: requestBody,
56
+ mediaType: 'application/json',
57
+ errors: {
58
+ 400: `Bad Request`,
59
+ 401: `Unauthorized`,
60
+ 403: `Forbidden`,
61
+ 404: `Not Found`,
62
+ 500: `Server Error`,
63
+ 501: `Server Error`,
64
+ },
65
+ });
66
+ }
67
+ /**
68
+ * @param filter
69
+ * @param sorting
70
+ * @param skipCount
71
+ * @param maxResultCount
72
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<Volo_Abp_OpenIddict_Applications_Dtos_ApplicationDto_Volo_Abp_OpenIddict_Pro_Application_Contracts_Version_8_0_5_0_Culture_neutral_PublicKeyToken_null_> Success
73
+ * @throws ApiError
74
+ */
75
+ public getApiOpeniddictApplications1(
76
+ filter?: string,
77
+ sorting?: string,
78
+ skipCount?: number,
79
+ maxResultCount?: number,
80
+ ): CancelablePromise<Volo_Abp_Application_Dtos_PagedResultDto_1> {
81
+ return this.httpRequest.request({
82
+ method: 'GET',
83
+ url: '/api/openiddict/applications',
84
+ query: {
85
+ 'Filter': filter,
86
+ 'Sorting': sorting,
87
+ 'SkipCount': skipCount,
88
+ 'MaxResultCount': maxResultCount,
89
+ },
90
+ errors: {
91
+ 400: `Bad Request`,
92
+ 401: `Unauthorized`,
93
+ 403: `Forbidden`,
94
+ 404: `Not Found`,
95
+ 500: `Server Error`,
96
+ 501: `Server Error`,
97
+ },
98
+ });
99
+ }
100
+ /**
101
+ * @param requestBody
102
+ * @returns Volo_Abp_OpenIddict_Applications_Dtos_ApplicationDto Success
103
+ * @throws ApiError
104
+ */
105
+ public postApiOpeniddictApplications(
106
+ requestBody?: Volo_Abp_OpenIddict_Applications_Dtos_CreateApplicationInput,
107
+ ): CancelablePromise<Volo_Abp_OpenIddict_Applications_Dtos_ApplicationDto> {
108
+ return this.httpRequest.request({
109
+ method: 'POST',
110
+ url: '/api/openiddict/applications',
111
+ body: requestBody,
112
+ mediaType: 'application/json',
113
+ errors: {
114
+ 400: `Bad Request`,
115
+ 401: `Unauthorized`,
116
+ 403: `Forbidden`,
117
+ 404: `Not Found`,
118
+ 500: `Server Error`,
119
+ 501: `Server Error`,
120
+ },
121
+ });
122
+ }
123
+ /**
124
+ * @param id
125
+ * @returns any Success
126
+ * @throws ApiError
127
+ */
128
+ public deleteApiOpeniddictApplications(
129
+ id?: string,
130
+ ): CancelablePromise<any> {
131
+ return this.httpRequest.request({
132
+ method: 'DELETE',
133
+ url: '/api/openiddict/applications',
134
+ query: {
135
+ 'id': id,
136
+ },
137
+ errors: {
138
+ 400: `Bad Request`,
139
+ 401: `Unauthorized`,
140
+ 403: `Forbidden`,
141
+ 404: `Not Found`,
142
+ 500: `Server Error`,
143
+ 501: `Server Error`,
144
+ },
145
+ });
146
+ }
147
+ /**
148
+ * @param id
149
+ * @returns Volo_Abp_OpenIddict_Applications_Dtos_ApplicationTokenLifetimeDto Success
150
+ * @throws ApiError
151
+ */
152
+ public getApiOpeniddictApplicationsTokenLifetime(
153
+ id: string,
154
+ ): CancelablePromise<Volo_Abp_OpenIddict_Applications_Dtos_ApplicationTokenLifetimeDto> {
155
+ return this.httpRequest.request({
156
+ method: 'GET',
157
+ url: '/api/openiddict/applications/{id}/token-lifetime',
158
+ path: {
159
+ 'id': id,
160
+ },
161
+ errors: {
162
+ 400: `Bad Request`,
163
+ 401: `Unauthorized`,
164
+ 403: `Forbidden`,
165
+ 404: `Not Found`,
166
+ 500: `Server Error`,
167
+ 501: `Server Error`,
168
+ },
169
+ });
170
+ }
171
+ /**
172
+ * @param id
173
+ * @param requestBody
174
+ * @returns any Success
175
+ * @throws ApiError
176
+ */
177
+ public putApiOpeniddictApplicationsTokenLifetime(
178
+ id: string,
179
+ requestBody?: Volo_Abp_OpenIddict_Applications_Dtos_ApplicationTokenLifetimeDto,
180
+ ): CancelablePromise<any> {
181
+ return this.httpRequest.request({
182
+ method: 'PUT',
183
+ url: '/api/openiddict/applications/{id}/token-lifetime',
184
+ path: {
185
+ 'id': id,
186
+ },
187
+ body: requestBody,
188
+ mediaType: 'application/json',
189
+ errors: {
190
+ 400: `Bad Request`,
191
+ 401: `Unauthorized`,
192
+ 403: `Forbidden`,
193
+ 404: `Not Found`,
194
+ 500: `Server Error`,
195
+ 501: `Server Error`,
196
+ },
197
+ });
198
+ }
199
+ }
@@ -0,0 +1,149 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { Volo_Abp_Application_Dtos_PagedResultDto_1 } from '../models/Volo_Abp_Application_Dtos_PagedResultDto_1';
6
+ import type { Volo_Abp_Identity_ClaimTypeDto } from '../models/Volo_Abp_Identity_ClaimTypeDto';
7
+ import type { Volo_Abp_Identity_ClaimTypeDto_Volo_Abp_Identity_Pro_Application_Contracts_Version_8_0_5_0_Culture_neutral_PublicKeyToken_null_ } from '../models/Volo_Abp_Identity_ClaimTypeDto_Volo_Abp_Identity_Pro_Application_Contracts_Version_8_0_5_0_Culture_neutral_PublicKeyToken_null_';
8
+ import type { Volo_Abp_Identity_CreateClaimTypeDto } from '../models/Volo_Abp_Identity_CreateClaimTypeDto';
9
+ import type { Volo_Abp_Identity_UpdateClaimTypeDto } from '../models/Volo_Abp_Identity_UpdateClaimTypeDto';
10
+ import type { CancelablePromise } from '../core/CancelablePromise';
11
+ import type { BaseHttpRequest } from '../core/BaseHttpRequest';
12
+ export class ClaimTypeService {
13
+ constructor(public readonly httpRequest: BaseHttpRequest) {}
14
+ /**
15
+ * @param filter
16
+ * @param sorting
17
+ * @param skipCount
18
+ * @param maxResultCount
19
+ * @param extraProperties
20
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<Volo_Abp_Identity_ClaimTypeDto_Volo_Abp_Identity_Pro_Application_Contracts_Version_8_0_5_0_Culture_neutral_PublicKeyToken_null_> Success
21
+ * @throws ApiError
22
+ */
23
+ public getApiIdentityClaimTypes(
24
+ filter?: string,
25
+ sorting?: string,
26
+ skipCount?: number,
27
+ maxResultCount?: number,
28
+ extraProperties?: Record<string, any>,
29
+ ): CancelablePromise<Volo_Abp_Application_Dtos_PagedResultDto_1> {
30
+ return this.httpRequest.request({
31
+ method: 'GET',
32
+ url: '/api/identity/claim-types',
33
+ query: {
34
+ 'Filter': filter,
35
+ 'Sorting': sorting,
36
+ 'SkipCount': skipCount,
37
+ 'MaxResultCount': maxResultCount,
38
+ 'ExtraProperties': extraProperties,
39
+ },
40
+ errors: {
41
+ 400: `Bad Request`,
42
+ 401: `Unauthorized`,
43
+ 403: `Forbidden`,
44
+ 404: `Not Found`,
45
+ 500: `Server Error`,
46
+ 501: `Server Error`,
47
+ },
48
+ });
49
+ }
50
+ /**
51
+ * @param requestBody
52
+ * @returns Volo_Abp_Identity_ClaimTypeDto Success
53
+ * @throws ApiError
54
+ */
55
+ public postApiIdentityClaimTypes(
56
+ requestBody?: Volo_Abp_Identity_CreateClaimTypeDto,
57
+ ): CancelablePromise<Volo_Abp_Identity_ClaimTypeDto> {
58
+ return this.httpRequest.request({
59
+ method: 'POST',
60
+ url: '/api/identity/claim-types',
61
+ body: requestBody,
62
+ mediaType: 'application/json',
63
+ errors: {
64
+ 400: `Bad Request`,
65
+ 401: `Unauthorized`,
66
+ 403: `Forbidden`,
67
+ 404: `Not Found`,
68
+ 500: `Server Error`,
69
+ 501: `Server Error`,
70
+ },
71
+ });
72
+ }
73
+ /**
74
+ * @param id
75
+ * @returns Volo_Abp_Identity_ClaimTypeDto Success
76
+ * @throws ApiError
77
+ */
78
+ public getApiIdentityClaimTypes1(
79
+ id: string,
80
+ ): CancelablePromise<Volo_Abp_Identity_ClaimTypeDto> {
81
+ return this.httpRequest.request({
82
+ method: 'GET',
83
+ url: '/api/identity/claim-types/{id}',
84
+ path: {
85
+ 'id': id,
86
+ },
87
+ errors: {
88
+ 400: `Bad Request`,
89
+ 401: `Unauthorized`,
90
+ 403: `Forbidden`,
91
+ 404: `Not Found`,
92
+ 500: `Server Error`,
93
+ 501: `Server Error`,
94
+ },
95
+ });
96
+ }
97
+ /**
98
+ * @param id
99
+ * @param requestBody
100
+ * @returns Volo_Abp_Identity_ClaimTypeDto Success
101
+ * @throws ApiError
102
+ */
103
+ public putApiIdentityClaimTypes(
104
+ id: string,
105
+ requestBody?: Volo_Abp_Identity_UpdateClaimTypeDto,
106
+ ): CancelablePromise<Volo_Abp_Identity_ClaimTypeDto> {
107
+ return this.httpRequest.request({
108
+ method: 'PUT',
109
+ url: '/api/identity/claim-types/{id}',
110
+ path: {
111
+ 'id': id,
112
+ },
113
+ body: requestBody,
114
+ mediaType: 'application/json',
115
+ errors: {
116
+ 400: `Bad Request`,
117
+ 401: `Unauthorized`,
118
+ 403: `Forbidden`,
119
+ 404: `Not Found`,
120
+ 500: `Server Error`,
121
+ 501: `Server Error`,
122
+ },
123
+ });
124
+ }
125
+ /**
126
+ * @param id
127
+ * @returns any Success
128
+ * @throws ApiError
129
+ */
130
+ public deleteApiIdentityClaimTypes(
131
+ id: string,
132
+ ): CancelablePromise<any> {
133
+ return this.httpRequest.request({
134
+ method: 'DELETE',
135
+ url: '/api/identity/claim-types/{id}',
136
+ path: {
137
+ 'id': id,
138
+ },
139
+ errors: {
140
+ 400: `Bad Request`,
141
+ 401: `Unauthorized`,
142
+ 403: `Forbidden`,
143
+ 404: `Not Found`,
144
+ 500: `Server Error`,
145
+ 501: `Server Error`,
146
+ },
147
+ });
148
+ }
149
+ }
@@ -0,0 +1,27 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { CancelablePromise } from '../core/CancelablePromise';
6
+ import type { BaseHttpRequest } from '../core/BaseHttpRequest';
7
+ export class ExternalLoginService {
8
+ constructor(public readonly httpRequest: BaseHttpRequest) {}
9
+ /**
10
+ * @returns any Success
11
+ * @throws ApiError
12
+ */
13
+ public postApiIdentityExternalLogin(): CancelablePromise<any> {
14
+ return this.httpRequest.request({
15
+ method: 'POST',
16
+ url: '/api/identity/external-login',
17
+ errors: {
18
+ 400: `Bad Request`,
19
+ 401: `Unauthorized`,
20
+ 403: `Forbidden`,
21
+ 404: `Not Found`,
22
+ 500: `Server Error`,
23
+ 501: `Server Error`,
24
+ },
25
+ });
26
+ }
27
+ }