enotas_api 4.3.0 → 4.3.2

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: 94e234722ac653e169629fcd0332e3b28615bf22b4c75e2378deab99b2ddc6ea
4
+ data.tar.gz: 436aa68ac252d2a13f668f463e050afeb70d4511c583e6c9bb4eb02132d3b406
5
5
  SHA512:
6
- metadata.gz: 188f6e8b5f40224bcc0703045b6a5356c9d6c9f3c2d0a5e1e3603730828d2a2da91ab7019830c9ca9cf7ae47a37a171458197c847d917ee8c609536abf186fbc
7
- data.tar.gz: 1c8d3e346850aa7303fd4a35aef24ed2f8bba7a71c3feeb66c8974c09b8cad24fe512fd9801eac2c89fb05be023f15706a27ca4f9071a502a1968f68800448a6
6
+ metadata.gz: 50a79e35681b366e4f489ac9d5bc3ae09f864b0ff451c0a5c8f6d1e82012f9ca30de40c30bd5985969e2d65a6a548600f2576c21422b47d26913cdff779a588e
7
+ data.tar.gz: d366477418e3a6e5c2932cf0a0a146d88125ff21aca8b9997f348fbc2f65c69369b8fe9f8f459092ce857b959d5c40a73bc766fb92121728d30aa261695f6440
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 4.3.2
2
+ - Add ean and eanTributavel structure on v2/nf-e and v2/nfc-e
3
+ # 4.3.1
4
+ - Add emissaoNFeConsumidor structure on v2/empresas
1
5
  # 4.3.0
2
6
  - Add endpoints API V2 - NOTA FISCAL ELETRÔNICA DE CONSUMIDOR (NFC-E)
3
7
  # 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.2)
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
@@ -16,7 +16,9 @@ module EnotasApi
16
16
  unidadeMedida: :string,
17
17
  valorUnitario: :decimal,
18
18
  impostos: NfceItemImpostos,
19
- informacoesAdicionais: :string
19
+ informacoesAdicionais: :string,
20
+ ean: :string,
21
+ eanTributavel: :string
20
22
  end
21
23
  end
22
24
  end
@@ -18,7 +18,9 @@ module EnotasApi
18
18
  valorUnitario: :decimal,
19
19
  frete: :decimal,
20
20
  impostos: NfeItemImpostos,
21
- informacoesAdicionais: :string
21
+ informacoesAdicionais: :string,
22
+ ean: :string,
23
+ eanTributavel: :string
22
24
  end
23
25
  end
24
26
  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.2'
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.2
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: 2025-05-26 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
@@ -148,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
148
151
  - !ruby/object:Gem::Version
149
152
  version: '0'
150
153
  requirements: []
151
- rubygems_version: 3.3.26
154
+ rubygems_version: 3.4.10
152
155
  signing_key:
153
156
  specification_version: 4
154
157
  summary: E-notas API client