moov_ruby 0.0.0.pre.dev.14 → 0.0.0.pre.dev.15
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: 07c64e2d1493a44d61d173f746e1b810cf9a37aec85b41cec205f8c881051e65
|
|
4
|
+
data.tar.gz: d515c164f8e54e4ca7410d0a8d4111b9d3601a2cfe6f194228494ccd376941f7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9969e2bf3b4625b6844262b5a72b7c1facc89f704fa2451ad9bf0dca57e507d8e5706b0ccc20819ae790aebc23c61ebacd4bee58169f46c47b4711653f0dd451
|
|
7
|
+
data.tar.gz: 81c1d3b616651fde12f88e6e322dfdd6748976166b8640ad10964b5f1161cd859941af9b7f36b78312064c4fc31a47dc26123f1ca4873dfcf7d2622cc2c89bdc
|
|
@@ -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
|
|
@@ -280,6 +280,7 @@ module Moov
|
|
|
280
280
|
autoload :FileDetails, 'moov/models/components/filedetails.rb'
|
|
281
281
|
autoload :FilePurpose, 'moov/models/components/filepurpose.rb'
|
|
282
282
|
autoload :FileStatus, 'moov/models/components/filestatus.rb'
|
|
283
|
+
autoload :FileUploadMetadata, 'moov/models/components/fileuploadmetadata.rb'
|
|
283
284
|
autoload :FileUploadRequestMultiPart, 'moov/models/components/fileuploadrequestmultipart.rb'
|
|
284
285
|
autoload :FileUploadRequestMultiPartFile, 'moov/models/components/fileuploadrequestmultipart_file.rb'
|
|
285
286
|
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 = 'dev'
|
|
91
|
-
@sdk_version = '0.0.0-dev.
|
|
92
|
-
@gen_version = '2.881.
|
|
93
|
-
@user_agent = 'speakeasy-sdk/ruby 0.0.0-dev.
|
|
91
|
+
@sdk_version = '0.0.0-dev.15'
|
|
92
|
+
@gen_version = '2.881.17'
|
|
93
|
+
@user_agent = 'speakeasy-sdk/ruby 0.0.0-dev.15 2.881.17 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.
|
|
4
|
+
version: 0.0.0.pre.dev.15
|
|
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-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: base64
|
|
@@ -828,6 +828,8 @@ files:
|
|
|
828
828
|
- lib/moov/models/components/filepurpose.rbi
|
|
829
829
|
- lib/moov/models/components/filestatus.rb
|
|
830
830
|
- lib/moov/models/components/filestatus.rbi
|
|
831
|
+
- lib/moov/models/components/fileuploadmetadata.rb
|
|
832
|
+
- lib/moov/models/components/fileuploadmetadata.rbi
|
|
831
833
|
- lib/moov/models/components/fileuploadrequestmultipart.rb
|
|
832
834
|
- lib/moov/models/components/fileuploadrequestmultipart.rbi
|
|
833
835
|
- lib/moov/models/components/fileuploadrequestmultipart_file.rb
|