increase 1.1.0 → 1.3.0
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/CHANGELOG.md +16 -0
- data/README.md +1 -1
- data/lib/increase/models/document.rb +26 -1
- data/lib/increase/models/document_create_params.rb +25 -1
- data/lib/increase/models/document_list_params.rb +3 -0
- data/lib/increase/models/file.rb +3 -0
- data/lib/increase/models/file_list_params.rb +3 -0
- data/lib/increase/models/pending_transaction.rb +3 -1
- data/lib/increase/models/transaction.rb +2 -1
- data/lib/increase/resources/documents.rb +3 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/document.rbi +51 -0
- data/rbi/increase/models/document_create_params.rbi +53 -0
- data/rbi/increase/models/document_list_params.rbi +7 -0
- data/rbi/increase/models/file.rbi +4 -0
- data/rbi/increase/models/file_list_params.rbi +7 -0
- data/rbi/increase/models/pending_transaction.rbi +3 -1
- data/rbi/increase/models/transaction.rbi +2 -1
- data/rbi/increase/resources/documents.rbi +4 -0
- data/sig/increase/models/document.rbs +19 -0
- data/sig/increase/models/document_create_params.rbs +24 -2
- data/sig/increase/models/document_list_params.rbs +4 -0
- data/sig/increase/models/file.rbs +4 -0
- data/sig/increase/models/file_list_params.rbs +4 -0
- data/sig/increase/resources/documents.rbs +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ea317fc071bf7df944bfcb883f5ff8c4a47c258ea4ed96102ce327d7291c11a
|
4
|
+
data.tar.gz: 4ec74af5d62615fdb9791812a25eebafe541477cc7b44da841d8ce62c60ae2e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e92be1947ec512eb6571153ab5a39f6c5af78d852afd9a5c3b9b5e0e6cd02df3b49fa161c85edfa3d04857029ee9216216cc9b8bbae753b9037a51413172b285
|
7
|
+
data.tar.gz: d237cbc36a9e4b2ff82e81b91b4a5dfa24cc6e73d8884a3b22dc332ddedd4ae2c36d314c08fdf8c89eb4a34dfbde8fcd38f0ddbc10c7a686197b1e58a95b1939
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 1.3.0 (2025-06-24)
|
4
|
+
|
5
|
+
Full Changelog: [v1.2.0...v1.3.0](https://github.com/Increase/increase-ruby/compare/v1.2.0...v1.3.0)
|
6
|
+
|
7
|
+
### Features
|
8
|
+
|
9
|
+
* **api:** api update ([4bc56cc](https://github.com/Increase/increase-ruby/commit/4bc56cc2a93fddc9d94c6ddc6fb885915cc74c99))
|
10
|
+
|
11
|
+
## 1.2.0 (2025-06-24)
|
12
|
+
|
13
|
+
Full Changelog: [v1.1.0...v1.2.0](https://github.com/Increase/increase-ruby/compare/v1.1.0...v1.2.0)
|
14
|
+
|
15
|
+
### Features
|
16
|
+
|
17
|
+
* **api:** api update ([2b5da1c](https://github.com/Increase/increase-ruby/commit/2b5da1c10f75b8a65c2370858c08eadf4268b044))
|
18
|
+
|
3
19
|
## 1.1.0 (2025-06-23)
|
4
20
|
|
5
21
|
Full Changelog: [v1.0.0...v1.1.0](https://github.com/Increase/increase-ruby/compare/v1.0.0...v1.1.0)
|
data/README.md
CHANGED
@@ -41,6 +41,12 @@ module Increase
|
|
41
41
|
# @return [String]
|
42
42
|
required :file_id, String
|
43
43
|
|
44
|
+
# @!attribute funding_instructions
|
45
|
+
# Properties of a funding instructions document.
|
46
|
+
#
|
47
|
+
# @return [Increase::Models::Document::FundingInstructions, nil]
|
48
|
+
required :funding_instructions, -> { Increase::Document::FundingInstructions }, nil?: true
|
49
|
+
|
44
50
|
# @!attribute idempotency_key
|
45
51
|
# The idempotency key you chose for this object. This value is unique across
|
46
52
|
# Increase and is used to ensure that a request is only processed once. Learn more
|
@@ -56,7 +62,7 @@ module Increase
|
|
56
62
|
# @return [Symbol, Increase::Models::Document::Type]
|
57
63
|
required :type, enum: -> { Increase::Document::Type }
|
58
64
|
|
59
|
-
# @!method initialize(id:, account_verification_letter:, category:, created_at:, entity_id:, file_id:, idempotency_key:, type:)
|
65
|
+
# @!method initialize(id:, account_verification_letter:, category:, created_at:, entity_id:, file_id:, funding_instructions:, idempotency_key:, type:)
|
60
66
|
# Some parameter documentations has been truncated, see
|
61
67
|
# {Increase::Models::Document} for more details.
|
62
68
|
#
|
@@ -75,6 +81,8 @@ module Increase
|
|
75
81
|
#
|
76
82
|
# @param file_id [String] The identifier of the File containing the Document's contents.
|
77
83
|
#
|
84
|
+
# @param funding_instructions [Increase::Models::Document::FundingInstructions, nil] Properties of a funding instructions document.
|
85
|
+
#
|
78
86
|
# @param idempotency_key [String, nil] The idempotency key you chose for this object. This value is unique across Incre
|
79
87
|
#
|
80
88
|
# @param type [Symbol, Increase::Models::Document::Type] A constant representing the object's type. For this resource it will always be `
|
@@ -114,10 +122,27 @@ module Increase
|
|
114
122
|
# An account verification letter.
|
115
123
|
ACCOUNT_VERIFICATION_LETTER = :account_verification_letter
|
116
124
|
|
125
|
+
# Funding instructions.
|
126
|
+
FUNDING_INSTRUCTIONS = :funding_instructions
|
127
|
+
|
117
128
|
# @!method self.values
|
118
129
|
# @return [Array<Symbol>]
|
119
130
|
end
|
120
131
|
|
132
|
+
# @see Increase::Models::Document#funding_instructions
|
133
|
+
class FundingInstructions < Increase::Internal::Type::BaseModel
|
134
|
+
# @!attribute account_number_id
|
135
|
+
# The identifier of the Account Number the document was generated for.
|
136
|
+
#
|
137
|
+
# @return [String]
|
138
|
+
required :account_number_id, String
|
139
|
+
|
140
|
+
# @!method initialize(account_number_id:)
|
141
|
+
# Properties of a funding instructions document.
|
142
|
+
#
|
143
|
+
# @param account_number_id [String] The identifier of the Account Number the document was generated for.
|
144
|
+
end
|
145
|
+
|
121
146
|
# A constant representing the object's type. For this resource it will always be
|
122
147
|
# `document`.
|
123
148
|
#
|
@@ -19,11 +19,19 @@ module Increase
|
|
19
19
|
# @return [Increase::Models::DocumentCreateParams::AccountVerificationLetter, nil]
|
20
20
|
optional :account_verification_letter, -> { Increase::DocumentCreateParams::AccountVerificationLetter }
|
21
21
|
|
22
|
-
# @!
|
22
|
+
# @!attribute funding_instructions
|
23
|
+
# Funding instructions.
|
24
|
+
#
|
25
|
+
# @return [Increase::Models::DocumentCreateParams::FundingInstructions, nil]
|
26
|
+
optional :funding_instructions, -> { Increase::DocumentCreateParams::FundingInstructions }
|
27
|
+
|
28
|
+
# @!method initialize(category:, account_verification_letter: nil, funding_instructions: nil, request_options: {})
|
23
29
|
# @param category [Symbol, Increase::Models::DocumentCreateParams::Category] The type of document to create.
|
24
30
|
#
|
25
31
|
# @param account_verification_letter [Increase::Models::DocumentCreateParams::AccountVerificationLetter] An account verification letter.
|
26
32
|
#
|
33
|
+
# @param funding_instructions [Increase::Models::DocumentCreateParams::FundingInstructions] Funding instructions.
|
34
|
+
#
|
27
35
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
28
36
|
|
29
37
|
# The type of document to create.
|
@@ -33,6 +41,9 @@ module Increase
|
|
33
41
|
# An account verification letter.
|
34
42
|
ACCOUNT_VERIFICATION_LETTER = :account_verification_letter
|
35
43
|
|
44
|
+
# Funding instructions.
|
45
|
+
FUNDING_INSTRUCTIONS = :funding_instructions
|
46
|
+
|
36
47
|
# @!method self.values
|
37
48
|
# @return [Array<Symbol>]
|
38
49
|
end
|
@@ -57,6 +68,19 @@ module Increase
|
|
57
68
|
#
|
58
69
|
# @param balance_date [Date] If provided, the letter will include the Account's balance as of the date.
|
59
70
|
end
|
71
|
+
|
72
|
+
class FundingInstructions < Increase::Internal::Type::BaseModel
|
73
|
+
# @!attribute account_number_id
|
74
|
+
# The Account Number the funding instructions should be generated for.
|
75
|
+
#
|
76
|
+
# @return [String]
|
77
|
+
required :account_number_id, String
|
78
|
+
|
79
|
+
# @!method initialize(account_number_id:)
|
80
|
+
# Funding instructions.
|
81
|
+
#
|
82
|
+
# @param account_number_id [String] The Account Number the funding instructions should be generated for.
|
83
|
+
end
|
60
84
|
end
|
61
85
|
end
|
62
86
|
end
|
@@ -98,6 +98,9 @@ module Increase
|
|
98
98
|
# An account verification letter.
|
99
99
|
ACCOUNT_VERIFICATION_LETTER = :account_verification_letter
|
100
100
|
|
101
|
+
# Funding instructions.
|
102
|
+
FUNDING_INSTRUCTIONS = :funding_instructions
|
103
|
+
|
101
104
|
# @!method self.values
|
102
105
|
# @return [Array<Symbol>]
|
103
106
|
end
|
data/lib/increase/models/file.rb
CHANGED
@@ -192,6 +192,9 @@ module Increase
|
|
192
192
|
# An account verification letter.
|
193
193
|
ACCOUNT_VERIFICATION_LETTER = :account_verification_letter
|
194
194
|
|
195
|
+
# Funding instructions.
|
196
|
+
FUNDING_INSTRUCTIONS = :funding_instructions
|
197
|
+
|
195
198
|
# @!method self.values
|
196
199
|
# @return [Array<Symbol>]
|
197
200
|
end
|
@@ -194,6 +194,9 @@ module Increase
|
|
194
194
|
# An account verification letter.
|
195
195
|
ACCOUNT_VERIFICATION_LETTER = :account_verification_letter
|
196
196
|
|
197
|
+
# Funding instructions.
|
198
|
+
FUNDING_INSTRUCTIONS = :funding_instructions
|
199
|
+
|
197
200
|
# @!method self.values
|
198
201
|
# @return [Array<Symbol>]
|
199
202
|
end
|
@@ -100,7 +100,9 @@ module Increase
|
|
100
100
|
# {Increase::Models::PendingTransaction} for more details.
|
101
101
|
#
|
102
102
|
# Pending Transactions are potential future additions and removals of money from
|
103
|
-
# your bank account.
|
103
|
+
# your bank account. They impact your available balance, but not your current
|
104
|
+
# balance. To learn more, see
|
105
|
+
# [Transactions and Transfers](/documentation/transactions-transfers).
|
104
106
|
#
|
105
107
|
# @param id [String] The Pending Transaction identifier.
|
106
108
|
#
|
@@ -80,7 +80,8 @@ module Increase
|
|
80
80
|
# {Increase::Models::Transaction} for more details.
|
81
81
|
#
|
82
82
|
# Transactions are the immutable additions and removals of money from your bank
|
83
|
-
# account. They're the equivalent of line items on your bank statement.
|
83
|
+
# account. They're the equivalent of line items on your bank statement. To learn
|
84
|
+
# more, see [Transactions and Transfers](/documentation/transactions-transfers).
|
84
85
|
#
|
85
86
|
# @param id [String] The Transaction identifier.
|
86
87
|
#
|
@@ -5,12 +5,14 @@ module Increase
|
|
5
5
|
class Documents
|
6
6
|
# Create a Document
|
7
7
|
#
|
8
|
-
# @overload create(category:, account_verification_letter: nil, request_options: {})
|
8
|
+
# @overload create(category:, account_verification_letter: nil, funding_instructions: nil, request_options: {})
|
9
9
|
#
|
10
10
|
# @param category [Symbol, Increase::Models::DocumentCreateParams::Category] The type of document to create.
|
11
11
|
#
|
12
12
|
# @param account_verification_letter [Increase::Models::DocumentCreateParams::AccountVerificationLetter] An account verification letter.
|
13
13
|
#
|
14
|
+
# @param funding_instructions [Increase::Models::DocumentCreateParams::FundingInstructions] Funding instructions.
|
15
|
+
#
|
14
16
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
|
15
17
|
#
|
16
18
|
# @return [Increase::Models::Document]
|
data/lib/increase/version.rb
CHANGED
@@ -39,6 +39,18 @@ module Increase
|
|
39
39
|
sig { returns(String) }
|
40
40
|
attr_accessor :file_id
|
41
41
|
|
42
|
+
# Properties of a funding instructions document.
|
43
|
+
sig { returns(T.nilable(Increase::Document::FundingInstructions)) }
|
44
|
+
attr_reader :funding_instructions
|
45
|
+
|
46
|
+
sig do
|
47
|
+
params(
|
48
|
+
funding_instructions:
|
49
|
+
T.nilable(Increase::Document::FundingInstructions::OrHash)
|
50
|
+
).void
|
51
|
+
end
|
52
|
+
attr_writer :funding_instructions
|
53
|
+
|
42
54
|
# The idempotency key you chose for this object. This value is unique across
|
43
55
|
# Increase and is used to ensure that a request is only processed once. Learn more
|
44
56
|
# about [idempotency](https://increase.com/documentation/idempotency-keys).
|
@@ -61,6 +73,8 @@ module Increase
|
|
61
73
|
created_at: Time,
|
62
74
|
entity_id: T.nilable(String),
|
63
75
|
file_id: String,
|
76
|
+
funding_instructions:
|
77
|
+
T.nilable(Increase::Document::FundingInstructions::OrHash),
|
64
78
|
idempotency_key: T.nilable(String),
|
65
79
|
type: Increase::Document::Type::OrSymbol
|
66
80
|
).returns(T.attached_class)
|
@@ -79,6 +93,8 @@ module Increase
|
|
79
93
|
entity_id:,
|
80
94
|
# The identifier of the File containing the Document's contents.
|
81
95
|
file_id:,
|
96
|
+
# Properties of a funding instructions document.
|
97
|
+
funding_instructions:,
|
82
98
|
# The idempotency key you chose for this object. This value is unique across
|
83
99
|
# Increase and is used to ensure that a request is only processed once. Learn more
|
84
100
|
# about [idempotency](https://increase.com/documentation/idempotency-keys).
|
@@ -99,6 +115,8 @@ module Increase
|
|
99
115
|
created_at: Time,
|
100
116
|
entity_id: T.nilable(String),
|
101
117
|
file_id: String,
|
118
|
+
funding_instructions:
|
119
|
+
T.nilable(Increase::Document::FundingInstructions),
|
102
120
|
idempotency_key: T.nilable(String),
|
103
121
|
type: Increase::Document::Type::TaggedSymbol
|
104
122
|
}
|
@@ -170,6 +188,13 @@ module Increase
|
|
170
188
|
Increase::Document::Category::TaggedSymbol
|
171
189
|
)
|
172
190
|
|
191
|
+
# Funding instructions.
|
192
|
+
FUNDING_INSTRUCTIONS =
|
193
|
+
T.let(
|
194
|
+
:funding_instructions,
|
195
|
+
Increase::Document::Category::TaggedSymbol
|
196
|
+
)
|
197
|
+
|
173
198
|
sig do
|
174
199
|
override.returns(T::Array[Increase::Document::Category::TaggedSymbol])
|
175
200
|
end
|
@@ -177,6 +202,32 @@ module Increase
|
|
177
202
|
end
|
178
203
|
end
|
179
204
|
|
205
|
+
class FundingInstructions < Increase::Internal::Type::BaseModel
|
206
|
+
OrHash =
|
207
|
+
T.type_alias do
|
208
|
+
T.any(
|
209
|
+
Increase::Document::FundingInstructions,
|
210
|
+
Increase::Internal::AnyHash
|
211
|
+
)
|
212
|
+
end
|
213
|
+
|
214
|
+
# The identifier of the Account Number the document was generated for.
|
215
|
+
sig { returns(String) }
|
216
|
+
attr_accessor :account_number_id
|
217
|
+
|
218
|
+
# Properties of a funding instructions document.
|
219
|
+
sig { params(account_number_id: String).returns(T.attached_class) }
|
220
|
+
def self.new(
|
221
|
+
# The identifier of the Account Number the document was generated for.
|
222
|
+
account_number_id:
|
223
|
+
)
|
224
|
+
end
|
225
|
+
|
226
|
+
sig { override.returns({ account_number_id: String }) }
|
227
|
+
def to_hash
|
228
|
+
end
|
229
|
+
end
|
230
|
+
|
180
231
|
# A constant representing the object's type. For this resource it will always be
|
181
232
|
# `document`.
|
182
233
|
module Type
|
@@ -31,11 +31,27 @@ module Increase
|
|
31
31
|
end
|
32
32
|
attr_writer :account_verification_letter
|
33
33
|
|
34
|
+
# Funding instructions.
|
35
|
+
sig do
|
36
|
+
returns(T.nilable(Increase::DocumentCreateParams::FundingInstructions))
|
37
|
+
end
|
38
|
+
attr_reader :funding_instructions
|
39
|
+
|
40
|
+
sig do
|
41
|
+
params(
|
42
|
+
funding_instructions:
|
43
|
+
Increase::DocumentCreateParams::FundingInstructions::OrHash
|
44
|
+
).void
|
45
|
+
end
|
46
|
+
attr_writer :funding_instructions
|
47
|
+
|
34
48
|
sig do
|
35
49
|
params(
|
36
50
|
category: Increase::DocumentCreateParams::Category::OrSymbol,
|
37
51
|
account_verification_letter:
|
38
52
|
Increase::DocumentCreateParams::AccountVerificationLetter::OrHash,
|
53
|
+
funding_instructions:
|
54
|
+
Increase::DocumentCreateParams::FundingInstructions::OrHash,
|
39
55
|
request_options: Increase::RequestOptions::OrHash
|
40
56
|
).returns(T.attached_class)
|
41
57
|
end
|
@@ -44,6 +60,8 @@ module Increase
|
|
44
60
|
category:,
|
45
61
|
# An account verification letter.
|
46
62
|
account_verification_letter: nil,
|
63
|
+
# Funding instructions.
|
64
|
+
funding_instructions: nil,
|
47
65
|
request_options: {}
|
48
66
|
)
|
49
67
|
end
|
@@ -54,6 +72,8 @@ module Increase
|
|
54
72
|
category: Increase::DocumentCreateParams::Category::OrSymbol,
|
55
73
|
account_verification_letter:
|
56
74
|
Increase::DocumentCreateParams::AccountVerificationLetter,
|
75
|
+
funding_instructions:
|
76
|
+
Increase::DocumentCreateParams::FundingInstructions,
|
57
77
|
request_options: Increase::RequestOptions
|
58
78
|
}
|
59
79
|
)
|
@@ -78,6 +98,13 @@ module Increase
|
|
78
98
|
Increase::DocumentCreateParams::Category::TaggedSymbol
|
79
99
|
)
|
80
100
|
|
101
|
+
# Funding instructions.
|
102
|
+
FUNDING_INSTRUCTIONS =
|
103
|
+
T.let(
|
104
|
+
:funding_instructions,
|
105
|
+
Increase::DocumentCreateParams::Category::TaggedSymbol
|
106
|
+
)
|
107
|
+
|
81
108
|
sig do
|
82
109
|
override.returns(
|
83
110
|
T::Array[Increase::DocumentCreateParams::Category::TaggedSymbol]
|
@@ -127,6 +154,32 @@ module Increase
|
|
127
154
|
def to_hash
|
128
155
|
end
|
129
156
|
end
|
157
|
+
|
158
|
+
class FundingInstructions < Increase::Internal::Type::BaseModel
|
159
|
+
OrHash =
|
160
|
+
T.type_alias do
|
161
|
+
T.any(
|
162
|
+
Increase::DocumentCreateParams::FundingInstructions,
|
163
|
+
Increase::Internal::AnyHash
|
164
|
+
)
|
165
|
+
end
|
166
|
+
|
167
|
+
# The Account Number the funding instructions should be generated for.
|
168
|
+
sig { returns(String) }
|
169
|
+
attr_accessor :account_number_id
|
170
|
+
|
171
|
+
# Funding instructions.
|
172
|
+
sig { params(account_number_id: String).returns(T.attached_class) }
|
173
|
+
def self.new(
|
174
|
+
# The Account Number the funding instructions should be generated for.
|
175
|
+
account_number_id:
|
176
|
+
)
|
177
|
+
end
|
178
|
+
|
179
|
+
sig { override.returns({ account_number_id: String }) }
|
180
|
+
def to_hash
|
181
|
+
end
|
182
|
+
end
|
130
183
|
end
|
131
184
|
end
|
132
185
|
end
|
@@ -201,6 +201,13 @@ module Increase
|
|
201
201
|
Increase::DocumentListParams::Category::In::TaggedSymbol
|
202
202
|
)
|
203
203
|
|
204
|
+
# Funding instructions.
|
205
|
+
FUNDING_INSTRUCTIONS =
|
206
|
+
T.let(
|
207
|
+
:funding_instructions,
|
208
|
+
Increase::DocumentListParams::Category::In::TaggedSymbol
|
209
|
+
)
|
210
|
+
|
204
211
|
sig do
|
205
212
|
override.returns(
|
206
213
|
T::Array[Increase::DocumentListParams::Category::In::TaggedSymbol]
|
@@ -265,6 +265,10 @@ module Increase
|
|
265
265
|
Increase::File::Purpose::TaggedSymbol
|
266
266
|
)
|
267
267
|
|
268
|
+
# Funding instructions.
|
269
|
+
FUNDING_INSTRUCTIONS =
|
270
|
+
T.let(:funding_instructions, Increase::File::Purpose::TaggedSymbol)
|
271
|
+
|
268
272
|
sig do
|
269
273
|
override.returns(T::Array[Increase::File::Purpose::TaggedSymbol])
|
270
274
|
end
|
@@ -396,6 +396,13 @@ module Increase
|
|
396
396
|
Increase::FileListParams::Purpose::In::TaggedSymbol
|
397
397
|
)
|
398
398
|
|
399
|
+
# Funding instructions.
|
400
|
+
FUNDING_INSTRUCTIONS =
|
401
|
+
T.let(
|
402
|
+
:funding_instructions,
|
403
|
+
Increase::FileListParams::Purpose::In::TaggedSymbol
|
404
|
+
)
|
405
|
+
|
399
406
|
sig do
|
400
407
|
override.returns(
|
401
408
|
T::Array[Increase::FileListParams::Purpose::In::TaggedSymbol]
|
@@ -81,7 +81,9 @@ module Increase
|
|
81
81
|
attr_accessor :type
|
82
82
|
|
83
83
|
# Pending Transactions are potential future additions and removals of money from
|
84
|
-
# your bank account.
|
84
|
+
# your bank account. They impact your available balance, but not your current
|
85
|
+
# balance. To learn more, see
|
86
|
+
# [Transactions and Transfers](/documentation/transactions-transfers).
|
85
87
|
sig do
|
86
88
|
params(
|
87
89
|
id: String,
|
@@ -63,7 +63,8 @@ module Increase
|
|
63
63
|
attr_accessor :type
|
64
64
|
|
65
65
|
# Transactions are the immutable additions and removals of money from your bank
|
66
|
-
# account. They're the equivalent of line items on your bank statement.
|
66
|
+
# account. They're the equivalent of line items on your bank statement. To learn
|
67
|
+
# more, see [Transactions and Transfers](/documentation/transactions-transfers).
|
67
68
|
sig do
|
68
69
|
params(
|
69
70
|
id: String,
|
@@ -9,6 +9,8 @@ module Increase
|
|
9
9
|
category: Increase::DocumentCreateParams::Category::OrSymbol,
|
10
10
|
account_verification_letter:
|
11
11
|
Increase::DocumentCreateParams::AccountVerificationLetter::OrHash,
|
12
|
+
funding_instructions:
|
13
|
+
Increase::DocumentCreateParams::FundingInstructions::OrHash,
|
12
14
|
request_options: Increase::RequestOptions::OrHash
|
13
15
|
).returns(Increase::Document)
|
14
16
|
end
|
@@ -17,6 +19,8 @@ module Increase
|
|
17
19
|
category:,
|
18
20
|
# An account verification letter.
|
19
21
|
account_verification_letter: nil,
|
22
|
+
# Funding instructions.
|
23
|
+
funding_instructions: nil,
|
20
24
|
request_options: {}
|
21
25
|
)
|
22
26
|
end
|
@@ -8,6 +8,7 @@ module Increase
|
|
8
8
|
created_at: Time,
|
9
9
|
entity_id: String?,
|
10
10
|
file_id: String,
|
11
|
+
funding_instructions: Increase::Document::FundingInstructions?,
|
11
12
|
idempotency_key: String?,
|
12
13
|
type: Increase::Models::Document::type_
|
13
14
|
}
|
@@ -25,6 +26,8 @@ module Increase
|
|
25
26
|
|
26
27
|
attr_accessor file_id: String
|
27
28
|
|
29
|
+
attr_accessor funding_instructions: Increase::Document::FundingInstructions?
|
30
|
+
|
28
31
|
attr_accessor idempotency_key: String?
|
29
32
|
|
30
33
|
attr_accessor type: Increase::Models::Document::type_
|
@@ -36,6 +39,7 @@ module Increase
|
|
36
39
|
created_at: Time,
|
37
40
|
entity_id: String?,
|
38
41
|
file_id: String,
|
42
|
+
funding_instructions: Increase::Document::FundingInstructions?,
|
39
43
|
idempotency_key: String?,
|
40
44
|
type: Increase::Models::Document::type_
|
41
45
|
) -> void
|
@@ -47,6 +51,7 @@ module Increase
|
|
47
51
|
created_at: Time,
|
48
52
|
entity_id: String?,
|
49
53
|
file_id: String,
|
54
|
+
funding_instructions: Increase::Document::FundingInstructions?,
|
50
55
|
idempotency_key: String?,
|
51
56
|
type: Increase::Models::Document::type_
|
52
57
|
}
|
@@ -67,6 +72,7 @@ module Increase
|
|
67
72
|
| :proof_of_authorization
|
68
73
|
| :company_information
|
69
74
|
| :account_verification_letter
|
75
|
+
| :funding_instructions
|
70
76
|
|
71
77
|
module Category
|
72
78
|
extend Increase::Internal::Type::Enum
|
@@ -86,9 +92,22 @@ module Increase
|
|
86
92
|
# An account verification letter.
|
87
93
|
ACCOUNT_VERIFICATION_LETTER: :account_verification_letter
|
88
94
|
|
95
|
+
# Funding instructions.
|
96
|
+
FUNDING_INSTRUCTIONS: :funding_instructions
|
97
|
+
|
89
98
|
def self?.values: -> ::Array[Increase::Models::Document::category]
|
90
99
|
end
|
91
100
|
|
101
|
+
type funding_instructions = { account_number_id: String }
|
102
|
+
|
103
|
+
class FundingInstructions < Increase::Internal::Type::BaseModel
|
104
|
+
attr_accessor account_number_id: String
|
105
|
+
|
106
|
+
def initialize: (account_number_id: String) -> void
|
107
|
+
|
108
|
+
def to_hash: -> { account_number_id: String }
|
109
|
+
end
|
110
|
+
|
92
111
|
type type_ = :document
|
93
112
|
|
94
113
|
module Type
|
@@ -3,7 +3,8 @@ module Increase
|
|
3
3
|
type document_create_params =
|
4
4
|
{
|
5
5
|
category: Increase::Models::DocumentCreateParams::category,
|
6
|
-
account_verification_letter: Increase::DocumentCreateParams::AccountVerificationLetter
|
6
|
+
account_verification_letter: Increase::DocumentCreateParams::AccountVerificationLetter,
|
7
|
+
funding_instructions: Increase::DocumentCreateParams::FundingInstructions
|
7
8
|
}
|
8
9
|
& Increase::Internal::Type::request_parameters
|
9
10
|
|
@@ -19,19 +20,27 @@ module Increase
|
|
19
20
|
Increase::DocumentCreateParams::AccountVerificationLetter
|
20
21
|
) -> Increase::DocumentCreateParams::AccountVerificationLetter
|
21
22
|
|
23
|
+
attr_reader funding_instructions: Increase::DocumentCreateParams::FundingInstructions?
|
24
|
+
|
25
|
+
def funding_instructions=: (
|
26
|
+
Increase::DocumentCreateParams::FundingInstructions
|
27
|
+
) -> Increase::DocumentCreateParams::FundingInstructions
|
28
|
+
|
22
29
|
def initialize: (
|
23
30
|
category: Increase::Models::DocumentCreateParams::category,
|
24
31
|
?account_verification_letter: Increase::DocumentCreateParams::AccountVerificationLetter,
|
32
|
+
?funding_instructions: Increase::DocumentCreateParams::FundingInstructions,
|
25
33
|
?request_options: Increase::request_opts
|
26
34
|
) -> void
|
27
35
|
|
28
36
|
def to_hash: -> {
|
29
37
|
category: Increase::Models::DocumentCreateParams::category,
|
30
38
|
account_verification_letter: Increase::DocumentCreateParams::AccountVerificationLetter,
|
39
|
+
funding_instructions: Increase::DocumentCreateParams::FundingInstructions,
|
31
40
|
request_options: Increase::RequestOptions
|
32
41
|
}
|
33
42
|
|
34
|
-
type category = :account_verification_letter
|
43
|
+
type category = :account_verification_letter | :funding_instructions
|
35
44
|
|
36
45
|
module Category
|
37
46
|
extend Increase::Internal::Type::Enum
|
@@ -39,6 +48,9 @@ module Increase
|
|
39
48
|
# An account verification letter.
|
40
49
|
ACCOUNT_VERIFICATION_LETTER: :account_verification_letter
|
41
50
|
|
51
|
+
# Funding instructions.
|
52
|
+
FUNDING_INSTRUCTIONS: :funding_instructions
|
53
|
+
|
42
54
|
def self?.values: -> ::Array[Increase::Models::DocumentCreateParams::category]
|
43
55
|
end
|
44
56
|
|
@@ -56,6 +68,16 @@ module Increase
|
|
56
68
|
|
57
69
|
def to_hash: -> { account_number_id: String, balance_date: Date }
|
58
70
|
end
|
71
|
+
|
72
|
+
type funding_instructions = { account_number_id: String }
|
73
|
+
|
74
|
+
class FundingInstructions < Increase::Internal::Type::BaseModel
|
75
|
+
attr_accessor account_number_id: String
|
76
|
+
|
77
|
+
def initialize: (account_number_id: String) -> void
|
78
|
+
|
79
|
+
def to_hash: -> { account_number_id: String }
|
80
|
+
end
|
59
81
|
end
|
60
82
|
end
|
61
83
|
end
|
@@ -87,6 +87,7 @@ module Increase
|
|
87
87
|
| :proof_of_authorization
|
88
88
|
| :company_information
|
89
89
|
| :account_verification_letter
|
90
|
+
| :funding_instructions
|
90
91
|
|
91
92
|
module In
|
92
93
|
extend Increase::Internal::Type::Enum
|
@@ -106,6 +107,9 @@ module Increase
|
|
106
107
|
# An account verification letter.
|
107
108
|
ACCOUNT_VERIFICATION_LETTER: :account_verification_letter
|
108
109
|
|
110
|
+
# Funding instructions.
|
111
|
+
FUNDING_INSTRUCTIONS: :funding_instructions
|
112
|
+
|
109
113
|
def self?.values: -> ::Array[Increase::Models::DocumentListParams::Category::in_]
|
110
114
|
end
|
111
115
|
end
|
@@ -97,6 +97,7 @@ module Increase
|
|
97
97
|
| :deposit_account_control_agreement
|
98
98
|
| :proof_of_authorization_request_submission
|
99
99
|
| :account_verification_letter
|
100
|
+
| :funding_instructions
|
100
101
|
|
101
102
|
module Purpose
|
102
103
|
extend Increase::Internal::Type::Enum
|
@@ -179,6 +180,9 @@ module Increase
|
|
179
180
|
# An account verification letter.
|
180
181
|
ACCOUNT_VERIFICATION_LETTER: :account_verification_letter
|
181
182
|
|
183
|
+
# Funding instructions.
|
184
|
+
FUNDING_INSTRUCTIONS: :funding_instructions
|
185
|
+
|
182
186
|
def self?.values: -> ::Array[Increase::Models::File::purpose]
|
183
187
|
end
|
184
188
|
|
@@ -136,6 +136,7 @@ module Increase
|
|
136
136
|
| :deposit_account_control_agreement
|
137
137
|
| :proof_of_authorization_request_submission
|
138
138
|
| :account_verification_letter
|
139
|
+
| :funding_instructions
|
139
140
|
|
140
141
|
module In
|
141
142
|
extend Increase::Internal::Type::Enum
|
@@ -218,6 +219,9 @@ module Increase
|
|
218
219
|
# An account verification letter.
|
219
220
|
ACCOUNT_VERIFICATION_LETTER: :account_verification_letter
|
220
221
|
|
222
|
+
# Funding instructions.
|
223
|
+
FUNDING_INSTRUCTIONS: :funding_instructions
|
224
|
+
|
221
225
|
def self?.values: -> ::Array[Increase::Models::FileListParams::Purpose::in_]
|
222
226
|
end
|
223
227
|
end
|
@@ -4,6 +4,7 @@ module Increase
|
|
4
4
|
def create: (
|
5
5
|
category: Increase::Models::DocumentCreateParams::category,
|
6
6
|
?account_verification_letter: Increase::DocumentCreateParams::AccountVerificationLetter,
|
7
|
+
?funding_instructions: Increase::DocumentCreateParams::FundingInstructions,
|
7
8
|
?request_options: Increase::request_opts
|
8
9
|
) -> Increase::Document
|
9
10
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: increase
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Increase
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-06-
|
11
|
+
date: 2025-06-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: connection_pool
|