@heliofi/common 0.1.198 → 0.1.199
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/src/domain/constants/environment.d.ts +3 -3
- package/dist/src/domain/constants/generalNetwork.d.ts +5 -0
- package/dist/src/domain/constants/generalNetwork.js +10 -0
- package/dist/src/domain/constants/generalNetwork.js.map +1 -0
- package/dist/src/domain/constants/index.d.ts +1 -0
- package/dist/src/domain/constants/index.js +1 -0
- package/dist/src/domain/constants/index.js.map +1 -1
- package/dist/src/domain/constants/orderDirection.d.ts +3 -5
- package/dist/src/domain/model/apiKey/dtos/createApiKeyDtoInternal.d.ts +4 -4
- package/dist/src/domain/model/apiKey/entities/ApiKeyAccess.d.ts +3 -3
- package/dist/src/domain/model/approve-transaction/dtos/approveTransaction.dto.d.ts +12 -12
- package/dist/src/domain/model/attachment/dtos/createAttachmentInternal.dto.d.ts +4 -4
- package/dist/src/domain/model/auth/dtos/signOn.dto.d.ts +2 -2
- package/dist/src/domain/model/auth/dtos/transactionSignOn.dto.d.ts +1 -1
- package/dist/src/domain/model/auth/entities/AuthResponse.d.ts +4 -4
- package/dist/src/domain/model/blockchain/constants/Cluster.d.ts +3 -3
- package/dist/src/domain/model/blockchain/dtos/blockchain.dto.d.ts +2 -2
- package/dist/src/domain/model/breakpoint/dtos/breakpoint.dto.d.ts +8 -8
- package/dist/src/domain/model/breakpoint/entities/BreakpointResponse.d.ts +2 -2
- package/dist/src/domain/model/discordDetails/dtos/createDiscordDetails.dto.d.ts +5 -5
- package/dist/src/domain/model/discordDetails/dtos/updateDiscordDetails.dto.d.ts +4 -4
- package/dist/src/domain/model/discordDetails/entities/BaseDiscordDetails.d.ts +5 -5
- package/dist/src/domain/model/discordDetails/entities/DiscordBotVersion.d.ts +2 -2
- package/dist/src/domain/model/discordDetails/entities/DiscordDetails.d.ts +1 -1
- package/dist/src/domain/model/entity/Entity.d.ts +2 -2
- package/dist/src/domain/model/fee/entities/FeeFeature.enum.d.ts +2 -1
- package/dist/src/domain/model/fee/entities/FeeFeature.enum.js +1 -0
- package/dist/src/domain/model/fee/entities/FeeFeature.enum.js.map +1 -1
- package/dist/src/domain/model/fixed-currency/entities/TokenRatePayload.d.ts +1 -1
- package/dist/src/domain/model/index.d.ts +1 -0
- package/dist/src/domain/model/index.js +1 -0
- package/dist/src/domain/model/index.js.map +1 -1
- package/dist/src/domain/model/metrics/entities/Metrics.d.ts +5 -5
- package/dist/src/domain/model/paylink/entities/BasePaylink.d.ts +3 -3
- package/dist/src/domain/model/paylink/entities/Paylink.d.ts +3 -3
- package/dist/src/domain/model/paylink-tx/dtos/createPaylinkTx.dto.d.ts +4 -4
- package/dist/src/domain/model/paylink-tx/dtos/updatePaylinkTx.dto.d.ts +1 -1
- package/dist/src/domain/model/paylink-tx/entities/BasePaylinkTx.d.ts +5 -5
- package/dist/src/domain/model/paylink-tx/entities/PaylinkTx.d.ts +2 -2
- package/dist/src/domain/model/paylink-tx/entities/PaylinkTxWithMeta.d.ts +1 -1
- package/dist/src/domain/model/paylink-tx/entities/ShallowEnrichedPaylinkTx.d.ts +2 -2
- package/dist/src/domain/model/paystream/entities/IntervalType.d.ts +7 -7
- package/dist/src/domain/model/paystream-tx/dtos/createPaystreamTxDto.d.ts +7 -7
- package/dist/src/domain/model/paystream-tx/dtos/updatePaystreamTxDto.d.ts +3 -3
- package/dist/src/domain/model/prepare-refund/dtos/index.d.ts +1 -0
- package/dist/src/domain/{contact/entities → model/prepare-refund/dtos}/index.js +1 -1
- package/dist/src/domain/model/prepare-refund/dtos/index.js.map +1 -0
- package/dist/src/domain/model/prepare-refund/dtos/prepareRefund.dto.d.ts +6 -0
- package/dist/src/domain/model/{submit-transaction/dtos/CheckTransactionStatus.dto.js → prepare-refund/dtos/prepareRefund.dto.js} +12 -6
- package/dist/src/domain/model/prepare-refund/dtos/prepareRefund.dto.js.map +1 -0
- package/dist/src/domain/model/prepare-refund/index.d.ts +1 -0
- package/dist/src/domain/{contactAddress → model/prepare-refund}/index.js +0 -1
- package/dist/src/domain/model/prepare-refund/index.js.map +1 -0
- package/dist/src/domain/model/product/dtos/product.dto.d.ts +3 -3
- package/dist/src/domain/model/product/entities/Product.d.ts +3 -3
- package/dist/src/domain/model/product/entities/ProductInputType.d.ts +2 -2
- package/dist/src/domain/model/product-details/dtos/productDetails.dto.d.ts +2 -2
- package/dist/src/domain/model/product-details/entities/ProductDetails.d.ts +2 -2
- package/dist/src/domain/model/role/dtos/createRole.dto.d.ts +3 -3
- package/dist/src/domain/model/role/dtos/updateRole.dto.d.ts +1 -1
- package/dist/src/domain/model/role/entities/BaseRole.d.ts +2 -2
- package/dist/src/domain/model/role/entities/Role.d.ts +2 -2
- package/dist/src/domain/model/role/entities/RoleType.d.ts +3 -3
- package/dist/src/domain/model/role/entities/ShallowEnrichedRole.d.ts +2 -2
- package/dist/src/domain/model/slug/dtos/slug.dto.d.ts +3 -3
- package/dist/src/domain/model/slug/dtos/updateSlug.dto.d.ts +3 -3
- package/dist/src/domain/model/slug/entities/Slug.d.ts +6 -6
- package/dist/src/domain/model/slug/entities/SlugObjectType.d.ts +3 -3
- package/dist/src/domain/model/split-account/dtos/splitAccount.dto.d.ts +2 -2
- package/dist/src/domain/model/split-account/entities/SplitAccount.d.ts +2 -2
- package/dist/src/domain/model/split-wallets/dtos/splitWallet.dto.d.ts +2 -2
- package/dist/src/domain/model/split-wallets/entities/SplitWallet.d.ts +2 -2
- package/dist/src/domain/model/stream/dtos/cancelStream.dto.d.ts +5 -5
- package/dist/src/domain/model/stream/dtos/createStream.dto.d.ts +12 -12
- package/dist/src/domain/model/stream/dtos/withdrawStream.dto.d.ts +4 -4
- package/dist/src/domain/model/stream-event/dtos/createStreamEventDto.d.ts +2 -2
- package/dist/src/domain/model/stream-event/dtos/updateStreamEventDto.d.ts +2 -2
- package/dist/src/domain/model/stream-event/entities/StreamEvent.d.ts +2 -2
- package/dist/src/domain/model/wallet/dtos/updateWallet.dto.d.ts +1 -1
- package/dist/src/domain/model/webhook/paylink-transaction-hook/dtos/CreatePaylinkTransactionHook.dto.d.ts +3 -3
- package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionEvent.entity.d.ts +1 -1
- package/dist/src/domain/model/withdrawal/dtos/createWithdrawalDto.d.ts +3 -3
- package/dist/src/domain/model/withdrawal/dtos/updateWithdrawalDto.d.ts +1 -1
- package/dist/src/domain/model/withdrawal/entities/Withdrawal.d.ts +3 -3
- package/dist/src/domain/model/withdrawal/entities/WithdrawalWithTransaction.d.ts +2 -2
- package/dist/src/domain/services/ClusterService.d.ts +9 -0
- package/dist/src/domain/services/ClusterService.js +57 -0
- package/dist/src/domain/services/ClusterService.js.map +1 -0
- package/dist/src/domain/services/CurrencyService.d.ts +1 -1
- package/dist/src/domain/services/SolscanService.d.ts +1 -1
- package/dist/src/domain/services/index.d.ts +1 -0
- package/dist/src/domain/services/index.js +1 -0
- package/dist/src/domain/services/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/src/domain/contact/dtos/createContact.dto.d.ts +0 -8
- package/dist/src/domain/contact/dtos/createContact.dto.js +0 -45
- package/dist/src/domain/contact/dtos/createContact.dto.js.map +0 -1
- package/dist/src/domain/contact/dtos/index.d.ts +0 -2
- package/dist/src/domain/contact/dtos/index.js +0 -19
- package/dist/src/domain/contact/dtos/index.js.map +0 -1
- package/dist/src/domain/contact/dtos/updateContact.dto.d.ts +0 -8
- package/dist/src/domain/contact/dtos/updateContact.dto.js +0 -45
- package/dist/src/domain/contact/dtos/updateContact.dto.js.map +0 -1
- package/dist/src/domain/contact/entities/Contact.entity.d.ts +0 -14
- package/dist/src/domain/contact/entities/Contact.entity.js +0 -8
- package/dist/src/domain/contact/entities/Contact.entity.js.map +0 -1
- package/dist/src/domain/contact/entities/index.d.ts +0 -1
- package/dist/src/domain/contact/entities/index.js.map +0 -1
- package/dist/src/domain/contact/index.d.ts +0 -2
- package/dist/src/domain/contact/index.js +0 -19
- package/dist/src/domain/contact/index.js.map +0 -1
- package/dist/src/domain/contactAddress/dtos/ContactAddress.dto.d.ts +0 -8
- package/dist/src/domain/contactAddress/dtos/ContactAddress.dto.js +0 -47
- package/dist/src/domain/contactAddress/dtos/ContactAddress.dto.js.map +0 -1
- package/dist/src/domain/contactAddress/dtos/index.d.ts +0 -1
- package/dist/src/domain/contactAddress/dtos/index.js +0 -18
- package/dist/src/domain/contactAddress/dtos/index.js.map +0 -1
- package/dist/src/domain/contactAddress/entities/ContactAddress.entity.d.ts +0 -9
- package/dist/src/domain/contactAddress/entities/ContactAddress.entity.js +0 -8
- package/dist/src/domain/contactAddress/entities/ContactAddress.entity.js.map +0 -1
- package/dist/src/domain/contactAddress/entities/index.d.ts +0 -1
- package/dist/src/domain/contactAddress/entities/index.js +0 -18
- package/dist/src/domain/contactAddress/entities/index.js.map +0 -1
- package/dist/src/domain/contactAddress/index.d.ts +0 -2
- package/dist/src/domain/contactAddress/index.js.map +0 -1
- package/dist/src/domain/model/apiKey/dtos/createApiKeyDto.d.ts +0 -4
- package/dist/src/domain/model/apiKey/dtos/createApiKeyDto.js +0 -52
- package/dist/src/domain/model/apiKey/dtos/createApiKeyDto.js.map +0 -1
- package/dist/src/domain/model/apiKey/entities/ApiKey.d.ts +0 -11
- package/dist/src/domain/model/apiKey/entities/ApiKey.js +0 -7
- package/dist/src/domain/model/apiKey/entities/ApiKey.js.map +0 -1
- package/dist/src/domain/model/attachment/entities/BaseAttachment.d.ts +0 -7
- package/dist/src/domain/model/attachment/entities/BaseAttachment.js +0 -8
- package/dist/src/domain/model/attachment/entities/BaseAttachment.js.map +0 -1
- package/dist/src/domain/model/audit/tx/dtos/CreatePaylinkTxAudit.dto.d.ts +0 -16
- package/dist/src/domain/model/audit/tx/dtos/CreatePaylinkTxAudit.dto.js +0 -3
- package/dist/src/domain/model/audit/tx/dtos/CreatePaylinkTxAudit.dto.js.map +0 -1
- package/dist/src/domain/model/blockchain/constants/ConfirmTimeout.d.ts +0 -5
- package/dist/src/domain/model/blockchain/constants/ConfirmTimeout.js +0 -10
- package/dist/src/domain/model/blockchain/constants/ConfirmTimeout.js.map +0 -1
- package/dist/src/domain/model/blockchain/entities/Blockchain.d.ts +0 -6
- package/dist/src/domain/model/blockchain/entities/Blockchain.js +0 -8
- package/dist/src/domain/model/blockchain/entities/Blockchain.js.map +0 -1
- package/dist/src/domain/model/company/entities/BaseCompany.d.ts +0 -13
- package/dist/src/domain/model/company/entities/BaseCompany.js +0 -8
- package/dist/src/domain/model/company/entities/BaseCompany.js.map +0 -1
- package/dist/src/domain/model/company/entities/Company.d.ts +0 -7
- package/dist/src/domain/model/company/entities/Company.js +0 -8
- package/dist/src/domain/model/company/entities/Company.js.map +0 -1
- package/dist/src/domain/model/currency/entities/BaseCurrency.d.ts +0 -14
- package/dist/src/domain/model/currency/entities/BaseCurrency.js +0 -8
- package/dist/src/domain/model/currency/entities/BaseCurrency.js.map +0 -1
- package/dist/src/domain/model/currency/entities/Currency.d.ts +0 -5
- package/dist/src/domain/model/currency/entities/Currency.js +0 -8
- package/dist/src/domain/model/currency/entities/Currency.js.map +0 -1
- package/dist/src/domain/model/location/entities/FetchifyFindAddress.d.ts +0 -8
- package/dist/src/domain/model/location/entities/FetchifyFindAddress.js +0 -8
- package/dist/src/domain/model/location/entities/FetchifyFindAddress.js.map +0 -1
- package/dist/src/domain/model/location/entities/FetchifyRetrieveAddress.d.ts +0 -13
- package/dist/src/domain/model/location/entities/FetchifyRetrieveAddress.js +0 -8
- package/dist/src/domain/model/location/entities/FetchifyRetrieveAddress.js.map +0 -1
- package/dist/src/domain/model/paystream-tx/entities/CheckoutStatus.d.ts +0 -16
- package/dist/src/domain/model/paystream-tx/entities/CheckoutStatus.js +0 -7
- package/dist/src/domain/model/paystream-tx/entities/CheckoutStatus.js.map +0 -1
- package/dist/src/domain/model/paystream-tx/entities/TransactionStatus.d.ts +0 -16
- package/dist/src/domain/model/paystream-tx/entities/TransactionStatus.js +0 -7
- package/dist/src/domain/model/paystream-tx/entities/TransactionStatus.js.map +0 -1
- package/dist/src/domain/model/prepare-invoice/entities/PrepareInvoice.d.ts +0 -5
- package/dist/src/domain/model/prepare-invoice/entities/PrepareInvoice.js +0 -8
- package/dist/src/domain/model/prepare-invoice/entities/PrepareInvoice.js.map +0 -1
- package/dist/src/domain/model/prepare-stream/entities/PrepareStream.d.ts +0 -5
- package/dist/src/domain/model/prepare-stream/entities/PrepareStream.js +0 -8
- package/dist/src/domain/model/prepare-stream/entities/PrepareStream.js.map +0 -1
- package/dist/src/domain/model/prepare-stream/entities/TokenStreamWithdrawPayload.d.ts +0 -5
- package/dist/src/domain/model/prepare-stream/entities/TokenStreamWithdrawPayload.js +0 -8
- package/dist/src/domain/model/prepare-stream/entities/TokenStreamWithdrawPayload.js.map +0 -1
- package/dist/src/domain/model/prepare-transaction/dtos/prepareSwappedTransaction.dto.d.ts +0 -4
- package/dist/src/domain/model/prepare-transaction/dtos/prepareSwappedTransaction.dto.js +0 -23
- package/dist/src/domain/model/prepare-transaction/dtos/prepareSwappedTransaction.dto.js.map +0 -1
- package/dist/src/domain/model/prepare-transaction/entities/PrepareSwapTransaction.d.ts +0 -5
- package/dist/src/domain/model/prepare-transaction/entities/PrepareSwapTransaction.js +0 -7
- package/dist/src/domain/model/prepare-transaction/entities/PrepareSwapTransaction.js.map +0 -1
- package/dist/src/domain/model/prepare-transaction/entities/PrepareSwappedTransaction.d.ts +0 -5
- package/dist/src/domain/model/prepare-transaction/entities/PrepareSwappedTransaction.js +0 -7
- package/dist/src/domain/model/prepare-transaction/entities/PrepareSwappedTransaction.js.map +0 -1
- package/dist/src/domain/model/prepare-transaction/entities/PrepareTransaction.d.ts +0 -5
- package/dist/src/domain/model/prepare-transaction/entities/PrepareTransaction.js +0 -8
- package/dist/src/domain/model/prepare-transaction/entities/PrepareTransaction.js.map +0 -1
- package/dist/src/domain/model/report/entities/ReportItem.d.ts +0 -37
- package/dist/src/domain/model/report/entities/ReportItem.js +0 -7
- package/dist/src/domain/model/report/entities/ReportItem.js.map +0 -1
- package/dist/src/domain/model/submit-transaction/dtos/CheckTransactionStatus.dto.d.ts +0 -4
- package/dist/src/domain/model/submit-transaction/dtos/CheckTransactionStatus.dto.js.map +0 -1
- package/dist/src/domain/model/submit-transaction/dtos/submitSwappedTransaction.dto.d.ts +0 -4
- package/dist/src/domain/model/submit-transaction/dtos/submitSwappedTransaction.dto.js +0 -23
- package/dist/src/domain/model/submit-transaction/dtos/submitSwappedTransaction.dto.js.map +0 -1
- package/dist/src/domain/model/token-quoting/entities/TokenQuoting.d.ts +0 -4
- package/dist/src/domain/model/token-quoting/entities/TokenQuoting.js +0 -8
- package/dist/src/domain/model/token-quoting/entities/TokenQuoting.js.map +0 -1
- package/dist/src/domain/model/token-swap/entities/SwapRouteObject.d.ts +0 -14
- package/dist/src/domain/model/token-swap/entities/SwapRouteObject.js +0 -9
- package/dist/src/domain/model/token-swap/entities/SwapRouteObject.js.map +0 -1
- package/dist/src/domain/model/token-swap/entities/SwapRouteToken.d.ts +0 -4
- package/dist/src/domain/model/token-swap/entities/SwapRouteToken.js +0 -8
- package/dist/src/domain/model/token-swap/entities/SwapRouteToken.js.map +0 -1
- package/dist/src/domain/model/transaction-meta/entities/BaseTransactionMeta.d.ts +0 -16
- package/dist/src/domain/model/transaction-meta/entities/BaseTransactionMeta.js +0 -26
- package/dist/src/domain/model/transaction-meta/entities/BaseTransactionMeta.js.map +0 -1
- package/dist/src/domain/model/transaction-meta/entities/TransactionStatus.entity.d.ts +0 -7
- package/dist/src/domain/model/transaction-meta/entities/TransactionStatus.entity.js +0 -12
- package/dist/src/domain/model/transaction-meta/entities/TransactionStatus.entity.js.map +0 -1
- package/dist/src/domain/model/user/entities/BaseUser.d.ts +0 -8
- package/dist/src/domain/model/user/entities/BaseUser.js +0 -8
- package/dist/src/domain/model/user/entities/BaseUser.js.map +0 -1
- package/dist/src/domain/model/wallet/entities/BaseWallet.d.ts +0 -5
- package/dist/src/domain/model/wallet/entities/BaseWallet.js +0 -8
- package/dist/src/domain/model/wallet/entities/BaseWallet.js.map +0 -1
- package/dist/src/domain/model/wallet/entities/Wallet.d.ts +0 -7
- package/dist/src/domain/model/wallet/entities/Wallet.js +0 -8
- package/dist/src/domain/model/wallet/entities/Wallet.js.map +0 -1
- package/dist/src/domain/model/wallet/entities/WalletDetails.d.ts +0 -4
- package/dist/src/domain/model/wallet/entities/WalletDetails.js +0 -8
- package/dist/src/domain/model/wallet/entities/WalletDetails.js.map +0 -1
- package/dist/src/domain/model/webhook/paylink-transaction-hook/PaylinkTransactionEvent.d.ts +0 -3
- package/dist/src/domain/model/webhook/paylink-transaction-hook/PaylinkTransactionEvent.js +0 -11
- package/dist/src/domain/model/webhook/paylink-transaction-hook/PaylinkTransactionEvent.js.map +0 -1
- package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionEvent.d.ts +0 -3
- package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionEvent.js +0 -11
- package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionEvent.js.map +0 -1
- package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionHook.d.ts +0 -9
- package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionHook.js +0 -7
- package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionHook.js.map +0 -1
- package/dist/src/domain/model/withdrawal/entities/BaseWithdrawal.d.ts +0 -4
- package/dist/src/domain/model/withdrawal/entities/BaseWithdrawal.js +0 -41
- package/dist/src/domain/model/withdrawal/entities/BaseWithdrawal.js.map +0 -1
- package/dist/src/domain/services/EmailService.d.ts +0 -3
- package/dist/src/domain/services/EmailService.js +0 -11
- package/dist/src/domain/services/EmailService.js.map +0 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GeneralNetwork = void 0;
|
|
4
|
+
var GeneralNetwork;
|
|
5
|
+
(function (GeneralNetwork) {
|
|
6
|
+
GeneralNetwork["MAINNET"] = "mainnet";
|
|
7
|
+
GeneralNetwork["TESTNET"] = "testnet";
|
|
8
|
+
GeneralNetwork["DEVNET"] = "devnet";
|
|
9
|
+
})(GeneralNetwork = exports.GeneralNetwork || (exports.GeneralNetwork = {}));
|
|
10
|
+
//# sourceMappingURL=generalNetwork.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generalNetwork.js","sourceRoot":"","sources":["../../../../src/domain/constants/generalNetwork.ts"],"names":[],"mappings":";;;AAAA,IAAY,cAIX;AAJD,WAAY,cAAc;IACxB,qCAAmB,CAAA;IACnB,qCAAmB,CAAA;IACnB,mCAAiB,CAAA;AACnB,CAAC,EAJW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAIzB"}
|
|
@@ -23,4 +23,5 @@ __exportStar(require("./fiatCurrencies"), exports);
|
|
|
23
23
|
__exportStar(require("./fixedPriceTokens"), exports);
|
|
24
24
|
__exportStar(require("./helioPlay"), exports);
|
|
25
25
|
__exportStar(require("./transactionStatusTokenHeaderName"), exports);
|
|
26
|
+
__exportStar(require("./generalNetwork"), exports);
|
|
26
27
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,mDAAiC;AACjC,gDAA8B;AAC9B,iDAA+B;AAC/B,+CAA6B;AAC7B,mDAAiC;AACjC,qDAAmC;AACnC,8CAA4B;AAC5B,qEAAmD"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,mDAAiC;AACjC,gDAA8B;AAC9B,iDAA+B;AAC/B,+CAA6B;AAC7B,mDAAiC;AACjC,qDAAmC;AACnC,8CAA4B;AAC5B,qEAAmD;AACnD,mDAAiC"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
export declare enum OrderDirection {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ASC = "ASC",
|
|
3
|
+
DESC = "DESC"
|
|
4
4
|
}
|
|
5
|
-
export declare function isValidOrderDirection(
|
|
6
|
-
value: string,
|
|
7
|
-
): value is OrderDirection;
|
|
5
|
+
export declare function isValidOrderDirection(value: string): value is OrderDirection;
|
|
8
6
|
export declare const orderDirectionAggregationMap: Map<OrderDirection, 1 | -1>;
|
|
@@ -2,16 +2,16 @@ import { CustomerDetailsDto } from '../../customer-details';
|
|
|
2
2
|
import { ProductDetailsDto } from '../../product-details';
|
|
3
3
|
import { SplitWalletDto } from '../../split-wallets';
|
|
4
4
|
export declare class ApproveTransactionDto {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
5
|
+
transactionSignature: string;
|
|
6
|
+
paymentRequestId: string;
|
|
7
|
+
sender: string;
|
|
8
|
+
recipient: string;
|
|
9
|
+
amount: string;
|
|
10
|
+
quantity: number;
|
|
11
|
+
currency: string;
|
|
12
|
+
time?: string;
|
|
13
|
+
customerDetails?: CustomerDetailsDto;
|
|
14
|
+
productDetails?: ProductDetailsDto;
|
|
15
|
+
splitRevenue?: boolean;
|
|
16
|
+
splitWallets?: SplitWalletDto[];
|
|
17
17
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { CustomerDetailsDto } from '../../customer-details';
|
|
2
2
|
export declare class BreakpointDto {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
3
|
+
signedTx: string;
|
|
4
|
+
paymentRequestId: string;
|
|
5
|
+
sender: string;
|
|
6
|
+
recipient: string;
|
|
7
|
+
amount: string;
|
|
8
|
+
customerDetails: CustomerDetailsDto;
|
|
9
|
+
currency?: string;
|
|
10
|
+
quantity?: number;
|
|
11
11
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DiscordBotVersion } from '../entities';
|
|
2
2
|
export declare class CreateDiscordDetailsDto {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
serverId: string;
|
|
4
|
+
roleId: string;
|
|
5
|
+
active?: boolean;
|
|
6
|
+
company: string;
|
|
7
|
+
botVersion?: DiscordBotVersion;
|
|
8
8
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DiscordBotVersion } from '../entities';
|
|
2
2
|
export declare class UpdateDiscordDetailsDto {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
serverId?: string;
|
|
4
|
+
roleId?: string;
|
|
5
|
+
active?: boolean;
|
|
6
|
+
botVersion?: DiscordBotVersion;
|
|
7
7
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Entity } from '../../entity';
|
|
2
2
|
import { DiscordBotVersion } from './DiscordBotVersion';
|
|
3
3
|
export declare class BaseDiscordDetails extends Entity {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
id: string;
|
|
5
|
+
serverId: string;
|
|
6
|
+
roleId: string;
|
|
7
|
+
active?: boolean;
|
|
8
|
+
botVersion?: DiscordBotVersion;
|
|
9
9
|
}
|
|
@@ -8,5 +8,6 @@ var FeeFeature;
|
|
|
8
8
|
FeeFeature["SWAP"] = "SWAP";
|
|
9
9
|
FeeFeature["SWAP_CONVERSION"] = "SWAP_CONVERSION";
|
|
10
10
|
FeeFeature["HELIO_PLAY"] = "HELIO_PLAY";
|
|
11
|
+
FeeFeature["REFUND"] = "REFUND";
|
|
11
12
|
})(FeeFeature = exports.FeeFeature || (exports.FeeFeature = {}));
|
|
12
13
|
//# sourceMappingURL=FeeFeature.enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeeFeature.enum.js","sourceRoot":"","sources":["../../../../../../src/domain/model/fee/entities/FeeFeature.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"FeeFeature.enum.js","sourceRoot":"","sources":["../../../../../../src/domain/model/fee/entities/FeeFeature.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAUX;AAVD,WAAY,UAAU;IACpB,mCAAqB,CAAA;IACrB,uCAAyB,CAAA;IACzB,2BAAa,CAAA;IAIb,iDAAmC,CAAA;IACnC,uCAAyB,CAAA;IACzB,+BAAiB,CAAA;AACnB,CAAC,EAVW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAUrB"}
|
|
@@ -79,5 +79,6 @@ __exportStar(require("./settle-transaction"), exports);
|
|
|
79
79
|
__exportStar(require("./media"), exports);
|
|
80
80
|
__exportStar(require("./helio-play"), exports);
|
|
81
81
|
__exportStar(require("./funding"), exports);
|
|
82
|
+
__exportStar(require("./prepare-refund"), exports);
|
|
82
83
|
__exportStar(require("./refund"), exports);
|
|
83
84
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/model/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,yCAAuB;AACvB,yCAAuB;AACvB,2CAAyB;AACzB,2CAAyB;AACzB,qDAAmC;AACnC,0DAAwC;AACxC,qDAAmC;AACnC,mDAAiC;AACjC,6CAA2B;AAC3B,4CAA0B;AAC1B,2CAAyB;AACzB,+CAA6B;AAC7B,+CAA6B;AAC7B,4CAA0B;AAC1B,4CAA0B;AAC1B,kDAAgC;AAChC,oDAAkC;AAClC,6DAA2C;AAC3C,+CAA6B;AAC7B,0CAAwB;AACxB,yCAAuB;AACvB,wDAAsC;AACtC,4CAA0B;AAC1B,oDAAkC;AAClC,8CAA4B;AAC5B,iDAA+B;AAC/B,2CAAyB;AACzB,iDAA+B;AAC/B,oDAAkC;AAClC,+CAA6B;AAC7B,2CAAyB;AACzB,+CAA6B;AAC7B,uDAAqC;AACrC,mDAAiC;AACjC,4CAA0B;AAC1B,kDAAgC;AAChC,kDAAgC;AAChC,4CAA0B;AAC1B,mDAAiC;AACjC,mDAAiC;AACjC,4CAA0B;AAC1B,wDAAsC;AACtC,kDAAgC;AAChC,mDAAiC;AACjC,4CAA0B;AAC1B,gDAA8B;AAC9B,mDAAiC;AACjC,+CAA6B;AAC7B,+CAA6B;AAC7B,0CAAwB;AACxB,mDAAiC;AACjC,kDAAgC;AAChC,wCAAsB;AACtB,oDAAkC;AAClC,gDAA8B;AAC9B,qDAAmC;AACnC,6CAA2B;AAC3B,4DAA0C;AAC1C,gEAA8C;AAC9C,+DAA6C;AAC7C,uDAAqC;AACrC,0CAAwB;AACxB,+CAA6B;AAC7B,4CAA0B;AAC1B,2CAAyB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/model/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,yCAAuB;AACvB,yCAAuB;AACvB,2CAAyB;AACzB,2CAAyB;AACzB,qDAAmC;AACnC,0DAAwC;AACxC,qDAAmC;AACnC,mDAAiC;AACjC,6CAA2B;AAC3B,4CAA0B;AAC1B,2CAAyB;AACzB,+CAA6B;AAC7B,+CAA6B;AAC7B,4CAA0B;AAC1B,4CAA0B;AAC1B,kDAAgC;AAChC,oDAAkC;AAClC,6DAA2C;AAC3C,+CAA6B;AAC7B,0CAAwB;AACxB,yCAAuB;AACvB,wDAAsC;AACtC,4CAA0B;AAC1B,oDAAkC;AAClC,8CAA4B;AAC5B,iDAA+B;AAC/B,2CAAyB;AACzB,iDAA+B;AAC/B,oDAAkC;AAClC,+CAA6B;AAC7B,2CAAyB;AACzB,+CAA6B;AAC7B,uDAAqC;AACrC,mDAAiC;AACjC,4CAA0B;AAC1B,kDAAgC;AAChC,kDAAgC;AAChC,4CAA0B;AAC1B,mDAAiC;AACjC,mDAAiC;AACjC,4CAA0B;AAC1B,wDAAsC;AACtC,kDAAgC;AAChC,mDAAiC;AACjC,4CAA0B;AAC1B,gDAA8B;AAC9B,mDAAiC;AACjC,+CAA6B;AAC7B,+CAA6B;AAC7B,0CAAwB;AACxB,mDAAiC;AACjC,kDAAgC;AAChC,wCAAsB;AACtB,oDAAkC;AAClC,gDAA8B;AAC9B,qDAAmC;AACnC,6CAA2B;AAC3B,4DAA0C;AAC1C,gEAA8C;AAC9C,+DAA6C;AAC7C,uDAAqC;AACrC,0CAAwB;AACxB,+CAA6B;AAC7B,4CAA0B;AAC1B,mDAAiC;AACjC,2CAAyB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export interface Metrics {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
txTotal: number;
|
|
3
|
+
txPastWeek: number;
|
|
4
|
+
txPastDay: number;
|
|
5
|
+
uniqueWallets: number;
|
|
6
|
+
valueTransferred?: number;
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { LinkFeatures } from '../../link-features';
|
|
2
2
|
import { BasePaymentRequest } from '../../payment-request';
|
|
3
3
|
export declare class BasePaylink extends BasePaymentRequest {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
features: LinkFeatures;
|
|
5
|
+
minQuantity?: number;
|
|
6
|
+
maxQuantity?: number;
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LinkFeaturesDto } from '../../link-features';
|
|
2
2
|
import { PaymentRequest } from '../../payment-request';
|
|
3
3
|
export declare class Paylink extends PaymentRequest {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
features: LinkFeaturesDto;
|
|
5
|
+
minQuantity?: number;
|
|
6
|
+
maxQuantity?: number;
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CreateTransactionMetaDto } from '../../transaction-meta';
|
|
2
2
|
export declare class CreatePaylinkTxDto {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
meta: CreateTransactionMetaDto;
|
|
4
|
+
paylink: string;
|
|
5
|
+
quantity: number;
|
|
6
|
+
fee?: string;
|
|
7
7
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Entity } from '../../entity';
|
|
2
2
|
import { PaymentRequestType } from '../../payment-request';
|
|
3
3
|
export declare class BasePaylinkTx extends Entity {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
id: string;
|
|
5
|
+
quantity: number;
|
|
6
|
+
fee?: bigint;
|
|
7
|
+
createdAt: string;
|
|
8
|
+
paymentType: PaymentRequestType;
|
|
9
9
|
}
|
|
@@ -2,6 +2,6 @@ import type { TransactionMeta } from '../../transaction-meta';
|
|
|
2
2
|
import type { Paylink } from '../../paylink';
|
|
3
3
|
import { BasePaylinkTx } from './BasePaylinkTx';
|
|
4
4
|
export declare class PaylinkTx extends BasePaylinkTx {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
meta: TransactionMeta;
|
|
6
|
+
paylink: Paylink;
|
|
7
7
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BasePaylinkTx } from './BasePaylinkTx';
|
|
2
2
|
import { ShallowEnrichedTransactionMeta } from '../../transaction-meta';
|
|
3
3
|
export declare class PaylinkTxWithMeta extends BasePaylinkTx {
|
|
4
|
-
|
|
4
|
+
meta: ShallowEnrichedTransactionMeta;
|
|
5
5
|
}
|
|
@@ -2,6 +2,6 @@ import { BasePaylinkTx } from './BasePaylinkTx';
|
|
|
2
2
|
import type { BaseTransactionMeta } from '../../transaction-meta';
|
|
3
3
|
import type { BasePaylink } from '../../paylink';
|
|
4
4
|
export declare class ShallowEnrichedPaylinkTx extends BasePaylinkTx {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
meta: BaseTransactionMeta;
|
|
6
|
+
paylink: BasePaylink;
|
|
7
7
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export declare enum IntervalType {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
SECOND = "SECOND",
|
|
3
|
+
MINUTE = "MINUTE",
|
|
4
|
+
HOUR = "HOUR",
|
|
5
|
+
DAY = "DAY",
|
|
6
|
+
WEEK = "WEEK",
|
|
7
|
+
MONTH = "MONTH",
|
|
8
|
+
YEAR = "YEAR"
|
|
9
9
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { CreateStreamEventDto } from '../../stream-event';
|
|
2
2
|
import { CreateTransactionMetaDto } from '../../transaction-meta';
|
|
3
3
|
export declare class CreatePaystreamTxDto {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
meta: CreateTransactionMetaDto;
|
|
5
|
+
paystream: string;
|
|
6
|
+
paymentAccount: string;
|
|
7
|
+
startedAt: CreateStreamEventDto;
|
|
8
|
+
endedAt?: string;
|
|
9
|
+
interval: number;
|
|
10
|
+
isHelioX?: boolean;
|
|
11
11
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CreateStreamEventDto } from '../../stream-event';
|
|
2
2
|
export declare class UpdatePaystreamTxDto {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
canceledAt?: CreateStreamEventDto;
|
|
4
|
+
endedAt?: string;
|
|
5
|
+
withdrawals?: string[];
|
|
6
6
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './prepareRefund.dto';
|
|
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./prepareRefund.dto"), exports);
|
|
18
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-refund/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC"}
|
|
@@ -9,19 +9,25 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.PrepareRefundDto = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
|
|
14
|
+
const payment_request_1 = require("../../payment-request");
|
|
15
|
+
class PrepareRefundDto {
|
|
15
16
|
}
|
|
16
17
|
__decorate([
|
|
17
18
|
(0, class_validator_1.IsString)(),
|
|
18
19
|
(0, class_validator_1.IsNotEmpty)(),
|
|
19
20
|
__metadata("design:type", String)
|
|
20
|
-
],
|
|
21
|
+
], PrepareRefundDto.prototype, "paymentRequestTxId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsEnum)(payment_request_1.PaymentRequestType),
|
|
24
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], PrepareRefundDto.prototype, "paymentRequestType", void 0);
|
|
21
27
|
__decorate([
|
|
22
28
|
(0, class_validator_1.IsString)(),
|
|
23
29
|
(0, class_validator_1.IsNotEmpty)(),
|
|
24
30
|
__metadata("design:type", String)
|
|
25
|
-
],
|
|
26
|
-
exports.
|
|
27
|
-
//# sourceMappingURL=
|
|
31
|
+
], PrepareRefundDto.prototype, "senderPK", void 0);
|
|
32
|
+
exports.PrepareRefundDto = PrepareRefundDto;
|
|
33
|
+
//# sourceMappingURL=prepareRefund.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prepareRefund.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-refund/dtos/prepareRefund.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAC/D,2DAA2D;AAE3D,MAAa,gBAAgB;CAY5B;AAXC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACc;AAE3B;IAAC,IAAA,wBAAM,EAAC,oCAAkB,CAAC;IAC1B,IAAA,4BAAU,GAAE;;4DAC0B;AAEvC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACI;AAXnB,4CAYC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './dtos';
|
|
@@ -15,5 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./dtos"), exports);
|
|
18
|
-
__exportStar(require("./entities"), exports);
|
|
19
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/prepare-refund/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Entity } from '../../entity';
|
|
2
2
|
import { ProductInputType } from './ProductInputType';
|
|
3
3
|
export declare class Product extends Entity {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
name: string;
|
|
5
|
+
description: string;
|
|
6
|
+
type: ProductInputType;
|
|
7
7
|
}
|