@carbonbox/domain 0.0.6 → 0.0.9

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 (266) hide show
  1. package/build/carbonbox/services/additional/domain/Additional.js +82 -0
  2. package/build/carbonbox/services/additional/domain/IAdditionalPrimitives.js +2 -0
  3. package/build/carbonbox/services/additional/domain/value-objects/CreatedAt.js +10 -0
  4. package/build/carbonbox/services/additional/domain/value-objects/Description.js +10 -0
  5. package/build/carbonbox/services/additional/domain/value-objects/Id.js +10 -0
  6. package/build/carbonbox/services/additional/domain/value-objects/Name.js +10 -0
  7. package/build/carbonbox/services/additional/domain/value-objects/PriceType.js +10 -0
  8. package/build/carbonbox/services/additional/domain/value-objects/PriceUnit.js +10 -0
  9. package/build/carbonbox/services/additional/domain/value-objects/PriceValue.js +10 -0
  10. package/build/carbonbox/services/additional/domain/value-objects/ServiceAdditionalType.js +13 -0
  11. package/build/carbonbox/services/additional/domain/value-objects/UpdatedAt.js +10 -0
  12. package/build/carbonbox/services/complement/domain/Complement.js +61 -0
  13. package/build/carbonbox/services/complement/domain/value-objects/PriceType.js +10 -0
  14. package/build/carbonbox/services/complement/domain/value-objects/PriceUnit.js +10 -0
  15. package/build/carbonbox/services/complement/domain/value-objects/PriceValue.js +10 -0
  16. package/build/carbonbox/services/core/domain/Core.js +60 -0
  17. package/build/carbonbox/services/core/domain/value-objects/PriceType.js +10 -0
  18. package/build/carbonbox/services/core/domain/value-objects/PriceUnit.js +10 -0
  19. package/build/carbonbox/services/core/domain/value-objects/PriceValue.js +10 -0
  20. package/build/carbonbox/services/modifier/domain/IModifierPrimitives.js +2 -0
  21. package/build/carbonbox/services/modifier/domain/Modifier.js +82 -0
  22. package/build/carbonbox/services/modifier/domain/value-objects/CreatedAt.js +10 -0
  23. package/build/carbonbox/services/modifier/domain/value-objects/Description.js +10 -0
  24. package/build/carbonbox/services/modifier/domain/value-objects/Id.js +10 -0
  25. package/build/carbonbox/services/modifier/domain/value-objects/Name.js +10 -0
  26. package/build/carbonbox/services/modifier/domain/value-objects/PriceType.js +10 -0
  27. package/build/carbonbox/services/modifier/domain/value-objects/PriceUnit.js +10 -0
  28. package/build/carbonbox/services/modifier/domain/value-objects/PriceValue.js +10 -0
  29. package/build/carbonbox/services/modifier/domain/value-objects/ServiceModifierType.js +13 -0
  30. package/build/carbonbox/services/modifier/domain/value-objects/UpdatedAt.js +10 -0
  31. package/build/carbonbox/services/shared/domain/Service.js +17 -17
  32. package/build/carbonbox/services/shared/domain/value-objects/PriceType.js +27 -0
  33. package/build/carbonbox/services/shared/domain/value-objects/PriceUnit.js +13 -0
  34. package/build/carbonbox/services/shared/domain/value-objects/PriceValue.js +13 -0
  35. package/build/carbonbox/users/carbonBox/coordinator/domain/Coordinator.js +150 -0
  36. package/build/carbonbox/users/carbonBox/coordinator/domain/repository/ICoordinatorRepository.js +2 -0
  37. package/build/carbonbox/users/carbonBox/coordinator/domain/value-objects/Avatar.js +3 -0
  38. package/build/carbonbox/users/carbonBox/coordinator/domain/value-objects/Biography.js +3 -0
  39. package/build/carbonbox/users/carbonBox/host/domain/repository/IHostRepository.js +2 -0
  40. package/build/carbonbox/users/carbonBox/host-manager/domain/HostManager.js +118 -0
  41. package/build/carbonbox/users/carbonBox/host-manager/domain/repository/IHostManagerRepository.js +2 -0
  42. package/build/carbonbox/users/carbonBox/host-manager/domain/value-objects/Avatar.js +3 -0
  43. package/build/carbonbox/users/carbonBox/host-manager/domain/value-objects/Biography.js +3 -0
  44. package/build/carbonbox/users/clients/company/domain/Company.js +150 -0
  45. package/build/carbonbox/users/clients/company/domain/ICompanyPrimitives.js +2 -0
  46. package/build/carbonbox/users/clients/company/domain/repository/ICompanyManagerRepository.js +2 -0
  47. package/build/carbonbox/users/clients/company/domain/repository/ICompanyRepository.js +2 -0
  48. package/build/carbonbox/users/clients/company/domain/value-objects/Avatar.js +13 -0
  49. package/build/carbonbox/users/clients/company/domain/value-objects/Biography.js +13 -0
  50. package/build/carbonbox/users/clients/company/domain/value-objects/CreatedAt.js +10 -0
  51. package/build/carbonbox/users/clients/company/domain/value-objects/CreatedByUserId.js +10 -0
  52. package/build/carbonbox/users/clients/company/domain/value-objects/CreatedByUserType.js +10 -0
  53. package/build/carbonbox/users/clients/company/domain/value-objects/Description.js +13 -0
  54. package/build/carbonbox/users/clients/company/domain/value-objects/Email.js +10 -0
  55. package/build/carbonbox/users/clients/company/domain/value-objects/Id.js +10 -0
  56. package/build/carbonbox/users/clients/company/domain/value-objects/OfficialName.js +14 -0
  57. package/build/carbonbox/users/clients/company/domain/value-objects/Password.js +10 -0
  58. package/build/carbonbox/users/clients/company/domain/value-objects/Phone.js +10 -0
  59. package/build/carbonbox/users/clients/company/domain/value-objects/Roles.js +10 -0
  60. package/build/carbonbox/users/clients/company/domain/value-objects/ShortName.js +14 -0
  61. package/build/carbonbox/users/clients/company/domain/value-objects/TaxIdentificationNumber.js +10 -0
  62. package/build/carbonbox/users/clients/company/domain/value-objects/UpdatedAt.js +10 -0
  63. package/build/carbonbox/users/clients/company/domain/value-objects/UserType.js +15 -0
  64. package/build/carbonbox/users/clients/company/domain/value-objects/WorkLocation.js +10 -0
  65. package/build/carbonbox/users/clients/company-host-manager/domain/CompanyHost.js +126 -0
  66. package/build/carbonbox/users/clients/company-host-manager/domain/CompanyHostManager.js +126 -0
  67. package/build/carbonbox/users/clients/company-host-manager/domain/ICompanyHostManagerPrimitives.js +2 -0
  68. package/build/carbonbox/users/clients/company-host-manager/domain/repository/ICompanyHostManagerRepository.js +2 -0
  69. package/build/carbonbox/users/clients/company-host-manager/domain/repository/IHostManagerRepository.js +2 -0
  70. package/build/carbonbox/users/clients/company-host-manager/domain/value-objects/ActiveCustomPlanId.js +14 -0
  71. package/build/carbonbox/users/clients/company-host-manager/domain/value-objects/Avatar.js +13 -0
  72. package/build/carbonbox/users/clients/company-host-manager/domain/value-objects/Biography.js +13 -0
  73. package/build/carbonbox/users/clients/company-host-manager/domain/value-objects/CreatedAt.js +10 -0
  74. package/build/carbonbox/users/clients/company-host-manager/domain/value-objects/Email.js +10 -0
  75. package/build/carbonbox/users/clients/company-host-manager/domain/value-objects/Id.js +10 -0
  76. package/build/carbonbox/users/clients/company-host-manager/domain/value-objects/OfficialName.js +13 -0
  77. package/build/carbonbox/users/clients/company-host-manager/domain/value-objects/Password.js +10 -0
  78. package/build/carbonbox/users/clients/company-host-manager/domain/value-objects/Phone.js +10 -0
  79. package/build/carbonbox/users/clients/company-host-manager/domain/value-objects/Roles.js +10 -0
  80. package/build/carbonbox/users/clients/company-host-manager/domain/value-objects/TaxIdentificationNumber.js +10 -0
  81. package/build/carbonbox/users/clients/company-host-manager/domain/value-objects/UpdatedAt.js +10 -0
  82. package/build/carbonbox/users/clients/company-host-manager/domain/value-objects/UserType.js +15 -0
  83. package/build/carbonbox/users/clients/company-host-manager/domain/value-objects/WorkLocation.js +10 -0
  84. package/build/carbonbox/users/shared/domain/AnySystemUserType.js +1 -0
  85. package/build/main/index.js +16 -1
  86. package/build/types/carbonbox/services/additional/domain/Additional.d.ts +23 -0
  87. package/build/types/carbonbox/services/additional/domain/Additional.d.ts.map +1 -0
  88. package/build/types/carbonbox/services/additional/domain/IAdditionalPrimitives.d.ts +5 -0
  89. package/build/types/carbonbox/services/additional/domain/IAdditionalPrimitives.d.ts.map +1 -0
  90. package/build/types/carbonbox/services/additional/domain/value-objects/CreatedAt.d.ts +5 -0
  91. package/build/types/carbonbox/services/additional/domain/value-objects/CreatedAt.d.ts.map +1 -0
  92. package/build/types/carbonbox/services/additional/domain/value-objects/Description.d.ts +5 -0
  93. package/build/types/carbonbox/services/additional/domain/value-objects/Description.d.ts.map +1 -0
  94. package/build/types/carbonbox/services/additional/domain/value-objects/Id.d.ts +5 -0
  95. package/build/types/carbonbox/services/additional/domain/value-objects/Id.d.ts.map +1 -0
  96. package/build/types/carbonbox/services/additional/domain/value-objects/Name.d.ts +5 -0
  97. package/build/types/carbonbox/services/additional/domain/value-objects/Name.d.ts.map +1 -0
  98. package/build/types/carbonbox/services/additional/domain/value-objects/PriceType.d.ts +5 -0
  99. package/build/types/carbonbox/services/additional/domain/value-objects/PriceType.d.ts.map +1 -0
  100. package/build/types/carbonbox/services/additional/domain/value-objects/PriceUnit.d.ts +5 -0
  101. package/build/types/carbonbox/services/additional/domain/value-objects/PriceUnit.d.ts.map +1 -0
  102. package/build/types/carbonbox/services/additional/domain/value-objects/PriceValue.d.ts +5 -0
  103. package/build/types/carbonbox/services/additional/domain/value-objects/PriceValue.d.ts.map +1 -0
  104. package/build/types/carbonbox/services/additional/domain/value-objects/ServiceAdditionalType.d.ts +6 -0
  105. package/build/types/carbonbox/services/additional/domain/value-objects/ServiceAdditionalType.d.ts.map +1 -0
  106. package/build/types/carbonbox/services/additional/domain/value-objects/UpdatedAt.d.ts +5 -0
  107. package/build/types/carbonbox/services/additional/domain/value-objects/UpdatedAt.d.ts.map +1 -0
  108. package/build/types/carbonbox/services/complement/domain/Complement.d.ts +19 -0
  109. package/build/types/carbonbox/services/complement/domain/Complement.d.ts.map +1 -0
  110. package/build/types/carbonbox/services/complement/domain/IComplementPrimitives.d.ts +1 -2
  111. package/build/types/carbonbox/services/complement/domain/IComplementPrimitives.d.ts.map +1 -1
  112. package/build/types/carbonbox/services/complement/domain/value-objects/PriceType.d.ts +5 -0
  113. package/build/types/carbonbox/services/complement/domain/value-objects/PriceType.d.ts.map +1 -0
  114. package/build/types/carbonbox/services/complement/domain/value-objects/PriceUnit.d.ts +5 -0
  115. package/build/types/carbonbox/services/complement/domain/value-objects/PriceUnit.d.ts.map +1 -0
  116. package/build/types/carbonbox/services/complement/domain/value-objects/PriceValue.d.ts +5 -0
  117. package/build/types/carbonbox/services/complement/domain/value-objects/PriceValue.d.ts.map +1 -0
  118. package/build/types/carbonbox/services/core/domain/Core.d.ts +18 -0
  119. package/build/types/carbonbox/services/core/domain/Core.d.ts.map +1 -1
  120. package/build/types/carbonbox/services/core/domain/ICorePrimitives.d.ts +1 -2
  121. package/build/types/carbonbox/services/core/domain/ICorePrimitives.d.ts.map +1 -1
  122. package/build/types/carbonbox/services/core/domain/value-objects/PriceType.d.ts +5 -0
  123. package/build/types/carbonbox/services/core/domain/value-objects/PriceType.d.ts.map +1 -0
  124. package/build/types/carbonbox/services/core/domain/value-objects/PriceUnit.d.ts +5 -0
  125. package/build/types/carbonbox/services/core/domain/value-objects/PriceUnit.d.ts.map +1 -0
  126. package/build/types/carbonbox/services/core/domain/value-objects/PriceValue.d.ts +5 -0
  127. package/build/types/carbonbox/services/core/domain/value-objects/PriceValue.d.ts.map +1 -0
  128. package/build/types/carbonbox/services/modifier/domain/IModifierPrimitives.d.ts +5 -0
  129. package/build/types/carbonbox/services/modifier/domain/IModifierPrimitives.d.ts.map +1 -0
  130. package/build/types/carbonbox/services/modifier/domain/Modifier.d.ts +23 -0
  131. package/build/types/carbonbox/services/modifier/domain/Modifier.d.ts.map +1 -0
  132. package/build/types/carbonbox/services/modifier/domain/value-objects/CreatedAt.d.ts +5 -0
  133. package/build/types/carbonbox/services/modifier/domain/value-objects/CreatedAt.d.ts.map +1 -0
  134. package/build/types/carbonbox/services/modifier/domain/value-objects/Description.d.ts +5 -0
  135. package/build/types/carbonbox/services/modifier/domain/value-objects/Description.d.ts.map +1 -0
  136. package/build/types/carbonbox/services/modifier/domain/value-objects/Id.d.ts +5 -0
  137. package/build/types/carbonbox/services/modifier/domain/value-objects/Id.d.ts.map +1 -0
  138. package/build/types/carbonbox/services/modifier/domain/value-objects/Name.d.ts +5 -0
  139. package/build/types/carbonbox/services/modifier/domain/value-objects/Name.d.ts.map +1 -0
  140. package/build/types/carbonbox/services/modifier/domain/value-objects/PriceType.d.ts +5 -0
  141. package/build/types/carbonbox/services/modifier/domain/value-objects/PriceType.d.ts.map +1 -0
  142. package/build/types/carbonbox/services/modifier/domain/value-objects/PriceUnit.d.ts +5 -0
  143. package/build/types/carbonbox/services/modifier/domain/value-objects/PriceUnit.d.ts.map +1 -0
  144. package/build/types/carbonbox/services/modifier/domain/value-objects/PriceValue.d.ts +5 -0
  145. package/build/types/carbonbox/services/modifier/domain/value-objects/PriceValue.d.ts.map +1 -0
  146. package/build/types/carbonbox/services/modifier/domain/value-objects/ServiceModifierType.d.ts +6 -0
  147. package/build/types/carbonbox/services/modifier/domain/value-objects/ServiceModifierType.d.ts.map +1 -0
  148. package/build/types/carbonbox/services/modifier/domain/value-objects/UpdatedAt.d.ts +5 -0
  149. package/build/types/carbonbox/services/modifier/domain/value-objects/UpdatedAt.d.ts.map +1 -0
  150. package/build/types/carbonbox/services/shared/domain/IServicePrimitives.d.ts +3 -3
  151. package/build/types/carbonbox/services/shared/domain/IServicePrimitives.d.ts.map +1 -1
  152. package/build/types/carbonbox/services/shared/domain/Service.d.ts +11 -11
  153. package/build/types/carbonbox/services/shared/domain/Service.d.ts.map +1 -1
  154. package/build/types/carbonbox/services/shared/domain/value-objects/PriceType.d.ts +7 -0
  155. package/build/types/carbonbox/services/shared/domain/value-objects/PriceType.d.ts.map +1 -0
  156. package/build/types/carbonbox/services/shared/domain/value-objects/PriceUnit.d.ts +6 -0
  157. package/build/types/carbonbox/services/shared/domain/value-objects/PriceUnit.d.ts.map +1 -0
  158. package/build/types/carbonbox/services/shared/domain/value-objects/PriceValue.d.ts +6 -0
  159. package/build/types/carbonbox/services/shared/domain/value-objects/PriceValue.d.ts.map +1 -0
  160. package/build/types/carbonbox/users/carbonBox/coordinator/domain/Coordinator.d.ts +55 -0
  161. package/build/types/carbonbox/users/carbonBox/coordinator/domain/Coordinator.d.ts.map +1 -0
  162. package/build/types/carbonbox/users/carbonBox/coordinator/domain/repository/ICoordinatorRepository.d.ts +11 -0
  163. package/build/types/carbonbox/users/carbonBox/coordinator/domain/repository/ICoordinatorRepository.d.ts.map +1 -0
  164. package/build/types/carbonbox/users/carbonBox/coordinator/domain/value-objects/Avatar.d.ts +2 -0
  165. package/build/types/carbonbox/users/carbonBox/coordinator/domain/value-objects/Avatar.d.ts.map +1 -1
  166. package/build/types/carbonbox/users/carbonBox/coordinator/domain/value-objects/Biography.d.ts +1 -0
  167. package/build/types/carbonbox/users/carbonBox/coordinator/domain/value-objects/Biography.d.ts.map +1 -1
  168. package/build/types/carbonbox/users/carbonBox/host/domain/repository/IHostRepository.d.ts +11 -0
  169. package/build/types/carbonbox/users/carbonBox/host/domain/repository/IHostRepository.d.ts.map +1 -0
  170. package/build/types/carbonbox/users/carbonBox/host-manager/domain/HostManager.d.ts +42 -0
  171. package/build/types/carbonbox/users/carbonBox/host-manager/domain/HostManager.d.ts.map +1 -0
  172. package/build/types/carbonbox/users/carbonBox/host-manager/domain/repository/IHostManagerRepository.d.ts +11 -0
  173. package/build/types/carbonbox/users/carbonBox/host-manager/domain/repository/IHostManagerRepository.d.ts.map +1 -0
  174. package/build/types/carbonbox/users/carbonBox/host-manager/domain/value-objects/Avatar.d.ts +2 -0
  175. package/build/types/carbonbox/users/carbonBox/host-manager/domain/value-objects/Avatar.d.ts.map +1 -1
  176. package/build/types/carbonbox/users/carbonBox/host-manager/domain/value-objects/Biography.d.ts +1 -0
  177. package/build/types/carbonbox/users/carbonBox/host-manager/domain/value-objects/Biography.d.ts.map +1 -1
  178. package/build/types/carbonbox/users/clients/company/domain/Company.d.ts +53 -0
  179. package/build/types/carbonbox/users/clients/company/domain/Company.d.ts.map +1 -0
  180. package/build/types/carbonbox/users/clients/company/domain/ICompanyPrimitives.d.ts +11 -0
  181. package/build/types/carbonbox/users/clients/company/domain/ICompanyPrimitives.d.ts.map +1 -0
  182. package/build/types/carbonbox/users/clients/company/domain/repository/ICompanyManagerRepository.d.ts +11 -0
  183. package/build/types/carbonbox/users/clients/company/domain/repository/ICompanyManagerRepository.d.ts.map +1 -0
  184. package/build/types/carbonbox/users/clients/company/domain/repository/ICompanyRepository.d.ts +11 -0
  185. package/build/types/carbonbox/users/clients/company/domain/repository/ICompanyRepository.d.ts.map +1 -0
  186. package/build/types/carbonbox/users/clients/company/domain/value-objects/Avatar.d.ts +7 -0
  187. package/build/types/carbonbox/users/clients/company/domain/value-objects/Avatar.d.ts.map +1 -0
  188. package/build/types/carbonbox/users/clients/company/domain/value-objects/Biography.d.ts +6 -0
  189. package/build/types/carbonbox/users/clients/company/domain/value-objects/Biography.d.ts.map +1 -0
  190. package/build/types/carbonbox/users/clients/company/domain/value-objects/CreatedAt.d.ts +5 -0
  191. package/build/types/carbonbox/users/clients/company/domain/value-objects/CreatedAt.d.ts.map +1 -0
  192. package/build/types/carbonbox/users/clients/company/domain/value-objects/CreatedByUserId.d.ts +5 -0
  193. package/build/types/carbonbox/users/clients/company/domain/value-objects/CreatedByUserId.d.ts.map +1 -0
  194. package/build/types/carbonbox/users/clients/company/domain/value-objects/CreatedByUserType.d.ts +5 -0
  195. package/build/types/carbonbox/users/clients/company/domain/value-objects/CreatedByUserType.d.ts.map +1 -0
  196. package/build/types/carbonbox/users/clients/company/domain/value-objects/Description.d.ts +6 -0
  197. package/build/types/carbonbox/users/clients/company/domain/value-objects/Description.d.ts.map +1 -0
  198. package/build/types/carbonbox/users/clients/company/domain/value-objects/Email.d.ts +5 -0
  199. package/build/types/carbonbox/users/clients/company/domain/value-objects/Email.d.ts.map +1 -0
  200. package/build/types/carbonbox/users/clients/company/domain/value-objects/Id.d.ts +5 -0
  201. package/build/types/carbonbox/users/clients/company/domain/value-objects/Id.d.ts.map +1 -0
  202. package/build/types/carbonbox/users/clients/company/domain/value-objects/OfficialName.d.ts +6 -0
  203. package/build/types/carbonbox/users/clients/company/domain/value-objects/OfficialName.d.ts.map +1 -0
  204. package/build/types/carbonbox/users/clients/company/domain/value-objects/Password.d.ts +5 -0
  205. package/build/types/carbonbox/users/clients/company/domain/value-objects/Password.d.ts.map +1 -0
  206. package/build/types/carbonbox/users/clients/company/domain/value-objects/Phone.d.ts +5 -0
  207. package/build/types/carbonbox/users/clients/company/domain/value-objects/Phone.d.ts.map +1 -0
  208. package/build/types/carbonbox/users/clients/company/domain/value-objects/Roles.d.ts +5 -0
  209. package/build/types/carbonbox/users/clients/company/domain/value-objects/Roles.d.ts.map +1 -0
  210. package/build/types/carbonbox/users/clients/company/domain/value-objects/ShortName.d.ts +6 -0
  211. package/build/types/carbonbox/users/clients/company/domain/value-objects/ShortName.d.ts.map +1 -0
  212. package/build/types/carbonbox/users/clients/company/domain/value-objects/TaxIdentificationNumber.d.ts +5 -0
  213. package/build/types/carbonbox/users/clients/company/domain/value-objects/TaxIdentificationNumber.d.ts.map +1 -0
  214. package/build/types/carbonbox/users/clients/company/domain/value-objects/UpdatedAt.d.ts +5 -0
  215. package/build/types/carbonbox/users/clients/company/domain/value-objects/UpdatedAt.d.ts.map +1 -0
  216. package/build/types/carbonbox/users/clients/company/domain/value-objects/UserType.d.ts +8 -0
  217. package/build/types/carbonbox/users/clients/company/domain/value-objects/UserType.d.ts.map +1 -0
  218. package/build/types/carbonbox/users/clients/company/domain/value-objects/WorkLocation.d.ts +5 -0
  219. package/build/types/carbonbox/users/clients/company/domain/value-objects/WorkLocation.d.ts.map +1 -0
  220. package/build/types/carbonbox/users/clients/company-host-manager/domain/CompanyHost.d.ts +44 -0
  221. package/build/types/carbonbox/users/clients/company-host-manager/domain/CompanyHost.d.ts.map +1 -0
  222. package/build/types/carbonbox/users/clients/company-host-manager/domain/CompanyHostManager.d.ts +44 -0
  223. package/build/types/carbonbox/users/clients/company-host-manager/domain/CompanyHostManager.d.ts.map +1 -0
  224. package/build/types/carbonbox/users/clients/company-host-manager/domain/ICompanyHostManagerPrimitives.d.ts +9 -0
  225. package/build/types/carbonbox/users/clients/company-host-manager/domain/ICompanyHostManagerPrimitives.d.ts.map +1 -0
  226. package/build/types/carbonbox/users/clients/company-host-manager/domain/repository/ICompanyHostManagerRepository.d.ts +11 -0
  227. package/build/types/carbonbox/users/clients/company-host-manager/domain/repository/ICompanyHostManagerRepository.d.ts.map +1 -0
  228. package/build/types/carbonbox/users/clients/company-host-manager/domain/repository/IHostManagerRepository.d.ts +11 -0
  229. package/build/types/carbonbox/users/clients/company-host-manager/domain/repository/IHostManagerRepository.d.ts.map +1 -0
  230. package/build/types/carbonbox/users/clients/company-host-manager/domain/value-objects/ActiveCustomPlanId.d.ts +6 -0
  231. package/build/types/carbonbox/users/clients/company-host-manager/domain/value-objects/ActiveCustomPlanId.d.ts.map +1 -0
  232. package/build/types/carbonbox/users/clients/company-host-manager/domain/value-objects/Avatar.d.ts +7 -0
  233. package/build/types/carbonbox/users/clients/company-host-manager/domain/value-objects/Avatar.d.ts.map +1 -0
  234. package/build/types/carbonbox/users/clients/company-host-manager/domain/value-objects/Biography.d.ts +6 -0
  235. package/build/types/carbonbox/users/clients/company-host-manager/domain/value-objects/Biography.d.ts.map +1 -0
  236. package/build/types/carbonbox/users/clients/company-host-manager/domain/value-objects/CreatedAt.d.ts +5 -0
  237. package/build/types/carbonbox/users/clients/company-host-manager/domain/value-objects/CreatedAt.d.ts.map +1 -0
  238. package/build/types/carbonbox/users/clients/company-host-manager/domain/value-objects/Email.d.ts +5 -0
  239. package/build/types/carbonbox/users/clients/company-host-manager/domain/value-objects/Email.d.ts.map +1 -0
  240. package/build/types/carbonbox/users/clients/company-host-manager/domain/value-objects/Id.d.ts +5 -0
  241. package/build/types/carbonbox/users/clients/company-host-manager/domain/value-objects/Id.d.ts.map +1 -0
  242. package/build/types/carbonbox/users/clients/company-host-manager/domain/value-objects/OfficialName.d.ts +6 -0
  243. package/build/types/carbonbox/users/clients/company-host-manager/domain/value-objects/OfficialName.d.ts.map +1 -0
  244. package/build/types/carbonbox/users/clients/company-host-manager/domain/value-objects/Password.d.ts +5 -0
  245. package/build/types/carbonbox/users/clients/company-host-manager/domain/value-objects/Password.d.ts.map +1 -0
  246. package/build/types/carbonbox/users/clients/company-host-manager/domain/value-objects/Phone.d.ts +5 -0
  247. package/build/types/carbonbox/users/clients/company-host-manager/domain/value-objects/Phone.d.ts.map +1 -0
  248. package/build/types/carbonbox/users/clients/company-host-manager/domain/value-objects/Roles.d.ts +5 -0
  249. package/build/types/carbonbox/users/clients/company-host-manager/domain/value-objects/Roles.d.ts.map +1 -0
  250. package/build/types/carbonbox/users/clients/company-host-manager/domain/value-objects/TaxIdentificationNumber.d.ts +5 -0
  251. package/build/types/carbonbox/users/clients/company-host-manager/domain/value-objects/TaxIdentificationNumber.d.ts.map +1 -0
  252. package/build/types/carbonbox/users/clients/company-host-manager/domain/value-objects/UpdatedAt.d.ts +5 -0
  253. package/build/types/carbonbox/users/clients/company-host-manager/domain/value-objects/UpdatedAt.d.ts.map +1 -0
  254. package/build/types/carbonbox/users/clients/company-host-manager/domain/value-objects/UserType.d.ts +8 -0
  255. package/build/types/carbonbox/users/clients/company-host-manager/domain/value-objects/UserType.d.ts.map +1 -0
  256. package/build/types/carbonbox/users/clients/company-host-manager/domain/value-objects/WorkLocation.d.ts +5 -0
  257. package/build/types/carbonbox/users/clients/company-host-manager/domain/value-objects/WorkLocation.d.ts.map +1 -0
  258. package/build/types/carbonbox/users/shared/domain/AnySystemUserType.d.ts +6 -0
  259. package/build/types/carbonbox/users/shared/domain/AnySystemUserType.d.ts.map +1 -1
  260. package/build/types/carbonbox/users/shared/domain/IAnySystemUserTypePrimitives.d.ts +2 -2
  261. package/build/types/carbonbox/users/shared/domain/IAnySystemUserTypePrimitives.d.ts.map +1 -1
  262. package/build/types/carbonbox/users/shared/domain/ICreationContext.d.ts +1 -2
  263. package/build/types/carbonbox/users/shared/domain/ICreationContext.d.ts.map +1 -1
  264. package/build/types/main/index.d.ts +17 -0
  265. package/build/types/main/index.d.ts.map +1 -1
  266. package/package.json +1 -1
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OfficialName = void 0;
4
+ const String_1 = require("../../../../../shared/domain/value-objects/String");
5
+ // TODO: Agregar regex y validaciones de negocio - ManuelR
6
+ class OfficialName extends String_1.String {
7
+ constructor(value) {
8
+ super(value, 'officialName');
9
+ }
10
+ static create(value) {
11
+ return new OfficialName(value);
12
+ }
13
+ }
14
+ exports.OfficialName = OfficialName;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Password = void 0;
4
+ const Password_1 = require("../../../../shared/domain/value-objects/Password");
5
+ class Password extends Password_1.Password {
6
+ constructor(value) {
7
+ super(value);
8
+ }
9
+ }
10
+ exports.Password = Password;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Phone = void 0;
4
+ const Phone_1 = require("../../../../../shared/domain/value-objects/Phone");
5
+ class Phone extends Phone_1.Phone {
6
+ constructor(value) {
7
+ super(value);
8
+ }
9
+ }
10
+ exports.Phone = Phone;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Roles = void 0;
4
+ const Roles_1 = require("../../../../shared/domain/value-objects/Roles");
5
+ class Roles extends Roles_1.Roles {
6
+ constructor(value) {
7
+ super(value);
8
+ }
9
+ }
10
+ exports.Roles = Roles;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ShortName = void 0;
4
+ const NullableString_1 = require("../../../../../shared/domain/value-objects/NullableString");
5
+ // TODO: Agregar validaciones de negocio - ManuelR
6
+ class ShortName extends NullableString_1.NullableString {
7
+ constructor(value) {
8
+ super(value, 'shortName');
9
+ }
10
+ static create(value) {
11
+ return new ShortName(value);
12
+ }
13
+ }
14
+ exports.ShortName = ShortName;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TaxIdentificationNumber = void 0;
4
+ const TaxIdentificationNumber_1 = require("../../../../shared/domain/value-objects/TaxIdentificationNumber");
5
+ class TaxIdentificationNumber extends TaxIdentificationNumber_1.TaxIdentificationNumber {
6
+ constructor(value) {
7
+ super(value);
8
+ }
9
+ }
10
+ exports.TaxIdentificationNumber = TaxIdentificationNumber;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdatedAt = void 0;
4
+ const UpdatedAt_1 = require("../../../../../shared/domain/value-objects/UpdatedAt");
5
+ class UpdatedAt extends UpdatedAt_1.UpdatedAt {
6
+ constructor(value) {
7
+ super(value);
8
+ }
9
+ }
10
+ exports.UpdatedAt = UpdatedAt;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserType = void 0;
4
+ const UserTypeEnum_1 = require("../../../../shared/domain/UserTypeEnum");
5
+ const UserType_1 = require("../../../../shared/domain/value-objects/UserType");
6
+ class UserType extends UserType_1.UserType {
7
+ constructor() {
8
+ super(UserTypeEnum_1.UserTypeEnum.CLIENT_COMPANY);
9
+ }
10
+ static get value() {
11
+ return UserTypeEnum_1.UserTypeEnum.CLIENT_COMPANY;
12
+ }
13
+ }
14
+ exports.UserType = UserType;
15
+ UserType.TYPE = UserTypeEnum_1.UserTypeEnum.CLIENT_COMPANY;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WorkLocation = void 0;
4
+ const WorkLocation_1 = require("../../../../../shared/domain/value-objects/WorkLocation");
5
+ class WorkLocation extends WorkLocation_1.WorkLocation {
6
+ constructor(value) {
7
+ super(value);
8
+ }
9
+ }
10
+ exports.WorkLocation = WorkLocation;
@@ -0,0 +1,126 @@
1
+ "use strict";
2
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
+ if (kind === "m") throw new TypeError("Private method is not writable");
4
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
+ };
8
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
10
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
+ };
13
+ var _CompanyHostManager__officialName, _CompanyHostManager__taxIdentificationNumber, _CompanyHostManager__activeCustomPlanId, _CompanyHostManager__phone, _CompanyHostManager__workLocation, _CompanyHostManager__avatar, _CompanyHostManager__biography;
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.CompanyHostManager = void 0;
16
+ const User_1 = require("../../../shared/domain/User");
17
+ const ActiveCustomPlanId_1 = require("./value-objects/ActiveCustomPlanId");
18
+ const Avatar_1 = require("./value-objects/Avatar");
19
+ const Biography_1 = require("./value-objects/Biography");
20
+ const CreatedAt_1 = require("./value-objects/CreatedAt");
21
+ const Email_1 = require("./value-objects/Email");
22
+ const Id_1 = require("./value-objects/Id");
23
+ const OfficialName_1 = require("./value-objects/OfficialName");
24
+ const Password_1 = require("./value-objects/Password");
25
+ const Phone_1 = require("./value-objects/Phone");
26
+ const Roles_1 = require("./value-objects/Roles");
27
+ const TaxIdentificationNumber_1 = require("./value-objects/TaxIdentificationNumber");
28
+ const UpdatedAt_1 = require("./value-objects/UpdatedAt");
29
+ const UserType_1 = require("./value-objects/UserType");
30
+ const WorkLocation_1 = require("./value-objects/WorkLocation");
31
+ class CompanyHostManager extends User_1.User {
32
+ constructor(props) {
33
+ const id = Id_1.Id.create(props.id);
34
+ const createdAt = CreatedAt_1.CreatedAt.create(props.createdAt);
35
+ const updatedAt = UpdatedAt_1.UpdatedAt.create(props.createdAt);
36
+ const email = Email_1.Email.create(props.email);
37
+ const userType = UserType_1.UserType.create(props.userType);
38
+ const roles = Roles_1.Roles.create(props.roles);
39
+ const password = Password_1.Password.create(props.password);
40
+ super({
41
+ id: id.value,
42
+ createdAt: createdAt.value,
43
+ updatedAt: updatedAt.value,
44
+ email: email.value,
45
+ userType: userType.value,
46
+ roles: roles.value,
47
+ password: password.value,
48
+ });
49
+ _CompanyHostManager__officialName.set(this, void 0);
50
+ _CompanyHostManager__taxIdentificationNumber.set(this, void 0);
51
+ _CompanyHostManager__activeCustomPlanId.set(this, void 0);
52
+ _CompanyHostManager__phone.set(this, void 0);
53
+ _CompanyHostManager__workLocation.set(this, void 0);
54
+ _CompanyHostManager__avatar.set(this, void 0);
55
+ _CompanyHostManager__biography.set(this, void 0);
56
+ __classPrivateFieldSet(this, _CompanyHostManager__officialName, OfficialName_1.OfficialName.create(props.officialName), "f");
57
+ __classPrivateFieldSet(this, _CompanyHostManager__taxIdentificationNumber, TaxIdentificationNumber_1.TaxIdentificationNumber.create(props.taxIdentificationNumber), "f");
58
+ __classPrivateFieldSet(this, _CompanyHostManager__activeCustomPlanId, ActiveCustomPlanId_1.ActiveCustomPlanId.create(props.activeCustomPlanId), "f");
59
+ __classPrivateFieldSet(this, _CompanyHostManager__phone, Phone_1.Phone.create(props.phone), "f");
60
+ __classPrivateFieldSet(this, _CompanyHostManager__workLocation, WorkLocation_1.WorkLocation.create(props.workLocation), "f");
61
+ __classPrivateFieldSet(this, _CompanyHostManager__avatar, Avatar_1.Avatar.create(props.avatar), "f");
62
+ __classPrivateFieldSet(this, _CompanyHostManager__biography, Biography_1.Biography.create(props.biography), "f");
63
+ }
64
+ static create(props) {
65
+ return new CompanyHostManager(props);
66
+ }
67
+ static fromPrimitives(primitives) {
68
+ return new CompanyHostManager({
69
+ id: primitives.id,
70
+ createdAt: primitives.createdAt,
71
+ updatedAt: primitives.updatedAt,
72
+ email: primitives.email,
73
+ password: primitives.password,
74
+ userType: primitives.userType,
75
+ roles: primitives.roles,
76
+ phone: primitives.phone,
77
+ workLocation: primitives.workLocation,
78
+ avatar: primitives.avatar,
79
+ biography: primitives.biography,
80
+ officialName: primitives.officialName,
81
+ taxIdentificationNumber: primitives.taxIdentificationNumber,
82
+ activeCustomPlanId: primitives.activeCustomPlanId,
83
+ });
84
+ }
85
+ get officialName() {
86
+ return __classPrivateFieldGet(this, _CompanyHostManager__officialName, "f");
87
+ }
88
+ get taxIdentificationNumber() {
89
+ return __classPrivateFieldGet(this, _CompanyHostManager__taxIdentificationNumber, "f");
90
+ }
91
+ get activeCustomPlanId() {
92
+ return __classPrivateFieldGet(this, _CompanyHostManager__activeCustomPlanId, "f");
93
+ }
94
+ get phone() {
95
+ return __classPrivateFieldGet(this, _CompanyHostManager__phone, "f");
96
+ }
97
+ get workLocation() {
98
+ return __classPrivateFieldGet(this, _CompanyHostManager__workLocation, "f");
99
+ }
100
+ get avatar() {
101
+ return __classPrivateFieldGet(this, _CompanyHostManager__avatar, "f");
102
+ }
103
+ get biography() {
104
+ return __classPrivateFieldGet(this, _CompanyHostManager__biography, "f");
105
+ }
106
+ get toPrimitives() {
107
+ return {
108
+ id: this.id.value,
109
+ createdAt: this.createdAt.value,
110
+ updatedAt: this.updatedAt.value,
111
+ email: this.email.value,
112
+ password: this.password.value,
113
+ userType: this.userType.value,
114
+ roles: this.roles.value,
115
+ phone: __classPrivateFieldGet(this, _CompanyHostManager__phone, "f").value,
116
+ workLocation: __classPrivateFieldGet(this, _CompanyHostManager__workLocation, "f").value,
117
+ avatar: __classPrivateFieldGet(this, _CompanyHostManager__avatar, "f").value,
118
+ biography: __classPrivateFieldGet(this, _CompanyHostManager__biography, "f").value,
119
+ officialName: __classPrivateFieldGet(this, _CompanyHostManager__officialName, "f").value,
120
+ taxIdentificationNumber: __classPrivateFieldGet(this, _CompanyHostManager__taxIdentificationNumber, "f").value,
121
+ activeCustomPlanId: __classPrivateFieldGet(this, _CompanyHostManager__activeCustomPlanId, "f").value,
122
+ };
123
+ }
124
+ }
125
+ exports.CompanyHostManager = CompanyHostManager;
126
+ _CompanyHostManager__officialName = new WeakMap(), _CompanyHostManager__taxIdentificationNumber = new WeakMap(), _CompanyHostManager__activeCustomPlanId = new WeakMap(), _CompanyHostManager__phone = new WeakMap(), _CompanyHostManager__workLocation = new WeakMap(), _CompanyHostManager__avatar = new WeakMap(), _CompanyHostManager__biography = new WeakMap();
@@ -0,0 +1,126 @@
1
+ "use strict";
2
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
+ if (kind === "m") throw new TypeError("Private method is not writable");
4
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
+ };
8
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
10
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
+ };
13
+ var _CompanyHostManager__officialName, _CompanyHostManager__taxIdentificationNumber, _CompanyHostManager__activeCustomPlanId, _CompanyHostManager__phone, _CompanyHostManager__workLocation, _CompanyHostManager__avatar, _CompanyHostManager__biography;
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.CompanyHostManager = void 0;
16
+ const User_1 = require("../../../shared/domain/User");
17
+ const ActiveCustomPlanId_1 = require("./value-objects/ActiveCustomPlanId");
18
+ const Avatar_1 = require("./value-objects/Avatar");
19
+ const Biography_1 = require("./value-objects/Biography");
20
+ const CreatedAt_1 = require("./value-objects/CreatedAt");
21
+ const Email_1 = require("./value-objects/Email");
22
+ const Id_1 = require("./value-objects/Id");
23
+ const OfficialName_1 = require("./value-objects/OfficialName");
24
+ const Password_1 = require("./value-objects/Password");
25
+ const Phone_1 = require("./value-objects/Phone");
26
+ const Roles_1 = require("./value-objects/Roles");
27
+ const TaxIdentificationNumber_1 = require("./value-objects/TaxIdentificationNumber");
28
+ const UpdatedAt_1 = require("./value-objects/UpdatedAt");
29
+ const UserType_1 = require("./value-objects/UserType");
30
+ const WorkLocation_1 = require("./value-objects/WorkLocation");
31
+ class CompanyHostManager extends User_1.User {
32
+ constructor(props) {
33
+ const id = Id_1.Id.create(props.id);
34
+ const createdAt = CreatedAt_1.CreatedAt.create(props.createdAt);
35
+ const updatedAt = UpdatedAt_1.UpdatedAt.create(props.createdAt);
36
+ const email = Email_1.Email.create(props.email);
37
+ const userType = UserType_1.UserType.create(props.userType);
38
+ const roles = Roles_1.Roles.create(props.roles);
39
+ const password = Password_1.Password.create(props.password);
40
+ super({
41
+ id: id.value,
42
+ createdAt: createdAt.value,
43
+ updatedAt: updatedAt.value,
44
+ email: email.value,
45
+ userType: userType.value,
46
+ roles: roles.value,
47
+ password: password.value,
48
+ });
49
+ _CompanyHostManager__officialName.set(this, void 0);
50
+ _CompanyHostManager__taxIdentificationNumber.set(this, void 0);
51
+ _CompanyHostManager__activeCustomPlanId.set(this, void 0);
52
+ _CompanyHostManager__phone.set(this, void 0);
53
+ _CompanyHostManager__workLocation.set(this, void 0);
54
+ _CompanyHostManager__avatar.set(this, void 0);
55
+ _CompanyHostManager__biography.set(this, void 0);
56
+ __classPrivateFieldSet(this, _CompanyHostManager__officialName, OfficialName_1.OfficialName.create(props.officialName), "f");
57
+ __classPrivateFieldSet(this, _CompanyHostManager__taxIdentificationNumber, TaxIdentificationNumber_1.TaxIdentificationNumber.create(props.taxIdentificationNumber), "f");
58
+ __classPrivateFieldSet(this, _CompanyHostManager__activeCustomPlanId, ActiveCustomPlanId_1.ActiveCustomPlanId.create(props.activeCustomPlanId), "f");
59
+ __classPrivateFieldSet(this, _CompanyHostManager__phone, Phone_1.Phone.create(props.phone), "f");
60
+ __classPrivateFieldSet(this, _CompanyHostManager__workLocation, WorkLocation_1.WorkLocation.create(props.workLocation), "f");
61
+ __classPrivateFieldSet(this, _CompanyHostManager__avatar, Avatar_1.Avatar.create(props.avatar), "f");
62
+ __classPrivateFieldSet(this, _CompanyHostManager__biography, Biography_1.Biography.create(props.biography), "f");
63
+ }
64
+ static create(props) {
65
+ return new CompanyHostManager(props);
66
+ }
67
+ static fromPrimitives(primitives) {
68
+ return new CompanyHostManager({
69
+ id: primitives.id,
70
+ createdAt: primitives.createdAt,
71
+ updatedAt: primitives.updatedAt,
72
+ email: primitives.email,
73
+ password: primitives.password,
74
+ userType: primitives.userType,
75
+ roles: primitives.roles,
76
+ phone: primitives.phone,
77
+ workLocation: primitives.workLocation,
78
+ avatar: primitives.avatar,
79
+ biography: primitives.biography,
80
+ officialName: primitives.officialName,
81
+ taxIdentificationNumber: primitives.taxIdentificationNumber,
82
+ activeCustomPlanId: primitives.activeCustomPlanId,
83
+ });
84
+ }
85
+ get officialName() {
86
+ return __classPrivateFieldGet(this, _CompanyHostManager__officialName, "f");
87
+ }
88
+ get taxIdentificationNumber() {
89
+ return __classPrivateFieldGet(this, _CompanyHostManager__taxIdentificationNumber, "f");
90
+ }
91
+ get activeCustomPlanId() {
92
+ return __classPrivateFieldGet(this, _CompanyHostManager__activeCustomPlanId, "f");
93
+ }
94
+ get phone() {
95
+ return __classPrivateFieldGet(this, _CompanyHostManager__phone, "f");
96
+ }
97
+ get workLocation() {
98
+ return __classPrivateFieldGet(this, _CompanyHostManager__workLocation, "f");
99
+ }
100
+ get avatar() {
101
+ return __classPrivateFieldGet(this, _CompanyHostManager__avatar, "f");
102
+ }
103
+ get biography() {
104
+ return __classPrivateFieldGet(this, _CompanyHostManager__biography, "f");
105
+ }
106
+ get toPrimitives() {
107
+ return {
108
+ id: this.id.value,
109
+ createdAt: this.createdAt.value,
110
+ updatedAt: this.updatedAt.value,
111
+ email: this.email.value,
112
+ password: this.password.value,
113
+ userType: this.userType.value,
114
+ roles: this.roles.value,
115
+ phone: __classPrivateFieldGet(this, _CompanyHostManager__phone, "f").value,
116
+ workLocation: __classPrivateFieldGet(this, _CompanyHostManager__workLocation, "f").value,
117
+ avatar: __classPrivateFieldGet(this, _CompanyHostManager__avatar, "f").value,
118
+ biography: __classPrivateFieldGet(this, _CompanyHostManager__biography, "f").value,
119
+ officialName: __classPrivateFieldGet(this, _CompanyHostManager__officialName, "f").value,
120
+ taxIdentificationNumber: __classPrivateFieldGet(this, _CompanyHostManager__taxIdentificationNumber, "f").value,
121
+ activeCustomPlanId: __classPrivateFieldGet(this, _CompanyHostManager__activeCustomPlanId, "f").value,
122
+ };
123
+ }
124
+ }
125
+ exports.CompanyHostManager = CompanyHostManager;
126
+ _CompanyHostManager__officialName = new WeakMap(), _CompanyHostManager__taxIdentificationNumber = new WeakMap(), _CompanyHostManager__activeCustomPlanId = new WeakMap(), _CompanyHostManager__phone = new WeakMap(), _CompanyHostManager__workLocation = new WeakMap(), _CompanyHostManager__avatar = new WeakMap(), _CompanyHostManager__biography = new WeakMap();
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ActiveCustomPlanId = void 0;
4
+ const NullableId_1 = require("../../../../../shared/domain/value-objects/NullableId");
5
+ // TODO: Eliminar propiedad por la nueva relación que tiene la entidad Plan
6
+ class ActiveCustomPlanId extends NullableId_1.NullableId {
7
+ constructor(value) {
8
+ super(value);
9
+ }
10
+ static create(value) {
11
+ return new ActiveCustomPlanId(value);
12
+ }
13
+ }
14
+ exports.ActiveCustomPlanId = ActiveCustomPlanId;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Avatar = void 0;
4
+ const Avatar_1 = require("../../../../shared/domain/value-objects/Avatar");
5
+ class Avatar extends Avatar_1.Avatar {
6
+ constructor(value) {
7
+ super(value);
8
+ }
9
+ static create(value) {
10
+ return new Avatar(value);
11
+ }
12
+ }
13
+ exports.Avatar = Avatar;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Biography = void 0;
4
+ const NullableString_1 = require("../../../../../shared/domain/value-objects/NullableString");
5
+ class Biography extends NullableString_1.NullableString {
6
+ constructor(value) {
7
+ super(value, 'biography');
8
+ }
9
+ static create(value) {
10
+ return new Biography(value);
11
+ }
12
+ }
13
+ exports.Biography = Biography;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreatedAt = void 0;
4
+ const CreatedAt_1 = require("../../../../../shared/domain/value-objects/CreatedAt");
5
+ class CreatedAt extends CreatedAt_1.CreatedAt {
6
+ constructor(value) {
7
+ super(value);
8
+ }
9
+ }
10
+ exports.CreatedAt = CreatedAt;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Email = void 0;
4
+ const Email_1 = require("../../../../shared/domain/value-objects/Email");
5
+ class Email extends Email_1.Email {
6
+ constructor(value) {
7
+ super(value);
8
+ }
9
+ }
10
+ exports.Email = Email;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Id = void 0;
4
+ const Id_1 = require("../../../../../shared/domain/value-objects/Id");
5
+ class Id extends Id_1.Id {
6
+ constructor(value) {
7
+ super(value);
8
+ }
9
+ }
10
+ exports.Id = Id;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OfficialName = void 0;
4
+ const String_1 = require("../../../../../shared/domain/value-objects/String");
5
+ class OfficialName extends String_1.String {
6
+ constructor(value) {
7
+ super(value, 'officialName');
8
+ }
9
+ static create(value) {
10
+ return new OfficialName(value);
11
+ }
12
+ }
13
+ exports.OfficialName = OfficialName;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Password = void 0;
4
+ const Password_1 = require("../../../../shared/domain/value-objects/Password");
5
+ class Password extends Password_1.Password {
6
+ constructor(value) {
7
+ super(value);
8
+ }
9
+ }
10
+ exports.Password = Password;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Phone = void 0;
4
+ const Phone_1 = require("../../../../../shared/domain/value-objects/Phone");
5
+ class Phone extends Phone_1.Phone {
6
+ constructor(value) {
7
+ super(value);
8
+ }
9
+ }
10
+ exports.Phone = Phone;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Roles = void 0;
4
+ const Roles_1 = require("../../../../shared/domain/value-objects/Roles");
5
+ class Roles extends Roles_1.Roles {
6
+ constructor(value) {
7
+ super(value);
8
+ }
9
+ }
10
+ exports.Roles = Roles;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TaxIdentificationNumber = void 0;
4
+ const TaxIdentificationNumber_1 = require("../../../../shared/domain/value-objects/TaxIdentificationNumber");
5
+ class TaxIdentificationNumber extends TaxIdentificationNumber_1.TaxIdentificationNumber {
6
+ constructor(value) {
7
+ super(value);
8
+ }
9
+ }
10
+ exports.TaxIdentificationNumber = TaxIdentificationNumber;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdatedAt = void 0;
4
+ const UpdatedAt_1 = require("../../../../../shared/domain/value-objects/UpdatedAt");
5
+ class UpdatedAt extends UpdatedAt_1.UpdatedAt {
6
+ constructor(value) {
7
+ super(value);
8
+ }
9
+ }
10
+ exports.UpdatedAt = UpdatedAt;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserType = void 0;
4
+ const UserTypeEnum_1 = require("../../../../shared/domain/UserTypeEnum");
5
+ const UserType_1 = require("../../../../shared/domain/value-objects/UserType");
6
+ class UserType extends UserType_1.UserType {
7
+ constructor() {
8
+ super(UserTypeEnum_1.UserTypeEnum.CLIENT_COMPANY_HOST_MANAGER);
9
+ }
10
+ static get value() {
11
+ return UserTypeEnum_1.UserTypeEnum.CLIENT_COMPANY_HOST_MANAGER;
12
+ }
13
+ }
14
+ exports.UserType = UserType;
15
+ UserType.TYPE = UserTypeEnum_1.UserTypeEnum.CLIENT_COMPANY_HOST_MANAGER;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WorkLocation = void 0;
4
+ const WorkLocation_1 = require("../../../../../shared/domain/value-objects/WorkLocation");
5
+ class WorkLocation extends WorkLocation_1.WorkLocation {
6
+ constructor(value) {
7
+ super(value);
8
+ }
9
+ }
10
+ exports.WorkLocation = WorkLocation;
@@ -1 +1,2 @@
1
1
  "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.User = exports.InvalidValueObjectConfigurationError = exports.NotIntegerError = exports.NullValueError = exports.UndefinedValueError = exports.MinimumValueViolationError = exports.InvalidStringArrayError = exports.InvalidPropertyTypeError = exports.InvalidNationalNumberError = exports.InvalidMinutesDurationError = exports.InvalidGenderError = exports.InvalidFullInternationalNumberError = exports.InvalidDomainIdError = exports.InvalidDateFormatError = exports.InvalidCountryCodeError = exports.InvalidCoordinatesError = exports.CreateMethodNotImplementedError = exports.RootError = exports.AggregateRoot = exports.DomainError = exports.HttpStatus = exports.Either = void 0;
3
+ exports.CompanyHostManager = exports.Company = exports.HostManager = exports.Host = exports.Coordinator = exports.User = exports.InvalidValueObjectConfigurationError = exports.NotIntegerError = exports.NullValueError = exports.UndefinedValueError = exports.MinimumValueViolationError = exports.InvalidStringArrayError = exports.InvalidPropertyTypeError = exports.InvalidNationalNumberError = exports.InvalidMinutesDurationError = exports.InvalidGenderError = exports.InvalidFullInternationalNumberError = exports.InvalidDomainIdError = exports.InvalidDateFormatError = exports.InvalidCountryCodeError = exports.InvalidCoordinatesError = exports.CreateMethodNotImplementedError = exports.RootError = exports.AggregateRoot = exports.DomainError = exports.HttpStatus = exports.Either = void 0;
4
4
  // Shared
5
5
  var Either_1 = require("../carbonbox/shared/domain/either/Either");
6
6
  Object.defineProperty(exports, "Either", { enumerable: true, get: function () { return Either_1.Either; } });
@@ -47,3 +47,18 @@ Object.defineProperty(exports, "InvalidValueObjectConfigurationError", { enumera
47
47
  // Users Shared
48
48
  var User_1 = require("../carbonbox/users/shared/domain/User");
49
49
  Object.defineProperty(exports, "User", { enumerable: true, get: function () { return User_1.User; } });
50
+ // Users CarbonBox Coordinator
51
+ var Coordinator_1 = require("../carbonbox/users/carbonBox/coordinator/domain/Coordinator");
52
+ Object.defineProperty(exports, "Coordinator", { enumerable: true, get: function () { return Coordinator_1.Coordinator; } });
53
+ // Users CarbonBox Host
54
+ var Host_1 = require("../carbonbox/users/carbonBox/host/domain/Host");
55
+ Object.defineProperty(exports, "Host", { enumerable: true, get: function () { return Host_1.Host; } });
56
+ // Users CarbonBox Host Manager
57
+ var HostManager_1 = require("../carbonbox/users/carbonBox/host-manager/domain/HostManager");
58
+ Object.defineProperty(exports, "HostManager", { enumerable: true, get: function () { return HostManager_1.HostManager; } });
59
+ // Users Clients Company
60
+ var Company_1 = require("../carbonbox/users/clients/company/domain/Company");
61
+ Object.defineProperty(exports, "Company", { enumerable: true, get: function () { return Company_1.Company; } });
62
+ // Users Clients Company Host Manager
63
+ var CompanyHostManager_1 = require("../carbonbox/users/clients/company-host-manager/domain/CompanyHostManager");
64
+ Object.defineProperty(exports, "CompanyHostManager", { enumerable: true, get: function () { return CompanyHostManager_1.CompanyHostManager; } });
@@ -0,0 +1,23 @@
1
+ import { Service } from '../../shared/domain/Service';
2
+ import { IAdditionalPrimitives } from './IAdditionalPrimitives';
3
+ import { ServiceAdditionalType } from './value-objects/ServiceAdditionalType';
4
+ export interface IAdditionalProps {
5
+ id: string;
6
+ name: string;
7
+ description: string;
8
+ serviceAdditionalType: string;
9
+ priceType: string;
10
+ priceValue: number;
11
+ priceUnit: string;
12
+ createdAt: string;
13
+ updatedAt: string;
14
+ }
15
+ export declare class Additional extends Service<IAdditionalPrimitives> {
16
+ #private;
17
+ private constructor();
18
+ static create(props: IAdditionalProps): Additional;
19
+ static fromPrimitives(primitives: IAdditionalPrimitives): Additional;
20
+ get serviceAdditionalType(): ServiceAdditionalType;
21
+ get toPrimitives(): IAdditionalPrimitives;
22
+ }
23
+ //# sourceMappingURL=Additional.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Additional.d.ts","sourceRoot":"","sources":["../../../../../../src/carbonbox/services/additional/domain/Additional.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AACtD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAQhE,OAAO,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AAG9E,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,qBAAa,UAAW,SAAQ,OAAO,CAAC,qBAAqB,CAAC;;IAG5D,OAAO;WAwBO,MAAM,CAAC,KAAK,EAAE,gBAAgB,GAAG,UAAU;WAI3C,cAAc,CAAC,UAAU,EAAE,qBAAqB,GAAG,UAAU;IAc3E,IAAW,qBAAqB,IAAI,qBAAqB,CAExD;IAED,IAAoB,YAAY,IAAI,qBAAqB,CAYxD;CACF"}
@@ -0,0 +1,5 @@
1
+ import { IServicePrimitives } from '../../shared/domain/IServicePrimitives';
2
+ export interface IAdditionalPrimitives extends IServicePrimitives {
3
+ serviceAdditionalType: string;
4
+ }
5
+ //# sourceMappingURL=IAdditionalPrimitives.d.ts.map