@heliofi/common 0.1.157 → 0.1.159
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +34 -18
- package/dist/src/domain/constants/emailValidation.js +5 -4
- package/dist/src/domain/constants/environment.d.ts +3 -3
- package/dist/src/domain/constants/environment.js +7 -7
- package/dist/src/domain/constants/orderDirection.d.ts +5 -3
- package/dist/src/domain/contact/dtos/createContact.dto.d.ts +8 -0
- package/dist/src/domain/{model/auth/dtos/ethSignOn.dto.js → contact/dtos/createContact.dto.js} +16 -37
- package/dist/src/domain/contact/dtos/createContact.dto.js.map +1 -0
- package/dist/src/domain/contact/dtos/index.d.ts +2 -0
- package/dist/src/domain/contact/dtos/index.js +19 -0
- package/dist/src/domain/contact/dtos/index.js.map +1 -0
- package/dist/src/domain/contact/dtos/updateContact.dto.d.ts +8 -0
- package/dist/src/domain/contact/dtos/updateContact.dto.js +45 -0
- package/dist/src/domain/contact/dtos/updateContact.dto.js.map +1 -0
- package/dist/src/domain/contact/entities/Contact.entity.d.ts +14 -0
- package/dist/src/domain/contact/entities/Contact.entity.js +8 -0
- package/dist/src/domain/contact/entities/Contact.entity.js.map +1 -0
- package/dist/src/domain/contact/entities/index.d.ts +1 -0
- package/dist/src/domain/contact/entities/index.js +18 -0
- package/dist/src/domain/contact/entities/index.js.map +1 -0
- package/dist/src/domain/contact/index.d.ts +2 -0
- package/dist/src/domain/contact/index.js +19 -0
- package/dist/src/domain/contact/index.js.map +1 -0
- package/dist/src/domain/contactAddress/dtos/ContactAddress.dto.d.ts +8 -0
- package/dist/src/domain/contactAddress/dtos/ContactAddress.dto.js +47 -0
- package/dist/src/domain/contactAddress/dtos/ContactAddress.dto.js.map +1 -0
- package/dist/src/domain/contactAddress/dtos/index.d.ts +1 -0
- package/dist/src/domain/contactAddress/dtos/index.js +18 -0
- package/dist/src/domain/contactAddress/dtos/index.js.map +1 -0
- package/dist/src/domain/contactAddress/entities/ContactAddress.entity.d.ts +9 -0
- package/dist/src/domain/contactAddress/entities/ContactAddress.entity.js +8 -0
- package/dist/src/domain/contactAddress/entities/ContactAddress.entity.js.map +1 -0
- package/dist/src/domain/contactAddress/entities/index.d.ts +1 -0
- package/dist/src/domain/contactAddress/entities/index.js +18 -0
- package/dist/src/domain/contactAddress/entities/index.js.map +1 -0
- package/dist/src/domain/contactAddress/index.d.ts +2 -0
- package/dist/src/domain/contactAddress/index.js +19 -0
- package/dist/src/domain/contactAddress/index.js.map +1 -0
- package/dist/src/domain/model/apiKey/dtos/createApiKeyDto.d.ts +4 -0
- package/dist/src/domain/model/apiKey/dtos/createApiKeyDto.js +52 -0
- package/dist/src/domain/model/apiKey/dtos/createApiKeyDto.js.map +1 -0
- package/dist/src/domain/model/apiKey/dtos/createApiKeyDtoInternal.d.ts +4 -4
- package/dist/src/domain/model/apiKey/dtos/createApiKeyDtoInternal.js +61 -26
- package/dist/src/domain/model/apiKey/entities/ApiKey.d.ts +11 -0
- package/dist/src/domain/model/apiKey/entities/ApiKey.js +7 -0
- package/dist/src/domain/model/apiKey/entities/ApiKey.js.map +1 -0
- package/dist/src/domain/model/apiKey/entities/ApiKeyAccess.d.ts +3 -3
- package/dist/src/domain/model/apiKey/entities/ApiKeyAccess.js +7 -7
- package/dist/src/domain/model/approve-transaction/dtos/approveTransaction.dto.d.ts +12 -12
- package/dist/src/domain/model/approve-transaction/dtos/index.js +10 -5
- package/dist/src/domain/model/approve-transaction/index.js +34 -18
- package/dist/src/domain/model/attachment/dtos/createAttachmentInternal.dto.d.ts +4 -4
- package/dist/src/domain/model/attachment/dtos/createAttachmentInternal.dto.js +61 -26
- package/dist/src/domain/model/attachment/entities/Attachment.d.ts +1 -1
- package/dist/src/domain/model/attachment/entities/Attachment.js +5 -6
- package/dist/src/domain/model/attachment/entities/BaseAttachment.d.ts +4 -4
- package/dist/src/domain/model/attachment/entities/BaseAttachment.js +5 -6
- package/dist/src/domain/model/attachment/entities/ShallowEnrichedAttachment.d.ts +1 -1
- package/dist/src/domain/model/attachment/entities/ShallowEnrichedAttachment.js +5 -6
- package/dist/src/domain/model/attachment/index.js +35 -19
- package/dist/src/domain/model/auth/dtos/DiscordAuth.dto.d.ts +7 -0
- package/dist/src/domain/model/auth/dtos/DiscordAuth.dto.js +38 -0
- package/dist/src/domain/model/auth/dtos/DiscordAuth.dto.js.map +1 -0
- package/dist/src/domain/model/auth/dtos/index.d.ts +1 -0
- package/dist/src/domain/model/auth/dtos/index.js +1 -0
- package/dist/src/domain/model/auth/dtos/index.js.map +1 -1
- package/dist/src/domain/model/auth/dtos/signOn.dto.d.ts +2 -2
- package/dist/src/domain/model/auth/dtos/signOn.dto.js +45 -20
- package/dist/src/domain/model/auth/dtos/transactionSignOn.dto.d.ts +1 -1
- package/dist/src/domain/model/auth/dtos/transactionSignOn.dto.js +37 -17
- package/dist/src/domain/model/auth/entities/AuthResponse.d.ts +4 -4
- package/dist/src/domain/model/auth/entities/AuthResponse.js +4 -5
- package/dist/src/domain/model/auth/entities/CheckoutAuthTypes.d.ts +3 -0
- package/dist/src/domain/model/auth/entities/CheckoutAuthTypes.js +8 -0
- package/dist/src/domain/model/auth/entities/CheckoutAuthTypes.js.map +1 -0
- package/dist/src/domain/model/auth/entities/DiscordAuthPublicConfig.entity.d.ts +6 -0
- package/dist/src/domain/model/auth/entities/DiscordAuthPublicConfig.entity.js +8 -0
- package/dist/src/domain/model/auth/entities/DiscordAuthPublicConfig.entity.js.map +1 -0
- package/dist/src/domain/model/auth/entities/DiscordAuthResponse.entity.d.ts +4 -0
- package/dist/src/domain/model/auth/entities/DiscordAuthResponse.entity.js +8 -0
- package/dist/src/domain/model/auth/entities/DiscordAuthResponse.entity.js.map +1 -0
- package/dist/src/domain/model/auth/entities/DiscordAuthToken.d.ts +6 -0
- package/dist/src/domain/model/auth/entities/DiscordAuthToken.js +7 -0
- package/dist/src/domain/model/auth/entities/DiscordAuthToken.js.map +1 -0
- package/dist/src/domain/model/auth/entities/index.d.ts +4 -0
- package/dist/src/domain/model/auth/entities/index.js +4 -0
- package/dist/src/domain/model/auth/entities/index.js.map +1 -1
- package/dist/src/domain/model/blockchain/constants/Cluster.d.ts +3 -3
- package/dist/src/domain/model/blockchain/constants/Cluster.js +7 -7
- package/dist/src/domain/model/blockchain/dtos/blockchain.dto.d.ts +2 -2
- package/dist/src/domain/model/blockchain/dtos/blockchain.dto.js +45 -20
- package/dist/src/domain/model/blockchain/dtos/index.js +34 -18
- package/dist/src/domain/model/breakpoint/dtos/breakpoint.dto.d.ts +8 -8
- package/dist/src/domain/model/breakpoint/dtos/breakpoint.dto.js +95 -40
- package/dist/src/domain/model/breakpoint/dtos/index.js +10 -5
- package/dist/src/domain/model/breakpoint/entities/BreakpointResponse.d.ts +2 -2
- package/dist/src/domain/model/breakpoint/entities/BreakpointResponse.js +4 -5
- package/dist/src/domain/model/breakpoint/entities/index.js +34 -18
- package/dist/src/domain/model/breakpoint/index.js +35 -19
- package/dist/src/domain/model/company/entities/Company.d.ts +2 -2
- package/dist/src/domain/model/company/index.js +35 -19
- package/dist/src/domain/model/content/index.js +35 -19
- package/dist/src/domain/model/currency/entities/Currency.d.ts +1 -1
- package/dist/src/domain/model/discordDetails/dtos/createDiscordDetails.dto.d.ts +5 -5
- package/dist/src/domain/model/discordDetails/dtos/createDiscordDetails.dto.js +66 -34
- package/dist/src/domain/model/discordDetails/dtos/index.js +35 -19
- package/dist/src/domain/model/discordDetails/dtos/updateDiscordDetails.dto.d.ts +4 -4
- package/dist/src/domain/model/discordDetails/dtos/updateDiscordDetails.dto.js +62 -27
- package/dist/src/domain/model/discordDetails/entities/BaseDiscordDetails.d.ts +5 -5
- package/dist/src/domain/model/discordDetails/entities/BaseDiscordDetails.js +5 -6
- package/dist/src/domain/model/discordDetails/entities/DiscordBotVersion.d.ts +2 -2
- package/dist/src/domain/model/discordDetails/entities/DiscordBotVersion.js +9 -6
- package/dist/src/domain/model/discordDetails/entities/DiscordDetails.d.ts +1 -1
- package/dist/src/domain/model/discordDetails/entities/DiscordDetails.js +5 -6
- package/dist/src/domain/model/discordDetails/entities/index.js +36 -20
- package/dist/src/domain/model/discordDetails/index.js +35 -19
- package/dist/src/domain/model/entity/Entity.d.ts +2 -2
- package/dist/src/domain/model/entity/Entity.js +10 -10
- package/dist/src/domain/model/entity/index.js +10 -5
- package/dist/src/domain/model/index.d.ts +1 -0
- package/dist/src/domain/model/index.js +1 -0
- package/dist/src/domain/model/index.js.map +1 -1
- package/dist/src/domain/model/link-features/index.js +35 -19
- package/dist/src/domain/model/metrics/entities/Metrics.d.ts +5 -5
- package/dist/src/domain/model/metrics/entities/Metrics.js +3 -3
- package/dist/src/domain/model/metrics/entities/index.js +34 -18
- package/dist/src/domain/model/metrics/index.js +34 -18
- package/dist/src/domain/model/paylink/entities/BasePaylink.d.ts +3 -3
- package/dist/src/domain/model/paylink/entities/OnlyContentPaylink.d.ts +1 -1
- package/dist/src/domain/model/paylink/entities/OnlyContentPaylink.js +5 -6
- package/dist/src/domain/model/paylink/entities/Paylink.d.ts +3 -3
- package/dist/src/domain/model/paylink/entities/PaylinkStats.d.ts +3 -3
- package/dist/src/domain/model/paylink/entities/PaylinkStats.js +4 -5
- package/dist/src/domain/model/paylink/entities/ShallowEnrichedPaylink.d.ts +4 -4
- package/dist/src/domain/model/paylink/index.js +35 -19
- package/dist/src/domain/model/paylink-tx/dtos/createPaylinkTx.dto.d.ts +4 -4
- package/dist/src/domain/model/paylink-tx/dtos/createPaylinkTx.dto.js +66 -29
- package/dist/src/domain/model/paylink-tx/dtos/index.js +35 -19
- package/dist/src/domain/model/paylink-tx/dtos/updatePaylinkTx.dto.d.ts +1 -1
- package/dist/src/domain/model/paylink-tx/dtos/updatePaylinkTx.dto.js +37 -17
- package/dist/src/domain/model/paylink-tx/entities/BasePaylinkTx.d.ts +5 -5
- package/dist/src/domain/model/paylink-tx/entities/PaylinkTx.d.ts +2 -2
- package/dist/src/domain/model/paylink-tx/entities/PaylinkTx.js +5 -6
- package/dist/src/domain/model/paylink-tx/entities/PaylinkTxWithMeta.d.ts +1 -1
- package/dist/src/domain/model/paylink-tx/entities/ShallowEnrichedPaylinkTx.d.ts +2 -2
- package/dist/src/domain/model/paylink-tx/entities/ShallowEnrichedPaylinkTx.js +5 -6
- package/dist/src/domain/model/paylink-tx/index.js +35 -19
- package/dist/src/domain/model/paystream/entities/BasePaystream.d.ts +3 -3
- package/dist/src/domain/model/paystream/entities/IntervalType.d.ts +7 -7
- package/dist/src/domain/model/paystream/entities/IntervalType.js +11 -11
- package/dist/src/domain/model/paystream/entities/Paystream.d.ts +3 -3
- package/dist/src/domain/model/paystream/entities/PaystreamStats.d.ts +3 -3
- package/dist/src/domain/model/paystream/entities/PaystreamStats.js +4 -5
- package/dist/src/domain/model/paystream/entities/ShallowEnrichedPaystream.d.ts +4 -4
- package/dist/src/domain/model/paystream/entities/index.js +38 -22
- package/dist/src/domain/model/paystream/index.js +35 -19
- package/dist/src/domain/model/paystream-tx/dtos/createPaystreamTxDto.d.ts +7 -7
- package/dist/src/domain/model/paystream-tx/dtos/createPaystreamTxDto.js +91 -39
- package/dist/src/domain/model/paystream-tx/dtos/index.js +35 -19
- package/dist/src/domain/model/paystream-tx/dtos/updatePaystreamTxDto.d.ts +3 -3
- package/dist/src/domain/model/paystream-tx/dtos/updatePaystreamTxDto.js +56 -26
- package/dist/src/domain/model/paystream-tx/entities/BasePaystreamTxWithTransaction.d.ts +2 -2
- package/dist/src/domain/model/paystream-tx/entities/BasePaystreamTxWithTransaction.js +5 -6
- package/dist/src/domain/model/paystream-tx/entities/PaystreamTxWithContent.d.ts +1 -1
- package/dist/src/domain/model/prepare-invoice/dtos/prepareInvoice.dto.d.ts +2 -3
- package/dist/src/domain/model/prepare-invoice/dtos/prepareInvoice.dto.js +2 -11
- package/dist/src/domain/model/prepare-invoice/dtos/prepareInvoice.dto.js.map +1 -1
- package/dist/src/domain/model/prepare-payment-request/dtos/PreparePaymentRequest.dto.d.ts +4 -0
- package/dist/src/domain/model/prepare-payment-request/dtos/PreparePaymentRequest.dto.js +27 -0
- package/dist/src/domain/model/prepare-payment-request/dtos/PreparePaymentRequest.dto.js.map +1 -0
- package/dist/src/domain/model/prepare-payment-request/dtos/index.d.ts +1 -0
- package/dist/src/domain/model/prepare-payment-request/dtos/index.js +18 -0
- package/dist/src/domain/model/prepare-payment-request/dtos/index.js.map +1 -0
- package/dist/src/domain/model/prepare-payment-request/index.d.ts +1 -0
- package/dist/src/domain/model/prepare-payment-request/index.js +18 -0
- package/dist/src/domain/model/prepare-payment-request/index.js.map +1 -0
- package/dist/src/domain/model/prepare-stream/dtos/createStreamPrepare.dto.d.ts +2 -3
- package/dist/src/domain/model/prepare-stream/dtos/createStreamPrepare.dto.js +2 -11
- package/dist/src/domain/model/prepare-stream/dtos/createStreamPrepare.dto.js.map +1 -1
- package/dist/src/domain/model/prepare-stream/entities/PrepareStream.d.ts +5 -0
- package/dist/src/domain/model/prepare-stream/entities/PrepareStream.js +8 -0
- package/dist/src/domain/model/prepare-stream/entities/PrepareStream.js.map +1 -0
- package/dist/src/domain/model/prepare-stream/entities/TokenStreamWithdrawPayload.d.ts +5 -0
- package/dist/src/domain/model/prepare-stream/entities/TokenStreamWithdrawPayload.js +8 -0
- package/dist/src/domain/model/prepare-stream/entities/TokenStreamWithdrawPayload.js.map +1 -0
- package/dist/src/domain/model/prepare-transaction/dtos/prepareSwappedTransaction.dto.d.ts +4 -0
- package/dist/src/domain/model/prepare-transaction/dtos/prepareSwappedTransaction.dto.js +23 -0
- package/dist/src/domain/model/prepare-transaction/dtos/prepareSwappedTransaction.dto.js.map +1 -0
- package/dist/src/domain/model/prepare-transaction/dtos/prepareTransaction.dto.d.ts +2 -3
- package/dist/src/domain/model/prepare-transaction/dtos/prepareTransaction.dto.js +2 -11
- package/dist/src/domain/model/prepare-transaction/dtos/prepareTransaction.dto.js.map +1 -1
- package/dist/src/domain/model/prepare-transaction/entities/PrepareSwappedTransaction.d.ts +5 -0
- package/dist/src/domain/model/prepare-transaction/entities/PrepareSwappedTransaction.js +7 -0
- package/dist/src/domain/model/prepare-transaction/entities/PrepareSwappedTransaction.js.map +1 -0
- package/dist/src/domain/model/product/dtos/index.js +34 -18
- package/dist/src/domain/model/product/dtos/product.dto.d.ts +3 -3
- package/dist/src/domain/model/product/dtos/product.dto.js +54 -24
- package/dist/src/domain/model/product/entities/Product.d.ts +3 -3
- package/dist/src/domain/model/product/entities/Product.js +5 -6
- package/dist/src/domain/model/product/entities/ProductInputType.d.ts +2 -2
- package/dist/src/domain/model/product/entities/ProductInputType.js +9 -6
- package/dist/src/domain/model/product/entities/index.js +35 -19
- package/dist/src/domain/model/product/index.js +35 -19
- package/dist/src/domain/model/product-details/dtos/index.js +34 -18
- package/dist/src/domain/model/product-details/dtos/productDetails.dto.d.ts +2 -2
- package/dist/src/domain/model/product-details/dtos/productDetails.dto.js +45 -20
- package/dist/src/domain/model/product-details/entities/ProductDetails.d.ts +2 -2
- package/dist/src/domain/model/product-details/entities/ProductDetails.js +5 -6
- package/dist/src/domain/model/product-details/entities/index.js +34 -18
- package/dist/src/domain/model/product-details/index.js +35 -19
- package/dist/src/domain/model/report/index.js +34 -18
- package/dist/src/domain/model/role/dtos/createRole.dto.d.ts +3 -3
- package/dist/src/domain/model/role/dtos/createRole.dto.js +54 -24
- package/dist/src/domain/model/role/dtos/index.js +35 -19
- package/dist/src/domain/model/role/dtos/updateRole.dto.d.ts +1 -1
- package/dist/src/domain/model/role/dtos/updateRole.dto.js +38 -18
- package/dist/src/domain/model/role/entities/BaseRole.d.ts +2 -2
- package/dist/src/domain/model/role/entities/BaseRole.js +5 -6
- package/dist/src/domain/model/role/entities/Role.d.ts +2 -2
- package/dist/src/domain/model/role/entities/Role.js +5 -6
- package/dist/src/domain/model/role/entities/RoleType.d.ts +3 -3
- package/dist/src/domain/model/role/entities/RoleType.js +7 -7
- package/dist/src/domain/model/role/entities/ShallowEnrichedRole.d.ts +2 -2
- package/dist/src/domain/model/role/entities/ShallowEnrichedRole.js +5 -6
- package/dist/src/domain/model/role/entities/index.js +37 -21
- package/dist/src/domain/model/role/index.js +35 -19
- package/dist/src/domain/model/slug/dtos/index.js +35 -19
- package/dist/src/domain/model/slug/dtos/slug.dto.d.ts +3 -3
- package/dist/src/domain/model/slug/dtos/slug.dto.js +54 -24
- package/dist/src/domain/model/slug/dtos/updateSlug.dto.d.ts +3 -3
- package/dist/src/domain/model/slug/dtos/updateSlug.dto.js +52 -25
- package/dist/src/domain/model/slug/entities/Slug.d.ts +6 -6
- package/dist/src/domain/model/slug/entities/Slug.js +5 -6
- package/dist/src/domain/model/slug/entities/SlugObjectType.d.ts +3 -3
- package/dist/src/domain/model/slug/entities/SlugObjectType.js +7 -7
- package/dist/src/domain/model/slug/entities/index.js +35 -19
- package/dist/src/domain/model/slug/index.js +35 -19
- package/dist/src/domain/model/split-account/dtos/index.js +34 -18
- package/dist/src/domain/model/split-account/dtos/splitAccount.dto.d.ts +2 -2
- package/dist/src/domain/model/split-account/dtos/splitAccount.dto.js +46 -21
- package/dist/src/domain/model/split-account/entities/SplitAccount.d.ts +2 -2
- package/dist/src/domain/model/split-account/entities/SplitAccount.js +38 -18
- package/dist/src/domain/model/split-account/entities/index.js +34 -18
- package/dist/src/domain/model/split-account/index.js +35 -19
- package/dist/src/domain/model/split-wallets/dtos/index.js +34 -18
- package/dist/src/domain/model/split-wallets/dtos/splitWallet.dto.d.ts +2 -2
- package/dist/src/domain/model/split-wallets/dtos/splitWallet.dto.js +45 -20
- package/dist/src/domain/model/split-wallets/entities/SplitWallet.d.ts +2 -2
- package/dist/src/domain/model/split-wallets/entities/SplitWallet.js +5 -6
- package/dist/src/domain/model/split-wallets/entities/index.js +34 -18
- package/dist/src/domain/model/split-wallets/index.js +35 -19
- package/dist/src/domain/model/stream/dtos/cancelStream.dto.d.ts +5 -5
- package/dist/src/domain/model/stream/dtos/createStream.dto.d.ts +12 -12
- package/dist/src/domain/model/stream/dtos/index.js +36 -20
- package/dist/src/domain/model/stream/dtos/withdrawStream.dto.d.ts +4 -4
- package/dist/src/domain/model/stream/index.js +34 -18
- package/dist/src/domain/model/stream-event/dtos/createStreamEventDto.d.ts +2 -2
- package/dist/src/domain/model/stream-event/dtos/createStreamEventDto.js +46 -21
- package/dist/src/domain/model/stream-event/dtos/index.js +35 -19
- package/dist/src/domain/model/stream-event/dtos/updateStreamEventDto.d.ts +2 -2
- package/dist/src/domain/model/stream-event/dtos/updateStreamEventDto.js +43 -21
- package/dist/src/domain/model/stream-event/entities/StreamEvent.d.ts +2 -2
- package/dist/src/domain/model/stream-event/entities/StreamEvent.js +37 -17
- package/dist/src/domain/model/stream-event/entities/index.js +34 -18
- package/dist/src/domain/model/stream-event/index.js +35 -19
- package/dist/src/domain/model/stream-features/index.js +35 -19
- package/dist/src/domain/model/submit-transaction/dtos/submitSwappedTransaction.dto.d.ts +4 -0
- package/dist/src/domain/model/submit-transaction/dtos/submitSwappedTransaction.dto.js +23 -0
- package/dist/src/domain/model/submit-transaction/dtos/submitSwappedTransaction.dto.js.map +1 -0
- package/dist/src/domain/model/token-swap/entities/SwapRouteObject.d.ts +14 -0
- package/dist/src/domain/model/token-swap/entities/SwapRouteObject.js +9 -0
- package/dist/src/domain/model/token-swap/entities/SwapRouteObject.js.map +1 -0
- package/dist/src/domain/model/transaction-meta/entities/BaseTransactionMeta.d.ts +10 -10
- package/dist/src/domain/model/transaction-meta/entities/ShallowEnrichedTransactionMeta.d.ts +1 -1
- package/dist/src/domain/model/transaction-meta/entities/ShallowEnrichedTransactionMeta.js +5 -6
- package/dist/src/domain/model/transaction-meta/entities/TransactionMeta.d.ts +1 -1
- package/dist/src/domain/model/transaction-meta/entities/TransactionMeta.js +5 -6
- package/dist/src/domain/model/transaction-meta/entities/TransactionStatus.entity.d.ts +7 -0
- package/dist/src/domain/model/transaction-meta/entities/TransactionStatus.entity.js +12 -0
- package/dist/src/domain/model/transaction-meta/entities/TransactionStatus.entity.js.map +1 -0
- package/dist/src/domain/model/user/dtos/createUser.dto.d.ts +4 -4
- package/dist/src/domain/model/user/dtos/createUser.dto.js +61 -26
- package/dist/src/domain/model/user/dtos/index.js +35 -19
- package/dist/src/domain/model/user/dtos/updateUser.dto.d.ts +4 -4
- package/dist/src/domain/model/user/entities/BaseUser.d.ts +5 -5
- package/dist/src/domain/model/user/entities/BaseUser.js +5 -6
- package/dist/src/domain/model/user/entities/ShallowEnrichedUser.d.ts +2 -2
- package/dist/src/domain/model/user/entities/ShallowEnrichedUser.js +5 -6
- package/dist/src/domain/model/user/entities/User.d.ts +2 -2
- package/dist/src/domain/model/user/entities/User.js +5 -6
- package/dist/src/domain/model/user/entities/index.js +36 -20
- package/dist/src/domain/model/user/index.js +35 -19
- package/dist/src/domain/model/wallet/dtos/index.js +34 -18
- package/dist/src/domain/model/wallet/dtos/updateWallet.dto.d.ts +1 -1
- package/dist/src/domain/model/wallet/dtos/updateWallet.dto.js +35 -18
- package/dist/src/domain/model/wallet/entities/BaseWallet.d.ts +2 -2
- package/dist/src/domain/model/wallet/entities/BaseWallet.js +5 -6
- package/dist/src/domain/model/wallet/entities/WalletDetails.d.ts +1 -1
- package/dist/src/domain/model/wallet/entities/WalletDetails.js +5 -6
- package/dist/src/domain/model/wallet/index.js +35 -19
- package/dist/src/domain/model/webhook/paylink-transaction-hook/PaylinkTransactionEvent.d.ts +3 -0
- package/dist/src/domain/model/webhook/paylink-transaction-hook/PaylinkTransactionEvent.js +11 -0
- package/dist/src/domain/model/webhook/paylink-transaction-hook/PaylinkTransactionEvent.js.map +1 -0
- package/dist/src/domain/model/webhook/paylink-transaction-hook/dtos/CreatePaylinkTransactionHook.dto.d.ts +3 -3
- package/dist/src/domain/model/webhook/paylink-transaction-hook/dtos/index.js +34 -18
- package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionEvent.d.ts +3 -0
- package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionEvent.entity.d.ts +1 -1
- package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionEvent.entity.js +8 -5
- package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionEvent.js +11 -0
- package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionEvent.js.map +1 -0
- package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionHook.d.ts +9 -0
- package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionHook.js +7 -0
- package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionHook.js.map +1 -0
- package/dist/src/domain/model/withdrawal/dtos/createWithdrawalDto.d.ts +3 -3
- package/dist/src/domain/model/withdrawal/dtos/createWithdrawalDto.js +55 -25
- package/dist/src/domain/model/withdrawal/dtos/index.js +35 -19
- package/dist/src/domain/model/withdrawal/dtos/updateWithdrawalDto.d.ts +1 -1
- package/dist/src/domain/model/withdrawal/dtos/updateWithdrawalDto.js +38 -18
- package/dist/src/domain/model/withdrawal/entities/BaseWithdrawal.d.ts +4 -0
- package/dist/src/domain/model/withdrawal/entities/BaseWithdrawal.js +41 -0
- package/dist/src/domain/model/withdrawal/entities/BaseWithdrawal.js.map +1 -0
- package/dist/src/domain/model/withdrawal/entities/Withdrawal.d.ts +3 -3
- package/dist/src/domain/model/withdrawal/entities/Withdrawal.js +46 -21
- package/dist/src/domain/model/withdrawal/entities/WithdrawalWithTransaction.d.ts +2 -2
- package/dist/src/domain/model/withdrawal/entities/WithdrawalWithTransaction.js.map +1 -1
- package/dist/src/domain/model/withdrawal/entities/index.js +35 -19
- package/dist/src/domain/model/withdrawal/index.js +35 -19
- package/dist/src/domain/services/BigIntCalculatorService.d.ts +1 -1
- package/dist/src/domain/services/BigIntCalculatorService.js +6 -6
- package/dist/src/domain/services/CurrencyService.d.ts +1 -1
- package/dist/src/domain/services/CurrencyService.js +7 -7
- package/dist/src/domain/services/EmailService.d.ts +3 -0
- package/dist/src/domain/services/EmailService.js +11 -0
- package/dist/src/domain/services/EmailService.js.map +1 -0
- package/dist/src/domain/services/SolscanService.d.ts +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/src/domain/model/auth/dtos/ethSignOn.dto.d.ts +0 -14
- package/dist/src/domain/model/auth/dtos/ethSignOn.dto.js.map +0 -1
- package/dist/src/domain/model/blockchain/entities/BaseBlockchain.d.ts +0 -6
- package/dist/src/domain/model/blockchain/entities/BaseBlockchain.js +0 -8
- package/dist/src/domain/model/blockchain/entities/BaseBlockchain.js.map +0 -1
- package/dist/src/domain/model/blockchainEngine/entities/BlockchainEngine.d.ts +0 -6
- package/dist/src/domain/model/blockchainEngine/entities/BlockchainEngine.js +0 -8
- package/dist/src/domain/model/blockchainEngine/entities/BlockchainEngine.js.map +0 -1
- package/dist/src/domain/model/paystream-tx/entities/BasePaystreamTxWithTransactionSwap.d.ts +0 -4
- package/dist/src/domain/model/paystream-tx/entities/BasePaystreamTxWithTransactionSwap.js +0 -8
- package/dist/src/domain/model/paystream-tx/entities/BasePaystreamTxWithTransactionSwap.js.map +0 -1
|
@@ -1,27 +1,52 @@
|
|
|
1
|
-
|
|
2
|
-
var __decorate =
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
var __decorate =
|
|
3
|
+
(this && this.__decorate) ||
|
|
4
|
+
function (decorators, target, key, desc) {
|
|
5
|
+
var c = arguments.length,
|
|
6
|
+
r =
|
|
7
|
+
c < 3
|
|
8
|
+
? target
|
|
9
|
+
: desc === null
|
|
10
|
+
? (desc = Object.getOwnPropertyDescriptor(target, key))
|
|
11
|
+
: desc,
|
|
12
|
+
d;
|
|
13
|
+
if (typeof Reflect === 'object' && typeof Reflect.decorate === 'function')
|
|
14
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
15
|
+
else
|
|
16
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
17
|
+
if ((d = decorators[i]))
|
|
18
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
19
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata =
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
20
|
+
};
|
|
21
|
+
var __metadata =
|
|
22
|
+
(this && this.__metadata) ||
|
|
23
|
+
function (k, v) {
|
|
24
|
+
if (typeof Reflect === 'object' && typeof Reflect.metadata === 'function')
|
|
25
|
+
return Reflect.metadata(k, v);
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
12
28
|
exports.SignOnDto = void 0;
|
|
13
|
-
const class_validator_1 = require(
|
|
14
|
-
class SignOnDto {
|
|
15
|
-
|
|
16
|
-
|
|
29
|
+
const class_validator_1 = require('class-validator');
|
|
30
|
+
class SignOnDto {}
|
|
31
|
+
__decorate(
|
|
32
|
+
[
|
|
17
33
|
(0, class_validator_1.IsString)(),
|
|
18
34
|
(0, class_validator_1.IsNotEmpty)(),
|
|
19
|
-
__metadata(
|
|
20
|
-
],
|
|
21
|
-
|
|
35
|
+
__metadata('design:type', String),
|
|
36
|
+
],
|
|
37
|
+
SignOnDto.prototype,
|
|
38
|
+
'publicKey',
|
|
39
|
+
void 0,
|
|
40
|
+
);
|
|
41
|
+
__decorate(
|
|
42
|
+
[
|
|
22
43
|
(0, class_validator_1.IsString)(),
|
|
23
44
|
(0, class_validator_1.IsNotEmpty)(),
|
|
24
|
-
__metadata(
|
|
25
|
-
],
|
|
45
|
+
__metadata('design:type', String),
|
|
46
|
+
],
|
|
47
|
+
SignOnDto.prototype,
|
|
48
|
+
'signature',
|
|
49
|
+
void 0,
|
|
50
|
+
);
|
|
26
51
|
exports.SignOnDto = SignOnDto;
|
|
27
|
-
//# sourceMappingURL=signOn.dto.js.map
|
|
52
|
+
//# sourceMappingURL=signOn.dto.js.map
|
|
@@ -1,22 +1,42 @@
|
|
|
1
|
-
|
|
2
|
-
var __decorate =
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
var __decorate =
|
|
3
|
+
(this && this.__decorate) ||
|
|
4
|
+
function (decorators, target, key, desc) {
|
|
5
|
+
var c = arguments.length,
|
|
6
|
+
r =
|
|
7
|
+
c < 3
|
|
8
|
+
? target
|
|
9
|
+
: desc === null
|
|
10
|
+
? (desc = Object.getOwnPropertyDescriptor(target, key))
|
|
11
|
+
: desc,
|
|
12
|
+
d;
|
|
13
|
+
if (typeof Reflect === 'object' && typeof Reflect.decorate === 'function')
|
|
14
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
15
|
+
else
|
|
16
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
17
|
+
if ((d = decorators[i]))
|
|
18
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
19
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata =
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
20
|
+
};
|
|
21
|
+
var __metadata =
|
|
22
|
+
(this && this.__metadata) ||
|
|
23
|
+
function (k, v) {
|
|
24
|
+
if (typeof Reflect === 'object' && typeof Reflect.metadata === 'function')
|
|
25
|
+
return Reflect.metadata(k, v);
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
12
28
|
exports.TransactionSignOnDto = void 0;
|
|
13
|
-
const class_validator_1 = require(
|
|
14
|
-
class TransactionSignOnDto {
|
|
15
|
-
|
|
16
|
-
|
|
29
|
+
const class_validator_1 = require('class-validator');
|
|
30
|
+
class TransactionSignOnDto {}
|
|
31
|
+
__decorate(
|
|
32
|
+
[
|
|
17
33
|
(0, class_validator_1.IsString)(),
|
|
18
34
|
(0, class_validator_1.IsNotEmpty)(),
|
|
19
|
-
__metadata(
|
|
20
|
-
],
|
|
35
|
+
__metadata('design:type', String),
|
|
36
|
+
],
|
|
37
|
+
TransactionSignOnDto.prototype,
|
|
38
|
+
'transaction',
|
|
39
|
+
void 0,
|
|
40
|
+
);
|
|
21
41
|
exports.TransactionSignOnDto = TransactionSignOnDto;
|
|
22
|
-
//# sourceMappingURL=transactionSignOn.dto.js.map
|
|
42
|
+
//# sourceMappingURL=transactionSignOn.dto.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports,
|
|
1
|
+
'use strict';
|
|
2
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3
3
|
exports.AuthResponse = void 0;
|
|
4
|
-
class AuthResponse {
|
|
5
|
-
}
|
|
4
|
+
class AuthResponse {}
|
|
6
5
|
exports.AuthResponse = AuthResponse;
|
|
7
|
-
//# sourceMappingURL=AuthResponse.js.map
|
|
6
|
+
//# sourceMappingURL=AuthResponse.js.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CheckoutAuthTypes = void 0;
|
|
4
|
+
var CheckoutAuthTypes;
|
|
5
|
+
(function (CheckoutAuthTypes) {
|
|
6
|
+
CheckoutAuthTypes["DISCORD"] = "DISCORD";
|
|
7
|
+
})(CheckoutAuthTypes = exports.CheckoutAuthTypes || (exports.CheckoutAuthTypes = {}));
|
|
8
|
+
//# sourceMappingURL=CheckoutAuthTypes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CheckoutAuthTypes.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/entities/CheckoutAuthTypes.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAEX;AAFD,WAAY,iBAAiB;IAC3B,wCAAmB,CAAA;AACrB,CAAC,EAFW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAE5B"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DiscordAuthPublicConfig = void 0;
|
|
4
|
+
const entity_1 = require("../../entity");
|
|
5
|
+
class DiscordAuthPublicConfig extends entity_1.Entity {
|
|
6
|
+
}
|
|
7
|
+
exports.DiscordAuthPublicConfig = DiscordAuthPublicConfig;
|
|
8
|
+
//# sourceMappingURL=DiscordAuthPublicConfig.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DiscordAuthPublicConfig.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/entities/DiscordAuthPublicConfig.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,uBAAwB,SAAQ,eAAM;CAMlD;AAND,0DAMC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DiscordAuthResponse = void 0;
|
|
4
|
+
const entity_1 = require("../../entity");
|
|
5
|
+
class DiscordAuthResponse extends entity_1.Entity {
|
|
6
|
+
}
|
|
7
|
+
exports.DiscordAuthResponse = DiscordAuthResponse;
|
|
8
|
+
//# sourceMappingURL=DiscordAuthResponse.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DiscordAuthResponse.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/entities/DiscordAuthResponse.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,mBAAoB,SAAQ,eAAM;CAE9C;AAFD,kDAEC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DiscordAuthToken.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/entities/DiscordAuthToken.ts"],"names":[],"mappings":";;;AAEA,MAAa,gBAAgB;CAM5B;AAND,4CAMC"}
|
|
@@ -16,4 +16,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./AuthResponse"), exports);
|
|
18
18
|
__exportStar(require("./AuthUser"), exports);
|
|
19
|
+
__exportStar(require("./CheckoutAuthTypes"), exports);
|
|
20
|
+
__exportStar(require("./DiscordAuthToken"), exports);
|
|
21
|
+
__exportStar(require("./DiscordAuthResponse.entity"), exports);
|
|
22
|
+
__exportStar(require("./DiscordAuthPublicConfig.entity"), exports);
|
|
19
23
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,6CAA2B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,6CAA2B;AAC3B,sDAAoC;AACpC,qDAAmC;AACnC,+DAA6C;AAC7C,mEAAiD"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports,
|
|
1
|
+
'use strict';
|
|
2
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3
3
|
exports.Cluster = void 0;
|
|
4
4
|
var Cluster;
|
|
5
5
|
(function (Cluster) {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
})(Cluster = exports.Cluster || (exports.Cluster = {}));
|
|
10
|
-
//# sourceMappingURL=Cluster.js.map
|
|
6
|
+
Cluster['DEV_NET'] = 'DEV_NET';
|
|
7
|
+
Cluster['TEST_NET'] = 'TEST_NET';
|
|
8
|
+
Cluster['MAIN_NET'] = 'MAIN_NET';
|
|
9
|
+
})((Cluster = exports.Cluster || (exports.Cluster = {})));
|
|
10
|
+
//# sourceMappingURL=Cluster.js.map
|
|
@@ -1,27 +1,52 @@
|
|
|
1
|
-
|
|
2
|
-
var __decorate =
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
var __decorate =
|
|
3
|
+
(this && this.__decorate) ||
|
|
4
|
+
function (decorators, target, key, desc) {
|
|
5
|
+
var c = arguments.length,
|
|
6
|
+
r =
|
|
7
|
+
c < 3
|
|
8
|
+
? target
|
|
9
|
+
: desc === null
|
|
10
|
+
? (desc = Object.getOwnPropertyDescriptor(target, key))
|
|
11
|
+
: desc,
|
|
12
|
+
d;
|
|
13
|
+
if (typeof Reflect === 'object' && typeof Reflect.decorate === 'function')
|
|
14
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
15
|
+
else
|
|
16
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
17
|
+
if ((d = decorators[i]))
|
|
18
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
19
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata =
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
20
|
+
};
|
|
21
|
+
var __metadata =
|
|
22
|
+
(this && this.__metadata) ||
|
|
23
|
+
function (k, v) {
|
|
24
|
+
if (typeof Reflect === 'object' && typeof Reflect.metadata === 'function')
|
|
25
|
+
return Reflect.metadata(k, v);
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
12
28
|
exports.BlockchainDto = void 0;
|
|
13
|
-
const class_validator_1 = require(
|
|
14
|
-
class BlockchainDto {
|
|
15
|
-
|
|
16
|
-
|
|
29
|
+
const class_validator_1 = require('class-validator');
|
|
30
|
+
class BlockchainDto {}
|
|
31
|
+
__decorate(
|
|
32
|
+
[
|
|
17
33
|
(0, class_validator_1.IsString)(),
|
|
18
34
|
(0, class_validator_1.IsNotEmpty)(),
|
|
19
|
-
__metadata(
|
|
20
|
-
],
|
|
21
|
-
|
|
35
|
+
__metadata('design:type', String),
|
|
36
|
+
],
|
|
37
|
+
BlockchainDto.prototype,
|
|
38
|
+
'name',
|
|
39
|
+
void 0,
|
|
40
|
+
);
|
|
41
|
+
__decorate(
|
|
42
|
+
[
|
|
22
43
|
(0, class_validator_1.IsString)(),
|
|
23
44
|
(0, class_validator_1.IsNotEmpty)(),
|
|
24
|
-
__metadata(
|
|
25
|
-
],
|
|
45
|
+
__metadata('design:type', String),
|
|
46
|
+
],
|
|
47
|
+
BlockchainDto.prototype,
|
|
48
|
+
'symbol',
|
|
49
|
+
void 0,
|
|
50
|
+
);
|
|
26
51
|
exports.BlockchainDto = BlockchainDto;
|
|
27
|
-
//# sourceMappingURL=blockchain.dto.js.map
|
|
52
|
+
//# sourceMappingURL=blockchain.dto.js.map
|
|
@@ -1,18 +1,34 @@
|
|
|
1
|
-
|
|
2
|
-
var __createBinding =
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
var __createBinding =
|
|
3
|
+
(this && this.__createBinding) ||
|
|
4
|
+
(Object.create
|
|
5
|
+
? function (o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (
|
|
9
|
+
!desc ||
|
|
10
|
+
('get' in desc ? !m.__esModule : desc.writable || desc.configurable)
|
|
11
|
+
) {
|
|
12
|
+
desc = {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () {
|
|
15
|
+
return m[k];
|
|
16
|
+
},
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
Object.defineProperty(o, k2, desc);
|
|
20
|
+
}
|
|
21
|
+
: function (o, m, k, k2) {
|
|
22
|
+
if (k2 === undefined) k2 = k;
|
|
23
|
+
o[k2] = m[k];
|
|
24
|
+
});
|
|
25
|
+
var __exportStar =
|
|
26
|
+
(this && this.__exportStar) ||
|
|
27
|
+
function (m, exports) {
|
|
28
|
+
for (var p in m)
|
|
29
|
+
if (p !== 'default' && !Object.prototype.hasOwnProperty.call(exports, p))
|
|
30
|
+
__createBinding(exports, m, p);
|
|
31
|
+
};
|
|
32
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
33
|
+
__exportStar(require('./blockchain.dto'), exports);
|
|
34
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { CustomerDetailsDto } from '../../customer-details';
|
|
2
2
|
export declare class BreakpointDto {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
3
|
+
signedTx: string;
|
|
4
|
+
paymentRequestId: string;
|
|
5
|
+
sender: string;
|
|
6
|
+
recipient: string;
|
|
7
|
+
amount: string;
|
|
8
|
+
customerDetails: CustomerDetailsDto;
|
|
9
|
+
currency?: string;
|
|
10
|
+
quantity?: number;
|
|
11
11
|
}
|
|
@@ -1,60 +1,115 @@
|
|
|
1
|
-
|
|
2
|
-
var __decorate =
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
var __decorate =
|
|
3
|
+
(this && this.__decorate) ||
|
|
4
|
+
function (decorators, target, key, desc) {
|
|
5
|
+
var c = arguments.length,
|
|
6
|
+
r =
|
|
7
|
+
c < 3
|
|
8
|
+
? target
|
|
9
|
+
: desc === null
|
|
10
|
+
? (desc = Object.getOwnPropertyDescriptor(target, key))
|
|
11
|
+
: desc,
|
|
12
|
+
d;
|
|
13
|
+
if (typeof Reflect === 'object' && typeof Reflect.decorate === 'function')
|
|
14
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
15
|
+
else
|
|
16
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
17
|
+
if ((d = decorators[i]))
|
|
18
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
19
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata =
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
20
|
+
};
|
|
21
|
+
var __metadata =
|
|
22
|
+
(this && this.__metadata) ||
|
|
23
|
+
function (k, v) {
|
|
24
|
+
if (typeof Reflect === 'object' && typeof Reflect.metadata === 'function')
|
|
25
|
+
return Reflect.metadata(k, v);
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
12
28
|
exports.BreakpointDto = void 0;
|
|
13
|
-
const class_validator_1 = require(
|
|
14
|
-
const class_transformer_1 = require(
|
|
15
|
-
const customer_details_1 = require(
|
|
16
|
-
class BreakpointDto {
|
|
17
|
-
|
|
18
|
-
|
|
29
|
+
const class_validator_1 = require('class-validator');
|
|
30
|
+
const class_transformer_1 = require('class-transformer');
|
|
31
|
+
const customer_details_1 = require('../../customer-details');
|
|
32
|
+
class BreakpointDto {}
|
|
33
|
+
__decorate(
|
|
34
|
+
[
|
|
19
35
|
(0, class_validator_1.IsString)(),
|
|
20
36
|
(0, class_validator_1.IsNotEmpty)(),
|
|
21
|
-
__metadata(
|
|
22
|
-
],
|
|
23
|
-
|
|
37
|
+
__metadata('design:type', String),
|
|
38
|
+
],
|
|
39
|
+
BreakpointDto.prototype,
|
|
40
|
+
'signedTx',
|
|
41
|
+
void 0,
|
|
42
|
+
);
|
|
43
|
+
__decorate(
|
|
44
|
+
[
|
|
24
45
|
(0, class_validator_1.IsString)(),
|
|
25
46
|
(0, class_validator_1.IsNotEmpty)(),
|
|
26
|
-
__metadata(
|
|
27
|
-
],
|
|
28
|
-
|
|
47
|
+
__metadata('design:type', String),
|
|
48
|
+
],
|
|
49
|
+
BreakpointDto.prototype,
|
|
50
|
+
'paymentRequestId',
|
|
51
|
+
void 0,
|
|
52
|
+
);
|
|
53
|
+
__decorate(
|
|
54
|
+
[
|
|
29
55
|
(0, class_validator_1.IsString)(),
|
|
30
56
|
(0, class_validator_1.IsNotEmpty)(),
|
|
31
|
-
__metadata(
|
|
32
|
-
],
|
|
33
|
-
|
|
57
|
+
__metadata('design:type', String),
|
|
58
|
+
],
|
|
59
|
+
BreakpointDto.prototype,
|
|
60
|
+
'sender',
|
|
61
|
+
void 0,
|
|
62
|
+
);
|
|
63
|
+
__decorate(
|
|
64
|
+
[
|
|
34
65
|
(0, class_validator_1.IsString)(),
|
|
35
66
|
(0, class_validator_1.IsNotEmpty)(),
|
|
36
|
-
__metadata(
|
|
37
|
-
],
|
|
38
|
-
|
|
67
|
+
__metadata('design:type', String),
|
|
68
|
+
],
|
|
69
|
+
BreakpointDto.prototype,
|
|
70
|
+
'recipient',
|
|
71
|
+
void 0,
|
|
72
|
+
);
|
|
73
|
+
__decorate(
|
|
74
|
+
[
|
|
39
75
|
(0, class_validator_1.IsNotEmpty)(),
|
|
40
76
|
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
41
|
-
__metadata(
|
|
42
|
-
],
|
|
43
|
-
|
|
77
|
+
__metadata('design:type', String),
|
|
78
|
+
],
|
|
79
|
+
BreakpointDto.prototype,
|
|
80
|
+
'amount',
|
|
81
|
+
void 0,
|
|
82
|
+
);
|
|
83
|
+
__decorate(
|
|
84
|
+
[
|
|
44
85
|
(0, class_transformer_1.Type)(() => customer_details_1.CustomerDetailsDto),
|
|
45
86
|
(0, class_validator_1.ValidateNested)(),
|
|
46
87
|
(0, class_validator_1.IsNotEmptyObject)(),
|
|
47
|
-
__metadata(
|
|
48
|
-
],
|
|
49
|
-
|
|
88
|
+
__metadata('design:type', customer_details_1.CustomerDetailsDto),
|
|
89
|
+
],
|
|
90
|
+
BreakpointDto.prototype,
|
|
91
|
+
'customerDetails',
|
|
92
|
+
void 0,
|
|
93
|
+
);
|
|
94
|
+
__decorate(
|
|
95
|
+
[
|
|
50
96
|
(0, class_validator_1.IsString)(),
|
|
51
97
|
(0, class_validator_1.IsOptional)(),
|
|
52
|
-
__metadata(
|
|
53
|
-
],
|
|
54
|
-
|
|
98
|
+
__metadata('design:type', String),
|
|
99
|
+
],
|
|
100
|
+
BreakpointDto.prototype,
|
|
101
|
+
'currency',
|
|
102
|
+
void 0,
|
|
103
|
+
);
|
|
104
|
+
__decorate(
|
|
105
|
+
[
|
|
55
106
|
(0, class_validator_1.IsNumber)(),
|
|
56
107
|
(0, class_validator_1.IsOptional)(),
|
|
57
|
-
__metadata(
|
|
58
|
-
],
|
|
108
|
+
__metadata('design:type', Number),
|
|
109
|
+
],
|
|
110
|
+
BreakpointDto.prototype,
|
|
111
|
+
'quantity',
|
|
112
|
+
void 0,
|
|
113
|
+
);
|
|
59
114
|
exports.BreakpointDto = BreakpointDto;
|
|
60
|
-
//# sourceMappingURL=breakpoint.dto.js.map
|
|
115
|
+
//# sourceMappingURL=breakpoint.dto.js.map
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports,
|
|
1
|
+
'use strict';
|
|
2
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3
3
|
exports.BreakpointDto = void 0;
|
|
4
|
-
var breakpoint_dto_1 = require(
|
|
5
|
-
Object.defineProperty(exports,
|
|
6
|
-
|
|
4
|
+
var breakpoint_dto_1 = require('./breakpoint.dto');
|
|
5
|
+
Object.defineProperty(exports, 'BreakpointDto', {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function () {
|
|
8
|
+
return breakpoint_dto_1.BreakpointDto;
|
|
9
|
+
},
|
|
10
|
+
});
|
|
11
|
+
//# sourceMappingURL=index.js.map
|