@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,82 @@
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 _Additional__serviceAdditionalType;
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.Additional = void 0;
16
+ const Service_1 = require("../../shared/domain/Service");
17
+ const CreatedAt_1 = require("./value-objects/CreatedAt");
18
+ const Description_1 = require("./value-objects/Description");
19
+ const Id_1 = require("./value-objects/Id");
20
+ const Name_1 = require("./value-objects/Name");
21
+ const PriceType_1 = require("./value-objects/PriceType");
22
+ const PriceUnit_1 = require("./value-objects/PriceUnit");
23
+ const PriceValue_1 = require("./value-objects/PriceValue");
24
+ const ServiceAdditionalType_1 = require("./value-objects/ServiceAdditionalType");
25
+ class Additional extends Service_1.Service {
26
+ constructor(props) {
27
+ const id = Id_1.Id.create(props.id);
28
+ const createdAt = CreatedAt_1.CreatedAt.create(props.createdAt);
29
+ const updatedAt = CreatedAt_1.CreatedAt.create(props.updatedAt);
30
+ const name = Name_1.Name.create(props.name);
31
+ const description = Description_1.Description.create(props.description);
32
+ const priceType = PriceType_1.PriceType.create(props.priceType);
33
+ const priceValue = PriceValue_1.PriceValue.create(props.priceValue);
34
+ const priceUnit = PriceUnit_1.PriceUnit.create(props.priceUnit);
35
+ super({
36
+ id: id.value,
37
+ createdAt: createdAt.value,
38
+ updatedAt: updatedAt.value,
39
+ name: name.value,
40
+ description: description.value,
41
+ priceType: priceType.value,
42
+ priceValue: priceValue.value,
43
+ priceUnit: priceUnit.value,
44
+ });
45
+ _Additional__serviceAdditionalType.set(this, void 0);
46
+ __classPrivateFieldSet(this, _Additional__serviceAdditionalType, ServiceAdditionalType_1.ServiceAdditionalType.create(props.serviceAdditionalType), "f");
47
+ }
48
+ static create(props) {
49
+ return new Additional(props);
50
+ }
51
+ static fromPrimitives(primitives) {
52
+ return new Additional({
53
+ id: primitives.id,
54
+ createdAt: primitives.createdAt,
55
+ updatedAt: primitives.updatedAt,
56
+ name: primitives.name,
57
+ description: primitives.description,
58
+ serviceAdditionalType: primitives.serviceAdditionalType,
59
+ priceType: primitives.priceType,
60
+ priceUnit: primitives.priceUnit,
61
+ priceValue: primitives.priceValue,
62
+ });
63
+ }
64
+ get serviceAdditionalType() {
65
+ return __classPrivateFieldGet(this, _Additional__serviceAdditionalType, "f");
66
+ }
67
+ get toPrimitives() {
68
+ return {
69
+ id: this.id.value,
70
+ createdAt: this.createdAt.value,
71
+ updatedAt: this.updatedAt.value,
72
+ name: this.name.value,
73
+ description: this.description.value,
74
+ serviceAdditionalType: __classPrivateFieldGet(this, _Additional__serviceAdditionalType, "f").value,
75
+ priceType: this.priceType.value,
76
+ priceUnit: this.priceUnit.value,
77
+ priceValue: this.priceValue.value,
78
+ };
79
+ }
80
+ }
81
+ exports.Additional = Additional;
82
+ _Additional__serviceAdditionalType = new WeakMap();
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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.Description = void 0;
4
+ const Description_1 = require("../../../shared/domain/value-objects/Description");
5
+ class Description extends Description_1.Description {
6
+ constructor(value) {
7
+ super(value);
8
+ }
9
+ }
10
+ exports.Description = Description;
@@ -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,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Name = void 0;
4
+ const Name_1 = require("../../../shared/domain/value-objects/Name");
5
+ class Name extends Name_1.Name {
6
+ constructor(value) {
7
+ super(value);
8
+ }
9
+ }
10
+ exports.Name = Name;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PriceType = void 0;
4
+ const PriceType_1 = require("../../../shared/domain/value-objects/PriceType");
5
+ class PriceType extends PriceType_1.PriceType {
6
+ constructor(value) {
7
+ super(value);
8
+ }
9
+ }
10
+ exports.PriceType = PriceType;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PriceUnit = void 0;
4
+ const PriceUnit_1 = require("../../../shared/domain/value-objects/PriceUnit");
5
+ class PriceUnit extends PriceUnit_1.PriceUnit {
6
+ constructor(value) {
7
+ super(value);
8
+ }
9
+ }
10
+ exports.PriceUnit = PriceUnit;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PriceValue = void 0;
4
+ const PriceValue_1 = require("../../../shared/domain/value-objects/PriceValue");
5
+ class PriceValue extends PriceValue_1.PriceValue {
6
+ constructor(value) {
7
+ super(value);
8
+ }
9
+ }
10
+ exports.PriceValue = PriceValue;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ServiceAdditionalType = void 0;
4
+ const String_1 = require("../../../../shared/domain/value-objects/String");
5
+ class ServiceAdditionalType extends String_1.String {
6
+ constructor(value) {
7
+ super(value, 'serviceAdditionalType');
8
+ }
9
+ static create(value) {
10
+ return new ServiceAdditionalType(value);
11
+ }
12
+ }
13
+ exports.ServiceAdditionalType = ServiceAdditionalType;
@@ -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,61 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Complement = void 0;
4
+ const Service_1 = require("../../shared/domain/Service");
5
+ const CreatedAt_1 = require("./value-objects/CreatedAt");
6
+ const Description_1 = require("./value-objects/Description");
7
+ const Id_1 = require("./value-objects/Id");
8
+ const Name_1 = require("./value-objects/Name");
9
+ const PriceType_1 = require("./value-objects/PriceType");
10
+ const PriceUnit_1 = require("./value-objects/PriceUnit");
11
+ const PriceValue_1 = require("./value-objects/PriceValue");
12
+ class Complement extends Service_1.Service {
13
+ constructor(props) {
14
+ const id = Id_1.Id.create(props.id);
15
+ const createdAt = CreatedAt_1.CreatedAt.create(props.createdAt);
16
+ const updatedAt = CreatedAt_1.CreatedAt.create(props.updatedAt);
17
+ const name = Name_1.Name.create(props.name);
18
+ const description = Description_1.Description.create(props.description);
19
+ const priceType = PriceType_1.PriceType.create(props.priceType);
20
+ const priceValue = PriceValue_1.PriceValue.create(props.priceValue);
21
+ const priceUnit = PriceUnit_1.PriceUnit.create(props.priceUnit);
22
+ super({
23
+ id: id.value,
24
+ createdAt: createdAt.value,
25
+ updatedAt: updatedAt.value,
26
+ name: name.value,
27
+ description: description.value,
28
+ priceType: priceType.value,
29
+ priceValue: priceValue.value,
30
+ priceUnit: priceUnit.value,
31
+ });
32
+ }
33
+ static create(props) {
34
+ return new Complement(props);
35
+ }
36
+ static fromPrimitives(primitives) {
37
+ return new Complement({
38
+ id: primitives.id,
39
+ createdAt: primitives.createdAt,
40
+ updatedAt: primitives.updatedAt,
41
+ name: primitives.name,
42
+ description: primitives.description,
43
+ priceType: primitives.priceType,
44
+ priceUnit: primitives.priceUnit,
45
+ priceValue: primitives.priceValue,
46
+ });
47
+ }
48
+ get toPrimitives() {
49
+ return {
50
+ id: this.id.value,
51
+ createdAt: this.createdAt.value,
52
+ updatedAt: this.updatedAt.value,
53
+ name: this.name.value,
54
+ description: this.description.value,
55
+ priceType: this.priceType.value,
56
+ priceUnit: this.priceUnit.value,
57
+ priceValue: this.priceValue.value,
58
+ };
59
+ }
60
+ }
61
+ exports.Complement = Complement;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PriceType = void 0;
4
+ const PriceType_1 = require("../../../shared/domain/value-objects/PriceType");
5
+ class PriceType extends PriceType_1.PriceType {
6
+ constructor(value) {
7
+ super(value);
8
+ }
9
+ }
10
+ exports.PriceType = PriceType;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PriceUnit = void 0;
4
+ const PriceUnit_1 = require("../../../shared/domain/value-objects/PriceUnit");
5
+ class PriceUnit extends PriceUnit_1.PriceUnit {
6
+ constructor(value) {
7
+ super(value);
8
+ }
9
+ }
10
+ exports.PriceUnit = PriceUnit;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PriceValue = void 0;
4
+ const PriceValue_1 = require("../../../shared/domain/value-objects/PriceValue");
5
+ class PriceValue extends PriceValue_1.PriceValue {
6
+ constructor(value) {
7
+ super(value);
8
+ }
9
+ }
10
+ exports.PriceValue = PriceValue;
@@ -1 +1,61 @@
1
1
  "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Core = void 0;
4
+ const Service_1 = require("../../shared/domain/Service");
5
+ const CreatedAt_1 = require("./value-objects/CreatedAt");
6
+ const Description_1 = require("./value-objects/Description");
7
+ const Id_1 = require("./value-objects/Id");
8
+ const Name_1 = require("./value-objects/Name");
9
+ const PriceType_1 = require("./value-objects/PriceType");
10
+ const PriceUnit_1 = require("./value-objects/PriceUnit");
11
+ const PriceValue_1 = require("./value-objects/PriceValue");
12
+ class Core extends Service_1.Service {
13
+ constructor(props) {
14
+ const id = Id_1.Id.create(props.id);
15
+ const createdAt = CreatedAt_1.CreatedAt.create(props.createdAt);
16
+ const updatedAt = CreatedAt_1.CreatedAt.create(props.updatedAt);
17
+ const name = Name_1.Name.create(props.name);
18
+ const description = Description_1.Description.create(props.description);
19
+ const priceType = PriceType_1.PriceType.create(props.priceType);
20
+ const priceValue = PriceValue_1.PriceValue.create(props.priceValue);
21
+ const priceUnit = PriceUnit_1.PriceUnit.create(props.priceUnit);
22
+ super({
23
+ id: id.value,
24
+ createdAt: createdAt.value,
25
+ updatedAt: updatedAt.value,
26
+ name: name.value,
27
+ description: description.value,
28
+ priceType: priceType.value,
29
+ priceValue: priceValue.value,
30
+ priceUnit: priceUnit.value,
31
+ });
32
+ }
33
+ static create(props) {
34
+ return new Core(props);
35
+ }
36
+ static fromPrimitives(primitives) {
37
+ return new Core({
38
+ id: primitives.id,
39
+ createdAt: primitives.createdAt,
40
+ updatedAt: primitives.updatedAt,
41
+ name: primitives.name,
42
+ description: primitives.description,
43
+ priceType: primitives.priceType,
44
+ priceUnit: primitives.priceUnit,
45
+ priceValue: primitives.priceValue,
46
+ });
47
+ }
48
+ get toPrimitives() {
49
+ return {
50
+ id: this.id.value,
51
+ createdAt: this.createdAt.value,
52
+ updatedAt: this.updatedAt.value,
53
+ name: this.name.value,
54
+ description: this.description.value,
55
+ priceType: this.priceType.value,
56
+ priceUnit: this.priceUnit.value,
57
+ priceValue: this.priceValue.value,
58
+ };
59
+ }
60
+ }
61
+ exports.Core = Core;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PriceType = void 0;
4
+ const PriceType_1 = require("../../../shared/domain/value-objects/PriceType");
5
+ class PriceType extends PriceType_1.PriceType {
6
+ constructor(value) {
7
+ super(value);
8
+ }
9
+ }
10
+ exports.PriceType = PriceType;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PriceUnit = void 0;
4
+ const PriceUnit_1 = require("../../../shared/domain/value-objects/PriceUnit");
5
+ class PriceUnit extends PriceUnit_1.PriceUnit {
6
+ constructor(value) {
7
+ super(value);
8
+ }
9
+ }
10
+ exports.PriceUnit = PriceUnit;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PriceValue = void 0;
4
+ const PriceValue_1 = require("../../../shared/domain/value-objects/PriceValue");
5
+ class PriceValue extends PriceValue_1.PriceValue {
6
+ constructor(value) {
7
+ super(value);
8
+ }
9
+ }
10
+ exports.PriceValue = PriceValue;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,82 @@
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 _Modifier__serviceModifierType;
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.Modifier = void 0;
16
+ const Service_1 = require("../../shared/domain/Service");
17
+ const CreatedAt_1 = require("./value-objects/CreatedAt");
18
+ const Description_1 = require("./value-objects/Description");
19
+ const Id_1 = require("./value-objects/Id");
20
+ const Name_1 = require("./value-objects/Name");
21
+ const PriceType_1 = require("./value-objects/PriceType");
22
+ const PriceUnit_1 = require("./value-objects/PriceUnit");
23
+ const PriceValue_1 = require("./value-objects/PriceValue");
24
+ const ServiceModifierType_1 = require("./value-objects/ServiceModifierType");
25
+ class Modifier extends Service_1.Service {
26
+ constructor(props) {
27
+ const id = Id_1.Id.create(props.id);
28
+ const createdAt = CreatedAt_1.CreatedAt.create(props.createdAt);
29
+ const updatedAt = CreatedAt_1.CreatedAt.create(props.updatedAt);
30
+ const name = Name_1.Name.create(props.name);
31
+ const description = Description_1.Description.create(props.description);
32
+ const priceType = PriceType_1.PriceType.create(props.priceType);
33
+ const priceValue = PriceValue_1.PriceValue.create(props.priceValue);
34
+ const priceUnit = PriceUnit_1.PriceUnit.create(props.priceUnit);
35
+ super({
36
+ id: id.value,
37
+ createdAt: createdAt.value,
38
+ updatedAt: updatedAt.value,
39
+ name: name.value,
40
+ description: description.value,
41
+ priceType: priceType.value,
42
+ priceValue: priceValue.value,
43
+ priceUnit: priceUnit.value,
44
+ });
45
+ _Modifier__serviceModifierType.set(this, void 0);
46
+ __classPrivateFieldSet(this, _Modifier__serviceModifierType, ServiceModifierType_1.ServiceModifierType.create(props.serviceModifierType), "f");
47
+ }
48
+ static create(props) {
49
+ return new Modifier(props);
50
+ }
51
+ static fromPrimitives(primitives) {
52
+ return new Modifier({
53
+ id: primitives.id,
54
+ createdAt: primitives.createdAt,
55
+ updatedAt: primitives.updatedAt,
56
+ name: primitives.name,
57
+ description: primitives.description,
58
+ serviceModifierType: primitives.serviceModifierType,
59
+ priceType: primitives.priceType,
60
+ priceUnit: primitives.priceUnit,
61
+ priceValue: primitives.priceValue,
62
+ });
63
+ }
64
+ get serviceModifierType() {
65
+ return __classPrivateFieldGet(this, _Modifier__serviceModifierType, "f");
66
+ }
67
+ get toPrimitives() {
68
+ return {
69
+ id: this.id.value,
70
+ createdAt: this.createdAt.value,
71
+ updatedAt: this.updatedAt.value,
72
+ name: this.name.value,
73
+ description: this.description.value,
74
+ serviceModifierType: __classPrivateFieldGet(this, _Modifier__serviceModifierType, "f").value,
75
+ priceType: this.priceType.value,
76
+ priceUnit: this.priceUnit.value,
77
+ priceValue: this.priceValue.value,
78
+ };
79
+ }
80
+ }
81
+ exports.Modifier = Modifier;
82
+ _Modifier__serviceModifierType = new WeakMap();
@@ -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.Description = void 0;
4
+ const Description_1 = require("../../../shared/domain/value-objects/Description");
5
+ class Description extends Description_1.Description {
6
+ constructor(value) {
7
+ super(value);
8
+ }
9
+ }
10
+ exports.Description = Description;
@@ -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,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Name = void 0;
4
+ const Name_1 = require("../../../shared/domain/value-objects/Name");
5
+ class Name extends Name_1.Name {
6
+ constructor(value) {
7
+ super(value);
8
+ }
9
+ }
10
+ exports.Name = Name;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PriceType = void 0;
4
+ const PriceType_1 = require("../../../shared/domain/value-objects/PriceType");
5
+ class PriceType extends PriceType_1.PriceType {
6
+ constructor(value) {
7
+ super(value);
8
+ }
9
+ }
10
+ exports.PriceType = PriceType;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PriceUnit = void 0;
4
+ const PriceUnit_1 = require("../../../shared/domain/value-objects/PriceUnit");
5
+ class PriceUnit extends PriceUnit_1.PriceUnit {
6
+ constructor(value) {
7
+ super(value);
8
+ }
9
+ }
10
+ exports.PriceUnit = PriceUnit;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PriceValue = void 0;
4
+ const PriceValue_1 = require("../../../shared/domain/value-objects/PriceValue");
5
+ class PriceValue extends PriceValue_1.PriceValue {
6
+ constructor(value) {
7
+ super(value);
8
+ }
9
+ }
10
+ exports.PriceValue = PriceValue;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ServiceModifierType = void 0;
4
+ const String_1 = require("../../../../shared/domain/value-objects/String");
5
+ class ServiceModifierType extends String_1.String {
6
+ constructor(value) {
7
+ super(value, 'serviceModifierType');
8
+ }
9
+ static create(value) {
10
+ return new ServiceModifierType(value);
11
+ }
12
+ }
13
+ exports.ServiceModifierType = ServiceModifierType;
@@ -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;
@@ -10,7 +10,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
10
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
11
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
12
  };
13
- var _Service__name, _Service__description, _Service__type, _Service__value, _Service__unit;
13
+ var _Service__name, _Service__description, _Service__priceType, _Service__priceValue, _Service__priceUnit;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.Service = void 0;
16
16
  const AggregateRoot_1 = require("../../../shared/domain/AggregateRoot");
@@ -18,9 +18,9 @@ const CreatedAt_1 = require("./value-objects/CreatedAt");
18
18
  const Description_1 = require("./value-objects/Description");
19
19
  const Id_1 = require("./value-objects/Id");
20
20
  const Name_1 = require("./value-objects/Name");
21
- const Type_1 = require("./value-objects/Type");
22
- const Unit_1 = require("./value-objects/Unit");
23
- const Value_1 = require("./value-objects/Value");
21
+ const PriceType_1 = require("./value-objects/PriceType");
22
+ const PriceUnit_1 = require("./value-objects/PriceUnit");
23
+ const PriceValue_1 = require("./value-objects/PriceValue");
24
24
  class Service extends AggregateRoot_1.AggregateRoot {
25
25
  constructor(props) {
26
26
  const id = Id_1.Id.create(props.id);
@@ -29,14 +29,14 @@ class Service extends AggregateRoot_1.AggregateRoot {
29
29
  super({ id: id.value, createdAt: createdAt.value, updatedAt: updatedAt.value });
30
30
  _Service__name.set(this, void 0);
31
31
  _Service__description.set(this, void 0);
32
- _Service__type.set(this, void 0);
33
- _Service__value.set(this, void 0);
34
- _Service__unit.set(this, void 0);
32
+ _Service__priceType.set(this, void 0);
33
+ _Service__priceValue.set(this, void 0);
34
+ _Service__priceUnit.set(this, void 0);
35
35
  __classPrivateFieldSet(this, _Service__name, Name_1.Name.create(props.name), "f");
36
36
  __classPrivateFieldSet(this, _Service__description, Description_1.Description.create(props.description), "f");
37
- __classPrivateFieldSet(this, _Service__type, Type_1.Type.create(props.type), "f");
38
- __classPrivateFieldSet(this, _Service__value, Value_1.Value.create(props.value), "f");
39
- __classPrivateFieldSet(this, _Service__unit, Unit_1.Unit.create(props.unit), "f");
37
+ __classPrivateFieldSet(this, _Service__priceType, PriceType_1.PriceType.create(props.priceType), "f");
38
+ __classPrivateFieldSet(this, _Service__priceValue, PriceValue_1.PriceValue.create(props.priceValue), "f");
39
+ __classPrivateFieldSet(this, _Service__priceUnit, PriceUnit_1.PriceUnit.create(props.priceUnit), "f");
40
40
  }
41
41
  get name() {
42
42
  return __classPrivateFieldGet(this, _Service__name, "f");
@@ -44,15 +44,15 @@ class Service extends AggregateRoot_1.AggregateRoot {
44
44
  get description() {
45
45
  return __classPrivateFieldGet(this, _Service__description, "f");
46
46
  }
47
- get type() {
48
- return __classPrivateFieldGet(this, _Service__type, "f");
47
+ get priceType() {
48
+ return __classPrivateFieldGet(this, _Service__priceType, "f");
49
49
  }
50
- get value() {
51
- return __classPrivateFieldGet(this, _Service__value, "f");
50
+ get priceValue() {
51
+ return __classPrivateFieldGet(this, _Service__priceValue, "f");
52
52
  }
53
- get unit() {
54
- return __classPrivateFieldGet(this, _Service__unit, "f");
53
+ get priceUnit() {
54
+ return __classPrivateFieldGet(this, _Service__priceUnit, "f");
55
55
  }
56
56
  }
57
57
  exports.Service = Service;
58
- _Service__name = new WeakMap(), _Service__description = new WeakMap(), _Service__type = new WeakMap(), _Service__value = new WeakMap(), _Service__unit = new WeakMap();
58
+ _Service__name = new WeakMap(), _Service__description = new WeakMap(), _Service__priceType = new WeakMap(), _Service__priceValue = new WeakMap(), _Service__priceUnit = new WeakMap();