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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +36 -0
- data/lib/didit/resources/bank.rb +61 -69
- data/lib/didit/resources/phone.rb +74 -44
- data/lib/didit/types/components.rb +101 -339
- data/lib/didit/types/phone.rb +537 -80
- data/lib/didit/types.rb +72 -48
- data/lib/didit/version.rb +1 -1
- data/sig/didit/resources/phone.rbs +16 -16
- data/sig/didit/types/components.rbs +82 -288
- data/sig/didit/types/phone.rbs +473 -76
- metadata +1 -1
|
@@ -851,9 +851,9 @@ module Didit
|
|
|
851
851
|
VALUES = [CREDIT, DEBIT].freeze
|
|
852
852
|
end
|
|
853
853
|
|
|
854
|
-
# How `id` was matched. `bank_reference` and `route_id` are stable. `derived` is matched by
|
|
855
|
-
# while the bank keeps reporting the entry unchanged, and a correction by the bank can then
|
|
856
|
-
# `removed` and one `added`.
|
|
854
|
+
# How `id` was matched within the connection. `bank_reference` and `route_id` are stable. `derived` is matched by
|
|
855
|
+
# content: it is stable while the bank keeps reporting the entry unchanged, and a correction by the bank can then
|
|
856
|
+
# appear as one `removed` and one `added`. Across connections only a `bank_reference` is a reliable key.
|
|
857
857
|
module BankTransactionIdentityQuality
|
|
858
858
|
BANK_REFERENCE = "bank_reference"
|
|
859
859
|
ROUTE_ID = "route_id"
|
|
@@ -3431,38 +3431,6 @@ module Didit
|
|
|
3431
3431
|
VALUES = [PENDING, PROCESSING, COMPLETED, FAILED].freeze
|
|
3432
3432
|
end
|
|
3433
3433
|
|
|
3434
|
-
# `unverified` until the first successful check, then `verified`.
|
|
3435
|
-
module PhoneFactorEnrollmentStatus
|
|
3436
|
-
UNVERIFIED = "unverified"
|
|
3437
|
-
VERIFIED = "verified"
|
|
3438
|
-
DISABLED = "disabled"
|
|
3439
|
-
|
|
3440
|
-
VALUES = [UNVERIFIED, VERIFIED, DISABLED].freeze
|
|
3441
|
-
end
|
|
3442
|
-
|
|
3443
|
-
# The factor type.
|
|
3444
|
-
module PhoneFactorEnrollmentType
|
|
3445
|
-
TOTP = "totp"
|
|
3446
|
-
|
|
3447
|
-
VALUES = [TOTP].freeze
|
|
3448
|
-
end
|
|
3449
|
-
|
|
3450
|
-
# `unverified` until the first successful check, `verified` after it, `disabled` while its checks are turned off.
|
|
3451
|
-
module PhoneFactorStatus
|
|
3452
|
-
UNVERIFIED = "unverified"
|
|
3453
|
-
VERIFIED = "verified"
|
|
3454
|
-
DISABLED = "disabled"
|
|
3455
|
-
|
|
3456
|
-
VALUES = [UNVERIFIED, VERIFIED, DISABLED].freeze
|
|
3457
|
-
end
|
|
3458
|
-
|
|
3459
|
-
# The factor.
|
|
3460
|
-
module PhoneFactorType
|
|
3461
|
-
TOTP = "totp"
|
|
3462
|
-
|
|
3463
|
-
VALUES = [TOTP].freeze
|
|
3464
|
-
end
|
|
3465
|
-
|
|
3466
3434
|
# Whether the signal raised the risk or added trust.
|
|
3467
3435
|
module PhoneIntelligenceReasonCodesDirection
|
|
3468
3436
|
RISK = "risk"
|
|
@@ -3471,84 +3439,6 @@ module Didit
|
|
|
3471
3439
|
VALUES = [RISK, TRUST].freeze
|
|
3472
3440
|
end
|
|
3473
3441
|
|
|
3474
|
-
# Where this network stands: `submitted` - the request reached it; `in_review` - it is reviewing; `approved`;
|
|
3475
|
-
# `rejected`.
|
|
3476
|
-
module PhoneNetworkDecisionStatus
|
|
3477
|
-
SUBMITTED = "submitted"
|
|
3478
|
-
IN_REVIEW = "in_review"
|
|
3479
|
-
APPROVED = "approved"
|
|
3480
|
-
REJECTED = "rejected"
|
|
3481
|
-
|
|
3482
|
-
VALUES = [SUBMITTED, IN_REVIEW, APPROVED, REJECTED].freeze
|
|
3483
|
-
end
|
|
3484
|
-
|
|
3485
|
-
# The network feature.
|
|
3486
|
-
module PhoneNetworkRegistrationFeature
|
|
3487
|
-
SILENT_VERIFICATION = "silent_verification"
|
|
3488
|
-
SIM_SWAP = "sim_swap"
|
|
3489
|
-
NUMBER_VERIFICATION = "number_verification"
|
|
3490
|
-
|
|
3491
|
-
VALUES = [SILENT_VERIFICATION, SIM_SWAP, NUMBER_VERIFICATION].freeze
|
|
3492
|
-
end
|
|
3493
|
-
|
|
3494
|
-
# `submitted` - sent to the networks; `in_review` - they are reviewing; `approved` - every network approved;
|
|
3495
|
-
# `partly_approved` - some approved and some rejected; `rejected` - none approved.
|
|
3496
|
-
module PhoneNetworkRegistrationStatus
|
|
3497
|
-
SUBMITTED = "submitted"
|
|
3498
|
-
IN_REVIEW = "in_review"
|
|
3499
|
-
APPROVED = "approved"
|
|
3500
|
-
PARTLY_APPROVED = "partly_approved"
|
|
3501
|
-
REJECTED = "rejected"
|
|
3502
|
-
|
|
3503
|
-
VALUES = [SUBMITTED, IN_REVIEW, APPROVED, PARTLY_APPROVED, REJECTED].freeze
|
|
3504
|
-
end
|
|
3505
|
-
|
|
3506
|
-
# The network feature.
|
|
3507
|
-
module PhoneNetworkRegistrationSummaryFeature
|
|
3508
|
-
SILENT_VERIFICATION = "silent_verification"
|
|
3509
|
-
SIM_SWAP = "sim_swap"
|
|
3510
|
-
NUMBER_VERIFICATION = "number_verification"
|
|
3511
|
-
|
|
3512
|
-
VALUES = [SILENT_VERIFICATION, SIM_SWAP, NUMBER_VERIFICATION].freeze
|
|
3513
|
-
end
|
|
3514
|
-
|
|
3515
|
-
# Where the registration stands.
|
|
3516
|
-
module PhoneNetworkRegistrationSummaryStatus
|
|
3517
|
-
SUBMITTED = "submitted"
|
|
3518
|
-
IN_REVIEW = "in_review"
|
|
3519
|
-
APPROVED = "approved"
|
|
3520
|
-
PARTLY_APPROVED = "partly_approved"
|
|
3521
|
-
REJECTED = "rejected"
|
|
3522
|
-
|
|
3523
|
-
VALUES = [SUBMITTED, IN_REVIEW, APPROVED, PARTLY_APPROVED, REJECTED].freeze
|
|
3524
|
-
end
|
|
3525
|
-
|
|
3526
|
-
# `on` while the networks review: the feature answers for your verified test numbers, marked `test: true`. `off`
|
|
3527
|
-
# once the registration is approved or rejected.
|
|
3528
|
-
module PhoneNetworkRegistrationTestAccess
|
|
3529
|
-
ON = "on"
|
|
3530
|
-
OFF = "off"
|
|
3531
|
-
|
|
3532
|
-
VALUES = [ON, OFF].freeze
|
|
3533
|
-
end
|
|
3534
|
-
|
|
3535
|
-
# `code_sent` - Didit sent it a code, which makes it a verified test number once checked; `verified` - it answers
|
|
3536
|
-
# the feature under test access.
|
|
3537
|
-
module PhoneNetworkRegistrationTestNumberStatus
|
|
3538
|
-
CODE_SENT = "code_sent"
|
|
3539
|
-
VERIFIED = "verified"
|
|
3540
|
-
|
|
3541
|
-
VALUES = [CODE_SENT, VERIFIED].freeze
|
|
3542
|
-
end
|
|
3543
|
-
|
|
3544
|
-
# `on` - the registration is under review, so the feature answers for its test numbers, with `test: true` in the
|
|
3545
|
-
# answer.
|
|
3546
|
-
module PhoneNetworkRegistrationTestNumberTestAccess
|
|
3547
|
-
ON = "on"
|
|
3548
|
-
|
|
3549
|
-
VALUES = [ON].freeze
|
|
3550
|
-
end
|
|
3551
|
-
|
|
3552
3442
|
# Decision for this phone number. Mirrors the top-level `status`.
|
|
3553
3443
|
module PhoneRiskResponsePhoneStatus
|
|
3554
3444
|
APPROVED = "Approved"
|
|
@@ -3568,102 +3458,47 @@ module Didit
|
|
|
3568
3458
|
VALUES = [APPROVED, IN_REVIEW, DECLINED].freeze
|
|
3569
3459
|
end
|
|
3570
3460
|
|
|
3571
|
-
#
|
|
3572
|
-
module
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
VALUES = [IOS, ANDROID, WEB].freeze
|
|
3578
|
-
end
|
|
3579
|
-
|
|
3580
|
-
# The platform it is for.
|
|
3581
|
-
module PhoneSdkKeyRotatedPlatform
|
|
3582
|
-
IOS = "ios"
|
|
3583
|
-
ANDROID = "android"
|
|
3584
|
-
WEB = "web"
|
|
3585
|
-
|
|
3586
|
-
VALUES = [IOS, ANDROID, WEB].freeze
|
|
3587
|
-
end
|
|
3588
|
-
|
|
3589
|
-
# `active` - the new value works; `expiring` - it was rotated again; `revoked` - it stopped working.
|
|
3590
|
-
module PhoneSdkKeyRotatedStatus
|
|
3591
|
-
ACTIVE = "active"
|
|
3592
|
-
EXPIRING = "expiring"
|
|
3593
|
-
REVOKED = "revoked"
|
|
3594
|
-
|
|
3595
|
-
VALUES = [ACTIVE, EXPIRING, REVOKED].freeze
|
|
3596
|
-
end
|
|
3597
|
-
|
|
3598
|
-
# `active` - it works; `expiring` - it was rotated and stops working at `previous_expires_at`; `revoked` - it
|
|
3599
|
-
# stopped working.
|
|
3600
|
-
module PhoneSdkKeyStatus
|
|
3601
|
-
ACTIVE = "active"
|
|
3602
|
-
EXPIRING = "expiring"
|
|
3603
|
-
REVOKED = "revoked"
|
|
3604
|
-
|
|
3605
|
-
VALUES = [ACTIVE, EXPIRING, REVOKED].freeze
|
|
3606
|
-
end
|
|
3607
|
-
|
|
3608
|
-
# The platform it is for.
|
|
3609
|
-
module PhoneSdkKeySummaryPlatform
|
|
3610
|
-
IOS = "ios"
|
|
3611
|
-
ANDROID = "android"
|
|
3612
|
-
WEB = "web"
|
|
3613
|
-
|
|
3614
|
-
VALUES = [IOS, ANDROID, WEB].freeze
|
|
3615
|
-
end
|
|
3616
|
-
|
|
3617
|
-
# An active key works, an expiring key works until its rotation overlap ends, and a revoked key has stopped
|
|
3618
|
-
# working.
|
|
3619
|
-
module PhoneSdkKeySummaryStatus
|
|
3620
|
-
ACTIVE = "active"
|
|
3621
|
-
EXPIRING = "expiring"
|
|
3622
|
-
REVOKED = "revoked"
|
|
3623
|
-
|
|
3624
|
-
VALUES = [ACTIVE, EXPIRING, REVOKED].freeze
|
|
3625
|
-
end
|
|
3626
|
-
|
|
3627
|
-
# `live` - the network answers silent checks for production traffic. `test` - it answers only while it approves
|
|
3628
|
-
# production use, for the verified test numbers of a registration.
|
|
3629
|
-
module PhoneSilentCoverageNetworkApproval
|
|
3630
|
-
LIVE = "live"
|
|
3631
|
-
TEST = "test"
|
|
3461
|
+
# Completeness of the WhatsApp profile. Phone only; null for email.
|
|
3462
|
+
module PhoneSocialFootprintWhatsappProfileCompleteness
|
|
3463
|
+
BASIC = "Basic"
|
|
3464
|
+
PARTIAL = "Partial"
|
|
3465
|
+
COMPLETE = "Complete"
|
|
3466
|
+
NOT_PRESENT = "Not Present"
|
|
3632
3467
|
|
|
3633
|
-
VALUES = [
|
|
3468
|
+
VALUES = [BASIC, PARTIAL, COMPLETE, NOT_PRESENT].freeze
|
|
3634
3469
|
end
|
|
3635
3470
|
|
|
3636
|
-
#
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3471
|
+
# Final status of the phone verification. Matches the top-level `status` for finalized checks.
|
|
3472
|
+
module PhoneVerificationCheckResponsePhoneStatus
|
|
3473
|
+
APPROVED = "Approved"
|
|
3474
|
+
DECLINED = "Declined"
|
|
3475
|
+
IN_REVIEW = "In Review"
|
|
3476
|
+
NOT_FINISHED = "Not Finished"
|
|
3477
|
+
EXPIRED = "Expired"
|
|
3643
3478
|
|
|
3644
|
-
VALUES = [
|
|
3479
|
+
VALUES = [APPROVED, DECLINED, IN_REVIEW, NOT_FINISHED, EXPIRED].freeze
|
|
3645
3480
|
end
|
|
3646
3481
|
|
|
3647
|
-
# `
|
|
3648
|
-
#
|
|
3649
|
-
module
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
PARTLY_APPROVED = "partly_approved"
|
|
3654
|
-
REJECTED = "rejected"
|
|
3482
|
+
# Severity. `error` risks decline the verification, `warning` flags it for review, `information` is recorded
|
|
3483
|
+
# without affecting the status.
|
|
3484
|
+
module PhoneVerificationCheckResponsePhoneWarningsLogType
|
|
3485
|
+
ERROR = "error"
|
|
3486
|
+
WARNING = "warning"
|
|
3487
|
+
INFORMATION = "information"
|
|
3655
3488
|
|
|
3656
|
-
VALUES = [
|
|
3489
|
+
VALUES = [ERROR, WARNING, INFORMATION].freeze
|
|
3657
3490
|
end
|
|
3658
3491
|
|
|
3659
|
-
#
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
|
|
3492
|
+
# `Approved` - correct code, no declining risk. `Declined` - terminal: a declining risk matched or the attempt
|
|
3493
|
+
# budget (3) was exhausted. `Failed` - wrong code, attempts remaining. `Expired or Not Found` - no pending
|
|
3494
|
+
# verification for this number in the last 5 minutes.
|
|
3495
|
+
module PhoneVerificationCheckResponseStatus
|
|
3496
|
+
APPROVED = "Approved"
|
|
3497
|
+
DECLINED = "Declined"
|
|
3498
|
+
FAILED = "Failed"
|
|
3499
|
+
EXPIRED_OR_NOT_FOUND = "Expired or Not Found"
|
|
3665
3500
|
|
|
3666
|
-
VALUES = [
|
|
3501
|
+
VALUES = [APPROVED, DECLINED, FAILED, EXPIRED_OR_NOT_FOUND].freeze
|
|
3667
3502
|
end
|
|
3668
3503
|
|
|
3669
3504
|
# `Success` - OTP sent to a new verification. `Retry` - OTP re-sent for the pending verification created by a
|
|
@@ -8654,7 +8489,7 @@ module Didit
|
|
|
8654
8489
|
field :role, "role", :string
|
|
8655
8490
|
end
|
|
8656
8491
|
|
|
8657
|
-
# Full identifiers, returned to server-side callers with
|
|
8492
|
+
# Full identifiers, returned to server-side callers with access to Bank data.
|
|
8658
8493
|
class BankAccountIdentifiers < Didit::Model
|
|
8659
8494
|
field :iban, "iban", :string
|
|
8660
8495
|
field :bic, "bic", :string
|
|
@@ -11777,37 +11612,6 @@ module Didit
|
|
|
11777
11612
|
field :failed_insufficient_balance, "failed_insufficient_balance", :integer
|
|
11778
11613
|
end
|
|
11779
11614
|
|
|
11780
|
-
class PhoneFactor < Didit::Model
|
|
11781
|
-
field :factor_id, "factor_id", :string
|
|
11782
|
-
field :type, "type", :string
|
|
11783
|
-
field :status, "status", :string
|
|
11784
|
-
field :user_id, "user_id", :string
|
|
11785
|
-
field :friendly_name, "friendly_name", :string
|
|
11786
|
-
field :metadata, "metadata", [:map, :string]
|
|
11787
|
-
field :created_at, "created_at", :datetime
|
|
11788
|
-
field :last_used_at, "last_used_at", :datetime
|
|
11789
|
-
end
|
|
11790
|
-
|
|
11791
|
-
# The enrollment of a TOTP factor: `totp.uri` is what the authenticator app needs.
|
|
11792
|
-
class PhoneFactorEnrollment < Didit::Model
|
|
11793
|
-
field :factor_id, "factor_id", :string
|
|
11794
|
-
field :type, "type", :string
|
|
11795
|
-
field :status, "status", :string
|
|
11796
|
-
field :totp, "totp", "PhoneFactorEnrollmentTotp"
|
|
11797
|
-
end
|
|
11798
|
-
|
|
11799
|
-
# A `totp` factor: what the authenticator app needs.
|
|
11800
|
-
class PhoneFactorEnrollmentTotp < Didit::Model
|
|
11801
|
-
field :uri, "uri", :string
|
|
11802
|
-
end
|
|
11803
|
-
|
|
11804
|
-
class PhoneFactorsPage < Didit::Model
|
|
11805
|
-
field :count, "count", :integer
|
|
11806
|
-
field :next, "next", :string
|
|
11807
|
-
field :previous, "previous", :string
|
|
11808
|
-
field :results, "results", [:array, "PhoneFactor"]
|
|
11809
|
-
end
|
|
11810
|
-
|
|
11811
11615
|
# Normalized phone-intelligence block. Present only when the intelligence add-on ran for this lookup; when present
|
|
11812
11616
|
# it is also exposed under the `enrichment` alias with identical values.
|
|
11813
11617
|
class PhoneIntelligence < Didit::Model
|
|
@@ -11843,48 +11647,6 @@ module Didit
|
|
|
11843
11647
|
field :source, "source", :string
|
|
11844
11648
|
end
|
|
11845
11649
|
|
|
11846
|
-
# One mobile network's decision on a registration.
|
|
11847
|
-
class PhoneNetworkDecision < Didit::Model
|
|
11848
|
-
field :name, "name", :string
|
|
11849
|
-
field :status, "status", :string
|
|
11850
|
-
field :decided_at, "decided_at", :datetime
|
|
11851
|
-
field :reason, "reason", :string
|
|
11852
|
-
end
|
|
11853
|
-
|
|
11854
|
-
class PhoneNetworkRegistration < Didit::Model
|
|
11855
|
-
field :registration_id, "registration_id", :string
|
|
11856
|
-
field :feature, "feature", :string
|
|
11857
|
-
field :country, "country", :string
|
|
11858
|
-
field :use_case, "use_case", :string
|
|
11859
|
-
field :status, "status", :string
|
|
11860
|
-
field :networks, "networks", [:array, "PhoneNetworkDecision"]
|
|
11861
|
-
field :live_at, "live_at", :datetime
|
|
11862
|
-
field :test_access, "test_access", :string
|
|
11863
|
-
field :test_numbers, "test_numbers", [:array, "PhoneNetworkRegistrationTestNumber"]
|
|
11864
|
-
end
|
|
11865
|
-
|
|
11866
|
-
class PhoneNetworkRegistrationSummary < Didit::Model
|
|
11867
|
-
field :registration_id, "registration_id", :string
|
|
11868
|
-
field :feature, "feature", :string
|
|
11869
|
-
field :country, "country", :string
|
|
11870
|
-
field :use_case, "use_case", :string
|
|
11871
|
-
field :status, "status", :string
|
|
11872
|
-
end
|
|
11873
|
-
|
|
11874
|
-
class PhoneNetworkRegistrationTestNumber < Didit::Model
|
|
11875
|
-
field :phone_number, "phone_number", :string
|
|
11876
|
-
field :status, "status", :string
|
|
11877
|
-
field :verification_id, "verification_id", :string
|
|
11878
|
-
field :test_access, "test_access", :string
|
|
11879
|
-
end
|
|
11880
|
-
|
|
11881
|
-
class PhoneNetworkRegistrationsPage < Didit::Model
|
|
11882
|
-
field :count, "count", :integer
|
|
11883
|
-
field :next, "next", :string
|
|
11884
|
-
field :previous, "previous", :string
|
|
11885
|
-
field :results, "results", [:array, "PhoneNetworkRegistrationSummary"]
|
|
11886
|
-
end
|
|
11887
|
-
|
|
11888
11650
|
class PhoneRiskResponse < Didit::Model
|
|
11889
11651
|
field :request_id, "request_id", :string
|
|
11890
11652
|
field :status, "status", :string
|
|
@@ -11922,72 +11684,6 @@ module Didit
|
|
|
11922
11684
|
field :type, "type", :string
|
|
11923
11685
|
end
|
|
11924
11686
|
|
|
11925
|
-
# A publishable key of a client SDK. It is not a secret: it is bound to the app ids it may run in and cannot make
|
|
11926
|
-
# a server call.
|
|
11927
|
-
class PhoneSdkKey < Didit::Model
|
|
11928
|
-
field :key_id, "key_id", :string
|
|
11929
|
-
field :platform, "platform", :string
|
|
11930
|
-
field :publishable_key, "publishable_key", :string
|
|
11931
|
-
field :app_ids, "app_ids", [:array, :string]
|
|
11932
|
-
field :status, "status", :string
|
|
11933
|
-
field :created_at, "created_at", :datetime
|
|
11934
|
-
end
|
|
11935
|
-
|
|
11936
|
-
class PhoneSdkKeyRotated < Didit::Model
|
|
11937
|
-
field :key_id, "key_id", :string
|
|
11938
|
-
field :platform, "platform", :string
|
|
11939
|
-
field :publishable_key, "publishable_key", :string
|
|
11940
|
-
field :app_ids, "app_ids", [:array, :string]
|
|
11941
|
-
field :status, "status", :string
|
|
11942
|
-
field :created_at, "created_at", :datetime
|
|
11943
|
-
field :previous_expires_at, "previous_expires_at", :datetime
|
|
11944
|
-
end
|
|
11945
|
-
|
|
11946
|
-
# A client SDK key as returned by the list operation.
|
|
11947
|
-
class PhoneSdkKeySummary < Didit::Model
|
|
11948
|
-
field :key_id, "key_id", :string
|
|
11949
|
-
field :platform, "platform", :string
|
|
11950
|
-
field :status, "status", :string
|
|
11951
|
-
end
|
|
11952
|
-
|
|
11953
|
-
# The publishable keys of your client SDKs.
|
|
11954
|
-
class PhoneSdkKeysPage < Didit::Model
|
|
11955
|
-
field :results, "results", [:array, "PhoneSdkKeySummary"]
|
|
11956
|
-
end
|
|
11957
|
-
|
|
11958
|
-
# Where silent verification runs: one entry per country, and per country the mobile networks that can run the
|
|
11959
|
-
# check.
|
|
11960
|
-
class PhoneSilentCoverage < Didit::Model
|
|
11961
|
-
field :countries, "countries", [:array, "PhoneSilentCoverageCountry"]
|
|
11962
|
-
end
|
|
11963
|
-
|
|
11964
|
-
class PhoneSilentCoverageCountry < Didit::Model
|
|
11965
|
-
field :country, "country", :string
|
|
11966
|
-
field :wifi, "wifi", :boolean
|
|
11967
|
-
field :networks, "networks", [:array, "PhoneSilentCoverageNetwork"]
|
|
11968
|
-
end
|
|
11969
|
-
|
|
11970
|
-
class PhoneSilentCoverageNetwork < Didit::Model
|
|
11971
|
-
field :name, "name", :string
|
|
11972
|
-
field :approval, "approval", :string
|
|
11973
|
-
end
|
|
11974
|
-
|
|
11975
|
-
class PhoneSilentEligibility < Didit::Model
|
|
11976
|
-
field :eligible, "eligible", :boolean
|
|
11977
|
-
field :reason, "reason", :string
|
|
11978
|
-
field :network, "network", :string
|
|
11979
|
-
field :country, "country", :string
|
|
11980
|
-
field :wifi_possible, "wifi_possible", :boolean
|
|
11981
|
-
end
|
|
11982
|
-
|
|
11983
|
-
class PhoneSilentRegistration < Didit::Model
|
|
11984
|
-
field :registration_id, "registration_id", :string
|
|
11985
|
-
field :country, "country", :string
|
|
11986
|
-
field :status, "status", :string
|
|
11987
|
-
field :networks, "networks", [:array, "PhoneNetworkDecision"]
|
|
11988
|
-
field :live_at, "live_at", :datetime
|
|
11989
|
-
end
|
|
11990
|
-
|
|
11991
11687
|
# Social footprint of the phone number: the online platforms it is registered on. Present only when
|
|
11992
11688
|
# `enable_social` was set and the check completed. Every count may be null when no data was returned for it.
|
|
11993
11689
|
# `profiles_registered: 0` means the platforms were checked and the phone number was found on none of them - a
|
|
@@ -12012,6 +11708,72 @@ module Didit
|
|
|
12012
11708
|
field :profiles, "profiles", [:map, "SocialFootprintProfile"]
|
|
12013
11709
|
end
|
|
12014
11710
|
|
|
11711
|
+
class PhoneVerificationCheckResponse < Didit::Model
|
|
11712
|
+
field :request_id, "request_id", :string
|
|
11713
|
+
field :status, "status", :string
|
|
11714
|
+
field :message, "message", :string
|
|
11715
|
+
field :phone, "phone", "PhoneVerificationCheckResponsePhone"
|
|
11716
|
+
field :vendor_data, "vendor_data", :string
|
|
11717
|
+
field :metadata, "metadata", :any
|
|
11718
|
+
field :created_at, "created_at", :datetime
|
|
11719
|
+
end
|
|
11720
|
+
|
|
11721
|
+
# Full phone report. Present (non-null) only on finalized outcomes (`Approved`/`Declined`); `null` on `Failed` and
|
|
11722
|
+
# absent on `Expired or Not Found`.
|
|
11723
|
+
class PhoneVerificationCheckResponsePhone < Didit::Model
|
|
11724
|
+
field :status, "status", :string
|
|
11725
|
+
field :phone_number_prefix, "phone_number_prefix", :string
|
|
11726
|
+
field :phone_number, "phone_number", :string
|
|
11727
|
+
field :full_number, "full_number", :string
|
|
11728
|
+
field :country_code, "country_code", :string
|
|
11729
|
+
field :country_name, "country_name", :string
|
|
11730
|
+
field :carrier, "carrier", "PhoneVerificationCheckResponsePhoneCarrier"
|
|
11731
|
+
field :is_disposable, "is_disposable", :boolean
|
|
11732
|
+
field :is_virtual, "is_virtual", :boolean
|
|
11733
|
+
field :verification_method, "verification_method", :string
|
|
11734
|
+
field :verification_attempts, "verification_attempts", :integer
|
|
11735
|
+
field :verified_at, "verified_at", :datetime
|
|
11736
|
+
field :warnings, "warnings", [:array, "PhoneVerificationCheckResponsePhoneWarnings"]
|
|
11737
|
+
field :lifecycle, "lifecycle", [:array, "PhoneVerificationCheckResponsePhoneLifecycle"]
|
|
11738
|
+
field :matches, "matches", [:array, "PhoneVerificationCheckResponsePhoneMatches"]
|
|
11739
|
+
field :phone_social, "phone_social", "PhoneSocialFootprint"
|
|
11740
|
+
field :phone_intelligence, "phone_intelligence", "PhoneIntelligence"
|
|
11741
|
+
end
|
|
11742
|
+
|
|
11743
|
+
# Current network serving the number, from the carrier lookup run at finalization.
|
|
11744
|
+
class PhoneVerificationCheckResponsePhoneCarrier < Didit::Model
|
|
11745
|
+
field :name, "name", :string
|
|
11746
|
+
field :type, "type", :string
|
|
11747
|
+
end
|
|
11748
|
+
|
|
11749
|
+
class PhoneVerificationCheckResponsePhoneLifecycle < Didit::Model
|
|
11750
|
+
field :type, "type", :string
|
|
11751
|
+
field :timestamp, "timestamp", :datetime
|
|
11752
|
+
field :details, "details", :any
|
|
11753
|
+
field :fee, "fee", :float
|
|
11754
|
+
end
|
|
11755
|
+
|
|
11756
|
+
class PhoneVerificationCheckResponsePhoneMatches < Didit::Model
|
|
11757
|
+
field :session_id, "session_id", :string
|
|
11758
|
+
field :session_number, "session_number", :integer
|
|
11759
|
+
field :vendor_data, "vendor_data", :string
|
|
11760
|
+
field :verification_date, "verification_date", :string
|
|
11761
|
+
field :phone_number, "phone_number", :string
|
|
11762
|
+
field :status, "status", :string
|
|
11763
|
+
field :is_blocklisted, "is_blocklisted", :boolean
|
|
11764
|
+
field :api_service, "api_service", :string
|
|
11765
|
+
field :source, "source", :string
|
|
11766
|
+
end
|
|
11767
|
+
|
|
11768
|
+
class PhoneVerificationCheckResponsePhoneWarnings < Didit::Model
|
|
11769
|
+
field :feature, "feature", :string
|
|
11770
|
+
field :risk, "risk", :string
|
|
11771
|
+
field :additional_data, "additional_data", :any
|
|
11772
|
+
field :log_type, "log_type", :string
|
|
11773
|
+
field :short_description, "short_description", :string
|
|
11774
|
+
field :long_description, "long_description", :string
|
|
11775
|
+
end
|
|
11776
|
+
|
|
12015
11777
|
class PhoneVerificationSendResponse < Didit::Model
|
|
12016
11778
|
field :request_id, "request_id", :string
|
|
12017
11779
|
field :status, "status", :string
|