moov_ruby 24.2.3 → 24.2.4
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 +4 -4
- data/lib/moov/models/components/fileuploadmetadata.rb +36 -0
- data/lib/moov/models/components/fileuploadmetadata.rbi +15 -0
- data/lib/moov/models/components/fileuploadrequestmultipart.rb +4 -6
- data/lib/moov/models/components/webhookdatabankaccountcreated.rb +6 -2
- data/lib/moov/models/components/webhookdatabankaccountcreated.rbi +2 -0
- data/lib/moov/models/components.rb +1 -0
- data/lib/moov/sdkconfiguration.rb +3 -3
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 96e44a5ef49cdc22ed9909a9e2a99ac8dc36da298fda0c2565d96d0b925e3c4b
|
|
4
|
+
data.tar.gz: 4ee2c6160a837ce3a0fda5ec646aa193894019d838f5e2dbc2412bd7fe3c6638
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d7f82dcc82350698b95a99a2a1c80a1607954383897ddc6a105b29ae290ababe1cb2f7fc4ac2e0fe4842e24d7f7134c1a3edaa253f6254c5a8aaa2521942a1a5
|
|
7
|
+
data.tar.gz: 47b4f1b9fa7553abb9e1909f90856343a09a182c20b01e81af73600a5faa9d4009b82044bc909c829a9842c7594009fa2949afffc38b654399d2cc090daa098d
|
|
@@ -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
|
|
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
|
|
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(::
|
|
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
|
|
@@ -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
|
-
|
|
21
|
-
|
|
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
|
|
@@ -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'
|
|
@@ -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.
|
|
92
|
-
@gen_version = '2.881.
|
|
93
|
-
@user_agent = 'speakeasy-sdk/ruby 24.2.
|
|
91
|
+
@sdk_version = '24.2.4'
|
|
92
|
+
@gen_version = '2.881.17'
|
|
93
|
+
@user_agent = 'speakeasy-sdk/ruby 24.2.4 2.881.17 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.
|
|
4
|
+
version: 24.2.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Speakeasy
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-05-01 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
|