@heliofi/common 0.1.157 → 0.1.159

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 (348) hide show
  1. package/dist/index.js +34 -18
  2. package/dist/src/domain/constants/emailValidation.js +5 -4
  3. package/dist/src/domain/constants/environment.d.ts +3 -3
  4. package/dist/src/domain/constants/environment.js +7 -7
  5. package/dist/src/domain/constants/orderDirection.d.ts +5 -3
  6. package/dist/src/domain/contact/dtos/createContact.dto.d.ts +8 -0
  7. package/dist/src/domain/{model/auth/dtos/ethSignOn.dto.js → contact/dtos/createContact.dto.js} +16 -37
  8. package/dist/src/domain/contact/dtos/createContact.dto.js.map +1 -0
  9. package/dist/src/domain/contact/dtos/index.d.ts +2 -0
  10. package/dist/src/domain/contact/dtos/index.js +19 -0
  11. package/dist/src/domain/contact/dtos/index.js.map +1 -0
  12. package/dist/src/domain/contact/dtos/updateContact.dto.d.ts +8 -0
  13. package/dist/src/domain/contact/dtos/updateContact.dto.js +45 -0
  14. package/dist/src/domain/contact/dtos/updateContact.dto.js.map +1 -0
  15. package/dist/src/domain/contact/entities/Contact.entity.d.ts +14 -0
  16. package/dist/src/domain/contact/entities/Contact.entity.js +8 -0
  17. package/dist/src/domain/contact/entities/Contact.entity.js.map +1 -0
  18. package/dist/src/domain/contact/entities/index.d.ts +1 -0
  19. package/dist/src/domain/contact/entities/index.js +18 -0
  20. package/dist/src/domain/contact/entities/index.js.map +1 -0
  21. package/dist/src/domain/contact/index.d.ts +2 -0
  22. package/dist/src/domain/contact/index.js +19 -0
  23. package/dist/src/domain/contact/index.js.map +1 -0
  24. package/dist/src/domain/contactAddress/dtos/ContactAddress.dto.d.ts +8 -0
  25. package/dist/src/domain/contactAddress/dtos/ContactAddress.dto.js +47 -0
  26. package/dist/src/domain/contactAddress/dtos/ContactAddress.dto.js.map +1 -0
  27. package/dist/src/domain/contactAddress/dtos/index.d.ts +1 -0
  28. package/dist/src/domain/contactAddress/dtos/index.js +18 -0
  29. package/dist/src/domain/contactAddress/dtos/index.js.map +1 -0
  30. package/dist/src/domain/contactAddress/entities/ContactAddress.entity.d.ts +9 -0
  31. package/dist/src/domain/contactAddress/entities/ContactAddress.entity.js +8 -0
  32. package/dist/src/domain/contactAddress/entities/ContactAddress.entity.js.map +1 -0
  33. package/dist/src/domain/contactAddress/entities/index.d.ts +1 -0
  34. package/dist/src/domain/contactAddress/entities/index.js +18 -0
  35. package/dist/src/domain/contactAddress/entities/index.js.map +1 -0
  36. package/dist/src/domain/contactAddress/index.d.ts +2 -0
  37. package/dist/src/domain/contactAddress/index.js +19 -0
  38. package/dist/src/domain/contactAddress/index.js.map +1 -0
  39. package/dist/src/domain/model/apiKey/dtos/createApiKeyDto.d.ts +4 -0
  40. package/dist/src/domain/model/apiKey/dtos/createApiKeyDto.js +52 -0
  41. package/dist/src/domain/model/apiKey/dtos/createApiKeyDto.js.map +1 -0
  42. package/dist/src/domain/model/apiKey/dtos/createApiKeyDtoInternal.d.ts +4 -4
  43. package/dist/src/domain/model/apiKey/dtos/createApiKeyDtoInternal.js +61 -26
  44. package/dist/src/domain/model/apiKey/entities/ApiKey.d.ts +11 -0
  45. package/dist/src/domain/model/apiKey/entities/ApiKey.js +7 -0
  46. package/dist/src/domain/model/apiKey/entities/ApiKey.js.map +1 -0
  47. package/dist/src/domain/model/apiKey/entities/ApiKeyAccess.d.ts +3 -3
  48. package/dist/src/domain/model/apiKey/entities/ApiKeyAccess.js +7 -7
  49. package/dist/src/domain/model/approve-transaction/dtos/approveTransaction.dto.d.ts +12 -12
  50. package/dist/src/domain/model/approve-transaction/dtos/index.js +10 -5
  51. package/dist/src/domain/model/approve-transaction/index.js +34 -18
  52. package/dist/src/domain/model/attachment/dtos/createAttachmentInternal.dto.d.ts +4 -4
  53. package/dist/src/domain/model/attachment/dtos/createAttachmentInternal.dto.js +61 -26
  54. package/dist/src/domain/model/attachment/entities/Attachment.d.ts +1 -1
  55. package/dist/src/domain/model/attachment/entities/Attachment.js +5 -6
  56. package/dist/src/domain/model/attachment/entities/BaseAttachment.d.ts +4 -4
  57. package/dist/src/domain/model/attachment/entities/BaseAttachment.js +5 -6
  58. package/dist/src/domain/model/attachment/entities/ShallowEnrichedAttachment.d.ts +1 -1
  59. package/dist/src/domain/model/attachment/entities/ShallowEnrichedAttachment.js +5 -6
  60. package/dist/src/domain/model/attachment/index.js +35 -19
  61. package/dist/src/domain/model/auth/dtos/DiscordAuth.dto.d.ts +7 -0
  62. package/dist/src/domain/model/auth/dtos/DiscordAuth.dto.js +38 -0
  63. package/dist/src/domain/model/auth/dtos/DiscordAuth.dto.js.map +1 -0
  64. package/dist/src/domain/model/auth/dtos/index.d.ts +1 -0
  65. package/dist/src/domain/model/auth/dtos/index.js +1 -0
  66. package/dist/src/domain/model/auth/dtos/index.js.map +1 -1
  67. package/dist/src/domain/model/auth/dtos/signOn.dto.d.ts +2 -2
  68. package/dist/src/domain/model/auth/dtos/signOn.dto.js +45 -20
  69. package/dist/src/domain/model/auth/dtos/transactionSignOn.dto.d.ts +1 -1
  70. package/dist/src/domain/model/auth/dtos/transactionSignOn.dto.js +37 -17
  71. package/dist/src/domain/model/auth/entities/AuthResponse.d.ts +4 -4
  72. package/dist/src/domain/model/auth/entities/AuthResponse.js +4 -5
  73. package/dist/src/domain/model/auth/entities/CheckoutAuthTypes.d.ts +3 -0
  74. package/dist/src/domain/model/auth/entities/CheckoutAuthTypes.js +8 -0
  75. package/dist/src/domain/model/auth/entities/CheckoutAuthTypes.js.map +1 -0
  76. package/dist/src/domain/model/auth/entities/DiscordAuthPublicConfig.entity.d.ts +6 -0
  77. package/dist/src/domain/model/auth/entities/DiscordAuthPublicConfig.entity.js +8 -0
  78. package/dist/src/domain/model/auth/entities/DiscordAuthPublicConfig.entity.js.map +1 -0
  79. package/dist/src/domain/model/auth/entities/DiscordAuthResponse.entity.d.ts +4 -0
  80. package/dist/src/domain/model/auth/entities/DiscordAuthResponse.entity.js +8 -0
  81. package/dist/src/domain/model/auth/entities/DiscordAuthResponse.entity.js.map +1 -0
  82. package/dist/src/domain/model/auth/entities/DiscordAuthToken.d.ts +6 -0
  83. package/dist/src/domain/model/auth/entities/DiscordAuthToken.js +7 -0
  84. package/dist/src/domain/model/auth/entities/DiscordAuthToken.js.map +1 -0
  85. package/dist/src/domain/model/auth/entities/index.d.ts +4 -0
  86. package/dist/src/domain/model/auth/entities/index.js +4 -0
  87. package/dist/src/domain/model/auth/entities/index.js.map +1 -1
  88. package/dist/src/domain/model/blockchain/constants/Cluster.d.ts +3 -3
  89. package/dist/src/domain/model/blockchain/constants/Cluster.js +7 -7
  90. package/dist/src/domain/model/blockchain/dtos/blockchain.dto.d.ts +2 -2
  91. package/dist/src/domain/model/blockchain/dtos/blockchain.dto.js +45 -20
  92. package/dist/src/domain/model/blockchain/dtos/index.js +34 -18
  93. package/dist/src/domain/model/breakpoint/dtos/breakpoint.dto.d.ts +8 -8
  94. package/dist/src/domain/model/breakpoint/dtos/breakpoint.dto.js +95 -40
  95. package/dist/src/domain/model/breakpoint/dtos/index.js +10 -5
  96. package/dist/src/domain/model/breakpoint/entities/BreakpointResponse.d.ts +2 -2
  97. package/dist/src/domain/model/breakpoint/entities/BreakpointResponse.js +4 -5
  98. package/dist/src/domain/model/breakpoint/entities/index.js +34 -18
  99. package/dist/src/domain/model/breakpoint/index.js +35 -19
  100. package/dist/src/domain/model/company/entities/Company.d.ts +2 -2
  101. package/dist/src/domain/model/company/index.js +35 -19
  102. package/dist/src/domain/model/content/index.js +35 -19
  103. package/dist/src/domain/model/currency/entities/Currency.d.ts +1 -1
  104. package/dist/src/domain/model/discordDetails/dtos/createDiscordDetails.dto.d.ts +5 -5
  105. package/dist/src/domain/model/discordDetails/dtos/createDiscordDetails.dto.js +66 -34
  106. package/dist/src/domain/model/discordDetails/dtos/index.js +35 -19
  107. package/dist/src/domain/model/discordDetails/dtos/updateDiscordDetails.dto.d.ts +4 -4
  108. package/dist/src/domain/model/discordDetails/dtos/updateDiscordDetails.dto.js +62 -27
  109. package/dist/src/domain/model/discordDetails/entities/BaseDiscordDetails.d.ts +5 -5
  110. package/dist/src/domain/model/discordDetails/entities/BaseDiscordDetails.js +5 -6
  111. package/dist/src/domain/model/discordDetails/entities/DiscordBotVersion.d.ts +2 -2
  112. package/dist/src/domain/model/discordDetails/entities/DiscordBotVersion.js +9 -6
  113. package/dist/src/domain/model/discordDetails/entities/DiscordDetails.d.ts +1 -1
  114. package/dist/src/domain/model/discordDetails/entities/DiscordDetails.js +5 -6
  115. package/dist/src/domain/model/discordDetails/entities/index.js +36 -20
  116. package/dist/src/domain/model/discordDetails/index.js +35 -19
  117. package/dist/src/domain/model/entity/Entity.d.ts +2 -2
  118. package/dist/src/domain/model/entity/Entity.js +10 -10
  119. package/dist/src/domain/model/entity/index.js +10 -5
  120. package/dist/src/domain/model/index.d.ts +1 -0
  121. package/dist/src/domain/model/index.js +1 -0
  122. package/dist/src/domain/model/index.js.map +1 -1
  123. package/dist/src/domain/model/link-features/index.js +35 -19
  124. package/dist/src/domain/model/metrics/entities/Metrics.d.ts +5 -5
  125. package/dist/src/domain/model/metrics/entities/Metrics.js +3 -3
  126. package/dist/src/domain/model/metrics/entities/index.js +34 -18
  127. package/dist/src/domain/model/metrics/index.js +34 -18
  128. package/dist/src/domain/model/paylink/entities/BasePaylink.d.ts +3 -3
  129. package/dist/src/domain/model/paylink/entities/OnlyContentPaylink.d.ts +1 -1
  130. package/dist/src/domain/model/paylink/entities/OnlyContentPaylink.js +5 -6
  131. package/dist/src/domain/model/paylink/entities/Paylink.d.ts +3 -3
  132. package/dist/src/domain/model/paylink/entities/PaylinkStats.d.ts +3 -3
  133. package/dist/src/domain/model/paylink/entities/PaylinkStats.js +4 -5
  134. package/dist/src/domain/model/paylink/entities/ShallowEnrichedPaylink.d.ts +4 -4
  135. package/dist/src/domain/model/paylink/index.js +35 -19
  136. package/dist/src/domain/model/paylink-tx/dtos/createPaylinkTx.dto.d.ts +4 -4
  137. package/dist/src/domain/model/paylink-tx/dtos/createPaylinkTx.dto.js +66 -29
  138. package/dist/src/domain/model/paylink-tx/dtos/index.js +35 -19
  139. package/dist/src/domain/model/paylink-tx/dtos/updatePaylinkTx.dto.d.ts +1 -1
  140. package/dist/src/domain/model/paylink-tx/dtos/updatePaylinkTx.dto.js +37 -17
  141. package/dist/src/domain/model/paylink-tx/entities/BasePaylinkTx.d.ts +5 -5
  142. package/dist/src/domain/model/paylink-tx/entities/PaylinkTx.d.ts +2 -2
  143. package/dist/src/domain/model/paylink-tx/entities/PaylinkTx.js +5 -6
  144. package/dist/src/domain/model/paylink-tx/entities/PaylinkTxWithMeta.d.ts +1 -1
  145. package/dist/src/domain/model/paylink-tx/entities/ShallowEnrichedPaylinkTx.d.ts +2 -2
  146. package/dist/src/domain/model/paylink-tx/entities/ShallowEnrichedPaylinkTx.js +5 -6
  147. package/dist/src/domain/model/paylink-tx/index.js +35 -19
  148. package/dist/src/domain/model/paystream/entities/BasePaystream.d.ts +3 -3
  149. package/dist/src/domain/model/paystream/entities/IntervalType.d.ts +7 -7
  150. package/dist/src/domain/model/paystream/entities/IntervalType.js +11 -11
  151. package/dist/src/domain/model/paystream/entities/Paystream.d.ts +3 -3
  152. package/dist/src/domain/model/paystream/entities/PaystreamStats.d.ts +3 -3
  153. package/dist/src/domain/model/paystream/entities/PaystreamStats.js +4 -5
  154. package/dist/src/domain/model/paystream/entities/ShallowEnrichedPaystream.d.ts +4 -4
  155. package/dist/src/domain/model/paystream/entities/index.js +38 -22
  156. package/dist/src/domain/model/paystream/index.js +35 -19
  157. package/dist/src/domain/model/paystream-tx/dtos/createPaystreamTxDto.d.ts +7 -7
  158. package/dist/src/domain/model/paystream-tx/dtos/createPaystreamTxDto.js +91 -39
  159. package/dist/src/domain/model/paystream-tx/dtos/index.js +35 -19
  160. package/dist/src/domain/model/paystream-tx/dtos/updatePaystreamTxDto.d.ts +3 -3
  161. package/dist/src/domain/model/paystream-tx/dtos/updatePaystreamTxDto.js +56 -26
  162. package/dist/src/domain/model/paystream-tx/entities/BasePaystreamTxWithTransaction.d.ts +2 -2
  163. package/dist/src/domain/model/paystream-tx/entities/BasePaystreamTxWithTransaction.js +5 -6
  164. package/dist/src/domain/model/paystream-tx/entities/PaystreamTxWithContent.d.ts +1 -1
  165. package/dist/src/domain/model/prepare-invoice/dtos/prepareInvoice.dto.d.ts +2 -3
  166. package/dist/src/domain/model/prepare-invoice/dtos/prepareInvoice.dto.js +2 -11
  167. package/dist/src/domain/model/prepare-invoice/dtos/prepareInvoice.dto.js.map +1 -1
  168. package/dist/src/domain/model/prepare-payment-request/dtos/PreparePaymentRequest.dto.d.ts +4 -0
  169. package/dist/src/domain/model/prepare-payment-request/dtos/PreparePaymentRequest.dto.js +27 -0
  170. package/dist/src/domain/model/prepare-payment-request/dtos/PreparePaymentRequest.dto.js.map +1 -0
  171. package/dist/src/domain/model/prepare-payment-request/dtos/index.d.ts +1 -0
  172. package/dist/src/domain/model/prepare-payment-request/dtos/index.js +18 -0
  173. package/dist/src/domain/model/prepare-payment-request/dtos/index.js.map +1 -0
  174. package/dist/src/domain/model/prepare-payment-request/index.d.ts +1 -0
  175. package/dist/src/domain/model/prepare-payment-request/index.js +18 -0
  176. package/dist/src/domain/model/prepare-payment-request/index.js.map +1 -0
  177. package/dist/src/domain/model/prepare-stream/dtos/createStreamPrepare.dto.d.ts +2 -3
  178. package/dist/src/domain/model/prepare-stream/dtos/createStreamPrepare.dto.js +2 -11
  179. package/dist/src/domain/model/prepare-stream/dtos/createStreamPrepare.dto.js.map +1 -1
  180. package/dist/src/domain/model/prepare-stream/entities/PrepareStream.d.ts +5 -0
  181. package/dist/src/domain/model/prepare-stream/entities/PrepareStream.js +8 -0
  182. package/dist/src/domain/model/prepare-stream/entities/PrepareStream.js.map +1 -0
  183. package/dist/src/domain/model/prepare-stream/entities/TokenStreamWithdrawPayload.d.ts +5 -0
  184. package/dist/src/domain/model/prepare-stream/entities/TokenStreamWithdrawPayload.js +8 -0
  185. package/dist/src/domain/model/prepare-stream/entities/TokenStreamWithdrawPayload.js.map +1 -0
  186. package/dist/src/domain/model/prepare-transaction/dtos/prepareSwappedTransaction.dto.d.ts +4 -0
  187. package/dist/src/domain/model/prepare-transaction/dtos/prepareSwappedTransaction.dto.js +23 -0
  188. package/dist/src/domain/model/prepare-transaction/dtos/prepareSwappedTransaction.dto.js.map +1 -0
  189. package/dist/src/domain/model/prepare-transaction/dtos/prepareTransaction.dto.d.ts +2 -3
  190. package/dist/src/domain/model/prepare-transaction/dtos/prepareTransaction.dto.js +2 -11
  191. package/dist/src/domain/model/prepare-transaction/dtos/prepareTransaction.dto.js.map +1 -1
  192. package/dist/src/domain/model/prepare-transaction/entities/PrepareSwappedTransaction.d.ts +5 -0
  193. package/dist/src/domain/model/prepare-transaction/entities/PrepareSwappedTransaction.js +7 -0
  194. package/dist/src/domain/model/prepare-transaction/entities/PrepareSwappedTransaction.js.map +1 -0
  195. package/dist/src/domain/model/product/dtos/index.js +34 -18
  196. package/dist/src/domain/model/product/dtos/product.dto.d.ts +3 -3
  197. package/dist/src/domain/model/product/dtos/product.dto.js +54 -24
  198. package/dist/src/domain/model/product/entities/Product.d.ts +3 -3
  199. package/dist/src/domain/model/product/entities/Product.js +5 -6
  200. package/dist/src/domain/model/product/entities/ProductInputType.d.ts +2 -2
  201. package/dist/src/domain/model/product/entities/ProductInputType.js +9 -6
  202. package/dist/src/domain/model/product/entities/index.js +35 -19
  203. package/dist/src/domain/model/product/index.js +35 -19
  204. package/dist/src/domain/model/product-details/dtos/index.js +34 -18
  205. package/dist/src/domain/model/product-details/dtos/productDetails.dto.d.ts +2 -2
  206. package/dist/src/domain/model/product-details/dtos/productDetails.dto.js +45 -20
  207. package/dist/src/domain/model/product-details/entities/ProductDetails.d.ts +2 -2
  208. package/dist/src/domain/model/product-details/entities/ProductDetails.js +5 -6
  209. package/dist/src/domain/model/product-details/entities/index.js +34 -18
  210. package/dist/src/domain/model/product-details/index.js +35 -19
  211. package/dist/src/domain/model/report/index.js +34 -18
  212. package/dist/src/domain/model/role/dtos/createRole.dto.d.ts +3 -3
  213. package/dist/src/domain/model/role/dtos/createRole.dto.js +54 -24
  214. package/dist/src/domain/model/role/dtos/index.js +35 -19
  215. package/dist/src/domain/model/role/dtos/updateRole.dto.d.ts +1 -1
  216. package/dist/src/domain/model/role/dtos/updateRole.dto.js +38 -18
  217. package/dist/src/domain/model/role/entities/BaseRole.d.ts +2 -2
  218. package/dist/src/domain/model/role/entities/BaseRole.js +5 -6
  219. package/dist/src/domain/model/role/entities/Role.d.ts +2 -2
  220. package/dist/src/domain/model/role/entities/Role.js +5 -6
  221. package/dist/src/domain/model/role/entities/RoleType.d.ts +3 -3
  222. package/dist/src/domain/model/role/entities/RoleType.js +7 -7
  223. package/dist/src/domain/model/role/entities/ShallowEnrichedRole.d.ts +2 -2
  224. package/dist/src/domain/model/role/entities/ShallowEnrichedRole.js +5 -6
  225. package/dist/src/domain/model/role/entities/index.js +37 -21
  226. package/dist/src/domain/model/role/index.js +35 -19
  227. package/dist/src/domain/model/slug/dtos/index.js +35 -19
  228. package/dist/src/domain/model/slug/dtos/slug.dto.d.ts +3 -3
  229. package/dist/src/domain/model/slug/dtos/slug.dto.js +54 -24
  230. package/dist/src/domain/model/slug/dtos/updateSlug.dto.d.ts +3 -3
  231. package/dist/src/domain/model/slug/dtos/updateSlug.dto.js +52 -25
  232. package/dist/src/domain/model/slug/entities/Slug.d.ts +6 -6
  233. package/dist/src/domain/model/slug/entities/Slug.js +5 -6
  234. package/dist/src/domain/model/slug/entities/SlugObjectType.d.ts +3 -3
  235. package/dist/src/domain/model/slug/entities/SlugObjectType.js +7 -7
  236. package/dist/src/domain/model/slug/entities/index.js +35 -19
  237. package/dist/src/domain/model/slug/index.js +35 -19
  238. package/dist/src/domain/model/split-account/dtos/index.js +34 -18
  239. package/dist/src/domain/model/split-account/dtos/splitAccount.dto.d.ts +2 -2
  240. package/dist/src/domain/model/split-account/dtos/splitAccount.dto.js +46 -21
  241. package/dist/src/domain/model/split-account/entities/SplitAccount.d.ts +2 -2
  242. package/dist/src/domain/model/split-account/entities/SplitAccount.js +38 -18
  243. package/dist/src/domain/model/split-account/entities/index.js +34 -18
  244. package/dist/src/domain/model/split-account/index.js +35 -19
  245. package/dist/src/domain/model/split-wallets/dtos/index.js +34 -18
  246. package/dist/src/domain/model/split-wallets/dtos/splitWallet.dto.d.ts +2 -2
  247. package/dist/src/domain/model/split-wallets/dtos/splitWallet.dto.js +45 -20
  248. package/dist/src/domain/model/split-wallets/entities/SplitWallet.d.ts +2 -2
  249. package/dist/src/domain/model/split-wallets/entities/SplitWallet.js +5 -6
  250. package/dist/src/domain/model/split-wallets/entities/index.js +34 -18
  251. package/dist/src/domain/model/split-wallets/index.js +35 -19
  252. package/dist/src/domain/model/stream/dtos/cancelStream.dto.d.ts +5 -5
  253. package/dist/src/domain/model/stream/dtos/createStream.dto.d.ts +12 -12
  254. package/dist/src/domain/model/stream/dtos/index.js +36 -20
  255. package/dist/src/domain/model/stream/dtos/withdrawStream.dto.d.ts +4 -4
  256. package/dist/src/domain/model/stream/index.js +34 -18
  257. package/dist/src/domain/model/stream-event/dtos/createStreamEventDto.d.ts +2 -2
  258. package/dist/src/domain/model/stream-event/dtos/createStreamEventDto.js +46 -21
  259. package/dist/src/domain/model/stream-event/dtos/index.js +35 -19
  260. package/dist/src/domain/model/stream-event/dtos/updateStreamEventDto.d.ts +2 -2
  261. package/dist/src/domain/model/stream-event/dtos/updateStreamEventDto.js +43 -21
  262. package/dist/src/domain/model/stream-event/entities/StreamEvent.d.ts +2 -2
  263. package/dist/src/domain/model/stream-event/entities/StreamEvent.js +37 -17
  264. package/dist/src/domain/model/stream-event/entities/index.js +34 -18
  265. package/dist/src/domain/model/stream-event/index.js +35 -19
  266. package/dist/src/domain/model/stream-features/index.js +35 -19
  267. package/dist/src/domain/model/submit-transaction/dtos/submitSwappedTransaction.dto.d.ts +4 -0
  268. package/dist/src/domain/model/submit-transaction/dtos/submitSwappedTransaction.dto.js +23 -0
  269. package/dist/src/domain/model/submit-transaction/dtos/submitSwappedTransaction.dto.js.map +1 -0
  270. package/dist/src/domain/model/token-swap/entities/SwapRouteObject.d.ts +14 -0
  271. package/dist/src/domain/model/token-swap/entities/SwapRouteObject.js +9 -0
  272. package/dist/src/domain/model/token-swap/entities/SwapRouteObject.js.map +1 -0
  273. package/dist/src/domain/model/transaction-meta/entities/BaseTransactionMeta.d.ts +10 -10
  274. package/dist/src/domain/model/transaction-meta/entities/ShallowEnrichedTransactionMeta.d.ts +1 -1
  275. package/dist/src/domain/model/transaction-meta/entities/ShallowEnrichedTransactionMeta.js +5 -6
  276. package/dist/src/domain/model/transaction-meta/entities/TransactionMeta.d.ts +1 -1
  277. package/dist/src/domain/model/transaction-meta/entities/TransactionMeta.js +5 -6
  278. package/dist/src/domain/model/transaction-meta/entities/TransactionStatus.entity.d.ts +7 -0
  279. package/dist/src/domain/model/transaction-meta/entities/TransactionStatus.entity.js +12 -0
  280. package/dist/src/domain/model/transaction-meta/entities/TransactionStatus.entity.js.map +1 -0
  281. package/dist/src/domain/model/user/dtos/createUser.dto.d.ts +4 -4
  282. package/dist/src/domain/model/user/dtos/createUser.dto.js +61 -26
  283. package/dist/src/domain/model/user/dtos/index.js +35 -19
  284. package/dist/src/domain/model/user/dtos/updateUser.dto.d.ts +4 -4
  285. package/dist/src/domain/model/user/entities/BaseUser.d.ts +5 -5
  286. package/dist/src/domain/model/user/entities/BaseUser.js +5 -6
  287. package/dist/src/domain/model/user/entities/ShallowEnrichedUser.d.ts +2 -2
  288. package/dist/src/domain/model/user/entities/ShallowEnrichedUser.js +5 -6
  289. package/dist/src/domain/model/user/entities/User.d.ts +2 -2
  290. package/dist/src/domain/model/user/entities/User.js +5 -6
  291. package/dist/src/domain/model/user/entities/index.js +36 -20
  292. package/dist/src/domain/model/user/index.js +35 -19
  293. package/dist/src/domain/model/wallet/dtos/index.js +34 -18
  294. package/dist/src/domain/model/wallet/dtos/updateWallet.dto.d.ts +1 -1
  295. package/dist/src/domain/model/wallet/dtos/updateWallet.dto.js +35 -18
  296. package/dist/src/domain/model/wallet/entities/BaseWallet.d.ts +2 -2
  297. package/dist/src/domain/model/wallet/entities/BaseWallet.js +5 -6
  298. package/dist/src/domain/model/wallet/entities/WalletDetails.d.ts +1 -1
  299. package/dist/src/domain/model/wallet/entities/WalletDetails.js +5 -6
  300. package/dist/src/domain/model/wallet/index.js +35 -19
  301. package/dist/src/domain/model/webhook/paylink-transaction-hook/PaylinkTransactionEvent.d.ts +3 -0
  302. package/dist/src/domain/model/webhook/paylink-transaction-hook/PaylinkTransactionEvent.js +11 -0
  303. package/dist/src/domain/model/webhook/paylink-transaction-hook/PaylinkTransactionEvent.js.map +1 -0
  304. package/dist/src/domain/model/webhook/paylink-transaction-hook/dtos/CreatePaylinkTransactionHook.dto.d.ts +3 -3
  305. package/dist/src/domain/model/webhook/paylink-transaction-hook/dtos/index.js +34 -18
  306. package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionEvent.d.ts +3 -0
  307. package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionEvent.entity.d.ts +1 -1
  308. package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionEvent.entity.js +8 -5
  309. package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionEvent.js +11 -0
  310. package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionEvent.js.map +1 -0
  311. package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionHook.d.ts +9 -0
  312. package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionHook.js +7 -0
  313. package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionHook.js.map +1 -0
  314. package/dist/src/domain/model/withdrawal/dtos/createWithdrawalDto.d.ts +3 -3
  315. package/dist/src/domain/model/withdrawal/dtos/createWithdrawalDto.js +55 -25
  316. package/dist/src/domain/model/withdrawal/dtos/index.js +35 -19
  317. package/dist/src/domain/model/withdrawal/dtos/updateWithdrawalDto.d.ts +1 -1
  318. package/dist/src/domain/model/withdrawal/dtos/updateWithdrawalDto.js +38 -18
  319. package/dist/src/domain/model/withdrawal/entities/BaseWithdrawal.d.ts +4 -0
  320. package/dist/src/domain/model/withdrawal/entities/BaseWithdrawal.js +41 -0
  321. package/dist/src/domain/model/withdrawal/entities/BaseWithdrawal.js.map +1 -0
  322. package/dist/src/domain/model/withdrawal/entities/Withdrawal.d.ts +3 -3
  323. package/dist/src/domain/model/withdrawal/entities/Withdrawal.js +46 -21
  324. package/dist/src/domain/model/withdrawal/entities/WithdrawalWithTransaction.d.ts +2 -2
  325. package/dist/src/domain/model/withdrawal/entities/WithdrawalWithTransaction.js.map +1 -1
  326. package/dist/src/domain/model/withdrawal/entities/index.js +35 -19
  327. package/dist/src/domain/model/withdrawal/index.js +35 -19
  328. package/dist/src/domain/services/BigIntCalculatorService.d.ts +1 -1
  329. package/dist/src/domain/services/BigIntCalculatorService.js +6 -6
  330. package/dist/src/domain/services/CurrencyService.d.ts +1 -1
  331. package/dist/src/domain/services/CurrencyService.js +7 -7
  332. package/dist/src/domain/services/EmailService.d.ts +3 -0
  333. package/dist/src/domain/services/EmailService.js +11 -0
  334. package/dist/src/domain/services/EmailService.js.map +1 -0
  335. package/dist/src/domain/services/SolscanService.d.ts +1 -1
  336. package/dist/tsconfig.tsbuildinfo +1 -1
  337. package/package.json +2 -2
  338. package/dist/src/domain/model/auth/dtos/ethSignOn.dto.d.ts +0 -14
  339. package/dist/src/domain/model/auth/dtos/ethSignOn.dto.js.map +0 -1
  340. package/dist/src/domain/model/blockchain/entities/BaseBlockchain.d.ts +0 -6
  341. package/dist/src/domain/model/blockchain/entities/BaseBlockchain.js +0 -8
  342. package/dist/src/domain/model/blockchain/entities/BaseBlockchain.js.map +0 -1
  343. package/dist/src/domain/model/blockchainEngine/entities/BlockchainEngine.d.ts +0 -6
  344. package/dist/src/domain/model/blockchainEngine/entities/BlockchainEngine.js +0 -8
  345. package/dist/src/domain/model/blockchainEngine/entities/BlockchainEngine.js.map +0 -1
  346. package/dist/src/domain/model/paystream-tx/entities/BasePaystreamTxWithTransactionSwap.d.ts +0 -4
  347. package/dist/src/domain/model/paystream-tx/entities/BasePaystreamTxWithTransactionSwap.js +0 -8
  348. package/dist/src/domain/model/paystream-tx/entities/BasePaystreamTxWithTransactionSwap.js.map +0 -1
@@ -0,0 +1,5 @@
1
+ import { PrepareTransaction } from './PrepareTransaction';
2
+ export declare class PrepareSwappedTransaction {
3
+ standardTransaction: PrepareTransaction;
4
+ swappedTransaction: string;
5
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PrepareSwappedTransaction = void 0;
4
+ class PrepareSwappedTransaction {
5
+ }
6
+ exports.PrepareSwappedTransaction = PrepareSwappedTransaction;
7
+ //# sourceMappingURL=PrepareSwappedTransaction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PrepareSwappedTransaction.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-transaction/entities/PrepareSwappedTransaction.ts"],"names":[],"mappings":";;;AAEA,MAAa,yBAAyB;CAGrC;AAHD,8DAGC"}
@@ -1,18 +1,34 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./product.dto"), exports);
18
- //# sourceMappingURL=index.js.map
1
+ 'use strict';
2
+ var __createBinding =
3
+ (this && this.__createBinding) ||
4
+ (Object.create
5
+ ? function (o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (
9
+ !desc ||
10
+ ('get' in desc ? !m.__esModule : desc.writable || desc.configurable)
11
+ ) {
12
+ desc = {
13
+ enumerable: true,
14
+ get: function () {
15
+ return m[k];
16
+ },
17
+ };
18
+ }
19
+ Object.defineProperty(o, k2, desc);
20
+ }
21
+ : function (o, m, k, k2) {
22
+ if (k2 === undefined) k2 = k;
23
+ o[k2] = m[k];
24
+ });
25
+ var __exportStar =
26
+ (this && this.__exportStar) ||
27
+ function (m, exports) {
28
+ for (var p in m)
29
+ if (p !== 'default' && !Object.prototype.hasOwnProperty.call(exports, p))
30
+ __createBinding(exports, m, p);
31
+ };
32
+ Object.defineProperty(exports, '__esModule', { value: true });
33
+ __exportStar(require('./product.dto'), exports);
34
+ //# sourceMappingURL=index.js.map
@@ -1,6 +1,6 @@
1
1
  import { ProductInputType } from '../entities';
2
2
  export declare class ProductDto {
3
- name: string;
4
- description: string;
5
- type: ProductInputType;
3
+ name: string;
4
+ description: string;
5
+ type: ProductInputType;
6
6
  }
@@ -1,33 +1,63 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1
+ 'use strict';
2
+ var __decorate =
3
+ (this && this.__decorate) ||
4
+ function (decorators, target, key, desc) {
5
+ var c = arguments.length,
6
+ r =
7
+ c < 3
8
+ ? target
9
+ : desc === null
10
+ ? (desc = Object.getOwnPropertyDescriptor(target, key))
11
+ : desc,
12
+ d;
13
+ if (typeof Reflect === 'object' && typeof Reflect.decorate === 'function')
14
+ r = Reflect.decorate(decorators, target, key, desc);
15
+ else
16
+ for (var i = decorators.length - 1; i >= 0; i--)
17
+ if ((d = decorators[i]))
18
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
19
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
20
+ };
21
+ var __metadata =
22
+ (this && this.__metadata) ||
23
+ function (k, v) {
24
+ if (typeof Reflect === 'object' && typeof Reflect.metadata === 'function')
25
+ return Reflect.metadata(k, v);
26
+ };
27
+ Object.defineProperty(exports, '__esModule', { value: true });
12
28
  exports.ProductDto = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const entities_1 = require("../entities");
15
- class ProductDto {
16
- }
17
- __decorate([
29
+ const class_validator_1 = require('class-validator');
30
+ const entities_1 = require('../entities');
31
+ class ProductDto {}
32
+ __decorate(
33
+ [
18
34
  (0, class_validator_1.IsString)(),
19
35
  (0, class_validator_1.IsNotEmpty)(),
20
- __metadata("design:type", String)
21
- ], ProductDto.prototype, "name", void 0);
22
- __decorate([
36
+ __metadata('design:type', String),
37
+ ],
38
+ ProductDto.prototype,
39
+ 'name',
40
+ void 0,
41
+ );
42
+ __decorate(
43
+ [
23
44
  (0, class_validator_1.IsString)(),
24
45
  (0, class_validator_1.IsNotEmpty)(),
25
- __metadata("design:type", String)
26
- ], ProductDto.prototype, "description", void 0);
27
- __decorate([
46
+ __metadata('design:type', String),
47
+ ],
48
+ ProductDto.prototype,
49
+ 'description',
50
+ void 0,
51
+ );
52
+ __decorate(
53
+ [
28
54
  (0, class_validator_1.IsEnum)(entities_1.ProductInputType),
29
55
  (0, class_validator_1.IsNotEmpty)(),
30
- __metadata("design:type", String)
31
- ], ProductDto.prototype, "type", void 0);
56
+ __metadata('design:type', String),
57
+ ],
58
+ ProductDto.prototype,
59
+ 'type',
60
+ void 0,
61
+ );
32
62
  exports.ProductDto = ProductDto;
33
- //# sourceMappingURL=product.dto.js.map
63
+ //# sourceMappingURL=product.dto.js.map
@@ -1,7 +1,7 @@
1
1
  import { Entity } from '../../entity';
2
2
  import { ProductInputType } from './ProductInputType';
3
3
  export declare class Product extends Entity {
4
- name: string;
5
- description: string;
6
- type: ProductInputType;
4
+ name: string;
5
+ description: string;
6
+ type: ProductInputType;
7
7
  }
@@ -1,8 +1,7 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ 'use strict';
2
+ Object.defineProperty(exports, '__esModule', { value: true });
3
3
  exports.Product = void 0;
4
- const entity_1 = require("../../entity");
5
- class Product extends entity_1.Entity {
6
- }
4
+ const entity_1 = require('../../entity');
5
+ class Product extends entity_1.Entity {}
7
6
  exports.Product = Product;
8
- //# sourceMappingURL=Product.js.map
7
+ //# sourceMappingURL=Product.js.map
@@ -1,4 +1,4 @@
1
1
  export declare enum ProductInputType {
2
- TEXT = "TEXT",
3
- SELECTOR = "SELECTOR"
2
+ TEXT = 'TEXT',
3
+ SELECTOR = 'SELECTOR',
4
4
  }
@@ -1,9 +1,12 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ 'use strict';
2
+ Object.defineProperty(exports, '__esModule', { value: true });
3
3
  exports.ProductInputType = void 0;
4
4
  var ProductInputType;
5
5
  (function (ProductInputType) {
6
- ProductInputType["TEXT"] = "TEXT";
7
- ProductInputType["SELECTOR"] = "SELECTOR";
8
- })(ProductInputType = exports.ProductInputType || (exports.ProductInputType = {}));
9
- //# sourceMappingURL=ProductInputType.js.map
6
+ ProductInputType['TEXT'] = 'TEXT';
7
+ ProductInputType['SELECTOR'] = 'SELECTOR';
8
+ })(
9
+ (ProductInputType =
10
+ exports.ProductInputType || (exports.ProductInputType = {})),
11
+ );
12
+ //# sourceMappingURL=ProductInputType.js.map
@@ -1,19 +1,35 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./Product"), exports);
18
- __exportStar(require("./ProductInputType"), exports);
19
- //# sourceMappingURL=index.js.map
1
+ 'use strict';
2
+ var __createBinding =
3
+ (this && this.__createBinding) ||
4
+ (Object.create
5
+ ? function (o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (
9
+ !desc ||
10
+ ('get' in desc ? !m.__esModule : desc.writable || desc.configurable)
11
+ ) {
12
+ desc = {
13
+ enumerable: true,
14
+ get: function () {
15
+ return m[k];
16
+ },
17
+ };
18
+ }
19
+ Object.defineProperty(o, k2, desc);
20
+ }
21
+ : function (o, m, k, k2) {
22
+ if (k2 === undefined) k2 = k;
23
+ o[k2] = m[k];
24
+ });
25
+ var __exportStar =
26
+ (this && this.__exportStar) ||
27
+ function (m, exports) {
28
+ for (var p in m)
29
+ if (p !== 'default' && !Object.prototype.hasOwnProperty.call(exports, p))
30
+ __createBinding(exports, m, p);
31
+ };
32
+ Object.defineProperty(exports, '__esModule', { value: true });
33
+ __exportStar(require('./Product'), exports);
34
+ __exportStar(require('./ProductInputType'), exports);
35
+ //# sourceMappingURL=index.js.map
@@ -1,19 +1,35 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./entities"), exports);
18
- __exportStar(require("./dtos"), exports);
19
- //# sourceMappingURL=index.js.map
1
+ 'use strict';
2
+ var __createBinding =
3
+ (this && this.__createBinding) ||
4
+ (Object.create
5
+ ? function (o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (
9
+ !desc ||
10
+ ('get' in desc ? !m.__esModule : desc.writable || desc.configurable)
11
+ ) {
12
+ desc = {
13
+ enumerable: true,
14
+ get: function () {
15
+ return m[k];
16
+ },
17
+ };
18
+ }
19
+ Object.defineProperty(o, k2, desc);
20
+ }
21
+ : function (o, m, k, k2) {
22
+ if (k2 === undefined) k2 = k;
23
+ o[k2] = m[k];
24
+ });
25
+ var __exportStar =
26
+ (this && this.__exportStar) ||
27
+ function (m, exports) {
28
+ for (var p in m)
29
+ if (p !== 'default' && !Object.prototype.hasOwnProperty.call(exports, p))
30
+ __createBinding(exports, m, p);
31
+ };
32
+ Object.defineProperty(exports, '__esModule', { value: true });
33
+ __exportStar(require('./entities'), exports);
34
+ __exportStar(require('./dtos'), exports);
35
+ //# sourceMappingURL=index.js.map
@@ -1,18 +1,34 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./productDetails.dto"), exports);
18
- //# sourceMappingURL=index.js.map
1
+ 'use strict';
2
+ var __createBinding =
3
+ (this && this.__createBinding) ||
4
+ (Object.create
5
+ ? function (o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (
9
+ !desc ||
10
+ ('get' in desc ? !m.__esModule : desc.writable || desc.configurable)
11
+ ) {
12
+ desc = {
13
+ enumerable: true,
14
+ get: function () {
15
+ return m[k];
16
+ },
17
+ };
18
+ }
19
+ Object.defineProperty(o, k2, desc);
20
+ }
21
+ : function (o, m, k, k2) {
22
+ if (k2 === undefined) k2 = k;
23
+ o[k2] = m[k];
24
+ });
25
+ var __exportStar =
26
+ (this && this.__exportStar) ||
27
+ function (m, exports) {
28
+ for (var p in m)
29
+ if (p !== 'default' && !Object.prototype.hasOwnProperty.call(exports, p))
30
+ __createBinding(exports, m, p);
31
+ };
32
+ Object.defineProperty(exports, '__esModule', { value: true });
33
+ __exportStar(require('./productDetails.dto'), exports);
34
+ //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
1
  export declare class ProductDetailsDto {
2
- name: string;
3
- value: string;
2
+ name: string;
3
+ value: string;
4
4
  }
@@ -1,27 +1,52 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1
+ 'use strict';
2
+ var __decorate =
3
+ (this && this.__decorate) ||
4
+ function (decorators, target, key, desc) {
5
+ var c = arguments.length,
6
+ r =
7
+ c < 3
8
+ ? target
9
+ : desc === null
10
+ ? (desc = Object.getOwnPropertyDescriptor(target, key))
11
+ : desc,
12
+ d;
13
+ if (typeof Reflect === 'object' && typeof Reflect.decorate === 'function')
14
+ r = Reflect.decorate(decorators, target, key, desc);
15
+ else
16
+ for (var i = decorators.length - 1; i >= 0; i--)
17
+ if ((d = decorators[i]))
18
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
19
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
20
+ };
21
+ var __metadata =
22
+ (this && this.__metadata) ||
23
+ function (k, v) {
24
+ if (typeof Reflect === 'object' && typeof Reflect.metadata === 'function')
25
+ return Reflect.metadata(k, v);
26
+ };
27
+ Object.defineProperty(exports, '__esModule', { value: true });
12
28
  exports.ProductDetailsDto = void 0;
13
- const class_validator_1 = require("class-validator");
14
- class ProductDetailsDto {
15
- }
16
- __decorate([
29
+ const class_validator_1 = require('class-validator');
30
+ class ProductDetailsDto {}
31
+ __decorate(
32
+ [
17
33
  (0, class_validator_1.IsString)(),
18
34
  (0, class_validator_1.IsNotEmpty)(),
19
- __metadata("design:type", String)
20
- ], ProductDetailsDto.prototype, "name", void 0);
21
- __decorate([
35
+ __metadata('design:type', String),
36
+ ],
37
+ ProductDetailsDto.prototype,
38
+ 'name',
39
+ void 0,
40
+ );
41
+ __decorate(
42
+ [
22
43
  (0, class_validator_1.IsString)(),
23
44
  (0, class_validator_1.IsNotEmpty)(),
24
- __metadata("design:type", String)
25
- ], ProductDetailsDto.prototype, "value", void 0);
45
+ __metadata('design:type', String),
46
+ ],
47
+ ProductDetailsDto.prototype,
48
+ 'value',
49
+ void 0,
50
+ );
26
51
  exports.ProductDetailsDto = ProductDetailsDto;
27
- //# sourceMappingURL=productDetails.dto.js.map
52
+ //# sourceMappingURL=productDetails.dto.js.map
@@ -1,5 +1,5 @@
1
1
  import { Entity } from '../../entity';
2
2
  export declare class ProductDetails extends Entity {
3
- name?: string;
4
- value?: string;
3
+ name?: string;
4
+ value?: string;
5
5
  }
@@ -1,8 +1,7 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ 'use strict';
2
+ Object.defineProperty(exports, '__esModule', { value: true });
3
3
  exports.ProductDetails = void 0;
4
- const entity_1 = require("../../entity");
5
- class ProductDetails extends entity_1.Entity {
6
- }
4
+ const entity_1 = require('../../entity');
5
+ class ProductDetails extends entity_1.Entity {}
7
6
  exports.ProductDetails = ProductDetails;
8
- //# sourceMappingURL=ProductDetails.js.map
7
+ //# sourceMappingURL=ProductDetails.js.map
@@ -1,18 +1,34 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./ProductDetails"), exports);
18
- //# sourceMappingURL=index.js.map
1
+ 'use strict';
2
+ var __createBinding =
3
+ (this && this.__createBinding) ||
4
+ (Object.create
5
+ ? function (o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (
9
+ !desc ||
10
+ ('get' in desc ? !m.__esModule : desc.writable || desc.configurable)
11
+ ) {
12
+ desc = {
13
+ enumerable: true,
14
+ get: function () {
15
+ return m[k];
16
+ },
17
+ };
18
+ }
19
+ Object.defineProperty(o, k2, desc);
20
+ }
21
+ : function (o, m, k, k2) {
22
+ if (k2 === undefined) k2 = k;
23
+ o[k2] = m[k];
24
+ });
25
+ var __exportStar =
26
+ (this && this.__exportStar) ||
27
+ function (m, exports) {
28
+ for (var p in m)
29
+ if (p !== 'default' && !Object.prototype.hasOwnProperty.call(exports, p))
30
+ __createBinding(exports, m, p);
31
+ };
32
+ Object.defineProperty(exports, '__esModule', { value: true });
33
+ __exportStar(require('./ProductDetails'), exports);
34
+ //# sourceMappingURL=index.js.map
@@ -1,19 +1,35 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./entities"), exports);
18
- __exportStar(require("./dtos"), exports);
19
- //# sourceMappingURL=index.js.map
1
+ 'use strict';
2
+ var __createBinding =
3
+ (this && this.__createBinding) ||
4
+ (Object.create
5
+ ? function (o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (
9
+ !desc ||
10
+ ('get' in desc ? !m.__esModule : desc.writable || desc.configurable)
11
+ ) {
12
+ desc = {
13
+ enumerable: true,
14
+ get: function () {
15
+ return m[k];
16
+ },
17
+ };
18
+ }
19
+ Object.defineProperty(o, k2, desc);
20
+ }
21
+ : function (o, m, k, k2) {
22
+ if (k2 === undefined) k2 = k;
23
+ o[k2] = m[k];
24
+ });
25
+ var __exportStar =
26
+ (this && this.__exportStar) ||
27
+ function (m, exports) {
28
+ for (var p in m)
29
+ if (p !== 'default' && !Object.prototype.hasOwnProperty.call(exports, p))
30
+ __createBinding(exports, m, p);
31
+ };
32
+ Object.defineProperty(exports, '__esModule', { value: true });
33
+ __exportStar(require('./entities'), exports);
34
+ __exportStar(require('./dtos'), exports);
35
+ //# sourceMappingURL=index.js.map