increase 1.368.0 → 1.370.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/README.md +1 -1
- data/lib/increase/errors.rb +6 -0
- data/lib/increase/models/checkbook.rb +3 -0
- data/lib/increase/models/checkbook_create_params.rb +24 -1
- data/lib/increase/models/digital_wallet_token.rb +63 -1
- data/lib/increase/models/digital_wallet_token_request.rb +327 -1
- data/lib/increase/models/event.rb +15 -0
- data/lib/increase/models/event_list_params.rb +15 -0
- data/lib/increase/models/event_subscription.rb +15 -0
- data/lib/increase/models/event_subscription_create_params.rb +15 -0
- data/lib/increase/models/inbound_wire_transfer.rb +12 -1
- data/lib/increase/models/inbound_wire_transfer_reverse_params.rb +17 -1
- data/lib/increase/models/real_time_decision.rb +330 -1
- data/lib/increase/models/real_time_payments_transfer.rb +75 -1
- data/lib/increase/models/real_time_payments_transfer_create_params.rb +82 -1
- data/lib/increase/models/unwrap_webhook_event.rb +15 -0
- data/lib/increase/resources/checkbooks.rb +4 -1
- data/lib/increase/resources/inbound_wire_transfers.rb +6 -1
- data/lib/increase/resources/real_time_payments_transfers.rb +5 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/errors.rbi +4 -0
- data/rbi/increase/models/checkbook.rbi +4 -0
- data/rbi/increase/models/checkbook_create_params.rbi +39 -0
- data/rbi/increase/models/digital_wallet_token.rbi +114 -3
- data/rbi/increase/models/digital_wallet_token_request.rbi +589 -3
- data/rbi/increase/models/event.rbi +26 -0
- data/rbi/increase/models/event_list_params.rbi +35 -0
- data/rbi/increase/models/event_subscription.rbi +35 -0
- data/rbi/increase/models/event_subscription_create_params.rbi +35 -0
- data/rbi/increase/models/inbound_wire_transfer.rbi +15 -0
- data/rbi/increase/models/inbound_wire_transfer_reverse_params.rbi +22 -0
- data/rbi/increase/models/real_time_decision.rbi +623 -3
- data/rbi/increase/models/real_time_payments_transfer.rbi +108 -0
- data/rbi/increase/models/real_time_payments_transfer_create_params.rbi +123 -0
- data/rbi/increase/models/unwrap_webhook_event.rbi +35 -0
- data/rbi/increase/resources/checkbooks.rbi +3 -0
- data/rbi/increase/resources/inbound_wire_transfers.rbi +5 -0
- data/rbi/increase/resources/real_time_payments_transfers.rbi +5 -0
- data/sig/increase/errors.rbs +4 -0
- data/sig/increase/models/checkbook.rbs +4 -1
- data/sig/increase/models/checkbook_create_params.rbs +20 -1
- data/sig/increase/models/digital_wallet_token.rbs +40 -3
- data/sig/increase/models/digital_wallet_token_request.rbs +245 -3
- data/sig/increase/models/event.rbs +20 -0
- data/sig/increase/models/event_list_params.rbs +20 -0
- data/sig/increase/models/event_subscription.rbs +20 -0
- data/sig/increase/models/event_subscription_create_params.rbs +20 -0
- data/sig/increase/models/inbound_wire_transfer.rbs +10 -1
- data/sig/increase/models/inbound_wire_transfer_reverse_params.rbs +13 -2
- data/sig/increase/models/real_time_decision.rbs +245 -3
- data/sig/increase/models/real_time_payments_transfer.rbs +52 -0
- data/sig/increase/models/real_time_payments_transfer_create_params.rbs +60 -0
- data/sig/increase/models/unwrap_webhook_event.rbs +20 -0
- data/sig/increase/resources/checkbooks.rbs +1 -0
- data/sig/increase/resources/inbound_wire_transfers.rbs +1 -0
- data/sig/increase/resources/real_time_payments_transfers.rbs +1 -0
- metadata +2 -2
|
@@ -4,14 +4,21 @@ module Increase
|
|
|
4
4
|
{
|
|
5
5
|
id: String,
|
|
6
6
|
card_id: String,
|
|
7
|
+
cardholder: Increase::DigitalWalletTokenRequest::Cardholder,
|
|
7
8
|
created_at: Time,
|
|
8
9
|
declined: Increase::DigitalWalletTokenRequest::Declined?,
|
|
9
10
|
device: Increase::DigitalWalletTokenRequest::Device,
|
|
11
|
+
network: Increase::Models::DigitalWalletTokenRequest::network,
|
|
10
12
|
outcome: Increase::Models::DigitalWalletTokenRequest::outcome,
|
|
13
|
+
primary_account_number_source: Increase::Models::DigitalWalletTokenRequest::primary_account_number_source?,
|
|
11
14
|
provisioned: Increase::DigitalWalletTokenRequest::Provisioned?,
|
|
12
15
|
token_reference_identifier: String,
|
|
13
16
|
token_requestor: Increase::Models::DigitalWalletTokenRequest::token_requestor,
|
|
14
|
-
|
|
17
|
+
token_requestor_details: Increase::DigitalWalletTokenRequest::TokenRequestorDetails,
|
|
18
|
+
type: Increase::Models::DigitalWalletTokenRequest::type_,
|
|
19
|
+
verification: Increase::DigitalWalletTokenRequest::Verification,
|
|
20
|
+
visa: Increase::DigitalWalletTokenRequest::Visa?,
|
|
21
|
+
wallet: Increase::DigitalWalletTokenRequest::Wallet
|
|
15
22
|
}
|
|
16
23
|
|
|
17
24
|
class DigitalWalletTokenRequest < Increase::Internal::Type::BaseModel
|
|
@@ -19,48 +26,86 @@ module Increase
|
|
|
19
26
|
|
|
20
27
|
attr_accessor card_id: String
|
|
21
28
|
|
|
29
|
+
attr_accessor cardholder: Increase::DigitalWalletTokenRequest::Cardholder
|
|
30
|
+
|
|
22
31
|
attr_accessor created_at: Time
|
|
23
32
|
|
|
24
33
|
attr_accessor declined: Increase::DigitalWalletTokenRequest::Declined?
|
|
25
34
|
|
|
26
35
|
attr_accessor device: Increase::DigitalWalletTokenRequest::Device
|
|
27
36
|
|
|
37
|
+
attr_accessor network: Increase::Models::DigitalWalletTokenRequest::network
|
|
38
|
+
|
|
28
39
|
attr_accessor outcome: Increase::Models::DigitalWalletTokenRequest::outcome
|
|
29
40
|
|
|
41
|
+
attr_accessor primary_account_number_source: Increase::Models::DigitalWalletTokenRequest::primary_account_number_source?
|
|
42
|
+
|
|
30
43
|
attr_accessor provisioned: Increase::DigitalWalletTokenRequest::Provisioned?
|
|
31
44
|
|
|
32
45
|
attr_accessor token_reference_identifier: String
|
|
33
46
|
|
|
34
47
|
attr_accessor token_requestor: Increase::Models::DigitalWalletTokenRequest::token_requestor
|
|
35
48
|
|
|
49
|
+
attr_accessor token_requestor_details: Increase::DigitalWalletTokenRequest::TokenRequestorDetails
|
|
50
|
+
|
|
36
51
|
attr_accessor type: Increase::Models::DigitalWalletTokenRequest::type_
|
|
37
52
|
|
|
53
|
+
attr_accessor verification: Increase::DigitalWalletTokenRequest::Verification
|
|
54
|
+
|
|
55
|
+
attr_accessor visa: Increase::DigitalWalletTokenRequest::Visa?
|
|
56
|
+
|
|
57
|
+
attr_accessor wallet: Increase::DigitalWalletTokenRequest::Wallet
|
|
58
|
+
|
|
38
59
|
def initialize: (
|
|
39
60
|
id: String,
|
|
40
61
|
card_id: String,
|
|
62
|
+
cardholder: Increase::DigitalWalletTokenRequest::Cardholder,
|
|
41
63
|
created_at: Time,
|
|
42
64
|
declined: Increase::DigitalWalletTokenRequest::Declined?,
|
|
43
65
|
device: Increase::DigitalWalletTokenRequest::Device,
|
|
66
|
+
network: Increase::Models::DigitalWalletTokenRequest::network,
|
|
44
67
|
outcome: Increase::Models::DigitalWalletTokenRequest::outcome,
|
|
68
|
+
primary_account_number_source: Increase::Models::DigitalWalletTokenRequest::primary_account_number_source?,
|
|
45
69
|
provisioned: Increase::DigitalWalletTokenRequest::Provisioned?,
|
|
46
70
|
token_reference_identifier: String,
|
|
47
71
|
token_requestor: Increase::Models::DigitalWalletTokenRequest::token_requestor,
|
|
48
|
-
|
|
72
|
+
token_requestor_details: Increase::DigitalWalletTokenRequest::TokenRequestorDetails,
|
|
73
|
+
type: Increase::Models::DigitalWalletTokenRequest::type_,
|
|
74
|
+
verification: Increase::DigitalWalletTokenRequest::Verification,
|
|
75
|
+
visa: Increase::DigitalWalletTokenRequest::Visa?,
|
|
76
|
+
wallet: Increase::DigitalWalletTokenRequest::Wallet
|
|
49
77
|
) -> void
|
|
50
78
|
|
|
51
79
|
def to_hash: -> {
|
|
52
80
|
id: String,
|
|
53
81
|
card_id: String,
|
|
82
|
+
cardholder: Increase::DigitalWalletTokenRequest::Cardholder,
|
|
54
83
|
created_at: Time,
|
|
55
84
|
declined: Increase::DigitalWalletTokenRequest::Declined?,
|
|
56
85
|
device: Increase::DigitalWalletTokenRequest::Device,
|
|
86
|
+
network: Increase::Models::DigitalWalletTokenRequest::network,
|
|
57
87
|
outcome: Increase::Models::DigitalWalletTokenRequest::outcome,
|
|
88
|
+
primary_account_number_source: Increase::Models::DigitalWalletTokenRequest::primary_account_number_source?,
|
|
58
89
|
provisioned: Increase::DigitalWalletTokenRequest::Provisioned?,
|
|
59
90
|
token_reference_identifier: String,
|
|
60
91
|
token_requestor: Increase::Models::DigitalWalletTokenRequest::token_requestor,
|
|
61
|
-
|
|
92
|
+
token_requestor_details: Increase::DigitalWalletTokenRequest::TokenRequestorDetails,
|
|
93
|
+
type: Increase::Models::DigitalWalletTokenRequest::type_,
|
|
94
|
+
verification: Increase::DigitalWalletTokenRequest::Verification,
|
|
95
|
+
visa: Increase::DigitalWalletTokenRequest::Visa?,
|
|
96
|
+
wallet: Increase::DigitalWalletTokenRequest::Wallet
|
|
62
97
|
}
|
|
63
98
|
|
|
99
|
+
type cardholder = { name: String? }
|
|
100
|
+
|
|
101
|
+
class Cardholder < Increase::Internal::Type::BaseModel
|
|
102
|
+
attr_accessor name: String?
|
|
103
|
+
|
|
104
|
+
def initialize: (name: String?) -> void
|
|
105
|
+
|
|
106
|
+
def to_hash: -> { name: String? }
|
|
107
|
+
end
|
|
108
|
+
|
|
64
109
|
type declined =
|
|
65
110
|
{
|
|
66
111
|
reason: Increase::Models::DigitalWalletTokenRequest::Declined::reason
|
|
@@ -202,6 +247,17 @@ module Increase
|
|
|
202
247
|
end
|
|
203
248
|
end
|
|
204
249
|
|
|
250
|
+
type network = :visa
|
|
251
|
+
|
|
252
|
+
module Network
|
|
253
|
+
extend Increase::Internal::Type::Enum
|
|
254
|
+
|
|
255
|
+
# Visa
|
|
256
|
+
VISA: :visa
|
|
257
|
+
|
|
258
|
+
def self?.values: -> ::Array[Increase::Models::DigitalWalletTokenRequest::network]
|
|
259
|
+
end
|
|
260
|
+
|
|
205
261
|
type outcome = :provisioned | :declined
|
|
206
262
|
|
|
207
263
|
module Outcome
|
|
@@ -216,6 +272,38 @@ module Increase
|
|
|
216
272
|
def self?.values: -> ::Array[Increase::Models::DigitalWalletTokenRequest::outcome]
|
|
217
273
|
end
|
|
218
274
|
|
|
275
|
+
type primary_account_number_source =
|
|
276
|
+
:key_entered
|
|
277
|
+
| :on_file
|
|
278
|
+
| :mobile_app
|
|
279
|
+
| :token
|
|
280
|
+
| :chip_dip
|
|
281
|
+
| :contactless_tap
|
|
282
|
+
|
|
283
|
+
module PrimaryAccountNumberSource
|
|
284
|
+
extend Increase::Internal::Type::Enum
|
|
285
|
+
|
|
286
|
+
# The cardholder entered the card number manually.
|
|
287
|
+
KEY_ENTERED: :key_entered
|
|
288
|
+
|
|
289
|
+
# The card number was already on file with the token requestor.
|
|
290
|
+
ON_FILE: :on_file
|
|
291
|
+
|
|
292
|
+
# The card was added from your mobile app using push provisioning.
|
|
293
|
+
MOBILE_APP: :mobile_app
|
|
294
|
+
|
|
295
|
+
# The card number was sourced from an existing token.
|
|
296
|
+
TOKEN: :token
|
|
297
|
+
|
|
298
|
+
# The card number was read from the chip of the physical card.
|
|
299
|
+
CHIP_DIP: :chip_dip
|
|
300
|
+
|
|
301
|
+
# The card number was read by tapping the physical card on the device.
|
|
302
|
+
CONTACTLESS_TAP: :contactless_tap
|
|
303
|
+
|
|
304
|
+
def self?.values: -> ::Array[Increase::Models::DigitalWalletTokenRequest::primary_account_number_source]
|
|
305
|
+
end
|
|
306
|
+
|
|
219
307
|
type provisioned = { digital_wallet_token_id: String }
|
|
220
308
|
|
|
221
309
|
class Provisioned < Increase::Internal::Type::BaseModel
|
|
@@ -250,6 +338,18 @@ module Increase
|
|
|
250
338
|
def self?.values: -> ::Array[Increase::Models::DigitalWalletTokenRequest::token_requestor]
|
|
251
339
|
end
|
|
252
340
|
|
|
341
|
+
type token_requestor_details = { identifier: String, name: String? }
|
|
342
|
+
|
|
343
|
+
class TokenRequestorDetails < Increase::Internal::Type::BaseModel
|
|
344
|
+
attr_accessor identifier: String
|
|
345
|
+
|
|
346
|
+
attr_accessor name: String?
|
|
347
|
+
|
|
348
|
+
def initialize: (identifier: String, name: String?) -> void
|
|
349
|
+
|
|
350
|
+
def to_hash: -> { identifier: String, name: String? }
|
|
351
|
+
end
|
|
352
|
+
|
|
253
353
|
type type_ = :digital_wallet_token_request
|
|
254
354
|
|
|
255
355
|
module Type
|
|
@@ -259,6 +359,148 @@ module Increase
|
|
|
259
359
|
|
|
260
360
|
def self?.values: -> ::Array[Increase::Models::DigitalWalletTokenRequest::type_]
|
|
261
361
|
end
|
|
362
|
+
|
|
363
|
+
type verification =
|
|
364
|
+
{
|
|
365
|
+
cardholder_address: Increase::DigitalWalletTokenRequest::Verification::CardholderAddress
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
class Verification < Increase::Internal::Type::BaseModel
|
|
369
|
+
attr_accessor cardholder_address: Increase::DigitalWalletTokenRequest::Verification::CardholderAddress
|
|
370
|
+
|
|
371
|
+
def initialize: (
|
|
372
|
+
cardholder_address: Increase::DigitalWalletTokenRequest::Verification::CardholderAddress
|
|
373
|
+
) -> void
|
|
374
|
+
|
|
375
|
+
def to_hash: -> {
|
|
376
|
+
cardholder_address: Increase::DigitalWalletTokenRequest::Verification::CardholderAddress
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
type cardholder_address =
|
|
380
|
+
{
|
|
381
|
+
:actual_line1 => String?,
|
|
382
|
+
actual_postal_code: String?,
|
|
383
|
+
:provided_line1 => String?,
|
|
384
|
+
provided_postal_code: String?,
|
|
385
|
+
result: Increase::Models::DigitalWalletTokenRequest::Verification::CardholderAddress::result
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
class CardholderAddress < Increase::Internal::Type::BaseModel
|
|
389
|
+
attr_accessor actual_line1: String?
|
|
390
|
+
|
|
391
|
+
attr_accessor actual_postal_code: String?
|
|
392
|
+
|
|
393
|
+
attr_accessor provided_line1: String?
|
|
394
|
+
|
|
395
|
+
attr_accessor provided_postal_code: String?
|
|
396
|
+
|
|
397
|
+
attr_accessor result: Increase::Models::DigitalWalletTokenRequest::Verification::CardholderAddress::result
|
|
398
|
+
|
|
399
|
+
def initialize: (
|
|
400
|
+
actual_line1: String?,
|
|
401
|
+
actual_postal_code: String?,
|
|
402
|
+
provided_line1: String?,
|
|
403
|
+
provided_postal_code: String?,
|
|
404
|
+
result: Increase::Models::DigitalWalletTokenRequest::Verification::CardholderAddress::result
|
|
405
|
+
) -> void
|
|
406
|
+
|
|
407
|
+
def to_hash: -> {
|
|
408
|
+
:actual_line1 => String?,
|
|
409
|
+
actual_postal_code: String?,
|
|
410
|
+
:provided_line1 => String?,
|
|
411
|
+
provided_postal_code: String?,
|
|
412
|
+
result: Increase::Models::DigitalWalletTokenRequest::Verification::CardholderAddress::result
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
type result =
|
|
416
|
+
:not_checked
|
|
417
|
+
| :postal_code_match_address_no_match
|
|
418
|
+
| :postal_code_no_match_address_match
|
|
419
|
+
| :match
|
|
420
|
+
| :no_match
|
|
421
|
+
| :postal_code_match_address_not_checked
|
|
422
|
+
|
|
423
|
+
module Result
|
|
424
|
+
extend Increase::Internal::Type::Enum
|
|
425
|
+
|
|
426
|
+
# No address information was provided in the authorization request.
|
|
427
|
+
NOT_CHECKED: :not_checked
|
|
428
|
+
|
|
429
|
+
# Postal code matches, but the street address does not match or was not provided.
|
|
430
|
+
POSTAL_CODE_MATCH_ADDRESS_NO_MATCH: :postal_code_match_address_no_match
|
|
431
|
+
|
|
432
|
+
# Postal code does not match, but the street address matches or was not provided.
|
|
433
|
+
POSTAL_CODE_NO_MATCH_ADDRESS_MATCH: :postal_code_no_match_address_match
|
|
434
|
+
|
|
435
|
+
# Postal code and street address match.
|
|
436
|
+
MATCH: :match
|
|
437
|
+
|
|
438
|
+
# Postal code and street address do not match.
|
|
439
|
+
NO_MATCH: :no_match
|
|
440
|
+
|
|
441
|
+
# Postal code matches, but the street address was not verified. (deprecated)
|
|
442
|
+
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED: :postal_code_match_address_not_checked
|
|
443
|
+
|
|
444
|
+
def self?.values: -> ::Array[Increase::Models::DigitalWalletTokenRequest::Verification::CardholderAddress::result]
|
|
445
|
+
end
|
|
446
|
+
end
|
|
447
|
+
end
|
|
448
|
+
|
|
449
|
+
type visa =
|
|
450
|
+
{ network_risk_score: Integer?, provisioning_risk_score: Integer? }
|
|
451
|
+
|
|
452
|
+
class Visa < Increase::Internal::Type::BaseModel
|
|
453
|
+
attr_accessor network_risk_score: Integer?
|
|
454
|
+
|
|
455
|
+
attr_accessor provisioning_risk_score: Integer?
|
|
456
|
+
|
|
457
|
+
def initialize: (
|
|
458
|
+
network_risk_score: Integer?,
|
|
459
|
+
provisioning_risk_score: Integer?
|
|
460
|
+
) -> void
|
|
461
|
+
|
|
462
|
+
def to_hash: -> {
|
|
463
|
+
network_risk_score: Integer?,
|
|
464
|
+
provisioning_risk_score: Integer?
|
|
465
|
+
}
|
|
466
|
+
end
|
|
467
|
+
|
|
468
|
+
type wallet =
|
|
469
|
+
{
|
|
470
|
+
account_email_age_days: Integer?,
|
|
471
|
+
account_identifier: String?,
|
|
472
|
+
account_score: Integer?,
|
|
473
|
+
device_score: Integer?,
|
|
474
|
+
email_hash: String?
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
class Wallet < Increase::Internal::Type::BaseModel
|
|
478
|
+
attr_accessor account_email_age_days: Integer?
|
|
479
|
+
|
|
480
|
+
attr_accessor account_identifier: String?
|
|
481
|
+
|
|
482
|
+
attr_accessor account_score: Integer?
|
|
483
|
+
|
|
484
|
+
attr_accessor device_score: Integer?
|
|
485
|
+
|
|
486
|
+
attr_accessor email_hash: String?
|
|
487
|
+
|
|
488
|
+
def initialize: (
|
|
489
|
+
account_email_age_days: Integer?,
|
|
490
|
+
account_identifier: String?,
|
|
491
|
+
account_score: Integer?,
|
|
492
|
+
device_score: Integer?,
|
|
493
|
+
email_hash: String?
|
|
494
|
+
) -> void
|
|
495
|
+
|
|
496
|
+
def to_hash: -> {
|
|
497
|
+
account_email_age_days: Integer?,
|
|
498
|
+
account_identifier: String?,
|
|
499
|
+
account_score: Integer?,
|
|
500
|
+
device_score: Integer?,
|
|
501
|
+
email_hash: String?
|
|
502
|
+
}
|
|
503
|
+
end
|
|
262
504
|
end
|
|
263
505
|
end
|
|
264
506
|
end
|
|
@@ -120,11 +120,16 @@ module Increase
|
|
|
120
120
|
| :"loan_application.created"
|
|
121
121
|
| :"loan_application.updated"
|
|
122
122
|
| :"loan_distribution.created"
|
|
123
|
+
| :"loan_draw.created"
|
|
124
|
+
| :"loan_hold.created"
|
|
125
|
+
| :"loan_hold.updated"
|
|
123
126
|
| :"loan_obligation.created"
|
|
124
127
|
| :"loan_offer.created"
|
|
125
128
|
| :"loan_offer.updated"
|
|
129
|
+
| :"loan_payment.created"
|
|
126
130
|
| :"loan_purchase_offer.created"
|
|
127
131
|
| :"loan_purchase_offer.updated"
|
|
132
|
+
| :"loan_statement.created"
|
|
128
133
|
| :"lockbox.created"
|
|
129
134
|
| :"lockbox.updated"
|
|
130
135
|
| :"lockbox_address.created"
|
|
@@ -409,6 +414,15 @@ module Increase
|
|
|
409
414
|
# Occurs whenever a Loan Distribution is created.
|
|
410
415
|
LOAN_DISTRIBUTION_CREATED: :"loan_distribution.created"
|
|
411
416
|
|
|
417
|
+
# Occurs whenever a Loan Draw is created.
|
|
418
|
+
LOAN_DRAW_CREATED: :"loan_draw.created"
|
|
419
|
+
|
|
420
|
+
# Occurs whenever a Loan Hold is created.
|
|
421
|
+
LOAN_HOLD_CREATED: :"loan_hold.created"
|
|
422
|
+
|
|
423
|
+
# Occurs whenever a Loan Hold is updated.
|
|
424
|
+
LOAN_HOLD_UPDATED: :"loan_hold.updated"
|
|
425
|
+
|
|
412
426
|
# Occurs whenever a Loan Obligation is created.
|
|
413
427
|
LOAN_OBLIGATION_CREATED: :"loan_obligation.created"
|
|
414
428
|
|
|
@@ -418,12 +432,18 @@ module Increase
|
|
|
418
432
|
# Occurs whenever a Loan Offer is updated.
|
|
419
433
|
LOAN_OFFER_UPDATED: :"loan_offer.updated"
|
|
420
434
|
|
|
435
|
+
# Occurs whenever a Loan Payment is created.
|
|
436
|
+
LOAN_PAYMENT_CREATED: :"loan_payment.created"
|
|
437
|
+
|
|
421
438
|
# Occurs whenever a Loan Purchase Offer is created.
|
|
422
439
|
LOAN_PURCHASE_OFFER_CREATED: :"loan_purchase_offer.created"
|
|
423
440
|
|
|
424
441
|
# Occurs whenever a Loan Purchase Offer is updated.
|
|
425
442
|
LOAN_PURCHASE_OFFER_UPDATED: :"loan_purchase_offer.updated"
|
|
426
443
|
|
|
444
|
+
# Occurs whenever a Loan Statement is created.
|
|
445
|
+
LOAN_STATEMENT_CREATED: :"loan_statement.created"
|
|
446
|
+
|
|
427
447
|
# Occurs whenever a Lockbox is created.
|
|
428
448
|
LOCKBOX_CREATED: :"lockbox.created"
|
|
429
449
|
|
|
@@ -162,11 +162,16 @@ module Increase
|
|
|
162
162
|
| :"loan_application.created"
|
|
163
163
|
| :"loan_application.updated"
|
|
164
164
|
| :"loan_distribution.created"
|
|
165
|
+
| :"loan_draw.created"
|
|
166
|
+
| :"loan_hold.created"
|
|
167
|
+
| :"loan_hold.updated"
|
|
165
168
|
| :"loan_obligation.created"
|
|
166
169
|
| :"loan_offer.created"
|
|
167
170
|
| :"loan_offer.updated"
|
|
171
|
+
| :"loan_payment.created"
|
|
168
172
|
| :"loan_purchase_offer.created"
|
|
169
173
|
| :"loan_purchase_offer.updated"
|
|
174
|
+
| :"loan_statement.created"
|
|
170
175
|
| :"lockbox.created"
|
|
171
176
|
| :"lockbox.updated"
|
|
172
177
|
| :"lockbox_address.created"
|
|
@@ -451,6 +456,15 @@ module Increase
|
|
|
451
456
|
# Occurs whenever a Loan Distribution is created.
|
|
452
457
|
LOAN_DISTRIBUTION_CREATED: :"loan_distribution.created"
|
|
453
458
|
|
|
459
|
+
# Occurs whenever a Loan Draw is created.
|
|
460
|
+
LOAN_DRAW_CREATED: :"loan_draw.created"
|
|
461
|
+
|
|
462
|
+
# Occurs whenever a Loan Hold is created.
|
|
463
|
+
LOAN_HOLD_CREATED: :"loan_hold.created"
|
|
464
|
+
|
|
465
|
+
# Occurs whenever a Loan Hold is updated.
|
|
466
|
+
LOAN_HOLD_UPDATED: :"loan_hold.updated"
|
|
467
|
+
|
|
454
468
|
# Occurs whenever a Loan Obligation is created.
|
|
455
469
|
LOAN_OBLIGATION_CREATED: :"loan_obligation.created"
|
|
456
470
|
|
|
@@ -460,12 +474,18 @@ module Increase
|
|
|
460
474
|
# Occurs whenever a Loan Offer is updated.
|
|
461
475
|
LOAN_OFFER_UPDATED: :"loan_offer.updated"
|
|
462
476
|
|
|
477
|
+
# Occurs whenever a Loan Payment is created.
|
|
478
|
+
LOAN_PAYMENT_CREATED: :"loan_payment.created"
|
|
479
|
+
|
|
463
480
|
# Occurs whenever a Loan Purchase Offer is created.
|
|
464
481
|
LOAN_PURCHASE_OFFER_CREATED: :"loan_purchase_offer.created"
|
|
465
482
|
|
|
466
483
|
# Occurs whenever a Loan Purchase Offer is updated.
|
|
467
484
|
LOAN_PURCHASE_OFFER_UPDATED: :"loan_purchase_offer.updated"
|
|
468
485
|
|
|
486
|
+
# Occurs whenever a Loan Statement is created.
|
|
487
|
+
LOAN_STATEMENT_CREATED: :"loan_statement.created"
|
|
488
|
+
|
|
469
489
|
# Occurs whenever a Lockbox is created.
|
|
470
490
|
LOCKBOX_CREATED: :"lockbox.created"
|
|
471
491
|
|
|
@@ -146,11 +146,16 @@ module Increase
|
|
|
146
146
|
| :"loan_application.created"
|
|
147
147
|
| :"loan_application.updated"
|
|
148
148
|
| :"loan_distribution.created"
|
|
149
|
+
| :"loan_draw.created"
|
|
150
|
+
| :"loan_hold.created"
|
|
151
|
+
| :"loan_hold.updated"
|
|
149
152
|
| :"loan_obligation.created"
|
|
150
153
|
| :"loan_offer.created"
|
|
151
154
|
| :"loan_offer.updated"
|
|
155
|
+
| :"loan_payment.created"
|
|
152
156
|
| :"loan_purchase_offer.created"
|
|
153
157
|
| :"loan_purchase_offer.updated"
|
|
158
|
+
| :"loan_statement.created"
|
|
154
159
|
| :"lockbox.created"
|
|
155
160
|
| :"lockbox.updated"
|
|
156
161
|
| :"lockbox_address.created"
|
|
@@ -435,6 +440,15 @@ module Increase
|
|
|
435
440
|
# Occurs whenever a Loan Distribution is created.
|
|
436
441
|
LOAN_DISTRIBUTION_CREATED: :"loan_distribution.created"
|
|
437
442
|
|
|
443
|
+
# Occurs whenever a Loan Draw is created.
|
|
444
|
+
LOAN_DRAW_CREATED: :"loan_draw.created"
|
|
445
|
+
|
|
446
|
+
# Occurs whenever a Loan Hold is created.
|
|
447
|
+
LOAN_HOLD_CREATED: :"loan_hold.created"
|
|
448
|
+
|
|
449
|
+
# Occurs whenever a Loan Hold is updated.
|
|
450
|
+
LOAN_HOLD_UPDATED: :"loan_hold.updated"
|
|
451
|
+
|
|
438
452
|
# Occurs whenever a Loan Obligation is created.
|
|
439
453
|
LOAN_OBLIGATION_CREATED: :"loan_obligation.created"
|
|
440
454
|
|
|
@@ -444,12 +458,18 @@ module Increase
|
|
|
444
458
|
# Occurs whenever a Loan Offer is updated.
|
|
445
459
|
LOAN_OFFER_UPDATED: :"loan_offer.updated"
|
|
446
460
|
|
|
461
|
+
# Occurs whenever a Loan Payment is created.
|
|
462
|
+
LOAN_PAYMENT_CREATED: :"loan_payment.created"
|
|
463
|
+
|
|
447
464
|
# Occurs whenever a Loan Purchase Offer is created.
|
|
448
465
|
LOAN_PURCHASE_OFFER_CREATED: :"loan_purchase_offer.created"
|
|
449
466
|
|
|
450
467
|
# Occurs whenever a Loan Purchase Offer is updated.
|
|
451
468
|
LOAN_PURCHASE_OFFER_UPDATED: :"loan_purchase_offer.updated"
|
|
452
469
|
|
|
470
|
+
# Occurs whenever a Loan Statement is created.
|
|
471
|
+
LOAN_STATEMENT_CREATED: :"loan_statement.created"
|
|
472
|
+
|
|
453
473
|
# Occurs whenever a Lockbox is created.
|
|
454
474
|
LOCKBOX_CREATED: :"lockbox.created"
|
|
455
475
|
|
|
@@ -149,11 +149,16 @@ module Increase
|
|
|
149
149
|
| :"loan_application.created"
|
|
150
150
|
| :"loan_application.updated"
|
|
151
151
|
| :"loan_distribution.created"
|
|
152
|
+
| :"loan_draw.created"
|
|
153
|
+
| :"loan_hold.created"
|
|
154
|
+
| :"loan_hold.updated"
|
|
152
155
|
| :"loan_obligation.created"
|
|
153
156
|
| :"loan_offer.created"
|
|
154
157
|
| :"loan_offer.updated"
|
|
158
|
+
| :"loan_payment.created"
|
|
155
159
|
| :"loan_purchase_offer.created"
|
|
156
160
|
| :"loan_purchase_offer.updated"
|
|
161
|
+
| :"loan_statement.created"
|
|
157
162
|
| :"lockbox.created"
|
|
158
163
|
| :"lockbox.updated"
|
|
159
164
|
| :"lockbox_address.created"
|
|
@@ -438,6 +443,15 @@ module Increase
|
|
|
438
443
|
# Occurs whenever a Loan Distribution is created.
|
|
439
444
|
LOAN_DISTRIBUTION_CREATED: :"loan_distribution.created"
|
|
440
445
|
|
|
446
|
+
# Occurs whenever a Loan Draw is created.
|
|
447
|
+
LOAN_DRAW_CREATED: :"loan_draw.created"
|
|
448
|
+
|
|
449
|
+
# Occurs whenever a Loan Hold is created.
|
|
450
|
+
LOAN_HOLD_CREATED: :"loan_hold.created"
|
|
451
|
+
|
|
452
|
+
# Occurs whenever a Loan Hold is updated.
|
|
453
|
+
LOAN_HOLD_UPDATED: :"loan_hold.updated"
|
|
454
|
+
|
|
441
455
|
# Occurs whenever a Loan Obligation is created.
|
|
442
456
|
LOAN_OBLIGATION_CREATED: :"loan_obligation.created"
|
|
443
457
|
|
|
@@ -447,12 +461,18 @@ module Increase
|
|
|
447
461
|
# Occurs whenever a Loan Offer is updated.
|
|
448
462
|
LOAN_OFFER_UPDATED: :"loan_offer.updated"
|
|
449
463
|
|
|
464
|
+
# Occurs whenever a Loan Payment is created.
|
|
465
|
+
LOAN_PAYMENT_CREATED: :"loan_payment.created"
|
|
466
|
+
|
|
450
467
|
# Occurs whenever a Loan Purchase Offer is created.
|
|
451
468
|
LOAN_PURCHASE_OFFER_CREATED: :"loan_purchase_offer.created"
|
|
452
469
|
|
|
453
470
|
# Occurs whenever a Loan Purchase Offer is updated.
|
|
454
471
|
LOAN_PURCHASE_OFFER_UPDATED: :"loan_purchase_offer.updated"
|
|
455
472
|
|
|
473
|
+
# Occurs whenever a Loan Statement is created.
|
|
474
|
+
LOAN_STATEMENT_CREATED: :"loan_statement.created"
|
|
475
|
+
|
|
456
476
|
# Occurs whenever a Lockbox is created.
|
|
457
477
|
LOCKBOX_CREATED: :"lockbox.created"
|
|
458
478
|
|
|
@@ -170,26 +170,32 @@ module Increase
|
|
|
170
170
|
|
|
171
171
|
type reversal =
|
|
172
172
|
{
|
|
173
|
+
amount: Integer,
|
|
173
174
|
reason: Increase::Models::InboundWireTransfer::Reversal::reason,
|
|
174
175
|
reversed_at: Time
|
|
175
176
|
}
|
|
176
177
|
|
|
177
178
|
class Reversal < Increase::Internal::Type::BaseModel
|
|
179
|
+
attr_accessor amount: Integer
|
|
180
|
+
|
|
178
181
|
attr_accessor reason: Increase::Models::InboundWireTransfer::Reversal::reason
|
|
179
182
|
|
|
180
183
|
attr_accessor reversed_at: Time
|
|
181
184
|
|
|
182
185
|
def initialize: (
|
|
186
|
+
amount: Integer,
|
|
183
187
|
reason: Increase::Models::InboundWireTransfer::Reversal::reason,
|
|
184
188
|
reversed_at: Time
|
|
185
189
|
) -> void
|
|
186
190
|
|
|
187
191
|
def to_hash: -> {
|
|
192
|
+
amount: Integer,
|
|
188
193
|
reason: Increase::Models::InboundWireTransfer::Reversal::reason,
|
|
189
194
|
reversed_at: Time
|
|
190
195
|
}
|
|
191
196
|
|
|
192
|
-
type reason =
|
|
197
|
+
type reason =
|
|
198
|
+
:duplicate | :creditor_request | :transaction_forbidden | :fraud
|
|
193
199
|
|
|
194
200
|
module Reason
|
|
195
201
|
extend Increase::Internal::Type::Enum
|
|
@@ -203,6 +209,9 @@ module Increase
|
|
|
203
209
|
# The account cannot currently receive inbound wires.
|
|
204
210
|
TRANSACTION_FORBIDDEN: :transaction_forbidden
|
|
205
211
|
|
|
212
|
+
# The inbound wire transfer was fraudulent.
|
|
213
|
+
FRAUD: :fraud
|
|
214
|
+
|
|
206
215
|
def self?.values: -> ::Array[Increase::Models::InboundWireTransfer::Reversal::reason]
|
|
207
216
|
end
|
|
208
217
|
end
|
|
@@ -3,7 +3,8 @@ module Increase
|
|
|
3
3
|
type inbound_wire_transfer_reverse_params =
|
|
4
4
|
{
|
|
5
5
|
inbound_wire_transfer_id: String,
|
|
6
|
-
reason: Increase::Models::InboundWireTransferReverseParams::reason
|
|
6
|
+
reason: Increase::Models::InboundWireTransferReverseParams::reason,
|
|
7
|
+
amount: Integer
|
|
7
8
|
}
|
|
8
9
|
& Increase::Internal::Type::request_parameters
|
|
9
10
|
|
|
@@ -15,19 +16,26 @@ module Increase
|
|
|
15
16
|
|
|
16
17
|
attr_accessor reason: Increase::Models::InboundWireTransferReverseParams::reason
|
|
17
18
|
|
|
19
|
+
attr_reader amount: Integer?
|
|
20
|
+
|
|
21
|
+
def amount=: (Integer) -> Integer
|
|
22
|
+
|
|
18
23
|
def initialize: (
|
|
19
24
|
inbound_wire_transfer_id: String,
|
|
20
25
|
reason: Increase::Models::InboundWireTransferReverseParams::reason,
|
|
26
|
+
?amount: Integer,
|
|
21
27
|
?request_options: Increase::request_opts
|
|
22
28
|
) -> void
|
|
23
29
|
|
|
24
30
|
def to_hash: -> {
|
|
25
31
|
inbound_wire_transfer_id: String,
|
|
26
32
|
reason: Increase::Models::InboundWireTransferReverseParams::reason,
|
|
33
|
+
amount: Integer,
|
|
27
34
|
request_options: Increase::RequestOptions
|
|
28
35
|
}
|
|
29
36
|
|
|
30
|
-
type reason =
|
|
37
|
+
type reason =
|
|
38
|
+
:duplicate | :creditor_request | :transaction_forbidden | :fraud
|
|
31
39
|
|
|
32
40
|
module Reason
|
|
33
41
|
extend Increase::Internal::Type::Enum
|
|
@@ -41,6 +49,9 @@ module Increase
|
|
|
41
49
|
# The account cannot currently receive inbound wires.
|
|
42
50
|
TRANSACTION_FORBIDDEN: :transaction_forbidden
|
|
43
51
|
|
|
52
|
+
# The inbound wire transfer was fraudulent.
|
|
53
|
+
FRAUD: :fraud
|
|
54
|
+
|
|
44
55
|
def self?.values: -> ::Array[Increase::Models::InboundWireTransferReverseParams::reason]
|
|
45
56
|
end
|
|
46
57
|
end
|