-
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
33b29f0
commit d9c3a0b
Showing
148 changed files
with
860 additions
and
1,274 deletions.
There are no files selected for viewing
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/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 | ||
} |
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-benefactor.dto'; | ||
export * from './create-benefactor.dto'; | ||
export * from './update-benefactor.dto'; | ||
export * from './connect-benefactor.dto' | ||
export * from './create-benefactor.dto' | ||
export * from './update-benefactor.dto' |
8 changes: 1 addition & 7 deletions
8
apps/api/src/domain/generated/benefactor/dto/update-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 UpdateBenefactorDto { | ||
extCustomerId?: string; | ||
extCustomerId?: string | ||
} |
16 changes: 7 additions & 9 deletions
16
apps/api/src/domain/generated/benefactor/entities/benefactor.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 {Person} from '../../person/entities/person.entity' | ||
|
||
import { Person } from '../../person/entities/person.entity' | ||
|
||
export class Benefactor { | ||
id: string ; | ||
personId: string ; | ||
extCustomerId: string | null; | ||
createdAt: Date ; | ||
updatedAt: Date | null; | ||
person?: Person ; | ||
id: string | ||
personId: string | ||
extCustomerId: string | null | ||
createdAt: Date | ||
updatedAt: Date | null | ||
person?: Person | ||
} |
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 './benefactor.entity'; | ||
export * from './benefactor.entity' |
8 changes: 3 additions & 5 deletions
8
apps/api/src/domain/generated/beneficiary/dto/connect-beneficiary.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 ConnectBeneficiaryDto { | ||
id: string; | ||
} | ||
|
||
export class ConnectBeneficiaryDto { | ||
id: string | ||
} |
28 changes: 12 additions & 16 deletions
28
apps/api/src/domain/generated/beneficiary/dto/create-beneficiary.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,19 +1,15 @@ | ||
|
||
import {Prisma,BeneficiaryType,PersonRelation} from '@prisma/client' | ||
import {ApiProperty} from '@nestjs/swagger' | ||
|
||
|
||
|
||
import { Prisma, BeneficiaryType, PersonRelation } from '@prisma/client' | ||
import { ApiProperty } from '@nestjs/swagger' | ||
|
||
export class CreateBeneficiaryDto { | ||
@ApiProperty({ enum: BeneficiaryType}) | ||
type: BeneficiaryType; | ||
countryCode: string; | ||
@ApiProperty({ enum: PersonRelation}) | ||
coordinatorRelation?: PersonRelation; | ||
description?: string; | ||
privateData?: Prisma.InputJsonValue; | ||
publicData?: Prisma.InputJsonValue; | ||
@ApiProperty({ enum: PersonRelation}) | ||
organizerRelation?: PersonRelation; | ||
@ApiProperty({ enum: BeneficiaryType }) | ||
type: BeneficiaryType | ||
countryCode: string | ||
@ApiProperty({ enum: PersonRelation }) | ||
coordinatorRelation?: PersonRelation | ||
description?: string | ||
privateData?: Prisma.InputJsonValue | ||
publicData?: Prisma.InputJsonValue | ||
@ApiProperty({ enum: PersonRelation }) | ||
organizerRelation?: PersonRelation | ||
} |
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-beneficiary.dto'; | ||
export * from './create-beneficiary.dto'; | ||
export * from './update-beneficiary.dto'; | ||
export * from './connect-beneficiary.dto' | ||
export * from './create-beneficiary.dto' | ||
export * from './update-beneficiary.dto' |
28 changes: 12 additions & 16 deletions
28
apps/api/src/domain/generated/beneficiary/dto/update-beneficiary.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,19 +1,15 @@ | ||
|
||
import {Prisma,BeneficiaryType,PersonRelation} from '@prisma/client' | ||
import {ApiProperty} from '@nestjs/swagger' | ||
|
||
|
||
|
||
import { Prisma, BeneficiaryType, PersonRelation } from '@prisma/client' | ||
import { ApiProperty } from '@nestjs/swagger' | ||
|
||
export class UpdateBeneficiaryDto { | ||
@ApiProperty({ enum: BeneficiaryType}) | ||
type?: BeneficiaryType; | ||
countryCode?: string; | ||
@ApiProperty({ enum: PersonRelation}) | ||
coordinatorRelation?: PersonRelation; | ||
description?: string; | ||
privateData?: Prisma.InputJsonValue; | ||
publicData?: Prisma.InputJsonValue; | ||
@ApiProperty({ enum: PersonRelation}) | ||
organizerRelation?: PersonRelation; | ||
@ApiProperty({ enum: BeneficiaryType }) | ||
type?: BeneficiaryType | ||
countryCode?: string | ||
@ApiProperty({ enum: PersonRelation }) | ||
coordinatorRelation?: PersonRelation | ||
description?: string | ||
privateData?: Prisma.InputJsonValue | ||
publicData?: Prisma.InputJsonValue | ||
@ApiProperty({ enum: PersonRelation }) | ||
organizerRelation?: PersonRelation | ||
} |
58 changes: 28 additions & 30 deletions
58
apps/api/src/domain/generated/beneficiary/entities/beneficiary.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,33 +1,31 @@ | ||
|
||
import {Prisma,BeneficiaryType,PersonRelation} from '@prisma/client' | ||
import {City} from '../../city/entities/city.entity' | ||
import {Company} from '../../company/entities/company.entity' | ||
import {Coordinator} from '../../coordinator/entities/coordinator.entity' | ||
import {Organizer} from '../../organizer/entities/organizer.entity' | ||
import {Person} from '../../person/entities/person.entity' | ||
import {Campaign} from '../../campaign/entities/campaign.entity' | ||
|
||
import { Prisma, BeneficiaryType, PersonRelation } from '@prisma/client' | ||
import { City } from '../../city/entities/city.entity' | ||
import { Company } from '../../company/entities/company.entity' | ||
import { Coordinator } from '../../coordinator/entities/coordinator.entity' | ||
import { Organizer } from '../../organizer/entities/organizer.entity' | ||
import { Person } from '../../person/entities/person.entity' | ||
import { Campaign } from '../../campaign/entities/campaign.entity' | ||
|
||
export class Beneficiary { | ||
id: string ; | ||
type: BeneficiaryType ; | ||
personId: string | null; | ||
coordinatorId: string | null; | ||
countryCode: string ; | ||
cityId: string ; | ||
createdAt: Date ; | ||
updatedAt: Date | null; | ||
coordinatorRelation: PersonRelation | null; | ||
description: string | null; | ||
privateData: Prisma.JsonValue | null; | ||
publicData: Prisma.JsonValue | null; | ||
companyId: string | null; | ||
organizerId: string | null; | ||
organizerRelation: PersonRelation | null; | ||
city?: City ; | ||
company?: Company | null; | ||
coordinator?: Coordinator | null; | ||
organizer?: Organizer | null; | ||
person?: Person | null; | ||
campaigns?: Campaign[] ; | ||
id: string | ||
type: BeneficiaryType | ||
personId: string | null | ||
coordinatorId: string | null | ||
countryCode: string | ||
cityId: string | ||
createdAt: Date | ||
updatedAt: Date | null | ||
coordinatorRelation: PersonRelation | null | ||
description: string | null | ||
privateData: Prisma.JsonValue | null | ||
publicData: Prisma.JsonValue | null | ||
companyId: string | null | ||
organizerId: string | null | ||
organizerRelation: PersonRelation | null | ||
city?: City | ||
company?: Company | null | ||
coordinator?: Coordinator | null | ||
organizer?: Organizer | null | ||
person?: Person | null | ||
campaigns?: Campaign[] | ||
} |
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 './beneficiary.entity'; | ||
export * from './beneficiary.entity' |
12 changes: 5 additions & 7 deletions
12
apps/api/src/domain/generated/campaign/dto/connect-campaign.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 ConnectCampaignDto { | ||
id?: string; | ||
slug?: string; | ||
paymentReference?: string; | ||
} | ||
|
||
export class ConnectCampaignDto { | ||
id?: string | ||
slug?: string | ||
paymentReference?: string | ||
} |
Oops, something went wrong.