didit-sdk 1.0.0 → 2.0.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/README.md +0 -2
- 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/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 +7 -2
- 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/aml.rb +19 -0
- data/lib/didit/types/components.rb +908 -28
- data/lib/didit/types/email.rb +28 -0
- data/lib/didit/types/kyb.rb +80 -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 +121 -0
- data/lib/didit/version.rb +1 -1
- 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/aml.rbs +18 -0
- data/sig/didit/types/bank.rbs +1 -1
- data/sig/didit/types/components.rbs +780 -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 +75 -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
|
@@ -145,7 +145,7 @@ module Didit
|
|
|
145
145
|
def long_description: () -> String?
|
|
146
146
|
end
|
|
147
147
|
|
|
148
|
-
type database_validation_validate_params = { issuing_state: String, ?services: Array[String], ?validation_type: String, ?consent: bool, ?identification_number: String, ?first_name: String, ?last_name: String, ?middle_name: String, ?full_name: String, ?date_of_birth: Date | String, ?personal_number: String, ?tax_number: String, ?document_number: String, ?document_type: String, ?expiration_date: Date | String, ?date_of_issue: Date | String, ?nationality: String, ?gender: String, ?address: (Didit::Types::database_validation_validate_params_address_variant1 | String), ?address_element_1: String, ?address_element_2: String, ?address_element_3: String, ?address_element_4: String, ?address_element_5: String, ?postal_code: String, ?driver_license_number: String, ?driver_license_card_number: String, ?driver_license_state: String, ?driver_license_version: String, ?passport_number: String, ?passport_expiration_date: Date | String, ?passport_file_number: String, ?passport_issue_country: String, ?medicare_card_number: String, ?immi_card_number: String, ?immi_card_expiry_date: Date | String, ?citizenship_certificate_number: String, ?birth_registration_number: String, ?birth_registration_date: Date | String, ?birth_registration_state: String, ?marriage_certificate_number: String, ?change_of_name_certificate_number: String, ?first_partner_name: String, ?last_partner_name: String, ?voter_id: String, ?epic_card: String, ?pan: String, ?national_id: String, ?cic: String, ?identificador_ciudadano: String, ?ocr: String, ?voter_number: String, ?emission_number: String, ?bvn: String, ?bank_card_number: String, ?ssn: String, ?phone: String, ?landline: String, ?email: String, ?country_of_residence: String, ?partial_match_action: String, ?no_match_action: String, ?save_api_request: bool, ?vendor_data: String, ?metadata: (Hash[String | Symbol, untyped])?, ?selfie: Didit::upload }
|
|
148
|
+
type database_validation_validate_params = { issuing_state: String, ?services: Array[String], ?validation_type: String, ?consent: bool, ?identification_number: String, ?first_name: String, ?last_name: String, ?middle_name: String, ?full_name: String, ?date_of_birth: Date | String, ?personal_number: String, ?tax_number: String, ?document_number: String, ?document_type: String, ?expiration_date: Date | String, ?date_of_issue: Date | String, ?nationality: String, ?gender: String, ?address: (Didit::Types::database_validation_validate_params_address_variant1 | String), ?address_element_1: String, ?address_element_2: String, ?address_element_3: String, ?address_element_4: String, ?address_element_5: String, ?postal_code: String, ?driver_license_number: String, ?driver_license_card_number: String, ?driver_license_state: String, ?driver_license_version: String, ?passport_number: String, ?passport_expiration_date: Date | String, ?passport_file_number: String, ?passport_issue_country: String, ?medicare_card_number: String, ?immi_card_number: String, ?immi_card_expiry_date: Date | String, ?citizenship_certificate_number: String, ?birth_registration_number: String, ?birth_registration_date: Date | String, ?birth_registration_state: String, ?marriage_certificate_number: String, ?change_of_name_certificate_number: String, ?first_partner_name: String, ?last_partner_name: String, ?voter_id: String, ?epic_card: String, ?pan: String, ?national_id: String, ?cic: String, ?identificador_ciudadano: String, ?ocr: String, ?voter_number: String, ?emission_number: String, ?bvn: String, ?bank_card_number: String, ?company_registration_number: String, ?company_name: String, ?initials: String, ?licence_number: String, ?refugee_file_number: String, ?bank_name: String, ?bank_account_number: String, ?account_type: String, ?phone_number: String, ?right_thumb: String, ?left_thumb: String, ?score_level: Integer, ?max_matches: Integer, ?vehicle_register_number: String, ?vehicle_licence_plate: String, ?vin: String, ?ssn: String, ?phone: String, ?landline: String, ?email: String, ?country_of_residence: String, ?partial_match_action: String, ?no_match_action: String, ?save_api_request: bool, ?vendor_data: String, ?metadata: (Hash[String | Symbol, untyped])?, ?selfie: Didit::upload }
|
|
149
149
|
|
|
150
150
|
type database_validation_validate_params_address_variant1 = { ?street_1: String, ?street_2: String, ?city: String, ?region: String, ?postal_code: String, ?country: String }
|
|
151
151
|
end
|
data/sig/didit/types/email.rbs
CHANGED
|
@@ -23,6 +23,13 @@ module Didit
|
|
|
23
23
|
VALUES: Array[String]
|
|
24
24
|
end
|
|
25
25
|
|
|
26
|
+
module EmailCheckCodeParamsEmailIntelligenceScoreAction
|
|
27
|
+
NO_ACTION: String
|
|
28
|
+
DECLINE: String
|
|
29
|
+
|
|
30
|
+
VALUES: Array[String]
|
|
31
|
+
end
|
|
32
|
+
|
|
26
33
|
module EmailCheckCodeParamsEmailNoSocialPresenceAction
|
|
27
34
|
NO_ACTION: String
|
|
28
35
|
DECLINE: String
|
|
@@ -30,6 +37,20 @@ module Didit
|
|
|
30
37
|
VALUES: Array[String]
|
|
31
38
|
end
|
|
32
39
|
|
|
40
|
+
module EmailCheckCodeParamsFrequentEmailBreachAction
|
|
41
|
+
NO_ACTION: String
|
|
42
|
+
DECLINE: String
|
|
43
|
+
|
|
44
|
+
VALUES: Array[String]
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
module EmailCheckCodeParamsRecentEmailBreachAction
|
|
48
|
+
NO_ACTION: String
|
|
49
|
+
DECLINE: String
|
|
50
|
+
|
|
51
|
+
VALUES: Array[String]
|
|
52
|
+
end
|
|
53
|
+
|
|
33
54
|
module EmailSendCodeParamsOptionsLocale
|
|
34
55
|
EN: String
|
|
35
56
|
AR: String
|
|
@@ -101,7 +122,7 @@ module Didit
|
|
|
101
122
|
|
|
102
123
|
type email_assess_risk_params = { email: String, ?country_code: String, ?signals: Didit::Types::risk_signals, ?vendor_data: String, ?metadata: (Hash[String | Symbol, untyped])?, ?enable_social: bool }
|
|
103
124
|
|
|
104
|
-
type email_check_code_params = { email: String, code: String, ?duplicated_email_action: String, ?breached_email_action: String, ?disposable_email_action: String, ?enable_social: bool, ?email_no_social_presence_action: String }
|
|
125
|
+
type email_check_code_params = { email: String, code: String, ?duplicated_email_action: String, ?breached_email_action: String, ?disposable_email_action: String, ?enable_enrichment: bool, ?email_intelligence_score_action: String, ?recent_email_breach_action: String, ?frequent_email_breach_action: String, ?enable_social: bool, ?email_no_social_presence_action: String }
|
|
105
126
|
|
|
106
127
|
type email_send_code_params = { email: String, ?options: Didit::Types::email_send_code_params_options, ?signals: Didit::Types::email_send_code_params_signals, ?vendor_data: String, ?metadata: (Hash[String | Symbol, untyped])? }
|
|
107
128
|
|
|
@@ -26,6 +26,8 @@ module Didit
|
|
|
26
26
|
|
|
27
27
|
type id_wallets_start_ftn_params = { ?vendor_data: String?, ?metadata: (Hash[String | Symbol, untyped])?, ?sandbox_scenario: String, ?country: String, return_url: String, ?device: String }
|
|
28
28
|
|
|
29
|
+
type id_wallets_start_google_wallet_params = { ?vendor_data: String?, ?metadata: (Hash[String | Symbol, untyped])?, ?sandbox_scenario: String, country: String, origin: String }
|
|
30
|
+
|
|
29
31
|
type id_wallets_start_govbr_params = { ?vendor_data: String?, ?metadata: (Hash[String | Symbol, untyped])?, ?sandbox_scenario: String, ?country: String, return_url: String, ?device: String }
|
|
30
32
|
|
|
31
33
|
type id_wallets_start_govuk_wallet_params = { ?vendor_data: String?, ?metadata: (Hash[String | Symbol, untyped])?, ?sandbox_scenario: String, ?country: String, return_url: String, ?device: String }
|
|
@@ -51,5 +53,7 @@ module Didit
|
|
|
51
53
|
type id_wallets_start_uae_pass_params = { ?vendor_data: String?, ?metadata: (Hash[String | Symbol, untyped])?, ?sandbox_scenario: String, ?country: String, return_url: String, ?device: String }
|
|
52
54
|
|
|
53
55
|
type id_wallets_start_vipps_params = { ?vendor_data: String?, ?metadata: (Hash[String | Symbol, untyped])?, ?sandbox_scenario: String, ?country: String, return_url: String, ?device: String }
|
|
56
|
+
|
|
57
|
+
type id_wallets_submit_verification_response_params = { response: Hash[String | Symbol, untyped] }
|
|
54
58
|
end
|
|
55
59
|
end
|
data/sig/didit/types/kyb.rbs
CHANGED
|
@@ -761,7 +761,7 @@ module Didit
|
|
|
761
761
|
def addresses: () -> Array[Didit::Types::KYBRegistryAddress]?
|
|
762
762
|
def industries: () -> Array[Didit::Types::KYBRegistryIndustry]?
|
|
763
763
|
def accounts: () -> Hash[String, untyped]?
|
|
764
|
-
def registry_data: () ->
|
|
764
|
+
def registry_data: () -> Didit::Types::KYBRegistryData?
|
|
765
765
|
def user_provided_data: () -> Hash[String, untyped]?
|
|
766
766
|
def confirmed_by_user_at: () -> Time?
|
|
767
767
|
def last_console_edit_at: () -> Time?
|
|
@@ -770,6 +770,7 @@ module Didit
|
|
|
770
770
|
def registry_ownership_status: () -> String?
|
|
771
771
|
def ownership: () -> Didit::Types::KYBRegistryOwnership?
|
|
772
772
|
def registry_tier: () -> String?
|
|
773
|
+
def registry_monitoring: () -> Didit::Types::KybListShareholdersResponse202KybRegistryRegistryMonitoring?
|
|
773
774
|
end
|
|
774
775
|
|
|
775
776
|
class KybListShareholdersResponse202KybRegistryBeneficialOwners < Didit::Model
|
|
@@ -817,6 +818,19 @@ module Didit
|
|
|
817
818
|
def date_of_birth_month: () -> Integer?
|
|
818
819
|
end
|
|
819
820
|
|
|
821
|
+
class KybListShareholdersResponse202KybRegistryRegistryMonitoring < Didit::Model
|
|
822
|
+
def uuid: () -> String?
|
|
823
|
+
def status: () -> String?
|
|
824
|
+
def unavailable_reason: () -> String?
|
|
825
|
+
def enrolled_at: () -> Time?
|
|
826
|
+
def cancelled_at: () -> Time?
|
|
827
|
+
def last_bill_date: () -> Date?
|
|
828
|
+
def next_bill_date: () -> Date?
|
|
829
|
+
def last_event_at: () -> Time?
|
|
830
|
+
def events_count: () -> Integer?
|
|
831
|
+
def watched_fields: () -> untyped
|
|
832
|
+
end
|
|
833
|
+
|
|
820
834
|
class KybListShareholdersResponseKybRegistry < Didit::Model
|
|
821
835
|
def uuid: () -> String?
|
|
822
836
|
def node_id: () -> String?
|
|
@@ -858,7 +872,7 @@ module Didit
|
|
|
858
872
|
def addresses: () -> Array[Didit::Types::KYBRegistryAddress]?
|
|
859
873
|
def industries: () -> Array[Didit::Types::KYBRegistryIndustry]?
|
|
860
874
|
def accounts: () -> Hash[String, untyped]?
|
|
861
|
-
def registry_data: () ->
|
|
875
|
+
def registry_data: () -> Didit::Types::KYBRegistryData?
|
|
862
876
|
def user_provided_data: () -> Hash[String, untyped]?
|
|
863
877
|
def confirmed_by_user_at: () -> Time?
|
|
864
878
|
def last_console_edit_at: () -> Time?
|
|
@@ -867,6 +881,7 @@ module Didit
|
|
|
867
881
|
def registry_ownership_status: () -> String?
|
|
868
882
|
def ownership: () -> Didit::Types::KYBRegistryOwnership?
|
|
869
883
|
def registry_tier: () -> String?
|
|
884
|
+
def registry_monitoring: () -> Didit::Types::KybListShareholdersResponseKybRegistryRegistryMonitoring?
|
|
870
885
|
end
|
|
871
886
|
|
|
872
887
|
class KybListShareholdersResponseKybRegistryBeneficialOwners < Didit::Model
|
|
@@ -914,6 +929,19 @@ module Didit
|
|
|
914
929
|
def date_of_birth_month: () -> Integer?
|
|
915
930
|
end
|
|
916
931
|
|
|
932
|
+
class KybListShareholdersResponseKybRegistryRegistryMonitoring < Didit::Model
|
|
933
|
+
def uuid: () -> String?
|
|
934
|
+
def status: () -> String?
|
|
935
|
+
def unavailable_reason: () -> String?
|
|
936
|
+
def enrolled_at: () -> Time?
|
|
937
|
+
def cancelled_at: () -> Time?
|
|
938
|
+
def last_bill_date: () -> Date?
|
|
939
|
+
def next_bill_date: () -> Date?
|
|
940
|
+
def last_event_at: () -> Time?
|
|
941
|
+
def events_count: () -> Integer?
|
|
942
|
+
def watched_fields: () -> untyped
|
|
943
|
+
end
|
|
944
|
+
|
|
917
945
|
class KybListUbosResponse < Didit::Model
|
|
918
946
|
def request_id: () -> String?
|
|
919
947
|
def registry_tier_requested: () -> String?
|
|
@@ -975,7 +1003,7 @@ module Didit
|
|
|
975
1003
|
def addresses: () -> Array[Didit::Types::KYBRegistryAddress]?
|
|
976
1004
|
def industries: () -> Array[Didit::Types::KYBRegistryIndustry]?
|
|
977
1005
|
def accounts: () -> Hash[String, untyped]?
|
|
978
|
-
def registry_data: () ->
|
|
1006
|
+
def registry_data: () -> Didit::Types::KYBRegistryData?
|
|
979
1007
|
def user_provided_data: () -> Hash[String, untyped]?
|
|
980
1008
|
def confirmed_by_user_at: () -> Time?
|
|
981
1009
|
def last_console_edit_at: () -> Time?
|
|
@@ -984,6 +1012,7 @@ module Didit
|
|
|
984
1012
|
def registry_ownership_status: () -> String?
|
|
985
1013
|
def ownership: () -> Didit::Types::KYBRegistryOwnership?
|
|
986
1014
|
def registry_tier: () -> String?
|
|
1015
|
+
def registry_monitoring: () -> Didit::Types::KybListUbosResponse202KybRegistryRegistryMonitoring?
|
|
987
1016
|
end
|
|
988
1017
|
|
|
989
1018
|
class KybListUbosResponse202KybRegistryBeneficialOwners < Didit::Model
|
|
@@ -1031,6 +1060,19 @@ module Didit
|
|
|
1031
1060
|
def date_of_birth_month: () -> Integer?
|
|
1032
1061
|
end
|
|
1033
1062
|
|
|
1063
|
+
class KybListUbosResponse202KybRegistryRegistryMonitoring < Didit::Model
|
|
1064
|
+
def uuid: () -> String?
|
|
1065
|
+
def status: () -> String?
|
|
1066
|
+
def unavailable_reason: () -> String?
|
|
1067
|
+
def enrolled_at: () -> Time?
|
|
1068
|
+
def cancelled_at: () -> Time?
|
|
1069
|
+
def last_bill_date: () -> Date?
|
|
1070
|
+
def next_bill_date: () -> Date?
|
|
1071
|
+
def last_event_at: () -> Time?
|
|
1072
|
+
def events_count: () -> Integer?
|
|
1073
|
+
def watched_fields: () -> untyped
|
|
1074
|
+
end
|
|
1075
|
+
|
|
1034
1076
|
class KybListUbosResponseKybRegistry < Didit::Model
|
|
1035
1077
|
def uuid: () -> String?
|
|
1036
1078
|
def node_id: () -> String?
|
|
@@ -1072,7 +1114,7 @@ module Didit
|
|
|
1072
1114
|
def addresses: () -> Array[Didit::Types::KYBRegistryAddress]?
|
|
1073
1115
|
def industries: () -> Array[Didit::Types::KYBRegistryIndustry]?
|
|
1074
1116
|
def accounts: () -> Hash[String, untyped]?
|
|
1075
|
-
def registry_data: () ->
|
|
1117
|
+
def registry_data: () -> Didit::Types::KYBRegistryData?
|
|
1076
1118
|
def user_provided_data: () -> Hash[String, untyped]?
|
|
1077
1119
|
def confirmed_by_user_at: () -> Time?
|
|
1078
1120
|
def last_console_edit_at: () -> Time?
|
|
@@ -1081,6 +1123,7 @@ module Didit
|
|
|
1081
1123
|
def registry_ownership_status: () -> String?
|
|
1082
1124
|
def ownership: () -> Didit::Types::KYBRegistryOwnership?
|
|
1083
1125
|
def registry_tier: () -> String?
|
|
1126
|
+
def registry_monitoring: () -> Didit::Types::KybListUbosResponseKybRegistryRegistryMonitoring?
|
|
1084
1127
|
end
|
|
1085
1128
|
|
|
1086
1129
|
class KybListUbosResponseKybRegistryBeneficialOwners < Didit::Model
|
|
@@ -1128,6 +1171,19 @@ module Didit
|
|
|
1128
1171
|
def date_of_birth_month: () -> Integer?
|
|
1129
1172
|
end
|
|
1130
1173
|
|
|
1174
|
+
class KybListUbosResponseKybRegistryRegistryMonitoring < Didit::Model
|
|
1175
|
+
def uuid: () -> String?
|
|
1176
|
+
def status: () -> String?
|
|
1177
|
+
def unavailable_reason: () -> String?
|
|
1178
|
+
def enrolled_at: () -> Time?
|
|
1179
|
+
def cancelled_at: () -> Time?
|
|
1180
|
+
def last_bill_date: () -> Date?
|
|
1181
|
+
def next_bill_date: () -> Date?
|
|
1182
|
+
def last_event_at: () -> Time?
|
|
1183
|
+
def events_count: () -> Integer?
|
|
1184
|
+
def watched_fields: () -> untyped
|
|
1185
|
+
end
|
|
1186
|
+
|
|
1131
1187
|
class KybSearchResponse < Didit::Model
|
|
1132
1188
|
def request_id: () -> String?
|
|
1133
1189
|
def kyb_registry: () -> Didit::Types::KYBRegistrySearchResults?
|
|
@@ -1187,7 +1243,7 @@ module Didit
|
|
|
1187
1243
|
def addresses: () -> Array[Didit::Types::KYBRegistryAddress]?
|
|
1188
1244
|
def industries: () -> Array[Didit::Types::KYBRegistryIndustry]?
|
|
1189
1245
|
def accounts: () -> Hash[String, untyped]?
|
|
1190
|
-
def registry_data: () ->
|
|
1246
|
+
def registry_data: () -> Didit::Types::KYBRegistryData?
|
|
1191
1247
|
def user_provided_data: () -> Hash[String, untyped]?
|
|
1192
1248
|
def confirmed_by_user_at: () -> Time?
|
|
1193
1249
|
def last_console_edit_at: () -> Time?
|
|
@@ -1196,6 +1252,7 @@ module Didit
|
|
|
1196
1252
|
def registry_ownership_status: () -> String?
|
|
1197
1253
|
def ownership: () -> Didit::Types::KYBRegistryOwnership?
|
|
1198
1254
|
def registry_tier: () -> String?
|
|
1255
|
+
def registry_monitoring: () -> Didit::Types::KybSelectResponseKybRegistryRegistryMonitoring?
|
|
1199
1256
|
end
|
|
1200
1257
|
|
|
1201
1258
|
class KybSelectResponseKybRegistryBeneficialOwners < Didit::Model
|
|
@@ -1243,6 +1300,19 @@ module Didit
|
|
|
1243
1300
|
def date_of_birth_month: () -> Integer?
|
|
1244
1301
|
end
|
|
1245
1302
|
|
|
1303
|
+
class KybSelectResponseKybRegistryRegistryMonitoring < Didit::Model
|
|
1304
|
+
def uuid: () -> String?
|
|
1305
|
+
def status: () -> String?
|
|
1306
|
+
def unavailable_reason: () -> String?
|
|
1307
|
+
def enrolled_at: () -> Time?
|
|
1308
|
+
def cancelled_at: () -> Time?
|
|
1309
|
+
def last_bill_date: () -> Date?
|
|
1310
|
+
def next_bill_date: () -> Date?
|
|
1311
|
+
def last_event_at: () -> Time?
|
|
1312
|
+
def events_count: () -> Integer?
|
|
1313
|
+
def watched_fields: () -> untyped
|
|
1314
|
+
end
|
|
1315
|
+
|
|
1246
1316
|
type kyb_list_shareholders_params = { kyb_response_id: String, ?vendor_data: String, ?metadata: (Hash[String | Symbol, untyped])?, ?save_api_request: bool }
|
|
1247
1317
|
|
|
1248
1318
|
type kyb_list_ubos_params = { kyb_response_id: String, ?vendor_data: String, ?metadata: (Hash[String | Symbol, untyped])?, ?save_api_request: bool }
|
data/sig/didit/types/phone.rbs
CHANGED
|
@@ -16,6 +16,20 @@ module Didit
|
|
|
16
16
|
VALUES: Array[String]
|
|
17
17
|
end
|
|
18
18
|
|
|
19
|
+
module PhoneCheckCodeParamsLowPhoneTrustAction
|
|
20
|
+
NO_ACTION: String
|
|
21
|
+
DECLINE: String
|
|
22
|
+
|
|
23
|
+
VALUES: Array[String]
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
module PhoneCheckCodeParamsPhoneIntelligenceScoreAction
|
|
27
|
+
NO_ACTION: String
|
|
28
|
+
DECLINE: String
|
|
29
|
+
|
|
30
|
+
VALUES: Array[String]
|
|
31
|
+
end
|
|
32
|
+
|
|
19
33
|
module PhoneCheckCodeParamsPhoneNoSocialPresenceAction
|
|
20
34
|
NO_ACTION: String
|
|
21
35
|
DECLINE: String
|
|
@@ -23,6 +37,20 @@ module Didit
|
|
|
23
37
|
VALUES: Array[String]
|
|
24
38
|
end
|
|
25
39
|
|
|
40
|
+
module PhoneCheckCodeParamsPhoneTypeRiskAction
|
|
41
|
+
NO_ACTION: String
|
|
42
|
+
DECLINE: String
|
|
43
|
+
|
|
44
|
+
VALUES: Array[String]
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
module PhoneCheckCodeParamsRecentPortAction
|
|
48
|
+
NO_ACTION: String
|
|
49
|
+
DECLINE: String
|
|
50
|
+
|
|
51
|
+
VALUES: Array[String]
|
|
52
|
+
end
|
|
53
|
+
|
|
26
54
|
module PhoneCheckCodeParamsVoipNumberAction
|
|
27
55
|
NO_ACTION: String
|
|
28
56
|
DECLINE: String
|
|
@@ -54,7 +82,7 @@ module Didit
|
|
|
54
82
|
|
|
55
83
|
type phone_assess_risk_params = { phone_number: String, ?country_code: String, ?signals: Didit::Types::risk_signals, ?vendor_data: String, ?metadata: (Hash[String | Symbol, untyped])?, ?enable_social: bool }
|
|
56
84
|
|
|
57
|
-
type phone_check_code_params = { phone_number: String, code: String, ?duplicated_phone_number_action: String, ?disposable_number_action: String, ?voip_number_action: String, ?enable_social: bool, ?phone_no_social_presence_action: String }
|
|
85
|
+
type phone_check_code_params = { phone_number: String, code: String, ?duplicated_phone_number_action: String, ?disposable_number_action: String, ?voip_number_action: String, ?enable_enrichment: bool, ?phone_intelligence_score_action: String, ?phone_type_risk_action: String, ?recent_port_action: String, ?low_phone_trust_action: String, ?enable_social: bool, ?phone_no_social_presence_action: String }
|
|
58
86
|
|
|
59
87
|
type phone_send_code_params = { phone_number: String, ?options: Didit::Types::phone_send_code_params_options, ?signals: Didit::Types::phone_send_code_params_signals, ?vendor_data: String, ?metadata: (Hash[String | Symbol, untyped])? }
|
|
60
88
|
|