increase 1.112.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 (58) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +17 -0
  3. data/README.md +1 -1
  4. data/lib/increase/client.rb +8 -0
  5. data/lib/increase/internal/transport/pooled_net_requester.rb +30 -24
  6. data/lib/increase/models/check_transfer.rb +1 -1
  7. data/lib/increase/models/fednow_transfer.rb +516 -0
  8. data/lib/increase/models/fednow_transfer_approve_params.rb +14 -0
  9. data/lib/increase/models/fednow_transfer_cancel_params.rb +14 -0
  10. data/lib/increase/models/fednow_transfer_create_params.rb +188 -0
  11. data/lib/increase/models/fednow_transfer_list_params.rb +170 -0
  12. data/lib/increase/models/fednow_transfer_retrieve_params.rb +14 -0
  13. data/lib/increase/models/inbound_fednow_transfer.rb +278 -0
  14. data/lib/increase/models/inbound_fednow_transfer_list_params.rb +100 -0
  15. data/lib/increase/models/inbound_fednow_transfer_retrieve_params.rb +14 -0
  16. data/lib/increase/models/simulations/inbound_fednow_transfer_create_params.rb +64 -0
  17. data/lib/increase/models.rb +18 -0
  18. data/lib/increase/resources/fednow_transfers.rb +159 -0
  19. data/lib/increase/resources/inbound_fednow_transfers.rb +68 -0
  20. data/lib/increase/resources/simulations/inbound_fednow_transfers.rb +49 -0
  21. data/lib/increase/resources/simulations.rb +4 -0
  22. data/lib/increase/version.rb +1 -1
  23. data/lib/increase.rb +13 -0
  24. data/rbi/increase/client.rbi +6 -0
  25. data/rbi/increase/models/check_transfer.rbi +1 -1
  26. data/rbi/increase/models/fednow_transfer.rbi +877 -0
  27. data/rbi/increase/models/fednow_transfer_approve_params.rbi +30 -0
  28. data/rbi/increase/models/fednow_transfer_cancel_params.rbi +30 -0
  29. data/rbi/increase/models/fednow_transfer_create_params.rbi +289 -0
  30. data/rbi/increase/models/fednow_transfer_list_params.rbi +334 -0
  31. data/rbi/increase/models/fednow_transfer_retrieve_params.rbi +30 -0
  32. data/rbi/increase/models/inbound_fednow_transfer.rbi +444 -0
  33. data/rbi/increase/models/inbound_fednow_transfer_list_params.rbi +177 -0
  34. data/rbi/increase/models/inbound_fednow_transfer_retrieve_params.rbi +30 -0
  35. data/rbi/increase/models/simulations/inbound_fednow_transfer_create_params.rbi +100 -0
  36. data/rbi/increase/models.rbi +20 -0
  37. data/rbi/increase/resources/fednow_transfers.rbi +138 -0
  38. data/rbi/increase/resources/inbound_fednow_transfers.rbi +54 -0
  39. data/rbi/increase/resources/simulations/inbound_fednow_transfers.rbi +44 -0
  40. data/rbi/increase/resources/simulations.rbi +3 -0
  41. data/sig/increase/client.rbs +4 -0
  42. data/sig/increase/models/check_transfer.rbs +1 -1
  43. data/sig/increase/models/fednow_transfer.rbs +404 -0
  44. data/sig/increase/models/fednow_transfer_approve_params.rbs +15 -0
  45. data/sig/increase/models/fednow_transfer_cancel_params.rbs +15 -0
  46. data/sig/increase/models/fednow_transfer_create_params.rbs +155 -0
  47. data/sig/increase/models/fednow_transfer_list_params.rbs +174 -0
  48. data/sig/increase/models/fednow_transfer_retrieve_params.rbs +15 -0
  49. data/sig/increase/models/inbound_fednow_transfer.rbs +223 -0
  50. data/sig/increase/models/inbound_fednow_transfer_list_params.rbs +93 -0
  51. data/sig/increase/models/inbound_fednow_transfer_retrieve_params.rbs +15 -0
  52. data/sig/increase/models/simulations/inbound_fednow_transfer_create_params.rbs +61 -0
  53. data/sig/increase/models.rbs +18 -0
  54. data/sig/increase/resources/fednow_transfers.rbs +49 -0
  55. data/sig/increase/resources/inbound_fednow_transfers.rbs +21 -0
  56. data/sig/increase/resources/simulations/inbound_fednow_transfers.rbs +19 -0
  57. data/sig/increase/resources/simulations.rbs +2 -0
  58. metadata +41 -2
@@ -0,0 +1,444 @@
1
+ # typed: strong
2
+
3
+ module Increase
4
+ module Models
5
+ class InboundFednowTransfer < Increase::Internal::Type::BaseModel
6
+ OrHash =
7
+ T.type_alias do
8
+ T.any(Increase::InboundFednowTransfer, Increase::Internal::AnyHash)
9
+ end
10
+
11
+ # The inbound FedNow transfer's identifier.
12
+ sig { returns(String) }
13
+ attr_accessor :id
14
+
15
+ # The Account to which the transfer was sent.
16
+ sig { returns(String) }
17
+ attr_accessor :account_id
18
+
19
+ # The identifier of the Account Number to which this transfer was sent.
20
+ sig { returns(String) }
21
+ attr_accessor :account_number_id
22
+
23
+ # The amount in USD cents.
24
+ sig { returns(Integer) }
25
+ attr_accessor :amount
26
+
27
+ # If your transfer is confirmed, this will contain details of the confirmation.
28
+ sig { returns(T.nilable(Increase::InboundFednowTransfer::Confirmation)) }
29
+ attr_reader :confirmation
30
+
31
+ sig do
32
+ params(
33
+ confirmation:
34
+ T.nilable(Increase::InboundFednowTransfer::Confirmation::OrHash)
35
+ ).void
36
+ end
37
+ attr_writer :confirmation
38
+
39
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
40
+ # the transfer was created.
41
+ sig { returns(Time) }
42
+ attr_accessor :created_at
43
+
44
+ # The name the sender of the transfer specified as the recipient of the transfer.
45
+ sig { returns(String) }
46
+ attr_accessor :creditor_name
47
+
48
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the transfer's
49
+ # currency. This will always be "USD" for a FedNow transfer.
50
+ sig { returns(Increase::InboundFednowTransfer::Currency::TaggedSymbol) }
51
+ attr_accessor :currency
52
+
53
+ # The account number of the account that sent the transfer.
54
+ sig { returns(String) }
55
+ attr_accessor :debtor_account_number
56
+
57
+ # The name provided by the sender of the transfer.
58
+ sig { returns(String) }
59
+ attr_accessor :debtor_name
60
+
61
+ # The routing number of the account that sent the transfer.
62
+ sig { returns(String) }
63
+ attr_accessor :debtor_routing_number
64
+
65
+ # If your transfer is declined, this will contain details of the decline.
66
+ sig { returns(T.nilable(Increase::InboundFednowTransfer::Decline)) }
67
+ attr_reader :decline
68
+
69
+ sig do
70
+ params(
71
+ decline: T.nilable(Increase::InboundFednowTransfer::Decline::OrHash)
72
+ ).void
73
+ end
74
+ attr_writer :decline
75
+
76
+ # The lifecycle status of the transfer.
77
+ sig { returns(Increase::InboundFednowTransfer::Status::TaggedSymbol) }
78
+ attr_accessor :status
79
+
80
+ # The identifier of the Transaction object created when the transfer was
81
+ # confirmed.
82
+ sig { returns(T.nilable(String)) }
83
+ attr_accessor :transaction_id
84
+
85
+ # A constant representing the object's type. For this resource it will always be
86
+ # `inbound_fednow_transfer`.
87
+ sig { returns(Increase::InboundFednowTransfer::Type::TaggedSymbol) }
88
+ attr_accessor :type
89
+
90
+ # Additional information included with the transfer.
91
+ sig { returns(T.nilable(String)) }
92
+ attr_accessor :unstructured_remittance_information
93
+
94
+ # An Inbound FedNow Transfer is a FedNow transfer initiated outside of Increase to
95
+ # your account.
96
+ sig do
97
+ params(
98
+ id: String,
99
+ account_id: String,
100
+ account_number_id: String,
101
+ amount: Integer,
102
+ confirmation:
103
+ T.nilable(Increase::InboundFednowTransfer::Confirmation::OrHash),
104
+ created_at: Time,
105
+ creditor_name: String,
106
+ currency: Increase::InboundFednowTransfer::Currency::OrSymbol,
107
+ debtor_account_number: String,
108
+ debtor_name: String,
109
+ debtor_routing_number: String,
110
+ decline: T.nilable(Increase::InboundFednowTransfer::Decline::OrHash),
111
+ status: Increase::InboundFednowTransfer::Status::OrSymbol,
112
+ transaction_id: T.nilable(String),
113
+ type: Increase::InboundFednowTransfer::Type::OrSymbol,
114
+ unstructured_remittance_information: T.nilable(String)
115
+ ).returns(T.attached_class)
116
+ end
117
+ def self.new(
118
+ # The inbound FedNow transfer's identifier.
119
+ id:,
120
+ # The Account to which the transfer was sent.
121
+ account_id:,
122
+ # The identifier of the Account Number to which this transfer was sent.
123
+ account_number_id:,
124
+ # The amount in USD cents.
125
+ amount:,
126
+ # If your transfer is confirmed, this will contain details of the confirmation.
127
+ confirmation:,
128
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
129
+ # the transfer was created.
130
+ created_at:,
131
+ # The name the sender of the transfer specified as the recipient of the transfer.
132
+ creditor_name:,
133
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the transfer's
134
+ # currency. This will always be "USD" for a FedNow transfer.
135
+ currency:,
136
+ # The account number of the account that sent the transfer.
137
+ debtor_account_number:,
138
+ # The name provided by the sender of the transfer.
139
+ debtor_name:,
140
+ # The routing number of the account that sent the transfer.
141
+ debtor_routing_number:,
142
+ # If your transfer is declined, this will contain details of the decline.
143
+ decline:,
144
+ # The lifecycle status of the transfer.
145
+ status:,
146
+ # The identifier of the Transaction object created when the transfer was
147
+ # confirmed.
148
+ transaction_id:,
149
+ # A constant representing the object's type. For this resource it will always be
150
+ # `inbound_fednow_transfer`.
151
+ type:,
152
+ # Additional information included with the transfer.
153
+ unstructured_remittance_information:
154
+ )
155
+ end
156
+
157
+ sig do
158
+ override.returns(
159
+ {
160
+ id: String,
161
+ account_id: String,
162
+ account_number_id: String,
163
+ amount: Integer,
164
+ confirmation:
165
+ T.nilable(Increase::InboundFednowTransfer::Confirmation),
166
+ created_at: Time,
167
+ creditor_name: String,
168
+ currency: Increase::InboundFednowTransfer::Currency::TaggedSymbol,
169
+ debtor_account_number: String,
170
+ debtor_name: String,
171
+ debtor_routing_number: String,
172
+ decline: T.nilable(Increase::InboundFednowTransfer::Decline),
173
+ status: Increase::InboundFednowTransfer::Status::TaggedSymbol,
174
+ transaction_id: T.nilable(String),
175
+ type: Increase::InboundFednowTransfer::Type::TaggedSymbol,
176
+ unstructured_remittance_information: T.nilable(String)
177
+ }
178
+ )
179
+ end
180
+ def to_hash
181
+ end
182
+
183
+ class Confirmation < Increase::Internal::Type::BaseModel
184
+ OrHash =
185
+ T.type_alias do
186
+ T.any(
187
+ Increase::InboundFednowTransfer::Confirmation,
188
+ Increase::Internal::AnyHash
189
+ )
190
+ end
191
+
192
+ # The identifier of the FedNow Transfer that led to this Transaction.
193
+ sig { returns(String) }
194
+ attr_accessor :transfer_id
195
+
196
+ # If your transfer is confirmed, this will contain details of the confirmation.
197
+ sig { params(transfer_id: String).returns(T.attached_class) }
198
+ def self.new(
199
+ # The identifier of the FedNow Transfer that led to this Transaction.
200
+ transfer_id:
201
+ )
202
+ end
203
+
204
+ sig { override.returns({ transfer_id: String }) }
205
+ def to_hash
206
+ end
207
+ end
208
+
209
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the transfer's
210
+ # currency. This will always be "USD" for a FedNow transfer.
211
+ module Currency
212
+ extend Increase::Internal::Type::Enum
213
+
214
+ TaggedSymbol =
215
+ T.type_alias do
216
+ T.all(Symbol, Increase::InboundFednowTransfer::Currency)
217
+ end
218
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
219
+
220
+ # Canadian Dollar (CAD)
221
+ CAD =
222
+ T.let(:CAD, Increase::InboundFednowTransfer::Currency::TaggedSymbol)
223
+
224
+ # Swiss Franc (CHF)
225
+ CHF =
226
+ T.let(:CHF, Increase::InboundFednowTransfer::Currency::TaggedSymbol)
227
+
228
+ # Euro (EUR)
229
+ EUR =
230
+ T.let(:EUR, Increase::InboundFednowTransfer::Currency::TaggedSymbol)
231
+
232
+ # British Pound (GBP)
233
+ GBP =
234
+ T.let(:GBP, Increase::InboundFednowTransfer::Currency::TaggedSymbol)
235
+
236
+ # Japanese Yen (JPY)
237
+ JPY =
238
+ T.let(:JPY, Increase::InboundFednowTransfer::Currency::TaggedSymbol)
239
+
240
+ # US Dollar (USD)
241
+ USD =
242
+ T.let(:USD, Increase::InboundFednowTransfer::Currency::TaggedSymbol)
243
+
244
+ sig do
245
+ override.returns(
246
+ T::Array[Increase::InboundFednowTransfer::Currency::TaggedSymbol]
247
+ )
248
+ end
249
+ def self.values
250
+ end
251
+ end
252
+
253
+ class Decline < Increase::Internal::Type::BaseModel
254
+ OrHash =
255
+ T.type_alias do
256
+ T.any(
257
+ Increase::InboundFednowTransfer::Decline,
258
+ Increase::Internal::AnyHash
259
+ )
260
+ end
261
+
262
+ # Why the transfer was declined.
263
+ sig do
264
+ returns(
265
+ Increase::InboundFednowTransfer::Decline::Reason::TaggedSymbol
266
+ )
267
+ end
268
+ attr_accessor :reason
269
+
270
+ # The identifier of the FedNow Transfer that led to this declined transaction.
271
+ sig { returns(String) }
272
+ attr_accessor :transfer_id
273
+
274
+ # If your transfer is declined, this will contain details of the decline.
275
+ sig do
276
+ params(
277
+ reason: Increase::InboundFednowTransfer::Decline::Reason::OrSymbol,
278
+ transfer_id: String
279
+ ).returns(T.attached_class)
280
+ end
281
+ def self.new(
282
+ # Why the transfer was declined.
283
+ reason:,
284
+ # The identifier of the FedNow Transfer that led to this declined transaction.
285
+ transfer_id:
286
+ )
287
+ end
288
+
289
+ sig do
290
+ override.returns(
291
+ {
292
+ reason:
293
+ Increase::InboundFednowTransfer::Decline::Reason::TaggedSymbol,
294
+ transfer_id: String
295
+ }
296
+ )
297
+ end
298
+ def to_hash
299
+ end
300
+
301
+ # Why the transfer was declined.
302
+ module Reason
303
+ extend Increase::Internal::Type::Enum
304
+
305
+ TaggedSymbol =
306
+ T.type_alias do
307
+ T.all(Symbol, Increase::InboundFednowTransfer::Decline::Reason)
308
+ end
309
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
310
+
311
+ # The account number is canceled.
312
+ ACCOUNT_NUMBER_CANCELED =
313
+ T.let(
314
+ :account_number_canceled,
315
+ Increase::InboundFednowTransfer::Decline::Reason::TaggedSymbol
316
+ )
317
+
318
+ # The account number is disabled.
319
+ ACCOUNT_NUMBER_DISABLED =
320
+ T.let(
321
+ :account_number_disabled,
322
+ Increase::InboundFednowTransfer::Decline::Reason::TaggedSymbol
323
+ )
324
+
325
+ # Your account is restricted.
326
+ ACCOUNT_RESTRICTED =
327
+ T.let(
328
+ :account_restricted,
329
+ Increase::InboundFednowTransfer::Decline::Reason::TaggedSymbol
330
+ )
331
+
332
+ # Your account is inactive.
333
+ GROUP_LOCKED =
334
+ T.let(
335
+ :group_locked,
336
+ Increase::InboundFednowTransfer::Decline::Reason::TaggedSymbol
337
+ )
338
+
339
+ # The account's entity is not active.
340
+ ENTITY_NOT_ACTIVE =
341
+ T.let(
342
+ :entity_not_active,
343
+ Increase::InboundFednowTransfer::Decline::Reason::TaggedSymbol
344
+ )
345
+
346
+ # Your account is not enabled to receive FedNow transfers.
347
+ FEDNOW_NOT_ENABLED =
348
+ T.let(
349
+ :fednow_not_enabled,
350
+ Increase::InboundFednowTransfer::Decline::Reason::TaggedSymbol
351
+ )
352
+
353
+ sig do
354
+ override.returns(
355
+ T::Array[
356
+ Increase::InboundFednowTransfer::Decline::Reason::TaggedSymbol
357
+ ]
358
+ )
359
+ end
360
+ def self.values
361
+ end
362
+ end
363
+ end
364
+
365
+ # The lifecycle status of the transfer.
366
+ module Status
367
+ extend Increase::Internal::Type::Enum
368
+
369
+ TaggedSymbol =
370
+ T.type_alias do
371
+ T.all(Symbol, Increase::InboundFednowTransfer::Status)
372
+ end
373
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
374
+
375
+ # The transfer is pending confirmation.
376
+ PENDING_CONFIRMING =
377
+ T.let(
378
+ :pending_confirming,
379
+ Increase::InboundFednowTransfer::Status::TaggedSymbol
380
+ )
381
+
382
+ # The transfer was not responded to in time.
383
+ TIMED_OUT =
384
+ T.let(
385
+ :timed_out,
386
+ Increase::InboundFednowTransfer::Status::TaggedSymbol
387
+ )
388
+
389
+ # The transfer has been received successfully and is confirmed.
390
+ CONFIRMED =
391
+ T.let(
392
+ :confirmed,
393
+ Increase::InboundFednowTransfer::Status::TaggedSymbol
394
+ )
395
+
396
+ # The transfer has been declined.
397
+ DECLINED =
398
+ T.let(
399
+ :declined,
400
+ Increase::InboundFednowTransfer::Status::TaggedSymbol
401
+ )
402
+
403
+ # The transfer requires attention from an Increase operator.
404
+ REQUIRES_ATTENTION =
405
+ T.let(
406
+ :requires_attention,
407
+ Increase::InboundFednowTransfer::Status::TaggedSymbol
408
+ )
409
+
410
+ sig do
411
+ override.returns(
412
+ T::Array[Increase::InboundFednowTransfer::Status::TaggedSymbol]
413
+ )
414
+ end
415
+ def self.values
416
+ end
417
+ end
418
+
419
+ # A constant representing the object's type. For this resource it will always be
420
+ # `inbound_fednow_transfer`.
421
+ module Type
422
+ extend Increase::Internal::Type::Enum
423
+
424
+ TaggedSymbol =
425
+ T.type_alias { T.all(Symbol, Increase::InboundFednowTransfer::Type) }
426
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
427
+
428
+ INBOUND_FEDNOW_TRANSFER =
429
+ T.let(
430
+ :inbound_fednow_transfer,
431
+ Increase::InboundFednowTransfer::Type::TaggedSymbol
432
+ )
433
+
434
+ sig do
435
+ override.returns(
436
+ T::Array[Increase::InboundFednowTransfer::Type::TaggedSymbol]
437
+ )
438
+ end
439
+ def self.values
440
+ end
441
+ end
442
+ end
443
+ end
444
+ end
@@ -0,0 +1,177 @@
1
+ # typed: strong
2
+
3
+ module Increase
4
+ module Models
5
+ class InboundFednowTransferListParams < 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::InboundFednowTransferListParams,
13
+ Increase::Internal::AnyHash
14
+ )
15
+ end
16
+
17
+ # Filter Inbound FedNow Transfers to those belonging to the specified Account.
18
+ sig { returns(T.nilable(String)) }
19
+ attr_reader :account_id
20
+
21
+ sig { params(account_id: String).void }
22
+ attr_writer :account_id
23
+
24
+ # Filter Inbound FedNow Transfers to ones belonging to the specified Account
25
+ # Number.
26
+ sig { returns(T.nilable(String)) }
27
+ attr_reader :account_number_id
28
+
29
+ sig { params(account_number_id: String).void }
30
+ attr_writer :account_number_id
31
+
32
+ sig do
33
+ returns(T.nilable(Increase::InboundFednowTransferListParams::CreatedAt))
34
+ end
35
+ attr_reader :created_at
36
+
37
+ sig do
38
+ params(
39
+ created_at:
40
+ Increase::InboundFednowTransferListParams::CreatedAt::OrHash
41
+ ).void
42
+ end
43
+ attr_writer :created_at
44
+
45
+ # Return the page of entries after this one.
46
+ sig { returns(T.nilable(String)) }
47
+ attr_reader :cursor
48
+
49
+ sig { params(cursor: String).void }
50
+ attr_writer :cursor
51
+
52
+ # Limit the size of the list that is returned. The default (and maximum) is 100
53
+ # objects.
54
+ sig { returns(T.nilable(Integer)) }
55
+ attr_reader :limit
56
+
57
+ sig { params(limit: Integer).void }
58
+ attr_writer :limit
59
+
60
+ sig do
61
+ params(
62
+ account_id: String,
63
+ account_number_id: String,
64
+ created_at:
65
+ Increase::InboundFednowTransferListParams::CreatedAt::OrHash,
66
+ cursor: String,
67
+ limit: Integer,
68
+ request_options: Increase::RequestOptions::OrHash
69
+ ).returns(T.attached_class)
70
+ end
71
+ def self.new(
72
+ # Filter Inbound FedNow Transfers to those belonging to the specified Account.
73
+ account_id: nil,
74
+ # Filter Inbound FedNow Transfers to ones belonging to the specified Account
75
+ # Number.
76
+ account_number_id: nil,
77
+ created_at: nil,
78
+ # Return the page of entries after this one.
79
+ cursor: nil,
80
+ # Limit the size of the list that is returned. The default (and maximum) is 100
81
+ # objects.
82
+ limit: nil,
83
+ request_options: {}
84
+ )
85
+ end
86
+
87
+ sig do
88
+ override.returns(
89
+ {
90
+ account_id: String,
91
+ account_number_id: String,
92
+ created_at: Increase::InboundFednowTransferListParams::CreatedAt,
93
+ cursor: String,
94
+ limit: Integer,
95
+ request_options: Increase::RequestOptions
96
+ }
97
+ )
98
+ end
99
+ def to_hash
100
+ end
101
+
102
+ class CreatedAt < Increase::Internal::Type::BaseModel
103
+ OrHash =
104
+ T.type_alias do
105
+ T.any(
106
+ Increase::InboundFednowTransferListParams::CreatedAt,
107
+ Increase::Internal::AnyHash
108
+ )
109
+ end
110
+
111
+ # Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
112
+ # timestamp.
113
+ sig { returns(T.nilable(Time)) }
114
+ attr_reader :after
115
+
116
+ sig { params(after: Time).void }
117
+ attr_writer :after
118
+
119
+ # Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
120
+ # timestamp.
121
+ sig { returns(T.nilable(Time)) }
122
+ attr_reader :before
123
+
124
+ sig { params(before: Time).void }
125
+ attr_writer :before
126
+
127
+ # Return results on or after this
128
+ # [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
129
+ sig { returns(T.nilable(Time)) }
130
+ attr_reader :on_or_after
131
+
132
+ sig { params(on_or_after: Time).void }
133
+ attr_writer :on_or_after
134
+
135
+ # Return results on or before this
136
+ # [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
137
+ sig { returns(T.nilable(Time)) }
138
+ attr_reader :on_or_before
139
+
140
+ sig { params(on_or_before: Time).void }
141
+ attr_writer :on_or_before
142
+
143
+ sig do
144
+ params(
145
+ after: Time,
146
+ before: Time,
147
+ on_or_after: Time,
148
+ on_or_before: Time
149
+ ).returns(T.attached_class)
150
+ end
151
+ def self.new(
152
+ # Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
153
+ # timestamp.
154
+ after: nil,
155
+ # Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
156
+ # timestamp.
157
+ before: nil,
158
+ # Return results on or after this
159
+ # [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
160
+ on_or_after: nil,
161
+ # Return results on or before this
162
+ # [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
163
+ on_or_before: nil
164
+ )
165
+ end
166
+
167
+ sig do
168
+ override.returns(
169
+ { after: Time, before: Time, on_or_after: Time, on_or_before: Time }
170
+ )
171
+ end
172
+ def to_hash
173
+ end
174
+ end
175
+ end
176
+ end
177
+ end
@@ -0,0 +1,30 @@
1
+ # typed: strong
2
+
3
+ module Increase
4
+ module Models
5
+ class InboundFednowTransferRetrieveParams < 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::InboundFednowTransferRetrieveParams,
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