e-invoice-api 0.30.0 → 0.31.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +1 -1
- data/lib/e_invoice_api/models/validate_validate_peppol_id_response.rb +9 -8
- data/lib/e_invoice_api/version.rb +1 -1
- data/rbi/e_invoice_api/models/validate_validate_peppol_id_response.rbi +11 -12
- data/sig/e_invoice_api/models/validate_validate_peppol_id_response.rbs +8 -10
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 944e77d94844bca83b4632b605a4e3e2aa52fa45fd463598990998143fcb10c6
|
|
4
|
+
data.tar.gz: 06ada41bd76346b16b4a762b9ec6f98ea95339e77bc270942c35c20d7e3fb906
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 416f1899158d12cf7b713e165d70b8a50ec12f21bdf917fa589ffcbb2378ab624309aedb29ddbfa55f90999801c7ea0179e561379794b206abc1e6c770456bd8
|
|
7
|
+
data.tar.gz: eaba15af19f415974f0ab6f72184f7acddace0da300a7c1b19d64f6a986c955b6a9591f9ed8fe0edbba0dc26db74ffd09b89cb1a398f9296161a054e64084c74
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.31.0 (2026-05-20)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.30.0...v0.31.0](https://github.com/e-invoice-be/e-invoice-rb/compare/v0.30.0...v0.31.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([e573579](https://github.com/e-invoice-be/e-invoice-rb/commit/e573579bfb81de4e29cf6af00307030e013441b3))
|
|
10
|
+
|
|
3
11
|
## 0.30.0 (2026-05-20)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v0.29.0...v0.30.0](https://github.com/e-invoice-be/e-invoice-rb/compare/v0.29.0...v0.30.0)
|
data/README.md
CHANGED
|
@@ -22,6 +22,12 @@ module EInvoiceAPI
|
|
|
22
22
|
# @return [Boolean]
|
|
23
23
|
required :is_valid, EInvoiceAPI::Internal::Type::Boolean
|
|
24
24
|
|
|
25
|
+
# @!attribute supported_document_types
|
|
26
|
+
# List of document types that this Peppol ID supports
|
|
27
|
+
#
|
|
28
|
+
# @return [Array<String>]
|
|
29
|
+
required :supported_document_types, EInvoiceAPI::Internal::Type::ArrayOf[String]
|
|
30
|
+
|
|
25
31
|
# @!attribute business_card
|
|
26
32
|
# Business card information for the Peppol ID
|
|
27
33
|
#
|
|
@@ -30,12 +36,7 @@ module EInvoiceAPI
|
|
|
30
36
|
-> { EInvoiceAPI::Models::ValidateValidatePeppolIDResponse::BusinessCard },
|
|
31
37
|
nil?: true
|
|
32
38
|
|
|
33
|
-
# @!
|
|
34
|
-
#
|
|
35
|
-
# @return [Array<String>, nil]
|
|
36
|
-
optional :supported_document_types, EInvoiceAPI::Internal::Type::ArrayOf[String]
|
|
37
|
-
|
|
38
|
-
# @!method initialize(business_card_valid:, dns_valid:, is_valid:, business_card: nil, supported_document_types: nil)
|
|
39
|
+
# @!method initialize(business_card_valid:, dns_valid:, is_valid:, supported_document_types:, business_card: nil)
|
|
39
40
|
# Response for a Peppol ID validation request.
|
|
40
41
|
#
|
|
41
42
|
# This model represents the validation result of a Peppol ID in the Peppol
|
|
@@ -47,9 +48,9 @@ module EInvoiceAPI
|
|
|
47
48
|
#
|
|
48
49
|
# @param is_valid [Boolean] Whether the Peppol ID is valid and registered in the Peppol network
|
|
49
50
|
#
|
|
50
|
-
# @param
|
|
51
|
+
# @param supported_document_types [Array<String>] List of document types that this Peppol ID supports
|
|
51
52
|
#
|
|
52
|
-
# @param
|
|
53
|
+
# @param business_card [EInvoiceAPI::Models::ValidateValidatePeppolIDResponse::BusinessCard, nil] Business card information for the Peppol ID
|
|
53
54
|
|
|
54
55
|
# @see EInvoiceAPI::Models::ValidateValidatePeppolIDResponse#business_card
|
|
55
56
|
class BusinessCard < EInvoiceAPI::Internal::Type::BaseModel
|
|
@@ -23,6 +23,10 @@ module EInvoiceAPI
|
|
|
23
23
|
sig { returns(T::Boolean) }
|
|
24
24
|
attr_accessor :is_valid
|
|
25
25
|
|
|
26
|
+
# List of document types that this Peppol ID supports
|
|
27
|
+
sig { returns(T::Array[String]) }
|
|
28
|
+
attr_accessor :supported_document_types
|
|
29
|
+
|
|
26
30
|
# Business card information for the Peppol ID
|
|
27
31
|
sig do
|
|
28
32
|
returns(
|
|
@@ -43,12 +47,6 @@ module EInvoiceAPI
|
|
|
43
47
|
end
|
|
44
48
|
attr_writer :business_card
|
|
45
49
|
|
|
46
|
-
sig { returns(T.nilable(T::Array[String])) }
|
|
47
|
-
attr_reader :supported_document_types
|
|
48
|
-
|
|
49
|
-
sig { params(supported_document_types: T::Array[String]).void }
|
|
50
|
-
attr_writer :supported_document_types
|
|
51
|
-
|
|
52
50
|
# Response for a Peppol ID validation request.
|
|
53
51
|
#
|
|
54
52
|
# This model represents the validation result of a Peppol ID in the Peppol
|
|
@@ -58,11 +56,11 @@ module EInvoiceAPI
|
|
|
58
56
|
business_card_valid: T::Boolean,
|
|
59
57
|
dns_valid: T::Boolean,
|
|
60
58
|
is_valid: T::Boolean,
|
|
59
|
+
supported_document_types: T::Array[String],
|
|
61
60
|
business_card:
|
|
62
61
|
T.nilable(
|
|
63
62
|
EInvoiceAPI::Models::ValidateValidatePeppolIDResponse::BusinessCard::OrHash
|
|
64
|
-
)
|
|
65
|
-
supported_document_types: T::Array[String]
|
|
63
|
+
)
|
|
66
64
|
).returns(T.attached_class)
|
|
67
65
|
end
|
|
68
66
|
def self.new(
|
|
@@ -72,9 +70,10 @@ module EInvoiceAPI
|
|
|
72
70
|
dns_valid:,
|
|
73
71
|
# Whether the Peppol ID is valid and registered in the Peppol network
|
|
74
72
|
is_valid:,
|
|
73
|
+
# List of document types that this Peppol ID supports
|
|
74
|
+
supported_document_types:,
|
|
75
75
|
# Business card information for the Peppol ID
|
|
76
|
-
business_card: nil
|
|
77
|
-
supported_document_types: nil
|
|
76
|
+
business_card: nil
|
|
78
77
|
)
|
|
79
78
|
end
|
|
80
79
|
|
|
@@ -84,11 +83,11 @@ module EInvoiceAPI
|
|
|
84
83
|
business_card_valid: T::Boolean,
|
|
85
84
|
dns_valid: T::Boolean,
|
|
86
85
|
is_valid: T::Boolean,
|
|
86
|
+
supported_document_types: T::Array[String],
|
|
87
87
|
business_card:
|
|
88
88
|
T.nilable(
|
|
89
89
|
EInvoiceAPI::Models::ValidateValidatePeppolIDResponse::BusinessCard
|
|
90
|
-
)
|
|
91
|
-
supported_document_types: T::Array[String]
|
|
90
|
+
)
|
|
92
91
|
}
|
|
93
92
|
)
|
|
94
93
|
end
|
|
@@ -5,8 +5,8 @@ module EInvoiceAPI
|
|
|
5
5
|
business_card_valid: bool,
|
|
6
6
|
dns_valid: bool,
|
|
7
7
|
is_valid: bool,
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
supported_document_types: ::Array[String],
|
|
9
|
+
business_card: EInvoiceAPI::Models::ValidateValidatePeppolIDResponse::BusinessCard?
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
class ValidateValidatePeppolIDResponse < EInvoiceAPI::Internal::Type::BaseModel
|
|
@@ -16,26 +16,24 @@ module EInvoiceAPI
|
|
|
16
16
|
|
|
17
17
|
attr_accessor is_valid: bool
|
|
18
18
|
|
|
19
|
-
attr_accessor
|
|
20
|
-
|
|
21
|
-
attr_reader supported_document_types: ::Array[String]?
|
|
19
|
+
attr_accessor supported_document_types: ::Array[String]
|
|
22
20
|
|
|
23
|
-
|
|
21
|
+
attr_accessor business_card: EInvoiceAPI::Models::ValidateValidatePeppolIDResponse::BusinessCard?
|
|
24
22
|
|
|
25
23
|
def initialize: (
|
|
26
24
|
business_card_valid: bool,
|
|
27
25
|
dns_valid: bool,
|
|
28
26
|
is_valid: bool,
|
|
29
|
-
|
|
30
|
-
?
|
|
27
|
+
supported_document_types: ::Array[String],
|
|
28
|
+
?business_card: EInvoiceAPI::Models::ValidateValidatePeppolIDResponse::BusinessCard?
|
|
31
29
|
) -> void
|
|
32
30
|
|
|
33
31
|
def to_hash: -> {
|
|
34
32
|
business_card_valid: bool,
|
|
35
33
|
dns_valid: bool,
|
|
36
34
|
is_valid: bool,
|
|
37
|
-
|
|
38
|
-
|
|
35
|
+
supported_document_types: ::Array[String],
|
|
36
|
+
business_card: EInvoiceAPI::Models::ValidateValidatePeppolIDResponse::BusinessCard?
|
|
39
37
|
}
|
|
40
38
|
|
|
41
39
|
type business_card =
|