increase 1.347.0 → 1.349.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 (124) 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/ach_prenotification_create_params.rb +2 -2
  5. data/lib/increase/models/ach_transfer.rb +2 -2
  6. data/lib/increase/models/ach_transfer_create_params.rb +1 -24
  7. data/lib/increase/models/balance_lookup.rb +49 -1
  8. data/lib/increase/models/beneficial_owner_update_params.rb +9 -1
  9. data/lib/increase/models/card.rb +43 -1
  10. data/lib/increase/models/card_create_params.rb +42 -1
  11. data/lib/increase/models/card_dispute.rb +1 -1
  12. data/lib/increase/models/card_dispute_list_params.rb +1 -1
  13. data/lib/increase/models/card_payment.rb +18 -1
  14. data/lib/increase/models/check_transfer.rb +13 -1
  15. data/lib/increase/models/check_transfer_create_params.rb +25 -13
  16. data/lib/increase/models/entity.rb +315 -5
  17. data/lib/increase/models/entity_update_params.rb +754 -1
  18. data/lib/increase/models/event.rb +12 -0
  19. data/lib/increase/models/event_list_params.rb +12 -0
  20. data/lib/increase/models/event_subscription.rb +12 -0
  21. data/lib/increase/models/event_subscription_create_params.rb +12 -0
  22. data/lib/increase/models/file.rb +7 -6
  23. data/lib/increase/models/inbound_ach_transfer.rb +6 -6
  24. data/lib/increase/models/inbound_check_deposit.rb +5 -2
  25. data/lib/increase/models/inbound_fednow_transfer.rb +18 -1
  26. data/lib/increase/models/pending_transaction.rb +25 -8
  27. data/lib/increase/models/pending_transaction_list_params.rb +1 -1
  28. data/lib/increase/models/physical_card_create_params.rb +6 -3
  29. data/lib/increase/models/real_time_decision.rb +18 -1
  30. data/lib/increase/models/real_time_payments_transfer.rb +30 -19
  31. data/lib/increase/models/real_time_payments_transfer_create_params.rb +12 -1
  32. data/lib/increase/models/simulations/card_dispute_action_params.rb +30 -1
  33. data/lib/increase/models/simulations/entity_update_validation_params.rb +3 -0
  34. data/lib/increase/models/simulations/inbound_check_deposit_adjustment_params.rb +8 -11
  35. data/lib/increase/models/simulations/real_time_payments_transfer_complete_params.rb +18 -18
  36. data/lib/increase/models/transaction.rb +5 -2
  37. data/lib/increase/models/unwrap_webhook_event.rb +12 -0
  38. data/lib/increase/models/wire_transfer_create_params.rb +100 -42
  39. data/lib/increase/resources/ach_prenotifications.rb +1 -1
  40. data/lib/increase/resources/ach_transfers.rb +1 -4
  41. data/lib/increase/resources/beneficial_owners.rb +3 -1
  42. data/lib/increase/resources/cards.rb +5 -1
  43. data/lib/increase/resources/physical_cards.rb +2 -1
  44. data/lib/increase/resources/real_time_payments_transfers.rb +5 -1
  45. data/lib/increase/resources/simulations/inbound_check_deposits.rb +4 -1
  46. data/lib/increase/version.rb +1 -1
  47. data/rbi/increase/models/account_create_params.rbi +37 -21
  48. data/rbi/increase/models/ach_prenotification_create_params.rbi +2 -2
  49. data/rbi/increase/models/ach_transfer.rbi +2 -2
  50. data/rbi/increase/models/ach_transfer_create_params.rbi +0 -59
  51. data/rbi/increase/models/balance_lookup.rbi +48 -0
  52. data/rbi/increase/models/beneficial_owner_update_params.rbi +11 -0
  53. data/rbi/increase/models/card.rbi +63 -0
  54. data/rbi/increase/models/card_create_params.rbi +65 -0
  55. data/rbi/increase/models/card_dispute.rbi +1 -1
  56. data/rbi/increase/models/card_dispute_list_params.rbi +1 -1
  57. data/rbi/increase/models/card_payment.rbi +16 -0
  58. data/rbi/increase/models/check_transfer.rbi +15 -0
  59. data/rbi/increase/models/check_transfer_create_params.rbi +26 -12
  60. data/rbi/increase/models/entity.rbi +552 -3
  61. data/rbi/increase/models/entity_update_params.rbi +1326 -3
  62. data/rbi/increase/models/event.rbi +28 -0
  63. data/rbi/increase/models/event_list_params.rbi +28 -0
  64. data/rbi/increase/models/event_subscription.rbi +28 -0
  65. data/rbi/increase/models/event_subscription_create_params.rbi +28 -0
  66. data/rbi/increase/models/file.rbi +7 -6
  67. data/rbi/increase/models/inbound_ach_transfer.rbi +6 -6
  68. data/rbi/increase/models/inbound_check_deposit.rbi +4 -2
  69. data/rbi/increase/models/inbound_fednow_transfer.rbi +16 -0
  70. data/rbi/increase/models/pending_transaction.rbi +23 -7
  71. data/rbi/increase/models/pending_transaction_list_params.rbi +1 -1
  72. data/rbi/increase/models/physical_card_create_params.rbi +6 -3
  73. data/rbi/increase/models/real_time_decision.rbi +16 -0
  74. data/rbi/increase/models/real_time_payments_transfer.rbi +29 -18
  75. data/rbi/increase/models/real_time_payments_transfer_create_params.rbi +15 -0
  76. data/rbi/increase/models/simulations/card_dispute_action_params.rbi +60 -0
  77. data/rbi/increase/models/simulations/entity_update_validation_params.rbi +7 -0
  78. data/rbi/increase/models/simulations/inbound_check_deposit_adjustment_params.rbi +8 -23
  79. data/rbi/increase/models/simulations/real_time_payments_transfer_complete_params.rbi +18 -18
  80. data/rbi/increase/models/transaction.rbi +4 -2
  81. data/rbi/increase/models/unwrap_webhook_event.rbi +28 -0
  82. data/rbi/increase/models/wire_transfer_create_params.rbi +146 -62
  83. data/rbi/increase/resources/ach_prenotifications.rbi +1 -1
  84. data/rbi/increase/resources/ach_transfers.rbi +0 -4
  85. data/rbi/increase/resources/beneficial_owners.rbi +3 -0
  86. data/rbi/increase/resources/cards.rbi +4 -0
  87. data/rbi/increase/resources/physical_cards.rbi +2 -1
  88. data/rbi/increase/resources/real_time_payments_transfers.rbi +4 -0
  89. data/rbi/increase/resources/simulations/inbound_check_deposits.rbi +4 -1
  90. data/sig/increase/models/account_create_params.rbs +20 -12
  91. data/sig/increase/models/ach_transfer_create_params.rbs +1 -24
  92. data/sig/increase/models/balance_lookup.rbs +30 -0
  93. data/sig/increase/models/beneficial_owner_update_params.rbs +7 -0
  94. data/sig/increase/models/card.rbs +19 -0
  95. data/sig/increase/models/card_create_params.rbs +25 -0
  96. data/sig/increase/models/card_dispute.rbs +1 -1
  97. data/sig/increase/models/card_dispute_list_params.rbs +1 -1
  98. data/sig/increase/models/card_payment.rbs +5 -0
  99. data/sig/increase/models/check_transfer.rbs +9 -0
  100. data/sig/increase/models/check_transfer_create_params.rbs +7 -0
  101. data/sig/increase/models/entity.rbs +248 -5
  102. data/sig/increase/models/entity_update_params.rbs +585 -3
  103. data/sig/increase/models/event.rbs +16 -0
  104. data/sig/increase/models/event_list_params.rbs +16 -0
  105. data/sig/increase/models/event_subscription.rbs +16 -0
  106. data/sig/increase/models/event_subscription_create_params.rbs +16 -0
  107. data/sig/increase/models/inbound_ach_transfer.rbs +2 -2
  108. data/sig/increase/models/inbound_fednow_transfer.rbs +10 -0
  109. data/sig/increase/models/pending_transaction.rbs +6 -1
  110. data/sig/increase/models/pending_transaction_list_params.rbs +1 -1
  111. data/sig/increase/models/real_time_decision.rbs +5 -0
  112. data/sig/increase/models/real_time_payments_transfer.rbs +23 -18
  113. data/sig/increase/models/real_time_payments_transfer_create_params.rbs +7 -0
  114. data/sig/increase/models/simulations/card_dispute_action_params.rbs +23 -0
  115. data/sig/increase/models/simulations/entity_update_validation_params.rbs +4 -0
  116. data/sig/increase/models/simulations/inbound_check_deposit_adjustment_params.rbs +1 -15
  117. data/sig/increase/models/simulations/real_time_payments_transfer_complete_params.rbs +18 -18
  118. data/sig/increase/models/unwrap_webhook_event.rbs +16 -0
  119. data/sig/increase/models/wire_transfer_create_params.rbs +78 -32
  120. data/sig/increase/resources/ach_transfers.rbs +0 -1
  121. data/sig/increase/resources/beneficial_owners.rbs +1 -0
  122. data/sig/increase/resources/cards.rbs +1 -0
  123. data/sig/increase/resources/real_time_payments_transfers.rbs +1 -0
  124. metadata +2 -2
@@ -79,6 +79,13 @@ module Increase
79
79
  # @return [Increase::Models::Entity::RiskRating, nil]
80
80
  required :risk_rating, -> { Increase::Entity::RiskRating }, nil?: true
81
81
 
82
+ # @!attribute sole_proprietorship
83
+ # Details of the sole proprietorship entity. Will be present if `structure` is
84
+ # equal to `sole_proprietorship`.
85
+ #
86
+ # @return [Increase::Models::Entity::SoleProprietorship, nil]
87
+ required :sole_proprietorship, -> { Increase::Entity::SoleProprietorship }, nil?: true
88
+
82
89
  # @!attribute status
83
90
  # The status of the entity.
84
91
  #
@@ -135,7 +142,7 @@ module Increase
135
142
  # @return [Increase::Models::Entity::Validation, nil]
136
143
  required :validation, -> { Increase::Entity::Validation }, nil?: true
137
144
 
138
- # @!method initialize(id:, corporation:, created_at:, creating_entity_onboarding_session_id:, description:, details_confirmed_at:, government_authority:, idempotency_key:, joint:, natural_person:, risk_rating:, status:, structure:, supplemental_documents:, terms_agreements:, third_party_verification:, trust:, type:, validation:)
145
+ # @!method initialize(id:, corporation:, created_at:, creating_entity_onboarding_session_id:, description:, details_confirmed_at:, government_authority:, idempotency_key:, joint:, natural_person:, risk_rating:, sole_proprietorship:, status:, structure:, supplemental_documents:, terms_agreements:, third_party_verification:, trust:, type:, validation:)
139
146
  # Entities are the legal entities that own accounts. They can be people,
140
147
  # corporations, joint accounts, trusts, or government authorities. To learn more,
141
148
  # see [Entities](/documentation/entities).
@@ -180,6 +187,10 @@ module Increase
180
187
  # An assessment of the entity’s potential risk of involvement in financial crimes,
181
188
  # such as money laundering.
182
189
  #
190
+ # @param sole_proprietorship [Increase::Models::Entity::SoleProprietorship, nil]
191
+ # Details of the sole proprietorship entity. Will be present if `structure` is
192
+ # equal to `sole_proprietorship`.
193
+ #
183
194
  # @param status [Symbol, Increase::Models::Entity::Status] The status of the entity.
184
195
  #
185
196
  # @param structure [Symbol, Increase::Models::Entity::Structure] The entity's legal structure.
@@ -1154,6 +1165,284 @@ module Increase
1154
1165
  end
1155
1166
  end
1156
1167
 
1168
+ # @see Increase::Models::Entity#sole_proprietorship
1169
+ class SoleProprietorship < Increase::Internal::Type::BaseModel
1170
+ # @!attribute address
1171
+ # The sole proprietorship's address.
1172
+ #
1173
+ # @return [Increase::Models::Entity::SoleProprietorship::Address]
1174
+ required :address, -> { Increase::Entity::SoleProprietorship::Address }
1175
+
1176
+ # @!attribute doing_business_as_name
1177
+ # The name under which the sole proprietorship does business.
1178
+ #
1179
+ # @return [String, nil]
1180
+ required :doing_business_as_name, String, nil?: true
1181
+
1182
+ # @!attribute email
1183
+ # An email address for the sole proprietorship.
1184
+ #
1185
+ # @return [String, nil]
1186
+ required :email, String, nil?: true
1187
+
1188
+ # @!attribute industry_code
1189
+ # The numeric North American Industry Classification System (NAICS) code submitted
1190
+ # for the sole proprietorship.
1191
+ #
1192
+ # @return [String, nil]
1193
+ required :industry_code, String, nil?: true
1194
+
1195
+ # @!attribute sole_proprietor
1196
+ # The individual who operates the sole proprietorship.
1197
+ #
1198
+ # @return [Increase::Models::Entity::SoleProprietorship::SoleProprietor]
1199
+ required :sole_proprietor, -> { Increase::Entity::SoleProprietorship::SoleProprietor }
1200
+
1201
+ # @!attribute tax_identifier
1202
+ # The Employer Identification Number (EIN) for the sole proprietorship.
1203
+ #
1204
+ # @return [String, nil]
1205
+ required :tax_identifier, String, nil?: true
1206
+
1207
+ # @!attribute website
1208
+ # The sole proprietorship's website.
1209
+ #
1210
+ # @return [String, nil]
1211
+ required :website, String, nil?: true
1212
+
1213
+ # @!method initialize(address:, doing_business_as_name:, email:, industry_code:, sole_proprietor:, tax_identifier:, website:)
1214
+ # Details of the sole proprietorship entity. Will be present if `structure` is
1215
+ # equal to `sole_proprietorship`.
1216
+ #
1217
+ # @param address [Increase::Models::Entity::SoleProprietorship::Address] The sole proprietorship's address.
1218
+ #
1219
+ # @param doing_business_as_name [String, nil] The name under which the sole proprietorship does business.
1220
+ #
1221
+ # @param email [String, nil] An email address for the sole proprietorship.
1222
+ #
1223
+ # @param industry_code [String, nil]
1224
+ # The numeric North American Industry Classification System (NAICS) code submitted
1225
+ # for the sole proprietorship.
1226
+ #
1227
+ # @param sole_proprietor [Increase::Models::Entity::SoleProprietorship::SoleProprietor]
1228
+ # The individual who operates the sole proprietorship.
1229
+ #
1230
+ # @param tax_identifier [String, nil] The Employer Identification Number (EIN) for the sole proprietorship.
1231
+ #
1232
+ # @param website [String, nil] The sole proprietorship's website.
1233
+
1234
+ # @see Increase::Models::Entity::SoleProprietorship#address
1235
+ class Address < Increase::Internal::Type::BaseModel
1236
+ # @!attribute city
1237
+ # The city, district, town, or village of the address.
1238
+ #
1239
+ # @return [String, nil]
1240
+ required :city, String, nil?: true
1241
+
1242
+ # @!attribute country
1243
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
1244
+ #
1245
+ # @return [String]
1246
+ required :country, String
1247
+
1248
+ # @!attribute line1
1249
+ # The first line of the address.
1250
+ #
1251
+ # @return [String]
1252
+ required :line1, String
1253
+
1254
+ # @!attribute line2
1255
+ # The second line of the address.
1256
+ #
1257
+ # @return [String, nil]
1258
+ required :line2, String, nil?: true
1259
+
1260
+ # @!attribute state
1261
+ # The two-letter United States Postal Service (USPS) abbreviation for the US
1262
+ # state, province, or region of the address.
1263
+ #
1264
+ # @return [String, nil]
1265
+ required :state, String, nil?: true
1266
+
1267
+ # @!attribute zip
1268
+ # The ZIP or postal code of the address.
1269
+ #
1270
+ # @return [String, nil]
1271
+ required :zip, String, nil?: true
1272
+
1273
+ # @!method initialize(city:, country:, line1:, line2:, state:, zip:)
1274
+ # The sole proprietorship's address.
1275
+ #
1276
+ # @param city [String, nil] The city, district, town, or village of the address.
1277
+ #
1278
+ # @param country [String] The two-letter ISO 3166-1 alpha-2 code for the country of the address.
1279
+ #
1280
+ # @param line1 [String] The first line of the address.
1281
+ #
1282
+ # @param line2 [String, nil] The second line of the address.
1283
+ #
1284
+ # @param state [String, nil]
1285
+ # The two-letter United States Postal Service (USPS) abbreviation for the US
1286
+ # state, province, or region of the address.
1287
+ #
1288
+ # @param zip [String, nil] The ZIP or postal code of the address.
1289
+ end
1290
+
1291
+ # @see Increase::Models::Entity::SoleProprietorship#sole_proprietor
1292
+ class SoleProprietor < Increase::Internal::Type::BaseModel
1293
+ # @!attribute address
1294
+ # The person's address.
1295
+ #
1296
+ # @return [Increase::Models::Entity::SoleProprietorship::SoleProprietor::Address]
1297
+ required :address, -> { Increase::Entity::SoleProprietorship::SoleProprietor::Address }
1298
+
1299
+ # @!attribute date_of_birth
1300
+ # The person's date of birth in YYYY-MM-DD format.
1301
+ #
1302
+ # @return [Date]
1303
+ required :date_of_birth, Date
1304
+
1305
+ # @!attribute identification
1306
+ # A means of verifying the person's identity.
1307
+ #
1308
+ # @return [Increase::Models::Entity::SoleProprietorship::SoleProprietor::Identification, nil]
1309
+ required :identification,
1310
+ -> { Increase::Entity::SoleProprietorship::SoleProprietor::Identification },
1311
+ nil?: true
1312
+
1313
+ # @!attribute name
1314
+ # The person's legal name.
1315
+ #
1316
+ # @return [String]
1317
+ required :name, String
1318
+
1319
+ # @!method initialize(address:, date_of_birth:, identification:, name:)
1320
+ # The individual who operates the sole proprietorship.
1321
+ #
1322
+ # @param address [Increase::Models::Entity::SoleProprietorship::SoleProprietor::Address]
1323
+ # The person's address.
1324
+ #
1325
+ # @param date_of_birth [Date] The person's date of birth in YYYY-MM-DD format.
1326
+ #
1327
+ # @param identification [Increase::Models::Entity::SoleProprietorship::SoleProprietor::Identification, nil]
1328
+ # A means of verifying the person's identity.
1329
+ #
1330
+ # @param name [String] The person's legal name.
1331
+
1332
+ # @see Increase::Models::Entity::SoleProprietorship::SoleProprietor#address
1333
+ class Address < Increase::Internal::Type::BaseModel
1334
+ # @!attribute city
1335
+ # The city, district, town, or village of the address.
1336
+ #
1337
+ # @return [String, nil]
1338
+ required :city, String, nil?: true
1339
+
1340
+ # @!attribute country
1341
+ # The two-letter ISO 3166-1 alpha-2 code for the country of the address.
1342
+ #
1343
+ # @return [String]
1344
+ required :country, String
1345
+
1346
+ # @!attribute line1
1347
+ # The first line of the address.
1348
+ #
1349
+ # @return [String]
1350
+ required :line1, String
1351
+
1352
+ # @!attribute line2
1353
+ # The second line of the address.
1354
+ #
1355
+ # @return [String, nil]
1356
+ required :line2, String, nil?: true
1357
+
1358
+ # @!attribute state
1359
+ # The two-letter United States Postal Service (USPS) abbreviation for the US
1360
+ # state, province, or region of the address.
1361
+ #
1362
+ # @return [String, nil]
1363
+ required :state, String, nil?: true
1364
+
1365
+ # @!attribute zip
1366
+ # The ZIP or postal code of the address.
1367
+ #
1368
+ # @return [String, nil]
1369
+ required :zip, String, nil?: true
1370
+
1371
+ # @!method initialize(city:, country:, line1:, line2:, state:, zip:)
1372
+ # The person's address.
1373
+ #
1374
+ # @param city [String, nil] The city, district, town, or village of the address.
1375
+ #
1376
+ # @param country [String] The two-letter ISO 3166-1 alpha-2 code for the country of the address.
1377
+ #
1378
+ # @param line1 [String] The first line of the address.
1379
+ #
1380
+ # @param line2 [String, nil] The second line of the address.
1381
+ #
1382
+ # @param state [String, nil]
1383
+ # The two-letter United States Postal Service (USPS) abbreviation for the US
1384
+ # state, province, or region of the address.
1385
+ #
1386
+ # @param zip [String, nil] The ZIP or postal code of the address.
1387
+ end
1388
+
1389
+ # @see Increase::Models::Entity::SoleProprietorship::SoleProprietor#identification
1390
+ class Identification < Increase::Internal::Type::BaseModel
1391
+ # @!attribute method_
1392
+ # A method that can be used to verify the individual's identity.
1393
+ #
1394
+ # @return [Symbol, Increase::Models::Entity::SoleProprietorship::SoleProprietor::Identification::Method]
1395
+ required :method_,
1396
+ enum: -> {
1397
+ Increase::Entity::SoleProprietorship::SoleProprietor::Identification::Method
1398
+ },
1399
+ api_name: :method
1400
+
1401
+ # @!attribute number_last4
1402
+ # The last 4 digits of the identification number that can be used to verify the
1403
+ # individual's identity.
1404
+ #
1405
+ # @return [String]
1406
+ required :number_last4, String
1407
+
1408
+ # @!method initialize(method_:, number_last4:)
1409
+ # A means of verifying the person's identity.
1410
+ #
1411
+ # @param method_ [Symbol, Increase::Models::Entity::SoleProprietorship::SoleProprietor::Identification::Method]
1412
+ # A method that can be used to verify the individual's identity.
1413
+ #
1414
+ # @param number_last4 [String]
1415
+ # The last 4 digits of the identification number that can be used to verify the
1416
+ # individual's identity.
1417
+
1418
+ # A method that can be used to verify the individual's identity.
1419
+ #
1420
+ # @see Increase::Models::Entity::SoleProprietorship::SoleProprietor::Identification#method_
1421
+ module Method
1422
+ extend Increase::Internal::Type::Enum
1423
+
1424
+ # A social security number.
1425
+ SOCIAL_SECURITY_NUMBER = :social_security_number
1426
+
1427
+ # An individual taxpayer identification number (ITIN).
1428
+ INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER = :individual_taxpayer_identification_number
1429
+
1430
+ # A passport number.
1431
+ PASSPORT = :passport
1432
+
1433
+ # A driver's license number.
1434
+ DRIVERS_LICENSE = :drivers_license
1435
+
1436
+ # Another identifying document.
1437
+ OTHER = :other
1438
+
1439
+ # @!method self.values
1440
+ # @return [Array<Symbol>]
1441
+ end
1442
+ end
1443
+ end
1444
+ end
1445
+
1157
1446
  # The status of the entity.
1158
1447
  #
1159
1448
  # @see Increase::Models::Entity#status
@@ -1194,6 +1483,9 @@ module Increase
1194
1483
  # A government authority.
1195
1484
  GOVERNMENT_AUTHORITY = :government_authority
1196
1485
 
1486
+ # A sole proprietorship.
1487
+ SOLE_PROPRIETORSHIP = :sole_proprietorship
1488
+
1197
1489
  # @!method self.values
1198
1490
  # @return [Array<Symbol>]
1199
1491
  end
@@ -1208,8 +1500,8 @@ module Increase
1208
1500
  # @!attribute ip_address
1209
1501
  # The IP address the Entity accessed reviewed the terms from.
1210
1502
  #
1211
- # @return [String]
1212
- required :ip_address, String
1503
+ # @return [String, nil]
1504
+ required :ip_address, String, nil?: true
1213
1505
 
1214
1506
  # @!attribute terms_url
1215
1507
  # The URL of the terms agreement. This link will be provided by your bank partner.
@@ -1220,7 +1512,7 @@ module Increase
1220
1512
  # @!method initialize(agreed_at:, ip_address:, terms_url:)
1221
1513
  # @param agreed_at [Time] The timestamp of when the Entity agreed to the terms.
1222
1514
  #
1223
- # @param ip_address [String] The IP address the Entity accessed reviewed the terms from.
1515
+ # @param ip_address [String, nil] The IP address the Entity accessed reviewed the terms from.
1224
1516
  #
1225
1517
  # @param terms_url [String] The URL of the terms agreement. This link will be provided by your bank partner.
1226
1518
  end
@@ -1832,6 +2124,12 @@ module Increase
1832
2124
  # @return [Increase::Models::Entity::Validation::Issue::EntityAddress, nil]
1833
2125
  required :entity_address, -> { Increase::Entity::Validation::Issue::EntityAddress }, nil?: true
1834
2126
 
2127
+ # @!attribute entity_identity
2128
+ # Details when the issue is with the entity's identity verification.
2129
+ #
2130
+ # @return [Increase::Models::Entity::Validation::Issue::EntityIdentity, nil]
2131
+ required :entity_identity, -> { Increase::Entity::Validation::Issue::EntityIdentity }, nil?: true
2132
+
1835
2133
  # @!attribute entity_tax_identifier
1836
2134
  # Details when the issue is with the entity's tax ID.
1837
2135
  #
@@ -1840,7 +2138,7 @@ module Increase
1840
2138
  -> { Increase::Entity::Validation::Issue::EntityTaxIdentifier },
1841
2139
  nil?: true
1842
2140
 
1843
- # @!method initialize(beneficial_owner_address:, beneficial_owner_identity:, category:, entity_address:, entity_tax_identifier:)
2141
+ # @!method initialize(beneficial_owner_address:, beneficial_owner_identity:, category:, entity_address:, entity_identity:, entity_tax_identifier:)
1844
2142
  # @param beneficial_owner_address [Increase::Models::Entity::Validation::Issue::BeneficialOwnerAddress, nil]
1845
2143
  # Details when the issue is with a beneficial owner's address.
1846
2144
  #
@@ -1854,6 +2152,9 @@ module Increase
1854
2152
  # @param entity_address [Increase::Models::Entity::Validation::Issue::EntityAddress, nil]
1855
2153
  # Details when the issue is with the entity's address.
1856
2154
  #
2155
+ # @param entity_identity [Increase::Models::Entity::Validation::Issue::EntityIdentity, nil]
2156
+ # Details when the issue is with the entity's identity verification.
2157
+ #
1857
2158
  # @param entity_tax_identifier [Increase::Models::Entity::Validation::Issue::EntityTaxIdentifier, nil]
1858
2159
  # Details when the issue is with the entity's tax ID.
1859
2160
 
@@ -1920,6 +2221,9 @@ module Increase
1920
2221
  # The entity's address could not be validated. Update the address with the [update an entity API](/documentation/api/entities#update-an-entity.corporation.address).
1921
2222
  ENTITY_ADDRESS = :entity_address
1922
2223
 
2224
+ # 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).
2225
+ ENTITY_IDENTITY = :entity_identity
2226
+
1923
2227
  # 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).
1924
2228
  BENEFICIAL_OWNER_IDENTITY = :beneficial_owner_identity
1925
2229
 
@@ -1958,6 +2262,12 @@ module Increase
1958
2262
  end
1959
2263
  end
1960
2264
 
2265
+ # @see Increase::Models::Entity::Validation::Issue#entity_identity
2266
+ class EntityIdentity < Increase::Internal::Type::BaseModel
2267
+ # @!method initialize
2268
+ # Details when the issue is with the entity's identity verification.
2269
+ end
2270
+
1961
2271
  # @see Increase::Models::Entity::Validation::Issue#entity_tax_identifier
1962
2272
  class EntityTaxIdentifier < Increase::Internal::Type::BaseModel
1963
2273
  # @!method initialize