@heliofi/common 0.1.71 → 0.1.74
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 +2 -2
- package/dist/src/domain/model/paystream-tx/entities/BasePaystreamTxWithTransaction.js +5 -6
- 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.js +37 -21
- 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 +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 +5 -6
- 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/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 +3 -2
- package/yarn-error.log +5475 -0
- package/tsconfig.tsbuildinfo +0 -1
package/dist/index.js
CHANGED
|
@@ -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('./src'), exports);
|
|
34
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports,
|
|
1
|
+
'use strict';
|
|
2
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3
3
|
exports.emailValidationRegExp = void 0;
|
|
4
|
-
exports.emailValidationRegExp =
|
|
5
|
-
|
|
4
|
+
exports.emailValidationRegExp =
|
|
5
|
+
/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
|
|
6
|
+
//# sourceMappingURL=emailValidation.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports,
|
|
1
|
+
'use strict';
|
|
2
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3
3
|
exports.Environment = void 0;
|
|
4
4
|
var Environment;
|
|
5
5
|
(function (Environment) {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
})(Environment = exports.Environment || (exports.Environment = {}));
|
|
10
|
-
//# sourceMappingURL=environment.js.map
|
|
6
|
+
Environment['DEV'] = 'DEV';
|
|
7
|
+
Environment['TEST'] = 'TEST';
|
|
8
|
+
Environment['PROD'] = 'PROD';
|
|
9
|
+
})((Environment = exports.Environment || (exports.Environment = {})));
|
|
10
|
+
//# sourceMappingURL=environment.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('./emailValidation'), exports);
|
|
34
|
+
__exportStar(require('./orderDirection'), exports);
|
|
35
|
+
__exportStar(require('./environment'), exports);
|
|
36
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export declare enum OrderDirection {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ASC = 'ASC',
|
|
3
|
+
DESC = 'DESC',
|
|
4
4
|
}
|
|
5
|
-
export declare function isValidOrderDirection(
|
|
5
|
+
export declare function isValidOrderDirection(
|
|
6
|
+
value: string,
|
|
7
|
+
): value is OrderDirection;
|
|
6
8
|
export declare const orderDirectionAggregationMap: Map<OrderDirection, 1 | -1>;
|
|
@@ -1,17 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports,
|
|
3
|
-
exports.orderDirectionAggregationMap =
|
|
1
|
+
'use strict';
|
|
2
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3
|
+
exports.orderDirectionAggregationMap =
|
|
4
|
+
exports.isValidOrderDirection =
|
|
5
|
+
exports.OrderDirection =
|
|
6
|
+
void 0;
|
|
4
7
|
var OrderDirection;
|
|
5
8
|
(function (OrderDirection) {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
})(OrderDirection = exports.OrderDirection || (exports.OrderDirection = {}));
|
|
9
|
+
OrderDirection['ASC'] = 'ASC';
|
|
10
|
+
OrderDirection['DESC'] = 'DESC';
|
|
11
|
+
})((OrderDirection = exports.OrderDirection || (exports.OrderDirection = {})));
|
|
9
12
|
function isValidOrderDirection(value) {
|
|
10
|
-
|
|
13
|
+
return value === OrderDirection.ASC || value === OrderDirection.DESC;
|
|
11
14
|
}
|
|
12
15
|
exports.isValidOrderDirection = isValidOrderDirection;
|
|
13
16
|
exports.orderDirectionAggregationMap = new Map([
|
|
14
|
-
|
|
15
|
-
|
|
17
|
+
[OrderDirection.ASC, 1],
|
|
18
|
+
[OrderDirection.DESC, -1],
|
|
16
19
|
]);
|
|
17
|
-
//# sourceMappingURL=orderDirection.js.map
|
|
20
|
+
//# sourceMappingURL=orderDirection.js.map
|
package/dist/src/domain/index.js
CHANGED
|
@@ -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('./model'), exports);
|
|
34
|
+
__exportStar(require('./constants'), exports);
|
|
35
|
+
__exportStar(require('./services'), exports);
|
|
36
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1,32 +1,62 @@
|
|
|
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.CreateApiKeyDto = void 0;
|
|
13
|
-
const class_validator_1 = require(
|
|
14
|
-
class CreateApiKeyDto {
|
|
15
|
-
|
|
16
|
-
|
|
29
|
+
const class_validator_1 = require('class-validator');
|
|
30
|
+
class CreateApiKeyDto {}
|
|
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
|
+
CreateApiKeyDto.prototype,
|
|
38
|
+
'secretHash',
|
|
39
|
+
void 0,
|
|
40
|
+
);
|
|
41
|
+
__decorate(
|
|
42
|
+
[
|
|
22
43
|
(0, class_validator_1.IsNumber)(),
|
|
23
44
|
(0, class_validator_1.IsNotEmpty)(),
|
|
24
|
-
__metadata(
|
|
25
|
-
],
|
|
26
|
-
|
|
45
|
+
__metadata('design:type', Number),
|
|
46
|
+
],
|
|
47
|
+
CreateApiKeyDto.prototype,
|
|
48
|
+
'expiration',
|
|
49
|
+
void 0,
|
|
50
|
+
);
|
|
51
|
+
__decorate(
|
|
52
|
+
[
|
|
27
53
|
(0, class_validator_1.IsOptional)(),
|
|
28
54
|
(0, class_validator_1.IsString)(),
|
|
29
|
-
__metadata(
|
|
30
|
-
],
|
|
55
|
+
__metadata('design:type', String),
|
|
56
|
+
],
|
|
57
|
+
CreateApiKeyDto.prototype,
|
|
58
|
+
'publicKey',
|
|
59
|
+
void 0,
|
|
60
|
+
);
|
|
31
61
|
exports.CreateApiKeyDto = CreateApiKeyDto;
|
|
32
|
-
//# sourceMappingURL=createApiKey.dto.js.map
|
|
62
|
+
//# sourceMappingURL=createApiKey.dto.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.CreateApiKeyDto = void 0;
|
|
13
|
-
const class_validator_1 = require(
|
|
14
|
-
class CreateApiKeyDto {
|
|
15
|
-
|
|
16
|
-
|
|
29
|
+
const class_validator_1 = require('class-validator');
|
|
30
|
+
class CreateApiKeyDto {}
|
|
31
|
+
__decorate(
|
|
32
|
+
[
|
|
17
33
|
(0, class_validator_1.IsOptional)(),
|
|
18
34
|
(0, class_validator_1.IsString)(),
|
|
19
|
-
__metadata(
|
|
20
|
-
],
|
|
21
|
-
|
|
35
|
+
__metadata('design:type', String),
|
|
36
|
+
],
|
|
37
|
+
CreateApiKeyDto.prototype,
|
|
38
|
+
'publicKey',
|
|
39
|
+
void 0,
|
|
40
|
+
);
|
|
41
|
+
__decorate(
|
|
42
|
+
[
|
|
22
43
|
(0, class_validator_1.IsNumber)(),
|
|
23
44
|
(0, class_validator_1.IsOptional)(),
|
|
24
|
-
__metadata(
|
|
25
|
-
],
|
|
45
|
+
__metadata('design:type', Number),
|
|
46
|
+
],
|
|
47
|
+
CreateApiKeyDto.prototype,
|
|
48
|
+
'expiration',
|
|
49
|
+
void 0,
|
|
50
|
+
);
|
|
26
51
|
exports.CreateApiKeyDto = CreateApiKeyDto;
|
|
27
|
-
//# sourceMappingURL=createApiKeyDto.js.map
|
|
52
|
+
//# sourceMappingURL=createApiKeyDto.js.map
|
|
@@ -1,37 +1,72 @@
|
|
|
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.CreateApiKeyDtoInternal = void 0;
|
|
13
|
-
const class_validator_1 = require(
|
|
14
|
-
class CreateApiKeyDtoInternal {
|
|
15
|
-
|
|
16
|
-
|
|
29
|
+
const class_validator_1 = require('class-validator');
|
|
30
|
+
class CreateApiKeyDtoInternal {}
|
|
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
|
+
CreateApiKeyDtoInternal.prototype,
|
|
38
|
+
'secretHash',
|
|
39
|
+
void 0,
|
|
40
|
+
);
|
|
41
|
+
__decorate(
|
|
42
|
+
[
|
|
22
43
|
(0, class_validator_1.IsNumber)(),
|
|
23
44
|
(0, class_validator_1.IsNotEmpty)(),
|
|
24
|
-
__metadata(
|
|
25
|
-
],
|
|
26
|
-
|
|
45
|
+
__metadata('design:type', Number),
|
|
46
|
+
],
|
|
47
|
+
CreateApiKeyDtoInternal.prototype,
|
|
48
|
+
'expiration',
|
|
49
|
+
void 0,
|
|
50
|
+
);
|
|
51
|
+
__decorate(
|
|
52
|
+
[
|
|
27
53
|
(0, class_validator_1.IsNotEmpty)(),
|
|
28
54
|
(0, class_validator_1.IsString)(),
|
|
29
|
-
__metadata(
|
|
30
|
-
],
|
|
31
|
-
|
|
55
|
+
__metadata('design:type', String),
|
|
56
|
+
],
|
|
57
|
+
CreateApiKeyDtoInternal.prototype,
|
|
58
|
+
'apiKey',
|
|
59
|
+
void 0,
|
|
60
|
+
);
|
|
61
|
+
__decorate(
|
|
62
|
+
[
|
|
32
63
|
(0, class_validator_1.IsOptional)(),
|
|
33
64
|
(0, class_validator_1.IsString)(),
|
|
34
|
-
__metadata(
|
|
35
|
-
],
|
|
65
|
+
__metadata('design:type', String),
|
|
66
|
+
],
|
|
67
|
+
CreateApiKeyDtoInternal.prototype,
|
|
68
|
+
'publicKey',
|
|
69
|
+
void 0,
|
|
70
|
+
);
|
|
36
71
|
exports.CreateApiKeyDtoInternal = CreateApiKeyDtoInternal;
|
|
37
|
-
//# sourceMappingURL=createApiKeyDtoInternal.js.map
|
|
72
|
+
//# sourceMappingURL=createApiKeyDtoInternal.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('./createApiKeyDtoInternal'), exports);
|
|
34
|
+
__exportStar(require('./createApiKeyDto'), exports);
|
|
35
|
+
__exportStar(require('./updateApiKey.dto'), exports);
|
|
36
|
+
//# sourceMappingURL=index.js.map
|