@ayasofyazilim/saas 0.0.100 → 0.0.102

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 (576) hide show
  1. package/.github/workflows/release.yaml +45 -45
  2. package/.github/workflows/update.yaml +93 -71
  3. package/.github/workflows/update_release.yaml +33 -33
  4. package/API_LIST.json +67 -0
  5. package/AccountService/AccountServiceClient.ts +68 -68
  6. package/AccountService/core/ApiError.ts +20 -20
  7. package/AccountService/core/ApiRequestOptions.ts +12 -12
  8. package/AccountService/core/ApiResult.ts +6 -6
  9. package/AccountService/core/BaseHttpRequest.ts +9 -9
  10. package/AccountService/core/CancelablePromise.ts +125 -125
  11. package/AccountService/core/FetchHttpRequest.ts +21 -21
  12. package/AccountService/core/OpenAPI.ts +55 -55
  13. package/AccountService/core/request.ts +340 -340
  14. package/AccountService/index.ts +8 -8
  15. package/AccountService/models/Volo_Abp_Account_AccountExternalProviderSettingsDto.ts +9 -9
  16. package/AccountService/models/Volo_Abp_Account_AccountRecaptchaSettingsDto.ts +14 -14
  17. package/AccountService/models/Volo_Abp_Account_AccountSettingsDto.ts +9 -9
  18. package/AccountService/models/Volo_Abp_Account_AccountTwoFactorSettingsDto.ts +11 -11
  19. package/AccountService/models/Volo_Abp_Account_AuthenticatorInfoDto.ts +9 -9
  20. package/AccountService/models/Volo_Abp_Account_ChangePasswordInput.ts +9 -9
  21. package/AccountService/models/Volo_Abp_Account_ConfirmEmailInput.ts +9 -9
  22. package/AccountService/models/Volo_Abp_Account_ConfirmPhoneNumberInput.ts +9 -9
  23. package/AccountService/models/Volo_Abp_Account_DelegateNewUserInput.ts +10 -10
  24. package/AccountService/models/Volo_Abp_Account_ExternalProviders_ExternalProviderDto.ts +9 -9
  25. package/AccountService/models/Volo_Abp_Account_ExternalProviders_ExternalProviderItemDto.ts +11 -11
  26. package/AccountService/models/Volo_Abp_Account_ExternalProviders_ExternalProviderItemWithSecretDto.ts +13 -13
  27. package/AccountService/models/Volo_Abp_Account_ExternalProviders_ExternalProviderSettings.ts +12 -12
  28. package/AccountService/models/Volo_Abp_Account_ExternalProviders_ExternalProviderSettingsProperty.ts +9 -9
  29. package/AccountService/models/Volo_Abp_Account_IdentityUserConfirmationStateDto.ts +9 -9
  30. package/AccountService/models/Volo_Abp_Account_IsLinkedInput.ts +9 -9
  31. package/AccountService/models/Volo_Abp_Account_LinkUserDto.ts +12 -12
  32. package/AccountService/models/Volo_Abp_Account_LinkUserInput.ts +10 -10
  33. package/AccountService/models/Volo_Abp_Account_ProfileDto.ts +20 -20
  34. package/AccountService/models/Volo_Abp_Account_ProfilePictureSourceDto.ts +11 -11
  35. package/AccountService/models/Volo_Abp_Account_ProfilePictureType.ts +9 -9
  36. package/AccountService/models/Volo_Abp_Account_Public_Web_Areas_Account_Controllers_Models_AbpLoginResult.ts +10 -10
  37. package/AccountService/models/Volo_Abp_Account_Public_Web_Areas_Account_Controllers_Models_LinkUserLoginInfo.ts +9 -9
  38. package/AccountService/models/Volo_Abp_Account_Public_Web_Areas_Account_Controllers_Models_LoginResultType.ts +12 -12
  39. package/AccountService/models/Volo_Abp_Account_Public_Web_Areas_Account_Controllers_Models_UserLoginInfo.ts +11 -11
  40. package/AccountService/models/Volo_Abp_Account_RegisterDto.ts +15 -15
  41. package/AccountService/models/Volo_Abp_Account_ResetPasswordDto.ts +10 -10
  42. package/AccountService/models/Volo_Abp_Account_SendEmailConfirmationTokenDto.ts +11 -11
  43. package/AccountService/models/Volo_Abp_Account_SendPasswordResetCodeDto.ts +11 -11
  44. package/AccountService/models/Volo_Abp_Account_SendPhoneNumberConfirmationTokenDto.ts +9 -9
  45. package/AccountService/models/Volo_Abp_Account_SendTwoFactorCodeInput.ts +10 -10
  46. package/AccountService/models/Volo_Abp_Account_UnLinkUserInput.ts +9 -9
  47. package/AccountService/models/Volo_Abp_Account_UpdateExternalProviderDto.ts +12 -12
  48. package/AccountService/models/Volo_Abp_Account_UpdateProfileDto.ts +15 -15
  49. package/AccountService/models/Volo_Abp_Account_UserDelegationDto.ts +11 -11
  50. package/AccountService/models/Volo_Abp_Account_UserLookupDto.ts +9 -9
  51. package/AccountService/models/Volo_Abp_Account_VerifyAuthenticatorCodeDto.ts +8 -8
  52. package/AccountService/models/Volo_Abp_Account_VerifyAuthenticatorCodeInput.ts +8 -8
  53. package/AccountService/models/Volo_Abp_Account_VerifyEmailConfirmationTokenInput.ts +9 -9
  54. package/AccountService/models/Volo_Abp_Account_VerifyLinkLoginTokenInput.ts +10 -10
  55. package/AccountService/models/Volo_Abp_Account_VerifyLinkTokenInput.ts +10 -10
  56. package/AccountService/models/Volo_Abp_Account_VerifyPasswordResetTokenInput.ts +9 -9
  57. package/AccountService/models/Volo_Abp_Application_Dtos_ListResultDto_1.ts +9 -9
  58. package/AccountService/models/Volo_Abp_Application_Dtos_PagedResultDto_1.ts +10 -10
  59. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationAuthConfigurationDto.ts +8 -8
  60. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationConfigurationDto.ts +30 -30
  61. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationFeatureConfigurationDto.ts +8 -8
  62. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationGlobalFeatureConfigurationDto.ts +8 -8
  63. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationConfigurationDto.ts +18 -18
  64. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationDto.ts +9 -9
  65. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationResourceDto.ts +9 -9
  66. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationSettingConfigurationDto.ts +8 -8
  67. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ClockDto.ts +8 -8
  68. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_CurrentCultureDto.ts +17 -17
  69. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_CurrentUserDto.ts +22 -22
  70. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_DateTimeFormatDto.ts +14 -14
  71. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_IanaTimeZone.ts +8 -8
  72. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_EntityExtensionDto.ts +10 -10
  73. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionEnumDto.ts +10 -10
  74. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionEnumFieldDto.ts +9 -9
  75. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiCreateDto.ts +8 -8
  76. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiDto.ts +13 -13
  77. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiGetDto.ts +8 -8
  78. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiUpdateDto.ts +8 -8
  79. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyAttributeDto.ts +9 -9
  80. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyDto.ts +19 -19
  81. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiDto.ts +14 -14
  82. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiFormDto.ts +8 -8
  83. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiLookupDto.ts +12 -12
  84. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiTableDto.ts +8 -8
  85. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_LocalizableStringDto.ts +9 -9
  86. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ModuleExtensionDto.ts +10 -10
  87. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ObjectExtensionsDto.ts +11 -11
  88. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_TimeZone.ts +11 -11
  89. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_TimingDto.ts +9 -9
  90. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_WindowsTimeZone.ts +8 -8
  91. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_MultiTenancy_CurrentTenantDto.ts +10 -10
  92. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_MultiTenancy_FindTenantResultDto.ts +11 -11
  93. package/AccountService/models/Volo_Abp_AspNetCore_Mvc_MultiTenancy_MultiTenancyInfoDto.ts +8 -8
  94. package/AccountService/models/Volo_Abp_Http_Modeling_ActionApiDescriptionModel.ts +20 -20
  95. package/AccountService/models/Volo_Abp_Http_Modeling_ApplicationApiDescriptionModel.ts +11 -11
  96. package/AccountService/models/Volo_Abp_Http_Modeling_ControllerApiDescriptionModel.ts +17 -17
  97. package/AccountService/models/Volo_Abp_Http_Modeling_ControllerInterfaceApiDescriptionModel.ts +11 -11
  98. package/AccountService/models/Volo_Abp_Http_Modeling_InterfaceMethodApiDescriptionModel.ts +12 -12
  99. package/AccountService/models/Volo_Abp_Http_Modeling_MethodParameterApiDescriptionModel.ts +13 -13
  100. package/AccountService/models/Volo_Abp_Http_Modeling_ModuleApiDescriptionModel.ts +11 -11
  101. package/AccountService/models/Volo_Abp_Http_Modeling_ParameterApiDescriptionModel.ts +17 -17
  102. package/AccountService/models/Volo_Abp_Http_Modeling_PropertyApiDescriptionModel.ts +17 -17
  103. package/AccountService/models/Volo_Abp_Http_Modeling_ReturnValueApiDescriptionModel.ts +9 -9
  104. package/AccountService/models/Volo_Abp_Http_Modeling_TypeApiDescriptionModel.ts +14 -14
  105. package/AccountService/models/Volo_Abp_Http_RemoteServiceErrorInfo.ts +13 -13
  106. package/AccountService/models/Volo_Abp_Http_RemoteServiceErrorResponse.ts +9 -9
  107. package/AccountService/models/Volo_Abp_Http_RemoteServiceValidationErrorInfo.ts +9 -9
  108. package/AccountService/models/Volo_Abp_Identity_Features_IdentityProTwoFactorBehaviour.ts +9 -9
  109. package/AccountService/models/Volo_Abp_Identity_IdentitySecurityLogDto.ts +21 -21
  110. package/AccountService/models/Volo_Abp_Identity_IdentityUserDto.ts +35 -35
  111. package/AccountService/models/Volo_Abp_Localization_LanguageInfo.ts +12 -12
  112. package/AccountService/models/Volo_Abp_NameValue.ts +9 -9
  113. package/AccountService/schemas.gen.ts +5333 -5333
  114. package/AccountService/services/AbpApiDefinitionService.ts +34 -34
  115. package/AccountService/services/AbpApplicationConfigurationService.ts +34 -34
  116. package/AccountService/services/AbpApplicationLocalizationService.ts +37 -37
  117. package/AccountService/services/AbpTenantService.ts +58 -58
  118. package/AccountService/services/AccountExternalProviderService.ts +56 -56
  119. package/AccountService/services/AccountService.ts +545 -545
  120. package/AccountService/services/AccountSettingsService.ts +178 -178
  121. package/AccountService/services/DynamicClaimsService.ts +27 -27
  122. package/AccountService/services/LoginService.ts +99 -99
  123. package/AccountService/services/ProfileService.ts +155 -155
  124. package/AccountService/services/UserService.ts +313 -313
  125. package/AccountService/services.gen.ts +1539 -1539
  126. package/AccountService/types.gen.ts +3328 -3328
  127. package/AdministrationService/AdministrationServiceClient.ts +80 -80
  128. package/AdministrationService/core/ApiError.ts +20 -20
  129. package/AdministrationService/core/ApiRequestOptions.ts +12 -12
  130. package/AdministrationService/core/ApiResult.ts +6 -6
  131. package/AdministrationService/core/BaseHttpRequest.ts +9 -9
  132. package/AdministrationService/core/CancelablePromise.ts +125 -125
  133. package/AdministrationService/core/FetchHttpRequest.ts +21 -21
  134. package/AdministrationService/core/OpenAPI.ts +55 -55
  135. package/AdministrationService/core/request.ts +340 -340
  136. package/AdministrationService/index.ts +8 -8
  137. package/AdministrationService/models/System_Net_HttpStatusCode.ts +67 -67
  138. package/AdministrationService/models/Volo_Abp_Application_Dtos_ListResultDto_1.ts +9 -9
  139. package/AdministrationService/models/Volo_Abp_Application_Dtos_PagedResultDto_1.ts +10 -10
  140. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationAuthConfigurationDto.ts +8 -8
  141. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationConfigurationDto.ts +30 -30
  142. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationFeatureConfigurationDto.ts +8 -8
  143. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationGlobalFeatureConfigurationDto.ts +8 -8
  144. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationConfigurationDto.ts +18 -18
  145. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationDto.ts +9 -9
  146. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationResourceDto.ts +9 -9
  147. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationSettingConfigurationDto.ts +8 -8
  148. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ClockDto.ts +8 -8
  149. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_CurrentCultureDto.ts +17 -17
  150. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_CurrentUserDto.ts +22 -22
  151. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_DateTimeFormatDto.ts +14 -14
  152. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_IanaTimeZone.ts +8 -8
  153. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_EntityExtensionDto.ts +10 -10
  154. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionEnumDto.ts +10 -10
  155. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionEnumFieldDto.ts +9 -9
  156. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiCreateDto.ts +8 -8
  157. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiDto.ts +13 -13
  158. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiGetDto.ts +8 -8
  159. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiUpdateDto.ts +8 -8
  160. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyAttributeDto.ts +9 -9
  161. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyDto.ts +19 -19
  162. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiDto.ts +14 -14
  163. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiFormDto.ts +8 -8
  164. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiLookupDto.ts +12 -12
  165. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiTableDto.ts +8 -8
  166. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_LocalizableStringDto.ts +9 -9
  167. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ModuleExtensionDto.ts +10 -10
  168. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ObjectExtensionsDto.ts +11 -11
  169. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_TimeZone.ts +11 -11
  170. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_TimingDto.ts +9 -9
  171. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_WindowsTimeZone.ts +8 -8
  172. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_MultiTenancy_CurrentTenantDto.ts +10 -10
  173. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_MultiTenancy_FindTenantResultDto.ts +11 -11
  174. package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_MultiTenancy_MultiTenancyInfoDto.ts +8 -8
  175. package/AdministrationService/models/Volo_Abp_AuditLogging_AuditLogActionDto.ts +16 -16
  176. package/AdministrationService/models/Volo_Abp_AuditLogging_AuditLogDto.ts +33 -33
  177. package/AdministrationService/models/Volo_Abp_AuditLogging_EntityChangeDto.ts +18 -18
  178. package/AdministrationService/models/Volo_Abp_AuditLogging_EntityChangeWithUsernameDto.ts +10 -10
  179. package/AdministrationService/models/Volo_Abp_AuditLogging_EntityPropertyChangeDto.ts +14 -14
  180. package/AdministrationService/models/Volo_Abp_AuditLogging_GetAverageExecutionDurationPerDayOutput.ts +8 -8
  181. package/AdministrationService/models/Volo_Abp_AuditLogging_GetErrorRateOutput.ts +8 -8
  182. package/AdministrationService/models/Volo_Abp_Auditing_EntityChangeType.ts +9 -9
  183. package/AdministrationService/models/Volo_Abp_FeatureManagement_FeatureDto.ts +17 -17
  184. package/AdministrationService/models/Volo_Abp_FeatureManagement_FeatureGroupDto.ts +11 -11
  185. package/AdministrationService/models/Volo_Abp_FeatureManagement_FeatureProviderDto.ts +9 -9
  186. package/AdministrationService/models/Volo_Abp_FeatureManagement_GetFeatureListResultDto.ts +9 -9
  187. package/AdministrationService/models/Volo_Abp_FeatureManagement_UpdateFeatureDto.ts +9 -9
  188. package/AdministrationService/models/Volo_Abp_FeatureManagement_UpdateFeaturesDto.ts +9 -9
  189. package/AdministrationService/models/Volo_Abp_Gdpr_DownloadTokenResultDto.ts +8 -8
  190. package/AdministrationService/models/Volo_Abp_Gdpr_GdprRequestDto.ts +10 -10
  191. package/AdministrationService/models/Volo_Abp_Http_Modeling_ActionApiDescriptionModel.ts +20 -20
  192. package/AdministrationService/models/Volo_Abp_Http_Modeling_ApplicationApiDescriptionModel.ts +11 -11
  193. package/AdministrationService/models/Volo_Abp_Http_Modeling_ControllerApiDescriptionModel.ts +17 -17
  194. package/AdministrationService/models/Volo_Abp_Http_Modeling_ControllerInterfaceApiDescriptionModel.ts +11 -11
  195. package/AdministrationService/models/Volo_Abp_Http_Modeling_InterfaceMethodApiDescriptionModel.ts +12 -12
  196. package/AdministrationService/models/Volo_Abp_Http_Modeling_MethodParameterApiDescriptionModel.ts +13 -13
  197. package/AdministrationService/models/Volo_Abp_Http_Modeling_ModuleApiDescriptionModel.ts +11 -11
  198. package/AdministrationService/models/Volo_Abp_Http_Modeling_ParameterApiDescriptionModel.ts +17 -17
  199. package/AdministrationService/models/Volo_Abp_Http_Modeling_PropertyApiDescriptionModel.ts +17 -17
  200. package/AdministrationService/models/Volo_Abp_Http_Modeling_ReturnValueApiDescriptionModel.ts +9 -9
  201. package/AdministrationService/models/Volo_Abp_Http_Modeling_TypeApiDescriptionModel.ts +14 -14
  202. package/AdministrationService/models/Volo_Abp_Http_RemoteServiceErrorInfo.ts +13 -13
  203. package/AdministrationService/models/Volo_Abp_Http_RemoteServiceErrorResponse.ts +9 -9
  204. package/AdministrationService/models/Volo_Abp_Http_RemoteServiceValidationErrorInfo.ts +9 -9
  205. package/AdministrationService/models/Volo_Abp_LanguageManagement_Dto_CreateLanguageDto.ts +13 -13
  206. package/AdministrationService/models/Volo_Abp_LanguageManagement_Dto_CultureInfoDto.ts +9 -9
  207. package/AdministrationService/models/Volo_Abp_LanguageManagement_Dto_LanguageDto.ts +18 -18
  208. package/AdministrationService/models/Volo_Abp_LanguageManagement_Dto_LanguageResourceDto.ts +8 -8
  209. package/AdministrationService/models/Volo_Abp_LanguageManagement_Dto_LanguageTextDto.ts +13 -13
  210. package/AdministrationService/models/Volo_Abp_LanguageManagement_Dto_UpdateLanguageDto.ts +12 -12
  211. package/AdministrationService/models/Volo_Abp_Localization_LanguageInfo.ts +12 -12
  212. package/AdministrationService/models/Volo_Abp_NameValue.ts +9 -9
  213. package/AdministrationService/models/Volo_Abp_PermissionManagement_GetPermissionListResultDto.ts +10 -10
  214. package/AdministrationService/models/Volo_Abp_PermissionManagement_PermissionGrantInfoDto.ts +14 -14
  215. package/AdministrationService/models/Volo_Abp_PermissionManagement_PermissionGroupDto.ts +13 -13
  216. package/AdministrationService/models/Volo_Abp_PermissionManagement_ProviderInfoDto.ts +9 -9
  217. package/AdministrationService/models/Volo_Abp_PermissionManagement_UpdatePermissionDto.ts +9 -9
  218. package/AdministrationService/models/Volo_Abp_PermissionManagement_UpdatePermissionsDto.ts +9 -9
  219. package/AdministrationService/models/Volo_Abp_SettingManagement_EmailSettingsDto.ts +16 -16
  220. package/AdministrationService/models/Volo_Abp_SettingManagement_SendTestEmailInput.ts +11 -11
  221. package/AdministrationService/models/Volo_Abp_SettingManagement_UpdateEmailSettingsDto.ts +16 -16
  222. package/AdministrationService/models/Volo_Abp_TextTemplateManagement_TextTemplates_RestoreTemplateContentInput.ts +9 -9
  223. package/AdministrationService/models/Volo_Abp_TextTemplateManagement_TextTemplates_TemplateDefinitionDto.ts +13 -13
  224. package/AdministrationService/models/Volo_Abp_TextTemplateManagement_TextTemplates_TextTemplateContentDto.ts +10 -10
  225. package/AdministrationService/models/Volo_Abp_TextTemplateManagement_TextTemplates_UpdateTemplateContentInput.ts +10 -10
  226. package/AdministrationService/models/Volo_Abp_Validation_StringValues_IStringValueType.ts +11 -11
  227. package/AdministrationService/models/Volo_Abp_Validation_StringValues_IValueValidator.ts +9 -9
  228. package/AdministrationService/schemas.gen.ts +6745 -6745
  229. package/AdministrationService/services/AbpApiDefinitionService.ts +34 -34
  230. package/AdministrationService/services/AbpApplicationConfigurationService.ts +34 -34
  231. package/AdministrationService/services/AbpApplicationLocalizationService.ts +37 -37
  232. package/AdministrationService/services/AbpTenantService.ts +58 -58
  233. package/AdministrationService/services/AuditLogsService.ts +286 -286
  234. package/AdministrationService/services/EmailSettingsService.ts +76 -76
  235. package/AdministrationService/services/FeaturesService.ts +96 -96
  236. package/AdministrationService/services/GdprRequestService.ts +152 -152
  237. package/AdministrationService/services/LanguageTextsService.ts +157 -157
  238. package/AdministrationService/services/LanguagesService.ts +257 -257
  239. package/AdministrationService/services/PermissionsService.ts +69 -69
  240. package/AdministrationService/services/TextTemplateContentsService.ts +85 -85
  241. package/AdministrationService/services/TextTemplateDefinitionsService.ts +69 -69
  242. package/AdministrationService/services/TimeZoneSettingsService.ts +70 -70
  243. package/AdministrationService/services.gen.ts +1451 -1451
  244. package/AdministrationService/types.gen.ts +3007 -3007
  245. package/BackerService/BackerServiceClient.ts +50 -50
  246. package/BackerService/core/ApiError.ts +20 -20
  247. package/BackerService/core/ApiRequestOptions.ts +12 -12
  248. package/BackerService/core/ApiResult.ts +6 -6
  249. package/BackerService/core/BaseHttpRequest.ts +9 -9
  250. package/BackerService/core/CancelablePromise.ts +125 -125
  251. package/BackerService/core/FetchHttpRequest.ts +21 -21
  252. package/BackerService/core/OpenAPI.ts +55 -55
  253. package/BackerService/core/request.ts +340 -340
  254. package/BackerService/index.ts +8 -8
  255. package/BackerService/schemas.gen.ts +12444 -12444
  256. package/BackerService/services.gen.ts +866 -866
  257. package/BackerService/types.gen.ts +2170 -2170
  258. package/CRMService/CRMServiceClient.ts +15 -15
  259. package/CRMService/core/ApiRequestOptions.ts +16 -8
  260. package/CRMService/core/BaseHttpRequest.ts +1 -1
  261. package/CRMService/core/FetchHttpRequest.ts +1 -1
  262. package/CRMService/core/OpenAPI.ts +3 -3
  263. package/CRMService/core/request.ts +14 -5
  264. package/CRMService/index.ts +2 -2
  265. package/CRMService/schemas.gen.ts +498 -14571
  266. package/CRMService/{services.gen.ts → sdk.gen.ts} +52 -33
  267. package/CRMService/types.gen.ts +438 -4453
  268. package/ContractService/ContractServiceClient.ts +65 -65
  269. package/ContractService/core/ApiError.ts +20 -20
  270. package/ContractService/core/ApiRequestOptions.ts +12 -12
  271. package/ContractService/core/ApiResult.ts +6 -6
  272. package/ContractService/core/BaseHttpRequest.ts +9 -9
  273. package/ContractService/core/CancelablePromise.ts +125 -125
  274. package/ContractService/core/FetchHttpRequest.ts +21 -21
  275. package/ContractService/core/OpenAPI.ts +55 -55
  276. package/ContractService/core/request.ts +340 -340
  277. package/ContractService/index.ts +8 -8
  278. package/ContractService/schemas.gen.ts +12076 -12076
  279. package/ContractService/services.gen.ts +1882 -1882
  280. package/ContractService/types.gen.ts +4145 -4145
  281. package/ExportValidationService/ExportValidationServiceClient.ts +44 -44
  282. package/ExportValidationService/core/ApiError.ts +20 -20
  283. package/ExportValidationService/core/ApiRequestOptions.ts +12 -12
  284. package/ExportValidationService/core/ApiResult.ts +6 -6
  285. package/ExportValidationService/core/BaseHttpRequest.ts +9 -9
  286. package/ExportValidationService/core/CancelablePromise.ts +125 -125
  287. package/ExportValidationService/core/FetchHttpRequest.ts +21 -21
  288. package/ExportValidationService/core/OpenAPI.ts +55 -55
  289. package/ExportValidationService/core/request.ts +340 -340
  290. package/ExportValidationService/index.ts +8 -8
  291. package/ExportValidationService/schemas.gen.ts +3998 -3998
  292. package/ExportValidationService/services.gen.ts +260 -260
  293. package/ExportValidationService/types.gen.ts +818 -818
  294. package/FinanceService/FinanceServiceClient.ts +47 -47
  295. package/FinanceService/core/ApiError.ts +20 -20
  296. package/FinanceService/core/ApiRequestOptions.ts +12 -12
  297. package/FinanceService/core/ApiResult.ts +6 -6
  298. package/FinanceService/core/BaseHttpRequest.ts +9 -9
  299. package/FinanceService/core/CancelablePromise.ts +125 -125
  300. package/FinanceService/core/FetchHttpRequest.ts +21 -21
  301. package/FinanceService/core/OpenAPI.ts +55 -55
  302. package/FinanceService/core/request.ts +340 -340
  303. package/FinanceService/index.ts +8 -8
  304. package/FinanceService/schemas.gen.ts +5006 -5006
  305. package/FinanceService/services.gen.ts +339 -339
  306. package/FinanceService/types.gen.ts +1128 -1128
  307. package/FundraiserService/FundraiserServiceClient.ts +47 -47
  308. package/FundraiserService/core/ApiError.ts +20 -20
  309. package/FundraiserService/core/ApiRequestOptions.ts +12 -12
  310. package/FundraiserService/core/ApiResult.ts +6 -6
  311. package/FundraiserService/core/BaseHttpRequest.ts +9 -9
  312. package/FundraiserService/core/CancelablePromise.ts +125 -125
  313. package/FundraiserService/core/FetchHttpRequest.ts +21 -21
  314. package/FundraiserService/core/OpenAPI.ts +55 -55
  315. package/FundraiserService/core/request.ts +340 -340
  316. package/FundraiserService/index.ts +8 -8
  317. package/FundraiserService/schemas.gen.ts +11548 -11548
  318. package/FundraiserService/services.gen.ts +627 -627
  319. package/FundraiserService/types.gen.ts +1793 -1793
  320. package/IdentityService/IdentityServiceClient.ts +86 -86
  321. package/IdentityService/core/ApiError.ts +20 -20
  322. package/IdentityService/core/ApiRequestOptions.ts +12 -12
  323. package/IdentityService/core/ApiResult.ts +6 -6
  324. package/IdentityService/core/BaseHttpRequest.ts +9 -9
  325. package/IdentityService/core/CancelablePromise.ts +125 -125
  326. package/IdentityService/core/FetchHttpRequest.ts +21 -21
  327. package/IdentityService/core/OpenAPI.ts +55 -55
  328. package/IdentityService/core/request.ts +340 -340
  329. package/IdentityService/index.ts +8 -8
  330. package/IdentityService/models/Volo_Abp_Account_AccountExternalProviderSettingsDto.ts +9 -9
  331. package/IdentityService/models/Volo_Abp_Account_AccountRecaptchaSettingsDto.ts +14 -14
  332. package/IdentityService/models/Volo_Abp_Account_AccountSettingsDto.ts +9 -9
  333. package/IdentityService/models/Volo_Abp_Account_AccountTwoFactorSettingsDto.ts +11 -11
  334. package/IdentityService/models/Volo_Abp_Account_ExternalProviders_ExternalProviderSettings.ts +12 -12
  335. package/IdentityService/models/Volo_Abp_Account_ExternalProviders_ExternalProviderSettingsProperty.ts +9 -9
  336. package/IdentityService/models/Volo_Abp_Account_UpdateExternalProviderDto.ts +12 -12
  337. package/IdentityService/models/Volo_Abp_Application_Dtos_ListResultDto_1.ts +9 -9
  338. package/IdentityService/models/Volo_Abp_Application_Dtos_PagedResultDto_1.ts +10 -10
  339. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationAuthConfigurationDto.ts +8 -8
  340. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationConfigurationDto.ts +30 -30
  341. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationFeatureConfigurationDto.ts +8 -8
  342. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationGlobalFeatureConfigurationDto.ts +8 -8
  343. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationConfigurationDto.ts +18 -18
  344. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationDto.ts +9 -9
  345. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationResourceDto.ts +9 -9
  346. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationSettingConfigurationDto.ts +8 -8
  347. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ClockDto.ts +8 -8
  348. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_CurrentCultureDto.ts +17 -17
  349. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_CurrentUserDto.ts +22 -22
  350. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_DateTimeFormatDto.ts +14 -14
  351. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_IanaTimeZone.ts +8 -8
  352. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_EntityExtensionDto.ts +10 -10
  353. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionEnumDto.ts +10 -10
  354. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionEnumFieldDto.ts +9 -9
  355. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiCreateDto.ts +8 -8
  356. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiDto.ts +13 -13
  357. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiGetDto.ts +8 -8
  358. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiUpdateDto.ts +8 -8
  359. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyAttributeDto.ts +9 -9
  360. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyDto.ts +19 -19
  361. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiDto.ts +14 -14
  362. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiFormDto.ts +8 -8
  363. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiLookupDto.ts +12 -12
  364. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiTableDto.ts +8 -8
  365. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_LocalizableStringDto.ts +9 -9
  366. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ModuleExtensionDto.ts +10 -10
  367. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ObjectExtensionsDto.ts +11 -11
  368. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_TimeZone.ts +11 -11
  369. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_TimingDto.ts +9 -9
  370. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_WindowsTimeZone.ts +8 -8
  371. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_MultiTenancy_CurrentTenantDto.ts +10 -10
  372. package/IdentityService/models/Volo_Abp_AspNetCore_Mvc_MultiTenancy_MultiTenancyInfoDto.ts +8 -8
  373. package/IdentityService/models/Volo_Abp_Http_Modeling_ActionApiDescriptionModel.ts +20 -20
  374. package/IdentityService/models/Volo_Abp_Http_Modeling_ApplicationApiDescriptionModel.ts +11 -11
  375. package/IdentityService/models/Volo_Abp_Http_Modeling_ControllerApiDescriptionModel.ts +17 -17
  376. package/IdentityService/models/Volo_Abp_Http_Modeling_ControllerInterfaceApiDescriptionModel.ts +11 -11
  377. package/IdentityService/models/Volo_Abp_Http_Modeling_InterfaceMethodApiDescriptionModel.ts +12 -12
  378. package/IdentityService/models/Volo_Abp_Http_Modeling_MethodParameterApiDescriptionModel.ts +13 -13
  379. package/IdentityService/models/Volo_Abp_Http_Modeling_ModuleApiDescriptionModel.ts +11 -11
  380. package/IdentityService/models/Volo_Abp_Http_Modeling_ParameterApiDescriptionModel.ts +17 -17
  381. package/IdentityService/models/Volo_Abp_Http_Modeling_PropertyApiDescriptionModel.ts +17 -17
  382. package/IdentityService/models/Volo_Abp_Http_Modeling_ReturnValueApiDescriptionModel.ts +9 -9
  383. package/IdentityService/models/Volo_Abp_Http_Modeling_TypeApiDescriptionModel.ts +14 -14
  384. package/IdentityService/models/Volo_Abp_Http_RemoteServiceErrorInfo.ts +13 -13
  385. package/IdentityService/models/Volo_Abp_Http_RemoteServiceErrorResponse.ts +9 -9
  386. package/IdentityService/models/Volo_Abp_Http_RemoteServiceValidationErrorInfo.ts +9 -9
  387. package/IdentityService/models/Volo_Abp_Identity_ClaimTypeDto.ts +19 -19
  388. package/IdentityService/models/Volo_Abp_Identity_CreateClaimTypeDto.ts +15 -15
  389. package/IdentityService/models/Volo_Abp_Identity_DownloadTokenResultDto.ts +8 -8
  390. package/IdentityService/models/Volo_Abp_Identity_ExternalLoginProviderDto.ts +9 -9
  391. package/IdentityService/models/Volo_Abp_Identity_Features_IdentityProTwoFactorBehaviour.ts +9 -9
  392. package/IdentityService/models/Volo_Abp_Identity_IdentityClaimValueType.ts +10 -10
  393. package/IdentityService/models/Volo_Abp_Identity_IdentityLdapSettingsDto.ts +15 -15
  394. package/IdentityService/models/Volo_Abp_Identity_IdentityLockoutSettingsDto.ts +10 -10
  395. package/IdentityService/models/Volo_Abp_Identity_IdentityOAuthSettingsDto.ts +15 -15
  396. package/IdentityService/models/Volo_Abp_Identity_IdentityPasswordSettingsDto.ts +15 -15
  397. package/IdentityService/models/Volo_Abp_Identity_IdentityRoleClaimDto.ts +10 -10
  398. package/IdentityService/models/Volo_Abp_Identity_IdentityRoleCreateDto.ts +11 -11
  399. package/IdentityService/models/Volo_Abp_Identity_IdentityRoleDto.ts +15 -15
  400. package/IdentityService/models/Volo_Abp_Identity_IdentityRoleLookupDto.ts +9 -9
  401. package/IdentityService/models/Volo_Abp_Identity_IdentityRoleUpdateDto.ts +12 -12
  402. package/IdentityService/models/Volo_Abp_Identity_IdentitySecurityLogDto.ts +21 -21
  403. package/IdentityService/models/Volo_Abp_Identity_IdentitySettingsDto.ts +15 -15
  404. package/IdentityService/models/Volo_Abp_Identity_IdentitySignInSettingsDto.ts +10 -10
  405. package/IdentityService/models/Volo_Abp_Identity_IdentityUserClaimDto.ts +10 -10
  406. package/IdentityService/models/Volo_Abp_Identity_IdentityUserCreateDto.ts +20 -20
  407. package/IdentityService/models/Volo_Abp_Identity_IdentityUserDto.ts +35 -35
  408. package/IdentityService/models/Volo_Abp_Identity_IdentityUserSettingsDto.ts +9 -9
  409. package/IdentityService/models/Volo_Abp_Identity_IdentityUserUpdateDto.ts +19 -19
  410. package/IdentityService/models/Volo_Abp_Identity_IdentityUserUpdatePasswordInput.ts +8 -8
  411. package/IdentityService/models/Volo_Abp_Identity_IdentityUserUpdateRolesDto.ts +8 -8
  412. package/IdentityService/models/Volo_Abp_Identity_ImportExternalUserInput.ts +10 -10
  413. package/IdentityService/models/Volo_Abp_Identity_ImportUsersFromFileOutput.ts +12 -12
  414. package/IdentityService/models/Volo_Abp_Identity_ImportUsersFromFileType.ts +8 -8
  415. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitCreateDto.ts +10 -10
  416. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitDto.ts +21 -21
  417. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitLookupDto.ts +9 -9
  418. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitMoveInput.ts +8 -8
  419. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitRoleDto.ts +11 -11
  420. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitRoleInput.ts +8 -8
  421. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitUpdateDto.ts +10 -10
  422. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitUserInput.ts +8 -8
  423. package/IdentityService/models/Volo_Abp_Identity_OrganizationUnitWithDetailsDto.ts +23 -23
  424. package/IdentityService/models/Volo_Abp_Identity_UpdateClaimTypeDto.ts +16 -16
  425. package/IdentityService/models/Volo_Abp_Localization_LanguageInfo.ts +12 -12
  426. package/IdentityService/models/Volo_Abp_NameValue.ts +9 -9
  427. package/IdentityService/models/Volo_Abp_OpenIddict_Applications_Dtos_ApplicationDto.ts +29 -29
  428. package/IdentityService/models/Volo_Abp_OpenIddict_Applications_Dtos_ApplicationTokenLifetimeDto.ts +13 -13
  429. package/IdentityService/models/Volo_Abp_OpenIddict_Applications_Dtos_CreateApplicationInput.ts +28 -28
  430. package/IdentityService/models/Volo_Abp_OpenIddict_Applications_Dtos_UpdateApplicationInput.ts +28 -28
  431. package/IdentityService/models/Volo_Abp_OpenIddict_Scopes_Dtos_CreateScopeInput.ts +12 -12
  432. package/IdentityService/models/Volo_Abp_OpenIddict_Scopes_Dtos_ScopeDto.ts +14 -14
  433. package/IdentityService/models/Volo_Abp_OpenIddict_Scopes_Dtos_UpdateScopeInput.ts +12 -12
  434. package/IdentityService/models/Volo_Abp_Users_UserData.ts +18 -18
  435. package/IdentityService/schemas.gen.ts +6928 -6928
  436. package/IdentityService/services/AbpApiDefinitionService.ts +34 -34
  437. package/IdentityService/services/AbpApplicationConfigurationService.ts +34 -34
  438. package/IdentityService/services/AbpApplicationLocalizationService.ts +37 -37
  439. package/IdentityService/services/AccountSettingsService.ts +178 -178
  440. package/IdentityService/services/ApplicationsService.ts +199 -199
  441. package/IdentityService/services/ClaimTypeService.ts +149 -149
  442. package/IdentityService/services/ExternalLoginService.ts +27 -27
  443. package/IdentityService/services/OrganizationUnitService.ts +539 -539
  444. package/IdentityService/services/RoleService.ts +269 -269
  445. package/IdentityService/services/ScopesService.ts +164 -164
  446. package/IdentityService/services/SecurityLogService.ts +174 -174
  447. package/IdentityService/services/SettingsService.ts +135 -135
  448. package/IdentityService/services/UserIntegrationService.ts +144 -144
  449. package/IdentityService/services/UserLookupService.ts +120 -120
  450. package/IdentityService/services/UserService.ts +937 -937
  451. package/IdentityService/services.gen.ts +3154 -3154
  452. package/IdentityService/types.gen.ts +5874 -5874
  453. package/LocationService/LocationServiceClient.ts +74 -74
  454. package/LocationService/core/ApiError.ts +20 -20
  455. package/LocationService/core/ApiRequestOptions.ts +12 -12
  456. package/LocationService/core/ApiResult.ts +6 -6
  457. package/LocationService/core/BaseHttpRequest.ts +9 -9
  458. package/LocationService/core/CancelablePromise.ts +125 -125
  459. package/LocationService/core/FetchHttpRequest.ts +21 -21
  460. package/LocationService/core/OpenAPI.ts +55 -55
  461. package/LocationService/core/request.ts +340 -340
  462. package/LocationService/index.ts +8 -8
  463. package/LocationService/schemas.gen.ts +6635 -6635
  464. package/LocationService/services.gen.ts +1797 -1797
  465. package/LocationService/types.gen.ts +3738 -3738
  466. package/MerchantService/MerchantServiceClient.ts +77 -77
  467. package/MerchantService/core/ApiError.ts +20 -20
  468. package/MerchantService/core/ApiRequestOptions.ts +12 -12
  469. package/MerchantService/core/ApiResult.ts +6 -6
  470. package/MerchantService/core/BaseHttpRequest.ts +9 -9
  471. package/MerchantService/core/CancelablePromise.ts +125 -125
  472. package/MerchantService/core/FetchHttpRequest.ts +21 -21
  473. package/MerchantService/core/OpenAPI.ts +55 -55
  474. package/MerchantService/core/request.ts +340 -340
  475. package/MerchantService/index.ts +8 -8
  476. package/MerchantService/schemas.gen.ts +14764 -14764
  477. package/MerchantService/services.gen.ts +1602 -1602
  478. package/MerchantService/types.gen.ts +18875 -18875
  479. package/ProjectService/ProjectServiceClient.ts +47 -47
  480. package/ProjectService/core/ApiError.ts +20 -20
  481. package/ProjectService/core/ApiRequestOptions.ts +12 -12
  482. package/ProjectService/core/ApiResult.ts +6 -6
  483. package/ProjectService/core/BaseHttpRequest.ts +9 -9
  484. package/ProjectService/core/CancelablePromise.ts +125 -125
  485. package/ProjectService/core/FetchHttpRequest.ts +21 -21
  486. package/ProjectService/core/OpenAPI.ts +55 -55
  487. package/ProjectService/core/request.ts +340 -340
  488. package/ProjectService/index.ts +8 -8
  489. package/ProjectService/schemas.gen.ts +5147 -5147
  490. package/ProjectService/services.gen.ts +492 -492
  491. package/ProjectService/types.gen.ts +1303 -1303
  492. package/README.md +40 -39
  493. package/RefundService/RefundServiceClient.ts +44 -44
  494. package/RefundService/core/ApiError.ts +20 -20
  495. package/RefundService/core/ApiRequestOptions.ts +12 -12
  496. package/RefundService/core/ApiResult.ts +6 -6
  497. package/RefundService/core/BaseHttpRequest.ts +9 -9
  498. package/RefundService/core/CancelablePromise.ts +125 -125
  499. package/RefundService/core/FetchHttpRequest.ts +21 -21
  500. package/RefundService/core/OpenAPI.ts +55 -55
  501. package/RefundService/core/request.ts +340 -340
  502. package/RefundService/index.ts +8 -8
  503. package/RefundService/schemas.gen.ts +5237 -5237
  504. package/RefundService/services.gen.ts +347 -347
  505. package/RefundService/types.gen.ts +1042 -1042
  506. package/SaasService/SaasServiceClient.ts +65 -65
  507. package/SaasService/core/ApiError.ts +20 -20
  508. package/SaasService/core/ApiRequestOptions.ts +12 -12
  509. package/SaasService/core/ApiResult.ts +6 -6
  510. package/SaasService/core/BaseHttpRequest.ts +9 -9
  511. package/SaasService/core/CancelablePromise.ts +125 -125
  512. package/SaasService/core/FetchHttpRequest.ts +21 -21
  513. package/SaasService/core/OpenAPI.ts +55 -55
  514. package/SaasService/core/request.ts +340 -340
  515. package/SaasService/index.ts +8 -8
  516. package/SaasService/schemas.gen.ts +5345 -5345
  517. package/SaasService/services.gen.ts +1329 -1329
  518. package/SaasService/types.gen.ts +2737 -2737
  519. package/SettingService/SettingServiceClient.ts +59 -59
  520. package/SettingService/core/ApiError.ts +20 -20
  521. package/SettingService/core/ApiRequestOptions.ts +12 -12
  522. package/SettingService/core/ApiResult.ts +6 -6
  523. package/SettingService/core/BaseHttpRequest.ts +9 -9
  524. package/SettingService/core/CancelablePromise.ts +125 -125
  525. package/SettingService/core/FetchHttpRequest.ts +21 -21
  526. package/SettingService/core/OpenAPI.ts +55 -55
  527. package/SettingService/core/request.ts +340 -340
  528. package/SettingService/index.ts +8 -8
  529. package/SettingService/schemas.gen.ts +5223 -5223
  530. package/SettingService/services.gen.ts +758 -758
  531. package/SettingService/types.gen.ts +1800 -1800
  532. package/TagService/TagServiceClient.ts +47 -47
  533. package/TagService/core/ApiError.ts +20 -20
  534. package/TagService/core/ApiRequestOptions.ts +12 -12
  535. package/TagService/core/ApiResult.ts +6 -6
  536. package/TagService/core/BaseHttpRequest.ts +9 -9
  537. package/TagService/core/CancelablePromise.ts +125 -125
  538. package/TagService/core/FetchHttpRequest.ts +21 -21
  539. package/TagService/core/OpenAPI.ts +55 -55
  540. package/TagService/core/request.ts +340 -340
  541. package/TagService/index.ts +8 -8
  542. package/TagService/schemas.gen.ts +5830 -5830
  543. package/TagService/services.gen.ts +556 -556
  544. package/TagService/types.gen.ts +1487 -1487
  545. package/TravellerService/TravellerServiceClient.ts +59 -59
  546. package/TravellerService/core/ApiError.ts +20 -20
  547. package/TravellerService/core/ApiRequestOptions.ts +12 -12
  548. package/TravellerService/core/ApiResult.ts +6 -6
  549. package/TravellerService/core/BaseHttpRequest.ts +9 -9
  550. package/TravellerService/core/CancelablePromise.ts +125 -125
  551. package/TravellerService/core/FetchHttpRequest.ts +21 -21
  552. package/TravellerService/core/OpenAPI.ts +55 -55
  553. package/TravellerService/core/request.ts +340 -340
  554. package/TravellerService/index.ts +8 -8
  555. package/TravellerService/schemas.gen.ts +6396 -6396
  556. package/TravellerService/services.gen.ts +949 -949
  557. package/TravellerService/types.gen.ts +2220 -2220
  558. package/index.mjs +38 -0
  559. package/package.json +37 -37
  560. package/ProjectService.json +0 -2938
  561. package/generator.mjs +0 -221
  562. package/index.ts +0 -2
  563. package/swagger.json +0 -4795
  564. package/upwithcrowdService/core/ApiError.ts +0 -21
  565. package/upwithcrowdService/core/ApiRequestOptions.ts +0 -13
  566. package/upwithcrowdService/core/ApiResult.ts +0 -7
  567. package/upwithcrowdService/core/BaseHttpRequest.ts +0 -10
  568. package/upwithcrowdService/core/CancelablePromise.ts +0 -126
  569. package/upwithcrowdService/core/FetchHttpRequest.ts +0 -22
  570. package/upwithcrowdService/core/OpenAPI.ts +0 -56
  571. package/upwithcrowdService/core/request.ts +0 -341
  572. package/upwithcrowdService/index.ts +0 -9
  573. package/upwithcrowdService/schemas.gen.ts +0 -11974
  574. package/upwithcrowdService/services.gen.ts +0 -6556
  575. package/upwithcrowdService/types.gen.ts +0 -12239
  576. package/upwithcrowdService/upwithcrowdServiceClient.ts +0 -161
@@ -1,21 +0,0 @@
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
- }
@@ -1,13 +0,0 @@
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
- };
@@ -1,7 +0,0 @@
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
- };
@@ -1,10 +0,0 @@
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
- }
@@ -1,126 +0,0 @@
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
- }
@@ -1,22 +0,0 @@
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
- }
@@ -1,56 +0,0 @@
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
- };
@@ -1,341 +0,0 @@
1
- import { ApiError } from './ApiError';
2
- import type { ApiRequestOptions } from './ApiRequestOptions';
3
- import type { ApiResult } from './ApiResult';
4
- import { CancelablePromise } from './CancelablePromise';
5
- import type { OnCancel } from './CancelablePromise';
6
- import type { OpenAPIConfig } from './OpenAPI';
7
-
8
- export const isString = (value: unknown): value is string => {
9
- return typeof value === 'string';
10
- };
11
-
12
- export const isStringWithValue = (value: unknown): value is string => {
13
- return isString(value) && value !== '';
14
- };
15
-
16
- export const isBlob = (value: any): value is Blob => {
17
- return value instanceof Blob;
18
- };
19
-
20
- export const isFormData = (value: unknown): value is FormData => {
21
- return value instanceof FormData;
22
- };
23
-
24
- export const base64 = (str: string): string => {
25
- try {
26
- return btoa(str);
27
- } catch (err) {
28
- // @ts-ignore
29
- return Buffer.from(str).toString('base64');
30
- }
31
- };
32
-
33
- export const getQueryString = (params: Record<string, unknown>): string => {
34
- const qs: string[] = [];
35
-
36
- const append = (key: string, value: unknown) => {
37
- qs.push(`${encodeURIComponent(key)}=${encodeURIComponent(String(value))}`);
38
- };
39
-
40
- const encodePair = (key: string, value: unknown) => {
41
- if (value === undefined || value === null) {
42
- return;
43
- }
44
-
45
- if (value instanceof Date) {
46
- append(key, value.toISOString());
47
- } else if (Array.isArray(value)) {
48
- value.forEach(v => encodePair(key, v));
49
- } else if (typeof value === 'object') {
50
- Object.entries(value).forEach(([k, v]) => encodePair(`${key}[${k}]`, v));
51
- } else {
52
- append(key, value);
53
- }
54
- };
55
-
56
- Object.entries(params).forEach(([key, value]) => encodePair(key, value));
57
-
58
- return qs.length ? `?${qs.join('&')}` : '';
59
- };
60
-
61
- const getUrl = (config: OpenAPIConfig, options: ApiRequestOptions): string => {
62
- const encoder = config.ENCODE_PATH || encodeURI;
63
-
64
- const path = options.url
65
- .replace('{api-version}', config.VERSION)
66
- .replace(/{(.*?)}/g, (substring: string, group: string) => {
67
- if (options.path?.hasOwnProperty(group)) {
68
- return encoder(String(options.path[group]));
69
- }
70
- return substring;
71
- });
72
-
73
- const url = config.BASE + path;
74
- return options.query ? url + getQueryString(options.query) : url;
75
- };
76
-
77
- export const getFormData = (options: ApiRequestOptions): FormData | undefined => {
78
- if (options.formData) {
79
- const formData = new FormData();
80
-
81
- const process = (key: string, value: unknown) => {
82
- if (isString(value) || isBlob(value)) {
83
- formData.append(key, value);
84
- } else {
85
- formData.append(key, JSON.stringify(value));
86
- }
87
- };
88
-
89
- Object.entries(options.formData)
90
- .filter(([, value]) => value !== undefined && value !== null)
91
- .forEach(([key, value]) => {
92
- if (Array.isArray(value)) {
93
- value.forEach(v => process(key, v));
94
- } else {
95
- process(key, value);
96
- }
97
- });
98
-
99
- return formData;
100
- }
101
- return undefined;
102
- };
103
-
104
- type Resolver<T> = (options: ApiRequestOptions) => Promise<T>;
105
-
106
- export const resolve = async <T>(options: ApiRequestOptions, resolver?: T | Resolver<T>): Promise<T | undefined> => {
107
- if (typeof resolver === 'function') {
108
- return (resolver as Resolver<T>)(options);
109
- }
110
- return resolver;
111
- };
112
-
113
- export const getHeaders = async (config: OpenAPIConfig, options: ApiRequestOptions): Promise<Headers> => {
114
- const [token, username, password, additionalHeaders] = await Promise.all([
115
- resolve(options, config.TOKEN),
116
- resolve(options, config.USERNAME),
117
- resolve(options, config.PASSWORD),
118
- resolve(options, config.HEADERS),
119
- ]);
120
-
121
- const headers = Object.entries({
122
- Accept: 'application/json',
123
- ...additionalHeaders,
124
- ...options.headers,
125
- })
126
- .filter(([, value]) => value !== undefined && value !== null)
127
- .reduce((headers, [key, value]) => ({
128
- ...headers,
129
- [key]: String(value),
130
- }), {} as Record<string, string>);
131
-
132
- if (isStringWithValue(token)) {
133
- headers['Authorization'] = `Bearer ${token}`;
134
- }
135
-
136
- if (isStringWithValue(username) && isStringWithValue(password)) {
137
- const credentials = base64(`${username}:${password}`);
138
- headers['Authorization'] = `Basic ${credentials}`;
139
- }
140
-
141
- if (options.body !== undefined) {
142
- if (options.mediaType) {
143
- headers['Content-Type'] = options.mediaType;
144
- } else if (isBlob(options.body)) {
145
- headers['Content-Type'] = options.body.type || 'application/octet-stream';
146
- } else if (isString(options.body)) {
147
- headers['Content-Type'] = 'text/plain';
148
- } else if (!isFormData(options.body)) {
149
- headers['Content-Type'] = 'application/json';
150
- }
151
- }
152
-
153
- return new Headers(headers);
154
- };
155
-
156
- export const getRequestBody = (options: ApiRequestOptions): unknown => {
157
- if (options.body !== undefined) {
158
- if (options.mediaType?.includes('application/json') || options.mediaType?.includes('+json')) {
159
- return JSON.stringify(options.body);
160
- } else if (isString(options.body) || isBlob(options.body) || isFormData(options.body)) {
161
- return options.body;
162
- } else {
163
- return JSON.stringify(options.body);
164
- }
165
- }
166
- return undefined;
167
- };
168
-
169
- export const sendRequest = async (
170
- config: OpenAPIConfig,
171
- options: ApiRequestOptions,
172
- url: string,
173
- body: any,
174
- formData: FormData | undefined,
175
- headers: Headers,
176
- onCancel: OnCancel
177
- ): Promise<Response> => {
178
- const controller = new AbortController();
179
-
180
- let request: RequestInit = {
181
- headers,
182
- body: body ?? formData,
183
- method: options.method,
184
- signal: controller.signal,
185
- };
186
-
187
- if (config.WITH_CREDENTIALS) {
188
- request.credentials = config.CREDENTIALS;
189
- }
190
-
191
- for (const fn of config.interceptors.request._fns) {
192
- request = await fn(request);
193
- }
194
-
195
- onCancel(() => controller.abort());
196
-
197
- return await fetch(url, request);
198
- };
199
-
200
- export const getResponseHeader = (response: Response, responseHeader?: string): string | undefined => {
201
- if (responseHeader) {
202
- const content = response.headers.get(responseHeader);
203
- if (isString(content)) {
204
- return content;
205
- }
206
- }
207
- return undefined;
208
- };
209
-
210
- export const getResponseBody = async (response: Response): Promise<unknown> => {
211
- if (response.status !== 204) {
212
- try {
213
- const contentType = response.headers.get('Content-Type');
214
- if (contentType) {
215
- const binaryTypes = ['application/octet-stream', 'application/pdf', 'application/zip', 'audio/', 'image/', 'video/'];
216
- if (contentType.includes('application/json') || contentType.includes('+json')) {
217
- return await response.json();
218
- } else if (binaryTypes.some(type => contentType.includes(type))) {
219
- return await response.blob();
220
- } else if (contentType.includes('multipart/form-data')) {
221
- return await response.formData();
222
- } else if (contentType.includes('text/')) {
223
- return await response.text();
224
- }
225
- }
226
- } catch (error) {
227
- console.error(error);
228
- }
229
- }
230
- return undefined;
231
- };
232
-
233
- export const catchErrorCodes = (options: ApiRequestOptions, result: ApiResult): void => {
234
- const errors: Record<number, string> = {
235
- 400: 'Bad Request',
236
- 401: 'Unauthorized',
237
- 402: 'Payment Required',
238
- 403: 'Forbidden',
239
- 404: 'Not Found',
240
- 405: 'Method Not Allowed',
241
- 406: 'Not Acceptable',
242
- 407: 'Proxy Authentication Required',
243
- 408: 'Request Timeout',
244
- 409: 'Conflict',
245
- 410: 'Gone',
246
- 411: 'Length Required',
247
- 412: 'Precondition Failed',
248
- 413: 'Payload Too Large',
249
- 414: 'URI Too Long',
250
- 415: 'Unsupported Media Type',
251
- 416: 'Range Not Satisfiable',
252
- 417: 'Expectation Failed',
253
- 418: 'Im a teapot',
254
- 421: 'Misdirected Request',
255
- 422: 'Unprocessable Content',
256
- 423: 'Locked',
257
- 424: 'Failed Dependency',
258
- 425: 'Too Early',
259
- 426: 'Upgrade Required',
260
- 428: 'Precondition Required',
261
- 429: 'Too Many Requests',
262
- 431: 'Request Header Fields Too Large',
263
- 451: 'Unavailable For Legal Reasons',
264
- 500: 'Internal Server Error',
265
- 501: 'Not Implemented',
266
- 502: 'Bad Gateway',
267
- 503: 'Service Unavailable',
268
- 504: 'Gateway Timeout',
269
- 505: 'HTTP Version Not Supported',
270
- 506: 'Variant Also Negotiates',
271
- 507: 'Insufficient Storage',
272
- 508: 'Loop Detected',
273
- 510: 'Not Extended',
274
- 511: 'Network Authentication Required',
275
- ...options.errors,
276
- }
277
-
278
- const error = errors[result.status];
279
- if (error) {
280
- throw new ApiError(options, result, error);
281
- }
282
-
283
- if (!result.ok) {
284
- const errorStatus = result.status ?? 'unknown';
285
- const errorStatusText = result.statusText ?? 'unknown';
286
- const errorBody = (() => {
287
- try {
288
- return JSON.stringify(result.body, null, 2);
289
- } catch (e) {
290
- return undefined;
291
- }
292
- })();
293
-
294
- throw new ApiError(options, result,
295
- `Generic Error: status: ${errorStatus}; status text: ${errorStatusText}; body: ${errorBody}`
296
- );
297
- }
298
- };
299
-
300
- /**
301
- * Request method
302
- * @param config The OpenAPI configuration object
303
- * @param options The request options from the service
304
- * @returns CancelablePromise<T>
305
- * @throws ApiError
306
- */
307
- export const request = <T>(config: OpenAPIConfig, options: ApiRequestOptions): CancelablePromise<T> => {
308
- return new CancelablePromise(async (resolve, reject, onCancel) => {
309
- try {
310
- const url = getUrl(config, options);
311
- const formData = getFormData(options);
312
- const body = getRequestBody(options);
313
- const headers = await getHeaders(config, options);
314
-
315
- if (!onCancel.isCancelled) {
316
- let response = await sendRequest(config, options, url, body, formData, headers, onCancel);
317
-
318
- for (const fn of config.interceptors.response._fns) {
319
- response = await fn(response);
320
- }
321
-
322
- const responseBody = await getResponseBody(response);
323
- const responseHeader = getResponseHeader(response, options.responseHeader);
324
-
325
- const result: ApiResult = {
326
- url,
327
- ok: response.ok,
328
- status: response.status,
329
- statusText: response.statusText,
330
- body: responseHeader ?? responseBody,
331
- };
332
-
333
- catchErrorCodes(options, result);
334
-
335
- resolve(result.body);
336
- }
337
- } catch (error) {
338
- reject(error);
339
- }
340
- });
341
- };
@@ -1,9 +0,0 @@
1
- // This file is auto-generated by @hey-api/openapi-ts
2
- export { upwithcrowdServiceClient } from './upwithcrowdServiceClient';
3
- export { ApiError } from './core/ApiError';
4
- export { BaseHttpRequest } from './core/BaseHttpRequest';
5
- export { CancelablePromise, CancelError } from './core/CancelablePromise';
6
- export { OpenAPI, type OpenAPIConfig } from './core/OpenAPI';
7
- export * from './services.gen';
8
- export * from './types.gen';
9
- export * from './schemas.gen';