@heliofi/common 0.0.4 → 0.0.6
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/model/paylink-tx/entities/BasePaylinkTx.d.ts +0 -1
- package/dist/src/domain/model/paylink-tx/entities/BasePaylinkTx.js.map +1 -1
- package/dist/src/domain/model/paylink-tx/entities/PaylinkTxWithShallowEnrichedPaylink.d.ts +0 -3
- package/dist/src/domain/model/paylink-tx/entities/PaylinkTxWithShallowEnrichedPaylink.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -3
- package/src/__tests__/index.test.ts +0 -5
- package/src/domain/constants/index.ts +0 -2
- package/src/domain/index.ts +0 -3
- package/src/domain/model/apiKey/dtos/createApiKeyDto.ts +0 -15
- package/src/domain/model/apiKey/dtos/index.ts +0 -2
- package/src/domain/model/apiKey/dtos/updateApiKeyDto.ts +0 -11
- package/src/domain/model/apiKey/entities/ApiKey.ts +0 -11
- package/src/domain/model/apiKey/entities/index.ts +0 -1
- package/src/domain/model/apiKey/index.ts +0 -2
- package/src/domain/model/approve-transaction/dtos/approveTransactionDto.ts +0 -62
- package/src/domain/model/approve-transaction/dtos/index.ts +0 -1
- package/src/domain/model/approve-transaction/index.ts +0 -1
- package/src/domain/model/attachment/dtos/createAttachmentDto.ts +0 -22
- package/src/domain/model/attachment/dtos/index.ts +0 -1
- package/src/domain/model/attachment/entities/Attachment.ts +0 -6
- package/src/domain/model/attachment/entities/AttachmentType.enum.ts +0 -3
- package/src/domain/model/attachment/entities/BaseAttachment.ts +0 -11
- package/src/domain/model/attachment/entities/ShallowEnrichedAttachment.ts +0 -6
- package/src/domain/model/attachment/entities/index.ts +0 -4
- package/src/domain/model/attachment/index.ts +0 -2
- package/src/domain/model/auth/dtos/index.ts +0 -1
- package/src/domain/model/auth/dtos/signOnDto.ts +0 -14
- package/src/domain/model/auth/entities/AuthResponse.ts +0 -9
- package/src/domain/model/auth/entities/AuthUser.ts +0 -13
- package/src/domain/model/auth/entities/index.ts +0 -2
- package/src/domain/model/auth/index.ts +0 -2
- package/src/domain/model/blockchain/constants/Cluster.ts +0 -5
- package/src/domain/model/blockchain/constants/index.ts +0 -1
- package/src/domain/model/blockchain/dtos/blockchainDto.ts +0 -11
- package/src/domain/model/blockchain/dtos/index.ts +0 -1
- package/src/domain/model/blockchain/entities/Blockchain.ts +0 -9
- package/src/domain/model/blockchain/entities/index.ts +0 -1
- package/src/domain/model/blockchain/index.ts +0 -3
- package/src/domain/model/company/dtos/createCompanyDto.ts +0 -29
- package/src/domain/model/company/dtos/index.ts +0 -2
- package/src/domain/model/company/dtos/updateCompanyDto.ts +0 -29
- package/src/domain/model/company/entities/Company.ts +0 -18
- package/src/domain/model/company/entities/index.ts +0 -1
- package/src/domain/model/company/index.ts +0 -2
- package/src/domain/model/content/dtos/contentDto.ts +0 -11
- package/src/domain/model/content/dtos/index.ts +0 -1
- package/src/domain/model/content/entities/Content.ts +0 -7
- package/src/domain/model/content/entities/index.ts +0 -1
- package/src/domain/model/content/index.ts +0 -2
- package/src/domain/model/currency/dtos/createCurrency.ts +0 -33
- package/src/domain/model/currency/dtos/index.ts +0 -2
- package/src/domain/model/currency/dtos/updateCurrency.ts +0 -39
- package/src/domain/model/currency/entities/BaseCurrency.ts +0 -17
- package/src/domain/model/currency/entities/Currency.ts +0 -6
- package/src/domain/model/currency/entities/index.ts +0 -2
- package/src/domain/model/currency/index.ts +0 -2
- package/src/domain/model/customer-details/dtos/CustomerDetailsDto.ts +0 -32
- package/src/domain/model/customer-details/dtos/index.ts +0 -1
- package/src/domain/model/customer-details/entities/CustomerDetails.ts +0 -17
- package/src/domain/model/customer-details/entities/index.ts +0 -1
- package/src/domain/model/customer-details/index.ts +0 -2
- package/src/domain/model/discordDetails/dtos/createDiscordDetails.ts +0 -21
- package/src/domain/model/discordDetails/dtos/index.ts +0 -2
- package/src/domain/model/discordDetails/dtos/updateDiscordDetails.ts +0 -19
- package/src/domain/model/discordDetails/entities/BaseDiscordDetails.ts +0 -11
- package/src/domain/model/discordDetails/entities/DiscordDetails.ts +0 -6
- package/src/domain/model/discordDetails/entities/index.ts +0 -2
- package/src/domain/model/discordDetails/index.ts +0 -2
- package/src/domain/model/email/dtos/emailDto.ts +0 -46
- package/src/domain/model/email/dtos/index.ts +0 -1
- package/src/domain/model/email/index.ts +0 -1
- package/src/domain/model/entity/Entity.ts +0 -15
- package/src/domain/model/entity/index.ts +0 -1
- package/src/domain/model/index.ts +0 -21
- package/src/domain/model/link-features/dtos/index.ts +0 -1
- package/src/domain/model/link-features/dtos/linkFeaturesDto.ts +0 -39
- package/src/domain/model/link-features/entities/LinkFeatures.ts +0 -7
- package/src/domain/model/link-features/entities/index.ts +0 -1
- package/src/domain/model/link-features/index.ts +0 -2
- package/src/domain/model/paylink/dtos/createPaylinkDto.ts +0 -81
- package/src/domain/model/paylink/dtos/index.ts +0 -2
- package/src/domain/model/paylink/dtos/updatePaylinkDto.ts +0 -80
- package/src/domain/model/paylink/entities/BasePaylink.ts +0 -9
- package/src/domain/model/paylink/entities/OnlyContentPaylink.ts +0 -6
- package/src/domain/model/paylink/entities/Paylink.ts +0 -9
- package/src/domain/model/paylink/entities/ShallowEnrichedPaylink.ts +0 -9
- package/src/domain/model/paylink/entities/index.ts +0 -4
- package/src/domain/model/paylink/index.ts +0 -2
- package/src/domain/model/paylink-tx/dtos/createPaylinkTxDto.ts +0 -24
- package/src/domain/model/paylink-tx/dtos/index.ts +0 -2
- package/src/domain/model/paylink-tx/dtos/updatePaylinkTxDto.ts +0 -7
- package/src/domain/model/paylink-tx/entities/BasePaylinkTx.ts +0 -9
- package/src/domain/model/paylink-tx/entities/PaylinkTx.ts +0 -9
- package/src/domain/model/paylink-tx/entities/PaylinkTxWithShallowEnrichedPaylink.ts +0 -15
- package/src/domain/model/paylink-tx/entities/ShallowEnrichedPaylinkTx.ts +0 -9
- package/src/domain/model/paylink-tx/entities/index.ts +0 -4
- package/src/domain/model/paylink-tx/index.ts +0 -2
- package/src/domain/model/payment-request/entities/BasePaymentRequest.ts +0 -21
- package/src/domain/model/payment-request/entities/PaymentRequest.ts +0 -15
- package/src/domain/model/payment-request/entities/ShallowEnrichedPaymentRequest.ts +0 -15
- package/src/domain/model/payment-request/entities/index.ts +0 -3
- package/src/domain/model/payment-request/index.ts +0 -1
- package/src/domain/model/payment-request-features/entities/PaymentRequestFeatures.ts +0 -17
- package/src/domain/model/payment-request-features/entities/index.ts +0 -1
- package/src/domain/model/payment-request-features/index.ts +0 -1
- package/src/domain/model/role/dtos/createRoleDto.ts +0 -20
- package/src/domain/model/role/dtos/index.ts +0 -2
- package/src/domain/model/role/dtos/updateRoleDto.ts +0 -10
- package/src/domain/model/role/entities/BaseRole.ts +0 -8
- package/src/domain/model/role/entities/Role.ts +0 -9
- package/src/domain/model/role/entities/RoleType.ts +0 -5
- package/src/domain/model/role/entities/ShallowEnrichedRole.ts +0 -9
- package/src/domain/model/role/entities/index.ts +0 -4
- package/src/domain/model/role/index.ts +0 -2
- package/src/domain/model/slug/dtos/index.ts +0 -1
- package/src/domain/model/slug/dtos/slug.ts +0 -20
- package/src/domain/model/slug/entities/Slug.ts +0 -15
- package/src/domain/model/slug/entities/SlugObjectType.ts +0 -5
- package/src/domain/model/slug/entities/index.ts +0 -2
- package/src/domain/model/slug/index.ts +0 -2
- package/src/domain/model/transaction-meta/dtos/CreateTransactionMetaDto.ts +0 -34
- package/src/domain/model/transaction-meta/dtos/index.ts +0 -1
- package/src/domain/model/transaction-meta/entities/BaseTransactionMeta.ts +0 -16
- package/src/domain/model/transaction-meta/entities/ShallowEnrichedTransactionMeta.ts +0 -6
- package/src/domain/model/transaction-meta/entities/TransactionMeta.ts +0 -6
- package/src/domain/model/transaction-meta/entities/index.ts +0 -3
- package/src/domain/model/transaction-meta/index.ts +0 -2
- package/src/domain/model/user/dtos/CreateUserDto.ts +0 -19
- package/src/domain/model/user/dtos/UpdateUserDto.ts +0 -24
- package/src/domain/model/user/dtos/index.ts +0 -2
- package/src/domain/model/user/entities/BaseUser.ts +0 -13
- package/src/domain/model/user/entities/ShallowEnrichedUser.ts +0 -9
- package/src/domain/model/user/entities/User.ts +0 -9
- package/src/domain/model/user/entities/index.ts +0 -3
- package/src/domain/model/user/index.ts +0 -2
- package/src/domain/model/wallet/dtos/UpdateWalletDto.ts +0 -8
- package/src/domain/model/wallet/dtos/index.ts +0 -1
- package/src/domain/model/wallet/entities/BaseWallet.ts +0 -7
- package/src/domain/model/wallet/entities/Wallet.ts +0 -6
- package/src/domain/model/wallet/entities/index.ts +0 -2
- package/src/domain/model/wallet/index.ts +0 -2
- package/src/domain/services/EmailService.ts +0 -6
- package/src/domain/services/index.ts +0 -1
- package/src/index.ts +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './slug';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { IsEnum, IsNotEmpty, IsString } from 'class-validator';
|
|
2
|
-
import { ApiProperty } from '@nestjs/swagger';
|
|
3
|
-
import { SlugObjectType } from '../entities';
|
|
4
|
-
|
|
5
|
-
export class SlugDto {
|
|
6
|
-
@ApiProperty()
|
|
7
|
-
@IsString()
|
|
8
|
-
@IsNotEmpty()
|
|
9
|
-
slug: string;
|
|
10
|
-
|
|
11
|
-
@ApiProperty()
|
|
12
|
-
@IsEnum(SlugObjectType)
|
|
13
|
-
@IsNotEmpty()
|
|
14
|
-
objectType: SlugObjectType;
|
|
15
|
-
|
|
16
|
-
@ApiProperty()
|
|
17
|
-
@IsString()
|
|
18
|
-
@IsNotEmpty()
|
|
19
|
-
objectId: string;
|
|
20
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { Type } from 'class-transformer';
|
|
2
|
-
import {
|
|
3
|
-
IsNotEmpty,
|
|
4
|
-
IsNotEmptyObject,
|
|
5
|
-
IsString,
|
|
6
|
-
ValidateNested,
|
|
7
|
-
} from 'class-validator';
|
|
8
|
-
import { CustomerDetailsDto } from '../../customer-details';
|
|
9
|
-
|
|
10
|
-
export class CreateTransactionMetaDto {
|
|
11
|
-
@IsString()
|
|
12
|
-
@IsNotEmpty()
|
|
13
|
-
transactionSignature: string;
|
|
14
|
-
|
|
15
|
-
@IsNotEmpty()
|
|
16
|
-
amount: bigint;
|
|
17
|
-
|
|
18
|
-
@IsString()
|
|
19
|
-
@IsNotEmpty()
|
|
20
|
-
currency: string;
|
|
21
|
-
|
|
22
|
-
@IsString()
|
|
23
|
-
@IsNotEmpty()
|
|
24
|
-
recipientPK: string;
|
|
25
|
-
|
|
26
|
-
@IsString()
|
|
27
|
-
@IsNotEmpty()
|
|
28
|
-
senderPK: string;
|
|
29
|
-
|
|
30
|
-
@IsNotEmptyObject()
|
|
31
|
-
@Type(() => CustomerDetailsDto)
|
|
32
|
-
@ValidateNested()
|
|
33
|
-
customerDetails: CustomerDetailsDto;
|
|
34
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './CreateTransactionMetaDto';
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { CustomerDetails } from '../../customer-details';
|
|
2
|
-
import { Entity } from '../../entity';
|
|
3
|
-
|
|
4
|
-
export class BaseTransactionMeta extends Entity {
|
|
5
|
-
id: string;
|
|
6
|
-
|
|
7
|
-
transactionSignature: string;
|
|
8
|
-
|
|
9
|
-
amount: bigint;
|
|
10
|
-
|
|
11
|
-
recipientPK: string;
|
|
12
|
-
|
|
13
|
-
senderPK: string;
|
|
14
|
-
|
|
15
|
-
customerDetails: CustomerDetails;
|
|
16
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { IsEmail, IsOptional, IsString } from 'class-validator';
|
|
2
|
-
|
|
3
|
-
export class CreateUserDto {
|
|
4
|
-
@IsEmail()
|
|
5
|
-
@IsOptional()
|
|
6
|
-
email?: string;
|
|
7
|
-
|
|
8
|
-
@IsString()
|
|
9
|
-
@IsOptional()
|
|
10
|
-
name?: string;
|
|
11
|
-
|
|
12
|
-
@IsString()
|
|
13
|
-
@IsOptional()
|
|
14
|
-
discordUsername?: string;
|
|
15
|
-
|
|
16
|
-
@IsString()
|
|
17
|
-
@IsOptional()
|
|
18
|
-
twitterUsername?: string;
|
|
19
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { IsEmail, IsOptional, IsString } from 'class-validator';
|
|
2
|
-
import { ApiProperty } from '@nestjs/swagger';
|
|
3
|
-
|
|
4
|
-
export class UpdateUserDto {
|
|
5
|
-
@ApiProperty()
|
|
6
|
-
@IsEmail()
|
|
7
|
-
@IsOptional()
|
|
8
|
-
email?: string;
|
|
9
|
-
|
|
10
|
-
@ApiProperty()
|
|
11
|
-
@IsString()
|
|
12
|
-
@IsOptional()
|
|
13
|
-
name?: string;
|
|
14
|
-
|
|
15
|
-
@ApiProperty()
|
|
16
|
-
@IsString()
|
|
17
|
-
@IsOptional()
|
|
18
|
-
discordUsername?: string;
|
|
19
|
-
|
|
20
|
-
@ApiProperty()
|
|
21
|
-
@IsString()
|
|
22
|
-
@IsOptional()
|
|
23
|
-
twitterUsername?: string;
|
|
24
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './UpdateWalletDto';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './EmailService';
|
package/src/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './domain';
|