increase 1.0.0 → 1.2.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 +33 -0
- data/README.md +1 -1
- data/lib/increase/errors.rb +22 -0
- data/lib/increase/internal/type/array_of.rb +6 -1
- data/lib/increase/internal/type/base_model.rb +77 -25
- data/lib/increase/internal/type/boolean.rb +7 -1
- data/lib/increase/internal/type/converter.rb +42 -34
- data/lib/increase/internal/type/enum.rb +10 -2
- data/lib/increase/internal/type/file_input.rb +6 -1
- data/lib/increase/internal/type/hash_of.rb +6 -1
- data/lib/increase/internal/type/union.rb +12 -7
- data/lib/increase/internal/type/unknown.rb +7 -1
- data/lib/increase/models/card_payment.rb +13 -13
- data/lib/increase/models/check_transfer.rb +24 -1
- data/lib/increase/models/check_transfer_create_params.rb +26 -2
- 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/event.rb +22 -4
- data/lib/increase/models/event_list_params.rb +22 -4
- data/lib/increase/models/event_subscription.rb +22 -4
- data/lib/increase/models/event_subscription_create_params.rb +22 -4
- data/lib/increase/models/file.rb +3 -0
- data/lib/increase/models/file_list_params.rb +3 -0
- data/lib/increase/models/inbound_ach_transfer.rb +56 -26
- data/lib/increase/models/inbound_mail_item.rb +38 -1
- data/lib/increase/models/pending_transaction.rb +37 -44
- data/lib/increase/models/pending_transaction_list_params.rb +2 -2
- data/lib/increase/models/transaction.rb +41 -43
- data/lib/increase/models/transaction_list_params.rb +2 -2
- data/lib/increase/resources/documents.rb +3 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/errors.rbi +16 -0
- data/rbi/increase/internal/type/boolean.rbi +2 -0
- data/rbi/increase/internal/type/converter.rbi +15 -15
- data/rbi/increase/internal/type/union.rbi +5 -0
- data/rbi/increase/internal/type/unknown.rbi +2 -0
- data/rbi/increase/models/card_payment.rbi +18 -18
- data/rbi/increase/models/check_transfer.rbi +36 -0
- data/rbi/increase/models/check_transfer_create_params.rbi +63 -2
- 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/event.rbi +46 -4
- data/rbi/increase/models/event_list_params.rbi +46 -4
- data/rbi/increase/models/event_subscription.rbi +46 -4
- data/rbi/increase/models/event_subscription_create_params.rbi +46 -4
- data/rbi/increase/models/file.rbi +4 -0
- data/rbi/increase/models/file_list_params.rbi +7 -0
- data/rbi/increase/models/inbound_ach_transfer.rbi +108 -52
- data/rbi/increase/models/inbound_mail_item.rbi +57 -0
- data/rbi/increase/models/pending_transaction.rbi +72 -77
- data/rbi/increase/models/pending_transaction_list_params.rbi +3 -3
- data/rbi/increase/models/transaction.rbi +76 -81
- data/rbi/increase/models/transaction_list_params.rbi +3 -3
- data/rbi/increase/resources/documents.rbi +4 -0
- data/sig/increase/errors.rbs +9 -0
- data/sig/increase/internal/type/converter.rbs +7 -1
- data/sig/increase/models/card_payment.rbs +3 -3
- data/sig/increase/models/check_transfer.rbs +15 -0
- data/sig/increase/models/check_transfer_create_params.rbs +19 -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/event.rbs +28 -4
- data/sig/increase/models/event_list_params.rbs +28 -4
- data/sig/increase/models/event_subscription.rbs +28 -4
- data/sig/increase/models/event_subscription_create_params.rbs +28 -4
- data/sig/increase/models/file.rbs +4 -0
- data/sig/increase/models/file_list_params.rbs +4 -0
- data/sig/increase/models/inbound_ach_transfer.rbs +41 -19
- data/sig/increase/models/inbound_mail_item.rbs +28 -0
- data/sig/increase/models/pending_transaction.rbs +21 -21
- data/sig/increase/models/pending_transaction_list_params.rbs +3 -3
- data/sig/increase/models/transaction.rbs +21 -21
- data/sig/increase/models/transaction_list_params.rbs +3 -3
- data/sig/increase/resources/documents.rbs +1 -0
- metadata +2 -2
@@ -143,6 +143,10 @@ module Increase
|
|
143
143
|
| :"outbound_card_push_transfer.updated"
|
144
144
|
| :"outbound_card_validation.created"
|
145
145
|
| :"outbound_card_validation.updated"
|
146
|
+
| :"card_push_transfer.created"
|
147
|
+
| :"card_push_transfer.updated"
|
148
|
+
| :"card_validation.created"
|
149
|
+
| :"card_validation.updated"
|
146
150
|
| :"pending_transaction.created"
|
147
151
|
| :"pending_transaction.updated"
|
148
152
|
| :"physical_card.created"
|
@@ -160,6 +164,8 @@ module Increase
|
|
160
164
|
| :"real_time_payments_transfer.updated"
|
161
165
|
| :"real_time_payments_request_for_payment.created"
|
162
166
|
| :"real_time_payments_request_for_payment.updated"
|
167
|
+
| :"swift_transfer.created"
|
168
|
+
| :"swift_transfer.updated"
|
163
169
|
| :"transaction.created"
|
164
170
|
| :"wire_drawdown_request.created"
|
165
171
|
| :"wire_drawdown_request.updated"
|
@@ -361,18 +367,30 @@ module Increase
|
|
361
367
|
# Occurs whenever an OAuth Connection is deactivated.
|
362
368
|
OAUTH_CONNECTION_DEACTIVATED: :"oauth_connection.deactivated"
|
363
369
|
|
364
|
-
# Occurs whenever
|
370
|
+
# Occurs whenever a Card Push Transfer is created.
|
365
371
|
OUTBOUND_CARD_PUSH_TRANSFER_CREATED: :"outbound_card_push_transfer.created"
|
366
372
|
|
367
|
-
# Occurs whenever
|
373
|
+
# Occurs whenever a Card Push Transfer is updated.
|
368
374
|
OUTBOUND_CARD_PUSH_TRANSFER_UPDATED: :"outbound_card_push_transfer.updated"
|
369
375
|
|
370
|
-
# Occurs whenever
|
376
|
+
# Occurs whenever a Card Validation is created.
|
371
377
|
OUTBOUND_CARD_VALIDATION_CREATED: :"outbound_card_validation.created"
|
372
378
|
|
373
|
-
# Occurs whenever
|
379
|
+
# Occurs whenever a Card Validation is updated.
|
374
380
|
OUTBOUND_CARD_VALIDATION_UPDATED: :"outbound_card_validation.updated"
|
375
381
|
|
382
|
+
# Occurs whenever a Card Push Transfer is created.
|
383
|
+
CARD_PUSH_TRANSFER_CREATED: :"card_push_transfer.created"
|
384
|
+
|
385
|
+
# Occurs whenever a Card Push Transfer is updated.
|
386
|
+
CARD_PUSH_TRANSFER_UPDATED: :"card_push_transfer.updated"
|
387
|
+
|
388
|
+
# Occurs whenever a Card Validation is created.
|
389
|
+
CARD_VALIDATION_CREATED: :"card_validation.created"
|
390
|
+
|
391
|
+
# Occurs whenever a Card Validation is updated.
|
392
|
+
CARD_VALIDATION_UPDATED: :"card_validation.updated"
|
393
|
+
|
376
394
|
# Occurs whenever a Pending Transaction is created.
|
377
395
|
PENDING_TRANSACTION_CREATED: :"pending_transaction.created"
|
378
396
|
|
@@ -424,6 +442,12 @@ module Increase
|
|
424
442
|
# Occurs whenever a Real-Time Payments Request for Payment is updated.
|
425
443
|
REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED: :"real_time_payments_request_for_payment.updated"
|
426
444
|
|
445
|
+
# Occurs whenever a Swift Transfer is created.
|
446
|
+
SWIFT_TRANSFER_CREATED: :"swift_transfer.created"
|
447
|
+
|
448
|
+
# Occurs whenever a Swift Transfer is updated.
|
449
|
+
SWIFT_TRANSFER_UPDATED: :"swift_transfer.updated"
|
450
|
+
|
427
451
|
# Occurs whenever a Transaction is created.
|
428
452
|
TRANSACTION_CREATED: :"transaction.created"
|
429
453
|
|
@@ -120,6 +120,10 @@ module Increase
|
|
120
120
|
| :"outbound_card_push_transfer.updated"
|
121
121
|
| :"outbound_card_validation.created"
|
122
122
|
| :"outbound_card_validation.updated"
|
123
|
+
| :"card_push_transfer.created"
|
124
|
+
| :"card_push_transfer.updated"
|
125
|
+
| :"card_validation.created"
|
126
|
+
| :"card_validation.updated"
|
123
127
|
| :"pending_transaction.created"
|
124
128
|
| :"pending_transaction.updated"
|
125
129
|
| :"physical_card.created"
|
@@ -137,6 +141,8 @@ module Increase
|
|
137
141
|
| :"real_time_payments_transfer.updated"
|
138
142
|
| :"real_time_payments_request_for_payment.created"
|
139
143
|
| :"real_time_payments_request_for_payment.updated"
|
144
|
+
| :"swift_transfer.created"
|
145
|
+
| :"swift_transfer.updated"
|
140
146
|
| :"transaction.created"
|
141
147
|
| :"wire_drawdown_request.created"
|
142
148
|
| :"wire_drawdown_request.updated"
|
@@ -338,18 +344,30 @@ module Increase
|
|
338
344
|
# Occurs whenever an OAuth Connection is deactivated.
|
339
345
|
OAUTH_CONNECTION_DEACTIVATED: :"oauth_connection.deactivated"
|
340
346
|
|
341
|
-
# Occurs whenever
|
347
|
+
# Occurs whenever a Card Push Transfer is created.
|
342
348
|
OUTBOUND_CARD_PUSH_TRANSFER_CREATED: :"outbound_card_push_transfer.created"
|
343
349
|
|
344
|
-
# Occurs whenever
|
350
|
+
# Occurs whenever a Card Push Transfer is updated.
|
345
351
|
OUTBOUND_CARD_PUSH_TRANSFER_UPDATED: :"outbound_card_push_transfer.updated"
|
346
352
|
|
347
|
-
# Occurs whenever
|
353
|
+
# Occurs whenever a Card Validation is created.
|
348
354
|
OUTBOUND_CARD_VALIDATION_CREATED: :"outbound_card_validation.created"
|
349
355
|
|
350
|
-
# Occurs whenever
|
356
|
+
# Occurs whenever a Card Validation is updated.
|
351
357
|
OUTBOUND_CARD_VALIDATION_UPDATED: :"outbound_card_validation.updated"
|
352
358
|
|
359
|
+
# Occurs whenever a Card Push Transfer is created.
|
360
|
+
CARD_PUSH_TRANSFER_CREATED: :"card_push_transfer.created"
|
361
|
+
|
362
|
+
# Occurs whenever a Card Push Transfer is updated.
|
363
|
+
CARD_PUSH_TRANSFER_UPDATED: :"card_push_transfer.updated"
|
364
|
+
|
365
|
+
# Occurs whenever a Card Validation is created.
|
366
|
+
CARD_VALIDATION_CREATED: :"card_validation.created"
|
367
|
+
|
368
|
+
# Occurs whenever a Card Validation is updated.
|
369
|
+
CARD_VALIDATION_UPDATED: :"card_validation.updated"
|
370
|
+
|
353
371
|
# Occurs whenever a Pending Transaction is created.
|
354
372
|
PENDING_TRANSACTION_CREATED: :"pending_transaction.created"
|
355
373
|
|
@@ -401,6 +419,12 @@ module Increase
|
|
401
419
|
# Occurs whenever a Real-Time Payments Request for Payment is updated.
|
402
420
|
REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED: :"real_time_payments_request_for_payment.updated"
|
403
421
|
|
422
|
+
# Occurs whenever a Swift Transfer is created.
|
423
|
+
SWIFT_TRANSFER_CREATED: :"swift_transfer.created"
|
424
|
+
|
425
|
+
# Occurs whenever a Swift Transfer is updated.
|
426
|
+
SWIFT_TRANSFER_UPDATED: :"swift_transfer.updated"
|
427
|
+
|
404
428
|
# Occurs whenever a Transaction is created.
|
405
429
|
TRANSACTION_CREATED: :"transaction.created"
|
406
430
|
|
@@ -114,6 +114,10 @@ module Increase
|
|
114
114
|
| :"outbound_card_push_transfer.updated"
|
115
115
|
| :"outbound_card_validation.created"
|
116
116
|
| :"outbound_card_validation.updated"
|
117
|
+
| :"card_push_transfer.created"
|
118
|
+
| :"card_push_transfer.updated"
|
119
|
+
| :"card_validation.created"
|
120
|
+
| :"card_validation.updated"
|
117
121
|
| :"pending_transaction.created"
|
118
122
|
| :"pending_transaction.updated"
|
119
123
|
| :"physical_card.created"
|
@@ -131,6 +135,8 @@ module Increase
|
|
131
135
|
| :"real_time_payments_transfer.updated"
|
132
136
|
| :"real_time_payments_request_for_payment.created"
|
133
137
|
| :"real_time_payments_request_for_payment.updated"
|
138
|
+
| :"swift_transfer.created"
|
139
|
+
| :"swift_transfer.updated"
|
134
140
|
| :"transaction.created"
|
135
141
|
| :"wire_drawdown_request.created"
|
136
142
|
| :"wire_drawdown_request.updated"
|
@@ -332,18 +338,30 @@ module Increase
|
|
332
338
|
# Occurs whenever an OAuth Connection is deactivated.
|
333
339
|
OAUTH_CONNECTION_DEACTIVATED: :"oauth_connection.deactivated"
|
334
340
|
|
335
|
-
# Occurs whenever
|
341
|
+
# Occurs whenever a Card Push Transfer is created.
|
336
342
|
OUTBOUND_CARD_PUSH_TRANSFER_CREATED: :"outbound_card_push_transfer.created"
|
337
343
|
|
338
|
-
# Occurs whenever
|
344
|
+
# Occurs whenever a Card Push Transfer is updated.
|
339
345
|
OUTBOUND_CARD_PUSH_TRANSFER_UPDATED: :"outbound_card_push_transfer.updated"
|
340
346
|
|
341
|
-
# Occurs whenever
|
347
|
+
# Occurs whenever a Card Validation is created.
|
342
348
|
OUTBOUND_CARD_VALIDATION_CREATED: :"outbound_card_validation.created"
|
343
349
|
|
344
|
-
# Occurs whenever
|
350
|
+
# Occurs whenever a Card Validation is updated.
|
345
351
|
OUTBOUND_CARD_VALIDATION_UPDATED: :"outbound_card_validation.updated"
|
346
352
|
|
353
|
+
# Occurs whenever a Card Push Transfer is created.
|
354
|
+
CARD_PUSH_TRANSFER_CREATED: :"card_push_transfer.created"
|
355
|
+
|
356
|
+
# Occurs whenever a Card Push Transfer is updated.
|
357
|
+
CARD_PUSH_TRANSFER_UPDATED: :"card_push_transfer.updated"
|
358
|
+
|
359
|
+
# Occurs whenever a Card Validation is created.
|
360
|
+
CARD_VALIDATION_CREATED: :"card_validation.created"
|
361
|
+
|
362
|
+
# Occurs whenever a Card Validation is updated.
|
363
|
+
CARD_VALIDATION_UPDATED: :"card_validation.updated"
|
364
|
+
|
347
365
|
# Occurs whenever a Pending Transaction is created.
|
348
366
|
PENDING_TRANSACTION_CREATED: :"pending_transaction.created"
|
349
367
|
|
@@ -395,6 +413,12 @@ module Increase
|
|
395
413
|
# Occurs whenever a Real-Time Payments Request for Payment is updated.
|
396
414
|
REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED: :"real_time_payments_request_for_payment.updated"
|
397
415
|
|
416
|
+
# Occurs whenever a Swift Transfer is created.
|
417
|
+
SWIFT_TRANSFER_CREATED: :"swift_transfer.created"
|
418
|
+
|
419
|
+
# Occurs whenever a Swift Transfer is updated.
|
420
|
+
SWIFT_TRANSFER_UPDATED: :"swift_transfer.updated"
|
421
|
+
|
398
422
|
# Occurs whenever a Transaction is created.
|
399
423
|
TRANSACTION_CREATED: :"transaction.created"
|
400
424
|
|
@@ -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
|
@@ -13,7 +13,6 @@ module Increase
|
|
13
13
|
decline: Increase::InboundACHTransfer::Decline?,
|
14
14
|
direction: Increase::Models::InboundACHTransfer::direction,
|
15
15
|
effective_date: Date,
|
16
|
-
expected_settlement_schedule: Increase::Models::InboundACHTransfer::expected_settlement_schedule,
|
17
16
|
international_addenda: Increase::InboundACHTransfer::InternationalAddenda?,
|
18
17
|
notification_of_change: Increase::InboundACHTransfer::NotificationOfChange?,
|
19
18
|
originator_company_descriptive_date: String?,
|
@@ -24,6 +23,7 @@ module Increase
|
|
24
23
|
originator_routing_number: String,
|
25
24
|
receiver_id_number: String?,
|
26
25
|
receiver_name: String?,
|
26
|
+
settlement: Increase::InboundACHTransfer::Settlement,
|
27
27
|
standard_entry_class_code: Increase::Models::InboundACHTransfer::standard_entry_class_code,
|
28
28
|
status: Increase::Models::InboundACHTransfer::status,
|
29
29
|
trace_number: String,
|
@@ -54,8 +54,6 @@ module Increase
|
|
54
54
|
|
55
55
|
attr_accessor effective_date: Date
|
56
56
|
|
57
|
-
attr_accessor expected_settlement_schedule: Increase::Models::InboundACHTransfer::expected_settlement_schedule
|
58
|
-
|
59
57
|
attr_accessor international_addenda: Increase::InboundACHTransfer::InternationalAddenda?
|
60
58
|
|
61
59
|
attr_accessor notification_of_change: Increase::InboundACHTransfer::NotificationOfChange?
|
@@ -76,6 +74,8 @@ module Increase
|
|
76
74
|
|
77
75
|
attr_accessor receiver_name: String?
|
78
76
|
|
77
|
+
attr_accessor settlement: Increase::InboundACHTransfer::Settlement
|
78
|
+
|
79
79
|
attr_accessor standard_entry_class_code: Increase::Models::InboundACHTransfer::standard_entry_class_code
|
80
80
|
|
81
81
|
attr_accessor status: Increase::Models::InboundACHTransfer::status
|
@@ -98,7 +98,6 @@ module Increase
|
|
98
98
|
decline: Increase::InboundACHTransfer::Decline?,
|
99
99
|
direction: Increase::Models::InboundACHTransfer::direction,
|
100
100
|
effective_date: Date,
|
101
|
-
expected_settlement_schedule: Increase::Models::InboundACHTransfer::expected_settlement_schedule,
|
102
101
|
international_addenda: Increase::InboundACHTransfer::InternationalAddenda?,
|
103
102
|
notification_of_change: Increase::InboundACHTransfer::NotificationOfChange?,
|
104
103
|
originator_company_descriptive_date: String?,
|
@@ -109,6 +108,7 @@ module Increase
|
|
109
108
|
originator_routing_number: String,
|
110
109
|
receiver_id_number: String?,
|
111
110
|
receiver_name: String?,
|
111
|
+
settlement: Increase::InboundACHTransfer::Settlement,
|
112
112
|
standard_entry_class_code: Increase::Models::InboundACHTransfer::standard_entry_class_code,
|
113
113
|
status: Increase::Models::InboundACHTransfer::status,
|
114
114
|
trace_number: String,
|
@@ -128,7 +128,6 @@ module Increase
|
|
128
128
|
decline: Increase::InboundACHTransfer::Decline?,
|
129
129
|
direction: Increase::Models::InboundACHTransfer::direction,
|
130
130
|
effective_date: Date,
|
131
|
-
expected_settlement_schedule: Increase::Models::InboundACHTransfer::expected_settlement_schedule,
|
132
131
|
international_addenda: Increase::InboundACHTransfer::InternationalAddenda?,
|
133
132
|
notification_of_change: Increase::InboundACHTransfer::NotificationOfChange?,
|
134
133
|
originator_company_descriptive_date: String?,
|
@@ -139,6 +138,7 @@ module Increase
|
|
139
138
|
originator_routing_number: String,
|
140
139
|
receiver_id_number: String?,
|
141
140
|
receiver_name: String?,
|
141
|
+
settlement: Increase::InboundACHTransfer::Settlement,
|
142
142
|
standard_entry_class_code: Increase::Models::InboundACHTransfer::standard_entry_class_code,
|
143
143
|
status: Increase::Models::InboundACHTransfer::status,
|
144
144
|
trace_number: String,
|
@@ -335,20 +335,6 @@ module Increase
|
|
335
335
|
def self?.values: -> ::Array[Increase::Models::InboundACHTransfer::direction]
|
336
336
|
end
|
337
337
|
|
338
|
-
type expected_settlement_schedule = :same_day | :future_dated
|
339
|
-
|
340
|
-
module ExpectedSettlementSchedule
|
341
|
-
extend Increase::Internal::Type::Enum
|
342
|
-
|
343
|
-
# The transfer is expected to settle same-day.
|
344
|
-
SAME_DAY: :same_day
|
345
|
-
|
346
|
-
# The transfer is expected to settle on a future date.
|
347
|
-
FUTURE_DATED: :future_dated
|
348
|
-
|
349
|
-
def self?.values: -> ::Array[Increase::Models::InboundACHTransfer::expected_settlement_schedule]
|
350
|
-
end
|
351
|
-
|
352
338
|
type international_addenda =
|
353
339
|
{
|
354
340
|
destination_country_code: String,
|
@@ -705,6 +691,42 @@ module Increase
|
|
705
691
|
}
|
706
692
|
end
|
707
693
|
|
694
|
+
type settlement =
|
695
|
+
{
|
696
|
+
settled_at: Time,
|
697
|
+
settlement_schedule: Increase::Models::InboundACHTransfer::Settlement::settlement_schedule
|
698
|
+
}
|
699
|
+
|
700
|
+
class Settlement < Increase::Internal::Type::BaseModel
|
701
|
+
attr_accessor settled_at: Time
|
702
|
+
|
703
|
+
attr_accessor settlement_schedule: Increase::Models::InboundACHTransfer::Settlement::settlement_schedule
|
704
|
+
|
705
|
+
def initialize: (
|
706
|
+
settled_at: Time,
|
707
|
+
settlement_schedule: Increase::Models::InboundACHTransfer::Settlement::settlement_schedule
|
708
|
+
) -> void
|
709
|
+
|
710
|
+
def to_hash: -> {
|
711
|
+
settled_at: Time,
|
712
|
+
settlement_schedule: Increase::Models::InboundACHTransfer::Settlement::settlement_schedule
|
713
|
+
}
|
714
|
+
|
715
|
+
type settlement_schedule = :same_day | :future_dated
|
716
|
+
|
717
|
+
module SettlementSchedule
|
718
|
+
extend Increase::Internal::Type::Enum
|
719
|
+
|
720
|
+
# The transfer is expected to settle same-day.
|
721
|
+
SAME_DAY: :same_day
|
722
|
+
|
723
|
+
# The transfer is expected to settle on a future date.
|
724
|
+
FUTURE_DATED: :future_dated
|
725
|
+
|
726
|
+
def self?.values: -> ::Array[Increase::Models::InboundACHTransfer::Settlement::settlement_schedule]
|
727
|
+
end
|
728
|
+
end
|
729
|
+
|
708
730
|
type standard_entry_class_code =
|
709
731
|
:corporate_credit_or_debit
|
710
732
|
| :corporate_trade_exchange
|
@@ -3,6 +3,7 @@ module Increase
|
|
3
3
|
type inbound_mail_item =
|
4
4
|
{
|
5
5
|
id: String,
|
6
|
+
checks: ::Array[Increase::InboundMailItem::Check],
|
6
7
|
created_at: Time,
|
7
8
|
file_id: String,
|
8
9
|
lockbox_id: String?,
|
@@ -15,6 +16,8 @@ module Increase
|
|
15
16
|
class InboundMailItem < Increase::Internal::Type::BaseModel
|
16
17
|
attr_accessor id: String
|
17
18
|
|
19
|
+
attr_accessor checks: ::Array[Increase::InboundMailItem::Check]
|
20
|
+
|
18
21
|
attr_accessor created_at: Time
|
19
22
|
|
20
23
|
attr_accessor file_id: String
|
@@ -31,6 +34,7 @@ module Increase
|
|
31
34
|
|
32
35
|
def initialize: (
|
33
36
|
id: String,
|
37
|
+
checks: ::Array[Increase::InboundMailItem::Check],
|
34
38
|
created_at: Time,
|
35
39
|
file_id: String,
|
36
40
|
lockbox_id: String?,
|
@@ -42,6 +46,7 @@ module Increase
|
|
42
46
|
|
43
47
|
def to_hash: -> {
|
44
48
|
id: String,
|
49
|
+
checks: ::Array[Increase::InboundMailItem::Check],
|
45
50
|
created_at: Time,
|
46
51
|
file_id: String,
|
47
52
|
lockbox_id: String?,
|
@@ -51,6 +56,29 @@ module Increase
|
|
51
56
|
type: Increase::Models::InboundMailItem::type_
|
52
57
|
}
|
53
58
|
|
59
|
+
type check =
|
60
|
+
{ amount: Integer, back_file_id: String?, front_file_id: String? }
|
61
|
+
|
62
|
+
class Check < Increase::Internal::Type::BaseModel
|
63
|
+
attr_accessor amount: Integer
|
64
|
+
|
65
|
+
attr_accessor back_file_id: String?
|
66
|
+
|
67
|
+
attr_accessor front_file_id: String?
|
68
|
+
|
69
|
+
def initialize: (
|
70
|
+
amount: Integer,
|
71
|
+
back_file_id: String?,
|
72
|
+
front_file_id: String?
|
73
|
+
) -> void
|
74
|
+
|
75
|
+
def to_hash: -> {
|
76
|
+
amount: Integer,
|
77
|
+
back_file_id: String?,
|
78
|
+
front_file_id: String?
|
79
|
+
}
|
80
|
+
end
|
81
|
+
|
54
82
|
type rejection_reason =
|
55
83
|
:no_matching_lockbox | :no_check | :lockbox_not_active
|
56
84
|
|
@@ -138,13 +138,13 @@ module Increase
|
|
138
138
|
account_transfer_instruction: Increase::PendingTransaction::Source::AccountTransferInstruction?,
|
139
139
|
ach_transfer_instruction: Increase::PendingTransaction::Source::ACHTransferInstruction?,
|
140
140
|
card_authorization: Increase::PendingTransaction::Source::CardAuthorization?,
|
141
|
+
card_push_transfer_instruction: Increase::PendingTransaction::Source::CardPushTransferInstruction?,
|
141
142
|
category: Increase::Models::PendingTransaction::Source::category,
|
142
143
|
check_deposit_instruction: Increase::PendingTransaction::Source::CheckDepositInstruction?,
|
143
144
|
check_transfer_instruction: Increase::PendingTransaction::Source::CheckTransferInstruction?,
|
144
145
|
inbound_funds_hold: Increase::PendingTransaction::Source::InboundFundsHold?,
|
145
146
|
inbound_wire_transfer_reversal: Increase::PendingTransaction::Source::InboundWireTransferReversal?,
|
146
147
|
other: top?,
|
147
|
-
outbound_card_push_transfer_instruction: Increase::PendingTransaction::Source::OutboundCardPushTransferInstruction?,
|
148
148
|
real_time_payments_transfer_instruction: Increase::PendingTransaction::Source::RealTimePaymentsTransferInstruction?,
|
149
149
|
swift_transfer_instruction: Increase::PendingTransaction::Source::SwiftTransferInstruction?,
|
150
150
|
user_initiated_hold: top?,
|
@@ -158,6 +158,8 @@ module Increase
|
|
158
158
|
|
159
159
|
attr_accessor card_authorization: Increase::PendingTransaction::Source::CardAuthorization?
|
160
160
|
|
161
|
+
attr_accessor card_push_transfer_instruction: Increase::PendingTransaction::Source::CardPushTransferInstruction?
|
162
|
+
|
161
163
|
attr_accessor category: Increase::Models::PendingTransaction::Source::category
|
162
164
|
|
163
165
|
attr_accessor check_deposit_instruction: Increase::PendingTransaction::Source::CheckDepositInstruction?
|
@@ -170,8 +172,6 @@ module Increase
|
|
170
172
|
|
171
173
|
attr_accessor other: top?
|
172
174
|
|
173
|
-
attr_accessor outbound_card_push_transfer_instruction: Increase::PendingTransaction::Source::OutboundCardPushTransferInstruction?
|
174
|
-
|
175
175
|
attr_accessor real_time_payments_transfer_instruction: Increase::PendingTransaction::Source::RealTimePaymentsTransferInstruction?
|
176
176
|
|
177
177
|
attr_accessor swift_transfer_instruction: Increase::PendingTransaction::Source::SwiftTransferInstruction?
|
@@ -184,13 +184,13 @@ module Increase
|
|
184
184
|
account_transfer_instruction: Increase::PendingTransaction::Source::AccountTransferInstruction?,
|
185
185
|
ach_transfer_instruction: Increase::PendingTransaction::Source::ACHTransferInstruction?,
|
186
186
|
card_authorization: Increase::PendingTransaction::Source::CardAuthorization?,
|
187
|
+
card_push_transfer_instruction: Increase::PendingTransaction::Source::CardPushTransferInstruction?,
|
187
188
|
category: Increase::Models::PendingTransaction::Source::category,
|
188
189
|
check_deposit_instruction: Increase::PendingTransaction::Source::CheckDepositInstruction?,
|
189
190
|
check_transfer_instruction: Increase::PendingTransaction::Source::CheckTransferInstruction?,
|
190
191
|
inbound_funds_hold: Increase::PendingTransaction::Source::InboundFundsHold?,
|
191
192
|
inbound_wire_transfer_reversal: Increase::PendingTransaction::Source::InboundWireTransferReversal?,
|
192
193
|
other: top?,
|
193
|
-
outbound_card_push_transfer_instruction: Increase::PendingTransaction::Source::OutboundCardPushTransferInstruction?,
|
194
194
|
real_time_payments_transfer_instruction: Increase::PendingTransaction::Source::RealTimePaymentsTransferInstruction?,
|
195
195
|
swift_transfer_instruction: Increase::PendingTransaction::Source::SwiftTransferInstruction?,
|
196
196
|
user_initiated_hold: top?,
|
@@ -201,13 +201,13 @@ module Increase
|
|
201
201
|
account_transfer_instruction: Increase::PendingTransaction::Source::AccountTransferInstruction?,
|
202
202
|
ach_transfer_instruction: Increase::PendingTransaction::Source::ACHTransferInstruction?,
|
203
203
|
card_authorization: Increase::PendingTransaction::Source::CardAuthorization?,
|
204
|
+
card_push_transfer_instruction: Increase::PendingTransaction::Source::CardPushTransferInstruction?,
|
204
205
|
category: Increase::Models::PendingTransaction::Source::category,
|
205
206
|
check_deposit_instruction: Increase::PendingTransaction::Source::CheckDepositInstruction?,
|
206
207
|
check_transfer_instruction: Increase::PendingTransaction::Source::CheckTransferInstruction?,
|
207
208
|
inbound_funds_hold: Increase::PendingTransaction::Source::InboundFundsHold?,
|
208
209
|
inbound_wire_transfer_reversal: Increase::PendingTransaction::Source::InboundWireTransferReversal?,
|
209
210
|
other: top?,
|
210
|
-
outbound_card_push_transfer_instruction: Increase::PendingTransaction::Source::OutboundCardPushTransferInstruction?,
|
211
211
|
real_time_payments_transfer_instruction: Increase::PendingTransaction::Source::RealTimePaymentsTransferInstruction?,
|
212
212
|
swift_transfer_instruction: Increase::PendingTransaction::Source::SwiftTransferInstruction?,
|
213
213
|
user_initiated_hold: top?,
|
@@ -865,6 +865,19 @@ module Increase
|
|
865
865
|
end
|
866
866
|
end
|
867
867
|
|
868
|
+
type card_push_transfer_instruction =
|
869
|
+
{ amount: Integer, transfer_id: String }
|
870
|
+
|
871
|
+
class CardPushTransferInstruction < Increase::Internal::Type::BaseModel
|
872
|
+
attr_accessor amount: Integer
|
873
|
+
|
874
|
+
attr_accessor transfer_id: String
|
875
|
+
|
876
|
+
def initialize: (amount: Integer, transfer_id: String) -> void
|
877
|
+
|
878
|
+
def to_hash: -> { amount: Integer, transfer_id: String }
|
879
|
+
end
|
880
|
+
|
868
881
|
type category =
|
869
882
|
:account_transfer_instruction
|
870
883
|
| :ach_transfer_instruction
|
@@ -877,7 +890,7 @@ module Increase
|
|
877
890
|
| :wire_transfer_instruction
|
878
891
|
| :inbound_wire_transfer_reversal
|
879
892
|
| :swift_transfer_instruction
|
880
|
-
| :
|
893
|
+
| :card_push_transfer_instruction
|
881
894
|
| :other
|
882
895
|
|
883
896
|
module Category
|
@@ -916,8 +929,8 @@ module Increase
|
|
916
929
|
# Swift Transfer Instruction: details will be under the `swift_transfer_instruction` object.
|
917
930
|
SWIFT_TRANSFER_INSTRUCTION: :swift_transfer_instruction
|
918
931
|
|
919
|
-
#
|
920
|
-
|
932
|
+
# Card Push Transfer Instruction: details will be under the `card_push_transfer_instruction` object.
|
933
|
+
CARD_PUSH_TRANSFER_INSTRUCTION: :card_push_transfer_instruction
|
921
934
|
|
922
935
|
# The Pending Transaction was made for an undocumented or deprecated reason.
|
923
936
|
OTHER: :other
|
@@ -1164,19 +1177,6 @@ module Increase
|
|
1164
1177
|
def to_hash: -> { inbound_wire_transfer_id: String }
|
1165
1178
|
end
|
1166
1179
|
|
1167
|
-
type outbound_card_push_transfer_instruction =
|
1168
|
-
{ amount: Integer, transfer_id: String }
|
1169
|
-
|
1170
|
-
class OutboundCardPushTransferInstruction < Increase::Internal::Type::BaseModel
|
1171
|
-
attr_accessor amount: Integer
|
1172
|
-
|
1173
|
-
attr_accessor transfer_id: String
|
1174
|
-
|
1175
|
-
def initialize: (amount: Integer, transfer_id: String) -> void
|
1176
|
-
|
1177
|
-
def to_hash: -> { amount: Integer, transfer_id: String }
|
1178
|
-
end
|
1179
|
-
|
1180
1180
|
type real_time_payments_transfer_instruction =
|
1181
1181
|
{ amount: Integer, transfer_id: String }
|
1182
1182
|
|
@@ -104,7 +104,7 @@ module Increase
|
|
104
104
|
| :wire_transfer_instruction
|
105
105
|
| :inbound_wire_transfer_reversal
|
106
106
|
| :swift_transfer_instruction
|
107
|
-
| :
|
107
|
+
| :card_push_transfer_instruction
|
108
108
|
| :other
|
109
109
|
|
110
110
|
module In
|
@@ -143,8 +143,8 @@ module Increase
|
|
143
143
|
# Swift Transfer Instruction: details will be under the `swift_transfer_instruction` object.
|
144
144
|
SWIFT_TRANSFER_INSTRUCTION: :swift_transfer_instruction
|
145
145
|
|
146
|
-
#
|
147
|
-
|
146
|
+
# Card Push Transfer Instruction: details will be under the `card_push_transfer_instruction` object.
|
147
|
+
CARD_PUSH_TRANSFER_INSTRUCTION: :card_push_transfer_instruction
|
148
148
|
|
149
149
|
# The Pending Transaction was made for an undocumented or deprecated reason.
|
150
150
|
OTHER: :other
|