@nexeraid/identity-schemas 2.3.9-dev → 2.3.11-dev
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.
- package/dist/{customers.schema-e457212f.esm.js → customers.schema-2920175f.esm.js} +20 -10
- package/dist/{customers.schema-d0cc26ba.cjs.dev.js → customers.schema-55115ae0.cjs.dev.js} +20 -9
- package/dist/{customers.schema-8092edfa.cjs.prod.js → customers.schema-63a6dab0.cjs.prod.js} +20 -9
- package/dist/declarations/src/crypto.schema.d.ts +5 -0
- package/dist/declarations/src/crypto.schema.d.ts.map +1 -0
- package/dist/declarations/src/currency.schema.d.ts +5 -0
- package/dist/declarations/src/currency.schema.d.ts.map +1 -0
- package/dist/declarations/src/identity-ids.schema.d.ts +22 -2
- package/dist/declarations/src/identity-ids.schema.d.ts.map +1 -1
- package/dist/declarations/src/index.d.ts +4 -0
- package/dist/declarations/src/index.d.ts.map +1 -1
- package/dist/declarations/src/providers/big/BIGBitRankVerifiedScore.schema.d.ts +2 -2
- package/dist/declarations/src/providers/comply-advantage/comply-advantage.schema.d.ts +198 -198
- package/dist/declarations/src/providers/ipquality/ipquality.schema.d.ts +10 -10
- package/dist/declarations/src/providers/merkle-science/merkle-science.schema.d.ts +4 -4
- package/dist/declarations/src/providers/provider.schema.d.ts +558 -558
- package/dist/declarations/src/providers/scorechain/scorechain.schema.d.ts +140 -140
- package/dist/declarations/src/providers/sumsub/sumsub-applicant.schema.d.ts +624 -340
- package/dist/declarations/src/providers/sumsub/sumsub-applicant.schema.d.ts.map +1 -1
- package/dist/declarations/src/providers/sumsub/sumsub-webhooks.schema.d.ts +4 -4
- package/dist/declarations/src/providers/sumsub/sumsub.schema.d.ts +23 -0
- package/dist/declarations/src/providers/sumsub/sumsub.schema.d.ts.map +1 -1
- package/dist/declarations/src/tag.schema.d.ts +24 -0
- package/dist/declarations/src/tag.schema.d.ts.map +1 -0
- package/dist/declarations/src/transaction.schema.d.ts +23 -0
- package/dist/declarations/src/transaction.schema.d.ts.map +1 -0
- package/dist/declarations/src/webhooks/send-verification-flow-webhook.schema.d.ts +302 -302
- package/dist/declarations/src/webhooks/svix.webhooks.schema.d.ts +1460 -1460
- package/dist/{frontend-utilities.schema-f06cfbf0.cjs.dev.js → frontend-utilities.schema-6488d65f.cjs.dev.js} +1 -1
- package/dist/{frontend-utilities.schema-590fdc26.cjs.prod.js → frontend-utilities.schema-716fdfbe.cjs.prod.js} +1 -1
- package/dist/{frontend-utilities.schema-310c23a2.esm.js → frontend-utilities.schema-d269f411.esm.js} +1 -1
- package/dist/{identity-api.schema-e648ecb5.cjs.prod.js → identity-api.schema-7642a9d7.cjs.prod.js} +20 -0
- package/dist/{identity-api.schema-cc2f8a1b.cjs.dev.js → identity-api.schema-7e40f082.cjs.dev.js} +20 -0
- package/dist/{identity-api.schema-12609c1a.esm.js → identity-api.schema-bf32b414.esm.js} +11 -1
- package/dist/nexeraid-identity-schemas.cjs.dev.js +74 -2
- package/dist/nexeraid-identity-schemas.cjs.prod.js +74 -2
- package/dist/nexeraid-identity-schemas.esm.js +45 -4
- package/dist/package.json +1 -1
- package/identity/dist/nexeraid-identity-schemas-identity.cjs.dev.js +1 -1
- package/identity/dist/nexeraid-identity-schemas-identity.cjs.prod.js +1 -1
- package/identity/dist/nexeraid-identity-schemas-identity.esm.js +1 -1
- package/package.json +1 -1
- package/providers/dist/nexeraid-identity-schemas-providers.cjs.dev.js +3 -2
- package/providers/dist/nexeraid-identity-schemas-providers.cjs.prod.js +3 -2
- package/providers/dist/nexeraid-identity-schemas-providers.esm.js +2 -2
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.dev.js +2 -2
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.prod.js +2 -2
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.esm.js +2 -2
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.dev.js +2 -2
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.prod.js +2 -2
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.esm.js +2 -2
|
@@ -326,6 +326,28 @@ export declare const SumSubIndividualApplicantSchema: z.ZodObject<{
|
|
|
326
326
|
}[] | undefined;
|
|
327
327
|
tin?: string | undefined;
|
|
328
328
|
}>>>;
|
|
329
|
+
requiredIdDocs: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
330
|
+
docSets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
331
|
+
idDocSetType: z.ZodEnum<["PHONE_VERIFICATION", "EMAIL_VERIFICATION", "QUESTIONNAIRE", "APPLICANT_DATA", "IDENTITY", "IDENTITY2", "IDENTITY3", "IDENTITY4", "PROOF_OF_RESIDENCE", "PROOF_OF_RESIDENCE2", "SELFIE", "SELFIE2", "COMPANY"]>;
|
|
332
|
+
types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["ID_CARD", "PASSPORT", "DRIVERS", "RESIDENCE_PERMIT", "UTILITY_BILL", "SELFIE", "VIDEO_SELFIE", "PROFILE_IMAGE", "ID_DOC_PHOTO", "AGREEMENT", "CONTRACT", "DRIVERS_TRANSLATION", "INVESTOR_DOC", "VEHICLE_REGISTRATION_CERTIFICATE", "INCOME_SOURCE", "PAYMENT_METHOD", "BANK_CARD", "COVID_VACCINATION_FORM", "OTHER"]>, "many">>>;
|
|
333
|
+
}, "strip", z.ZodTypeAny, {
|
|
334
|
+
idDocSetType: "SELFIE" | "PHONE_VERIFICATION" | "EMAIL_VERIFICATION" | "QUESTIONNAIRE" | "APPLICANT_DATA" | "IDENTITY" | "IDENTITY2" | "IDENTITY3" | "IDENTITY4" | "PROOF_OF_RESIDENCE" | "PROOF_OF_RESIDENCE2" | "SELFIE2" | "COMPANY";
|
|
335
|
+
types?: ("OTHER" | "ID_CARD" | "PASSPORT" | "DRIVERS" | "RESIDENCE_PERMIT" | "UTILITY_BILL" | "SELFIE" | "VIDEO_SELFIE" | "PROFILE_IMAGE" | "ID_DOC_PHOTO" | "AGREEMENT" | "CONTRACT" | "DRIVERS_TRANSLATION" | "INVESTOR_DOC" | "VEHICLE_REGISTRATION_CERTIFICATE" | "INCOME_SOURCE" | "PAYMENT_METHOD" | "BANK_CARD" | "COVID_VACCINATION_FORM")[] | null | undefined;
|
|
336
|
+
}, {
|
|
337
|
+
idDocSetType: "SELFIE" | "PHONE_VERIFICATION" | "EMAIL_VERIFICATION" | "QUESTIONNAIRE" | "APPLICANT_DATA" | "IDENTITY" | "IDENTITY2" | "IDENTITY3" | "IDENTITY4" | "PROOF_OF_RESIDENCE" | "PROOF_OF_RESIDENCE2" | "SELFIE2" | "COMPANY";
|
|
338
|
+
types?: ("OTHER" | "ID_CARD" | "PASSPORT" | "DRIVERS" | "RESIDENCE_PERMIT" | "UTILITY_BILL" | "SELFIE" | "VIDEO_SELFIE" | "PROFILE_IMAGE" | "ID_DOC_PHOTO" | "AGREEMENT" | "CONTRACT" | "DRIVERS_TRANSLATION" | "INVESTOR_DOC" | "VEHICLE_REGISTRATION_CERTIFICATE" | "INCOME_SOURCE" | "PAYMENT_METHOD" | "BANK_CARD" | "COVID_VACCINATION_FORM")[] | null | undefined;
|
|
339
|
+
}>, "many">>>;
|
|
340
|
+
}, "strip", z.ZodTypeAny, {
|
|
341
|
+
docSets?: {
|
|
342
|
+
idDocSetType: "SELFIE" | "PHONE_VERIFICATION" | "EMAIL_VERIFICATION" | "QUESTIONNAIRE" | "APPLICANT_DATA" | "IDENTITY" | "IDENTITY2" | "IDENTITY3" | "IDENTITY4" | "PROOF_OF_RESIDENCE" | "PROOF_OF_RESIDENCE2" | "SELFIE2" | "COMPANY";
|
|
343
|
+
types?: ("OTHER" | "ID_CARD" | "PASSPORT" | "DRIVERS" | "RESIDENCE_PERMIT" | "UTILITY_BILL" | "SELFIE" | "VIDEO_SELFIE" | "PROFILE_IMAGE" | "ID_DOC_PHOTO" | "AGREEMENT" | "CONTRACT" | "DRIVERS_TRANSLATION" | "INVESTOR_DOC" | "VEHICLE_REGISTRATION_CERTIFICATE" | "INCOME_SOURCE" | "PAYMENT_METHOD" | "BANK_CARD" | "COVID_VACCINATION_FORM")[] | null | undefined;
|
|
344
|
+
}[] | null | undefined;
|
|
345
|
+
}, {
|
|
346
|
+
docSets?: {
|
|
347
|
+
idDocSetType: "SELFIE" | "PHONE_VERIFICATION" | "EMAIL_VERIFICATION" | "QUESTIONNAIRE" | "APPLICANT_DATA" | "IDENTITY" | "IDENTITY2" | "IDENTITY3" | "IDENTITY4" | "PROOF_OF_RESIDENCE" | "PROOF_OF_RESIDENCE2" | "SELFIE2" | "COMPANY";
|
|
348
|
+
types?: ("OTHER" | "ID_CARD" | "PASSPORT" | "DRIVERS" | "RESIDENCE_PERMIT" | "UTILITY_BILL" | "SELFIE" | "VIDEO_SELFIE" | "PROFILE_IMAGE" | "ID_DOC_PHOTO" | "AGREEMENT" | "CONTRACT" | "DRIVERS_TRANSLATION" | "INVESTOR_DOC" | "VEHICLE_REGISTRATION_CERTIFICATE" | "INCOME_SOURCE" | "PAYMENT_METHOD" | "BANK_CARD" | "COVID_VACCINATION_FORM")[] | null | undefined;
|
|
349
|
+
}[] | null | undefined;
|
|
350
|
+
}>>>;
|
|
329
351
|
fixedInfo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
330
352
|
firstName: z.ZodOptional<z.ZodString>;
|
|
331
353
|
lastName: z.ZodOptional<z.ZodString>;
|
|
@@ -593,7 +615,7 @@ export declare const SumSubIndividualApplicantSchema: z.ZodObject<{
|
|
|
593
615
|
}[] | undefined;
|
|
594
616
|
tin?: string | undefined;
|
|
595
617
|
}>>>;
|
|
596
|
-
applicantPlatform: z.ZodString
|
|
618
|
+
applicantPlatform: z.ZodOptional<z.ZodString>;
|
|
597
619
|
ipCountry: z.ZodOptional<z.ZodString>;
|
|
598
620
|
agreement: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
599
621
|
createdAt: z.ZodString;
|
|
@@ -612,15 +634,15 @@ export declare const SumSubIndividualApplicantSchema: z.ZodObject<{
|
|
|
612
634
|
privacyNoticeUrl?: string | null | undefined;
|
|
613
635
|
}>>>;
|
|
614
636
|
review: z.ZodObject<{
|
|
615
|
-
reviewId: z.ZodString
|
|
616
|
-
attemptId: z.ZodString
|
|
617
|
-
attemptCnt: z.ZodNumber
|
|
637
|
+
reviewId: z.ZodOptional<z.ZodString>;
|
|
638
|
+
attemptId: z.ZodOptional<z.ZodString>;
|
|
639
|
+
attemptCnt: z.ZodOptional<z.ZodNumber>;
|
|
618
640
|
elapsedSincePendingMs: z.ZodOptional<z.ZodNumber>;
|
|
619
641
|
elapsedSinceQueuedMs: z.ZodOptional<z.ZodNumber>;
|
|
620
642
|
reprocessing: z.ZodOptional<z.ZodBoolean>;
|
|
621
643
|
levelName: z.ZodString;
|
|
622
|
-
levelAutoCheckMode: z.ZodNull
|
|
623
|
-
createDate: z.
|
|
644
|
+
levelAutoCheckMode: z.ZodOptional<z.ZodNull>;
|
|
645
|
+
createDate: z.ZodOptional<z.ZodDate>;
|
|
624
646
|
reviewDate: z.ZodOptional<z.ZodDate>;
|
|
625
647
|
reviewResult: z.ZodOptional<z.ZodObject<{
|
|
626
648
|
reviewAnswer: z.ZodOptional<z.ZodEnum<["GREEN", "RED", "YELLOW"]>>;
|
|
@@ -648,15 +670,12 @@ export declare const SumSubIndividualApplicantSchema: z.ZodObject<{
|
|
|
648
670
|
reviewDate?: Date | undefined;
|
|
649
671
|
}>>;
|
|
650
672
|
reviewStatus: z.ZodOptional<z.ZodEnum<["init", "pending", "prechecked", "queued", "completed", "onHold"]>>;
|
|
673
|
+
startDate: z.ZodOptional<z.ZodDate>;
|
|
651
674
|
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
652
675
|
priority: z.ZodNumber;
|
|
676
|
+
autoChecked: z.ZodOptional<z.ZodBoolean>;
|
|
653
677
|
}, "strip", z.ZodTypeAny, {
|
|
654
678
|
levelName: string;
|
|
655
|
-
reviewId: string;
|
|
656
|
-
attemptId: string;
|
|
657
|
-
attemptCnt: number;
|
|
658
|
-
levelAutoCheckMode: null;
|
|
659
|
-
createDate: string;
|
|
660
679
|
priority: number;
|
|
661
680
|
reviewDate?: Date | undefined;
|
|
662
681
|
reviewResult?: {
|
|
@@ -669,17 +688,19 @@ export declare const SumSubIndividualApplicantSchema: z.ZodObject<{
|
|
|
669
688
|
reviewDate?: Date | undefined;
|
|
670
689
|
} | undefined;
|
|
671
690
|
reviewStatus?: "pending" | "init" | "prechecked" | "queued" | "completed" | "onHold" | undefined;
|
|
691
|
+
reviewId?: string | undefined;
|
|
692
|
+
attemptId?: string | undefined;
|
|
693
|
+
attemptCnt?: number | undefined;
|
|
672
694
|
elapsedSincePendingMs?: number | undefined;
|
|
673
695
|
elapsedSinceQueuedMs?: number | undefined;
|
|
674
696
|
reprocessing?: boolean | undefined;
|
|
697
|
+
levelAutoCheckMode?: null | undefined;
|
|
698
|
+
createDate?: Date | undefined;
|
|
699
|
+
startDate?: Date | undefined;
|
|
675
700
|
confirmed?: boolean | undefined;
|
|
701
|
+
autoChecked?: boolean | undefined;
|
|
676
702
|
}, {
|
|
677
703
|
levelName: string;
|
|
678
|
-
reviewId: string;
|
|
679
|
-
attemptId: string;
|
|
680
|
-
attemptCnt: number;
|
|
681
|
-
levelAutoCheckMode: null;
|
|
682
|
-
createDate: string;
|
|
683
704
|
priority: number;
|
|
684
705
|
reviewDate?: Date | undefined;
|
|
685
706
|
reviewResult?: {
|
|
@@ -692,28 +713,26 @@ export declare const SumSubIndividualApplicantSchema: z.ZodObject<{
|
|
|
692
713
|
reviewDate?: Date | undefined;
|
|
693
714
|
} | undefined;
|
|
694
715
|
reviewStatus?: "pending" | "init" | "prechecked" | "queued" | "completed" | "onHold" | undefined;
|
|
716
|
+
reviewId?: string | undefined;
|
|
717
|
+
attemptId?: string | undefined;
|
|
718
|
+
attemptCnt?: number | undefined;
|
|
695
719
|
elapsedSincePendingMs?: number | undefined;
|
|
696
720
|
elapsedSinceQueuedMs?: number | undefined;
|
|
697
721
|
reprocessing?: boolean | undefined;
|
|
722
|
+
levelAutoCheckMode?: null | undefined;
|
|
723
|
+
createDate?: Date | undefined;
|
|
724
|
+
startDate?: Date | undefined;
|
|
698
725
|
confirmed?: boolean | undefined;
|
|
726
|
+
autoChecked?: boolean | undefined;
|
|
699
727
|
}>;
|
|
700
728
|
type: z.ZodEnum<["individual", "company"]>;
|
|
701
729
|
}, "strip", z.ZodTypeAny, {
|
|
702
730
|
id: string;
|
|
703
|
-
type: "
|
|
731
|
+
type: "individual" | "company";
|
|
704
732
|
key: string;
|
|
705
733
|
createdAt: string;
|
|
706
|
-
inspectionId: string;
|
|
707
|
-
externalUserId: string;
|
|
708
|
-
clientId: string;
|
|
709
|
-
applicantPlatform: string;
|
|
710
734
|
review: {
|
|
711
735
|
levelName: string;
|
|
712
|
-
reviewId: string;
|
|
713
|
-
attemptId: string;
|
|
714
|
-
attemptCnt: number;
|
|
715
|
-
levelAutoCheckMode: null;
|
|
716
|
-
createDate: string;
|
|
717
736
|
priority: number;
|
|
718
737
|
reviewDate?: Date | undefined;
|
|
719
738
|
reviewResult?: {
|
|
@@ -726,11 +745,21 @@ export declare const SumSubIndividualApplicantSchema: z.ZodObject<{
|
|
|
726
745
|
reviewDate?: Date | undefined;
|
|
727
746
|
} | undefined;
|
|
728
747
|
reviewStatus?: "pending" | "init" | "prechecked" | "queued" | "completed" | "onHold" | undefined;
|
|
748
|
+
reviewId?: string | undefined;
|
|
749
|
+
attemptId?: string | undefined;
|
|
750
|
+
attemptCnt?: number | undefined;
|
|
729
751
|
elapsedSincePendingMs?: number | undefined;
|
|
730
752
|
elapsedSinceQueuedMs?: number | undefined;
|
|
731
753
|
reprocessing?: boolean | undefined;
|
|
754
|
+
levelAutoCheckMode?: null | undefined;
|
|
755
|
+
createDate?: Date | undefined;
|
|
756
|
+
startDate?: Date | undefined;
|
|
732
757
|
confirmed?: boolean | undefined;
|
|
758
|
+
autoChecked?: boolean | undefined;
|
|
733
759
|
};
|
|
760
|
+
inspectionId: string;
|
|
761
|
+
externalUserId: string;
|
|
762
|
+
clientId: string;
|
|
734
763
|
email?: string | undefined;
|
|
735
764
|
phone?: string | undefined;
|
|
736
765
|
metadata?: Record<string, string>[] | undefined;
|
|
@@ -793,6 +822,12 @@ export declare const SumSubIndividualApplicantSchema: z.ZodObject<{
|
|
|
793
822
|
} | null | undefined;
|
|
794
823
|
sourceKey?: string | undefined;
|
|
795
824
|
lang?: string | undefined;
|
|
825
|
+
requiredIdDocs?: {
|
|
826
|
+
docSets?: {
|
|
827
|
+
idDocSetType: "SELFIE" | "PHONE_VERIFICATION" | "EMAIL_VERIFICATION" | "QUESTIONNAIRE" | "APPLICANT_DATA" | "IDENTITY" | "IDENTITY2" | "IDENTITY3" | "IDENTITY4" | "PROOF_OF_RESIDENCE" | "PROOF_OF_RESIDENCE2" | "SELFIE2" | "COMPANY";
|
|
828
|
+
types?: ("OTHER" | "ID_CARD" | "PASSPORT" | "DRIVERS" | "RESIDENCE_PERMIT" | "UTILITY_BILL" | "SELFIE" | "VIDEO_SELFIE" | "PROFILE_IMAGE" | "ID_DOC_PHOTO" | "AGREEMENT" | "CONTRACT" | "DRIVERS_TRANSLATION" | "INVESTOR_DOC" | "VEHICLE_REGISTRATION_CERTIFICATE" | "INCOME_SOURCE" | "PAYMENT_METHOD" | "BANK_CARD" | "COVID_VACCINATION_FORM")[] | null | undefined;
|
|
829
|
+
}[] | null | undefined;
|
|
830
|
+
} | null | undefined;
|
|
796
831
|
fixedInfo?: {
|
|
797
832
|
firstName?: string | undefined;
|
|
798
833
|
middleName?: string | undefined;
|
|
@@ -850,6 +885,7 @@ export declare const SumSubIndividualApplicantSchema: z.ZodObject<{
|
|
|
850
885
|
}[] | undefined;
|
|
851
886
|
tin?: string | undefined;
|
|
852
887
|
} | null | undefined;
|
|
888
|
+
applicantPlatform?: string | undefined;
|
|
853
889
|
ipCountry?: string | undefined;
|
|
854
890
|
agreement?: {
|
|
855
891
|
createdAt: string;
|
|
@@ -859,20 +895,11 @@ export declare const SumSubIndividualApplicantSchema: z.ZodObject<{
|
|
|
859
895
|
} | null | undefined;
|
|
860
896
|
}, {
|
|
861
897
|
id: string;
|
|
862
|
-
type: "
|
|
898
|
+
type: "individual" | "company";
|
|
863
899
|
key: string;
|
|
864
900
|
createdAt: string;
|
|
865
|
-
inspectionId: string;
|
|
866
|
-
externalUserId: string;
|
|
867
|
-
clientId: string;
|
|
868
|
-
applicantPlatform: string;
|
|
869
901
|
review: {
|
|
870
902
|
levelName: string;
|
|
871
|
-
reviewId: string;
|
|
872
|
-
attemptId: string;
|
|
873
|
-
attemptCnt: number;
|
|
874
|
-
levelAutoCheckMode: null;
|
|
875
|
-
createDate: string;
|
|
876
903
|
priority: number;
|
|
877
904
|
reviewDate?: Date | undefined;
|
|
878
905
|
reviewResult?: {
|
|
@@ -885,11 +912,21 @@ export declare const SumSubIndividualApplicantSchema: z.ZodObject<{
|
|
|
885
912
|
reviewDate?: Date | undefined;
|
|
886
913
|
} | undefined;
|
|
887
914
|
reviewStatus?: "pending" | "init" | "prechecked" | "queued" | "completed" | "onHold" | undefined;
|
|
915
|
+
reviewId?: string | undefined;
|
|
916
|
+
attemptId?: string | undefined;
|
|
917
|
+
attemptCnt?: number | undefined;
|
|
888
918
|
elapsedSincePendingMs?: number | undefined;
|
|
889
919
|
elapsedSinceQueuedMs?: number | undefined;
|
|
890
920
|
reprocessing?: boolean | undefined;
|
|
921
|
+
levelAutoCheckMode?: null | undefined;
|
|
922
|
+
createDate?: Date | undefined;
|
|
923
|
+
startDate?: Date | undefined;
|
|
891
924
|
confirmed?: boolean | undefined;
|
|
925
|
+
autoChecked?: boolean | undefined;
|
|
892
926
|
};
|
|
927
|
+
inspectionId: string;
|
|
928
|
+
externalUserId: string;
|
|
929
|
+
clientId: string;
|
|
893
930
|
email?: string | undefined;
|
|
894
931
|
phone?: string | undefined;
|
|
895
932
|
metadata?: Record<string, string>[] | undefined;
|
|
@@ -952,6 +989,12 @@ export declare const SumSubIndividualApplicantSchema: z.ZodObject<{
|
|
|
952
989
|
} | null | undefined;
|
|
953
990
|
sourceKey?: string | undefined;
|
|
954
991
|
lang?: string | undefined;
|
|
992
|
+
requiredIdDocs?: {
|
|
993
|
+
docSets?: {
|
|
994
|
+
idDocSetType: "SELFIE" | "PHONE_VERIFICATION" | "EMAIL_VERIFICATION" | "QUESTIONNAIRE" | "APPLICANT_DATA" | "IDENTITY" | "IDENTITY2" | "IDENTITY3" | "IDENTITY4" | "PROOF_OF_RESIDENCE" | "PROOF_OF_RESIDENCE2" | "SELFIE2" | "COMPANY";
|
|
995
|
+
types?: ("OTHER" | "ID_CARD" | "PASSPORT" | "DRIVERS" | "RESIDENCE_PERMIT" | "UTILITY_BILL" | "SELFIE" | "VIDEO_SELFIE" | "PROFILE_IMAGE" | "ID_DOC_PHOTO" | "AGREEMENT" | "CONTRACT" | "DRIVERS_TRANSLATION" | "INVESTOR_DOC" | "VEHICLE_REGISTRATION_CERTIFICATE" | "INCOME_SOURCE" | "PAYMENT_METHOD" | "BANK_CARD" | "COVID_VACCINATION_FORM")[] | null | undefined;
|
|
996
|
+
}[] | null | undefined;
|
|
997
|
+
} | null | undefined;
|
|
955
998
|
fixedInfo?: {
|
|
956
999
|
firstName?: string | undefined;
|
|
957
1000
|
middleName?: string | undefined;
|
|
@@ -1009,6 +1052,7 @@ export declare const SumSubIndividualApplicantSchema: z.ZodObject<{
|
|
|
1009
1052
|
}[] | undefined;
|
|
1010
1053
|
tin?: string | undefined;
|
|
1011
1054
|
} | null | undefined;
|
|
1055
|
+
applicantPlatform?: string | undefined;
|
|
1012
1056
|
ipCountry?: string | undefined;
|
|
1013
1057
|
agreement?: {
|
|
1014
1058
|
createdAt: string;
|
|
@@ -1286,11 +1330,8 @@ export declare const SumSubCompanyApplicantSchema: z.ZodObject<{
|
|
|
1286
1330
|
type: z.ZodEnum<["individual", "company"]>;
|
|
1287
1331
|
}, "strip", z.ZodTypeAny, {
|
|
1288
1332
|
id: string;
|
|
1289
|
-
type: "
|
|
1333
|
+
type: "individual" | "company";
|
|
1290
1334
|
createdAt: string;
|
|
1291
|
-
inspectionId: string;
|
|
1292
|
-
externalUserId: string;
|
|
1293
|
-
applicantPlatform: string;
|
|
1294
1335
|
review: {
|
|
1295
1336
|
levelName?: string | undefined;
|
|
1296
1337
|
reviewDate?: Date | undefined;
|
|
@@ -1315,6 +1356,9 @@ export declare const SumSubCompanyApplicantSchema: z.ZodObject<{
|
|
|
1315
1356
|
confirmed?: boolean | undefined;
|
|
1316
1357
|
priority?: number | undefined;
|
|
1317
1358
|
};
|
|
1359
|
+
inspectionId: string;
|
|
1360
|
+
externalUserId: string;
|
|
1361
|
+
applicantPlatform: string;
|
|
1318
1362
|
info?: {
|
|
1319
1363
|
idDocs: {
|
|
1320
1364
|
country: string;
|
|
@@ -1356,11 +1400,8 @@ export declare const SumSubCompanyApplicantSchema: z.ZodObject<{
|
|
|
1356
1400
|
} | null | undefined;
|
|
1357
1401
|
}, {
|
|
1358
1402
|
id: string;
|
|
1359
|
-
type: "
|
|
1403
|
+
type: "individual" | "company";
|
|
1360
1404
|
createdAt: string;
|
|
1361
|
-
inspectionId: string;
|
|
1362
|
-
externalUserId: string;
|
|
1363
|
-
applicantPlatform: string;
|
|
1364
1405
|
review: {
|
|
1365
1406
|
levelName?: string | undefined;
|
|
1366
1407
|
reviewDate?: Date | undefined;
|
|
@@ -1385,6 +1426,9 @@ export declare const SumSubCompanyApplicantSchema: z.ZodObject<{
|
|
|
1385
1426
|
confirmed?: boolean | undefined;
|
|
1386
1427
|
priority?: number | undefined;
|
|
1387
1428
|
};
|
|
1429
|
+
inspectionId: string;
|
|
1430
|
+
externalUserId: string;
|
|
1431
|
+
applicantPlatform: string;
|
|
1388
1432
|
info?: {
|
|
1389
1433
|
idDocs: {
|
|
1390
1434
|
country: string;
|
|
@@ -2393,6 +2437,28 @@ export declare const SumsubKycDataSchema: z.ZodObject<{
|
|
|
2393
2437
|
}[] | undefined;
|
|
2394
2438
|
tin?: string | undefined;
|
|
2395
2439
|
}>>>;
|
|
2440
|
+
requiredIdDocs: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2441
|
+
docSets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2442
|
+
idDocSetType: z.ZodEnum<["PHONE_VERIFICATION", "EMAIL_VERIFICATION", "QUESTIONNAIRE", "APPLICANT_DATA", "IDENTITY", "IDENTITY2", "IDENTITY3", "IDENTITY4", "PROOF_OF_RESIDENCE", "PROOF_OF_RESIDENCE2", "SELFIE", "SELFIE2", "COMPANY"]>;
|
|
2443
|
+
types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["ID_CARD", "PASSPORT", "DRIVERS", "RESIDENCE_PERMIT", "UTILITY_BILL", "SELFIE", "VIDEO_SELFIE", "PROFILE_IMAGE", "ID_DOC_PHOTO", "AGREEMENT", "CONTRACT", "DRIVERS_TRANSLATION", "INVESTOR_DOC", "VEHICLE_REGISTRATION_CERTIFICATE", "INCOME_SOURCE", "PAYMENT_METHOD", "BANK_CARD", "COVID_VACCINATION_FORM", "OTHER"]>, "many">>>;
|
|
2444
|
+
}, "strip", z.ZodTypeAny, {
|
|
2445
|
+
idDocSetType: "SELFIE" | "PHONE_VERIFICATION" | "EMAIL_VERIFICATION" | "QUESTIONNAIRE" | "APPLICANT_DATA" | "IDENTITY" | "IDENTITY2" | "IDENTITY3" | "IDENTITY4" | "PROOF_OF_RESIDENCE" | "PROOF_OF_RESIDENCE2" | "SELFIE2" | "COMPANY";
|
|
2446
|
+
types?: ("OTHER" | "ID_CARD" | "PASSPORT" | "DRIVERS" | "RESIDENCE_PERMIT" | "UTILITY_BILL" | "SELFIE" | "VIDEO_SELFIE" | "PROFILE_IMAGE" | "ID_DOC_PHOTO" | "AGREEMENT" | "CONTRACT" | "DRIVERS_TRANSLATION" | "INVESTOR_DOC" | "VEHICLE_REGISTRATION_CERTIFICATE" | "INCOME_SOURCE" | "PAYMENT_METHOD" | "BANK_CARD" | "COVID_VACCINATION_FORM")[] | null | undefined;
|
|
2447
|
+
}, {
|
|
2448
|
+
idDocSetType: "SELFIE" | "PHONE_VERIFICATION" | "EMAIL_VERIFICATION" | "QUESTIONNAIRE" | "APPLICANT_DATA" | "IDENTITY" | "IDENTITY2" | "IDENTITY3" | "IDENTITY4" | "PROOF_OF_RESIDENCE" | "PROOF_OF_RESIDENCE2" | "SELFIE2" | "COMPANY";
|
|
2449
|
+
types?: ("OTHER" | "ID_CARD" | "PASSPORT" | "DRIVERS" | "RESIDENCE_PERMIT" | "UTILITY_BILL" | "SELFIE" | "VIDEO_SELFIE" | "PROFILE_IMAGE" | "ID_DOC_PHOTO" | "AGREEMENT" | "CONTRACT" | "DRIVERS_TRANSLATION" | "INVESTOR_DOC" | "VEHICLE_REGISTRATION_CERTIFICATE" | "INCOME_SOURCE" | "PAYMENT_METHOD" | "BANK_CARD" | "COVID_VACCINATION_FORM")[] | null | undefined;
|
|
2450
|
+
}>, "many">>>;
|
|
2451
|
+
}, "strip", z.ZodTypeAny, {
|
|
2452
|
+
docSets?: {
|
|
2453
|
+
idDocSetType: "SELFIE" | "PHONE_VERIFICATION" | "EMAIL_VERIFICATION" | "QUESTIONNAIRE" | "APPLICANT_DATA" | "IDENTITY" | "IDENTITY2" | "IDENTITY3" | "IDENTITY4" | "PROOF_OF_RESIDENCE" | "PROOF_OF_RESIDENCE2" | "SELFIE2" | "COMPANY";
|
|
2454
|
+
types?: ("OTHER" | "ID_CARD" | "PASSPORT" | "DRIVERS" | "RESIDENCE_PERMIT" | "UTILITY_BILL" | "SELFIE" | "VIDEO_SELFIE" | "PROFILE_IMAGE" | "ID_DOC_PHOTO" | "AGREEMENT" | "CONTRACT" | "DRIVERS_TRANSLATION" | "INVESTOR_DOC" | "VEHICLE_REGISTRATION_CERTIFICATE" | "INCOME_SOURCE" | "PAYMENT_METHOD" | "BANK_CARD" | "COVID_VACCINATION_FORM")[] | null | undefined;
|
|
2455
|
+
}[] | null | undefined;
|
|
2456
|
+
}, {
|
|
2457
|
+
docSets?: {
|
|
2458
|
+
idDocSetType: "SELFIE" | "PHONE_VERIFICATION" | "EMAIL_VERIFICATION" | "QUESTIONNAIRE" | "APPLICANT_DATA" | "IDENTITY" | "IDENTITY2" | "IDENTITY3" | "IDENTITY4" | "PROOF_OF_RESIDENCE" | "PROOF_OF_RESIDENCE2" | "SELFIE2" | "COMPANY";
|
|
2459
|
+
types?: ("OTHER" | "ID_CARD" | "PASSPORT" | "DRIVERS" | "RESIDENCE_PERMIT" | "UTILITY_BILL" | "SELFIE" | "VIDEO_SELFIE" | "PROFILE_IMAGE" | "ID_DOC_PHOTO" | "AGREEMENT" | "CONTRACT" | "DRIVERS_TRANSLATION" | "INVESTOR_DOC" | "VEHICLE_REGISTRATION_CERTIFICATE" | "INCOME_SOURCE" | "PAYMENT_METHOD" | "BANK_CARD" | "COVID_VACCINATION_FORM")[] | null | undefined;
|
|
2460
|
+
}[] | null | undefined;
|
|
2461
|
+
}>>>;
|
|
2396
2462
|
fixedInfo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2397
2463
|
firstName: z.ZodOptional<z.ZodString>;
|
|
2398
2464
|
lastName: z.ZodOptional<z.ZodString>;
|
|
@@ -2660,7 +2726,7 @@ export declare const SumsubKycDataSchema: z.ZodObject<{
|
|
|
2660
2726
|
}[] | undefined;
|
|
2661
2727
|
tin?: string | undefined;
|
|
2662
2728
|
}>>>;
|
|
2663
|
-
applicantPlatform: z.ZodString
|
|
2729
|
+
applicantPlatform: z.ZodOptional<z.ZodString>;
|
|
2664
2730
|
ipCountry: z.ZodOptional<z.ZodString>;
|
|
2665
2731
|
agreement: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2666
2732
|
createdAt: z.ZodString;
|
|
@@ -2679,15 +2745,15 @@ export declare const SumsubKycDataSchema: z.ZodObject<{
|
|
|
2679
2745
|
privacyNoticeUrl?: string | null | undefined;
|
|
2680
2746
|
}>>>;
|
|
2681
2747
|
review: z.ZodObject<{
|
|
2682
|
-
reviewId: z.ZodString
|
|
2683
|
-
attemptId: z.ZodString
|
|
2684
|
-
attemptCnt: z.ZodNumber
|
|
2748
|
+
reviewId: z.ZodOptional<z.ZodString>;
|
|
2749
|
+
attemptId: z.ZodOptional<z.ZodString>;
|
|
2750
|
+
attemptCnt: z.ZodOptional<z.ZodNumber>;
|
|
2685
2751
|
elapsedSincePendingMs: z.ZodOptional<z.ZodNumber>;
|
|
2686
2752
|
elapsedSinceQueuedMs: z.ZodOptional<z.ZodNumber>;
|
|
2687
2753
|
reprocessing: z.ZodOptional<z.ZodBoolean>;
|
|
2688
2754
|
levelName: z.ZodString;
|
|
2689
|
-
levelAutoCheckMode: z.ZodNull
|
|
2690
|
-
createDate: z.
|
|
2755
|
+
levelAutoCheckMode: z.ZodOptional<z.ZodNull>;
|
|
2756
|
+
createDate: z.ZodOptional<z.ZodDate>;
|
|
2691
2757
|
reviewDate: z.ZodOptional<z.ZodDate>;
|
|
2692
2758
|
reviewResult: z.ZodOptional<z.ZodObject<{
|
|
2693
2759
|
reviewAnswer: z.ZodOptional<z.ZodEnum<["GREEN", "RED", "YELLOW"]>>;
|
|
@@ -2715,15 +2781,12 @@ export declare const SumsubKycDataSchema: z.ZodObject<{
|
|
|
2715
2781
|
reviewDate?: Date | undefined;
|
|
2716
2782
|
}>>;
|
|
2717
2783
|
reviewStatus: z.ZodOptional<z.ZodEnum<["init", "pending", "prechecked", "queued", "completed", "onHold"]>>;
|
|
2784
|
+
startDate: z.ZodOptional<z.ZodDate>;
|
|
2718
2785
|
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
2719
2786
|
priority: z.ZodNumber;
|
|
2787
|
+
autoChecked: z.ZodOptional<z.ZodBoolean>;
|
|
2720
2788
|
}, "strip", z.ZodTypeAny, {
|
|
2721
2789
|
levelName: string;
|
|
2722
|
-
reviewId: string;
|
|
2723
|
-
attemptId: string;
|
|
2724
|
-
attemptCnt: number;
|
|
2725
|
-
levelAutoCheckMode: null;
|
|
2726
|
-
createDate: string;
|
|
2727
2790
|
priority: number;
|
|
2728
2791
|
reviewDate?: Date | undefined;
|
|
2729
2792
|
reviewResult?: {
|
|
@@ -2736,17 +2799,19 @@ export declare const SumsubKycDataSchema: z.ZodObject<{
|
|
|
2736
2799
|
reviewDate?: Date | undefined;
|
|
2737
2800
|
} | undefined;
|
|
2738
2801
|
reviewStatus?: "pending" | "init" | "prechecked" | "queued" | "completed" | "onHold" | undefined;
|
|
2802
|
+
reviewId?: string | undefined;
|
|
2803
|
+
attemptId?: string | undefined;
|
|
2804
|
+
attemptCnt?: number | undefined;
|
|
2739
2805
|
elapsedSincePendingMs?: number | undefined;
|
|
2740
2806
|
elapsedSinceQueuedMs?: number | undefined;
|
|
2741
2807
|
reprocessing?: boolean | undefined;
|
|
2808
|
+
levelAutoCheckMode?: null | undefined;
|
|
2809
|
+
createDate?: Date | undefined;
|
|
2810
|
+
startDate?: Date | undefined;
|
|
2742
2811
|
confirmed?: boolean | undefined;
|
|
2812
|
+
autoChecked?: boolean | undefined;
|
|
2743
2813
|
}, {
|
|
2744
2814
|
levelName: string;
|
|
2745
|
-
reviewId: string;
|
|
2746
|
-
attemptId: string;
|
|
2747
|
-
attemptCnt: number;
|
|
2748
|
-
levelAutoCheckMode: null;
|
|
2749
|
-
createDate: string;
|
|
2750
2815
|
priority: number;
|
|
2751
2816
|
reviewDate?: Date | undefined;
|
|
2752
2817
|
reviewResult?: {
|
|
@@ -2759,28 +2824,26 @@ export declare const SumsubKycDataSchema: z.ZodObject<{
|
|
|
2759
2824
|
reviewDate?: Date | undefined;
|
|
2760
2825
|
} | undefined;
|
|
2761
2826
|
reviewStatus?: "pending" | "init" | "prechecked" | "queued" | "completed" | "onHold" | undefined;
|
|
2827
|
+
reviewId?: string | undefined;
|
|
2828
|
+
attemptId?: string | undefined;
|
|
2829
|
+
attemptCnt?: number | undefined;
|
|
2762
2830
|
elapsedSincePendingMs?: number | undefined;
|
|
2763
2831
|
elapsedSinceQueuedMs?: number | undefined;
|
|
2764
2832
|
reprocessing?: boolean | undefined;
|
|
2833
|
+
levelAutoCheckMode?: null | undefined;
|
|
2834
|
+
createDate?: Date | undefined;
|
|
2835
|
+
startDate?: Date | undefined;
|
|
2765
2836
|
confirmed?: boolean | undefined;
|
|
2837
|
+
autoChecked?: boolean | undefined;
|
|
2766
2838
|
}>;
|
|
2767
2839
|
type: z.ZodEnum<["individual", "company"]>;
|
|
2768
2840
|
}, "strip", z.ZodTypeAny, {
|
|
2769
2841
|
id: string;
|
|
2770
|
-
type: "
|
|
2842
|
+
type: "individual" | "company";
|
|
2771
2843
|
key: string;
|
|
2772
2844
|
createdAt: string;
|
|
2773
|
-
inspectionId: string;
|
|
2774
|
-
externalUserId: string;
|
|
2775
|
-
clientId: string;
|
|
2776
|
-
applicantPlatform: string;
|
|
2777
2845
|
review: {
|
|
2778
2846
|
levelName: string;
|
|
2779
|
-
reviewId: string;
|
|
2780
|
-
attemptId: string;
|
|
2781
|
-
attemptCnt: number;
|
|
2782
|
-
levelAutoCheckMode: null;
|
|
2783
|
-
createDate: string;
|
|
2784
2847
|
priority: number;
|
|
2785
2848
|
reviewDate?: Date | undefined;
|
|
2786
2849
|
reviewResult?: {
|
|
@@ -2793,11 +2856,21 @@ export declare const SumsubKycDataSchema: z.ZodObject<{
|
|
|
2793
2856
|
reviewDate?: Date | undefined;
|
|
2794
2857
|
} | undefined;
|
|
2795
2858
|
reviewStatus?: "pending" | "init" | "prechecked" | "queued" | "completed" | "onHold" | undefined;
|
|
2859
|
+
reviewId?: string | undefined;
|
|
2860
|
+
attemptId?: string | undefined;
|
|
2861
|
+
attemptCnt?: number | undefined;
|
|
2796
2862
|
elapsedSincePendingMs?: number | undefined;
|
|
2797
2863
|
elapsedSinceQueuedMs?: number | undefined;
|
|
2798
2864
|
reprocessing?: boolean | undefined;
|
|
2865
|
+
levelAutoCheckMode?: null | undefined;
|
|
2866
|
+
createDate?: Date | undefined;
|
|
2867
|
+
startDate?: Date | undefined;
|
|
2799
2868
|
confirmed?: boolean | undefined;
|
|
2869
|
+
autoChecked?: boolean | undefined;
|
|
2800
2870
|
};
|
|
2871
|
+
inspectionId: string;
|
|
2872
|
+
externalUserId: string;
|
|
2873
|
+
clientId: string;
|
|
2801
2874
|
email?: string | undefined;
|
|
2802
2875
|
phone?: string | undefined;
|
|
2803
2876
|
metadata?: Record<string, string>[] | undefined;
|
|
@@ -2860,6 +2933,12 @@ export declare const SumsubKycDataSchema: z.ZodObject<{
|
|
|
2860
2933
|
} | null | undefined;
|
|
2861
2934
|
sourceKey?: string | undefined;
|
|
2862
2935
|
lang?: string | undefined;
|
|
2936
|
+
requiredIdDocs?: {
|
|
2937
|
+
docSets?: {
|
|
2938
|
+
idDocSetType: "SELFIE" | "PHONE_VERIFICATION" | "EMAIL_VERIFICATION" | "QUESTIONNAIRE" | "APPLICANT_DATA" | "IDENTITY" | "IDENTITY2" | "IDENTITY3" | "IDENTITY4" | "PROOF_OF_RESIDENCE" | "PROOF_OF_RESIDENCE2" | "SELFIE2" | "COMPANY";
|
|
2939
|
+
types?: ("OTHER" | "ID_CARD" | "PASSPORT" | "DRIVERS" | "RESIDENCE_PERMIT" | "UTILITY_BILL" | "SELFIE" | "VIDEO_SELFIE" | "PROFILE_IMAGE" | "ID_DOC_PHOTO" | "AGREEMENT" | "CONTRACT" | "DRIVERS_TRANSLATION" | "INVESTOR_DOC" | "VEHICLE_REGISTRATION_CERTIFICATE" | "INCOME_SOURCE" | "PAYMENT_METHOD" | "BANK_CARD" | "COVID_VACCINATION_FORM")[] | null | undefined;
|
|
2940
|
+
}[] | null | undefined;
|
|
2941
|
+
} | null | undefined;
|
|
2863
2942
|
fixedInfo?: {
|
|
2864
2943
|
firstName?: string | undefined;
|
|
2865
2944
|
middleName?: string | undefined;
|
|
@@ -2917,6 +2996,7 @@ export declare const SumsubKycDataSchema: z.ZodObject<{
|
|
|
2917
2996
|
}[] | undefined;
|
|
2918
2997
|
tin?: string | undefined;
|
|
2919
2998
|
} | null | undefined;
|
|
2999
|
+
applicantPlatform?: string | undefined;
|
|
2920
3000
|
ipCountry?: string | undefined;
|
|
2921
3001
|
agreement?: {
|
|
2922
3002
|
createdAt: string;
|
|
@@ -2926,20 +3006,11 @@ export declare const SumsubKycDataSchema: z.ZodObject<{
|
|
|
2926
3006
|
} | null | undefined;
|
|
2927
3007
|
}, {
|
|
2928
3008
|
id: string;
|
|
2929
|
-
type: "
|
|
3009
|
+
type: "individual" | "company";
|
|
2930
3010
|
key: string;
|
|
2931
3011
|
createdAt: string;
|
|
2932
|
-
inspectionId: string;
|
|
2933
|
-
externalUserId: string;
|
|
2934
|
-
clientId: string;
|
|
2935
|
-
applicantPlatform: string;
|
|
2936
3012
|
review: {
|
|
2937
3013
|
levelName: string;
|
|
2938
|
-
reviewId: string;
|
|
2939
|
-
attemptId: string;
|
|
2940
|
-
attemptCnt: number;
|
|
2941
|
-
levelAutoCheckMode: null;
|
|
2942
|
-
createDate: string;
|
|
2943
3014
|
priority: number;
|
|
2944
3015
|
reviewDate?: Date | undefined;
|
|
2945
3016
|
reviewResult?: {
|
|
@@ -2952,11 +3023,21 @@ export declare const SumsubKycDataSchema: z.ZodObject<{
|
|
|
2952
3023
|
reviewDate?: Date | undefined;
|
|
2953
3024
|
} | undefined;
|
|
2954
3025
|
reviewStatus?: "pending" | "init" | "prechecked" | "queued" | "completed" | "onHold" | undefined;
|
|
3026
|
+
reviewId?: string | undefined;
|
|
3027
|
+
attemptId?: string | undefined;
|
|
3028
|
+
attemptCnt?: number | undefined;
|
|
2955
3029
|
elapsedSincePendingMs?: number | undefined;
|
|
2956
3030
|
elapsedSinceQueuedMs?: number | undefined;
|
|
2957
3031
|
reprocessing?: boolean | undefined;
|
|
3032
|
+
levelAutoCheckMode?: null | undefined;
|
|
3033
|
+
createDate?: Date | undefined;
|
|
3034
|
+
startDate?: Date | undefined;
|
|
2958
3035
|
confirmed?: boolean | undefined;
|
|
3036
|
+
autoChecked?: boolean | undefined;
|
|
2959
3037
|
};
|
|
3038
|
+
inspectionId: string;
|
|
3039
|
+
externalUserId: string;
|
|
3040
|
+
clientId: string;
|
|
2960
3041
|
email?: string | undefined;
|
|
2961
3042
|
phone?: string | undefined;
|
|
2962
3043
|
metadata?: Record<string, string>[] | undefined;
|
|
@@ -3019,6 +3100,12 @@ export declare const SumsubKycDataSchema: z.ZodObject<{
|
|
|
3019
3100
|
} | null | undefined;
|
|
3020
3101
|
sourceKey?: string | undefined;
|
|
3021
3102
|
lang?: string | undefined;
|
|
3103
|
+
requiredIdDocs?: {
|
|
3104
|
+
docSets?: {
|
|
3105
|
+
idDocSetType: "SELFIE" | "PHONE_VERIFICATION" | "EMAIL_VERIFICATION" | "QUESTIONNAIRE" | "APPLICANT_DATA" | "IDENTITY" | "IDENTITY2" | "IDENTITY3" | "IDENTITY4" | "PROOF_OF_RESIDENCE" | "PROOF_OF_RESIDENCE2" | "SELFIE2" | "COMPANY";
|
|
3106
|
+
types?: ("OTHER" | "ID_CARD" | "PASSPORT" | "DRIVERS" | "RESIDENCE_PERMIT" | "UTILITY_BILL" | "SELFIE" | "VIDEO_SELFIE" | "PROFILE_IMAGE" | "ID_DOC_PHOTO" | "AGREEMENT" | "CONTRACT" | "DRIVERS_TRANSLATION" | "INVESTOR_DOC" | "VEHICLE_REGISTRATION_CERTIFICATE" | "INCOME_SOURCE" | "PAYMENT_METHOD" | "BANK_CARD" | "COVID_VACCINATION_FORM")[] | null | undefined;
|
|
3107
|
+
}[] | null | undefined;
|
|
3108
|
+
} | null | undefined;
|
|
3022
3109
|
fixedInfo?: {
|
|
3023
3110
|
firstName?: string | undefined;
|
|
3024
3111
|
middleName?: string | undefined;
|
|
@@ -3076,6 +3163,7 @@ export declare const SumsubKycDataSchema: z.ZodObject<{
|
|
|
3076
3163
|
}[] | undefined;
|
|
3077
3164
|
tin?: string | undefined;
|
|
3078
3165
|
} | null | undefined;
|
|
3166
|
+
applicantPlatform?: string | undefined;
|
|
3079
3167
|
ipCountry?: string | undefined;
|
|
3080
3168
|
agreement?: {
|
|
3081
3169
|
createdAt: string;
|
|
@@ -3094,20 +3182,11 @@ export declare const SumsubKycDataSchema: z.ZodObject<{
|
|
|
3094
3182
|
kycSessionId: string;
|
|
3095
3183
|
applicantData: {
|
|
3096
3184
|
id: string;
|
|
3097
|
-
type: "
|
|
3185
|
+
type: "individual" | "company";
|
|
3098
3186
|
key: string;
|
|
3099
3187
|
createdAt: string;
|
|
3100
|
-
inspectionId: string;
|
|
3101
|
-
externalUserId: string;
|
|
3102
|
-
clientId: string;
|
|
3103
|
-
applicantPlatform: string;
|
|
3104
3188
|
review: {
|
|
3105
3189
|
levelName: string;
|
|
3106
|
-
reviewId: string;
|
|
3107
|
-
attemptId: string;
|
|
3108
|
-
attemptCnt: number;
|
|
3109
|
-
levelAutoCheckMode: null;
|
|
3110
|
-
createDate: string;
|
|
3111
3190
|
priority: number;
|
|
3112
3191
|
reviewDate?: Date | undefined;
|
|
3113
3192
|
reviewResult?: {
|
|
@@ -3120,11 +3199,21 @@ export declare const SumsubKycDataSchema: z.ZodObject<{
|
|
|
3120
3199
|
reviewDate?: Date | undefined;
|
|
3121
3200
|
} | undefined;
|
|
3122
3201
|
reviewStatus?: "pending" | "init" | "prechecked" | "queued" | "completed" | "onHold" | undefined;
|
|
3202
|
+
reviewId?: string | undefined;
|
|
3203
|
+
attemptId?: string | undefined;
|
|
3204
|
+
attemptCnt?: number | undefined;
|
|
3123
3205
|
elapsedSincePendingMs?: number | undefined;
|
|
3124
3206
|
elapsedSinceQueuedMs?: number | undefined;
|
|
3125
3207
|
reprocessing?: boolean | undefined;
|
|
3208
|
+
levelAutoCheckMode?: null | undefined;
|
|
3209
|
+
createDate?: Date | undefined;
|
|
3210
|
+
startDate?: Date | undefined;
|
|
3126
3211
|
confirmed?: boolean | undefined;
|
|
3212
|
+
autoChecked?: boolean | undefined;
|
|
3127
3213
|
};
|
|
3214
|
+
inspectionId: string;
|
|
3215
|
+
externalUserId: string;
|
|
3216
|
+
clientId: string;
|
|
3128
3217
|
email?: string | undefined;
|
|
3129
3218
|
phone?: string | undefined;
|
|
3130
3219
|
metadata?: Record<string, string>[] | undefined;
|
|
@@ -3187,6 +3276,12 @@ export declare const SumsubKycDataSchema: z.ZodObject<{
|
|
|
3187
3276
|
} | null | undefined;
|
|
3188
3277
|
sourceKey?: string | undefined;
|
|
3189
3278
|
lang?: string | undefined;
|
|
3279
|
+
requiredIdDocs?: {
|
|
3280
|
+
docSets?: {
|
|
3281
|
+
idDocSetType: "SELFIE" | "PHONE_VERIFICATION" | "EMAIL_VERIFICATION" | "QUESTIONNAIRE" | "APPLICANT_DATA" | "IDENTITY" | "IDENTITY2" | "IDENTITY3" | "IDENTITY4" | "PROOF_OF_RESIDENCE" | "PROOF_OF_RESIDENCE2" | "SELFIE2" | "COMPANY";
|
|
3282
|
+
types?: ("OTHER" | "ID_CARD" | "PASSPORT" | "DRIVERS" | "RESIDENCE_PERMIT" | "UTILITY_BILL" | "SELFIE" | "VIDEO_SELFIE" | "PROFILE_IMAGE" | "ID_DOC_PHOTO" | "AGREEMENT" | "CONTRACT" | "DRIVERS_TRANSLATION" | "INVESTOR_DOC" | "VEHICLE_REGISTRATION_CERTIFICATE" | "INCOME_SOURCE" | "PAYMENT_METHOD" | "BANK_CARD" | "COVID_VACCINATION_FORM")[] | null | undefined;
|
|
3283
|
+
}[] | null | undefined;
|
|
3284
|
+
} | null | undefined;
|
|
3190
3285
|
fixedInfo?: {
|
|
3191
3286
|
firstName?: string | undefined;
|
|
3192
3287
|
middleName?: string | undefined;
|
|
@@ -3244,6 +3339,7 @@ export declare const SumsubKycDataSchema: z.ZodObject<{
|
|
|
3244
3339
|
}[] | undefined;
|
|
3245
3340
|
tin?: string | undefined;
|
|
3246
3341
|
} | null | undefined;
|
|
3342
|
+
applicantPlatform?: string | undefined;
|
|
3247
3343
|
ipCountry?: string | undefined;
|
|
3248
3344
|
agreement?: {
|
|
3249
3345
|
createdAt: string;
|
|
@@ -3260,20 +3356,11 @@ export declare const SumsubKycDataSchema: z.ZodObject<{
|
|
|
3260
3356
|
kycSessionId: string;
|
|
3261
3357
|
applicantData: {
|
|
3262
3358
|
id: string;
|
|
3263
|
-
type: "
|
|
3359
|
+
type: "individual" | "company";
|
|
3264
3360
|
key: string;
|
|
3265
3361
|
createdAt: string;
|
|
3266
|
-
inspectionId: string;
|
|
3267
|
-
externalUserId: string;
|
|
3268
|
-
clientId: string;
|
|
3269
|
-
applicantPlatform: string;
|
|
3270
3362
|
review: {
|
|
3271
3363
|
levelName: string;
|
|
3272
|
-
reviewId: string;
|
|
3273
|
-
attemptId: string;
|
|
3274
|
-
attemptCnt: number;
|
|
3275
|
-
levelAutoCheckMode: null;
|
|
3276
|
-
createDate: string;
|
|
3277
3364
|
priority: number;
|
|
3278
3365
|
reviewDate?: Date | undefined;
|
|
3279
3366
|
reviewResult?: {
|
|
@@ -3286,11 +3373,21 @@ export declare const SumsubKycDataSchema: z.ZodObject<{
|
|
|
3286
3373
|
reviewDate?: Date | undefined;
|
|
3287
3374
|
} | undefined;
|
|
3288
3375
|
reviewStatus?: "pending" | "init" | "prechecked" | "queued" | "completed" | "onHold" | undefined;
|
|
3376
|
+
reviewId?: string | undefined;
|
|
3377
|
+
attemptId?: string | undefined;
|
|
3378
|
+
attemptCnt?: number | undefined;
|
|
3289
3379
|
elapsedSincePendingMs?: number | undefined;
|
|
3290
3380
|
elapsedSinceQueuedMs?: number | undefined;
|
|
3291
3381
|
reprocessing?: boolean | undefined;
|
|
3382
|
+
levelAutoCheckMode?: null | undefined;
|
|
3383
|
+
createDate?: Date | undefined;
|
|
3384
|
+
startDate?: Date | undefined;
|
|
3292
3385
|
confirmed?: boolean | undefined;
|
|
3386
|
+
autoChecked?: boolean | undefined;
|
|
3293
3387
|
};
|
|
3388
|
+
inspectionId: string;
|
|
3389
|
+
externalUserId: string;
|
|
3390
|
+
clientId: string;
|
|
3294
3391
|
email?: string | undefined;
|
|
3295
3392
|
phone?: string | undefined;
|
|
3296
3393
|
metadata?: Record<string, string>[] | undefined;
|
|
@@ -3353,6 +3450,12 @@ export declare const SumsubKycDataSchema: z.ZodObject<{
|
|
|
3353
3450
|
} | null | undefined;
|
|
3354
3451
|
sourceKey?: string | undefined;
|
|
3355
3452
|
lang?: string | undefined;
|
|
3453
|
+
requiredIdDocs?: {
|
|
3454
|
+
docSets?: {
|
|
3455
|
+
idDocSetType: "SELFIE" | "PHONE_VERIFICATION" | "EMAIL_VERIFICATION" | "QUESTIONNAIRE" | "APPLICANT_DATA" | "IDENTITY" | "IDENTITY2" | "IDENTITY3" | "IDENTITY4" | "PROOF_OF_RESIDENCE" | "PROOF_OF_RESIDENCE2" | "SELFIE2" | "COMPANY";
|
|
3456
|
+
types?: ("OTHER" | "ID_CARD" | "PASSPORT" | "DRIVERS" | "RESIDENCE_PERMIT" | "UTILITY_BILL" | "SELFIE" | "VIDEO_SELFIE" | "PROFILE_IMAGE" | "ID_DOC_PHOTO" | "AGREEMENT" | "CONTRACT" | "DRIVERS_TRANSLATION" | "INVESTOR_DOC" | "VEHICLE_REGISTRATION_CERTIFICATE" | "INCOME_SOURCE" | "PAYMENT_METHOD" | "BANK_CARD" | "COVID_VACCINATION_FORM")[] | null | undefined;
|
|
3457
|
+
}[] | null | undefined;
|
|
3458
|
+
} | null | undefined;
|
|
3356
3459
|
fixedInfo?: {
|
|
3357
3460
|
firstName?: string | undefined;
|
|
3358
3461
|
middleName?: string | undefined;
|
|
@@ -3410,6 +3513,7 @@ export declare const SumsubKycDataSchema: z.ZodObject<{
|
|
|
3410
3513
|
}[] | undefined;
|
|
3411
3514
|
tin?: string | undefined;
|
|
3412
3515
|
} | null | undefined;
|
|
3516
|
+
applicantPlatform?: string | undefined;
|
|
3413
3517
|
ipCountry?: string | undefined;
|
|
3414
3518
|
agreement?: {
|
|
3415
3519
|
createdAt: string;
|
|
@@ -3691,11 +3795,8 @@ export declare const SumsubKybDataSchema: z.ZodObject<{
|
|
|
3691
3795
|
type: z.ZodEnum<["individual", "company"]>;
|
|
3692
3796
|
}, "strip", z.ZodTypeAny, {
|
|
3693
3797
|
id: string;
|
|
3694
|
-
type: "
|
|
3798
|
+
type: "individual" | "company";
|
|
3695
3799
|
createdAt: string;
|
|
3696
|
-
inspectionId: string;
|
|
3697
|
-
externalUserId: string;
|
|
3698
|
-
applicantPlatform: string;
|
|
3699
3800
|
review: {
|
|
3700
3801
|
levelName?: string | undefined;
|
|
3701
3802
|
reviewDate?: Date | undefined;
|
|
@@ -3720,6 +3821,9 @@ export declare const SumsubKybDataSchema: z.ZodObject<{
|
|
|
3720
3821
|
confirmed?: boolean | undefined;
|
|
3721
3822
|
priority?: number | undefined;
|
|
3722
3823
|
};
|
|
3824
|
+
inspectionId: string;
|
|
3825
|
+
externalUserId: string;
|
|
3826
|
+
applicantPlatform: string;
|
|
3723
3827
|
info?: {
|
|
3724
3828
|
idDocs: {
|
|
3725
3829
|
country: string;
|
|
@@ -3761,11 +3865,8 @@ export declare const SumsubKybDataSchema: z.ZodObject<{
|
|
|
3761
3865
|
} | null | undefined;
|
|
3762
3866
|
}, {
|
|
3763
3867
|
id: string;
|
|
3764
|
-
type: "
|
|
3868
|
+
type: "individual" | "company";
|
|
3765
3869
|
createdAt: string;
|
|
3766
|
-
inspectionId: string;
|
|
3767
|
-
externalUserId: string;
|
|
3768
|
-
applicantPlatform: string;
|
|
3769
3870
|
review: {
|
|
3770
3871
|
levelName?: string | undefined;
|
|
3771
3872
|
reviewDate?: Date | undefined;
|
|
@@ -3790,6 +3891,9 @@ export declare const SumsubKybDataSchema: z.ZodObject<{
|
|
|
3790
3891
|
confirmed?: boolean | undefined;
|
|
3791
3892
|
priority?: number | undefined;
|
|
3792
3893
|
};
|
|
3894
|
+
inspectionId: string;
|
|
3895
|
+
externalUserId: string;
|
|
3896
|
+
applicantPlatform: string;
|
|
3793
3897
|
info?: {
|
|
3794
3898
|
idDocs: {
|
|
3795
3899
|
country: string;
|
|
@@ -3839,11 +3943,8 @@ export declare const SumsubKybDataSchema: z.ZodObject<{
|
|
|
3839
3943
|
sumsubApplicantId: string;
|
|
3840
3944
|
applicantData: {
|
|
3841
3945
|
id: string;
|
|
3842
|
-
type: "
|
|
3946
|
+
type: "individual" | "company";
|
|
3843
3947
|
createdAt: string;
|
|
3844
|
-
inspectionId: string;
|
|
3845
|
-
externalUserId: string;
|
|
3846
|
-
applicantPlatform: string;
|
|
3847
3948
|
review: {
|
|
3848
3949
|
levelName?: string | undefined;
|
|
3849
3950
|
reviewDate?: Date | undefined;
|
|
@@ -3868,6 +3969,9 @@ export declare const SumsubKybDataSchema: z.ZodObject<{
|
|
|
3868
3969
|
confirmed?: boolean | undefined;
|
|
3869
3970
|
priority?: number | undefined;
|
|
3870
3971
|
};
|
|
3972
|
+
inspectionId: string;
|
|
3973
|
+
externalUserId: string;
|
|
3974
|
+
applicantPlatform: string;
|
|
3871
3975
|
info?: {
|
|
3872
3976
|
idDocs: {
|
|
3873
3977
|
country: string;
|
|
@@ -3916,11 +4020,8 @@ export declare const SumsubKybDataSchema: z.ZodObject<{
|
|
|
3916
4020
|
sumsubApplicantId: string;
|
|
3917
4021
|
applicantData: {
|
|
3918
4022
|
id: string;
|
|
3919
|
-
type: "
|
|
4023
|
+
type: "individual" | "company";
|
|
3920
4024
|
createdAt: string;
|
|
3921
|
-
inspectionId: string;
|
|
3922
|
-
externalUserId: string;
|
|
3923
|
-
applicantPlatform: string;
|
|
3924
4025
|
review: {
|
|
3925
4026
|
levelName?: string | undefined;
|
|
3926
4027
|
reviewDate?: Date | undefined;
|
|
@@ -3945,6 +4046,9 @@ export declare const SumsubKybDataSchema: z.ZodObject<{
|
|
|
3945
4046
|
confirmed?: boolean | undefined;
|
|
3946
4047
|
priority?: number | undefined;
|
|
3947
4048
|
};
|
|
4049
|
+
inspectionId: string;
|
|
4050
|
+
externalUserId: string;
|
|
4051
|
+
applicantPlatform: string;
|
|
3948
4052
|
info?: {
|
|
3949
4053
|
idDocs: {
|
|
3950
4054
|
country: string;
|
|
@@ -4267,6 +4371,28 @@ export declare const SumSubApplicantSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4267
4371
|
}[] | undefined;
|
|
4268
4372
|
tin?: string | undefined;
|
|
4269
4373
|
}>>>;
|
|
4374
|
+
requiredIdDocs: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4375
|
+
docSets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
4376
|
+
idDocSetType: z.ZodEnum<["PHONE_VERIFICATION", "EMAIL_VERIFICATION", "QUESTIONNAIRE", "APPLICANT_DATA", "IDENTITY", "IDENTITY2", "IDENTITY3", "IDENTITY4", "PROOF_OF_RESIDENCE", "PROOF_OF_RESIDENCE2", "SELFIE", "SELFIE2", "COMPANY"]>;
|
|
4377
|
+
types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["ID_CARD", "PASSPORT", "DRIVERS", "RESIDENCE_PERMIT", "UTILITY_BILL", "SELFIE", "VIDEO_SELFIE", "PROFILE_IMAGE", "ID_DOC_PHOTO", "AGREEMENT", "CONTRACT", "DRIVERS_TRANSLATION", "INVESTOR_DOC", "VEHICLE_REGISTRATION_CERTIFICATE", "INCOME_SOURCE", "PAYMENT_METHOD", "BANK_CARD", "COVID_VACCINATION_FORM", "OTHER"]>, "many">>>;
|
|
4378
|
+
}, "strip", z.ZodTypeAny, {
|
|
4379
|
+
idDocSetType: "SELFIE" | "PHONE_VERIFICATION" | "EMAIL_VERIFICATION" | "QUESTIONNAIRE" | "APPLICANT_DATA" | "IDENTITY" | "IDENTITY2" | "IDENTITY3" | "IDENTITY4" | "PROOF_OF_RESIDENCE" | "PROOF_OF_RESIDENCE2" | "SELFIE2" | "COMPANY";
|
|
4380
|
+
types?: ("OTHER" | "ID_CARD" | "PASSPORT" | "DRIVERS" | "RESIDENCE_PERMIT" | "UTILITY_BILL" | "SELFIE" | "VIDEO_SELFIE" | "PROFILE_IMAGE" | "ID_DOC_PHOTO" | "AGREEMENT" | "CONTRACT" | "DRIVERS_TRANSLATION" | "INVESTOR_DOC" | "VEHICLE_REGISTRATION_CERTIFICATE" | "INCOME_SOURCE" | "PAYMENT_METHOD" | "BANK_CARD" | "COVID_VACCINATION_FORM")[] | null | undefined;
|
|
4381
|
+
}, {
|
|
4382
|
+
idDocSetType: "SELFIE" | "PHONE_VERIFICATION" | "EMAIL_VERIFICATION" | "QUESTIONNAIRE" | "APPLICANT_DATA" | "IDENTITY" | "IDENTITY2" | "IDENTITY3" | "IDENTITY4" | "PROOF_OF_RESIDENCE" | "PROOF_OF_RESIDENCE2" | "SELFIE2" | "COMPANY";
|
|
4383
|
+
types?: ("OTHER" | "ID_CARD" | "PASSPORT" | "DRIVERS" | "RESIDENCE_PERMIT" | "UTILITY_BILL" | "SELFIE" | "VIDEO_SELFIE" | "PROFILE_IMAGE" | "ID_DOC_PHOTO" | "AGREEMENT" | "CONTRACT" | "DRIVERS_TRANSLATION" | "INVESTOR_DOC" | "VEHICLE_REGISTRATION_CERTIFICATE" | "INCOME_SOURCE" | "PAYMENT_METHOD" | "BANK_CARD" | "COVID_VACCINATION_FORM")[] | null | undefined;
|
|
4384
|
+
}>, "many">>>;
|
|
4385
|
+
}, "strip", z.ZodTypeAny, {
|
|
4386
|
+
docSets?: {
|
|
4387
|
+
idDocSetType: "SELFIE" | "PHONE_VERIFICATION" | "EMAIL_VERIFICATION" | "QUESTIONNAIRE" | "APPLICANT_DATA" | "IDENTITY" | "IDENTITY2" | "IDENTITY3" | "IDENTITY4" | "PROOF_OF_RESIDENCE" | "PROOF_OF_RESIDENCE2" | "SELFIE2" | "COMPANY";
|
|
4388
|
+
types?: ("OTHER" | "ID_CARD" | "PASSPORT" | "DRIVERS" | "RESIDENCE_PERMIT" | "UTILITY_BILL" | "SELFIE" | "VIDEO_SELFIE" | "PROFILE_IMAGE" | "ID_DOC_PHOTO" | "AGREEMENT" | "CONTRACT" | "DRIVERS_TRANSLATION" | "INVESTOR_DOC" | "VEHICLE_REGISTRATION_CERTIFICATE" | "INCOME_SOURCE" | "PAYMENT_METHOD" | "BANK_CARD" | "COVID_VACCINATION_FORM")[] | null | undefined;
|
|
4389
|
+
}[] | null | undefined;
|
|
4390
|
+
}, {
|
|
4391
|
+
docSets?: {
|
|
4392
|
+
idDocSetType: "SELFIE" | "PHONE_VERIFICATION" | "EMAIL_VERIFICATION" | "QUESTIONNAIRE" | "APPLICANT_DATA" | "IDENTITY" | "IDENTITY2" | "IDENTITY3" | "IDENTITY4" | "PROOF_OF_RESIDENCE" | "PROOF_OF_RESIDENCE2" | "SELFIE2" | "COMPANY";
|
|
4393
|
+
types?: ("OTHER" | "ID_CARD" | "PASSPORT" | "DRIVERS" | "RESIDENCE_PERMIT" | "UTILITY_BILL" | "SELFIE" | "VIDEO_SELFIE" | "PROFILE_IMAGE" | "ID_DOC_PHOTO" | "AGREEMENT" | "CONTRACT" | "DRIVERS_TRANSLATION" | "INVESTOR_DOC" | "VEHICLE_REGISTRATION_CERTIFICATE" | "INCOME_SOURCE" | "PAYMENT_METHOD" | "BANK_CARD" | "COVID_VACCINATION_FORM")[] | null | undefined;
|
|
4394
|
+
}[] | null | undefined;
|
|
4395
|
+
}>>>;
|
|
4270
4396
|
fixedInfo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4271
4397
|
firstName: z.ZodOptional<z.ZodString>;
|
|
4272
4398
|
lastName: z.ZodOptional<z.ZodString>;
|
|
@@ -4534,7 +4660,7 @@ export declare const SumSubApplicantSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4534
4660
|
}[] | undefined;
|
|
4535
4661
|
tin?: string | undefined;
|
|
4536
4662
|
}>>>;
|
|
4537
|
-
applicantPlatform: z.ZodString
|
|
4663
|
+
applicantPlatform: z.ZodOptional<z.ZodString>;
|
|
4538
4664
|
ipCountry: z.ZodOptional<z.ZodString>;
|
|
4539
4665
|
agreement: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4540
4666
|
createdAt: z.ZodString;
|
|
@@ -4553,15 +4679,15 @@ export declare const SumSubApplicantSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4553
4679
|
privacyNoticeUrl?: string | null | undefined;
|
|
4554
4680
|
}>>>;
|
|
4555
4681
|
review: z.ZodObject<{
|
|
4556
|
-
reviewId: z.ZodString
|
|
4557
|
-
attemptId: z.ZodString
|
|
4558
|
-
attemptCnt: z.ZodNumber
|
|
4682
|
+
reviewId: z.ZodOptional<z.ZodString>;
|
|
4683
|
+
attemptId: z.ZodOptional<z.ZodString>;
|
|
4684
|
+
attemptCnt: z.ZodOptional<z.ZodNumber>;
|
|
4559
4685
|
elapsedSincePendingMs: z.ZodOptional<z.ZodNumber>;
|
|
4560
4686
|
elapsedSinceQueuedMs: z.ZodOptional<z.ZodNumber>;
|
|
4561
4687
|
reprocessing: z.ZodOptional<z.ZodBoolean>;
|
|
4562
4688
|
levelName: z.ZodString;
|
|
4563
|
-
levelAutoCheckMode: z.ZodNull
|
|
4564
|
-
createDate: z.
|
|
4689
|
+
levelAutoCheckMode: z.ZodOptional<z.ZodNull>;
|
|
4690
|
+
createDate: z.ZodOptional<z.ZodDate>;
|
|
4565
4691
|
reviewDate: z.ZodOptional<z.ZodDate>;
|
|
4566
4692
|
reviewResult: z.ZodOptional<z.ZodObject<{
|
|
4567
4693
|
reviewAnswer: z.ZodOptional<z.ZodEnum<["GREEN", "RED", "YELLOW"]>>;
|
|
@@ -4589,15 +4715,12 @@ export declare const SumSubApplicantSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4589
4715
|
reviewDate?: Date | undefined;
|
|
4590
4716
|
}>>;
|
|
4591
4717
|
reviewStatus: z.ZodOptional<z.ZodEnum<["init", "pending", "prechecked", "queued", "completed", "onHold"]>>;
|
|
4718
|
+
startDate: z.ZodOptional<z.ZodDate>;
|
|
4592
4719
|
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
4593
4720
|
priority: z.ZodNumber;
|
|
4721
|
+
autoChecked: z.ZodOptional<z.ZodBoolean>;
|
|
4594
4722
|
}, "strip", z.ZodTypeAny, {
|
|
4595
4723
|
levelName: string;
|
|
4596
|
-
reviewId: string;
|
|
4597
|
-
attemptId: string;
|
|
4598
|
-
attemptCnt: number;
|
|
4599
|
-
levelAutoCheckMode: null;
|
|
4600
|
-
createDate: string;
|
|
4601
4724
|
priority: number;
|
|
4602
4725
|
reviewDate?: Date | undefined;
|
|
4603
4726
|
reviewResult?: {
|
|
@@ -4610,17 +4733,19 @@ export declare const SumSubApplicantSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4610
4733
|
reviewDate?: Date | undefined;
|
|
4611
4734
|
} | undefined;
|
|
4612
4735
|
reviewStatus?: "pending" | "init" | "prechecked" | "queued" | "completed" | "onHold" | undefined;
|
|
4736
|
+
reviewId?: string | undefined;
|
|
4737
|
+
attemptId?: string | undefined;
|
|
4738
|
+
attemptCnt?: number | undefined;
|
|
4613
4739
|
elapsedSincePendingMs?: number | undefined;
|
|
4614
4740
|
elapsedSinceQueuedMs?: number | undefined;
|
|
4615
4741
|
reprocessing?: boolean | undefined;
|
|
4742
|
+
levelAutoCheckMode?: null | undefined;
|
|
4743
|
+
createDate?: Date | undefined;
|
|
4744
|
+
startDate?: Date | undefined;
|
|
4616
4745
|
confirmed?: boolean | undefined;
|
|
4746
|
+
autoChecked?: boolean | undefined;
|
|
4617
4747
|
}, {
|
|
4618
4748
|
levelName: string;
|
|
4619
|
-
reviewId: string;
|
|
4620
|
-
attemptId: string;
|
|
4621
|
-
attemptCnt: number;
|
|
4622
|
-
levelAutoCheckMode: null;
|
|
4623
|
-
createDate: string;
|
|
4624
4749
|
priority: number;
|
|
4625
4750
|
reviewDate?: Date | undefined;
|
|
4626
4751
|
reviewResult?: {
|
|
@@ -4633,28 +4758,26 @@ export declare const SumSubApplicantSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4633
4758
|
reviewDate?: Date | undefined;
|
|
4634
4759
|
} | undefined;
|
|
4635
4760
|
reviewStatus?: "pending" | "init" | "prechecked" | "queued" | "completed" | "onHold" | undefined;
|
|
4761
|
+
reviewId?: string | undefined;
|
|
4762
|
+
attemptId?: string | undefined;
|
|
4763
|
+
attemptCnt?: number | undefined;
|
|
4636
4764
|
elapsedSincePendingMs?: number | undefined;
|
|
4637
4765
|
elapsedSinceQueuedMs?: number | undefined;
|
|
4638
4766
|
reprocessing?: boolean | undefined;
|
|
4767
|
+
levelAutoCheckMode?: null | undefined;
|
|
4768
|
+
createDate?: Date | undefined;
|
|
4769
|
+
startDate?: Date | undefined;
|
|
4639
4770
|
confirmed?: boolean | undefined;
|
|
4771
|
+
autoChecked?: boolean | undefined;
|
|
4640
4772
|
}>;
|
|
4641
4773
|
type: z.ZodEnum<["individual", "company"]>;
|
|
4642
4774
|
}, "strip", z.ZodTypeAny, {
|
|
4643
4775
|
id: string;
|
|
4644
|
-
type: "
|
|
4776
|
+
type: "individual" | "company";
|
|
4645
4777
|
key: string;
|
|
4646
4778
|
createdAt: string;
|
|
4647
|
-
inspectionId: string;
|
|
4648
|
-
externalUserId: string;
|
|
4649
|
-
clientId: string;
|
|
4650
|
-
applicantPlatform: string;
|
|
4651
4779
|
review: {
|
|
4652
4780
|
levelName: string;
|
|
4653
|
-
reviewId: string;
|
|
4654
|
-
attemptId: string;
|
|
4655
|
-
attemptCnt: number;
|
|
4656
|
-
levelAutoCheckMode: null;
|
|
4657
|
-
createDate: string;
|
|
4658
4781
|
priority: number;
|
|
4659
4782
|
reviewDate?: Date | undefined;
|
|
4660
4783
|
reviewResult?: {
|
|
@@ -4667,11 +4790,21 @@ export declare const SumSubApplicantSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4667
4790
|
reviewDate?: Date | undefined;
|
|
4668
4791
|
} | undefined;
|
|
4669
4792
|
reviewStatus?: "pending" | "init" | "prechecked" | "queued" | "completed" | "onHold" | undefined;
|
|
4793
|
+
reviewId?: string | undefined;
|
|
4794
|
+
attemptId?: string | undefined;
|
|
4795
|
+
attemptCnt?: number | undefined;
|
|
4670
4796
|
elapsedSincePendingMs?: number | undefined;
|
|
4671
4797
|
elapsedSinceQueuedMs?: number | undefined;
|
|
4672
4798
|
reprocessing?: boolean | undefined;
|
|
4799
|
+
levelAutoCheckMode?: null | undefined;
|
|
4800
|
+
createDate?: Date | undefined;
|
|
4801
|
+
startDate?: Date | undefined;
|
|
4673
4802
|
confirmed?: boolean | undefined;
|
|
4803
|
+
autoChecked?: boolean | undefined;
|
|
4674
4804
|
};
|
|
4805
|
+
inspectionId: string;
|
|
4806
|
+
externalUserId: string;
|
|
4807
|
+
clientId: string;
|
|
4675
4808
|
email?: string | undefined;
|
|
4676
4809
|
phone?: string | undefined;
|
|
4677
4810
|
metadata?: Record<string, string>[] | undefined;
|
|
@@ -4734,6 +4867,12 @@ export declare const SumSubApplicantSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4734
4867
|
} | null | undefined;
|
|
4735
4868
|
sourceKey?: string | undefined;
|
|
4736
4869
|
lang?: string | undefined;
|
|
4870
|
+
requiredIdDocs?: {
|
|
4871
|
+
docSets?: {
|
|
4872
|
+
idDocSetType: "SELFIE" | "PHONE_VERIFICATION" | "EMAIL_VERIFICATION" | "QUESTIONNAIRE" | "APPLICANT_DATA" | "IDENTITY" | "IDENTITY2" | "IDENTITY3" | "IDENTITY4" | "PROOF_OF_RESIDENCE" | "PROOF_OF_RESIDENCE2" | "SELFIE2" | "COMPANY";
|
|
4873
|
+
types?: ("OTHER" | "ID_CARD" | "PASSPORT" | "DRIVERS" | "RESIDENCE_PERMIT" | "UTILITY_BILL" | "SELFIE" | "VIDEO_SELFIE" | "PROFILE_IMAGE" | "ID_DOC_PHOTO" | "AGREEMENT" | "CONTRACT" | "DRIVERS_TRANSLATION" | "INVESTOR_DOC" | "VEHICLE_REGISTRATION_CERTIFICATE" | "INCOME_SOURCE" | "PAYMENT_METHOD" | "BANK_CARD" | "COVID_VACCINATION_FORM")[] | null | undefined;
|
|
4874
|
+
}[] | null | undefined;
|
|
4875
|
+
} | null | undefined;
|
|
4737
4876
|
fixedInfo?: {
|
|
4738
4877
|
firstName?: string | undefined;
|
|
4739
4878
|
middleName?: string | undefined;
|
|
@@ -4791,6 +4930,7 @@ export declare const SumSubApplicantSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4791
4930
|
}[] | undefined;
|
|
4792
4931
|
tin?: string | undefined;
|
|
4793
4932
|
} | null | undefined;
|
|
4933
|
+
applicantPlatform?: string | undefined;
|
|
4794
4934
|
ipCountry?: string | undefined;
|
|
4795
4935
|
agreement?: {
|
|
4796
4936
|
createdAt: string;
|
|
@@ -4800,20 +4940,11 @@ export declare const SumSubApplicantSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4800
4940
|
} | null | undefined;
|
|
4801
4941
|
}, {
|
|
4802
4942
|
id: string;
|
|
4803
|
-
type: "
|
|
4943
|
+
type: "individual" | "company";
|
|
4804
4944
|
key: string;
|
|
4805
4945
|
createdAt: string;
|
|
4806
|
-
inspectionId: string;
|
|
4807
|
-
externalUserId: string;
|
|
4808
|
-
clientId: string;
|
|
4809
|
-
applicantPlatform: string;
|
|
4810
4946
|
review: {
|
|
4811
4947
|
levelName: string;
|
|
4812
|
-
reviewId: string;
|
|
4813
|
-
attemptId: string;
|
|
4814
|
-
attemptCnt: number;
|
|
4815
|
-
levelAutoCheckMode: null;
|
|
4816
|
-
createDate: string;
|
|
4817
4948
|
priority: number;
|
|
4818
4949
|
reviewDate?: Date | undefined;
|
|
4819
4950
|
reviewResult?: {
|
|
@@ -4826,11 +4957,21 @@ export declare const SumSubApplicantSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4826
4957
|
reviewDate?: Date | undefined;
|
|
4827
4958
|
} | undefined;
|
|
4828
4959
|
reviewStatus?: "pending" | "init" | "prechecked" | "queued" | "completed" | "onHold" | undefined;
|
|
4960
|
+
reviewId?: string | undefined;
|
|
4961
|
+
attemptId?: string | undefined;
|
|
4962
|
+
attemptCnt?: number | undefined;
|
|
4829
4963
|
elapsedSincePendingMs?: number | undefined;
|
|
4830
4964
|
elapsedSinceQueuedMs?: number | undefined;
|
|
4831
4965
|
reprocessing?: boolean | undefined;
|
|
4966
|
+
levelAutoCheckMode?: null | undefined;
|
|
4967
|
+
createDate?: Date | undefined;
|
|
4968
|
+
startDate?: Date | undefined;
|
|
4832
4969
|
confirmed?: boolean | undefined;
|
|
4970
|
+
autoChecked?: boolean | undefined;
|
|
4833
4971
|
};
|
|
4972
|
+
inspectionId: string;
|
|
4973
|
+
externalUserId: string;
|
|
4974
|
+
clientId: string;
|
|
4834
4975
|
email?: string | undefined;
|
|
4835
4976
|
phone?: string | undefined;
|
|
4836
4977
|
metadata?: Record<string, string>[] | undefined;
|
|
@@ -4893,6 +5034,12 @@ export declare const SumSubApplicantSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4893
5034
|
} | null | undefined;
|
|
4894
5035
|
sourceKey?: string | undefined;
|
|
4895
5036
|
lang?: string | undefined;
|
|
5037
|
+
requiredIdDocs?: {
|
|
5038
|
+
docSets?: {
|
|
5039
|
+
idDocSetType: "SELFIE" | "PHONE_VERIFICATION" | "EMAIL_VERIFICATION" | "QUESTIONNAIRE" | "APPLICANT_DATA" | "IDENTITY" | "IDENTITY2" | "IDENTITY3" | "IDENTITY4" | "PROOF_OF_RESIDENCE" | "PROOF_OF_RESIDENCE2" | "SELFIE2" | "COMPANY";
|
|
5040
|
+
types?: ("OTHER" | "ID_CARD" | "PASSPORT" | "DRIVERS" | "RESIDENCE_PERMIT" | "UTILITY_BILL" | "SELFIE" | "VIDEO_SELFIE" | "PROFILE_IMAGE" | "ID_DOC_PHOTO" | "AGREEMENT" | "CONTRACT" | "DRIVERS_TRANSLATION" | "INVESTOR_DOC" | "VEHICLE_REGISTRATION_CERTIFICATE" | "INCOME_SOURCE" | "PAYMENT_METHOD" | "BANK_CARD" | "COVID_VACCINATION_FORM")[] | null | undefined;
|
|
5041
|
+
}[] | null | undefined;
|
|
5042
|
+
} | null | undefined;
|
|
4896
5043
|
fixedInfo?: {
|
|
4897
5044
|
firstName?: string | undefined;
|
|
4898
5045
|
middleName?: string | undefined;
|
|
@@ -4950,6 +5097,7 @@ export declare const SumSubApplicantSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
4950
5097
|
}[] | undefined;
|
|
4951
5098
|
tin?: string | undefined;
|
|
4952
5099
|
} | null | undefined;
|
|
5100
|
+
applicantPlatform?: string | undefined;
|
|
4953
5101
|
ipCountry?: string | undefined;
|
|
4954
5102
|
agreement?: {
|
|
4955
5103
|
createdAt: string;
|
|
@@ -5225,11 +5373,8 @@ export declare const SumSubApplicantSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
5225
5373
|
type: z.ZodEnum<["individual", "company"]>;
|
|
5226
5374
|
}, "strip", z.ZodTypeAny, {
|
|
5227
5375
|
id: string;
|
|
5228
|
-
type: "
|
|
5376
|
+
type: "individual" | "company";
|
|
5229
5377
|
createdAt: string;
|
|
5230
|
-
inspectionId: string;
|
|
5231
|
-
externalUserId: string;
|
|
5232
|
-
applicantPlatform: string;
|
|
5233
5378
|
review: {
|
|
5234
5379
|
levelName?: string | undefined;
|
|
5235
5380
|
reviewDate?: Date | undefined;
|
|
@@ -5254,6 +5399,9 @@ export declare const SumSubApplicantSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
5254
5399
|
confirmed?: boolean | undefined;
|
|
5255
5400
|
priority?: number | undefined;
|
|
5256
5401
|
};
|
|
5402
|
+
inspectionId: string;
|
|
5403
|
+
externalUserId: string;
|
|
5404
|
+
applicantPlatform: string;
|
|
5257
5405
|
info?: {
|
|
5258
5406
|
idDocs: {
|
|
5259
5407
|
country: string;
|
|
@@ -5295,11 +5443,8 @@ export declare const SumSubApplicantSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
5295
5443
|
} | null | undefined;
|
|
5296
5444
|
}, {
|
|
5297
5445
|
id: string;
|
|
5298
|
-
type: "
|
|
5446
|
+
type: "individual" | "company";
|
|
5299
5447
|
createdAt: string;
|
|
5300
|
-
inspectionId: string;
|
|
5301
|
-
externalUserId: string;
|
|
5302
|
-
applicantPlatform: string;
|
|
5303
5448
|
review: {
|
|
5304
5449
|
levelName?: string | undefined;
|
|
5305
5450
|
reviewDate?: Date | undefined;
|
|
@@ -5324,6 +5469,9 @@ export declare const SumSubApplicantSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
5324
5469
|
confirmed?: boolean | undefined;
|
|
5325
5470
|
priority?: number | undefined;
|
|
5326
5471
|
};
|
|
5472
|
+
inspectionId: string;
|
|
5473
|
+
externalUserId: string;
|
|
5474
|
+
applicantPlatform: string;
|
|
5327
5475
|
info?: {
|
|
5328
5476
|
idDocs: {
|
|
5329
5477
|
country: string;
|
|
@@ -5676,6 +5824,28 @@ declare const SumSubSimilarApplicantSchema: z.ZodObject<{
|
|
|
5676
5824
|
}[] | undefined;
|
|
5677
5825
|
tin?: string | undefined;
|
|
5678
5826
|
}>>>;
|
|
5827
|
+
requiredIdDocs: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5828
|
+
docSets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
5829
|
+
idDocSetType: z.ZodEnum<["PHONE_VERIFICATION", "EMAIL_VERIFICATION", "QUESTIONNAIRE", "APPLICANT_DATA", "IDENTITY", "IDENTITY2", "IDENTITY3", "IDENTITY4", "PROOF_OF_RESIDENCE", "PROOF_OF_RESIDENCE2", "SELFIE", "SELFIE2", "COMPANY"]>;
|
|
5830
|
+
types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["ID_CARD", "PASSPORT", "DRIVERS", "RESIDENCE_PERMIT", "UTILITY_BILL", "SELFIE", "VIDEO_SELFIE", "PROFILE_IMAGE", "ID_DOC_PHOTO", "AGREEMENT", "CONTRACT", "DRIVERS_TRANSLATION", "INVESTOR_DOC", "VEHICLE_REGISTRATION_CERTIFICATE", "INCOME_SOURCE", "PAYMENT_METHOD", "BANK_CARD", "COVID_VACCINATION_FORM", "OTHER"]>, "many">>>;
|
|
5831
|
+
}, "strip", z.ZodTypeAny, {
|
|
5832
|
+
idDocSetType: "SELFIE" | "PHONE_VERIFICATION" | "EMAIL_VERIFICATION" | "QUESTIONNAIRE" | "APPLICANT_DATA" | "IDENTITY" | "IDENTITY2" | "IDENTITY3" | "IDENTITY4" | "PROOF_OF_RESIDENCE" | "PROOF_OF_RESIDENCE2" | "SELFIE2" | "COMPANY";
|
|
5833
|
+
types?: ("OTHER" | "ID_CARD" | "PASSPORT" | "DRIVERS" | "RESIDENCE_PERMIT" | "UTILITY_BILL" | "SELFIE" | "VIDEO_SELFIE" | "PROFILE_IMAGE" | "ID_DOC_PHOTO" | "AGREEMENT" | "CONTRACT" | "DRIVERS_TRANSLATION" | "INVESTOR_DOC" | "VEHICLE_REGISTRATION_CERTIFICATE" | "INCOME_SOURCE" | "PAYMENT_METHOD" | "BANK_CARD" | "COVID_VACCINATION_FORM")[] | null | undefined;
|
|
5834
|
+
}, {
|
|
5835
|
+
idDocSetType: "SELFIE" | "PHONE_VERIFICATION" | "EMAIL_VERIFICATION" | "QUESTIONNAIRE" | "APPLICANT_DATA" | "IDENTITY" | "IDENTITY2" | "IDENTITY3" | "IDENTITY4" | "PROOF_OF_RESIDENCE" | "PROOF_OF_RESIDENCE2" | "SELFIE2" | "COMPANY";
|
|
5836
|
+
types?: ("OTHER" | "ID_CARD" | "PASSPORT" | "DRIVERS" | "RESIDENCE_PERMIT" | "UTILITY_BILL" | "SELFIE" | "VIDEO_SELFIE" | "PROFILE_IMAGE" | "ID_DOC_PHOTO" | "AGREEMENT" | "CONTRACT" | "DRIVERS_TRANSLATION" | "INVESTOR_DOC" | "VEHICLE_REGISTRATION_CERTIFICATE" | "INCOME_SOURCE" | "PAYMENT_METHOD" | "BANK_CARD" | "COVID_VACCINATION_FORM")[] | null | undefined;
|
|
5837
|
+
}>, "many">>>;
|
|
5838
|
+
}, "strip", z.ZodTypeAny, {
|
|
5839
|
+
docSets?: {
|
|
5840
|
+
idDocSetType: "SELFIE" | "PHONE_VERIFICATION" | "EMAIL_VERIFICATION" | "QUESTIONNAIRE" | "APPLICANT_DATA" | "IDENTITY" | "IDENTITY2" | "IDENTITY3" | "IDENTITY4" | "PROOF_OF_RESIDENCE" | "PROOF_OF_RESIDENCE2" | "SELFIE2" | "COMPANY";
|
|
5841
|
+
types?: ("OTHER" | "ID_CARD" | "PASSPORT" | "DRIVERS" | "RESIDENCE_PERMIT" | "UTILITY_BILL" | "SELFIE" | "VIDEO_SELFIE" | "PROFILE_IMAGE" | "ID_DOC_PHOTO" | "AGREEMENT" | "CONTRACT" | "DRIVERS_TRANSLATION" | "INVESTOR_DOC" | "VEHICLE_REGISTRATION_CERTIFICATE" | "INCOME_SOURCE" | "PAYMENT_METHOD" | "BANK_CARD" | "COVID_VACCINATION_FORM")[] | null | undefined;
|
|
5842
|
+
}[] | null | undefined;
|
|
5843
|
+
}, {
|
|
5844
|
+
docSets?: {
|
|
5845
|
+
idDocSetType: "SELFIE" | "PHONE_VERIFICATION" | "EMAIL_VERIFICATION" | "QUESTIONNAIRE" | "APPLICANT_DATA" | "IDENTITY" | "IDENTITY2" | "IDENTITY3" | "IDENTITY4" | "PROOF_OF_RESIDENCE" | "PROOF_OF_RESIDENCE2" | "SELFIE2" | "COMPANY";
|
|
5846
|
+
types?: ("OTHER" | "ID_CARD" | "PASSPORT" | "DRIVERS" | "RESIDENCE_PERMIT" | "UTILITY_BILL" | "SELFIE" | "VIDEO_SELFIE" | "PROFILE_IMAGE" | "ID_DOC_PHOTO" | "AGREEMENT" | "CONTRACT" | "DRIVERS_TRANSLATION" | "INVESTOR_DOC" | "VEHICLE_REGISTRATION_CERTIFICATE" | "INCOME_SOURCE" | "PAYMENT_METHOD" | "BANK_CARD" | "COVID_VACCINATION_FORM")[] | null | undefined;
|
|
5847
|
+
}[] | null | undefined;
|
|
5848
|
+
}>>>;
|
|
5679
5849
|
fixedInfo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5680
5850
|
firstName: z.ZodOptional<z.ZodString>;
|
|
5681
5851
|
lastName: z.ZodOptional<z.ZodString>;
|
|
@@ -5943,7 +6113,7 @@ declare const SumSubSimilarApplicantSchema: z.ZodObject<{
|
|
|
5943
6113
|
}[] | undefined;
|
|
5944
6114
|
tin?: string | undefined;
|
|
5945
6115
|
}>>>;
|
|
5946
|
-
applicantPlatform: z.ZodString
|
|
6116
|
+
applicantPlatform: z.ZodOptional<z.ZodString>;
|
|
5947
6117
|
ipCountry: z.ZodOptional<z.ZodString>;
|
|
5948
6118
|
agreement: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5949
6119
|
createdAt: z.ZodString;
|
|
@@ -5962,15 +6132,15 @@ declare const SumSubSimilarApplicantSchema: z.ZodObject<{
|
|
|
5962
6132
|
privacyNoticeUrl?: string | null | undefined;
|
|
5963
6133
|
}>>>;
|
|
5964
6134
|
review: z.ZodObject<{
|
|
5965
|
-
reviewId: z.ZodString
|
|
5966
|
-
attemptId: z.ZodString
|
|
5967
|
-
attemptCnt: z.ZodNumber
|
|
6135
|
+
reviewId: z.ZodOptional<z.ZodString>;
|
|
6136
|
+
attemptId: z.ZodOptional<z.ZodString>;
|
|
6137
|
+
attemptCnt: z.ZodOptional<z.ZodNumber>;
|
|
5968
6138
|
elapsedSincePendingMs: z.ZodOptional<z.ZodNumber>;
|
|
5969
6139
|
elapsedSinceQueuedMs: z.ZodOptional<z.ZodNumber>;
|
|
5970
6140
|
reprocessing: z.ZodOptional<z.ZodBoolean>;
|
|
5971
6141
|
levelName: z.ZodString;
|
|
5972
|
-
levelAutoCheckMode: z.ZodNull
|
|
5973
|
-
createDate: z.
|
|
6142
|
+
levelAutoCheckMode: z.ZodOptional<z.ZodNull>;
|
|
6143
|
+
createDate: z.ZodOptional<z.ZodDate>;
|
|
5974
6144
|
reviewDate: z.ZodOptional<z.ZodDate>;
|
|
5975
6145
|
reviewResult: z.ZodOptional<z.ZodObject<{
|
|
5976
6146
|
reviewAnswer: z.ZodOptional<z.ZodEnum<["GREEN", "RED", "YELLOW"]>>;
|
|
@@ -5998,15 +6168,12 @@ declare const SumSubSimilarApplicantSchema: z.ZodObject<{
|
|
|
5998
6168
|
reviewDate?: Date | undefined;
|
|
5999
6169
|
}>>;
|
|
6000
6170
|
reviewStatus: z.ZodOptional<z.ZodEnum<["init", "pending", "prechecked", "queued", "completed", "onHold"]>>;
|
|
6171
|
+
startDate: z.ZodOptional<z.ZodDate>;
|
|
6001
6172
|
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
6002
6173
|
priority: z.ZodNumber;
|
|
6174
|
+
autoChecked: z.ZodOptional<z.ZodBoolean>;
|
|
6003
6175
|
}, "strip", z.ZodTypeAny, {
|
|
6004
6176
|
levelName: string;
|
|
6005
|
-
reviewId: string;
|
|
6006
|
-
attemptId: string;
|
|
6007
|
-
attemptCnt: number;
|
|
6008
|
-
levelAutoCheckMode: null;
|
|
6009
|
-
createDate: string;
|
|
6010
6177
|
priority: number;
|
|
6011
6178
|
reviewDate?: Date | undefined;
|
|
6012
6179
|
reviewResult?: {
|
|
@@ -6019,17 +6186,19 @@ declare const SumSubSimilarApplicantSchema: z.ZodObject<{
|
|
|
6019
6186
|
reviewDate?: Date | undefined;
|
|
6020
6187
|
} | undefined;
|
|
6021
6188
|
reviewStatus?: "pending" | "init" | "prechecked" | "queued" | "completed" | "onHold" | undefined;
|
|
6189
|
+
reviewId?: string | undefined;
|
|
6190
|
+
attemptId?: string | undefined;
|
|
6191
|
+
attemptCnt?: number | undefined;
|
|
6022
6192
|
elapsedSincePendingMs?: number | undefined;
|
|
6023
6193
|
elapsedSinceQueuedMs?: number | undefined;
|
|
6024
6194
|
reprocessing?: boolean | undefined;
|
|
6195
|
+
levelAutoCheckMode?: null | undefined;
|
|
6196
|
+
createDate?: Date | undefined;
|
|
6197
|
+
startDate?: Date | undefined;
|
|
6025
6198
|
confirmed?: boolean | undefined;
|
|
6199
|
+
autoChecked?: boolean | undefined;
|
|
6026
6200
|
}, {
|
|
6027
6201
|
levelName: string;
|
|
6028
|
-
reviewId: string;
|
|
6029
|
-
attemptId: string;
|
|
6030
|
-
attemptCnt: number;
|
|
6031
|
-
levelAutoCheckMode: null;
|
|
6032
|
-
createDate: string;
|
|
6033
6202
|
priority: number;
|
|
6034
6203
|
reviewDate?: Date | undefined;
|
|
6035
6204
|
reviewResult?: {
|
|
@@ -6042,28 +6211,26 @@ declare const SumSubSimilarApplicantSchema: z.ZodObject<{
|
|
|
6042
6211
|
reviewDate?: Date | undefined;
|
|
6043
6212
|
} | undefined;
|
|
6044
6213
|
reviewStatus?: "pending" | "init" | "prechecked" | "queued" | "completed" | "onHold" | undefined;
|
|
6214
|
+
reviewId?: string | undefined;
|
|
6215
|
+
attemptId?: string | undefined;
|
|
6216
|
+
attemptCnt?: number | undefined;
|
|
6045
6217
|
elapsedSincePendingMs?: number | undefined;
|
|
6046
6218
|
elapsedSinceQueuedMs?: number | undefined;
|
|
6047
6219
|
reprocessing?: boolean | undefined;
|
|
6220
|
+
levelAutoCheckMode?: null | undefined;
|
|
6221
|
+
createDate?: Date | undefined;
|
|
6222
|
+
startDate?: Date | undefined;
|
|
6048
6223
|
confirmed?: boolean | undefined;
|
|
6224
|
+
autoChecked?: boolean | undefined;
|
|
6049
6225
|
}>;
|
|
6050
6226
|
type: z.ZodEnum<["individual", "company"]>;
|
|
6051
6227
|
}, "strip", z.ZodTypeAny, {
|
|
6052
6228
|
id: string;
|
|
6053
|
-
type: "
|
|
6229
|
+
type: "individual" | "company";
|
|
6054
6230
|
key: string;
|
|
6055
6231
|
createdAt: string;
|
|
6056
|
-
inspectionId: string;
|
|
6057
|
-
externalUserId: string;
|
|
6058
|
-
clientId: string;
|
|
6059
|
-
applicantPlatform: string;
|
|
6060
6232
|
review: {
|
|
6061
6233
|
levelName: string;
|
|
6062
|
-
reviewId: string;
|
|
6063
|
-
attemptId: string;
|
|
6064
|
-
attemptCnt: number;
|
|
6065
|
-
levelAutoCheckMode: null;
|
|
6066
|
-
createDate: string;
|
|
6067
6234
|
priority: number;
|
|
6068
6235
|
reviewDate?: Date | undefined;
|
|
6069
6236
|
reviewResult?: {
|
|
@@ -6076,11 +6243,21 @@ declare const SumSubSimilarApplicantSchema: z.ZodObject<{
|
|
|
6076
6243
|
reviewDate?: Date | undefined;
|
|
6077
6244
|
} | undefined;
|
|
6078
6245
|
reviewStatus?: "pending" | "init" | "prechecked" | "queued" | "completed" | "onHold" | undefined;
|
|
6246
|
+
reviewId?: string | undefined;
|
|
6247
|
+
attemptId?: string | undefined;
|
|
6248
|
+
attemptCnt?: number | undefined;
|
|
6079
6249
|
elapsedSincePendingMs?: number | undefined;
|
|
6080
6250
|
elapsedSinceQueuedMs?: number | undefined;
|
|
6081
6251
|
reprocessing?: boolean | undefined;
|
|
6252
|
+
levelAutoCheckMode?: null | undefined;
|
|
6253
|
+
createDate?: Date | undefined;
|
|
6254
|
+
startDate?: Date | undefined;
|
|
6082
6255
|
confirmed?: boolean | undefined;
|
|
6256
|
+
autoChecked?: boolean | undefined;
|
|
6083
6257
|
};
|
|
6258
|
+
inspectionId: string;
|
|
6259
|
+
externalUserId: string;
|
|
6260
|
+
clientId: string;
|
|
6084
6261
|
email?: string | undefined;
|
|
6085
6262
|
phone?: string | undefined;
|
|
6086
6263
|
metadata?: Record<string, string>[] | undefined;
|
|
@@ -6143,6 +6320,12 @@ declare const SumSubSimilarApplicantSchema: z.ZodObject<{
|
|
|
6143
6320
|
} | null | undefined;
|
|
6144
6321
|
sourceKey?: string | undefined;
|
|
6145
6322
|
lang?: string | undefined;
|
|
6323
|
+
requiredIdDocs?: {
|
|
6324
|
+
docSets?: {
|
|
6325
|
+
idDocSetType: "SELFIE" | "PHONE_VERIFICATION" | "EMAIL_VERIFICATION" | "QUESTIONNAIRE" | "APPLICANT_DATA" | "IDENTITY" | "IDENTITY2" | "IDENTITY3" | "IDENTITY4" | "PROOF_OF_RESIDENCE" | "PROOF_OF_RESIDENCE2" | "SELFIE2" | "COMPANY";
|
|
6326
|
+
types?: ("OTHER" | "ID_CARD" | "PASSPORT" | "DRIVERS" | "RESIDENCE_PERMIT" | "UTILITY_BILL" | "SELFIE" | "VIDEO_SELFIE" | "PROFILE_IMAGE" | "ID_DOC_PHOTO" | "AGREEMENT" | "CONTRACT" | "DRIVERS_TRANSLATION" | "INVESTOR_DOC" | "VEHICLE_REGISTRATION_CERTIFICATE" | "INCOME_SOURCE" | "PAYMENT_METHOD" | "BANK_CARD" | "COVID_VACCINATION_FORM")[] | null | undefined;
|
|
6327
|
+
}[] | null | undefined;
|
|
6328
|
+
} | null | undefined;
|
|
6146
6329
|
fixedInfo?: {
|
|
6147
6330
|
firstName?: string | undefined;
|
|
6148
6331
|
middleName?: string | undefined;
|
|
@@ -6200,6 +6383,7 @@ declare const SumSubSimilarApplicantSchema: z.ZodObject<{
|
|
|
6200
6383
|
}[] | undefined;
|
|
6201
6384
|
tin?: string | undefined;
|
|
6202
6385
|
} | null | undefined;
|
|
6386
|
+
applicantPlatform?: string | undefined;
|
|
6203
6387
|
ipCountry?: string | undefined;
|
|
6204
6388
|
agreement?: {
|
|
6205
6389
|
createdAt: string;
|
|
@@ -6209,20 +6393,11 @@ declare const SumSubSimilarApplicantSchema: z.ZodObject<{
|
|
|
6209
6393
|
} | null | undefined;
|
|
6210
6394
|
}, {
|
|
6211
6395
|
id: string;
|
|
6212
|
-
type: "
|
|
6396
|
+
type: "individual" | "company";
|
|
6213
6397
|
key: string;
|
|
6214
6398
|
createdAt: string;
|
|
6215
|
-
inspectionId: string;
|
|
6216
|
-
externalUserId: string;
|
|
6217
|
-
clientId: string;
|
|
6218
|
-
applicantPlatform: string;
|
|
6219
6399
|
review: {
|
|
6220
6400
|
levelName: string;
|
|
6221
|
-
reviewId: string;
|
|
6222
|
-
attemptId: string;
|
|
6223
|
-
attemptCnt: number;
|
|
6224
|
-
levelAutoCheckMode: null;
|
|
6225
|
-
createDate: string;
|
|
6226
6401
|
priority: number;
|
|
6227
6402
|
reviewDate?: Date | undefined;
|
|
6228
6403
|
reviewResult?: {
|
|
@@ -6235,11 +6410,21 @@ declare const SumSubSimilarApplicantSchema: z.ZodObject<{
|
|
|
6235
6410
|
reviewDate?: Date | undefined;
|
|
6236
6411
|
} | undefined;
|
|
6237
6412
|
reviewStatus?: "pending" | "init" | "prechecked" | "queued" | "completed" | "onHold" | undefined;
|
|
6413
|
+
reviewId?: string | undefined;
|
|
6414
|
+
attemptId?: string | undefined;
|
|
6415
|
+
attemptCnt?: number | undefined;
|
|
6238
6416
|
elapsedSincePendingMs?: number | undefined;
|
|
6239
6417
|
elapsedSinceQueuedMs?: number | undefined;
|
|
6240
6418
|
reprocessing?: boolean | undefined;
|
|
6419
|
+
levelAutoCheckMode?: null | undefined;
|
|
6420
|
+
createDate?: Date | undefined;
|
|
6421
|
+
startDate?: Date | undefined;
|
|
6241
6422
|
confirmed?: boolean | undefined;
|
|
6423
|
+
autoChecked?: boolean | undefined;
|
|
6242
6424
|
};
|
|
6425
|
+
inspectionId: string;
|
|
6426
|
+
externalUserId: string;
|
|
6427
|
+
clientId: string;
|
|
6243
6428
|
email?: string | undefined;
|
|
6244
6429
|
phone?: string | undefined;
|
|
6245
6430
|
metadata?: Record<string, string>[] | undefined;
|
|
@@ -6302,6 +6487,12 @@ declare const SumSubSimilarApplicantSchema: z.ZodObject<{
|
|
|
6302
6487
|
} | null | undefined;
|
|
6303
6488
|
sourceKey?: string | undefined;
|
|
6304
6489
|
lang?: string | undefined;
|
|
6490
|
+
requiredIdDocs?: {
|
|
6491
|
+
docSets?: {
|
|
6492
|
+
idDocSetType: "SELFIE" | "PHONE_VERIFICATION" | "EMAIL_VERIFICATION" | "QUESTIONNAIRE" | "APPLICANT_DATA" | "IDENTITY" | "IDENTITY2" | "IDENTITY3" | "IDENTITY4" | "PROOF_OF_RESIDENCE" | "PROOF_OF_RESIDENCE2" | "SELFIE2" | "COMPANY";
|
|
6493
|
+
types?: ("OTHER" | "ID_CARD" | "PASSPORT" | "DRIVERS" | "RESIDENCE_PERMIT" | "UTILITY_BILL" | "SELFIE" | "VIDEO_SELFIE" | "PROFILE_IMAGE" | "ID_DOC_PHOTO" | "AGREEMENT" | "CONTRACT" | "DRIVERS_TRANSLATION" | "INVESTOR_DOC" | "VEHICLE_REGISTRATION_CERTIFICATE" | "INCOME_SOURCE" | "PAYMENT_METHOD" | "BANK_CARD" | "COVID_VACCINATION_FORM")[] | null | undefined;
|
|
6494
|
+
}[] | null | undefined;
|
|
6495
|
+
} | null | undefined;
|
|
6305
6496
|
fixedInfo?: {
|
|
6306
6497
|
firstName?: string | undefined;
|
|
6307
6498
|
middleName?: string | undefined;
|
|
@@ -6359,6 +6550,7 @@ declare const SumSubSimilarApplicantSchema: z.ZodObject<{
|
|
|
6359
6550
|
}[] | undefined;
|
|
6360
6551
|
tin?: string | undefined;
|
|
6361
6552
|
} | null | undefined;
|
|
6553
|
+
applicantPlatform?: string | undefined;
|
|
6362
6554
|
ipCountry?: string | undefined;
|
|
6363
6555
|
agreement?: {
|
|
6364
6556
|
createdAt: string;
|
|
@@ -6634,11 +6826,8 @@ declare const SumSubSimilarApplicantSchema: z.ZodObject<{
|
|
|
6634
6826
|
type: z.ZodEnum<["individual", "company"]>;
|
|
6635
6827
|
}, "strip", z.ZodTypeAny, {
|
|
6636
6828
|
id: string;
|
|
6637
|
-
type: "
|
|
6829
|
+
type: "individual" | "company";
|
|
6638
6830
|
createdAt: string;
|
|
6639
|
-
inspectionId: string;
|
|
6640
|
-
externalUserId: string;
|
|
6641
|
-
applicantPlatform: string;
|
|
6642
6831
|
review: {
|
|
6643
6832
|
levelName?: string | undefined;
|
|
6644
6833
|
reviewDate?: Date | undefined;
|
|
@@ -6663,6 +6852,9 @@ declare const SumSubSimilarApplicantSchema: z.ZodObject<{
|
|
|
6663
6852
|
confirmed?: boolean | undefined;
|
|
6664
6853
|
priority?: number | undefined;
|
|
6665
6854
|
};
|
|
6855
|
+
inspectionId: string;
|
|
6856
|
+
externalUserId: string;
|
|
6857
|
+
applicantPlatform: string;
|
|
6666
6858
|
info?: {
|
|
6667
6859
|
idDocs: {
|
|
6668
6860
|
country: string;
|
|
@@ -6704,11 +6896,8 @@ declare const SumSubSimilarApplicantSchema: z.ZodObject<{
|
|
|
6704
6896
|
} | null | undefined;
|
|
6705
6897
|
}, {
|
|
6706
6898
|
id: string;
|
|
6707
|
-
type: "
|
|
6899
|
+
type: "individual" | "company";
|
|
6708
6900
|
createdAt: string;
|
|
6709
|
-
inspectionId: string;
|
|
6710
|
-
externalUserId: string;
|
|
6711
|
-
applicantPlatform: string;
|
|
6712
6901
|
review: {
|
|
6713
6902
|
levelName?: string | undefined;
|
|
6714
6903
|
reviewDate?: Date | undefined;
|
|
@@ -6733,6 +6922,9 @@ declare const SumSubSimilarApplicantSchema: z.ZodObject<{
|
|
|
6733
6922
|
confirmed?: boolean | undefined;
|
|
6734
6923
|
priority?: number | undefined;
|
|
6735
6924
|
};
|
|
6925
|
+
inspectionId: string;
|
|
6926
|
+
externalUserId: string;
|
|
6927
|
+
applicantPlatform: string;
|
|
6736
6928
|
info?: {
|
|
6737
6929
|
idDocs: {
|
|
6738
6930
|
country: string;
|
|
@@ -6777,29 +6969,20 @@ declare const SumSubSimilarApplicantSchema: z.ZodObject<{
|
|
|
6777
6969
|
exactMatch: z.ZodOptional<z.ZodBoolean>;
|
|
6778
6970
|
blacklisted: z.ZodOptional<z.ZodBoolean>;
|
|
6779
6971
|
sameSource: z.ZodOptional<z.ZodBoolean>;
|
|
6780
|
-
types: z.ZodOptional<z.ZodArray<z.
|
|
6972
|
+
types: z.ZodOptional<z.ZodArray<z.ZodEnum<["text", "image"]>, "many">>;
|
|
6781
6973
|
originalImageId: z.ZodOptional<z.ZodNumber>;
|
|
6782
6974
|
similaritySource: z.ZodOptional<z.ZodAny>;
|
|
6783
6975
|
similarityConfidence: z.ZodOptional<z.ZodAny>;
|
|
6784
6976
|
}, "strip", z.ZodTypeAny, {
|
|
6785
|
-
types?:
|
|
6977
|
+
types?: ("text" | "image")[] | undefined;
|
|
6786
6978
|
exactMatch?: boolean | undefined;
|
|
6787
6979
|
applicant?: {
|
|
6788
6980
|
id: string;
|
|
6789
|
-
type: "
|
|
6981
|
+
type: "individual" | "company";
|
|
6790
6982
|
key: string;
|
|
6791
6983
|
createdAt: string;
|
|
6792
|
-
inspectionId: string;
|
|
6793
|
-
externalUserId: string;
|
|
6794
|
-
clientId: string;
|
|
6795
|
-
applicantPlatform: string;
|
|
6796
6984
|
review: {
|
|
6797
6985
|
levelName: string;
|
|
6798
|
-
reviewId: string;
|
|
6799
|
-
attemptId: string;
|
|
6800
|
-
attemptCnt: number;
|
|
6801
|
-
levelAutoCheckMode: null;
|
|
6802
|
-
createDate: string;
|
|
6803
6986
|
priority: number;
|
|
6804
6987
|
reviewDate?: Date | undefined;
|
|
6805
6988
|
reviewResult?: {
|
|
@@ -6812,11 +6995,21 @@ declare const SumSubSimilarApplicantSchema: z.ZodObject<{
|
|
|
6812
6995
|
reviewDate?: Date | undefined;
|
|
6813
6996
|
} | undefined;
|
|
6814
6997
|
reviewStatus?: "pending" | "init" | "prechecked" | "queued" | "completed" | "onHold" | undefined;
|
|
6998
|
+
reviewId?: string | undefined;
|
|
6999
|
+
attemptId?: string | undefined;
|
|
7000
|
+
attemptCnt?: number | undefined;
|
|
6815
7001
|
elapsedSincePendingMs?: number | undefined;
|
|
6816
7002
|
elapsedSinceQueuedMs?: number | undefined;
|
|
6817
7003
|
reprocessing?: boolean | undefined;
|
|
7004
|
+
levelAutoCheckMode?: null | undefined;
|
|
7005
|
+
createDate?: Date | undefined;
|
|
7006
|
+
startDate?: Date | undefined;
|
|
6818
7007
|
confirmed?: boolean | undefined;
|
|
7008
|
+
autoChecked?: boolean | undefined;
|
|
6819
7009
|
};
|
|
7010
|
+
inspectionId: string;
|
|
7011
|
+
externalUserId: string;
|
|
7012
|
+
clientId: string;
|
|
6820
7013
|
email?: string | undefined;
|
|
6821
7014
|
phone?: string | undefined;
|
|
6822
7015
|
metadata?: Record<string, string>[] | undefined;
|
|
@@ -6879,6 +7072,12 @@ declare const SumSubSimilarApplicantSchema: z.ZodObject<{
|
|
|
6879
7072
|
} | null | undefined;
|
|
6880
7073
|
sourceKey?: string | undefined;
|
|
6881
7074
|
lang?: string | undefined;
|
|
7075
|
+
requiredIdDocs?: {
|
|
7076
|
+
docSets?: {
|
|
7077
|
+
idDocSetType: "SELFIE" | "PHONE_VERIFICATION" | "EMAIL_VERIFICATION" | "QUESTIONNAIRE" | "APPLICANT_DATA" | "IDENTITY" | "IDENTITY2" | "IDENTITY3" | "IDENTITY4" | "PROOF_OF_RESIDENCE" | "PROOF_OF_RESIDENCE2" | "SELFIE2" | "COMPANY";
|
|
7078
|
+
types?: ("OTHER" | "ID_CARD" | "PASSPORT" | "DRIVERS" | "RESIDENCE_PERMIT" | "UTILITY_BILL" | "SELFIE" | "VIDEO_SELFIE" | "PROFILE_IMAGE" | "ID_DOC_PHOTO" | "AGREEMENT" | "CONTRACT" | "DRIVERS_TRANSLATION" | "INVESTOR_DOC" | "VEHICLE_REGISTRATION_CERTIFICATE" | "INCOME_SOURCE" | "PAYMENT_METHOD" | "BANK_CARD" | "COVID_VACCINATION_FORM")[] | null | undefined;
|
|
7079
|
+
}[] | null | undefined;
|
|
7080
|
+
} | null | undefined;
|
|
6882
7081
|
fixedInfo?: {
|
|
6883
7082
|
firstName?: string | undefined;
|
|
6884
7083
|
middleName?: string | undefined;
|
|
@@ -6936,6 +7135,7 @@ declare const SumSubSimilarApplicantSchema: z.ZodObject<{
|
|
|
6936
7135
|
}[] | undefined;
|
|
6937
7136
|
tin?: string | undefined;
|
|
6938
7137
|
} | null | undefined;
|
|
7138
|
+
applicantPlatform?: string | undefined;
|
|
6939
7139
|
ipCountry?: string | undefined;
|
|
6940
7140
|
agreement?: {
|
|
6941
7141
|
createdAt: string;
|
|
@@ -6945,11 +7145,8 @@ declare const SumSubSimilarApplicantSchema: z.ZodObject<{
|
|
|
6945
7145
|
} | null | undefined;
|
|
6946
7146
|
} | {
|
|
6947
7147
|
id: string;
|
|
6948
|
-
type: "
|
|
7148
|
+
type: "individual" | "company";
|
|
6949
7149
|
createdAt: string;
|
|
6950
|
-
inspectionId: string;
|
|
6951
|
-
externalUserId: string;
|
|
6952
|
-
applicantPlatform: string;
|
|
6953
7150
|
review: {
|
|
6954
7151
|
levelName?: string | undefined;
|
|
6955
7152
|
reviewDate?: Date | undefined;
|
|
@@ -6974,6 +7171,9 @@ declare const SumSubSimilarApplicantSchema: z.ZodObject<{
|
|
|
6974
7171
|
confirmed?: boolean | undefined;
|
|
6975
7172
|
priority?: number | undefined;
|
|
6976
7173
|
};
|
|
7174
|
+
inspectionId: string;
|
|
7175
|
+
externalUserId: string;
|
|
7176
|
+
applicantPlatform: string;
|
|
6977
7177
|
info?: {
|
|
6978
7178
|
idDocs: {
|
|
6979
7179
|
country: string;
|
|
@@ -7021,24 +7221,15 @@ declare const SumSubSimilarApplicantSchema: z.ZodObject<{
|
|
|
7021
7221
|
similaritySource?: any;
|
|
7022
7222
|
similarityConfidence?: any;
|
|
7023
7223
|
}, {
|
|
7024
|
-
types?:
|
|
7224
|
+
types?: ("text" | "image")[] | undefined;
|
|
7025
7225
|
exactMatch?: boolean | undefined;
|
|
7026
7226
|
applicant?: {
|
|
7027
7227
|
id: string;
|
|
7028
|
-
type: "
|
|
7228
|
+
type: "individual" | "company";
|
|
7029
7229
|
key: string;
|
|
7030
7230
|
createdAt: string;
|
|
7031
|
-
inspectionId: string;
|
|
7032
|
-
externalUserId: string;
|
|
7033
|
-
clientId: string;
|
|
7034
|
-
applicantPlatform: string;
|
|
7035
7231
|
review: {
|
|
7036
7232
|
levelName: string;
|
|
7037
|
-
reviewId: string;
|
|
7038
|
-
attemptId: string;
|
|
7039
|
-
attemptCnt: number;
|
|
7040
|
-
levelAutoCheckMode: null;
|
|
7041
|
-
createDate: string;
|
|
7042
7233
|
priority: number;
|
|
7043
7234
|
reviewDate?: Date | undefined;
|
|
7044
7235
|
reviewResult?: {
|
|
@@ -7051,11 +7242,21 @@ declare const SumSubSimilarApplicantSchema: z.ZodObject<{
|
|
|
7051
7242
|
reviewDate?: Date | undefined;
|
|
7052
7243
|
} | undefined;
|
|
7053
7244
|
reviewStatus?: "pending" | "init" | "prechecked" | "queued" | "completed" | "onHold" | undefined;
|
|
7245
|
+
reviewId?: string | undefined;
|
|
7246
|
+
attemptId?: string | undefined;
|
|
7247
|
+
attemptCnt?: number | undefined;
|
|
7054
7248
|
elapsedSincePendingMs?: number | undefined;
|
|
7055
7249
|
elapsedSinceQueuedMs?: number | undefined;
|
|
7056
7250
|
reprocessing?: boolean | undefined;
|
|
7251
|
+
levelAutoCheckMode?: null | undefined;
|
|
7252
|
+
createDate?: Date | undefined;
|
|
7253
|
+
startDate?: Date | undefined;
|
|
7057
7254
|
confirmed?: boolean | undefined;
|
|
7255
|
+
autoChecked?: boolean | undefined;
|
|
7058
7256
|
};
|
|
7257
|
+
inspectionId: string;
|
|
7258
|
+
externalUserId: string;
|
|
7259
|
+
clientId: string;
|
|
7059
7260
|
email?: string | undefined;
|
|
7060
7261
|
phone?: string | undefined;
|
|
7061
7262
|
metadata?: Record<string, string>[] | undefined;
|
|
@@ -7118,6 +7319,12 @@ declare const SumSubSimilarApplicantSchema: z.ZodObject<{
|
|
|
7118
7319
|
} | null | undefined;
|
|
7119
7320
|
sourceKey?: string | undefined;
|
|
7120
7321
|
lang?: string | undefined;
|
|
7322
|
+
requiredIdDocs?: {
|
|
7323
|
+
docSets?: {
|
|
7324
|
+
idDocSetType: "SELFIE" | "PHONE_VERIFICATION" | "EMAIL_VERIFICATION" | "QUESTIONNAIRE" | "APPLICANT_DATA" | "IDENTITY" | "IDENTITY2" | "IDENTITY3" | "IDENTITY4" | "PROOF_OF_RESIDENCE" | "PROOF_OF_RESIDENCE2" | "SELFIE2" | "COMPANY";
|
|
7325
|
+
types?: ("OTHER" | "ID_CARD" | "PASSPORT" | "DRIVERS" | "RESIDENCE_PERMIT" | "UTILITY_BILL" | "SELFIE" | "VIDEO_SELFIE" | "PROFILE_IMAGE" | "ID_DOC_PHOTO" | "AGREEMENT" | "CONTRACT" | "DRIVERS_TRANSLATION" | "INVESTOR_DOC" | "VEHICLE_REGISTRATION_CERTIFICATE" | "INCOME_SOURCE" | "PAYMENT_METHOD" | "BANK_CARD" | "COVID_VACCINATION_FORM")[] | null | undefined;
|
|
7326
|
+
}[] | null | undefined;
|
|
7327
|
+
} | null | undefined;
|
|
7121
7328
|
fixedInfo?: {
|
|
7122
7329
|
firstName?: string | undefined;
|
|
7123
7330
|
middleName?: string | undefined;
|
|
@@ -7175,6 +7382,7 @@ declare const SumSubSimilarApplicantSchema: z.ZodObject<{
|
|
|
7175
7382
|
}[] | undefined;
|
|
7176
7383
|
tin?: string | undefined;
|
|
7177
7384
|
} | null | undefined;
|
|
7385
|
+
applicantPlatform?: string | undefined;
|
|
7178
7386
|
ipCountry?: string | undefined;
|
|
7179
7387
|
agreement?: {
|
|
7180
7388
|
createdAt: string;
|
|
@@ -7184,11 +7392,8 @@ declare const SumSubSimilarApplicantSchema: z.ZodObject<{
|
|
|
7184
7392
|
} | null | undefined;
|
|
7185
7393
|
} | {
|
|
7186
7394
|
id: string;
|
|
7187
|
-
type: "
|
|
7395
|
+
type: "individual" | "company";
|
|
7188
7396
|
createdAt: string;
|
|
7189
|
-
inspectionId: string;
|
|
7190
|
-
externalUserId: string;
|
|
7191
|
-
applicantPlatform: string;
|
|
7192
7397
|
review: {
|
|
7193
7398
|
levelName?: string | undefined;
|
|
7194
7399
|
reviewDate?: Date | undefined;
|
|
@@ -7213,6 +7418,9 @@ declare const SumSubSimilarApplicantSchema: z.ZodObject<{
|
|
|
7213
7418
|
confirmed?: boolean | undefined;
|
|
7214
7419
|
priority?: number | undefined;
|
|
7215
7420
|
};
|
|
7421
|
+
inspectionId: string;
|
|
7422
|
+
externalUserId: string;
|
|
7423
|
+
applicantPlatform: string;
|
|
7216
7424
|
info?: {
|
|
7217
7425
|
idDocs: {
|
|
7218
7426
|
country: string;
|
|
@@ -7541,6 +7749,28 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
|
|
|
7541
7749
|
}[] | undefined;
|
|
7542
7750
|
tin?: string | undefined;
|
|
7543
7751
|
}>>>;
|
|
7752
|
+
requiredIdDocs: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7753
|
+
docSets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
7754
|
+
idDocSetType: z.ZodEnum<["PHONE_VERIFICATION", "EMAIL_VERIFICATION", "QUESTIONNAIRE", "APPLICANT_DATA", "IDENTITY", "IDENTITY2", "IDENTITY3", "IDENTITY4", "PROOF_OF_RESIDENCE", "PROOF_OF_RESIDENCE2", "SELFIE", "SELFIE2", "COMPANY"]>;
|
|
7755
|
+
types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["ID_CARD", "PASSPORT", "DRIVERS", "RESIDENCE_PERMIT", "UTILITY_BILL", "SELFIE", "VIDEO_SELFIE", "PROFILE_IMAGE", "ID_DOC_PHOTO", "AGREEMENT", "CONTRACT", "DRIVERS_TRANSLATION", "INVESTOR_DOC", "VEHICLE_REGISTRATION_CERTIFICATE", "INCOME_SOURCE", "PAYMENT_METHOD", "BANK_CARD", "COVID_VACCINATION_FORM", "OTHER"]>, "many">>>;
|
|
7756
|
+
}, "strip", z.ZodTypeAny, {
|
|
7757
|
+
idDocSetType: "SELFIE" | "PHONE_VERIFICATION" | "EMAIL_VERIFICATION" | "QUESTIONNAIRE" | "APPLICANT_DATA" | "IDENTITY" | "IDENTITY2" | "IDENTITY3" | "IDENTITY4" | "PROOF_OF_RESIDENCE" | "PROOF_OF_RESIDENCE2" | "SELFIE2" | "COMPANY";
|
|
7758
|
+
types?: ("OTHER" | "ID_CARD" | "PASSPORT" | "DRIVERS" | "RESIDENCE_PERMIT" | "UTILITY_BILL" | "SELFIE" | "VIDEO_SELFIE" | "PROFILE_IMAGE" | "ID_DOC_PHOTO" | "AGREEMENT" | "CONTRACT" | "DRIVERS_TRANSLATION" | "INVESTOR_DOC" | "VEHICLE_REGISTRATION_CERTIFICATE" | "INCOME_SOURCE" | "PAYMENT_METHOD" | "BANK_CARD" | "COVID_VACCINATION_FORM")[] | null | undefined;
|
|
7759
|
+
}, {
|
|
7760
|
+
idDocSetType: "SELFIE" | "PHONE_VERIFICATION" | "EMAIL_VERIFICATION" | "QUESTIONNAIRE" | "APPLICANT_DATA" | "IDENTITY" | "IDENTITY2" | "IDENTITY3" | "IDENTITY4" | "PROOF_OF_RESIDENCE" | "PROOF_OF_RESIDENCE2" | "SELFIE2" | "COMPANY";
|
|
7761
|
+
types?: ("OTHER" | "ID_CARD" | "PASSPORT" | "DRIVERS" | "RESIDENCE_PERMIT" | "UTILITY_BILL" | "SELFIE" | "VIDEO_SELFIE" | "PROFILE_IMAGE" | "ID_DOC_PHOTO" | "AGREEMENT" | "CONTRACT" | "DRIVERS_TRANSLATION" | "INVESTOR_DOC" | "VEHICLE_REGISTRATION_CERTIFICATE" | "INCOME_SOURCE" | "PAYMENT_METHOD" | "BANK_CARD" | "COVID_VACCINATION_FORM")[] | null | undefined;
|
|
7762
|
+
}>, "many">>>;
|
|
7763
|
+
}, "strip", z.ZodTypeAny, {
|
|
7764
|
+
docSets?: {
|
|
7765
|
+
idDocSetType: "SELFIE" | "PHONE_VERIFICATION" | "EMAIL_VERIFICATION" | "QUESTIONNAIRE" | "APPLICANT_DATA" | "IDENTITY" | "IDENTITY2" | "IDENTITY3" | "IDENTITY4" | "PROOF_OF_RESIDENCE" | "PROOF_OF_RESIDENCE2" | "SELFIE2" | "COMPANY";
|
|
7766
|
+
types?: ("OTHER" | "ID_CARD" | "PASSPORT" | "DRIVERS" | "RESIDENCE_PERMIT" | "UTILITY_BILL" | "SELFIE" | "VIDEO_SELFIE" | "PROFILE_IMAGE" | "ID_DOC_PHOTO" | "AGREEMENT" | "CONTRACT" | "DRIVERS_TRANSLATION" | "INVESTOR_DOC" | "VEHICLE_REGISTRATION_CERTIFICATE" | "INCOME_SOURCE" | "PAYMENT_METHOD" | "BANK_CARD" | "COVID_VACCINATION_FORM")[] | null | undefined;
|
|
7767
|
+
}[] | null | undefined;
|
|
7768
|
+
}, {
|
|
7769
|
+
docSets?: {
|
|
7770
|
+
idDocSetType: "SELFIE" | "PHONE_VERIFICATION" | "EMAIL_VERIFICATION" | "QUESTIONNAIRE" | "APPLICANT_DATA" | "IDENTITY" | "IDENTITY2" | "IDENTITY3" | "IDENTITY4" | "PROOF_OF_RESIDENCE" | "PROOF_OF_RESIDENCE2" | "SELFIE2" | "COMPANY";
|
|
7771
|
+
types?: ("OTHER" | "ID_CARD" | "PASSPORT" | "DRIVERS" | "RESIDENCE_PERMIT" | "UTILITY_BILL" | "SELFIE" | "VIDEO_SELFIE" | "PROFILE_IMAGE" | "ID_DOC_PHOTO" | "AGREEMENT" | "CONTRACT" | "DRIVERS_TRANSLATION" | "INVESTOR_DOC" | "VEHICLE_REGISTRATION_CERTIFICATE" | "INCOME_SOURCE" | "PAYMENT_METHOD" | "BANK_CARD" | "COVID_VACCINATION_FORM")[] | null | undefined;
|
|
7772
|
+
}[] | null | undefined;
|
|
7773
|
+
}>>>;
|
|
7544
7774
|
fixedInfo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7545
7775
|
firstName: z.ZodOptional<z.ZodString>;
|
|
7546
7776
|
lastName: z.ZodOptional<z.ZodString>;
|
|
@@ -7808,7 +8038,7 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
|
|
|
7808
8038
|
}[] | undefined;
|
|
7809
8039
|
tin?: string | undefined;
|
|
7810
8040
|
}>>>;
|
|
7811
|
-
applicantPlatform: z.ZodString
|
|
8041
|
+
applicantPlatform: z.ZodOptional<z.ZodString>;
|
|
7812
8042
|
ipCountry: z.ZodOptional<z.ZodString>;
|
|
7813
8043
|
agreement: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7814
8044
|
createdAt: z.ZodString;
|
|
@@ -7827,15 +8057,15 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
|
|
|
7827
8057
|
privacyNoticeUrl?: string | null | undefined;
|
|
7828
8058
|
}>>>;
|
|
7829
8059
|
review: z.ZodObject<{
|
|
7830
|
-
reviewId: z.ZodString
|
|
7831
|
-
attemptId: z.ZodString
|
|
7832
|
-
attemptCnt: z.ZodNumber
|
|
8060
|
+
reviewId: z.ZodOptional<z.ZodString>;
|
|
8061
|
+
attemptId: z.ZodOptional<z.ZodString>;
|
|
8062
|
+
attemptCnt: z.ZodOptional<z.ZodNumber>;
|
|
7833
8063
|
elapsedSincePendingMs: z.ZodOptional<z.ZodNumber>;
|
|
7834
8064
|
elapsedSinceQueuedMs: z.ZodOptional<z.ZodNumber>;
|
|
7835
8065
|
reprocessing: z.ZodOptional<z.ZodBoolean>;
|
|
7836
8066
|
levelName: z.ZodString;
|
|
7837
|
-
levelAutoCheckMode: z.ZodNull
|
|
7838
|
-
createDate: z.
|
|
8067
|
+
levelAutoCheckMode: z.ZodOptional<z.ZodNull>;
|
|
8068
|
+
createDate: z.ZodOptional<z.ZodDate>;
|
|
7839
8069
|
reviewDate: z.ZodOptional<z.ZodDate>;
|
|
7840
8070
|
reviewResult: z.ZodOptional<z.ZodObject<{
|
|
7841
8071
|
reviewAnswer: z.ZodOptional<z.ZodEnum<["GREEN", "RED", "YELLOW"]>>;
|
|
@@ -7863,15 +8093,12 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
|
|
|
7863
8093
|
reviewDate?: Date | undefined;
|
|
7864
8094
|
}>>;
|
|
7865
8095
|
reviewStatus: z.ZodOptional<z.ZodEnum<["init", "pending", "prechecked", "queued", "completed", "onHold"]>>;
|
|
8096
|
+
startDate: z.ZodOptional<z.ZodDate>;
|
|
7866
8097
|
confirmed: z.ZodOptional<z.ZodBoolean>;
|
|
7867
8098
|
priority: z.ZodNumber;
|
|
8099
|
+
autoChecked: z.ZodOptional<z.ZodBoolean>;
|
|
7868
8100
|
}, "strip", z.ZodTypeAny, {
|
|
7869
8101
|
levelName: string;
|
|
7870
|
-
reviewId: string;
|
|
7871
|
-
attemptId: string;
|
|
7872
|
-
attemptCnt: number;
|
|
7873
|
-
levelAutoCheckMode: null;
|
|
7874
|
-
createDate: string;
|
|
7875
8102
|
priority: number;
|
|
7876
8103
|
reviewDate?: Date | undefined;
|
|
7877
8104
|
reviewResult?: {
|
|
@@ -7884,17 +8111,19 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
|
|
|
7884
8111
|
reviewDate?: Date | undefined;
|
|
7885
8112
|
} | undefined;
|
|
7886
8113
|
reviewStatus?: "pending" | "init" | "prechecked" | "queued" | "completed" | "onHold" | undefined;
|
|
8114
|
+
reviewId?: string | undefined;
|
|
8115
|
+
attemptId?: string | undefined;
|
|
8116
|
+
attemptCnt?: number | undefined;
|
|
7887
8117
|
elapsedSincePendingMs?: number | undefined;
|
|
7888
8118
|
elapsedSinceQueuedMs?: number | undefined;
|
|
7889
8119
|
reprocessing?: boolean | undefined;
|
|
8120
|
+
levelAutoCheckMode?: null | undefined;
|
|
8121
|
+
createDate?: Date | undefined;
|
|
8122
|
+
startDate?: Date | undefined;
|
|
7890
8123
|
confirmed?: boolean | undefined;
|
|
8124
|
+
autoChecked?: boolean | undefined;
|
|
7891
8125
|
}, {
|
|
7892
8126
|
levelName: string;
|
|
7893
|
-
reviewId: string;
|
|
7894
|
-
attemptId: string;
|
|
7895
|
-
attemptCnt: number;
|
|
7896
|
-
levelAutoCheckMode: null;
|
|
7897
|
-
createDate: string;
|
|
7898
8127
|
priority: number;
|
|
7899
8128
|
reviewDate?: Date | undefined;
|
|
7900
8129
|
reviewResult?: {
|
|
@@ -7907,28 +8136,26 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
|
|
|
7907
8136
|
reviewDate?: Date | undefined;
|
|
7908
8137
|
} | undefined;
|
|
7909
8138
|
reviewStatus?: "pending" | "init" | "prechecked" | "queued" | "completed" | "onHold" | undefined;
|
|
8139
|
+
reviewId?: string | undefined;
|
|
8140
|
+
attemptId?: string | undefined;
|
|
8141
|
+
attemptCnt?: number | undefined;
|
|
7910
8142
|
elapsedSincePendingMs?: number | undefined;
|
|
7911
8143
|
elapsedSinceQueuedMs?: number | undefined;
|
|
7912
8144
|
reprocessing?: boolean | undefined;
|
|
8145
|
+
levelAutoCheckMode?: null | undefined;
|
|
8146
|
+
createDate?: Date | undefined;
|
|
8147
|
+
startDate?: Date | undefined;
|
|
7913
8148
|
confirmed?: boolean | undefined;
|
|
8149
|
+
autoChecked?: boolean | undefined;
|
|
7914
8150
|
}>;
|
|
7915
8151
|
type: z.ZodEnum<["individual", "company"]>;
|
|
7916
8152
|
}, "strip", z.ZodTypeAny, {
|
|
7917
8153
|
id: string;
|
|
7918
|
-
type: "
|
|
8154
|
+
type: "individual" | "company";
|
|
7919
8155
|
key: string;
|
|
7920
8156
|
createdAt: string;
|
|
7921
|
-
inspectionId: string;
|
|
7922
|
-
externalUserId: string;
|
|
7923
|
-
clientId: string;
|
|
7924
|
-
applicantPlatform: string;
|
|
7925
8157
|
review: {
|
|
7926
8158
|
levelName: string;
|
|
7927
|
-
reviewId: string;
|
|
7928
|
-
attemptId: string;
|
|
7929
|
-
attemptCnt: number;
|
|
7930
|
-
levelAutoCheckMode: null;
|
|
7931
|
-
createDate: string;
|
|
7932
8159
|
priority: number;
|
|
7933
8160
|
reviewDate?: Date | undefined;
|
|
7934
8161
|
reviewResult?: {
|
|
@@ -7941,11 +8168,21 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
|
|
|
7941
8168
|
reviewDate?: Date | undefined;
|
|
7942
8169
|
} | undefined;
|
|
7943
8170
|
reviewStatus?: "pending" | "init" | "prechecked" | "queued" | "completed" | "onHold" | undefined;
|
|
8171
|
+
reviewId?: string | undefined;
|
|
8172
|
+
attemptId?: string | undefined;
|
|
8173
|
+
attemptCnt?: number | undefined;
|
|
7944
8174
|
elapsedSincePendingMs?: number | undefined;
|
|
7945
8175
|
elapsedSinceQueuedMs?: number | undefined;
|
|
7946
8176
|
reprocessing?: boolean | undefined;
|
|
8177
|
+
levelAutoCheckMode?: null | undefined;
|
|
8178
|
+
createDate?: Date | undefined;
|
|
8179
|
+
startDate?: Date | undefined;
|
|
7947
8180
|
confirmed?: boolean | undefined;
|
|
8181
|
+
autoChecked?: boolean | undefined;
|
|
7948
8182
|
};
|
|
8183
|
+
inspectionId: string;
|
|
8184
|
+
externalUserId: string;
|
|
8185
|
+
clientId: string;
|
|
7949
8186
|
email?: string | undefined;
|
|
7950
8187
|
phone?: string | undefined;
|
|
7951
8188
|
metadata?: Record<string, string>[] | undefined;
|
|
@@ -8008,6 +8245,12 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
|
|
|
8008
8245
|
} | null | undefined;
|
|
8009
8246
|
sourceKey?: string | undefined;
|
|
8010
8247
|
lang?: string | undefined;
|
|
8248
|
+
requiredIdDocs?: {
|
|
8249
|
+
docSets?: {
|
|
8250
|
+
idDocSetType: "SELFIE" | "PHONE_VERIFICATION" | "EMAIL_VERIFICATION" | "QUESTIONNAIRE" | "APPLICANT_DATA" | "IDENTITY" | "IDENTITY2" | "IDENTITY3" | "IDENTITY4" | "PROOF_OF_RESIDENCE" | "PROOF_OF_RESIDENCE2" | "SELFIE2" | "COMPANY";
|
|
8251
|
+
types?: ("OTHER" | "ID_CARD" | "PASSPORT" | "DRIVERS" | "RESIDENCE_PERMIT" | "UTILITY_BILL" | "SELFIE" | "VIDEO_SELFIE" | "PROFILE_IMAGE" | "ID_DOC_PHOTO" | "AGREEMENT" | "CONTRACT" | "DRIVERS_TRANSLATION" | "INVESTOR_DOC" | "VEHICLE_REGISTRATION_CERTIFICATE" | "INCOME_SOURCE" | "PAYMENT_METHOD" | "BANK_CARD" | "COVID_VACCINATION_FORM")[] | null | undefined;
|
|
8252
|
+
}[] | null | undefined;
|
|
8253
|
+
} | null | undefined;
|
|
8011
8254
|
fixedInfo?: {
|
|
8012
8255
|
firstName?: string | undefined;
|
|
8013
8256
|
middleName?: string | undefined;
|
|
@@ -8065,6 +8308,7 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
|
|
|
8065
8308
|
}[] | undefined;
|
|
8066
8309
|
tin?: string | undefined;
|
|
8067
8310
|
} | null | undefined;
|
|
8311
|
+
applicantPlatform?: string | undefined;
|
|
8068
8312
|
ipCountry?: string | undefined;
|
|
8069
8313
|
agreement?: {
|
|
8070
8314
|
createdAt: string;
|
|
@@ -8074,20 +8318,11 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
|
|
|
8074
8318
|
} | null | undefined;
|
|
8075
8319
|
}, {
|
|
8076
8320
|
id: string;
|
|
8077
|
-
type: "
|
|
8321
|
+
type: "individual" | "company";
|
|
8078
8322
|
key: string;
|
|
8079
8323
|
createdAt: string;
|
|
8080
|
-
inspectionId: string;
|
|
8081
|
-
externalUserId: string;
|
|
8082
|
-
clientId: string;
|
|
8083
|
-
applicantPlatform: string;
|
|
8084
8324
|
review: {
|
|
8085
8325
|
levelName: string;
|
|
8086
|
-
reviewId: string;
|
|
8087
|
-
attemptId: string;
|
|
8088
|
-
attemptCnt: number;
|
|
8089
|
-
levelAutoCheckMode: null;
|
|
8090
|
-
createDate: string;
|
|
8091
8326
|
priority: number;
|
|
8092
8327
|
reviewDate?: Date | undefined;
|
|
8093
8328
|
reviewResult?: {
|
|
@@ -8100,11 +8335,21 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
|
|
|
8100
8335
|
reviewDate?: Date | undefined;
|
|
8101
8336
|
} | undefined;
|
|
8102
8337
|
reviewStatus?: "pending" | "init" | "prechecked" | "queued" | "completed" | "onHold" | undefined;
|
|
8338
|
+
reviewId?: string | undefined;
|
|
8339
|
+
attemptId?: string | undefined;
|
|
8340
|
+
attemptCnt?: number | undefined;
|
|
8103
8341
|
elapsedSincePendingMs?: number | undefined;
|
|
8104
8342
|
elapsedSinceQueuedMs?: number | undefined;
|
|
8105
8343
|
reprocessing?: boolean | undefined;
|
|
8344
|
+
levelAutoCheckMode?: null | undefined;
|
|
8345
|
+
createDate?: Date | undefined;
|
|
8346
|
+
startDate?: Date | undefined;
|
|
8106
8347
|
confirmed?: boolean | undefined;
|
|
8348
|
+
autoChecked?: boolean | undefined;
|
|
8107
8349
|
};
|
|
8350
|
+
inspectionId: string;
|
|
8351
|
+
externalUserId: string;
|
|
8352
|
+
clientId: string;
|
|
8108
8353
|
email?: string | undefined;
|
|
8109
8354
|
phone?: string | undefined;
|
|
8110
8355
|
metadata?: Record<string, string>[] | undefined;
|
|
@@ -8167,6 +8412,12 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
|
|
|
8167
8412
|
} | null | undefined;
|
|
8168
8413
|
sourceKey?: string | undefined;
|
|
8169
8414
|
lang?: string | undefined;
|
|
8415
|
+
requiredIdDocs?: {
|
|
8416
|
+
docSets?: {
|
|
8417
|
+
idDocSetType: "SELFIE" | "PHONE_VERIFICATION" | "EMAIL_VERIFICATION" | "QUESTIONNAIRE" | "APPLICANT_DATA" | "IDENTITY" | "IDENTITY2" | "IDENTITY3" | "IDENTITY4" | "PROOF_OF_RESIDENCE" | "PROOF_OF_RESIDENCE2" | "SELFIE2" | "COMPANY";
|
|
8418
|
+
types?: ("OTHER" | "ID_CARD" | "PASSPORT" | "DRIVERS" | "RESIDENCE_PERMIT" | "UTILITY_BILL" | "SELFIE" | "VIDEO_SELFIE" | "PROFILE_IMAGE" | "ID_DOC_PHOTO" | "AGREEMENT" | "CONTRACT" | "DRIVERS_TRANSLATION" | "INVESTOR_DOC" | "VEHICLE_REGISTRATION_CERTIFICATE" | "INCOME_SOURCE" | "PAYMENT_METHOD" | "BANK_CARD" | "COVID_VACCINATION_FORM")[] | null | undefined;
|
|
8419
|
+
}[] | null | undefined;
|
|
8420
|
+
} | null | undefined;
|
|
8170
8421
|
fixedInfo?: {
|
|
8171
8422
|
firstName?: string | undefined;
|
|
8172
8423
|
middleName?: string | undefined;
|
|
@@ -8224,6 +8475,7 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
|
|
|
8224
8475
|
}[] | undefined;
|
|
8225
8476
|
tin?: string | undefined;
|
|
8226
8477
|
} | null | undefined;
|
|
8478
|
+
applicantPlatform?: string | undefined;
|
|
8227
8479
|
ipCountry?: string | undefined;
|
|
8228
8480
|
agreement?: {
|
|
8229
8481
|
createdAt: string;
|
|
@@ -8499,11 +8751,8 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
|
|
|
8499
8751
|
type: z.ZodEnum<["individual", "company"]>;
|
|
8500
8752
|
}, "strip", z.ZodTypeAny, {
|
|
8501
8753
|
id: string;
|
|
8502
|
-
type: "
|
|
8754
|
+
type: "individual" | "company";
|
|
8503
8755
|
createdAt: string;
|
|
8504
|
-
inspectionId: string;
|
|
8505
|
-
externalUserId: string;
|
|
8506
|
-
applicantPlatform: string;
|
|
8507
8756
|
review: {
|
|
8508
8757
|
levelName?: string | undefined;
|
|
8509
8758
|
reviewDate?: Date | undefined;
|
|
@@ -8528,6 +8777,9 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
|
|
|
8528
8777
|
confirmed?: boolean | undefined;
|
|
8529
8778
|
priority?: number | undefined;
|
|
8530
8779
|
};
|
|
8780
|
+
inspectionId: string;
|
|
8781
|
+
externalUserId: string;
|
|
8782
|
+
applicantPlatform: string;
|
|
8531
8783
|
info?: {
|
|
8532
8784
|
idDocs: {
|
|
8533
8785
|
country: string;
|
|
@@ -8569,11 +8821,8 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
|
|
|
8569
8821
|
} | null | undefined;
|
|
8570
8822
|
}, {
|
|
8571
8823
|
id: string;
|
|
8572
|
-
type: "
|
|
8824
|
+
type: "individual" | "company";
|
|
8573
8825
|
createdAt: string;
|
|
8574
|
-
inspectionId: string;
|
|
8575
|
-
externalUserId: string;
|
|
8576
|
-
applicantPlatform: string;
|
|
8577
8826
|
review: {
|
|
8578
8827
|
levelName?: string | undefined;
|
|
8579
8828
|
reviewDate?: Date | undefined;
|
|
@@ -8598,6 +8847,9 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
|
|
|
8598
8847
|
confirmed?: boolean | undefined;
|
|
8599
8848
|
priority?: number | undefined;
|
|
8600
8849
|
};
|
|
8850
|
+
inspectionId: string;
|
|
8851
|
+
externalUserId: string;
|
|
8852
|
+
applicantPlatform: string;
|
|
8601
8853
|
info?: {
|
|
8602
8854
|
idDocs: {
|
|
8603
8855
|
country: string;
|
|
@@ -8642,29 +8894,20 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
|
|
|
8642
8894
|
exactMatch: z.ZodOptional<z.ZodBoolean>;
|
|
8643
8895
|
blacklisted: z.ZodOptional<z.ZodBoolean>;
|
|
8644
8896
|
sameSource: z.ZodOptional<z.ZodBoolean>;
|
|
8645
|
-
types: z.ZodOptional<z.ZodArray<z.
|
|
8897
|
+
types: z.ZodOptional<z.ZodArray<z.ZodEnum<["text", "image"]>, "many">>;
|
|
8646
8898
|
originalImageId: z.ZodOptional<z.ZodNumber>;
|
|
8647
8899
|
similaritySource: z.ZodOptional<z.ZodAny>;
|
|
8648
8900
|
similarityConfidence: z.ZodOptional<z.ZodAny>;
|
|
8649
8901
|
}, "strip", z.ZodTypeAny, {
|
|
8650
|
-
types?:
|
|
8902
|
+
types?: ("text" | "image")[] | undefined;
|
|
8651
8903
|
exactMatch?: boolean | undefined;
|
|
8652
8904
|
applicant?: {
|
|
8653
8905
|
id: string;
|
|
8654
|
-
type: "
|
|
8906
|
+
type: "individual" | "company";
|
|
8655
8907
|
key: string;
|
|
8656
8908
|
createdAt: string;
|
|
8657
|
-
inspectionId: string;
|
|
8658
|
-
externalUserId: string;
|
|
8659
|
-
clientId: string;
|
|
8660
|
-
applicantPlatform: string;
|
|
8661
8909
|
review: {
|
|
8662
8910
|
levelName: string;
|
|
8663
|
-
reviewId: string;
|
|
8664
|
-
attemptId: string;
|
|
8665
|
-
attemptCnt: number;
|
|
8666
|
-
levelAutoCheckMode: null;
|
|
8667
|
-
createDate: string;
|
|
8668
8911
|
priority: number;
|
|
8669
8912
|
reviewDate?: Date | undefined;
|
|
8670
8913
|
reviewResult?: {
|
|
@@ -8677,11 +8920,21 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
|
|
|
8677
8920
|
reviewDate?: Date | undefined;
|
|
8678
8921
|
} | undefined;
|
|
8679
8922
|
reviewStatus?: "pending" | "init" | "prechecked" | "queued" | "completed" | "onHold" | undefined;
|
|
8923
|
+
reviewId?: string | undefined;
|
|
8924
|
+
attemptId?: string | undefined;
|
|
8925
|
+
attemptCnt?: number | undefined;
|
|
8680
8926
|
elapsedSincePendingMs?: number | undefined;
|
|
8681
8927
|
elapsedSinceQueuedMs?: number | undefined;
|
|
8682
8928
|
reprocessing?: boolean | undefined;
|
|
8929
|
+
levelAutoCheckMode?: null | undefined;
|
|
8930
|
+
createDate?: Date | undefined;
|
|
8931
|
+
startDate?: Date | undefined;
|
|
8683
8932
|
confirmed?: boolean | undefined;
|
|
8933
|
+
autoChecked?: boolean | undefined;
|
|
8684
8934
|
};
|
|
8935
|
+
inspectionId: string;
|
|
8936
|
+
externalUserId: string;
|
|
8937
|
+
clientId: string;
|
|
8685
8938
|
email?: string | undefined;
|
|
8686
8939
|
phone?: string | undefined;
|
|
8687
8940
|
metadata?: Record<string, string>[] | undefined;
|
|
@@ -8744,6 +8997,12 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
|
|
|
8744
8997
|
} | null | undefined;
|
|
8745
8998
|
sourceKey?: string | undefined;
|
|
8746
8999
|
lang?: string | undefined;
|
|
9000
|
+
requiredIdDocs?: {
|
|
9001
|
+
docSets?: {
|
|
9002
|
+
idDocSetType: "SELFIE" | "PHONE_VERIFICATION" | "EMAIL_VERIFICATION" | "QUESTIONNAIRE" | "APPLICANT_DATA" | "IDENTITY" | "IDENTITY2" | "IDENTITY3" | "IDENTITY4" | "PROOF_OF_RESIDENCE" | "PROOF_OF_RESIDENCE2" | "SELFIE2" | "COMPANY";
|
|
9003
|
+
types?: ("OTHER" | "ID_CARD" | "PASSPORT" | "DRIVERS" | "RESIDENCE_PERMIT" | "UTILITY_BILL" | "SELFIE" | "VIDEO_SELFIE" | "PROFILE_IMAGE" | "ID_DOC_PHOTO" | "AGREEMENT" | "CONTRACT" | "DRIVERS_TRANSLATION" | "INVESTOR_DOC" | "VEHICLE_REGISTRATION_CERTIFICATE" | "INCOME_SOURCE" | "PAYMENT_METHOD" | "BANK_CARD" | "COVID_VACCINATION_FORM")[] | null | undefined;
|
|
9004
|
+
}[] | null | undefined;
|
|
9005
|
+
} | null | undefined;
|
|
8747
9006
|
fixedInfo?: {
|
|
8748
9007
|
firstName?: string | undefined;
|
|
8749
9008
|
middleName?: string | undefined;
|
|
@@ -8801,6 +9060,7 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
|
|
|
8801
9060
|
}[] | undefined;
|
|
8802
9061
|
tin?: string | undefined;
|
|
8803
9062
|
} | null | undefined;
|
|
9063
|
+
applicantPlatform?: string | undefined;
|
|
8804
9064
|
ipCountry?: string | undefined;
|
|
8805
9065
|
agreement?: {
|
|
8806
9066
|
createdAt: string;
|
|
@@ -8810,11 +9070,8 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
|
|
|
8810
9070
|
} | null | undefined;
|
|
8811
9071
|
} | {
|
|
8812
9072
|
id: string;
|
|
8813
|
-
type: "
|
|
9073
|
+
type: "individual" | "company";
|
|
8814
9074
|
createdAt: string;
|
|
8815
|
-
inspectionId: string;
|
|
8816
|
-
externalUserId: string;
|
|
8817
|
-
applicantPlatform: string;
|
|
8818
9075
|
review: {
|
|
8819
9076
|
levelName?: string | undefined;
|
|
8820
9077
|
reviewDate?: Date | undefined;
|
|
@@ -8839,6 +9096,9 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
|
|
|
8839
9096
|
confirmed?: boolean | undefined;
|
|
8840
9097
|
priority?: number | undefined;
|
|
8841
9098
|
};
|
|
9099
|
+
inspectionId: string;
|
|
9100
|
+
externalUserId: string;
|
|
9101
|
+
applicantPlatform: string;
|
|
8842
9102
|
info?: {
|
|
8843
9103
|
idDocs: {
|
|
8844
9104
|
country: string;
|
|
@@ -8886,24 +9146,15 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
|
|
|
8886
9146
|
similaritySource?: any;
|
|
8887
9147
|
similarityConfidence?: any;
|
|
8888
9148
|
}, {
|
|
8889
|
-
types?:
|
|
9149
|
+
types?: ("text" | "image")[] | undefined;
|
|
8890
9150
|
exactMatch?: boolean | undefined;
|
|
8891
9151
|
applicant?: {
|
|
8892
9152
|
id: string;
|
|
8893
|
-
type: "
|
|
9153
|
+
type: "individual" | "company";
|
|
8894
9154
|
key: string;
|
|
8895
9155
|
createdAt: string;
|
|
8896
|
-
inspectionId: string;
|
|
8897
|
-
externalUserId: string;
|
|
8898
|
-
clientId: string;
|
|
8899
|
-
applicantPlatform: string;
|
|
8900
9156
|
review: {
|
|
8901
9157
|
levelName: string;
|
|
8902
|
-
reviewId: string;
|
|
8903
|
-
attemptId: string;
|
|
8904
|
-
attemptCnt: number;
|
|
8905
|
-
levelAutoCheckMode: null;
|
|
8906
|
-
createDate: string;
|
|
8907
9158
|
priority: number;
|
|
8908
9159
|
reviewDate?: Date | undefined;
|
|
8909
9160
|
reviewResult?: {
|
|
@@ -8916,11 +9167,21 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
|
|
|
8916
9167
|
reviewDate?: Date | undefined;
|
|
8917
9168
|
} | undefined;
|
|
8918
9169
|
reviewStatus?: "pending" | "init" | "prechecked" | "queued" | "completed" | "onHold" | undefined;
|
|
9170
|
+
reviewId?: string | undefined;
|
|
9171
|
+
attemptId?: string | undefined;
|
|
9172
|
+
attemptCnt?: number | undefined;
|
|
8919
9173
|
elapsedSincePendingMs?: number | undefined;
|
|
8920
9174
|
elapsedSinceQueuedMs?: number | undefined;
|
|
8921
9175
|
reprocessing?: boolean | undefined;
|
|
9176
|
+
levelAutoCheckMode?: null | undefined;
|
|
9177
|
+
createDate?: Date | undefined;
|
|
9178
|
+
startDate?: Date | undefined;
|
|
8922
9179
|
confirmed?: boolean | undefined;
|
|
9180
|
+
autoChecked?: boolean | undefined;
|
|
8923
9181
|
};
|
|
9182
|
+
inspectionId: string;
|
|
9183
|
+
externalUserId: string;
|
|
9184
|
+
clientId: string;
|
|
8924
9185
|
email?: string | undefined;
|
|
8925
9186
|
phone?: string | undefined;
|
|
8926
9187
|
metadata?: Record<string, string>[] | undefined;
|
|
@@ -8983,6 +9244,12 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
|
|
|
8983
9244
|
} | null | undefined;
|
|
8984
9245
|
sourceKey?: string | undefined;
|
|
8985
9246
|
lang?: string | undefined;
|
|
9247
|
+
requiredIdDocs?: {
|
|
9248
|
+
docSets?: {
|
|
9249
|
+
idDocSetType: "SELFIE" | "PHONE_VERIFICATION" | "EMAIL_VERIFICATION" | "QUESTIONNAIRE" | "APPLICANT_DATA" | "IDENTITY" | "IDENTITY2" | "IDENTITY3" | "IDENTITY4" | "PROOF_OF_RESIDENCE" | "PROOF_OF_RESIDENCE2" | "SELFIE2" | "COMPANY";
|
|
9250
|
+
types?: ("OTHER" | "ID_CARD" | "PASSPORT" | "DRIVERS" | "RESIDENCE_PERMIT" | "UTILITY_BILL" | "SELFIE" | "VIDEO_SELFIE" | "PROFILE_IMAGE" | "ID_DOC_PHOTO" | "AGREEMENT" | "CONTRACT" | "DRIVERS_TRANSLATION" | "INVESTOR_DOC" | "VEHICLE_REGISTRATION_CERTIFICATE" | "INCOME_SOURCE" | "PAYMENT_METHOD" | "BANK_CARD" | "COVID_VACCINATION_FORM")[] | null | undefined;
|
|
9251
|
+
}[] | null | undefined;
|
|
9252
|
+
} | null | undefined;
|
|
8986
9253
|
fixedInfo?: {
|
|
8987
9254
|
firstName?: string | undefined;
|
|
8988
9255
|
middleName?: string | undefined;
|
|
@@ -9040,6 +9307,7 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
|
|
|
9040
9307
|
}[] | undefined;
|
|
9041
9308
|
tin?: string | undefined;
|
|
9042
9309
|
} | null | undefined;
|
|
9310
|
+
applicantPlatform?: string | undefined;
|
|
9043
9311
|
ipCountry?: string | undefined;
|
|
9044
9312
|
agreement?: {
|
|
9045
9313
|
createdAt: string;
|
|
@@ -9049,11 +9317,8 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
|
|
|
9049
9317
|
} | null | undefined;
|
|
9050
9318
|
} | {
|
|
9051
9319
|
id: string;
|
|
9052
|
-
type: "
|
|
9320
|
+
type: "individual" | "company";
|
|
9053
9321
|
createdAt: string;
|
|
9054
|
-
inspectionId: string;
|
|
9055
|
-
externalUserId: string;
|
|
9056
|
-
applicantPlatform: string;
|
|
9057
9322
|
review: {
|
|
9058
9323
|
levelName?: string | undefined;
|
|
9059
9324
|
reviewDate?: Date | undefined;
|
|
@@ -9078,6 +9343,9 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
|
|
|
9078
9343
|
confirmed?: boolean | undefined;
|
|
9079
9344
|
priority?: number | undefined;
|
|
9080
9345
|
};
|
|
9346
|
+
inspectionId: string;
|
|
9347
|
+
externalUserId: string;
|
|
9348
|
+
applicantPlatform: string;
|
|
9081
9349
|
info?: {
|
|
9082
9350
|
idDocs: {
|
|
9083
9351
|
country: string;
|
|
@@ -9127,24 +9395,15 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
|
|
|
9127
9395
|
}>, "many">>;
|
|
9128
9396
|
}, "strip", z.ZodTypeAny, {
|
|
9129
9397
|
similarApplicants?: {
|
|
9130
|
-
types?:
|
|
9398
|
+
types?: ("text" | "image")[] | undefined;
|
|
9131
9399
|
exactMatch?: boolean | undefined;
|
|
9132
9400
|
applicant?: {
|
|
9133
9401
|
id: string;
|
|
9134
|
-
type: "
|
|
9402
|
+
type: "individual" | "company";
|
|
9135
9403
|
key: string;
|
|
9136
9404
|
createdAt: string;
|
|
9137
|
-
inspectionId: string;
|
|
9138
|
-
externalUserId: string;
|
|
9139
|
-
clientId: string;
|
|
9140
|
-
applicantPlatform: string;
|
|
9141
9405
|
review: {
|
|
9142
9406
|
levelName: string;
|
|
9143
|
-
reviewId: string;
|
|
9144
|
-
attemptId: string;
|
|
9145
|
-
attemptCnt: number;
|
|
9146
|
-
levelAutoCheckMode: null;
|
|
9147
|
-
createDate: string;
|
|
9148
9407
|
priority: number;
|
|
9149
9408
|
reviewDate?: Date | undefined;
|
|
9150
9409
|
reviewResult?: {
|
|
@@ -9157,11 +9416,21 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
|
|
|
9157
9416
|
reviewDate?: Date | undefined;
|
|
9158
9417
|
} | undefined;
|
|
9159
9418
|
reviewStatus?: "pending" | "init" | "prechecked" | "queued" | "completed" | "onHold" | undefined;
|
|
9419
|
+
reviewId?: string | undefined;
|
|
9420
|
+
attemptId?: string | undefined;
|
|
9421
|
+
attemptCnt?: number | undefined;
|
|
9160
9422
|
elapsedSincePendingMs?: number | undefined;
|
|
9161
9423
|
elapsedSinceQueuedMs?: number | undefined;
|
|
9162
9424
|
reprocessing?: boolean | undefined;
|
|
9425
|
+
levelAutoCheckMode?: null | undefined;
|
|
9426
|
+
createDate?: Date | undefined;
|
|
9427
|
+
startDate?: Date | undefined;
|
|
9163
9428
|
confirmed?: boolean | undefined;
|
|
9429
|
+
autoChecked?: boolean | undefined;
|
|
9164
9430
|
};
|
|
9431
|
+
inspectionId: string;
|
|
9432
|
+
externalUserId: string;
|
|
9433
|
+
clientId: string;
|
|
9165
9434
|
email?: string | undefined;
|
|
9166
9435
|
phone?: string | undefined;
|
|
9167
9436
|
metadata?: Record<string, string>[] | undefined;
|
|
@@ -9224,6 +9493,12 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
|
|
|
9224
9493
|
} | null | undefined;
|
|
9225
9494
|
sourceKey?: string | undefined;
|
|
9226
9495
|
lang?: string | undefined;
|
|
9496
|
+
requiredIdDocs?: {
|
|
9497
|
+
docSets?: {
|
|
9498
|
+
idDocSetType: "SELFIE" | "PHONE_VERIFICATION" | "EMAIL_VERIFICATION" | "QUESTIONNAIRE" | "APPLICANT_DATA" | "IDENTITY" | "IDENTITY2" | "IDENTITY3" | "IDENTITY4" | "PROOF_OF_RESIDENCE" | "PROOF_OF_RESIDENCE2" | "SELFIE2" | "COMPANY";
|
|
9499
|
+
types?: ("OTHER" | "ID_CARD" | "PASSPORT" | "DRIVERS" | "RESIDENCE_PERMIT" | "UTILITY_BILL" | "SELFIE" | "VIDEO_SELFIE" | "PROFILE_IMAGE" | "ID_DOC_PHOTO" | "AGREEMENT" | "CONTRACT" | "DRIVERS_TRANSLATION" | "INVESTOR_DOC" | "VEHICLE_REGISTRATION_CERTIFICATE" | "INCOME_SOURCE" | "PAYMENT_METHOD" | "BANK_CARD" | "COVID_VACCINATION_FORM")[] | null | undefined;
|
|
9500
|
+
}[] | null | undefined;
|
|
9501
|
+
} | null | undefined;
|
|
9227
9502
|
fixedInfo?: {
|
|
9228
9503
|
firstName?: string | undefined;
|
|
9229
9504
|
middleName?: string | undefined;
|
|
@@ -9281,6 +9556,7 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
|
|
|
9281
9556
|
}[] | undefined;
|
|
9282
9557
|
tin?: string | undefined;
|
|
9283
9558
|
} | null | undefined;
|
|
9559
|
+
applicantPlatform?: string | undefined;
|
|
9284
9560
|
ipCountry?: string | undefined;
|
|
9285
9561
|
agreement?: {
|
|
9286
9562
|
createdAt: string;
|
|
@@ -9290,11 +9566,8 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
|
|
|
9290
9566
|
} | null | undefined;
|
|
9291
9567
|
} | {
|
|
9292
9568
|
id: string;
|
|
9293
|
-
type: "
|
|
9569
|
+
type: "individual" | "company";
|
|
9294
9570
|
createdAt: string;
|
|
9295
|
-
inspectionId: string;
|
|
9296
|
-
externalUserId: string;
|
|
9297
|
-
applicantPlatform: string;
|
|
9298
9571
|
review: {
|
|
9299
9572
|
levelName?: string | undefined;
|
|
9300
9573
|
reviewDate?: Date | undefined;
|
|
@@ -9319,6 +9592,9 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
|
|
|
9319
9592
|
confirmed?: boolean | undefined;
|
|
9320
9593
|
priority?: number | undefined;
|
|
9321
9594
|
};
|
|
9595
|
+
inspectionId: string;
|
|
9596
|
+
externalUserId: string;
|
|
9597
|
+
applicantPlatform: string;
|
|
9322
9598
|
info?: {
|
|
9323
9599
|
idDocs: {
|
|
9324
9600
|
country: string;
|
|
@@ -9368,24 +9644,15 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
|
|
|
9368
9644
|
}[] | undefined;
|
|
9369
9645
|
}, {
|
|
9370
9646
|
similarApplicants?: {
|
|
9371
|
-
types?:
|
|
9647
|
+
types?: ("text" | "image")[] | undefined;
|
|
9372
9648
|
exactMatch?: boolean | undefined;
|
|
9373
9649
|
applicant?: {
|
|
9374
9650
|
id: string;
|
|
9375
|
-
type: "
|
|
9651
|
+
type: "individual" | "company";
|
|
9376
9652
|
key: string;
|
|
9377
9653
|
createdAt: string;
|
|
9378
|
-
inspectionId: string;
|
|
9379
|
-
externalUserId: string;
|
|
9380
|
-
clientId: string;
|
|
9381
|
-
applicantPlatform: string;
|
|
9382
9654
|
review: {
|
|
9383
9655
|
levelName: string;
|
|
9384
|
-
reviewId: string;
|
|
9385
|
-
attemptId: string;
|
|
9386
|
-
attemptCnt: number;
|
|
9387
|
-
levelAutoCheckMode: null;
|
|
9388
|
-
createDate: string;
|
|
9389
9656
|
priority: number;
|
|
9390
9657
|
reviewDate?: Date | undefined;
|
|
9391
9658
|
reviewResult?: {
|
|
@@ -9398,11 +9665,21 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
|
|
|
9398
9665
|
reviewDate?: Date | undefined;
|
|
9399
9666
|
} | undefined;
|
|
9400
9667
|
reviewStatus?: "pending" | "init" | "prechecked" | "queued" | "completed" | "onHold" | undefined;
|
|
9668
|
+
reviewId?: string | undefined;
|
|
9669
|
+
attemptId?: string | undefined;
|
|
9670
|
+
attemptCnt?: number | undefined;
|
|
9401
9671
|
elapsedSincePendingMs?: number | undefined;
|
|
9402
9672
|
elapsedSinceQueuedMs?: number | undefined;
|
|
9403
9673
|
reprocessing?: boolean | undefined;
|
|
9674
|
+
levelAutoCheckMode?: null | undefined;
|
|
9675
|
+
createDate?: Date | undefined;
|
|
9676
|
+
startDate?: Date | undefined;
|
|
9404
9677
|
confirmed?: boolean | undefined;
|
|
9678
|
+
autoChecked?: boolean | undefined;
|
|
9405
9679
|
};
|
|
9680
|
+
inspectionId: string;
|
|
9681
|
+
externalUserId: string;
|
|
9682
|
+
clientId: string;
|
|
9406
9683
|
email?: string | undefined;
|
|
9407
9684
|
phone?: string | undefined;
|
|
9408
9685
|
metadata?: Record<string, string>[] | undefined;
|
|
@@ -9465,6 +9742,12 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
|
|
|
9465
9742
|
} | null | undefined;
|
|
9466
9743
|
sourceKey?: string | undefined;
|
|
9467
9744
|
lang?: string | undefined;
|
|
9745
|
+
requiredIdDocs?: {
|
|
9746
|
+
docSets?: {
|
|
9747
|
+
idDocSetType: "SELFIE" | "PHONE_VERIFICATION" | "EMAIL_VERIFICATION" | "QUESTIONNAIRE" | "APPLICANT_DATA" | "IDENTITY" | "IDENTITY2" | "IDENTITY3" | "IDENTITY4" | "PROOF_OF_RESIDENCE" | "PROOF_OF_RESIDENCE2" | "SELFIE2" | "COMPANY";
|
|
9748
|
+
types?: ("OTHER" | "ID_CARD" | "PASSPORT" | "DRIVERS" | "RESIDENCE_PERMIT" | "UTILITY_BILL" | "SELFIE" | "VIDEO_SELFIE" | "PROFILE_IMAGE" | "ID_DOC_PHOTO" | "AGREEMENT" | "CONTRACT" | "DRIVERS_TRANSLATION" | "INVESTOR_DOC" | "VEHICLE_REGISTRATION_CERTIFICATE" | "INCOME_SOURCE" | "PAYMENT_METHOD" | "BANK_CARD" | "COVID_VACCINATION_FORM")[] | null | undefined;
|
|
9749
|
+
}[] | null | undefined;
|
|
9750
|
+
} | null | undefined;
|
|
9468
9751
|
fixedInfo?: {
|
|
9469
9752
|
firstName?: string | undefined;
|
|
9470
9753
|
middleName?: string | undefined;
|
|
@@ -9522,6 +9805,7 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
|
|
|
9522
9805
|
}[] | undefined;
|
|
9523
9806
|
tin?: string | undefined;
|
|
9524
9807
|
} | null | undefined;
|
|
9808
|
+
applicantPlatform?: string | undefined;
|
|
9525
9809
|
ipCountry?: string | undefined;
|
|
9526
9810
|
agreement?: {
|
|
9527
9811
|
createdAt: string;
|
|
@@ -9531,11 +9815,8 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
|
|
|
9531
9815
|
} | null | undefined;
|
|
9532
9816
|
} | {
|
|
9533
9817
|
id: string;
|
|
9534
|
-
type: "
|
|
9818
|
+
type: "individual" | "company";
|
|
9535
9819
|
createdAt: string;
|
|
9536
|
-
inspectionId: string;
|
|
9537
|
-
externalUserId: string;
|
|
9538
|
-
applicantPlatform: string;
|
|
9539
9820
|
review: {
|
|
9540
9821
|
levelName?: string | undefined;
|
|
9541
9822
|
reviewDate?: Date | undefined;
|
|
@@ -9560,6 +9841,9 @@ export declare const SumSubSimilarApplicantsSchema: z.ZodObject<{
|
|
|
9560
9841
|
confirmed?: boolean | undefined;
|
|
9561
9842
|
priority?: number | undefined;
|
|
9562
9843
|
};
|
|
9844
|
+
inspectionId: string;
|
|
9845
|
+
externalUserId: string;
|
|
9846
|
+
applicantPlatform: string;
|
|
9563
9847
|
info?: {
|
|
9564
9848
|
idDocs: {
|
|
9565
9849
|
country: string;
|