@heliofi/common 0.1.252 → 0.1.254

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 (250) hide show
  1. package/dist/src/__tests__/index.test.js +6 -0
  2. package/dist/src/__tests__/index.test.js.map +1 -0
  3. package/dist/src/domain/constants/environment.d.ts +3 -3
  4. package/dist/src/domain/constants/orderDirection.d.ts +5 -3
  5. package/dist/src/domain/contact/dtos/createContact.dto.d.ts +8 -0
  6. package/dist/src/domain/contact/dtos/createContact.dto.js +45 -0
  7. package/dist/src/domain/contact/dtos/createContact.dto.js.map +1 -0
  8. package/dist/src/domain/contact/dtos/index.d.ts +2 -0
  9. package/dist/src/domain/contact/dtos/index.js +19 -0
  10. package/dist/src/domain/contact/dtos/index.js.map +1 -0
  11. package/dist/src/domain/contact/dtos/updateContact.dto.d.ts +8 -0
  12. package/dist/src/domain/contact/dtos/updateContact.dto.js +45 -0
  13. package/dist/src/domain/contact/dtos/updateContact.dto.js.map +1 -0
  14. package/dist/src/domain/contact/entities/Contact.entity.d.ts +14 -0
  15. package/dist/src/domain/contact/entities/Contact.entity.js +8 -0
  16. package/dist/src/domain/contact/entities/Contact.entity.js.map +1 -0
  17. package/dist/src/domain/contact/entities/index.d.ts +1 -0
  18. package/dist/src/domain/{model/accessCodeAuthProperties → contact}/entities/index.js +1 -1
  19. package/dist/src/domain/contact/entities/index.js.map +1 -0
  20. package/dist/src/domain/contact/index.d.ts +2 -0
  21. package/dist/src/domain/contact/index.js +19 -0
  22. package/dist/src/domain/contact/index.js.map +1 -0
  23. package/dist/src/domain/contactAddress/dtos/ContactAddress.dto.d.ts +8 -0
  24. package/dist/src/domain/contactAddress/dtos/ContactAddress.dto.js +47 -0
  25. package/dist/src/domain/contactAddress/dtos/ContactAddress.dto.js.map +1 -0
  26. package/dist/src/domain/contactAddress/dtos/index.d.ts +1 -0
  27. package/dist/src/domain/contactAddress/dtos/index.js +18 -0
  28. package/dist/src/domain/contactAddress/dtos/index.js.map +1 -0
  29. package/dist/src/domain/contactAddress/entities/ContactAddress.entity.d.ts +9 -0
  30. package/dist/src/domain/contactAddress/entities/ContactAddress.entity.js +8 -0
  31. package/dist/src/domain/contactAddress/entities/ContactAddress.entity.js.map +1 -0
  32. package/dist/src/domain/contactAddress/entities/index.d.ts +1 -0
  33. package/dist/src/domain/contactAddress/entities/index.js +18 -0
  34. package/dist/src/domain/contactAddress/entities/index.js.map +1 -0
  35. package/dist/src/domain/contactAddress/index.js.map +1 -0
  36. package/dist/src/domain/model/apiKey/dtos/createApiKeyDto.d.ts +4 -0
  37. package/dist/src/domain/model/apiKey/dtos/createApiKeyDto.js +52 -0
  38. package/dist/src/domain/model/apiKey/dtos/createApiKeyDto.js.map +1 -0
  39. package/dist/src/domain/model/apiKey/dtos/createApiKeyDtoInternal.d.ts +4 -4
  40. package/dist/src/domain/model/apiKey/entities/ApiKey.d.ts +11 -0
  41. package/dist/src/domain/model/apiKey/entities/ApiKey.js +7 -0
  42. package/dist/src/domain/model/apiKey/entities/ApiKey.js.map +1 -0
  43. package/dist/src/domain/model/apiKey/entities/ApiKeyAccess.d.ts +3 -3
  44. package/dist/src/domain/model/approve-transaction/dtos/approveTransaction.dto.d.ts +12 -12
  45. package/dist/src/domain/model/attachment/dtos/createAttachmentInternal.dto.d.ts +4 -4
  46. package/dist/src/domain/model/audit/tx/dtos/CreatePaylinkTxAudit.dto.d.ts +16 -0
  47. package/dist/src/domain/model/audit/tx/dtos/CreatePaylinkTxAudit.dto.js +3 -0
  48. package/dist/src/domain/model/audit/tx/dtos/CreatePaylinkTxAudit.dto.js.map +1 -0
  49. package/dist/src/domain/model/auth/dtos/signOn.dto.d.ts +2 -2
  50. package/dist/src/domain/model/auth/dtos/transactionSignOn.dto.d.ts +1 -1
  51. package/dist/src/domain/model/auth/entities/AuthResponse.d.ts +4 -4
  52. package/dist/src/domain/model/blockchain/constants/Cluster.d.ts +3 -3
  53. package/dist/src/domain/model/blockchain/constants/ConfirmTimeout.d.ts +5 -0
  54. package/dist/src/domain/model/blockchain/constants/ConfirmTimeout.js +10 -0
  55. package/dist/src/domain/model/blockchain/constants/ConfirmTimeout.js.map +1 -0
  56. package/dist/src/domain/model/blockchain/dtos/blockchain.dto.d.ts +2 -2
  57. package/dist/src/domain/model/breakpoint/dtos/breakpoint.dto.d.ts +8 -8
  58. package/dist/src/domain/model/breakpoint/entities/BreakpointResponse.d.ts +2 -2
  59. package/dist/src/domain/model/discordDetails/dtos/createDiscordDetails.dto.d.ts +5 -5
  60. package/dist/src/domain/model/discordDetails/dtos/updateDiscordDetails.dto.d.ts +4 -4
  61. package/dist/src/domain/model/discordDetails/entities/BaseDiscordDetails.d.ts +5 -5
  62. package/dist/src/domain/model/discordDetails/entities/DiscordBotVersion.d.ts +2 -2
  63. package/dist/src/domain/model/discordDetails/entities/DiscordDetails.d.ts +1 -1
  64. package/dist/src/domain/model/entity/Entity.d.ts +2 -2
  65. package/dist/src/domain/model/escrow-transaction/dtos/EscrowTransactionMeta.dto.d.ts +6 -0
  66. package/dist/src/domain/model/escrow-transaction/dtos/EscrowTransactionMeta.dto.js +33 -0
  67. package/dist/src/domain/model/escrow-transaction/dtos/EscrowTransactionMeta.dto.js.map +1 -0
  68. package/dist/src/domain/model/escrow-transaction/dtos/index.d.ts +1 -0
  69. package/dist/src/domain/model/escrow-transaction/dtos/index.js +18 -0
  70. package/dist/src/domain/model/escrow-transaction/dtos/index.js.map +1 -0
  71. package/dist/src/domain/model/{refund/dtos/refund.dto.d.ts → escrow-transaction/entities/BaseEscrowTransactionMeta.entity.d.ts} +3 -4
  72. package/dist/src/domain/model/escrow-transaction/entities/BaseEscrowTransactionMeta.entity.js +8 -0
  73. package/dist/src/domain/model/escrow-transaction/entities/BaseEscrowTransactionMeta.entity.js.map +1 -0
  74. package/dist/src/domain/model/escrow-transaction/entities/EscrowCancelTransactionMeta.entity.d.ts +3 -0
  75. package/dist/src/domain/model/escrow-transaction/entities/EscrowCancelTransactionMeta.entity.js +8 -0
  76. package/dist/src/domain/model/escrow-transaction/entities/EscrowCancelTransactionMeta.entity.js.map +1 -0
  77. package/dist/src/domain/model/escrow-transaction/entities/EscrowTransactionMeta.entity.d.ts +4 -0
  78. package/dist/src/domain/model/escrow-transaction/entities/EscrowTransactionMeta.entity.js +8 -0
  79. package/dist/src/domain/model/escrow-transaction/entities/EscrowTransactionMeta.entity.js.map +1 -0
  80. package/dist/src/domain/model/escrow-transaction/entities/index.d.ts +2 -0
  81. package/dist/src/domain/model/escrow-transaction/entities/index.js +19 -0
  82. package/dist/src/domain/model/escrow-transaction/entities/index.js.map +1 -0
  83. package/dist/src/domain/model/escrow-transaction/index.d.ts +2 -0
  84. package/dist/src/domain/model/escrow-transaction/index.js +19 -0
  85. package/dist/src/domain/model/escrow-transaction/index.js.map +1 -0
  86. package/dist/src/domain/model/fixed-currency/entities/TokenRatePayload.d.ts +1 -1
  87. package/dist/src/domain/model/index.d.ts +2 -0
  88. package/dist/src/domain/model/index.js +2 -0
  89. package/dist/src/domain/model/index.js.map +1 -1
  90. package/dist/src/domain/model/nft-drop/constants/NftDropState.d.ts +9 -0
  91. package/dist/src/domain/model/nft-drop/constants/NftDropState.js +14 -0
  92. package/dist/src/domain/model/nft-drop/constants/NftDropState.js.map +1 -0
  93. package/dist/src/domain/model/nft-drop/constants/index.d.ts +1 -0
  94. package/dist/src/domain/model/nft-drop/constants/index.js +18 -0
  95. package/dist/src/domain/model/nft-drop/constants/index.js.map +1 -0
  96. package/dist/src/domain/model/nft-drop/dtos/index.d.ts +1 -1
  97. package/dist/src/domain/model/nft-drop/dtos/index.js +1 -1
  98. package/dist/src/domain/model/nft-drop/dtos/nftDrop.dto.d.ts +0 -1
  99. package/dist/src/domain/model/nft-drop/dtos/nftDrop.dto.js +1 -6
  100. package/dist/src/domain/model/nft-drop/dtos/nftDrop.dto.js.map +1 -1
  101. package/dist/src/domain/model/nft-drop/entities/NftDrop.entity.d.ts +6 -2
  102. package/dist/src/domain/model/nft-drop/entities/NftDrop.entity.js.map +1 -1
  103. package/dist/src/domain/model/nft-drop/index.d.ts +1 -0
  104. package/dist/src/domain/model/nft-drop/index.js +1 -0
  105. package/dist/src/domain/model/nft-drop/index.js.map +1 -1
  106. package/dist/src/domain/model/nft-escrow/dtos/index.d.ts +3 -0
  107. package/dist/src/domain/model/nft-escrow/dtos/index.js +20 -0
  108. package/dist/src/domain/model/nft-escrow/dtos/index.js.map +1 -0
  109. package/dist/src/domain/model/nft-escrow/dtos/nftEscrowCancel.dto.d.ts +5 -0
  110. package/dist/src/domain/model/nft-escrow/dtos/nftEscrowCancel.dto.js +32 -0
  111. package/dist/src/domain/model/nft-escrow/dtos/nftEscrowCancel.dto.js.map +1 -0
  112. package/dist/src/domain/model/nft-escrow/dtos/nftEscrowCreate.dto.d.ts +7 -0
  113. package/dist/src/domain/model/{refund/dtos/refund.dto.js → nft-escrow/dtos/nftEscrowCreate.dto.js} +17 -13
  114. package/dist/src/domain/model/nft-escrow/dtos/nftEscrowCreate.dto.js.map +1 -0
  115. package/dist/src/domain/model/nft-escrow/dtos/nftEscrowSubmit.dto.d.ts +6 -0
  116. package/dist/src/domain/model/nft-escrow/dtos/nftEscrowSubmit.dto.js +37 -0
  117. package/dist/src/domain/model/nft-escrow/dtos/nftEscrowSubmit.dto.js.map +1 -0
  118. package/dist/src/domain/model/nft-escrow/entities/TokenNftEscrowPayload.entity.d.ts +6 -0
  119. package/dist/src/domain/model/nft-escrow/entities/TokenNftEscrowPayload.entity.js +8 -0
  120. package/dist/src/domain/model/nft-escrow/entities/TokenNftEscrowPayload.entity.js.map +1 -0
  121. package/dist/src/domain/model/nft-escrow/entities/index.d.ts +1 -0
  122. package/dist/src/domain/model/{accessCodeAuthProperties/dtos → nft-escrow/entities}/index.js +1 -1
  123. package/dist/src/domain/model/nft-escrow/entities/index.js.map +1 -0
  124. package/dist/src/domain/model/nft-escrow/index.d.ts +2 -0
  125. package/dist/src/domain/model/nft-escrow/index.js +19 -0
  126. package/dist/src/domain/model/nft-escrow/index.js.map +1 -0
  127. package/dist/src/domain/model/paylink/entities/OnlyContentAndTransactionPaylink.d.ts +3 -3
  128. package/dist/src/domain/model/paylink-tx/entities/BasePaylinkTx.d.ts +5 -5
  129. package/dist/src/domain/model/paylink-tx/entities/PaylinkTxWithMeta.d.ts +1 -1
  130. package/dist/src/domain/model/paylink-tx/entities/ShallowEnrichedPaylinkTx.d.ts +2 -2
  131. package/dist/src/domain/model/payment-request/dtos/updatePaymentRequest.dto.d.ts +0 -1
  132. package/dist/src/domain/model/payment-request/dtos/updatePaymentRequest.dto.js +0 -5
  133. package/dist/src/domain/model/payment-request/dtos/updatePaymentRequest.dto.js.map +1 -1
  134. package/dist/src/domain/model/payment-request-features/dtos/paymentRequestFeatures.dto.d.ts +1 -1
  135. package/dist/src/domain/model/payment-request-features/dtos/paymentRequestFeatures.dto.js +1 -1
  136. package/dist/src/domain/model/payment-request-features/dtos/paymentRequestFeatures.dto.js.map +1 -1
  137. package/dist/src/domain/model/payment-request-features/entities/PaymentRequestFeatures.d.ts +1 -1
  138. package/dist/src/domain/model/paystream/entities/IntervalType.d.ts +7 -7
  139. package/dist/src/domain/model/paystream-tx/dtos/createPaystreamTxDto.d.ts +7 -7
  140. package/dist/src/domain/model/paystream-tx/dtos/updatePaystreamTxDto.d.ts +3 -3
  141. package/dist/src/domain/model/paystream-tx/entities/TransactionStatus.d.ts +16 -0
  142. package/dist/src/domain/model/paystream-tx/entities/TransactionStatus.js +7 -0
  143. package/dist/src/domain/model/paystream-tx/entities/TransactionStatus.js.map +1 -0
  144. package/dist/src/domain/model/prepare-stream/entities/PrepareStream.d.ts +5 -0
  145. package/dist/src/domain/model/prepare-stream/entities/PrepareStream.js +8 -0
  146. package/dist/src/domain/model/prepare-stream/entities/PrepareStream.js.map +1 -0
  147. package/dist/src/domain/model/prepare-stream/entities/TokenStreamWithdrawPayload.d.ts +5 -0
  148. package/dist/src/domain/model/prepare-stream/entities/TokenStreamWithdrawPayload.js +8 -0
  149. package/dist/src/domain/model/prepare-stream/entities/TokenStreamWithdrawPayload.js.map +1 -0
  150. package/dist/src/domain/model/prepare-transaction/dtos/prepareSwappedTransaction.dto.d.ts +4 -0
  151. package/dist/src/domain/model/{accessCodeAuthProperties/dtos/accessCodeAuthProperties.dto.js → prepare-transaction/dtos/prepareSwappedTransaction.dto.js} +6 -5
  152. package/dist/src/domain/model/prepare-transaction/dtos/prepareSwappedTransaction.dto.js.map +1 -0
  153. package/dist/src/domain/model/prepare-transaction/entities/PrepareSwappedTransaction.d.ts +5 -0
  154. package/dist/src/domain/model/prepare-transaction/entities/PrepareSwappedTransaction.js +7 -0
  155. package/dist/src/domain/model/prepare-transaction/entities/PrepareSwappedTransaction.js.map +1 -0
  156. package/dist/src/domain/model/product/dtos/product.dto.d.ts +3 -3
  157. package/dist/src/domain/model/product/entities/Product.d.ts +3 -3
  158. package/dist/src/domain/model/product/entities/ProductInputType.d.ts +2 -2
  159. package/dist/src/domain/model/product-details/dtos/productDetails.dto.d.ts +2 -2
  160. package/dist/src/domain/model/product-details/entities/ProductDetails.d.ts +2 -2
  161. package/dist/src/domain/model/role/dtos/createRole.dto.d.ts +3 -3
  162. package/dist/src/domain/model/role/dtos/updateRole.dto.d.ts +1 -1
  163. package/dist/src/domain/model/role/entities/BaseRole.d.ts +2 -2
  164. package/dist/src/domain/model/role/entities/Role.d.ts +2 -2
  165. package/dist/src/domain/model/role/entities/RoleType.d.ts +3 -3
  166. package/dist/src/domain/model/role/entities/ShallowEnrichedRole.d.ts +2 -2
  167. package/dist/src/domain/model/slug/dtos/slug.dto.d.ts +3 -3
  168. package/dist/src/domain/model/slug/dtos/updateSlug.dto.d.ts +3 -3
  169. package/dist/src/domain/model/slug/entities/Slug.d.ts +6 -6
  170. package/dist/src/domain/model/slug/entities/SlugObjectType.d.ts +3 -3
  171. package/dist/src/domain/model/split-account/dtos/splitAccount.dto.d.ts +2 -2
  172. package/dist/src/domain/model/split-account/entities/SplitAccount.d.ts +2 -2
  173. package/dist/src/domain/model/stream/dtos/cancelStream.dto.d.ts +5 -5
  174. package/dist/src/domain/model/stream/dtos/createStream.dto.d.ts +12 -12
  175. package/dist/src/domain/model/stream/dtos/withdrawStream.dto.d.ts +4 -4
  176. package/dist/src/domain/model/stream-event/dtos/createStreamEventDto.d.ts +2 -2
  177. package/dist/src/domain/model/stream-event/dtos/updateStreamEventDto.d.ts +2 -2
  178. package/dist/src/domain/model/stream-event/entities/StreamEvent.d.ts +2 -2
  179. package/dist/src/domain/model/submit-transaction/dtos/CheckTransactionStatus.dto.d.ts +4 -0
  180. package/dist/src/domain/model/{funding/entities/Funding.js → submit-transaction/dtos/CheckTransactionStatus.dto.js} +14 -9
  181. package/dist/src/domain/model/submit-transaction/dtos/CheckTransactionStatus.dto.js.map +1 -0
  182. package/dist/src/domain/model/submit-transaction/dtos/submitSwappedTransaction.dto.d.ts +4 -0
  183. package/dist/src/domain/model/{user/dtos/updateUserKyc.dto.js → submit-transaction/dtos/submitSwappedTransaction.dto.js} +9 -8
  184. package/dist/src/domain/model/submit-transaction/dtos/submitSwappedTransaction.dto.js.map +1 -0
  185. package/dist/src/domain/model/token-swap/entities/SwapRouteObject.d.ts +14 -0
  186. package/dist/src/domain/model/token-swap/entities/SwapRouteObject.js +9 -0
  187. package/dist/src/domain/model/token-swap/entities/SwapRouteObject.js.map +1 -0
  188. package/dist/src/domain/model/transaction-meta/constants/TransactionType.d.ts +2 -1
  189. package/dist/src/domain/model/transaction-meta/constants/TransactionType.js +1 -0
  190. package/dist/src/domain/model/transaction-meta/constants/TransactionType.js.map +1 -1
  191. package/dist/src/domain/model/transaction-meta/entities/TransactionStatus.entity.d.ts +7 -0
  192. package/dist/src/domain/model/transaction-meta/entities/TransactionStatus.entity.js +12 -0
  193. package/dist/src/domain/model/transaction-meta/entities/TransactionStatus.entity.js.map +1 -0
  194. package/dist/src/domain/model/user/entities/BaseUser.d.ts +0 -1
  195. package/dist/src/domain/model/user/entities/BaseUser.js.map +1 -1
  196. package/dist/src/domain/model/wallet/dtos/updateWallet.dto.d.ts +1 -1
  197. package/dist/src/domain/model/webhook/paylink-transaction-hook/PaylinkTransactionEvent.d.ts +3 -0
  198. package/dist/src/domain/model/webhook/paylink-transaction-hook/PaylinkTransactionEvent.js +11 -0
  199. package/dist/src/domain/model/webhook/paylink-transaction-hook/PaylinkTransactionEvent.js.map +1 -0
  200. package/dist/src/domain/model/webhook/paylink-transaction-hook/dtos/CreatePaylinkTransactionHook.dto.d.ts +3 -3
  201. package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionEvent.d.ts +3 -0
  202. package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionEvent.entity.d.ts +1 -1
  203. package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionEvent.js +11 -0
  204. package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionEvent.js.map +1 -0
  205. package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionHook.d.ts +9 -0
  206. package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionHook.js +7 -0
  207. package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionHook.js.map +1 -0
  208. package/dist/src/domain/model/withdrawal/dtos/createWithdrawalDto.d.ts +3 -3
  209. package/dist/src/domain/model/withdrawal/dtos/updateWithdrawalDto.d.ts +1 -1
  210. package/dist/src/domain/model/withdrawal/entities/BaseWithdrawal.d.ts +4 -0
  211. package/dist/src/domain/model/withdrawal/entities/BaseWithdrawal.js +41 -0
  212. package/dist/src/domain/model/withdrawal/entities/BaseWithdrawal.js.map +1 -0
  213. package/dist/src/domain/model/withdrawal/entities/Withdrawal.d.ts +3 -3
  214. package/dist/src/domain/model/withdrawal/entities/WithdrawalWithTransaction.d.ts +2 -2
  215. package/dist/src/domain/services/CurrencyService.d.ts +1 -1
  216. package/dist/src/domain/services/EmailService.d.ts +3 -0
  217. package/dist/src/domain/services/EmailService.js +11 -0
  218. package/dist/src/domain/services/EmailService.js.map +1 -0
  219. package/dist/src/domain/services/SolscanService.d.ts +1 -1
  220. package/dist/src/domain/services/__tests__/AmountService.test.d.ts +1 -0
  221. package/dist/src/domain/services/__tests__/AmountService.test.js +24 -0
  222. package/dist/src/domain/services/__tests__/AmountService.test.js.map +1 -0
  223. package/dist/tsconfig.tsbuildinfo +1 -1
  224. package/package.json +2 -2
  225. package/dist/src/domain/model/accessCodeAuthProperties/dtos/accessCodeAuthProperties.dto.d.ts +0 -3
  226. package/dist/src/domain/model/accessCodeAuthProperties/dtos/accessCodeAuthProperties.dto.js.map +0 -1
  227. package/dist/src/domain/model/accessCodeAuthProperties/dtos/index.d.ts +0 -1
  228. package/dist/src/domain/model/accessCodeAuthProperties/dtos/index.js.map +0 -1
  229. package/dist/src/domain/model/accessCodeAuthProperties/entities/AccessCodeAuthProperties.d.ts +0 -4
  230. package/dist/src/domain/model/accessCodeAuthProperties/entities/AccessCodeAuthProperties.js +0 -8
  231. package/dist/src/domain/model/accessCodeAuthProperties/entities/AccessCodeAuthProperties.js.map +0 -1
  232. package/dist/src/domain/model/accessCodeAuthProperties/entities/index.d.ts +0 -1
  233. package/dist/src/domain/model/accessCodeAuthProperties/entities/index.js.map +0 -1
  234. package/dist/src/domain/model/accessCodeAuthProperties/index.js.map +0 -1
  235. package/dist/src/domain/model/auth/entities/CheckoutAuthToken.d.ts +0 -6
  236. package/dist/src/domain/model/auth/entities/CheckoutAuthToken.js +0 -7
  237. package/dist/src/domain/model/auth/entities/CheckoutAuthToken.js.map +0 -1
  238. package/dist/src/domain/model/funding/entities/Funding.d.ts +0 -6
  239. package/dist/src/domain/model/funding/entities/Funding.js.map +0 -1
  240. package/dist/src/domain/model/prepare-refund/entities/index.js +0 -1
  241. package/dist/src/domain/model/prepare-refund/entities/index.js.map +0 -1
  242. package/dist/src/domain/model/prepare-stream/entities/FundingTokenPayload.d.ts +0 -4
  243. package/dist/src/domain/model/prepare-stream/entities/FundingTokenPayload.js +0 -8
  244. package/dist/src/domain/model/prepare-stream/entities/FundingTokenPayload.js.map +0 -1
  245. package/dist/src/domain/model/refund/dtos/refund.dto.js.map +0 -1
  246. package/dist/src/domain/model/user/dtos/updateUserKyc.dto.d.ts +0 -3
  247. package/dist/src/domain/model/user/dtos/updateUserKyc.dto.js.map +0 -1
  248. /package/dist/src/{domain/model/prepare-refund/entities/index.d.ts → __tests__/index.test.d.ts} +0 -0
  249. /package/dist/src/domain/{model/accessCodeAuthProperties → contactAddress}/index.d.ts +0 -0
  250. /package/dist/src/domain/{model/accessCodeAuthProperties → contactAddress}/index.js +0 -0
@@ -9,31 +9,35 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.RefundDto = void 0;
13
- const class_validator_1 = require("class-validator");
12
+ exports.NftEscrowCreateDto = void 0;
14
13
  const class_transformer_1 = require("class-transformer");
15
- const transaction_meta_1 = require("../../transaction-meta");
16
- class RefundDto {
14
+ const class_validator_1 = require("class-validator");
15
+ class NftEscrowCreateDto {
17
16
  }
17
+ __decorate([
18
+ (0, class_validator_1.IsNotEmpty)(),
19
+ (0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
20
+ __metadata("design:type", String)
21
+ ], NftEscrowCreateDto.prototype, "price", void 0);
18
22
  __decorate([
19
23
  (0, class_validator_1.IsString)(),
20
24
  (0, class_validator_1.IsNotEmpty)(),
21
25
  __metadata("design:type", String)
22
- ], RefundDto.prototype, "transactionSignature", void 0);
26
+ ], NftEscrowCreateDto.prototype, "ownerPK", void 0);
23
27
  __decorate([
24
- (0, class_validator_1.IsEnum)(transaction_meta_1.TransactionStatus),
28
+ (0, class_validator_1.IsString)(),
25
29
  (0, class_validator_1.IsNotEmpty)(),
26
30
  __metadata("design:type", String)
27
- ], RefundDto.prototype, "transactionStatus", void 0);
31
+ ], NftEscrowCreateDto.prototype, "escrowAccountPK", void 0);
28
32
  __decorate([
29
- (0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
33
+ (0, class_validator_1.IsString)(),
30
34
  (0, class_validator_1.IsNotEmpty)(),
31
- __metadata("design:type", BigInt)
32
- ], RefundDto.prototype, "amount", void 0);
35
+ __metadata("design:type", String)
36
+ ], NftEscrowCreateDto.prototype, "mintAddress", void 0);
33
37
  __decorate([
34
38
  (0, class_validator_1.IsString)(),
35
39
  (0, class_validator_1.IsNotEmpty)(),
36
40
  __metadata("design:type", String)
37
- ], RefundDto.prototype, "currency", void 0);
38
- exports.RefundDto = RefundDto;
39
- //# sourceMappingURL=refund.dto.js.map
41
+ ], NftEscrowCreateDto.prototype, "currencyMintAddress", void 0);
42
+ exports.NftEscrowCreateDto = NftEscrowCreateDto;
43
+ //# sourceMappingURL=NftEscrowCreate.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NftEscrowCreate.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/nft-escrow/dtos/NftEscrowCreate.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,qDAAuD;AAEvD,MAAa,kBAAkB;CAoB9B;AAnBC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;iDAC1B;AAEd;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACG;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACW;AAExB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACO;AAEpB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+DACe;AAnB9B,gDAoBC"}
@@ -0,0 +1,6 @@
1
+ export declare class NftEscrowSubmitDto {
2
+ signedTransaction: string;
3
+ paymentRequestId: string;
4
+ transactionToken?: string;
5
+ escrowAccountPK?: string;
6
+ }
@@ -0,0 +1,37 @@
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.NftEscrowSubmitDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class NftEscrowSubmitDto {
15
+ }
16
+ __decorate([
17
+ (0, class_validator_1.IsString)(),
18
+ (0, class_validator_1.IsNotEmpty)(),
19
+ __metadata("design:type", String)
20
+ ], NftEscrowSubmitDto.prototype, "signedTransaction", void 0);
21
+ __decorate([
22
+ (0, class_validator_1.IsString)(),
23
+ (0, class_validator_1.IsNotEmpty)(),
24
+ __metadata("design:type", String)
25
+ ], NftEscrowSubmitDto.prototype, "paymentRequestId", void 0);
26
+ __decorate([
27
+ (0, class_validator_1.IsString)(),
28
+ (0, class_validator_1.IsOptional)(),
29
+ __metadata("design:type", String)
30
+ ], NftEscrowSubmitDto.prototype, "transactionToken", void 0);
31
+ __decorate([
32
+ (0, class_validator_1.IsString)(),
33
+ (0, class_validator_1.IsOptional)(),
34
+ __metadata("design:type", String)
35
+ ], NftEscrowSubmitDto.prototype, "escrowAccountPK", void 0);
36
+ exports.NftEscrowSubmitDto = NftEscrowSubmitDto;
37
+ //# sourceMappingURL=NftEscrowSubmit.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NftEscrowSubmit.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/nft-escrow/dtos/NftEscrowSubmit.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmE;AAEnE,MAAa,kBAAkB;CAgB9B;AAfC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6DACa;AAE1B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACa;AAE1B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACY;AAf3B,gDAgBC"}
@@ -0,0 +1,6 @@
1
+ import { Entity } from '../../entity';
2
+ export declare class TokenNftEscrowPayload extends Entity {
3
+ hash: string;
4
+ sessionHash?: string;
5
+ escrowAccountPK?: string;
6
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TokenNftEscrowPayload = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class TokenNftEscrowPayload extends entity_1.Entity {
6
+ }
7
+ exports.TokenNftEscrowPayload = TokenNftEscrowPayload;
8
+ //# sourceMappingURL=TokenNftEscrowPayload.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TokenNftEscrowPayload.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/nft-escrow/entities/TokenNftEscrowPayload.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,qBAAsB,SAAQ,eAAM;CAMhD;AAND,sDAMC"}
@@ -0,0 +1 @@
1
+ export * from './TokenNftEscrowPayload.entity';
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./accessCodeAuthProperties.dto"), exports);
17
+ __exportStar(require("./TokenNftEscrowPayload.entity"), exports);
18
18
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/nft-escrow/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iEAA+C"}
@@ -0,0 +1,2 @@
1
+ export * from './dtos';
2
+ export * from './entities';
@@ -0,0 +1,19 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/nft-escrow/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,6CAA2B"}
@@ -1,13 +1,13 @@
1
1
  import { Entity } from '../../entity';
2
- import { Content } from '../../content';
2
+ import { ContentResponse } from '../../content';
3
3
  import { TransactionStatus } from '../../transaction-meta';
4
4
  export declare class OnlyContentAndTransactionPaylink extends Entity {
5
- content: Content;
5
+ content: ContentResponse;
6
6
  transactionSignature?: string;
7
7
  status?: TransactionStatus;
8
8
  }
9
9
  export declare class OnlyContentAndSwapTransactionPaylink extends Entity {
10
- content: Content;
10
+ content: ContentResponse;
11
11
  transactionSignature?: string;
12
12
  swapTransactionSignature?: string;
13
13
  }
@@ -1,9 +1,9 @@
1
1
  import { Entity } from '../../entity';
2
2
  import { PaymentRequestType } from '../../payment-request';
3
3
  export declare class BasePaylinkTx extends Entity {
4
- id: string;
5
- quantity: number;
6
- fee?: bigint;
7
- createdAt: string;
8
- paymentType: PaymentRequestType;
4
+ id: string;
5
+ quantity: number;
6
+ fee?: bigint;
7
+ createdAt: string;
8
+ paymentType: PaymentRequestType;
9
9
  }
@@ -1,5 +1,5 @@
1
1
  import { BasePaylinkTx } from './BasePaylinkTx';
2
2
  import { ShallowEnrichedTransactionMeta } from '../../transaction-meta';
3
3
  export declare class PaylinkTxWithMeta extends BasePaylinkTx {
4
- meta: ShallowEnrichedTransactionMeta;
4
+ meta: ShallowEnrichedTransactionMeta;
5
5
  }
@@ -2,6 +2,6 @@ import { BasePaylinkTx } from './BasePaylinkTx';
2
2
  import type { BaseTransactionMeta } from '../../transaction-meta';
3
3
  import type { BasePaylink } from '../../paylink';
4
4
  export declare class ShallowEnrichedPaylinkTx extends BasePaylinkTx {
5
- meta: BaseTransactionMeta;
6
- paylink: BasePaylink;
5
+ meta: BaseTransactionMeta;
6
+ paylink: BasePaylink;
7
7
  }
@@ -6,7 +6,6 @@ import { AccessCodeAuthPropertiesDto } from '../../access-code-auth-properties';
6
6
  import { BlockchainSymbol } from '../../blockchain';
7
7
  import { NftDropDto } from '../../nft-drop';
8
8
  export declare class UpdatePaymentRequestDto {
9
- company?: string;
10
9
  name?: string;
11
10
  description?: string;
12
11
  image?: string;
@@ -21,11 +21,6 @@ const blockchain_1 = require("../../blockchain");
21
21
  const nft_drop_1 = require("../../nft-drop");
22
22
  class UpdatePaymentRequestDto {
23
23
  }
24
- __decorate([
25
- (0, class_validator_1.IsString)(),
26
- (0, class_validator_1.IsOptional)(),
27
- __metadata("design:type", String)
28
- ], UpdatePaymentRequestDto.prototype, "company", void 0);
29
24
  __decorate([
30
25
  (0, class_validator_1.IsString)(),
31
26
  (0, class_validator_1.IsOptional)(),
@@ -1 +1 @@
1
- {"version":3,"file":"updatePaymentRequest.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/dtos/updatePaymentRequest.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AACzB,yDAAoD;AACpD,2CAA2C;AAC3C,2CAA2C;AAC3C,yDAAwD;AACxD,uEAAuE;AACvE,mFAAgF;AAChF,iDAAoD;AACpD,6CAA4C;AAE5C,MAAa,uBAAuB;CA0FnC;AAzFC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACI;AAEjB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACC;AAEd;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACQ;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACE;AAEf;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACvC,IAAA,4BAAU,GAAE;;gEACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;oEACiB;AAE9B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sEACmB;AAEhC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,6BAAgB,CAAC;;2DACK;AAE9B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;yDACM;AAEnB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;wDACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACG;AAEhB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAU,CAAC;IACtB,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACP,oBAAU;wDAAC;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gEACY;AAEzB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAU,CAAC;IACtB,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACP,oBAAU;wDAAQ;AAE5B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qEACiB;AAE9B;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gDAAwB,CAAC;IACpC,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACO,gDAAwB;sEAAC;AAEjD;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,yDAA2B,CAAC;IACvC,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACU,yDAA2B;yEAAC;AAEvD;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qBAAU,CAAC;IACtB,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACP,qBAAU;wDAAC;AAErB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iCAAgB,CAAC;IAC5B,IAAA,4BAAU,GAAE;8BACG,iCAAgB;8DAAC;AAzFnC,0DA0FC"}
1
+ {"version":3,"file":"updatePaymentRequest.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/dtos/updatePaymentRequest.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AACzB,yDAAoD;AACpD,2CAA2C;AAC3C,2CAA2C;AAC3C,yDAAwD;AACxD,uEAAuE;AACvE,mFAAgF;AAChF,iDAAoD;AACpD,6CAA4C;AAE5C,MAAa,uBAAuB;CAsFnC;AArFC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACC;AAEd;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACQ;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACE;AAEf;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACvC,IAAA,4BAAU,GAAE;;gEACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;oEACiB;AAE9B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sEACmB;AAEhC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,6BAAgB,CAAC;;2DACK;AAE9B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;yDACM;AAEnB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;wDACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACG;AAEhB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAU,CAAC;IACtB,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACP,oBAAU;wDAAC;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gEACY;AAEzB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAU,CAAC;IACtB,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACP,oBAAU;wDAAQ;AAE5B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qEACiB;AAE9B;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gDAAwB,CAAC;IACpC,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACO,gDAAwB;sEAAC;AAEjD;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,yDAA2B,CAAC;IACvC,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACU,yDAA2B;yEAAC;AAEvD;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qBAAU,CAAC;IACtB,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACP,qBAAU;wDAAC;AAErB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iCAAgB,CAAC;IAC5B,IAAA,4BAAU,GAAE;8BACG,iCAAgB;8DAAC;AArFnC,0DAsFC"}
@@ -15,5 +15,5 @@ export declare class PaymentRequestFeaturesDto {
15
15
  canSwapTokens?: boolean;
16
16
  isHelioPlay?: boolean;
17
17
  isTransparentWallet?: boolean;
18
- nftOrTokenDropEnabled?: boolean;
18
+ nftDropEnabled?: boolean;
19
19
  }
@@ -97,6 +97,6 @@ __decorate([
97
97
  (0, class_validator_1.IsBoolean)(),
98
98
  (0, class_validator_1.IsOptional)(),
99
99
  __metadata("design:type", Boolean)
100
- ], PaymentRequestFeaturesDto.prototype, "nftOrTokenDropEnabled", void 0);
100
+ ], PaymentRequestFeaturesDto.prototype, "nftDropEnabled", void 0);
101
101
  exports.PaymentRequestFeaturesDto = PaymentRequestFeaturesDto;
102
102
  //# sourceMappingURL=paymentRequestFeatures.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"paymentRequestFeatures.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request-features/dtos/paymentRequestFeatures.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AAExD,MAAa,yBAAyB;CAoErC;AAnEC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACU;AAEvB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;yEACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;kEACa;AAE1B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;yEACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;iEACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;yEACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;qEACgB;AAE7B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;wEACmB;AAEhC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;yEACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;iEACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;qEACgB;AAE7B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;oEACe;AAE5B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;uEACkB;AAE/B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;gEACW;AAExB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;8DACS;AAEtB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sEACiB;AAE9B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;wEACmB;AAnElC,8DAoEC"}
1
+ {"version":3,"file":"paymentRequestFeatures.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request-features/dtos/paymentRequestFeatures.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AAExD,MAAa,yBAAyB;CAoErC;AAnEC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACU;AAEvB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;yEACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;kEACa;AAE1B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;yEACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;iEACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;yEACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;qEACgB;AAE7B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;wEACmB;AAEhC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;yEACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;iEACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;qEACgB;AAE7B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;oEACe;AAE5B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;uEACkB;AAE/B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;gEACW;AAExB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;8DACS;AAEtB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sEACiB;AAE9B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;iEACY;AAnE3B,8DAoEC"}
@@ -17,6 +17,6 @@ export declare class PaymentRequestFeatures extends Entity {
17
17
  requireFixedCurrency: boolean;
18
18
  canSwapTokens: boolean;
19
19
  isTransparentWallet: boolean;
20
- nftOrTokenDropEnabled: boolean;
20
+ nftDropEnabled: boolean;
21
21
  showDiscountCode: boolean;
22
22
  }
@@ -1,9 +1,9 @@
1
1
  export declare enum IntervalType {
2
- SECOND = "SECOND",
3
- MINUTE = "MINUTE",
4
- HOUR = "HOUR",
5
- DAY = "DAY",
6
- WEEK = "WEEK",
7
- MONTH = "MONTH",
8
- YEAR = "YEAR"
2
+ SECOND = 'SECOND',
3
+ MINUTE = 'MINUTE',
4
+ HOUR = 'HOUR',
5
+ DAY = 'DAY',
6
+ WEEK = 'WEEK',
7
+ MONTH = 'MONTH',
8
+ YEAR = 'YEAR',
9
9
  }
@@ -1,11 +1,11 @@
1
1
  import { CreateStreamEventDto } from '../../stream-event';
2
2
  import { CreateTransactionMetaDto } from '../../transaction-meta';
3
3
  export declare class CreatePaystreamTxDto {
4
- meta: CreateTransactionMetaDto;
5
- paystream: string;
6
- paymentAccount: string;
7
- startedAt: CreateStreamEventDto;
8
- endedAt?: string;
9
- interval: number;
10
- isHelioX?: boolean;
4
+ meta: CreateTransactionMetaDto;
5
+ paystream: string;
6
+ paymentAccount: string;
7
+ startedAt: CreateStreamEventDto;
8
+ endedAt?: string;
9
+ interval: number;
10
+ isHelioX?: boolean;
11
11
  }
@@ -1,6 +1,6 @@
1
1
  import { CreateStreamEventDto } from '../../stream-event';
2
2
  export declare class UpdatePaystreamTxDto {
3
- canceledAt?: CreateStreamEventDto;
4
- endedAt?: string;
5
- withdrawals?: string[];
3
+ canceledAt?: CreateStreamEventDto;
4
+ endedAt?: string;
5
+ withdrawals?: string[];
6
6
  }
@@ -0,0 +1,16 @@
1
+ export declare class TransactionStatus {
2
+ transactionSignature: string;
3
+ endedAt: number;
4
+ paymentData: {
5
+ document: {
6
+ id: string;
7
+ createdAt: string;
8
+ paymentPK: string;
9
+ maxTime: number;
10
+ };
11
+ content: {
12
+ text?: string;
13
+ videoUrl?: string;
14
+ };
15
+ };
16
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TransactionStatus = void 0;
4
+ class TransactionStatus {
5
+ }
6
+ exports.TransactionStatus = TransactionStatus;
7
+ //# sourceMappingURL=TransactionStatus.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TransactionStatus.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paystream-tx/entities/TransactionStatus.ts"],"names":[],"mappings":";;;AAAA,MAAa,iBAAiB;CAiB7B;AAjBD,8CAiBC"}
@@ -0,0 +1,5 @@
1
+ import { Entity } from '../../entity';
2
+ export declare class PrepareStream extends Entity {
3
+ token: string;
4
+ message: string;
5
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PrepareStream = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class PrepareStream extends entity_1.Entity {
6
+ }
7
+ exports.PrepareStream = PrepareStream;
8
+ //# sourceMappingURL=PrepareStream.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PrepareStream.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-stream/entities/PrepareStream.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,aAAc,SAAQ,eAAM;CAGxC;AAHD,sCAGC"}
@@ -0,0 +1,5 @@
1
+ import { FeeProperties } from '../../fee';
2
+ import { TokenStreamPayload } from './TokenStreamPayload';
3
+ export declare class TokenStreamWithdrawPayload extends TokenStreamPayload {
4
+ feeProperties: FeeProperties;
5
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TokenStreamWithdrawPayload = void 0;
4
+ const TokenStreamPayload_1 = require("./TokenStreamPayload");
5
+ class TokenStreamWithdrawPayload extends TokenStreamPayload_1.TokenStreamPayload {
6
+ }
7
+ exports.TokenStreamWithdrawPayload = TokenStreamWithdrawPayload;
8
+ //# sourceMappingURL=TokenStreamWithdrawPayload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TokenStreamWithdrawPayload.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-stream/entities/TokenStreamWithdrawPayload.ts"],"names":[],"mappings":";;;AACA,6DAA0D;AAE1D,MAAa,0BAA2B,SAAQ,uCAAkB;CAEjE;AAFD,gEAEC"}
@@ -0,0 +1,4 @@
1
+ import { PrepareTransactionDto } from '.';
2
+ export declare class PrepareSwappedTransactionDto extends PrepareTransactionDto {
3
+ swappedRouteToken: string;
4
+ }
@@ -9,14 +9,15 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.AccessCodeAuthPropertiesDto = void 0;
12
+ exports.PrepareSwappedTransactionDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- class AccessCodeAuthPropertiesDto {
14
+ const _1 = require(".");
15
+ class PrepareSwappedTransactionDto extends _1.PrepareTransactionDto {
15
16
  }
16
17
  __decorate([
17
18
  (0, class_validator_1.IsString)(),
18
19
  (0, class_validator_1.IsNotEmpty)(),
19
20
  __metadata("design:type", String)
20
- ], AccessCodeAuthPropertiesDto.prototype, "accessCode", void 0);
21
- exports.AccessCodeAuthPropertiesDto = AccessCodeAuthPropertiesDto;
22
- //# sourceMappingURL=accessCodeAuthProperties.dto.js.map
21
+ ], PrepareSwappedTransactionDto.prototype, "swappedRouteToken", void 0);
22
+ exports.PrepareSwappedTransactionDto = PrepareSwappedTransactionDto;
23
+ //# sourceMappingURL=prepareSwappedTransaction.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prepareSwappedTransaction.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-transaction/dtos/prepareSwappedTransaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AACvD,wBAA0C;AAE1C,MAAa,4BAA6B,SAAQ,wBAAqB;CAItE;AAHC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uEACa;AAH5B,oEAIC"}
@@ -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,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,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,4 +1,4 @@
1
1
  export declare enum ProductInputType {
2
- TEXT = "TEXT",
3
- SELECTOR = "SELECTOR"
2
+ TEXT = 'TEXT',
3
+ SELECTOR = 'SELECTOR',
4
4
  }
@@ -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,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,6 +1,6 @@
1
1
  import { RoleType } from '../entities';
2
2
  export declare class CreateRoleDto {
3
- company: string;
4
- type: RoleType;
5
- user: string;
3
+ company: string;
4
+ type: RoleType;
5
+ user: string;
6
6
  }
@@ -1,4 +1,4 @@
1
1
  import { RoleType } from '../entities';
2
2
  export declare class UpdateRoleDto {
3
- type: RoleType;
3
+ type: RoleType;
4
4
  }
@@ -1,6 +1,6 @@
1
1
  import { Entity } from '../../entity';
2
2
  import { RoleType } from './RoleType';
3
3
  export declare class BaseRole extends Entity {
4
- id: string;
5
- type: RoleType;
4
+ id: string;
5
+ type: RoleType;
6
6
  }
@@ -2,6 +2,6 @@ import type { User } from '../../user';
2
2
  import { BaseRole } from './BaseRole';
3
3
  import { BaseCompany } from '../../company';
4
4
  export declare class Role extends BaseRole {
5
- company: BaseCompany;
6
- user: User;
5
+ company: BaseCompany;
6
+ user: User;
7
7
  }
@@ -1,5 +1,5 @@
1
1
  export declare enum RoleType {
2
- ADMIN = "ADMIN",
3
- WRITE = "WRITE",
4
- READ = "READ"
2
+ ADMIN = 'ADMIN',
3
+ WRITE = 'WRITE',
4
+ READ = 'READ',
5
5
  }
@@ -2,6 +2,6 @@ import { BaseRole } from './BaseRole';
2
2
  import type { BaseUser } from '../../user';
3
3
  import { BaseCompany } from '../../company';
4
4
  export declare class ShallowEnrichedRole extends BaseRole {
5
- company: BaseCompany;
6
- user: BaseUser;
5
+ company: BaseCompany;
6
+ user: BaseUser;
7
7
  }
@@ -1,6 +1,6 @@
1
1
  import { SlugObjectType } from '../entities';
2
2
  export declare class SlugDto {
3
- slug: string;
4
- objectType: SlugObjectType;
5
- objectId: string;
3
+ slug: string;
4
+ objectType: SlugObjectType;
5
+ objectId: string;
6
6
  }
@@ -1,6 +1,6 @@
1
1
  import { SlugObjectType } from '../entities';
2
2
  export declare class UpdateSlugDto {
3
- slug: string;
4
- objectType: SlugObjectType;
5
- objectId: string;
3
+ slug: string;
4
+ objectType: SlugObjectType;
5
+ objectId: string;
6
6
  }
@@ -1,9 +1,9 @@
1
1
  import { Entity } from '../../entity';
2
2
  export declare class Slug extends Entity {
3
- id: string;
4
- slug: string;
5
- objectType: string;
6
- objectId: string;
7
- active?: boolean;
8
- inactiveDate?: number;
3
+ id: string;
4
+ slug: string;
5
+ objectType: string;
6
+ objectId: string;
7
+ active?: boolean;
8
+ inactiveDate?: number;
9
9
  }