increase 1.348.0 → 1.350.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 (163) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/increase/models/account_create_params.rb +15 -15
  4. data/lib/increase/models/account_number.rb +3 -3
  5. data/lib/increase/models/ach_transfer.rb +12 -12
  6. data/lib/increase/models/balance_lookup.rb +1 -1
  7. data/lib/increase/models/beneficial_owner_create_params.rb +2 -4
  8. data/lib/increase/models/beneficial_owner_update_params.rb +2 -4
  9. data/lib/increase/models/card_dispute.rb +9 -1
  10. data/lib/increase/models/card_dispute_submit_user_submission_params.rb +4 -0
  11. data/lib/increase/models/card_payment.rb +58 -58
  12. data/lib/increase/models/card_purchase_supplement.rb +9 -1
  13. data/lib/increase/models/card_token_capabilities.rb +2 -2
  14. data/lib/increase/models/check_deposit.rb +9 -9
  15. data/lib/increase/models/check_transfer.rb +2 -2
  16. data/lib/increase/models/check_transfer_create_params.rb +9 -4
  17. data/lib/increase/models/declined_transaction.rb +12 -9
  18. data/lib/increase/models/digital_wallet_token.rb +9 -1
  19. data/lib/increase/models/entity.rb +298 -6
  20. data/lib/increase/models/entity_create_params.rb +332 -29
  21. data/lib/increase/models/entity_onboarding_session_list_params.rb +2 -2
  22. data/lib/increase/models/entity_update_params.rb +472 -15
  23. data/lib/increase/models/event.rb +3 -0
  24. data/lib/increase/models/event_list_params.rb +3 -0
  25. data/lib/increase/models/event_subscription.rb +3 -0
  26. data/lib/increase/models/event_subscription_create_params.rb +3 -0
  27. data/lib/increase/models/fednow_transfer.rb +115 -4
  28. data/lib/increase/models/fednow_transfer_list_params.rb +3 -3
  29. data/lib/increase/models/inbound_ach_transfer.rb +2 -2
  30. data/lib/increase/models/inbound_check_deposit.rb +7 -4
  31. data/lib/increase/models/inbound_fednow_transfer.rb +21 -1
  32. data/lib/increase/models/inbound_mail_item.rb +14 -1
  33. data/lib/increase/models/inbound_wire_drawdown_request.rb +12 -1
  34. data/lib/increase/models/inbound_wire_transfer.rb +4 -4
  35. data/lib/increase/models/intrafi_exclusion.rb +4 -4
  36. data/lib/increase/models/lockbox_recipient_create_params.rb +2 -2
  37. data/lib/increase/models/pending_transaction.rb +20 -20
  38. data/lib/increase/models/pending_transaction_list_params.rb +5 -7
  39. data/lib/increase/models/physical_card.rb +9 -1
  40. data/lib/increase/models/physical_card_create_params.rb +6 -3
  41. data/lib/increase/models/real_time_decision.rb +18 -18
  42. data/lib/increase/models/simulations/card_authentication_create_params.rb +2 -2
  43. data/lib/increase/models/simulations/card_dispute_action_params.rb +6 -6
  44. data/lib/increase/models/simulations/entity_update_validation_params.rb +3 -3
  45. data/lib/increase/models/simulations/inbound_check_deposit_adjustment_params.rb +8 -11
  46. data/lib/increase/models/simulations/interest_payment_create_params.rb +2 -2
  47. data/lib/increase/models/simulations/pending_transaction_release_inbound_funds_hold_params.rb +2 -2
  48. data/lib/increase/models/simulations/program_create_params.rb +14 -3
  49. data/lib/increase/models/transaction.rb +146 -19
  50. data/lib/increase/models/transaction_list_params.rb +3 -0
  51. data/lib/increase/models/unwrap_webhook_event.rb +3 -0
  52. data/lib/increase/models/wire_drawdown_request.rb +12 -1
  53. data/lib/increase/models/wire_transfer_create_params.rb +2 -2
  54. data/lib/increase/resources/cards.rb +2 -2
  55. data/lib/increase/resources/check_transfers.rb +1 -1
  56. data/lib/increase/resources/entities.rb +10 -2
  57. data/lib/increase/resources/entity_onboarding_sessions.rb +1 -1
  58. data/lib/increase/resources/lockbox_recipients.rb +1 -1
  59. data/lib/increase/resources/physical_cards.rb +2 -1
  60. data/lib/increase/resources/simulations/card_authentications.rb +1 -1
  61. data/lib/increase/resources/simulations/card_disputes.rb +2 -2
  62. data/lib/increase/resources/simulations/inbound_check_deposits.rb +4 -1
  63. data/lib/increase/resources/simulations/interest_payments.rb +1 -1
  64. data/lib/increase/resources/simulations/pending_transactions.rb +1 -1
  65. data/lib/increase/resources/simulations/physical_cards.rb +2 -2
  66. data/lib/increase/resources/simulations/programs.rb +6 -2
  67. data/lib/increase/resources/wire_transfers.rb +1 -1
  68. data/lib/increase/version.rb +1 -1
  69. data/rbi/increase/models/account_create_params.rbi +37 -21
  70. data/rbi/increase/models/account_number.rbi +3 -3
  71. data/rbi/increase/models/ach_transfer.rbi +12 -12
  72. data/rbi/increase/models/balance_lookup.rbi +1 -1
  73. data/rbi/increase/models/beneficial_owner_create_params.rbi +2 -4
  74. data/rbi/increase/models/beneficial_owner_update_params.rbi +2 -4
  75. data/rbi/increase/models/card_dispute.rbi +8 -0
  76. data/rbi/increase/models/card_dispute_submit_user_submission_params.rbi +3 -0
  77. data/rbi/increase/models/card_payment.rbi +58 -58
  78. data/rbi/increase/models/card_purchase_supplement.rbi +8 -0
  79. data/rbi/increase/models/card_token_capabilities.rbi +2 -2
  80. data/rbi/increase/models/check_deposit.rbi +9 -9
  81. data/rbi/increase/models/check_transfer.rbi +2 -2
  82. data/rbi/increase/models/check_transfer_create_params.rbi +8 -4
  83. data/rbi/increase/models/declined_transaction.rbi +16 -9
  84. data/rbi/increase/models/digital_wallet_token.rbi +8 -0
  85. data/rbi/increase/models/entity.rbi +496 -5
  86. data/rbi/increase/models/entity_create_params.rbi +547 -28
  87. data/rbi/increase/models/entity_onboarding_session_list_params.rbi +2 -2
  88. data/rbi/increase/models/entity_update_params.rbi +814 -14
  89. data/rbi/increase/models/event.rbi +7 -0
  90. data/rbi/increase/models/event_list_params.rbi +7 -0
  91. data/rbi/increase/models/event_subscription.rbi +7 -0
  92. data/rbi/increase/models/event_subscription_create_params.rbi +7 -0
  93. data/rbi/increase/models/fednow_transfer.rbi +213 -7
  94. data/rbi/increase/models/fednow_transfer_list_params.rbi +7 -7
  95. data/rbi/increase/models/inbound_ach_transfer.rbi +2 -2
  96. data/rbi/increase/models/inbound_check_deposit.rbi +6 -4
  97. data/rbi/increase/models/inbound_fednow_transfer.rbi +23 -0
  98. data/rbi/increase/models/inbound_mail_item.rbi +12 -0
  99. data/rbi/increase/models/inbound_wire_drawdown_request.rbi +10 -0
  100. data/rbi/increase/models/inbound_wire_transfer.rbi +4 -4
  101. data/rbi/increase/models/intrafi_exclusion.rbi +4 -4
  102. data/rbi/increase/models/lockbox_recipient_create_params.rbi +2 -2
  103. data/rbi/increase/models/pending_transaction.rbi +20 -20
  104. data/rbi/increase/models/pending_transaction_list_params.rbi +5 -7
  105. data/rbi/increase/models/physical_card.rbi +8 -0
  106. data/rbi/increase/models/physical_card_create_params.rbi +6 -3
  107. data/rbi/increase/models/real_time_decision.rbi +18 -18
  108. data/rbi/increase/models/simulations/card_authentication_create_params.rbi +2 -2
  109. data/rbi/increase/models/simulations/card_dispute_action_params.rbi +6 -6
  110. data/rbi/increase/models/simulations/entity_update_validation_params.rbi +3 -3
  111. data/rbi/increase/models/simulations/inbound_check_deposit_adjustment_params.rbi +8 -23
  112. data/rbi/increase/models/simulations/interest_payment_create_params.rbi +2 -2
  113. data/rbi/increase/models/simulations/pending_transaction_release_inbound_funds_hold_params.rbi +2 -2
  114. data/rbi/increase/models/simulations/program_create_params.rbi +15 -2
  115. data/rbi/increase/models/transaction.rbi +264 -18
  116. data/rbi/increase/models/transaction_list_params.rbi +7 -0
  117. data/rbi/increase/models/unwrap_webhook_event.rbi +7 -0
  118. data/rbi/increase/models/wire_drawdown_request.rbi +10 -0
  119. data/rbi/increase/models/wire_transfer_create_params.rbi +2 -2
  120. data/rbi/increase/resources/cards.rbi +2 -2
  121. data/rbi/increase/resources/check_transfers.rbi +1 -1
  122. data/rbi/increase/resources/entities.rbi +10 -0
  123. data/rbi/increase/resources/entity_onboarding_sessions.rbi +1 -1
  124. data/rbi/increase/resources/lockbox_recipients.rbi +1 -1
  125. data/rbi/increase/resources/physical_cards.rbi +2 -1
  126. data/rbi/increase/resources/simulations/card_authentications.rbi +1 -1
  127. data/rbi/increase/resources/simulations/card_disputes.rbi +2 -2
  128. data/rbi/increase/resources/simulations/inbound_check_deposits.rbi +4 -1
  129. data/rbi/increase/resources/simulations/interest_payments.rbi +1 -1
  130. data/rbi/increase/resources/simulations/pending_transactions.rbi +1 -1
  131. data/rbi/increase/resources/simulations/physical_cards.rbi +2 -2
  132. data/rbi/increase/resources/simulations/programs.rbi +5 -1
  133. data/rbi/increase/resources/wire_transfers.rbi +1 -1
  134. data/sig/increase/models/account_create_params.rbs +20 -12
  135. data/sig/increase/models/card_dispute.rbs +5 -0
  136. data/sig/increase/models/card_purchase_supplement.rbs +5 -0
  137. data/sig/increase/models/declined_transaction.rbs +4 -0
  138. data/sig/increase/models/digital_wallet_token.rbs +5 -0
  139. data/sig/increase/models/entity.rbs +230 -4
  140. data/sig/increase/models/entity_create_params.rbs +232 -1
  141. data/sig/increase/models/entity_update_params.rbs +366 -0
  142. data/sig/increase/models/event.rbs +4 -0
  143. data/sig/increase/models/event_list_params.rbs +4 -0
  144. data/sig/increase/models/event_subscription.rbs +4 -0
  145. data/sig/increase/models/event_subscription_create_params.rbs +4 -0
  146. data/sig/increase/models/fednow_transfer.rbs +113 -4
  147. data/sig/increase/models/fednow_transfer_list_params.rbs +4 -4
  148. data/sig/increase/models/inbound_fednow_transfer.rbs +14 -0
  149. data/sig/increase/models/inbound_mail_item.rbs +5 -0
  150. data/sig/increase/models/inbound_wire_drawdown_request.rbs +5 -0
  151. data/sig/increase/models/pending_transaction.rbs +1 -1
  152. data/sig/increase/models/pending_transaction_list_params.rbs +1 -1
  153. data/sig/increase/models/physical_card.rbs +5 -0
  154. data/sig/increase/models/simulations/entity_update_validation_params.rbs +3 -3
  155. data/sig/increase/models/simulations/inbound_check_deposit_adjustment_params.rbs +1 -15
  156. data/sig/increase/models/simulations/program_create_params.rbs +7 -0
  157. data/sig/increase/models/transaction.rbs +113 -0
  158. data/sig/increase/models/transaction_list_params.rbs +4 -0
  159. data/sig/increase/models/unwrap_webhook_event.rbs +4 -0
  160. data/sig/increase/models/wire_drawdown_request.rbs +5 -0
  161. data/sig/increase/resources/entities.rbs +2 -0
  162. data/sig/increase/resources/simulations/programs.rbs +1 -0
  163. metadata +2 -2
@@ -9,6 +9,7 @@ module Increase
9
9
  joint: Increase::EntityCreateParams::Joint,
10
10
  natural_person: Increase::EntityCreateParams::NaturalPerson,
11
11
  risk_rating: Increase::EntityCreateParams::RiskRating,
12
+ sole_proprietorship: Increase::EntityCreateParams::SoleProprietorship,
12
13
  supplemental_documents: ::Array[Increase::EntityCreateParams::SupplementalDocument],
13
14
  terms_agreements: ::Array[Increase::EntityCreateParams::TermsAgreement],
14
15
  third_party_verification: Increase::EntityCreateParams::ThirdPartyVerification,
@@ -56,6 +57,12 @@ module Increase
56
57
  Increase::EntityCreateParams::RiskRating
57
58
  ) -> Increase::EntityCreateParams::RiskRating
58
59
 
60
+ attr_reader sole_proprietorship: Increase::EntityCreateParams::SoleProprietorship?
61
+
62
+ def sole_proprietorship=: (
63
+ Increase::EntityCreateParams::SoleProprietorship
64
+ ) -> Increase::EntityCreateParams::SoleProprietorship
65
+
59
66
  attr_reader supplemental_documents: ::Array[Increase::EntityCreateParams::SupplementalDocument]?
60
67
 
61
68
  def supplemental_documents=: (
@@ -88,6 +95,7 @@ module Increase
88
95
  ?joint: Increase::EntityCreateParams::Joint,
89
96
  ?natural_person: Increase::EntityCreateParams::NaturalPerson,
90
97
  ?risk_rating: Increase::EntityCreateParams::RiskRating,
98
+ ?sole_proprietorship: Increase::EntityCreateParams::SoleProprietorship,
91
99
  ?supplemental_documents: ::Array[Increase::EntityCreateParams::SupplementalDocument],
92
100
  ?terms_agreements: ::Array[Increase::EntityCreateParams::TermsAgreement],
93
101
  ?third_party_verification: Increase::EntityCreateParams::ThirdPartyVerification,
@@ -103,6 +111,7 @@ module Increase
103
111
  joint: Increase::EntityCreateParams::Joint,
104
112
  natural_person: Increase::EntityCreateParams::NaturalPerson,
105
113
  risk_rating: Increase::EntityCreateParams::RiskRating,
114
+ sole_proprietorship: Increase::EntityCreateParams::SoleProprietorship,
106
115
  supplemental_documents: ::Array[Increase::EntityCreateParams::SupplementalDocument],
107
116
  terms_agreements: ::Array[Increase::EntityCreateParams::TermsAgreement],
108
117
  third_party_verification: Increase::EntityCreateParams::ThirdPartyVerification,
@@ -111,7 +120,12 @@ module Increase
111
120
  }
112
121
 
113
122
  type structure =
114
- :corporation | :natural_person | :joint | :trust | :government_authority
123
+ :corporation
124
+ | :natural_person
125
+ | :joint
126
+ | :trust
127
+ | :government_authority
128
+ | :sole_proprietorship
115
129
 
116
130
  module Structure
117
131
  extend Increase::Internal::Type::Enum
@@ -131,6 +145,9 @@ module Increase
131
145
  # A government authority.
132
146
  GOVERNMENT_AUTHORITY: :government_authority
133
147
 
148
+ # A sole proprietorship.
149
+ SOLE_PROPRIETORSHIP: :sole_proprietorship
150
+
134
151
  def self?.values: -> ::Array[Increase::Models::EntityCreateParams::structure]
135
152
  end
136
153
 
@@ -1314,6 +1331,220 @@ module Increase
1314
1331
  end
1315
1332
  end
1316
1333
 
1334
+ type sole_proprietorship =
1335
+ {
1336
+ address: Increase::EntityCreateParams::SoleProprietorship::Address,
1337
+ sole_proprietor: Increase::EntityCreateParams::SoleProprietorship::SoleProprietor,
1338
+ doing_business_as_name: String,
1339
+ email: String,
1340
+ industry_code: String,
1341
+ tax_identifier: String,
1342
+ website: String
1343
+ }
1344
+
1345
+ class SoleProprietorship < Increase::Internal::Type::BaseModel
1346
+ attr_accessor address: Increase::EntityCreateParams::SoleProprietorship::Address
1347
+
1348
+ attr_accessor sole_proprietor: Increase::EntityCreateParams::SoleProprietorship::SoleProprietor
1349
+
1350
+ attr_reader doing_business_as_name: String?
1351
+
1352
+ def doing_business_as_name=: (String) -> String
1353
+
1354
+ attr_reader email: String?
1355
+
1356
+ def email=: (String) -> String
1357
+
1358
+ attr_reader industry_code: String?
1359
+
1360
+ def industry_code=: (String) -> String
1361
+
1362
+ attr_reader tax_identifier: String?
1363
+
1364
+ def tax_identifier=: (String) -> String
1365
+
1366
+ attr_reader website: String?
1367
+
1368
+ def website=: (String) -> String
1369
+
1370
+ def initialize: (
1371
+ address: Increase::EntityCreateParams::SoleProprietorship::Address,
1372
+ sole_proprietor: Increase::EntityCreateParams::SoleProprietorship::SoleProprietor,
1373
+ ?doing_business_as_name: String,
1374
+ ?email: String,
1375
+ ?industry_code: String,
1376
+ ?tax_identifier: String,
1377
+ ?website: String
1378
+ ) -> void
1379
+
1380
+ def to_hash: -> {
1381
+ address: Increase::EntityCreateParams::SoleProprietorship::Address,
1382
+ sole_proprietor: Increase::EntityCreateParams::SoleProprietorship::SoleProprietor,
1383
+ doing_business_as_name: String,
1384
+ email: String,
1385
+ industry_code: String,
1386
+ tax_identifier: String,
1387
+ website: String
1388
+ }
1389
+
1390
+ type address =
1391
+ {
1392
+ city: String,
1393
+ :line1 => String,
1394
+ state: String,
1395
+ zip: String,
1396
+ :line2 => String
1397
+ }
1398
+
1399
+ class Address < Increase::Internal::Type::BaseModel
1400
+ attr_accessor city: String
1401
+
1402
+ attr_accessor line1: String
1403
+
1404
+ attr_accessor state: String
1405
+
1406
+ attr_accessor zip: String
1407
+
1408
+ attr_reader line2: String?
1409
+
1410
+ def line2=: (String) -> String
1411
+
1412
+ def initialize: (
1413
+ city: String,
1414
+ line1: String,
1415
+ state: String,
1416
+ zip: String,
1417
+ ?line2: String
1418
+ ) -> void
1419
+
1420
+ def to_hash: -> {
1421
+ city: String,
1422
+ :line1 => String,
1423
+ state: String,
1424
+ zip: String,
1425
+ :line2 => String
1426
+ }
1427
+ end
1428
+
1429
+ type sole_proprietor =
1430
+ {
1431
+ address: Increase::EntityCreateParams::SoleProprietorship::SoleProprietor::Address,
1432
+ date_of_birth: Date,
1433
+ identification: Increase::EntityCreateParams::SoleProprietorship::SoleProprietor::Identification,
1434
+ name: String
1435
+ }
1436
+
1437
+ class SoleProprietor < Increase::Internal::Type::BaseModel
1438
+ attr_accessor address: Increase::EntityCreateParams::SoleProprietorship::SoleProprietor::Address
1439
+
1440
+ attr_accessor date_of_birth: Date
1441
+
1442
+ attr_accessor identification: Increase::EntityCreateParams::SoleProprietorship::SoleProprietor::Identification
1443
+
1444
+ attr_accessor name: String
1445
+
1446
+ def initialize: (
1447
+ address: Increase::EntityCreateParams::SoleProprietorship::SoleProprietor::Address,
1448
+ date_of_birth: Date,
1449
+ identification: Increase::EntityCreateParams::SoleProprietorship::SoleProprietor::Identification,
1450
+ name: String
1451
+ ) -> void
1452
+
1453
+ def to_hash: -> {
1454
+ address: Increase::EntityCreateParams::SoleProprietorship::SoleProprietor::Address,
1455
+ date_of_birth: Date,
1456
+ identification: Increase::EntityCreateParams::SoleProprietorship::SoleProprietor::Identification,
1457
+ name: String
1458
+ }
1459
+
1460
+ type address =
1461
+ {
1462
+ city: String,
1463
+ country: String,
1464
+ :line1 => String,
1465
+ :line2 => String,
1466
+ state: String,
1467
+ zip: String
1468
+ }
1469
+
1470
+ class Address < Increase::Internal::Type::BaseModel
1471
+ attr_accessor city: String
1472
+
1473
+ attr_accessor country: String
1474
+
1475
+ attr_accessor line1: String
1476
+
1477
+ attr_reader line2: String?
1478
+
1479
+ def line2=: (String) -> String
1480
+
1481
+ attr_reader state: String?
1482
+
1483
+ def state=: (String) -> String
1484
+
1485
+ attr_reader zip: String?
1486
+
1487
+ def zip=: (String) -> String
1488
+
1489
+ def initialize: (
1490
+ city: String,
1491
+ country: String,
1492
+ line1: String,
1493
+ ?line2: String,
1494
+ ?state: String,
1495
+ ?zip: String
1496
+ ) -> void
1497
+
1498
+ def to_hash: -> {
1499
+ city: String,
1500
+ country: String,
1501
+ :line1 => String,
1502
+ :line2 => String,
1503
+ state: String,
1504
+ zip: String
1505
+ }
1506
+ end
1507
+
1508
+ type identification =
1509
+ {
1510
+ method_: Increase::Models::EntityCreateParams::SoleProprietorship::SoleProprietor::Identification::method_,
1511
+ number: String
1512
+ }
1513
+
1514
+ class Identification < Increase::Internal::Type::BaseModel
1515
+ attr_accessor method_: Increase::Models::EntityCreateParams::SoleProprietorship::SoleProprietor::Identification::method_
1516
+
1517
+ attr_accessor number: String
1518
+
1519
+ def initialize: (
1520
+ method_: Increase::Models::EntityCreateParams::SoleProprietorship::SoleProprietor::Identification::method_,
1521
+ number: String
1522
+ ) -> void
1523
+
1524
+ def to_hash: -> {
1525
+ method_: Increase::Models::EntityCreateParams::SoleProprietorship::SoleProprietor::Identification::method_,
1526
+ number: String
1527
+ }
1528
+
1529
+ type method_ =
1530
+ :social_security_number
1531
+ | :individual_taxpayer_identification_number
1532
+
1533
+ module Method
1534
+ extend Increase::Internal::Type::Enum
1535
+
1536
+ # A social security number.
1537
+ SOCIAL_SECURITY_NUMBER: :social_security_number
1538
+
1539
+ # An individual taxpayer identification number (ITIN).
1540
+ INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER: :individual_taxpayer_identification_number
1541
+
1542
+ def self?.values: -> ::Array[Increase::Models::EntityCreateParams::SoleProprietorship::SoleProprietor::Identification::method_]
1543
+ end
1544
+ end
1545
+ end
1546
+ end
1547
+
1317
1548
  type supplemental_document = { file_id: String }
1318
1549
 
1319
1550
  class SupplementalDocument < Increase::Internal::Type::BaseModel
@@ -8,6 +8,7 @@ module Increase
8
8
  government_authority: Increase::EntityUpdateParams::GovernmentAuthority,
9
9
  natural_person: Increase::EntityUpdateParams::NaturalPerson,
10
10
  risk_rating: Increase::EntityUpdateParams::RiskRating,
11
+ sole_proprietorship: Increase::EntityUpdateParams::SoleProprietorship,
11
12
  terms_agreements: ::Array[Increase::EntityUpdateParams::TermsAgreement],
12
13
  third_party_verification: Increase::EntityUpdateParams::ThirdPartyVerification,
13
14
  trust: Increase::EntityUpdateParams::Trust
@@ -48,6 +49,12 @@ module Increase
48
49
  Increase::EntityUpdateParams::RiskRating
49
50
  ) -> Increase::EntityUpdateParams::RiskRating
50
51
 
52
+ attr_reader sole_proprietorship: Increase::EntityUpdateParams::SoleProprietorship?
53
+
54
+ def sole_proprietorship=: (
55
+ Increase::EntityUpdateParams::SoleProprietorship
56
+ ) -> Increase::EntityUpdateParams::SoleProprietorship
57
+
51
58
  attr_reader terms_agreements: ::Array[Increase::EntityUpdateParams::TermsAgreement]?
52
59
 
53
60
  def terms_agreements=: (
@@ -73,6 +80,7 @@ module Increase
73
80
  ?government_authority: Increase::EntityUpdateParams::GovernmentAuthority,
74
81
  ?natural_person: Increase::EntityUpdateParams::NaturalPerson,
75
82
  ?risk_rating: Increase::EntityUpdateParams::RiskRating,
83
+ ?sole_proprietorship: Increase::EntityUpdateParams::SoleProprietorship,
76
84
  ?terms_agreements: ::Array[Increase::EntityUpdateParams::TermsAgreement],
77
85
  ?third_party_verification: Increase::EntityUpdateParams::ThirdPartyVerification,
78
86
  ?trust: Increase::EntityUpdateParams::Trust,
@@ -86,6 +94,7 @@ module Increase
86
94
  government_authority: Increase::EntityUpdateParams::GovernmentAuthority,
87
95
  natural_person: Increase::EntityUpdateParams::NaturalPerson,
88
96
  risk_rating: Increase::EntityUpdateParams::RiskRating,
97
+ sole_proprietorship: Increase::EntityUpdateParams::SoleProprietorship,
89
98
  terms_agreements: ::Array[Increase::EntityUpdateParams::TermsAgreement],
90
99
  third_party_verification: Increase::EntityUpdateParams::ThirdPartyVerification,
91
100
  trust: Increase::EntityUpdateParams::Trust,
@@ -618,6 +627,363 @@ module Increase
618
627
  end
619
628
  end
620
629
 
630
+ type sole_proprietorship =
631
+ {
632
+ address: Increase::EntityUpdateParams::SoleProprietorship::Address,
633
+ email: String,
634
+ industry_code: String,
635
+ sole_proprietor: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor,
636
+ tax_identifier: String,
637
+ website: String
638
+ }
639
+
640
+ class SoleProprietorship < Increase::Internal::Type::BaseModel
641
+ attr_reader address: Increase::EntityUpdateParams::SoleProprietorship::Address?
642
+
643
+ def address=: (
644
+ Increase::EntityUpdateParams::SoleProprietorship::Address
645
+ ) -> Increase::EntityUpdateParams::SoleProprietorship::Address
646
+
647
+ attr_reader email: String?
648
+
649
+ def email=: (String) -> String
650
+
651
+ attr_reader industry_code: String?
652
+
653
+ def industry_code=: (String) -> String
654
+
655
+ attr_reader sole_proprietor: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor?
656
+
657
+ def sole_proprietor=: (
658
+ Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor
659
+ ) -> Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor
660
+
661
+ attr_reader tax_identifier: String?
662
+
663
+ def tax_identifier=: (String) -> String
664
+
665
+ attr_reader website: String?
666
+
667
+ def website=: (String) -> String
668
+
669
+ def initialize: (
670
+ ?address: Increase::EntityUpdateParams::SoleProprietorship::Address,
671
+ ?email: String,
672
+ ?industry_code: String,
673
+ ?sole_proprietor: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor,
674
+ ?tax_identifier: String,
675
+ ?website: String
676
+ ) -> void
677
+
678
+ def to_hash: -> {
679
+ address: Increase::EntityUpdateParams::SoleProprietorship::Address,
680
+ email: String,
681
+ industry_code: String,
682
+ sole_proprietor: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor,
683
+ tax_identifier: String,
684
+ website: String
685
+ }
686
+
687
+ type address =
688
+ {
689
+ city: String,
690
+ :line1 => String,
691
+ state: String,
692
+ zip: String,
693
+ :line2 => String
694
+ }
695
+
696
+ class Address < Increase::Internal::Type::BaseModel
697
+ attr_accessor city: String
698
+
699
+ attr_accessor line1: String
700
+
701
+ attr_accessor state: String
702
+
703
+ attr_accessor zip: String
704
+
705
+ attr_reader line2: String?
706
+
707
+ def line2=: (String) -> String
708
+
709
+ def initialize: (
710
+ city: String,
711
+ line1: String,
712
+ state: String,
713
+ zip: String,
714
+ ?line2: String
715
+ ) -> void
716
+
717
+ def to_hash: -> {
718
+ city: String,
719
+ :line1 => String,
720
+ state: String,
721
+ zip: String,
722
+ :line2 => String
723
+ }
724
+ end
725
+
726
+ type sole_proprietor =
727
+ {
728
+ address: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Address,
729
+ identification: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification,
730
+ name: String
731
+ }
732
+
733
+ class SoleProprietor < Increase::Internal::Type::BaseModel
734
+ attr_reader address: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Address?
735
+
736
+ def address=: (
737
+ Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Address
738
+ ) -> Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Address
739
+
740
+ attr_reader identification: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification?
741
+
742
+ def identification=: (
743
+ Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification
744
+ ) -> Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification
745
+
746
+ attr_reader name: String?
747
+
748
+ def name=: (String) -> String
749
+
750
+ def initialize: (
751
+ ?address: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Address,
752
+ ?identification: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification,
753
+ ?name: String
754
+ ) -> void
755
+
756
+ def to_hash: -> {
757
+ address: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Address,
758
+ identification: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification,
759
+ name: String
760
+ }
761
+
762
+ type address =
763
+ {
764
+ city: String,
765
+ country: String,
766
+ :line1 => String,
767
+ :line2 => String,
768
+ state: String,
769
+ zip: String
770
+ }
771
+
772
+ class Address < Increase::Internal::Type::BaseModel
773
+ attr_accessor city: String
774
+
775
+ attr_accessor country: String
776
+
777
+ attr_accessor line1: String
778
+
779
+ attr_reader line2: String?
780
+
781
+ def line2=: (String) -> String
782
+
783
+ attr_reader state: String?
784
+
785
+ def state=: (String) -> String
786
+
787
+ attr_reader zip: String?
788
+
789
+ def zip=: (String) -> String
790
+
791
+ def initialize: (
792
+ city: String,
793
+ country: String,
794
+ line1: String,
795
+ ?line2: String,
796
+ ?state: String,
797
+ ?zip: String
798
+ ) -> void
799
+
800
+ def to_hash: -> {
801
+ city: String,
802
+ country: String,
803
+ :line1 => String,
804
+ :line2 => String,
805
+ state: String,
806
+ zip: String
807
+ }
808
+ end
809
+
810
+ type identification =
811
+ {
812
+ method_: Increase::Models::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::method_,
813
+ number: String,
814
+ drivers_license: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::DriversLicense,
815
+ other: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::Other,
816
+ passport: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::Passport
817
+ }
818
+
819
+ class Identification < Increase::Internal::Type::BaseModel
820
+ attr_accessor method_: Increase::Models::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::method_
821
+
822
+ attr_accessor number: String
823
+
824
+ attr_reader drivers_license: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::DriversLicense?
825
+
826
+ def drivers_license=: (
827
+ Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::DriversLicense
828
+ ) -> Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::DriversLicense
829
+
830
+ attr_reader other: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::Other?
831
+
832
+ def other=: (
833
+ Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::Other
834
+ ) -> Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::Other
835
+
836
+ attr_reader passport: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::Passport?
837
+
838
+ def passport=: (
839
+ Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::Passport
840
+ ) -> Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::Passport
841
+
842
+ def initialize: (
843
+ method_: Increase::Models::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::method_,
844
+ number: String,
845
+ ?drivers_license: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::DriversLicense,
846
+ ?other: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::Other,
847
+ ?passport: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::Passport
848
+ ) -> void
849
+
850
+ def to_hash: -> {
851
+ method_: Increase::Models::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::method_,
852
+ number: String,
853
+ drivers_license: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::DriversLicense,
854
+ other: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::Other,
855
+ passport: Increase::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::Passport
856
+ }
857
+
858
+ type method_ =
859
+ :social_security_number
860
+ | :individual_taxpayer_identification_number
861
+ | :passport
862
+ | :drivers_license
863
+ | :other
864
+
865
+ module Method
866
+ extend Increase::Internal::Type::Enum
867
+
868
+ # A social security number.
869
+ SOCIAL_SECURITY_NUMBER: :social_security_number
870
+
871
+ # An individual taxpayer identification number (ITIN).
872
+ INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER: :individual_taxpayer_identification_number
873
+
874
+ # A passport number.
875
+ PASSPORT: :passport
876
+
877
+ # A driver's license number.
878
+ DRIVERS_LICENSE: :drivers_license
879
+
880
+ # Another identifying document.
881
+ OTHER: :other
882
+
883
+ def self?.values: -> ::Array[Increase::Models::EntityUpdateParams::SoleProprietorship::SoleProprietor::Identification::method_]
884
+ end
885
+
886
+ type drivers_license =
887
+ {
888
+ expiration_date: Date,
889
+ file_id: String,
890
+ state: String,
891
+ back_file_id: String
892
+ }
893
+
894
+ class DriversLicense < Increase::Internal::Type::BaseModel
895
+ attr_accessor expiration_date: Date
896
+
897
+ attr_accessor file_id: String
898
+
899
+ attr_accessor state: String
900
+
901
+ attr_reader back_file_id: String?
902
+
903
+ def back_file_id=: (String) -> String
904
+
905
+ def initialize: (
906
+ expiration_date: Date,
907
+ file_id: String,
908
+ state: String,
909
+ ?back_file_id: String
910
+ ) -> void
911
+
912
+ def to_hash: -> {
913
+ expiration_date: Date,
914
+ file_id: String,
915
+ state: String,
916
+ back_file_id: String
917
+ }
918
+ end
919
+
920
+ type other =
921
+ {
922
+ country: String,
923
+ description: String,
924
+ file_id: String,
925
+ back_file_id: String,
926
+ expiration_date: Date
927
+ }
928
+
929
+ class Other < Increase::Internal::Type::BaseModel
930
+ attr_accessor country: String
931
+
932
+ attr_accessor description: String
933
+
934
+ attr_accessor file_id: String
935
+
936
+ attr_reader back_file_id: String?
937
+
938
+ def back_file_id=: (String) -> String
939
+
940
+ attr_reader expiration_date: Date?
941
+
942
+ def expiration_date=: (Date) -> Date
943
+
944
+ def initialize: (
945
+ country: String,
946
+ description: String,
947
+ file_id: String,
948
+ ?back_file_id: String,
949
+ ?expiration_date: Date
950
+ ) -> void
951
+
952
+ def to_hash: -> {
953
+ country: String,
954
+ description: String,
955
+ file_id: String,
956
+ back_file_id: String,
957
+ expiration_date: Date
958
+ }
959
+ end
960
+
961
+ type passport =
962
+ { country: String, expiration_date: Date, file_id: String }
963
+
964
+ class Passport < Increase::Internal::Type::BaseModel
965
+ attr_accessor country: String
966
+
967
+ attr_accessor expiration_date: Date
968
+
969
+ attr_accessor file_id: String
970
+
971
+ def initialize: (
972
+ country: String,
973
+ expiration_date: Date,
974
+ file_id: String
975
+ ) -> void
976
+
977
+ def to_hash: -> {
978
+ country: String,
979
+ expiration_date: Date,
980
+ file_id: String
981
+ }
982
+ end
983
+ end
984
+ end
985
+ end
986
+
621
987
  type terms_agreement =
622
988
  { agreed_at: Time, ip_address: String, terms_url: String }
623
989
 
@@ -141,6 +141,7 @@ module Increase
141
141
  | :"physical_card_profile.updated"
142
142
  | :"physical_check.created"
143
143
  | :"physical_check.updated"
144
+ | :"plaid_processor_token.created"
144
145
  | :"checkbook.created"
145
146
  | :"checkbook.updated"
146
147
  | :"program.created"
@@ -465,6 +466,9 @@ module Increase
465
466
  # Occurs whenever a Physical Check is updated.
466
467
  PHYSICAL_CHECK_UPDATED: :"physical_check.updated"
467
468
 
469
+ # Occurs whenever a Plaid Processor Token is created.
470
+ PLAID_PROCESSOR_TOKEN_CREATED: :"plaid_processor_token.created"
471
+
468
472
  # Occurs whenever a Checkbook is created.
469
473
  CHECKBOOK_CREATED: :"checkbook.created"
470
474