@ayasofyazilim/saas 0.0.71 → 0.0.73

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 (486) hide show
  1. package/.github/workflows/release.yaml +120 -114
  2. package/.github/workflows/update.yaml +52 -47
  3. package/.github/workflows/update_release.yaml +34 -0
  4. package/AccountService/AccountServiceClient.ts +68 -68
  5. package/AccountService/core/ApiRequestOptions.ts +12 -12
  6. package/AccountService/core/BaseHttpRequest.ts +9 -9
  7. package/AccountService/core/FetchHttpRequest.ts +21 -21
  8. package/AccountService/core/OpenAPI.ts +55 -55
  9. package/AccountService/core/request.ts +340 -340
  10. package/AccountService/index.ts +8 -8
  11. package/AccountService/models/Volo_Abp_Account_AccountExternalProviderSettingsDto.ts +9 -9
  12. package/AccountService/models/Volo_Abp_Account_AccountRecaptchaSettingsDto.ts +14 -14
  13. package/AccountService/models/Volo_Abp_Account_AccountSettingsDto.ts +9 -9
  14. package/AccountService/models/Volo_Abp_Account_AccountTwoFactorSettingsDto.ts +11 -11
  15. package/AccountService/models/Volo_Abp_Account_AuthenticatorInfoDto.ts +9 -9
  16. package/AccountService/models/Volo_Abp_Account_ChangePasswordInput.ts +9 -9
  17. package/AccountService/models/Volo_Abp_Account_ConfirmEmailInput.ts +9 -9
  18. package/AccountService/models/Volo_Abp_Account_ConfirmPhoneNumberInput.ts +9 -9
  19. package/AccountService/models/Volo_Abp_Account_DelegateNewUserInput.ts +10 -10
  20. package/AccountService/models/Volo_Abp_Account_ExternalProviders_ExternalProviderDto.ts +9 -9
  21. package/AccountService/models/Volo_Abp_Account_ExternalProviders_ExternalProviderItemDto.ts +11 -11
  22. package/AccountService/models/Volo_Abp_Account_ExternalProviders_ExternalProviderItemWithSecretDto.ts +13 -13
  23. package/AccountService/models/Volo_Abp_Account_ExternalProviders_ExternalProviderSettings.ts +12 -12
  24. package/AccountService/models/Volo_Abp_Account_ExternalProviders_ExternalProviderSettingsProperty.ts +9 -9
  25. package/AccountService/models/Volo_Abp_Account_IdentityUserConfirmationStateDto.ts +9 -9
  26. package/AccountService/models/Volo_Abp_Account_IsLinkedInput.ts +9 -9
  27. package/AccountService/models/Volo_Abp_Account_LinkUserDto.ts +12 -12
  28. package/AccountService/models/Volo_Abp_Account_LinkUserInput.ts +10 -10
  29. package/AccountService/models/Volo_Abp_Account_ProfileDto.ts +20 -20
  30. package/AccountService/models/Volo_Abp_Account_ProfilePictureSourceDto.ts +11 -11
  31. package/AccountService/models/Volo_Abp_Account_ProfilePictureType.ts +9 -9
  32. package/AccountService/models/Volo_Abp_Account_Public_Web_Areas_Account_Controllers_Models_AbpLoginResult.ts +10 -10
  33. package/AccountService/models/Volo_Abp_Account_Public_Web_Areas_Account_Controllers_Models_LinkUserLoginInfo.ts +9 -9
  34. package/AccountService/models/Volo_Abp_Account_Public_Web_Areas_Account_Controllers_Models_LoginResultType.ts +12 -12
  35. package/AccountService/models/Volo_Abp_Account_Public_Web_Areas_Account_Controllers_Models_UserLoginInfo.ts +11 -11
  36. package/AccountService/models/Volo_Abp_Account_RegisterDto.ts +15 -15
  37. package/AccountService/models/Volo_Abp_Account_ResetPasswordDto.ts +10 -10
  38. package/AccountService/models/Volo_Abp_Account_SendEmailConfirmationTokenDto.ts +11 -11
  39. package/AccountService/models/Volo_Abp_Account_SendPasswordResetCodeDto.ts +11 -11
  40. package/AccountService/models/Volo_Abp_Account_SendPhoneNumberConfirmationTokenDto.ts +9 -9
  41. package/AccountService/models/Volo_Abp_Account_SendTwoFactorCodeInput.ts +10 -10
  42. package/AccountService/models/Volo_Abp_Account_UnLinkUserInput.ts +9 -9
  43. package/AccountService/models/Volo_Abp_Account_UpdateExternalProviderDto.ts +12 -12
  44. package/AccountService/models/Volo_Abp_Account_UpdateProfileDto.ts +15 -15
  45. package/AccountService/models/Volo_Abp_Account_UserDelegationDto.ts +11 -11
  46. package/AccountService/models/Volo_Abp_Account_UserLookupDto.ts +9 -9
  47. package/AccountService/models/Volo_Abp_Account_VerifyAuthenticatorCodeDto.ts +8 -8
  48. package/AccountService/models/Volo_Abp_Account_VerifyAuthenticatorCodeInput.ts +8 -8
  49. package/AccountService/models/Volo_Abp_Account_VerifyEmailConfirmationTokenInput.ts +9 -9
  50. package/AccountService/models/Volo_Abp_Account_VerifyLinkLoginTokenInput.ts +10 -10
  51. package/AccountService/models/Volo_Abp_Account_VerifyLinkTokenInput.ts +10 -10
  52. package/AccountService/models/Volo_Abp_Account_VerifyPasswordResetTokenInput.ts +9 -9
  53. package/AccountService/models/Volo_Abp_Application_Dtos_ListResultDto_1.ts +9 -9
  54. package/AccountService/models/Volo_Abp_Application_Dtos_PagedResultDto_1.ts +10 -10
  55. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationAuthConfigurationDto.ts +8 -8
  56. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationConfigurationDto.ts +30 -30
  57. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationFeatureConfigurationDto.ts +8 -8
  58. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationGlobalFeatureConfigurationDto.ts +8 -8
  59. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationConfigurationDto.ts +18 -18
  60. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationDto.ts +9 -9
  61. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationResourceDto.ts +9 -9
  62. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationSettingConfigurationDto.ts +8 -8
  63. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ClockDto.ts +8 -8
  64. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_CurrentCultureDto.ts +17 -17
  65. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_CurrentUserDto.ts +22 -22
  66. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_DateTimeFormatDto.ts +14 -14
  67. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_IanaTimeZone.ts +8 -8
  68. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_EntityExtensionDto.ts +10 -10
  69. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionEnumDto.ts +10 -10
  70. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionEnumFieldDto.ts +9 -9
  71. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiCreateDto.ts +8 -8
  72. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiDto.ts +13 -13
  73. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiGetDto.ts +8 -8
  74. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiUpdateDto.ts +8 -8
  75. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyAttributeDto.ts +9 -9
  76. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyDto.ts +19 -19
  77. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiDto.ts +14 -14
  78. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiFormDto.ts +8 -8
  79. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiLookupDto.ts +12 -12
  80. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiTableDto.ts +8 -8
  81. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_LocalizableStringDto.ts +9 -9
  82. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ModuleExtensionDto.ts +10 -10
  83. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ObjectExtensionsDto.ts +11 -11
  84. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_TimeZone.ts +11 -11
  85. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_TimingDto.ts +9 -9
  86. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_WindowsTimeZone.ts +8 -8
  87. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_MultiTenancy_CurrentTenantDto.ts +10 -10
  88. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_MultiTenancy_FindTenantResultDto.ts +11 -11
  89. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_MultiTenancy_MultiTenancyInfoDto.ts +8 -8
  90. package/AccountService/models/Volo_Abp_Http_Modeling_ActionApiDescriptionModel.ts +20 -20
  91. package/AccountService/models/Volo_Abp_Http_Modeling_ApplicationApiDescriptionModel.ts +11 -11
  92. package/AccountService/models/Volo_Abp_Http_Modeling_ControllerApiDescriptionModel.ts +17 -17
  93. package/AccountService/models/Volo_Abp_Http_Modeling_ControllerInterfaceApiDescriptionModel.ts +11 -11
  94. package/AccountService/models/Volo_Abp_Http_Modeling_InterfaceMethodApiDescriptionModel.ts +12 -12
  95. package/AccountService/models/Volo_Abp_Http_Modeling_MethodParameterApiDescriptionModel.ts +13 -13
  96. package/AccountService/models/Volo_Abp_Http_Modeling_ModuleApiDescriptionModel.ts +11 -11
  97. package/AccountService/models/Volo_Abp_Http_Modeling_ParameterApiDescriptionModel.ts +17 -17
  98. package/AccountService/models/Volo_Abp_Http_Modeling_PropertyApiDescriptionModel.ts +17 -17
  99. package/AccountService/models/Volo_Abp_Http_Modeling_ReturnValueApiDescriptionModel.ts +9 -9
  100. package/AccountService/models/Volo_Abp_Http_Modeling_TypeApiDescriptionModel.ts +14 -14
  101. package/AccountService/models/Volo_Abp_Http_RemoteServiceErrorInfo.ts +13 -13
  102. package/AccountService/models/Volo_Abp_Http_RemoteServiceErrorResponse.ts +9 -9
  103. package/AccountService/models/Volo_Abp_Http_RemoteServiceValidationErrorInfo.ts +9 -9
  104. package/AccountService/models/Volo_Abp_Identity_Features_IdentityProTwoFactorBehaviour.ts +9 -9
  105. package/AccountService/models/Volo_Abp_Identity_IdentitySecurityLogDto.ts +21 -21
  106. package/AccountService/models/Volo_Abp_Identity_IdentityUserDto.ts +35 -35
  107. package/AccountService/models/Volo_Abp_Localization_LanguageInfo.ts +12 -12
  108. package/AccountService/models/Volo_Abp_NameValue.ts +9 -9
  109. package/AccountService/schemas.gen.ts +5333 -5333
  110. package/AccountService/services/AbpApiDefinitionService.ts +34 -34
  111. package/AccountService/services/AbpApplicationConfigurationService.ts +34 -34
  112. package/AccountService/services/AbpApplicationLocalizationService.ts +37 -37
  113. package/AccountService/services/AbpTenantService.ts +58 -58
  114. package/AccountService/services/AccountExternalProviderService.ts +56 -56
  115. package/AccountService/services/AccountService.ts +545 -545
  116. package/AccountService/services/AccountSettingsService.ts +178 -178
  117. package/AccountService/services/DynamicClaimsService.ts +27 -27
  118. package/AccountService/services/LoginService.ts +99 -99
  119. package/AccountService/services/ProfileService.ts +155 -155
  120. package/AccountService/services/UserService.ts +313 -313
  121. package/AccountService/services.gen.ts +1539 -1539
  122. package/AccountService/types.gen.ts +3328 -3328
  123. package/AdministrationService/AdministrationServiceClient.ts +80 -77
  124. package/AdministrationService/core/ApiRequestOptions.ts +12 -12
  125. package/AdministrationService/core/BaseHttpRequest.ts +9 -9
  126. package/AdministrationService/core/FetchHttpRequest.ts +21 -21
  127. package/AdministrationService/core/OpenAPI.ts +55 -55
  128. package/AdministrationService/core/request.ts +340 -340
  129. package/AdministrationService/index.ts +8 -8
  130. package/AdministrationService/models/System_Net_HttpStatusCode.ts +67 -67
  131. package/AdministrationService/models/Volo_Abp_Application_Dtos_ListResultDto_1.ts +9 -9
  132. package/AdministrationService/models/Volo_Abp_Application_Dtos_PagedResultDto_1.ts +10 -10
  133. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationAuthConfigurationDto.ts +8 -8
  134. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationConfigurationDto.ts +30 -30
  135. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationFeatureConfigurationDto.ts +8 -8
  136. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationGlobalFeatureConfigurationDto.ts +8 -8
  137. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationConfigurationDto.ts +18 -18
  138. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationDto.ts +9 -9
  139. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationResourceDto.ts +9 -9
  140. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationSettingConfigurationDto.ts +8 -8
  141. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ClockDto.ts +8 -8
  142. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_CurrentCultureDto.ts +17 -17
  143. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_CurrentUserDto.ts +22 -22
  144. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_DateTimeFormatDto.ts +14 -14
  145. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_IanaTimeZone.ts +8 -8
  146. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_EntityExtensionDto.ts +10 -10
  147. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionEnumDto.ts +10 -10
  148. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionEnumFieldDto.ts +9 -9
  149. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiCreateDto.ts +8 -8
  150. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiDto.ts +13 -13
  151. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiGetDto.ts +8 -8
  152. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiUpdateDto.ts +8 -8
  153. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyAttributeDto.ts +9 -9
  154. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyDto.ts +19 -19
  155. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiDto.ts +14 -14
  156. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiFormDto.ts +8 -8
  157. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiLookupDto.ts +12 -12
  158. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiTableDto.ts +8 -8
  159. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_LocalizableStringDto.ts +9 -9
  160. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ModuleExtensionDto.ts +10 -10
  161. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ObjectExtensionsDto.ts +11 -11
  162. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_TimeZone.ts +11 -11
  163. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_TimingDto.ts +9 -9
  164. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_WindowsTimeZone.ts +8 -8
  165. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_MultiTenancy_CurrentTenantDto.ts +10 -10
  166. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_MultiTenancy_FindTenantResultDto.ts +11 -11
  167. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_MultiTenancy_MultiTenancyInfoDto.ts +8 -8
  168. package/AdministrationService/models/Volo_Abp_AuditLogging_AuditLogActionDto.ts +16 -16
  169. package/AdministrationService/models/Volo_Abp_AuditLogging_AuditLogDto.ts +33 -33
  170. package/AdministrationService/models/Volo_Abp_AuditLogging_EntityChangeDto.ts +18 -18
  171. package/AdministrationService/models/Volo_Abp_AuditLogging_EntityChangeWithUsernameDto.ts +10 -10
  172. package/AdministrationService/models/Volo_Abp_AuditLogging_EntityPropertyChangeDto.ts +14 -14
  173. package/AdministrationService/models/Volo_Abp_AuditLogging_GetAverageExecutionDurationPerDayOutput.ts +8 -8
  174. package/AdministrationService/models/Volo_Abp_AuditLogging_GetErrorRateOutput.ts +8 -8
  175. package/AdministrationService/models/Volo_Abp_Auditing_EntityChangeType.ts +9 -9
  176. package/AdministrationService/models/Volo_Abp_FeatureManagement_FeatureDto.ts +17 -17
  177. package/AdministrationService/models/Volo_Abp_FeatureManagement_FeatureGroupDto.ts +11 -11
  178. package/AdministrationService/models/Volo_Abp_FeatureManagement_FeatureProviderDto.ts +9 -9
  179. package/AdministrationService/models/Volo_Abp_FeatureManagement_GetFeatureListResultDto.ts +9 -9
  180. package/AdministrationService/models/Volo_Abp_FeatureManagement_UpdateFeatureDto.ts +9 -9
  181. package/AdministrationService/models/Volo_Abp_FeatureManagement_UpdateFeaturesDto.ts +9 -9
  182. package/AdministrationService/models/Volo_Abp_Gdpr_DownloadTokenResultDto.ts +8 -8
  183. package/AdministrationService/models/Volo_Abp_Gdpr_GdprRequestDto.ts +10 -10
  184. package/AdministrationService/models/Volo_Abp_Http_Modeling_ActionApiDescriptionModel.ts +20 -20
  185. package/AdministrationService/models/Volo_Abp_Http_Modeling_ApplicationApiDescriptionModel.ts +11 -11
  186. package/AdministrationService/models/Volo_Abp_Http_Modeling_ControllerApiDescriptionModel.ts +17 -17
  187. package/AdministrationService/models/Volo_Abp_Http_Modeling_ControllerInterfaceApiDescriptionModel.ts +11 -11
  188. package/AdministrationService/models/Volo_Abp_Http_Modeling_InterfaceMethodApiDescriptionModel.ts +12 -12
  189. package/AdministrationService/models/Volo_Abp_Http_Modeling_MethodParameterApiDescriptionModel.ts +13 -13
  190. package/AdministrationService/models/Volo_Abp_Http_Modeling_ModuleApiDescriptionModel.ts +11 -11
  191. package/AdministrationService/models/Volo_Abp_Http_Modeling_ParameterApiDescriptionModel.ts +17 -17
  192. package/AdministrationService/models/Volo_Abp_Http_Modeling_PropertyApiDescriptionModel.ts +17 -17
  193. package/AdministrationService/models/Volo_Abp_Http_Modeling_ReturnValueApiDescriptionModel.ts +9 -9
  194. package/AdministrationService/models/Volo_Abp_Http_Modeling_TypeApiDescriptionModel.ts +14 -14
  195. package/AdministrationService/models/Volo_Abp_Http_RemoteServiceErrorInfo.ts +13 -13
  196. package/AdministrationService/models/Volo_Abp_Http_RemoteServiceErrorResponse.ts +9 -9
  197. package/AdministrationService/models/Volo_Abp_Http_RemoteServiceValidationErrorInfo.ts +9 -9
  198. package/AdministrationService/models/Volo_Abp_LanguageManagement_Dto_CreateLanguageDto.ts +13 -13
  199. package/AdministrationService/models/Volo_Abp_LanguageManagement_Dto_CultureInfoDto.ts +9 -9
  200. package/AdministrationService/models/Volo_Abp_LanguageManagement_Dto_LanguageDto.ts +18 -18
  201. package/AdministrationService/models/Volo_Abp_LanguageManagement_Dto_LanguageResourceDto.ts +8 -8
  202. package/AdministrationService/models/Volo_Abp_LanguageManagement_Dto_LanguageTextDto.ts +13 -13
  203. package/AdministrationService/models/Volo_Abp_LanguageManagement_Dto_UpdateLanguageDto.ts +12 -12
  204. package/AdministrationService/models/Volo_Abp_Localization_LanguageInfo.ts +12 -12
  205. package/AdministrationService/models/Volo_Abp_NameValue.ts +9 -9
  206. package/AdministrationService/models/Volo_Abp_PermissionManagement_GetPermissionListResultDto.ts +10 -10
  207. package/AdministrationService/models/Volo_Abp_PermissionManagement_PermissionGrantInfoDto.ts +14 -14
  208. package/AdministrationService/models/Volo_Abp_PermissionManagement_PermissionGroupDto.ts +13 -13
  209. package/AdministrationService/models/Volo_Abp_PermissionManagement_ProviderInfoDto.ts +9 -9
  210. package/AdministrationService/models/Volo_Abp_PermissionManagement_UpdatePermissionDto.ts +9 -9
  211. package/AdministrationService/models/Volo_Abp_PermissionManagement_UpdatePermissionsDto.ts +9 -9
  212. package/AdministrationService/models/Volo_Abp_SettingManagement_EmailSettingsDto.ts +16 -16
  213. package/AdministrationService/models/Volo_Abp_SettingManagement_SendTestEmailInput.ts +11 -11
  214. package/AdministrationService/models/Volo_Abp_SettingManagement_UpdateEmailSettingsDto.ts +16 -16
  215. package/AdministrationService/models/Volo_Abp_TextTemplateManagement_TextTemplates_RestoreTemplateContentInput.ts +9 -9
  216. package/AdministrationService/models/Volo_Abp_TextTemplateManagement_TextTemplates_TemplateDefinitionDto.ts +13 -13
  217. package/AdministrationService/models/Volo_Abp_TextTemplateManagement_TextTemplates_TextTemplateContentDto.ts +10 -10
  218. package/AdministrationService/models/Volo_Abp_TextTemplateManagement_TextTemplates_UpdateTemplateContentInput.ts +10 -10
  219. package/AdministrationService/models/Volo_Abp_Validation_StringValues_IStringValueType.ts +11 -11
  220. package/AdministrationService/models/Volo_Abp_Validation_StringValues_IValueValidator.ts +9 -9
  221. package/AdministrationService/schemas.gen.ts +6721 -5987
  222. package/AdministrationService/services/AbpApiDefinitionService.ts +34 -34
  223. package/AdministrationService/services/AbpApplicationConfigurationService.ts +34 -34
  224. package/AdministrationService/services/AbpApplicationLocalizationService.ts +37 -37
  225. package/AdministrationService/services/AbpTenantService.ts +58 -58
  226. package/AdministrationService/services/AuditLogsService.ts +286 -286
  227. package/AdministrationService/services/EmailSettingsService.ts +76 -76
  228. package/AdministrationService/services/FeaturesService.ts +96 -96
  229. package/AdministrationService/services/GdprRequestService.ts +152 -152
  230. package/AdministrationService/services/LanguageTextsService.ts +157 -157
  231. package/AdministrationService/services/LanguagesService.ts +257 -257
  232. package/AdministrationService/services/PermissionsService.ts +69 -69
  233. package/AdministrationService/services/TextTemplateContentsService.ts +85 -85
  234. package/AdministrationService/services/TextTemplateDefinitionsService.ts +69 -69
  235. package/AdministrationService/services/TimeZoneSettingsService.ts +70 -70
  236. package/AdministrationService/services.gen.ts +1470 -1404
  237. package/AdministrationService/types.gen.ts +3034 -2851
  238. package/BackerService/core/ApiRequestOptions.ts +12 -12
  239. package/BackerService/core/BaseHttpRequest.ts +9 -9
  240. package/BackerService/core/FetchHttpRequest.ts +21 -21
  241. package/BackerService/core/OpenAPI.ts +55 -55
  242. package/BackerService/core/request.ts +340 -340
  243. package/BackerService/index.ts +8 -8
  244. package/BackerService/services.gen.ts +866 -866
  245. package/BackerService/types.gen.ts +2170 -2170
  246. package/CRMService/CRMServiceClient.ts +65 -65
  247. package/CRMService/schemas.gen.ts +18542 -18542
  248. package/CRMService/services.gen.ts +2636 -2636
  249. package/CRMService/types.gen.ts +5238 -5238
  250. package/ContractService/schemas.gen.ts +11791 -11791
  251. package/ContractService/services.gen.ts +1962 -1962
  252. package/ContractService/types.gen.ts +4257 -4257
  253. package/ExportValidationService/ExportValidationServiceClient.ts +44 -44
  254. package/ExportValidationService/core/ApiError.ts +20 -20
  255. package/ExportValidationService/core/ApiRequestOptions.ts +12 -12
  256. package/ExportValidationService/core/ApiResult.ts +6 -6
  257. package/ExportValidationService/core/BaseHttpRequest.ts +9 -9
  258. package/ExportValidationService/core/CancelablePromise.ts +125 -125
  259. package/ExportValidationService/core/FetchHttpRequest.ts +21 -21
  260. package/ExportValidationService/core/OpenAPI.ts +55 -55
  261. package/ExportValidationService/core/request.ts +340 -340
  262. package/ExportValidationService/index.ts +8 -8
  263. package/ExportValidationService/schemas.gen.ts +3998 -3998
  264. package/ExportValidationService/services.gen.ts +260 -260
  265. package/ExportValidationService/types.gen.ts +818 -818
  266. package/FinanceService/FinanceServiceClient.ts +44 -44
  267. package/FinanceService/core/ApiError.ts +20 -20
  268. package/FinanceService/core/ApiRequestOptions.ts +12 -12
  269. package/FinanceService/core/ApiResult.ts +6 -6
  270. package/FinanceService/core/BaseHttpRequest.ts +9 -9
  271. package/FinanceService/core/CancelablePromise.ts +125 -125
  272. package/FinanceService/core/FetchHttpRequest.ts +21 -21
  273. package/FinanceService/core/OpenAPI.ts +55 -55
  274. package/FinanceService/core/request.ts +340 -340
  275. package/FinanceService/index.ts +8 -8
  276. package/FinanceService/schemas.gen.ts +4137 -3969
  277. package/FinanceService/services.gen.ts +224 -224
  278. package/FinanceService/types.gen.ts +778 -759
  279. package/FundraiserService/core/ApiRequestOptions.ts +12 -12
  280. package/FundraiserService/core/BaseHttpRequest.ts +9 -9
  281. package/FundraiserService/core/FetchHttpRequest.ts +21 -21
  282. package/FundraiserService/core/OpenAPI.ts +55 -55
  283. package/FundraiserService/core/request.ts +340 -340
  284. package/FundraiserService/index.ts +8 -8
  285. package/FundraiserService/services.gen.ts +627 -627
  286. package/FundraiserService/types.gen.ts +1793 -1793
  287. package/IdentityService/IdentityServiceClient.ts +80 -80
  288. package/IdentityService/core/ApiRequestOptions.ts +12 -12
  289. package/IdentityService/core/BaseHttpRequest.ts +9 -9
  290. package/IdentityService/core/FetchHttpRequest.ts +21 -21
  291. package/IdentityService/core/OpenAPI.ts +55 -55
  292. package/IdentityService/core/request.ts +340 -340
  293. package/IdentityService/index.ts +8 -8
  294. package/IdentityService/models/Volo_Abp_Account_AccountExternalProviderSettingsDto.ts +9 -9
  295. package/IdentityService/models/Volo_Abp_Account_AccountRecaptchaSettingsDto.ts +14 -14
  296. package/IdentityService/models/Volo_Abp_Account_AccountSettingsDto.ts +9 -9
  297. package/IdentityService/models/Volo_Abp_Account_AccountTwoFactorSettingsDto.ts +11 -11
  298. package/IdentityService/models/Volo_Abp_Account_ExternalProviders_ExternalProviderSettings.ts +12 -12
  299. package/IdentityService/models/Volo_Abp_Account_ExternalProviders_ExternalProviderSettingsProperty.ts +9 -9
  300. package/IdentityService/models/Volo_Abp_Account_UpdateExternalProviderDto.ts +12 -12
  301. package/IdentityService/models/Volo_Abp_Application_Dtos_ListResultDto_1.ts +9 -9
  302. package/IdentityService/models/Volo_Abp_Application_Dtos_PagedResultDto_1.ts +10 -10
  303. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationAuthConfigurationDto.ts +8 -8
  304. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationConfigurationDto.ts +30 -30
  305. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationFeatureConfigurationDto.ts +8 -8
  306. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationGlobalFeatureConfigurationDto.ts +8 -8
  307. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationConfigurationDto.ts +18 -18
  308. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationDto.ts +9 -9
  309. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationResourceDto.ts +9 -9
  310. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationSettingConfigurationDto.ts +8 -8
  311. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ClockDto.ts +8 -8
  312. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_CurrentCultureDto.ts +17 -17
  313. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_CurrentUserDto.ts +22 -22
  314. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_DateTimeFormatDto.ts +14 -14
  315. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_IanaTimeZone.ts +8 -8
  316. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_EntityExtensionDto.ts +10 -10
  317. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionEnumDto.ts +10 -10
  318. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionEnumFieldDto.ts +9 -9
  319. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiCreateDto.ts +8 -8
  320. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiDto.ts +13 -13
  321. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiGetDto.ts +8 -8
  322. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiUpdateDto.ts +8 -8
  323. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyAttributeDto.ts +9 -9
  324. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyDto.ts +19 -19
  325. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiDto.ts +14 -14
  326. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiFormDto.ts +8 -8
  327. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiLookupDto.ts +12 -12
  328. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiTableDto.ts +8 -8
  329. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_LocalizableStringDto.ts +9 -9
  330. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ModuleExtensionDto.ts +10 -10
  331. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ObjectExtensionsDto.ts +11 -11
  332. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_TimeZone.ts +11 -11
  333. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_TimingDto.ts +9 -9
  334. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_WindowsTimeZone.ts +8 -8
  335. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_MultiTenancy_CurrentTenantDto.ts +10 -10
  336. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_MultiTenancy_MultiTenancyInfoDto.ts +8 -8
  337. package/IdentityService/models/Volo_Abp_Http_Modeling_ActionApiDescriptionModel.ts +20 -20
  338. package/IdentityService/models/Volo_Abp_Http_Modeling_ApplicationApiDescriptionModel.ts +11 -11
  339. package/IdentityService/models/Volo_Abp_Http_Modeling_ControllerApiDescriptionModel.ts +17 -17
  340. package/IdentityService/models/Volo_Abp_Http_Modeling_ControllerInterfaceApiDescriptionModel.ts +11 -11
  341. package/IdentityService/models/Volo_Abp_Http_Modeling_InterfaceMethodApiDescriptionModel.ts +12 -12
  342. package/IdentityService/models/Volo_Abp_Http_Modeling_MethodParameterApiDescriptionModel.ts +13 -13
  343. package/IdentityService/models/Volo_Abp_Http_Modeling_ModuleApiDescriptionModel.ts +11 -11
  344. package/IdentityService/models/Volo_Abp_Http_Modeling_ParameterApiDescriptionModel.ts +17 -17
  345. package/IdentityService/models/Volo_Abp_Http_Modeling_PropertyApiDescriptionModel.ts +17 -17
  346. package/IdentityService/models/Volo_Abp_Http_Modeling_ReturnValueApiDescriptionModel.ts +9 -9
  347. package/IdentityService/models/Volo_Abp_Http_Modeling_TypeApiDescriptionModel.ts +14 -14
  348. package/IdentityService/models/Volo_Abp_Http_RemoteServiceErrorInfo.ts +13 -13
  349. package/IdentityService/models/Volo_Abp_Http_RemoteServiceErrorResponse.ts +9 -9
  350. package/IdentityService/models/Volo_Abp_Http_RemoteServiceValidationErrorInfo.ts +9 -9
  351. package/IdentityService/models/Volo_Abp_Identity_ClaimTypeDto.ts +19 -19
  352. package/IdentityService/models/Volo_Abp_Identity_CreateClaimTypeDto.ts +15 -15
  353. package/IdentityService/models/Volo_Abp_Identity_DownloadTokenResultDto.ts +8 -8
  354. package/IdentityService/models/Volo_Abp_Identity_ExternalLoginProviderDto.ts +9 -9
  355. package/IdentityService/models/Volo_Abp_Identity_Features_IdentityProTwoFactorBehaviour.ts +9 -9
  356. package/IdentityService/models/Volo_Abp_Identity_IdentityClaimValueType.ts +10 -10
  357. package/IdentityService/models/Volo_Abp_Identity_IdentityLdapSettingsDto.ts +15 -15
  358. package/IdentityService/models/Volo_Abp_Identity_IdentityLockoutSettingsDto.ts +10 -10
  359. package/IdentityService/models/Volo_Abp_Identity_IdentityOAuthSettingsDto.ts +15 -15
  360. package/IdentityService/models/Volo_Abp_Identity_IdentityPasswordSettingsDto.ts +15 -15
  361. package/IdentityService/models/Volo_Abp_Identity_IdentityRoleClaimDto.ts +10 -10
  362. package/IdentityService/models/Volo_Abp_Identity_IdentityRoleCreateDto.ts +11 -11
  363. package/IdentityService/models/Volo_Abp_Identity_IdentityRoleDto.ts +15 -15
  364. package/IdentityService/models/Volo_Abp_Identity_IdentityRoleLookupDto.ts +9 -9
  365. package/IdentityService/models/Volo_Abp_Identity_IdentityRoleUpdateDto.ts +12 -12
  366. package/IdentityService/models/Volo_Abp_Identity_IdentitySecurityLogDto.ts +21 -21
  367. package/IdentityService/models/Volo_Abp_Identity_IdentitySettingsDto.ts +15 -15
  368. package/IdentityService/models/Volo_Abp_Identity_IdentitySignInSettingsDto.ts +10 -10
  369. package/IdentityService/models/Volo_Abp_Identity_IdentityUserClaimDto.ts +10 -10
  370. package/IdentityService/models/Volo_Abp_Identity_IdentityUserCreateDto.ts +20 -20
  371. package/IdentityService/models/Volo_Abp_Identity_IdentityUserDto.ts +35 -35
  372. package/IdentityService/models/Volo_Abp_Identity_IdentityUserSettingsDto.ts +9 -9
  373. package/IdentityService/models/Volo_Abp_Identity_IdentityUserUpdateDto.ts +19 -19
  374. package/IdentityService/models/Volo_Abp_Identity_IdentityUserUpdatePasswordInput.ts +8 -8
  375. package/IdentityService/models/Volo_Abp_Identity_IdentityUserUpdateRolesDto.ts +8 -8
  376. package/IdentityService/models/Volo_Abp_Identity_ImportExternalUserInput.ts +10 -10
  377. package/IdentityService/models/Volo_Abp_Identity_ImportUsersFromFileOutput.ts +12 -12
  378. package/IdentityService/models/Volo_Abp_Identity_ImportUsersFromFileType.ts +8 -8
  379. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitCreateDto.ts +10 -10
  380. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitDto.ts +21 -21
  381. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitLookupDto.ts +9 -9
  382. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitMoveInput.ts +8 -8
  383. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitRoleDto.ts +11 -11
  384. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitRoleInput.ts +8 -8
  385. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitUpdateDto.ts +10 -10
  386. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitUserInput.ts +8 -8
  387. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitWithDetailsDto.ts +23 -23
  388. package/IdentityService/models/Volo_Abp_Identity_UpdateClaimTypeDto.ts +16 -16
  389. package/IdentityService/models/Volo_Abp_Localization_LanguageInfo.ts +12 -12
  390. package/IdentityService/models/Volo_Abp_NameValue.ts +9 -9
  391. package/IdentityService/models/Volo_Abp_OpenIddict_Applications_Dtos_ApplicationDto.ts +29 -29
  392. package/IdentityService/models/Volo_Abp_OpenIddict_Applications_Dtos_ApplicationTokenLifetimeDto.ts +13 -13
  393. package/IdentityService/models/Volo_Abp_OpenIddict_Applications_Dtos_CreateApplicationInput.ts +28 -28
  394. package/IdentityService/models/Volo_Abp_OpenIddict_Applications_Dtos_UpdateApplicationInput.ts +28 -28
  395. package/IdentityService/models/Volo_Abp_OpenIddict_Scopes_Dtos_CreateScopeInput.ts +12 -12
  396. package/IdentityService/models/Volo_Abp_OpenIddict_Scopes_Dtos_ScopeDto.ts +14 -14
  397. package/IdentityService/models/Volo_Abp_OpenIddict_Scopes_Dtos_UpdateScopeInput.ts +12 -12
  398. package/IdentityService/models/Volo_Abp_Users_UserData.ts +18 -18
  399. package/IdentityService/schemas.gen.ts +6845 -6845
  400. package/IdentityService/services/AbpApiDefinitionService.ts +34 -34
  401. package/IdentityService/services/AbpApplicationConfigurationService.ts +34 -34
  402. package/IdentityService/services/AbpApplicationLocalizationService.ts +37 -37
  403. package/IdentityService/services/AccountSettingsService.ts +178 -178
  404. package/IdentityService/services/ApplicationsService.ts +199 -199
  405. package/IdentityService/services/ClaimTypeService.ts +149 -149
  406. package/IdentityService/services/ExternalLoginService.ts +27 -27
  407. package/IdentityService/services/OrganizationUnitService.ts +539 -539
  408. package/IdentityService/services/RoleService.ts +269 -269
  409. package/IdentityService/services/ScopesService.ts +164 -164
  410. package/IdentityService/services/SecurityLogService.ts +174 -174
  411. package/IdentityService/services/SettingsService.ts +135 -135
  412. package/IdentityService/services/UserIntegrationService.ts +144 -144
  413. package/IdentityService/services/UserLookupService.ts +120 -120
  414. package/IdentityService/services/UserService.ts +937 -937
  415. package/IdentityService/services.gen.ts +2924 -2924
  416. package/IdentityService/types.gen.ts +5484 -5484
  417. package/LocationService/LocationServiceClient.ts +74 -74
  418. package/LocationService/core/ApiError.ts +20 -20
  419. package/LocationService/core/ApiRequestOptions.ts +12 -12
  420. package/LocationService/core/ApiResult.ts +6 -6
  421. package/LocationService/core/BaseHttpRequest.ts +9 -9
  422. package/LocationService/core/CancelablePromise.ts +125 -125
  423. package/LocationService/core/FetchHttpRequest.ts +21 -21
  424. package/LocationService/core/OpenAPI.ts +55 -55
  425. package/LocationService/core/request.ts +340 -340
  426. package/LocationService/index.ts +8 -8
  427. package/LocationService/schemas.gen.ts +6635 -6635
  428. package/LocationService/services.gen.ts +1797 -1797
  429. package/LocationService/types.gen.ts +3738 -3738
  430. package/MerchantService/core/ApiRequestOptions.ts +12 -12
  431. package/MerchantService/core/BaseHttpRequest.ts +9 -9
  432. package/MerchantService/core/FetchHttpRequest.ts +21 -21
  433. package/MerchantService/core/OpenAPI.ts +55 -55
  434. package/MerchantService/core/request.ts +340 -340
  435. package/MerchantService/types.gen.ts +18875 -18875
  436. package/ProjectService/core/ApiRequestOptions.ts +12 -12
  437. package/ProjectService/core/BaseHttpRequest.ts +9 -9
  438. package/ProjectService/core/FetchHttpRequest.ts +21 -21
  439. package/ProjectService/core/OpenAPI.ts +55 -55
  440. package/ProjectService/core/request.ts +340 -340
  441. package/ProjectService/index.ts +8 -8
  442. package/ProjectService/services.gen.ts +492 -492
  443. package/ProjectService/types.gen.ts +1303 -1303
  444. package/README.md +38 -38
  445. package/SaasService/core/ApiRequestOptions.ts +12 -12
  446. package/SaasService/core/BaseHttpRequest.ts +9 -9
  447. package/SaasService/core/FetchHttpRequest.ts +21 -21
  448. package/SaasService/core/OpenAPI.ts +55 -55
  449. package/SaasService/core/request.ts +340 -340
  450. package/SaasService/index.ts +8 -8
  451. package/SaasService/schemas.gen.ts +5345 -5345
  452. package/SaasService/services.gen.ts +1329 -1329
  453. package/SaasService/types.gen.ts +2737 -2737
  454. package/SettingService/SettingServiceClient.ts +59 -59
  455. package/SettingService/schemas.gen.ts +5223 -5223
  456. package/SettingService/services.gen.ts +758 -758
  457. package/SettingService/types.gen.ts +1800 -1800
  458. package/TagService/TagServiceClient.ts +44 -44
  459. package/TagService/core/ApiError.ts +20 -20
  460. package/TagService/core/ApiRequestOptions.ts +12 -12
  461. package/TagService/core/ApiResult.ts +6 -6
  462. package/TagService/core/BaseHttpRequest.ts +9 -9
  463. package/TagService/core/CancelablePromise.ts +125 -125
  464. package/TagService/core/FetchHttpRequest.ts +21 -21
  465. package/TagService/core/OpenAPI.ts +55 -55
  466. package/TagService/core/request.ts +340 -340
  467. package/TagService/index.ts +8 -8
  468. package/TagService/schemas.gen.ts +5109 -5109
  469. package/TagService/services.gen.ts +361 -361
  470. package/TagService/types.gen.ts +1088 -1088
  471. package/TravellerService/TravellerServiceClient.ts +56 -56
  472. package/TravellerService/core/ApiError.ts +20 -20
  473. package/TravellerService/core/ApiRequestOptions.ts +12 -12
  474. package/TravellerService/core/ApiResult.ts +6 -6
  475. package/TravellerService/core/BaseHttpRequest.ts +9 -9
  476. package/TravellerService/core/CancelablePromise.ts +125 -125
  477. package/TravellerService/core/FetchHttpRequest.ts +21 -21
  478. package/TravellerService/core/OpenAPI.ts +55 -55
  479. package/TravellerService/core/request.ts +340 -340
  480. package/TravellerService/index.ts +8 -8
  481. package/TravellerService/schemas.gen.ts +6347 -6347
  482. package/TravellerService/services.gen.ts +845 -845
  483. package/TravellerService/types.gen.ts +2072 -2072
  484. package/generator.mjs +204 -204
  485. package/index.ts +2 -2
  486. package/package.json +28 -28
@@ -1,74 +1,74 @@
1
- import type { BaseHttpRequest } from './core/BaseHttpRequest';
2
- import type { OpenAPIConfig } from './core/OpenAPI';
3
- import { Interceptors } from './core/OpenAPI';
4
- import { FetchHttpRequest } from './core/FetchHttpRequest';
5
-
6
- import { AbpApiDefinitionService } from './services.gen';
7
- import { AbpApplicationConfigurationService } from './services.gen';
8
- import { AbpApplicationLocalizationService } from './services.gen';
9
- import { AddressCommonDataService } from './services.gen';
10
- import { CityService } from './services.gen';
11
- import { CountryService } from './services.gen';
12
- import { CountryCurrencyService } from './services.gen';
13
- import { CountryDateService } from './services.gen';
14
- import { CountryNumberService } from './services.gen';
15
- import { CountryTimeService } from './services.gen';
16
- import { DistrictService } from './services.gen';
17
- import { NeighborhoodService } from './services.gen';
18
- import { RegionService } from './services.gen';
19
- import { RegionalSettingService } from './services.gen';
20
-
21
- type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
22
-
23
- export class LocationServiceClient {
24
-
25
- public readonly abpApiDefinition: AbpApiDefinitionService;
26
- public readonly abpApplicationConfiguration: AbpApplicationConfigurationService;
27
- public readonly abpApplicationLocalization: AbpApplicationLocalizationService;
28
- public readonly addressCommonData: AddressCommonDataService;
29
- public readonly city: CityService;
30
- public readonly country: CountryService;
31
- public readonly countryCurrency: CountryCurrencyService;
32
- public readonly countryDate: CountryDateService;
33
- public readonly countryNumber: CountryNumberService;
34
- public readonly countryTime: CountryTimeService;
35
- public readonly district: DistrictService;
36
- public readonly neighborhood: NeighborhoodService;
37
- public readonly region: RegionService;
38
- public readonly regionalSetting: RegionalSettingService;
39
-
40
- public readonly request: BaseHttpRequest;
41
-
42
- constructor(config?: Partial<OpenAPIConfig>, HttpRequest: HttpRequestConstructor = FetchHttpRequest) {
43
- this.request = new HttpRequest({
44
- BASE: config?.BASE ?? '',
45
- VERSION: config?.VERSION ?? '1',
46
- WITH_CREDENTIALS: config?.WITH_CREDENTIALS ?? false,
47
- CREDENTIALS: config?.CREDENTIALS ?? 'include',
48
- TOKEN: config?.TOKEN,
49
- USERNAME: config?.USERNAME,
50
- PASSWORD: config?.PASSWORD,
51
- HEADERS: config?.HEADERS,
52
- ENCODE_PATH: config?.ENCODE_PATH,
53
- interceptors: {
54
- request: config?.interceptors?.request ?? new Interceptors(),
55
- response: config?.interceptors?.response ?? new Interceptors(),
56
- },
57
- });
58
-
59
- this.abpApiDefinition = new AbpApiDefinitionService(this.request);
60
- this.abpApplicationConfiguration = new AbpApplicationConfigurationService(this.request);
61
- this.abpApplicationLocalization = new AbpApplicationLocalizationService(this.request);
62
- this.addressCommonData = new AddressCommonDataService(this.request);
63
- this.city = new CityService(this.request);
64
- this.country = new CountryService(this.request);
65
- this.countryCurrency = new CountryCurrencyService(this.request);
66
- this.countryDate = new CountryDateService(this.request);
67
- this.countryNumber = new CountryNumberService(this.request);
68
- this.countryTime = new CountryTimeService(this.request);
69
- this.district = new DistrictService(this.request);
70
- this.neighborhood = new NeighborhoodService(this.request);
71
- this.region = new RegionService(this.request);
72
- this.regionalSetting = new RegionalSettingService(this.request);
73
- }
74
- }
1
+ import type { BaseHttpRequest } from './core/BaseHttpRequest';
2
+ import type { OpenAPIConfig } from './core/OpenAPI';
3
+ import { Interceptors } from './core/OpenAPI';
4
+ import { FetchHttpRequest } from './core/FetchHttpRequest';
5
+
6
+ import { AbpApiDefinitionService } from './services.gen';
7
+ import { AbpApplicationConfigurationService } from './services.gen';
8
+ import { AbpApplicationLocalizationService } from './services.gen';
9
+ import { AddressCommonDataService } from './services.gen';
10
+ import { CityService } from './services.gen';
11
+ import { CountryService } from './services.gen';
12
+ import { CountryCurrencyService } from './services.gen';
13
+ import { CountryDateService } from './services.gen';
14
+ import { CountryNumberService } from './services.gen';
15
+ import { CountryTimeService } from './services.gen';
16
+ import { DistrictService } from './services.gen';
17
+ import { NeighborhoodService } from './services.gen';
18
+ import { RegionService } from './services.gen';
19
+ import { RegionalSettingService } from './services.gen';
20
+
21
+ type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
22
+
23
+ export class LocationServiceClient {
24
+
25
+ public readonly abpApiDefinition: AbpApiDefinitionService;
26
+ public readonly abpApplicationConfiguration: AbpApplicationConfigurationService;
27
+ public readonly abpApplicationLocalization: AbpApplicationLocalizationService;
28
+ public readonly addressCommonData: AddressCommonDataService;
29
+ public readonly city: CityService;
30
+ public readonly country: CountryService;
31
+ public readonly countryCurrency: CountryCurrencyService;
32
+ public readonly countryDate: CountryDateService;
33
+ public readonly countryNumber: CountryNumberService;
34
+ public readonly countryTime: CountryTimeService;
35
+ public readonly district: DistrictService;
36
+ public readonly neighborhood: NeighborhoodService;
37
+ public readonly region: RegionService;
38
+ public readonly regionalSetting: RegionalSettingService;
39
+
40
+ public readonly request: BaseHttpRequest;
41
+
42
+ constructor(config?: Partial<OpenAPIConfig>, HttpRequest: HttpRequestConstructor = FetchHttpRequest) {
43
+ this.request = new HttpRequest({
44
+ BASE: config?.BASE ?? '',
45
+ VERSION: config?.VERSION ?? '1',
46
+ WITH_CREDENTIALS: config?.WITH_CREDENTIALS ?? false,
47
+ CREDENTIALS: config?.CREDENTIALS ?? 'include',
48
+ TOKEN: config?.TOKEN,
49
+ USERNAME: config?.USERNAME,
50
+ PASSWORD: config?.PASSWORD,
51
+ HEADERS: config?.HEADERS,
52
+ ENCODE_PATH: config?.ENCODE_PATH,
53
+ interceptors: {
54
+ request: config?.interceptors?.request ?? new Interceptors(),
55
+ response: config?.interceptors?.response ?? new Interceptors(),
56
+ },
57
+ });
58
+
59
+ this.abpApiDefinition = new AbpApiDefinitionService(this.request);
60
+ this.abpApplicationConfiguration = new AbpApplicationConfigurationService(this.request);
61
+ this.abpApplicationLocalization = new AbpApplicationLocalizationService(this.request);
62
+ this.addressCommonData = new AddressCommonDataService(this.request);
63
+ this.city = new CityService(this.request);
64
+ this.country = new CountryService(this.request);
65
+ this.countryCurrency = new CountryCurrencyService(this.request);
66
+ this.countryDate = new CountryDateService(this.request);
67
+ this.countryNumber = new CountryNumberService(this.request);
68
+ this.countryTime = new CountryTimeService(this.request);
69
+ this.district = new DistrictService(this.request);
70
+ this.neighborhood = new NeighborhoodService(this.request);
71
+ this.region = new RegionService(this.request);
72
+ this.regionalSetting = new RegionalSettingService(this.request);
73
+ }
74
+ }
@@ -1,21 +1,21 @@
1
- import type { ApiRequestOptions } from './ApiRequestOptions';
2
- import type { ApiResult } from './ApiResult';
3
-
4
- export class ApiError extends Error {
5
- public readonly url: string;
6
- public readonly status: number;
7
- public readonly statusText: string;
8
- public readonly body: unknown;
9
- public readonly request: ApiRequestOptions;
10
-
11
- constructor(request: ApiRequestOptions, response: ApiResult, message: string) {
12
- super(message);
13
-
14
- this.name = 'ApiError';
15
- this.url = response.url;
16
- this.status = response.status;
17
- this.statusText = response.statusText;
18
- this.body = response.body;
19
- this.request = request;
20
- }
1
+ import type { ApiRequestOptions } from './ApiRequestOptions';
2
+ import type { ApiResult } from './ApiResult';
3
+
4
+ export class ApiError extends Error {
5
+ public readonly url: string;
6
+ public readonly status: number;
7
+ public readonly statusText: string;
8
+ public readonly body: unknown;
9
+ public readonly request: ApiRequestOptions;
10
+
11
+ constructor(request: ApiRequestOptions, response: ApiResult, message: string) {
12
+ super(message);
13
+
14
+ this.name = 'ApiError';
15
+ this.url = response.url;
16
+ this.status = response.status;
17
+ this.statusText = response.statusText;
18
+ this.body = response.body;
19
+ this.request = request;
20
+ }
21
21
  }
@@ -1,13 +1,13 @@
1
- export type ApiRequestOptions = {
2
- readonly method: 'GET' | 'PUT' | 'POST' | 'DELETE' | 'OPTIONS' | 'HEAD' | 'PATCH';
3
- readonly url: string;
4
- readonly path?: Record<string, unknown>;
5
- readonly cookies?: Record<string, unknown>;
6
- readonly headers?: Record<string, unknown>;
7
- readonly query?: Record<string, unknown>;
8
- readonly formData?: Record<string, unknown>;
9
- readonly body?: any;
10
- readonly mediaType?: string;
11
- readonly responseHeader?: string;
12
- readonly errors?: Record<number, string>;
1
+ export type ApiRequestOptions = {
2
+ readonly method: 'GET' | 'PUT' | 'POST' | 'DELETE' | 'OPTIONS' | 'HEAD' | 'PATCH';
3
+ readonly url: string;
4
+ readonly path?: Record<string, unknown>;
5
+ readonly cookies?: Record<string, unknown>;
6
+ readonly headers?: Record<string, unknown>;
7
+ readonly query?: Record<string, unknown>;
8
+ readonly formData?: Record<string, unknown>;
9
+ readonly body?: any;
10
+ readonly mediaType?: string;
11
+ readonly responseHeader?: string;
12
+ readonly errors?: Record<number, string>;
13
13
  };
@@ -1,7 +1,7 @@
1
- export type ApiResult<TData = any> = {
2
- readonly body: TData;
3
- readonly ok: boolean;
4
- readonly status: number;
5
- readonly statusText: string;
6
- readonly url: string;
1
+ export type ApiResult<TData = any> = {
2
+ readonly body: TData;
3
+ readonly ok: boolean;
4
+ readonly status: number;
5
+ readonly statusText: string;
6
+ readonly url: string;
7
7
  };
@@ -1,10 +1,10 @@
1
- import type { ApiRequestOptions } from './ApiRequestOptions';
2
- import type { CancelablePromise } from './CancelablePromise';
3
- import type { OpenAPIConfig } from './OpenAPI';
4
-
5
- export abstract class BaseHttpRequest {
6
-
7
- constructor(public readonly config: OpenAPIConfig) {}
8
-
9
- public abstract request<T>(options: ApiRequestOptions): CancelablePromise<T>;
1
+ import type { ApiRequestOptions } from './ApiRequestOptions';
2
+ import type { CancelablePromise } from './CancelablePromise';
3
+ import type { OpenAPIConfig } from './OpenAPI';
4
+
5
+ export abstract class BaseHttpRequest {
6
+
7
+ constructor(public readonly config: OpenAPIConfig) {}
8
+
9
+ public abstract request<T>(options: ApiRequestOptions): CancelablePromise<T>;
10
10
  }
@@ -1,126 +1,126 @@
1
- export class CancelError extends Error {
2
- constructor(message: string) {
3
- super(message);
4
- this.name = 'CancelError';
5
- }
6
-
7
- public get isCancelled(): boolean {
8
- return true;
9
- }
10
- }
11
-
12
- export interface OnCancel {
13
- readonly isResolved: boolean;
14
- readonly isRejected: boolean;
15
- readonly isCancelled: boolean;
16
-
17
- (cancelHandler: () => void): void;
18
- }
19
-
20
- export class CancelablePromise<T> implements Promise<T> {
21
- private _isResolved: boolean;
22
- private _isRejected: boolean;
23
- private _isCancelled: boolean;
24
- readonly cancelHandlers: (() => void)[];
25
- readonly promise: Promise<T>;
26
- private _resolve?: (value: T | PromiseLike<T>) => void;
27
- private _reject?: (reason?: unknown) => void;
28
-
29
- constructor(
30
- executor: (
31
- resolve: (value: T | PromiseLike<T>) => void,
32
- reject: (reason?: unknown) => void,
33
- onCancel: OnCancel
34
- ) => void
35
- ) {
36
- this._isResolved = false;
37
- this._isRejected = false;
38
- this._isCancelled = false;
39
- this.cancelHandlers = [];
40
- this.promise = new Promise<T>((resolve, reject) => {
41
- this._resolve = resolve;
42
- this._reject = reject;
43
-
44
- const onResolve = (value: T | PromiseLike<T>): void => {
45
- if (this._isResolved || this._isRejected || this._isCancelled) {
46
- return;
47
- }
48
- this._isResolved = true;
49
- if (this._resolve) this._resolve(value);
50
- };
51
-
52
- const onReject = (reason?: unknown): void => {
53
- if (this._isResolved || this._isRejected || this._isCancelled) {
54
- return;
55
- }
56
- this._isRejected = true;
57
- if (this._reject) this._reject(reason);
58
- };
59
-
60
- const onCancel = (cancelHandler: () => void): void => {
61
- if (this._isResolved || this._isRejected || this._isCancelled) {
62
- return;
63
- }
64
- this.cancelHandlers.push(cancelHandler);
65
- };
66
-
67
- Object.defineProperty(onCancel, 'isResolved', {
68
- get: (): boolean => this._isResolved,
69
- });
70
-
71
- Object.defineProperty(onCancel, 'isRejected', {
72
- get: (): boolean => this._isRejected,
73
- });
74
-
75
- Object.defineProperty(onCancel, 'isCancelled', {
76
- get: (): boolean => this._isCancelled,
77
- });
78
-
79
- return executor(onResolve, onReject, onCancel as OnCancel);
80
- });
81
- }
82
-
83
- get [Symbol.toStringTag]() {
84
- return "Cancellable Promise";
85
- }
86
-
87
- public then<TResult1 = T, TResult2 = never>(
88
- onFulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null,
89
- onRejected?: ((reason: unknown) => TResult2 | PromiseLike<TResult2>) | null
90
- ): Promise<TResult1 | TResult2> {
91
- return this.promise.then(onFulfilled, onRejected);
92
- }
93
-
94
- public catch<TResult = never>(
95
- onRejected?: ((reason: unknown) => TResult | PromiseLike<TResult>) | null
96
- ): Promise<T | TResult> {
97
- return this.promise.catch(onRejected);
98
- }
99
-
100
- public finally(onFinally?: (() => void) | null): Promise<T> {
101
- return this.promise.finally(onFinally);
102
- }
103
-
104
- public cancel(): void {
105
- if (this._isResolved || this._isRejected || this._isCancelled) {
106
- return;
107
- }
108
- this._isCancelled = true;
109
- if (this.cancelHandlers.length) {
110
- try {
111
- for (const cancelHandler of this.cancelHandlers) {
112
- cancelHandler();
113
- }
114
- } catch (error) {
115
- console.warn('Cancellation threw an error', error);
116
- return;
117
- }
118
- }
119
- this.cancelHandlers.length = 0;
120
- if (this._reject) this._reject(new CancelError('Request aborted'));
121
- }
122
-
123
- public get isCancelled(): boolean {
124
- return this._isCancelled;
125
- }
1
+ export class CancelError extends Error {
2
+ constructor(message: string) {
3
+ super(message);
4
+ this.name = 'CancelError';
5
+ }
6
+
7
+ public get isCancelled(): boolean {
8
+ return true;
9
+ }
10
+ }
11
+
12
+ export interface OnCancel {
13
+ readonly isResolved: boolean;
14
+ readonly isRejected: boolean;
15
+ readonly isCancelled: boolean;
16
+
17
+ (cancelHandler: () => void): void;
18
+ }
19
+
20
+ export class CancelablePromise<T> implements Promise<T> {
21
+ private _isResolved: boolean;
22
+ private _isRejected: boolean;
23
+ private _isCancelled: boolean;
24
+ readonly cancelHandlers: (() => void)[];
25
+ readonly promise: Promise<T>;
26
+ private _resolve?: (value: T | PromiseLike<T>) => void;
27
+ private _reject?: (reason?: unknown) => void;
28
+
29
+ constructor(
30
+ executor: (
31
+ resolve: (value: T | PromiseLike<T>) => void,
32
+ reject: (reason?: unknown) => void,
33
+ onCancel: OnCancel
34
+ ) => void
35
+ ) {
36
+ this._isResolved = false;
37
+ this._isRejected = false;
38
+ this._isCancelled = false;
39
+ this.cancelHandlers = [];
40
+ this.promise = new Promise<T>((resolve, reject) => {
41
+ this._resolve = resolve;
42
+ this._reject = reject;
43
+
44
+ const onResolve = (value: T | PromiseLike<T>): void => {
45
+ if (this._isResolved || this._isRejected || this._isCancelled) {
46
+ return;
47
+ }
48
+ this._isResolved = true;
49
+ if (this._resolve) this._resolve(value);
50
+ };
51
+
52
+ const onReject = (reason?: unknown): void => {
53
+ if (this._isResolved || this._isRejected || this._isCancelled) {
54
+ return;
55
+ }
56
+ this._isRejected = true;
57
+ if (this._reject) this._reject(reason);
58
+ };
59
+
60
+ const onCancel = (cancelHandler: () => void): void => {
61
+ if (this._isResolved || this._isRejected || this._isCancelled) {
62
+ return;
63
+ }
64
+ this.cancelHandlers.push(cancelHandler);
65
+ };
66
+
67
+ Object.defineProperty(onCancel, 'isResolved', {
68
+ get: (): boolean => this._isResolved,
69
+ });
70
+
71
+ Object.defineProperty(onCancel, 'isRejected', {
72
+ get: (): boolean => this._isRejected,
73
+ });
74
+
75
+ Object.defineProperty(onCancel, 'isCancelled', {
76
+ get: (): boolean => this._isCancelled,
77
+ });
78
+
79
+ return executor(onResolve, onReject, onCancel as OnCancel);
80
+ });
81
+ }
82
+
83
+ get [Symbol.toStringTag]() {
84
+ return "Cancellable Promise";
85
+ }
86
+
87
+ public then<TResult1 = T, TResult2 = never>(
88
+ onFulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null,
89
+ onRejected?: ((reason: unknown) => TResult2 | PromiseLike<TResult2>) | null
90
+ ): Promise<TResult1 | TResult2> {
91
+ return this.promise.then(onFulfilled, onRejected);
92
+ }
93
+
94
+ public catch<TResult = never>(
95
+ onRejected?: ((reason: unknown) => TResult | PromiseLike<TResult>) | null
96
+ ): Promise<T | TResult> {
97
+ return this.promise.catch(onRejected);
98
+ }
99
+
100
+ public finally(onFinally?: (() => void) | null): Promise<T> {
101
+ return this.promise.finally(onFinally);
102
+ }
103
+
104
+ public cancel(): void {
105
+ if (this._isResolved || this._isRejected || this._isCancelled) {
106
+ return;
107
+ }
108
+ this._isCancelled = true;
109
+ if (this.cancelHandlers.length) {
110
+ try {
111
+ for (const cancelHandler of this.cancelHandlers) {
112
+ cancelHandler();
113
+ }
114
+ } catch (error) {
115
+ console.warn('Cancellation threw an error', error);
116
+ return;
117
+ }
118
+ }
119
+ this.cancelHandlers.length = 0;
120
+ if (this._reject) this._reject(new CancelError('Request aborted'));
121
+ }
122
+
123
+ public get isCancelled(): boolean {
124
+ return this._isCancelled;
125
+ }
126
126
  }
@@ -1,22 +1,22 @@
1
- import type { ApiRequestOptions } from './ApiRequestOptions';
2
- import { BaseHttpRequest } from './BaseHttpRequest';
3
- import type { CancelablePromise } from './CancelablePromise';
4
- import type { OpenAPIConfig } from './OpenAPI';
5
- import { request as __request } from './request';
6
-
7
- export class FetchHttpRequest extends BaseHttpRequest {
8
-
9
- constructor(config: OpenAPIConfig) {
10
- super(config);
11
- }
12
-
13
- /**
14
- * Request method
15
- * @param options The request options from the service
16
- * @returns CancelablePromise<T>
17
- * @throws ApiError
18
- */
19
- public override request<T>(options: ApiRequestOptions): CancelablePromise<T> {
20
- return __request(this.config, options);
21
- }
1
+ import type { ApiRequestOptions } from './ApiRequestOptions';
2
+ import { BaseHttpRequest } from './BaseHttpRequest';
3
+ import type { CancelablePromise } from './CancelablePromise';
4
+ import type { OpenAPIConfig } from './OpenAPI';
5
+ import { request as __request } from './request';
6
+
7
+ export class FetchHttpRequest extends BaseHttpRequest {
8
+
9
+ constructor(config: OpenAPIConfig) {
10
+ super(config);
11
+ }
12
+
13
+ /**
14
+ * Request method
15
+ * @param options The request options from the service
16
+ * @returns CancelablePromise<T>
17
+ * @throws ApiError
18
+ */
19
+ public override request<T>(options: ApiRequestOptions): CancelablePromise<T> {
20
+ return __request(this.config, options);
21
+ }
22
22
  }
@@ -1,56 +1,56 @@
1
- import type { ApiRequestOptions } from './ApiRequestOptions';
2
-
3
- type Headers = Record<string, string>;
4
- type Middleware<T> = (value: T) => T | Promise<T>;
5
- type Resolver<T> = (options: ApiRequestOptions) => Promise<T>;
6
-
7
- export class Interceptors<T> {
8
- _fns: Middleware<T>[];
9
-
10
- constructor() {
11
- this._fns = [];
12
- }
13
-
14
- eject(fn: Middleware<T>) {
15
- const index = this._fns.indexOf(fn);
16
- if (index !== -1) {
17
- this._fns = [...this._fns.slice(0, index), ...this._fns.slice(index + 1)];
18
- }
19
- }
20
-
21
- use(fn: Middleware<T>) {
22
- this._fns = [...this._fns, fn];
23
- }
24
- }
25
-
26
- export type OpenAPIConfig = {
27
- BASE: string;
28
- CREDENTIALS: 'include' | 'omit' | 'same-origin';
29
- ENCODE_PATH?: ((path: string) => string) | undefined;
30
- HEADERS?: Headers | Resolver<Headers> | undefined;
31
- PASSWORD?: string | Resolver<string> | undefined;
32
- TOKEN?: string | Resolver<string> | undefined;
33
- USERNAME?: string | Resolver<string> | undefined;
34
- VERSION: string;
35
- WITH_CREDENTIALS: boolean;
36
- interceptors: {
37
- request: Interceptors<RequestInit>;
38
- response: Interceptors<Response>;
39
- };
40
- };
41
-
42
- export const OpenAPI: OpenAPIConfig = {
43
- BASE: '',
44
- CREDENTIALS: 'include',
45
- ENCODE_PATH: undefined,
46
- HEADERS: undefined,
47
- PASSWORD: undefined,
48
- TOKEN: undefined,
49
- USERNAME: undefined,
50
- VERSION: '1',
51
- WITH_CREDENTIALS: false,
52
- interceptors: {
53
- request: new Interceptors(),
54
- response: new Interceptors(),
55
- },
1
+ import type { ApiRequestOptions } from './ApiRequestOptions';
2
+
3
+ type Headers = Record<string, string>;
4
+ type Middleware<T> = (value: T) => T | Promise<T>;
5
+ type Resolver<T> = (options: ApiRequestOptions) => Promise<T>;
6
+
7
+ export class Interceptors<T> {
8
+ _fns: Middleware<T>[];
9
+
10
+ constructor() {
11
+ this._fns = [];
12
+ }
13
+
14
+ eject(fn: Middleware<T>) {
15
+ const index = this._fns.indexOf(fn);
16
+ if (index !== -1) {
17
+ this._fns = [...this._fns.slice(0, index), ...this._fns.slice(index + 1)];
18
+ }
19
+ }
20
+
21
+ use(fn: Middleware<T>) {
22
+ this._fns = [...this._fns, fn];
23
+ }
24
+ }
25
+
26
+ export type OpenAPIConfig = {
27
+ BASE: string;
28
+ CREDENTIALS: 'include' | 'omit' | 'same-origin';
29
+ ENCODE_PATH?: ((path: string) => string) | undefined;
30
+ HEADERS?: Headers | Resolver<Headers> | undefined;
31
+ PASSWORD?: string | Resolver<string> | undefined;
32
+ TOKEN?: string | Resolver<string> | undefined;
33
+ USERNAME?: string | Resolver<string> | undefined;
34
+ VERSION: string;
35
+ WITH_CREDENTIALS: boolean;
36
+ interceptors: {
37
+ request: Interceptors<RequestInit>;
38
+ response: Interceptors<Response>;
39
+ };
40
+ };
41
+
42
+ export const OpenAPI: OpenAPIConfig = {
43
+ BASE: '',
44
+ CREDENTIALS: 'include',
45
+ ENCODE_PATH: undefined,
46
+ HEADERS: undefined,
47
+ PASSWORD: undefined,
48
+ TOKEN: undefined,
49
+ USERNAME: undefined,
50
+ VERSION: '1',
51
+ WITH_CREDENTIALS: false,
52
+ interceptors: {
53
+ request: new Interceptors(),
54
+ response: new Interceptors(),
55
+ },
56
56
  };