didit-sdk 2.34.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,6 +58,328 @@ module Didit
58
58
  VALUES: Array[String]
59
59
  end
60
60
 
61
+ module PhoneFactorsCreateParamsType
62
+ TOTP: String
63
+
64
+ VALUES: Array[String]
65
+ end
66
+
67
+ module PhoneFactorsCreateResponseStatus
68
+ UNVERIFIED: String
69
+ VERIFIED: String
70
+ DISABLED: String
71
+
72
+ VALUES: Array[String]
73
+ end
74
+
75
+ module PhoneFactorsCreateResponseType
76
+ TOTP: String
77
+
78
+ VALUES: Array[String]
79
+ end
80
+
81
+ module PhoneFactorsListParamsFormat
82
+ JSON: String
83
+ CSV: String
84
+
85
+ VALUES: Array[String]
86
+ end
87
+
88
+ module PhoneFactorsListParamsStatus
89
+ UNVERIFIED: String
90
+ VERIFIED: String
91
+ DISABLED: String
92
+
93
+ VALUES: Array[String]
94
+ end
95
+
96
+ module PhoneFactorsListParamsType
97
+ TOTP: String
98
+
99
+ VALUES: Array[String]
100
+ end
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
+
130
+ module PhoneFactorsUpdateParamsStatus
131
+ DISABLED: String
132
+ VERIFIED: String
133
+
134
+ VALUES: Array[String]
135
+ end
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
+
151
+ module PhoneNetworkRegistrationsCreateParamsFeature
152
+ SILENT_VERIFICATION: String
153
+ SIM_SWAP: String
154
+ NUMBER_VERIFICATION: String
155
+
156
+ VALUES: Array[String]
157
+ end
158
+
159
+ module PhoneNetworkRegistrationsCreateParamsUseCase
160
+ SIGNUP: String
161
+ LOGIN: String
162
+ PAYMENT: String
163
+ ACCOUNT_RECOVERY: String
164
+ FRAUD_CHECK: String
165
+
166
+ VALUES: Array[String]
167
+ end
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
+
216
+ module PhoneNetworkRegistrationsListParamsFeature
217
+ SILENT_VERIFICATION: String
218
+ SIM_SWAP: String
219
+ NUMBER_VERIFICATION: String
220
+
221
+ VALUES: Array[String]
222
+ end
223
+
224
+ module PhoneNetworkRegistrationsListParamsFormat
225
+ JSON: String
226
+ CSV: String
227
+
228
+ VALUES: Array[String]
229
+ end
230
+
231
+ module PhoneNetworkRegistrationsListParamsStatus
232
+ SUBMITTED: String
233
+ IN_REVIEW: String
234
+ APPROVED: String
235
+ PARTLY_APPROVED: String
236
+ REJECTED: String
237
+
238
+ VALUES: Array[String]
239
+ end
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
+
319
+ module PhoneSdkKeysCreateParamsPlatform
320
+ IOS: String
321
+ ANDROID: String
322
+ WEB: String
323
+
324
+ VALUES: Array[String]
325
+ end
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
+
343
+ module PhoneSdkKeysListParamsPlatform
344
+ IOS: String
345
+ ANDROID: String
346
+ WEB: String
347
+
348
+ VALUES: Array[String]
349
+ end
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
+
61
383
  module PhoneSendCodeParamsOptionsPreferredChannel
62
384
  WHATSAPP: String
63
385
  SMS: String
@@ -80,14 +402,299 @@ module Didit
80
402
  VALUES: Array[String]
81
403
  end
82
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
+
420
+ module PhoneSilentRegistrationsCreateParamsUseCase
421
+ SIGNUP: String
422
+ LOGIN: String
423
+ PAYMENT: String
424
+ ACCOUNT_RECOVERY: String
425
+
426
+ VALUES: Array[String]
427
+ end
428
+
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
488
+ def status: () -> String
489
+ def user_id: () -> String?
490
+ def friendly_name: () -> String?
491
+ def metadata: () -> Hash[String, String]?
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
540
+ def verification_id: () -> String?
541
+ def test_access: () -> String?
542
+ end
543
+
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]?
616
+ def status: () -> String?
617
+ def created_at: () -> Time?
618
+ def previous_expires_at: () -> Time
619
+ end
620
+
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?
672
+ end
673
+
83
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 }
84
675
 
85
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 }
86
677
 
678
+ type phone_factors_create_params = { type: String, user_id: String, ?friendly_name: String, ?metadata: Hash[String | Symbol, String] }
679
+
680
+ type phone_factors_update_params = { ?friendly_name: String, ?metadata: Hash[String | Symbol, String], ?status: String }
681
+
682
+ 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 }
683
+
684
+ type phone_network_registrations_test_numbers_create_params = { phone_number: String }
685
+
686
+ type phone_sdk_keys_create_params = { platform: String, app_ids: Array[String], ?name: String }
687
+
688
+ type phone_sdk_keys_rotate_params = { ?overlap_hours: Integer }
689
+
87
690
  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
691
 
89
692
  type phone_send_code_params_options = { ?code_size: Integer, ?locale: String, ?preferred_channel: String, ?use_white_label_customization: bool, ?sms_sender_name: String? }
90
693
 
91
694
  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 }
695
+
696
+ type phone_silent_eligibility_params = { phone_number: String, ?ip_address: String }
697
+
698
+ 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
699
  end
93
700
  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.36.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Didit