@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invoiceItem.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/invoiceItem/dtos/invoiceItem.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"invoiceItem.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/invoiceItem/dtos/invoiceItem.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6E;AAC7E,yDAA8C;AAE9C,MAAa,cAAc;CAoB1B;AAnBC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;6CAC1B;AAEd;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4CACE;AAEb;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6CACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gDACK;AAElB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACU;AAnBvB,wCAoBC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PaymentRequestFeatures } from '../../payment-request-features';
|
|
2
2
|
export declare class LinkFeatures extends PaymentRequestFeatures {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
canChangePrice: boolean;
|
|
4
|
+
requireQuantityLimits: boolean;
|
|
5
|
+
canChangeQuantity: boolean;
|
|
6
6
|
}
|
|
@@ -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
|
}
|
|
@@ -3,32 +3,29 @@ import { LinkFeaturesDto } from '../../link-features';
|
|
|
3
3
|
import { ProductDto } from '../../product';
|
|
4
4
|
import { SplitWalletDto } from '../../split-wallets';
|
|
5
5
|
import { FixedCurrencyDto } from '../../fixed-currency';
|
|
6
|
-
export declare type CreatePaylinkDtoDeserialized = Omit<
|
|
7
|
-
|
|
8
|
-
'normalizedPrice'
|
|
9
|
-
> & {
|
|
10
|
-
normalizedPrice: bigint;
|
|
6
|
+
export declare type CreatePaylinkDtoDeserialized = Omit<CreatePaylinkDto, 'normalizedPrice'> & {
|
|
7
|
+
normalizedPrice: bigint;
|
|
11
8
|
};
|
|
12
9
|
export declare class CreatePaylinkDto {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
10
|
+
company: string;
|
|
11
|
+
name: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
image?: string;
|
|
14
|
+
normalizedPrice?: string;
|
|
15
|
+
notifySenderByEmail?: boolean;
|
|
16
|
+
notifyReceiverByEmail?: boolean;
|
|
17
|
+
addDiscordRole?: boolean;
|
|
18
|
+
currency?: string;
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
dynamic?: boolean;
|
|
21
|
+
wallet: string;
|
|
22
|
+
content?: ContentDto;
|
|
23
|
+
features?: LinkFeaturesDto;
|
|
24
|
+
maxTransactions?: number;
|
|
25
|
+
product?: ProductDto | null;
|
|
26
|
+
nftCollectionAddress?: string;
|
|
27
|
+
splitWallets?: SplitWalletDto[];
|
|
28
|
+
fixedCurrency?: FixedCurrencyDto;
|
|
29
|
+
minQuantity?: number;
|
|
30
|
+
maxQuantity?: number;
|
|
34
31
|
}
|
|
@@ -4,25 +4,25 @@ import { ProductDto } from '../../product';
|
|
|
4
4
|
import { SplitWalletDto } from '../../split-wallets';
|
|
5
5
|
import { FixedCurrencyDto } from '../../fixed-currency';
|
|
6
6
|
export declare class UpdatePaylinkDto {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
7
|
+
company?: string;
|
|
8
|
+
name?: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
image?: string;
|
|
11
|
+
normalizedPrice?: string;
|
|
12
|
+
notifySenderByEmail?: boolean;
|
|
13
|
+
notifyReceiverByEmail?: boolean;
|
|
14
|
+
addDiscordRole?: boolean;
|
|
15
|
+
currency?: string;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
wallet?: string;
|
|
18
|
+
dynamic?: boolean;
|
|
19
|
+
content?: ContentDto;
|
|
20
|
+
features?: LinkFeaturesDto;
|
|
21
|
+
maxTransactions?: number;
|
|
22
|
+
product?: ProductDto | null;
|
|
23
|
+
nftCollectionAddress?: string;
|
|
24
|
+
splitWallets?: SplitWalletDto[];
|
|
25
|
+
fixedCurrency?: FixedCurrencyDto;
|
|
26
|
+
minQuantity?: number;
|
|
27
|
+
maxQuantity?: number;
|
|
28
28
|
}
|
|
@@ -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
|
}
|
|
@@ -2,8 +2,8 @@ import { ShallowEnrichedPaymentRequest } from '../../payment-request';
|
|
|
2
2
|
import type { Content } from '../../content';
|
|
3
3
|
import type { LinkFeatures } from '../../link-features';
|
|
4
4
|
export declare class ShallowEnrichedPaylink extends ShallowEnrichedPaymentRequest {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
content: Content;
|
|
6
|
+
minQuantity?: number;
|
|
7
|
+
maxQuantity?: number;
|
|
8
|
+
features: LinkFeatures;
|
|
9
9
|
}
|
|
@@ -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
|
}
|
|
@@ -4,14 +4,14 @@ export declare class BasePaymentRequest extends Entity {
|
|
|
4
4
|
name: string;
|
|
5
5
|
description?: string;
|
|
6
6
|
imageUrl?: string;
|
|
7
|
-
normalizedPrice
|
|
7
|
+
normalizedPrice?: bigint;
|
|
8
8
|
maxTransactions?: number;
|
|
9
|
-
notifySenderByEmail
|
|
10
|
-
notifyReceiverByEmail
|
|
11
|
-
addDiscordRole
|
|
12
|
-
disabled
|
|
9
|
+
notifySenderByEmail?: boolean;
|
|
10
|
+
notifyReceiverByEmail?: boolean;
|
|
11
|
+
addDiscordRole?: boolean;
|
|
12
|
+
disabled?: boolean;
|
|
13
13
|
createdAt?: string;
|
|
14
14
|
updatedAt?: string;
|
|
15
|
-
dynamic
|
|
15
|
+
dynamic?: boolean;
|
|
16
16
|
nftCollectionAddress?: string;
|
|
17
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BasePaymentRequest.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/entities/BasePaymentRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAAsC;AACtC,yDAA8C;AAE9C,MAAa,kBAAmB,SAAQ,eAAM;CA6B7C;AApBC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;
|
|
1
|
+
{"version":3,"file":"BasePaymentRequest.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/entities/BasePaymentRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAAsC;AACtC,yDAA8C;AAE9C,MAAa,kBAAmB,SAAQ,eAAM;CA6B7C;AApBC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;2DACf;AAV3B,gDA6BC"}
|
|
@@ -7,11 +7,11 @@ import { BaseCompany } from '../../company';
|
|
|
7
7
|
import { SplitWallet } from '../../split-wallets';
|
|
8
8
|
import { FixedCurrency } from '../../fixed-currency';
|
|
9
9
|
export declare class PaymentRequest extends BasePaymentRequest {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
10
|
+
creator: User;
|
|
11
|
+
company: BaseCompany;
|
|
12
|
+
currency: Currency;
|
|
13
|
+
wallet: Wallet;
|
|
14
|
+
product: Product;
|
|
15
|
+
splitWallets?: SplitWallet[];
|
|
16
|
+
fixedCurrency?: FixedCurrency;
|
|
17
17
|
}
|
|
@@ -7,14 +7,14 @@ import { BaseCompany } from '../../company';
|
|
|
7
7
|
import { SplitWallet } from '../../split-wallets';
|
|
8
8
|
import { FixedCurrency } from '../../fixed-currency';
|
|
9
9
|
export declare class ShallowEnrichedPaymentRequest extends BasePaymentRequest {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
10
|
+
creator: BaseUser;
|
|
11
|
+
company: BaseCompany;
|
|
12
|
+
currency: BaseCurrency;
|
|
13
|
+
wallet: BaseWallet;
|
|
14
|
+
product: Product;
|
|
15
|
+
splitWallets?: SplitWallet[];
|
|
16
|
+
fixedCurrency?: FixedCurrency;
|
|
17
|
+
slug: string;
|
|
18
|
+
volume: number;
|
|
19
|
+
sales: number;
|
|
20
20
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Entity } from '../../entity';
|
|
2
2
|
export declare class PaymentRequestFeatures extends Entity {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
3
|
+
requireEmail: boolean;
|
|
4
|
+
requireDiscordUsername: boolean;
|
|
5
|
+
requireFullName: boolean;
|
|
6
|
+
requireTwitterUsername: boolean;
|
|
7
|
+
requireCountry: boolean;
|
|
8
|
+
requireDeliveryAddress: boolean;
|
|
9
|
+
requirePhoneNumber: boolean;
|
|
10
|
+
requireProductDetails: boolean;
|
|
11
|
+
requireMaxTransactions: boolean;
|
|
12
|
+
splitRevenue: boolean;
|
|
13
|
+
splitEqually: boolean;
|
|
14
|
+
requireNftGate: boolean;
|
|
15
|
+
requireFixedCurrency: boolean;
|
|
16
16
|
}
|
|
@@ -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
|
}
|
|
@@ -2,14 +2,14 @@ import { Entity } from '../../entity';
|
|
|
2
2
|
import { StreamEvent } from '../../stream-event';
|
|
3
3
|
import { PaymentRequestType } from '../../payment-request';
|
|
4
4
|
export declare class BasePaystreamTx extends Entity {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
5
|
+
id: string;
|
|
6
|
+
paymentAccount: string;
|
|
7
|
+
startedAt: StreamEvent;
|
|
8
|
+
createdAt: string;
|
|
9
|
+
canceledAt: StreamEvent | null;
|
|
10
|
+
endedAt: bigint;
|
|
11
|
+
interval: number;
|
|
12
|
+
paymentType: PaymentRequestType;
|
|
13
|
+
active: boolean;
|
|
14
|
+
isHelioX?: boolean;
|
|
15
15
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Entity } from '../../entity';
|
|
2
2
|
import { PaystreamTxWithContent } from './PaystreamTxWithContent';
|
|
3
3
|
export declare class BasePaystreamTxWithTransaction extends Entity {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
document: PaystreamTxWithContent;
|
|
5
|
+
transactionSignature?: string;
|
|
6
6
|
}
|
|
@@ -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
|
}
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { IntervalType } from '../../paystream';
|
|
2
2
|
export declare class ReportItem {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
3
|
+
id: string;
|
|
4
|
+
txSignature: string;
|
|
5
|
+
solScanLink: string;
|
|
6
|
+
paymentRequestId: string;
|
|
7
|
+
paymentRequestUrl: string;
|
|
8
|
+
paymentRequestName: string;
|
|
9
|
+
quantity: number;
|
|
10
|
+
time: string;
|
|
11
|
+
amount: number;
|
|
12
|
+
convertedAmount: number;
|
|
13
|
+
currency: string;
|
|
14
|
+
from: string;
|
|
15
|
+
paymentRequestUrlWithSlug?: string;
|
|
16
|
+
cancelAt?: number;
|
|
17
|
+
endAt?: number;
|
|
18
|
+
startAt?: number;
|
|
19
|
+
intervalUnit?: IntervalType;
|
|
20
|
+
email?: string;
|
|
21
|
+
discordUsername?: string;
|
|
22
|
+
twitterUsername?: string;
|
|
23
|
+
fullName?: string;
|
|
24
|
+
country?: string;
|
|
25
|
+
deliveryAddress?: string;
|
|
26
|
+
phoneNumber?: string;
|
|
27
|
+
street?: string;
|
|
28
|
+
streetNumber?: string;
|
|
29
|
+
city?: string;
|
|
30
|
+
areaCode?: string;
|
|
31
|
+
name?: string;
|
|
32
|
+
value?: string;
|
|
33
|
+
fee: number;
|
|
34
34
|
}
|