moov_ruby 24.2.3 → 24.2.5

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: 35dd44efea6ce48b699187e83f7de47999723ff00580bf6d7fb3468dee942a05
4
- data.tar.gz: a990ab4ed0818bb846592b01c4f2ba49862ba234649cf376b4e2f72f953ada2c
3
+ metadata.gz: aa230dd56ec41be93959b251fab29f83771b67a99a8c04ea90c257601c30d88b
4
+ data.tar.gz: 88a716e147e7d511e44585e528bba105966b802a7a3c87163c78afaf0231d419
5
5
  SHA512:
6
- metadata.gz: 8686271920dd234dc6a989581b7a688a48daf3fab26df1e7194955f5a7b315901d92a95b867bc1c6177605c0c12404172e22f09a84cbc64e0a58a30bf0814e11
7
- data.tar.gz: d3f0ee2dff29f0cf4a4d0b5ccffeb98be20d851f08a24ad5aca086d848c120b42d82f76a560cffd5b95da2236983b3f1b02045a0b9a97f4202c848e3b15a3aa2
6
+ metadata.gz: 333f416f414793b071d98952bb7d8e5cdf351c675c00c13dfe5d8108d8b6b9bd69b2f7760578574b29e1ee34338fb57315880cdf745c352681655b3bdfb3e9a1
7
+ data.tar.gz: e35d4158b87236dcb8fab5307a3df1ce0c23249b300b861e95356c05252be1c17bfaf3cda02fa1413daf342c229ffb7e80a59cddbb744ba694d61c4a07ef5cc2
@@ -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
+ # Additional metadata to be stored with the file.
11
+ class FileUploadMetadata
12
+ extend T::Sig
13
+ include Crystalline::MetadataFields
14
+
15
+ # The representative ID that the file is for. Required when filePurpose is `representativeVerification`.
16
+ field :representative_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('representative_id') } }
17
+ # Comments or notes about the file.
18
+ field :comment, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('comment') } }
19
+
20
+ sig { params(representative_id: T.nilable(::String), comment: T.nilable(::String)).void }
21
+ def initialize(representative_id: nil, comment: nil)
22
+ @representative_id = representative_id
23
+ @comment = comment
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 @representative_id == other.representative_id
30
+ return false unless @comment == other.comment
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::FileUploadMetadata
6
+ extend ::Crystalline::MetadataFields::ClassMethods
7
+ end
8
+
9
+
10
+ class Moov::Models::Components::FileUploadMetadata
11
+ def representative_id(); end
12
+ def representative_id=(str_); end
13
+ def comment(); end
14
+ def comment=(str_); end
15
+ end
@@ -12,16 +12,14 @@ module Moov
12
12
  extend T::Sig
13
13
  include Crystalline::MetadataFields
14
14
 
15
- # The file to be added. Valid types are `csv`, `png`, `jpeg`, `pdf`.
15
+ # The file to upload. Valid types are `csv`, `png`, `jpeg`, `pdf`.
16
16
  field :file, Models::Components::FileUploadRequestMultiPartFile, { 'multipart_form': { 'file': true, 'field_name': 'file' } }
17
17
  # The purpose of the file being uploaded.
18
18
  field :file_purpose, Models::Components::FilePurpose, { 'multipart_form': { 'field_name': 'filePurpose' } }
19
- # Additional metadata to be stored with the file, formatted as a JSON string.
20
- #
21
- # Valid keys are `representative_id`, `comment`, `requirement_id`, `error_code`.
22
- field :metadata, Crystalline::Nilable.new(::String), { 'multipart_form': { 'field_name': 'metadata' } }
19
+ # Additional metadata to be stored with the file.
20
+ field :metadata, Crystalline::Nilable.new(Models::Components::FileUploadMetadata), { 'multipart_form': { 'field_name': 'metadata', 'json': true } }
23
21
 
24
- sig { params(file: Models::Components::FileUploadRequestMultiPartFile, file_purpose: Models::Components::FilePurpose, metadata: T.nilable(::String)).void }
22
+ sig { params(file: Models::Components::FileUploadRequestMultiPartFile, file_purpose: Models::Components::FilePurpose, metadata: T.nilable(Models::Components::FileUploadMetadata)).void }
25
23
  def initialize(file:, file_purpose:, metadata: nil)
26
24
  @file = file
27
25
  @file_purpose = file_purpose
@@ -10,7 +10,7 @@ module Moov
10
10
  # DEPRECATED: use `InstantBankTransactionDetails` instead (v2026.04.00 or later). RTP specific details about the transaction.
11
11
  #
12
12
  # @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
13
- class RtpDetails
13
+ class RTPTransactionDetails
14
14
  extend T::Sig
15
15
  include Crystalline::MetadataFields
16
16
 
@@ -2,12 +2,12 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
 
5
- class Moov::Models::Components::RtpDetails
5
+ class Moov::Models::Components::RTPTransactionDetails
6
6
  extend ::Crystalline::MetadataFields::ClassMethods
7
7
  end
8
8
 
9
9
 
10
- class Moov::Models::Components::RtpDetails
10
+ class Moov::Models::Components::RTPTransactionDetails
11
11
  def status(); end
12
12
  def status=(str_); end
13
13
  def network_response_code(); end
@@ -30,12 +30,14 @@ module Moov
30
30
  field :apple_pay, Crystalline::Nilable.new(Models::Components::ApplePayResponse), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('applePay') } }
31
31
  # Card-specific details about the transaction.
32
32
  field :card_details, Crystalline::Nilable.new(Models::Components::CardTransactionDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('cardDetails') } }
33
+ # DEPRECATED: use `InstantBankTransactionDetails` instead (v2026.04.00 or later). RTP specific details about the transaction.
34
+ #
33
35
  # @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
34
- field :rtp_details, Crystalline::Nilable.new(Models::Components::RtpDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('rtpDetails') } }
36
+ field :rtp_details, Crystalline::Nilable.new(Models::Components::RTPTransactionDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('rtpDetails') } }
35
37
  # Instant-bank specific details about the transaction.
36
38
  field :instant_bank_details, Crystalline::Nilable.new(Models::Components::InstantBankTransactionDetails), { 'format_json': { 'letter_case': ::Moov::Utils.field_name('instantBankDetails') } }
37
39
 
38
- sig { params(payment_method_id: ::String, payment_method_type: Models::Components::TransferPaymentMethodType, account: Models::Components::TransferAccount, bank_account: T.nilable(Models::Components::TransferPaymentMethodsBankAccount), wallet: T.nilable(Models::Components::TransferPaymentMethodsWallet), card: T.nilable(Models::Components::TransferPaymentMethodsCard), ach_details: T.nilable(Models::Components::ACHTransactionDetails), apple_pay: T.nilable(Models::Components::ApplePayResponse), card_details: T.nilable(Models::Components::CardTransactionDetails), rtp_details: T.nilable(Models::Components::RtpDetails), instant_bank_details: T.nilable(Models::Components::InstantBankTransactionDetails)).void }
40
+ sig { params(payment_method_id: ::String, payment_method_type: Models::Components::TransferPaymentMethodType, account: Models::Components::TransferAccount, bank_account: T.nilable(Models::Components::TransferPaymentMethodsBankAccount), wallet: T.nilable(Models::Components::TransferPaymentMethodsWallet), card: T.nilable(Models::Components::TransferPaymentMethodsCard), ach_details: T.nilable(Models::Components::ACHTransactionDetails), apple_pay: T.nilable(Models::Components::ApplePayResponse), card_details: T.nilable(Models::Components::CardTransactionDetails), rtp_details: T.nilable(Models::Components::RTPTransactionDetails), instant_bank_details: T.nilable(Models::Components::InstantBankTransactionDetails)).void }
39
41
  def initialize(payment_method_id:, payment_method_type:, account:, bank_account: nil, wallet: nil, card: nil, ach_details: nil, apple_pay: nil, card_details: nil, rtp_details: nil, instant_bank_details: nil)
40
42
  @payment_method_id = payment_method_id
41
43
  @payment_method_type = payment_method_type
@@ -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::WebhookDataBankAccountCreated
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
@@ -242,6 +242,7 @@ module Moov
242
242
  autoload :FileDetails, 'moov/models/components/filedetails.rb'
243
243
  autoload :FilePurpose, 'moov/models/components/filepurpose.rb'
244
244
  autoload :FileStatus, 'moov/models/components/filestatus.rb'
245
+ autoload :FileUploadMetadata, 'moov/models/components/fileuploadmetadata.rb'
245
246
  autoload :FileUploadRequestMultiPart, 'moov/models/components/fileuploadrequestmultipart.rb'
246
247
  autoload :FileUploadRequestMultiPartFile, 'moov/models/components/fileuploadrequestmultipart_file.rb'
247
248
  autoload :FileUploadValidationErrorFile, 'moov/models/components/fileuploadvalidationerror_file.rb'
@@ -386,6 +387,7 @@ module Moov
386
387
  autoload :RTPInstitution, 'moov/models/components/rtpinstitution.rb'
387
388
  autoload :RTPRejectionCode, 'moov/models/components/rtprejectioncode.rb'
388
389
  autoload :RTPServices, 'moov/models/components/rtpservices.rb'
390
+ autoload :RTPTransactionDetails, 'moov/models/components/rtptransactiondetails.rb'
389
391
  autoload :RTPTransactionStatus, 'moov/models/components/rtptransactionstatus.rb'
390
392
  autoload :ReceiptKind, 'moov/models/components/receiptkind.rb'
391
393
  autoload :ReceiptRequest, 'moov/models/components/receiptrequest.rb'
@@ -565,7 +567,6 @@ module Moov
565
567
  autoload :OtherFees, 'moov/models/components/otherfees.rb'
566
568
  autoload :Phone, 'moov/models/components/phone.rb'
567
569
  autoload :Responsibilities, 'moov/models/components/responsibilities.rb'
568
- autoload :RtpDetails, 'moov/models/components/rtpdetails.rb'
569
570
  autoload :Status, 'moov/models/components/status.rb'
570
571
  autoload :TokenTypeHint, 'moov/models/components/token_type_hint.rb'
571
572
  autoload :Use, 'moov/models/components/use.rb'
@@ -88,9 +88,9 @@ module Moov
88
88
  end
89
89
  @language = 'ruby'
90
90
  @openapi_doc_version = 'v2024.01.00'
91
- @sdk_version = '24.2.3'
92
- @gen_version = '2.881.4'
93
- @user_agent = 'speakeasy-sdk/ruby 24.2.3 2.881.4 v2024.01.00 moov_ruby'
91
+ @sdk_version = '24.2.5'
92
+ @gen_version = '2.882.0'
93
+ @user_agent = 'speakeasy-sdk/ruby 24.2.5 2.882.0 v2024.01.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: 24.2.3
4
+ version: 24.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Speakeasy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-04-25 00:00:00.000000000 Z
11
+ date: 2026-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64
@@ -746,6 +746,8 @@ files:
746
746
  - lib/moov/models/components/filepurpose.rbi
747
747
  - lib/moov/models/components/filestatus.rb
748
748
  - lib/moov/models/components/filestatus.rbi
749
+ - lib/moov/models/components/fileuploadmetadata.rb
750
+ - lib/moov/models/components/fileuploadmetadata.rbi
749
751
  - lib/moov/models/components/fileuploadrequestmultipart.rb
750
752
  - lib/moov/models/components/fileuploadrequestmultipart.rbi
751
753
  - lib/moov/models/components/fileuploadrequestmultipart_file.rb
@@ -1094,8 +1096,6 @@ files:
1094
1096
  - lib/moov/models/components/rtpcredittransferpaymentmethod.rbi
1095
1097
  - lib/moov/models/components/rtpcredittransferpaymentmethod_paymentmethodtype.rb
1096
1098
  - lib/moov/models/components/rtpcredittransferpaymentmethod_paymentmethodtype.rbi
1097
- - lib/moov/models/components/rtpdetails.rb
1098
- - lib/moov/models/components/rtpdetails.rbi
1099
1099
  - lib/moov/models/components/rtpfailurecode.rb
1100
1100
  - lib/moov/models/components/rtpfailurecode.rbi
1101
1101
  - lib/moov/models/components/rtpinstitution.rb
@@ -1104,6 +1104,8 @@ files:
1104
1104
  - lib/moov/models/components/rtprejectioncode.rbi
1105
1105
  - lib/moov/models/components/rtpservices.rb
1106
1106
  - lib/moov/models/components/rtpservices.rbi
1107
+ - lib/moov/models/components/rtptransactiondetails.rb
1108
+ - lib/moov/models/components/rtptransactiondetails.rbi
1107
1109
  - lib/moov/models/components/rtptransactionstatus.rb
1108
1110
  - lib/moov/models/components/rtptransactionstatus.rbi
1109
1111
  - lib/moov/models/components/runtransfer.rb