increase 1.113.0 → 1.114.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.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/README.md +1 -1
  4. data/lib/increase/client.rb +8 -0
  5. data/lib/increase/models/fednow_transfer.rb +516 -0
  6. data/lib/increase/models/fednow_transfer_approve_params.rb +14 -0
  7. data/lib/increase/models/fednow_transfer_cancel_params.rb +14 -0
  8. data/lib/increase/models/fednow_transfer_create_params.rb +188 -0
  9. data/lib/increase/models/fednow_transfer_list_params.rb +170 -0
  10. data/lib/increase/models/fednow_transfer_retrieve_params.rb +14 -0
  11. data/lib/increase/models/inbound_fednow_transfer.rb +278 -0
  12. data/lib/increase/models/inbound_fednow_transfer_list_params.rb +100 -0
  13. data/lib/increase/models/inbound_fednow_transfer_retrieve_params.rb +14 -0
  14. data/lib/increase/models/simulations/inbound_fednow_transfer_create_params.rb +64 -0
  15. data/lib/increase/models.rb +18 -0
  16. data/lib/increase/resources/fednow_transfers.rb +159 -0
  17. data/lib/increase/resources/inbound_fednow_transfers.rb +68 -0
  18. data/lib/increase/resources/simulations/inbound_fednow_transfers.rb +49 -0
  19. data/lib/increase/resources/simulations.rb +4 -0
  20. data/lib/increase/version.rb +1 -1
  21. data/lib/increase.rb +13 -0
  22. data/rbi/increase/client.rbi +6 -0
  23. data/rbi/increase/models/fednow_transfer.rbi +877 -0
  24. data/rbi/increase/models/fednow_transfer_approve_params.rbi +30 -0
  25. data/rbi/increase/models/fednow_transfer_cancel_params.rbi +30 -0
  26. data/rbi/increase/models/fednow_transfer_create_params.rbi +289 -0
  27. data/rbi/increase/models/fednow_transfer_list_params.rbi +334 -0
  28. data/rbi/increase/models/fednow_transfer_retrieve_params.rbi +30 -0
  29. data/rbi/increase/models/inbound_fednow_transfer.rbi +444 -0
  30. data/rbi/increase/models/inbound_fednow_transfer_list_params.rbi +177 -0
  31. data/rbi/increase/models/inbound_fednow_transfer_retrieve_params.rbi +30 -0
  32. data/rbi/increase/models/simulations/inbound_fednow_transfer_create_params.rbi +100 -0
  33. data/rbi/increase/models.rbi +20 -0
  34. data/rbi/increase/resources/fednow_transfers.rbi +138 -0
  35. data/rbi/increase/resources/inbound_fednow_transfers.rbi +54 -0
  36. data/rbi/increase/resources/simulations/inbound_fednow_transfers.rbi +44 -0
  37. data/rbi/increase/resources/simulations.rbi +3 -0
  38. data/sig/increase/client.rbs +4 -0
  39. data/sig/increase/models/fednow_transfer.rbs +404 -0
  40. data/sig/increase/models/fednow_transfer_approve_params.rbs +15 -0
  41. data/sig/increase/models/fednow_transfer_cancel_params.rbs +15 -0
  42. data/sig/increase/models/fednow_transfer_create_params.rbs +155 -0
  43. data/sig/increase/models/fednow_transfer_list_params.rbs +174 -0
  44. data/sig/increase/models/fednow_transfer_retrieve_params.rbs +15 -0
  45. data/sig/increase/models/inbound_fednow_transfer.rbs +223 -0
  46. data/sig/increase/models/inbound_fednow_transfer_list_params.rbs +93 -0
  47. data/sig/increase/models/inbound_fednow_transfer_retrieve_params.rbs +15 -0
  48. data/sig/increase/models/simulations/inbound_fednow_transfer_create_params.rbs +61 -0
  49. data/sig/increase/models.rbs +18 -0
  50. data/sig/increase/resources/fednow_transfers.rbs +49 -0
  51. data/sig/increase/resources/inbound_fednow_transfers.rbs +21 -0
  52. data/sig/increase/resources/simulations/inbound_fednow_transfers.rbs +19 -0
  53. data/sig/increase/resources/simulations.rbs +2 -0
  54. metadata +41 -2
@@ -0,0 +1,30 @@
1
+ # typed: strong
2
+
3
+ module Increase
4
+ module Models
5
+ class FednowTransferApproveParams < Increase::Internal::Type::BaseModel
6
+ extend Increase::Internal::Type::RequestParameters::Converter
7
+ include Increase::Internal::Type::RequestParameters
8
+
9
+ OrHash =
10
+ T.type_alias do
11
+ T.any(
12
+ Increase::FednowTransferApproveParams,
13
+ Increase::Internal::AnyHash
14
+ )
15
+ end
16
+
17
+ sig do
18
+ params(request_options: Increase::RequestOptions::OrHash).returns(
19
+ T.attached_class
20
+ )
21
+ end
22
+ def self.new(request_options: {})
23
+ end
24
+
25
+ sig { override.returns({ request_options: Increase::RequestOptions }) }
26
+ def to_hash
27
+ end
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,30 @@
1
+ # typed: strong
2
+
3
+ module Increase
4
+ module Models
5
+ class FednowTransferCancelParams < Increase::Internal::Type::BaseModel
6
+ extend Increase::Internal::Type::RequestParameters::Converter
7
+ include Increase::Internal::Type::RequestParameters
8
+
9
+ OrHash =
10
+ T.type_alias do
11
+ T.any(
12
+ Increase::FednowTransferCancelParams,
13
+ Increase::Internal::AnyHash
14
+ )
15
+ end
16
+
17
+ sig do
18
+ params(request_options: Increase::RequestOptions::OrHash).returns(
19
+ T.attached_class
20
+ )
21
+ end
22
+ def self.new(request_options: {})
23
+ end
24
+
25
+ sig { override.returns({ request_options: Increase::RequestOptions }) }
26
+ def to_hash
27
+ end
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,289 @@
1
+ # typed: strong
2
+
3
+ module Increase
4
+ module Models
5
+ class FednowTransferCreateParams < Increase::Internal::Type::BaseModel
6
+ extend Increase::Internal::Type::RequestParameters::Converter
7
+ include Increase::Internal::Type::RequestParameters
8
+
9
+ OrHash =
10
+ T.type_alias do
11
+ T.any(
12
+ Increase::FednowTransferCreateParams,
13
+ Increase::Internal::AnyHash
14
+ )
15
+ end
16
+
17
+ # The identifier for the account that will send the transfer.
18
+ sig { returns(String) }
19
+ attr_accessor :account_id
20
+
21
+ # The amount, in minor units, to send to the creditor.
22
+ sig { returns(Integer) }
23
+ attr_accessor :amount
24
+
25
+ # The creditor's name.
26
+ sig { returns(String) }
27
+ attr_accessor :creditor_name
28
+
29
+ # The debtor's name.
30
+ sig { returns(String) }
31
+ attr_accessor :debtor_name
32
+
33
+ # The Account Number to include in the transfer as the debtor's account number.
34
+ sig { returns(String) }
35
+ attr_accessor :source_account_number_id
36
+
37
+ # Unstructured remittance information to include in the transfer.
38
+ sig { returns(String) }
39
+ attr_accessor :unstructured_remittance_information
40
+
41
+ # The creditor's account number.
42
+ sig { returns(T.nilable(String)) }
43
+ attr_reader :account_number
44
+
45
+ sig { params(account_number: String).void }
46
+ attr_writer :account_number
47
+
48
+ # The creditor's address.
49
+ sig do
50
+ returns(
51
+ T.nilable(Increase::FednowTransferCreateParams::CreditorAddress)
52
+ )
53
+ end
54
+ attr_reader :creditor_address
55
+
56
+ sig do
57
+ params(
58
+ creditor_address:
59
+ Increase::FednowTransferCreateParams::CreditorAddress::OrHash
60
+ ).void
61
+ end
62
+ attr_writer :creditor_address
63
+
64
+ # The debtor's address.
65
+ sig do
66
+ returns(T.nilable(Increase::FednowTransferCreateParams::DebtorAddress))
67
+ end
68
+ attr_reader :debtor_address
69
+
70
+ sig do
71
+ params(
72
+ debtor_address:
73
+ Increase::FednowTransferCreateParams::DebtorAddress::OrHash
74
+ ).void
75
+ end
76
+ attr_writer :debtor_address
77
+
78
+ # The ID of an External Account to initiate a transfer to. If this parameter is
79
+ # provided, `account_number` and `routing_number` must be absent.
80
+ sig { returns(T.nilable(String)) }
81
+ attr_reader :external_account_id
82
+
83
+ sig { params(external_account_id: String).void }
84
+ attr_writer :external_account_id
85
+
86
+ # Whether the transfer requires explicit approval via the dashboard or API.
87
+ sig { returns(T.nilable(T::Boolean)) }
88
+ attr_reader :require_approval
89
+
90
+ sig { params(require_approval: T::Boolean).void }
91
+ attr_writer :require_approval
92
+
93
+ # The creditor's bank account routing number.
94
+ sig { returns(T.nilable(String)) }
95
+ attr_reader :routing_number
96
+
97
+ sig { params(routing_number: String).void }
98
+ attr_writer :routing_number
99
+
100
+ sig do
101
+ params(
102
+ account_id: String,
103
+ amount: Integer,
104
+ creditor_name: String,
105
+ debtor_name: String,
106
+ source_account_number_id: String,
107
+ unstructured_remittance_information: String,
108
+ account_number: String,
109
+ creditor_address:
110
+ Increase::FednowTransferCreateParams::CreditorAddress::OrHash,
111
+ debtor_address:
112
+ Increase::FednowTransferCreateParams::DebtorAddress::OrHash,
113
+ external_account_id: String,
114
+ require_approval: T::Boolean,
115
+ routing_number: String,
116
+ request_options: Increase::RequestOptions::OrHash
117
+ ).returns(T.attached_class)
118
+ end
119
+ def self.new(
120
+ # The identifier for the account that will send the transfer.
121
+ account_id:,
122
+ # The amount, in minor units, to send to the creditor.
123
+ amount:,
124
+ # The creditor's name.
125
+ creditor_name:,
126
+ # The debtor's name.
127
+ debtor_name:,
128
+ # The Account Number to include in the transfer as the debtor's account number.
129
+ source_account_number_id:,
130
+ # Unstructured remittance information to include in the transfer.
131
+ unstructured_remittance_information:,
132
+ # The creditor's account number.
133
+ account_number: nil,
134
+ # The creditor's address.
135
+ creditor_address: nil,
136
+ # The debtor's address.
137
+ debtor_address: nil,
138
+ # The ID of an External Account to initiate a transfer to. If this parameter is
139
+ # provided, `account_number` and `routing_number` must be absent.
140
+ external_account_id: nil,
141
+ # Whether the transfer requires explicit approval via the dashboard or API.
142
+ require_approval: nil,
143
+ # The creditor's bank account routing number.
144
+ routing_number: nil,
145
+ request_options: {}
146
+ )
147
+ end
148
+
149
+ sig do
150
+ override.returns(
151
+ {
152
+ account_id: String,
153
+ amount: Integer,
154
+ creditor_name: String,
155
+ debtor_name: String,
156
+ source_account_number_id: String,
157
+ unstructured_remittance_information: String,
158
+ account_number: String,
159
+ creditor_address:
160
+ Increase::FednowTransferCreateParams::CreditorAddress,
161
+ debtor_address: Increase::FednowTransferCreateParams::DebtorAddress,
162
+ external_account_id: String,
163
+ require_approval: T::Boolean,
164
+ routing_number: String,
165
+ request_options: Increase::RequestOptions
166
+ }
167
+ )
168
+ end
169
+ def to_hash
170
+ end
171
+
172
+ class CreditorAddress < Increase::Internal::Type::BaseModel
173
+ OrHash =
174
+ T.type_alias do
175
+ T.any(
176
+ Increase::FednowTransferCreateParams::CreditorAddress,
177
+ Increase::Internal::AnyHash
178
+ )
179
+ end
180
+
181
+ # The city, district, town, or village of the address.
182
+ sig { returns(String) }
183
+ attr_accessor :city
184
+
185
+ # The postal code component of the address.
186
+ sig { returns(String) }
187
+ attr_accessor :postal_code
188
+
189
+ # The US state component of the address.
190
+ sig { returns(String) }
191
+ attr_accessor :state
192
+
193
+ # The first line of the address. This is usually the street number and street.
194
+ sig { returns(T.nilable(String)) }
195
+ attr_reader :line1
196
+
197
+ sig { params(line1: String).void }
198
+ attr_writer :line1
199
+
200
+ # The creditor's address.
201
+ sig do
202
+ params(
203
+ city: String,
204
+ postal_code: String,
205
+ state: String,
206
+ line1: String
207
+ ).returns(T.attached_class)
208
+ end
209
+ def self.new(
210
+ # The city, district, town, or village of the address.
211
+ city:,
212
+ # The postal code component of the address.
213
+ postal_code:,
214
+ # The US state component of the address.
215
+ state:,
216
+ # The first line of the address. This is usually the street number and street.
217
+ line1: nil
218
+ )
219
+ end
220
+
221
+ sig do
222
+ override.returns(
223
+ { city: String, postal_code: String, state: String, line1: String }
224
+ )
225
+ end
226
+ def to_hash
227
+ end
228
+ end
229
+
230
+ class DebtorAddress < Increase::Internal::Type::BaseModel
231
+ OrHash =
232
+ T.type_alias do
233
+ T.any(
234
+ Increase::FednowTransferCreateParams::DebtorAddress,
235
+ Increase::Internal::AnyHash
236
+ )
237
+ end
238
+
239
+ # The city, district, town, or village of the address.
240
+ sig { returns(String) }
241
+ attr_accessor :city
242
+
243
+ # The postal code component of the address.
244
+ sig { returns(String) }
245
+ attr_accessor :postal_code
246
+
247
+ # The US state component of the address.
248
+ sig { returns(String) }
249
+ attr_accessor :state
250
+
251
+ # The first line of the address. This is usually the street number and street.
252
+ sig { returns(T.nilable(String)) }
253
+ attr_reader :line1
254
+
255
+ sig { params(line1: String).void }
256
+ attr_writer :line1
257
+
258
+ # The debtor's address.
259
+ sig do
260
+ params(
261
+ city: String,
262
+ postal_code: String,
263
+ state: String,
264
+ line1: String
265
+ ).returns(T.attached_class)
266
+ end
267
+ def self.new(
268
+ # The city, district, town, or village of the address.
269
+ city:,
270
+ # The postal code component of the address.
271
+ postal_code:,
272
+ # The US state component of the address.
273
+ state:,
274
+ # The first line of the address. This is usually the street number and street.
275
+ line1: nil
276
+ )
277
+ end
278
+
279
+ sig do
280
+ override.returns(
281
+ { city: String, postal_code: String, state: String, line1: String }
282
+ )
283
+ end
284
+ def to_hash
285
+ end
286
+ end
287
+ end
288
+ end
289
+ end
@@ -0,0 +1,334 @@
1
+ # typed: strong
2
+
3
+ module Increase
4
+ module Models
5
+ class FednowTransferListParams < Increase::Internal::Type::BaseModel
6
+ extend Increase::Internal::Type::RequestParameters::Converter
7
+ include Increase::Internal::Type::RequestParameters
8
+
9
+ OrHash =
10
+ T.type_alias do
11
+ T.any(Increase::FednowTransferListParams, Increase::Internal::AnyHash)
12
+ end
13
+
14
+ # Filter FedNow Transfers to those that originated from the specified Account.
15
+ sig { returns(T.nilable(String)) }
16
+ attr_reader :account_id
17
+
18
+ sig { params(account_id: String).void }
19
+ attr_writer :account_id
20
+
21
+ sig { returns(T.nilable(Increase::FednowTransferListParams::CreatedAt)) }
22
+ attr_reader :created_at
23
+
24
+ sig do
25
+ params(
26
+ created_at: Increase::FednowTransferListParams::CreatedAt::OrHash
27
+ ).void
28
+ end
29
+ attr_writer :created_at
30
+
31
+ # Return the page of entries after this one.
32
+ sig { returns(T.nilable(String)) }
33
+ attr_reader :cursor
34
+
35
+ sig { params(cursor: String).void }
36
+ attr_writer :cursor
37
+
38
+ # Filter FedNow Transfers to those made to the specified External Account.
39
+ sig { returns(T.nilable(String)) }
40
+ attr_reader :external_account_id
41
+
42
+ sig { params(external_account_id: String).void }
43
+ attr_writer :external_account_id
44
+
45
+ # Filter records to the one with the specified `idempotency_key` you chose for
46
+ # that object. This value is unique across Increase and is used to ensure that a
47
+ # request is only processed once. Learn more about
48
+ # [idempotency](https://increase.com/documentation/idempotency-keys).
49
+ sig { returns(T.nilable(String)) }
50
+ attr_reader :idempotency_key
51
+
52
+ sig { params(idempotency_key: String).void }
53
+ attr_writer :idempotency_key
54
+
55
+ # Limit the size of the list that is returned. The default (and maximum) is 100
56
+ # objects.
57
+ sig { returns(T.nilable(Integer)) }
58
+ attr_reader :limit
59
+
60
+ sig { params(limit: Integer).void }
61
+ attr_writer :limit
62
+
63
+ sig { returns(T.nilable(Increase::FednowTransferListParams::Status)) }
64
+ attr_reader :status
65
+
66
+ sig do
67
+ params(status: Increase::FednowTransferListParams::Status::OrHash).void
68
+ end
69
+ attr_writer :status
70
+
71
+ sig do
72
+ params(
73
+ account_id: String,
74
+ created_at: Increase::FednowTransferListParams::CreatedAt::OrHash,
75
+ cursor: String,
76
+ external_account_id: String,
77
+ idempotency_key: String,
78
+ limit: Integer,
79
+ status: Increase::FednowTransferListParams::Status::OrHash,
80
+ request_options: Increase::RequestOptions::OrHash
81
+ ).returns(T.attached_class)
82
+ end
83
+ def self.new(
84
+ # Filter FedNow Transfers to those that originated from the specified Account.
85
+ account_id: nil,
86
+ created_at: nil,
87
+ # Return the page of entries after this one.
88
+ cursor: nil,
89
+ # Filter FedNow Transfers to those made to the specified External Account.
90
+ external_account_id: nil,
91
+ # Filter records to the one with the specified `idempotency_key` you chose for
92
+ # that object. This value is unique across Increase and is used to ensure that a
93
+ # request is only processed once. Learn more about
94
+ # [idempotency](https://increase.com/documentation/idempotency-keys).
95
+ idempotency_key: nil,
96
+ # Limit the size of the list that is returned. The default (and maximum) is 100
97
+ # objects.
98
+ limit: nil,
99
+ status: nil,
100
+ request_options: {}
101
+ )
102
+ end
103
+
104
+ sig do
105
+ override.returns(
106
+ {
107
+ account_id: String,
108
+ created_at: Increase::FednowTransferListParams::CreatedAt,
109
+ cursor: String,
110
+ external_account_id: String,
111
+ idempotency_key: String,
112
+ limit: Integer,
113
+ status: Increase::FednowTransferListParams::Status,
114
+ request_options: Increase::RequestOptions
115
+ }
116
+ )
117
+ end
118
+ def to_hash
119
+ end
120
+
121
+ class CreatedAt < Increase::Internal::Type::BaseModel
122
+ OrHash =
123
+ T.type_alias do
124
+ T.any(
125
+ Increase::FednowTransferListParams::CreatedAt,
126
+ Increase::Internal::AnyHash
127
+ )
128
+ end
129
+
130
+ # Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
131
+ # timestamp.
132
+ sig { returns(T.nilable(Time)) }
133
+ attr_reader :after
134
+
135
+ sig { params(after: Time).void }
136
+ attr_writer :after
137
+
138
+ # Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
139
+ # timestamp.
140
+ sig { returns(T.nilable(Time)) }
141
+ attr_reader :before
142
+
143
+ sig { params(before: Time).void }
144
+ attr_writer :before
145
+
146
+ # Return results on or after this
147
+ # [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
148
+ sig { returns(T.nilable(Time)) }
149
+ attr_reader :on_or_after
150
+
151
+ sig { params(on_or_after: Time).void }
152
+ attr_writer :on_or_after
153
+
154
+ # Return results on or before this
155
+ # [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
156
+ sig { returns(T.nilable(Time)) }
157
+ attr_reader :on_or_before
158
+
159
+ sig { params(on_or_before: Time).void }
160
+ attr_writer :on_or_before
161
+
162
+ sig do
163
+ params(
164
+ after: Time,
165
+ before: Time,
166
+ on_or_after: Time,
167
+ on_or_before: Time
168
+ ).returns(T.attached_class)
169
+ end
170
+ def self.new(
171
+ # Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
172
+ # timestamp.
173
+ after: nil,
174
+ # Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
175
+ # timestamp.
176
+ before: nil,
177
+ # Return results on or after this
178
+ # [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
179
+ on_or_after: nil,
180
+ # Return results on or before this
181
+ # [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
182
+ on_or_before: nil
183
+ )
184
+ end
185
+
186
+ sig do
187
+ override.returns(
188
+ { after: Time, before: Time, on_or_after: Time, on_or_before: Time }
189
+ )
190
+ end
191
+ def to_hash
192
+ end
193
+ end
194
+
195
+ class Status < Increase::Internal::Type::BaseModel
196
+ OrHash =
197
+ T.type_alias do
198
+ T.any(
199
+ Increase::FednowTransferListParams::Status,
200
+ Increase::Internal::AnyHash
201
+ )
202
+ end
203
+
204
+ # Return results whose value is in the provided list. For GET requests, this
205
+ # should be encoded as a comma-delimited string, such as `?in=one,two,three`.
206
+ sig do
207
+ returns(
208
+ T.nilable(
209
+ T::Array[Increase::FednowTransferListParams::Status::In::OrSymbol]
210
+ )
211
+ )
212
+ end
213
+ attr_reader :in_
214
+
215
+ sig do
216
+ params(
217
+ in_:
218
+ T::Array[Increase::FednowTransferListParams::Status::In::OrSymbol]
219
+ ).void
220
+ end
221
+ attr_writer :in_
222
+
223
+ sig do
224
+ params(
225
+ in_:
226
+ T::Array[Increase::FednowTransferListParams::Status::In::OrSymbol]
227
+ ).returns(T.attached_class)
228
+ end
229
+ def self.new(
230
+ # Return results whose value is in the provided list. For GET requests, this
231
+ # should be encoded as a comma-delimited string, such as `?in=one,two,three`.
232
+ in_: nil
233
+ )
234
+ end
235
+
236
+ sig do
237
+ override.returns(
238
+ {
239
+ in_:
240
+ T::Array[
241
+ Increase::FednowTransferListParams::Status::In::OrSymbol
242
+ ]
243
+ }
244
+ )
245
+ end
246
+ def to_hash
247
+ end
248
+
249
+ module In
250
+ extend Increase::Internal::Type::Enum
251
+
252
+ TaggedSymbol =
253
+ T.type_alias do
254
+ T.all(Symbol, Increase::FednowTransferListParams::Status::In)
255
+ end
256
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
257
+
258
+ # The transfer is pending review by Increase.
259
+ PENDING_REVIEWING =
260
+ T.let(
261
+ :pending_reviewing,
262
+ Increase::FednowTransferListParams::Status::In::TaggedSymbol
263
+ )
264
+
265
+ # The transfer has been canceled.
266
+ CANCELED =
267
+ T.let(
268
+ :canceled,
269
+ Increase::FednowTransferListParams::Status::In::TaggedSymbol
270
+ )
271
+
272
+ # The transfer has been rejected by Increase.
273
+ REVIEWING_REJECTED =
274
+ T.let(
275
+ :reviewing_rejected,
276
+ Increase::FednowTransferListParams::Status::In::TaggedSymbol
277
+ )
278
+
279
+ # The transfer requires attention from an Increase operator.
280
+ REQUIRES_ATTENTION =
281
+ T.let(
282
+ :requires_attention,
283
+ Increase::FednowTransferListParams::Status::In::TaggedSymbol
284
+ )
285
+
286
+ # The transfer is pending approval.
287
+ PENDING_APPROVAL =
288
+ T.let(
289
+ :pending_approval,
290
+ Increase::FednowTransferListParams::Status::In::TaggedSymbol
291
+ )
292
+
293
+ # The transfer is queued to be submitted to FedNow.
294
+ PENDING_SUBMITTING =
295
+ T.let(
296
+ :pending_submitting,
297
+ Increase::FednowTransferListParams::Status::In::TaggedSymbol
298
+ )
299
+
300
+ # The transfer has been submitted and is pending a response from FedNow.
301
+ PENDING_RESPONSE =
302
+ T.let(
303
+ :pending_response,
304
+ Increase::FednowTransferListParams::Status::In::TaggedSymbol
305
+ )
306
+
307
+ # The transfer has been sent successfully and is complete.
308
+ COMPLETE =
309
+ T.let(
310
+ :complete,
311
+ Increase::FednowTransferListParams::Status::In::TaggedSymbol
312
+ )
313
+
314
+ # The transfer was rejected by the network or the recipient's bank.
315
+ REJECTED =
316
+ T.let(
317
+ :rejected,
318
+ Increase::FednowTransferListParams::Status::In::TaggedSymbol
319
+ )
320
+
321
+ sig do
322
+ override.returns(
323
+ T::Array[
324
+ Increase::FednowTransferListParams::Status::In::TaggedSymbol
325
+ ]
326
+ )
327
+ end
328
+ def self.values
329
+ end
330
+ end
331
+ end
332
+ end
333
+ end
334
+ end
@@ -0,0 +1,30 @@
1
+ # typed: strong
2
+
3
+ module Increase
4
+ module Models
5
+ class FednowTransferRetrieveParams < Increase::Internal::Type::BaseModel
6
+ extend Increase::Internal::Type::RequestParameters::Converter
7
+ include Increase::Internal::Type::RequestParameters
8
+
9
+ OrHash =
10
+ T.type_alias do
11
+ T.any(
12
+ Increase::FednowTransferRetrieveParams,
13
+ Increase::Internal::AnyHash
14
+ )
15
+ end
16
+
17
+ sig do
18
+ params(request_options: Increase::RequestOptions::OrHash).returns(
19
+ T.attached_class
20
+ )
21
+ end
22
+ def self.new(request_options: {})
23
+ end
24
+
25
+ sig { override.returns({ request_options: Increase::RequestOptions }) }
26
+ def to_hash
27
+ end
28
+ end
29
+ end
30
+ end