moov_ruby 26.7.6 → 26.7.7

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: fbdc3bfeeaa1eeacfe4697a3d039bdc2c3ea8b32bbbdae9503f7b8bd9095943b
4
- data.tar.gz: fa96bc77d5f0ded970566ed8815755ce996eacbc81fafb18d6a51ece39c45901
3
+ metadata.gz: 4fb28a2fd539bca96c2002a5cf4df5b35f6a6c01993cffa4a37d74759bcc0dd1
4
+ data.tar.gz: 7df6a2a14f578b4a83c170ffe0e6381fb25bea584359d94f0b5c895cb7d8c130
5
5
  SHA512:
6
- metadata.gz: 9c37cf4b253bb6251578dd52ea3f3285d283a2703ea39cd4717af853200d4851919a81eeb4d058455cbe5dad4fd5151aa3a2552f8fb4a282be946ee5aa326487
7
- data.tar.gz: 29fc5925c23635f28225d1069dde0cea188e697f4bdb9207d321665ab1bde882ebdfe01621941c302f55e03118855f2c55ab610ca9731c907a3d124e47aa9177
6
+ metadata.gz: 518fb908dd3eccf2d837a99b8cd58323e4709c8fef827c87994967a6ec11f9c10f3bb399167b9624a8480d723caa5fb0d2dc0c119a4bc9497ec9c55093d74bcd
7
+ data.tar.gz: 26eb8d589372d8ca20a57d113562ccc6cc4a9d58ae3426aa56c2d3ec0196fd939f1b7ba2530658c25261e5e2cbb0ef480d62d2dc485cf8ffdf1a7db5afb2197f
@@ -68,7 +68,8 @@ module Moov
68
68
  # An optional collection of line items for a transfer.
69
69
  # When line items are provided, their total plus tax must equal the transfer amount.
70
70
  field :line_items, Crystalline::Nilable.new(Models::Components::TransferLineItems), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems') } }
71
-
71
+ # The tip, tax, and surcharge portion of the transfer amount.
72
+ # For an auth-capture `card-payment` transfer, this is the aggregate of all captures' `amountDetails`.
72
73
  field :amount_details, Crystalline::Nilable.new(Models::Components::TransferAmountDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amountDetails') } }
73
74
  # The card authorization and capture IDs associated with a transfer.
74
75
  field :capture, Crystalline::Nilable.new(Models::Components::TransferCapture), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('capture') } }
@@ -16,6 +16,8 @@ module Moov
16
16
  field :customer_account_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('customerAccountID'), required: true } }
17
17
  # A collection of line items for an invoice.
18
18
  field :line_items, Models::Components::CreateInvoiceLineItems, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems'), required: true } }
19
+ # Email address to use for invoice checkout OTP verification instead of the customer account email.
20
+ field :customer_email, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('customerEmail') } }
19
21
 
20
22
  field :description, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('description') } }
21
23
 
@@ -25,10 +27,11 @@ module Moov
25
27
 
26
28
  field :amount_details, Crystalline::Nilable.new(Models::Components::AmountDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amountDetails') } }
27
29
 
28
- sig { params(customer_account_id: ::String, line_items: Models::Components::CreateInvoiceLineItems, description: T.nilable(::String), invoice_date: T.nilable(::DateTime), due_date: T.nilable(::DateTime), amount_details: T.nilable(Models::Components::AmountDetails)).void }
29
- def initialize(customer_account_id:, line_items:, description: nil, invoice_date: nil, due_date: nil, amount_details: nil)
30
+ sig { params(customer_account_id: ::String, line_items: Models::Components::CreateInvoiceLineItems, customer_email: T.nilable(::String), description: T.nilable(::String), invoice_date: T.nilable(::DateTime), due_date: T.nilable(::DateTime), amount_details: T.nilable(Models::Components::AmountDetails)).void }
31
+ def initialize(customer_account_id:, line_items:, customer_email: nil, description: nil, invoice_date: nil, due_date: nil, amount_details: nil)
30
32
  @customer_account_id = customer_account_id
31
33
  @line_items = line_items
34
+ @customer_email = customer_email
32
35
  @description = description
33
36
  @invoice_date = invoice_date
34
37
  @due_date = due_date
@@ -40,6 +43,7 @@ module Moov
40
43
  return false unless other.is_a? self.class
41
44
  return false unless @customer_account_id == other.customer_account_id
42
45
  return false unless @line_items == other.line_items
46
+ return false unless @customer_email == other.customer_email
43
47
  return false unless @description == other.description
44
48
  return false unless @invoice_date == other.invoice_date
45
49
  return false unless @due_date == other.due_date
@@ -12,6 +12,8 @@ class Moov::Models::Components::CreateInvoice
12
12
  def customer_account_id=(str_); end
13
13
  def line_items(); end
14
14
  def line_items=(str_); end
15
+ def customer_email(); end
16
+ def customer_email=(str_); end
15
17
  def description(); end
16
18
  def description=(str_); end
17
19
  def invoice_date(); end
@@ -72,7 +72,8 @@ module Moov
72
72
  field :line_items, Crystalline::Nilable.new(Models::Components::TransferLineItems), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems') } }
73
73
  # ID of the invoice that the transfer is associated with.
74
74
  field :invoice_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('invoiceID') } }
75
-
75
+ # The tip, tax, and surcharge portion of the transfer amount.
76
+ # For an auth-capture `card-payment` transfer, this is the aggregate of all captures' `amountDetails`.
76
77
  field :amount_details, Crystalline::Nilable.new(Models::Components::TransferAmountDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amountDetails') } }
77
78
  # The card authorization and capture IDs associated with a transfer.
78
79
  field :capture, Crystalline::Nilable.new(Models::Components::TransferCapture), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('capture') } }
@@ -26,6 +26,7 @@ module Moov
26
26
  SOURCE_SETTLED = new('source.settled')
27
27
  SOURCE_FAILED = new('source.failed')
28
28
  SOURCE_CANCELED = new('source.canceled')
29
+ SOURCE_CLEARED_EXTERNALLY = new('source.cleared-externally')
29
30
  DESTINATION_COMPLETED = new('destination.completed')
30
31
  DESTINATION_CORRECTED = new('destination.corrected')
31
32
  DESTINATION_INITIATED = new('destination.initiated')
@@ -15,6 +15,8 @@ module Moov
15
15
 
16
16
  field :customer_account_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('customerAccountID') } }
17
17
 
18
+ field :customer_email, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('customerEmail') } }
19
+
18
20
  field :description, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('description') } }
19
21
 
20
22
  field :line_items, Crystalline::Nilable.new(Models::Components::CreateInvoiceLineItemsValidationError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems') } }
@@ -27,9 +29,10 @@ module Moov
27
29
  # Raw HTTP response; suitable for custom response parsing
28
30
  field :raw_response, Crystalline::Nilable.new(::Faraday::Response), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('-') } }
29
31
 
30
- sig { params(customer_account_id: T.nilable(::String), description: T.nilable(::String), line_items: T.nilable(Models::Components::CreateInvoiceLineItemsValidationError), invoice_date: T.nilable(::String), due_date: T.nilable(::String), amount_details: T.nilable(Models::Components::AmountDetailsValidationError), raw_response: T.nilable(::Faraday::Response)).void }
31
- def initialize(customer_account_id: nil, description: nil, line_items: nil, invoice_date: nil, due_date: nil, amount_details: nil, raw_response: nil)
32
+ sig { params(customer_account_id: T.nilable(::String), customer_email: T.nilable(::String), description: T.nilable(::String), line_items: T.nilable(Models::Components::CreateInvoiceLineItemsValidationError), invoice_date: T.nilable(::String), due_date: T.nilable(::String), amount_details: T.nilable(Models::Components::AmountDetailsValidationError), raw_response: T.nilable(::Faraday::Response)).void }
33
+ def initialize(customer_account_id: nil, customer_email: nil, description: nil, line_items: nil, invoice_date: nil, due_date: nil, amount_details: nil, raw_response: nil)
32
34
  @customer_account_id = customer_account_id
35
+ @customer_email = customer_email
33
36
  @description = description
34
37
  @line_items = line_items
35
38
  @invoice_date = invoice_date
@@ -42,6 +45,7 @@ module Moov
42
45
  def ==(other)
43
46
  return false unless other.is_a? self.class
44
47
  return false unless @customer_account_id == other.customer_account_id
48
+ return false unless @customer_email == other.customer_email
45
49
  return false unless @description == other.description
46
50
  return false unless @line_items == other.line_items
47
51
  return false unless @invoice_date == other.invoice_date
@@ -10,6 +10,8 @@ end
10
10
  class Moov::Models::Errors::CreateInvoiceError
11
11
  def customer_account_id(); end
12
12
  def customer_account_id=(str_); end
13
+ def customer_email(); end
14
+ def customer_email=(str_); end
13
15
  def description(); end
14
16
  def description=(str_); end
15
17
  def line_items(); end
@@ -72,7 +72,8 @@ module Moov
72
72
  field :line_items, Crystalline::Nilable.new(Models::Components::TransferLineItems), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems') } }
73
73
  # ID of the invoice that the transfer is associated with.
74
74
  field :invoice_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('invoiceID') } }
75
-
75
+ # The tip, tax, and surcharge portion of the transfer amount.
76
+ # For an auth-capture `card-payment` transfer, this is the aggregate of all captures' `amountDetails`.
76
77
  field :amount_details, Crystalline::Nilable.new(Models::Components::TransferAmountDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amountDetails') } }
77
78
  # The card authorization and capture IDs associated with a transfer.
78
79
  field :capture, Crystalline::Nilable.new(Models::Components::TransferCapture), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('capture') } }
@@ -36,6 +36,8 @@ module Moov
36
36
  field :foreign_id, Crystalline::Nilable.new(::String), { 'query_param': { 'field_name': 'foreignID', 'style': 'form', 'explode': false } }
37
37
  # Optional comma-separated authorization IDs.
38
38
  field :authorization_i_ds, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'query_param': { 'field_name': 'authorizationIDs', 'style': 'form', 'explode': false } }
39
+ # Optional comma-separated invoice IDs.
40
+ field :invoice_i_ds, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'query_param': { 'field_name': 'invoiceIDs', 'style': 'form', 'explode': false } }
39
41
  # Optional comma-separated IDs to filter for transfers associated with specific card captures.
40
42
  field :capture_i_ds, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'query_param': { 'field_name': 'captureIDs', 'style': 'form', 'explode': false } }
41
43
 
@@ -43,8 +45,8 @@ module Moov
43
45
  # Page size. When omitted, the server defaults to `200`.
44
46
  field :count, Crystalline::Nilable.new(::Integer), { 'query_param': { 'field_name': 'count', 'style': 'form', 'explode': false } }
45
47
 
46
- sig { params(account_id: ::String, account_i_ds: T.nilable(T::Array[::String]), status: T.nilable(Models::Components::TransferStatus), start_date_time: T.nilable(::DateTime), end_date_time: T.nilable(::DateTime), group_id: T.nilable(::String), schedule_id: T.nilable(::String), payment_link_code: T.nilable(::String), refunded: T.nilable(T::Boolean), disputed: T.nilable(T::Boolean), foreign_id: T.nilable(::String), authorization_i_ds: T.nilable(T::Array[::String]), capture_i_ds: T.nilable(T::Array[::String]), skip: T.nilable(::Integer), count: T.nilable(::Integer)).void }
47
- def initialize(account_id:, account_i_ds: nil, status: nil, start_date_time: nil, end_date_time: nil, group_id: nil, schedule_id: nil, payment_link_code: nil, refunded: nil, disputed: nil, foreign_id: nil, authorization_i_ds: nil, capture_i_ds: nil, skip: nil, count: nil)
48
+ sig { params(account_id: ::String, account_i_ds: T.nilable(T::Array[::String]), status: T.nilable(Models::Components::TransferStatus), start_date_time: T.nilable(::DateTime), end_date_time: T.nilable(::DateTime), group_id: T.nilable(::String), schedule_id: T.nilable(::String), payment_link_code: T.nilable(::String), refunded: T.nilable(T::Boolean), disputed: T.nilable(T::Boolean), foreign_id: T.nilable(::String), authorization_i_ds: T.nilable(T::Array[::String]), invoice_i_ds: T.nilable(T::Array[::String]), capture_i_ds: T.nilable(T::Array[::String]), skip: T.nilable(::Integer), count: T.nilable(::Integer)).void }
49
+ def initialize(account_id:, account_i_ds: nil, status: nil, start_date_time: nil, end_date_time: nil, group_id: nil, schedule_id: nil, payment_link_code: nil, refunded: nil, disputed: nil, foreign_id: nil, authorization_i_ds: nil, invoice_i_ds: nil, capture_i_ds: nil, skip: nil, count: nil)
48
50
  @account_id = account_id
49
51
  @account_i_ds = account_i_ds
50
52
  @status = status
@@ -57,6 +59,7 @@ module Moov
57
59
  @disputed = disputed
58
60
  @foreign_id = foreign_id
59
61
  @authorization_i_ds = authorization_i_ds
62
+ @invoice_i_ds = invoice_i_ds
60
63
  @capture_i_ds = capture_i_ds
61
64
  @skip = skip
62
65
  @count = count
@@ -77,6 +80,7 @@ module Moov
77
80
  return false unless @disputed == other.disputed
78
81
  return false unless @foreign_id == other.foreign_id
79
82
  return false unless @authorization_i_ds == other.authorization_i_ds
83
+ return false unless @invoice_i_ds == other.invoice_i_ds
80
84
  return false unless @capture_i_ds == other.capture_i_ds
81
85
  return false unless @skip == other.skip
82
86
  return false unless @count == other.count
@@ -32,6 +32,8 @@ class Moov::Models::Operations::ListTransfersRequest
32
32
  def foreign_id=(str_); end
33
33
  def authorization_i_ds(); end
34
34
  def authorization_i_ds=(str_); end
35
+ def invoice_i_ds(); end
36
+ def invoice_i_ds=(str_); end
35
37
  def capture_i_ds(); end
36
38
  def capture_i_ds=(str_); end
37
39
  def skip(); end
@@ -88,9 +88,9 @@ module Moov
88
88
  end
89
89
  @language = 'ruby'
90
90
  @openapi_doc_version = 'v2026.07.00'
91
- @sdk_version = '26.7.6'
92
- @gen_version = '2.938.0'
93
- @user_agent = 'speakeasy-sdk/ruby 26.7.6 2.938.0 v2026.07.00 moov_ruby'
91
+ @sdk_version = '26.7.7'
92
+ @gen_version = '2.943.0'
93
+ @user_agent = 'speakeasy-sdk/ruby 26.7.7 2.943.0 v2026.07.00 moov_ruby'
94
94
  end
95
95
 
96
96
  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: 26.7.6
4
+ version: 26.7.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Speakeasy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-09-18 00:00:00.000000000 Z
11
+ date: 2026-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64