@heliofi/common 0.1.70 → 0.1.72
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/index.js +36 -20
- package/dist/src/domain/constants/orderDirection.d.ts +5 -3
- package/dist/src/domain/constants/orderDirection.js +13 -10
- package/dist/src/domain/index.js +36 -20
- package/dist/src/domain/model/apiKey/dtos/createApiKey.dto.d.ts +3 -3
- package/dist/src/domain/model/apiKey/dtos/createApiKey.dto.js +53 -23
- package/dist/src/domain/model/apiKey/dtos/createApiKeyDto.d.ts +2 -2
- package/dist/src/domain/model/apiKey/dtos/createApiKeyDto.js +45 -20
- 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/dtos/index.js +36 -20
- package/dist/src/domain/model/apiKey/dtos/updateApiKey.dto.d.ts +2 -2
- package/dist/src/domain/model/apiKey/dtos/updateApiKey.dto.js +45 -20
- package/dist/src/domain/model/apiKey/entities/ApiKey.d.ts +7 -7
- package/dist/src/domain/model/apiKey/entities/ApiKey.js +5 -6
- 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/apiKey/entities/index.js +35 -19
- package/dist/src/domain/model/apiKey/index.js +35 -19
- package/dist/src/domain/model/approve-transaction/dtos/approveTransaction.dto.d.ts +12 -12
- package/dist/src/domain/model/approve-transaction/dtos/approveTransaction.dto.js +129 -54
- 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/createAttachment.dto.d.ts +4 -4
- package/dist/src/domain/model/attachment/dtos/createAttachment.dto.js +53 -23
- 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/dtos/index.js +35 -19
- 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/AttachmentType.d.ts +1 -1
- package/dist/src/domain/model/attachment/entities/AttachmentType.js +5 -5
- 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/entities/index.js +43 -22
- package/dist/src/domain/model/attachment/index.js +35 -19
- package/dist/src/domain/model/auth/dtos/index.js +35 -19
- 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/AuthUser.d.ts +8 -8
- package/dist/src/domain/model/auth/entities/AuthUser.js +3 -3
- package/dist/src/domain/model/auth/entities/index.js +35 -19
- package/dist/src/domain/model/auth/index.js +35 -19
- 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/constants/index.js +34 -18
- 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/blockchain/entities/Blockchain.d.ts +3 -3
- package/dist/src/domain/model/blockchain/entities/Blockchain.js +5 -6
- package/dist/src/domain/model/blockchain/entities/index.js +34 -18
- package/dist/src/domain/model/blockchain/index.js +36 -20
- 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/dtos/createCompany.dto.d.ts +6 -6
- package/dist/src/domain/model/company/dtos/createCompany.dto.js +77 -32
- package/dist/src/domain/model/company/dtos/index.js +35 -19
- package/dist/src/domain/model/company/dtos/updateCompany.dto.d.ts +6 -6
- package/dist/src/domain/model/company/dtos/updateCompany.dto.js +77 -32
- package/dist/src/domain/model/company/entities/BaseCompany.d.ts +7 -7
- package/dist/src/domain/model/company/entities/BaseCompany.js +5 -6
- package/dist/src/domain/model/company/entities/Company.d.ts +2 -2
- package/dist/src/domain/model/company/entities/Company.js +5 -6
- package/dist/src/domain/model/company/entities/index.js +35 -19
- package/dist/src/domain/model/company/index.js +35 -19
- package/dist/src/domain/model/content/dtos/content.dto.d.ts +2 -2
- package/dist/src/domain/model/content/dtos/content.dto.js +45 -20
- package/dist/src/domain/model/content/dtos/index.js +34 -18
- package/dist/src/domain/model/content/entities/Content.d.ts +2 -2
- package/dist/src/domain/model/content/entities/Content.js +5 -6
- package/dist/src/domain/model/content/entities/index.js +34 -18
- package/dist/src/domain/model/content/index.js +35 -19
- package/dist/src/domain/model/currency/dtos/createCurrency.dto.d.ts +8 -8
- package/dist/src/domain/model/currency/dtos/createCurrency.dto.js +81 -44
- package/dist/src/domain/model/currency/dtos/index.js +35 -19
- package/dist/src/domain/model/currency/dtos/updateCurrency.dto.d.ts +8 -8
- package/dist/src/domain/model/currency/dtos/updateCurrency.dto.js +93 -38
- package/dist/src/domain/model/currency/entities/BaseCurrency.d.ts +8 -8
- package/dist/src/domain/model/currency/entities/BaseCurrency.js +5 -6
- package/dist/src/domain/model/currency/entities/Currency.d.ts +1 -1
- package/dist/src/domain/model/currency/entities/Currency.js +5 -6
- package/dist/src/domain/model/currency/entities/index.js +35 -19
- package/dist/src/domain/model/currency/index.js +35 -19
- package/dist/src/domain/model/customer-details/dtos/customerDetails.dto.d.ts +12 -12
- package/dist/src/domain/model/customer-details/dtos/customerDetails.dto.js +125 -50
- package/dist/src/domain/model/customer-details/dtos/index.js +34 -18
- package/dist/src/domain/model/customer-details/entities/CustomerDetails.d.ts +12 -12
- package/dist/src/domain/model/customer-details/entities/CustomerDetails.js +5 -6
- package/dist/src/domain/model/customer-details/entities/index.js +34 -18
- package/dist/src/domain/model/customer-details/index.js +35 -19
- 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/email/dtos/email.dto.d.ts +20 -20
- package/dist/src/domain/model/email/dtos/email.dto.js +190 -75
- package/dist/src/domain/model/email/dtos/index.js +34 -18
- package/dist/src/domain/model/email/index.js +34 -18
- 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.js +70 -54
- package/dist/src/domain/model/link-features/dtos/index.js +34 -18
- package/dist/src/domain/model/link-features/dtos/linkFeatures.dto.d.ts +15 -15
- package/dist/src/domain/model/link-features/dtos/linkFeatures.dto.js +149 -59
- package/dist/src/domain/model/link-features/entities/LinkFeatures.d.ts +3 -3
- package/dist/src/domain/model/link-features/entities/LinkFeatures.js +5 -6
- package/dist/src/domain/model/link-features/entities/index.js +34 -18
- 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/dtos/createPaylink.dto.d.ts +25 -22
- package/dist/src/domain/model/paylink/dtos/createPaylink.dto.js +198 -82
- package/dist/src/domain/model/paylink/dtos/index.js +35 -19
- package/dist/src/domain/model/paylink/dtos/updatePaylink.dto.d.ts +20 -20
- package/dist/src/domain/model/paylink/dtos/updatePaylink.dto.js +194 -79
- package/dist/src/domain/model/paylink/entities/BasePaylink.d.ts +3 -3
- package/dist/src/domain/model/paylink/entities/BasePaylink.js +5 -6
- package/dist/src/domain/model/paylink/entities/OnlyContentAndTransactionPaylink.d.ts +2 -2
- package/dist/src/domain/model/paylink/entities/OnlyContentAndTransactionPaylink.js +5 -6
- 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/Paylink.js +5 -6
- 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/entities/ShallowEnrichedPaylink.js +5 -6
- package/dist/src/domain/model/paylink/entities/index.js +39 -23
- 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/BasePaylinkTx.js +38 -18
- 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/PaylinkTxWithShallowEnrichedPaylink.d.ts +6 -6
- package/dist/src/domain/model/paylink-tx/entities/PaylinkTxWithShallowEnrichedPaylink.js +56 -25
- 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/entities/index.js +37 -21
- package/dist/src/domain/model/paylink-tx/index.js +35 -19
- package/dist/src/domain/model/payment-request/entities/BasePaymentRequest.d.ts +14 -14
- package/dist/src/domain/model/payment-request/entities/BasePaymentRequest.js +38 -18
- package/dist/src/domain/model/payment-request/entities/PaymentRequest.d.ts +6 -6
- package/dist/src/domain/model/payment-request/entities/PaymentRequest.js +5 -6
- package/dist/src/domain/model/payment-request/entities/PaymentRequestType.d.ts +2 -2
- package/dist/src/domain/model/payment-request/entities/PaymentRequestType.js +9 -6
- package/dist/src/domain/model/payment-request/entities/ShallowEnrichedPaymentRequest.d.ts +9 -9
- package/dist/src/domain/model/payment-request/entities/ShallowEnrichedPaymentRequest.js +5 -6
- package/dist/src/domain/model/payment-request/entities/SlugPaymentRequest.d.ts +2 -2
- package/dist/src/domain/model/payment-request/entities/SlugPaymentRequest.js +4 -5
- package/dist/src/domain/model/payment-request/entities/index.js +38 -22
- package/dist/src/domain/model/payment-request/index.js +34 -18
- package/dist/src/domain/model/payment-request-features/entities/PaymentRequestFeatures.d.ts +12 -12
- package/dist/src/domain/model/payment-request-features/entities/PaymentRequestFeatures.js +5 -6
- package/dist/src/domain/model/payment-request-features/entities/index.js +34 -18
- package/dist/src/domain/model/payment-request-features/index.js +34 -18
- package/dist/src/domain/model/paystream/dtos/createPaystream.dto.d.ts +19 -19
- package/dist/src/domain/model/paystream/dtos/createPaystream.dto.js +190 -79
- package/dist/src/domain/model/paystream/dtos/index.js +35 -19
- package/dist/src/domain/model/paystream/dtos/updatePaystream.dto.d.ts +18 -18
- package/dist/src/domain/model/paystream/dtos/updatePaystream.dto.js +178 -73
- package/dist/src/domain/model/paystream/entities/BasePaystream.d.ts +3 -3
- package/dist/src/domain/model/paystream/entities/BasePaystream.js +5 -6
- 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/Paystream.js +5 -6
- 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/ShallowEnrichedPaystream.js +5 -6
- 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/BasePaystreamTx.d.ts +10 -10
- package/dist/src/domain/model/paystream-tx/entities/BasePaystreamTx.js +55 -25
- package/dist/src/domain/model/paystream-tx/entities/BasePaystreamTxWithTransaction.d.ts +6 -0
- package/dist/src/domain/model/paystream-tx/entities/BasePaystreamTxWithTransaction.js +7 -0
- package/dist/src/domain/model/paystream-tx/entities/BasePaystreamTxWithTransaction.js.map +1 -0
- package/dist/src/domain/model/paystream-tx/entities/PaystreamTx.d.ts +8 -8
- package/dist/src/domain/model/paystream-tx/entities/PaystreamTx.js +65 -30
- package/dist/src/domain/model/paystream-tx/entities/PaystreamTxWithContent.d.ts +1 -1
- package/dist/src/domain/model/paystream-tx/entities/PaystreamTxWithContent.js +5 -6
- package/dist/src/domain/model/paystream-tx/entities/index.d.ts +1 -0
- package/dist/src/domain/model/paystream-tx/entities/index.js +37 -20
- package/dist/src/domain/model/paystream-tx/entities/index.js.map +1 -1
- package/dist/src/domain/model/paystream-tx/index.js +35 -19
- 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/entities/ReportItem.d.ts +31 -31
- package/dist/src/domain/model/report/entities/ReportItem.js +4 -5
- package/dist/src/domain/model/report/entities/index.js +34 -18
- 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/cancelStream.dto.js +70 -30
- package/dist/src/domain/model/stream/dtos/createStream.dto.d.ts +12 -12
- package/dist/src/domain/model/stream/dtos/createStream.dto.js +128 -53
- 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/dtos/withdrawStream.dto.js +62 -27
- package/dist/src/domain/model/stream/index.js +34 -18
- package/dist/src/domain/model/stream-backend/dtos/cancelStreamBackend.dto.d.ts +5 -5
- package/dist/src/domain/model/stream-backend/dtos/cancelStreamBackend.dto.js +70 -30
- package/dist/src/domain/model/stream-backend/dtos/createStreamBackend.dto.d.ts +12 -12
- package/dist/src/domain/model/stream-backend/dtos/createStreamBackend.dto.js +128 -53
- package/dist/src/domain/model/stream-backend/dtos/index.js +36 -20
- package/dist/src/domain/model/stream-backend/dtos/withdrawStreamBackend.dto.d.ts +4 -4
- package/dist/src/domain/model/stream-backend/dtos/withdrawStreamBackend.dto.js +62 -27
- package/dist/src/domain/model/stream-backend/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/dtos/index.js +34 -18
- package/dist/src/domain/model/stream-features/dtos/streamFeaturesDto.d.ts +10 -10
- package/dist/src/domain/model/stream-features/dtos/streamFeaturesDto.js +109 -44
- package/dist/src/domain/model/stream-features/entities/StreamFeatures.d.ts +1 -2
- package/dist/src/domain/model/stream-features/entities/StreamFeatures.js +5 -6
- package/dist/src/domain/model/stream-features/entities/index.js +34 -18
- package/dist/src/domain/model/stream-features/index.js +35 -19
- package/dist/src/domain/model/submit-transaction/dtos/submitTransaction.dto.d.ts +3 -0
- package/dist/src/domain/model/submit-transaction/dtos/submitTransaction.dto.js +12 -0
- package/dist/src/domain/model/submit-transaction/dtos/submitTransaction.dto.js.map +1 -1
- package/dist/src/domain/model/submit-transaction/index.js +34 -18
- package/dist/src/domain/model/transaction-meta/dtos/createTransactionMeta.dto.d.ts +9 -9
- package/dist/src/domain/model/transaction-meta/dtos/createTransactionMeta.dto.js +105 -45
- package/dist/src/domain/model/transaction-meta/dtos/index.js +34 -18
- package/dist/src/domain/model/transaction-meta/entities/BaseTransactionMeta.d.ts +9 -9
- package/dist/src/domain/model/transaction-meta/entities/BaseTransactionMeta.js +38 -18
- 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/index.js +36 -20
- package/dist/src/domain/model/transaction-meta/index.js +35 -19
- 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/dtos/updateUser.dto.js +61 -26
- 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/Wallet.d.ts +1 -1
- package/dist/src/domain/model/wallet/entities/Wallet.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/entities/index.js +36 -20
- package/dist/src/domain/model/wallet/index.js +35 -19
- 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 +2 -2
- package/dist/src/domain/model/withdrawal/entities/BaseWithdrawal.js +37 -17
- 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 +6 -0
- package/dist/src/domain/model/withdrawal/entities/WithdrawalWithTransaction.js +7 -0
- package/dist/src/domain/model/withdrawal/entities/WithdrawalWithTransaction.js.map +1 -0
- package/dist/src/domain/model/withdrawal/entities/index.d.ts +1 -0
- package/dist/src/domain/model/withdrawal/entities/index.js +35 -18
- package/dist/src/domain/model/withdrawal/entities/index.js.map +1 -1
- 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 +1 -1
- package/dist/src/domain/services/EmailService.js +7 -7
- package/dist/src/domain/services/FeeService.d.ts +7 -4
- package/dist/src/domain/services/FeeService.js +8 -9
- package/dist/src/domain/services/HelioUIService.d.ts +1 -1
- package/dist/src/domain/services/HelioUIService.js +6 -6
- package/dist/src/domain/services/SolscanService.d.ts +1 -1
- package/dist/src/domain/services/SolscanService.js +8 -8
- package/dist/src/domain/services/index.js +38 -22
- package/dist/src/index.js +34 -18
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/yarn-error.log +5475 -0
- package/dist/src/domain/model/apiKey/dtos/updateApiKeyDto.d.ts +0 -4
- package/dist/src/domain/model/apiKey/dtos/updateApiKeyDto.js +0 -27
- package/dist/src/domain/model/apiKey/dtos/updateApiKeyDto.js.map +0 -1
- package/dist/src/domain/model/approve-transaction/dtos/approveTransactionDto.d.ts +0 -14
- package/dist/src/domain/model/approve-transaction/dtos/approveTransactionDto.js +0 -82
- package/dist/src/domain/model/approve-transaction/dtos/approveTransactionDto.js.map +0 -1
- package/dist/src/domain/model/attachment/dtos/createAttachmentDto.d.ts +0 -7
- package/dist/src/domain/model/attachment/dtos/createAttachmentDto.js +0 -40
- package/dist/src/domain/model/attachment/dtos/createAttachmentDto.js.map +0 -1
- package/dist/src/domain/model/attachment/entities/AttachmentType.enum.d.ts +0 -3
- package/dist/src/domain/model/attachment/entities/AttachmentType.enum.js +0 -8
- package/dist/src/domain/model/attachment/entities/AttachmentType.enum.js.map +0 -1
- package/dist/src/domain/model/auth/dtos/signOnDto.d.ts +0 -4
- package/dist/src/domain/model/auth/dtos/signOnDto.js +0 -30
- package/dist/src/domain/model/auth/dtos/signOnDto.js.map +0 -1
- package/dist/src/domain/model/blockchain/dtos/blockchainDto.d.ts +0 -4
- package/dist/src/domain/model/blockchain/dtos/blockchainDto.js +0 -27
- package/dist/src/domain/model/blockchain/dtos/blockchainDto.js.map +0 -1
- package/dist/src/domain/model/company/dtos/createCompanyDto.d.ts +0 -7
- package/dist/src/domain/model/company/dtos/createCompanyDto.js +0 -48
- package/dist/src/domain/model/company/dtos/createCompanyDto.js.map +0 -1
- package/dist/src/domain/model/company/dtos/updateCompanyDto.d.ts +0 -7
- package/dist/src/domain/model/company/dtos/updateCompanyDto.js +0 -48
- package/dist/src/domain/model/company/dtos/updateCompanyDto.js.map +0 -1
- package/dist/src/domain/model/content/dtos/contentDto.d.ts +0 -4
- package/dist/src/domain/model/content/dtos/contentDto.js +0 -27
- package/dist/src/domain/model/content/dtos/contentDto.js.map +0 -1
- package/dist/src/domain/model/currency/dtos/createCurrency.d.ts +0 -9
- package/dist/src/domain/model/currency/dtos/createCurrency.js +0 -54
- package/dist/src/domain/model/currency/dtos/createCurrency.js.map +0 -1
- package/dist/src/domain/model/currency/dtos/updateCurrency.d.ts +0 -9
- package/dist/src/domain/model/currency/dtos/updateCurrency.js +0 -60
- package/dist/src/domain/model/currency/dtos/updateCurrency.js.map +0 -1
- package/dist/src/domain/model/customer-details/dtos/CustomerDetailsDto.d.ts +0 -9
- package/dist/src/domain/model/customer-details/dtos/CustomerDetailsDto.js +0 -53
- package/dist/src/domain/model/customer-details/dtos/CustomerDetailsDto.js.map +0 -1
- package/dist/src/domain/model/discordDetails/dtos/createDiscordDetails.d.ts +0 -6
- package/dist/src/domain/model/discordDetails/dtos/createDiscordDetails.js +0 -39
- package/dist/src/domain/model/discordDetails/dtos/createDiscordDetails.js.map +0 -1
- package/dist/src/domain/model/discordDetails/dtos/updateDiscordDetails.d.ts +0 -5
- package/dist/src/domain/model/discordDetails/dtos/updateDiscordDetails.js +0 -36
- package/dist/src/domain/model/discordDetails/dtos/updateDiscordDetails.js.map +0 -1
- package/dist/src/domain/model/discordDetails/entities/DiscordBotType.d.ts +0 -4
- package/dist/src/domain/model/discordDetails/entities/DiscordBotType.js +0 -9
- package/dist/src/domain/model/discordDetails/entities/DiscordBotType.js.map +0 -1
- package/dist/src/domain/model/email/dtos/emailDto.d.ts +0 -10
- package/dist/src/domain/model/email/dtos/emailDto.js +0 -63
- package/dist/src/domain/model/email/dtos/emailDto.js.map +0 -1
- package/dist/src/domain/model/link-features/dtos/linkFeaturesDto.d.ts +0 -12
- package/dist/src/domain/model/link-features/dtos/linkFeaturesDto.js +0 -67
- package/dist/src/domain/model/link-features/dtos/linkFeaturesDto.js.map +0 -1
- package/dist/src/domain/model/paylink/dtos/createPaylinkDto.d.ts +0 -19
- package/dist/src/domain/model/paylink/dtos/createPaylinkDto.js +0 -114
- package/dist/src/domain/model/paylink/dtos/createPaylinkDto.js.map +0 -1
- package/dist/src/domain/model/paylink/dtos/updatePaylinkDto.d.ts +0 -17
- package/dist/src/domain/model/paylink/dtos/updatePaylinkDto.js +0 -102
- package/dist/src/domain/model/paylink/dtos/updatePaylinkDto.js.map +0 -1
- package/dist/src/domain/model/paylink-tx/dtos/createPaylinkTxDto.d.ts +0 -6
- package/dist/src/domain/model/paylink-tx/dtos/createPaylinkTxDto.js +0 -36
- package/dist/src/domain/model/paylink-tx/dtos/createPaylinkTxDto.js.map +0 -1
- package/dist/src/domain/model/paylink-tx/dtos/updatePaylinkTxDto.d.ts +0 -3
- package/dist/src/domain/model/paylink-tx/dtos/updatePaylinkTxDto.js +0 -22
- package/dist/src/domain/model/paylink-tx/dtos/updatePaylinkTxDto.js.map +0 -1
- package/dist/src/domain/model/payment-request/entities/PaymentType.d.ts +0 -4
- package/dist/src/domain/model/payment-request/entities/PaymentType.js +0 -9
- package/dist/src/domain/model/payment-request/entities/PaymentType.js.map +0 -1
- package/dist/src/domain/model/product/dtos/ProductDto.d.ts +0 -6
- package/dist/src/domain/model/product/dtos/ProductDto.js +0 -37
- package/dist/src/domain/model/product/dtos/ProductDto.js.map +0 -1
- package/dist/src/domain/model/product-details/dtos/ProductDetailsDto.d.ts +0 -4
- package/dist/src/domain/model/product-details/dtos/ProductDetailsDto.js +0 -30
- package/dist/src/domain/model/product-details/dtos/ProductDetailsDto.js.map +0 -1
- package/dist/src/domain/model/role/dtos/createRoleDto.d.ts +0 -6
- package/dist/src/domain/model/role/dtos/createRoleDto.js +0 -37
- package/dist/src/domain/model/role/dtos/createRoleDto.js.map +0 -1
- package/dist/src/domain/model/role/dtos/updateRoleDto.d.ts +0 -4
- package/dist/src/domain/model/role/dtos/updateRoleDto.js +0 -25
- package/dist/src/domain/model/role/dtos/updateRoleDto.js.map +0 -1
- package/dist/src/domain/model/slug/dtos/slug.d.ts +0 -6
- package/dist/src/domain/model/slug/dtos/slug.js +0 -37
- package/dist/src/domain/model/slug/dtos/slug.js.map +0 -1
- package/dist/src/domain/model/transaction-meta/dtos/CreateTransactionMetaDto.d.ts +0 -11
- package/dist/src/domain/model/transaction-meta/dtos/CreateTransactionMetaDto.js +0 -63
- package/dist/src/domain/model/transaction-meta/dtos/CreateTransactionMetaDto.js.map +0 -1
- package/dist/src/domain/model/user/dtos/CreateUserDto.d.ts +0 -6
- package/dist/src/domain/model/user/dtos/CreateUserDto.js +0 -37
- package/dist/src/domain/model/user/dtos/CreateUserDto.js.map +0 -1
- package/dist/src/domain/model/user/dtos/UpdateUserDto.d.ts +0 -6
- package/dist/src/domain/model/user/dtos/UpdateUserDto.js +0 -42
- package/dist/src/domain/model/user/dtos/UpdateUserDto.js.map +0 -1
- package/dist/src/domain/model/wallet/dtos/UpdateWalletDto.d.ts +0 -3
- package/dist/src/domain/model/wallet/dtos/UpdateWalletDto.js +0 -23
- package/dist/src/domain/model/wallet/dtos/UpdateWalletDto.js.map +0 -1
|
@@ -1,21 +1,38 @@
|
|
|
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.UpdateWalletDto = void 0;
|
|
13
|
-
const class_validator_1 = require(
|
|
14
|
-
class UpdateWalletDto {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
29
|
+
const class_validator_1 = require('class-validator');
|
|
30
|
+
class UpdateWalletDto {}
|
|
31
|
+
__decorate(
|
|
32
|
+
[(0, class_validator_1.IsString)(), __metadata('design:type', String)],
|
|
33
|
+
UpdateWalletDto.prototype,
|
|
34
|
+
'name',
|
|
35
|
+
void 0,
|
|
36
|
+
);
|
|
20
37
|
exports.UpdateWalletDto = UpdateWalletDto;
|
|
21
|
-
//# sourceMappingURL=updateWallet.dto.js.map
|
|
38
|
+
//# sourceMappingURL=updateWallet.dto.js.map
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports,
|
|
1
|
+
'use strict';
|
|
2
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3
3
|
exports.BaseWallet = void 0;
|
|
4
|
-
const entity_1 = require(
|
|
5
|
-
class BaseWallet extends entity_1.Entity {
|
|
6
|
-
}
|
|
4
|
+
const entity_1 = require('../../entity');
|
|
5
|
+
class BaseWallet extends entity_1.Entity {}
|
|
7
6
|
exports.BaseWallet = BaseWallet;
|
|
8
|
-
//# sourceMappingURL=BaseWallet.js.map
|
|
7
|
+
//# sourceMappingURL=BaseWallet.js.map
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports,
|
|
1
|
+
'use strict';
|
|
2
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3
3
|
exports.Wallet = void 0;
|
|
4
|
-
const BaseWallet_1 = require(
|
|
5
|
-
class Wallet extends BaseWallet_1.BaseWallet {
|
|
6
|
-
}
|
|
4
|
+
const BaseWallet_1 = require('./BaseWallet');
|
|
5
|
+
class Wallet extends BaseWallet_1.BaseWallet {}
|
|
7
6
|
exports.Wallet = Wallet;
|
|
8
|
-
//# sourceMappingURL=Wallet.js.map
|
|
7
|
+
//# sourceMappingURL=Wallet.js.map
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports,
|
|
1
|
+
'use strict';
|
|
2
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3
3
|
exports.WalletDetails = void 0;
|
|
4
|
-
const entity_1 = require(
|
|
5
|
-
class WalletDetails extends entity_1.Entity {
|
|
6
|
-
}
|
|
4
|
+
const entity_1 = require('../../entity');
|
|
5
|
+
class WalletDetails extends entity_1.Entity {}
|
|
7
6
|
exports.WalletDetails = WalletDetails;
|
|
8
|
-
//# sourceMappingURL=WalletDetails.js.map
|
|
7
|
+
//# sourceMappingURL=WalletDetails.js.map
|
|
@@ -1,20 +1,36 @@
|
|
|
1
|
-
|
|
2
|
-
var __createBinding =
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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('./Wallet'), exports);
|
|
34
|
+
__exportStar(require('./BaseWallet'), exports);
|
|
35
|
+
__exportStar(require('./WalletDetails'), exports);
|
|
36
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1,19 +1,35 @@
|
|
|
1
|
-
|
|
2
|
-
var __createBinding =
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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('./dtos'), exports);
|
|
34
|
+
__exportStar(require('./entities'), exports);
|
|
35
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1,34 +1,64 @@
|
|
|
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.CreateWithdrawalDto = void 0;
|
|
13
|
-
const class_transformer_1 = require(
|
|
14
|
-
const class_validator_1 = require(
|
|
15
|
-
const stream_event_1 = require(
|
|
16
|
-
class CreateWithdrawalDto extends stream_event_1.CreateStreamEventDto {
|
|
17
|
-
|
|
18
|
-
|
|
29
|
+
const class_transformer_1 = require('class-transformer');
|
|
30
|
+
const class_validator_1 = require('class-validator');
|
|
31
|
+
const stream_event_1 = require('../../stream-event');
|
|
32
|
+
class CreateWithdrawalDto extends stream_event_1.CreateStreamEventDto {}
|
|
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
|
+
CreateWithdrawalDto.prototype,
|
|
40
|
+
'paystreamTx',
|
|
41
|
+
void 0,
|
|
42
|
+
);
|
|
43
|
+
__decorate(
|
|
44
|
+
[
|
|
24
45
|
(0, class_validator_1.IsNotEmpty)(),
|
|
25
46
|
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
26
|
-
__metadata(
|
|
27
|
-
],
|
|
28
|
-
|
|
47
|
+
__metadata('design:type', BigInt),
|
|
48
|
+
],
|
|
49
|
+
CreateWithdrawalDto.prototype,
|
|
50
|
+
'amount',
|
|
51
|
+
void 0,
|
|
52
|
+
);
|
|
53
|
+
__decorate(
|
|
54
|
+
[
|
|
29
55
|
(0, class_validator_1.IsOptional)(),
|
|
30
56
|
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
31
|
-
__metadata(
|
|
32
|
-
],
|
|
57
|
+
__metadata('design:type', BigInt),
|
|
58
|
+
],
|
|
59
|
+
CreateWithdrawalDto.prototype,
|
|
60
|
+
'fee',
|
|
61
|
+
void 0,
|
|
62
|
+
);
|
|
33
63
|
exports.CreateWithdrawalDto = CreateWithdrawalDto;
|
|
34
|
-
//# sourceMappingURL=createWithdrawalDto.js.map
|
|
64
|
+
//# sourceMappingURL=createWithdrawalDto.js.map
|
|
@@ -1,19 +1,35 @@
|
|
|
1
|
-
|
|
2
|
-
var __createBinding =
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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('./updateWithdrawalDto'), exports);
|
|
34
|
+
__exportStar(require('./createWithdrawalDto'), exports);
|
|
35
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1,23 +1,43 @@
|
|
|
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.UpdateWithdrawalDto = void 0;
|
|
13
|
-
const class_validator_1 = require(
|
|
14
|
-
const class_transformer_1 = require(
|
|
15
|
-
class UpdateWithdrawalDto {
|
|
16
|
-
|
|
17
|
-
|
|
29
|
+
const class_validator_1 = require('class-validator');
|
|
30
|
+
const class_transformer_1 = require('class-transformer');
|
|
31
|
+
class UpdateWithdrawalDto {}
|
|
32
|
+
__decorate(
|
|
33
|
+
[
|
|
18
34
|
(0, class_validator_1.IsNotEmpty)(),
|
|
19
35
|
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
20
|
-
__metadata(
|
|
21
|
-
],
|
|
36
|
+
__metadata('design:type', BigInt),
|
|
37
|
+
],
|
|
38
|
+
UpdateWithdrawalDto.prototype,
|
|
39
|
+
'amount',
|
|
40
|
+
void 0,
|
|
41
|
+
);
|
|
22
42
|
exports.UpdateWithdrawalDto = UpdateWithdrawalDto;
|
|
23
|
-
//# sourceMappingURL=updateWithdrawalDto.js.map
|
|
43
|
+
//# sourceMappingURL=updateWithdrawalDto.js.map
|
|
@@ -1,21 +1,41 @@
|
|
|
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.BaseWithdrawal = void 0;
|
|
13
|
-
const class_transformer_1 = require(
|
|
14
|
-
class BaseWithdrawal {
|
|
15
|
-
|
|
16
|
-
|
|
29
|
+
const class_transformer_1 = require('class-transformer');
|
|
30
|
+
class BaseWithdrawal {}
|
|
31
|
+
__decorate(
|
|
32
|
+
[
|
|
17
33
|
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
18
|
-
__metadata(
|
|
19
|
-
],
|
|
34
|
+
__metadata('design:type', BigInt),
|
|
35
|
+
],
|
|
36
|
+
BaseWithdrawal.prototype,
|
|
37
|
+
'amount',
|
|
38
|
+
void 0,
|
|
39
|
+
);
|
|
20
40
|
exports.BaseWithdrawal = BaseWithdrawal;
|
|
21
|
-
//# sourceMappingURL=BaseWithdrawal.js.map
|
|
41
|
+
//# sourceMappingURL=BaseWithdrawal.js.map
|
|
@@ -1,26 +1,51 @@
|
|
|
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.Withdrawal = void 0;
|
|
13
|
-
const class_transformer_1 = require(
|
|
14
|
-
const stream_event_1 = require(
|
|
15
|
-
class Withdrawal extends stream_event_1.StreamEvent {
|
|
16
|
-
|
|
17
|
-
|
|
29
|
+
const class_transformer_1 = require('class-transformer');
|
|
30
|
+
const stream_event_1 = require('../../stream-event');
|
|
31
|
+
class Withdrawal extends stream_event_1.StreamEvent {}
|
|
32
|
+
__decorate(
|
|
33
|
+
[
|
|
18
34
|
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
19
|
-
__metadata(
|
|
20
|
-
],
|
|
21
|
-
|
|
35
|
+
__metadata('design:type', BigInt),
|
|
36
|
+
],
|
|
37
|
+
Withdrawal.prototype,
|
|
38
|
+
'amount',
|
|
39
|
+
void 0,
|
|
40
|
+
);
|
|
41
|
+
__decorate(
|
|
42
|
+
[
|
|
22
43
|
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
23
|
-
__metadata(
|
|
24
|
-
],
|
|
44
|
+
__metadata('design:type', BigInt),
|
|
45
|
+
],
|
|
46
|
+
Withdrawal.prototype,
|
|
47
|
+
'fee',
|
|
48
|
+
void 0,
|
|
49
|
+
);
|
|
25
50
|
exports.Withdrawal = Withdrawal;
|
|
26
|
-
//# sourceMappingURL=Withdrawal.js.map
|
|
51
|
+
//# sourceMappingURL=Withdrawal.js.map
|