-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
505a210
commit 9afc6e9
Showing
202 changed files
with
1,120 additions
and
1,688 deletions.
There are no files selected for viewing
12 changes: 5 additions & 7 deletions
12
apps/api/src/domain/generated/affiliate/dto/connect-affiliate.dto.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
|
||
export class ConnectAffiliateDto { | ||
id?: string; | ||
affiliateCode?: string; | ||
companyId?: string; | ||
} | ||
|
||
export class ConnectAffiliateDto { | ||
id?: string | ||
affiliateCode?: string | ||
companyId?: string | ||
} |
8 changes: 1 addition & 7 deletions
8
apps/api/src/domain/generated/affiliate/dto/create-affiliate.dto.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,3 @@ | ||
|
||
|
||
|
||
|
||
|
||
|
||
export class CreateAffiliateDto { | ||
affiliateCode?: string; | ||
affiliateCode?: string | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
|
||
export * from './connect-affiliate.dto'; | ||
export * from './create-affiliate.dto'; | ||
export * from './update-affiliate.dto'; | ||
export * from './connect-affiliate.dto' | ||
export * from './create-affiliate.dto' | ||
export * from './update-affiliate.dto' |
8 changes: 1 addition & 7 deletions
8
apps/api/src/domain/generated/affiliate/dto/update-affiliate.dto.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,3 @@ | ||
|
||
|
||
|
||
|
||
|
||
|
||
export class UpdateAffiliateDto { | ||
affiliateCode?: string; | ||
affiliateCode?: string | ||
} |
20 changes: 9 additions & 11 deletions
20
apps/api/src/domain/generated/affiliate/entities/affiliate.entity.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
|
||
import {AffiliateStatus} from '@prisma/client' | ||
import {Company} from '../../company/entities/company.entity' | ||
import {Donation} from '../../donation/entities/donation.entity' | ||
|
||
import { AffiliateStatus } from '@prisma/client' | ||
import { Company } from '../../company/entities/company.entity' | ||
import { Donation } from '../../donation/entities/donation.entity' | ||
|
||
export class Affiliate { | ||
id: string ; | ||
status: AffiliateStatus ; | ||
affiliateCode: string | null; | ||
companyId: string | null; | ||
company?: Company | null; | ||
donations?: Donation[] ; | ||
id: string | ||
status: AffiliateStatus | ||
affiliateCode: string | null | ||
companyId: string | null | ||
company?: Company | null | ||
donations?: Donation[] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
|
||
export * from './affiliate.entity'; | ||
export * from './affiliate.entity' |
8 changes: 3 additions & 5 deletions
8
apps/api/src/domain/generated/bankAccount/dto/connect-bankAccount.dto.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
|
||
export class ConnectBankAccountDto { | ||
id: string; | ||
} | ||
|
||
export class ConnectBankAccountDto { | ||
id: string | ||
} |
22 changes: 9 additions & 13 deletions
22
apps/api/src/domain/generated/bankAccount/dto/create-bankAccount.dto.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,12 @@ | ||
|
||
import {AccountHolderType} from '@prisma/client' | ||
import {ApiProperty} from '@nestjs/swagger' | ||
|
||
|
||
|
||
import { AccountHolderType } from '@prisma/client' | ||
import { ApiProperty } from '@nestjs/swagger' | ||
|
||
export class CreateBankAccountDto { | ||
ibanNumber: string; | ||
accountHolderName: string; | ||
@ApiProperty({ enum: AccountHolderType}) | ||
accountHolderType: AccountHolderType; | ||
bankName?: string; | ||
bankIdCode?: string; | ||
fingerprint?: string; | ||
ibanNumber: string | ||
accountHolderName: string | ||
@ApiProperty({ enum: AccountHolderType }) | ||
accountHolderType: AccountHolderType | ||
bankName?: string | ||
bankIdCode?: string | ||
fingerprint?: string | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
|
||
export * from './connect-bankAccount.dto'; | ||
export * from './create-bankAccount.dto'; | ||
export * from './update-bankAccount.dto'; | ||
export * from './connect-bankAccount.dto' | ||
export * from './create-bankAccount.dto' | ||
export * from './update-bankAccount.dto' |
22 changes: 9 additions & 13 deletions
22
apps/api/src/domain/generated/bankAccount/dto/update-bankAccount.dto.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,12 @@ | ||
|
||
import {AccountHolderType} from '@prisma/client' | ||
import {ApiProperty} from '@nestjs/swagger' | ||
|
||
|
||
|
||
import { AccountHolderType } from '@prisma/client' | ||
import { ApiProperty } from '@nestjs/swagger' | ||
|
||
export class UpdateBankAccountDto { | ||
ibanNumber?: string; | ||
accountHolderName?: string; | ||
@ApiProperty({ enum: AccountHolderType}) | ||
accountHolderType?: AccountHolderType; | ||
bankName?: string; | ||
bankIdCode?: string; | ||
fingerprint?: string; | ||
ibanNumber?: string | ||
accountHolderName?: string | ||
@ApiProperty({ enum: AccountHolderType }) | ||
accountHolderType?: AccountHolderType | ||
bankName?: string | ||
bankIdCode?: string | ||
fingerprint?: string | ||
} |
28 changes: 13 additions & 15 deletions
28
apps/api/src/domain/generated/bankAccount/entities/bankAccount.entity.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,16 @@ | ||
|
||
import {BankAccountStatus,AccountHolderType} from '@prisma/client' | ||
import {Withdrawal} from '../../withdrawal/entities/withdrawal.entity' | ||
|
||
import { BankAccountStatus, AccountHolderType } from '@prisma/client' | ||
import { Withdrawal } from '../../withdrawal/entities/withdrawal.entity' | ||
|
||
export class BankAccount { | ||
id: string ; | ||
status: BankAccountStatus ; | ||
ibanNumber: string ; | ||
accountHolderName: string ; | ||
accountHolderType: AccountHolderType ; | ||
bankName: string | null; | ||
bankIdCode: string | null; | ||
fingerprint: string | null; | ||
createdAt: Date ; | ||
updatedAt: Date | null; | ||
withdraws?: Withdrawal[] ; | ||
id: string | ||
status: BankAccountStatus | ||
ibanNumber: string | ||
accountHolderName: string | ||
accountHolderType: AccountHolderType | ||
bankName: string | null | ||
bankIdCode: string | null | ||
fingerprint: string | null | ||
createdAt: Date | ||
updatedAt: Date | null | ||
withdraws?: Withdrawal[] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
|
||
export * from './bankAccount.entity'; | ||
export * from './bankAccount.entity' |
8 changes: 3 additions & 5 deletions
8
apps/api/src/domain/generated/bankTransaction/dto/connect-bankTransaction.dto.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
|
||
export class ConnectBankTransactionDto { | ||
id: string; | ||
} | ||
|
||
export class ConnectBankTransactionDto { | ||
id: string | ||
} |
40 changes: 18 additions & 22 deletions
40
apps/api/src/domain/generated/bankTransaction/dto/create-bankTransaction.dto.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,21 @@ | ||
|
||
import {BankTransactionType,BankDonationStatus} from '@prisma/client' | ||
import {ApiProperty} from '@nestjs/swagger' | ||
|
||
|
||
|
||
import { BankTransactionType, BankDonationStatus } from '@prisma/client' | ||
import { ApiProperty } from '@nestjs/swagger' | ||
|
||
export class CreateBankTransactionDto { | ||
id: string; | ||
ibanNumber: string; | ||
bankName: string; | ||
bankIdCode: string; | ||
transactionDate: Date; | ||
senderName?: string; | ||
recipientName?: string; | ||
senderIban?: string; | ||
recipientIban?: string; | ||
description: string; | ||
matchedRef?: string; | ||
@ApiProperty({ enum: BankTransactionType}) | ||
type: BankTransactionType; | ||
@ApiProperty({ enum: BankDonationStatus}) | ||
bankDonationStatus?: BankDonationStatus; | ||
notified?: boolean; | ||
id: string | ||
ibanNumber: string | ||
bankName: string | ||
bankIdCode: string | ||
transactionDate: Date | ||
senderName?: string | ||
recipientName?: string | ||
senderIban?: string | ||
recipientIban?: string | ||
description: string | ||
matchedRef?: string | ||
@ApiProperty({ enum: BankTransactionType }) | ||
type: BankTransactionType | ||
@ApiProperty({ enum: BankDonationStatus }) | ||
bankDonationStatus?: BankDonationStatus | ||
notified?: boolean | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
|
||
export * from './connect-bankTransaction.dto'; | ||
export * from './create-bankTransaction.dto'; | ||
export * from './update-bankTransaction.dto'; | ||
export * from './connect-bankTransaction.dto' | ||
export * from './create-bankTransaction.dto' | ||
export * from './update-bankTransaction.dto' |
38 changes: 17 additions & 21 deletions
38
apps/api/src/domain/generated/bankTransaction/dto/update-bankTransaction.dto.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,20 @@ | ||
|
||
import {BankTransactionType,BankDonationStatus} from '@prisma/client' | ||
import {ApiProperty} from '@nestjs/swagger' | ||
|
||
|
||
|
||
import { BankTransactionType, BankDonationStatus } from '@prisma/client' | ||
import { ApiProperty } from '@nestjs/swagger' | ||
|
||
export class UpdateBankTransactionDto { | ||
ibanNumber?: string; | ||
bankName?: string; | ||
bankIdCode?: string; | ||
transactionDate?: Date; | ||
senderName?: string; | ||
recipientName?: string; | ||
senderIban?: string; | ||
recipientIban?: string; | ||
description?: string; | ||
matchedRef?: string; | ||
@ApiProperty({ enum: BankTransactionType}) | ||
type?: BankTransactionType; | ||
@ApiProperty({ enum: BankDonationStatus}) | ||
bankDonationStatus?: BankDonationStatus; | ||
notified?: boolean; | ||
ibanNumber?: string | ||
bankName?: string | ||
bankIdCode?: string | ||
transactionDate?: Date | ||
senderName?: string | ||
recipientName?: string | ||
senderIban?: string | ||
recipientIban?: string | ||
description?: string | ||
matchedRef?: string | ||
@ApiProperty({ enum: BankTransactionType }) | ||
type?: BankTransactionType | ||
@ApiProperty({ enum: BankDonationStatus }) | ||
bankDonationStatus?: BankDonationStatus | ||
notified?: boolean | ||
} |
36 changes: 17 additions & 19 deletions
36
apps/api/src/domain/generated/bankTransaction/entities/bankTransaction.entity.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,20 @@ | ||
|
||
import {Currency,BankTransactionType,BankDonationStatus} from '@prisma/client' | ||
|
||
import { Currency, BankTransactionType, BankDonationStatus } from '@prisma/client' | ||
|
||
export class BankTransaction { | ||
id: string ; | ||
ibanNumber: string ; | ||
bankName: string ; | ||
bankIdCode: string ; | ||
transactionDate: Date ; | ||
senderName: string | null; | ||
recipientName: string | null; | ||
senderIban: string | null; | ||
recipientIban: string | null; | ||
amount: number ; | ||
currency: Currency ; | ||
description: string ; | ||
matchedRef: string | null; | ||
type: BankTransactionType ; | ||
bankDonationStatus: BankDonationStatus | null; | ||
notified: boolean | null; | ||
id: string | ||
ibanNumber: string | ||
bankName: string | ||
bankIdCode: string | ||
transactionDate: Date | ||
senderName: string | null | ||
recipientName: string | null | ||
senderIban: string | null | ||
recipientIban: string | null | ||
amount: number | ||
currency: Currency | ||
description: string | ||
matchedRef: string | null | ||
type: BankTransactionType | ||
bankDonationStatus: BankDonationStatus | null | ||
notified: boolean | null | ||
} |
3 changes: 1 addition & 2 deletions
3
apps/api/src/domain/generated/bankTransaction/entities/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
|
||
export * from './bankTransaction.entity'; | ||
export * from './bankTransaction.entity' |
8 changes: 3 additions & 5 deletions
8
apps/api/src/domain/generated/bankTransactionsFile/dto/connect-bankTransactionsFile.dto.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
|
||
export class ConnectBankTransactionsFileDto { | ||
id: string; | ||
} | ||
|
||
export class ConnectBankTransactionsFileDto { | ||
id: string | ||
} |
7 changes: 3 additions & 4 deletions
7
apps/api/src/domain/generated/bankTransactionsFile/dto/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
|
||
export * from './connect-bankTransactionsFile.dto'; | ||
export * from './create-bankTransactionsFile.dto'; | ||
export * from './update-bankTransactionsFile.dto'; | ||
export * from './connect-bankTransactionsFile.dto' | ||
export * from './create-bankTransactionsFile.dto' | ||
export * from './update-bankTransactionsFile.dto' |
16 changes: 7 additions & 9 deletions
16
apps/api/src/domain/generated/bankTransactionsFile/entities/bankTransactionsFile.entity.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
|
||
import {BankTransactionsFileType} from '@prisma/client' | ||
|
||
import { BankTransactionsFileType } from '@prisma/client' | ||
|
||
export class BankTransactionsFile { | ||
id: string ; | ||
filename: string ; | ||
mimetype: string ; | ||
bankTransactionsFileId: string ; | ||
type: BankTransactionsFileType ; | ||
personId: string ; | ||
id: string | ||
filename: string | ||
mimetype: string | ||
bankTransactionsFileId: string | ||
type: BankTransactionsFileType | ||
personId: string | ||
} |
3 changes: 1 addition & 2 deletions
3
apps/api/src/domain/generated/bankTransactionsFile/entities/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
|
||
export * from './bankTransactionsFile.entity'; | ||
export * from './bankTransactionsFile.entity' |
10 changes: 4 additions & 6 deletions
10
apps/api/src/domain/generated/benefactor/dto/connect-benefactor.dto.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
|
||
export class ConnectBenefactorDto { | ||
id?: string; | ||
extCustomerId?: string; | ||
} | ||
|
||
export class ConnectBenefactorDto { | ||
id?: string | ||
extCustomerId?: string | ||
} |
8 changes: 1 addition & 7 deletions
8
apps/api/src/domain/generated/benefactor/dto/create-benefactor.dto.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,3 @@ | ||
|
||
|
||
|
||
|
||
|
||
|
||
export class CreateBenefactorDto { | ||
extCustomerId?: string; | ||
extCustomerId?: string | ||
} |
Oops, something went wrong.