From 46808ee3226592a579b03e67f0848b2a805c1321 Mon Sep 17 00:00:00 2001 From: Guilherme Branco Stracini Date: Wed, 15 May 2024 10:59:52 +0100 Subject: [PATCH] Add PCR (#386) * Add PCR * Fix comma --------- Co-authored-by: Guilherme Branco Stracini --- .github/automations/abbreviations.json | 5 + CHANGELOG.md | 363 +++++++++++++------------ README.md | 2 + README.pt-br.md | 2 + examples/dotnet/Readme.md | 2 + examples/php/Readme.md | 2 + lib/src/bank_dto.dart | 18 ++ schemas/csharp.cs | 6 + schemas/dart.dart | 15 + schemas/go.go | 6 +- schemas/java.java | 36 +++ schemas/javascript.js | 2 + schemas/kotlin.kt | 6 + schemas/php.php | 6 + schemas/python.py | 16 +- schemas/rust.rs | 4 + schemas/schema.json | 6 + schemas/schema.sql | 2 + schemas/schema.xml | 2 + schemas/typescript.ts | 4 + src/Bank.php | 6 + test/bancos_brasileiros_test.dart | 2 + 22 files changed, 329 insertions(+), 184 deletions(-) diff --git a/.github/automations/abbreviations.json b/.github/automations/abbreviations.json index 227d70b9..67c510f1 100644 --- a/.github/automations/abbreviations.json +++ b/.github/automations/abbreviations.json @@ -54,6 +54,11 @@ "pt_BR": "Plataforma Centralizada de Portabilidade de Salário", "en_US": "Centralized Salary Portability Platform" }, + { + "acronym": "PCR", + "pt_BR": "Plataforma Centralizada de Recebíveis", + "en_US": "Centralized Receivables Platform" + }, { "acronym": "PIX", "pt_BR": "Pagamentos Instantâneos Brasileiro", diff --git a/CHANGELOG.md b/CHANGELOG.md index 539a6f9c..e68da81b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,251 +2,255 @@ [README](/README.md) > CHANGELOG -## Changelog - +## Changelog + +### 20204-05-15 - [GuiBranco](https://github.com/guibranco) + +- [Issue #360](https://github.com/guibranco/BancosBrasileiros/issues/360) - Add PCR/PCRP source + ### 2024-05-14 - [MergeTool](https://github.com/guibranco/BancosBrasileiros-MergeTool) -- Updated 1 bank - - 321 - CREFAZ SCMEPP LTDA - 18.188.384/0001-83 - - **LongName** (STR): CREFAZ SOCIEDADE DE CRÉDITO AO MICROEMPREENDEDOR E A EMPRESA DE PEQUENO PORTE LTDA. **->** CREFAZ SOCIEDADE DE CRÉDITO AO MICROEMPREENDEDOR E A EMPRESA DE PEQUENO PORTE S.A. - +- Updated 1 bank + - 321 - CREFAZ SCMEPP LTDA - 18.188.384/0001-83 + - **LongName** (STR): CREFAZ SOCIEDADE DE CRÉDITO AO MICROEMPREENDEDOR E A EMPRESA DE PEQUENO PORTE LTDA. **->** CREFAZ SOCIEDADE DE CRÉDITO AO MICROEMPREENDEDOR E A EMPRESA DE PEQUENO PORTE S.A. + ### 2024-05-10 - [MergeTool](https://github.com/guibranco/BancosBrasileiros-MergeTool) -- Updated 1 bank - - 125 - BANCO GENIAL - 45.246.410/0001-55 - - **SalaryPortability** (PCPS): Null **->** Banco folha e Destinatário - +- Updated 1 bank + - 125 - BANCO GENIAL - 45.246.410/0001-55 + - **SalaryPortability** (PCPS): Null **->** Banco folha e Destinatário + ### 2024-05-09 - [MergeTool](https://github.com/guibranco/BancosBrasileiros-MergeTool) -- Added 2 banks - - 593 - TRANSFEERA IP S.A. - 27.084.098/0001-69 - - 620 - REVOLUT SCD S.A. - 51.342.763/0001-51 - +- Added 2 banks + - 593 - TRANSFEERA IP S.A. - 27.084.098/0001-69 + - 620 - REVOLUT SCD S.A. - 51.342.763/0001-51 + ### 2024-05-03 - [MergeTool](https://github.com/guibranco/BancosBrasileiros-MergeTool) -- Updated 1 bank - - 540 - HBI SCD - 04.849.745/0001-80 - - **LongName** (STR): FACILICRED SOCIEDADE DE CRÉDITO AO MICROEMPREENDEDOR LTDA **->** HBI SOCIEDADE DE CRÉDITO DIRETO S/A. - - **ShortName** (STR): FACILICRED SCM LTDA **->** HBI SCD - +- Updated 1 bank + - 540 - HBI SCD - 04.849.745/0001-80 + - **LongName** (STR): FACILICRED SOCIEDADE DE CRÉDITO AO MICROEMPREENDEDOR LTDA **->** HBI SOCIEDADE DE CRÉDITO DIRETO S/A. + - **ShortName** (STR): FACILICRED SCM LTDA **->** HBI SCD + ### 2024-04-26 - [MergeTool](https://github.com/guibranco/BancosBrasileiros-MergeTool) -- Updated 1 bank - - 538 - SUDACRED SCD S.A. - 20.251.847/0001-56 - - **LongName** (STR): SUDACRED - SOCIEDADE DE CRÉDITO AO MICROEMPREENDEDOR E À EMPRESA DE PEQUENO PORTE LTDA. **->** SUDACRED SOCIEDADE DE CRÉDITO DIRETO S.A. - - **ShortName** (STR): SUDACRED SCMEPP LTDA **->** SUDACRED SCD S.A. - +- Updated 1 bank + - 538 - SUDACRED SCD S.A. - 20.251.847/0001-56 + - **LongName** (STR): SUDACRED - SOCIEDADE DE CRÉDITO AO MICROEMPREENDEDOR E À EMPRESA DE PEQUENO PORTE LTDA. **->** SUDACRED SOCIEDADE DE CRÉDITO DIRETO S.A. + - **ShortName** (STR): SUDACRED SCMEPP LTDA **->** SUDACRED SCD S.A. + ### 2024-04-19 - [MergeTool](https://github.com/guibranco/BancosBrasileiros-MergeTool) -- Added 1 bank - - 578 - SICRES - 01.235.921/0001-04 -- Updated 1 bank - - 21 - BCO BANESTES S.A. - 28.127.603/0001-78 - - **DetectaFlow** (DetectaFlow): False **->** True - +- Added 1 bank + - 578 - SICRES - 01.235.921/0001-04 +- Updated 1 bank + - 21 - BCO BANESTES S.A. - 28.127.603/0001-78 + - **DetectaFlow** (DetectaFlow): False **->** True + ### 2024-04-18 - [MergeTool](https://github.com/guibranco/BancosBrasileiros-MergeTool) -- Updated 1 bank - - 547 - BNK DIGITAL SCD S.A. - 45.331.622/0001-30 - - **PixType** (SPI): Null **->** IDRT - - **DatePixStarted** (SPI): Null **->** 2024-04-17 09:37:44 - +- Updated 1 bank + - 547 - BNK DIGITAL SCD S.A. - 45.331.622/0001-30 + - **PixType** (SPI): Null **->** IDRT + - **DatePixStarted** (SPI): Null **->** 2024-04-17 09:37:44 + ### 2024-04-16 - [MergeTool](https://github.com/guibranco/BancosBrasileiros-MergeTool) -- Updated 1 bank - - 752 - BCO BNP PARIBAS BRASIL S A - 01.522.368/0001-82 - - **PixType** (SPI): Null **->** DRCT - - **DatePixStarted** (SPI): Null **->** 2024-06-24 09:00:00 - +- Updated 1 bank + - 752 - BCO BNP PARIBAS BRASIL S A - 01.522.368/0001-82 + - **PixType** (SPI): Null **->** DRCT + - **DatePixStarted** (SPI): Null **->** 2024-06-24 09:00:00 + ### 2024-04-02 - [MergeTool](https://github.com/guibranco/BancosBrasileiros-MergeTool) -- Updated 1 bank - - 350 - COOP DE AGRICULTORES E AEROPORTUÁRIOS DO BRASIL - 01.330.387/0001-07 - - **LongName** (STR): COOPERATIVA DE CRÉDITO RURAL DE PEQUENOS AGRICULTORES E DA REFORMA AGRÁRIA DO CENTRO OESTE DO PARANÁ - CREHNOR LARANJEIRAS **->** COOPERATIVA DE CRÉDITO, POUPANÇA E SERVIÇOS FINANCEIROS DE AGRICULTORES E AEROPORTUÁRIOS DO BRASIL - CREHNOR - - **ShortName** (STR): CREHNOR LARANJEIRAS **->** COOP DE AGRICULTORES E AEROPORTUÁRIOS DO BRASIL - +- Updated 1 bank + - 350 - COOP DE AGRICULTORES E AEROPORTUÁRIOS DO BRASIL - 01.330.387/0001-07 + - **LongName** (STR): COOPERATIVA DE CRÉDITO RURAL DE PEQUENOS AGRICULTORES E DA REFORMA AGRÁRIA DO CENTRO OESTE DO PARANÁ - CREHNOR LARANJEIRAS **->** COOPERATIVA DE CRÉDITO, POUPANÇA E SERVIÇOS FINANCEIROS DE AGRICULTORES E AEROPORTUÁRIOS DO BRASIL - CREHNOR + - **ShortName** (STR): CREHNOR LARANJEIRAS **->** COOP DE AGRICULTORES E AEROPORTUÁRIOS DO BRASIL + ### 2024-03-29 - [MergeTool](https://github.com/guibranco/BancosBrasileiros-MergeTool) -- Updated 1 bank - - 373 - UP.P SEP S.A. - 35.977.097/0001-71 - - **PixType** (SPI): Null **->** DRCT - - **DatePixStarted** (SPI): Null **->** 2024-04-04 10:00:00 - +- Updated 1 bank + - 373 - UP.P SEP S.A. - 35.977.097/0001-71 + - **PixType** (SPI): Null **->** DRCT + - **DatePixStarted** (SPI): Null **->** 2024-04-04 10:00:00 + ### 2024-03-26 - [MergeTool](https://github.com/guibranco/BancosBrasileiros-MergeTool) -- Added 1 bank - - 576 - MERCADO BITCOIN IP LTDA - 11.351.086/0001-13 - +- Added 1 bank + - 576 - MERCADO BITCOIN IP LTDA - 11.351.086/0001-13 + ### 2024-03-22 - [MergeTool](https://github.com/guibranco/BancosBrasileiros-MergeTool) -- Updated 1 bank - - 533 - SRM BANK - 22.575.466/0001-58 - - **LongName** (STR): SRM BANK INSITITUIÇÃO DE PAGAMENTO S/A **->** SRM BANK INSTITUIÇÃO DE PAGAMENTO S/A - +- Updated 1 bank + - 533 - SRM BANK - 22.575.466/0001-58 + - **LongName** (STR): SRM BANK INSITITUIÇÃO DE PAGAMENTO S/A **->** SRM BANK INSTITUIÇÃO DE PAGAMENTO S/A + ### 2024-03-21 - [MergeTool](https://github.com/guibranco/BancosBrasileiros-MergeTool) -- Updated 2 banks - - 407 - SEFER INVESTIMENTOS DTVM LTDA - 00.329.598/0001-67 - - **LongName** (STR): ÍNDIGO INVESTIMENTOS DISTRIBUIDORA DE TÍTULOS E VALORES MOBILIÁRIOS LTDA. **->** SEFER INVESTIMENTOS DISTRIBUIDORA DE TÍTULOS E VALORES MOBILIÁRIOS LTDA - - **ShortName** (STR): ÍNDIGO INVESTIMENTOS DTVM LTDA. **->** SEFER INVESTIMENTOS DTVM LTDA - - 528 - REAG DTVM S.A. - 34.829.992/0001-86 - - **PixType** (SPI): Null **->** DRCT - - **DatePixStarted** (SPI): Null **->** 2024-04-01 10:00:00 - +- Updated 2 banks + - 407 - SEFER INVESTIMENTOS DTVM LTDA - 00.329.598/0001-67 + - **LongName** (STR): ÍNDIGO INVESTIMENTOS DISTRIBUIDORA DE TÍTULOS E VALORES MOBILIÁRIOS LTDA. **->** SEFER INVESTIMENTOS DISTRIBUIDORA DE TÍTULOS E VALORES MOBILIÁRIOS LTDA + - **ShortName** (STR): ÍNDIGO INVESTIMENTOS DTVM LTDA. **->** SEFER INVESTIMENTOS DTVM LTDA + - 528 - REAG DTVM S.A. - 34.829.992/0001-86 + - **PixType** (SPI): Null **->** DRCT + - **DatePixStarted** (SPI): Null **->** 2024-04-01 10:00:00 + ### 2024-03-20 - [MergeTool](https://github.com/guibranco/BancosBrasileiros-MergeTool) -- Updated 1 bank - - 586 - Z1 IP LTDA. - 35.810.871/0001-55 - - **PixType** (SPI): IDRT **->** DRCT - - **DatePixStarted** (SPI): 2022-08-08 10:27:04 **->** 2024-03-19 10:10:00 - +- Updated 1 bank + - 586 - Z1 IP LTDA. - 35.810.871/0001-55 + - **PixType** (SPI): IDRT **->** DRCT + - **DatePixStarted** (SPI): 2022-08-08 10:27:04 **->** 2024-03-19 10:10:00 + ### 2024-03-19 - [MergeTool](https://github.com/guibranco/BancosBrasileiros-MergeTool) -- Updated 1 bank - - 33 - BCO SANTANDER (BRASIL) S.A. - 90.400.888/0001-42 - - **DetectaFlow** (DetectaFlow): False **->** True - +- Updated 1 bank + - 33 - BCO SANTANDER (BRASIL) S.A. - 90.400.888/0001-42 + - **DetectaFlow** (DetectaFlow): False **->** True + ### 2024-03-18 - [MergeTool](https://github.com/guibranco/BancosBrasileiros-MergeTool) -- Added 1 bank - - 581 - CENTRAL SICREDI NORDESTE - 70.119.680/0001-42 -- Updated 1 bank - - 533 - SRM BANK - 22.575.466/0001-58 - - **LongName** (STR): M18 INSTITUIÇÃO DE PAGAMENTO S.A. **->** SRM BANK INSITITUIÇÃO DE PAGAMENTO S/A - - **ShortName** (STR): M18 IP S.A. **->** SRM BANK - +- Added 1 bank + - 581 - CENTRAL SICREDI NORDESTE - 70.119.680/0001-42 +- Updated 1 bank + - 533 - SRM BANK - 22.575.466/0001-58 + - **LongName** (STR): M18 INSTITUIÇÃO DE PAGAMENTO S.A. **->** SRM BANK INSITITUIÇÃO DE PAGAMENTO S/A + - **ShortName** (STR): M18 IP S.A. **->** SRM BANK + ### 2024-03-15 - [MergeTool](https://github.com/guibranco/BancosBrasileiros-MergeTool) -- Added 1 bank - - 595 - ZOOP MEIOS DE PAGAMENTO - 19.468.242/0001-32 -- Updated 1 bank - - 144 - EBURY BCO DE CÂMBIO S.A. - 13.059.145/0001-00 - - **LongName** (STR): BEXS BANCO DE CÂMBIO S/A **->** EBURY BANCO DE CÂMBIO S.A. - - **ShortName** (STR): BEXS BCO DE CAMBIO S.A. **->** EBURY BCO DE CÂMBIO S.A. - +- Added 1 bank + - 595 - ZOOP MEIOS DE PAGAMENTO - 19.468.242/0001-32 +- Updated 1 bank + - 144 - EBURY BCO DE CÂMBIO S.A. - 13.059.145/0001-00 + - **LongName** (STR): BEXS BANCO DE CÂMBIO S/A **->** EBURY BANCO DE CÂMBIO S.A. + - **ShortName** (STR): BEXS BCO DE CAMBIO S.A. **->** EBURY BCO DE CÂMBIO S.A. + ### 2024-03-14 - [MergeTool](https://github.com/guibranco/BancosBrasileiros-MergeTool) -- Updated 1 bank - - 280 - WILL FINANCEIRA S.A.CFI - 23.862.762/0001-00 - - **PixType** (SPI): Null **->** DRCT - - **DatePixStarted** (SPI): Null **->** 2024-03-19 10:00:00 - +- Updated 1 bank + - 280 - WILL FINANCEIRA S.A.CFI - 23.862.762/0001-00 + - **PixType** (SPI): Null **->** DRCT + - **DatePixStarted** (SPI): Null **->** 2024-03-19 10:00:00 + ### 2024-03-11 - [MergeTool](https://github.com/guibranco/BancosBrasileiros-MergeTool) -- Added 2 banks - - 577 - AF DESENVOLVE SP S.A. - 10.663.610/0001-29 - - 583 - CCC POUP INV DO CENTRO NORTE DO BRASIL - 33.667.205/0001-84 - +- Added 2 banks + - 577 - AF DESENVOLVE SP S.A. - 10.663.610/0001-29 + - 583 - CCC POUP INV DO CENTRO NORTE DO BRASIL - 33.667.205/0001-84 + ### 2024-03-08 - [MergeTool](https://github.com/guibranco/BancosBrasileiros-MergeTool) -- Updated 2 banks - - 561 - PAY4FUN IP S.A. - 20.757.199/0001-04 - - **PixType** (SPI): Null **->** DRCT - - **DatePixStarted** (SPI): Null **->** 2024-05-13 10:00:00 - - 562 - AZIMUT BRASIL DTVM LTDA - 18.684.408/0001-95 - - **ShortName** (STR): AZIMUT BRASIL DISTRIBUIDORA DE TÍTULOS E VALORES MOBILIÁRIOS **->** AZIMUT BRASIL DTVM LTDA - +- Updated 2 banks + - 561 - PAY4FUN IP S.A. - 20.757.199/0001-04 + - **PixType** (SPI): Null **->** DRCT + - **DatePixStarted** (SPI): Null **->** 2024-05-13 10:00:00 + - 562 - AZIMUT BRASIL DTVM LTDA - 18.684.408/0001-95 + - **ShortName** (STR): AZIMUT BRASIL DISTRIBUIDORA DE TÍTULOS E VALORES MOBILIÁRIOS **->** AZIMUT BRASIL DTVM LTDA + ### 2024-03-05 - [MergeTool](https://github.com/guibranco/BancosBrasileiros-MergeTool) -- Added 1 bank - - 594 - EMBRACRED S/A SCD - 48.703.388/0001-13 -- Updated 2 banks - - 391 - CCR DE IBIAM - 08.240.446/0001-03 - - **PixType** (SPI): Null **->** DRCT - - **DatePixStarted** (SPI): Null **->** 2024-03-07 10:00:00 - - 530 - SER FINANCE SCD S.A. - 47.873.449/0001-28 - - **Products** (CTC): Null **->** Capita de Giro PJ, Crédito Consignado, Crédito Pessoal, Troca de Modalidade - +- Added 1 bank + - 594 - EMBRACRED S/A SCD - 48.703.388/0001-13 +- Updated 2 banks + - 391 - CCR DE IBIAM - 08.240.446/0001-03 + - **PixType** (SPI): Null **->** DRCT + - **DatePixStarted** (SPI): Null **->** 2024-03-07 10:00:00 + - 530 - SER FINANCE SCD S.A. - 47.873.449/0001-28 + - **Products** (CTC): Null **->** Capita de Giro PJ, Crédito Consignado, Crédito Pessoal, Troca de Modalidade + ### 2024-03-04 - [MergeTool](https://github.com/guibranco/BancosBrasileiros-MergeTool) -- Added 2 banks - - 582 - "CCC POUP INV DE MS, GO, DF E TO" - 33.737.818/0001-40 - - 597 - ISSUER IP LTDA. - 34.747.388/0001-00 - +- Added 2 banks + - 582 - "CCC POUP INV DE MS, GO, DF E TO" - 33.737.818/0001-40 + - 597 - ISSUER IP LTDA. - 34.747.388/0001-00 + ### 2024-02-29 - [MergeTool](https://github.com/guibranco/BancosBrasileiros-MergeTool) -- Updated 1 bank - - 460 - UNAVANTI SCD S/A - 42.047.025/0001-90 - - **PixType** (SPI): Null **->** DRCT - - **DatePixStarted** (SPI): Null **->** 2024-03-05 08:30:00 - +- Updated 1 bank + - 460 - UNAVANTI SCD S/A - 42.047.025/0001-90 + - **PixType** (SPI): Null **->** DRCT + - **DatePixStarted** (SPI): Null **->** 2024-03-05 08:30:00 + ### 2024-02-28 - [MergeTool](https://github.com/guibranco/BancosBrasileiros-MergeTool) -- Added 2 banks - - 590 - REPASSES FINANCEIROS E SOLUCOES TECNOLOGICAS IP S.A. - 40.473.435/0001-78 - - 558 - QI DTVM LTDA. - 46.955.383/0001-52 - +- Added 2 banks + - 590 - REPASSES FINANCEIROS E SOLUCOES TECNOLOGICAS IP S.A. - 40.473.435/0001-78 + - 558 - QI DTVM LTDA. - 46.955.383/0001-52 + ### 2024-02-27 - [MergeTool](https://github.com/guibranco/BancosBrasileiros-MergeTool) -- Added 1 bank - - 588 - PROVER PROMOCAO DE VENDAS IP LTDA. - 20.308.187/0001-00 - +- Added 1 bank + - 588 - PROVER PROMOCAO DE VENDAS IP LTDA. - 20.308.187/0001-00 + ### 2024-02-26 - [MergeTool](https://github.com/guibranco/BancosBrasileiros-MergeTool) -- Added 1 bank - - 584 - "CCC POUP E INV DOS ESTADOS DO PR, SP E RJ" - 80.230.774/0001-48 - +- Added 1 bank + - 584 - "CCC POUP E INV DOS ESTADOS DO PR, SP E RJ" - 80.230.774/0001-48 + ### 2024-02-23 - [MergeTool](https://github.com/guibranco/BancosBrasileiros-MergeTool) -- Updated 1 bank - - 279 - COOP DE PRIMAVERA DO LESTE - 26.563.270/0001-02 - - **LongName** (STR): PRIMACREDI COOPERATIVA DE CRÉDITO DE PRIMAVERA DO LESTE **->** PRIMACREDI CREDISIS - COOPERATIVA DE CRÉDITO DE PRIMAVERA DO LESTE - +- Updated 1 bank + - 279 - COOP DE PRIMAVERA DO LESTE - 26.563.270/0001-02 + - **LongName** (STR): PRIMACREDI COOPERATIVA DE CRÉDITO DE PRIMAVERA DO LESTE **->** PRIMACREDI CREDISIS - COOPERATIVA DE CRÉDITO DE PRIMAVERA DO LESTE + ### 2024-02-15 - [MergeTool](https://github.com/guibranco/BancosBrasileiros-MergeTool) -- Added 2 banks - - 586 - Z1 IP LTDA. - 35.810.871/0001-55 - - 580 - CCCPOUPINV SUL E SUDESTE - CENTRAL SICREDI SUL/SUDESTE - 87.437.687/0001-05 - +- Added 2 banks + - 586 - Z1 IP LTDA. - 35.810.871/0001-55 + - 580 - CCCPOUPINV SUL E SUDESTE - CENTRAL SICREDI SUL/SUDESTE - 87.437.687/0001-05 + ### 2024-02-09 - [MergeTool](https://github.com/guibranco/BancosBrasileiros-MergeTool) -- Added 1 bank - - 305 - FOURTRADE COR. DE CAMBIO LTDA - 40.353.377/0001-49 - +- Added 1 bank + - 305 - FOURTRADE COR. DE CAMBIO LTDA - 40.353.377/0001-49 + ### 2024-01-24 - [MergeTool](https://github.com/guibranco/BancosBrasileiros-MergeTool) -- Updated 1 bank - - 400 - COOP CREDITAG - 05.491.616/0001-26 - - **PixType** (SPI): Null **->** IDRT - - **DatePixStarted** (SPI): Null **->** 2024-01-23 11:13:19 - +- Updated 1 bank + - 400 - COOP CREDITAG - 05.491.616/0001-26 + - **PixType** (SPI): Null **->** IDRT + - **DatePixStarted** (SPI): Null **->** 2024-01-23 11:13:19 + ### 2024-01-16 - [MergeTool](https://github.com/guibranco/BancosBrasileiros-MergeTool) -- Updated 2 banks - - 378 - BCO BRASILEIRO DE CRÉDITO S.A. - 01.852.137/0001-37 - - **PixType** (SPI): Null **->** DRCT - - **DatePixStarted** (SPI): Null **->** 2024-03-18 06:00:00 - - 510 - FFCRED SCD S.A. - 39.738.065/0001-74 - - **PixType** (SPI): Null **->** IDRT - - **DatePixStarted** (SPI): Null **->** 2024-01-15 09:40:38 - +- Updated 2 banks + - 378 - BCO BRASILEIRO DE CRÉDITO S.A. - 01.852.137/0001-37 + - **PixType** (SPI): Null **->** DRCT + - **DatePixStarted** (SPI): Null **->** 2024-03-18 06:00:00 + - 510 - FFCRED SCD S.A. - 39.738.065/0001-74 + - **PixType** (SPI): Null **->** IDRT + - **DatePixStarted** (SPI): Null **->** 2024-01-15 09:40:38 + ### 2024-01-09 - [MergeTool](https://github.com/guibranco/BancosBrasileiros-MergeTool) -- Added 2 banks - - 540 - FACILICRED SCM LTDA - 04.849.745/0001-80 - - 562 - AZIMUT BRASIL DISTRIBUIDORA DE TÍTULOS E VALORES MOBILIÁRIOS - 18.684.408/0001-95 -- Updated 5 banks - - 365 - SIMPAUL - 68.757.681/0001-70 - - **PixType** (SPI): Null **->** DRCT - - **DatePixStarted** (SPI): Null **->** 2024-01-15 10:00:00 - - 377 - BMS SCD S.A. - 17.826.860/0001-81 - - **PixType** (SPI): Null **->** DRCT - - **DatePixStarted** (SPI): Null **->** 2024-01-11 11:00:00 - - 410 - PLANNER SOCIEDADE DE CRÉDITO DIRETO - 05.684.234/0001-19 - - **PixType** (SPI): Null **->** DRCT - - **DatePixStarted** (SPI): Null **->** 2024-01-10 11:00:00 - - 470 - CDC SCD S.A. - 18.394.228/0001-79 - - **PixType** (SPI): Null **->** DRCT - - **DatePixStarted** (SPI): Null **->** 2024-01-08 08:00:00 - - 526 - MONETARIE SCD - 46.026.562/0001-05 - - **PixType** (SPI): Null **->** DRCT - - **DatePixStarted** (SPI): Null **->** 2024-01-10 10:00:00 - +- Added 2 banks + - 540 - FACILICRED SCM LTDA - 04.849.745/0001-80 + - 562 - AZIMUT BRASIL DISTRIBUIDORA DE TÍTULOS E VALORES MOBILIÁRIOS - 18.684.408/0001-95 +- Updated 5 banks + - 365 - SIMPAUL - 68.757.681/0001-70 + - **PixType** (SPI): Null **->** DRCT + - **DatePixStarted** (SPI): Null **->** 2024-01-15 10:00:00 + - 377 - BMS SCD S.A. - 17.826.860/0001-81 + - **PixType** (SPI): Null **->** DRCT + - **DatePixStarted** (SPI): Null **->** 2024-01-11 11:00:00 + - 410 - PLANNER SOCIEDADE DE CRÉDITO DIRETO - 05.684.234/0001-19 + - **PixType** (SPI): Null **->** DRCT + - **DatePixStarted** (SPI): Null **->** 2024-01-10 11:00:00 + - 470 - CDC SCD S.A. - 18.394.228/0001-79 + - **PixType** (SPI): Null **->** DRCT + - **DatePixStarted** (SPI): Null **->** 2024-01-08 08:00:00 + - 526 - MONETARIE SCD - 46.026.562/0001-05 + - **PixType** (SPI): Null **->** DRCT + - **DatePixStarted** (SPI): Null **->** 2024-01-10 10:00:00 + ### 2023-12-18 - [MergeTool](https://github.com/guibranco/BancosBrasileiros-MergeTool) -- Added 1 bank - - 572 - ALL IN CRED SCD S.A. - 51.414.521/0001-26 - +- Added 1 bank + - 572 - ALL IN CRED SCD S.A. - 51.414.521/0001-26 + ### 2023-12-08 - [@BrunoM90](https://github.com/BrunoM90) - Updated 28 banks @@ -676,7 +680,6 @@ - 746 - BCO MODAL S.A. - 30.723.886/0001-62 - 756 - BANCO SICOOB S.A. - 02.038.232/0001-64 - ### 2023-07-23 - [GuiBranco](https://gitbub.com/guibranco) - [Issue #235](http://github.com/guibranco/bancosBrasileiros/issues/235) - Added Detecta Flow diff --git a/README.md b/README.md index f72c5c27..4f63260b 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,8 @@ Each of the lists has the following information (schema): | CreditDocument | If does TED operations | true, false, null | | LegalCheque | If it belongs to the "Cheque Legal" | true, false | | DetectaFlow | If it belongs to the "Detecta Flow" | true, false | +| PCR | If it belongs to the "PCR" | true, false | +| PCRP | If it belongs to the "PCRP" | true, false | | SalaryPortability | If does/accept salary portability | "Banco folha e Destinatário" - both operations, "Destinatário" - only receive, null | | Products | List of products offered | In Portuguese only | | Url | Website | - | diff --git a/README.pt-br.md b/README.pt-br.md index b62849eb..56830d9e 100644 --- a/README.pt-br.md +++ b/README.pt-br.md @@ -51,6 +51,8 @@ Cada uma das listas possui as seguintes informações (schema): | CreditDocument | Efetua TED | true, false, null | | LegalCheque | Se pertence ao "Cheque Legal" | true, false | | Detecta Flow | Se pertence ao "Detecta Flow" | true, false | +| PCR | Se pertence ao "PCR" | true, false | +| PCRP | Se pertence ao "PCRP" | true, false | | SalaryPortability | Efetua/recebe portabilidade de salário | "Banco folha e Destinatário" - ambas as operações, "Destinatário" - apenas recebe, null | | Products | Lista de produtos oferecidos | Apenas em português | | Url | Website | - | diff --git a/examples/dotnet/Readme.md b/examples/dotnet/Readme.md index 64a5efe9..1f92ef40 100644 --- a/examples/dotnet/Readme.md +++ b/examples/dotnet/Readme.md @@ -20,6 +20,8 @@ Each of the Collection has the following information (schema): | CreditDocument | If does DOC/TED operations | true, false, null | | LegalCheque | If it belongs to the "Cheque Legal" | true, false | | Detecta Flow | If it belongs to the "Detecta Flow" | true, false | +| PCR | If it belongs to the "PCR" | true, false | +| PCRP | If it belongs to the "PCRP" | true, false | | SalaryPortability | If does/accept salary portability | "Banco folha e Destinatário" - both operations, "Destinatário" - only receive, null | | Products | List of products offered | In Portuguese only | | Url | Website | - | diff --git a/examples/php/Readme.md b/examples/php/Readme.md index e4002b29..6d29a83c 100644 --- a/examples/php/Readme.md +++ b/examples/php/Readme.md @@ -46,6 +46,8 @@ Each of the Collection has the following information (schema): | CreditDocument | If does DOC/TED operations | true, false, null | | LegalCheque | If it belongs to the "Cheque Legal" | true, false | | Detecta Flow | If it belongs to the "Detecta Flow" | true, false | +| PCR | If it belongs to the "PCR" | true, false | +| PCRP | If it belongs to the "PCRP" | true, false | | SalaryPortability | If does/accept salary portability | "Banco folha e Destinatário" - both operations, "Destinatário" - only receive, null | | Products | List of products offered | In Portuguese only | | Url | Website | - | diff --git a/lib/src/bank_dto.dart b/lib/src/bank_dto.dart index 8ff341bc..560235c7 100644 --- a/lib/src/bank_dto.dart +++ b/lib/src/bank_dto.dart @@ -11,6 +11,8 @@ class BankDTO { bool? _CreditDocument; bool? _LegalCheque; bool? _DetectaFlow; + bool? _Pcr; + bool? _Pcrp; String? _SalaryPortability; List? _Products; String? _Url; @@ -32,6 +34,8 @@ class BankDTO { this._CreditDocument, this._LegalCheque, this._DetectaFlow, + this._Pcr, + this._Pcrp, this._SalaryPortability, this._Products, this._Url, @@ -65,6 +69,10 @@ class BankDTO { bool? get DetectaFlow => _DetectaFlow; + bool? get Pcr => _Pcr; + + bool? get Pcrp => _Pcrp; + String? get SalaryPortability => _SalaryPortability; List? get Products => _Products; @@ -104,6 +112,10 @@ class BankDTO { set DetectaFlow(bool? value) => _DetectaFlow = value; + set Pcr(bool? value) => _Pcr = value; + + set Pcrp(bool? value) => _Pcrp = value; + set SalaryPortability(String? value) => _SalaryPortability = value; set Products(List? value) => _Products = value; @@ -132,6 +144,8 @@ class BankDTO { 'CreditDocument': _CreditDocument, 'LegalCheque': _LegalCheque, 'DetectaFlow': _DetectaFlow, + 'Pcr': _Pcr, + 'Pcrp': _Pcrp, 'SalaryPortability': _SalaryPortability, 'Products': _Products, 'Url': _Url, @@ -156,6 +170,8 @@ class BankDTO { json['CreditDocument'], json['LegalCheque'], json['DetectaFlow'], + json['Pcr'], + json['Pcrp'], json['SalaryPortability'], List.from(json['Products'] ?? []), json['Url'], @@ -181,6 +197,8 @@ class BankDTO { '"CreditDocument": $CreditDocument, ' '"LegalCheque": $LegalCheque, ' '"DetectaFlow": $DetectaFlow, ' + '"Pcr": $Pcr, ' + '"Pcrp": $Pcrp, ' '"SalaryPortability": "$SalaryPortability", ' '"Products": ${_listToJson(Products)}, ' '"Url": "$Url", ' diff --git a/schemas/csharp.cs b/schemas/csharp.cs index b9fac4b5..d60b05ee 100644 --- a/schemas/csharp.cs +++ b/schemas/csharp.cs @@ -41,6 +41,12 @@ public class Bank [JsonProperty("DetectaFlow")] public bool DetectaFlow { get; set; } + [JsonProperty("PCR")] + public bool Pcr { get; set; } + + [JsonProperty("PCRP")] + public bool Pcrp { get; set; } + [JsonProperty("SalaryPortability")] public string SalaryPortability { get; set; } diff --git a/schemas/dart.dart b/schemas/dart.dart index 0c1bfd1d..975f486e 100644 --- a/schemas/dart.dart +++ b/schemas/dart.dart @@ -11,6 +11,9 @@ class BankDTO { bool _CreditDocument; bool _LegalCheque; bool _DetectaFlow; + bool _Pcr; + bool _Pcrp; + String _SalaryPortability; List _Products; String _Url; @@ -32,6 +35,8 @@ class BankDTO { bool CreditDocument, bool LegalCheque, bool DetectaFlow, + bool Pcr, + bool Pcrp, String SalaryPortability, List Products, String Url, @@ -52,6 +57,8 @@ class BankDTO { _CreditDocument = CreditDocument; _LegalCheque = LegalCheque; _DetectaFlow = DetectaFlow; + _Pcr = Pcr; + _Pcrp = Pcrp; _SalaryPortability = SalaryPortability; _Products = Products; _Url = Url; @@ -74,6 +81,8 @@ class BankDTO { bool get CreditDocument => _CreditDocument; bool get LegalCheque => _LegalCheque; bool get DetectaFlow => _DetectaFlow; + bool get Pcr => _Pcr; + bool get Pcrp => _Pcrp; String get SalaryPortability => _SalaryPortability; List get Products => _Products; String get Url => _Url; @@ -95,6 +104,8 @@ class BankDTO { set CreditDocument(bool value) => _CreditDocument = value; set LegalCheque(bool value) => _LegalCheque = value; set DetectaFlow(bool value) => _DetectaFlow = value; + set Pcr(bool value) => _Pcr = value; + set Pcrp(bool value) => _Pcrp = value; set SalaryPortability(String value) => _SalaryPortability = value; set Products(List value) => _Products = value; set Url(String value) => _Url = value; @@ -117,6 +128,8 @@ class BankDTO { 'CreditDocument': _CreditDocument, 'LegalCheque': _LegalCheque, 'DetectaFlow': _DetectaFlow, + 'Pcr': _Pcr, + 'Pcrp': _Pcrp, 'SalaryPortability': _SalaryPortability, 'Products': _Products, 'Url': _Url, @@ -141,6 +154,8 @@ class BankDTO { CreditDocument: json['CreditDocument'], LegalCheque: json['LegalCheque'], DetectaFlow: json['DetectaFlow'], + Pcr: json['Pcr'], + Pcrp: json['Pcrp'], SalaryPortability: json['SalaryPortability'], Products: List.from(json['Products']), Url: json['Url'], diff --git a/schemas/go.go b/schemas/go.go index 67a4b0fb..9d619b02 100644 --- a/schemas/go.go +++ b/schemas/go.go @@ -34,8 +34,10 @@ type BankElement struct { PixType string `json:"PixType"` Charge bool `json:"Charge"` CreditDocument bool `json:"CreditDocument"` - LegalCheque bool `json:"LegalCheque"` - DetectaFlow bool `json:"DetectaFlow"` + LegalCheque bool `json:"LegalCheque"` + DetectaFlow bool `json:"DetectaFlow"` + Pcr bool `json:"Pcr"` + Pcrp bool `json:"Pcrp"` SalaryPortability string `json:"SalaryPortability"` Products []string `json:"Products"` URL string `json:"Url"` diff --git a/schemas/java.java b/schemas/java.java index 914ef98a..9184f7a9 100644 --- a/schemas/java.java +++ b/schemas/java.java @@ -39,6 +39,8 @@ "CreditDocument", "LegalCheque", "DetectaFlow", +"Pcr", +"Pcrp", "SalaryPortability", "Products", "Url", @@ -75,6 +77,10 @@ public class Bank implements Serializable private Object legalCheque; @JsonProperty("DetectaFlow") private Object detectaFlow; +@JsonProperty("Pcr") +private Object pcr; +@JsonProperty("Pcrp") +private Object pcrp; @JsonProperty("SalaryPortability") private Object salaryPortability; @JsonProperty("Products") @@ -273,6 +279,36 @@ public Bank withDetectaFlow(Object detectaFlow) { return this; } +@JsonProperty("Pcr") +public Object getPcr() { +return pcr; +} + +@JsonProperty("Pcr") +public void setPcr(Object pcr) { +this.pcr = pcr; +} + +public Bank withPcr(Object pcr) { +this.pcr = pcr; +return this; +} + +@JsonProperty("Pcrp") +public Object getPcrp() { +return pcrp; +} + +@JsonProperty("Pcrp") +public void setPcrp(Object pcrp) { +this.pcrp = pcrp; +} + +public Bank withPcrp(Object pcrp) { +this.pcrp = pcrp; +return this; +} + @JsonProperty("SalaryPortability") public Object getSalaryPortability() { return salaryPortability; diff --git a/schemas/javascript.js b/schemas/javascript.js index 3adeb3ad..7f618a46 100644 --- a/schemas/javascript.js +++ b/schemas/javascript.js @@ -160,6 +160,8 @@ const typeMap = { { json: "CreditDocument", js: "CreditDocument", typ: "" }, { json: "LegalCheque", js: "LegalCheque", typ: "" }, { json: "DetectaFlow", js: "DetectaFlow", typ: "" }, + { json: "Pcr", js: "Pcr", typ: "" }, + { json: "Pcrp", js: "Pcrp", typ: "" }, { json: "SalaryPortability", js: "SalaryPortability", typ: "" }, { json: "Products", js: "Products", typ: "" }, { json: "Url", js: "Url", typ: u(null, "") }, diff --git a/schemas/kotlin.kt b/schemas/kotlin.kt index 657c43a1..7670e927 100644 --- a/schemas/kotlin.kt +++ b/schemas/kotlin.kt @@ -53,6 +53,12 @@ data class BankElement ( @Json("DetectaFLow") val detectaFlow: Boolean, + @Json("Pcr") + val pcr: Boolean, + + @Json("Pcrp") + val pcrp: Boolean, + @Json("SalaryPortability") val salaryPortability: String? = null, diff --git a/schemas/php.php b/schemas/php.php index fd090b85..63b81f1b 100644 --- a/schemas/php.php +++ b/schemas/php.php @@ -38,6 +38,12 @@ class Bank /** @var bool **/ public $DetectaFlow; + /** @var bool **/ + public $Pcr; + + /** @var bool **/ + public $Pcrp; + /** @var string|null */ public $SalaryPortability; diff --git a/schemas/python.py b/schemas/python.py index 2050f942..8c77fc11 100644 --- a/schemas/python.py +++ b/schemas/python.py @@ -71,6 +71,9 @@ class BankElement: charge: bool creditDocument: bool legalCheque: bool + detectaFlow: bool + pcr: bool + pcrp: bool salaryPortability: str products: List[str] url: Optional[str] @@ -79,7 +82,7 @@ class BankElement: date_registered: datetime date_updated: datetime - def __init__(self, compe: str, ispb: str, document: str, long_name: str, short_name: str, network: Optional[str], type_: Optional[str], pix_type: Optional[str], charge: bool, creditDocument: bool, legalCheque: bool, salaryPortability: Optional[str], products: List[str], url: Optional[str], date_operation_started: Optional[str], date_pix_started: Optional[str], date_registered: datetime, date_updated: datetime) -> None: + def __init__(self, compe: str, ispb: str, document: str, long_name: str, short_name: str, network: Optional[str], type_: Optional[str], pix_type: Optional[str], charge: bool, creditDocument: bool, legalCheque: bool, detectaFlow: bool, pcr: bool, pcrp:bool, salaryPortability: Optional[str], products: List[str], url: Optional[str], date_operation_started: Optional[str], date_pix_started: Optional[str], date_registered: datetime, date_updated: datetime) -> None: """Return the bank DTO from JSON file.""" self.compe = compe self.ispb = ispb @@ -92,6 +95,9 @@ def __init__(self, compe: str, ispb: str, document: str, long_name: str, short_n self.charge = charge self.creditDocument = creditDocument self.legalCheque = legalCheque + self.detectaFlow = detectaFlow + self.pcr = pcr + self.pcrp = pcrp self.salaryPortability = salaryPortability self.products = products self.url = url @@ -114,6 +120,9 @@ def from_dict(obj: Any) -> 'BankElement': charge = from_union([from_none, from_str], obj.get("Charge")) creditDocument = from_union([from_none, from_str], obj.get("CreditDocument")) legalCheque = from_union([from_none, from_str], obj.get("LegalCheque")) + detectaFlow = from_union([from_none, from_str], obj.get("DetectaFlow")) + pcr = from_union([from_none, from_str], obj.get("PCR")) + pcrp = from_union([from_none, from_str], obj.get("PCRP")) salaryPortability = from_union([from_none, from_str], obj.get("SalaryPortability")) products = from_union([from_none, from_str], obj.get("Products")) url = from_union([from_none, from_str], obj.get("Url")) @@ -121,7 +130,7 @@ def from_dict(obj: Any) -> 'BankElement': date_pix_started = from_union([from_none, from_str], obj.get("DatePixStarted")) date_registered = from_datetime(obj.get("DateRegistered")) date_updated = from_datetime(obj.get("DateUpdated")) - return BankElement(compe, ispb, document, long_name, short_name, network, type_, pix_type, charge, creditDocument, legalCheque, salaryPortability, products, url, date_operation_started, date_pix_started, date_registered, date_updated) + return BankElement(compe, ispb, document, long_name, short_name, network, type_, pix_type, charge, creditDocument, legalCheque, detectaFlow, pcr, pcrp, salaryPortability, products, url, date_operation_started, date_pix_started, date_registered, date_updated) def to_dict(self) -> dict: result: dict = {} @@ -136,6 +145,9 @@ def to_dict(self) -> dict: result["Charge"] = from_union([from_none, from_str], self.charge) result["CreditDocument"] = from_union([from_none, from_str], self.creditDocument) result["LegalCheque"] = from_union([from_none, from_str], self.legalCheque) + result["DetectaFlow"] = from_union([from_none, from_str], self.detectaFlow) + result["PCR"] = from_union([from_none, from_str], self.pcr) + result["PCRP"] = from_union([from_none, from_str], self.pcrp) result["SalaryPortability"] = from_union([from_none, from_str], self.salaryPortability) result["Products"] = from_union([from_none, from_str], self.products) result["Url"] = from_union([from_none, from_str], self.url) diff --git a/schemas/rust.rs b/schemas/rust.rs index 6305947b..7948a069 100644 --- a/schemas/rust.rs +++ b/schemas/rust.rs @@ -41,6 +41,10 @@ pub struct BankElement { pub legal_cheque: bool, #[serde(rename = "DetectaFlow")] pub detecta_flow: bool, + #[serde(rename = "Pcr")] + pub pcr: bool, + #[serde(rename = "Pcrp")] + pub pcrp: bool, #[serde(rename = "SalaryPortability")] pub salary_portability: String, #[serde(rename = "Products")] diff --git a/schemas/schema.json b/schemas/schema.json index fb27fdc9..41345c74 100644 --- a/schemas/schema.json +++ b/schemas/schema.json @@ -66,6 +66,12 @@ "DetectaFlow": { "type": "boolean" }, + "Pcr": { + "type": "boolean" + }, + "Pcrp": { + "type": "boolean" + }, "SalaryPortability": { "type": "string" }, diff --git a/schemas/schema.sql b/schemas/schema.sql index 6ccf8085..8f29cf92 100644 --- a/schemas/schema.sql +++ b/schemas/schema.sql @@ -12,6 +12,8 @@ CREATE TABLE Banks ( CreditDocument BIT NULL, LegalCheque BIT, DetectaFlow BIT, + Pcr BIT, + Pcrp BIT, SalaryPortability VARCHAR(100) NULL, Products TEXT NULL, Url VARCHAR(255) NULL, diff --git a/schemas/schema.xml b/schemas/schema.xml index b5416030..a8456d6f 100644 --- a/schemas/schema.xml +++ b/schemas/schema.xml @@ -19,6 +19,8 @@ + + diff --git a/schemas/typescript.ts b/schemas/typescript.ts index bf5a007e..efeb7ac1 100644 --- a/schemas/typescript.ts +++ b/schemas/typescript.ts @@ -20,6 +20,8 @@ export interface Bank { CreditDocument: null | boolean; LegalCheque: boolean, DetectaFlow: boolean, + Pcr: boolean, + Pcrp: boolean, SalaryPortability: null | string; Products: null | string[]; Url: null | string; @@ -184,6 +186,8 @@ const typeMap: any = { { json: "CreditDocument", js: "CreditDocument", typ: u("", null) }, { json: "LegalCheque", js: "LegalCheque", typ: u("", null) }, { json: "DetectaFlow", js: "DetectaFlow", typ: u("", null) }, + { json: "Pcr", js: "Pcr", typ: u("", null) }, + { json: "Pcrp", js: "Pcrp", typ: u("", null) }, { json: "SalaryPortability", js: "SalaryPortability", typ: u("", null) }, { json: "Products", js: "Products", typ: u("", null) }, { json: "Url", js: "Url", typ: u("", null) }, diff --git a/src/Bank.php b/src/Bank.php index cb345bd7..671174d5 100644 --- a/src/Bank.php +++ b/src/Bank.php @@ -41,6 +41,12 @@ class Bank /** @var bool **/ public $DetectaFlow; + /** @var bool **/ + public $Pcr; + + /** @var bool **/ + public $Pcrp; + /** @var string|null */ public $SalaryPortability; diff --git a/test/bancos_brasileiros_test.dart b/test/bancos_brasileiros_test.dart index efd27dd5..b9f9668a 100644 --- a/test/bancos_brasileiros_test.dart +++ b/test/bancos_brasileiros_test.dart @@ -43,6 +43,8 @@ void main() { dto1.CreditDocument == dto2.CreditDocument && dto1.LegalCheque == dto2.LegalCheque && dto1.DetectaFlow == dto2.DetectaFlow && + dto1.Pcr == dto2.Pcr && + dto1.Pcrp == dto2.Pcrp && dto1.SalaryPortability == dto2.SalaryPortability && areStringListsEqual(dto1.Products, dto2.Products) && dto1.Url == dto2.Url &&