enotas_api 4.3.0 → 4.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7cb9ac01b2ff11fb35cbdb73431c2c7b569dbaa1c23e0f5c28fbd01ead301c8d
4
- data.tar.gz: f9fee42d0f9cdeae5afeeda5309c36ce7e17ce8270b16ba3cfd6c320e7d94759
3
+ metadata.gz: caef201b4f4939c8d0f260941972ca6d1ff23f882c36cf0ff544ebdbfc2e58b4
4
+ data.tar.gz: 14bf1bd28f18517d3deea6d46b3e262590b3a330d584fe8522dc0c4f9f8bca46
5
5
  SHA512:
6
- metadata.gz: 188f6e8b5f40224bcc0703045b6a5356c9d6c9f3c2d0a5e1e3603730828d2a2da91ab7019830c9ca9cf7ae47a37a171458197c847d917ee8c609536abf186fbc
7
- data.tar.gz: 1c8d3e346850aa7303fd4a35aef24ed2f8bba7a71c3feeb66c8974c09b8cad24fe512fd9801eac2c89fb05be023f15706a27ca4f9071a502a1968f68800448a6
6
+ metadata.gz: d587d340ebc56001359b43504369aa36b37a9eb8ea4bf0de8eb38a576076780b5c79ca16ccb10ce2dc744402f8647f941d9a7ba4b2bff2d281d500f9ce80d7d5
7
+ data.tar.gz: 9dcc1f0dd2c215a78f18dabd2dfc165dc722cd60a7d7502367e4d06a68d1c47fe9340a1c9f21f3858718b5e0afc323b1de43607a2543da32d2e36affd11b50ea
data/CHANGELOG.md CHANGED
@@ -1,3 +1,5 @@
1
+ # 4.3.1
2
+ - Add emissaoNFeConsumidor structure on v2/empresas
1
3
  # 4.3.0
2
4
  - Add endpoints API V2 - NOTA FISCAL ELETRÔNICA DE CONSUMIDOR (NFC-E)
3
5
  # 4.2.3
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- enotas_api (4.3.0)
4
+ enotas_api (4.3.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -3,6 +3,7 @@
3
3
  require_relative '../../common/entity'
4
4
  require_relative 'empresa_endereco'
5
5
  require_relative 'empresa_emissao_nfe_produto'
6
+ require_relative 'empresa_emissao_nfe_consumidor'
6
7
 
7
8
  module EnotasApi
8
9
  module V2
@@ -17,7 +18,8 @@ module EnotasApi
17
18
  email: :string,
18
19
  telefoneComercial: :string,
19
20
  endereco: EmpresaEndereco,
20
- emissaoNFeProduto: EmpresaEmissaoNfeProduto
21
+ emissaoNFeProduto: EmpresaEmissaoNfeProduto,
22
+ emissaoNFeConsumidor: EmpresaEmissaoNfeConsumidor
21
23
  end
22
24
  end
23
25
  end
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative '../../common/entity'
4
+ require_relative 'empresa_emissao_nfe_consumidor_configuracoes'
5
+
6
+ module EnotasApi
7
+ module V2
8
+ class EmpresaEmissaoNfeConsumidor < EnotasApi::Entity
9
+ attributes ambienteProducao: EmpresaEmissaoNfeConsumidorConfiguracoes,
10
+ ambienteHomologacao: EmpresaEmissaoNfeConsumidorConfiguracoes
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative '../../common/entity'
4
+ require_relative 'empresa_emissao_nfe_consumidor_configuracoes_csc'
5
+
6
+ module EnotasApi
7
+ module V2
8
+ class EmpresaEmissaoNfeConsumidorConfiguracoes < EnotasApi::Entity
9
+ attributes sequencialNFe: :integer,
10
+ serieNFe: :string,
11
+ csc: EmpresaEmissaoNfeConsumidorConfiguracoesCsc
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative '../../common/entity'
4
+
5
+ module EnotasApi
6
+ module V2
7
+ class EmpresaEmissaoNfeConsumidorConfiguracoesCsc < EnotasApi::Entity
8
+ attributes id: :string,
9
+ codigo: :string
10
+ end
11
+ end
12
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EnotasApi
4
- VERSION = '4.3.0'
4
+ VERSION = '4.3.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enotas_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.0
4
+ version: 4.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eduardo Bohrer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-21 00:00:00.000000000 Z
11
+ date: 2023-11-14 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Non oficial, well supported, e-notas ruby api client
14
14
  email:
@@ -84,6 +84,9 @@ files:
84
84
  - lib/enotas_api/v2/emitir_nfc.rb
85
85
  - lib/enotas_api/v2/entities/empresa.rb
86
86
  - lib/enotas_api/v2/entities/empresa_configuracoes.rb
87
+ - lib/enotas_api/v2/entities/empresa_emissao_nfe_consumidor.rb
88
+ - lib/enotas_api/v2/entities/empresa_emissao_nfe_consumidor_configuracoes.rb
89
+ - lib/enotas_api/v2/entities/empresa_emissao_nfe_consumidor_configuracoes_csc.rb
87
90
  - lib/enotas_api/v2/entities/empresa_emissao_nfe_produto.rb
88
91
  - lib/enotas_api/v2/entities/empresa_endereco.rb
89
92
  - lib/enotas_api/v2/entities/nfce.rb