Skip to content

Commit

Permalink
1.0.0-RC6
Browse files Browse the repository at this point in the history
  • Loading branch information
judahreis authored and luizlaydner committed Aug 25, 2020
1 parent b7710e5 commit 43667de
Show file tree
Hide file tree
Showing 30 changed files with 460 additions and 374 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@

Mudanças relevantes na API do DICT serão documentadas aqui.

## [1.0.0-RC6] - 2020-08-24
### Adicionado
- _Endpoints_ de InfractionReport
- Campo OpeningDate em Entry.Account e Claim.ClaimerAccount
- Campo OpenClaimCreationDate em ExtendedEntry
- Campos CancelReason, CancelledBy, ConfirmReason em Claim
- Campos EntryCreationDate e KeyOwnershipDate em CompleteClaimResponse
- Campo RequestId em GetEntryByCidResponse

### Alterado
- Parâmetro ClaimStatus no _Endpoint_ listClaims passou a ser multi-valor (array)
- A fórmula que calcula o erro de EntryLimitExceeded considerava Participant+Branch+AccountNumber,
passou a considerar Participant+Branch+AccountNumber+*AccountType*.

### Removido
- _Endpoints_ de Disputas (substituído por InfractionReport)

## [1.0.0-RC5] - 2020-07-22
### Adicionado
- Contadores para avaliação de risco de fraude em GetEntryResponse
Expand Down
2 changes: 2 additions & 0 deletions openapi/examples/claims/CancelClaimResponse.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,7 @@
<ResolutionPeriodEnd>2020-01-17T10:00:00Z</ResolutionPeriodEnd>
<CompletionPeriodEnd>2020-01-17T10:00:00Z</CompletionPeriodEnd>
<LastModified>2020-01-10T10:00:00Z</LastModified>
<CancelReason>FRAUD</CancelReason>
<CancelledBy>CLAIMER</CancelledBy>
</Claim>
</CancelClaimResponse>
3 changes: 3 additions & 0 deletions openapi/examples/claims/CompleteClaimResponse.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,8 @@
<ResolutionPeriodEnd>2020-01-17T10:00:00Z</ResolutionPeriodEnd>
<CompletionPeriodEnd>2020-01-17T10:00:00Z</CompletionPeriodEnd>
<LastModified>2020-01-10T10:00:00Z</LastModified>
<ConfirmReason>DEFAULT_OPERATION</ConfirmReason>
</Claim>
<EntryCreationDate>2020-01-10T10:00:00Z</EntryCreationDate>
<KeyOwnershipDate>2019-11-18T03:00:00Z</KeyOwnershipDate>
</CompleteClaimResponse>
1 change: 1 addition & 0 deletions openapi/examples/claims/ConfirmClaimResponse.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@
<ResolutionPeriodEnd>2020-01-17T10:00:00Z</ResolutionPeriodEnd>
<CompletionPeriodEnd>2020-01-17T10:00:00Z</CompletionPeriodEnd>
<LastModified>2020-01-10T10:00:00Z</LastModified>
<ConfirmReason>USER_REQUESTED</ConfirmReason>
</Claim>
</ConfirmClaimResponse>
5 changes: 4 additions & 1 deletion openapi/examples/claims/ListClaimsResponse.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,13 @@
</Claimer>
<DonorParticipant>87654321</DonorParticipant>
<Id>123e4567-e89b-12d3-a456-426655440000</Id>
<Status>OPEN</Status>
<Status>CANCELLED</Status>
<ResolutionPeriodEnd>2020-01-17T10:00:00Z</ResolutionPeriodEnd>
<CompletionPeriodEnd>2020-01-17T10:00:00Z</CompletionPeriodEnd>
<LastModified>2020-01-10T10:00:00Z</LastModified>
<ConfirmReason>DEFAULT_OPERATION</ConfirmReason>
<CancelReason>FRAUD</CancelReason>
<CancelledBy>DONOR</CancelledBy>
</Claim>
</Claims>
</ListClaimsResponse>
6 changes: 0 additions & 6 deletions openapi/examples/disputes/AcknowledgeDisputeRequest.xml

This file was deleted.

16 changes: 0 additions & 16 deletions openapi/examples/disputes/AcknowledgeDisputeResponse.xml

This file was deleted.

6 changes: 0 additions & 6 deletions openapi/examples/disputes/CancelDisputeRequest.xml

This file was deleted.

16 changes: 0 additions & 16 deletions openapi/examples/disputes/CancelDisputeResponse.xml

This file was deleted.

12 changes: 0 additions & 12 deletions openapi/examples/disputes/CloseDisputeRequest.xml

This file was deleted.

22 changes: 0 additions & 22 deletions openapi/examples/disputes/CloseDisputeResponse.xml

This file was deleted.

11 changes: 0 additions & 11 deletions openapi/examples/disputes/CreateDisputeRequest.xml

This file was deleted.

16 changes: 0 additions & 16 deletions openapi/examples/disputes/CreateDisputeResponse.xml

This file was deleted.

16 changes: 0 additions & 16 deletions openapi/examples/disputes/GetDisputeResponse.xml

This file was deleted.

23 changes: 0 additions & 23 deletions openapi/examples/disputes/ListDisputesResponse.xml

This file was deleted.

1 change: 1 addition & 0 deletions openapi/examples/entries/GetEntryResponse.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
</Owner>
<CreationDate>2019-11-18T03:00:00Z</CreationDate>
<KeyOwnershipDate>2019-11-18T03:00:00Z</KeyOwnershipDate>
<OpenClaimCreationDate>2019-11-19T03:00:00Z</OpenClaimCreationDate>
</Entry>
<Statistics>
<LastUpdated>2020-01-17T10:00:00Z</LastUpdated>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8" ?>
<AcknowledgeInfractionReportRequest>
<Signature></Signature>
<InfractionReportId>91d65e98-97c0-4b0f-b577-73625da1f9fc</InfractionReportId>
<Participant>12345678</Participant>
</AcknowledgeInfractionReportRequest>
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8" ?>
<AcknowledgeInfractionReportResponse>
<Signature></Signature>
<InfractionReport>
<TransactionId>E9999901012341234123412345678900</TransactionId>
<InfractionType>FRAUD</InfractionType>
<ReportedBy>DEBITED_PARTICIPANT</ReportedBy>
<ReportDetails>Transação feita através de QR Code falso em boleto</ReportDetails>
<Id>91d65e98-97c0-4b0f-b577-73625da1f9fc</Id>
<Status>CLOSED</Status>
<DebitedParticipant>99999010</DebitedParticipant>
<CreditedParticipant>99999011</CreditedParticipant>
<CreationTime>2020-01-17T10:00:00Z</CreationTime>
<LastModified>2020-01-17T10:00:00Z</LastModified>
</InfractionReport>
</AcknowledgeInfractionReportResponse>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8" ?>
<CancelInfractionReportRequest>
<Signature></Signature>
<InfractionReportId>91d65e98-97c0-4b0f-b577-73625da1f9fc</InfractionReportId>
<Participant>12345678</Participant>
</CancelInfractionReportRequest>
16 changes: 16 additions & 0 deletions openapi/examples/infractions/CancelInfractionReportResponse.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8" ?>
<CancelInfractionReportResponse>
<Signature></Signature>
<InfractionReport>
<TransactionId>E9999901012341234123412345678900</TransactionId>
<InfractionType>FRAUD</InfractionType>
<ReportedBy>DEBITED_PARTICIPANT</ReportedBy>
<ReportDetails>Transação feita através de QR Code falso em boleto</ReportDetails>
<Id>91d65e98-97c0-4b0f-b577-73625da1f9fc</Id>
<Status>CANCELLED</Status>
<DebitedParticipant>99999010</DebitedParticipant>
<CreditedParticipant>99999011</CreditedParticipant>
<CreationTime>2020-01-17T10:00:00Z</CreationTime>
<LastModified>2020-01-17T10:00:00Z</LastModified>
</InfractionReport>
</CancelInfractionReportResponse>
11 changes: 11 additions & 0 deletions openapi/examples/infractions/CloseInfractionReportRequest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8" ?>
<CloseInfractionReportRequest>
<Signature></Signature>
<InfractionReportId>91d65e98-97c0-4b0f-b577-73625da1f9fc</InfractionReportId>
<Participant>12345678</Participant>
<AnalysisResult>AGREED</AnalysisResult>
<AnalysisDetails>
Valor bloqueado. Para mais informações, contactar central antifraude em
11 3000-00000, informando ID 9999.
</AnalysisDetails>
</CloseInfractionReportRequest>
21 changes: 21 additions & 0 deletions openapi/examples/infractions/CloseInfractionReportResponse.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8" ?>
<CloseInfractionReportResponse>
<Signature></Signature>
<InfractionReport>
<TransactionId>E9999901012341234123412345678900</TransactionId>
<InfractionType>FRAUD</InfractionType>
<ReportedBy>DEBITED_PARTICIPANT</ReportedBy>
<ReportDetails>Transação feita através de QR Code falso em boleto</ReportDetails>
<Id>91d65e98-97c0-4b0f-b577-73625da1f9fc</Id>
<Status>CLOSED</Status>
<DebitedParticipant>99999010</DebitedParticipant>
<CreditedParticipant>99999011</CreditedParticipant>
<CreationTime>2020-01-17T10:00:00Z</CreationTime>
<LastModified>2020-01-17T10:00:00Z</LastModified>
<AnalysisResult>AGREED</AnalysisResult>
<AnalysisDetails>
Valor bloqueado. Para mais informações, contactar central antifraude em
11 3000-00000, informando ID 9999.
</AnalysisDetails>
</InfractionReport>
</CloseInfractionReportResponse>
10 changes: 10 additions & 0 deletions openapi/examples/infractions/CreateInfractionReportRequest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8" ?>
<CreateInfractionReportRequest>
<Signature></Signature>
<Participant>99999010</Participant>
<InfractionReport>
<TransactionId>E9999901012341234123412345678900</TransactionId>
<InfractionType>FRAUD</InfractionType>
<ReportDetails>Transação feita através de QR Code falso em boleto</ReportDetails>
</InfractionReport>
</CreateInfractionReportRequest>
16 changes: 16 additions & 0 deletions openapi/examples/infractions/CreateInfractionReportResponse.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8" ?>
<CreateInfractionReportResponse>
<Signature></Signature>
<InfractionReport>
<TransactionId>E9999901012341234123412345678900</TransactionId>
<InfractionType>FRAUD</InfractionType>
<ReportedBy>DEBITED_PARTICIPANT</ReportedBy>
<ReportDetails>Transação feita através de QR Code falso em boleto</ReportDetails>
<Id>91d65e98-97c0-4b0f-b577-73625da1f9fc</Id>
<Status>CLOSED</Status>
<DebitedParticipant>99999010</DebitedParticipant>
<CreditedParticipant>99999011</CreditedParticipant>
<CreationTime>2020-01-17T10:00:00Z</CreationTime>
<LastModified>2020-01-17T10:00:00Z</LastModified>
</InfractionReport>
</CreateInfractionReportResponse>
16 changes: 16 additions & 0 deletions openapi/examples/infractions/GetInfractionReportResponse.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8" ?>
<GetInfractionReportResponse>
<Signature></Signature>
<InfractionReport>
<TransactionId>E9999901012341234123412345678900</TransactionId>
<InfractionType>FRAUD</InfractionType>
<ReportedBy>DEBITED_PARTICIPANT</ReportedBy>
<ReportDetails>Transação feita através de QR Code falso em boleto</ReportDetails>
<Id>91d65e98-97c0-4b0f-b577-73625da1f9fc</Id>
<Status>ACKNOWLEDGED</Status>
<DebitedParticipant>99999010</DebitedParticipant>
<CreditedParticipant>99999011</CreditedParticipant>
<CreationTime>2020-01-17T10:00:00Z</CreationTime>
<LastModified>2020-01-17T10:00:00Z</LastModified>
</InfractionReport>
</GetInfractionReportResponse>
24 changes: 24 additions & 0 deletions openapi/examples/infractions/ListInfractionReportsResponse.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8" ?>
<ListInfractionReportsResponse>
<Signature></Signature>
<HasMoreElements>true</HasMoreElements>
<InfractionReports>
<InfractionReport>
<TransactionId>E9999901012341234123412345678900</TransactionId>
<InfractionType>FRAUD</InfractionType>
<ReportedBy>DEBITED_PARTICIPANT</ReportedBy>
<ReportDetails>Transação feita através de QR Code falso em boleto</ReportDetails>
<Id>91d65e98-97c0-4b0f-b577-73625da1f9fc</Id>
<Status>CLOSED</Status>
<DebitedParticipant>99999010</DebitedParticipant>
<CreditedParticipant>99999011</CreditedParticipant>
<CreationTime>2020-01-17T10:00:00Z</CreationTime>
<LastModified>2020-01-17T10:00:00Z</LastModified>
<AnalysisResult>AGREED</AnalysisResult>
<AnalysisDetails>
Valor bloqueado. Para mais informações, contactar central antifraude em
11 3000-00000, informando ID 9999.
</AnalysisDetails>
</InfractionReport>
</InfractionReports>
</ListInfractionReportsResponse>
1 change: 1 addition & 0 deletions openapi/examples/reconciliation/GetEntryByCidResponse.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@
<CreationDate>2019-11-18T03:00:00Z</CreationDate>
<KeyOwnershipDate>2019-11-18T03:00:00Z</KeyOwnershipDate>
</Entry>
<RequestId>a946d533-7f22-42a5-9a9b-e87cd55c0f4d</RequestId>
</GetEntryByCidResponse>
Loading

0 comments on commit 43667de

Please sign in to comment.