e-invoice-api 0.14.0 → 0.16.0

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: 4337a42eb8b5dabcbe05e2592fb97a2be70365870245ae7cc3d6c7f3fbf47877
4
- data.tar.gz: 774e91593612c50ebbd8161b1a690ea63d7fa515e15368489853c5fbca2eff26
3
+ metadata.gz: 5af56e53a9b358f32da6e9b575e4fb4a8216f03e7b2fdd864235ce89c4f4cda0
4
+ data.tar.gz: 40126def6f910f37fe3fc030ccd09f017872af2eb6a5829aab35e6cfed26a596
5
5
  SHA512:
6
- metadata.gz: 1fb1e7964591f18db368a75e9c605939af61be71832158aba03c583ce4e347617e3bc27382bd99b1ab257d778930e436a6909f37aeacd74d6b3c97aeaa9246bf
7
- data.tar.gz: 80e9eb92dbb34fa3e9fe12bb3190ab7ff66163109a6ec26a6c8c455c0db30e611ec63cdec23b09cdd04698bcf6a15e1aefa1f230272a39883357699d577f60ae
6
+ metadata.gz: 87d9cdad0155e4c5c83a25f4288f09f3edc9c1e93794c079a510da56f632cb91a2e72035055030a12ae03b12229cbb388aa285984b21ac804c9da841cece19c5
7
+ data.tar.gz: a470900caa8fd75e54a3afe520db69fdd3bfdeeb28727f3fc7ada2292c1fe3fc87d311c8877705b36c3c79f4004d42dac0d4fa067cc6c61c4e2da49fc6cf65f7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.16.0 (2025-12-11)
4
+
5
+ Full Changelog: [v0.15.0...v0.16.0](https://github.com/e-invoice-be/e-invoice-rb/compare/v0.15.0...v0.16.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([00c8500](https://github.com/e-invoice-be/e-invoice-rb/commit/00c8500d19f3a937e71e4d50fa387257f1a94fe0))
10
+
11
+
12
+ ### Chores
13
+
14
+ * explicitly require "base64" gem ([3f44730](https://github.com/e-invoice-be/e-invoice-rb/commit/3f4473046beeea219a87f4d03f003c66410ba86c))
15
+
16
+ ## 0.15.0 (2025-11-18)
17
+
18
+ Full Changelog: [v0.14.0...v0.15.0](https://github.com/e-invoice-be/e-invoice-rb/compare/v0.14.0...v0.15.0)
19
+
20
+ ### Features
21
+
22
+ * **api:** api update ([63a4434](https://github.com/e-invoice-be/e-invoice-rb/commit/63a44344752f9354a461795cb68398f0b0208c4d))
23
+
3
24
  ## 0.14.0 (2025-11-16)
4
25
 
5
26
  Full Changelog: [v0.13.0...v0.14.0](https://github.com/e-invoice-be/e-invoice-rb/compare/v0.13.0...v0.14.0)
data/README.md CHANGED
@@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application
17
17
  <!-- x-release-please-start-version -->
18
18
 
19
19
  ```ruby
20
- gem "e-invoice-api", "~> 0.14.0"
20
+ gem "e-invoice-api", "~> 0.16.0"
21
21
  ```
22
22
 
23
23
  <!-- x-release-please-end -->
@@ -474,7 +474,6 @@ module EInvoiceAPI
474
474
  MIN = :MIN
475
475
  MON = :MON
476
476
  ONZ = :ONZ
477
- PCE = :PCE
478
477
  LBR = :LBR
479
478
  QT = :QT
480
479
  SEC = :SEC
@@ -74,7 +74,10 @@ module EInvoiceAPI
74
74
  )
75
75
  end
76
76
 
77
- # Add a new attachment to an invoice or credit note
77
+ # @deprecated
78
+ #
79
+ # Add one or more attachments when creating a new invoice or credit note via POST
80
+ # /api/documents/
78
81
  #
79
82
  # @overload add(document_id, file:, request_options: {})
80
83
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EInvoiceAPI
4
- VERSION = "0.14.0"
4
+ VERSION = "0.16.0"
5
5
  end
data/lib/e_invoice_api.rb CHANGED
@@ -3,6 +3,7 @@
3
3
  # Standard libraries.
4
4
  # rubocop:disable Lint/RedundantRequireStatement
5
5
  require "English"
6
+ require "base64"
6
7
  require "cgi"
7
8
  require "date"
8
9
  require "erb"
data/manifest.yaml CHANGED
@@ -1,5 +1,6 @@
1
1
  dependencies:
2
2
  - English
3
+ - base64
3
4
  - cgi
4
5
  - date
5
6
  - erb
@@ -552,7 +552,6 @@ module EInvoiceAPI
552
552
  MIN = T.let(:MIN, EInvoiceAPI::UnitOfMeasureCode::TaggedSymbol)
553
553
  MON = T.let(:MON, EInvoiceAPI::UnitOfMeasureCode::TaggedSymbol)
554
554
  ONZ = T.let(:ONZ, EInvoiceAPI::UnitOfMeasureCode::TaggedSymbol)
555
- PCE = T.let(:PCE, EInvoiceAPI::UnitOfMeasureCode::TaggedSymbol)
556
555
  LBR = T.let(:LBR, EInvoiceAPI::UnitOfMeasureCode::TaggedSymbol)
557
556
  QT = T.let(:QT, EInvoiceAPI::UnitOfMeasureCode::TaggedSymbol)
558
557
  SEC = T.let(:SEC, EInvoiceAPI::UnitOfMeasureCode::TaggedSymbol)
@@ -37,7 +37,8 @@ module EInvoiceAPI
37
37
  def delete(attachment_id, document_id:, request_options: {})
38
38
  end
39
39
 
40
- # Add a new attachment to an invoice or credit note
40
+ # Add one or more attachments when creating a new invoice or credit note via POST
41
+ # /api/documents/
41
42
  sig do
42
43
  params(
43
44
  document_id: String,
@@ -469,7 +469,6 @@ module EInvoiceAPI
469
469
  | :MIN
470
470
  | :MON
471
471
  | :ONZ
472
- | :PCE
473
472
  | :LBR
474
473
  | :QT
475
474
  | :SEC
@@ -1505,7 +1504,6 @@ module EInvoiceAPI
1505
1504
  MIN: :MIN
1506
1505
  MON: :MON
1507
1506
  ONZ: :ONZ
1508
- PCE: :PCE
1509
1507
  LBR: :LBR
1510
1508
  QT: :QT
1511
1509
  SEC: :SEC
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: e-invoice-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - e-invoice
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-11-16 00:00:00.000000000 Z
11
+ date: 2025-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool