moov_ruby 0.0.0.pre.dev.18 → 0.0.0.pre.dev.20

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: b0efbaf66299b6fa937277a3f9d29a35e9cb9b1407f261264abf07a94527c4b1
4
- data.tar.gz: eb6bbf6263bccb4fcba55986a15c51ba0b75957ab83e65f4a69ce4a29921481d
3
+ metadata.gz: 58371b7b62169f652478824c6ca542d871df0ec00b21a2f7336535cc6b3ce777
4
+ data.tar.gz: f18c80db9cf1683fab883dbd722ace16dcf687a1ca435dbc26a2f01657110b19
5
5
  SHA512:
6
- metadata.gz: 031b632d5ccc3a7c5de86bc521a3f5ea0418d974e0e2576c11c329449b9151a49e51f2e7b7b6bd1a76e526cb3357710a4cb0cf39576784c1d1f4692bb74af9ff
7
- data.tar.gz: 1606c6fd419cbc8b04066ab02c257ed1246d8cda1b2a62fa77582980ff580b5e5ed0fc831f7e6fd3fa4079cc44b2160fd1d5db6c218fd94b0f4a1fd03665d2f6
6
+ metadata.gz: 2f2d72d09ca22e82c0650b396f0d457e76bf0456a66d7d1103cd6d77323efeb246a30cb6fab74826bb7ba37358221e7f62b5796c7b0925b42960e165e463a186
7
+ data.tar.gz: 7d61019e3b815e49bf743caf501b1df6d373a442e684b7e72ce1becaf84a47a9e0e7c8f354c07fd0b391ba245af80e1cba8b39fa8ce77a464dcaf7966cea8483
@@ -0,0 +1,36 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module Moov
8
+ module Models
9
+ module Components
10
+
11
+ class AmountDetails
12
+ extend T::Sig
13
+ include Crystalline::MetadataFields
14
+
15
+ # The amount of tax applied to the invoice.
16
+ field :tax, Crystalline::Nilable.new(Models::Components::AmountDecimal), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('tax') } }
17
+ # The amount of surcharge applied to the invoice.
18
+ field :surcharge, Crystalline::Nilable.new(Models::Components::AmountDecimal), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('surcharge') } }
19
+
20
+ sig { params(tax: T.nilable(Models::Components::AmountDecimal), surcharge: T.nilable(Models::Components::AmountDecimal)).void }
21
+ def initialize(tax: nil, surcharge: nil)
22
+ @tax = tax
23
+ @surcharge = surcharge
24
+ end
25
+
26
+ sig { params(other: T.untyped).returns(T::Boolean) }
27
+ def ==(other)
28
+ return false unless other.is_a? self.class
29
+ return false unless @tax == other.tax
30
+ return false unless @surcharge == other.surcharge
31
+ true
32
+ end
33
+ end
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,15 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class Moov::Models::Components::AmountDetails
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Components::AmountDetails
11
+ def tax(); end
12
+ def tax=(str_); end
13
+ def surcharge(); end
14
+ def surcharge=(str_); end
15
+ end
@@ -0,0 +1,36 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module Moov
8
+ module Models
9
+ module Components
10
+
11
+ class AmountDetailsUpdate
12
+ extend T::Sig
13
+ include Crystalline::MetadataFields
14
+
15
+ # The amount of tax applied to the invoice.
16
+ field :tax, Crystalline::Nilable.new(Models::Components::AmountDecimalUpdate), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('tax') } }
17
+ # The amount of surcharge applied to the invoice.
18
+ field :surcharge, Crystalline::Nilable.new(Models::Components::AmountDecimalUpdate), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('surcharge') } }
19
+
20
+ sig { params(tax: T.nilable(Models::Components::AmountDecimalUpdate), surcharge: T.nilable(Models::Components::AmountDecimalUpdate)).void }
21
+ def initialize(tax: nil, surcharge: nil)
22
+ @tax = tax
23
+ @surcharge = surcharge
24
+ end
25
+
26
+ sig { params(other: T.untyped).returns(T::Boolean) }
27
+ def ==(other)
28
+ return false unless other.is_a? self.class
29
+ return false unless @tax == other.tax
30
+ return false unless @surcharge == other.surcharge
31
+ true
32
+ end
33
+ end
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,15 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class Moov::Models::Components::AmountDetailsUpdate
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Components::AmountDetailsUpdate
11
+ def tax(); end
12
+ def tax=(str_); end
13
+ def surcharge(); end
14
+ def surcharge=(str_); end
15
+ end
@@ -0,0 +1,36 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module Moov
8
+ module Models
9
+ module Components
10
+
11
+ class AmountDetailsValidationError
12
+ extend T::Sig
13
+ include Crystalline::MetadataFields
14
+
15
+
16
+ field :tax, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('tax') } }
17
+
18
+ field :surcharge, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('surcharge') } }
19
+
20
+ sig { params(tax: T.nilable(::String), surcharge: T.nilable(::String)).void }
21
+ def initialize(tax: nil, surcharge: nil)
22
+ @tax = tax
23
+ @surcharge = surcharge
24
+ end
25
+
26
+ sig { params(other: T.untyped).returns(T::Boolean) }
27
+ def ==(other)
28
+ return false unless other.is_a? self.class
29
+ return false unless @tax == other.tax
30
+ return false unless @surcharge == other.surcharge
31
+ true
32
+ end
33
+ end
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,15 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class Moov::Models::Components::AmountDetailsValidationError
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Components::AmountDetailsValidationError
11
+ def tax(); end
12
+ def tax=(str_); end
13
+ def surcharge(); end
14
+ def surcharge=(str_); end
15
+ end
@@ -23,16 +23,16 @@ module Moov
23
23
 
24
24
  field :due_date, Crystalline::Nilable.new(::DateTime), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('dueDate'), 'decoder': ::Moov::Utils.datetime_from_iso_format(true) } }
25
25
 
26
- field :tax_amount, Crystalline::Nilable.new(Models::Components::AmountDecimal), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('taxAmount') } }
26
+ field :amount_details, Crystalline::Nilable.new(Models::Components::AmountDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amountDetails') } }
27
27
 
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), tax_amount: T.nilable(Models::Components::AmountDecimal)).void }
29
- def initialize(customer_account_id:, line_items:, description: nil, invoice_date: nil, due_date: nil, tax_amount: nil)
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
30
  @customer_account_id = customer_account_id
31
31
  @line_items = line_items
32
32
  @description = description
33
33
  @invoice_date = invoice_date
34
34
  @due_date = due_date
35
- @tax_amount = tax_amount
35
+ @amount_details = amount_details
36
36
  end
37
37
 
38
38
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -43,7 +43,7 @@ module Moov
43
43
  return false unless @description == other.description
44
44
  return false unless @invoice_date == other.invoice_date
45
45
  return false unless @due_date == other.due_date
46
- return false unless @tax_amount == other.tax_amount
46
+ return false unless @amount_details == other.amount_details
47
47
  true
48
48
  end
49
49
  end
@@ -18,6 +18,6 @@ class Moov::Models::Components::CreateInvoice
18
18
  def invoice_date=(str_); end
19
19
  def due_date(); end
20
20
  def due_date=(str_); end
21
- def tax_amount(); end
22
- def tax_amount=(str_); end
21
+ def amount_details(); end
22
+ def amount_details=(str_); end
23
23
  end
@@ -30,9 +30,7 @@ module Moov
30
30
  field :line_items, Models::Components::InvoiceLineItems, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems'), required: true } }
31
31
 
32
32
  field :subtotal_amount, Models::Components::AmountDecimal, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('subtotalAmount'), required: true } }
33
-
34
- field :tax_amount, Models::Components::AmountDecimal, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('taxAmount'), required: true } }
35
- # Total amount of the invoice, sum of subTotalAmount and taxAmount
33
+ # Total amount of the invoice, including subtotal, tax, and surcharge amounts.
36
34
  field :total_amount, Models::Components::AmountDecimal, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('totalAmount'), required: true } }
37
35
  # Total amount of pending transfers paid towards the invoice
38
36
  field :pending_amount, Models::Components::AmountDecimal, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('pendingAmount'), required: true } }
@@ -47,6 +45,8 @@ module Moov
47
45
 
48
46
  field :description, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('description') } }
49
47
 
48
+ field :amount_details, Crystalline::Nilable.new(Models::Components::AmountDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amountDetails') } }
49
+
50
50
  field :payment_link_code, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('paymentLinkCode') } }
51
51
  # Payment made towards an invoice, will be either a transfer or an external payment.
52
52
  field :invoice_payments, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::InvoicePayment)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('invoicePayments') } }
@@ -63,8 +63,8 @@ module Moov
63
63
 
64
64
  field :disabled_on, Crystalline::Nilable.new(::DateTime), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('disabledOn'), 'decoder': ::Moov::Utils.datetime_from_iso_format(true) } }
65
65
 
66
- sig { params(invoice_id: ::String, invoice_number: ::String, customer_account_id: ::String, customer_display_name: ::String, customer_email: ::String, partner_account_id: ::String, status: Models::Components::InvoiceStatus, line_items: Models::Components::InvoiceLineItems, subtotal_amount: Models::Components::AmountDecimal, tax_amount: Models::Components::AmountDecimal, total_amount: Models::Components::AmountDecimal, pending_amount: Models::Components::AmountDecimal, paid_amount: Models::Components::AmountDecimal, refunded_amount: Models::Components::AmountDecimal, disputed_amount: Models::Components::AmountDecimal, created_on: ::DateTime, description: T.nilable(::String), payment_link_code: T.nilable(::String), invoice_payments: T.nilable(T::Array[Models::Components::InvoicePayment]), invoice_date: T.nilable(::DateTime), due_date: T.nilable(::DateTime), sent_on: T.nilable(::DateTime), paid_on: T.nilable(::DateTime), canceled_on: T.nilable(::DateTime), disabled_on: T.nilable(::DateTime)).void }
67
- def initialize(invoice_id:, invoice_number:, customer_account_id:, customer_display_name:, customer_email:, partner_account_id:, status:, line_items:, subtotal_amount:, tax_amount:, total_amount:, pending_amount:, paid_amount:, refunded_amount:, disputed_amount:, created_on:, description: nil, payment_link_code: nil, invoice_payments: nil, invoice_date: nil, due_date: nil, sent_on: nil, paid_on: nil, canceled_on: nil, disabled_on: nil)
66
+ sig { params(invoice_id: ::String, invoice_number: ::String, customer_account_id: ::String, customer_display_name: ::String, customer_email: ::String, partner_account_id: ::String, status: Models::Components::InvoiceStatus, line_items: Models::Components::InvoiceLineItems, subtotal_amount: Models::Components::AmountDecimal, total_amount: Models::Components::AmountDecimal, pending_amount: Models::Components::AmountDecimal, paid_amount: Models::Components::AmountDecimal, refunded_amount: Models::Components::AmountDecimal, disputed_amount: Models::Components::AmountDecimal, created_on: ::DateTime, description: T.nilable(::String), amount_details: T.nilable(Models::Components::AmountDetails), payment_link_code: T.nilable(::String), invoice_payments: T.nilable(T::Array[Models::Components::InvoicePayment]), invoice_date: T.nilable(::DateTime), due_date: T.nilable(::DateTime), sent_on: T.nilable(::DateTime), paid_on: T.nilable(::DateTime), canceled_on: T.nilable(::DateTime), disabled_on: T.nilable(::DateTime)).void }
67
+ def initialize(invoice_id:, invoice_number:, customer_account_id:, customer_display_name:, customer_email:, partner_account_id:, status:, line_items:, subtotal_amount:, total_amount:, pending_amount:, paid_amount:, refunded_amount:, disputed_amount:, created_on:, description: nil, amount_details: nil, payment_link_code: nil, invoice_payments: nil, invoice_date: nil, due_date: nil, sent_on: nil, paid_on: nil, canceled_on: nil, disabled_on: nil)
68
68
  @invoice_id = invoice_id
69
69
  @invoice_number = invoice_number
70
70
  @customer_account_id = customer_account_id
@@ -74,7 +74,6 @@ module Moov
74
74
  @status = status
75
75
  @line_items = line_items
76
76
  @subtotal_amount = subtotal_amount
77
- @tax_amount = tax_amount
78
77
  @total_amount = total_amount
79
78
  @pending_amount = pending_amount
80
79
  @paid_amount = paid_amount
@@ -82,6 +81,7 @@ module Moov
82
81
  @disputed_amount = disputed_amount
83
82
  @created_on = created_on
84
83
  @description = description
84
+ @amount_details = amount_details
85
85
  @payment_link_code = payment_link_code
86
86
  @invoice_payments = invoice_payments
87
87
  @invoice_date = invoice_date
@@ -104,7 +104,6 @@ module Moov
104
104
  return false unless @status == other.status
105
105
  return false unless @line_items == other.line_items
106
106
  return false unless @subtotal_amount == other.subtotal_amount
107
- return false unless @tax_amount == other.tax_amount
108
107
  return false unless @total_amount == other.total_amount
109
108
  return false unless @pending_amount == other.pending_amount
110
109
  return false unless @paid_amount == other.paid_amount
@@ -112,6 +111,7 @@ module Moov
112
111
  return false unless @disputed_amount == other.disputed_amount
113
112
  return false unless @created_on == other.created_on
114
113
  return false unless @description == other.description
114
+ return false unless @amount_details == other.amount_details
115
115
  return false unless @payment_link_code == other.payment_link_code
116
116
  return false unless @invoice_payments == other.invoice_payments
117
117
  return false unless @invoice_date == other.invoice_date
@@ -26,8 +26,6 @@ class Moov::Models::Components::Invoice
26
26
  def line_items=(str_); end
27
27
  def subtotal_amount(); end
28
28
  def subtotal_amount=(str_); end
29
- def tax_amount(); end
30
- def tax_amount=(str_); end
31
29
  def total_amount(); end
32
30
  def total_amount=(str_); end
33
31
  def pending_amount(); end
@@ -42,6 +40,8 @@ class Moov::Models::Components::Invoice
42
40
  def created_on=(str_); end
43
41
  def description(); end
44
42
  def description=(str_); end
43
+ def amount_details(); end
44
+ def amount_details=(str_); end
45
45
  def payment_link_code(); end
46
46
  def payment_link_code=(str_); end
47
47
  def invoice_payments(); end
@@ -15,15 +15,19 @@ module Moov
15
15
  # Tip presets when calculating tips for a transfer.
16
16
  field :tip_presets, Crystalline::Nilable.new(Models::Components::TipPresets), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('tipPresets') } }
17
17
 
18
- sig { params(tip_presets: T.nilable(Models::Components::TipPresets)).void }
19
- def initialize(tip_presets: nil)
18
+ field :transfer_controls, Crystalline::Nilable.new(Crystalline::Array.new(Models::Components::TransferControls)), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('transferControls') } }
19
+
20
+ sig { params(tip_presets: T.nilable(Models::Components::TipPresets), transfer_controls: T.nilable(T::Array[Models::Components::TransferControls])).void }
21
+ def initialize(tip_presets: nil, transfer_controls: nil)
20
22
  @tip_presets = tip_presets
23
+ @transfer_controls = transfer_controls
21
24
  end
22
25
 
23
26
  sig { params(other: T.untyped).returns(T::Boolean) }
24
27
  def ==(other)
25
28
  return false unless other.is_a? self.class
26
29
  return false unless @tip_presets == other.tip_presets
30
+ return false unless @transfer_controls == other.transfer_controls
27
31
  true
28
32
  end
29
33
  end
@@ -10,4 +10,6 @@ end
10
10
  class Moov::Models::Components::TransferConfig
11
11
  def tip_presets(); end
12
12
  def tip_presets=(str_); end
13
+ def transfer_controls(); end
14
+ def transfer_controls=(str_); end
13
15
  end
@@ -0,0 +1,48 @@
1
+ # Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
2
+
3
+ # typed: true
4
+ # frozen_string_literal: true
5
+
6
+
7
+ module Moov
8
+ module Models
9
+ module Components
10
+ # Controls for transfers created through a given partner
11
+ class TransferControls
12
+ extend T::Sig
13
+ include Crystalline::MetadataFields
14
+
15
+ # ID of the merchant account.
16
+ field :account_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('accountID'), required: true } }
17
+ # ID of the partner account.
18
+ field :partner_account_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('partnerAccountID'), required: true } }
19
+ # Indicates if the account is configured for debt repayment.
20
+ field :debt_repayment, Crystalline::Boolean.new, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('debtRepayment'), required: true } }
21
+ # Indicates if the account is allowed to set dynamic descriptors on transfers.
22
+ field :allow_dynamic_descriptor, Crystalline::Boolean.new, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('allowDynamicDescriptor'), required: true } }
23
+ # Indicates if the account is allowed to apply surcharges to transfers.
24
+ field :allow_surcharge, Crystalline::Boolean.new, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('allowSurcharge'), required: true } }
25
+
26
+ sig { params(account_id: ::String, partner_account_id: ::String, debt_repayment: T::Boolean, allow_dynamic_descriptor: T::Boolean, allow_surcharge: T::Boolean).void }
27
+ def initialize(account_id:, partner_account_id:, debt_repayment:, allow_dynamic_descriptor:, allow_surcharge:)
28
+ @account_id = account_id
29
+ @partner_account_id = partner_account_id
30
+ @debt_repayment = debt_repayment
31
+ @allow_dynamic_descriptor = allow_dynamic_descriptor
32
+ @allow_surcharge = allow_surcharge
33
+ end
34
+
35
+ sig { params(other: T.untyped).returns(T::Boolean) }
36
+ def ==(other)
37
+ return false unless other.is_a? self.class
38
+ return false unless @account_id == other.account_id
39
+ return false unless @partner_account_id == other.partner_account_id
40
+ return false unless @debt_repayment == other.debt_repayment
41
+ return false unless @allow_dynamic_descriptor == other.allow_dynamic_descriptor
42
+ return false unless @allow_surcharge == other.allow_surcharge
43
+ true
44
+ end
45
+ end
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,21 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+
5
+ class Moov::Models::Components::TransferControls
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Components::TransferControls
11
+ def account_id(); end
12
+ def account_id=(str_); end
13
+ def partner_account_id(); end
14
+ def partner_account_id=(str_); end
15
+ def debt_repayment(); end
16
+ def debt_repayment=(str_); end
17
+ def allow_dynamic_descriptor(); end
18
+ def allow_dynamic_descriptor=(str_); end
19
+ def allow_surcharge(); end
20
+ def allow_surcharge=(str_); end
21
+ end
@@ -16,26 +16,26 @@ module Moov
16
16
  field :description, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('description') } }
17
17
  # A collection of line items for an invoice.
18
18
  field :line_items, Crystalline::Nilable.new(Models::Components::CreateInvoiceLineItemsUpdate), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems') } }
19
- # The status can be updated to one of the following values under specific conditions:
20
- # - `canceled`: Can only be set if the current status is `draft`, `unpaid`, or `overdue`. Canceling an invoice
21
- # indicates the invoice is no longer expected to be paid (e.g., the charge was waived or terms changed).
22
- # Canceled invoices still appear in list results by default and remain part of the invoice history.
23
- # To completely discard an invoice created by mistake, use the delete endpoint instead.
24
- # - `unpaid`: Can only be set if the current status is `draft`. Setting the status to `unpaid` finalizes the invoice and sends an email with a payment link to the customer.
19
+ # The status can be updated to one of the following values under specific conditions:
20
+ # - `canceled`: Can only be set if the current status is `draft`, `unpaid`, or `overdue`. Canceling an invoice
21
+ # indicates the invoice is no longer expected to be paid (e.g., the charge was waived or terms changed).
22
+ # Canceled invoices still appear in list results by default and remain part of the invoice history.
23
+ # To completely discard an invoice created by mistake, use the delete endpoint instead.
24
+ # - `unpaid`: Can only be set if the current status is `draft`. Setting the status to `unpaid` finalizes the invoice and sends an email with a payment link to the customer.
25
25
  field :status, Crystalline::Nilable.new(Models::Components::InvoiceStatus), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('status'), 'decoder': ::Moov::Utils.enum_from_string(Models::Components::InvoiceStatus, true) } }
26
26
 
27
- field :tax_amount, Crystalline::Nilable.new(Models::Components::AmountDecimalUpdate), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('taxAmount') } }
27
+ field :amount_details, Crystalline::Nilable.new(Models::Components::AmountDetailsUpdate), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amountDetails') } }
28
28
 
29
29
  field :invoice_date, Crystalline::Nilable.new(::DateTime), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('invoiceDate'), 'decoder': ::Moov::Utils.datetime_from_iso_format(true) } }
30
30
 
31
31
  field :due_date, Crystalline::Nilable.new(::DateTime), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('dueDate'), 'decoder': ::Moov::Utils.datetime_from_iso_format(true) } }
32
32
 
33
- sig { params(description: T.nilable(::String), line_items: T.nilable(Models::Components::CreateInvoiceLineItemsUpdate), status: T.nilable(Models::Components::InvoiceStatus), tax_amount: T.nilable(Models::Components::AmountDecimalUpdate), invoice_date: T.nilable(::DateTime), due_date: T.nilable(::DateTime)).void }
34
- def initialize(description: nil, line_items: nil, status: nil, tax_amount: nil, invoice_date: nil, due_date: nil)
33
+ sig { params(description: T.nilable(::String), line_items: T.nilable(Models::Components::CreateInvoiceLineItemsUpdate), status: T.nilable(Models::Components::InvoiceStatus), amount_details: T.nilable(Models::Components::AmountDetailsUpdate), invoice_date: T.nilable(::DateTime), due_date: T.nilable(::DateTime)).void }
34
+ def initialize(description: nil, line_items: nil, status: nil, amount_details: nil, invoice_date: nil, due_date: nil)
35
35
  @description = description
36
36
  @line_items = line_items
37
37
  @status = status
38
- @tax_amount = tax_amount
38
+ @amount_details = amount_details
39
39
  @invoice_date = invoice_date
40
40
  @due_date = due_date
41
41
  end
@@ -46,7 +46,7 @@ module Moov
46
46
  return false unless @description == other.description
47
47
  return false unless @line_items == other.line_items
48
48
  return false unless @status == other.status
49
- return false unless @tax_amount == other.tax_amount
49
+ return false unless @amount_details == other.amount_details
50
50
  return false unless @invoice_date == other.invoice_date
51
51
  return false unless @due_date == other.due_date
52
52
  true
@@ -14,8 +14,8 @@ class Moov::Models::Components::UpdateInvoice
14
14
  def line_items=(str_); end
15
15
  def status(); end
16
16
  def status=(str_); end
17
- def tax_amount(); end
18
- def tax_amount=(str_); end
17
+ def amount_details(); end
18
+ def amount_details=(str_); end
19
19
  def invoice_date(); end
20
20
  def invoice_date=(str_); end
21
21
  def due_date(); end
@@ -17,10 +17,13 @@ module Moov
17
17
 
18
18
  field :account_id, ::String, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('accountID'), required: true } }
19
19
 
20
- sig { params(bank_account_id: ::String, account_id: ::String).void }
21
- def initialize(bank_account_id:, account_id:)
20
+ field :status, Models::Components::BankAccountStatus, { 'format_json': { 'letter_case': ::Moov::Utils.field_name('status'), required: true, 'decoder': ::Moov::Utils.enum_from_string(Models::Components::BankAccountStatus, false) } }
21
+
22
+ sig { params(bank_account_id: ::String, account_id: ::String, status: Models::Components::BankAccountStatus).void }
23
+ def initialize(bank_account_id:, account_id:, status:)
22
24
  @bank_account_id = bank_account_id
23
25
  @account_id = account_id
26
+ @status = status
24
27
  end
25
28
 
26
29
  sig { params(other: T.untyped).returns(T::Boolean) }
@@ -28,6 +31,7 @@ module Moov
28
31
  return false unless other.is_a? self.class
29
32
  return false unless @bank_account_id == other.bank_account_id
30
33
  return false unless @account_id == other.account_id
34
+ return false unless @status == other.status
31
35
  true
32
36
  end
33
37
  end
@@ -12,4 +12,6 @@ class Moov::Models::Components::WebhookDataBankAccountDeleted
12
12
  def bank_account_id=(str_); end
13
13
  def account_id(); end
14
14
  def account_id=(str_); end
15
+ def status(); end
16
+ def status=(str_); end
15
17
  end
@@ -53,6 +53,9 @@ module Moov
53
53
  autoload :AmountDecimalRangeUpdate, 'moov/models/components/amountdecimalrangeupdate.rb'
54
54
  autoload :AmountDecimalUpdate, 'moov/models/components/amountdecimalupdate.rb'
55
55
  autoload :AmountDecimalValidationError, 'moov/models/components/amountdecimalvalidationerror.rb'
56
+ autoload :AmountDetails, 'moov/models/components/amountdetails.rb'
57
+ autoload :AmountDetailsUpdate, 'moov/models/components/amountdetailsupdate.rb'
58
+ autoload :AmountDetailsValidationError, 'moov/models/components/amountdetailsvalidationerror.rb'
56
59
  autoload :AmountUpdate, 'moov/models/components/amountupdate.rb'
57
60
  autoload :AmountValidationError, 'moov/models/components/amountvalidationerror.rb'
58
61
  autoload :AppleBillingContact, 'moov/models/components/applebillingcontact.rb'
@@ -589,6 +592,7 @@ module Moov
589
592
  autoload :TransferAmountDetails, 'moov/models/components/transferamountdetails.rb'
590
593
  autoload :TransferCapture, 'moov/models/components/transfercapture.rb'
591
594
  autoload :TransferConfig, 'moov/models/components/transferconfig.rb'
595
+ autoload :TransferControls, 'moov/models/components/transfercontrols.rb'
592
596
  autoload :TransferDestination, 'moov/models/components/transferdestination.rb'
593
597
  autoload :TransferEntryMode, 'moov/models/components/transferentrymode.rb'
594
598
  autoload :TransferFailureReason, 'moov/models/components/transferfailurereason.rb'
@@ -23,18 +23,18 @@ module Moov
23
23
 
24
24
  field :due_date, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('dueDate') } }
25
25
 
26
- field :tax_amount, Crystalline::Nilable.new(Models::Components::AmountDecimalValidationError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('taxAmount') } }
26
+ field :amount_details, Crystalline::Nilable.new(Models::Components::AmountDetailsValidationError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amountDetails') } }
27
27
  # Raw HTTP response; suitable for custom response parsing
28
28
  field :raw_response, Crystalline::Nilable.new(::Faraday::Response), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('-') } }
29
29
 
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), tax_amount: T.nilable(Models::Components::AmountDecimalValidationError), 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, tax_amount: nil, raw_response: nil)
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
32
  @customer_account_id = customer_account_id
33
33
  @description = description
34
34
  @line_items = line_items
35
35
  @invoice_date = invoice_date
36
36
  @due_date = due_date
37
- @tax_amount = tax_amount
37
+ @amount_details = amount_details
38
38
  @raw_response = raw_response
39
39
  end
40
40
 
@@ -46,7 +46,7 @@ module Moov
46
46
  return false unless @line_items == other.line_items
47
47
  return false unless @invoice_date == other.invoice_date
48
48
  return false unless @due_date == other.due_date
49
- return false unless @tax_amount == other.tax_amount
49
+ return false unless @amount_details == other.amount_details
50
50
  return false unless @raw_response == other.raw_response
51
51
  true
52
52
  end
@@ -18,8 +18,8 @@ class Moov::Models::Errors::CreateInvoiceError
18
18
  def invoice_date=(str_); end
19
19
  def due_date(); end
20
20
  def due_date=(str_); end
21
- def tax_amount(); end
22
- def tax_amount=(str_); end
21
+ def amount_details(); end
22
+ def amount_details=(str_); end
23
23
  def raw_response(); end
24
24
  def raw_response=(str_); end
25
25
  end
@@ -23,18 +23,18 @@ module Moov
23
23
 
24
24
  field :status, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('status') } }
25
25
 
26
- field :tax_amount, Crystalline::Nilable.new(Models::Components::AmountDecimalValidationError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('taxAmount') } }
26
+ field :amount_details, Crystalline::Nilable.new(Models::Components::AmountDetailsValidationError), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amountDetails') } }
27
27
  # Raw HTTP response; suitable for custom response parsing
28
28
  field :raw_response, Crystalline::Nilable.new(::Faraday::Response), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('-') } }
29
29
 
30
- sig { params(description: T.nilable(::String), line_items: T.nilable(Models::Components::InvoiceLineItemsValidationError), invoice_date: T.nilable(::String), due_date: T.nilable(::String), status: T.nilable(::String), tax_amount: T.nilable(Models::Components::AmountDecimalValidationError), raw_response: T.nilable(::Faraday::Response)).void }
31
- def initialize(description: nil, line_items: nil, invoice_date: nil, due_date: nil, status: nil, tax_amount: nil, raw_response: nil)
30
+ sig { params(description: T.nilable(::String), line_items: T.nilable(Models::Components::InvoiceLineItemsValidationError), invoice_date: T.nilable(::String), due_date: T.nilable(::String), status: T.nilable(::String), amount_details: T.nilable(Models::Components::AmountDetailsValidationError), raw_response: T.nilable(::Faraday::Response)).void }
31
+ def initialize(description: nil, line_items: nil, invoice_date: nil, due_date: nil, status: nil, amount_details: nil, raw_response: nil)
32
32
  @description = description
33
33
  @line_items = line_items
34
34
  @invoice_date = invoice_date
35
35
  @due_date = due_date
36
36
  @status = status
37
- @tax_amount = tax_amount
37
+ @amount_details = amount_details
38
38
  @raw_response = raw_response
39
39
  end
40
40
 
@@ -46,7 +46,7 @@ module Moov
46
46
  return false unless @invoice_date == other.invoice_date
47
47
  return false unless @due_date == other.due_date
48
48
  return false unless @status == other.status
49
- return false unless @tax_amount == other.tax_amount
49
+ return false unless @amount_details == other.amount_details
50
50
  return false unless @raw_response == other.raw_response
51
51
  true
52
52
  end
@@ -18,8 +18,8 @@ class Moov::Models::Errors::UpdateInvoiceError
18
18
  def due_date=(str_); end
19
19
  def status(); end
20
20
  def status=(str_); end
21
- def tax_amount(); end
22
- def tax_amount=(str_); end
21
+ def amount_details(); end
22
+ def amount_details=(str_); end
23
23
  def raw_response(); end
24
24
  def raw_response=(str_); end
25
25
  end
@@ -88,9 +88,9 @@ module Moov
88
88
  end
89
89
  @language = 'ruby'
90
90
  @openapi_doc_version = 'dev'
91
- @sdk_version = '0.0.0-dev.18'
92
- @gen_version = '2.882.0'
93
- @user_agent = 'speakeasy-sdk/ruby 0.0.0-dev.18 2.882.0 dev moov_ruby'
91
+ @sdk_version = '0.0.0-dev.20'
92
+ @gen_version = '2.893.0'
93
+ @user_agent = 'speakeasy-sdk/ruby 0.0.0-dev.20 2.893.0 dev 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: 0.0.0.pre.dev.18
4
+ version: 0.0.0.pre.dev.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Speakeasy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-05-13 00:00:00.000000000 Z
11
+ date: 2026-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64
@@ -364,6 +364,12 @@ files:
364
364
  - lib/moov/models/components/amountdecimalupdate.rbi
365
365
  - lib/moov/models/components/amountdecimalvalidationerror.rb
366
366
  - lib/moov/models/components/amountdecimalvalidationerror.rbi
367
+ - lib/moov/models/components/amountdetails.rb
368
+ - lib/moov/models/components/amountdetails.rbi
369
+ - lib/moov/models/components/amountdetailsupdate.rb
370
+ - lib/moov/models/components/amountdetailsupdate.rbi
371
+ - lib/moov/models/components/amountdetailsvalidationerror.rb
372
+ - lib/moov/models/components/amountdetailsvalidationerror.rbi
367
373
  - lib/moov/models/components/amountupdate.rb
368
374
  - lib/moov/models/components/amountupdate.rbi
369
375
  - lib/moov/models/components/amountvalidationerror.rb
@@ -1466,6 +1472,8 @@ files:
1466
1472
  - lib/moov/models/components/transfercapture.rbi
1467
1473
  - lib/moov/models/components/transferconfig.rb
1468
1474
  - lib/moov/models/components/transferconfig.rbi
1475
+ - lib/moov/models/components/transfercontrols.rb
1476
+ - lib/moov/models/components/transfercontrols.rbi
1469
1477
  - lib/moov/models/components/transferdestination.rb
1470
1478
  - lib/moov/models/components/transferdestination.rbi
1471
1479
  - lib/moov/models/components/transferentrymode.rb