@heliofi/common 0.2.193 → 0.2.194-alpha.1772814222

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 (254) hide show
  1. package/dist/src/domain/constants/index.d.ts +0 -1
  2. package/dist/src/domain/constants/index.js +0 -1
  3. package/dist/src/domain/constants/index.js.map +1 -1
  4. package/dist/src/domain/model/blockchain/constants/BlockchainEngineToBlockchain.spec.js.map +1 -1
  5. package/dist/src/domain/model/blockchain/constants/BlockchainSymbol.d.ts +1 -0
  6. package/dist/src/domain/model/blockchain/constants/BlockchainSymbol.js +1 -0
  7. package/dist/src/domain/model/blockchain/constants/BlockchainSymbol.js.map +1 -1
  8. package/dist/src/domain/model/blockchain/constants/BlockchainSymbolToDecentChainId.js +5 -0
  9. package/dist/src/domain/model/blockchain/constants/BlockchainSymbolToDecentChainId.js.map +1 -1
  10. package/dist/src/domain/model/blockchain/constants/BlockchainToBlockchainEngine.js +2 -0
  11. package/dist/src/domain/model/blockchain/constants/BlockchainToBlockchainEngine.js.map +1 -1
  12. package/dist/src/domain/model/blockchain/constants/ConfirmTimeoutSec.d.ts +1 -0
  13. package/dist/src/domain/model/blockchain/constants/ConfirmTimeoutSec.js +1 -0
  14. package/dist/src/domain/model/blockchain/constants/ConfirmTimeoutSec.js.map +1 -1
  15. package/dist/src/domain/model/blockchainEngine/constants/BlockchainEngineType.d.ts +2 -1
  16. package/dist/src/domain/model/blockchainEngine/constants/BlockchainEngineType.js +1 -0
  17. package/dist/src/domain/model/blockchainEngine/constants/BlockchainEngineType.js.map +1 -1
  18. package/dist/src/domain/model/charge/constants/ChargeSource.d.ts +4 -0
  19. package/dist/src/domain/model/charge/constants/ChargeSource.js +9 -0
  20. package/dist/src/domain/model/charge/constants/ChargeSource.js.map +1 -0
  21. package/dist/src/domain/model/charge/constants/index.d.ts +1 -0
  22. package/dist/src/domain/model/{raffle-details/dtos → charge/constants}/index.js +1 -1
  23. package/dist/src/domain/model/charge/constants/index.js.map +1 -0
  24. package/dist/src/domain/model/charge/entities/Charge.entity.d.ts +4 -1
  25. package/dist/src/domain/model/charge/entities/Charge.entity.js.map +1 -1
  26. package/dist/src/domain/model/charge/entities/ChargeApiKeyResponse.entity.d.ts +6 -0
  27. package/dist/src/domain/model/charge/entities/ChargeApiKeyResponse.entity.js +8 -0
  28. package/dist/src/domain/model/charge/entities/ChargeApiKeyResponse.entity.js.map +1 -0
  29. package/dist/src/domain/model/charge/entities/EnrichedCharge.entity.d.ts +2 -0
  30. package/dist/src/domain/model/charge/entities/EnrichedCharge.entity.js +20 -0
  31. package/dist/src/domain/model/charge/entities/EnrichedCharge.entity.js.map +1 -1
  32. package/dist/src/domain/model/charge/entities/index.d.ts +1 -0
  33. package/dist/src/domain/model/charge/entities/index.js +1 -0
  34. package/dist/src/domain/model/charge/entities/index.js.map +1 -1
  35. package/dist/src/domain/model/charge/index.d.ts +1 -0
  36. package/dist/src/domain/model/charge/index.js +1 -0
  37. package/dist/src/domain/model/charge/index.js.map +1 -1
  38. package/dist/src/domain/model/coinbase-auth/dtos/Confirm2FA.dto.d.ts +4 -0
  39. package/dist/src/domain/model/{email/dtos/emailRaffleWinner.dto.js → coinbase-auth/dtos/Confirm2FA.dto.js} +6 -16
  40. package/dist/src/domain/model/coinbase-auth/dtos/Confirm2FA.dto.js.map +1 -0
  41. package/dist/src/domain/model/coinbase-auth/dtos/Resend2FA.dto.d.ts +3 -0
  42. package/dist/src/domain/model/coinbase-auth/dtos/Resend2FA.dto.js +22 -0
  43. package/dist/src/domain/model/coinbase-auth/dtos/Resend2FA.dto.js.map +1 -0
  44. package/dist/src/domain/model/coinbase-auth/dtos/SendCrypto.dto.d.ts +6 -0
  45. package/dist/src/domain/model/{raffle-entry/dtos/entryDetails.dto.js → coinbase-auth/dtos/SendCrypto.dto.js} +13 -9
  46. package/dist/src/domain/model/coinbase-auth/dtos/SendCrypto.dto.js.map +1 -0
  47. package/dist/src/domain/model/coinbase-auth/dtos/index.d.ts +3 -0
  48. package/dist/src/domain/model/coinbase-auth/dtos/index.js +3 -0
  49. package/dist/src/domain/model/coinbase-auth/dtos/index.js.map +1 -1
  50. package/dist/src/domain/model/coinbase-auth/entities/CoinbaseAuthStatusResponse.entity.d.ts +1 -0
  51. package/dist/src/domain/model/coinbase-auth/entities/CoinbaseAuthStatusResponse.entity.js.map +1 -1
  52. package/dist/src/domain/model/coinbase-auth/entities/CoinbaseWithdrawalResponse.entity.d.ts +13 -0
  53. package/dist/src/domain/model/coinbase-auth/entities/CoinbaseWithdrawalResponse.entity.js +8 -0
  54. package/dist/src/domain/model/coinbase-auth/entities/CoinbaseWithdrawalResponse.entity.js.map +1 -0
  55. package/dist/src/domain/model/coinbase-auth/entities/index.d.ts +1 -0
  56. package/dist/src/domain/model/coinbase-auth/entities/index.js +1 -0
  57. package/dist/src/domain/model/coinbase-auth/entities/index.js.map +1 -1
  58. package/dist/src/domain/model/decent-swap/entities/DecentApiError.d.ts +40 -0
  59. package/dist/src/domain/model/decent-swap/entities/DecentApiError.js +29 -0
  60. package/dist/src/domain/model/decent-swap/entities/DecentApiError.js.map +1 -0
  61. package/dist/src/domain/model/decent-swap/entities/DecentBridgeProvider.d.ts +13 -0
  62. package/dist/src/domain/model/decent-swap/entities/DecentBridgeProvider.js +18 -0
  63. package/dist/src/domain/model/decent-swap/entities/DecentBridgeProvider.js.map +1 -0
  64. package/dist/src/domain/model/decent-swap/entities/DecentChainId.d.ts +2 -1
  65. package/dist/src/domain/model/decent-swap/entities/DecentChainId.js +1 -0
  66. package/dist/src/domain/model/decent-swap/entities/DecentChainId.js.map +1 -1
  67. package/dist/src/domain/model/decent-swap/entities/GetRoutesOptions.d.ts +1 -0
  68. package/dist/src/domain/model/decent-swap/entities/index.d.ts +2 -0
  69. package/dist/src/domain/model/decent-swap/entities/index.js +2 -0
  70. package/dist/src/domain/model/decent-swap/entities/index.js.map +1 -1
  71. package/dist/src/domain/model/deposit/constants/DepositCustomerType.d.ts +4 -0
  72. package/dist/src/domain/model/deposit/constants/DepositCustomerType.js +9 -0
  73. package/dist/src/domain/model/deposit/constants/DepositCustomerType.js.map +1 -0
  74. package/dist/src/domain/model/deposit/constants/index.d.ts +1 -0
  75. package/dist/src/domain/model/{raffle-details/entities → deposit/constants}/index.js +1 -1
  76. package/dist/src/domain/model/deposit/constants/index.js.map +1 -0
  77. package/dist/src/domain/model/deposit/dtos/acceptDepositCustomerVirtualBankAccountTerms.dto.d.ts +2 -0
  78. package/dist/src/domain/model/deposit/dtos/acceptDepositCustomerVirtualBankAccountTerms.dto.js +7 -0
  79. package/dist/src/domain/model/deposit/dtos/acceptDepositCustomerVirtualBankAccountTerms.dto.js.map +1 -0
  80. package/dist/src/domain/model/deposit/dtos/index.d.ts +2 -0
  81. package/dist/src/domain/model/deposit/dtos/index.js +2 -0
  82. package/dist/src/domain/model/deposit/dtos/index.js.map +1 -1
  83. package/dist/src/domain/model/deposit/dtos/setDepositCustomerVirtualAccountCountry.dto.d.ts +3 -0
  84. package/dist/src/domain/model/deposit/dtos/setDepositCustomerVirtualAccountCountry.dto.js +23 -0
  85. package/dist/src/domain/model/deposit/dtos/setDepositCustomerVirtualAccountCountry.dto.js.map +1 -0
  86. package/dist/src/domain/model/deposit/dtos/setDepositCustomerVirtualAccountEmail.dto.d.ts +3 -0
  87. package/dist/src/domain/model/deposit/dtos/setDepositCustomerVirtualAccountEmail.dto.js +22 -0
  88. package/dist/src/domain/model/deposit/dtos/setDepositCustomerVirtualAccountEmail.dto.js.map +1 -0
  89. package/dist/src/domain/model/deposit/dtos/updateDepositWallet.dto.d.ts +2 -0
  90. package/dist/src/domain/model/deposit/dtos/updateDepositWallet.dto.js +11 -0
  91. package/dist/src/domain/model/deposit/dtos/updateDepositWallet.dto.js.map +1 -1
  92. package/dist/src/domain/model/deposit/entities/Deposit.entity.d.ts +1 -0
  93. package/dist/src/domain/model/deposit/entities/Deposit.entity.js.map +1 -1
  94. package/dist/src/domain/model/deposit/entities/DepositCustomer.entity.d.ts +8 -0
  95. package/dist/src/domain/model/deposit/entities/DepositCustomer.entity.js.map +1 -1
  96. package/dist/src/domain/model/deposit/entities/DepositCustomerEnriched.entity.d.ts +14 -0
  97. package/dist/src/domain/model/deposit/entities/DepositCustomerEnriched.entity.js.map +1 -1
  98. package/dist/src/domain/model/deposit/entities/DepositCustomerVirtualAccountDetails.entity.d.ts +12 -0
  99. package/dist/src/domain/model/deposit/entities/DepositCustomerVirtualAccountDetails.entity.js +8 -0
  100. package/dist/src/domain/model/deposit/entities/DepositCustomerVirtualAccountDetails.entity.js.map +1 -0
  101. package/dist/src/domain/model/deposit/entities/DepositSearchResult.entity.d.ts +6 -0
  102. package/dist/src/domain/model/deposit/entities/DepositSearchResult.entity.js.map +1 -1
  103. package/dist/src/domain/model/deposit/entities/DepositWallet.entity.d.ts +2 -0
  104. package/dist/src/domain/model/deposit/entities/DepositWallet.entity.js.map +1 -1
  105. package/dist/src/domain/model/deposit/entities/KycLink.entity.d.ts +3 -0
  106. package/dist/src/domain/model/deposit/entities/KycLink.entity.js +7 -0
  107. package/dist/src/domain/model/deposit/entities/KycLink.entity.js.map +1 -0
  108. package/dist/src/domain/model/deposit/entities/VirtualAccount.enums.d.ts +29 -0
  109. package/dist/src/domain/model/deposit/entities/VirtualAccount.enums.js +37 -0
  110. package/dist/src/domain/model/deposit/entities/VirtualAccount.enums.js.map +1 -0
  111. package/dist/src/domain/model/deposit/entities/VirtualAccountBankDetails.entity.d.ts +10 -0
  112. package/dist/src/domain/model/deposit/entities/VirtualAccountBankDetails.entity.js +7 -0
  113. package/dist/src/domain/model/deposit/entities/VirtualAccountBankDetails.entity.js.map +1 -0
  114. package/dist/src/domain/model/deposit/entities/VirtualAccountBankDetailsInfo.entity.d.ts +11 -0
  115. package/dist/src/domain/model/deposit/entities/VirtualAccountBankDetailsInfo.entity.js +7 -0
  116. package/dist/src/domain/model/deposit/entities/VirtualAccountBankDetailsInfo.entity.js.map +1 -0
  117. package/dist/src/domain/model/deposit/entities/VirtualAccountTransaction.entity.d.ts +7 -0
  118. package/dist/src/domain/model/deposit/entities/VirtualAccountTransaction.entity.js +7 -0
  119. package/dist/src/domain/model/deposit/entities/VirtualAccountTransaction.entity.js.map +1 -0
  120. package/dist/src/domain/model/deposit/entities/VirtualAccountView.entity.d.ts +7 -0
  121. package/dist/src/domain/model/deposit/entities/VirtualAccountView.entity.js +7 -0
  122. package/dist/src/domain/model/deposit/entities/VirtualAccountView.entity.js.map +1 -0
  123. package/dist/src/domain/model/deposit/entities/index.d.ts +9 -0
  124. package/dist/src/domain/model/deposit/entities/index.js +9 -0
  125. package/dist/src/domain/model/deposit/entities/index.js.map +1 -1
  126. package/dist/src/domain/model/deposit/index.d.ts +1 -0
  127. package/dist/src/domain/model/deposit/index.js +1 -0
  128. package/dist/src/domain/model/deposit/index.js.map +1 -1
  129. package/dist/src/domain/model/deposit-management/dtos/Sweep.dto.d.ts +4 -0
  130. package/dist/src/domain/model/{email/dtos/emailRaffleMerchant.dto.js → deposit-management/dtos/Sweep.dto.js} +6 -17
  131. package/dist/src/domain/model/deposit-management/dtos/Sweep.dto.js.map +1 -0
  132. package/dist/src/domain/model/deposit-management/dtos/index.d.ts +1 -0
  133. package/dist/src/domain/model/deposit-management/dtos/index.js +1 -0
  134. package/dist/src/domain/model/deposit-management/dtos/index.js.map +1 -1
  135. package/dist/src/domain/model/deposit-management/entities/DepositRefund.entity.d.ts +15 -0
  136. package/dist/src/domain/model/deposit-management/entities/DepositRefund.entity.js +7 -0
  137. package/dist/src/domain/model/deposit-management/entities/DepositRefund.entity.js.map +1 -0
  138. package/dist/src/domain/model/deposit-management/entities/DepositRefundStatus.d.ts +5 -0
  139. package/dist/src/domain/model/deposit-management/entities/DepositRefundStatus.js +10 -0
  140. package/dist/src/domain/model/deposit-management/entities/DepositRefundStatus.js.map +1 -0
  141. package/dist/src/domain/model/deposit-management/entities/ExecuteSweepResponse.d.ts +9 -0
  142. package/dist/src/domain/model/deposit-management/entities/ExecuteSweepResponse.js +7 -0
  143. package/dist/src/domain/model/deposit-management/entities/ExecuteSweepResponse.js.map +1 -0
  144. package/dist/src/domain/model/deposit-management/entities/SweepExecutionStep.d.ts +7 -0
  145. package/dist/src/domain/model/deposit-management/entities/SweepExecutionStep.js +7 -0
  146. package/dist/src/domain/model/deposit-management/entities/SweepExecutionStep.js.map +1 -0
  147. package/dist/src/domain/model/deposit-management/entities/index.d.ts +4 -0
  148. package/dist/src/domain/model/deposit-management/entities/index.js +4 -0
  149. package/dist/src/domain/model/deposit-management/entities/index.js.map +1 -1
  150. package/dist/src/domain/model/deposit-wallet-incoming-transaction/entities/DepositWalletIncomingTransaction.entity.d.ts +2 -0
  151. package/dist/src/domain/model/deposit-wallet-incoming-transaction/entities/DepositWalletIncomingTransaction.entity.js.map +1 -1
  152. package/dist/src/domain/model/email/dtos/index.d.ts +0 -2
  153. package/dist/src/domain/model/email/dtos/index.js +0 -2
  154. package/dist/src/domain/model/email/dtos/index.js.map +1 -1
  155. package/dist/src/domain/model/index.d.ts +1 -2
  156. package/dist/src/domain/model/index.js +1 -2
  157. package/dist/src/domain/model/index.js.map +1 -1
  158. package/dist/src/domain/model/link-features/dtos/createLinkFeatures.dto.d.ts +0 -1
  159. package/dist/src/domain/model/link-features/dtos/createLinkFeatures.dto.js +0 -5
  160. package/dist/src/domain/model/link-features/dtos/createLinkFeatures.dto.js.map +1 -1
  161. package/dist/src/domain/model/link-features/dtos/updateLinkFeatures.dto.d.ts +0 -1
  162. package/dist/src/domain/model/link-features/dtos/updateLinkFeatures.dto.js +0 -5
  163. package/dist/src/domain/model/link-features/dtos/updateLinkFeatures.dto.js.map +1 -1
  164. package/dist/src/domain/model/link-features/entities/LinkFeatures.entity.d.ts +1 -1
  165. package/dist/src/domain/model/paylink/dtos/createPaylink.dto.d.ts +0 -2
  166. package/dist/src/domain/model/paylink/dtos/createPaylink.dto.js +0 -7
  167. package/dist/src/domain/model/paylink/dtos/createPaylink.dto.js.map +1 -1
  168. package/dist/src/domain/model/paylink/dtos/createPaylinkWithApi.dto.d.ts +0 -2
  169. package/dist/src/domain/model/paylink/dtos/createPaylinkWithApi.dto.js +0 -7
  170. package/dist/src/domain/model/paylink/dtos/createPaylinkWithApi.dto.js.map +1 -1
  171. package/dist/src/domain/model/paylink/dtos/updatePaylink.dto.d.ts +0 -2
  172. package/dist/src/domain/model/paylink/dtos/updatePaylink.dto.js +0 -7
  173. package/dist/src/domain/model/paylink/dtos/updatePaylink.dto.js.map +1 -1
  174. package/dist/src/domain/model/paylink/dtos/updatePaylinkWithApi.dto.d.ts +0 -2
  175. package/dist/src/domain/model/paylink/dtos/updatePaylinkWithApi.dto.js +0 -7
  176. package/dist/src/domain/model/paylink/dtos/updatePaylinkWithApi.dto.js.map +1 -1
  177. package/dist/src/domain/model/paylink/entities/BasePaylink.d.ts +0 -2
  178. package/dist/src/domain/model/paylink/entities/BasePaylink.js.map +1 -1
  179. package/dist/src/domain/model/paylink/entities/ShallowEnrichedPaylink.entity.d.ts +0 -2
  180. package/dist/src/domain/model/paylink/entities/ShallowEnrichedPaylink.entity.js.map +1 -1
  181. package/dist/src/domain/model/privateRpc/entities/PrivateRpcUsageUi.enum.d.ts +2 -1
  182. package/dist/src/domain/model/privateRpc/entities/PrivateRpcUsageUi.enum.js +1 -0
  183. package/dist/src/domain/model/privateRpc/entities/PrivateRpcUsageUi.enum.js.map +1 -1
  184. package/dist/src/domain/model/report/entities/ReportItem.entity.d.ts +1 -0
  185. package/dist/src/domain/model/report/entities/ReportItem.entity.js.map +1 -1
  186. package/dist/src/domain/model/swap-route-config/dtos/createSwapRouteConfig.dto.d.ts +7 -0
  187. package/dist/src/domain/model/{raffle-entry/dtos/createRaffleEntry.dto.js → swap-route-config/dtos/createSwapRouteConfig.dto.js} +17 -26
  188. package/dist/src/domain/model/swap-route-config/dtos/createSwapRouteConfig.dto.js.map +1 -0
  189. package/dist/src/domain/model/swap-route-config/dtos/index.d.ts +2 -0
  190. package/dist/src/domain/model/{raffle-entry → swap-route-config}/dtos/index.js +2 -2
  191. package/dist/src/domain/model/swap-route-config/dtos/index.js.map +1 -0
  192. package/dist/src/domain/model/swap-route-config/dtos/updateSwapRouteConfig.dto.d.ts +5 -0
  193. package/dist/src/domain/model/swap-route-config/dtos/updateSwapRouteConfig.dto.js +29 -0
  194. package/dist/src/domain/model/swap-route-config/dtos/updateSwapRouteConfig.dto.js.map +1 -0
  195. package/dist/src/domain/model/swap-route-config/entities/BaseSwapRouteConfig.entity.d.ts +10 -0
  196. package/dist/src/domain/model/swap-route-config/entities/BaseSwapRouteConfig.entity.js +8 -0
  197. package/dist/src/domain/model/swap-route-config/entities/BaseSwapRouteConfig.entity.js.map +1 -0
  198. package/dist/src/domain/model/swap-route-config/entities/SwapRouteConfigEnriched.entity.d.ts +6 -0
  199. package/dist/src/domain/model/swap-route-config/entities/SwapRouteConfigEnriched.entity.js +8 -0
  200. package/dist/src/domain/model/swap-route-config/entities/SwapRouteConfigEnriched.entity.js.map +1 -0
  201. package/dist/src/domain/model/swap-route-config/entities/index.d.ts +2 -0
  202. package/dist/src/domain/model/swap-route-config/entities/index.js +19 -0
  203. package/dist/src/domain/model/swap-route-config/entities/index.js.map +1 -0
  204. package/dist/src/domain/model/swap-route-config/index.js.map +1 -0
  205. package/dist/src/domain/model/sweep-attempt/entities/RecentSweepAttempt.d.ts +8 -0
  206. package/dist/src/domain/model/sweep-attempt/entities/RecentSweepAttempt.js.map +1 -1
  207. package/dist/src/domain/model/transaction-meta/entities/UpdateTransactionMeta.d.ts +1 -0
  208. package/dist/src/domain/model/transaction-meta/entities/UpdateTransactionMeta.js.map +1 -1
  209. package/dist/src/domain/services/AmountService.d.ts +1 -0
  210. package/dist/src/domain/services/AmountService.js +10 -0
  211. package/dist/src/domain/services/AmountService.js.map +1 -1
  212. package/dist/src/domain/services/ClusterService.d.ts +1 -0
  213. package/dist/src/domain/services/ClusterService.js +10 -0
  214. package/dist/src/domain/services/ClusterService.js.map +1 -1
  215. package/dist/tsconfig.tsbuildinfo +1 -1
  216. package/package.json +3 -3
  217. package/dist/src/domain/constants/raffle.d.ts +0 -10
  218. package/dist/src/domain/constants/raffle.js +0 -16
  219. package/dist/src/domain/constants/raffle.js.map +0 -1
  220. package/dist/src/domain/model/email/dtos/emailRaffleMerchant.dto.d.ts +0 -6
  221. package/dist/src/domain/model/email/dtos/emailRaffleMerchant.dto.js.map +0 -1
  222. package/dist/src/domain/model/email/dtos/emailRaffleWinner.dto.d.ts +0 -6
  223. package/dist/src/domain/model/email/dtos/emailRaffleWinner.dto.js.map +0 -1
  224. package/dist/src/domain/model/raffle-details/dtos/index.d.ts +0 -1
  225. package/dist/src/domain/model/raffle-details/dtos/index.js.map +0 -1
  226. package/dist/src/domain/model/raffle-details/dtos/raffleDetailsDto.d.ts +0 -7
  227. package/dist/src/domain/model/raffle-details/dtos/raffleDetailsDto.js +0 -47
  228. package/dist/src/domain/model/raffle-details/dtos/raffleDetailsDto.js.map +0 -1
  229. package/dist/src/domain/model/raffle-details/entities/RaffleDetails.entity.d.ts +0 -9
  230. package/dist/src/domain/model/raffle-details/entities/RaffleDetails.entity.js +0 -7
  231. package/dist/src/domain/model/raffle-details/entities/RaffleDetails.entity.js.map +0 -1
  232. package/dist/src/domain/model/raffle-details/entities/index.d.ts +0 -1
  233. package/dist/src/domain/model/raffle-details/entities/index.js.map +0 -1
  234. package/dist/src/domain/model/raffle-details/index.js.map +0 -1
  235. package/dist/src/domain/model/raffle-entry/dtos/createRaffleEntry.dto.d.ts +0 -8
  236. package/dist/src/domain/model/raffle-entry/dtos/createRaffleEntry.dto.js.map +0 -1
  237. package/dist/src/domain/model/raffle-entry/dtos/entryDetails.dto.d.ts +0 -6
  238. package/dist/src/domain/model/raffle-entry/dtos/entryDetails.dto.js.map +0 -1
  239. package/dist/src/domain/model/raffle-entry/dtos/index.d.ts +0 -2
  240. package/dist/src/domain/model/raffle-entry/dtos/index.js.map +0 -1
  241. package/dist/src/domain/model/raffle-entry/entities/EntryDetails.entity.d.ts +0 -6
  242. package/dist/src/domain/model/raffle-entry/entities/EntryDetails.entity.js +0 -7
  243. package/dist/src/domain/model/raffle-entry/entities/EntryDetails.entity.js.map +0 -1
  244. package/dist/src/domain/model/raffle-entry/entities/RaffleEntry.entity.d.ts +0 -9
  245. package/dist/src/domain/model/raffle-entry/entities/RaffleEntry.entity.js +0 -8
  246. package/dist/src/domain/model/raffle-entry/entities/RaffleEntry.entity.js.map +0 -1
  247. package/dist/src/domain/model/raffle-entry/entities/index.d.ts +0 -2
  248. package/dist/src/domain/model/raffle-entry/entities/index.js +0 -19
  249. package/dist/src/domain/model/raffle-entry/entities/index.js.map +0 -1
  250. package/dist/src/domain/model/raffle-entry/index.d.ts +0 -2
  251. package/dist/src/domain/model/raffle-entry/index.js +0 -19
  252. package/dist/src/domain/model/raffle-entry/index.js.map +0 -1
  253. /package/dist/src/domain/model/{raffle-details → swap-route-config}/index.d.ts +0 -0
  254. /package/dist/src/domain/model/{raffle-details → swap-route-config}/index.js +0 -0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@heliofi/common",
3
3
  "private": false,
4
- "version": "0.2.193",
4
+ "version": "0.2.194-alpha.1772814222",
5
5
  "description": "Common package",
6
6
  "main": "dist/index.js",
7
7
  "types": "./dist/index.d.ts",
@@ -14,6 +14,7 @@
14
14
  "license": "ISC",
15
15
  "dependencies": {
16
16
  "@heliofi/evm-adapter": "2.2.3",
17
+ "@nestjs/swagger": "7.1.17",
17
18
  "@project-serum/anchor": "^0.26.0",
18
19
  "@solana/web3.js": "1.87.7",
19
20
  "bignumber.js": "9.1.1",
@@ -27,11 +28,10 @@
27
28
  "ts-jest": "28.0.5"
28
29
  },
29
30
  "devDependencies": {
30
- "@nestjs/swagger": "^7.1.17",
31
31
  "ts-loader": "^9.3.1"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "typescript": "5.*"
35
35
  },
36
- "gitHead": "6a53d8dd7e3e4db1070fd8c276b7b6673f8c8144"
36
+ "gitHead": "c5b3c6e2789c1830ff9215f50b24c7f159769738"
37
37
  }
@@ -1,10 +0,0 @@
1
- export declare enum RaffleState {
2
- RAFFLE_STARTED = "RAFFLE_STARTED",
3
- PICKING_WINNERS = "PICKING_WINNERS",
4
- CREATING_ALLOWLIST = "CREATING_ALLOWLIST",
5
- FINALIZING_RAFFLE = "FINALIZING_RAFFLE"
6
- }
7
- export declare enum EntryDetailsType {
8
- DISCORD = "DISCORD",
9
- WALLET = "WALLET"
10
- }
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EntryDetailsType = exports.RaffleState = void 0;
4
- var RaffleState;
5
- (function (RaffleState) {
6
- RaffleState["RAFFLE_STARTED"] = "RAFFLE_STARTED";
7
- RaffleState["PICKING_WINNERS"] = "PICKING_WINNERS";
8
- RaffleState["CREATING_ALLOWLIST"] = "CREATING_ALLOWLIST";
9
- RaffleState["FINALIZING_RAFFLE"] = "FINALIZING_RAFFLE";
10
- })(RaffleState || (exports.RaffleState = RaffleState = {}));
11
- var EntryDetailsType;
12
- (function (EntryDetailsType) {
13
- EntryDetailsType["DISCORD"] = "DISCORD";
14
- EntryDetailsType["WALLET"] = "WALLET";
15
- })(EntryDetailsType || (exports.EntryDetailsType = EntryDetailsType = {}));
16
- //# sourceMappingURL=raffle.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"raffle.js","sourceRoot":"","sources":["../../../../src/domain/constants/raffle.ts"],"names":[],"mappings":";;;AAAA,IAAY,WAKX;AALD,WAAY,WAAW;IACrB,gDAAiC,CAAA;IACjC,kDAAmC,CAAA;IACnC,wDAAyC,CAAA;IACzC,sDAAuC,CAAA;AACzC,CAAC,EALW,WAAW,2BAAX,WAAW,QAKtB;AAED,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,uCAAmB,CAAA;IACnB,qCAAiB,CAAA;AACnB,CAAC,EAHW,gBAAgB,gCAAhB,gBAAgB,QAG3B"}
@@ -1,6 +0,0 @@
1
- export declare class EmailRaffleMerchantDto {
2
- paymentRequestName: string;
3
- email: string;
4
- paylinkUrl: string;
5
- winners: string[];
6
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"emailRaffleMerchant.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/email/dtos/emailRaffleMerchant.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyE;AAEzE,MAAa,sBAAsB;CAiBlC;AAjBD,wDAiBC;AAdC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kEACc;AAI3B;IAFC,IAAA,yBAAO,GAAE;IACT,IAAA,4BAAU,GAAE;;qDACC;AAId;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACM;AAKnB;IAHC,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,4BAAU,GAAE;;uDACK"}
@@ -1,6 +0,0 @@
1
- export declare class EmailRaffleWinnerDto {
2
- paymentRequestName: string;
3
- email: string;
4
- paylinkUrl: string;
5
- walletPK: string;
6
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"emailRaffleWinner.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/email/dtos/emailRaffleWinner.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgE;AAEhE,MAAa,oBAAoB;CAgBhC;AAhBD,oDAgBC;AAbC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gEACc;AAI3B;IAFC,IAAA,yBAAO,GAAE;IACT,IAAA,4BAAU,GAAE;;mDACC;AAId;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACM;AAInB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACI"}
@@ -1 +0,0 @@
1
- export * from './raffleDetailsDto';
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/raffle-details/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC"}
@@ -1,7 +0,0 @@
1
- export declare class RaffleDetailsDto {
2
- maxEntries?: number;
3
- winners: number;
4
- maxPurchaseQuantity: number;
5
- endDatetime: Date;
6
- timezoneLocation: string;
7
- }
@@ -1,47 +0,0 @@
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;
6
- 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 });
12
- exports.RaffleDetailsDto = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const class_transformer_1 = require("class-transformer");
15
- class RaffleDetailsDto {
16
- }
17
- exports.RaffleDetailsDto = RaffleDetailsDto;
18
- __decorate([
19
- (0, class_validator_1.IsNumber)(),
20
- (0, class_validator_1.IsPositive)(),
21
- (0, class_validator_1.IsOptional)(),
22
- __metadata("design:type", Number)
23
- ], RaffleDetailsDto.prototype, "maxEntries", void 0);
24
- __decorate([
25
- (0, class_validator_1.IsNumber)(),
26
- (0, class_validator_1.IsPositive)(),
27
- (0, class_validator_1.IsNotEmpty)(),
28
- __metadata("design:type", Number)
29
- ], RaffleDetailsDto.prototype, "winners", void 0);
30
- __decorate([
31
- (0, class_validator_1.IsNumber)(),
32
- (0, class_validator_1.IsPositive)(),
33
- (0, class_validator_1.IsNotEmpty)(),
34
- __metadata("design:type", Number)
35
- ], RaffleDetailsDto.prototype, "maxPurchaseQuantity", void 0);
36
- __decorate([
37
- (0, class_transformer_1.Type)(() => Date),
38
- (0, class_validator_1.IsDate)(),
39
- (0, class_validator_1.IsNotEmpty)(),
40
- __metadata("design:type", Date)
41
- ], RaffleDetailsDto.prototype, "endDatetime", void 0);
42
- __decorate([
43
- (0, class_validator_1.IsString)(),
44
- (0, class_validator_1.IsNotEmpty)(),
45
- __metadata("design:type", String)
46
- ], RaffleDetailsDto.prototype, "timezoneLocation", void 0);
47
- //# sourceMappingURL=raffleDetailsDto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"raffleDetailsDto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/raffle-details/dtos/raffleDetailsDto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AACzB,yDAAyC;AAEzC,MAAa,gBAAgB;CAwB5B;AAxBD,4CAwBC;AApBC;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;;oDACO;AAKpB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;;iDACG;AAKhB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;;6DACe;AAK5B;IAHC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;IAChB,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;8BACA,IAAI;qDAAC;AAIlB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACY"}
@@ -1,9 +0,0 @@
1
- import { RaffleState } from '../../../constants';
2
- export declare class RaffleDetails {
3
- maxEntries?: number;
4
- winners: number;
5
- maxPurchaseQuantity: number;
6
- endDatetime: Date;
7
- timezoneLocation: string;
8
- state: RaffleState;
9
- }
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RaffleDetails = void 0;
4
- class RaffleDetails {
5
- }
6
- exports.RaffleDetails = RaffleDetails;
7
- //# sourceMappingURL=RaffleDetails.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RaffleDetails.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/raffle-details/entities/RaffleDetails.entity.ts"],"names":[],"mappings":";;;AAEA,MAAa,aAAa;CAYzB;AAZD,sCAYC"}
@@ -1 +0,0 @@
1
- export * from './RaffleDetails.entity';
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/raffle-details/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/raffle-details/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,6CAA2B"}
@@ -1,8 +0,0 @@
1
- import { EntryDetailsDto } from './entryDetails.dto';
2
- export declare class CreateRaffleEntryDto {
3
- entryDetails: EntryDetailsDto[];
4
- paymentRequestId: string;
5
- email?: string;
6
- sender: string;
7
- ordinalsAddress?: string;
8
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"createRaffleEntry.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/raffle-entry/dtos/createRaffleEntry.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AACzB,yDAAyC;AACzC,yDAAqD;AAErD,MAAa,oBAAoB;CAuBhC;AAvBD,oDAuBC;AAlBC;IAJC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kCAAe,CAAC;IAC3B,IAAA,yBAAO,GAAE;IACT,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;0DACC;AAIhC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8DACY;AAIzB;IAFC,IAAA,yBAAO,GAAE;IACT,IAAA,4BAAU,GAAE;;mDACE;AAIf;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACE;AAKf;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6DACY"}
@@ -1,6 +0,0 @@
1
- import { EntryDetailsType } from '../../../constants';
2
- export declare class EntryDetailsDto {
3
- type: EntryDetailsType;
4
- identifier: string;
5
- label?: string;
6
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"entryDetails.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/raffle-entry/dtos/entryDetails.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2E;AAC3E,kDAAsD;AAEtD,MAAa,eAAe;CAY3B;AAZD,0CAYC;AATC;IAFC,IAAA,wBAAM,EAAC,4BAAgB,CAAC;IACxB,IAAA,4BAAU,GAAE;;6CACU;AAIvB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACM;AAInB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8CACE"}
@@ -1,2 +0,0 @@
1
- export * from './createRaffleEntry.dto';
2
- export * from './entryDetails.dto';
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/raffle-entry/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,qDAAmC"}
@@ -1,6 +0,0 @@
1
- import { EntryDetailsType } from '../../../constants';
2
- export declare class EntryDetails {
3
- type: EntryDetailsType;
4
- identifier: string;
5
- label?: string;
6
- }
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EntryDetails = void 0;
4
- class EntryDetails {
5
- }
6
- exports.EntryDetails = EntryDetails;
7
- //# sourceMappingURL=EntryDetails.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EntryDetails.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/raffle-entry/entities/EntryDetails.entity.ts"],"names":[],"mappings":";;;AAEA,MAAa,YAAY;CAMxB;AAND,oCAMC"}
@@ -1,9 +0,0 @@
1
- import { Entity } from '../../entity';
2
- import { EntryDetails } from './EntryDetails.entity';
3
- export declare class RaffleEntry extends Entity {
4
- id: string;
5
- entryDetails: EntryDetails[];
6
- paylink: string;
7
- isWinner: boolean;
8
- email?: string;
9
- }
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RaffleEntry = void 0;
4
- const entity_1 = require("../../entity");
5
- class RaffleEntry extends entity_1.Entity {
6
- }
7
- exports.RaffleEntry = RaffleEntry;
8
- //# sourceMappingURL=RaffleEntry.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RaffleEntry.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/raffle-entry/entities/RaffleEntry.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,WAAY,SAAQ,eAAM;CAUtC;AAVD,kCAUC"}
@@ -1,2 +0,0 @@
1
- export * from './RaffleEntry.entity';
2
- export * from './EntryDetails.entity';
@@ -1,19 +0,0 @@
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("./RaffleEntry.entity"), exports);
18
- __exportStar(require("./EntryDetails.entity"), exports);
19
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/raffle-entry/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,wDAAsC"}
@@ -1,2 +0,0 @@
1
- export * from './dtos';
2
- export * from './entities';
@@ -1,19 +0,0 @@
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("./dtos"), exports);
18
- __exportStar(require("./entities"), exports);
19
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/raffle-entry/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,6CAA2B"}