@ayasofyazilim/saas 0.0.5 → 1.0.0

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 (447) hide show
  1. package/package.json +5 -18
  2. package/test.txt +0 -0
  3. package/AccountService/AccountServiceClient.ts +0 -58
  4. package/AccountService/core/ApiError.ts +0 -25
  5. package/AccountService/core/ApiRequestOptions.ts +0 -17
  6. package/AccountService/core/ApiResult.ts +0 -11
  7. package/AccountService/core/BaseHttpRequest.ts +0 -14
  8. package/AccountService/core/CancelablePromise.ts +0 -131
  9. package/AccountService/core/FetchHttpRequest.ts +0 -26
  10. package/AccountService/core/OpenAPI.ts +0 -32
  11. package/AccountService/core/request.ts +0 -322
  12. package/AccountService/index.ts +0 -122
  13. package/AccountService/models/Volo_Abp_Account_AccountExternalProviderSettingsDto.ts +0 -9
  14. package/AccountService/models/Volo_Abp_Account_AccountRecaptchaSettingsDto.ts +0 -14
  15. package/AccountService/models/Volo_Abp_Account_AccountSettingsDto.ts +0 -9
  16. package/AccountService/models/Volo_Abp_Account_AccountTwoFactorSettingsDto.ts +0 -11
  17. package/AccountService/models/Volo_Abp_Account_AuthenticatorInfoDto.ts +0 -9
  18. package/AccountService/models/Volo_Abp_Account_ChangePasswordInput.ts +0 -9
  19. package/AccountService/models/Volo_Abp_Account_ConfirmEmailInput.ts +0 -9
  20. package/AccountService/models/Volo_Abp_Account_ConfirmPhoneNumberInput.ts +0 -9
  21. package/AccountService/models/Volo_Abp_Account_DelegateNewUserInput.ts +0 -10
  22. package/AccountService/models/Volo_Abp_Account_ExternalProviders_ExternalProviderDto.ts +0 -9
  23. package/AccountService/models/Volo_Abp_Account_ExternalProviders_ExternalProviderItemDto.ts +0 -11
  24. package/AccountService/models/Volo_Abp_Account_ExternalProviders_ExternalProviderItemWithSecretDto.ts +0 -13
  25. package/AccountService/models/Volo_Abp_Account_ExternalProviders_ExternalProviderSettings.ts +0 -12
  26. package/AccountService/models/Volo_Abp_Account_ExternalProviders_ExternalProviderSettingsProperty.ts +0 -9
  27. package/AccountService/models/Volo_Abp_Account_IdentityUserConfirmationStateDto.ts +0 -9
  28. package/AccountService/models/Volo_Abp_Account_IsLinkedInput.ts +0 -9
  29. package/AccountService/models/Volo_Abp_Account_LinkUserDto.ts +0 -12
  30. package/AccountService/models/Volo_Abp_Account_LinkUserInput.ts +0 -10
  31. package/AccountService/models/Volo_Abp_Account_ProfileDto.ts +0 -20
  32. package/AccountService/models/Volo_Abp_Account_ProfilePictureSourceDto.ts +0 -11
  33. package/AccountService/models/Volo_Abp_Account_ProfilePictureType.ts +0 -9
  34. package/AccountService/models/Volo_Abp_Account_Public_Web_Areas_Account_Controllers_Models_AbpLoginResult.ts +0 -10
  35. package/AccountService/models/Volo_Abp_Account_Public_Web_Areas_Account_Controllers_Models_LinkUserLoginInfo.ts +0 -9
  36. package/AccountService/models/Volo_Abp_Account_Public_Web_Areas_Account_Controllers_Models_LoginResultType.ts +0 -12
  37. package/AccountService/models/Volo_Abp_Account_Public_Web_Areas_Account_Controllers_Models_UserLoginInfo.ts +0 -11
  38. package/AccountService/models/Volo_Abp_Account_RegisterDto.ts +0 -15
  39. package/AccountService/models/Volo_Abp_Account_ResetPasswordDto.ts +0 -10
  40. package/AccountService/models/Volo_Abp_Account_SendEmailConfirmationTokenDto.ts +0 -11
  41. package/AccountService/models/Volo_Abp_Account_SendPasswordResetCodeDto.ts +0 -11
  42. package/AccountService/models/Volo_Abp_Account_SendPhoneNumberConfirmationTokenDto.ts +0 -9
  43. package/AccountService/models/Volo_Abp_Account_SendTwoFactorCodeInput.ts +0 -10
  44. package/AccountService/models/Volo_Abp_Account_UnLinkUserInput.ts +0 -9
  45. package/AccountService/models/Volo_Abp_Account_UpdateExternalProviderDto.ts +0 -12
  46. package/AccountService/models/Volo_Abp_Account_UpdateProfileDto.ts +0 -15
  47. package/AccountService/models/Volo_Abp_Account_UserDelegationDto.ts +0 -11
  48. package/AccountService/models/Volo_Abp_Account_UserLookupDto.ts +0 -9
  49. package/AccountService/models/Volo_Abp_Account_VerifyAuthenticatorCodeDto.ts +0 -8
  50. package/AccountService/models/Volo_Abp_Account_VerifyAuthenticatorCodeInput.ts +0 -8
  51. package/AccountService/models/Volo_Abp_Account_VerifyEmailConfirmationTokenInput.ts +0 -9
  52. package/AccountService/models/Volo_Abp_Account_VerifyLinkLoginTokenInput.ts +0 -10
  53. package/AccountService/models/Volo_Abp_Account_VerifyLinkTokenInput.ts +0 -10
  54. package/AccountService/models/Volo_Abp_Account_VerifyPasswordResetTokenInput.ts +0 -9
  55. package/AccountService/models/Volo_Abp_Application_Dtos_ListResultDto_1.ts +0 -9
  56. package/AccountService/models/Volo_Abp_Application_Dtos_PagedResultDto_1.ts +0 -10
  57. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationAuthConfigurationDto.ts +0 -8
  58. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationConfigurationDto.ts +0 -30
  59. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationFeatureConfigurationDto.ts +0 -8
  60. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationGlobalFeatureConfigurationDto.ts +0 -8
  61. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationConfigurationDto.ts +0 -18
  62. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationDto.ts +0 -9
  63. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationResourceDto.ts +0 -9
  64. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationSettingConfigurationDto.ts +0 -8
  65. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ClockDto.ts +0 -8
  66. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_CurrentCultureDto.ts +0 -17
  67. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_CurrentUserDto.ts +0 -22
  68. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_DateTimeFormatDto.ts +0 -14
  69. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_IanaTimeZone.ts +0 -8
  70. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_EntityExtensionDto.ts +0 -10
  71. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionEnumDto.ts +0 -10
  72. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionEnumFieldDto.ts +0 -9
  73. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiCreateDto.ts +0 -8
  74. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiDto.ts +0 -13
  75. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiGetDto.ts +0 -8
  76. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiUpdateDto.ts +0 -8
  77. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyAttributeDto.ts +0 -9
  78. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyDto.ts +0 -19
  79. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiDto.ts +0 -14
  80. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiFormDto.ts +0 -8
  81. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiLookupDto.ts +0 -12
  82. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiTableDto.ts +0 -8
  83. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_LocalizableStringDto.ts +0 -9
  84. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ModuleExtensionDto.ts +0 -10
  85. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ObjectExtensionsDto.ts +0 -11
  86. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_TimeZone.ts +0 -11
  87. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_TimingDto.ts +0 -9
  88. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_WindowsTimeZone.ts +0 -8
  89. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_MultiTenancy_CurrentTenantDto.ts +0 -10
  90. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_MultiTenancy_FindTenantResultDto.ts +0 -11
  91. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_MultiTenancy_MultiTenancyInfoDto.ts +0 -8
  92. package/AccountService/models/Volo_Abp_Http_Modeling_ActionApiDescriptionModel.ts +0 -20
  93. package/AccountService/models/Volo_Abp_Http_Modeling_ApplicationApiDescriptionModel.ts +0 -11
  94. package/AccountService/models/Volo_Abp_Http_Modeling_ControllerApiDescriptionModel.ts +0 -17
  95. package/AccountService/models/Volo_Abp_Http_Modeling_ControllerInterfaceApiDescriptionModel.ts +0 -11
  96. package/AccountService/models/Volo_Abp_Http_Modeling_InterfaceMethodApiDescriptionModel.ts +0 -12
  97. package/AccountService/models/Volo_Abp_Http_Modeling_MethodParameterApiDescriptionModel.ts +0 -13
  98. package/AccountService/models/Volo_Abp_Http_Modeling_ModuleApiDescriptionModel.ts +0 -11
  99. package/AccountService/models/Volo_Abp_Http_Modeling_ParameterApiDescriptionModel.ts +0 -17
  100. package/AccountService/models/Volo_Abp_Http_Modeling_PropertyApiDescriptionModel.ts +0 -17
  101. package/AccountService/models/Volo_Abp_Http_Modeling_ReturnValueApiDescriptionModel.ts +0 -9
  102. package/AccountService/models/Volo_Abp_Http_Modeling_TypeApiDescriptionModel.ts +0 -14
  103. package/AccountService/models/Volo_Abp_Http_RemoteServiceErrorInfo.ts +0 -13
  104. package/AccountService/models/Volo_Abp_Http_RemoteServiceErrorResponse.ts +0 -9
  105. package/AccountService/models/Volo_Abp_Http_RemoteServiceValidationErrorInfo.ts +0 -9
  106. package/AccountService/models/Volo_Abp_Identity_Features_IdentityProTwoFactorBehaviour.ts +0 -9
  107. package/AccountService/models/Volo_Abp_Identity_IdentitySecurityLogDto.ts +0 -21
  108. package/AccountService/models/Volo_Abp_Identity_IdentityUserDto.ts +0 -35
  109. package/AccountService/models/Volo_Abp_Localization_LanguageInfo.ts +0 -12
  110. package/AccountService/models/Volo_Abp_NameValue.ts +0 -9
  111. package/AccountService/services/AbpApiDefinitionService.ts +0 -34
  112. package/AccountService/services/AbpApplicationConfigurationService.ts +0 -34
  113. package/AccountService/services/AbpApplicationLocalizationService.ts +0 -37
  114. package/AccountService/services/AbpTenantService.ts +0 -58
  115. package/AccountService/services/AccountExternalProviderService.ts +0 -56
  116. package/AccountService/services/AccountService.ts +0 -545
  117. package/AccountService/services/AccountSettingsService.ts +0 -178
  118. package/AccountService/services/DynamicClaimsService.ts +0 -27
  119. package/AccountService/services/LoginService.ts +0 -99
  120. package/AccountService/services/ProfileService.ts +0 -155
  121. package/AccountService/services/UserService.ts +0 -313
  122. package/AdministrationService/AdministrationServiceClient.ts +0 -67
  123. package/AdministrationService/core/ApiError.ts +0 -25
  124. package/AdministrationService/core/ApiRequestOptions.ts +0 -17
  125. package/AdministrationService/core/ApiResult.ts +0 -11
  126. package/AdministrationService/core/BaseHttpRequest.ts +0 -14
  127. package/AdministrationService/core/CancelablePromise.ts +0 -131
  128. package/AdministrationService/core/FetchHttpRequest.ts +0 -26
  129. package/AdministrationService/core/OpenAPI.ts +0 -32
  130. package/AdministrationService/core/request.ts +0 -322
  131. package/AdministrationService/index.ts +0 -118
  132. package/AdministrationService/models/System_Net_HttpStatusCode.ts +0 -67
  133. package/AdministrationService/models/Volo_Abp_Application_Dtos_ListResultDto_1.ts +0 -9
  134. package/AdministrationService/models/Volo_Abp_Application_Dtos_PagedResultDto_1.ts +0 -10
  135. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationAuthConfigurationDto.ts +0 -8
  136. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationConfigurationDto.ts +0 -30
  137. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationFeatureConfigurationDto.ts +0 -8
  138. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationGlobalFeatureConfigurationDto.ts +0 -8
  139. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationConfigurationDto.ts +0 -18
  140. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationDto.ts +0 -9
  141. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationResourceDto.ts +0 -9
  142. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationSettingConfigurationDto.ts +0 -8
  143. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ClockDto.ts +0 -8
  144. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_CurrentCultureDto.ts +0 -17
  145. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_CurrentUserDto.ts +0 -22
  146. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_DateTimeFormatDto.ts +0 -14
  147. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_IanaTimeZone.ts +0 -8
  148. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_EntityExtensionDto.ts +0 -10
  149. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionEnumDto.ts +0 -10
  150. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionEnumFieldDto.ts +0 -9
  151. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiCreateDto.ts +0 -8
  152. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiDto.ts +0 -13
  153. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiGetDto.ts +0 -8
  154. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiUpdateDto.ts +0 -8
  155. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyAttributeDto.ts +0 -9
  156. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyDto.ts +0 -19
  157. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiDto.ts +0 -14
  158. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiFormDto.ts +0 -8
  159. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiLookupDto.ts +0 -12
  160. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiTableDto.ts +0 -8
  161. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_LocalizableStringDto.ts +0 -9
  162. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ModuleExtensionDto.ts +0 -10
  163. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ObjectExtensionsDto.ts +0 -11
  164. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_TimeZone.ts +0 -11
  165. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_TimingDto.ts +0 -9
  166. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_WindowsTimeZone.ts +0 -8
  167. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_MultiTenancy_CurrentTenantDto.ts +0 -10
  168. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_MultiTenancy_FindTenantResultDto.ts +0 -11
  169. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_MultiTenancy_MultiTenancyInfoDto.ts +0 -8
  170. package/AdministrationService/models/Volo_Abp_AuditLogging_AuditLogActionDto.ts +0 -16
  171. package/AdministrationService/models/Volo_Abp_AuditLogging_AuditLogDto.ts +0 -33
  172. package/AdministrationService/models/Volo_Abp_AuditLogging_EntityChangeDto.ts +0 -18
  173. package/AdministrationService/models/Volo_Abp_AuditLogging_EntityChangeWithUsernameDto.ts +0 -10
  174. package/AdministrationService/models/Volo_Abp_AuditLogging_EntityPropertyChangeDto.ts +0 -14
  175. package/AdministrationService/models/Volo_Abp_AuditLogging_GetAverageExecutionDurationPerDayOutput.ts +0 -8
  176. package/AdministrationService/models/Volo_Abp_AuditLogging_GetErrorRateOutput.ts +0 -8
  177. package/AdministrationService/models/Volo_Abp_Auditing_EntityChangeType.ts +0 -9
  178. package/AdministrationService/models/Volo_Abp_FeatureManagement_FeatureDto.ts +0 -17
  179. package/AdministrationService/models/Volo_Abp_FeatureManagement_FeatureGroupDto.ts +0 -11
  180. package/AdministrationService/models/Volo_Abp_FeatureManagement_FeatureProviderDto.ts +0 -9
  181. package/AdministrationService/models/Volo_Abp_FeatureManagement_GetFeatureListResultDto.ts +0 -9
  182. package/AdministrationService/models/Volo_Abp_FeatureManagement_UpdateFeatureDto.ts +0 -9
  183. package/AdministrationService/models/Volo_Abp_FeatureManagement_UpdateFeaturesDto.ts +0 -9
  184. package/AdministrationService/models/Volo_Abp_Gdpr_DownloadTokenResultDto.ts +0 -8
  185. package/AdministrationService/models/Volo_Abp_Gdpr_GdprRequestDto.ts +0 -10
  186. package/AdministrationService/models/Volo_Abp_Http_Modeling_ActionApiDescriptionModel.ts +0 -20
  187. package/AdministrationService/models/Volo_Abp_Http_Modeling_ApplicationApiDescriptionModel.ts +0 -11
  188. package/AdministrationService/models/Volo_Abp_Http_Modeling_ControllerApiDescriptionModel.ts +0 -17
  189. package/AdministrationService/models/Volo_Abp_Http_Modeling_ControllerInterfaceApiDescriptionModel.ts +0 -11
  190. package/AdministrationService/models/Volo_Abp_Http_Modeling_InterfaceMethodApiDescriptionModel.ts +0 -12
  191. package/AdministrationService/models/Volo_Abp_Http_Modeling_MethodParameterApiDescriptionModel.ts +0 -13
  192. package/AdministrationService/models/Volo_Abp_Http_Modeling_ModuleApiDescriptionModel.ts +0 -11
  193. package/AdministrationService/models/Volo_Abp_Http_Modeling_ParameterApiDescriptionModel.ts +0 -17
  194. package/AdministrationService/models/Volo_Abp_Http_Modeling_PropertyApiDescriptionModel.ts +0 -17
  195. package/AdministrationService/models/Volo_Abp_Http_Modeling_ReturnValueApiDescriptionModel.ts +0 -9
  196. package/AdministrationService/models/Volo_Abp_Http_Modeling_TypeApiDescriptionModel.ts +0 -14
  197. package/AdministrationService/models/Volo_Abp_Http_RemoteServiceErrorInfo.ts +0 -13
  198. package/AdministrationService/models/Volo_Abp_Http_RemoteServiceErrorResponse.ts +0 -9
  199. package/AdministrationService/models/Volo_Abp_Http_RemoteServiceValidationErrorInfo.ts +0 -9
  200. package/AdministrationService/models/Volo_Abp_LanguageManagement_Dto_CreateLanguageDto.ts +0 -13
  201. package/AdministrationService/models/Volo_Abp_LanguageManagement_Dto_CultureInfoDto.ts +0 -9
  202. package/AdministrationService/models/Volo_Abp_LanguageManagement_Dto_LanguageDto.ts +0 -18
  203. package/AdministrationService/models/Volo_Abp_LanguageManagement_Dto_LanguageResourceDto.ts +0 -8
  204. package/AdministrationService/models/Volo_Abp_LanguageManagement_Dto_LanguageTextDto.ts +0 -13
  205. package/AdministrationService/models/Volo_Abp_LanguageManagement_Dto_UpdateLanguageDto.ts +0 -12
  206. package/AdministrationService/models/Volo_Abp_Localization_LanguageInfo.ts +0 -12
  207. package/AdministrationService/models/Volo_Abp_NameValue.ts +0 -9
  208. package/AdministrationService/models/Volo_Abp_PermissionManagement_GetPermissionListResultDto.ts +0 -10
  209. package/AdministrationService/models/Volo_Abp_PermissionManagement_PermissionGrantInfoDto.ts +0 -14
  210. package/AdministrationService/models/Volo_Abp_PermissionManagement_PermissionGroupDto.ts +0 -13
  211. package/AdministrationService/models/Volo_Abp_PermissionManagement_ProviderInfoDto.ts +0 -9
  212. package/AdministrationService/models/Volo_Abp_PermissionManagement_UpdatePermissionDto.ts +0 -9
  213. package/AdministrationService/models/Volo_Abp_PermissionManagement_UpdatePermissionsDto.ts +0 -9
  214. package/AdministrationService/models/Volo_Abp_SettingManagement_EmailSettingsDto.ts +0 -16
  215. package/AdministrationService/models/Volo_Abp_SettingManagement_SendTestEmailInput.ts +0 -11
  216. package/AdministrationService/models/Volo_Abp_SettingManagement_UpdateEmailSettingsDto.ts +0 -16
  217. package/AdministrationService/models/Volo_Abp_TextTemplateManagement_TextTemplates_RestoreTemplateContentInput.ts +0 -9
  218. package/AdministrationService/models/Volo_Abp_TextTemplateManagement_TextTemplates_TemplateDefinitionDto.ts +0 -13
  219. package/AdministrationService/models/Volo_Abp_TextTemplateManagement_TextTemplates_TextTemplateContentDto.ts +0 -10
  220. package/AdministrationService/models/Volo_Abp_TextTemplateManagement_TextTemplates_UpdateTemplateContentInput.ts +0 -10
  221. package/AdministrationService/models/Volo_Abp_Validation_StringValues_IStringValueType.ts +0 -11
  222. package/AdministrationService/models/Volo_Abp_Validation_StringValues_IValueValidator.ts +0 -9
  223. package/AdministrationService/services/AbpApiDefinitionService.ts +0 -34
  224. package/AdministrationService/services/AbpApplicationConfigurationService.ts +0 -34
  225. package/AdministrationService/services/AbpApplicationLocalizationService.ts +0 -37
  226. package/AdministrationService/services/AbpTenantService.ts +0 -58
  227. package/AdministrationService/services/AuditLogsService.ts +0 -286
  228. package/AdministrationService/services/EmailSettingsService.ts +0 -76
  229. package/AdministrationService/services/FeaturesService.ts +0 -96
  230. package/AdministrationService/services/GdprRequestService.ts +0 -152
  231. package/AdministrationService/services/LanguageTextsService.ts +0 -157
  232. package/AdministrationService/services/LanguagesService.ts +0 -257
  233. package/AdministrationService/services/PermissionsService.ts +0 -69
  234. package/AdministrationService/services/TextTemplateContentsService.ts +0 -85
  235. package/AdministrationService/services/TextTemplateDefinitionsService.ts +0 -69
  236. package/AdministrationService/services/TimeZoneSettingsService.ts +0 -70
  237. package/IdentityService/IdentityServiceClient.ts +0 -70
  238. package/IdentityService/core/ApiError.ts +0 -25
  239. package/IdentityService/core/ApiRequestOptions.ts +0 -17
  240. package/IdentityService/core/ApiResult.ts +0 -11
  241. package/IdentityService/core/BaseHttpRequest.ts +0 -14
  242. package/IdentityService/core/CancelablePromise.ts +0 -131
  243. package/IdentityService/core/FetchHttpRequest.ts +0 -26
  244. package/IdentityService/core/OpenAPI.ts +0 -32
  245. package/IdentityService/core/request.ts +0 -322
  246. package/IdentityService/index.ts +0 -133
  247. package/IdentityService/models/Volo_Abp_Account_AccountExternalProviderSettingsDto.ts +0 -9
  248. package/IdentityService/models/Volo_Abp_Account_AccountRecaptchaSettingsDto.ts +0 -14
  249. package/IdentityService/models/Volo_Abp_Account_AccountSettingsDto.ts +0 -9
  250. package/IdentityService/models/Volo_Abp_Account_AccountTwoFactorSettingsDto.ts +0 -11
  251. package/IdentityService/models/Volo_Abp_Account_ExternalProviders_ExternalProviderSettings.ts +0 -12
  252. package/IdentityService/models/Volo_Abp_Account_ExternalProviders_ExternalProviderSettingsProperty.ts +0 -9
  253. package/IdentityService/models/Volo_Abp_Account_UpdateExternalProviderDto.ts +0 -12
  254. package/IdentityService/models/Volo_Abp_Application_Dtos_ListResultDto_1.ts +0 -9
  255. package/IdentityService/models/Volo_Abp_Application_Dtos_PagedResultDto_1.ts +0 -10
  256. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationAuthConfigurationDto.ts +0 -8
  257. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationConfigurationDto.ts +0 -30
  258. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationFeatureConfigurationDto.ts +0 -8
  259. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationGlobalFeatureConfigurationDto.ts +0 -8
  260. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationConfigurationDto.ts +0 -18
  261. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationDto.ts +0 -9
  262. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationResourceDto.ts +0 -9
  263. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationSettingConfigurationDto.ts +0 -8
  264. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ClockDto.ts +0 -8
  265. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_CurrentCultureDto.ts +0 -17
  266. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_CurrentUserDto.ts +0 -22
  267. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_DateTimeFormatDto.ts +0 -14
  268. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_IanaTimeZone.ts +0 -8
  269. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_EntityExtensionDto.ts +0 -10
  270. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionEnumDto.ts +0 -10
  271. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionEnumFieldDto.ts +0 -9
  272. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiCreateDto.ts +0 -8
  273. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiDto.ts +0 -13
  274. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiGetDto.ts +0 -8
  275. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiUpdateDto.ts +0 -8
  276. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyAttributeDto.ts +0 -9
  277. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyDto.ts +0 -19
  278. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiDto.ts +0 -14
  279. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiFormDto.ts +0 -8
  280. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiLookupDto.ts +0 -12
  281. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiTableDto.ts +0 -8
  282. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_LocalizableStringDto.ts +0 -9
  283. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ModuleExtensionDto.ts +0 -10
  284. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ObjectExtensionsDto.ts +0 -11
  285. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_TimeZone.ts +0 -11
  286. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_TimingDto.ts +0 -9
  287. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_WindowsTimeZone.ts +0 -8
  288. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_MultiTenancy_CurrentTenantDto.ts +0 -10
  289. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_MultiTenancy_MultiTenancyInfoDto.ts +0 -8
  290. package/IdentityService/models/Volo_Abp_Http_Modeling_ActionApiDescriptionModel.ts +0 -20
  291. package/IdentityService/models/Volo_Abp_Http_Modeling_ApplicationApiDescriptionModel.ts +0 -11
  292. package/IdentityService/models/Volo_Abp_Http_Modeling_ControllerApiDescriptionModel.ts +0 -17
  293. package/IdentityService/models/Volo_Abp_Http_Modeling_ControllerInterfaceApiDescriptionModel.ts +0 -11
  294. package/IdentityService/models/Volo_Abp_Http_Modeling_InterfaceMethodApiDescriptionModel.ts +0 -12
  295. package/IdentityService/models/Volo_Abp_Http_Modeling_MethodParameterApiDescriptionModel.ts +0 -13
  296. package/IdentityService/models/Volo_Abp_Http_Modeling_ModuleApiDescriptionModel.ts +0 -11
  297. package/IdentityService/models/Volo_Abp_Http_Modeling_ParameterApiDescriptionModel.ts +0 -17
  298. package/IdentityService/models/Volo_Abp_Http_Modeling_PropertyApiDescriptionModel.ts +0 -17
  299. package/IdentityService/models/Volo_Abp_Http_Modeling_ReturnValueApiDescriptionModel.ts +0 -9
  300. package/IdentityService/models/Volo_Abp_Http_Modeling_TypeApiDescriptionModel.ts +0 -14
  301. package/IdentityService/models/Volo_Abp_Http_RemoteServiceErrorInfo.ts +0 -13
  302. package/IdentityService/models/Volo_Abp_Http_RemoteServiceErrorResponse.ts +0 -9
  303. package/IdentityService/models/Volo_Abp_Http_RemoteServiceValidationErrorInfo.ts +0 -9
  304. package/IdentityService/models/Volo_Abp_Identity_ClaimTypeDto.ts +0 -19
  305. package/IdentityService/models/Volo_Abp_Identity_CreateClaimTypeDto.ts +0 -15
  306. package/IdentityService/models/Volo_Abp_Identity_DownloadTokenResultDto.ts +0 -8
  307. package/IdentityService/models/Volo_Abp_Identity_ExternalLoginProviderDto.ts +0 -9
  308. package/IdentityService/models/Volo_Abp_Identity_Features_IdentityProTwoFactorBehaviour.ts +0 -9
  309. package/IdentityService/models/Volo_Abp_Identity_IdentityClaimValueType.ts +0 -10
  310. package/IdentityService/models/Volo_Abp_Identity_IdentityLdapSettingsDto.ts +0 -15
  311. package/IdentityService/models/Volo_Abp_Identity_IdentityLockoutSettingsDto.ts +0 -10
  312. package/IdentityService/models/Volo_Abp_Identity_IdentityOAuthSettingsDto.ts +0 -15
  313. package/IdentityService/models/Volo_Abp_Identity_IdentityPasswordSettingsDto.ts +0 -15
  314. package/IdentityService/models/Volo_Abp_Identity_IdentityRoleClaimDto.ts +0 -10
  315. package/IdentityService/models/Volo_Abp_Identity_IdentityRoleCreateDto.ts +0 -11
  316. package/IdentityService/models/Volo_Abp_Identity_IdentityRoleDto.ts +0 -15
  317. package/IdentityService/models/Volo_Abp_Identity_IdentityRoleLookupDto.ts +0 -9
  318. package/IdentityService/models/Volo_Abp_Identity_IdentityRoleUpdateDto.ts +0 -12
  319. package/IdentityService/models/Volo_Abp_Identity_IdentitySecurityLogDto.ts +0 -21
  320. package/IdentityService/models/Volo_Abp_Identity_IdentitySettingsDto.ts +0 -15
  321. package/IdentityService/models/Volo_Abp_Identity_IdentitySignInSettingsDto.ts +0 -10
  322. package/IdentityService/models/Volo_Abp_Identity_IdentityUserClaimDto.ts +0 -10
  323. package/IdentityService/models/Volo_Abp_Identity_IdentityUserCreateDto.ts +0 -20
  324. package/IdentityService/models/Volo_Abp_Identity_IdentityUserDto.ts +0 -35
  325. package/IdentityService/models/Volo_Abp_Identity_IdentityUserSettingsDto.ts +0 -9
  326. package/IdentityService/models/Volo_Abp_Identity_IdentityUserUpdateDto.ts +0 -19
  327. package/IdentityService/models/Volo_Abp_Identity_IdentityUserUpdatePasswordInput.ts +0 -8
  328. package/IdentityService/models/Volo_Abp_Identity_IdentityUserUpdateRolesDto.ts +0 -8
  329. package/IdentityService/models/Volo_Abp_Identity_ImportExternalUserInput.ts +0 -10
  330. package/IdentityService/models/Volo_Abp_Identity_ImportUsersFromFileOutput.ts +0 -12
  331. package/IdentityService/models/Volo_Abp_Identity_ImportUsersFromFileType.ts +0 -8
  332. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitCreateDto.ts +0 -10
  333. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitDto.ts +0 -21
  334. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitLookupDto.ts +0 -9
  335. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitMoveInput.ts +0 -8
  336. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitRoleDto.ts +0 -11
  337. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitRoleInput.ts +0 -8
  338. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitUpdateDto.ts +0 -10
  339. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitUserInput.ts +0 -8
  340. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitWithDetailsDto.ts +0 -23
  341. package/IdentityService/models/Volo_Abp_Identity_UpdateClaimTypeDto.ts +0 -16
  342. package/IdentityService/models/Volo_Abp_Localization_LanguageInfo.ts +0 -12
  343. package/IdentityService/models/Volo_Abp_NameValue.ts +0 -9
  344. package/IdentityService/models/Volo_Abp_OpenIddict_Applications_Dtos_ApplicationDto.ts +0 -29
  345. package/IdentityService/models/Volo_Abp_OpenIddict_Applications_Dtos_ApplicationTokenLifetimeDto.ts +0 -13
  346. package/IdentityService/models/Volo_Abp_OpenIddict_Applications_Dtos_CreateApplicationInput.ts +0 -28
  347. package/IdentityService/models/Volo_Abp_OpenIddict_Applications_Dtos_UpdateApplicationInput.ts +0 -28
  348. package/IdentityService/models/Volo_Abp_OpenIddict_Scopes_Dtos_CreateScopeInput.ts +0 -12
  349. package/IdentityService/models/Volo_Abp_OpenIddict_Scopes_Dtos_ScopeDto.ts +0 -14
  350. package/IdentityService/models/Volo_Abp_OpenIddict_Scopes_Dtos_UpdateScopeInput.ts +0 -12
  351. package/IdentityService/models/Volo_Abp_Users_UserData.ts +0 -18
  352. package/IdentityService/services/AbpApiDefinitionService.ts +0 -34
  353. package/IdentityService/services/AbpApplicationConfigurationService.ts +0 -34
  354. package/IdentityService/services/AbpApplicationLocalizationService.ts +0 -37
  355. package/IdentityService/services/AccountSettingsService.ts +0 -178
  356. package/IdentityService/services/ApplicationsService.ts +0 -199
  357. package/IdentityService/services/ClaimTypeService.ts +0 -149
  358. package/IdentityService/services/ExternalLoginService.ts +0 -27
  359. package/IdentityService/services/OrganizationUnitService.ts +0 -539
  360. package/IdentityService/services/RoleService.ts +0 -269
  361. package/IdentityService/services/ScopesService.ts +0 -164
  362. package/IdentityService/services/SecurityLogService.ts +0 -174
  363. package/IdentityService/services/SettingsService.ts +0 -135
  364. package/IdentityService/services/UserIntegrationService.ts +0 -144
  365. package/IdentityService/services/UserLookupService.ts +0 -120
  366. package/IdentityService/services/UserService.ts +0 -937
  367. package/ProjectService/ProjectServiceClient.ts +0 -46
  368. package/ProjectService/core/ApiError.ts +0 -25
  369. package/ProjectService/core/ApiRequestOptions.ts +0 -17
  370. package/ProjectService/core/ApiResult.ts +0 -11
  371. package/ProjectService/core/BaseHttpRequest.ts +0 -14
  372. package/ProjectService/core/CancelablePromise.ts +0 -131
  373. package/ProjectService/core/FetchHttpRequest.ts +0 -26
  374. package/ProjectService/core/OpenAPI.ts +0 -32
  375. package/ProjectService/core/request.ts +0 -322
  376. package/ProjectService/index.ts +0 -82
  377. package/ProjectService/models/UpWithCrowdDemo_ProjectService_ProjectSectionRelations_CreateProjectSectionRelationDto.ts +0 -10
  378. package/ProjectService/models/UpWithCrowdDemo_ProjectService_ProjectSectionRelations_ProjectSectionRelationDto.ts +0 -11
  379. package/ProjectService/models/UpWithCrowdDemo_ProjectService_ProjectSectionRelations_UpdateProjectSectionRelationDto.ts +0 -10
  380. package/ProjectService/models/UpWithCrowdDemo_ProjectService_ProjectSections_CreateProjectSectionDto.ts +0 -10
  381. package/ProjectService/models/UpWithCrowdDemo_ProjectService_ProjectSections_ProjectSectionDetailDto.ts +0 -9
  382. package/ProjectService/models/UpWithCrowdDemo_ProjectService_ProjectSections_ProjectSectionDto.ts +0 -11
  383. package/ProjectService/models/UpWithCrowdDemo_ProjectService_ProjectSections_UpdateProjectSectionDto.ts +0 -10
  384. package/ProjectService/models/UpWithCrowdDemo_ProjectService_ProjectsDto_SaveProjectDto.ts +0 -19
  385. package/ProjectService/models/UpWithCrowdDemo_ProjectService_ProjectsDto_UpdateProjectDto.ts +0 -20
  386. package/ProjectService/models/UpWithCrowdDemo_ProjectService_Projects_ProjectDto.ts +0 -22
  387. package/ProjectService/models/UpWithCrowdDemo_ProjectService_Samples_SampleDto.ts +0 -8
  388. package/ProjectService/models/Volo_Abp_Application_Dtos_PagedResultDto_1.ts +0 -10
  389. package/ProjectService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationAuthConfigurationDto.ts +0 -8
  390. package/ProjectService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationConfigurationDto.ts +0 -30
  391. package/ProjectService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationFeatureConfigurationDto.ts +0 -8
  392. package/ProjectService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationGlobalFeatureConfigurationDto.ts +0 -8
  393. package/ProjectService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationConfigurationDto.ts +0 -18
  394. package/ProjectService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationDto.ts +0 -9
  395. package/ProjectService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationResourceDto.ts +0 -9
  396. package/ProjectService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationSettingConfigurationDto.ts +0 -8
  397. package/ProjectService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ClockDto.ts +0 -8
  398. package/ProjectService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_CurrentCultureDto.ts +0 -17
  399. package/ProjectService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_CurrentUserDto.ts +0 -22
  400. package/ProjectService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_DateTimeFormatDto.ts +0 -14
  401. package/ProjectService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_IanaTimeZone.ts +0 -8
  402. package/ProjectService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_EntityExtensionDto.ts +0 -10
  403. package/ProjectService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionEnumDto.ts +0 -10
  404. package/ProjectService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionEnumFieldDto.ts +0 -9
  405. package/ProjectService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiCreateDto.ts +0 -8
  406. package/ProjectService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiDto.ts +0 -13
  407. package/ProjectService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiGetDto.ts +0 -8
  408. package/ProjectService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiUpdateDto.ts +0 -8
  409. package/ProjectService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyAttributeDto.ts +0 -9
  410. package/ProjectService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyDto.ts +0 -19
  411. package/ProjectService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiDto.ts +0 -14
  412. package/ProjectService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiFormDto.ts +0 -8
  413. package/ProjectService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiLookupDto.ts +0 -12
  414. package/ProjectService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiTableDto.ts +0 -8
  415. package/ProjectService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_LocalizableStringDto.ts +0 -9
  416. package/ProjectService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ModuleExtensionDto.ts +0 -10
  417. package/ProjectService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ObjectExtensionsDto.ts +0 -11
  418. package/ProjectService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_TimeZone.ts +0 -11
  419. package/ProjectService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_TimingDto.ts +0 -9
  420. package/ProjectService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_WindowsTimeZone.ts +0 -8
  421. package/ProjectService/models/Volo_Abp_AspNetCore_Mvc_MultiTenancy_CurrentTenantDto.ts +0 -10
  422. package/ProjectService/models/Volo_Abp_AspNetCore_Mvc_MultiTenancy_MultiTenancyInfoDto.ts +0 -8
  423. package/ProjectService/models/Volo_Abp_Http_Modeling_ActionApiDescriptionModel.ts +0 -20
  424. package/ProjectService/models/Volo_Abp_Http_Modeling_ApplicationApiDescriptionModel.ts +0 -11
  425. package/ProjectService/models/Volo_Abp_Http_Modeling_ControllerApiDescriptionModel.ts +0 -17
  426. package/ProjectService/models/Volo_Abp_Http_Modeling_ControllerInterfaceApiDescriptionModel.ts +0 -11
  427. package/ProjectService/models/Volo_Abp_Http_Modeling_InterfaceMethodApiDescriptionModel.ts +0 -12
  428. package/ProjectService/models/Volo_Abp_Http_Modeling_MethodParameterApiDescriptionModel.ts +0 -13
  429. package/ProjectService/models/Volo_Abp_Http_Modeling_ModuleApiDescriptionModel.ts +0 -11
  430. package/ProjectService/models/Volo_Abp_Http_Modeling_ParameterApiDescriptionModel.ts +0 -17
  431. package/ProjectService/models/Volo_Abp_Http_Modeling_PropertyApiDescriptionModel.ts +0 -17
  432. package/ProjectService/models/Volo_Abp_Http_Modeling_ReturnValueApiDescriptionModel.ts +0 -9
  433. package/ProjectService/models/Volo_Abp_Http_Modeling_TypeApiDescriptionModel.ts +0 -14
  434. package/ProjectService/models/Volo_Abp_Http_RemoteServiceErrorInfo.ts +0 -13
  435. package/ProjectService/models/Volo_Abp_Http_RemoteServiceErrorResponse.ts +0 -9
  436. package/ProjectService/models/Volo_Abp_Http_RemoteServiceValidationErrorInfo.ts +0 -9
  437. package/ProjectService/models/Volo_Abp_Localization_LanguageInfo.ts +0 -12
  438. package/ProjectService/models/Volo_Abp_NameValue.ts +0 -9
  439. package/ProjectService/services/AbpApiDefinitionService.ts +0 -34
  440. package/ProjectService/services/AbpApplicationConfigurationService.ts +0 -34
  441. package/ProjectService/services/AbpApplicationLocalizationService.ts +0 -37
  442. package/ProjectService/services/ProjectSectionRelationServiceService.ts +0 -143
  443. package/ProjectService/services/ProjectSectionServiceService.ts +0 -143
  444. package/ProjectService/services/ProjectService.ts +0 -143
  445. package/ProjectService/services/SampleServiceService.ts +0 -46
  446. package/ProjectService.json +0 -2938
  447. package/index.ts +0 -2
package/package.json CHANGED
@@ -1,25 +1,12 @@
1
1
  {
2
2
  "name": "@ayasofyazilim/saas",
3
- "version": "0.0.5",
4
- "description": "Ayasofyazılım SAAS",
5
- "exports": {
6
- "./AccountService": "./AccountService/index.ts",
7
- "./ProjectService": "./ProjectService/index.ts",
8
- "./AdministrationService": "./AdministrationService/index.ts",
9
- "./IdentityService": "./IdentityService/index.ts"
10
- },
3
+ "version": "1.0.0",
4
+ "main": "index.js",
11
5
  "scripts": {
12
- "gen:all": "npm run gen:AccountService && npm run gen:ProjectService && npm run gen:AdministrationService && npm run gen:IdentityService",
13
- "gen:AccountService": "openapi --input http://192.168.1.38:44325/swagger-json/AuthServer/swagger/v1/swagger.json --output AccountService --name AccountServiceClient",
14
- "gen:ProjectService": "openapi --input http://192.168.1.19:45166/swagger/v1/swagger.json --output ProjectService --name ProjectServiceClient",
15
- "gen:AdministrationService": "openapi --input http://192.168.1.38:44325/swagger-json/Administration/swagger/v1/swagger.json --output AdministrationService --name AdministrationServiceClient",
16
- "gen:IdentityService": "openapi --input http://192.168.1.38:44325/swagger-json/Identity/swagger/v1/swagger.json --output IdentityService --name IdentityServiceClient",
17
- "init-release": "publish --access public",
18
- "release": "release-it"
6
+ "test": "echo \"Error: no test specified\" && exit 1"
19
7
  },
20
8
  "author": "",
21
9
  "license": "ISC",
22
- "devDependencies": {
23
- "release-it": "^17.1.1"
24
- }
10
+ "keywords": [],
11
+ "description": ""
25
12
  }
package/test.txt ADDED
File without changes
@@ -1,58 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- import type { BaseHttpRequest } from './core/BaseHttpRequest';
6
- import type { OpenAPIConfig } from './core/OpenAPI';
7
- import { FetchHttpRequest } from './core/FetchHttpRequest';
8
- import { AbpApiDefinitionService } from './services/AbpApiDefinitionService';
9
- import { AbpApplicationConfigurationService } from './services/AbpApplicationConfigurationService';
10
- import { AbpApplicationLocalizationService } from './services/AbpApplicationLocalizationService';
11
- import { AbpTenantService } from './services/AbpTenantService';
12
- import { AccountService } from './services/AccountService';
13
- import { AccountExternalProviderService } from './services/AccountExternalProviderService';
14
- import { AccountSettingsService } from './services/AccountSettingsService';
15
- import { DynamicClaimsService } from './services/DynamicClaimsService';
16
- import { LoginService } from './services/LoginService';
17
- import { ProfileService } from './services/ProfileService';
18
- import { UserService } from './services/UserService';
19
- type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
20
- export class AccountServiceClient {
21
- public readonly abpApiDefinition: AbpApiDefinitionService;
22
- public readonly abpApplicationConfiguration: AbpApplicationConfigurationService;
23
- public readonly abpApplicationLocalization: AbpApplicationLocalizationService;
24
- public readonly abpTenant: AbpTenantService;
25
- public readonly account: AccountService;
26
- public readonly accountExternalProvider: AccountExternalProviderService;
27
- public readonly accountSettings: AccountSettingsService;
28
- public readonly dynamicClaims: DynamicClaimsService;
29
- public readonly login: LoginService;
30
- public readonly profile: ProfileService;
31
- public readonly user: UserService;
32
- public readonly request: BaseHttpRequest;
33
- constructor(config?: Partial<OpenAPIConfig>, HttpRequest: HttpRequestConstructor = FetchHttpRequest) {
34
- this.request = new HttpRequest({
35
- BASE: config?.BASE ?? '',
36
- VERSION: config?.VERSION ?? '1',
37
- WITH_CREDENTIALS: config?.WITH_CREDENTIALS ?? false,
38
- CREDENTIALS: config?.CREDENTIALS ?? 'include',
39
- TOKEN: config?.TOKEN,
40
- USERNAME: config?.USERNAME,
41
- PASSWORD: config?.PASSWORD,
42
- HEADERS: config?.HEADERS,
43
- ENCODE_PATH: config?.ENCODE_PATH,
44
- });
45
- this.abpApiDefinition = new AbpApiDefinitionService(this.request);
46
- this.abpApplicationConfiguration = new AbpApplicationConfigurationService(this.request);
47
- this.abpApplicationLocalization = new AbpApplicationLocalizationService(this.request);
48
- this.abpTenant = new AbpTenantService(this.request);
49
- this.account = new AccountService(this.request);
50
- this.accountExternalProvider = new AccountExternalProviderService(this.request);
51
- this.accountSettings = new AccountSettingsService(this.request);
52
- this.dynamicClaims = new DynamicClaimsService(this.request);
53
- this.login = new LoginService(this.request);
54
- this.profile = new ProfileService(this.request);
55
- this.user = new UserService(this.request);
56
- }
57
- }
58
-
@@ -1,25 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- import type { ApiRequestOptions } from './ApiRequestOptions';
6
- import type { ApiResult } from './ApiResult';
7
-
8
- export class ApiError extends Error {
9
- public readonly url: string;
10
- public readonly status: number;
11
- public readonly statusText: string;
12
- public readonly body: any;
13
- public readonly request: ApiRequestOptions;
14
-
15
- constructor(request: ApiRequestOptions, response: ApiResult, message: string) {
16
- super(message);
17
-
18
- this.name = 'ApiError';
19
- this.url = response.url;
20
- this.status = response.status;
21
- this.statusText = response.statusText;
22
- this.body = response.body;
23
- this.request = request;
24
- }
25
- }
@@ -1,17 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- export type ApiRequestOptions = {
6
- readonly method: 'GET' | 'PUT' | 'POST' | 'DELETE' | 'OPTIONS' | 'HEAD' | 'PATCH';
7
- readonly url: string;
8
- readonly path?: Record<string, any>;
9
- readonly cookies?: Record<string, any>;
10
- readonly headers?: Record<string, any>;
11
- readonly query?: Record<string, any>;
12
- readonly formData?: Record<string, any>;
13
- readonly body?: any;
14
- readonly mediaType?: string;
15
- readonly responseHeader?: string;
16
- readonly errors?: Record<number, string>;
17
- };
@@ -1,11 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- export type ApiResult = {
6
- readonly url: string;
7
- readonly ok: boolean;
8
- readonly status: number;
9
- readonly statusText: string;
10
- readonly body: any;
11
- };
@@ -1,14 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- import type { ApiRequestOptions } from './ApiRequestOptions';
6
- import type { CancelablePromise } from './CancelablePromise';
7
- import type { OpenAPIConfig } from './OpenAPI';
8
-
9
- export abstract class BaseHttpRequest {
10
-
11
- constructor(public readonly config: OpenAPIConfig) {}
12
-
13
- public abstract request<T>(options: ApiRequestOptions): CancelablePromise<T>;
14
- }
@@ -1,131 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- export class CancelError extends Error {
6
-
7
- constructor(message: string) {
8
- super(message);
9
- this.name = 'CancelError';
10
- }
11
-
12
- public get isCancelled(): boolean {
13
- return true;
14
- }
15
- }
16
-
17
- export interface OnCancel {
18
- readonly isResolved: boolean;
19
- readonly isRejected: boolean;
20
- readonly isCancelled: boolean;
21
-
22
- (cancelHandler: () => void): void;
23
- }
24
-
25
- export class CancelablePromise<T> implements Promise<T> {
26
- #isResolved: boolean;
27
- #isRejected: boolean;
28
- #isCancelled: boolean;
29
- readonly #cancelHandlers: (() => void)[];
30
- readonly #promise: Promise<T>;
31
- #resolve?: (value: T | PromiseLike<T>) => void;
32
- #reject?: (reason?: any) => void;
33
-
34
- constructor(
35
- executor: (
36
- resolve: (value: T | PromiseLike<T>) => void,
37
- reject: (reason?: any) => void,
38
- onCancel: OnCancel
39
- ) => void
40
- ) {
41
- this.#isResolved = false;
42
- this.#isRejected = false;
43
- this.#isCancelled = false;
44
- this.#cancelHandlers = [];
45
- this.#promise = new Promise<T>((resolve, reject) => {
46
- this.#resolve = resolve;
47
- this.#reject = reject;
48
-
49
- const onResolve = (value: T | PromiseLike<T>): void => {
50
- if (this.#isResolved || this.#isRejected || this.#isCancelled) {
51
- return;
52
- }
53
- this.#isResolved = true;
54
- if (this.#resolve) this.#resolve(value);
55
- };
56
-
57
- const onReject = (reason?: any): void => {
58
- if (this.#isResolved || this.#isRejected || this.#isCancelled) {
59
- return;
60
- }
61
- this.#isRejected = true;
62
- if (this.#reject) this.#reject(reason);
63
- };
64
-
65
- const onCancel = (cancelHandler: () => void): void => {
66
- if (this.#isResolved || this.#isRejected || this.#isCancelled) {
67
- return;
68
- }
69
- this.#cancelHandlers.push(cancelHandler);
70
- };
71
-
72
- Object.defineProperty(onCancel, 'isResolved', {
73
- get: (): boolean => this.#isResolved,
74
- });
75
-
76
- Object.defineProperty(onCancel, 'isRejected', {
77
- get: (): boolean => this.#isRejected,
78
- });
79
-
80
- Object.defineProperty(onCancel, 'isCancelled', {
81
- get: (): boolean => this.#isCancelled,
82
- });
83
-
84
- return executor(onResolve, onReject, onCancel as OnCancel);
85
- });
86
- }
87
-
88
- get [Symbol.toStringTag]() {
89
- return "Cancellable Promise";
90
- }
91
-
92
- public then<TResult1 = T, TResult2 = never>(
93
- onFulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null,
94
- onRejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null
95
- ): Promise<TResult1 | TResult2> {
96
- return this.#promise.then(onFulfilled, onRejected);
97
- }
98
-
99
- public catch<TResult = never>(
100
- onRejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null
101
- ): Promise<T | TResult> {
102
- return this.#promise.catch(onRejected);
103
- }
104
-
105
- public finally(onFinally?: (() => void) | null): Promise<T> {
106
- return this.#promise.finally(onFinally);
107
- }
108
-
109
- public cancel(): void {
110
- if (this.#isResolved || this.#isRejected || this.#isCancelled) {
111
- return;
112
- }
113
- this.#isCancelled = true;
114
- if (this.#cancelHandlers.length) {
115
- try {
116
- for (const cancelHandler of this.#cancelHandlers) {
117
- cancelHandler();
118
- }
119
- } catch (error) {
120
- console.warn('Cancellation threw an error', error);
121
- return;
122
- }
123
- }
124
- this.#cancelHandlers.length = 0;
125
- if (this.#reject) this.#reject(new CancelError('Request aborted'));
126
- }
127
-
128
- public get isCancelled(): boolean {
129
- return this.#isCancelled;
130
- }
131
- }
@@ -1,26 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- import type { ApiRequestOptions } from './ApiRequestOptions';
6
- import { BaseHttpRequest } from './BaseHttpRequest';
7
- import type { CancelablePromise } from './CancelablePromise';
8
- import type { OpenAPIConfig } from './OpenAPI';
9
- import { request as __request } from './request';
10
-
11
- export class FetchHttpRequest extends BaseHttpRequest {
12
-
13
- constructor(config: OpenAPIConfig) {
14
- super(config);
15
- }
16
-
17
- /**
18
- * Request method
19
- * @param options The request options from the service
20
- * @returns CancelablePromise<T>
21
- * @throws ApiError
22
- */
23
- public override request<T>(options: ApiRequestOptions): CancelablePromise<T> {
24
- return __request(this.config, options);
25
- }
26
- }
@@ -1,32 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- import type { ApiRequestOptions } from './ApiRequestOptions';
6
-
7
- type Resolver<T> = (options: ApiRequestOptions) => Promise<T>;
8
- type Headers = Record<string, string>;
9
-
10
- export type OpenAPIConfig = {
11
- BASE: string;
12
- VERSION: string;
13
- WITH_CREDENTIALS: boolean;
14
- CREDENTIALS: 'include' | 'omit' | 'same-origin';
15
- TOKEN?: string | Resolver<string> | undefined;
16
- USERNAME?: string | Resolver<string> | undefined;
17
- PASSWORD?: string | Resolver<string> | undefined;
18
- HEADERS?: Headers | Resolver<Headers> | undefined;
19
- ENCODE_PATH?: ((path: string) => string) | undefined;
20
- };
21
-
22
- export const OpenAPI: OpenAPIConfig = {
23
- BASE: '',
24
- VERSION: '1',
25
- WITH_CREDENTIALS: false,
26
- CREDENTIALS: 'include',
27
- TOKEN: undefined,
28
- USERNAME: undefined,
29
- PASSWORD: undefined,
30
- HEADERS: undefined,
31
- ENCODE_PATH: undefined,
32
- };
@@ -1,322 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- import { ApiError } from './ApiError';
6
- import type { ApiRequestOptions } from './ApiRequestOptions';
7
- import type { ApiResult } from './ApiResult';
8
- import { CancelablePromise } from './CancelablePromise';
9
- import type { OnCancel } from './CancelablePromise';
10
- import type { OpenAPIConfig } from './OpenAPI';
11
-
12
- export const isDefined = <T>(value: T | null | undefined): value is Exclude<T, null | undefined> => {
13
- return value !== undefined && value !== null;
14
- };
15
-
16
- export const isString = (value: any): value is string => {
17
- return typeof value === 'string';
18
- };
19
-
20
- export const isStringWithValue = (value: any): value is string => {
21
- return isString(value) && value !== '';
22
- };
23
-
24
- export const isBlob = (value: any): value is Blob => {
25
- return (
26
- typeof value === 'object' &&
27
- typeof value.type === 'string' &&
28
- typeof value.stream === 'function' &&
29
- typeof value.arrayBuffer === 'function' &&
30
- typeof value.constructor === 'function' &&
31
- typeof value.constructor.name === 'string' &&
32
- /^(Blob|File)$/.test(value.constructor.name) &&
33
- /^(Blob|File)$/.test(value[Symbol.toStringTag])
34
- );
35
- };
36
-
37
- export const isFormData = (value: any): value is FormData => {
38
- return value instanceof FormData;
39
- };
40
-
41
- export const base64 = (str: string): string => {
42
- try {
43
- return btoa(str);
44
- } catch (err) {
45
- // @ts-ignore
46
- return Buffer.from(str).toString('base64');
47
- }
48
- };
49
-
50
- export const getQueryString = (params: Record<string, any>): string => {
51
- const qs: string[] = [];
52
-
53
- const append = (key: string, value: any) => {
54
- qs.push(`${encodeURIComponent(key)}=${encodeURIComponent(String(value))}`);
55
- };
56
-
57
- const process = (key: string, value: any) => {
58
- if (isDefined(value)) {
59
- if (Array.isArray(value)) {
60
- value.forEach(v => {
61
- process(key, v);
62
- });
63
- } else if (typeof value === 'object') {
64
- Object.entries(value).forEach(([k, v]) => {
65
- process(`${key}[${k}]`, v);
66
- });
67
- } else {
68
- append(key, value);
69
- }
70
- }
71
- };
72
-
73
- Object.entries(params).forEach(([key, value]) => {
74
- process(key, value);
75
- });
76
-
77
- if (qs.length > 0) {
78
- return `?${qs.join('&')}`;
79
- }
80
-
81
- return '';
82
- };
83
-
84
- const getUrl = (config: OpenAPIConfig, options: ApiRequestOptions): string => {
85
- const encoder = config.ENCODE_PATH || encodeURI;
86
-
87
- const path = options.url
88
- .replace('{api-version}', config.VERSION)
89
- .replace(/{(.*?)}/g, (substring: string, group: string) => {
90
- if (options.path?.hasOwnProperty(group)) {
91
- return encoder(String(options.path[group]));
92
- }
93
- return substring;
94
- });
95
-
96
- const url = `${config.BASE}${path}`;
97
- if (options.query) {
98
- return `${url}${getQueryString(options.query)}`;
99
- }
100
- return url;
101
- };
102
-
103
- export const getFormData = (options: ApiRequestOptions): FormData | undefined => {
104
- if (options.formData) {
105
- const formData = new FormData();
106
-
107
- const process = (key: string, value: any) => {
108
- if (isString(value) || isBlob(value)) {
109
- formData.append(key, value);
110
- } else {
111
- formData.append(key, JSON.stringify(value));
112
- }
113
- };
114
-
115
- Object.entries(options.formData)
116
- .filter(([_, value]) => isDefined(value))
117
- .forEach(([key, value]) => {
118
- if (Array.isArray(value)) {
119
- value.forEach(v => process(key, v));
120
- } else {
121
- process(key, value);
122
- }
123
- });
124
-
125
- return formData;
126
- }
127
- return undefined;
128
- };
129
-
130
- type Resolver<T> = (options: ApiRequestOptions) => Promise<T>;
131
-
132
- export const resolve = async <T>(options: ApiRequestOptions, resolver?: T | Resolver<T>): Promise<T | undefined> => {
133
- if (typeof resolver === 'function') {
134
- return (resolver as Resolver<T>)(options);
135
- }
136
- return resolver;
137
- };
138
-
139
- export const getHeaders = async (config: OpenAPIConfig, options: ApiRequestOptions): Promise<Headers> => {
140
- const [token, username, password, additionalHeaders] = await Promise.all([
141
- resolve(options, config.TOKEN),
142
- resolve(options, config.USERNAME),
143
- resolve(options, config.PASSWORD),
144
- resolve(options, config.HEADERS),
145
- ]);
146
-
147
- const headers = Object.entries({
148
- Accept: 'application/json',
149
- ...additionalHeaders,
150
- ...options.headers,
151
- })
152
- .filter(([_, value]) => isDefined(value))
153
- .reduce((headers, [key, value]) => ({
154
- ...headers,
155
- [key]: String(value),
156
- }), {} as Record<string, string>);
157
-
158
- if (isStringWithValue(token)) {
159
- headers['Authorization'] = `Bearer ${token}`;
160
- }
161
-
162
- if (isStringWithValue(username) && isStringWithValue(password)) {
163
- const credentials = base64(`${username}:${password}`);
164
- headers['Authorization'] = `Basic ${credentials}`;
165
- }
166
-
167
- if (options.body) {
168
- if (options.mediaType) {
169
- headers['Content-Type'] = options.mediaType;
170
- } else if (isBlob(options.body)) {
171
- headers['Content-Type'] = options.body.type || 'application/octet-stream';
172
- } else if (isString(options.body)) {
173
- headers['Content-Type'] = 'text/plain';
174
- } else if (!isFormData(options.body)) {
175
- headers['Content-Type'] = 'application/json';
176
- }
177
- }
178
-
179
- return new Headers(headers);
180
- };
181
-
182
- export const getRequestBody = (options: ApiRequestOptions): any => {
183
- if (options.body !== undefined) {
184
- if (options.mediaType?.includes('/json')) {
185
- return JSON.stringify(options.body)
186
- } else if (isString(options.body) || isBlob(options.body) || isFormData(options.body)) {
187
- return options.body;
188
- } else {
189
- return JSON.stringify(options.body);
190
- }
191
- }
192
- return undefined;
193
- };
194
-
195
- export const sendRequest = async (
196
- config: OpenAPIConfig,
197
- options: ApiRequestOptions,
198
- url: string,
199
- body: any,
200
- formData: FormData | undefined,
201
- headers: Headers,
202
- onCancel: OnCancel
203
- ): Promise<Response> => {
204
- const controller = new AbortController();
205
-
206
- const request: RequestInit = {
207
- headers,
208
- body: body ?? formData,
209
- method: options.method,
210
- signal: controller.signal,
211
- };
212
-
213
- if (config.WITH_CREDENTIALS) {
214
- request.credentials = config.CREDENTIALS;
215
- }
216
-
217
- onCancel(() => controller.abort());
218
-
219
- return await fetch(url, request);
220
- };
221
-
222
- export const getResponseHeader = (response: Response, responseHeader?: string): string | undefined => {
223
- if (responseHeader) {
224
- const content = response.headers.get(responseHeader);
225
- if (isString(content)) {
226
- return content;
227
- }
228
- }
229
- return undefined;
230
- };
231
-
232
- export const getResponseBody = async (response: Response): Promise<any> => {
233
- if (response.status !== 204) {
234
- try {
235
- const contentType = response.headers.get('Content-Type');
236
- if (contentType) {
237
- const jsonTypes = ['application/json', 'application/problem+json']
238
- const isJSON = jsonTypes.some(type => contentType.toLowerCase().startsWith(type));
239
- if (isJSON) {
240
- return await response.json();
241
- } else {
242
- return await response.text();
243
- }
244
- }
245
- } catch (error) {
246
- console.error(error);
247
- }
248
- }
249
- return undefined;
250
- };
251
-
252
- export const catchErrorCodes = (options: ApiRequestOptions, result: ApiResult): void => {
253
- const errors: Record<number, string> = {
254
- 400: 'Bad Request',
255
- 401: 'Unauthorized',
256
- 403: 'Forbidden',
257
- 404: 'Not Found',
258
- 500: 'Internal Server Error',
259
- 502: 'Bad Gateway',
260
- 503: 'Service Unavailable',
261
- ...options.errors,
262
- }
263
-
264
- const error = errors[result.status];
265
- if (error) {
266
- throw new ApiError(options, result, error);
267
- }
268
-
269
- if (!result.ok) {
270
- const errorStatus = result.status ?? 'unknown';
271
- const errorStatusText = result.statusText ?? 'unknown';
272
- const errorBody = (() => {
273
- try {
274
- return JSON.stringify(result.body, null, 2);
275
- } catch (e) {
276
- return undefined;
277
- }
278
- })();
279
-
280
- throw new ApiError(options, result,
281
- `Generic Error: status: ${errorStatus}; status text: ${errorStatusText}; body: ${errorBody}`
282
- );
283
- }
284
- };
285
-
286
- /**
287
- * Request method
288
- * @param config The OpenAPI configuration object
289
- * @param options The request options from the service
290
- * @returns CancelablePromise<T>
291
- * @throws ApiError
292
- */
293
- export const request = <T>(config: OpenAPIConfig, options: ApiRequestOptions): CancelablePromise<T> => {
294
- return new CancelablePromise(async (resolve, reject, onCancel) => {
295
- try {
296
- const url = getUrl(config, options);
297
- const formData = getFormData(options);
298
- const body = getRequestBody(options);
299
- const headers = await getHeaders(config, options);
300
-
301
- if (!onCancel.isCancelled) {
302
- const response = await sendRequest(config, options, url, body, formData, headers, onCancel);
303
- const responseBody = await getResponseBody(response);
304
- const responseHeader = getResponseHeader(response, options.responseHeader);
305
-
306
- const result: ApiResult = {
307
- url,
308
- ok: response.ok,
309
- status: response.status,
310
- statusText: response.statusText,
311
- body: responseHeader ?? responseBody,
312
- };
313
-
314
- catchErrorCodes(options, result);
315
-
316
- resolve(result.body);
317
- }
318
- } catch (error) {
319
- reject(error);
320
- }
321
- });
322
- };