moov_ruby 0.3.28 → 0.3.30

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: d83338198b2dcfd52129047531536b391c11cffe997cac075a59993459d3a01e
4
- data.tar.gz: 7033b55458276e1fcc0a7a659c7d4c0cb0634983ebe0e8bad65652c48989f6b3
3
+ metadata.gz: b457dff04e764fbce1a9d4f420b86648e706673155a434f304b7050a5788fcb4
4
+ data.tar.gz: 4525715b78324441e21245d8c5e843c932b8393512e4659d29f1211dc4217d8f
5
5
  SHA512:
6
- metadata.gz: 7e4956035afcb7750c9de7768bac690f85935654f2c418b75450a7b1dceb3a2a3d668e07002f1722f6cb5dd5bc08c32381407e226c32cf6b1aa47c86cce20da3
7
- data.tar.gz: abeda0b1eec2a4436910e9e862d99dd098e386fc6dc71c9986c3aeafd1b423734a995cb90b1ff6a3726f59a92f742cdf3ac40230c43f6d3c2c34707e0ad71f1c
6
+ metadata.gz: b87125c1f8a9b643c475653459ab65e7729ba28a6bbb964fc1570ff671de42d05fb7550e621a991ca6dce3fdc5bdd3458e6b5b58cba05779f7b45a907085de4a
7
+ data.tar.gz: 864dc50f26f74a6dd7b167ab029dfa60bffed2314f87ebaf620c2d6ac09fab7ecd5ff3d9e4c5d970b5008a18ba39fdb2f4883b8553de078b57533d0ee8d28629
data/lib/moov/invoices.rb CHANGED
@@ -43,7 +43,7 @@ module Moov
43
43
  def create_invoice(create_invoice:, account_id:, x_moov_version: nil, timeout_ms: nil)
44
44
  # create_invoice - Create an invoice for a Moov account.
45
45
  #
46
- # To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
46
+ # To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
47
47
  # you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
48
48
  request = Models::Operations::CreateInvoiceRequest.new(
49
49
  account_id: account_id,
@@ -207,7 +207,7 @@ module Moov
207
207
  def list_invoices(request:, timeout_ms: nil)
208
208
  # list_invoices - List all the invoices created under a Moov account.
209
209
  #
210
- # To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
210
+ # To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
211
211
  # you'll need to specify the `/accounts/{accountID}/invoices.read` scope.
212
212
  url, params = @sdk_configuration.get_server_details
213
213
  base_url = Utils.template_url(url, params)
@@ -341,7 +341,7 @@ module Moov
341
341
  def get_invoice(account_id:, invoice_id:, x_moov_version: nil, timeout_ms: nil)
342
342
  # get_invoice - Retrieve an invoice by ID.
343
343
  #
344
- # To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
344
+ # To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
345
345
  # you'll need to specify the `/accounts/{accountID}/invoices.read` scope.
346
346
  request = Models::Operations::GetInvoiceRequest.new(
347
347
  account_id: account_id,
@@ -463,7 +463,7 @@ module Moov
463
463
  def update_invoice(update_invoice:, account_id:, invoice_id:, x_moov_version: nil, timeout_ms: nil)
464
464
  # update_invoice - Updates an invoice.
465
465
  #
466
- # To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
466
+ # To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
467
467
  # you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
468
468
  request = Models::Operations::UpdateInvoiceRequest.new(
469
469
  account_id: account_id,
@@ -629,7 +629,7 @@ module Moov
629
629
  # create_invoice_payment - Creates a payment resource to represent that an invoice was paid outside of the Moov platform.
630
630
  # If a payment link was created for the invoice, the corresponding payment link is canceled, but a receipt is still sent.
631
631
  #
632
- # To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
632
+ # To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
633
633
  # you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
634
634
  request = Models::Operations::CreateInvoicePaymentRequest.new(
635
635
  account_id: account_id,
@@ -794,7 +794,7 @@ module Moov
794
794
  def list_invoice_payments(account_id:, invoice_id:, x_moov_version: nil, timeout_ms: nil)
795
795
  # list_invoice_payments - List all the payments made towards an invoice.
796
796
  #
797
- # To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
797
+ # To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
798
798
  # you'll need to specify the `/accounts/{accountID}/invoices.read` scope.
799
799
  request = Models::Operations::ListInvoicePaymentsRequest.new(
800
800
  account_id: account_id,
@@ -17,16 +17,28 @@ module Moov
17
17
 
18
18
  field :customer_account_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('customerAccountID') } }
19
19
 
20
+ field :created_start_date_time, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('createdStartDateTime') } }
21
+
22
+ field :created_end_date_time, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('createdEndDateTime') } }
23
+
24
+ field :due_start_date_time, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('dueStartDateTime') } }
25
+
26
+ field :due_end_date_time, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('dueEndDateTime') } }
27
+
20
28
  field :skip, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('skip') } }
21
29
 
22
30
  field :count, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('count') } }
23
31
  # Raw HTTP response; suitable for custom response parsing
24
32
  field :raw_response, Crystalline::Nilable.new(::Faraday::Response), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('-') } }
25
33
 
26
- sig { params(status: T.nilable(::String), customer_account_id: T.nilable(::String), skip: T.nilable(::String), count: T.nilable(::String), raw_response: T.nilable(::Faraday::Response)).void }
27
- def initialize(status: nil, customer_account_id: nil, skip: nil, count: nil, raw_response: nil)
34
+ sig { params(status: T.nilable(::String), customer_account_id: T.nilable(::String), created_start_date_time: T.nilable(::String), created_end_date_time: T.nilable(::String), due_start_date_time: T.nilable(::String), due_end_date_time: T.nilable(::String), skip: T.nilable(::String), count: T.nilable(::String), raw_response: T.nilable(::Faraday::Response)).void }
35
+ def initialize(status: nil, customer_account_id: nil, created_start_date_time: nil, created_end_date_time: nil, due_start_date_time: nil, due_end_date_time: nil, skip: nil, count: nil, raw_response: nil)
28
36
  @status = status
29
37
  @customer_account_id = customer_account_id
38
+ @created_start_date_time = created_start_date_time
39
+ @created_end_date_time = created_end_date_time
40
+ @due_start_date_time = due_start_date_time
41
+ @due_end_date_time = due_end_date_time
30
42
  @skip = skip
31
43
  @count = count
32
44
  @raw_response = raw_response
@@ -37,6 +49,10 @@ module Moov
37
49
  return false unless other.is_a? self.class
38
50
  return false unless @status == other.status
39
51
  return false unless @customer_account_id == other.customer_account_id
52
+ return false unless @created_start_date_time == other.created_start_date_time
53
+ return false unless @created_end_date_time == other.created_end_date_time
54
+ return false unless @due_start_date_time == other.due_start_date_time
55
+ return false unless @due_end_date_time == other.due_end_date_time
40
56
  return false unless @skip == other.skip
41
57
  return false unless @count == other.count
42
58
  return false unless @raw_response == other.raw_response
@@ -12,6 +12,14 @@ class Moov::Models::Errors::ListInvoicesValidationError
12
12
  def status=(str_); end
13
13
  def customer_account_id(); end
14
14
  def customer_account_id=(str_); end
15
+ def created_start_date_time(); end
16
+ def created_start_date_time=(str_); end
17
+ def created_end_date_time(); end
18
+ def created_end_date_time=(str_); end
19
+ def due_start_date_time(); end
20
+ def due_start_date_time=(str_); end
21
+ def due_end_date_time(); end
22
+ def due_end_date_time=(str_); end
15
23
  def skip(); end
16
24
  def skip=(str_); end
17
25
  def count(); end
@@ -34,14 +34,26 @@ module Moov
34
34
 
35
35
  field :customer_account_id, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'customerAccountID', 'style': 'form', 'explode': false } }
36
36
 
37
- sig { params(account_id: ::String, x_moov_version: T.nilable(::String), skip: T.nilable(::Integer), count: T.nilable(::Integer), status: T.nilable(Models::Components::InvoiceStatus), customer_account_id: T.nilable(::String)).void }
38
- def initialize(account_id:, x_moov_version: nil, skip: nil, count: nil, status: nil, customer_account_id: nil)
37
+ field :created_start_date_time, Crystalline::Nilable.new(::DateTime), { 'query_param': { 'field_name': 'createdStartDateTime', 'style': 'form', 'explode': false } }
38
+
39
+ field :created_end_date_time, Crystalline::Nilable.new(::DateTime), { 'query_param': { 'field_name': 'createdEndDateTime', 'style': 'form', 'explode': false } }
40
+
41
+ field :due_start_date_time, Crystalline::Nilable.new(::DateTime), { 'query_param': { 'field_name': 'dueStartDateTime', 'style': 'form', 'explode': false } }
42
+
43
+ field :due_end_date_time, Crystalline::Nilable.new(::DateTime), { 'query_param': { 'field_name': 'dueEndDateTime', 'style': 'form', 'explode': false } }
44
+
45
+ sig { params(account_id: ::String, x_moov_version: T.nilable(::String), skip: T.nilable(::Integer), count: T.nilable(::Integer), status: T.nilable(Models::Components::InvoiceStatus), customer_account_id: T.nilable(::String), created_start_date_time: T.nilable(::DateTime), created_end_date_time: T.nilable(::DateTime), due_start_date_time: T.nilable(::DateTime), due_end_date_time: T.nilable(::DateTime)).void }
46
+ def initialize(account_id:, x_moov_version: nil, skip: nil, count: nil, status: nil, customer_account_id: nil, created_start_date_time: nil, created_end_date_time: nil, due_start_date_time: nil, due_end_date_time: nil)
39
47
  @account_id = account_id
40
48
  @x_moov_version = x_moov_version
41
49
  @skip = skip
42
50
  @count = count
43
51
  @status = status
44
52
  @customer_account_id = customer_account_id
53
+ @created_start_date_time = created_start_date_time
54
+ @created_end_date_time = created_end_date_time
55
+ @due_start_date_time = due_start_date_time
56
+ @due_end_date_time = due_end_date_time
45
57
  end
46
58
 
47
59
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -53,6 +65,10 @@ module Moov
53
65
  return false unless @count == other.count
54
66
  return false unless @status == other.status
55
67
  return false unless @customer_account_id == other.customer_account_id
68
+ return false unless @created_start_date_time == other.created_start_date_time
69
+ return false unless @created_end_date_time == other.created_end_date_time
70
+ return false unless @due_start_date_time == other.due_start_date_time
71
+ return false unless @due_end_date_time == other.due_end_date_time
56
72
  true
57
73
  end
58
74
  end
@@ -20,4 +20,12 @@ class Moov::Models::Operations::ListInvoicesRequest
20
20
  def status=(str_); end
21
21
  def customer_account_id(); end
22
22
  def customer_account_id=(str_); end
23
+ def created_start_date_time(); end
24
+ def created_start_date_time=(str_); end
25
+ def created_end_date_time(); end
26
+ def created_end_date_time=(str_); end
27
+ def due_start_date_time(); end
28
+ def due_start_date_time=(str_); end
29
+ def due_end_date_time(); end
30
+ def due_end_date_time=(str_); end
23
31
  end
@@ -95,9 +95,9 @@ module Moov
95
95
  @globals = globals.nil? ? {} : globals
96
96
  @language = 'ruby'
97
97
  @openapi_doc_version = 'latest'
98
- @sdk_version = '0.3.28'
99
- @gen_version = '2.797.1'
100
- @user_agent = 'speakeasy-sdk/ruby 0.3.28 2.797.1 latest moov_ruby'
98
+ @sdk_version = '0.3.30'
99
+ @gen_version = '2.799.0'
100
+ @user_agent = 'speakeasy-sdk/ruby 0.3.30 2.799.0 latest moov_ruby'
101
101
  end
102
102
 
103
103
  sig { returns([String, T::Hash[Symbol, String]]) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moov_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.28
4
+ version: 0.3.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - Speakeasy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-01-21 00:00:00.000000000 Z
11
+ date: 2026-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64