@heliofi/common 0.1.641 → 0.1.642

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 (290) hide show
  1. package/dist/src/domain/constants/intervalUnit.d.ts +7 -7
  2. package/dist/src/domain/constants/platform.d.ts +3 -3
  3. package/dist/src/domain/constants/solanaTransactionVersion.d.ts +2 -2
  4. package/dist/src/domain/constants/transactionStatusTokenHeaderName.d.ts +1 -2
  5. package/dist/src/domain/constants/wallet.d.ts +2 -2
  6. package/dist/src/domain/decorators/BigintMin.d.ts +2 -8
  7. package/dist/src/domain/decorators/PartialRequired.d.ts +1 -4
  8. package/dist/src/domain/model/access-code-auth-properties/dtos/accessCodeAuthProperties.dto.d.ts +1 -1
  9. package/dist/src/domain/model/affiliates/entities/AffiliateDetails.entity.d.ts +1 -1
  10. package/dist/src/domain/model/allowlist/dtos/addAllowlistWallets.dto.d.ts +3 -3
  11. package/dist/src/domain/model/allowlist/entities/AddAllowlistResponse.entity.d.ts +4 -4
  12. package/dist/src/domain/model/allowlist/entities/AllowlistWallet.d.ts +2 -2
  13. package/dist/src/domain/model/allowlist/entities/InvalidAllowlistWallets.entity.d.ts +4 -0
  14. package/dist/src/domain/model/allowlist/entities/InvalidAllowlistWallets.entity.js +7 -0
  15. package/dist/src/domain/model/allowlist/entities/InvalidAllowlistWallets.entity.js.map +1 -0
  16. package/dist/src/domain/model/attachment/dtos/createAttachmentInternal.dto.d.ts +4 -4
  17. package/dist/src/domain/model/audit/tx/AuditTxStatus.d.ts +4 -4
  18. package/dist/src/domain/model/audit/tx/AuditTxVersion.d.ts +1 -1
  19. package/dist/src/domain/model/auth/dtos/baseCheckoutAuth.dto.d.ts +4 -4
  20. package/dist/src/domain/model/auth/dtos/btcProperties.dto.d.ts +2 -2
  21. package/dist/src/domain/model/auth/dtos/discordAuth.dto.d.ts +2 -1
  22. package/dist/src/domain/model/auth/dtos/generateTwitterRefreshToken.dto.d.ts +8 -0
  23. package/dist/src/domain/model/{submit-shopify-refund/dtos/submitRefund.dto.js → auth/dtos/generateTwitterRefreshToken.dto.js} +11 -11
  24. package/dist/src/domain/model/auth/dtos/generateTwitterRefreshToken.dto.js.map +1 -0
  25. package/dist/src/domain/model/auth/dtos/signOn.dto.d.ts +8 -8
  26. package/dist/src/domain/model/auth/entities/AccessCodeAuthPublicConfig.entity.d.ts +2 -1
  27. package/dist/src/domain/model/auth/entities/AccessCodeAuthResponse.entity.d.ts +1 -1
  28. package/dist/src/domain/model/auth/entities/BaseCheckoutAuthPublicConfig.entity.d.ts +1 -1
  29. package/dist/src/domain/model/auth/entities/DiscordAuthPublicConfig.entity.d.ts +2 -2
  30. package/dist/src/domain/model/auth/entities/DiscordAuthToken.d.ts +2 -2
  31. package/dist/src/domain/model/blink/dtos/createBlink.dto.d.ts +1 -1
  32. package/dist/src/domain/model/blink/dtos/createBlink.dto.js +1 -1
  33. package/dist/src/domain/model/blink/dtos/createBlink.dto.js.map +1 -1
  34. package/dist/src/domain/model/blink/dtos/index.d.ts +1 -0
  35. package/dist/src/domain/model/blink/dtos/index.js +1 -0
  36. package/dist/src/domain/model/blink/dtos/index.js.map +1 -1
  37. package/dist/src/domain/model/blink/dtos/updateBlink.dto.d.ts +17 -0
  38. package/dist/src/domain/model/{submit-transaction/dtos/submitTransactionV0.dto.js → blink/dtos/updateBlink.dto.js} +46 -45
  39. package/dist/src/domain/model/blink/dtos/updateBlink.dto.js.map +1 -0
  40. package/dist/src/domain/model/blink/entities/ShallowEnrichedBlink.entity.d.ts +1 -1
  41. package/dist/src/domain/model/blockchain/constants/Cluster.d.ts +3 -3
  42. package/dist/src/domain/model/blockchain/dtos/blockchain.dto.d.ts +2 -2
  43. package/dist/src/domain/model/blockchain/entities/Blockchain.entity.d.ts +1 -1
  44. package/dist/src/domain/model/blockchainEngine/entities/BlockchainEngine.entity.d.ts +2 -2
  45. package/dist/src/domain/model/claim/dtos/generateDiscordLink.dto.d.ts +2 -2
  46. package/dist/src/domain/model/company/dtos/updateCompany.dto.d.ts +9 -9
  47. package/dist/src/domain/model/company/entities/CreateCompany.d.ts +8 -8
  48. package/dist/src/domain/model/contactAddress/dtos/contactAddress.dto.d.ts +7 -7
  49. package/dist/src/domain/model/contactAddress/entities/ContactAddress.entity.d.ts +7 -7
  50. package/dist/src/domain/model/content/entities/Content.d.ts +3 -3
  51. package/dist/src/domain/model/currency/dtos/createCurrency.dto.d.ts +10 -10
  52. package/dist/src/domain/model/currency/dtos/updateCurrency.dto.d.ts +9 -9
  53. package/dist/src/domain/model/currency/entities/CurrencyType.d.ts +2 -2
  54. package/dist/src/domain/model/customer-details/entities/Address.d.ts +3 -3
  55. package/dist/src/domain/model/discord-auth-details/dtos/discordAuthDetails.dto.d.ts +2 -2
  56. package/dist/src/domain/model/discord-user/dtos/discordUser.dto.d.ts +2 -2
  57. package/dist/src/domain/model/discord-user/entities/DiscordUser.entity.d.ts +2 -2
  58. package/dist/src/domain/model/discordDetails/dtos/createDiscordDetails.dto.d.ts +6 -6
  59. package/dist/src/domain/model/discount-codes/DCTokenType.d.ts +2 -2
  60. package/dist/src/domain/model/email/dtos/emailClaimSuccess.dto.d.ts +1 -1
  61. package/dist/src/domain/model/enrich-payment-request/entities/EnrichedUrls.d.ts +4 -4
  62. package/dist/src/domain/model/feature-flags/entities/BetaFeature.entity.d.ts +1 -1
  63. package/dist/src/domain/model/fee/dtos/feeDetailsDto.d.ts +2 -2
  64. package/dist/src/domain/model/fee/dtos/feeDto.d.ts +5 -5
  65. package/dist/src/domain/model/fee/dtos/index.d.ts +0 -1
  66. package/dist/src/domain/model/fee/dtos/index.js +0 -1
  67. package/dist/src/domain/model/fee/dtos/index.js.map +1 -1
  68. package/dist/src/domain/model/fee/entities/FeeProperties.d.ts +3 -3
  69. package/dist/src/domain/model/fixed-currency/dtos/fixedCurrency.dto.d.ts +2 -2
  70. package/dist/src/domain/model/helio-play/dtos/helioPlayProperties.dto.d.ts +3 -3
  71. package/dist/src/domain/model/helio-wallet/dtos/getFloorPrices.dto.d.ts +1 -1
  72. package/dist/src/domain/model/helio-wallet/entities/CollectionsFloorPriceAndNftAddress.entity.d.ts +2 -2
  73. package/dist/src/domain/model/invoice/entities/EnrichedInvoice.entity.d.ts +5 -5
  74. package/dist/src/domain/model/invoiceItem/dtos/invoiceItem.dto.d.ts +5 -5
  75. package/dist/src/domain/model/invoiceItem/entities/InvoiceItem.entity.d.ts +6 -6
  76. package/dist/src/domain/model/media/dtos/mediaProperties.dto.d.ts +2 -2
  77. package/dist/src/domain/model/nft-escrow/dtos/nftEscrowCancel.dto.d.ts +3 -3
  78. package/dist/src/domain/model/nft-send/entities/TokenNftSendPayload.entity.d.ts +3 -3
  79. package/dist/src/domain/model/paylink/entities/Integration.enum.d.ts +1 -1
  80. package/dist/src/domain/model/paylink/entities/PaylinkStats.d.ts +3 -3
  81. package/dist/src/domain/model/paylink/entities/ShopifyMerchentPaylink.entity.d.ts +1 -1
  82. package/dist/src/domain/model/paylink-tx/entities/PaylinkTx.d.ts +3 -3
  83. package/dist/src/domain/model/paylink-tx/entities/PaylinkTxWithMeta.d.ts +1 -1
  84. package/dist/src/domain/model/paylink-tx/entities/PaylinkTxWithShallowEnrichedPaylink.d.ts +9 -9
  85. package/dist/src/domain/model/payment-request/dtos/duplicatePaymentRequest.dto.d.ts +1 -1
  86. package/dist/src/domain/model/payment-request/entities/PaymentRequestPreview.entity.d.ts +4 -4
  87. package/dist/src/domain/model/payment-request/entities/PaymentRequestType.d.ts +4 -6
  88. package/dist/src/domain/model/paystream/dtos/createPaystream.dto.d.ts +4 -4
  89. package/dist/src/domain/model/paystream/entities/PaystreamStats.d.ts +3 -3
  90. package/dist/src/domain/model/paystream/entities/ShallowEnrichedPaystream.d.ts +5 -5
  91. package/dist/src/domain/model/paystream-tx/entities/BasePaystreamTx.d.ts +11 -11
  92. package/dist/src/domain/model/paystream-tx/entities/PaystreamTx.entity.d.ts +13 -13
  93. package/dist/src/domain/model/paystream-tx/entities/PaystreamTxWithContent.d.ts +1 -1
  94. package/dist/src/domain/model/platform-api-key/dtos/createPlatformAPIKey.dto.d.ts +1 -1
  95. package/dist/src/domain/model/platform-details/entities/PlatformDetails.entity.d.ts +4 -4
  96. package/dist/src/domain/model/platform-details/entities/PlatformDetailsBase.entity.d.ts +1 -1
  97. package/dist/src/domain/model/platform-model/entities/PlatformModel.d.ts +2 -1
  98. package/dist/src/domain/model/prepare-refund/dtos/prepareRefund.dto.d.ts +3 -3
  99. package/dist/src/domain/model/prepare-stream/dtos/createStreamPrepare.dto.d.ts +7 -7
  100. package/dist/src/domain/model/prepare-stream/dtos/topUpStreamPrepare.dto.d.ts +2 -2
  101. package/dist/src/domain/model/prepare-transaction/dtos/prepareSwapTransaction.dto.d.ts +1 -1
  102. package/dist/src/domain/model/prepare-transaction/entities/BaseTokenTransactionPayload.entity.d.ts +6 -6
  103. package/dist/src/domain/model/prepare-transaction/entities/PrepareTransaction.entity.d.ts +4 -4
  104. package/dist/src/domain/model/product/entities/Product.d.ts +3 -3
  105. package/dist/src/domain/model/product/entities/ProductInputType.d.ts +2 -2
  106. package/dist/src/domain/model/product-details/entities/ProductDetails.d.ts +2 -2
  107. package/dist/src/domain/model/raffle-details/dtos/createRaffleDetails.dto.d.ts +5 -5
  108. package/dist/src/domain/model/raffle-details/dtos/createRaffleDetails.dto.js +30 -70
  109. package/dist/src/domain/model/raffle-entry/entities/EntryDetails.entity.d.ts +3 -3
  110. package/dist/src/domain/model/refund/entities/Refund.entity.d.ts +5 -5
  111. package/dist/src/domain/model/refund-request/entities/BaseRefundRequest.entity.d.ts +6 -6
  112. package/dist/src/domain/model/role/entities/BaseRole.d.ts +2 -2
  113. package/dist/src/domain/model/role/entities/ShallowEnrichedRole.d.ts +2 -2
  114. package/dist/src/domain/model/settle-transaction/dtos/settleTransaction.dto.d.ts +1 -1
  115. package/dist/src/domain/model/shopify-pay/dtos/paymentMethod/shopifyPaymentMethod.dto.d.ts +2 -2
  116. package/dist/src/domain/model/slug/entities/SlugObjectType.d.ts +3 -3
  117. package/dist/src/domain/model/split-account/dtos/splitAccount.dto.d.ts +2 -2
  118. package/dist/src/domain/model/stream/dtos/cancelStream.dto.d.ts +5 -5
  119. package/dist/src/domain/model/stream-backend/dtos/topUpStreamBackend.dto.d.ts +4 -4
  120. package/dist/src/domain/model/stream-event/entities/StreamEvent.d.ts +2 -2
  121. package/dist/src/domain/model/submit-helio-wallet-transaction/dtos/submitHelioWalletSendTransaction.dto.d.ts +2 -1
  122. package/dist/src/domain/model/submit-invoice/dtos/submitInvoice.dto.d.ts +3 -3
  123. package/dist/src/domain/model/submit-invoice/entities/SuccessfulInvoicePayment.d.ts +1 -1
  124. package/dist/src/domain/model/submit-transaction/dtos/submitSwapTransaction.dto.d.ts +1 -1
  125. package/dist/src/domain/model/submit-transaction/dtos/submitTransaction.dto.d.ts +10 -10
  126. package/dist/src/domain/model/token-quoting/entities/TokenQuoting.entity.d.ts +1 -1
  127. package/dist/src/domain/model/token-swap/entities/SwapRouteTokenPayload.d.ts +4 -4
  128. package/dist/src/domain/model/trading-view-details/dtos/tradingViewIndicator.dto.d.ts +3 -3
  129. package/dist/src/domain/model/transaction/entities/TransactionStatsBuyer.entity.d.ts +2 -2
  130. package/dist/src/domain/model/transaction-meta/constants/ExportTransactionType.d.ts +4 -4
  131. package/dist/src/domain/model/transaction-meta/constants/TransactionStatus.d.ts +6 -6
  132. package/dist/src/domain/model/user/dtos/updateUser.dto.d.ts +2 -2
  133. package/dist/src/domain/model/user/entities/UserWithPlatformDetails.entity.d.ts +3 -3
  134. package/dist/src/domain/model/wallet/dtos/btcPaymentAddress.dto.d.ts +2 -2
  135. package/dist/src/domain/model/wallet/dtos/btcProperties.dto.d.ts +2 -2
  136. package/dist/src/domain/model/wallet/dtos/updateWallet.dto.d.ts +1 -1
  137. package/dist/src/domain/model/wallet/entities/WalletDetails.entity.d.ts +1 -1
  138. package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionEvent.entity.d.ts +1 -1
  139. package/dist/src/domain/model/webhook/stream-transaction-hook/dtos/createStreamTransactionHook.dto.d.ts +3 -3
  140. package/dist/src/domain/model/webhook/stream-transaction-hook/entities/StartStreamEventPayload.d.ts +2 -2
  141. package/dist/src/domain/model/webhook/stream-transaction-hook/entities/StreamEventPayload.d.ts +2 -2
  142. package/dist/src/domain/model/withdrawal/dtos/createWithdrawalDto.d.ts +3 -3
  143. package/dist/src/domain/services/BaseExplorerService.d.ts +5 -0
  144. package/dist/src/domain/services/BaseExplorerService.js +16 -0
  145. package/dist/src/domain/services/BaseExplorerService.js.map +1 -0
  146. package/dist/src/domain/services/BigIntCalculatorService.d.ts +3 -3
  147. package/dist/src/domain/services/BlockchainExplorerService.d.ts +1 -5
  148. package/dist/src/domain/services/CommonCurrencyService.d.ts +1 -3
  149. package/dist/src/domain/services/SolanaSerializationService.d.ts +3 -9
  150. package/dist/src/domain/services/SolscanService.d.ts +1 -1
  151. package/dist/src/domain/services/TransactionCalculatorService.d.ts +1 -3
  152. package/dist/tsconfig.tsbuildinfo +1 -1
  153. package/package.json +2 -2
  154. package/yarn-error.log +18384 -0
  155. package/dist/src/domain/model/charge/dtos/prepareTransactionChargeByApiKey.dto.d.ts +0 -19
  156. package/dist/src/domain/model/charge/dtos/prepareTransactionChargeByApiKey.dto.js +0 -87
  157. package/dist/src/domain/model/charge/dtos/prepareTransactionChargeByApiKey.dto.js.map +0 -1
  158. package/dist/src/domain/model/charge/dtos/prepareTransactionForChargeByApiKey.dto.d.ts +0 -19
  159. package/dist/src/domain/model/charge/dtos/prepareTransactionForChargeByApiKey.dto.js +0 -87
  160. package/dist/src/domain/model/charge/dtos/prepareTransactionForChargeByApiKey.dto.js.map +0 -1
  161. package/dist/src/domain/model/charge/dtos/prepareTransactionFromApiKeyCharge.dto.d.ts +0 -5
  162. package/dist/src/domain/model/charge/dtos/prepareTransactionFromApiKeyCharge.dto.js +0 -28
  163. package/dist/src/domain/model/charge/dtos/prepareTransactionFromApiKeyCharge.dto.js.map +0 -1
  164. package/dist/src/domain/model/charge/dtos/prepareTransactionFromChargeForBlink.dto.d.ts +0 -4
  165. package/dist/src/domain/model/charge/dtos/prepareTransactionFromChargeForBlink.dto.js +0 -27
  166. package/dist/src/domain/model/charge/dtos/prepareTransactionFromChargeForBlink.dto.js.map +0 -1
  167. package/dist/src/domain/model/charge/dtos/shopifyDetails.dto.d.ts +0 -4
  168. package/dist/src/domain/model/charge/dtos/shopifyDetails.dto.js +0 -27
  169. package/dist/src/domain/model/charge/dtos/shopifyDetails.dto.js.map +0 -1
  170. package/dist/src/domain/model/charge/entities/ChargePageUrl.entity.d.ts +0 -4
  171. package/dist/src/domain/model/charge/entities/ChargePageUrl.entity.js +0 -7
  172. package/dist/src/domain/model/charge/entities/ChargePageUrl.entity.js.map +0 -1
  173. package/dist/src/domain/model/eventDetails/dtos/eventDetails.dto.d.ts +0 -4
  174. package/dist/src/domain/model/eventDetails/dtos/eventDetails.dto.js +0 -29
  175. package/dist/src/domain/model/eventDetails/dtos/eventDetails.dto.js.map +0 -1
  176. package/dist/src/domain/model/eventDetails/dtos/index.d.ts +0 -1
  177. package/dist/src/domain/model/eventDetails/dtos/index.js +0 -18
  178. package/dist/src/domain/model/eventDetails/dtos/index.js.map +0 -1
  179. package/dist/src/domain/model/eventDetails/entities/EventDetails.entity.d.ts +0 -4
  180. package/dist/src/domain/model/eventDetails/entities/EventDetails.entity.js +0 -6
  181. package/dist/src/domain/model/eventDetails/entities/EventDetails.entity.js.map +0 -1
  182. package/dist/src/domain/model/eventDetails/entities/index.d.ts +0 -1
  183. package/dist/src/domain/model/eventDetails/entities/index.js +0 -18
  184. package/dist/src/domain/model/eventDetails/entities/index.js.map +0 -1
  185. package/dist/src/domain/model/eventDetails/index.d.ts +0 -2
  186. package/dist/src/domain/model/eventDetails/index.js +0 -19
  187. package/dist/src/domain/model/eventDetails/index.js.map +0 -1
  188. package/dist/src/domain/model/invoice-tx/entities/BaseInvoiceTx.d.ts +0 -8
  189. package/dist/src/domain/model/invoice-tx/entities/BaseInvoiceTx.js +0 -42
  190. package/dist/src/domain/model/invoice-tx/entities/BaseInvoiceTx.js.map +0 -1
  191. package/dist/src/domain/model/invoice-tx/entities/InvoiceTx.d.ts +0 -14
  192. package/dist/src/domain/model/invoice-tx/entities/InvoiceTx.js +0 -8
  193. package/dist/src/domain/model/invoice-tx/entities/InvoiceTx.js.map +0 -1
  194. package/dist/src/domain/model/link-features/dtos/linkFeatures.dto.d.ts +0 -14
  195. package/dist/src/domain/model/link-features/dtos/linkFeatures.dto.js +0 -73
  196. package/dist/src/domain/model/link-features/dtos/linkFeatures.dto.js.map +0 -1
  197. package/dist/src/domain/model/paylink/entities/BlinkResponse.d.ts +0 -14
  198. package/dist/src/domain/model/paylink/entities/BlinkResponse.js +0 -3
  199. package/dist/src/domain/model/paylink/entities/BlinkResponse.js.map +0 -1
  200. package/dist/src/domain/model/paylink/entities/ShallowEnrichedPaylink.d.ts +0 -16
  201. package/dist/src/domain/model/paylink/entities/ShallowEnrichedPaylink.js +0 -8
  202. package/dist/src/domain/model/paylink/entities/ShallowEnrichedPaylink.js.map +0 -1
  203. package/dist/src/domain/model/payment-request/entities/ShopifyMerchantPaymentRequest.d.ts +0 -9
  204. package/dist/src/domain/model/payment-request/entities/ShopifyMerchantPaymentRequest.js +0 -8
  205. package/dist/src/domain/model/payment-request/entities/ShopifyMerchantPaymentRequest.js.map +0 -1
  206. package/dist/src/domain/model/payment-request-features/dtos/paymentRequestFeatures.dto.d.ts +0 -22
  207. package/dist/src/domain/model/payment-request-features/dtos/paymentRequestFeatures.dto.js +0 -232
  208. package/dist/src/domain/model/payment-request-features/dtos/paymentRequestFeatures.dto.js.map +0 -1
  209. package/dist/src/domain/model/prepare-refund/shopify/entities/PreparePartialAmountRefundTransaction.entity.d.ts +0 -4
  210. package/dist/src/domain/model/prepare-refund/shopify/entities/PreparePartialAmountRefundTransaction.entity.js +0 -8
  211. package/dist/src/domain/model/prepare-refund/shopify/entities/PreparePartialAmountRefundTransaction.entity.js.map +0 -1
  212. package/dist/src/domain/model/prepare-refund/shopify/entities/PrepareShopifyTransaction.entity.d.ts +0 -4
  213. package/dist/src/domain/model/prepare-refund/shopify/entities/PrepareShopifyTransaction.entity.js +0 -8
  214. package/dist/src/domain/model/prepare-refund/shopify/entities/PrepareShopifyTransaction.entity.js.map +0 -1
  215. package/dist/src/domain/model/prepare-refund/shopify/entities/index.d.ts +0 -1
  216. package/dist/src/domain/model/prepare-refund/shopify/entities/index.js +0 -18
  217. package/dist/src/domain/model/prepare-refund/shopify/entities/index.js.map +0 -1
  218. package/dist/src/domain/model/prepare-refund/shopify/index.d.ts +0 -1
  219. package/dist/src/domain/model/prepare-refund/shopify/index.js +0 -34
  220. package/dist/src/domain/model/prepare-refund/shopify/index.js.map +0 -1
  221. package/dist/src/domain/model/pricing/dtos/createPricing.dto.d.ts +0 -4
  222. package/dist/src/domain/model/pricing/dtos/createPricing.dto.js +0 -31
  223. package/dist/src/domain/model/pricing/dtos/createPricing.dto.js.map +0 -1
  224. package/dist/src/domain/model/pricing/dtos/index.d.ts +0 -2
  225. package/dist/src/domain/model/pricing/dtos/index.js +0 -35
  226. package/dist/src/domain/model/pricing/dtos/index.js.map +0 -1
  227. package/dist/src/domain/model/pricing/dtos/updatePricing.dto.d.ts +0 -3
  228. package/dist/src/domain/model/pricing/dtos/updatePricing.dto.js +0 -25
  229. package/dist/src/domain/model/pricing/dtos/updatePricing.dto.js.map +0 -1
  230. package/dist/src/domain/model/pricing/entities/BasePricing.d.ts +0 -4
  231. package/dist/src/domain/model/pricing/entities/BasePricing.js +0 -42
  232. package/dist/src/domain/model/pricing/entities/BasePricing.js.map +0 -1
  233. package/dist/src/domain/model/pricing/entities/Pricing.d.ts +0 -5
  234. package/dist/src/domain/model/pricing/entities/Pricing.js +0 -8
  235. package/dist/src/domain/model/pricing/entities/Pricing.js.map +0 -1
  236. package/dist/src/domain/model/pricing/entities/index.d.ts +0 -2
  237. package/dist/src/domain/model/pricing/entities/index.js +0 -19
  238. package/dist/src/domain/model/pricing/entities/index.js.map +0 -1
  239. package/dist/src/domain/model/pricing/index.d.ts +0 -2
  240. package/dist/src/domain/model/pricing/index.js +0 -19
  241. package/dist/src/domain/model/pricing/index.js.map +0 -1
  242. package/dist/src/domain/model/refund-request/dtos/SubmitRefundRequest.dto.d.ts +0 -9
  243. package/dist/src/domain/model/refund-request/dtos/SubmitRefundRequest.dto.js +0 -74
  244. package/dist/src/domain/model/refund-request/dtos/SubmitRefundRequest.dto.js.map +0 -1
  245. package/dist/src/domain/model/refund-request/entities/GetRefundRequestsCountQueryParams.d.ts +0 -4
  246. package/dist/src/domain/model/refund-request/entities/GetRefundRequestsCountQueryParams.js +0 -26
  247. package/dist/src/domain/model/refund-request/entities/GetRefundRequestsCountQueryParams.js.map +0 -1
  248. package/dist/src/domain/model/refund-request/entities/GetRefundRequestsQueryParams.d.ts +0 -7
  249. package/dist/src/domain/model/refund-request/entities/GetRefundRequestsQueryParams.js +0 -41
  250. package/dist/src/domain/model/refund-request/entities/GetRefundRequestsQueryParams.js.map +0 -1
  251. package/dist/src/domain/model/refund-request/entities/RefundRequestQueryParams.d.ts +0 -7
  252. package/dist/src/domain/model/refund-request/entities/RefundRequestQueryParams.js +0 -41
  253. package/dist/src/domain/model/refund-request/entities/RefundRequestQueryParams.js.map +0 -1
  254. package/dist/src/domain/model/refund-request/entities/RefundRequestType.enum.d.ts +0 -4
  255. package/dist/src/domain/model/refund-request/entities/RefundRequestType.enum.js +0 -9
  256. package/dist/src/domain/model/refund-request/entities/RefundRequestType.enum.js.map +0 -1
  257. package/dist/src/domain/model/shopify/auth/index.d.ts +0 -1
  258. package/dist/src/domain/model/shopify/auth/index.js +0 -18
  259. package/dist/src/domain/model/shopify/auth/index.js.map +0 -1
  260. package/dist/src/domain/model/shopify/auth/shopifyAuthQueryParams.dto.d.ts +0 -6
  261. package/dist/src/domain/model/shopify/auth/shopifyAuthQueryParams.dto.js +0 -72
  262. package/dist/src/domain/model/shopify/auth/shopifyAuthQueryParams.dto.js.map +0 -1
  263. package/dist/src/domain/model/shopify/index.d.ts +0 -1
  264. package/dist/src/domain/model/shopify/index.js +0 -18
  265. package/dist/src/domain/model/shopify/index.js.map +0 -1
  266. package/dist/src/domain/model/shopify-merchant-details/entities/ShopifyMerchantData.entity.d.ts +0 -9
  267. package/dist/src/domain/model/shopify-merchant-details/entities/ShopifyMerchantData.entity.js +0 -8
  268. package/dist/src/domain/model/shopify-merchant-details/entities/ShopifyMerchantData.entity.js.map +0 -1
  269. package/dist/src/domain/model/shopify-pay/dtos/customer/shopifyCustomer.dto.d.ts +0 -7
  270. package/dist/src/domain/model/shopify-pay/dtos/customer/shopifyCustomer.dto.js +0 -41
  271. package/dist/src/domain/model/shopify-pay/dtos/customer/shopifyCustomer.dto.js.map +0 -1
  272. package/dist/src/domain/model/shopify-pay/dtos/customer/shopifyCustomerAddress.dto.d.ts +0 -8
  273. package/dist/src/domain/model/shopify-pay/dtos/customer/shopifyCustomerAddress.dto.js +0 -92
  274. package/dist/src/domain/model/shopify-pay/dtos/customer/shopifyCustomerAddress.dto.js.map +0 -1
  275. package/dist/src/domain/model/stream-features/dtos/streamFeaturesDto.d.ts +0 -4
  276. package/dist/src/domain/model/stream-features/dtos/streamFeaturesDto.js +0 -43
  277. package/dist/src/domain/model/stream-features/dtos/streamFeaturesDto.js.map +0 -1
  278. package/dist/src/domain/model/submit-shopify-refund/dtos/submitRefund.dto.d.ts +0 -8
  279. package/dist/src/domain/model/submit-shopify-refund/dtos/submitRefund.dto.js.map +0 -1
  280. package/dist/src/domain/model/submit-transaction/dtos/submitTransactionV0.dto.d.ts +0 -18
  281. package/dist/src/domain/model/submit-transaction/dtos/submitTransactionV0.dto.js.map +0 -1
  282. package/dist/src/domain/model/transaction/dtos/claimTransaction.dto.d.ts +0 -6
  283. package/dist/src/domain/model/transaction/dtos/claimTransaction.dto.js +0 -33
  284. package/dist/src/domain/model/transaction/dtos/claimTransaction.dto.js.map +0 -1
  285. package/dist/src/domain/model/transaction/dtos/generateDiscordLink.dto.d.ts +0 -5
  286. package/dist/src/domain/model/transaction/dtos/generateDiscordLink.dto.js +0 -53
  287. package/dist/src/domain/model/transaction/dtos/generateDiscordLink.dto.js.map +0 -1
  288. package/dist/src/domain/model/transaction/entities/Claim.entity.d.ts +0 -11
  289. package/dist/src/domain/model/transaction/entities/Claim.entity.js +0 -7
  290. package/dist/src/domain/model/transaction/entities/Claim.entity.js.map +0 -1
@@ -1,4 +1,4 @@
1
1
  export declare class TopUpStreamPrepareDto {
2
- paystreamTxId: string;
3
- intervalCount: number;
2
+ paystreamTxId: string;
3
+ intervalCount: number;
4
4
  }
@@ -1,4 +1,4 @@
1
1
  import { PrepareTransactionDto } from './prepareTransaction.dto';
2
2
  export declare class PrepareSwapTransactionDto extends PrepareTransactionDto {
3
- swapRouteToken: string;
3
+ swapRouteToken: string;
4
4
  }
@@ -1,10 +1,10 @@
1
1
  import { EventName } from '@heliofi/evm-adapter';
2
2
  import { Entity } from '../../entity';
3
3
  export declare class BaseTokenTransactionPayload extends Entity {
4
- finalAmount?: string;
5
- hash: string;
6
- sessionHash?: string;
7
- eventName?: EventName;
8
- transactionDbId?: string;
9
- metaTransactionDbId?: string;
4
+ finalAmount?: string;
5
+ hash: string;
6
+ sessionHash?: string;
7
+ eventName?: EventName;
8
+ transactionDbId?: string;
9
+ metaTransactionDbId?: string;
10
10
  }
@@ -1,7 +1,7 @@
1
1
  import { Entity } from '../../entity';
2
2
  export declare class PrepareTransaction extends Entity {
3
- transactionToken: string;
4
- transactionMessage: string;
5
- serializedTransaction?: string;
6
- addressLookupTableAccounts?: string[];
3
+ transactionToken: string;
4
+ transactionMessage: string;
5
+ serializedTransaction?: string;
6
+ addressLookupTableAccounts?: string[];
7
7
  }
@@ -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,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,7 +1,7 @@
1
1
  export declare class CreateRaffleDetailsDto {
2
- maxEntries?: number;
3
- winners: number;
4
- maxPurchaseQuantity: number;
5
- endDatetime: Date;
6
- timezoneLocation: string;
2
+ maxEntries?: number;
3
+ winners: number;
4
+ maxPurchaseQuantity: number;
5
+ endDatetime: Date;
6
+ timezoneLocation: string;
7
7
  }
@@ -1,84 +1,44 @@
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;
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;
19
6
  return c > 3 && r && Object.defineProperty(target, key, r), r;
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 });
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 });
28
12
  exports.CreateRaffleDetailsDto = void 0;
29
- const class_validator_1 = require('class-validator');
30
- const class_transformer_1 = require('class-transformer');
31
- class CreateRaffleDetailsDto {}
32
- __decorate(
33
- [
13
+ const class_validator_1 = require("class-validator");
14
+ const class_transformer_1 = require("class-transformer");
15
+ class CreateRaffleDetailsDto {
16
+ }
17
+ __decorate([
34
18
  (0, class_validator_1.IsNumber)(),
35
19
  (0, class_validator_1.IsOptional)(),
36
- __metadata('design:type', Number),
37
- ],
38
- CreateRaffleDetailsDto.prototype,
39
- 'maxEntries',
40
- void 0,
41
- );
42
- __decorate(
43
- [
20
+ __metadata("design:type", Number)
21
+ ], CreateRaffleDetailsDto.prototype, "maxEntries", void 0);
22
+ __decorate([
44
23
  (0, class_validator_1.IsNumber)(),
45
24
  (0, class_validator_1.IsNotEmpty)(),
46
- __metadata('design:type', Number),
47
- ],
48
- CreateRaffleDetailsDto.prototype,
49
- 'winners',
50
- void 0,
51
- );
52
- __decorate(
53
- [
25
+ __metadata("design:type", Number)
26
+ ], CreateRaffleDetailsDto.prototype, "winners", void 0);
27
+ __decorate([
54
28
  (0, class_validator_1.IsNumber)(),
55
29
  (0, class_validator_1.IsNotEmpty)(),
56
- __metadata('design:type', Number),
57
- ],
58
- CreateRaffleDetailsDto.prototype,
59
- 'maxPurchaseQuantity',
60
- void 0,
61
- );
62
- __decorate(
63
- [
30
+ __metadata("design:type", Number)
31
+ ], CreateRaffleDetailsDto.prototype, "maxPurchaseQuantity", void 0);
32
+ __decorate([
64
33
  (0, class_transformer_1.Type)(() => Date),
65
34
  (0, class_validator_1.IsDate)(),
66
35
  (0, class_validator_1.IsNotEmpty)(),
67
- __metadata('design:type', Date),
68
- ],
69
- CreateRaffleDetailsDto.prototype,
70
- 'endDatetime',
71
- void 0,
72
- );
73
- __decorate(
74
- [
36
+ __metadata("design:type", Date)
37
+ ], CreateRaffleDetailsDto.prototype, "endDatetime", void 0);
38
+ __decorate([
75
39
  (0, class_validator_1.IsString)(),
76
40
  (0, class_validator_1.IsNotEmpty)(),
77
- __metadata('design:type', String),
78
- ],
79
- CreateRaffleDetailsDto.prototype,
80
- 'timezoneLocation',
81
- void 0,
82
- );
41
+ __metadata("design:type", String)
42
+ ], CreateRaffleDetailsDto.prototype, "timezoneLocation", void 0);
83
43
  exports.CreateRaffleDetailsDto = CreateRaffleDetailsDto;
84
- //# sourceMappingURL=createRaffleDetails.dto.js.map
44
+ //# sourceMappingURL=createRaffleDetails.dto.js.map
@@ -1,6 +1,6 @@
1
1
  import { EntryDetailsType } from '../../../constants';
2
2
  export declare class EntryDetails {
3
- type: EntryDetailsType;
4
- identifier: string;
5
- label?: string;
3
+ type: EntryDetailsType;
4
+ identifier: string;
5
+ label?: string;
6
6
  }
@@ -3,9 +3,9 @@ import { TransactionMeta } from '../../transaction-meta';
3
3
  import { Contact } from '../../contact';
4
4
  import { BasePaymentRequest } from '../../payment-request';
5
5
  export declare class Refund extends Entity {
6
- id: string;
7
- meta: TransactionMeta;
8
- paymentRequest: BasePaymentRequest;
9
- paymentRequestTx: string;
10
- contact?: Contact;
6
+ id: string;
7
+ meta: TransactionMeta;
8
+ paymentRequest: BasePaymentRequest;
9
+ paymentRequestTx: string;
10
+ contact?: Contact;
11
11
  }
@@ -1,9 +1,9 @@
1
1
  import { Entity } from '../../entity';
2
2
  export declare class BaseRefundRequest extends Entity {
3
- refundAmount: bigint;
4
- refundUSDCAmount: bigint;
5
- id: string;
6
- requestedAt: Date;
7
- completedAt?: Date | undefined;
8
- rejectionReason?: string | undefined;
3
+ refundAmount: bigint;
4
+ refundUSDCAmount: bigint;
5
+ id: string;
6
+ requestedAt: Date;
7
+ completedAt?: Date | undefined;
8
+ rejectionReason?: string | undefined;
9
9
  }
@@ -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 { 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,4 +1,4 @@
1
1
  import { TransactionStatus } from '../../transaction-meta';
2
2
  export declare class SettleTransactionDto {
3
- transactionStatus: TransactionStatus.CANCELED | TransactionStatus.FAILED;
3
+ transactionStatus: TransactionStatus.CANCELED | TransactionStatus.FAILED;
4
4
  }
@@ -1,5 +1,5 @@
1
1
  import { ShopifyPaymentMethodDataDto } from './shopifyPaymentMethodData.dto';
2
2
  export declare class ShopifyPaymentMethodDto {
3
- type: string;
4
- data: ShopifyPaymentMethodDataDto;
3
+ type: string;
4
+ data: ShopifyPaymentMethodDataDto;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  export declare enum SlugObjectType {
2
- PAYLINK = 'PAYLINK',
3
- PAYSTREAM = 'PAYSTREAM',
4
- USER = 'USER',
2
+ PAYLINK = "PAYLINK",
3
+ PAYSTREAM = "PAYSTREAM",
4
+ USER = "USER"
5
5
  }
@@ -1,4 +1,4 @@
1
1
  export declare class SplitAccountDto {
2
- amount: string;
3
- recipient: string;
2
+ amount: string;
3
+ recipient: string;
4
4
  }
@@ -1,7 +1,7 @@
1
1
  export declare class CancelStreamDto {
2
- id: string;
3
- transactionSignature: string;
4
- paymentRequestId: string;
5
- canceledAt: string;
6
- paymentAccount: string;
2
+ id: string;
3
+ transactionSignature: string;
4
+ paymentRequestId: string;
5
+ canceledAt: string;
6
+ paymentAccount: string;
7
7
  }
@@ -1,6 +1,6 @@
1
1
  export declare class TopUpStreamBackendDto {
2
- signedTransaction: string;
3
- time: string;
4
- rateToken?: string;
5
- streamToken?: string;
2
+ signedTransaction: string;
3
+ time: string;
4
+ rateToken?: string;
5
+ streamToken?: string;
6
6
  }
@@ -1,4 +1,4 @@
1
1
  export declare class StreamEvent {
2
- timestamp: bigint;
3
- transactionSignature: string;
2
+ timestamp: bigint;
3
+ transactionSignature: string;
4
4
  }
@@ -1,2 +1,3 @@
1
1
  import { SubmitTransactionDto } from '../../submit-transaction';
2
- export declare class SubmitHelioWalletSendFundsTransactionDto extends SubmitTransactionDto {}
2
+ export declare class SubmitHelioWalletSendFundsTransactionDto extends SubmitTransactionDto {
3
+ }
@@ -1,6 +1,6 @@
1
1
  import { BaseSubmitTransactionDto } from '../../submit-transaction';
2
2
  export declare class SubmitInvoiceDto extends BaseSubmitTransactionDto {
3
- paymentRequestId: string;
4
- time?: string;
5
- rateToken?: string;
3
+ paymentRequestId: string;
4
+ time?: string;
5
+ rateToken?: string;
6
6
  }
@@ -1,3 +1,3 @@
1
1
  export declare type SuccessfulInvoicePayment = {
2
- transactionSignature: string;
2
+ transactionSignature: string;
3
3
  };
@@ -1,4 +1,4 @@
1
1
  import { SubmitTransactionDto } from './submitTransaction.dto';
2
2
  export declare class SubmitSwapTransactionDto extends SubmitTransactionDto {
3
- signedSwapTransaction?: string;
3
+ signedSwapTransaction?: string;
4
4
  }
@@ -3,14 +3,14 @@ import { ProductDetailsDto } from '../../product-details';
3
3
  import { SplitWalletDto } from '../../split-wallets';
4
4
  import { BaseSubmitTransactionDto } from './baseSubmitTransaction.dto';
5
5
  export declare class SubmitTransactionDto extends BaseSubmitTransactionDto {
6
- quantity?: number | undefined;
7
- time?: string;
8
- customerDetails?: CustomerDetailsDto;
9
- productDetails?: ProductDetailsDto;
10
- splitRevenue?: boolean;
11
- splitWallets?: SplitWalletDto[];
12
- rateToken?: string;
13
- discountToken?: string;
14
- affiliateCode?: string;
15
- addressLookupTableAccounts?: string[];
6
+ quantity?: number | undefined;
7
+ time?: string;
8
+ customerDetails?: CustomerDetailsDto;
9
+ productDetails?: ProductDetailsDto;
10
+ splitRevenue?: boolean;
11
+ splitWallets?: SplitWalletDto[];
12
+ rateToken?: string;
13
+ discountToken?: string;
14
+ affiliateCode?: string;
15
+ addressLookupTableAccounts?: string[];
16
16
  }
@@ -1,4 +1,4 @@
1
1
  import { Entity } from '../../entity';
2
2
  export declare class TokenQuoting extends Entity {
3
- rateToken: string;
3
+ rateToken: string;
4
4
  }
@@ -1,7 +1,7 @@
1
1
  import { Entity } from '../../entity';
2
2
  export declare class SwapRouteTokenPayload extends Entity {
3
- route: string;
4
- from: string;
5
- to: string;
6
- prid: string;
3
+ route: string;
4
+ from: string;
5
+ to: string;
6
+ prid: string;
7
7
  }
@@ -1,5 +1,5 @@
1
1
  export declare class TradingViewIndicatorDto {
2
- id: string;
3
- url: string;
4
- name: string;
2
+ id: string;
3
+ url: string;
4
+ name: string;
5
5
  }
@@ -1,4 +1,4 @@
1
1
  export declare class TransactionStatsBuyer {
2
- amount: number;
3
- count: number;
2
+ amount: number;
3
+ count: number;
4
4
  }
@@ -1,6 +1,6 @@
1
1
  export declare enum ExportTransactionType {
2
- REFUNDED = 'REFUNDED',
3
- PAYLINK = 'PAYLINK',
4
- INVOICE = 'INVOICE',
5
- STREAM = 'STREAM',
2
+ REFUNDED = "REFUNDED",
3
+ PAYLINK = "PAYLINK",
4
+ INVOICE = "INVOICE",
5
+ STREAM = "STREAM"
6
6
  }
@@ -1,9 +1,9 @@
1
1
  export declare enum TransactionStatus {
2
- INITIATED = 'INITIATED',
3
- PENDING = 'PENDING',
4
- SUCCESS = 'SUCCESS',
5
- FAILED = 'FAILED',
6
- CANCELED = 'CANCELED',
7
- SETTLED = 'SETTLED',
2
+ INITIATED = "INITIATED",
3
+ PENDING = "PENDING",
4
+ SUCCESS = "SUCCESS",
5
+ FAILED = "FAILED",
6
+ CANCELED = "CANCELED",
7
+ SETTLED = "SETTLED"
8
8
  }
9
9
  export declare const toTransactionStatus: (status: string) => TransactionStatus;
@@ -1,4 +1,4 @@
1
1
  export declare class UpdateUserDto {
2
- email?: string;
3
- name?: string;
2
+ email?: string;
3
+ name?: string;
4
4
  }
@@ -1,7 +1,7 @@
1
1
  import { Entity } from '../../entity';
2
2
  import { PlatformDetails } from '../../platform-details';
3
3
  export declare class UserWithPlatformDetails extends Entity {
4
- id: string;
5
- isDisabled: boolean;
6
- platformDetails?: PlatformDetails;
4
+ id: string;
5
+ isDisabled: boolean;
6
+ platformDetails?: PlatformDetails;
7
7
  }
@@ -1,5 +1,5 @@
1
1
  import { BTCPaymentAddressVersion } from '../entities';
2
2
  export declare class BTCPaymentAddressDto {
3
- address: string;
4
- version?: BTCPaymentAddressVersion;
3
+ address: string;
4
+ version?: BTCPaymentAddressVersion;
5
5
  }
@@ -1,4 +1,4 @@
1
1
  export declare class BTCPropertiesDto {
2
- paymentAddress: string;
3
- ordinalsAddress: string;
2
+ paymentAddress: string;
3
+ ordinalsAddress: string;
4
4
  }
@@ -1,3 +1,3 @@
1
1
  export declare class UpdateWalletDto {
2
- name?: string;
2
+ name?: string;
3
3
  }
@@ -1,4 +1,4 @@
1
1
  import { Entity } from '../../entity';
2
2
  export declare class WalletDetails extends Entity {
3
- isHelioX: boolean;
3
+ isHelioX: boolean;
4
4
  }
@@ -1,3 +1,3 @@
1
1
  export declare enum PaylinkTransactionEvent {
2
- CREATED = 'CREATED',
2
+ CREATED = "CREATED"
3
3
  }
@@ -1,6 +1,6 @@
1
1
  import { StreamTransactionEvent } from '../entities';
2
2
  export declare class CreateStreamTransactionHookDto {
3
- streamId: string;
4
- targetUrl: string;
5
- events?: StreamTransactionEvent[];
3
+ streamId: string;
4
+ targetUrl: string;
5
+ events?: StreamTransactionEvent[];
6
6
  }
@@ -2,6 +2,6 @@ import { StreamTransactionEvent } from './StreamTransactionEvent.entity';
2
2
  import { PaystreamTxWithMeta } from '../../../paystream-tx';
3
3
  import { StreamEventPayload } from './StreamEventPayload';
4
4
  export declare class StartStreamEventPayload extends StreamEventPayload {
5
- event: StreamTransactionEvent;
6
- transaction: PaystreamTxWithMeta;
5
+ event: StreamTransactionEvent;
6
+ transaction: PaystreamTxWithMeta;
7
7
  }
@@ -2,6 +2,6 @@ import { Entity } from '../../../entity';
2
2
  import { StreamTransactionEvent } from './StreamTransactionEvent.entity';
3
3
  import { PaystreamTxWithMeta } from '../../../paystream-tx';
4
4
  export declare class StreamEventPayload extends Entity {
5
- event: StreamTransactionEvent;
6
- transaction: PaystreamTxWithMeta;
5
+ event: StreamTransactionEvent;
6
+ transaction: PaystreamTxWithMeta;
7
7
  }
@@ -1,6 +1,6 @@
1
1
  import { CreateStreamEventDto } from '../../stream-event';
2
2
  export declare class CreateWithdrawalDto extends CreateStreamEventDto {
3
- paystreamTx: string;
4
- amount: bigint;
5
- fee?: bigint;
3
+ paystreamTx: string;
4
+ amount: bigint;
5
+ fee?: bigint;
6
6
  }
@@ -0,0 +1,5 @@
1
+ import { Environment } from '../constants';
2
+ export declare class BaseExplorerService {
3
+ static getBaseExplorerUrlByCluster(env: Environment): string | undefined;
4
+ static getBaseExplorerTransactionURL(transactionID: string, env: Environment): string;
5
+ }
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BaseExplorerService = void 0;
4
+ const constants_1 = require("../constants");
5
+ class BaseExplorerService {
6
+ static getBaseExplorerUrlByCluster(env) {
7
+ return env === constants_1.Environment.PROD
8
+ ? 'https://basescan.org'
9
+ : 'https://sepolia.basescan.org';
10
+ }
11
+ static getBaseExplorerTransactionURL(transactionID, env) {
12
+ return `${BaseExplorerService.getBaseExplorerUrlByCluster(env)}/tx/${transactionID}`;
13
+ }
14
+ }
15
+ exports.BaseExplorerService = BaseExplorerService;
16
+ //# sourceMappingURL=BaseExplorerService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BaseExplorerService.js","sourceRoot":"","sources":["../../../../src/domain/services/BaseExplorerService.ts"],"names":[],"mappings":";;;AAAA,4CAA2C;AAE3C,MAAa,mBAAmB;IAC9B,MAAM,CAAC,2BAA2B,CAAC,GAAgB;QACjD,OAAO,GAAG,KAAK,uBAAW,CAAC,IAAI;YAC7B,CAAC,CAAC,sBAAsB;YACxB,CAAC,CAAC,8BAA8B,CAAC;IACrC,CAAC;IAED,MAAM,CAAC,6BAA6B,CAClC,aAAqB,EACrB,GAAgB;QAEhB,OAAO,GAAG,mBAAmB,CAAC,2BAA2B,CACvD,GAAG,CACJ,OAAO,aAAa,EAAE,CAAC;IAC1B,CAAC;CACF;AAfD,kDAeC"}
@@ -1,5 +1,5 @@
1
1
  export declare class BigIntCalculatorService {
2
- static calculatePercentage(amount: bigint, percent: number): bigint;
3
- static getBigintMultiplierFromDecimals(decimals: number): bigint;
4
- static calculatePercentageBalance(amount: bigint, percent: number): bigint;
2
+ static calculatePercentage(amount: bigint, percent: number): bigint;
3
+ static getBigintMultiplierFromDecimals(decimals: number): bigint;
4
+ static calculatePercentageBalance(amount: bigint, percent: number): bigint;
5
5
  }
@@ -1,9 +1,5 @@
1
1
  import { BlockchainSymbol } from '../model';
2
2
  import { Environment } from '../constants';
3
3
  export declare class BlockchainExplorerService {
4
- static getExplorerUrl(
5
- blockchain: BlockchainSymbol,
6
- transactionId: string,
7
- network: Environment,
8
- ): string | undefined;
4
+ static getExplorerUrl(blockchain: BlockchainSymbol, transactionId: string, network: Environment): string | undefined;
9
5
  }
@@ -1,7 +1,5 @@
1
1
  import BigNumber from 'bignumber.js';
2
2
  import { Currency } from '../model';
3
3
  export declare class CommonCurrencyService {
4
- static minValueFromCurrencyMinDecimals(
5
- currency?: Pick<Currency, 'decimals' | 'minDecimals'>,
6
- ): BigNumber | undefined;
4
+ static minValueFromCurrencyMinDecimals(currency?: Pick<Currency, 'decimals' | 'minDecimals'>): BigNumber | undefined;
7
5
  }