didit-sdk 2.34.0 → 2.35.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.
@@ -58,6 +58,126 @@ module Didit
58
58
  VALUES: Array[String]
59
59
  end
60
60
 
61
+ module PhoneCheckCodeResponsePhoneStatus
62
+ APPROVED: String
63
+ DECLINED: String
64
+ IN_REVIEW: String
65
+ NOT_FINISHED: String
66
+ EXPIRED: String
67
+
68
+ VALUES: Array[String]
69
+ end
70
+
71
+ module PhoneCheckCodeResponsePhoneWarningsLogType
72
+ ERROR: String
73
+ WARNING: String
74
+ INFORMATION: String
75
+
76
+ VALUES: Array[String]
77
+ end
78
+
79
+ module PhoneCheckCodeResponseStatus
80
+ APPROVED: String
81
+ DECLINED: String
82
+ FAILED: String
83
+ EXPIRED_OR_NOT_FOUND: String
84
+
85
+ VALUES: Array[String]
86
+ end
87
+
88
+ module PhoneFactorsCreateParamsType
89
+ TOTP: String
90
+
91
+ VALUES: Array[String]
92
+ end
93
+
94
+ module PhoneFactorsListParamsFormat
95
+ JSON: String
96
+ CSV: String
97
+
98
+ VALUES: Array[String]
99
+ end
100
+
101
+ module PhoneFactorsListParamsStatus
102
+ UNVERIFIED: String
103
+ VERIFIED: String
104
+ DISABLED: String
105
+
106
+ VALUES: Array[String]
107
+ end
108
+
109
+ module PhoneFactorsListParamsType
110
+ TOTP: String
111
+
112
+ VALUES: Array[String]
113
+ end
114
+
115
+ module PhoneFactorsUpdateParamsStatus
116
+ DISABLED: String
117
+ VERIFIED: String
118
+
119
+ VALUES: Array[String]
120
+ end
121
+
122
+ module PhoneNetworkRegistrationsCreateParamsFeature
123
+ SILENT_VERIFICATION: String
124
+ SIM_SWAP: String
125
+ NUMBER_VERIFICATION: String
126
+
127
+ VALUES: Array[String]
128
+ end
129
+
130
+ module PhoneNetworkRegistrationsCreateParamsUseCase
131
+ SIGNUP: String
132
+ LOGIN: String
133
+ PAYMENT: String
134
+ ACCOUNT_RECOVERY: String
135
+ FRAUD_CHECK: String
136
+
137
+ VALUES: Array[String]
138
+ end
139
+
140
+ module PhoneNetworkRegistrationsListParamsFeature
141
+ SILENT_VERIFICATION: String
142
+ SIM_SWAP: String
143
+ NUMBER_VERIFICATION: String
144
+
145
+ VALUES: Array[String]
146
+ end
147
+
148
+ module PhoneNetworkRegistrationsListParamsFormat
149
+ JSON: String
150
+ CSV: String
151
+
152
+ VALUES: Array[String]
153
+ end
154
+
155
+ module PhoneNetworkRegistrationsListParamsStatus
156
+ SUBMITTED: String
157
+ IN_REVIEW: String
158
+ APPROVED: String
159
+ PARTLY_APPROVED: String
160
+ REJECTED: String
161
+
162
+ VALUES: Array[String]
163
+ end
164
+
165
+ module PhoneSdkKeysCreateParamsPlatform
166
+ IOS: String
167
+ ANDROID: String
168
+ WEB: String
169
+
170
+ VALUES: Array[String]
171
+ end
172
+
173
+ module PhoneSdkKeysListParamsPlatform
174
+ IOS: String
175
+ ANDROID: String
176
+ WEB: String
177
+
178
+ VALUES: Array[String]
179
+ end
180
+
61
181
  module PhoneSendCodeParamsOptionsPreferredChannel
62
182
  WHATSAPP: String
63
183
  SMS: String
@@ -80,14 +200,104 @@ module Didit
80
200
  VALUES: Array[String]
81
201
  end
82
202
 
203
+ module PhoneSilentRegistrationsCreateParamsUseCase
204
+ SIGNUP: String
205
+ LOGIN: String
206
+ PAYMENT: String
207
+ ACCOUNT_RECOVERY: String
208
+
209
+ VALUES: Array[String]
210
+ end
211
+
212
+ class PhoneCheckCodeResponse < Didit::Model
213
+ def request_id: () -> String?
214
+ def status: () -> String
215
+ def message: () -> String?
216
+ def phone: () -> Didit::Types::PhoneCheckCodeResponsePhone?
217
+ def vendor_data: () -> String?
218
+ def metadata: () -> Hash[String, untyped]?
219
+ def created_at: () -> Time?
220
+ def verification_id: () -> String?
221
+ def attempts: () -> Integer?
222
+ end
223
+
224
+ class PhoneCheckCodeResponsePhone < Didit::Model
225
+ def status: () -> String?
226
+ def phone_number_prefix: () -> String?
227
+ def phone_number: () -> String?
228
+ def full_number: () -> String?
229
+ def country_code: () -> String?
230
+ def country_name: () -> String?
231
+ def carrier: () -> Didit::Types::PhoneCheckCodeResponsePhoneCarrier?
232
+ def is_disposable: () -> bool?
233
+ def is_virtual: () -> bool?
234
+ def verification_method: () -> String?
235
+ def verification_attempts: () -> Integer?
236
+ def verified_at: () -> Time?
237
+ def warnings: () -> Array[Didit::Types::PhoneCheckCodeResponsePhoneWarnings]?
238
+ def lifecycle: () -> Array[Didit::Types::PhoneCheckCodeResponsePhoneLifecycle]?
239
+ def matches: () -> Array[Didit::Types::PhoneCheckCodeResponsePhoneMatches]?
240
+ def phone_social: () -> Didit::Types::PhoneSocialFootprint?
241
+ def phone_intelligence: () -> Didit::Types::PhoneIntelligence?
242
+ end
243
+
244
+ class PhoneCheckCodeResponsePhoneCarrier < Didit::Model
245
+ def name: () -> String?
246
+ def `type`: () -> String?
247
+ end
248
+
249
+ class PhoneCheckCodeResponsePhoneLifecycle < Didit::Model
250
+ def `type`: () -> String?
251
+ def timestamp: () -> Time?
252
+ def details: () -> Hash[String, untyped]?
253
+ def fee: () -> Float?
254
+ end
255
+
256
+ class PhoneCheckCodeResponsePhoneMatches < Didit::Model
257
+ def session_id: () -> String?
258
+ def session_number: () -> Integer?
259
+ def vendor_data: () -> String?
260
+ def verification_date: () -> String?
261
+ def phone_number: () -> String?
262
+ def status: () -> String?
263
+ def is_blocklisted: () -> bool?
264
+ def api_service: () -> String?
265
+ def source: () -> String?
266
+ end
267
+
268
+ class PhoneCheckCodeResponsePhoneWarnings < Didit::Model
269
+ def feature: () -> String?
270
+ def risk: () -> String?
271
+ def additional_data: () -> Hash[String, untyped]?
272
+ def log_type: () -> String?
273
+ def short_description: () -> String?
274
+ def long_description: () -> String?
275
+ end
276
+
83
277
  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 }
84
278
 
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 }
279
+ 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, ?factor_id: String }
280
+
281
+ type phone_factors_create_params = { type: String, user_id: String, ?friendly_name: String, ?metadata: Hash[String | Symbol, String] }
282
+
283
+ type phone_factors_update_params = { ?friendly_name: String, ?metadata: Hash[String | Symbol, String], ?status: String }
284
+
285
+ type phone_network_registrations_create_params = { feature: String, country: String, use_case: String, ?networks: Array[String], company_name: String, website: String, ?purpose: String, ?monthly_volume: Integer }
286
+
287
+ type phone_network_registrations_test_numbers_create_params = { phone_number: String }
288
+
289
+ type phone_sdk_keys_create_params = { platform: String, app_ids: Array[String], ?name: String }
290
+
291
+ type phone_sdk_keys_rotate_params = { ?overlap_hours: Integer }
86
292
 
87
293
  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])? }
88
294
 
89
295
  type phone_send_code_params_options = { ?code_size: Integer, ?locale: String, ?preferred_channel: String, ?use_white_label_customization: bool, ?sms_sender_name: String? }
90
296
 
91
297
  type phone_send_code_params_signals = { ?ip: String, ?device_id: String, ?device_platform: String, ?device_model: String, ?os_version: String, ?app_version: String, ?user_agent: String }
298
+
299
+ type phone_silent_eligibility_params = { phone_number: String, ?ip_address: String }
300
+
301
+ type phone_silent_registrations_create_params = { country: String, ?networks: Array[String], use_case: String, company_name: String, website: String, ?monthly_volume: Integer, ?flow_screenshots: Array[String] }
92
302
  end
93
303
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: didit-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.34.0
4
+ version: 2.35.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Didit