-
Notifications
You must be signed in to change notification settings - Fork 14
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
8964eef
commit f0928ee
Showing
31 changed files
with
694 additions
and
345 deletions.
There are no files selected for viewing
42 changes: 21 additions & 21 deletions
42
e2e/test-registration-data/test-registrations-westeros-20.csv
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,21 +1,21 @@ | ||
referenceId,preferredLanguage,paymentAmountMultiplier,maxPayments,firstName,lastName,phoneNumber,fspName,whatsappPhoneNumber,addressStreet,addressHouseNumber,addressHouseNumberAddition,addressPostalCode,addressCity,house | ||
00dc9451-1273-484c-b2e8-ae21b51a96ab,en,1,,Test,succeed,14155238886,Intersolve-visa,14155238886,Straat,1,A,1234AB,Den Haag,stark | ||
01dc9451-1273-484c-b2e8-ae21b51a96ab,en,1,,Test,succeed,14155238886,Intersolve-visa,14155238886,Straat,1,A,1234AB,Den Haag,stark | ||
02dc9451-1273-484c-b2e8-ae21b51a96ab,en,1,,Test,succeed,14155238886,Intersolve-visa,14155238886,Straat,1,A,1234AB,Den Haag,stark | ||
03dc9451-1273-484c-b2e8-ae21b51a96ab,en,1,,Test,succeed,14155238886,Intersolve-visa,14155238886,Straat,1,A,1234AB,Den Haag,stark | ||
04dc9451-1273-484c-b2e8-ae21b51a96ab,en,1,,Test,succeed,14155238886,Intersolve-visa,14155238886,Straat,1,A,1234AB,Den Haag,stark | ||
05dc9451-1273-484c-b2e8-ae21b51a96ab,en,1,,Test,succeed,14155238886,Intersolve-visa,14155238886,Straat,1,A,1234AB,Den Haag,stark | ||
06dc9451-1273-484c-b2e8-ae21b51a96ab,en,1,,Test,succeed,14155238886,Intersolve-visa,14155238886,Straat,1,A,1234AB,Den Haag,stark | ||
07dc9451-1273-484c-b2e8-ae21b51a96ab,en,1,,Test,succeed,14155238886,Intersolve-visa,14155238886,Straat,1,A,1234AB,Den Haag,stark | ||
08dc9451-1273-484c-b2e8-ae21b51a96ab,en,1,,Test,succeed,14155238886,Intersolve-visa,14155238886,Straat,1,A,1234AB,Den Haag,stark | ||
09dc9451-1273-484c-b2e8-ae21b51a96ab,en,1,,Test,succeed,14155238886,Intersolve-visa,14155238886,Straat,1,A,1234AB,Den Haag,stark | ||
10dc9451-1273-484c-b2e8-ae21b51a96ab,en,1,,Test,succeed,14155238886,Intersolve-visa,14155238886,Straat,1,A,1234AB,Den Haag,stark | ||
11dc9451-1273-484c-b2e8-ae21b51a96ab,en,1,,Test,succeed,14155238886,Intersolve-visa,14155238886,Straat,1,A,1234AB,Den Haag,stark | ||
12dc9451-1273-484c-b2e8-ae21b51a96ab,en,1,,Test,succeed,14155238886,Intersolve-visa,14155238886,Straat,1,A,1234AB,Den Haag,stark | ||
13dc9451-1273-484c-b2e8-ae21b51a96ab,en,1,,Test,succeed,14155238886,Intersolve-visa,14155238886,Straat,1,A,1234AB,Den Haag,stark | ||
14dc9451-1273-484c-b2e8-ae21b51a96ab,en,1,,Test,succeed,14155238876,Intersolve-visa,14155238886,Straat,1,A,1234AB,Den Haag,stark | ||
15dc9451-1273-484c-b2e8-ae21b51a96ab,en,1,,Test,succeed,14155238856,Intersolve-visa,14155238886,Straat,1,A,1234AB,Den Haag,stark | ||
16dc9451-1273-484c-b2e8-ae21b51a96ab,en,1,,Test,succeed,14155238886,Intersolve-visa,14155238886,Straat,1,A,1234AB,Den Haag,stark | ||
17dc9451-1273-484c-b2e8-ae21b51a96ab,en,1,,Test,succeed,14155238886,Intersolve-visa,14155238886,Straat,1,A,1234AB,Den Haag,stark | ||
18dc9451-1273-484c-b2e8-ae21b51a96ab,en,1,,Test,succeed,14155238886,Intersolve-visa,14155238886,Straat,1,A,1234AB,Den Haag,stark | ||
19dc9451-1273-484c-b2e8-ae21b51a96ab,en,1,,Test,succeed,14155238886,Intersolve-visa,14155238886,Straat,1,A,1234AB,Den Haag,stark | ||
referenceId,preferredLanguage,paymentAmountMultiplier,maxPayments,firstName,lastName,phoneNumber,programFinancialServiceProviderConfigurationName,whatsappPhoneNumber,addressStreet,addressHouseNumber,addressHouseNumberAddition,addressPostalCode,addressCity,house | ||
00dc9451-1273-484c-b2e8-ae21b51a96ab,en,1,,Test,succeed,14155238886,ironBank,14155238886,Straat,1,A,1234AB,Den Haag,stark | ||
01dc9451-1273-484c-b2e8-ae21b51a96ab,en,1,,Test,succeed,14155238886,ironBank,14155238886,Straat,1,A,1234AB,Den Haag,stark | ||
02dc9451-1273-484c-b2e8-ae21b51a96ab,en,1,,Test,succeed,14155238886,ironBank,14155238886,Straat,1,A,1234AB,Den Haag,stark | ||
03dc9451-1273-484c-b2e8-ae21b51a96ab,en,1,,Test,succeed,14155238886,ironBank,14155238886,Straat,1,A,1234AB,Den Haag,stark | ||
04dc9451-1273-484c-b2e8-ae21b51a96ab,en,1,,Test,succeed,14155238886,ironBank,14155238886,Straat,1,A,1234AB,Den Haag,stark | ||
05dc9451-1273-484c-b2e8-ae21b51a96ab,en,1,,Test,succeed,14155238886,ironBank,14155238886,Straat,1,A,1234AB,Den Haag,stark | ||
06dc9451-1273-484c-b2e8-ae21b51a96ab,en,1,,Test,succeed,14155238886,ironBank,14155238886,Straat,1,A,1234AB,Den Haag,stark | ||
07dc9451-1273-484c-b2e8-ae21b51a96ab,en,1,,Test,succeed,14155238886,ironBank,14155238886,Straat,1,A,1234AB,Den Haag,stark | ||
08dc9451-1273-484c-b2e8-ae21b51a96ab,en,1,,Test,succeed,14155238886,ironBank,14155238886,Straat,1,A,1234AB,Den Haag,stark | ||
09dc9451-1273-484c-b2e8-ae21b51a96ab,en,1,,Test,succeed,14155238886,ironBank,14155238886,Straat,1,A,1234AB,Den Haag,stark | ||
10dc9451-1273-484c-b2e8-ae21b51a96ab,en,1,,Test,succeed,14155238886,gringotts,14155238886,Straat,1,A,1234AB,Den Haag,stark | ||
11dc9451-1273-484c-b2e8-ae21b51a96ab,en,1,,Test,succeed,14155238886,gringotts,14155238886,Straat,1,A,1234AB,Den Haag,stark | ||
12dc9451-1273-484c-b2e8-ae21b51a96ab,en,1,,Test,succeed,14155238886,gringotts,14155238886,Straat,1,A,1234AB,Den Haag,stark | ||
13dc9451-1273-484c-b2e8-ae21b51a96ab,en,1,,Test,succeed,14155238886,gringotts,14155238886,Straat,1,A,1234AB,Den Haag,stark | ||
14dc9451-1273-484c-b2e8-ae21b51a96ab,en,1,,Test,succeed,14155238876,gringotts,14155238886,Straat,1,A,1234AB,Den Haag,stark | ||
15dc9451-1273-484c-b2e8-ae21b51a96ab,en,1,,Test,succeed,14155238856,gringotts,14155238886,Straat,1,A,1234AB,Den Haag,stark | ||
16dc9451-1273-484c-b2e8-ae21b51a96ab,en,1,,Test,succeed,14155238886,gringotts,14155238886,Straat,1,A,1234AB,Den Haag,stark | ||
17dc9451-1273-484c-b2e8-ae21b51a96ab,en,1,,Test,succeed,14155238886,gringotts,14155238886,Straat,1,A,1234AB,Den Haag,stark | ||
18dc9451-1273-484c-b2e8-ae21b51a96ab,en,1,,Test,succeed,14155238886,gringotts,14155238886,Straat,1,A,1234AB,Den Haag,stark | ||
19dc9451-1273-484c-b2e8-ae21b51a96ab,en,1,,Test,succeed,14155238886,gringotts,14155238886,Straat,1,A,1234AB,Den Haag,stark |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
1 change: 0 additions & 1 deletion
1
...rvice/src/financial-service-providers/financial-service-provider-integration-type.enum.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,4 @@ | ||
export enum FinancialServiceProviderIntegrationType { | ||
csv = 'csv', | ||
api = 'api', | ||
xml = 'xml', | ||
} |
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
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
18 changes: 18 additions & 0 deletions
18
services/121-service/src/payments/dto/import-reconciliation-response.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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { ApiProperty } from '@nestjs/swagger'; | ||
|
||
import { ReconciliationFeedbackDto } from '@121-service/src/payments/dto/reconciliation-feedback.dto'; | ||
import { AggregateImportResultDto } from '@121-service/src/registration/dto/bulk-import.dto'; | ||
|
||
export class ImportReconciliationResponseDto { | ||
@ApiProperty({ | ||
type: [ReconciliationFeedbackDto], | ||
description: 'The import result', | ||
}) | ||
importResult: ReconciliationFeedbackDto[]; | ||
|
||
@ApiProperty({ | ||
type: AggregateImportResultDto, | ||
description: 'The aggregate import result', | ||
}) | ||
aggregateImportResult: AggregateImportResultDto; | ||
} |
26 changes: 26 additions & 0 deletions
26
services/121-service/src/payments/dto/reconciliation-feedback.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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import { ApiProperty } from '@nestjs/swagger'; | ||
|
||
import { ImportStatus } from '@121-service/src/registration/dto/bulk-import.dto'; | ||
import { StatusEnum } from '@121-service/src/shared/enum/status.enum'; | ||
|
||
export class ReconciliationFeedbackDto { | ||
@ApiProperty({ example: '1234', description: 'The reference ID' }) | ||
referenceId?: string | null; | ||
|
||
@ApiProperty({ | ||
example: StatusEnum.success, | ||
enum: StatusEnum, | ||
}) | ||
status?: StatusEnum | null; | ||
|
||
@ApiProperty({ example: 'Success', description: 'The message' }) | ||
message?: string | null; | ||
|
||
@ApiProperty({ | ||
example: ImportStatus.imported, | ||
enum: ImportStatus, | ||
}) | ||
importStatus: ImportStatus; | ||
|
||
[key: string]: string | undefined | null | ImportStatus; | ||
} |
19 changes: 9 additions & 10 deletions
19
services/121-service/src/payments/fsp-integration/excel/dto/excel-fsp-instructions.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,12 +1,11 @@ | ||
export class ExcelFspInstructions { | ||
public amount: number; | ||
interface KnownProperties { | ||
amount: number; | ||
id: number; | ||
referenceId: string; | ||
} | ||
|
||
export class ExcelReconciliationDto { | ||
public id: number; | ||
public referenceId: string; | ||
public amount: number; | ||
// columnToMatch field is added dynamically based on program fsp configuration | ||
// Allow dynamic fields based on program FSP configuration | ||
[key: string]: string | number; | ||
} | ||
type UnknownProperties = Record<string, string | undefined | number | null>; | ||
|
||
interface ExcelFspInstructions extends KnownProperties, UnknownProperties {} | ||
|
||
export { ExcelFspInstructions }; |
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
Oops, something went wrong.