didit-sdk 1.0.1 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +33 -0
- data/lib/didit/resources/account.rb +20 -5
- data/lib/didit/resources/address_validation.rb +2 -2
- data/lib/didit/resources/analytics.rb +29 -0
- data/lib/didit/resources/bank.rb +15 -6
- data/lib/didit/resources/billing.rb +2 -2
- data/lib/didit/resources/database_validation.rb +65 -0
- data/lib/didit/resources/email.rb +22 -2
- data/lib/didit/resources/id_verification.rb +14 -13
- data/lib/didit/resources/id_wallets.rb +84 -0
- data/lib/didit/resources/ip.rb +2 -2
- data/lib/didit/resources/kyb.rb +14 -7
- data/lib/didit/resources/phone.rb +28 -2
- data/lib/didit/resources/pricing.rb +4 -2
- data/lib/didit/resources/sessions.rb +463 -33
- data/lib/didit/resources/transactions.rb +16 -6
- data/lib/didit/resources/travel_rule.rb +96 -0
- data/lib/didit/resources/users.rb +25 -6
- data/lib/didit/resources/wallet_screening.rb +5 -6
- data/lib/didit/resources/webhooks.rb +8 -1
- data/lib/didit/types/account_components.rb +17 -1
- data/lib/didit/types/aml.rb +19 -0
- data/lib/didit/types/components.rb +919 -30
- data/lib/didit/types/email.rb +28 -0
- data/lib/didit/types/kyb.rb +135 -5
- data/lib/didit/types/phone.rb +38 -0
- data/lib/didit/types/sessions.rb +476 -5
- data/lib/didit/types/travel_rule.rb +7 -0
- data/lib/didit/types/wallet_screening.rb +13 -6
- data/lib/didit/types.rb +128 -0
- data/lib/didit/version.rb +1 -1
- data/sig/didit/resources/account.rbs +2 -2
- data/sig/didit/resources/analytics.rbs +1 -0
- data/sig/didit/resources/bank.rbs +1 -1
- data/sig/didit/resources/database_validation.rbs +1 -1
- data/sig/didit/resources/email.rbs +1 -1
- data/sig/didit/resources/id_wallets.rbs +2 -0
- data/sig/didit/resources/phone.rbs +1 -1
- data/sig/didit/resources/sessions.rbs +14 -5
- data/sig/didit/resources/transactions.rbs +1 -1
- data/sig/didit/resources/travel_rule.rbs +5 -0
- data/sig/didit/resources/users.rbs +1 -1
- data/sig/didit/resources/wallet_screening.rbs +1 -1
- data/sig/didit/resources/webhooks.rbs +1 -1
- data/sig/didit/types/account.rbs +2 -2
- data/sig/didit/types/account_components.rbs +10 -0
- data/sig/didit/types/aml.rbs +18 -0
- data/sig/didit/types/bank.rbs +1 -1
- data/sig/didit/types/components.rbs +787 -4
- data/sig/didit/types/database_validation.rbs +1 -1
- data/sig/didit/types/email.rbs +22 -1
- data/sig/didit/types/id_wallets.rbs +4 -0
- data/sig/didit/types/kyb.rbs +115 -5
- data/sig/didit/types/phone.rbs +29 -1
- data/sig/didit/types/sessions.rbs +462 -2
- data/sig/didit/types/travel_rule.rbs +9 -0
- data/sig/didit/types/users.rbs +1 -1
- data/sig/didit/types/wallet_screening.rbs +5 -1
- data/sig/didit/types/webhooks.rbs +1 -1
- metadata +1 -1
|
@@ -83,8 +83,9 @@ module Didit
|
|
|
83
83
|
SIP = "SIP"
|
|
84
84
|
SIE = "SIE"
|
|
85
85
|
INSOLVENCY = "Insolvency"
|
|
86
|
+
OTHER_LISTS = "Other Lists"
|
|
86
87
|
|
|
87
|
-
VALUES = [PEP, PEP_LEVEL_1, PEP_LEVEL_2, PEP_LEVEL_3, PEP_LEVEL_4, SANCTIONS, ADVERSE_MEDIA, WARNINGS_AND_REGULATORY_ENFORCEMENT, FITNESS_AND_PROBITY, SIP, SIE, INSOLVENCY].freeze
|
|
88
|
+
VALUES = [PEP, PEP_LEVEL_1, PEP_LEVEL_2, PEP_LEVEL_3, PEP_LEVEL_4, SANCTIONS, ADVERSE_MEDIA, WARNINGS_AND_REGULATORY_ENFORCEMENT, FITNESS_AND_PROBITY, SIP, SIE, INSOLVENCY, OTHER_LISTS].freeze
|
|
88
89
|
end
|
|
89
90
|
|
|
90
91
|
# Review status for this hit. Can be 'Unreviewed', 'Confirmed Match', 'False Positive', or 'Inconclusive'.
|
|
@@ -183,8 +184,10 @@ module Didit
|
|
|
183
184
|
KYB_REGISTRY = "KYB_REGISTRY"
|
|
184
185
|
KYB_DOCUMENTS = "KYB_DOCUMENTS"
|
|
185
186
|
KYB_KEY_PEOPLE = "KYB_KEY_PEOPLE"
|
|
187
|
+
GEOLOCATION = "GEOLOCATION"
|
|
188
|
+
SIGNATURE = "SIGNATURE"
|
|
186
189
|
|
|
187
|
-
VALUES = [ID_VERIFICATION, NFC, LIVENESS, FACEMATCH, PROOF_OF_ADDRESS, PHONE, EMAIL, AML, LOCATION, DATABASE_VALIDATION, QUESTIONNAIRE, DOCUMENT_AI, KYB_REGISTRY, KYB_DOCUMENTS, KYB_KEY_PEOPLE].freeze
|
|
190
|
+
VALUES = [ID_VERIFICATION, NFC, LIVENESS, FACEMATCH, PROOF_OF_ADDRESS, PHONE, EMAIL, AML, LOCATION, DATABASE_VALIDATION, QUESTIONNAIRE, DOCUMENT_AI, KYB_REGISTRY, KYB_DOCUMENTS, KYB_KEY_PEOPLE, GEOLOCATION, SIGNATURE].freeze
|
|
188
191
|
end
|
|
189
192
|
|
|
190
193
|
# `verified`: the address was confirmed down to the building (or the flat or PO box). `partially_verified`: it was
|
|
@@ -1019,6 +1022,21 @@ module Didit
|
|
|
1019
1022
|
VALUES = [FIN].freeze
|
|
1020
1023
|
end
|
|
1021
1024
|
|
|
1025
|
+
# * `USA` - USA
|
|
1026
|
+
# * `GBR` - GBR
|
|
1027
|
+
# * `BRA` - BRA
|
|
1028
|
+
# * `SGP` - SGP
|
|
1029
|
+
# * `TWN` - TWN
|
|
1030
|
+
module DigitalIdWalletApiGoogleWalletWalletVerificationStartCountryEnum
|
|
1031
|
+
USA = "USA"
|
|
1032
|
+
GBR = "GBR"
|
|
1033
|
+
BRA = "BRA"
|
|
1034
|
+
SGP = "SGP"
|
|
1035
|
+
TWN = "TWN"
|
|
1036
|
+
|
|
1037
|
+
VALUES = [USA, GBR, BRA, SGP, TWN].freeze
|
|
1038
|
+
end
|
|
1039
|
+
|
|
1022
1040
|
# * `BRA` - BRA
|
|
1023
1041
|
module DigitalIdWalletApiGovbrWalletVerificationStartCountryEnum
|
|
1024
1042
|
BRA = "BRA"
|
|
@@ -1042,11 +1060,13 @@ module Didit
|
|
|
1042
1060
|
|
|
1043
1061
|
# * `redirect` - redirect
|
|
1044
1062
|
# * `in_app` - in_app
|
|
1063
|
+
# * `digital_credentials` - digital_credentials
|
|
1045
1064
|
module DigitalIdWalletApiInteractionEnum
|
|
1046
1065
|
REDIRECT = "redirect"
|
|
1047
1066
|
IN_APP = "in_app"
|
|
1067
|
+
DIGITAL_CREDENTIALS = "digital_credentials"
|
|
1048
1068
|
|
|
1049
|
-
VALUES = [REDIRECT, IN_APP].freeze
|
|
1069
|
+
VALUES = [REDIRECT, IN_APP, DIGITAL_CREDENTIALS].freeze
|
|
1050
1070
|
end
|
|
1051
1071
|
|
|
1052
1072
|
# * `BEL` - BEL
|
|
@@ -1105,11 +1125,13 @@ module Didit
|
|
|
1105
1125
|
|
|
1106
1126
|
# * `redirect` - redirect
|
|
1107
1127
|
# * `confirm_in_app` - confirm_in_app
|
|
1128
|
+
# * `request_digital_credential` - request_digital_credential
|
|
1108
1129
|
module DigitalIdWalletApiWalletNextActionTypeEnum
|
|
1109
1130
|
REDIRECT = "redirect"
|
|
1110
1131
|
CONFIRM_IN_APP = "confirm_in_app"
|
|
1132
|
+
REQUEST_DIGITAL_CREDENTIAL = "request_digital_credential"
|
|
1111
1133
|
|
|
1112
|
-
VALUES = [REDIRECT, CONFIRM_IN_APP].freeze
|
|
1134
|
+
VALUES = [REDIRECT, CONFIRM_IN_APP, REQUEST_DIGITAL_CREDENTIAL].freeze
|
|
1113
1135
|
end
|
|
1114
1136
|
|
|
1115
1137
|
# * `pending` - Pending
|
|
@@ -1127,6 +1149,14 @@ module Didit
|
|
|
1127
1149
|
VALUES = [PENDING, VERIFIED, CANCELLED, TIMEOUT, FAILED].freeze
|
|
1128
1150
|
end
|
|
1129
1151
|
|
|
1152
|
+
# Whether the signal raised the risk or added trust.
|
|
1153
|
+
module EmailIntelligenceReasonCodesDirection
|
|
1154
|
+
RISK = "risk"
|
|
1155
|
+
TRUST = "trust"
|
|
1156
|
+
|
|
1157
|
+
VALUES = [RISK, TRUST].freeze
|
|
1158
|
+
end
|
|
1159
|
+
|
|
1130
1160
|
# Decision for this email address. Mirrors the top-level `status`.
|
|
1131
1161
|
module EmailRiskResponseEmailStatus
|
|
1132
1162
|
APPROVED = "Approved"
|
|
@@ -1428,6 +1458,280 @@ module Didit
|
|
|
1428
1458
|
VALUES = [EMAIL, PHONE, NATIONAL_ID, TAX_NUMBER, PASSPORT_NUMBER, DRIVING_LICENCE_NUMBER, RESIDENCE_PERMIT_NUMBER, VOTER_ID, EXTERNAL_ID].freeze
|
|
1429
1459
|
end
|
|
1430
1460
|
|
|
1461
|
+
# Confidence level the platform attaches to `accuracy_m`: `p95` (browsers), `p68` (Android) or `unspecified`
|
|
1462
|
+
# (iOS).
|
|
1463
|
+
module GeolocationAttemptAccuracyConfidence
|
|
1464
|
+
P95 = "p95"
|
|
1465
|
+
P68 = "p68"
|
|
1466
|
+
UNSPECIFIED = "unspecified"
|
|
1467
|
+
|
|
1468
|
+
VALUES = [P95, P68, UNSPECIFIED].freeze
|
|
1469
|
+
end
|
|
1470
|
+
|
|
1471
|
+
# Which position the area result was judged from: the `device` fix, or the connection's `ip` location.
|
|
1472
|
+
module GeolocationAttemptGeofenceBasis
|
|
1473
|
+
DEVICE = "device"
|
|
1474
|
+
IP = "ip"
|
|
1475
|
+
|
|
1476
|
+
VALUES = [DEVICE, IP].freeze
|
|
1477
|
+
end
|
|
1478
|
+
|
|
1479
|
+
# Where the position sits relative to the rules. `undetermined` means the accuracy circle straddles the border or
|
|
1480
|
+
# the position resolved to no country; it is not evidence of being outside.
|
|
1481
|
+
module GeolocationAttemptGeofenceResult
|
|
1482
|
+
INSIDE = "inside"
|
|
1483
|
+
OUTSIDE = "outside"
|
|
1484
|
+
UNDETERMINED = "undetermined"
|
|
1485
|
+
|
|
1486
|
+
VALUES = [INSIDE, OUTSIDE, UNDETERMINED].freeze
|
|
1487
|
+
end
|
|
1488
|
+
|
|
1489
|
+
# Whether device attestation backs the fix. `unsupported` is what browsers report, because the web has no
|
|
1490
|
+
# attestation mechanism; it is not a failure.
|
|
1491
|
+
module GeolocationAttemptIntegrity
|
|
1492
|
+
ATTESTED = "attested"
|
|
1493
|
+
NOT_ATTESTED = "not_attested"
|
|
1494
|
+
FAILED = "failed"
|
|
1495
|
+
UNSUPPORTED = "unsupported"
|
|
1496
|
+
NOT_DETERMINED = "not_determined"
|
|
1497
|
+
|
|
1498
|
+
VALUES = [ATTESTED, NOT_ATTESTED, FAILED, UNSUPPORTED, NOT_DETERMINED].freeze
|
|
1499
|
+
end
|
|
1500
|
+
|
|
1501
|
+
# What happened on this attempt.
|
|
1502
|
+
module GeolocationAttemptOutcome
|
|
1503
|
+
VERIFIED = "verified"
|
|
1504
|
+
LOW_ACCURACY = "low_accuracy"
|
|
1505
|
+
ACCURACY_UNDETERMINED = "accuracy_undetermined"
|
|
1506
|
+
STALE = "stale"
|
|
1507
|
+
APPROXIMATE = "approximate"
|
|
1508
|
+
DENIED = "denied"
|
|
1509
|
+
RESTRICTED = "restricted"
|
|
1510
|
+
UNAVAILABLE = "unavailable"
|
|
1511
|
+
TIMEOUT = "timeout"
|
|
1512
|
+
MOCK_DETECTED = "mock_detected"
|
|
1513
|
+
OUTSIDE_GEOFENCE = "outside_geofence"
|
|
1514
|
+
IN_BLOCKED_AREA = "in_blocked_area"
|
|
1515
|
+
ANONYMIZER_DETECTED = "anonymizer_detected"
|
|
1516
|
+
SKIPPED = "skipped"
|
|
1517
|
+
REPLAY_REJECTED = "replay_rejected"
|
|
1518
|
+
UNSUPPORTED_CLIENT = "unsupported_client"
|
|
1519
|
+
|
|
1520
|
+
VALUES = [VERIFIED, LOW_ACCURACY, ACCURACY_UNDETERMINED, STALE, APPROXIMATE, DENIED, RESTRICTED, UNAVAILABLE, TIMEOUT, MOCK_DETECTED, OUTSIDE_GEOFENCE, IN_BLOCKED_AREA, ANONYMIZER_DETECTED, SKIPPED, REPLAY_REJECTED, UNSUPPORTED_CLIENT].freeze
|
|
1521
|
+
end
|
|
1522
|
+
|
|
1523
|
+
# What the operating system or browser granted. `not_requested` means the step uses the connection's IP location
|
|
1524
|
+
# only, so the person is never asked for a permission.
|
|
1525
|
+
module GeolocationAttemptPermission
|
|
1526
|
+
GRANTED_PRECISE = "granted_precise"
|
|
1527
|
+
GRANTED_APPROXIMATE = "granted_approximate"
|
|
1528
|
+
DENIED = "denied"
|
|
1529
|
+
RESTRICTED = "restricted"
|
|
1530
|
+
UNAVAILABLE = "unavailable"
|
|
1531
|
+
TIMEOUT = "timeout"
|
|
1532
|
+
DISMISSED = "dismissed"
|
|
1533
|
+
NOT_REQUESTED = "not_requested"
|
|
1534
|
+
|
|
1535
|
+
VALUES = [GRANTED_PRECISE, GRANTED_APPROXIMATE, DENIED, RESTRICTED, UNAVAILABLE, TIMEOUT, DISMISSED, NOT_REQUESTED].freeze
|
|
1536
|
+
end
|
|
1537
|
+
|
|
1538
|
+
# The client that produced the fix.
|
|
1539
|
+
module GeolocationAttemptPlatform
|
|
1540
|
+
WEB = "web"
|
|
1541
|
+
IOS = "ios"
|
|
1542
|
+
ANDROID = "android"
|
|
1543
|
+
REACT_NATIVE = "react_native"
|
|
1544
|
+
FLUTTER = "flutter"
|
|
1545
|
+
|
|
1546
|
+
VALUES = [WEB, IOS, ANDROID, REACT_NATIVE, FLUTTER].freeze
|
|
1547
|
+
end
|
|
1548
|
+
|
|
1549
|
+
# Where the step takes the position from, as configured: the device checked against the IP location, the device
|
|
1550
|
+
# only, or the IP location only.
|
|
1551
|
+
module GeolocationAttemptPositionSource
|
|
1552
|
+
DEVICE_AND_IP = "device_and_ip"
|
|
1553
|
+
DEVICE_ONLY = "device_only"
|
|
1554
|
+
IP_ONLY = "ip_only"
|
|
1555
|
+
|
|
1556
|
+
VALUES = [DEVICE_AND_IP, DEVICE_ONLY, IP_ONLY].freeze
|
|
1557
|
+
end
|
|
1558
|
+
|
|
1559
|
+
# Where the fix came from, when the platform says. `ip` means the position is the connection's IP location.
|
|
1560
|
+
module GeolocationAttemptSource
|
|
1561
|
+
GPS = "gps"
|
|
1562
|
+
FUSED = "fused"
|
|
1563
|
+
NETWORK = "network"
|
|
1564
|
+
WIFI = "wifi"
|
|
1565
|
+
CELL = "cell"
|
|
1566
|
+
BROWSER = "browser"
|
|
1567
|
+
UNKNOWN = "unknown"
|
|
1568
|
+
IP = "ip"
|
|
1569
|
+
|
|
1570
|
+
VALUES = [GPS, FUSED, NETWORK, WIFI, CELL, BROWSER, UNKNOWN, IP].freeze
|
|
1571
|
+
end
|
|
1572
|
+
|
|
1573
|
+
# Feature-level status of this Location verification step, resolved from its warnings. Independent of the session
|
|
1574
|
+
# `status`.
|
|
1575
|
+
module GeolocationAttemptStatus
|
|
1576
|
+
NOT_FINISHED = "Not Finished"
|
|
1577
|
+
APPROVED = "Approved"
|
|
1578
|
+
DECLINED = "Declined"
|
|
1579
|
+
IN_REVIEW = "In Review"
|
|
1580
|
+
RESUB_REQUESTED = "Resub Requested"
|
|
1581
|
+
|
|
1582
|
+
VALUES = [NOT_FINISHED, APPROVED, DECLINED, IN_REVIEW, RESUB_REQUESTED].freeze
|
|
1583
|
+
end
|
|
1584
|
+
|
|
1585
|
+
# Confidence level the platform attaches to `accuracy_m`: `p95` (browsers), `p68` (Android) or `unspecified`
|
|
1586
|
+
# (iOS).
|
|
1587
|
+
module GeolocationCheckAccuracyConfidence
|
|
1588
|
+
P95 = "p95"
|
|
1589
|
+
P68 = "p68"
|
|
1590
|
+
UNSPECIFIED = "unspecified"
|
|
1591
|
+
|
|
1592
|
+
VALUES = [P95, P68, UNSPECIFIED].freeze
|
|
1593
|
+
end
|
|
1594
|
+
|
|
1595
|
+
# Which position the area result was judged from: the `device` fix, or the connection's `ip` location.
|
|
1596
|
+
module GeolocationCheckGeofenceBasis
|
|
1597
|
+
DEVICE = "device"
|
|
1598
|
+
IP = "ip"
|
|
1599
|
+
|
|
1600
|
+
VALUES = [DEVICE, IP].freeze
|
|
1601
|
+
end
|
|
1602
|
+
|
|
1603
|
+
# Where the position sits relative to the rules. `undetermined` means the accuracy circle straddles the border or
|
|
1604
|
+
# the position resolved to no country; it is not evidence of being outside.
|
|
1605
|
+
module GeolocationCheckGeofenceResult
|
|
1606
|
+
INSIDE = "inside"
|
|
1607
|
+
OUTSIDE = "outside"
|
|
1608
|
+
UNDETERMINED = "undetermined"
|
|
1609
|
+
|
|
1610
|
+
VALUES = [INSIDE, OUTSIDE, UNDETERMINED].freeze
|
|
1611
|
+
end
|
|
1612
|
+
|
|
1613
|
+
# Whether device attestation backs the fix. `unsupported` is what browsers report, because the web has no
|
|
1614
|
+
# attestation mechanism; it is not a failure.
|
|
1615
|
+
module GeolocationCheckIntegrity
|
|
1616
|
+
ATTESTED = "attested"
|
|
1617
|
+
NOT_ATTESTED = "not_attested"
|
|
1618
|
+
FAILED = "failed"
|
|
1619
|
+
UNSUPPORTED = "unsupported"
|
|
1620
|
+
NOT_DETERMINED = "not_determined"
|
|
1621
|
+
|
|
1622
|
+
VALUES = [ATTESTED, NOT_ATTESTED, FAILED, UNSUPPORTED, NOT_DETERMINED].freeze
|
|
1623
|
+
end
|
|
1624
|
+
|
|
1625
|
+
# What happened on this attempt.
|
|
1626
|
+
module GeolocationCheckOutcome
|
|
1627
|
+
VERIFIED = "verified"
|
|
1628
|
+
LOW_ACCURACY = "low_accuracy"
|
|
1629
|
+
ACCURACY_UNDETERMINED = "accuracy_undetermined"
|
|
1630
|
+
STALE = "stale"
|
|
1631
|
+
APPROXIMATE = "approximate"
|
|
1632
|
+
DENIED = "denied"
|
|
1633
|
+
RESTRICTED = "restricted"
|
|
1634
|
+
UNAVAILABLE = "unavailable"
|
|
1635
|
+
TIMEOUT = "timeout"
|
|
1636
|
+
MOCK_DETECTED = "mock_detected"
|
|
1637
|
+
OUTSIDE_GEOFENCE = "outside_geofence"
|
|
1638
|
+
IN_BLOCKED_AREA = "in_blocked_area"
|
|
1639
|
+
ANONYMIZER_DETECTED = "anonymizer_detected"
|
|
1640
|
+
SKIPPED = "skipped"
|
|
1641
|
+
REPLAY_REJECTED = "replay_rejected"
|
|
1642
|
+
UNSUPPORTED_CLIENT = "unsupported_client"
|
|
1643
|
+
|
|
1644
|
+
VALUES = [VERIFIED, LOW_ACCURACY, ACCURACY_UNDETERMINED, STALE, APPROXIMATE, DENIED, RESTRICTED, UNAVAILABLE, TIMEOUT, MOCK_DETECTED, OUTSIDE_GEOFENCE, IN_BLOCKED_AREA, ANONYMIZER_DETECTED, SKIPPED, REPLAY_REJECTED, UNSUPPORTED_CLIENT].freeze
|
|
1645
|
+
end
|
|
1646
|
+
|
|
1647
|
+
# What the operating system or browser granted. `not_requested` means the step uses the connection's IP location
|
|
1648
|
+
# only, so the person is never asked for a permission.
|
|
1649
|
+
module GeolocationCheckPermission
|
|
1650
|
+
GRANTED_PRECISE = "granted_precise"
|
|
1651
|
+
GRANTED_APPROXIMATE = "granted_approximate"
|
|
1652
|
+
DENIED = "denied"
|
|
1653
|
+
RESTRICTED = "restricted"
|
|
1654
|
+
UNAVAILABLE = "unavailable"
|
|
1655
|
+
TIMEOUT = "timeout"
|
|
1656
|
+
DISMISSED = "dismissed"
|
|
1657
|
+
NOT_REQUESTED = "not_requested"
|
|
1658
|
+
|
|
1659
|
+
VALUES = [GRANTED_PRECISE, GRANTED_APPROXIMATE, DENIED, RESTRICTED, UNAVAILABLE, TIMEOUT, DISMISSED, NOT_REQUESTED].freeze
|
|
1660
|
+
end
|
|
1661
|
+
|
|
1662
|
+
# The client that produced the fix.
|
|
1663
|
+
module GeolocationCheckPlatform
|
|
1664
|
+
WEB = "web"
|
|
1665
|
+
IOS = "ios"
|
|
1666
|
+
ANDROID = "android"
|
|
1667
|
+
REACT_NATIVE = "react_native"
|
|
1668
|
+
FLUTTER = "flutter"
|
|
1669
|
+
|
|
1670
|
+
VALUES = [WEB, IOS, ANDROID, REACT_NATIVE, FLUTTER].freeze
|
|
1671
|
+
end
|
|
1672
|
+
|
|
1673
|
+
# Where the step takes the position from, as configured: the device checked against the IP location, the device
|
|
1674
|
+
# only, or the IP location only.
|
|
1675
|
+
module GeolocationCheckPositionSource
|
|
1676
|
+
DEVICE_AND_IP = "device_and_ip"
|
|
1677
|
+
DEVICE_ONLY = "device_only"
|
|
1678
|
+
IP_ONLY = "ip_only"
|
|
1679
|
+
|
|
1680
|
+
VALUES = [DEVICE_AND_IP, DEVICE_ONLY, IP_ONLY].freeze
|
|
1681
|
+
end
|
|
1682
|
+
|
|
1683
|
+
# Where the fix came from, when the platform says. `ip` means the position is the connection's IP location.
|
|
1684
|
+
module GeolocationCheckSource
|
|
1685
|
+
GPS = "gps"
|
|
1686
|
+
FUSED = "fused"
|
|
1687
|
+
NETWORK = "network"
|
|
1688
|
+
WIFI = "wifi"
|
|
1689
|
+
CELL = "cell"
|
|
1690
|
+
BROWSER = "browser"
|
|
1691
|
+
UNKNOWN = "unknown"
|
|
1692
|
+
IP = "ip"
|
|
1693
|
+
|
|
1694
|
+
VALUES = [GPS, FUSED, NETWORK, WIFI, CELL, BROWSER, UNKNOWN, IP].freeze
|
|
1695
|
+
end
|
|
1696
|
+
|
|
1697
|
+
# Feature-level status of this Location verification step, resolved from its warnings. Independent of the session
|
|
1698
|
+
# `status`.
|
|
1699
|
+
module GeolocationCheckStatus
|
|
1700
|
+
NOT_FINISHED = "Not Finished"
|
|
1701
|
+
APPROVED = "Approved"
|
|
1702
|
+
DECLINED = "Declined"
|
|
1703
|
+
IN_REVIEW = "In Review"
|
|
1704
|
+
RESUB_REQUESTED = "Resub Requested"
|
|
1705
|
+
|
|
1706
|
+
VALUES = [NOT_FINISHED, APPROVED, DECLINED, IN_REVIEW, RESUB_REQUESTED].freeze
|
|
1707
|
+
end
|
|
1708
|
+
|
|
1709
|
+
# The feature that generated this warning. The value identifies the feature block the warning belongs to. Each
|
|
1710
|
+
# module's warnings array typically uses the value matching its module (e.g. `PHONE` inside
|
|
1711
|
+
# `phone_verifications[].warnings`), but the enum above is authoritative across all feature warnings on the
|
|
1712
|
+
# decision payload.
|
|
1713
|
+
module GeolocationCheckWarningsFeature
|
|
1714
|
+
ID_VERIFICATION = "ID_VERIFICATION"
|
|
1715
|
+
NFC = "NFC"
|
|
1716
|
+
LIVENESS = "LIVENESS"
|
|
1717
|
+
FACEMATCH = "FACEMATCH"
|
|
1718
|
+
PROOF_OF_ADDRESS = "PROOF_OF_ADDRESS"
|
|
1719
|
+
PHONE = "PHONE"
|
|
1720
|
+
EMAIL = "EMAIL"
|
|
1721
|
+
AML = "AML"
|
|
1722
|
+
LOCATION = "LOCATION"
|
|
1723
|
+
DATABASE_VALIDATION = "DATABASE_VALIDATION"
|
|
1724
|
+
QUESTIONNAIRE = "QUESTIONNAIRE"
|
|
1725
|
+
DOCUMENT_AI = "DOCUMENT_AI"
|
|
1726
|
+
KYB_REGISTRY = "KYB_REGISTRY"
|
|
1727
|
+
KYB_DOCUMENTS = "KYB_DOCUMENTS"
|
|
1728
|
+
KYB_KEY_PEOPLE = "KYB_KEY_PEOPLE"
|
|
1729
|
+
GEOLOCATION = "GEOLOCATION"
|
|
1730
|
+
SIGNATURE = "SIGNATURE"
|
|
1731
|
+
|
|
1732
|
+
VALUES = [ID_VERIFICATION, NFC, LIVENESS, FACEMATCH, PROOF_OF_ADDRESS, PHONE, EMAIL, AML, LOCATION, DATABASE_VALIDATION, QUESTIONNAIRE, DOCUMENT_AI, KYB_REGISTRY, KYB_DOCUMENTS, KYB_KEY_PEOPLE, GEOLOCATION, SIGNATURE].freeze
|
|
1733
|
+
end
|
|
1734
|
+
|
|
1431
1735
|
# `In Review` when the resolved country conflicts with `claimed_country`, or when the address is associated with
|
|
1432
1736
|
# VPN, Tor, or data-center infrastructure. Otherwise `Approved`.
|
|
1433
1737
|
module IPRiskResponseIpStatus
|
|
@@ -1782,6 +2086,31 @@ module Didit
|
|
|
1782
2086
|
VALUES = [KYC, KYB, ADAPTIVE_AGE_VERIFICATION, BIOMETRIC_AUTHENTICATION, ADDRESS_VERIFICATION, QUESTIONNAIRE_VERIFICATION, EMAIL_VERIFICATION, PHONE_VERIFICATION].freeze
|
|
1783
2087
|
end
|
|
1784
2088
|
|
|
2089
|
+
# Whether the owner is a natural person or a company.
|
|
2090
|
+
module KYBOwnershipStructureOwnerEntityType
|
|
2091
|
+
PERSON = "person"
|
|
2092
|
+
COMPANY = "company"
|
|
2093
|
+
|
|
2094
|
+
VALUES = [PERSON, COMPANY].freeze
|
|
2095
|
+
end
|
|
2096
|
+
|
|
2097
|
+
# Why a requested ownership tier was not delivered, in the same codes as `ownership.unavailable_reason`.
|
|
2098
|
+
# `no_owners_on_record` (the registry answered and names no owner) and `ownership_section_unavailable` (the
|
|
2099
|
+
# registry did not return the ownership section) are different findings.
|
|
2100
|
+
module KYBRegistryDataOwnershipError
|
|
2101
|
+
NO_OWNERS_ON_RECORD = "no_owners_on_record"
|
|
2102
|
+
NO_NATURAL_PERSON_OWNER = "no_natural_person_owner"
|
|
2103
|
+
OWNERSHIP_SECTION_UNAVAILABLE = "ownership_section_unavailable"
|
|
2104
|
+
COMPANY_NOT_FOUND = "company_not_found"
|
|
2105
|
+
AMBIGUOUS_COMPANY_MATCH = "ambiguous_company_match"
|
|
2106
|
+
MISSING_REGISTRATION_NUMBER = "missing_registration_number"
|
|
2107
|
+
ENTITY_TYPE_NOT_COVERED = "entity_type_not_covered"
|
|
2108
|
+
PROVIDER_UNAVAILABLE = "provider_unavailable"
|
|
2109
|
+
OTHER = "other"
|
|
2110
|
+
|
|
2111
|
+
VALUES = [NO_OWNERS_ON_RECORD, NO_NATURAL_PERSON_OWNER, OWNERSHIP_SECTION_UNAVAILABLE, COMPANY_NOT_FOUND, AMBIGUOUS_COMPANY_MATCH, MISSING_REGISTRATION_NUMBER, ENTITY_TYPE_NOT_COVERED, PROVIDER_UNAVAILABLE, OTHER].freeze
|
|
2112
|
+
end
|
|
2113
|
+
|
|
1785
2114
|
# `delivered` when the registry published ownership; `not_held` when the ownership registry answered and does not
|
|
1786
2115
|
# list the company at all (see `unavailable_reason`); `unavailable` when it did not serve the ownership data for
|
|
1787
2116
|
# any other reason (see `unavailable_reason`); `pending` while the registry is still fetching it; `not_requested`
|
|
@@ -1838,6 +2167,13 @@ module Didit
|
|
|
1838
2167
|
VALUES = [PENDING, RESOLVED].freeze
|
|
1839
2168
|
end
|
|
1840
2169
|
|
|
2170
|
+
# Always `official`.
|
|
2171
|
+
module KYBRegistrySourceSourceType
|
|
2172
|
+
OFFICIAL = "official"
|
|
2173
|
+
|
|
2174
|
+
VALUES = [OFFICIAL].freeze
|
|
2175
|
+
end
|
|
2176
|
+
|
|
1841
2177
|
# Event category.
|
|
1842
2178
|
module MonitoringEventCreateRequestEventCategory
|
|
1843
2179
|
AUTH = "auth"
|
|
@@ -2192,6 +2528,14 @@ module Didit
|
|
|
2192
2528
|
VALUES = [PENDING, PROCESSING, COMPLETED, FAILED].freeze
|
|
2193
2529
|
end
|
|
2194
2530
|
|
|
2531
|
+
# Whether the signal raised the risk or added trust.
|
|
2532
|
+
module PhoneIntelligenceReasonCodesDirection
|
|
2533
|
+
RISK = "risk"
|
|
2534
|
+
TRUST = "trust"
|
|
2535
|
+
|
|
2536
|
+
VALUES = [RISK, TRUST].freeze
|
|
2537
|
+
end
|
|
2538
|
+
|
|
2195
2539
|
# Decision for this phone number. Mirrors the top-level `status`.
|
|
2196
2540
|
module PhoneRiskResponsePhoneStatus
|
|
2197
2541
|
APPROVED = "Approved"
|
|
@@ -2572,8 +2916,19 @@ module Didit
|
|
|
2572
2916
|
KYB_REGISTRY = "KYB_REGISTRY"
|
|
2573
2917
|
KYB_DOCUMENTS = "KYB_DOCUMENTS"
|
|
2574
2918
|
KYB_KEY_PEOPLE = "KYB_KEY_PEOPLE"
|
|
2919
|
+
GEOLOCATION = "GEOLOCATION"
|
|
2920
|
+
SIGNATURE = "SIGNATURE"
|
|
2575
2921
|
|
|
2576
|
-
VALUES = [ID_VERIFICATION, NFC, LIVENESS, FACEMATCH, PROOF_OF_ADDRESS, PHONE, EMAIL, AML, LOCATION, DATABASE_VALIDATION, QUESTIONNAIRE, DOCUMENT_AI, KYB_REGISTRY, KYB_DOCUMENTS, KYB_KEY_PEOPLE].freeze
|
|
2922
|
+
VALUES = [ID_VERIFICATION, NFC, LIVENESS, FACEMATCH, PROOF_OF_ADDRESS, PHONE, EMAIL, AML, LOCATION, DATABASE_VALIDATION, QUESTIONNAIRE, DOCUMENT_AI, KYB_REGISTRY, KYB_DOCUMENTS, KYB_KEY_PEOPLE, GEOLOCATION, SIGNATURE].freeze
|
|
2923
|
+
end
|
|
2924
|
+
|
|
2925
|
+
# Who set the status. `null` while the session is not decided.
|
|
2926
|
+
module SessionDecisionDecisionTraceDecidedBy
|
|
2927
|
+
MANUAL = "manual"
|
|
2928
|
+
AUTOMATIC = "automatic"
|
|
2929
|
+
INVESTIGATOR = "investigator"
|
|
2930
|
+
|
|
2931
|
+
VALUES = [MANUAL, AUTOMATIC, INVESTIGATOR].freeze
|
|
2577
2932
|
end
|
|
2578
2933
|
|
|
2579
2934
|
# Expected value type of the extracted field.
|
|
@@ -2680,8 +3035,10 @@ module Didit
|
|
|
2680
3035
|
KYB_REGISTRY = "KYB_REGISTRY"
|
|
2681
3036
|
KYB_DOCUMENTS = "KYB_DOCUMENTS"
|
|
2682
3037
|
KYB_KEY_PEOPLE = "KYB_KEY_PEOPLE"
|
|
3038
|
+
GEOLOCATION = "GEOLOCATION"
|
|
3039
|
+
SIGNATURE = "SIGNATURE"
|
|
2683
3040
|
|
|
2684
|
-
VALUES = [ID_VERIFICATION, NFC, LIVENESS, FACEMATCH, PROOF_OF_ADDRESS, PHONE, EMAIL, AML, LOCATION, DATABASE_VALIDATION, QUESTIONNAIRE, DOCUMENT_AI, KYB_REGISTRY, KYB_DOCUMENTS, KYB_KEY_PEOPLE].freeze
|
|
3041
|
+
VALUES = [ID_VERIFICATION, NFC, LIVENESS, FACEMATCH, PROOF_OF_ADDRESS, PHONE, EMAIL, AML, LOCATION, DATABASE_VALIDATION, QUESTIONNAIRE, DOCUMENT_AI, KYB_REGISTRY, KYB_DOCUMENTS, KYB_KEY_PEOPLE, GEOLOCATION, SIGNATURE].freeze
|
|
2685
3042
|
end
|
|
2686
3043
|
|
|
2687
3044
|
# Whether the session was created by a live application (`live`) or a sandbox application (`sandbox`). Sandbox
|
|
@@ -2746,8 +3103,10 @@ module Didit
|
|
|
2746
3103
|
KYB_REGISTRY = "KYB_REGISTRY"
|
|
2747
3104
|
KYB_DOCUMENTS = "KYB_DOCUMENTS"
|
|
2748
3105
|
KYB_KEY_PEOPLE = "KYB_KEY_PEOPLE"
|
|
3106
|
+
GEOLOCATION = "GEOLOCATION"
|
|
3107
|
+
SIGNATURE = "SIGNATURE"
|
|
2749
3108
|
|
|
2750
|
-
VALUES = [ID_VERIFICATION, NFC, LIVENESS, FACEMATCH, PROOF_OF_ADDRESS, PHONE, EMAIL, AML, LOCATION, DATABASE_VALIDATION, QUESTIONNAIRE, DOCUMENT_AI, KYB_REGISTRY, KYB_DOCUMENTS, KYB_KEY_PEOPLE].freeze
|
|
3109
|
+
VALUES = [ID_VERIFICATION, NFC, LIVENESS, FACEMATCH, PROOF_OF_ADDRESS, PHONE, EMAIL, AML, LOCATION, DATABASE_VALIDATION, QUESTIONNAIRE, DOCUMENT_AI, KYB_REGISTRY, KYB_DOCUMENTS, KYB_KEY_PEOPLE, GEOLOCATION, SIGNATURE].freeze
|
|
2751
3110
|
end
|
|
2752
3111
|
|
|
2753
3112
|
# Assurance tier derived from `verification_method`: `documentary` for a document that was captured and checked,
|
|
@@ -2813,6 +3172,14 @@ module Didit
|
|
|
2813
3172
|
VALUES = [SESSION, IMPORTED, LIST_ENTRY, RETAINED_TEMPLATE].freeze
|
|
2814
3173
|
end
|
|
2815
3174
|
|
|
3175
|
+
# The configured action that was taken: `fallback_to_document` or `decline`.
|
|
3176
|
+
module SessionDecisionIdVerificationsFallbackFromAction
|
|
3177
|
+
FALLBACK_TO_DOCUMENT = "fallback_to_document"
|
|
3178
|
+
DECLINE = "decline"
|
|
3179
|
+
|
|
3180
|
+
VALUES = [FALLBACK_TO_DOCUMENT, DECLINE].freeze
|
|
3181
|
+
end
|
|
3182
|
+
|
|
2816
3183
|
# The method that failed.
|
|
2817
3184
|
module SessionDecisionIdVerificationsFallbackFromMethod
|
|
2818
3185
|
ID_LOOKUP = "id_lookup"
|
|
@@ -2919,8 +3286,10 @@ module Didit
|
|
|
2919
3286
|
KYB_REGISTRY = "KYB_REGISTRY"
|
|
2920
3287
|
KYB_DOCUMENTS = "KYB_DOCUMENTS"
|
|
2921
3288
|
KYB_KEY_PEOPLE = "KYB_KEY_PEOPLE"
|
|
3289
|
+
GEOLOCATION = "GEOLOCATION"
|
|
3290
|
+
SIGNATURE = "SIGNATURE"
|
|
2922
3291
|
|
|
2923
|
-
VALUES = [ID_VERIFICATION, NFC, LIVENESS, FACEMATCH, PROOF_OF_ADDRESS, PHONE, EMAIL, AML, LOCATION, DATABASE_VALIDATION, QUESTIONNAIRE, DOCUMENT_AI, KYB_REGISTRY, KYB_DOCUMENTS, KYB_KEY_PEOPLE].freeze
|
|
3292
|
+
VALUES = [ID_VERIFICATION, NFC, LIVENESS, FACEMATCH, PROOF_OF_ADDRESS, PHONE, EMAIL, AML, LOCATION, DATABASE_VALIDATION, QUESTIONNAIRE, DOCUMENT_AI, KYB_REGISTRY, KYB_DOCUMENTS, KYB_KEY_PEOPLE, GEOLOCATION, SIGNATURE].freeze
|
|
2924
3293
|
end
|
|
2925
3294
|
|
|
2926
3295
|
# Evidence class of the match: `deterministic` (exact stored or hardware-rooted identifier that cannot collide
|
|
@@ -2994,8 +3363,10 @@ module Didit
|
|
|
2994
3363
|
KYB_REGISTRY = "KYB_REGISTRY"
|
|
2995
3364
|
KYB_DOCUMENTS = "KYB_DOCUMENTS"
|
|
2996
3365
|
KYB_KEY_PEOPLE = "KYB_KEY_PEOPLE"
|
|
3366
|
+
GEOLOCATION = "GEOLOCATION"
|
|
3367
|
+
SIGNATURE = "SIGNATURE"
|
|
2997
3368
|
|
|
2998
|
-
VALUES = [ID_VERIFICATION, NFC, LIVENESS, FACEMATCH, PROOF_OF_ADDRESS, PHONE, EMAIL, AML, LOCATION, DATABASE_VALIDATION, QUESTIONNAIRE, DOCUMENT_AI, KYB_REGISTRY, KYB_DOCUMENTS, KYB_KEY_PEOPLE].freeze
|
|
3369
|
+
VALUES = [ID_VERIFICATION, NFC, LIVENESS, FACEMATCH, PROOF_OF_ADDRESS, PHONE, EMAIL, AML, LOCATION, DATABASE_VALIDATION, QUESTIONNAIRE, DOCUMENT_AI, KYB_REGISTRY, KYB_DOCUMENTS, KYB_KEY_PEOPLE, GEOLOCATION, SIGNATURE].freeze
|
|
2999
3370
|
end
|
|
3000
3371
|
|
|
3001
3372
|
# Status of the AML screening run for this beneficial owner. `null` when no AML screening was run.
|
|
@@ -3297,8 +3668,10 @@ module Didit
|
|
|
3297
3668
|
KYB_REGISTRY = "KYB_REGISTRY"
|
|
3298
3669
|
KYB_DOCUMENTS = "KYB_DOCUMENTS"
|
|
3299
3670
|
KYB_KEY_PEOPLE = "KYB_KEY_PEOPLE"
|
|
3671
|
+
GEOLOCATION = "GEOLOCATION"
|
|
3672
|
+
SIGNATURE = "SIGNATURE"
|
|
3300
3673
|
|
|
3301
|
-
VALUES = [ID_VERIFICATION, NFC, LIVENESS, FACEMATCH, PROOF_OF_ADDRESS, PHONE, EMAIL, AML, LOCATION, DATABASE_VALIDATION, QUESTIONNAIRE, DOCUMENT_AI, KYB_REGISTRY, KYB_DOCUMENTS, KYB_KEY_PEOPLE].freeze
|
|
3674
|
+
VALUES = [ID_VERIFICATION, NFC, LIVENESS, FACEMATCH, PROOF_OF_ADDRESS, PHONE, EMAIL, AML, LOCATION, DATABASE_VALIDATION, QUESTIONNAIRE, DOCUMENT_AI, KYB_REGISTRY, KYB_DOCUMENTS, KYB_KEY_PEOPLE, GEOLOCATION, SIGNATURE].freeze
|
|
3302
3675
|
end
|
|
3303
3676
|
|
|
3304
3677
|
# Why NFC chip verification did not run, populated whenever the workflow includes an NFC step. `null` while NFC is
|
|
@@ -3439,8 +3812,10 @@ module Didit
|
|
|
3439
3812
|
KYB_REGISTRY = "KYB_REGISTRY"
|
|
3440
3813
|
KYB_DOCUMENTS = "KYB_DOCUMENTS"
|
|
3441
3814
|
KYB_KEY_PEOPLE = "KYB_KEY_PEOPLE"
|
|
3815
|
+
GEOLOCATION = "GEOLOCATION"
|
|
3816
|
+
SIGNATURE = "SIGNATURE"
|
|
3442
3817
|
|
|
3443
|
-
VALUES = [ID_VERIFICATION, NFC, LIVENESS, FACEMATCH, PROOF_OF_ADDRESS, PHONE, EMAIL, AML, LOCATION, DATABASE_VALIDATION, QUESTIONNAIRE, DOCUMENT_AI, KYB_REGISTRY, KYB_DOCUMENTS, KYB_KEY_PEOPLE].freeze
|
|
3818
|
+
VALUES = [ID_VERIFICATION, NFC, LIVENESS, FACEMATCH, PROOF_OF_ADDRESS, PHONE, EMAIL, AML, LOCATION, DATABASE_VALIDATION, QUESTIONNAIRE, DOCUMENT_AI, KYB_REGISTRY, KYB_DOCUMENTS, KYB_KEY_PEOPLE, GEOLOCATION, SIGNATURE].freeze
|
|
3444
3819
|
end
|
|
3445
3820
|
|
|
3446
3821
|
# Where this match came from. `session` means another verification session in your application matched on this
|
|
@@ -3485,8 +3860,10 @@ module Didit
|
|
|
3485
3860
|
KYB_REGISTRY = "KYB_REGISTRY"
|
|
3486
3861
|
KYB_DOCUMENTS = "KYB_DOCUMENTS"
|
|
3487
3862
|
KYB_KEY_PEOPLE = "KYB_KEY_PEOPLE"
|
|
3863
|
+
GEOLOCATION = "GEOLOCATION"
|
|
3864
|
+
SIGNATURE = "SIGNATURE"
|
|
3488
3865
|
|
|
3489
|
-
VALUES = [ID_VERIFICATION, NFC, LIVENESS, FACEMATCH, PROOF_OF_ADDRESS, PHONE, EMAIL, AML, LOCATION, DATABASE_VALIDATION, QUESTIONNAIRE, DOCUMENT_AI, KYB_REGISTRY, KYB_DOCUMENTS, KYB_KEY_PEOPLE].freeze
|
|
3866
|
+
VALUES = [ID_VERIFICATION, NFC, LIVENESS, FACEMATCH, PROOF_OF_ADDRESS, PHONE, EMAIL, AML, LOCATION, DATABASE_VALIDATION, QUESTIONNAIRE, DOCUMENT_AI, KYB_REGISTRY, KYB_DOCUMENTS, KYB_KEY_PEOPLE, GEOLOCATION, SIGNATURE].freeze
|
|
3490
3867
|
end
|
|
3491
3868
|
|
|
3492
3869
|
# Feature-level status of this Proof of Address step. Independent of the top-level session `status` - a session
|
|
@@ -3521,8 +3898,10 @@ module Didit
|
|
|
3521
3898
|
KYB_REGISTRY = "KYB_REGISTRY"
|
|
3522
3899
|
KYB_DOCUMENTS = "KYB_DOCUMENTS"
|
|
3523
3900
|
KYB_KEY_PEOPLE = "KYB_KEY_PEOPLE"
|
|
3901
|
+
GEOLOCATION = "GEOLOCATION"
|
|
3902
|
+
SIGNATURE = "SIGNATURE"
|
|
3524
3903
|
|
|
3525
|
-
VALUES = [ID_VERIFICATION, NFC, LIVENESS, FACEMATCH, PROOF_OF_ADDRESS, PHONE, EMAIL, AML, LOCATION, DATABASE_VALIDATION, QUESTIONNAIRE, DOCUMENT_AI, KYB_REGISTRY, KYB_DOCUMENTS, KYB_KEY_PEOPLE].freeze
|
|
3904
|
+
VALUES = [ID_VERIFICATION, NFC, LIVENESS, FACEMATCH, PROOF_OF_ADDRESS, PHONE, EMAIL, AML, LOCATION, DATABASE_VALIDATION, QUESTIONNAIRE, DOCUMENT_AI, KYB_REGISTRY, KYB_DOCUMENTS, KYB_KEY_PEOPLE, GEOLOCATION, SIGNATURE].freeze
|
|
3526
3905
|
end
|
|
3527
3906
|
|
|
3528
3907
|
# Known values of an open enum: the API may send others.
|
|
@@ -3689,6 +4068,18 @@ module Didit
|
|
|
3689
4068
|
VALUES = [OCR, OCR_BACK, NFC, AML, FACE, LIVENESS, FACE_MATCH, IP_ANALYSIS, AGE_ESTIMATION, PROOF_OF_ADDRESS, PHONE_VERIFICATION, EMAIL_VERIFICATION, FACE_SEARCH, DATABASE_VALIDATION, QUESTIONNAIRE, KYB_REGISTRY, KYB_DOCUMENTS, KYB_KEY_PEOPLE, DOCUMENT_AI, GEOLOCATION].freeze
|
|
3690
4069
|
end
|
|
3691
4070
|
|
|
4071
|
+
# `PENDING` and `PROCESSING` while the ZIP is prepared, `READY` once it can be downloaded, `FAILED` when it could
|
|
4072
|
+
# not be prepared (request a new export), `EXPIRED` once the ZIP was deleted.
|
|
4073
|
+
module SessionFilesExportStatus
|
|
4074
|
+
PENDING = "PENDING"
|
|
4075
|
+
PROCESSING = "PROCESSING"
|
|
4076
|
+
READY = "READY"
|
|
4077
|
+
FAILED = "FAILED"
|
|
4078
|
+
EXPIRED = "EXPIRED"
|
|
4079
|
+
|
|
4080
|
+
VALUES = [PENDING, PROCESSING, READY, FAILED, EXPIRED].freeze
|
|
4081
|
+
end
|
|
4082
|
+
|
|
3692
4083
|
# Known values of an open enum: the API may send others.
|
|
3693
4084
|
module SessionImportJobImportType
|
|
3694
4085
|
USER_VERIFICATION = "user_verification"
|
|
@@ -3855,7 +4246,7 @@ module Didit
|
|
|
3855
4246
|
VALUES = [TYPED, DRAWN].freeze
|
|
3856
4247
|
end
|
|
3857
4248
|
|
|
3858
|
-
#
|
|
4249
|
+
# `null` for a Simple signature, which has no code.
|
|
3859
4250
|
module SignatureResultConfirmationChannel
|
|
3860
4251
|
EMAIL = "email"
|
|
3861
4252
|
SMS = "sms"
|
|
@@ -3905,19 +4296,21 @@ module Didit
|
|
|
3905
4296
|
VALUES = [SIGNED, DECLINED, NOT_SIGNED, NOT_REACHED].freeze
|
|
3906
4297
|
end
|
|
3907
4298
|
|
|
3908
|
-
#
|
|
4299
|
+
# `pdf` for a Simple signature, `pades` for Advanced (AES).
|
|
3909
4300
|
module SignatureResultFormat
|
|
4301
|
+
PDF = "pdf"
|
|
3910
4302
|
PADES = "pades"
|
|
3911
4303
|
|
|
3912
|
-
VALUES = [PADES].freeze
|
|
4304
|
+
VALUES = [PDF, PADES].freeze
|
|
3913
4305
|
end
|
|
3914
4306
|
|
|
3915
|
-
# `aes`. `qes` (Qualified Electronic Signature, QES) is
|
|
4307
|
+
# `simple` (default) or `aes`. `qes` (Qualified Electronic Signature, QES) is an add-on that is not available yet.
|
|
3916
4308
|
module SignatureResultLevel
|
|
4309
|
+
SIMPLE = "simple"
|
|
3917
4310
|
AES = "aes"
|
|
3918
4311
|
QES = "qes"
|
|
3919
4312
|
|
|
3920
|
-
VALUES = [AES, QES].freeze
|
|
4313
|
+
VALUES = [SIMPLE, AES, QES].freeze
|
|
3921
4314
|
end
|
|
3922
4315
|
|
|
3923
4316
|
# Known values of an open enum: the API may send others.
|
|
@@ -5755,6 +6148,7 @@ module Didit
|
|
|
5755
6148
|
TRANSACTION_STATUS_UPDATED = "transaction.status.updated"
|
|
5756
6149
|
TRAVEL_RULE_STATUS_UPDATED = "travel_rule.status.updated"
|
|
5757
6150
|
WORKFLOW_COMPLIANCE_CHANGED = "workflow.compliance_changed"
|
|
6151
|
+
TRANSACTION_RULE_SUGGESTIONS_CREATED = "transaction_rule_suggestions.created"
|
|
5758
6152
|
AUTH_SIGNUP = "auth.signup"
|
|
5759
6153
|
AUTH_LOGIN = "auth.login"
|
|
5760
6154
|
AUTH_LOGIN_FAILED = "auth.login_failed"
|
|
@@ -5776,7 +6170,7 @@ module Didit
|
|
|
5776
6170
|
INVESTIGATOR_QA_FAILED = "investigator.qa.failed"
|
|
5777
6171
|
INVESTIGATOR_EXTERNAL_REPORT_READY = "investigator.external.report.ready"
|
|
5778
6172
|
|
|
5779
|
-
VALUES = [STATUS_UPDATED, DATA_UPDATED, USER_STATUS_UPDATED, USER_DATA_UPDATED, BUSINESS_STATUS_UPDATED, BUSINESS_DATA_UPDATED, ACTIVITY_CREATED, TRANSACTION_CREATED, TRANSACTION_STATUS_UPDATED, TRAVEL_RULE_STATUS_UPDATED, WORKFLOW_COMPLIANCE_CHANGED, AUTH_SIGNUP, AUTH_LOGIN, AUTH_LOGIN_FAILED, AUTH_PASSWORD_RESET_REQUESTED, AUTH_PASSWORD_RESET_COMPLETED, AUTH_MFA_CHANGED, AUTH_NEW_DEVICE, AUTH_ACCOUNT_LOCKED, INVESTIGATOR_REPORT_READY, INVESTIGATOR_DECISION_AUTOMATED, INVESTIGATOR_DECISION_OVERRIDDEN, INVESTIGATOR_DECISION_CONTESTED, INVESTIGATOR_QUESTION_RAISED, INVESTIGATOR_AUTOMATION_PAUSED, INVESTIGATOR_RFI_ANSWERED, INVESTIGATOR_RFI_OVERDUE, INVESTIGATOR_DRIFT_DETECTED, INVESTIGATOR_SLA_BREACHED, INVESTIGATOR_QA_FAILED, INVESTIGATOR_EXTERNAL_REPORT_READY].freeze
|
|
6173
|
+
VALUES = [STATUS_UPDATED, DATA_UPDATED, USER_STATUS_UPDATED, USER_DATA_UPDATED, BUSINESS_STATUS_UPDATED, BUSINESS_DATA_UPDATED, ACTIVITY_CREATED, TRANSACTION_CREATED, TRANSACTION_STATUS_UPDATED, TRAVEL_RULE_STATUS_UPDATED, WORKFLOW_COMPLIANCE_CHANGED, TRANSACTION_RULE_SUGGESTIONS_CREATED, AUTH_SIGNUP, AUTH_LOGIN, AUTH_LOGIN_FAILED, AUTH_PASSWORD_RESET_REQUESTED, AUTH_PASSWORD_RESET_COMPLETED, AUTH_MFA_CHANGED, AUTH_NEW_DEVICE, AUTH_ACCOUNT_LOCKED, INVESTIGATOR_REPORT_READY, INVESTIGATOR_DECISION_AUTOMATED, INVESTIGATOR_DECISION_OVERRIDDEN, INVESTIGATOR_DECISION_CONTESTED, INVESTIGATOR_QUESTION_RAISED, INVESTIGATOR_AUTOMATION_PAUSED, INVESTIGATOR_RFI_ANSWERED, INVESTIGATOR_RFI_OVERDUE, INVESTIGATOR_DRIFT_DETECTED, INVESTIGATOR_SLA_BREACHED, INVESTIGATOR_QA_FAILED, INVESTIGATOR_EXTERNAL_REPORT_READY].freeze
|
|
5780
6174
|
end
|
|
5781
6175
|
|
|
5782
6176
|
# Draft versions are editable; published versions are immutable and used for new sessions.
|
|
@@ -6157,6 +6551,7 @@ module Didit
|
|
|
6157
6551
|
# One completed ongoing-monitoring re-screen of an AML check.
|
|
6158
6552
|
class AMLScreeningRun < Didit::Model
|
|
6159
6553
|
field :uuid, "uuid", :string
|
|
6554
|
+
field :run_id, "run_id", :string
|
|
6160
6555
|
field :completed_at, "completed_at", :datetime
|
|
6161
6556
|
field :started_at, "started_at", :datetime
|
|
6162
6557
|
field :outcome, "outcome", :string
|
|
@@ -6165,6 +6560,8 @@ module Didit
|
|
|
6165
6560
|
field :status, "status", :string
|
|
6166
6561
|
field :score, "score", :float
|
|
6167
6562
|
field :total_hits, "total_hits", :integer
|
|
6563
|
+
field :new_hits, "new_hits", :integer
|
|
6564
|
+
field :entities_screened, "entities_screened", :integer
|
|
6168
6565
|
field :dataset_freshness, "dataset_freshness", "AMLDatasetFreshness"
|
|
6169
6566
|
end
|
|
6170
6567
|
|
|
@@ -6352,6 +6749,27 @@ module Didit
|
|
|
6352
6749
|
field :abandoned, "abandoned", :integer
|
|
6353
6750
|
end
|
|
6354
6751
|
|
|
6752
|
+
# Today's verifications by local hour against the same weekday last week.
|
|
6753
|
+
class ApplicationAnalyticsToday < Didit::Model
|
|
6754
|
+
field :time_zone, "time_zone", :string
|
|
6755
|
+
field :date, "date", :date
|
|
6756
|
+
field :current_hour, "current_hour", :integer
|
|
6757
|
+
field :previous_date, "previous_date", :date
|
|
6758
|
+
field :hours, "hours", [:array, :integer]
|
|
6759
|
+
field :previous_hours, "previous_hours", [:array, :integer]
|
|
6760
|
+
field :total, "total", :integer
|
|
6761
|
+
field :previous_total_so_far, "previous_total_so_far", :integer
|
|
6762
|
+
field :outcomes, "outcomes", "ApplicationAnalyticsTodayOutcomes"
|
|
6763
|
+
end
|
|
6764
|
+
|
|
6765
|
+
# Of today's verifications, how many are approved, waiting in review and declined now. The rest are not finished
|
|
6766
|
+
# yet.
|
|
6767
|
+
class ApplicationAnalyticsTodayOutcomes < Didit::Model
|
|
6768
|
+
field :approved, "approved", :integer
|
|
6769
|
+
field :in_review, "in_review", :integer
|
|
6770
|
+
field :declined, "declined", :integer
|
|
6771
|
+
end
|
|
6772
|
+
|
|
6355
6773
|
class ApplicationAnalyticsVerificationTimePoint < Didit::Model
|
|
6356
6774
|
field :date, "date", :string
|
|
6357
6775
|
field :overall_avg, "overall_avg", :float
|
|
@@ -6617,6 +7035,12 @@ module Didit
|
|
|
6617
7035
|
field :requested_scopes, "requested_scopes", [:array, :string]
|
|
6618
7036
|
end
|
|
6619
7037
|
|
|
7038
|
+
# When the live biometric data of this session is deleted.
|
|
7039
|
+
class BiometricRetention < Didit::Model
|
|
7040
|
+
field :jurisdictions, "jurisdictions", [:array, :string]
|
|
7041
|
+
field :deletes_at, "deletes_at", :datetime
|
|
7042
|
+
end
|
|
7043
|
+
|
|
6620
7044
|
# One blocklisted face, identity document, phone number or email address of a verification session. Fields that do
|
|
6621
7045
|
# not apply to the item's `type` are `null`.
|
|
6622
7046
|
class BlocklistedItem < Didit::Model
|
|
@@ -7357,6 +7781,11 @@ module Didit
|
|
|
7357
7781
|
field :wallets, "wallets", [:array, "DigitalIdWalletApiWalletCatalogEntry"]
|
|
7358
7782
|
end
|
|
7359
7783
|
|
|
7784
|
+
class DigitalIdWalletApiWalletDigitalCredentialsRequest < Didit::Model
|
|
7785
|
+
field :protocol, "protocol", :string
|
|
7786
|
+
field :request, "request", :any
|
|
7787
|
+
end
|
|
7788
|
+
|
|
7360
7789
|
class DigitalIdWalletApiWalletIdentity < Didit::Model
|
|
7361
7790
|
field :full_name, "full_name", :string
|
|
7362
7791
|
field :first_name, "first_name", :string
|
|
@@ -7369,6 +7798,7 @@ module Didit
|
|
|
7369
7798
|
class DigitalIdWalletApiWalletNextAction < Didit::Model
|
|
7370
7799
|
field :type, "type", :string
|
|
7371
7800
|
field :url, "url", :string
|
|
7801
|
+
field :digital_credentials, "digital_credentials", "DigitalIdWalletApiWalletDigitalCredentialsRequest"
|
|
7372
7802
|
field :verification_code, "verification_code", :string
|
|
7373
7803
|
field :poll_interval_seconds, "poll_interval_seconds", :integer
|
|
7374
7804
|
end
|
|
@@ -7427,7 +7857,15 @@ module Didit
|
|
|
7427
7857
|
field :is_free_domain, "is_free_domain", :boolean
|
|
7428
7858
|
field :is_breached, "is_breached", :boolean
|
|
7429
7859
|
field :no_of_breaches, "no_of_breaches", :float
|
|
7430
|
-
field :reason_codes, "reason_codes", [:array,
|
|
7860
|
+
field :reason_codes, "reason_codes", [:array, "EmailIntelligenceReasonCodes"]
|
|
7861
|
+
end
|
|
7862
|
+
|
|
7863
|
+
class EmailIntelligenceReasonCodes < Didit::Model
|
|
7864
|
+
field :code, "code", :string
|
|
7865
|
+
field :value, "value", :any
|
|
7866
|
+
field :direction, "direction", :string
|
|
7867
|
+
field :message, "message", :string
|
|
7868
|
+
field :impact_level, "impact_level", :string
|
|
7431
7869
|
end
|
|
7432
7870
|
|
|
7433
7871
|
# Another session of your application that used the same email address with a different `vendor_data`.
|
|
@@ -7530,6 +7968,7 @@ module Didit
|
|
|
7530
7968
|
field :lifecycle, "lifecycle", [:array, "EmailVerificationCheckResponseEmailLifecycle"]
|
|
7531
7969
|
field :matches, "matches", [:array, "EmailVerificationCheckResponseEmailMatches"]
|
|
7532
7970
|
field :email_social, "email_social", "EmailSocialFootprint"
|
|
7971
|
+
field :email_intelligence, "email_intelligence", "EmailIntelligence"
|
|
7533
7972
|
end
|
|
7534
7973
|
|
|
7535
7974
|
class EmailVerificationCheckResponseEmailBreaches < Didit::Model
|
|
@@ -7700,6 +8139,141 @@ module Didit
|
|
|
7700
8139
|
field :evidence_indexes, "evidence_indexes", [:array, :integer]
|
|
7701
8140
|
end
|
|
7702
8141
|
|
|
8142
|
+
# One attempt of a Location verification step: the same keys as `geolocation_checks[]` except `warnings`, plus
|
|
8143
|
+
# when Didit received it.
|
|
8144
|
+
class GeolocationAttempt < Didit::Model
|
|
8145
|
+
field :node_id, "node_id", :string
|
|
8146
|
+
field :status, "status", :string
|
|
8147
|
+
field :outcome, "outcome", :string
|
|
8148
|
+
field :permission, "permission", :string
|
|
8149
|
+
field :latitude, "latitude", :float
|
|
8150
|
+
field :longitude, "longitude", :float
|
|
8151
|
+
field :accuracy_m, "accuracy_m", :float
|
|
8152
|
+
field :accuracy_confidence, "accuracy_confidence", :string
|
|
8153
|
+
field :measured_at, "measured_at", :datetime
|
|
8154
|
+
field :age_seconds, "age_seconds", :integer
|
|
8155
|
+
field :source, "source", :string
|
|
8156
|
+
field :platform, "platform", :string
|
|
8157
|
+
field :sdk_version, "sdk_version", :string
|
|
8158
|
+
field :is_mock, "is_mock", :boolean
|
|
8159
|
+
field :produced_by_accessory, "produced_by_accessory", :boolean
|
|
8160
|
+
field :integrity, "integrity", :string
|
|
8161
|
+
field :country_code, "country_code", :string
|
|
8162
|
+
field :region_code, "region_code", :string
|
|
8163
|
+
field :city, "city", :string
|
|
8164
|
+
field :geofence, "geofence", "GeolocationAttemptGeofence"
|
|
8165
|
+
field :inside_geofence, "inside_geofence", :boolean
|
|
8166
|
+
field :geofence_basis, "geofence_basis", :string
|
|
8167
|
+
field :inside_areas, "inside_areas", [:array, :string]
|
|
8168
|
+
field :blocked_areas, "blocked_areas", [:array, :string]
|
|
8169
|
+
field :position_source, "position_source", :string
|
|
8170
|
+
field :anonymizers, "anonymizers", "GeolocationAttemptAnonymizers"
|
|
8171
|
+
field :ip_distance_km, "ip_distance_km", :float
|
|
8172
|
+
field :ip_distance_uncertainty_km, "ip_distance_uncertainty_km", :float
|
|
8173
|
+
field :ip_consistent, "ip_consistent", :boolean
|
|
8174
|
+
field :document_distance_km, "document_distance_km", :float
|
|
8175
|
+
field :travel_excused, "travel_excused", :boolean
|
|
8176
|
+
field :consecutive_mismatches, "consecutive_mismatches", :integer
|
|
8177
|
+
field :attempts, "attempts", :integer
|
|
8178
|
+
field :consent, "consent", "GeolocationAttemptConsent"
|
|
8179
|
+
field :received_at, "received_at", :datetime
|
|
8180
|
+
field :created_at, "created_at", :datetime
|
|
8181
|
+
end
|
|
8182
|
+
|
|
8183
|
+
# What the connection and device look like, each `true`, `false` or `null` when the source cannot tell.
|
|
8184
|
+
class GeolocationAttemptAnonymizers < Didit::Model
|
|
8185
|
+
field :vpn, "vpn", :boolean
|
|
8186
|
+
field :proxy, "proxy", :boolean
|
|
8187
|
+
field :tor, "tor", :boolean
|
|
8188
|
+
field :spoofing, "spoofing", :boolean
|
|
8189
|
+
field :emulator, "emulator", :boolean
|
|
8190
|
+
end
|
|
8191
|
+
|
|
8192
|
+
# The consent the person gave before the system prompt, recorded with the wording version and language they saw.
|
|
8193
|
+
class GeolocationAttemptConsent < Didit::Model
|
|
8194
|
+
field :accepted_at, "accepted_at", :datetime
|
|
8195
|
+
field :version, "version", :string
|
|
8196
|
+
field :locale, "locale", :string
|
|
8197
|
+
end
|
|
8198
|
+
|
|
8199
|
+
# Result of the country and area rules of the step.
|
|
8200
|
+
class GeolocationAttemptGeofence < Didit::Model
|
|
8201
|
+
field :enabled, "enabled", :boolean
|
|
8202
|
+
field :result, "result", :string
|
|
8203
|
+
end
|
|
8204
|
+
|
|
8205
|
+
# One Location verification result, the accepted attempt of one workflow node. Measurement, uncertainty and
|
|
8206
|
+
# authenticity are separate keys, so a precise unattested fix reads differently from an imprecise attested one.
|
|
8207
|
+
class GeolocationCheck < Didit::Model
|
|
8208
|
+
field :node_id, "node_id", :string
|
|
8209
|
+
field :status, "status", :string
|
|
8210
|
+
field :outcome, "outcome", :string
|
|
8211
|
+
field :permission, "permission", :string
|
|
8212
|
+
field :latitude, "latitude", :float
|
|
8213
|
+
field :longitude, "longitude", :float
|
|
8214
|
+
field :accuracy_m, "accuracy_m", :float
|
|
8215
|
+
field :accuracy_confidence, "accuracy_confidence", :string
|
|
8216
|
+
field :measured_at, "measured_at", :datetime
|
|
8217
|
+
field :age_seconds, "age_seconds", :integer
|
|
8218
|
+
field :source, "source", :string
|
|
8219
|
+
field :platform, "platform", :string
|
|
8220
|
+
field :sdk_version, "sdk_version", :string
|
|
8221
|
+
field :is_mock, "is_mock", :boolean
|
|
8222
|
+
field :produced_by_accessory, "produced_by_accessory", :boolean
|
|
8223
|
+
field :integrity, "integrity", :string
|
|
8224
|
+
field :country_code, "country_code", :string
|
|
8225
|
+
field :region_code, "region_code", :string
|
|
8226
|
+
field :city, "city", :string
|
|
8227
|
+
field :geofence, "geofence", "GeolocationCheckGeofence"
|
|
8228
|
+
field :inside_geofence, "inside_geofence", :boolean
|
|
8229
|
+
field :geofence_basis, "geofence_basis", :string
|
|
8230
|
+
field :inside_areas, "inside_areas", [:array, :string]
|
|
8231
|
+
field :blocked_areas, "blocked_areas", [:array, :string]
|
|
8232
|
+
field :position_source, "position_source", :string
|
|
8233
|
+
field :anonymizers, "anonymizers", "GeolocationCheckAnonymizers"
|
|
8234
|
+
field :ip_distance_km, "ip_distance_km", :float
|
|
8235
|
+
field :ip_distance_uncertainty_km, "ip_distance_uncertainty_km", :float
|
|
8236
|
+
field :ip_consistent, "ip_consistent", :boolean
|
|
8237
|
+
field :document_distance_km, "document_distance_km", :float
|
|
8238
|
+
field :travel_excused, "travel_excused", :boolean
|
|
8239
|
+
field :consecutive_mismatches, "consecutive_mismatches", :integer
|
|
8240
|
+
field :attempts, "attempts", :integer
|
|
8241
|
+
field :consent, "consent", "GeolocationCheckConsent"
|
|
8242
|
+
field :warnings, "warnings", [:array, "GeolocationCheckWarnings"]
|
|
8243
|
+
end
|
|
8244
|
+
|
|
8245
|
+
# What the connection and device look like, each `true`, `false` or `null` when the source cannot tell.
|
|
8246
|
+
class GeolocationCheckAnonymizers < Didit::Model
|
|
8247
|
+
field :vpn, "vpn", :boolean
|
|
8248
|
+
field :proxy, "proxy", :boolean
|
|
8249
|
+
field :tor, "tor", :boolean
|
|
8250
|
+
field :spoofing, "spoofing", :boolean
|
|
8251
|
+
field :emulator, "emulator", :boolean
|
|
8252
|
+
end
|
|
8253
|
+
|
|
8254
|
+
# The consent the person gave before the system prompt, recorded with the wording version and language they saw.
|
|
8255
|
+
class GeolocationCheckConsent < Didit::Model
|
|
8256
|
+
field :accepted_at, "accepted_at", :datetime
|
|
8257
|
+
field :version, "version", :string
|
|
8258
|
+
field :locale, "locale", :string
|
|
8259
|
+
end
|
|
8260
|
+
|
|
8261
|
+
# Result of the country and area rules of the step.
|
|
8262
|
+
class GeolocationCheckGeofence < Didit::Model
|
|
8263
|
+
field :enabled, "enabled", :boolean
|
|
8264
|
+
field :result, "result", :string
|
|
8265
|
+
end
|
|
8266
|
+
|
|
8267
|
+
class GeolocationCheckWarnings < Didit::Model
|
|
8268
|
+
field :feature, "feature", :string
|
|
8269
|
+
field :risk, "risk", :string
|
|
8270
|
+
field :additional_data, "additional_data", :any
|
|
8271
|
+
field :log_type, "log_type", :string
|
|
8272
|
+
field :short_description, "short_description", :string
|
|
8273
|
+
field :long_description, "long_description", :string
|
|
8274
|
+
field :node_id, "node_id", :string
|
|
8275
|
+
end
|
|
8276
|
+
|
|
7703
8277
|
class IPRiskResponse < Didit::Model
|
|
7704
8278
|
field :request_id, "request_id", :string
|
|
7705
8279
|
field :status, "status", :string
|
|
@@ -7967,6 +8541,37 @@ module Didit
|
|
|
7967
8541
|
field :status, "status", :string
|
|
7968
8542
|
end
|
|
7969
8543
|
|
|
8544
|
+
# The cap table the registry proved, as it stood when the ownership tier was delivered: direct `shareholders` and
|
|
8545
|
+
# `beneficial_owners`. Null when the registry proved no ownership. It never carries the registry source's own
|
|
8546
|
+
# rows; read `company.beneficial_owners` and `company.ownership` for the current record.
|
|
8547
|
+
class KYBOwnershipStructure < Didit::Model
|
|
8548
|
+
field :shareholders, "shareholders", [:array, "KYBOwnershipStructureOwner"]
|
|
8549
|
+
field :beneficial_owners, "beneficial_owners", [:array, "KYBOwnershipStructureOwner"]
|
|
8550
|
+
end
|
|
8551
|
+
|
|
8552
|
+
# One owner of the ownership snapshot: the same registry identity and stake as `company.beneficial_owners[]`, and
|
|
8553
|
+
# its canonical `shareholding`.
|
|
8554
|
+
class KYBOwnershipStructureOwner < Didit::Model
|
|
8555
|
+
field :name, "name", :string
|
|
8556
|
+
field :first_name, "first_name", :string
|
|
8557
|
+
field :last_name, "last_name", :string
|
|
8558
|
+
field :date_of_birth, "date_of_birth", :string
|
|
8559
|
+
field :country_of_birth, "country_of_birth", :string
|
|
8560
|
+
field :company_name, "company_name", :string
|
|
8561
|
+
field :registration_number, "registration_number", :string
|
|
8562
|
+
field :entity_type, "entity_type", :string
|
|
8563
|
+
field :nationality, "nationality", :string
|
|
8564
|
+
field :designation, "designation", :string
|
|
8565
|
+
field :roles, "roles", [:array, :string]
|
|
8566
|
+
field :ownership_min_shares, "ownership_min_shares", :string
|
|
8567
|
+
field :ownership_max_shares, "ownership_max_shares", :string
|
|
8568
|
+
field :voting_min_shares, "voting_min_shares", :string
|
|
8569
|
+
field :voting_max_shares, "voting_max_shares", :string
|
|
8570
|
+
field :appointment_date, "appointment_date", :string
|
|
8571
|
+
field :is_active, "is_active", :boolean
|
|
8572
|
+
field :shareholding, "shareholding", "KYBRegistryShareholding"
|
|
8573
|
+
end
|
|
8574
|
+
|
|
7970
8575
|
# An address the registry states, in the same shape for every country and registry source. Every key is always
|
|
7971
8576
|
# present; a part the registry does not publish is null.
|
|
7972
8577
|
class KYBRegistryAddress < Didit::Model
|
|
@@ -7980,6 +8585,55 @@ module Didit
|
|
|
7980
8585
|
field :description, "description", :string
|
|
7981
8586
|
end
|
|
7982
8587
|
|
|
8588
|
+
# Didit's normalized registry detail for the company: the ownership outcome (`ownership_error`, `section_errors`,
|
|
8589
|
+
# `ubo_resolution`, `lite_enrichment`), the corrections made with update-data, and registry facts that have no
|
|
8590
|
+
# field of their own. It never carries the registry source's own record. Every key is optional and present only
|
|
8591
|
+
# when the company has a value for it; new keys may be added. Read the canonical fields (`addresses`,
|
|
8592
|
+
# `industries`, `ownership`, `beneficial_owners[].shareholding`) for anything they cover.
|
|
8593
|
+
class KYBRegistryData < Didit::Model
|
|
8594
|
+
field :company_name, "company_name", :string
|
|
8595
|
+
field :registration_number, "registration_number", :string
|
|
8596
|
+
field :country_code, "country_code", :string
|
|
8597
|
+
field :region, "region", :string
|
|
8598
|
+
field :incorporation_date, "incorporation_date", :string
|
|
8599
|
+
field :registration_date, "registration_date", :string
|
|
8600
|
+
field :dissolution_date, "dissolution_date", :string
|
|
8601
|
+
field :tax_number, "tax_number", :string
|
|
8602
|
+
field :vat_number, "vat_number", :string
|
|
8603
|
+
field :legal_address, "legal_address", :string
|
|
8604
|
+
field :registered_address, "registered_address", :string
|
|
8605
|
+
field :company_type, "company_type", :string
|
|
8606
|
+
field :registry_status, "registry_status", :string
|
|
8607
|
+
field :verification_status, "verification_status", :string
|
|
8608
|
+
field :alternative_names, "alternative_names", :string
|
|
8609
|
+
field :nature_of_business, "nature_of_business", :string
|
|
8610
|
+
field :registered_capital, "registered_capital", :string
|
|
8611
|
+
field :registered_capital_amount, "registered_capital_amount", :string
|
|
8612
|
+
field :registered_capital_currency, "registered_capital_currency", :string
|
|
8613
|
+
field :website, "website", :string
|
|
8614
|
+
field :email, "email", :string
|
|
8615
|
+
field :phone, "phone", :string
|
|
8616
|
+
field :legal_entity_identifier, "legal_entity_identifier", :string
|
|
8617
|
+
field :location_of_registration, "location_of_registration", :string
|
|
8618
|
+
field :control_scheme, "control_scheme", :string
|
|
8619
|
+
field :ownership_error, "ownership_error", :string
|
|
8620
|
+
field :section_errors, "section_errors", [:map, "KYBRegistrySectionError"]
|
|
8621
|
+
field :ubo_resolution, "ubo_resolution", "KYBRegistryUboResolution"
|
|
8622
|
+
field :lite_enrichment, "lite_enrichment", "KYBRegistryLiteEnrichment"
|
|
8623
|
+
field :registry_metadata, "registry_metadata", [:map, [:union, [:string, :float, :boolean]]]
|
|
8624
|
+
field :registry_sources, "registry_sources", [:array, "KYBRegistrySource"]
|
|
8625
|
+
field :previous_names, "previous_names", [:array, :string]
|
|
8626
|
+
field :parent_companies, "parent_companies", [:array, :string]
|
|
8627
|
+
field :documents_available, "documents_available", :integer
|
|
8628
|
+
end
|
|
8629
|
+
|
|
8630
|
+
# A company of the corporate group, by its registry identity.
|
|
8631
|
+
class KYBRegistryGroupCompany < Didit::Model
|
|
8632
|
+
field :name, "name", :string
|
|
8633
|
+
field :country_code, "country_code", :string
|
|
8634
|
+
field :registration_number, "registration_number", :string
|
|
8635
|
+
end
|
|
8636
|
+
|
|
7983
8637
|
# An activity the registry classifies the company under, in the same shape for every country and registry source.
|
|
7984
8638
|
class KYBRegistryIndustry < Didit::Model
|
|
7985
8639
|
field :code, "code", :string
|
|
@@ -7988,6 +8642,12 @@ module Didit
|
|
|
7988
8642
|
field :is_primary, "is_primary", :boolean
|
|
7989
8643
|
end
|
|
7990
8644
|
|
|
8645
|
+
# Blank Lite profile fields another of the country's registry sources filled. The source is not named.
|
|
8646
|
+
class KYBRegistryLiteEnrichment < Didit::Model
|
|
8647
|
+
field :fields, "fields", [:array, :string]
|
|
8648
|
+
field :people_added, "people_added", :integer
|
|
8649
|
+
end
|
|
8650
|
+
|
|
7991
8651
|
# The outcome of the ownership (Shareholders / UBO) tier, in the same shape for every country and registry source.
|
|
7992
8652
|
class KYBRegistryOwnership < Didit::Model
|
|
7993
8653
|
field :status, "status", :string
|
|
@@ -8027,6 +8687,11 @@ module Didit
|
|
|
8027
8687
|
field :per_page, "per_page", :integer
|
|
8028
8688
|
end
|
|
8029
8689
|
|
|
8690
|
+
# A section the registry did not return.
|
|
8691
|
+
class KYBRegistrySectionError < Didit::Model
|
|
8692
|
+
field :status_code, "status_code", :integer
|
|
8693
|
+
end
|
|
8694
|
+
|
|
8030
8695
|
# What an owner holds, in the same shape for every country and registry source. Null when the registry states no
|
|
8031
8696
|
# holding. A band (for example a UK PSC's 25-50%) is not a stake: `percentage` is null and the band stays in
|
|
8032
8697
|
# `ownership_min_shares` / `ownership_max_shares`.
|
|
@@ -8039,6 +8704,25 @@ module Didit
|
|
|
8039
8704
|
field :percentage, "percentage", :float
|
|
8040
8705
|
end
|
|
8041
8706
|
|
|
8707
|
+
# An official register the record was read from. Only official government registers, regulators and the official
|
|
8708
|
+
# identifier system are named; any other source is left out.
|
|
8709
|
+
class KYBRegistrySource < Didit::Model
|
|
8710
|
+
field :name, "name", :string
|
|
8711
|
+
field :source_type, "source_type", :string
|
|
8712
|
+
end
|
|
8713
|
+
|
|
8714
|
+
# How the UBO tier walked the ownership chain above the company.
|
|
8715
|
+
class KYBRegistryUboResolution < Didit::Model
|
|
8716
|
+
field :parent_chain, "parent_chain", [:array, "KYBRegistryGroupCompany"]
|
|
8717
|
+
field :subsidiaries, "subsidiaries", [:array, "KYBRegistryGroupCompany"]
|
|
8718
|
+
field :unresolved, "unresolved", [:array, "KYBRegistryUboResolutionUnresolved"]
|
|
8719
|
+
end
|
|
8720
|
+
|
|
8721
|
+
class KYBRegistryUboResolutionUnresolved < Didit::Model
|
|
8722
|
+
field :reason, "reason", :string
|
|
8723
|
+
field :section, "section", :string
|
|
8724
|
+
end
|
|
8725
|
+
|
|
8042
8726
|
# One stored monitoring event as returned by the list and subject-timeline endpoints. Restricted evidence
|
|
8043
8727
|
# (payload, device context, rule evidence) is only returned by `GET /v3/events/{event_uuid}/`.
|
|
8044
8728
|
class MonitoringEvent < Didit::Model
|
|
@@ -8564,7 +9248,15 @@ module Didit
|
|
|
8564
9248
|
field :is_ported, "is_ported", :boolean
|
|
8565
9249
|
field :is_recently_ported, "is_recently_ported", :boolean
|
|
8566
9250
|
field :carrier_type, "carrier_type", :string
|
|
8567
|
-
field :reason_codes, "reason_codes", [:array,
|
|
9251
|
+
field :reason_codes, "reason_codes", [:array, "PhoneIntelligenceReasonCodes"]
|
|
9252
|
+
end
|
|
9253
|
+
|
|
9254
|
+
class PhoneIntelligenceReasonCodes < Didit::Model
|
|
9255
|
+
field :code, "code", :string
|
|
9256
|
+
field :value, "value", :any
|
|
9257
|
+
field :direction, "direction", :string
|
|
9258
|
+
field :message, "message", :string
|
|
9259
|
+
field :impact_level, "impact_level", :string
|
|
8568
9260
|
end
|
|
8569
9261
|
|
|
8570
9262
|
# Another session of your application that used the same phone number with a different `vendor_data`.
|
|
@@ -8670,6 +9362,7 @@ module Didit
|
|
|
8670
9362
|
field :lifecycle, "lifecycle", [:array, "PhoneVerificationCheckResponsePhoneLifecycle"]
|
|
8671
9363
|
field :matches, "matches", [:array, "PhoneVerificationCheckResponsePhoneMatches"]
|
|
8672
9364
|
field :phone_social, "phone_social", "PhoneSocialFootprint"
|
|
9365
|
+
field :phone_intelligence, "phone_intelligence", "PhoneIntelligence"
|
|
8673
9366
|
end
|
|
8674
9367
|
|
|
8675
9368
|
# Current network serving the number, from the carrier lookup run at finalization.
|
|
@@ -8919,9 +9612,13 @@ module Didit
|
|
|
8919
9612
|
field :session_id, "session_id", :string
|
|
8920
9613
|
field :session_kind, "session_kind", :string
|
|
8921
9614
|
field :shared_from_session, "shared_from_session", :string
|
|
9615
|
+
field :shared_from_session_number, "shared_from_session_number", :integer
|
|
8922
9616
|
field :session_number, "session_number", :integer
|
|
8923
9617
|
field :session_url, "session_url", :string
|
|
8924
9618
|
field :status, "status", :string
|
|
9619
|
+
field :status_override, "status_override", "SessionDecisionStatusOverride"
|
|
9620
|
+
field :decision_trace, "decision_trace", "SessionDecisionDecisionTrace"
|
|
9621
|
+
field :linked_records, "linked_records", "SessionDecisionLinkedRecords"
|
|
8925
9622
|
field :workflow_id, "workflow_id", :string
|
|
8926
9623
|
field :features, "features", [:array, :string]
|
|
8927
9624
|
field :vendor_data, "vendor_data", :string
|
|
@@ -8943,17 +9640,34 @@ module Didit
|
|
|
8943
9640
|
field :signatures, "signatures", [:array, "SignatureResult"]
|
|
8944
9641
|
field :aml_screenings, "aml_screenings", [:array, "AMLScreening"]
|
|
8945
9642
|
field :ip_analyses, "ip_analyses", [:array, "SessionDecisionIpAnalyses"]
|
|
9643
|
+
field :geolocation_checks, "geolocation_checks", [:array, "GeolocationCheck"]
|
|
9644
|
+
field :geolocation_attempts, "geolocation_attempts", [:array, "GeolocationAttempt"]
|
|
8946
9645
|
field :database_validations, "database_validations", [:array, "SessionDecisionDatabaseValidations"]
|
|
9646
|
+
field :database_validation_not_performed_reason, "database_validation_not_performed_reason", "SessionDecisionDatabaseValidationNotPerformedReason"
|
|
8947
9647
|
field :reviews, "reviews", [:array, "SessionDecisionReviews"]
|
|
9648
|
+
field :assignee, "assignee", "SessionDecisionAssignee"
|
|
9649
|
+
field :waiting_since, "waiting_since", :datetime
|
|
9650
|
+
field :sla_due_at, "sla_due_at", :datetime
|
|
8948
9651
|
field :created_at, "created_at", :datetime
|
|
8949
9652
|
field :expires_at, "expires_at", :datetime
|
|
8950
9653
|
field :registry_checks, "registry_checks", [:array, "SessionDecisionRegistryChecks"]
|
|
8951
9654
|
field :key_people_checks, "key_people_checks", [:array, "SessionDecisionKeyPeopleChecks"]
|
|
8952
9655
|
field :document_verifications, "document_verifications", [:array, "SessionDecisionDocumentVerifications"]
|
|
8953
9656
|
field :environment, "environment", :string
|
|
9657
|
+
field :sandbox_scenario, "sandbox_scenario", :string
|
|
8954
9658
|
field :resubmissions, "resubmissions", [:array, "SessionDecisionResubmissions"]
|
|
8955
9659
|
field :biometric_consent, "biometric_consent", "SessionDecisionBiometricConsent"
|
|
8956
9660
|
field :investigator, "investigator", "InvestigatorBlock"
|
|
9661
|
+
field :biometric_retention, "biometric_retention", "BiometricRetention"
|
|
9662
|
+
field :fraud_check, "fraud_check", :any
|
|
9663
|
+
field :full_session_video, "full_session_video", :string
|
|
9664
|
+
field :full_session_video_recorded_at, "full_session_video_recorded_at", :datetime
|
|
9665
|
+
end
|
|
9666
|
+
|
|
9667
|
+
# The Console reviewer the session is assigned to, or `null` when nobody holds it.
|
|
9668
|
+
class SessionDecisionAssignee < Didit::Model
|
|
9669
|
+
field :email, "email", :string
|
|
9670
|
+
field :assigned_at, "assigned_at", :datetime
|
|
8957
9671
|
end
|
|
8958
9672
|
|
|
8959
9673
|
# Whether the session required explicit biometric consent before a face capture, why, and the evidence of the
|
|
@@ -9001,6 +9715,14 @@ module Didit
|
|
|
9001
9715
|
field :phone, "phone", :string
|
|
9002
9716
|
end
|
|
9003
9717
|
|
|
9718
|
+
# Why a configured database validation produced no result, as `{code, message}` plus context fields. Present only
|
|
9719
|
+
# when `database_validations` is `null` for a workflow that has the step, so you can tell "the registry agreed"
|
|
9720
|
+
# from "nothing ran". `null` otherwise.
|
|
9721
|
+
class SessionDecisionDatabaseValidationNotPerformedReason < Didit::Model
|
|
9722
|
+
field :code, "code", :string
|
|
9723
|
+
field :message, "message", :string
|
|
9724
|
+
end
|
|
9725
|
+
|
|
9004
9726
|
class SessionDecisionDatabaseValidations < Didit::Model
|
|
9005
9727
|
field :node_id, "node_id", :string
|
|
9006
9728
|
field :issuing_state, "issuing_state", :string
|
|
@@ -9058,6 +9780,34 @@ module Didit
|
|
|
9058
9780
|
field :node_id, "node_id", :string
|
|
9059
9781
|
end
|
|
9060
9782
|
|
|
9783
|
+
# How the status was reached: who set it and which warnings did.
|
|
9784
|
+
class SessionDecisionDecisionTrace < Didit::Model
|
|
9785
|
+
field :status, "status", :string
|
|
9786
|
+
field :decided_by, "decided_by", :string
|
|
9787
|
+
field :decided_at, "decided_at", :datetime
|
|
9788
|
+
field :automatic_status, "automatic_status", :string
|
|
9789
|
+
field :terminal_node_id, "terminal_node_id", :string
|
|
9790
|
+
field :actor, "actor", "SessionDecisionDecisionTraceActor"
|
|
9791
|
+
field :warning_counts, "warning_counts", [:map, :integer]
|
|
9792
|
+
field :status_warnings, "status_warnings", [:array, "SessionDecisionDecisionTraceStatusWarnings"]
|
|
9793
|
+
end
|
|
9794
|
+
|
|
9795
|
+
# The reviewer behind a manual decision.
|
|
9796
|
+
class SessionDecisionDecisionTraceActor < Didit::Model
|
|
9797
|
+
field :user, "user", :string
|
|
9798
|
+
field :actor_type, "actor_type", :string
|
|
9799
|
+
end
|
|
9800
|
+
|
|
9801
|
+
class SessionDecisionDecisionTraceStatusWarnings < Didit::Model
|
|
9802
|
+
field :risk, "risk", :string
|
|
9803
|
+
field :feature, "feature", :string
|
|
9804
|
+
field :node_id, "node_id", :string
|
|
9805
|
+
field :log_type, "log_type", :string
|
|
9806
|
+
field :check_status, "check_status", :string
|
|
9807
|
+
field :source, "source", :string
|
|
9808
|
+
field :short_description, "short_description", :string
|
|
9809
|
+
end
|
|
9810
|
+
|
|
9061
9811
|
# Document AI results grouped by workflow node.
|
|
9062
9812
|
class SessionDecisionDocumentAiDocuments < Didit::Model
|
|
9063
9813
|
field :status, "status", :string
|
|
@@ -9183,6 +9933,8 @@ module Didit
|
|
|
9183
9933
|
field :warnings, "warnings", [:array, "SessionDecisionEmailVerificationsWarnings"]
|
|
9184
9934
|
field :lifecycle, "lifecycle", [:array, "SessionDecisionEmailVerificationsLifecycle"]
|
|
9185
9935
|
field :matches, "matches", [:array, "SessionDecisionEmailVerificationsMatches"]
|
|
9936
|
+
field :email_intelligence, "email_intelligence", "EmailIntelligence"
|
|
9937
|
+
field :email_social, "email_social", "EmailSocialFootprint"
|
|
9186
9938
|
end
|
|
9187
9939
|
|
|
9188
9940
|
class SessionDecisionEmailVerificationsBreaches < Didit::Model
|
|
@@ -9265,6 +10017,34 @@ module Didit
|
|
|
9265
10017
|
field :source_image, "source_image", :string
|
|
9266
10018
|
field :target_image, "target_image", :string
|
|
9267
10019
|
field :warnings, "warnings", [:array, "SessionDecisionFaceMatchesWarnings"]
|
|
10020
|
+
field :face_coverage, "face_coverage", "SessionDecisionFaceMatchesFaceCoverage"
|
|
10021
|
+
end
|
|
10022
|
+
|
|
10023
|
+
# Whether the eyes, mouth and face are covered in the captured image. Returned by `GET
|
|
10024
|
+
# /v3/session/{sessionId}/decision/` only; it is not part of webhook payloads. `null` when no coverage reading
|
|
10025
|
+
# exists.
|
|
10026
|
+
class SessionDecisionFaceMatchesFaceCoverage < Didit::Model
|
|
10027
|
+
field :eyes, "eyes", "SessionDecisionFaceMatchesFaceCoverageEyes"
|
|
10028
|
+
field :mouth, "mouth", "SessionDecisionFaceMatchesFaceCoverageMouth"
|
|
10029
|
+
field :face, "face", "SessionDecisionFaceMatchesFaceCoverageFace"
|
|
10030
|
+
end
|
|
10031
|
+
|
|
10032
|
+
class SessionDecisionFaceMatchesFaceCoverageEyes < Didit::Model
|
|
10033
|
+
field :covered, "covered", :boolean
|
|
10034
|
+
field :calibrated, "calibrated", :boolean
|
|
10035
|
+
field :visibility_score, "visibility_score", :float
|
|
10036
|
+
end
|
|
10037
|
+
|
|
10038
|
+
class SessionDecisionFaceMatchesFaceCoverageFace < Didit::Model
|
|
10039
|
+
field :covered, "covered", :boolean
|
|
10040
|
+
field :calibrated, "calibrated", :boolean
|
|
10041
|
+
field :visibility_score, "visibility_score", :float
|
|
10042
|
+
end
|
|
10043
|
+
|
|
10044
|
+
class SessionDecisionFaceMatchesFaceCoverageMouth < Didit::Model
|
|
10045
|
+
field :covered, "covered", :boolean
|
|
10046
|
+
field :calibrated, "calibrated", :boolean
|
|
10047
|
+
field :visibility_score, "visibility_score", :float
|
|
9268
10048
|
end
|
|
9269
10049
|
|
|
9270
10050
|
class SessionDecisionFaceMatchesWarnings < Didit::Model
|
|
@@ -9330,6 +10110,9 @@ module Didit
|
|
|
9330
10110
|
field :matches, "matches", [:array, "SessionDecisionIdVerificationsMatches"]
|
|
9331
10111
|
field :document_liveness, "document_liveness", "SessionDecisionIdVerificationsDocumentLiveness"
|
|
9332
10112
|
field :address_validation, "address_validation", "AddressValidationResult"
|
|
10113
|
+
field :region, "region", :string
|
|
10114
|
+
field :extracted_data, "extracted_data", :any
|
|
10115
|
+
field :barcodes, "barcodes", [:array, :any]
|
|
9333
10116
|
end
|
|
9334
10117
|
|
|
9335
10118
|
# Quality metrics for the back document image. Same structure as front_image_quality_score.
|
|
@@ -9433,8 +10216,9 @@ module Didit
|
|
|
9433
10216
|
field :place_of_birth_latin, "place_of_birth_latin", :string
|
|
9434
10217
|
end
|
|
9435
10218
|
|
|
9436
|
-
# Why a non-document method
|
|
9437
|
-
#
|
|
10219
|
+
# Why a non-document method did not end the ID step. Set when a lookup or a wallet sign-in failed: on the document
|
|
10220
|
+
# verification the user continued with when the country's fallback switch was `fallback_to_document` (`action` is
|
|
10221
|
+
# `fallback_to_document`), or on the declined report when it was `decline`. `null` otherwise.
|
|
9438
10222
|
class SessionDecisionIdVerificationsFallbackFrom < Didit::Model
|
|
9439
10223
|
field :method_, "method", :string
|
|
9440
10224
|
field :reason, "reason", :string
|
|
@@ -9638,6 +10422,14 @@ module Didit
|
|
|
9638
10422
|
field :poa_document, "poa_document", "SessionDecisionIpAnalysesPoaDocument"
|
|
9639
10423
|
field :warnings, "warnings", [:array, "SessionDecisionIpAnalysesWarnings"]
|
|
9640
10424
|
field :matches, "matches", [:array, "SessionDecisionIpAnalysesMatches"]
|
|
10425
|
+
field :browser_version, "browser_version", :string
|
|
10426
|
+
field :os_version, "os_version", :string
|
|
10427
|
+
field :user_agent, "user_agent", :string
|
|
10428
|
+
field :accept_language, "accept_language", :string
|
|
10429
|
+
field :session_identifier, "session_identifier", :string
|
|
10430
|
+
field :session_age_ms, "session_age_ms", :integer
|
|
10431
|
+
field :coords_accuracy, "coords_accuracy", :float
|
|
10432
|
+
field :raw_device_data, "raw_device_data", :any
|
|
9641
10433
|
end
|
|
9642
10434
|
|
|
9643
10435
|
# Location extracted from the ID document address plus distances (km) to the IP geolocation and the POA document
|
|
@@ -9905,6 +10697,47 @@ module Didit
|
|
|
9905
10697
|
field :pending, "pending", :integer
|
|
9906
10698
|
end
|
|
9907
10699
|
|
|
10700
|
+
# A summary of other records linked to the session. `null` when there is nothing to show, and for workflows that
|
|
10701
|
+
# declare an age assurance standard.
|
|
10702
|
+
class SessionDecisionLinkedRecords < Didit::Model
|
|
10703
|
+
field :same_face, "same_face", "SessionDecisionLinkedRecordsSameFace"
|
|
10704
|
+
field :earlier_verifications, "earlier_verifications", "SessionDecisionLinkedRecordsEarlierVerifications"
|
|
10705
|
+
field :networks, "networks", "SessionDecisionLinkedRecordsNetworks"
|
|
10706
|
+
end
|
|
10707
|
+
|
|
10708
|
+
class SessionDecisionLinkedRecordsEarlierVerifications < Didit::Model
|
|
10709
|
+
field :count, "count", :integer
|
|
10710
|
+
field :vendor_user_id, "vendor_user_id", :string
|
|
10711
|
+
end
|
|
10712
|
+
|
|
10713
|
+
class SessionDecisionLinkedRecordsNetworks < Didit::Model
|
|
10714
|
+
field :count, "count", :integer
|
|
10715
|
+
field :open, "open", :integer
|
|
10716
|
+
field :dismissed, "dismissed", :integer
|
|
10717
|
+
field :items, "items", [:array, "SessionDecisionLinkedRecordsNetworksItems"]
|
|
10718
|
+
end
|
|
10719
|
+
|
|
10720
|
+
class SessionDecisionLinkedRecordsNetworksItems < Didit::Model
|
|
10721
|
+
field :network_id, "network_id", :string
|
|
10722
|
+
field :display_number, "display_number", :integer
|
|
10723
|
+
field :name, "name", :string
|
|
10724
|
+
field :status, "status", :string
|
|
10725
|
+
field :risk_score, "risk_score", :float
|
|
10726
|
+
end
|
|
10727
|
+
|
|
10728
|
+
# Other people whose face matched one of this session's face searches.
|
|
10729
|
+
class SessionDecisionLinkedRecordsSameFace < Didit::Model
|
|
10730
|
+
field :count, "count", :integer
|
|
10731
|
+
field :best_match, "best_match", "SessionDecisionLinkedRecordsSameFaceBestMatch"
|
|
10732
|
+
end
|
|
10733
|
+
|
|
10734
|
+
class SessionDecisionLinkedRecordsSameFaceBestMatch < Didit::Model
|
|
10735
|
+
field :session_id, "session_id", :string
|
|
10736
|
+
field :session_number, "session_number", :integer
|
|
10737
|
+
field :vendor_user_id, "vendor_user_id", :string
|
|
10738
|
+
field :similarity_percentage, "similarity_percentage", :float
|
|
10739
|
+
end
|
|
10740
|
+
|
|
9908
10741
|
# One liveness report - the full report for a single liveness pass.
|
|
9909
10742
|
class SessionDecisionLivenessChecks < Didit::Model
|
|
9910
10743
|
field :node_id, "node_id", :string
|
|
@@ -10071,6 +10904,8 @@ module Didit
|
|
|
10071
10904
|
field :lifecycle, "lifecycle", [:array, "SessionDecisionPhoneVerificationsLifecycle"]
|
|
10072
10905
|
field :warnings, "warnings", [:array, "SessionDecisionPhoneVerificationsWarnings"]
|
|
10073
10906
|
field :matches, "matches", [:array, "SessionDecisionPhoneVerificationsMatches"]
|
|
10907
|
+
field :phone_intelligence, "phone_intelligence", "PhoneIntelligence"
|
|
10908
|
+
field :phone_social, "phone_social", "PhoneSocialFootprint"
|
|
10074
10909
|
end
|
|
10075
10910
|
|
|
10076
10911
|
class SessionDecisionPhoneVerificationsCarrier < Didit::Model
|
|
@@ -10282,7 +11117,7 @@ module Didit
|
|
|
10282
11117
|
field :node_id, "node_id", :string
|
|
10283
11118
|
field :data_resolved, "data_resolved", :boolean
|
|
10284
11119
|
field :company, "company", "SessionDecisionRegistryChecksCompany"
|
|
10285
|
-
field :ownership_structure, "ownership_structure",
|
|
11120
|
+
field :ownership_structure, "ownership_structure", "KYBOwnershipStructure"
|
|
10286
11121
|
field :warnings, "warnings", [:array, :any]
|
|
10287
11122
|
end
|
|
10288
11123
|
|
|
@@ -10328,7 +11163,7 @@ module Didit
|
|
|
10328
11163
|
field :addresses, "addresses", [:array, "KYBRegistryAddress"]
|
|
10329
11164
|
field :industries, "industries", [:array, "KYBRegistryIndustry"]
|
|
10330
11165
|
field :accounts, "accounts", :any
|
|
10331
|
-
field :registry_data, "registry_data",
|
|
11166
|
+
field :registry_data, "registry_data", "KYBRegistryData"
|
|
10332
11167
|
field :user_provided_data, "user_provided_data", :any
|
|
10333
11168
|
field :confirmed_by_user_at, "confirmed_by_user_at", :datetime
|
|
10334
11169
|
field :last_console_edit_at, "last_console_edit_at", :datetime
|
|
@@ -10337,6 +11172,7 @@ module Didit
|
|
|
10337
11172
|
field :registry_tier, "registry_tier", :string
|
|
10338
11173
|
field :registry_tier_delivered, "registry_tier_delivered", :string
|
|
10339
11174
|
field :registry_ownership_status, "registry_ownership_status", :string
|
|
11175
|
+
field :registry_monitoring, "registry_monitoring", "SessionDecisionRegistryChecksCompanyRegistryMonitoring"
|
|
10340
11176
|
end
|
|
10341
11177
|
|
|
10342
11178
|
class SessionDecisionRegistryChecksCompanyBeneficialOwners < Didit::Model
|
|
@@ -10384,6 +11220,20 @@ module Didit
|
|
|
10384
11220
|
field :date_of_birth_month, "date_of_birth_month", :integer
|
|
10385
11221
|
end
|
|
10386
11222
|
|
|
11223
|
+
# The latest registry monitor for the company, or `null` when none exists.
|
|
11224
|
+
class SessionDecisionRegistryChecksCompanyRegistryMonitoring < Didit::Model
|
|
11225
|
+
field :uuid, "uuid", :string
|
|
11226
|
+
field :status, "status", :string
|
|
11227
|
+
field :unavailable_reason, "unavailable_reason", :string
|
|
11228
|
+
field :enrolled_at, "enrolled_at", :datetime
|
|
11229
|
+
field :cancelled_at, "cancelled_at", :datetime
|
|
11230
|
+
field :last_bill_date, "last_bill_date", :date
|
|
11231
|
+
field :next_bill_date, "next_bill_date", :date
|
|
11232
|
+
field :last_event_at, "last_event_at", :datetime
|
|
11233
|
+
field :events_count, "events_count", :integer
|
|
11234
|
+
field :watched_fields, "watched_fields", :any
|
|
11235
|
+
end
|
|
11236
|
+
|
|
10387
11237
|
class SessionDecisionResubmissions < Didit::Model
|
|
10388
11238
|
field :number, "number", :integer
|
|
10389
11239
|
field :created_at, "created_at", :datetime
|
|
@@ -10413,6 +11263,13 @@ module Didit
|
|
|
10413
11263
|
field :created_at, "created_at", :datetime
|
|
10414
11264
|
end
|
|
10415
11265
|
|
|
11266
|
+
# Present when a reviewer set `status` by hand. `null` when the status is the automatic one. Use it to tell a
|
|
11267
|
+
# manual approval from an automatic one.
|
|
11268
|
+
class SessionDecisionStatusOverride < Didit::Model
|
|
11269
|
+
field :overridden_at, "overridden_at", :datetime
|
|
11270
|
+
field :automatic_status, "automatic_status", :string
|
|
11271
|
+
end
|
|
11272
|
+
|
|
10416
11273
|
# A bulk session deletion running in the background: progress and counts per outcome, never which sessions it
|
|
10417
11274
|
# deleted.
|
|
10418
11275
|
class SessionDeletionJob < Didit::Model
|
|
@@ -10453,6 +11310,20 @@ module Didit
|
|
|
10453
11310
|
field :sent_at, "sent_at", :integer
|
|
10454
11311
|
end
|
|
10455
11312
|
|
|
11313
|
+
# One ZIP with every file of a session, in original quality.
|
|
11314
|
+
class SessionFilesExport < Didit::Model
|
|
11315
|
+
field :export_id, "export_id", :string
|
|
11316
|
+
field :session_id, "session_id", :string
|
|
11317
|
+
field :status, "status", :string
|
|
11318
|
+
field :file_count, "file_count", :integer
|
|
11319
|
+
field :size_bytes, "size_bytes", :integer
|
|
11320
|
+
field :download_url, "download_url", :string
|
|
11321
|
+
field :expires_at, "expires_at", :datetime
|
|
11322
|
+
field :error, "error", :string
|
|
11323
|
+
field :created_at, "created_at", :datetime
|
|
11324
|
+
field :completed_at, "completed_at", :datetime
|
|
11325
|
+
end
|
|
11326
|
+
|
|
10456
11327
|
class SessionImportError < Didit::Model
|
|
10457
11328
|
field :uuid, "uuid", :string
|
|
10458
11329
|
field :row_number, "row_number", :integer
|
|
@@ -10537,7 +11408,7 @@ module Didit
|
|
|
10537
11408
|
field :value_unavailable_reason, "value_unavailable_reason", :string
|
|
10538
11409
|
end
|
|
10539
11410
|
|
|
10540
|
-
# One signer's result for one
|
|
11411
|
+
# One signer's result for one E-signature step. See the [E-signature
|
|
10541
11412
|
# report](/core-technology/electronic-signature/report-electronic-signature).
|
|
10542
11413
|
class SignatureResult < Didit::Model
|
|
10543
11414
|
field :id, "id", :string
|
|
@@ -10577,7 +11448,7 @@ module Didit
|
|
|
10577
11448
|
field :adopted_at, "adopted_at", :datetime
|
|
10578
11449
|
end
|
|
10579
11450
|
|
|
10580
|
-
# The certificate the documents were signed with. `null` until signed.
|
|
11451
|
+
# The certificate the documents were signed with. `null` until signed, and always `null` for a Simple signature.
|
|
10581
11452
|
class SignatureResultCertificate < Didit::Model
|
|
10582
11453
|
field :issuer, "issuer", :string
|
|
10583
11454
|
field :issued_to, "issued_to", :string
|
|
@@ -10624,6 +11495,7 @@ module Didit
|
|
|
10624
11495
|
field :converter, "converter", :string
|
|
10625
11496
|
end
|
|
10626
11497
|
|
|
11498
|
+
# The verified identity the signature relies on. Empty for a Simple signature with no verified identity.
|
|
10627
11499
|
class SignatureResultIdentityUsed < Didit::Model
|
|
10628
11500
|
field :session_id, "session_id", :string
|
|
10629
11501
|
field :kyc_id, "kyc_id", :string
|
|
@@ -10640,7 +11512,8 @@ module Didit
|
|
|
10640
11512
|
field :identity_session_id, "identity_session_id", :string
|
|
10641
11513
|
end
|
|
10642
11514
|
|
|
10643
|
-
# The
|
|
11515
|
+
# The RFC 3161 timestamp in the signature, issued by Didit. `null` until signed, and always `null` for a Simple
|
|
11516
|
+
# signature.
|
|
10644
11517
|
class SignatureResultTimestamp < Didit::Model
|
|
10645
11518
|
field :time, "time", :datetime
|
|
10646
11519
|
field :qualified, "qualified", :boolean
|
|
@@ -10669,7 +11542,7 @@ module Didit
|
|
|
10669
11542
|
field :timestamp, "timestamp", "SignatureResultValidationDocumentsTimestamp"
|
|
10670
11543
|
end
|
|
10671
11544
|
|
|
10672
|
-
# The certificate the documents were signed with. `null` until signed.
|
|
11545
|
+
# The certificate the documents were signed with. `null` until signed, and always `null` for a Simple signature.
|
|
10673
11546
|
class SignatureResultValidationDocumentsCertificate < Didit::Model
|
|
10674
11547
|
field :issuer, "issuer", :string
|
|
10675
11548
|
field :issued_to, "issued_to", :string
|
|
@@ -10678,7 +11551,8 @@ module Didit
|
|
|
10678
11551
|
field :valid_until, "valid_until", :datetime
|
|
10679
11552
|
end
|
|
10680
11553
|
|
|
10681
|
-
# The
|
|
11554
|
+
# The RFC 3161 timestamp in the signature, issued by Didit. `null` until signed, and always `null` for a Simple
|
|
11555
|
+
# signature.
|
|
10682
11556
|
class SignatureResultValidationDocumentsTimestamp < Didit::Model
|
|
10683
11557
|
field :time, "time", :datetime
|
|
10684
11558
|
field :qualified, "qualified", :boolean
|
|
@@ -11334,6 +12208,11 @@ module Didit
|
|
|
11334
12208
|
field :travel_rule, "travel_rule", "TravelRuleTransferDetail"
|
|
11335
12209
|
end
|
|
11336
12210
|
|
|
12211
|
+
class TravelRuleManualMatchResponse < Didit::Model
|
|
12212
|
+
field :deposit, "deposit", "TravelRuleTransferRow"
|
|
12213
|
+
field :message, "message", "TravelRuleTransferRow"
|
|
12214
|
+
end
|
|
12215
|
+
|
|
11337
12216
|
# How strictly each field of the counterparty's data is compared with what you hold, per entity type. A field you
|
|
11338
12217
|
# leave out keeps its default. `NONE` skips the comparison, `STRICT` needs exactly the same words, `CONTAINS`
|
|
11339
12218
|
# accepts one value whose words all appear in the other, `DEFAULT` is the standard subset match, and `FUZZY`
|
|
@@ -12086,6 +12965,7 @@ module Didit
|
|
|
12086
12965
|
field :available_events, "available_events", [:array, "WebhookConfigAvailableEvents"]
|
|
12087
12966
|
field :allowed_return_hosts, "allowed_return_hosts", [:array, :string]
|
|
12088
12967
|
field :endpoints, "endpoints", [:array, "WebhookConfigDestination"]
|
|
12968
|
+
field :allowed_domains, "allowed_domains", [:array, :string]
|
|
12089
12969
|
end
|
|
12090
12970
|
|
|
12091
12971
|
class WebhookConfigAvailableEvents < Didit::Model
|
|
@@ -12163,12 +13043,21 @@ module Didit
|
|
|
12163
13043
|
field :kyb_role_settings, "kyb_role_settings", [:array, :any]
|
|
12164
13044
|
field :created_at, "created_at", :datetime
|
|
12165
13045
|
field :updated_at, "updated_at", :datetime
|
|
13046
|
+
field :signature_availability, "signature_availability", "WorkflowDetailSignatureAvailability"
|
|
12166
13047
|
field :is_bank_verification_enabled, "is_bank_verification_enabled", :boolean
|
|
12167
13048
|
field :bank_verification_config, "bank_verification_config", :any
|
|
12168
13049
|
field :is_geolocation_enabled, "is_geolocation_enabled", :boolean
|
|
12169
13050
|
field :geolocation_config, "geolocation_config", :any
|
|
12170
13051
|
end
|
|
12171
13052
|
|
|
13053
|
+
# Which E-signature levels can sign right now. Check it before you set `signature_level`. Returned on `kyc`, `kyb`
|
|
13054
|
+
# and graph workflows.
|
|
13055
|
+
class WorkflowDetailSignatureAvailability < Didit::Model
|
|
13056
|
+
field :simple, "simple", :boolean
|
|
13057
|
+
field :aes, "aes", :boolean
|
|
13058
|
+
field :qes, "qes", :boolean
|
|
13059
|
+
end
|
|
13060
|
+
|
|
12172
13061
|
# One workflow version in the list view.
|
|
12173
13062
|
class WorkflowListItem < Didit::Model
|
|
12174
13063
|
field :uuid, "uuid", :string
|