increase 1.347.0 → 1.348.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/models/ach_prenotification_create_params.rb +2 -2
- data/lib/increase/models/ach_transfer.rb +2 -2
- data/lib/increase/models/ach_transfer_create_params.rb +1 -24
- data/lib/increase/models/balance_lookup.rb +49 -1
- data/lib/increase/models/beneficial_owner_update_params.rb +9 -1
- data/lib/increase/models/card.rb +43 -1
- data/lib/increase/models/card_create_params.rb +42 -1
- data/lib/increase/models/card_dispute.rb +1 -1
- data/lib/increase/models/card_dispute_list_params.rb +1 -1
- data/lib/increase/models/card_payment.rb +18 -1
- data/lib/increase/models/check_transfer.rb +13 -1
- data/lib/increase/models/check_transfer_create_params.rb +25 -13
- data/lib/increase/models/entity.rb +22 -4
- data/lib/increase/models/entity_update_params.rb +754 -1
- data/lib/increase/models/event.rb +9 -0
- data/lib/increase/models/event_list_params.rb +9 -0
- data/lib/increase/models/event_subscription.rb +9 -0
- data/lib/increase/models/event_subscription_create_params.rb +9 -0
- data/lib/increase/models/file.rb +7 -6
- data/lib/increase/models/inbound_ach_transfer.rb +6 -6
- data/lib/increase/models/pending_transaction.rb +18 -1
- data/lib/increase/models/real_time_decision.rb +18 -1
- data/lib/increase/models/real_time_payments_transfer.rb +30 -19
- data/lib/increase/models/real_time_payments_transfer_create_params.rb +12 -1
- data/lib/increase/models/simulations/card_dispute_action_params.rb +30 -1
- data/lib/increase/models/simulations/entity_update_validation_params.rb +3 -0
- data/lib/increase/models/simulations/real_time_payments_transfer_complete_params.rb +18 -18
- data/lib/increase/models/unwrap_webhook_event.rb +9 -0
- data/lib/increase/models/wire_transfer_create_params.rb +100 -42
- data/lib/increase/resources/ach_prenotifications.rb +1 -1
- data/lib/increase/resources/ach_transfers.rb +1 -4
- data/lib/increase/resources/beneficial_owners.rb +3 -1
- data/lib/increase/resources/cards.rb +5 -1
- data/lib/increase/resources/real_time_payments_transfers.rb +5 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/ach_prenotification_create_params.rbi +2 -2
- data/rbi/increase/models/ach_transfer.rbi +2 -2
- data/rbi/increase/models/ach_transfer_create_params.rbi +0 -59
- data/rbi/increase/models/balance_lookup.rbi +48 -0
- data/rbi/increase/models/beneficial_owner_update_params.rbi +11 -0
- data/rbi/increase/models/card.rbi +63 -0
- data/rbi/increase/models/card_create_params.rbi +65 -0
- data/rbi/increase/models/card_dispute.rbi +1 -1
- data/rbi/increase/models/card_dispute_list_params.rbi +1 -1
- data/rbi/increase/models/card_payment.rbi +16 -0
- data/rbi/increase/models/check_transfer.rbi +15 -0
- data/rbi/increase/models/check_transfer_create_params.rbi +26 -12
- data/rbi/increase/models/entity.rbi +61 -3
- data/rbi/increase/models/entity_update_params.rbi +1326 -3
- data/rbi/increase/models/event.rbi +21 -0
- data/rbi/increase/models/event_list_params.rbi +21 -0
- data/rbi/increase/models/event_subscription.rbi +21 -0
- data/rbi/increase/models/event_subscription_create_params.rbi +21 -0
- data/rbi/increase/models/file.rbi +7 -6
- data/rbi/increase/models/inbound_ach_transfer.rbi +6 -6
- data/rbi/increase/models/pending_transaction.rbi +16 -0
- data/rbi/increase/models/real_time_decision.rbi +16 -0
- data/rbi/increase/models/real_time_payments_transfer.rbi +29 -18
- data/rbi/increase/models/real_time_payments_transfer_create_params.rbi +15 -0
- data/rbi/increase/models/simulations/card_dispute_action_params.rbi +60 -0
- data/rbi/increase/models/simulations/entity_update_validation_params.rbi +7 -0
- data/rbi/increase/models/simulations/real_time_payments_transfer_complete_params.rbi +18 -18
- data/rbi/increase/models/unwrap_webhook_event.rbi +21 -0
- data/rbi/increase/models/wire_transfer_create_params.rbi +146 -62
- data/rbi/increase/resources/ach_prenotifications.rbi +1 -1
- data/rbi/increase/resources/ach_transfers.rbi +0 -4
- data/rbi/increase/resources/beneficial_owners.rbi +3 -0
- data/rbi/increase/resources/cards.rbi +4 -0
- data/rbi/increase/resources/real_time_payments_transfers.rbi +4 -0
- data/sig/increase/models/ach_transfer_create_params.rbs +1 -24
- data/sig/increase/models/balance_lookup.rbs +30 -0
- data/sig/increase/models/beneficial_owner_update_params.rbs +7 -0
- data/sig/increase/models/card.rbs +19 -0
- data/sig/increase/models/card_create_params.rbs +25 -0
- data/sig/increase/models/card_dispute.rbs +1 -1
- data/sig/increase/models/card_dispute_list_params.rbs +1 -1
- data/sig/increase/models/card_payment.rbs +5 -0
- data/sig/increase/models/check_transfer.rbs +9 -0
- data/sig/increase/models/check_transfer_create_params.rbs +7 -0
- data/sig/increase/models/entity.rbs +21 -4
- data/sig/increase/models/entity_update_params.rbs +585 -3
- data/sig/increase/models/event.rbs +12 -0
- data/sig/increase/models/event_list_params.rbs +12 -0
- data/sig/increase/models/event_subscription.rbs +12 -0
- data/sig/increase/models/event_subscription_create_params.rbs +12 -0
- data/sig/increase/models/inbound_ach_transfer.rbs +2 -2
- data/sig/increase/models/pending_transaction.rbs +5 -0
- data/sig/increase/models/real_time_decision.rbs +5 -0
- data/sig/increase/models/real_time_payments_transfer.rbs +23 -18
- data/sig/increase/models/real_time_payments_transfer_create_params.rbs +7 -0
- data/sig/increase/models/simulations/card_dispute_action_params.rbs +23 -0
- data/sig/increase/models/simulations/entity_update_validation_params.rbs +4 -0
- data/sig/increase/models/simulations/real_time_payments_transfer_complete_params.rbs +18 -18
- data/sig/increase/models/unwrap_webhook_event.rbs +12 -0
- data/sig/increase/models/wire_transfer_create_params.rbs +78 -32
- data/sig/increase/resources/ach_transfers.rbs +0 -1
- data/sig/increase/resources/beneficial_owners.rbs +1 -0
- data/sig/increase/resources/cards.rbs +1 -0
- data/sig/increase/resources/real_time_payments_transfers.rbs +1 -0
- metadata +2 -2
|
@@ -40,6 +40,18 @@ module Increase
|
|
|
40
40
|
end
|
|
41
41
|
attr_writer :billing_address
|
|
42
42
|
|
|
43
|
+
# The name of the cardholder. Used to respond to Account Name Inquiry requests
|
|
44
|
+
# from acquirers in Card Validations.
|
|
45
|
+
sig { returns(T.nilable(Increase::CardCreateParams::CardholderName)) }
|
|
46
|
+
attr_reader :cardholder_name
|
|
47
|
+
|
|
48
|
+
sig do
|
|
49
|
+
params(
|
|
50
|
+
cardholder_name: Increase::CardCreateParams::CardholderName::OrHash
|
|
51
|
+
).void
|
|
52
|
+
end
|
|
53
|
+
attr_writer :cardholder_name
|
|
54
|
+
|
|
43
55
|
# The description you choose to give the card.
|
|
44
56
|
sig { returns(T.nilable(String)) }
|
|
45
57
|
attr_reader :description
|
|
@@ -76,6 +88,7 @@ module Increase
|
|
|
76
88
|
authorization_controls:
|
|
77
89
|
Increase::CardCreateParams::AuthorizationControls::OrHash,
|
|
78
90
|
billing_address: Increase::CardCreateParams::BillingAddress::OrHash,
|
|
91
|
+
cardholder_name: Increase::CardCreateParams::CardholderName::OrHash,
|
|
79
92
|
description: String,
|
|
80
93
|
digital_wallet: Increase::CardCreateParams::DigitalWallet::OrHash,
|
|
81
94
|
entity_id: String,
|
|
@@ -89,6 +102,9 @@ module Increase
|
|
|
89
102
|
authorization_controls: nil,
|
|
90
103
|
# The card's billing address.
|
|
91
104
|
billing_address: nil,
|
|
105
|
+
# The name of the cardholder. Used to respond to Account Name Inquiry requests
|
|
106
|
+
# from acquirers in Card Validations.
|
|
107
|
+
cardholder_name: nil,
|
|
92
108
|
# The description you choose to give the card.
|
|
93
109
|
description: nil,
|
|
94
110
|
# The contact information used in the two-factor steps for digital wallet card
|
|
@@ -111,6 +127,7 @@ module Increase
|
|
|
111
127
|
authorization_controls:
|
|
112
128
|
Increase::CardCreateParams::AuthorizationControls,
|
|
113
129
|
billing_address: Increase::CardCreateParams::BillingAddress,
|
|
130
|
+
cardholder_name: Increase::CardCreateParams::CardholderName,
|
|
114
131
|
description: String,
|
|
115
132
|
digital_wallet: Increase::CardCreateParams::DigitalWallet,
|
|
116
133
|
entity_id: String,
|
|
@@ -1258,6 +1275,54 @@ module Increase
|
|
|
1258
1275
|
end
|
|
1259
1276
|
end
|
|
1260
1277
|
|
|
1278
|
+
class CardholderName < Increase::Internal::Type::BaseModel
|
|
1279
|
+
OrHash =
|
|
1280
|
+
T.type_alias do
|
|
1281
|
+
T.any(
|
|
1282
|
+
Increase::CardCreateParams::CardholderName,
|
|
1283
|
+
Increase::Internal::AnyHash
|
|
1284
|
+
)
|
|
1285
|
+
end
|
|
1286
|
+
|
|
1287
|
+
# The cardholder's first name.
|
|
1288
|
+
sig { returns(String) }
|
|
1289
|
+
attr_accessor :first
|
|
1290
|
+
|
|
1291
|
+
# The cardholder's last name.
|
|
1292
|
+
sig { returns(String) }
|
|
1293
|
+
attr_accessor :last
|
|
1294
|
+
|
|
1295
|
+
# The cardholder's middle name.
|
|
1296
|
+
sig { returns(T.nilable(String)) }
|
|
1297
|
+
attr_reader :middle
|
|
1298
|
+
|
|
1299
|
+
sig { params(middle: String).void }
|
|
1300
|
+
attr_writer :middle
|
|
1301
|
+
|
|
1302
|
+
# The name of the cardholder. Used to respond to Account Name Inquiry requests
|
|
1303
|
+
# from acquirers in Card Validations.
|
|
1304
|
+
sig do
|
|
1305
|
+
params(first: String, last: String, middle: String).returns(
|
|
1306
|
+
T.attached_class
|
|
1307
|
+
)
|
|
1308
|
+
end
|
|
1309
|
+
def self.new(
|
|
1310
|
+
# The cardholder's first name.
|
|
1311
|
+
first:,
|
|
1312
|
+
# The cardholder's last name.
|
|
1313
|
+
last:,
|
|
1314
|
+
# The cardholder's middle name.
|
|
1315
|
+
middle: nil
|
|
1316
|
+
)
|
|
1317
|
+
end
|
|
1318
|
+
|
|
1319
|
+
sig do
|
|
1320
|
+
override.returns({ first: String, last: String, middle: String })
|
|
1321
|
+
end
|
|
1322
|
+
def to_hash
|
|
1323
|
+
end
|
|
1324
|
+
end
|
|
1325
|
+
|
|
1261
1326
|
class DigitalWallet < Increase::Internal::Type::BaseModel
|
|
1262
1327
|
OrHash =
|
|
1263
1328
|
T.type_alias do
|
|
@@ -372,7 +372,7 @@ module Increase
|
|
|
372
372
|
# The Card Dispute has been won and no further action can be taken.
|
|
373
373
|
WON = T.let(:won, Increase::CardDispute::Status::TaggedSymbol)
|
|
374
374
|
|
|
375
|
-
# The Card Dispute
|
|
375
|
+
# The Card Dispute was rejected before it was submitted to the network, either by Increase or because the user withdrew it. Please review the explanation for more details.
|
|
376
376
|
REJECTED = T.let(:rejected, Increase::CardDispute::Status::TaggedSymbol)
|
|
377
377
|
|
|
378
378
|
sig do
|
|
@@ -284,7 +284,7 @@ module Increase
|
|
|
284
284
|
Increase::CardDisputeListParams::Status::In::TaggedSymbol
|
|
285
285
|
)
|
|
286
286
|
|
|
287
|
-
# The Card Dispute
|
|
287
|
+
# The Card Dispute was rejected before it was submitted to the network, either by Increase or because the user withdrew it. Please review the explanation for more details.
|
|
288
288
|
REJECTED =
|
|
289
289
|
T.let(
|
|
290
290
|
:rejected,
|
|
@@ -2585,6 +2585,14 @@ module Increase
|
|
|
2585
2585
|
sig { returns(T.nilable(Integer)) }
|
|
2586
2586
|
attr_accessor :network_risk_score
|
|
2587
2587
|
|
|
2588
|
+
# The ID of the Card Payment containing the original authorization or card
|
|
2589
|
+
# validation this transaction references. For a merchant-initiated transaction,
|
|
2590
|
+
# this is the Card Payment from when the card was first stored, which is typically
|
|
2591
|
+
# where the CVV2 was verified. The reference this is derived from is supplied by
|
|
2592
|
+
# the merchant or their acquirer, so it is not guaranteed to be present.
|
|
2593
|
+
sig { returns(T.nilable(String)) }
|
|
2594
|
+
attr_accessor :original_card_payment_id
|
|
2595
|
+
|
|
2588
2596
|
# The identifier of the Pending Transaction associated with this Transaction.
|
|
2589
2597
|
sig { returns(T.nilable(String)) }
|
|
2590
2598
|
attr_accessor :pending_transaction_id
|
|
@@ -2692,6 +2700,7 @@ module Increase
|
|
|
2692
2700
|
network_identifiers:
|
|
2693
2701
|
Increase::CardPayment::Element::CardAuthorization::NetworkIdentifiers::OrHash,
|
|
2694
2702
|
network_risk_score: T.nilable(Integer),
|
|
2703
|
+
original_card_payment_id: T.nilable(String),
|
|
2695
2704
|
pending_transaction_id: T.nilable(String),
|
|
2696
2705
|
physical_card_id: T.nilable(String),
|
|
2697
2706
|
presentment_amount: Integer,
|
|
@@ -2765,6 +2774,12 @@ module Increase
|
|
|
2765
2774
|
# Authorization risk score, from 0 to 99, where 99 is the riskiest. For Pulse the
|
|
2766
2775
|
# score is from 0 to 999, where 999 is the riskiest.
|
|
2767
2776
|
network_risk_score:,
|
|
2777
|
+
# The ID of the Card Payment containing the original authorization or card
|
|
2778
|
+
# validation this transaction references. For a merchant-initiated transaction,
|
|
2779
|
+
# this is the Card Payment from when the card was first stored, which is typically
|
|
2780
|
+
# where the CVV2 was verified. The reference this is derived from is supplied by
|
|
2781
|
+
# the merchant or their acquirer, so it is not guaranteed to be present.
|
|
2782
|
+
original_card_payment_id:,
|
|
2768
2783
|
# The identifier of the Pending Transaction associated with this Transaction.
|
|
2769
2784
|
pending_transaction_id:,
|
|
2770
2785
|
# If the authorization was made in-person with a physical card, the Physical Card
|
|
@@ -2826,6 +2841,7 @@ module Increase
|
|
|
2826
2841
|
network_identifiers:
|
|
2827
2842
|
Increase::CardPayment::Element::CardAuthorization::NetworkIdentifiers,
|
|
2828
2843
|
network_risk_score: T.nilable(Integer),
|
|
2844
|
+
original_card_payment_id: T.nilable(String),
|
|
2829
2845
|
pending_transaction_id: T.nilable(String),
|
|
2830
2846
|
physical_card_id: T.nilable(String),
|
|
2831
2847
|
presentment_amount: Integer,
|
|
@@ -791,6 +791,10 @@ module Increase
|
|
|
791
791
|
sig { returns(T::Array[Increase::CheckTransfer::PhysicalCheck::Payer]) }
|
|
792
792
|
attr_accessor :payer
|
|
793
793
|
|
|
794
|
+
# The identifier of the Physical Check Batch that this check is a part of.
|
|
795
|
+
sig { returns(T.nilable(String)) }
|
|
796
|
+
attr_accessor :physical_check_batch_id
|
|
797
|
+
|
|
794
798
|
# The name that will be printed on the check.
|
|
795
799
|
sig { returns(String) }
|
|
796
800
|
attr_accessor :recipient_name
|
|
@@ -857,6 +861,7 @@ module Increase
|
|
|
857
861
|
note: T.nilable(String),
|
|
858
862
|
payer:
|
|
859
863
|
T::Array[Increase::CheckTransfer::PhysicalCheck::Payer::OrHash],
|
|
864
|
+
physical_check_batch_id: T.nilable(String),
|
|
860
865
|
recipient_name: String,
|
|
861
866
|
return_address:
|
|
862
867
|
T.nilable(
|
|
@@ -887,6 +892,8 @@ module Increase
|
|
|
887
892
|
# The payer of the check. This will be printed on the top-left portion of the
|
|
888
893
|
# check and defaults to the return address if unspecified.
|
|
889
894
|
payer:,
|
|
895
|
+
# The identifier of the Physical Check Batch that this check is a part of.
|
|
896
|
+
physical_check_batch_id:,
|
|
890
897
|
# The name that will be printed on the check.
|
|
891
898
|
recipient_name:,
|
|
892
899
|
# The return address to be printed on the check.
|
|
@@ -913,6 +920,7 @@ module Increase
|
|
|
913
920
|
memo: T.nilable(String),
|
|
914
921
|
note: T.nilable(String),
|
|
915
922
|
payer: T::Array[Increase::CheckTransfer::PhysicalCheck::Payer],
|
|
923
|
+
physical_check_batch_id: T.nilable(String),
|
|
916
924
|
recipient_name: String,
|
|
917
925
|
return_address:
|
|
918
926
|
T.nilable(
|
|
@@ -1369,6 +1377,13 @@ module Increase
|
|
|
1369
1377
|
CANCELED =
|
|
1370
1378
|
T.let(:canceled, Increase::CheckTransfer::Status::TaggedSymbol)
|
|
1371
1379
|
|
|
1380
|
+
# The transfer is waiting for its Physical Check Batch to be completed.
|
|
1381
|
+
PENDING_BATCH_COMPLETING =
|
|
1382
|
+
T.let(
|
|
1383
|
+
:pending_batch_completing,
|
|
1384
|
+
Increase::CheckTransfer::Status::TaggedSymbol
|
|
1385
|
+
)
|
|
1386
|
+
|
|
1372
1387
|
# The transfer is pending submission.
|
|
1373
1388
|
PENDING_SUBMISSION =
|
|
1374
1389
|
T.let(
|
|
@@ -268,7 +268,8 @@ module Increase
|
|
|
268
268
|
)
|
|
269
269
|
end
|
|
270
270
|
|
|
271
|
-
# Details for where Increase will mail the check.
|
|
271
|
+
# Details for where Increase will mail the check. When `physical_check_batch_id`
|
|
272
|
+
# is set, the address must match the Physical Check Batch.
|
|
272
273
|
sig do
|
|
273
274
|
returns(
|
|
274
275
|
Increase::CheckTransferCreateParams::PhysicalCheck::MailingAddress
|
|
@@ -327,9 +328,16 @@ module Increase
|
|
|
327
328
|
sig { params(note: String).void }
|
|
328
329
|
attr_writer :note
|
|
329
330
|
|
|
330
|
-
# The
|
|
331
|
-
|
|
332
|
-
|
|
331
|
+
# The identifier of the Physical Check Batch to mail this check as a part of.
|
|
332
|
+
sig { returns(T.nilable(String)) }
|
|
333
|
+
attr_reader :physical_check_batch_id
|
|
334
|
+
|
|
335
|
+
sig { params(physical_check_batch_id: String).void }
|
|
336
|
+
attr_writer :physical_check_batch_id
|
|
337
|
+
|
|
338
|
+
# Details for where the courier will return the check to if it is unable to be
|
|
339
|
+
# delivered. Defaults to an Increase-owned address that will mark checks as
|
|
340
|
+
# delivery failed and shred them.
|
|
333
341
|
sig do
|
|
334
342
|
returns(
|
|
335
343
|
T.nilable(
|
|
@@ -410,6 +418,7 @@ module Increase
|
|
|
410
418
|
attachment_file_id: String,
|
|
411
419
|
check_voucher_image_file_id: String,
|
|
412
420
|
note: String,
|
|
421
|
+
physical_check_batch_id: String,
|
|
413
422
|
return_address:
|
|
414
423
|
Increase::CheckTransferCreateParams::PhysicalCheck::ReturnAddress::OrHash,
|
|
415
424
|
return_address_name: String,
|
|
@@ -420,7 +429,8 @@ module Increase
|
|
|
420
429
|
).returns(T.attached_class)
|
|
421
430
|
end
|
|
422
431
|
def self.new(
|
|
423
|
-
# Details for where Increase will mail the check.
|
|
432
|
+
# Details for where Increase will mail the check. When `physical_check_batch_id`
|
|
433
|
+
# is set, the address must match the Physical Check Batch.
|
|
424
434
|
mailing_address:,
|
|
425
435
|
# The descriptor that will be printed on the memo field on the check.
|
|
426
436
|
memo:,
|
|
@@ -440,9 +450,11 @@ module Increase
|
|
|
440
450
|
check_voucher_image_file_id: nil,
|
|
441
451
|
# The descriptor that will be printed on the letter included with the check.
|
|
442
452
|
note: nil,
|
|
443
|
-
# The
|
|
444
|
-
|
|
445
|
-
#
|
|
453
|
+
# The identifier of the Physical Check Batch to mail this check as a part of.
|
|
454
|
+
physical_check_batch_id: nil,
|
|
455
|
+
# Details for where the courier will return the check to if it is unable to be
|
|
456
|
+
# delivered. Defaults to an Increase-owned address that will mark checks as
|
|
457
|
+
# delivery failed and shred them.
|
|
446
458
|
return_address: nil,
|
|
447
459
|
# A custom name to print above the default return address. Cannot be provided
|
|
448
460
|
# together with `return_address`.
|
|
@@ -471,6 +483,7 @@ module Increase
|
|
|
471
483
|
attachment_file_id: String,
|
|
472
484
|
check_voucher_image_file_id: String,
|
|
473
485
|
note: String,
|
|
486
|
+
physical_check_batch_id: String,
|
|
474
487
|
return_address:
|
|
475
488
|
Increase::CheckTransferCreateParams::PhysicalCheck::ReturnAddress,
|
|
476
489
|
return_address_name: String,
|
|
@@ -533,7 +546,8 @@ module Increase
|
|
|
533
546
|
sig { params(phone: String).void }
|
|
534
547
|
attr_writer :phone
|
|
535
548
|
|
|
536
|
-
# Details for where Increase will mail the check.
|
|
549
|
+
# Details for where Increase will mail the check. When `physical_check_batch_id`
|
|
550
|
+
# is set, the address must match the Physical Check Batch.
|
|
537
551
|
sig do
|
|
538
552
|
params(
|
|
539
553
|
city: String,
|
|
@@ -653,9 +667,9 @@ module Increase
|
|
|
653
667
|
sig { params(phone: String).void }
|
|
654
668
|
attr_writer :phone
|
|
655
669
|
|
|
656
|
-
#
|
|
657
|
-
# an Increase-owned address that will mark checks as
|
|
658
|
-
# them.
|
|
670
|
+
# Details for where the courier will return the check to if it is unable to be
|
|
671
|
+
# delivered. Defaults to an Increase-owned address that will mark checks as
|
|
672
|
+
# delivery failed and shred them.
|
|
659
673
|
sig do
|
|
660
674
|
params(
|
|
661
675
|
city: String,
|
|
@@ -2015,7 +2015,7 @@ module Increase
|
|
|
2015
2015
|
attr_accessor :agreed_at
|
|
2016
2016
|
|
|
2017
2017
|
# The IP address the Entity accessed reviewed the terms from.
|
|
2018
|
-
sig { returns(String) }
|
|
2018
|
+
sig { returns(T.nilable(String)) }
|
|
2019
2019
|
attr_accessor :ip_address
|
|
2020
2020
|
|
|
2021
2021
|
# The URL of the terms agreement. This link will be provided by your bank partner.
|
|
@@ -2025,7 +2025,7 @@ module Increase
|
|
|
2025
2025
|
sig do
|
|
2026
2026
|
params(
|
|
2027
2027
|
agreed_at: Time,
|
|
2028
|
-
ip_address: String,
|
|
2028
|
+
ip_address: T.nilable(String),
|
|
2029
2029
|
terms_url: String
|
|
2030
2030
|
).returns(T.attached_class)
|
|
2031
2031
|
end
|
|
@@ -2041,7 +2041,11 @@ module Increase
|
|
|
2041
2041
|
|
|
2042
2042
|
sig do
|
|
2043
2043
|
override.returns(
|
|
2044
|
-
{
|
|
2044
|
+
{
|
|
2045
|
+
agreed_at: Time,
|
|
2046
|
+
ip_address: T.nilable(String),
|
|
2047
|
+
terms_url: String
|
|
2048
|
+
}
|
|
2045
2049
|
)
|
|
2046
2050
|
end
|
|
2047
2051
|
def to_hash
|
|
@@ -3137,6 +3141,24 @@ module Increase
|
|
|
3137
3141
|
end
|
|
3138
3142
|
attr_writer :entity_address
|
|
3139
3143
|
|
|
3144
|
+
# Details when the issue is with the entity's identity verification.
|
|
3145
|
+
sig do
|
|
3146
|
+
returns(
|
|
3147
|
+
T.nilable(Increase::Entity::Validation::Issue::EntityIdentity)
|
|
3148
|
+
)
|
|
3149
|
+
end
|
|
3150
|
+
attr_reader :entity_identity
|
|
3151
|
+
|
|
3152
|
+
sig do
|
|
3153
|
+
params(
|
|
3154
|
+
entity_identity:
|
|
3155
|
+
T.nilable(
|
|
3156
|
+
Increase::Entity::Validation::Issue::EntityIdentity::OrHash
|
|
3157
|
+
)
|
|
3158
|
+
).void
|
|
3159
|
+
end
|
|
3160
|
+
attr_writer :entity_identity
|
|
3161
|
+
|
|
3140
3162
|
# Details when the issue is with the entity's tax ID.
|
|
3141
3163
|
sig do
|
|
3142
3164
|
returns(
|
|
@@ -3172,6 +3194,10 @@ module Increase
|
|
|
3172
3194
|
T.nilable(
|
|
3173
3195
|
Increase::Entity::Validation::Issue::EntityAddress::OrHash
|
|
3174
3196
|
),
|
|
3197
|
+
entity_identity:
|
|
3198
|
+
T.nilable(
|
|
3199
|
+
Increase::Entity::Validation::Issue::EntityIdentity::OrHash
|
|
3200
|
+
),
|
|
3175
3201
|
entity_tax_identifier:
|
|
3176
3202
|
T.nilable(
|
|
3177
3203
|
Increase::Entity::Validation::Issue::EntityTaxIdentifier::OrHash
|
|
@@ -3188,6 +3214,8 @@ module Increase
|
|
|
3188
3214
|
category:,
|
|
3189
3215
|
# Details when the issue is with the entity's address.
|
|
3190
3216
|
entity_address:,
|
|
3217
|
+
# Details when the issue is with the entity's identity verification.
|
|
3218
|
+
entity_identity:,
|
|
3191
3219
|
# Details when the issue is with the entity's tax ID.
|
|
3192
3220
|
entity_tax_identifier:
|
|
3193
3221
|
)
|
|
@@ -3208,6 +3236,10 @@ module Increase
|
|
|
3208
3236
|
Increase::Entity::Validation::Issue::Category::TaggedSymbol,
|
|
3209
3237
|
entity_address:
|
|
3210
3238
|
T.nilable(Increase::Entity::Validation::Issue::EntityAddress),
|
|
3239
|
+
entity_identity:
|
|
3240
|
+
T.nilable(
|
|
3241
|
+
Increase::Entity::Validation::Issue::EntityIdentity
|
|
3242
|
+
),
|
|
3211
3243
|
entity_tax_identifier:
|
|
3212
3244
|
T.nilable(
|
|
3213
3245
|
Increase::Entity::Validation::Issue::EntityTaxIdentifier
|
|
@@ -3352,6 +3384,13 @@ module Increase
|
|
|
3352
3384
|
Increase::Entity::Validation::Issue::Category::TaggedSymbol
|
|
3353
3385
|
)
|
|
3354
3386
|
|
|
3387
|
+
# The entity's identity could not be verified. Update the identification with the [update an entity API](/documentation/api/entities#update-an-entity.natural_person.identification).
|
|
3388
|
+
ENTITY_IDENTITY =
|
|
3389
|
+
T.let(
|
|
3390
|
+
:entity_identity,
|
|
3391
|
+
Increase::Entity::Validation::Issue::Category::TaggedSymbol
|
|
3392
|
+
)
|
|
3393
|
+
|
|
3355
3394
|
# A beneficial owner's identity could not be verified. Update the identification with the [update a beneficial owner API](/documentation/api/beneficial-owners#update-a-beneficial-owner).
|
|
3356
3395
|
BENEFICIAL_OWNER_IDENTITY =
|
|
3357
3396
|
T.let(
|
|
@@ -3450,6 +3489,25 @@ module Increase
|
|
|
3450
3489
|
end
|
|
3451
3490
|
end
|
|
3452
3491
|
|
|
3492
|
+
class EntityIdentity < Increase::Internal::Type::BaseModel
|
|
3493
|
+
OrHash =
|
|
3494
|
+
T.type_alias do
|
|
3495
|
+
T.any(
|
|
3496
|
+
Increase::Entity::Validation::Issue::EntityIdentity,
|
|
3497
|
+
Increase::Internal::AnyHash
|
|
3498
|
+
)
|
|
3499
|
+
end
|
|
3500
|
+
|
|
3501
|
+
# Details when the issue is with the entity's identity verification.
|
|
3502
|
+
sig { returns(T.attached_class) }
|
|
3503
|
+
def self.new
|
|
3504
|
+
end
|
|
3505
|
+
|
|
3506
|
+
sig { override.returns({}) }
|
|
3507
|
+
def to_hash
|
|
3508
|
+
end
|
|
3509
|
+
end
|
|
3510
|
+
|
|
3453
3511
|
class EntityTaxIdentifier < Increase::Internal::Type::BaseModel
|
|
3454
3512
|
OrHash =
|
|
3455
3513
|
T.type_alias do
|