@heliofi/common 0.1.92 → 0.1.94
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/fixedPriceTokens.js +1 -0
- package/dist/src/domain/constants/fixedPriceTokens.js.map +1 -1
- package/dist/src/domain/constants/orderDirection.d.ts +3 -5
- package/dist/src/domain/model/apiKey/dtos/createApiKey.dto.d.ts +2 -2
- package/dist/src/domain/model/apiKey/dtos/createApiKeyDtoInternal.d.ts +4 -4
- package/dist/src/domain/model/apiKey/entities/ApiKey.entity.d.ts +7 -7
- 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/createAttachment.dto.d.ts +4 -4
- package/dist/src/domain/model/attachment/dtos/createAttachmentInternal.dto.d.ts +4 -4
- package/dist/src/domain/model/attachment/entities/Attachment.d.ts +1 -1
- package/dist/src/domain/model/attachment/entities/AttachmentType.d.ts +1 -1
- package/dist/src/domain/model/attachment/entities/BaseAttachment.d.ts +4 -4
- package/dist/src/domain/model/attachment/entities/ShallowEnrichedAttachment.d.ts +1 -1
- 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/auth/entities/AuthUser.d.ts +8 -8
- 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/blockchain/entities/Blockchain.d.ts +3 -3
- 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/company/dtos/createCompany.dto.d.ts +6 -6
- package/dist/src/domain/model/company/dtos/updateCompany.dto.d.ts +6 -6
- package/dist/src/domain/model/company/entities/BaseCompany.d.ts +7 -7
- package/dist/src/domain/model/company/entities/Company.d.ts +2 -2
- package/dist/src/domain/model/content/dtos/content.dto.d.ts +2 -2
- package/dist/src/domain/model/content/entities/Content.d.ts +2 -2
- package/dist/src/domain/model/currency/entities/Currency.d.ts +1 -1
- package/dist/src/domain/model/customer-details/dtos/customerDetails.dto.d.ts +12 -12
- package/dist/src/domain/model/customer-details/entities/CustomerDetails.d.ts +12 -12
- 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/email/dtos/email.dto.d.ts +20 -20
- package/dist/src/domain/model/entity/Entity.d.ts +2 -2
- package/dist/src/domain/model/fixed-currency/entities/FixedCurrency.d.ts +2 -2
- package/dist/src/domain/model/invoice/dtos/createInvoice.dto.d.ts +1 -1
- package/dist/src/domain/model/invoice/dtos/createInvoice.dto.js +1 -2
- package/dist/src/domain/model/invoice/dtos/createInvoice.dto.js.map +1 -1
- package/dist/src/domain/model/invoice/dtos/updateInvoice.dto.js +1 -2
- package/dist/src/domain/model/invoice/dtos/updateInvoice.dto.js.map +1 -1
- package/dist/src/domain/model/invoiceItem/dtos/invoiceItem.dto.d.ts +1 -1
- package/dist/src/domain/model/invoiceItem/dtos/invoiceItem.dto.js +2 -3
- package/dist/src/domain/model/invoiceItem/dtos/invoiceItem.dto.js.map +1 -1
- package/dist/src/domain/model/link-features/entities/LinkFeatures.d.ts +3 -3
- package/dist/src/domain/model/metrics/entities/Metrics.d.ts +5 -5
- package/dist/src/domain/model/paylink/dtos/createPaylink.dto.d.ts +23 -26
- package/dist/src/domain/model/paylink/dtos/updatePaylink.dto.d.ts +21 -21
- package/dist/src/domain/model/paylink/entities/BasePaylink.d.ts +3 -3
- package/dist/src/domain/model/paylink/entities/OnlyContentAndTransactionPaylink.d.ts +2 -2
- package/dist/src/domain/model/paylink/entities/OnlyContentPaylink.d.ts +1 -1
- package/dist/src/domain/model/paylink/entities/Paylink.d.ts +3 -3
- package/dist/src/domain/model/paylink/entities/PaylinkStats.d.ts +3 -3
- package/dist/src/domain/model/paylink/entities/ShallowEnrichedPaylink.d.ts +4 -4
- 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/payment-request/entities/BasePaymentRequest.d.ts +6 -6
- package/dist/src/domain/model/payment-request/entities/BasePaymentRequest.js.map +1 -1
- package/dist/src/domain/model/payment-request/entities/PaymentRequest.d.ts +7 -7
- package/dist/src/domain/model/payment-request/entities/PaymentRequestType.d.ts +2 -2
- package/dist/src/domain/model/payment-request/entities/ShallowEnrichedPaymentRequest.d.ts +10 -10
- package/dist/src/domain/model/payment-request/entities/SlugPaymentRequest.d.ts +2 -2
- package/dist/src/domain/model/payment-request-features/entities/PaymentRequestFeatures.d.ts +13 -13
- package/dist/src/domain/model/paystream/entities/IntervalType.d.ts +7 -7
- package/dist/src/domain/model/paystream/entities/PaystreamStats.d.ts +3 -3
- 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/paystream-tx/entities/BasePaystreamTx.d.ts +10 -10
- package/dist/src/domain/model/paystream-tx/entities/BasePaystreamTxWithTransaction.d.ts +2 -2
- package/dist/src/domain/model/paystream-tx/entities/PaystreamTxWithContent.d.ts +1 -1
- 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/report/entities/ReportItem.d.ts +31 -31
- 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-backend/dtos/cancelStreamBackend.dto.d.ts +5 -5
- package/dist/src/domain/model/stream-backend/dtos/withdrawStreamBackend.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/stream-features/entities/StreamFeatures.d.ts +2 -1
- package/dist/src/domain/model/token-quoting/entities/TokenQuoting.d.ts +1 -1
- package/dist/src/domain/model/transaction-meta/dtos/createTransactionMeta.dto.d.ts +9 -9
- package/dist/src/domain/model/transaction-meta/entities/BaseTransactionMeta.d.ts +10 -10
- package/dist/src/domain/model/transaction-meta/entities/ShallowEnrichedTransactionMeta.d.ts +1 -1
- package/dist/src/domain/model/transaction-meta/entities/TransactionMeta.d.ts +1 -1
- package/dist/src/domain/model/user/dtos/createUser.dto.d.ts +4 -4
- package/dist/src/domain/model/user/dtos/updateUser.dto.d.ts +4 -4
- package/dist/src/domain/model/user/entities/BaseUser.d.ts +5 -5
- package/dist/src/domain/model/user/entities/ShallowEnrichedUser.d.ts +2 -2
- package/dist/src/domain/model/user/entities/User.d.ts +2 -2
- package/dist/src/domain/model/wallet/dtos/updateWallet.dto.d.ts +1 -1
- package/dist/src/domain/model/wallet/entities/BaseWallet.d.ts +2 -2
- package/dist/src/domain/model/wallet/entities/Wallet.d.ts +1 -1
- package/dist/src/domain/model/wallet/entities/WalletDetails.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/BigIntCalculatorService.d.ts +1 -1
- package/dist/src/domain/services/CurrencyService.d.ts +1 -1
- package/dist/src/domain/services/HelioUIService.d.ts +1 -1
- package/dist/src/domain/services/SolscanService.d.ts +1 -1
- package/dist/src/domain/services/TransactionCalculatorService.d.ts +1 -3
- 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 +0 -18
- 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 +0 -19
- package/dist/src/domain/contactAddress/index.js.map +0 -1
- package/dist/src/domain/model/fixed-currency/entities/DecodedTokenRate.d.ts +0 -8
- package/dist/src/domain/model/fixed-currency/entities/DecodedTokenRate.js +0 -8
- package/dist/src/domain/model/fixed-currency/entities/DecodedTokenRate.js.map +0 -1
|
@@ -2,6 +2,6 @@ import { BaseRole } from './BaseRole';
|
|
|
2
2
|
import type { BaseUser } from '../../user';
|
|
3
3
|
import { BaseCompany } from '../../company';
|
|
4
4
|
export declare class ShallowEnrichedRole extends BaseRole {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
company: BaseCompany;
|
|
6
|
+
user: BaseUser;
|
|
7
7
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Entity } from '../../entity';
|
|
2
2
|
export declare class Slug extends Entity {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
id: string;
|
|
4
|
+
slug: string;
|
|
5
|
+
objectType: string;
|
|
6
|
+
objectId: string;
|
|
7
|
+
active?: boolean;
|
|
8
|
+
inactiveDate?: number;
|
|
9
9
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare class CancelStreamDto {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
id: string;
|
|
3
|
+
transactionSignature: string;
|
|
4
|
+
paymentRequestId: string;
|
|
5
|
+
canceledAt: string;
|
|
6
|
+
paymentAccount: string;
|
|
7
7
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { CustomerDetailsDto } from '../../customer-details';
|
|
2
2
|
import { ProductDetailsDto } from '../../product-details';
|
|
3
3
|
export declare class CreateStreamDto {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
4
|
+
transactionSignature: string;
|
|
5
|
+
paymentRequestId: string;
|
|
6
|
+
sender: string;
|
|
7
|
+
recipient: string;
|
|
8
|
+
amount: string;
|
|
9
|
+
currency: string;
|
|
10
|
+
startedAt: string;
|
|
11
|
+
endedAt: string;
|
|
12
|
+
interval: number;
|
|
13
|
+
paymentAccount: string;
|
|
14
|
+
customerDetails: CustomerDetailsDto;
|
|
15
|
+
productDetails: ProductDetailsDto;
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare class CancelStreamBackendDto {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
id: string;
|
|
3
|
+
signedTransaction: string;
|
|
4
|
+
paymentRequestId: string;
|
|
5
|
+
canceledAt: string;
|
|
6
|
+
paymentAccount: string;
|
|
7
7
|
}
|
|
@@ -2,13 +2,13 @@ import { CustomerDetailsDto } from '../../customer-details';
|
|
|
2
2
|
import { ProductDetailsDto } from '../../product-details';
|
|
3
3
|
import { SplitAccountDto } from '../../split-account';
|
|
4
4
|
export declare class CreateTransactionMetaDto {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
5
|
+
transactionSignature: string;
|
|
6
|
+
amount: string;
|
|
7
|
+
currency: string;
|
|
8
|
+
recipientPK: string;
|
|
9
|
+
senderPK: string;
|
|
10
|
+
customerDetails: CustomerDetailsDto;
|
|
11
|
+
productDetails: ProductDetailsDto;
|
|
12
|
+
splitRevenue?: boolean;
|
|
13
|
+
remainingAccounts?: SplitAccountDto[];
|
|
14
14
|
}
|
|
@@ -3,14 +3,14 @@ import { Entity } from '../../entity';
|
|
|
3
3
|
import { ProductDetails } from '../../product-details';
|
|
4
4
|
import { SplitAccount } from '../../split-account';
|
|
5
5
|
export declare class BaseTransactionMeta extends Entity {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
6
|
+
id: string;
|
|
7
|
+
transactionSignature: string;
|
|
8
|
+
amount: bigint;
|
|
9
|
+
recipientPK: string;
|
|
10
|
+
senderPK: string;
|
|
11
|
+
customerDetails: CustomerDetails;
|
|
12
|
+
productDetails: ProductDetails;
|
|
13
|
+
splitRevenue: boolean;
|
|
14
|
+
remainingAccounts: SplitAccount[];
|
|
15
|
+
totalAmount: bigint;
|
|
16
16
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Entity } from '../../entity';
|
|
2
2
|
export declare class BaseUser extends Entity {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
id: string;
|
|
4
|
+
name?: string;
|
|
5
|
+
email?: string;
|
|
6
|
+
discordUsername?: string;
|
|
7
|
+
twitterUsername?: string;
|
|
8
8
|
}
|
|
@@ -2,6 +2,6 @@ import { BaseUser } from './BaseUser';
|
|
|
2
2
|
import type { BaseRole } from '../../role';
|
|
3
3
|
import type { BaseWallet } from '../../wallet';
|
|
4
4
|
export declare class ShallowEnrichedUser extends BaseUser {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
roles: BaseRole[];
|
|
6
|
+
wallets: BaseWallet[];
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PaylinkTransactionEvent } from '../entities';
|
|
2
2
|
export declare class CreatePaylinkTransactionHookDto {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
paylinkId: string;
|
|
4
|
+
targetUrl: string;
|
|
5
|
+
events?: PaylinkTransactionEvent[];
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Entity } from '../../entity';
|
|
2
2
|
import { Withdrawal } from './Withdrawal';
|
|
3
3
|
export declare class WithdrawalWithTransaction extends Entity {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
document: Withdrawal;
|
|
5
|
+
transactionSignature?: string;
|
|
6
6
|
}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { BaseTransactionMeta } from '../model';
|
|
2
2
|
export declare class TransactionCalculatorService {
|
|
3
|
-
|
|
4
|
-
transaction: Partial<BaseTransactionMeta>,
|
|
5
|
-
): bigint;
|
|
3
|
+
static calculateTotalAmount(transaction: Partial<BaseTransactionMeta>): bigint;
|
|
6
4
|
}
|