@ayasofyazilim/saas 0.0.3 → 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 (260) hide show
  1. package/AccountService/services/AccountService.ts +2 -2
  2. package/AccountService/services/UserService.ts +8 -8
  3. package/AdministrationService/AdministrationServiceClient.ts +67 -0
  4. package/AdministrationService/core/ApiError.ts +25 -0
  5. package/AdministrationService/core/ApiRequestOptions.ts +17 -0
  6. package/AdministrationService/core/ApiResult.ts +11 -0
  7. package/AdministrationService/core/BaseHttpRequest.ts +14 -0
  8. package/AdministrationService/core/CancelablePromise.ts +131 -0
  9. package/AdministrationService/core/FetchHttpRequest.ts +26 -0
  10. package/AdministrationService/core/OpenAPI.ts +32 -0
  11. package/AdministrationService/core/request.ts +322 -0
  12. package/AdministrationService/index.ts +118 -0
  13. package/AdministrationService/models/System_Net_HttpStatusCode.ts +67 -0
  14. package/AdministrationService/models/Volo_Abp_Application_Dtos_ListResultDto_1.ts +9 -0
  15. package/AdministrationService/models/Volo_Abp_Application_Dtos_PagedResultDto_1.ts +10 -0
  16. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationAuthConfigurationDto.ts +8 -0
  17. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationConfigurationDto.ts +30 -0
  18. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationFeatureConfigurationDto.ts +8 -0
  19. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationGlobalFeatureConfigurationDto.ts +8 -0
  20. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationConfigurationDto.ts +18 -0
  21. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationDto.ts +9 -0
  22. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationResourceDto.ts +9 -0
  23. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationSettingConfigurationDto.ts +8 -0
  24. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ClockDto.ts +8 -0
  25. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_CurrentCultureDto.ts +17 -0
  26. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_CurrentUserDto.ts +22 -0
  27. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_DateTimeFormatDto.ts +14 -0
  28. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_IanaTimeZone.ts +8 -0
  29. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_EntityExtensionDto.ts +10 -0
  30. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionEnumDto.ts +10 -0
  31. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionEnumFieldDto.ts +9 -0
  32. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiCreateDto.ts +8 -0
  33. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiDto.ts +13 -0
  34. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiGetDto.ts +8 -0
  35. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiUpdateDto.ts +8 -0
  36. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyAttributeDto.ts +9 -0
  37. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyDto.ts +19 -0
  38. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiDto.ts +14 -0
  39. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiFormDto.ts +8 -0
  40. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiLookupDto.ts +12 -0
  41. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiTableDto.ts +8 -0
  42. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_LocalizableStringDto.ts +9 -0
  43. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ModuleExtensionDto.ts +10 -0
  44. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ObjectExtensionsDto.ts +11 -0
  45. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_TimeZone.ts +11 -0
  46. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_TimingDto.ts +9 -0
  47. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_WindowsTimeZone.ts +8 -0
  48. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_MultiTenancy_CurrentTenantDto.ts +10 -0
  49. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_MultiTenancy_FindTenantResultDto.ts +11 -0
  50. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_MultiTenancy_MultiTenancyInfoDto.ts +8 -0
  51. package/AdministrationService/models/Volo_Abp_AuditLogging_AuditLogActionDto.ts +16 -0
  52. package/AdministrationService/models/Volo_Abp_AuditLogging_AuditLogDto.ts +33 -0
  53. package/AdministrationService/models/Volo_Abp_AuditLogging_EntityChangeDto.ts +18 -0
  54. package/AdministrationService/models/Volo_Abp_AuditLogging_EntityChangeWithUsernameDto.ts +10 -0
  55. package/AdministrationService/models/Volo_Abp_AuditLogging_EntityPropertyChangeDto.ts +14 -0
  56. package/AdministrationService/models/Volo_Abp_AuditLogging_GetAverageExecutionDurationPerDayOutput.ts +8 -0
  57. package/AdministrationService/models/Volo_Abp_AuditLogging_GetErrorRateOutput.ts +8 -0
  58. package/AdministrationService/models/Volo_Abp_Auditing_EntityChangeType.ts +9 -0
  59. package/AdministrationService/models/Volo_Abp_FeatureManagement_FeatureDto.ts +17 -0
  60. package/AdministrationService/models/Volo_Abp_FeatureManagement_FeatureGroupDto.ts +11 -0
  61. package/AdministrationService/models/Volo_Abp_FeatureManagement_FeatureProviderDto.ts +9 -0
  62. package/AdministrationService/models/Volo_Abp_FeatureManagement_GetFeatureListResultDto.ts +9 -0
  63. package/AdministrationService/models/Volo_Abp_FeatureManagement_UpdateFeatureDto.ts +9 -0
  64. package/AdministrationService/models/Volo_Abp_FeatureManagement_UpdateFeaturesDto.ts +9 -0
  65. package/AdministrationService/models/Volo_Abp_Gdpr_DownloadTokenResultDto.ts +8 -0
  66. package/AdministrationService/models/Volo_Abp_Gdpr_GdprRequestDto.ts +10 -0
  67. package/AdministrationService/models/Volo_Abp_Http_Modeling_ActionApiDescriptionModel.ts +20 -0
  68. package/AdministrationService/models/Volo_Abp_Http_Modeling_ApplicationApiDescriptionModel.ts +11 -0
  69. package/AdministrationService/models/Volo_Abp_Http_Modeling_ControllerApiDescriptionModel.ts +17 -0
  70. package/AdministrationService/models/Volo_Abp_Http_Modeling_ControllerInterfaceApiDescriptionModel.ts +11 -0
  71. package/AdministrationService/models/Volo_Abp_Http_Modeling_InterfaceMethodApiDescriptionModel.ts +12 -0
  72. package/AdministrationService/models/Volo_Abp_Http_Modeling_MethodParameterApiDescriptionModel.ts +13 -0
  73. package/AdministrationService/models/Volo_Abp_Http_Modeling_ModuleApiDescriptionModel.ts +11 -0
  74. package/AdministrationService/models/Volo_Abp_Http_Modeling_ParameterApiDescriptionModel.ts +17 -0
  75. package/AdministrationService/models/Volo_Abp_Http_Modeling_PropertyApiDescriptionModel.ts +17 -0
  76. package/AdministrationService/models/Volo_Abp_Http_Modeling_ReturnValueApiDescriptionModel.ts +9 -0
  77. package/AdministrationService/models/Volo_Abp_Http_Modeling_TypeApiDescriptionModel.ts +14 -0
  78. package/AdministrationService/models/Volo_Abp_Http_RemoteServiceErrorInfo.ts +13 -0
  79. package/AdministrationService/models/Volo_Abp_Http_RemoteServiceErrorResponse.ts +9 -0
  80. package/AdministrationService/models/Volo_Abp_Http_RemoteServiceValidationErrorInfo.ts +9 -0
  81. package/AdministrationService/models/Volo_Abp_LanguageManagement_Dto_CreateLanguageDto.ts +13 -0
  82. package/AdministrationService/models/Volo_Abp_LanguageManagement_Dto_CultureInfoDto.ts +9 -0
  83. package/AdministrationService/models/Volo_Abp_LanguageManagement_Dto_LanguageDto.ts +18 -0
  84. package/AdministrationService/models/Volo_Abp_LanguageManagement_Dto_LanguageResourceDto.ts +8 -0
  85. package/AdministrationService/models/Volo_Abp_LanguageManagement_Dto_LanguageTextDto.ts +13 -0
  86. package/AdministrationService/models/Volo_Abp_LanguageManagement_Dto_UpdateLanguageDto.ts +12 -0
  87. package/AdministrationService/models/Volo_Abp_Localization_LanguageInfo.ts +12 -0
  88. package/AdministrationService/models/Volo_Abp_NameValue.ts +9 -0
  89. package/AdministrationService/models/Volo_Abp_PermissionManagement_GetPermissionListResultDto.ts +10 -0
  90. package/AdministrationService/models/Volo_Abp_PermissionManagement_PermissionGrantInfoDto.ts +14 -0
  91. package/AdministrationService/models/Volo_Abp_PermissionManagement_PermissionGroupDto.ts +13 -0
  92. package/AdministrationService/models/Volo_Abp_PermissionManagement_ProviderInfoDto.ts +9 -0
  93. package/AdministrationService/models/Volo_Abp_PermissionManagement_UpdatePermissionDto.ts +9 -0
  94. package/AdministrationService/models/Volo_Abp_PermissionManagement_UpdatePermissionsDto.ts +9 -0
  95. package/AdministrationService/models/Volo_Abp_SettingManagement_EmailSettingsDto.ts +16 -0
  96. package/AdministrationService/models/Volo_Abp_SettingManagement_SendTestEmailInput.ts +11 -0
  97. package/AdministrationService/models/Volo_Abp_SettingManagement_UpdateEmailSettingsDto.ts +16 -0
  98. package/AdministrationService/models/Volo_Abp_TextTemplateManagement_TextTemplates_RestoreTemplateContentInput.ts +9 -0
  99. package/AdministrationService/models/Volo_Abp_TextTemplateManagement_TextTemplates_TemplateDefinitionDto.ts +13 -0
  100. package/AdministrationService/models/Volo_Abp_TextTemplateManagement_TextTemplates_TextTemplateContentDto.ts +10 -0
  101. package/AdministrationService/models/Volo_Abp_TextTemplateManagement_TextTemplates_UpdateTemplateContentInput.ts +10 -0
  102. package/AdministrationService/models/Volo_Abp_Validation_StringValues_IStringValueType.ts +11 -0
  103. package/AdministrationService/models/Volo_Abp_Validation_StringValues_IValueValidator.ts +9 -0
  104. package/AdministrationService/services/AbpApiDefinitionService.ts +34 -0
  105. package/AdministrationService/services/AbpApplicationConfigurationService.ts +34 -0
  106. package/AdministrationService/services/AbpApplicationLocalizationService.ts +37 -0
  107. package/AdministrationService/services/AbpTenantService.ts +58 -0
  108. package/AdministrationService/services/AuditLogsService.ts +286 -0
  109. package/AdministrationService/services/EmailSettingsService.ts +76 -0
  110. package/AdministrationService/services/FeaturesService.ts +96 -0
  111. package/AdministrationService/services/GdprRequestService.ts +152 -0
  112. package/AdministrationService/services/LanguageTextsService.ts +157 -0
  113. package/AdministrationService/services/LanguagesService.ts +257 -0
  114. package/AdministrationService/services/PermissionsService.ts +69 -0
  115. package/AdministrationService/services/TextTemplateContentsService.ts +85 -0
  116. package/AdministrationService/services/TextTemplateDefinitionsService.ts +69 -0
  117. package/AdministrationService/services/TimeZoneSettingsService.ts +70 -0
  118. package/IdentityService/IdentityServiceClient.ts +70 -0
  119. package/IdentityService/core/ApiError.ts +25 -0
  120. package/IdentityService/core/ApiRequestOptions.ts +17 -0
  121. package/IdentityService/core/ApiResult.ts +11 -0
  122. package/IdentityService/core/BaseHttpRequest.ts +14 -0
  123. package/IdentityService/core/CancelablePromise.ts +131 -0
  124. package/IdentityService/core/FetchHttpRequest.ts +26 -0
  125. package/IdentityService/core/OpenAPI.ts +32 -0
  126. package/IdentityService/core/request.ts +322 -0
  127. package/IdentityService/index.ts +133 -0
  128. package/IdentityService/models/Volo_Abp_Account_AccountExternalProviderSettingsDto.ts +9 -0
  129. package/IdentityService/models/Volo_Abp_Account_AccountRecaptchaSettingsDto.ts +14 -0
  130. package/IdentityService/models/Volo_Abp_Account_AccountSettingsDto.ts +9 -0
  131. package/IdentityService/models/Volo_Abp_Account_AccountTwoFactorSettingsDto.ts +11 -0
  132. package/IdentityService/models/Volo_Abp_Account_ExternalProviders_ExternalProviderSettings.ts +12 -0
  133. package/IdentityService/models/Volo_Abp_Account_ExternalProviders_ExternalProviderSettingsProperty.ts +9 -0
  134. package/IdentityService/models/Volo_Abp_Account_UpdateExternalProviderDto.ts +12 -0
  135. package/IdentityService/models/Volo_Abp_Application_Dtos_ListResultDto_1.ts +9 -0
  136. package/IdentityService/models/Volo_Abp_Application_Dtos_PagedResultDto_1.ts +10 -0
  137. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationAuthConfigurationDto.ts +8 -0
  138. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationConfigurationDto.ts +30 -0
  139. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationFeatureConfigurationDto.ts +8 -0
  140. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationGlobalFeatureConfigurationDto.ts +8 -0
  141. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationConfigurationDto.ts +18 -0
  142. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationDto.ts +9 -0
  143. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationResourceDto.ts +9 -0
  144. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationSettingConfigurationDto.ts +8 -0
  145. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ClockDto.ts +8 -0
  146. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_CurrentCultureDto.ts +17 -0
  147. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_CurrentUserDto.ts +22 -0
  148. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_DateTimeFormatDto.ts +14 -0
  149. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_IanaTimeZone.ts +8 -0
  150. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_EntityExtensionDto.ts +10 -0
  151. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionEnumDto.ts +10 -0
  152. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionEnumFieldDto.ts +9 -0
  153. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiCreateDto.ts +8 -0
  154. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiDto.ts +13 -0
  155. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiGetDto.ts +8 -0
  156. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiUpdateDto.ts +8 -0
  157. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyAttributeDto.ts +9 -0
  158. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyDto.ts +19 -0
  159. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiDto.ts +14 -0
  160. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiFormDto.ts +8 -0
  161. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiLookupDto.ts +12 -0
  162. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiTableDto.ts +8 -0
  163. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_LocalizableStringDto.ts +9 -0
  164. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ModuleExtensionDto.ts +10 -0
  165. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ObjectExtensionsDto.ts +11 -0
  166. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_TimeZone.ts +11 -0
  167. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_TimingDto.ts +9 -0
  168. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_WindowsTimeZone.ts +8 -0
  169. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_MultiTenancy_CurrentTenantDto.ts +10 -0
  170. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_MultiTenancy_MultiTenancyInfoDto.ts +8 -0
  171. package/IdentityService/models/Volo_Abp_Http_Modeling_ActionApiDescriptionModel.ts +20 -0
  172. package/IdentityService/models/Volo_Abp_Http_Modeling_ApplicationApiDescriptionModel.ts +11 -0
  173. package/IdentityService/models/Volo_Abp_Http_Modeling_ControllerApiDescriptionModel.ts +17 -0
  174. package/IdentityService/models/Volo_Abp_Http_Modeling_ControllerInterfaceApiDescriptionModel.ts +11 -0
  175. package/IdentityService/models/Volo_Abp_Http_Modeling_InterfaceMethodApiDescriptionModel.ts +12 -0
  176. package/IdentityService/models/Volo_Abp_Http_Modeling_MethodParameterApiDescriptionModel.ts +13 -0
  177. package/IdentityService/models/Volo_Abp_Http_Modeling_ModuleApiDescriptionModel.ts +11 -0
  178. package/IdentityService/models/Volo_Abp_Http_Modeling_ParameterApiDescriptionModel.ts +17 -0
  179. package/IdentityService/models/Volo_Abp_Http_Modeling_PropertyApiDescriptionModel.ts +17 -0
  180. package/IdentityService/models/Volo_Abp_Http_Modeling_ReturnValueApiDescriptionModel.ts +9 -0
  181. package/IdentityService/models/Volo_Abp_Http_Modeling_TypeApiDescriptionModel.ts +14 -0
  182. package/IdentityService/models/Volo_Abp_Http_RemoteServiceErrorInfo.ts +13 -0
  183. package/IdentityService/models/Volo_Abp_Http_RemoteServiceErrorResponse.ts +9 -0
  184. package/IdentityService/models/Volo_Abp_Http_RemoteServiceValidationErrorInfo.ts +9 -0
  185. package/IdentityService/models/Volo_Abp_Identity_ClaimTypeDto.ts +19 -0
  186. package/IdentityService/models/Volo_Abp_Identity_CreateClaimTypeDto.ts +15 -0
  187. package/IdentityService/models/Volo_Abp_Identity_DownloadTokenResultDto.ts +8 -0
  188. package/IdentityService/models/Volo_Abp_Identity_ExternalLoginProviderDto.ts +9 -0
  189. package/IdentityService/models/Volo_Abp_Identity_Features_IdentityProTwoFactorBehaviour.ts +9 -0
  190. package/IdentityService/models/Volo_Abp_Identity_IdentityClaimValueType.ts +10 -0
  191. package/IdentityService/models/Volo_Abp_Identity_IdentityLdapSettingsDto.ts +15 -0
  192. package/IdentityService/models/Volo_Abp_Identity_IdentityLockoutSettingsDto.ts +10 -0
  193. package/IdentityService/models/Volo_Abp_Identity_IdentityOAuthSettingsDto.ts +15 -0
  194. package/IdentityService/models/Volo_Abp_Identity_IdentityPasswordSettingsDto.ts +15 -0
  195. package/IdentityService/models/Volo_Abp_Identity_IdentityRoleClaimDto.ts +10 -0
  196. package/IdentityService/models/Volo_Abp_Identity_IdentityRoleCreateDto.ts +11 -0
  197. package/IdentityService/models/Volo_Abp_Identity_IdentityRoleDto.ts +15 -0
  198. package/IdentityService/models/Volo_Abp_Identity_IdentityRoleLookupDto.ts +9 -0
  199. package/IdentityService/models/Volo_Abp_Identity_IdentityRoleUpdateDto.ts +12 -0
  200. package/IdentityService/models/Volo_Abp_Identity_IdentitySecurityLogDto.ts +21 -0
  201. package/IdentityService/models/Volo_Abp_Identity_IdentitySettingsDto.ts +15 -0
  202. package/IdentityService/models/Volo_Abp_Identity_IdentitySignInSettingsDto.ts +10 -0
  203. package/IdentityService/models/Volo_Abp_Identity_IdentityUserClaimDto.ts +10 -0
  204. package/IdentityService/models/Volo_Abp_Identity_IdentityUserCreateDto.ts +20 -0
  205. package/IdentityService/models/Volo_Abp_Identity_IdentityUserDto.ts +35 -0
  206. package/IdentityService/models/Volo_Abp_Identity_IdentityUserSettingsDto.ts +9 -0
  207. package/IdentityService/models/Volo_Abp_Identity_IdentityUserUpdateDto.ts +19 -0
  208. package/IdentityService/models/Volo_Abp_Identity_IdentityUserUpdatePasswordInput.ts +8 -0
  209. package/IdentityService/models/Volo_Abp_Identity_IdentityUserUpdateRolesDto.ts +8 -0
  210. package/IdentityService/models/Volo_Abp_Identity_ImportExternalUserInput.ts +10 -0
  211. package/IdentityService/models/Volo_Abp_Identity_ImportUsersFromFileOutput.ts +12 -0
  212. package/IdentityService/models/Volo_Abp_Identity_ImportUsersFromFileType.ts +8 -0
  213. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitCreateDto.ts +10 -0
  214. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitDto.ts +21 -0
  215. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitLookupDto.ts +9 -0
  216. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitMoveInput.ts +8 -0
  217. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitRoleDto.ts +11 -0
  218. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitRoleInput.ts +8 -0
  219. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitUpdateDto.ts +10 -0
  220. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitUserInput.ts +8 -0
  221. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitWithDetailsDto.ts +23 -0
  222. package/IdentityService/models/Volo_Abp_Identity_UpdateClaimTypeDto.ts +16 -0
  223. package/IdentityService/models/Volo_Abp_Localization_LanguageInfo.ts +12 -0
  224. package/IdentityService/models/Volo_Abp_NameValue.ts +9 -0
  225. package/IdentityService/models/Volo_Abp_OpenIddict_Applications_Dtos_ApplicationDto.ts +29 -0
  226. package/IdentityService/models/Volo_Abp_OpenIddict_Applications_Dtos_ApplicationTokenLifetimeDto.ts +13 -0
  227. package/IdentityService/models/Volo_Abp_OpenIddict_Applications_Dtos_CreateApplicationInput.ts +28 -0
  228. package/IdentityService/models/Volo_Abp_OpenIddict_Applications_Dtos_UpdateApplicationInput.ts +28 -0
  229. package/IdentityService/models/Volo_Abp_OpenIddict_Scopes_Dtos_CreateScopeInput.ts +12 -0
  230. package/IdentityService/models/Volo_Abp_OpenIddict_Scopes_Dtos_ScopeDto.ts +14 -0
  231. package/IdentityService/models/Volo_Abp_OpenIddict_Scopes_Dtos_UpdateScopeInput.ts +12 -0
  232. package/IdentityService/models/Volo_Abp_Users_UserData.ts +18 -0
  233. package/IdentityService/services/AbpApiDefinitionService.ts +34 -0
  234. package/IdentityService/services/AbpApplicationConfigurationService.ts +34 -0
  235. package/IdentityService/services/AbpApplicationLocalizationService.ts +37 -0
  236. package/IdentityService/services/AccountSettingsService.ts +178 -0
  237. package/IdentityService/services/ApplicationsService.ts +199 -0
  238. package/IdentityService/services/ClaimTypeService.ts +149 -0
  239. package/IdentityService/services/ExternalLoginService.ts +27 -0
  240. package/IdentityService/services/OrganizationUnitService.ts +539 -0
  241. package/IdentityService/services/RoleService.ts +269 -0
  242. package/IdentityService/services/ScopesService.ts +164 -0
  243. package/IdentityService/services/SecurityLogService.ts +174 -0
  244. package/IdentityService/services/SettingsService.ts +135 -0
  245. package/IdentityService/services/UserIntegrationService.ts +144 -0
  246. package/IdentityService/services/UserLookupService.ts +120 -0
  247. package/IdentityService/services/UserService.ts +937 -0
  248. package/ProjectService/ProjectServiceClient.ts +6 -0
  249. package/ProjectService/index.ts +75 -66
  250. package/ProjectService/models/UpWithCrowdDemo_ProjectService_ProjectSectionRelations_CreateProjectSectionRelationDto.ts +10 -0
  251. package/ProjectService/models/UpWithCrowdDemo_ProjectService_ProjectSectionRelations_ProjectSectionRelationDto.ts +11 -0
  252. package/ProjectService/models/UpWithCrowdDemo_ProjectService_ProjectSectionRelations_UpdateProjectSectionRelationDto.ts +10 -0
  253. package/ProjectService/models/UpWithCrowdDemo_ProjectService_ProjectSections_CreateProjectSectionDto.ts +10 -0
  254. package/ProjectService/models/UpWithCrowdDemo_ProjectService_ProjectSections_ProjectSectionDetailDto.ts +9 -0
  255. package/ProjectService/models/UpWithCrowdDemo_ProjectService_ProjectSections_ProjectSectionDto.ts +11 -0
  256. package/ProjectService/models/UpWithCrowdDemo_ProjectService_ProjectSections_UpdateProjectSectionDto.ts +10 -0
  257. package/ProjectService/models/UpWithCrowdDemo_ProjectService_Projects_ProjectDto.ts +2 -0
  258. package/ProjectService/services/ProjectSectionRelationServiceService.ts +143 -0
  259. package/ProjectService/services/ProjectSectionServiceService.ts +143 -0
  260. package/package.json +11 -6
@@ -19,7 +19,7 @@ import type { Volo_Abp_Account_VerifyAuthenticatorCodeInput } from '../models/Vo
19
19
  import type { Volo_Abp_Account_VerifyEmailConfirmationTokenInput } from '../models/Volo_Abp_Account_VerifyEmailConfirmationTokenInput';
20
20
  import type { Volo_Abp_Account_VerifyPasswordResetTokenInput } from '../models/Volo_Abp_Account_VerifyPasswordResetTokenInput';
21
21
  import type { Volo_Abp_Application_Dtos_PagedResultDto_1 } from '../models/Volo_Abp_Application_Dtos_PagedResultDto_1';
22
- import type { Volo_Abp_Identity_IdentitySecurityLogDto_Volo_Abp_Identity_Pro_Application_Contracts_Version_8_0_4_0_Culture_neutral_PublicKeyToken_null_ } from '../models/Volo_Abp_Identity_IdentitySecurityLogDto_Volo_Abp_Identity_Pro_Application_Contracts_Version_8_0_4_0_Culture_neutral_PublicKeyToken_null_';
22
+ import type { Volo_Abp_Identity_IdentitySecurityLogDto_Volo_Abp_Identity_Pro_Application_Contracts_Version_8_0_5_0_Culture_neutral_PublicKeyToken_null_ } from '../models/Volo_Abp_Identity_IdentitySecurityLogDto_Volo_Abp_Identity_Pro_Application_Contracts_Version_8_0_5_0_Culture_neutral_PublicKeyToken_null_';
23
23
  import type { Volo_Abp_Identity_IdentityUserDto } from '../models/Volo_Abp_Identity_IdentityUserDto';
24
24
  import type { CancelablePromise } from '../core/CancelablePromise';
25
25
  import type { BaseHttpRequest } from '../core/BaseHttpRequest';
@@ -373,7 +373,7 @@ export class AccountService {
373
373
  * @param skipCount
374
374
  * @param maxResultCount
375
375
  * @param extraProperties
376
- * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<Volo_Abp_Identity_IdentitySecurityLogDto_Volo_Abp_Identity_Pro_Application_Contracts_Version_8_0_4_0_Culture_neutral_PublicKeyToken_null_> Success
376
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<Volo_Abp_Identity_IdentitySecurityLogDto_Volo_Abp_Identity_Pro_Application_Contracts_Version_8_0_5_0_Culture_neutral_PublicKeyToken_null_> Success
377
377
  * @throws ApiError
378
378
  */
379
379
  public getApiAccountSecurityLogs(
@@ -4,11 +4,11 @@
4
4
  /* eslint-disable */
5
5
  import type { Volo_Abp_Account_DelegateNewUserInput } from '../models/Volo_Abp_Account_DelegateNewUserInput';
6
6
  import type { Volo_Abp_Account_IsLinkedInput } from '../models/Volo_Abp_Account_IsLinkedInput';
7
- import type { Volo_Abp_Account_LinkUserDto_Volo_Abp_Account_Pro_Public_Application_Contracts_Version_8_0_4_0_Culture_neutral_PublicKeyToken_null_ } from '../models/Volo_Abp_Account_LinkUserDto_Volo_Abp_Account_Pro_Public_Application_Contracts_Version_8_0_4_0_Culture_neutral_PublicKeyToken_null_';
7
+ import type { Volo_Abp_Account_LinkUserDto_Volo_Abp_Account_Pro_Public_Application_Contracts_Version_8_0_5_0_Culture_neutral_PublicKeyToken_null_ } from '../models/Volo_Abp_Account_LinkUserDto_Volo_Abp_Account_Pro_Public_Application_Contracts_Version_8_0_5_0_Culture_neutral_PublicKeyToken_null_';
8
8
  import type { Volo_Abp_Account_LinkUserInput } from '../models/Volo_Abp_Account_LinkUserInput';
9
9
  import type { Volo_Abp_Account_UnLinkUserInput } from '../models/Volo_Abp_Account_UnLinkUserInput';
10
- import type { Volo_Abp_Account_UserDelegationDto_Volo_Abp_Account_Pro_Public_Application_Contracts_Version_8_0_4_0_Culture_neutral_PublicKeyToken_null_ } from '../models/Volo_Abp_Account_UserDelegationDto_Volo_Abp_Account_Pro_Public_Application_Contracts_Version_8_0_4_0_Culture_neutral_PublicKeyToken_null_';
11
- import type { Volo_Abp_Account_UserLookupDto_Volo_Abp_Account_Pro_Public_Application_Contracts_Version_8_0_4_0_Culture_neutral_PublicKeyToken_null_ } from '../models/Volo_Abp_Account_UserLookupDto_Volo_Abp_Account_Pro_Public_Application_Contracts_Version_8_0_4_0_Culture_neutral_PublicKeyToken_null_';
10
+ import type { Volo_Abp_Account_UserDelegationDto_Volo_Abp_Account_Pro_Public_Application_Contracts_Version_8_0_5_0_Culture_neutral_PublicKeyToken_null_ } from '../models/Volo_Abp_Account_UserDelegationDto_Volo_Abp_Account_Pro_Public_Application_Contracts_Version_8_0_5_0_Culture_neutral_PublicKeyToken_null_';
11
+ import type { Volo_Abp_Account_UserLookupDto_Volo_Abp_Account_Pro_Public_Application_Contracts_Version_8_0_5_0_Culture_neutral_PublicKeyToken_null_ } from '../models/Volo_Abp_Account_UserLookupDto_Volo_Abp_Account_Pro_Public_Application_Contracts_Version_8_0_5_0_Culture_neutral_PublicKeyToken_null_';
12
12
  import type { Volo_Abp_Account_VerifyLinkLoginTokenInput } from '../models/Volo_Abp_Account_VerifyLinkLoginTokenInput';
13
13
  import type { Volo_Abp_Account_VerifyLinkTokenInput } from '../models/Volo_Abp_Account_VerifyLinkTokenInput';
14
14
  import type { Volo_Abp_Application_Dtos_ListResultDto_1 } from '../models/Volo_Abp_Application_Dtos_ListResultDto_1';
@@ -168,7 +168,7 @@ export class UserService {
168
168
  });
169
169
  }
170
170
  /**
171
- * @returns Volo_Abp_Application_Dtos_ListResultDto_1<Volo_Abp_Account_LinkUserDto_Volo_Abp_Account_Pro_Public_Application_Contracts_Version_8_0_4_0_Culture_neutral_PublicKeyToken_null_> Success
171
+ * @returns Volo_Abp_Application_Dtos_ListResultDto_1<Volo_Abp_Account_LinkUserDto_Volo_Abp_Account_Pro_Public_Application_Contracts_Version_8_0_5_0_Culture_neutral_PublicKeyToken_null_> Success
172
172
  * @throws ApiError
173
173
  */
174
174
  public getApiAccountLinkUser(): CancelablePromise<Volo_Abp_Application_Dtos_ListResultDto_1> {
@@ -186,7 +186,7 @@ export class UserService {
186
186
  });
187
187
  }
188
188
  /**
189
- * @returns Volo_Abp_Application_Dtos_ListResultDto_1<Volo_Abp_Account_UserDelegationDto_Volo_Abp_Account_Pro_Public_Application_Contracts_Version_8_0_4_0_Culture_neutral_PublicKeyToken_null_> Success
189
+ * @returns Volo_Abp_Application_Dtos_ListResultDto_1<Volo_Abp_Account_UserDelegationDto_Volo_Abp_Account_Pro_Public_Application_Contracts_Version_8_0_5_0_Culture_neutral_PublicKeyToken_null_> Success
190
190
  * @throws ApiError
191
191
  */
192
192
  public getApiAccountUserDelegationDelegatedUsers(): CancelablePromise<Volo_Abp_Application_Dtos_ListResultDto_1> {
@@ -204,7 +204,7 @@ export class UserService {
204
204
  });
205
205
  }
206
206
  /**
207
- * @returns Volo_Abp_Application_Dtos_ListResultDto_1<Volo_Abp_Account_UserDelegationDto_Volo_Abp_Account_Pro_Public_Application_Contracts_Version_8_0_4_0_Culture_neutral_PublicKeyToken_null_> Success
207
+ * @returns Volo_Abp_Application_Dtos_ListResultDto_1<Volo_Abp_Account_UserDelegationDto_Volo_Abp_Account_Pro_Public_Application_Contracts_Version_8_0_5_0_Culture_neutral_PublicKeyToken_null_> Success
208
208
  * @throws ApiError
209
209
  */
210
210
  public getApiAccountUserDelegationMyDelegatedUsers(): CancelablePromise<Volo_Abp_Application_Dtos_ListResultDto_1> {
@@ -222,7 +222,7 @@ export class UserService {
222
222
  });
223
223
  }
224
224
  /**
225
- * @returns Volo_Abp_Application_Dtos_ListResultDto_1<Volo_Abp_Account_UserDelegationDto_Volo_Abp_Account_Pro_Public_Application_Contracts_Version_8_0_4_0_Culture_neutral_PublicKeyToken_null_> Success
225
+ * @returns Volo_Abp_Application_Dtos_ListResultDto_1<Volo_Abp_Account_UserDelegationDto_Volo_Abp_Account_Pro_Public_Application_Contracts_Version_8_0_5_0_Culture_neutral_PublicKeyToken_null_> Success
226
226
  * @throws ApiError
227
227
  */
228
228
  public getApiAccountUserDelegationActiveDelegations(): CancelablePromise<Volo_Abp_Application_Dtos_ListResultDto_1> {
@@ -241,7 +241,7 @@ export class UserService {
241
241
  }
242
242
  /**
243
243
  * @param userName
244
- * @returns Volo_Abp_Application_Dtos_ListResultDto_1<Volo_Abp_Account_UserLookupDto_Volo_Abp_Account_Pro_Public_Application_Contracts_Version_8_0_4_0_Culture_neutral_PublicKeyToken_null_> Success
244
+ * @returns Volo_Abp_Application_Dtos_ListResultDto_1<Volo_Abp_Account_UserLookupDto_Volo_Abp_Account_Pro_Public_Application_Contracts_Version_8_0_5_0_Culture_neutral_PublicKeyToken_null_> Success
245
245
  * @throws ApiError
246
246
  */
247
247
  public getApiAccountUserDelegationUserLookup(
@@ -0,0 +1,67 @@
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 { AuditLogsService } from './services/AuditLogsService';
13
+ import { EmailSettingsService } from './services/EmailSettingsService';
14
+ import { FeaturesService } from './services/FeaturesService';
15
+ import { GdprRequestService } from './services/GdprRequestService';
16
+ import { LanguagesService } from './services/LanguagesService';
17
+ import { LanguageTextsService } from './services/LanguageTextsService';
18
+ import { PermissionsService } from './services/PermissionsService';
19
+ import { TextTemplateContentsService } from './services/TextTemplateContentsService';
20
+ import { TextTemplateDefinitionsService } from './services/TextTemplateDefinitionsService';
21
+ import { TimeZoneSettingsService } from './services/TimeZoneSettingsService';
22
+ type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
23
+ export class AdministrationServiceClient {
24
+ public readonly abpApiDefinition: AbpApiDefinitionService;
25
+ public readonly abpApplicationConfiguration: AbpApplicationConfigurationService;
26
+ public readonly abpApplicationLocalization: AbpApplicationLocalizationService;
27
+ public readonly abpTenant: AbpTenantService;
28
+ public readonly auditLogs: AuditLogsService;
29
+ public readonly emailSettings: EmailSettingsService;
30
+ public readonly features: FeaturesService;
31
+ public readonly gdprRequest: GdprRequestService;
32
+ public readonly languages: LanguagesService;
33
+ public readonly languageTexts: LanguageTextsService;
34
+ public readonly permissions: PermissionsService;
35
+ public readonly textTemplateContents: TextTemplateContentsService;
36
+ public readonly textTemplateDefinitions: TextTemplateDefinitionsService;
37
+ public readonly timeZoneSettings: TimeZoneSettingsService;
38
+ public readonly request: BaseHttpRequest;
39
+ constructor(config?: Partial<OpenAPIConfig>, HttpRequest: HttpRequestConstructor = FetchHttpRequest) {
40
+ this.request = new HttpRequest({
41
+ BASE: config?.BASE ?? '',
42
+ VERSION: config?.VERSION ?? '1',
43
+ WITH_CREDENTIALS: config?.WITH_CREDENTIALS ?? false,
44
+ CREDENTIALS: config?.CREDENTIALS ?? 'include',
45
+ TOKEN: config?.TOKEN,
46
+ USERNAME: config?.USERNAME,
47
+ PASSWORD: config?.PASSWORD,
48
+ HEADERS: config?.HEADERS,
49
+ ENCODE_PATH: config?.ENCODE_PATH,
50
+ });
51
+ this.abpApiDefinition = new AbpApiDefinitionService(this.request);
52
+ this.abpApplicationConfiguration = new AbpApplicationConfigurationService(this.request);
53
+ this.abpApplicationLocalization = new AbpApplicationLocalizationService(this.request);
54
+ this.abpTenant = new AbpTenantService(this.request);
55
+ this.auditLogs = new AuditLogsService(this.request);
56
+ this.emailSettings = new EmailSettingsService(this.request);
57
+ this.features = new FeaturesService(this.request);
58
+ this.gdprRequest = new GdprRequestService(this.request);
59
+ this.languages = new LanguagesService(this.request);
60
+ this.languageTexts = new LanguageTextsService(this.request);
61
+ this.permissions = new PermissionsService(this.request);
62
+ this.textTemplateContents = new TextTemplateContentsService(this.request);
63
+ this.textTemplateDefinitions = new TextTemplateDefinitionsService(this.request);
64
+ this.timeZoneSettings = new TimeZoneSettingsService(this.request);
65
+ }
66
+ }
67
+
@@ -0,0 +1,25 @@
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
+ }
@@ -0,0 +1,17 @@
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
+ };
@@ -0,0 +1,11 @@
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
+ };
@@ -0,0 +1,14 @@
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
+ }
@@ -0,0 +1,131 @@
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
+ }
@@ -0,0 +1,26 @@
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
+ }
@@ -0,0 +1,32 @@
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
+ };