e-invoice-api 0.3.0 → 0.5.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.
@@ -3,7 +3,8 @@
3
3
  module EInvoiceAPI
4
4
  module Resources
5
5
  class Inbox
6
- # Retrieve a paginated list of received documents with filtering options.
6
+ # Retrieve a paginated list of received documents with filtering options including
7
+ # state, type, sender, date range, and text search.
7
8
  sig do
8
9
  params(
9
10
  date_from: T.nilable(Time),
@@ -24,7 +24,8 @@ module EInvoiceAPI
24
24
  )
25
25
  end
26
26
 
27
- # Retrieve a paginated list of received documents with filtering options.
27
+ # Retrieve a paginated list of sent documents with filtering options including
28
+ # state, type, sender, date range, and text search.
28
29
  sig do
29
30
  params(
30
31
  date_from: T.nilable(Time),
@@ -21,11 +21,14 @@ module EInvoiceAPI
21
21
 
22
22
  attr_accessor status: Integer?
23
23
 
24
+ attr_accessor headers: ::Hash[String, String]?
25
+
24
26
  attr_accessor body: top?
25
27
 
26
28
  def initialize: (
27
29
  url: URI::Generic,
28
30
  ?status: Integer?,
31
+ ?headers: ::Hash[String, String]?,
29
32
  ?body: Object?,
30
33
  ?request: nil,
31
34
  ?response: nil,
@@ -37,6 +40,7 @@ module EInvoiceAPI
37
40
  def initialize: (
38
41
  url: URI::Generic,
39
42
  ?status: nil,
43
+ ?headers: ::Hash[String, String]?,
40
44
  ?body: nil,
41
45
  ?request: nil,
42
46
  ?response: nil,
@@ -48,6 +52,7 @@ module EInvoiceAPI
48
52
  def initialize: (
49
53
  url: URI::Generic,
50
54
  ?status: nil,
55
+ ?headers: ::Hash[String, String]?,
51
56
  ?body: nil,
52
57
  ?request: nil,
53
58
  ?response: nil,
@@ -59,6 +64,7 @@ module EInvoiceAPI
59
64
  def self.for: (
60
65
  url: URI::Generic,
61
66
  status: Integer,
67
+ headers: ::Hash[String, String]?,
62
68
  body: Object?,
63
69
  request: nil,
64
70
  response: nil,
@@ -68,6 +74,7 @@ module EInvoiceAPI
68
74
  def initialize: (
69
75
  url: URI::Generic,
70
76
  status: Integer,
77
+ headers: ::Hash[String, String]?,
71
78
  body: Object?,
72
79
  request: nil,
73
80
  response: nil,