Skip to content

Commit

Permalink
versão 1.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bcb-thiago committed Sep 29, 2022
1 parent 700e379 commit ceab47b
Show file tree
Hide file tree
Showing 40 changed files with 588 additions and 347 deletions.
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,33 @@

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

## [1.8.0] - 2022-09-25
### Adicionado
- Novas políticas de limitação REFUND_LIST_WITH_ROLE e REFUND_LIST_WITHOUT_ROLE para listagem de pedidos de devolução
- Novas políticas de limitação POLICIES_READ e POLICIES_LIST para o serviço de consulta de baldes
- Endpoints para consulta de baldes na seção “Política de Limitação"

### Alterado
- Política de limitação KEYS_READ renomeada para KEYS_CHECK
- Taxa de reposição e tamanho do balde da política de limitação STATISTICS_READ alterados de 100 para 500
- Texto de descrição do campo PI-RequestingParticipant do grupo HEADER PARAMETERS da seção “Consultar Vínculo”. Passa a considerar Iniciadores de pagamento
- Endpoint “Consultar Vínculo(PSP iniciador)” deprecado
- Inclusão de 3 casas decimais na precisão dos campos de data nos XML’s de exemplo de respostas na API
- Melhoria nos textos descritivos das seções “Receber Relato de Infração” e “Fechar Relato de Infração”
- Políticas de usuário final passam a descontar 20 fichas para consultas inválidas
- Baldes de consultas para participantes das categorias A e B passam a ter reposição de fichas de 12.000/min e 8.000/min
- Baldes de usuários PF passam a ter 100 fichas para cada tipo de balde e usuários PJ 1.000 fichas para cada tipo de balde

### Removido
- Removidas políticas de limitação ENTRIES_READ_PARTICIPANT_INITIATOR e ENTRIES_READ_USER_INITIATOR;

## [1.7.2] - 2022-02-03
### Alterado
- Ajuste no texto das regras de contagem das políticas de baldes para considerar ordens de pagamento
- Inclusão do tamanho máximo da lista de chaves no CheckKeysRequest
- Restrição no formato de chave EMAIL para não permitir caractere '%'
- Eliminação do erro 404 do endpoint de consulta de estatísticas

## [1.7.1] - 2021-11-16
### Adicionado
- Novo tipo de contador em estatísticas para transações rejeitadas: REJECTED
Expand Down
10 changes: 5 additions & 5 deletions openapi/examples/claims/AcknowledgeClaimResponse.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<AcknowledgeClaimResponse>
<Signature></Signature>
<ResponseTime>2020-01-10T10:00:00Z</ResponseTime>
<ResponseTime>2020-01-10T10:00:00.000Z</ResponseTime>
<CorrelationId>a9f13566e19f5ca51329479a5bae60c5</CorrelationId>
<Claim>
<Type>OWNERSHIP</Type>
Expand All @@ -12,7 +12,7 @@
<Branch>0001</Branch>
<AccountNumber>0007654321</AccountNumber>
<AccountType>CACC</AccountType>
<OpeningDate>2010-01-10T03:00:00Z</OpeningDate>
<OpeningDate>2010-01-10T03:00:00.000Z</OpeningDate>
</ClaimerAccount>
<Claimer>
<Type>NATURAL_PERSON</Type>
Expand All @@ -22,8 +22,8 @@
<DonorParticipant>87654321</DonorParticipant>
<Id>123e4567-e89b-12d3-a456-426655440000</Id>
<Status>WAITING_RESOLUTION</Status>
<ResolutionPeriodEnd>2020-01-17T10:00:00Z</ResolutionPeriodEnd>
<CompletionPeriodEnd>2020-01-17T10:00:00Z</CompletionPeriodEnd>
<LastModified>2020-01-10T10:00:00Z</LastModified>
<ResolutionPeriodEnd>2020-01-17T10:00:00.000Z</ResolutionPeriodEnd>
<CompletionPeriodEnd>2020-01-17T10:00:00.000Z</CompletionPeriodEnd>
<LastModified>2020-01-10T10:00:00.000Z</LastModified>
</Claim>
</AcknowledgeClaimResponse>
10 changes: 5 additions & 5 deletions openapi/examples/claims/CancelClaimResponse.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<CancelClaimResponse>
<Signature></Signature>
<ResponseTime>2020-01-10T10:00:00Z</ResponseTime>
<ResponseTime>2020-01-10T10:00:00.000Z</ResponseTime>
<CorrelationId>a9f13566e19f5ca51329479a5bae60c5</CorrelationId>
<Claim>
<Type>OWNERSHIP</Type>
Expand All @@ -12,7 +12,7 @@
<Branch>0001</Branch>
<AccountNumber>0007654321</AccountNumber>
<AccountType>CACC</AccountType>
<OpeningDate>2010-01-10T03:00:00Z</OpeningDate>
<OpeningDate>2010-01-10T03:00:00.000Z</OpeningDate>
</ClaimerAccount>
<Claimer>
<Type>NATURAL_PERSON</Type>
Expand All @@ -22,9 +22,9 @@
<DonorParticipant>87654321</DonorParticipant>
<Id>123e4567-e89b-12d3-a456-426655440000</Id>
<Status>CANCELLED</Status>
<ResolutionPeriodEnd>2020-01-17T10:00:00Z</ResolutionPeriodEnd>
<CompletionPeriodEnd>2020-01-17T10:00:00Z</CompletionPeriodEnd>
<LastModified>2020-01-10T10:00:00Z</LastModified>
<ResolutionPeriodEnd>2020-01-17T10:00:00.000Z</ResolutionPeriodEnd>
<CompletionPeriodEnd>2020-01-17T10:00:00.000Z</CompletionPeriodEnd>
<LastModified>2020-01-10T10:00:00.000Z</LastModified>
<CancelReason>FRAUD</CancelReason>
<CancelledBy>CLAIMER</CancelledBy>
</Claim>
Expand Down
14 changes: 7 additions & 7 deletions openapi/examples/claims/CompleteClaimResponse.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<CompleteClaimResponse>
<Signature></Signature>
<ResponseTime>2020-01-10T10:00:00Z</ResponseTime>
<ResponseTime>2020-01-10T10:00:00.000Z</ResponseTime>
<CorrelationId>a9f13566e19f5ca51329479a5bae60c5</CorrelationId>
<Claim>
<Type>OWNERSHIP</Type>
Expand All @@ -12,7 +12,7 @@
<Branch>0001</Branch>
<AccountNumber>0007654321</AccountNumber>
<AccountType>CACC</AccountType>
<OpeningDate>2010-01-10T03:00:00Z</OpeningDate>
<OpeningDate>2010-01-10T03:00:00.000Z</OpeningDate>
</ClaimerAccount>
<Claimer>
<Type>NATURAL_PERSON</Type>
Expand All @@ -22,11 +22,11 @@
<DonorParticipant>87654321</DonorParticipant>
<Id>123e4567-e89b-12d3-a456-426655440000</Id>
<Status>COMPLETED</Status>
<ResolutionPeriodEnd>2020-01-17T10:00:00Z</ResolutionPeriodEnd>
<CompletionPeriodEnd>2020-01-17T10:00:00Z</CompletionPeriodEnd>
<LastModified>2020-01-10T10:00:00Z</LastModified>
<ResolutionPeriodEnd>2020-01-17T10:00:00.000Z</ResolutionPeriodEnd>
<CompletionPeriodEnd>2020-01-17T10:00:00.000Z</CompletionPeriodEnd>
<LastModified>2020-01-10T10:00:00.000Z</LastModified>
<ConfirmReason>DEFAULT_OPERATION</ConfirmReason>
</Claim>
<EntryCreationDate>2020-01-10T10:00:00Z</EntryCreationDate>
<KeyOwnershipDate>2019-11-18T03:00:00Z</KeyOwnershipDate>
<EntryCreationDate>2020-01-10T10:00:00.000Z</EntryCreationDate>
<KeyOwnershipDate>2019-11-18T03:00:00.000Z</KeyOwnershipDate>
</CompleteClaimResponse>
10 changes: 5 additions & 5 deletions openapi/examples/claims/ConfirmClaimResponse.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<ConfirmClaimResponse>
<Signature></Signature>
<ResponseTime>2020-01-10T10:00:00Z</ResponseTime>
<ResponseTime>2020-01-10T10:00:00.000Z</ResponseTime>
<CorrelationId>a9f13566e19f5ca51329479a5bae60c5</CorrelationId>
<Claim>
<Type>OWNERSHIP</Type>
Expand All @@ -12,7 +12,7 @@
<Branch>0001</Branch>
<AccountNumber>0007654321</AccountNumber>
<AccountType>CACC</AccountType>
<OpeningDate>2010-01-10T03:00:00Z</OpeningDate>
<OpeningDate>2010-01-10T03:00:00.000Z</OpeningDate>
</ClaimerAccount>
<Claimer>
<Type>NATURAL_PERSON</Type>
Expand All @@ -22,9 +22,9 @@
<DonorParticipant>87654321</DonorParticipant>
<Id>123e4567-e89b-12d3-a456-426655440000</Id>
<Status>CONFIRMED</Status>
<ResolutionPeriodEnd>2020-01-17T10:00:00Z</ResolutionPeriodEnd>
<CompletionPeriodEnd>2020-01-17T10:00:00Z</CompletionPeriodEnd>
<LastModified>2020-01-10T10:00:00Z</LastModified>
<ResolutionPeriodEnd>2020-01-17T10:00:00.000Z</ResolutionPeriodEnd>
<CompletionPeriodEnd>2020-01-17T10:00:00.000Z</CompletionPeriodEnd>
<LastModified>2020-01-10T10:00:00.000Z</LastModified>
<ConfirmReason>USER_REQUESTED</ConfirmReason>
</Claim>
</ConfirmClaimResponse>
10 changes: 5 additions & 5 deletions openapi/examples/claims/CreateClaimResponse.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<CreateClaimResponse>
<Signature></Signature>
<ResponseTime>2020-01-10T10:00:00Z</ResponseTime>
<ResponseTime>2020-01-10T10:00:00.000Z</ResponseTime>
<CorrelationId>a9f13566e19f5ca51329479a5bae60c5</CorrelationId>
<Claim>
<Type>OWNERSHIP</Type>
Expand All @@ -12,7 +12,7 @@
<Branch>0001</Branch>
<AccountNumber>0007654321</AccountNumber>
<AccountType>CACC</AccountType>
<OpeningDate>2010-01-10T03:00:00Z</OpeningDate>
<OpeningDate>2010-01-10T03:00:00.000Z</OpeningDate>
</ClaimerAccount>
<Claimer>
<Type>NATURAL_PERSON</Type>
Expand All @@ -22,8 +22,8 @@
<DonorParticipant>87654321</DonorParticipant>
<Id>123e4567-e89b-12d3-a456-426655440000</Id>
<Status>OPEN</Status>
<CompletionPeriodEnd>2020-01-17T10:00:00Z</CompletionPeriodEnd>
<ResolutionPeriodEnd>2020-01-17T10:00:00Z</ResolutionPeriodEnd>
<LastModified>2020-01-10T10:00:00Z</LastModified>
<CompletionPeriodEnd>2020-01-17T10:00:00.000Z</CompletionPeriodEnd>
<ResolutionPeriodEnd>2020-01-17T10:00:00.000Z</ResolutionPeriodEnd>
<LastModified>2020-01-10T10:00:00.000Z</LastModified>
</Claim>
</CreateClaimResponse>
10 changes: 5 additions & 5 deletions openapi/examples/claims/GetClaimResponse.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<GetClaimResponse>
<Signature></Signature>
<ResponseTime>2020-01-10T10:00:00Z</ResponseTime>
<ResponseTime>2020-01-10T10:00:00.000Z</ResponseTime>
<CorrelationId>a9f13566e19f5ca51329479a5bae60c5</CorrelationId>
<Claim>
<Type>OWNERSHIP</Type>
Expand All @@ -12,7 +12,7 @@
<Branch>0001</Branch>
<AccountNumber>0007654321</AccountNumber>
<AccountType>CACC</AccountType>
<OpeningDate>2010-01-10T03:00:00Z</OpeningDate>
<OpeningDate>2010-01-10T03:00:00.000Z</OpeningDate>
</ClaimerAccount>
<Claimer>
<Type>NATURAL_PERSON</Type>
Expand All @@ -22,8 +22,8 @@
<DonorParticipant>87654321</DonorParticipant>
<Id>123e4567-e89b-12d3-a456-426655440000</Id>
<Status>OPEN</Status>
<ResolutionPeriodEnd>2020-01-17T10:00:00Z</ResolutionPeriodEnd>
<CompletionPeriodEnd>2020-01-17T10:00:00Z</CompletionPeriodEnd>
<LastModified>2020-01-10T10:00:00Z</LastModified>
<ResolutionPeriodEnd>2020-01-17T10:00:00.000Z</ResolutionPeriodEnd>
<CompletionPeriodEnd>2020-01-17T10:00:00.000Z</CompletionPeriodEnd>
<LastModified>2020-01-10T10:00:00.000Z</LastModified>
</Claim>
</GetClaimResponse>
10 changes: 5 additions & 5 deletions openapi/examples/claims/ListClaimsResponse.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<ListClaimsResponse>
<Signature></Signature>
<ResponseTime>2020-01-10T10:00:00Z</ResponseTime>
<ResponseTime>2020-01-10T10:00:00.000Z</ResponseTime>
<CorrelationId>a9f13566e19f5ca51329479a5bae60c5</CorrelationId>
<HasMoreElements>true</HasMoreElements>
<Claims>
Expand All @@ -14,7 +14,7 @@
<Branch>0001</Branch>
<AccountNumber>0007654321</AccountNumber>
<AccountType>CACC</AccountType>
<OpeningDate>2010-01-10T03:00:00Z</OpeningDate>
<OpeningDate>2010-01-10T03:00:00.000Z</OpeningDate>
</ClaimerAccount>
<Claimer>
<Type>NATURAL_PERSON</Type>
Expand All @@ -24,9 +24,9 @@
<DonorParticipant>87654321</DonorParticipant>
<Id>123e4567-e89b-12d3-a456-426655440000</Id>
<Status>CANCELLED</Status>
<ResolutionPeriodEnd>2020-01-17T10:00:00Z</ResolutionPeriodEnd>
<CompletionPeriodEnd>2020-01-17T10:00:00Z</CompletionPeriodEnd>
<LastModified>2020-01-10T10:00:00Z</LastModified>
<ResolutionPeriodEnd>2020-01-17T10:00:00.000Z</ResolutionPeriodEnd>
<CompletionPeriodEnd>2020-01-17T10:00:00.000Z</CompletionPeriodEnd>
<LastModified>2020-01-10T10:00:00.000Z</LastModified>
<ConfirmReason>DEFAULT_OPERATION</ConfirmReason>
<CancelReason>FRAUD</CancelReason>
<CancelledBy>DONOR</CancelledBy>
Expand Down
8 changes: 4 additions & 4 deletions openapi/examples/entries/CreateEntryResponse.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<CreateEntryResponse>
<Signature></Signature>
<ResponseTime>2020-01-10T10:00:00Z</ResponseTime>
<ResponseTime>2020-01-10T10:00:00.000Z</ResponseTime>
<CorrelationId>a9f13566e19f5ca51329479a5bae60c5</CorrelationId>
<Entry>
<Key>11122233300</Key>
Expand All @@ -11,14 +11,14 @@
<Branch>0001</Branch>
<AccountNumber>0007654321</AccountNumber>
<AccountType>CACC</AccountType>
<OpeningDate>2010-01-10T03:00:00Z</OpeningDate>
<OpeningDate>2010-01-10T03:00:00.000Z</OpeningDate>
</Account>
<Owner>
<Type>NATURAL_PERSON</Type>
<TaxIdNumber>11122233300</TaxIdNumber>
<Name>João Silva</Name>
</Owner>
<CreationDate>2019-11-18T03:00:00Z</CreationDate>
<KeyOwnershipDate>2019-11-18T03:00:00Z</KeyOwnershipDate>
<CreationDate>2019-11-18T03:00:00.000Z</CreationDate>
<KeyOwnershipDate>2019-11-18T03:00:00.000Z</KeyOwnershipDate>
</Entry>
</CreateEntryResponse>
2 changes: 1 addition & 1 deletion openapi/examples/entries/DeleteEntryResponse.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<DeleteEntryResponse>
<Signature></Signature>
<ResponseTime>2020-01-10T10:00:00Z</ResponseTime>
<ResponseTime>2020-01-10T10:00:00.000Z</ResponseTime>
<CorrelationId>a9f13566e19f5ca51329479a5bae60c5</CorrelationId>
<Key>+5561988887777</Key>
</DeleteEntryResponse>
12 changes: 6 additions & 6 deletions openapi/examples/entries/GetEntryResponseInitiator.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<GetEntryResponse>
<Signature></Signature>
<ResponseTime>2020-01-10T10:00:00Z</ResponseTime>
<ResponseTime>2020-01-10T10:00:00.000Z</ResponseTime>
<CorrelationId>a9f13566e19f5ca51329479a5bae60c5</CorrelationId>
<Entry>
<Key>11122233300</Key>
Expand All @@ -11,19 +11,19 @@
<Branch>0001</Branch>
<AccountNumber>0007654321</AccountNumber>
<AccountType>CACC</AccountType>
<OpeningDate>2010-01-10T03:00:00Z</OpeningDate>
<OpeningDate>2010-01-10T03:00:00.000Z</OpeningDate>
</Account>
<Owner>
<Type>NATURAL_PERSON</Type>
<TaxIdNumber>11122233300</TaxIdNumber>
<Name>João Silva</Name>
</Owner>
<CreationDate>2019-11-18T03:00:00Z</CreationDate>
<KeyOwnershipDate>2019-11-18T03:00:00Z</KeyOwnershipDate>
<OpenClaimCreationDate>2019-11-19T03:00:00Z</OpenClaimCreationDate>
<CreationDate>2019-11-18T03:00:00.000Z</CreationDate>
<KeyOwnershipDate>2019-11-18T03:00:00.000Z</KeyOwnershipDate>
<OpenClaimCreationDate>2019-11-19T03:00:00.000Z</OpenClaimCreationDate>
</Entry>
<Statistics>
<LastUpdated>2020-01-17T10:00:00Z</LastUpdated>
<LastUpdated>2020-01-17T10:00:00.000Z</LastUpdated>
<Counters>
<Counter type="SETTLEMENTS" by="KEY" d3="0" d30="5" m6="30"/>
<Counter type="SETTLEMENTS" by="OWNER" d3="0" d30="5" m6="30"/>
Expand Down
8 changes: 4 additions & 4 deletions openapi/examples/entries/UpdateEntryResponse.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<UpdateEntryResponse>
<Signature></Signature>
<ResponseTime>2020-01-10T10:00:00Z</ResponseTime>
<ResponseTime>2020-01-10T10:00:00.000Z</ResponseTime>
<CorrelationId>a9f13566e19f5ca51329479a5bae60c5</CorrelationId>
<Entry>
<Key>11122233300</Key>
Expand All @@ -11,14 +11,14 @@
<Branch>0001</Branch>
<AccountNumber>0007654321</AccountNumber>
<AccountType>CACC</AccountType>
<OpeningDate>2010-01-10T03:00:00Z</OpeningDate>
<OpeningDate>2010-01-10T03:00:00.000Z</OpeningDate>
</Account>
<Owner>
<Type>NATURAL_PERSON</Type>
<TaxIdNumber>11122233300</TaxIdNumber>
<Name>João Silva</Name>
</Owner>
<CreationDate>2019-11-18T03:00:00Z</CreationDate>
<KeyOwnershipDate>2019-11-18T03:00:00Z</KeyOwnershipDate>
<CreationDate>2019-11-18T03:00:00.000Z</CreationDate>
<KeyOwnershipDate>2019-11-18T03:00:00.000Z</KeyOwnershipDate>
</Entry>
</UpdateEntryResponse>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<AcknowledgeInfractionReportResponse>
<Signature></Signature>
<ResponseTime>2020-01-10T10:00:00Z</ResponseTime>
<ResponseTime>2020-01-10T10:00:00.000Z</ResponseTime>
<CorrelationId>a9f13566e19f5ca51329479a5bae60c5</CorrelationId>
<InfractionReport>
<TransactionId>E9999901012341234123412345678900</TransactionId>
Expand All @@ -12,7 +12,7 @@
<Status>CLOSED</Status>
<DebitedParticipant>99999010</DebitedParticipant>
<CreditedParticipant>99999011</CreditedParticipant>
<CreationTime>2020-01-17T10:00:00Z</CreationTime>
<LastModified>2020-01-17T10:00:00Z</LastModified>
<CreationTime>2020-01-17T10:00:00.000Z</CreationTime>
<LastModified>2020-01-17T10:00:00.000Z</LastModified>
</InfractionReport>
</AcknowledgeInfractionReportResponse>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<CancelInfractionReportResponse>
<Signature></Signature>
<ResponseTime>2020-01-10T10:00:00Z</ResponseTime>
<ResponseTime>2020-01-10T10:00:00.000Z</ResponseTime>
<CorrelationId>a9f13566e19f5ca51329479a5bae60c5</CorrelationId>
<InfractionReport>
<TransactionId>E9999901012341234123412345678900</TransactionId>
Expand All @@ -12,7 +12,7 @@
<Status>CANCELLED</Status>
<DebitedParticipant>99999010</DebitedParticipant>
<CreditedParticipant>99999011</CreditedParticipant>
<CreationTime>2020-01-17T10:00:00Z</CreationTime>
<LastModified>2020-01-17T10:00:00Z</LastModified>
<CreationTime>2020-01-17T10:00:00.000Z</CreationTime>
<LastModified>2020-01-17T10:00:00.000Z</LastModified>
</InfractionReport>
</CancelInfractionReportResponse>
Loading

0 comments on commit ceab47b

Please sign in to comment.