moov_ruby 26.4.4 → 26.4.6

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: 1f5316a45d1e3c83223bdc0e14f615245a5f2bd60e77d1c7825744a980a3942f
4
- data.tar.gz: 5bbc052658f02ff38abd67bb176e05df5538518ce3a95e7807a62a9ce109b789
3
+ metadata.gz: a1a719063bd2b237c17963cd2cf343037ba026e889db67138add2d4c460294fb
4
+ data.tar.gz: e94bc4f53eceb6216d7a9d91aab3ac5606e175945faaa9e04e4171987b6b685b
5
5
  SHA512:
6
- metadata.gz: 412fb275abe5066b1396319f1737e77d9015e0c2f9cb130c8849e4ea3e052c9fa7ccd50cb6dbad00e168a912935508dc04685f6cc9c6666e2155a33a3f942d71
7
- data.tar.gz: fb03e00da450ea1ea293db07293b364815b201a1002e2c49f5add79d482652e048f80bdf626eb1f0553c796a54fe52548bb8b81cee9752fede74019ec730d5e3
6
+ metadata.gz: 748554c277ed80a3dde39e88f5a2d339407c45ea41d8c7549c3c273e1069b691bbc7e6ae5a89f21e9473c203fb9b0e8e15a62a20ef07e5d88f8011754ced3bdc
7
+ data.tar.gz: 1de6fcc087cca0ebb8a36f0580ad8b754c544dbd10517b1dcb41f0a60bdb5e27751996b6bec8b060824612eb084bfc2f17cd793181dcb59a793c6a2ca2bd097b
@@ -65,7 +65,7 @@ module Moov
65
65
  # Optional alias from a foreign/external system which can be used to reference this resource.
66
66
  field :foreign_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('foreignID') } }
67
67
  # An optional collection of line items for a transfer.
68
- # When line items are provided, their total plus sales tax must equal the transfer amount.
68
+ # When line items are provided, their total plus tax must equal the transfer amount.
69
69
  field :line_items, Crystalline::Nilable.new(Models::Components::TransferLineItems), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems') } }
70
70
 
71
71
  field :amount_details, Crystalline::Nilable.new(Models::Components::TransferAmountDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amountDetails') } }
@@ -45,7 +45,7 @@ module Moov
45
45
 
46
46
  field :payout, Crystalline::Nilable.new(Models::Components::PaymentLinkPayoutDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('payout') } }
47
47
  # An optional collection of line items for a payment link.
48
- # When line items are provided, their total plus sales tax must equal the payment link amount.
48
+ # When line items are provided, their total plus tax must equal the payment link amount.
49
49
  field :line_items, Crystalline::Nilable.new(Models::Components::CreatePaymentLinkLineItems), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems') } }
50
50
 
51
51
  sig { params(partner_account_id: ::String, merchant_payment_method_id: ::String, amount: Models::Components::Amount, display: Models::Components::PaymentLinkDisplayOptions, sales_tax_amount: T.nilable(Models::Components::Amount), max_uses: T.nilable(::Integer), expires_on: T.nilable(::DateTime), customer: T.nilable(Models::Components::PaymentLinkCustomerOptions), payment: T.nilable(Models::Components::PaymentLinkPaymentDetails), payout: T.nilable(Models::Components::PaymentLinkPayoutDetails), line_items: T.nilable(Models::Components::CreatePaymentLinkLineItems)).void }
@@ -8,7 +8,7 @@ module Moov
8
8
  module Models
9
9
  module Components
10
10
  # An optional collection of line items for a payment link.
11
- # When line items are provided, their total plus sales tax must equal the payment link amount.
11
+ # When line items are provided, their total plus tax must equal the payment link amount.
12
12
  class CreatePaymentLinkLineItems
13
13
  extend T::Sig
14
14
  include Crystalline::MetadataFields
@@ -8,7 +8,7 @@ module Moov
8
8
  module Models
9
9
  module Components
10
10
  # An optional collection of line items for a payment link.
11
- # When line items are provided, their total plus sales tax must equal the payment link amount.
11
+ # When line items are provided, their total plus tax must equal the payment link amount.
12
12
  class CreatePaymentLinkLineItemsUpdate
13
13
  extend T::Sig
14
14
  include Crystalline::MetadataFields
@@ -29,7 +29,7 @@ module Moov
29
29
  # Optional alias from a foreign/external system which can be used to reference this resource.
30
30
  field :foreign_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('foreignID') } }
31
31
  # An optional collection of line items for a transfer.
32
- # When line items are provided, their total plus sales tax must equal the transfer amount.
32
+ # When line items are provided, their total plus tax must equal the transfer amount.
33
33
  field :line_items, Crystalline::Nilable.new(Models::Components::CreateTransferLineItems), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems') } }
34
34
 
35
35
  field :amount_details, Crystalline::Nilable.new(Models::Components::CreateTransferAmountDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('amountDetails') } }
@@ -8,7 +8,7 @@ module Moov
8
8
  module Models
9
9
  module Components
10
10
  # An optional collection of line items for a transfer.
11
- # When line items are provided, their total plus sales tax must equal the transfer amount.
11
+ # When line items are provided, their total plus tax must equal the transfer amount.
12
12
  class CreateTransferLineItems
13
13
  extend T::Sig
14
14
  include Crystalline::MetadataFields
@@ -62,7 +62,7 @@ module Moov
62
62
 
63
63
  field :payout, Crystalline::Nilable.new(Models::Components::PaymentLinkPayoutDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('payout') } }
64
64
  # An optional collection of line items for a payment link.
65
- # When line items are provided, their total plus sales tax must equal the payment link amount.
65
+ # When line items are provided, their total plus tax must equal the payment link amount.
66
66
  field :line_items, Crystalline::Nilable.new(Models::Components::PaymentLinkLineItems), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems') } }
67
67
 
68
68
  field :disabled_on, Crystalline::Nilable.new(::DateTime), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('disabledOn'), 'decoder': ::Moov::Utils.datetime_from_iso_format(true) } }
@@ -8,7 +8,7 @@ module Moov
8
8
  module Models
9
9
  module Components
10
10
  # An optional collection of line items for a payment link.
11
- # When line items are provided, their total plus sales tax must equal the payment link amount.
11
+ # When line items are provided, their total plus tax must equal the payment link amount.
12
12
  class PaymentLinkLineItems
13
13
  extend T::Sig
14
14
  include Crystalline::MetadataFields
@@ -67,7 +67,7 @@ module Moov
67
67
  # Optional alias from a foreign/external system which can be used to reference this resource.
68
68
  field :foreign_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('foreignID') } }
69
69
  # An optional collection of line items for a transfer.
70
- # When line items are provided, their total plus sales tax must equal the transfer amount.
70
+ # When line items are provided, their total plus tax must equal the transfer amount.
71
71
  field :line_items, Crystalline::Nilable.new(Models::Components::TransferLineItems), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems') } }
72
72
  # ID of the invoice that the transfer is associated with.
73
73
  field :invoice_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('invoiceID') } }
@@ -8,7 +8,7 @@ module Moov
8
8
  module Models
9
9
  module Components
10
10
  # An optional collection of line items for a transfer.
11
- # When line items are provided, their total plus sales tax must equal the transfer amount.
11
+ # When line items are provided, their total plus tax must equal the transfer amount.
12
12
  class TransferLineItems
13
13
  extend T::Sig
14
14
  include Crystalline::MetadataFields
@@ -25,7 +25,7 @@ module Moov
25
25
 
26
26
  field :payout, Crystalline::Nilable.new(Models::Components::PaymentLinkPayoutDetailsUpdate), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('payout') } }
27
27
  # An optional collection of line items for a payment link.
28
- # When line items are provided, their total plus sales tax must equal the payment link amount.
28
+ # When line items are provided, their total plus tax must equal the payment link amount.
29
29
  field :line_items, Crystalline::Nilable.new(Models::Components::CreatePaymentLinkLineItemsUpdate), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems') } }
30
30
 
31
31
  field :expires_on, Crystalline::Nilable.new(::DateTime), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('expiresOn'), 'decoder': ::Moov::Utils.datetime_from_iso_format(true) } }
@@ -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
@@ -67,7 +67,7 @@ module Moov
67
67
  # Optional alias from a foreign/external system which can be used to reference this resource.
68
68
  field :foreign_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('foreignID') } }
69
69
  # An optional collection of line items for a transfer.
70
- # When line items are provided, their total plus sales tax must equal the transfer amount.
70
+ # When line items are provided, their total plus tax must equal the transfer amount.
71
71
  field :line_items, Crystalline::Nilable.new(Models::Components::TransferLineItems), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('lineItems') } }
72
72
  # ID of the invoice that the transfer is associated with.
73
73
  field :invoice_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('invoiceID') } }
@@ -88,9 +88,9 @@ module Moov
88
88
  end
89
89
  @language = 'ruby'
90
90
  @openapi_doc_version = 'v2026.04.00'
91
- @sdk_version = '26.4.4'
92
- @gen_version = '2.882.0'
93
- @user_agent = 'speakeasy-sdk/ruby 26.4.4 2.882.0 v2026.04.00 moov_ruby'
91
+ @sdk_version = '26.4.6'
92
+ @gen_version = '2.884.0'
93
+ @user_agent = 'speakeasy-sdk/ruby 26.4.6 2.884.0 v2026.04.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.4.4
4
+ version: 26.4.6
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-11 00:00:00.000000000 Z
11
+ date: 2026-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64