Skip to content

Commit

Permalink
1.0.0-RC2
Browse files Browse the repository at this point in the history
  • Loading branch information
luizlaydner committed May 8, 2020
1 parent fdbade1 commit e2e3aa8
Show file tree
Hide file tree
Showing 31 changed files with 2,539 additions and 1,863 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,22 @@

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

## [1.0.0-RC2] - 2020-05-08
### Adicionado
- _Endpoints_ para reconciliação
- Campo obrigatório _RequestId_ em CreateEntryRequest e CompleteClaimResponse
- Erro RequestIdAlreadyUsed

### Alterado
- Tamanho válido do campo _AccountNumber_, de 4 a 10 para 1 a 20
- Tamanho válido do campo _Branch_, de 4 para 1 a 4
- Campo _Branch_ tornou-se opcional
- Erro EntryLimitExceededForOwner substituído por EntryLimitExceeded

### Removido
- Campos _CreatedEntryCid_ e _DeleteEntryCid_
- Dos componentes CreateEntryResponse, DeleteEntryResponse, UpdateEntryResponse, ConfirmClaimResponse e CompleteClaimResponse

## [1.RC1] - 2020-04-01
### Adicionado
- _Endpoints_ para reivindicação de posse e portabilidade
Expand Down
5 changes: 5 additions & 0 deletions openapi/examples/claims/AcknowledgeClaimRequest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<AcknowledgeClaimRequest>
<Signature></Signature>
<ClaimId>123e4567-e89b-12d3-a456-426655440000</ClaimId>
</AcknowledgeClaimRequest>
26 changes: 26 additions & 0 deletions openapi/examples/claims/AcknowledgeClaimResponse.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8" ?>
<AcknowledgeClaimResponse>
<Signature></Signature>
<Claim>
<Type>OWNERSHIP</Type>
<Key>+5561988887777</Key>
<KeyType>PHONE</KeyType>
<ClaimerAccount>
<Participant>12345678</Participant>
<Branch>00001</Branch>
<AccountNumber>0007654321</AccountNumber>
<AccountType>CACC</AccountType>
</ClaimerAccount>
<Claimer>
<Type>NATURAL_PERSON</Type>
<TaxIdNumber>11122233300</TaxIdNumber>
<Name>João Silva</Name>
</Claimer>
<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>
</Claim>
</AcknowledgeClaimResponse>
6 changes: 6 additions & 0 deletions openapi/examples/claims/CancelClaimRequest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8" ?>
<CancelClaimRequest>
<Signature></Signature>
<ClaimId>123e4567-e89b-12d3-a456-426655440000</ClaimId>
<Reason>USER_REQUESTED</Reason>
</CancelClaimRequest>
26 changes: 26 additions & 0 deletions openapi/examples/claims/CancelClaimResponse.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8" ?>
<CancelClaimResponse>
<Signature></Signature>
<Claim>
<Type>OWNERSHIP</Type>
<Key>+5561988887777</Key>
<KeyType>PHONE</KeyType>
<ClaimerAccount>
<Participant>12345678</Participant>
<Branch>00001</Branch>
<AccountNumber>0007654321</AccountNumber>
<AccountType>CACC</AccountType>
</ClaimerAccount>
<Claimer>
<Type>NATURAL_PERSON</Type>
<TaxIdNumber>11122233300</TaxIdNumber>
<Name>João Silva</Name>
</Claimer>
<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>
</Claim>
</CancelClaimResponse>
6 changes: 6 additions & 0 deletions openapi/examples/claims/CompleteClaimRequest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8" ?>
<CompleteClaimRequest>
<Signature></Signature>
<ClaimId>123e4567-e89b-12d3-a456-426655440000</ClaimId>
<RequestId>a946d533-7f22-42a5-9a9b-e87cd55c0f4d</RequestId>
</CompleteClaimRequest>
26 changes: 26 additions & 0 deletions openapi/examples/claims/CompleteClaimResponse.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8" ?>
<CompleteClaimResponse>
<Signature></Signature>
<Claim>
<Type>OWNERSHIP</Type>
<Key>+5561988887777</Key>
<KeyType>PHONE</KeyType>
<ClaimerAccount>
<Participant>12345678</Participant>
<Branch>00001</Branch>
<AccountNumber>0007654321</AccountNumber>
<AccountType>CACC</AccountType>
</ClaimerAccount>
<Claimer>
<Type>NATURAL_PERSON</Type>
<TaxIdNumber>11122233300</TaxIdNumber>
<Name>João Silva</Name>
</Claimer>
<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>
</Claim>
</CompleteClaimResponse>
6 changes: 6 additions & 0 deletions openapi/examples/claims/ConfirmClaimRequest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8" ?>
<ConfirmClaimRequest>
<Signature></Signature>
<ClaimId>123e4567-e89b-12d3-a456-426655440000</ClaimId>
<Reason>USER_REQUESTED</Reason>
</ConfirmClaimRequest>
26 changes: 26 additions & 0 deletions openapi/examples/claims/ConfirmClaimResponse.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8" ?>
<ConfirmClaimResponse>
<Signature></Signature>
<Claim>
<Type>OWNERSHIP</Type>
<Key>+5561988887777</Key>
<KeyType>PHONE</KeyType>
<ClaimerAccount>
<Participant>12345678</Participant>
<Branch>00001</Branch>
<AccountNumber>0007654321</AccountNumber>
<AccountType>CACC</AccountType>
</ClaimerAccount>
<Claimer>
<Type>NATURAL_PERSON</Type>
<TaxIdNumber>11122233300</TaxIdNumber>
<Name>João Silva</Name>
</Claimer>
<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>
</Claim>
</ConfirmClaimResponse>
20 changes: 20 additions & 0 deletions openapi/examples/claims/CreateClaimRequest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8" ?>
<CreateClaimRequest>
<Signature></Signature>
<Claim>
<Type>OWNERSHIP</Type>
<Key>+5561988887777</Key>
<KeyType>PHONE</KeyType>
<ClaimerAccount>
<Participant>12345678</Participant>
<Branch>00001</Branch>
<AccountNumber>0007654321</AccountNumber>
<AccountType>CACC</AccountType>
</ClaimerAccount>
<Claimer>
<Type>NATURAL_PERSON</Type>
<TaxIdNumber>11122233300</TaxIdNumber>
<Name>João Silva</Name>
</Claimer>
</Claim>
</CreateClaimRequest>
26 changes: 26 additions & 0 deletions openapi/examples/claims/CreateClaimResponse.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8" ?>
<CreateClaimResponse>
<Signature></Signature>
<Claim>
<Type>OWNERSHIP</Type>
<Key>+5561988887777</Key>
<KeyType>PHONE</KeyType>
<ClaimerAccount>
<Participant>12345678</Participant>
<Branch>00001</Branch>
<AccountNumber>0007654321</AccountNumber>
<AccountType>CACC</AccountType>
</ClaimerAccount>
<Claimer>
<Type>NATURAL_PERSON</Type>
<TaxIdNumber>11122233300</TaxIdNumber>
<Name>João Silva</Name>
</Claimer>
<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>
</Claim>
</CreateClaimResponse>
26 changes: 26 additions & 0 deletions openapi/examples/claims/GetClaimResponse.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8" ?>
<GetClaimResponse>
<Signature></Signature>
<Claim>
<Type>OWNERSHIP</Type>
<Key>+5561988887777</Key>
<KeyType>PHONE</KeyType>
<ClaimerAccount>
<Participant>12345678</Participant>
<Branch>00001</Branch>
<AccountNumber>0007654321</AccountNumber>
<AccountType>CACC</AccountType>
</ClaimerAccount>
<Claimer>
<Type>NATURAL_PERSON</Type>
<TaxIdNumber>11122233300</TaxIdNumber>
<Name>João Silva</Name>
</Claimer>
<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>
</Claim>
</GetClaimResponse>
28 changes: 28 additions & 0 deletions openapi/examples/claims/ListClaimsResponse.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8" ?>
<ListClaimsResponse>
<Signature></Signature>
<Claims>
<Claim>
<Type>OWNERSHIP</Type>
<Key>+5561988887777</Key>
<KeyType>PHONE</KeyType>
<ClaimerAccount>
<Participant>12345678</Participant>
<Branch>00001</Branch>
<AccountNumber>0007654321</AccountNumber>
<AccountType>CACC</AccountType>
</ClaimerAccount>
<Claimer>
<Type>NATURAL_PERSON</Type>
<TaxIdNumber>11122233300</TaxIdNumber>
<Name>João Silva</Name>
</Claimer>
<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>
</Claim>
</Claims>
</ListClaimsResponse>
21 changes: 21 additions & 0 deletions openapi/examples/entries/CreateEntryRequest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8" ?>
<CreateEntryRequest>
<Signature></Signature>
<Entry>
<Key>+5561988880000</Key>
<KeyType>PHONE</KeyType>
<Account>
<Participant>12345678</Participant>
<Branch>00001</Branch>
<AccountNumber>0007654321</AccountNumber>
<AccountType>CACC</AccountType>
</Account>
<Owner>
<Type>NATURAL_PERSON</Type>
<TaxIdNumber>11122233300</TaxIdNumber>
<Name>João Silva</Name>
</Owner>
</Entry>
<Reason>USER_REQUESTED</Reason>
<RequestId>a946d533-7f22-42a5-9a9b-e87cd55c0f4d</RequestId>
</CreateEntryRequest>
21 changes: 21 additions & 0 deletions openapi/examples/entries/CreateEntryResponse.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8" ?>
<CreateEntryResponse>
<Signature></Signature>
<Entry>
<Key>11122233300</Key>
<KeyType>CPF</KeyType>
<Account>
<Participant>12345678</Participant>
<Branch>00001</Branch>
<AccountNumber>0007654321</AccountNumber>
<AccountType>CACC</AccountType>
</Account>
<Owner>
<Type>NATURAL_PERSON</Type>
<TaxIdNumber>11122233300</TaxIdNumber>
<Name>João Silva</Name>
</Owner>
<CreationDate>2019-11-18</CreationDate>
<KeyOwnershipDate>2019-11-18</KeyOwnershipDate>
</Entry>
</CreateEntryResponse>
6 changes: 6 additions & 0 deletions openapi/examples/entries/DeleteEntryRequest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8" ?>
<DeleteEntryRequest>
<Signature></Signature>
<Key>+5561988887777</Key>
<Reason>ACCOUNT_CLOSURE</Reason>
</DeleteEntryRequest>
5 changes: 5 additions & 0 deletions openapi/examples/entries/DeleteEntryResponse.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<DeleteEntryResponse>
<Signature></Signature>
<Key>+5561988887777</Key>
</DeleteEntryResponse>
21 changes: 21 additions & 0 deletions openapi/examples/entries/GetEntryResponse.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8" ?>
<GetEntryResponse>
<Signature></Signature>
<Entry>
<Key>11122233300</Key>
<KeyType>CPF</KeyType>
<Account>
<Participant>12345678</Participant>
<Branch>00001</Branch>
<AccountNumber>0007654321</AccountNumber>
<AccountType>CACC</AccountType>
</Account>
<Owner>
<Type>NATURAL_PERSON</Type>
<TaxIdNumber>11122233300</TaxIdNumber>
<Name>João Silva</Name>
</Owner>
<CreationDate>2019-11-18</CreationDate>
<KeyOwnershipDate>2019-11-18</KeyOwnershipDate>
</Entry>
</GetEntryResponse>
12 changes: 12 additions & 0 deletions openapi/examples/entries/UpdateEntryRequest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8" ?>
<UpdateEntryRequest>
<Signature></Signature>
<Key>+5561988887777</Key>
<Account>
<Participant>12345678</Participant>
<Branch>00001</Branch>
<AccountNumber>0007654321</AccountNumber>
<AccountType>CACC</AccountType>
</Account>
<Reason>USER_REQUESTED</Reason>
</UpdateEntryRequest>
21 changes: 21 additions & 0 deletions openapi/examples/entries/UpdateEntryResponse.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8" ?>
<UpdateEntryResponse>
<Signature></Signature>
<Entry>
<Key>11122233300</Key>
<KeyType>CPF</KeyType>
<Account>
<Participant>12345678</Participant>
<Branch>00001</Branch>
<AccountNumber>0007654321</AccountNumber>
<AccountType>CACC</AccountType>
</Account>
<Owner>
<Type>NATURAL_PERSON</Type>
<TaxIdNumber>11122233300</TaxIdNumber>
<Name>João Silva</Name>
</Owner>
<CreationDate>2019-11-18</CreationDate>
<KeyOwnershipDate>2019-11-18</KeyOwnershipDate>
</Entry>
</UpdateEntryResponse>
Loading

0 comments on commit e2e3aa8

Please sign in to comment.