didit-sdk 2.35.0 → 2.36.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,34 +58,21 @@ 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
61
+ module PhoneFactorsCreateParamsType
62
+ TOTP: String
75
63
 
76
64
  VALUES: Array[String]
77
65
  end
78
66
 
79
- module PhoneCheckCodeResponseStatus
80
- APPROVED: String
81
- DECLINED: String
82
- FAILED: String
83
- EXPIRED_OR_NOT_FOUND: String
67
+ module PhoneFactorsCreateResponseStatus
68
+ UNVERIFIED: String
69
+ VERIFIED: String
70
+ DISABLED: String
84
71
 
85
72
  VALUES: Array[String]
86
73
  end
87
74
 
88
- module PhoneFactorsCreateParamsType
75
+ module PhoneFactorsCreateResponseType
89
76
  TOTP: String
90
77
 
91
78
  VALUES: Array[String]
@@ -112,6 +99,34 @@ module Didit
112
99
  VALUES: Array[String]
113
100
  end
114
101
 
102
+ module PhoneFactorsListResponseResultsStatus
103
+ UNVERIFIED: String
104
+ VERIFIED: String
105
+ DISABLED: String
106
+
107
+ VALUES: Array[String]
108
+ end
109
+
110
+ module PhoneFactorsListResponseResultsType
111
+ TOTP: String
112
+
113
+ VALUES: Array[String]
114
+ end
115
+
116
+ module PhoneFactorsRetrieveResponseStatus
117
+ UNVERIFIED: String
118
+ VERIFIED: String
119
+ DISABLED: String
120
+
121
+ VALUES: Array[String]
122
+ end
123
+
124
+ module PhoneFactorsRetrieveResponseType
125
+ TOTP: String
126
+
127
+ VALUES: Array[String]
128
+ end
129
+
115
130
  module PhoneFactorsUpdateParamsStatus
116
131
  DISABLED: String
117
132
  VERIFIED: String
@@ -119,6 +134,20 @@ module Didit
119
134
  VALUES: Array[String]
120
135
  end
121
136
 
137
+ module PhoneFactorsUpdateResponseStatus
138
+ UNVERIFIED: String
139
+ VERIFIED: String
140
+ DISABLED: String
141
+
142
+ VALUES: Array[String]
143
+ end
144
+
145
+ module PhoneFactorsUpdateResponseType
146
+ TOTP: String
147
+
148
+ VALUES: Array[String]
149
+ end
150
+
122
151
  module PhoneNetworkRegistrationsCreateParamsFeature
123
152
  SILENT_VERIFICATION: String
124
153
  SIM_SWAP: String
@@ -137,6 +166,53 @@ module Didit
137
166
  VALUES: Array[String]
138
167
  end
139
168
 
169
+ module PhoneNetworkRegistrationsCreateResponseFeature
170
+ SILENT_VERIFICATION: String
171
+ SIM_SWAP: String
172
+ NUMBER_VERIFICATION: String
173
+
174
+ VALUES: Array[String]
175
+ end
176
+
177
+ module PhoneNetworkRegistrationsCreateResponseNetworksStatus
178
+ SUBMITTED: String
179
+ IN_REVIEW: String
180
+ APPROVED: String
181
+ REJECTED: String
182
+
183
+ VALUES: Array[String]
184
+ end
185
+
186
+ module PhoneNetworkRegistrationsCreateResponseStatus
187
+ SUBMITTED: String
188
+ IN_REVIEW: String
189
+ APPROVED: String
190
+ PARTLY_APPROVED: String
191
+ REJECTED: String
192
+
193
+ VALUES: Array[String]
194
+ end
195
+
196
+ module PhoneNetworkRegistrationsCreateResponseTestAccess
197
+ ON: String
198
+ OFF: String
199
+
200
+ VALUES: Array[String]
201
+ end
202
+
203
+ module PhoneNetworkRegistrationsCreateResponseTestNumbersStatus
204
+ CODE_SENT: String
205
+ VERIFIED: String
206
+
207
+ VALUES: Array[String]
208
+ end
209
+
210
+ module PhoneNetworkRegistrationsCreateResponseTestNumbersTestAccess
211
+ ON: String
212
+
213
+ VALUES: Array[String]
214
+ end
215
+
140
216
  module PhoneNetworkRegistrationsListParamsFeature
141
217
  SILENT_VERIFICATION: String
142
218
  SIM_SWAP: String
@@ -162,6 +238,84 @@ module Didit
162
238
  VALUES: Array[String]
163
239
  end
164
240
 
241
+ module PhoneNetworkRegistrationsListResponseResultsFeature
242
+ SILENT_VERIFICATION: String
243
+ SIM_SWAP: String
244
+ NUMBER_VERIFICATION: String
245
+
246
+ VALUES: Array[String]
247
+ end
248
+
249
+ module PhoneNetworkRegistrationsListResponseResultsStatus
250
+ SUBMITTED: String
251
+ IN_REVIEW: String
252
+ APPROVED: String
253
+ PARTLY_APPROVED: String
254
+ REJECTED: String
255
+
256
+ VALUES: Array[String]
257
+ end
258
+
259
+ module PhoneNetworkRegistrationsRetrieveResponseFeature
260
+ SILENT_VERIFICATION: String
261
+ SIM_SWAP: String
262
+ NUMBER_VERIFICATION: String
263
+
264
+ VALUES: Array[String]
265
+ end
266
+
267
+ module PhoneNetworkRegistrationsRetrieveResponseNetworksStatus
268
+ SUBMITTED: String
269
+ IN_REVIEW: String
270
+ APPROVED: String
271
+ REJECTED: String
272
+
273
+ VALUES: Array[String]
274
+ end
275
+
276
+ module PhoneNetworkRegistrationsRetrieveResponseStatus
277
+ SUBMITTED: String
278
+ IN_REVIEW: String
279
+ APPROVED: String
280
+ PARTLY_APPROVED: String
281
+ REJECTED: String
282
+
283
+ VALUES: Array[String]
284
+ end
285
+
286
+ module PhoneNetworkRegistrationsRetrieveResponseTestAccess
287
+ ON: String
288
+ OFF: String
289
+
290
+ VALUES: Array[String]
291
+ end
292
+
293
+ module PhoneNetworkRegistrationsRetrieveResponseTestNumbersStatus
294
+ CODE_SENT: String
295
+ VERIFIED: String
296
+
297
+ VALUES: Array[String]
298
+ end
299
+
300
+ module PhoneNetworkRegistrationsRetrieveResponseTestNumbersTestAccess
301
+ ON: String
302
+
303
+ VALUES: Array[String]
304
+ end
305
+
306
+ module PhoneNetworkRegistrationsTestNumbersCreateResponseStatus
307
+ CODE_SENT: String
308
+ VERIFIED: String
309
+
310
+ VALUES: Array[String]
311
+ end
312
+
313
+ module PhoneNetworkRegistrationsTestNumbersCreateResponseTestAccess
314
+ ON: String
315
+
316
+ VALUES: Array[String]
317
+ end
318
+
165
319
  module PhoneSdkKeysCreateParamsPlatform
166
320
  IOS: String
167
321
  ANDROID: String
@@ -170,6 +324,22 @@ module Didit
170
324
  VALUES: Array[String]
171
325
  end
172
326
 
327
+ module PhoneSdkKeysCreateResponsePlatform
328
+ IOS: String
329
+ ANDROID: String
330
+ WEB: String
331
+
332
+ VALUES: Array[String]
333
+ end
334
+
335
+ module PhoneSdkKeysCreateResponseStatus
336
+ ACTIVE: String
337
+ EXPIRING: String
338
+ REVOKED: String
339
+
340
+ VALUES: Array[String]
341
+ end
342
+
173
343
  module PhoneSdkKeysListParamsPlatform
174
344
  IOS: String
175
345
  ANDROID: String
@@ -178,6 +348,38 @@ module Didit
178
348
  VALUES: Array[String]
179
349
  end
180
350
 
351
+ module PhoneSdkKeysListResponseResultsPlatform
352
+ IOS: String
353
+ ANDROID: String
354
+ WEB: String
355
+
356
+ VALUES: Array[String]
357
+ end
358
+
359
+ module PhoneSdkKeysListResponseResultsStatus
360
+ ACTIVE: String
361
+ EXPIRING: String
362
+ REVOKED: String
363
+
364
+ VALUES: Array[String]
365
+ end
366
+
367
+ module PhoneSdkKeysRotateResponsePlatform
368
+ IOS: String
369
+ ANDROID: String
370
+ WEB: String
371
+
372
+ VALUES: Array[String]
373
+ end
374
+
375
+ module PhoneSdkKeysRotateResponseStatus
376
+ ACTIVE: String
377
+ EXPIRING: String
378
+ REVOKED: String
379
+
380
+ VALUES: Array[String]
381
+ end
382
+
181
383
  module PhoneSendCodeParamsOptionsPreferredChannel
182
384
  WHATSAPP: String
183
385
  SMS: String
@@ -200,6 +402,21 @@ module Didit
200
402
  VALUES: Array[String]
201
403
  end
202
404
 
405
+ module PhoneSilentCoverageResponseCountriesNetworksApproval
406
+ LIVE: String
407
+ TEST: String
408
+
409
+ VALUES: Array[String]
410
+ end
411
+
412
+ module PhoneSilentEligibilityResponseReason
413
+ UNSUPPORTED_NETWORK: String
414
+ NOT_MOBILE_DATA: String
415
+ COUNTRY_NOT_COVERED: String
416
+
417
+ VALUES: Array[String]
418
+ end
419
+
203
420
  module PhoneSilentRegistrationsCreateParamsUseCase
204
421
  SIGNUP: String
205
422
  LOGIN: String
@@ -209,74 +426,254 @@ module Didit
209
426
  VALUES: Array[String]
210
427
  end
211
428
 
212
- class PhoneCheckCodeResponse < Didit::Model
213
- def request_id: () -> String?
429
+ module PhoneSilentRegistrationsCreateResponseNetworksStatus
430
+ SUBMITTED: String
431
+ IN_REVIEW: String
432
+ APPROVED: String
433
+ REJECTED: String
434
+
435
+ VALUES: Array[String]
436
+ end
437
+
438
+ module PhoneSilentRegistrationsCreateResponseStatus
439
+ SUBMITTED: String
440
+ IN_REVIEW: String
441
+ APPROVED: String
442
+ PARTLY_APPROVED: String
443
+ REJECTED: String
444
+
445
+ VALUES: Array[String]
446
+ end
447
+
448
+ module PhoneSilentRegistrationsRetrieveResponseNetworksStatus
449
+ SUBMITTED: String
450
+ IN_REVIEW: String
451
+ APPROVED: String
452
+ REJECTED: String
453
+
454
+ VALUES: Array[String]
455
+ end
456
+
457
+ module PhoneSilentRegistrationsRetrieveResponseStatus
458
+ SUBMITTED: String
459
+ IN_REVIEW: String
460
+ APPROVED: String
461
+ PARTLY_APPROVED: String
462
+ REJECTED: String
463
+
464
+ VALUES: Array[String]
465
+ end
466
+
467
+ class PhoneFactorsCreateResponse < Didit::Model
468
+ def factor_id: () -> String
469
+ def `type`: () -> String
470
+ def status: () -> String
471
+ def totp: () -> Didit::Types::PhoneFactorsCreateResponseTotp
472
+ end
473
+
474
+ class PhoneFactorsCreateResponseTotp < Didit::Model
475
+ def uri: () -> String
476
+ end
477
+
478
+ class PhoneFactorsListResponse < Didit::Model
479
+ def count: () -> Integer
480
+ def `next`: () -> String?
481
+ def previous: () -> String?
482
+ def results: () -> Array[Didit::Types::PhoneFactorsListResponseResults]
483
+ end
484
+
485
+ class PhoneFactorsListResponseResults < Didit::Model
486
+ def factor_id: () -> String
487
+ def `type`: () -> String
214
488
  def status: () -> String
215
- def message: () -> String?
216
- def phone: () -> Didit::Types::PhoneCheckCodeResponsePhone?
217
- def vendor_data: () -> String?
218
- def metadata: () -> Hash[String, untyped]?
489
+ def user_id: () -> String?
490
+ def friendly_name: () -> String?
491
+ def metadata: () -> Hash[String, String]?
219
492
  def created_at: () -> Time?
493
+ def last_used_at: () -> Time?
494
+ end
495
+
496
+ class PhoneFactorsRetrieveResponse < Didit::Model
497
+ def factor_id: () -> String
498
+ def `type`: () -> String
499
+ def status: () -> String
500
+ def user_id: () -> String?
501
+ def friendly_name: () -> String?
502
+ def metadata: () -> Hash[String, String]?
503
+ def created_at: () -> Time?
504
+ def last_used_at: () -> Time?
505
+ end
506
+
507
+ class PhoneFactorsUpdateResponse < Didit::Model
508
+ def factor_id: () -> String
509
+ def `type`: () -> String
510
+ def status: () -> String
511
+ def user_id: () -> String?
512
+ def friendly_name: () -> String?
513
+ def metadata: () -> Hash[String, String]?
514
+ def created_at: () -> Time?
515
+ def last_used_at: () -> Time?
516
+ end
517
+
518
+ class PhoneNetworkRegistrationsCreateResponse < Didit::Model
519
+ def registration_id: () -> String
520
+ def feature: () -> String
521
+ def country: () -> String
522
+ def use_case: () -> String?
523
+ def status: () -> String
524
+ def networks: () -> Array[Didit::Types::PhoneNetworkRegistrationsCreateResponseNetworks]?
525
+ def live_at: () -> Time?
526
+ def test_access: () -> String?
527
+ def test_numbers: () -> Array[Didit::Types::PhoneNetworkRegistrationsCreateResponseTestNumbers]?
528
+ end
529
+
530
+ class PhoneNetworkRegistrationsCreateResponseNetworks < Didit::Model
531
+ def name: () -> String
532
+ def status: () -> String
533
+ def decided_at: () -> Time?
534
+ def reason: () -> String?
535
+ end
536
+
537
+ class PhoneNetworkRegistrationsCreateResponseTestNumbers < Didit::Model
538
+ def phone_number: () -> String
539
+ def status: () -> String
220
540
  def verification_id: () -> String?
221
- def attempts: () -> Integer?
541
+ def test_access: () -> String?
222
542
  end
223
543
 
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?
544
+ class PhoneNetworkRegistrationsListResponse < Didit::Model
545
+ def count: () -> Integer
546
+ def `next`: () -> String?
547
+ def previous: () -> String?
548
+ def results: () -> Array[Didit::Types::PhoneNetworkRegistrationsListResponseResults]
549
+ end
550
+
551
+ class PhoneNetworkRegistrationsListResponseResults < Didit::Model
552
+ def registration_id: () -> String
553
+ def feature: () -> String
554
+ def country: () -> String
555
+ def use_case: () -> String?
556
+ def status: () -> String
557
+ end
558
+
559
+ class PhoneNetworkRegistrationsRetrieveResponse < Didit::Model
560
+ def registration_id: () -> String
561
+ def feature: () -> String
562
+ def country: () -> String
563
+ def use_case: () -> String?
564
+ def status: () -> String
565
+ def networks: () -> Array[Didit::Types::PhoneNetworkRegistrationsRetrieveResponseNetworks]?
566
+ def live_at: () -> Time?
567
+ def test_access: () -> String?
568
+ def test_numbers: () -> Array[Didit::Types::PhoneNetworkRegistrationsRetrieveResponseTestNumbers]?
569
+ end
570
+
571
+ class PhoneNetworkRegistrationsRetrieveResponseNetworks < Didit::Model
572
+ def name: () -> String
573
+ def status: () -> String
574
+ def decided_at: () -> Time?
575
+ def reason: () -> String?
576
+ end
577
+
578
+ class PhoneNetworkRegistrationsRetrieveResponseTestNumbers < Didit::Model
579
+ def phone_number: () -> String
580
+ def status: () -> String
581
+ def verification_id: () -> String?
582
+ def test_access: () -> String?
583
+ end
584
+
585
+ class PhoneNetworkRegistrationsTestNumbersCreateResponse < Didit::Model
586
+ def phone_number: () -> String
587
+ def status: () -> String
588
+ def verification_id: () -> String?
589
+ def test_access: () -> String?
590
+ end
591
+
592
+ class PhoneSdkKeysCreateResponse < Didit::Model
593
+ def key_id: () -> String
594
+ def platform: () -> String
595
+ def publishable_key: () -> String?
596
+ def app_ids: () -> Array[String]?
597
+ def status: () -> String
598
+ def created_at: () -> Time?
599
+ end
600
+
601
+ class PhoneSdkKeysListResponse < Didit::Model
602
+ def results: () -> Array[Didit::Types::PhoneSdkKeysListResponseResults]
603
+ end
604
+
605
+ class PhoneSdkKeysListResponseResults < Didit::Model
606
+ def key_id: () -> String
607
+ def platform: () -> String
608
+ def status: () -> String
609
+ end
610
+
611
+ class PhoneSdkKeysRotateResponse < Didit::Model
612
+ def key_id: () -> String
613
+ def platform: () -> String
614
+ def publishable_key: () -> String
615
+ def app_ids: () -> Array[String]?
262
616
  def status: () -> String?
263
- def is_blocklisted: () -> bool?
264
- def api_service: () -> String?
265
- def source: () -> String?
617
+ def created_at: () -> Time?
618
+ def previous_expires_at: () -> Time
266
619
  end
267
620
 
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?
621
+ class PhoneSilentCoverageResponse < Didit::Model
622
+ def countries: () -> Array[Didit::Types::PhoneSilentCoverageResponseCountries]
623
+ end
624
+
625
+ class PhoneSilentCoverageResponseCountries < Didit::Model
626
+ def country: () -> String
627
+ def wifi: () -> bool?
628
+ def networks: () -> Array[Didit::Types::PhoneSilentCoverageResponseCountriesNetworks]
629
+ end
630
+
631
+ class PhoneSilentCoverageResponseCountriesNetworks < Didit::Model
632
+ def name: () -> String
633
+ def approval: () -> String
634
+ end
635
+
636
+ class PhoneSilentEligibilityResponse < Didit::Model
637
+ def eligible: () -> bool
638
+ def reason: () -> String?
639
+ def network: () -> String?
640
+ def country: () -> String?
641
+ def wifi_possible: () -> bool?
642
+ end
643
+
644
+ class PhoneSilentRegistrationsCreateResponse < Didit::Model
645
+ def registration_id: () -> String
646
+ def country: () -> String
647
+ def status: () -> String
648
+ def networks: () -> Array[Didit::Types::PhoneSilentRegistrationsCreateResponseNetworks]?
649
+ def live_at: () -> Time?
650
+ end
651
+
652
+ class PhoneSilentRegistrationsCreateResponseNetworks < Didit::Model
653
+ def name: () -> String
654
+ def status: () -> String
655
+ def decided_at: () -> Time?
656
+ def reason: () -> String?
657
+ end
658
+
659
+ class PhoneSilentRegistrationsRetrieveResponse < Didit::Model
660
+ def registration_id: () -> String
661
+ def country: () -> String
662
+ def status: () -> String
663
+ def networks: () -> Array[Didit::Types::PhoneSilentRegistrationsRetrieveResponseNetworks]?
664
+ def live_at: () -> Time?
665
+ end
666
+
667
+ class PhoneSilentRegistrationsRetrieveResponseNetworks < Didit::Model
668
+ def name: () -> String
669
+ def status: () -> String
670
+ def decided_at: () -> Time?
671
+ def reason: () -> String?
275
672
  end
276
673
 
277
674
  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 }
278
675
 
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 }
676
+ 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 }
280
677
 
281
678
  type phone_factors_create_params = { type: String, user_id: String, ?friendly_name: String, ?metadata: Hash[String | Symbol, String] }
282
679
 
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.35.0
4
+ version: 2.36.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Didit