@nexeraid/identity-schemas 2.3.9-dev → 2.3.10-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-bf6bd011.esm.js} +19 -9
- package/dist/{customers.schema-d0cc26ba.cjs.dev.js → customers.schema-cc61d5f5.cjs.dev.js} +19 -8
- package/dist/{customers.schema-8092edfa.cjs.prod.js → customers.schema-f5e00e4b.cjs.prod.js} +19 -8
- package/dist/declarations/src/providers/sumsub/sumsub-applicant.schema.d.ts +480 -196
- package/dist/declarations/src/providers/sumsub/sumsub-applicant.schema.d.ts.map +1 -1
- 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/package.json +1 -1
- package/package.json +1 -1
- package/providers/dist/nexeraid-identity-schemas-providers.cjs.dev.js +2 -1
- package/providers/dist/nexeraid-identity-schemas-providers.cjs.prod.js +2 -1
- package/providers/dist/nexeraid-identity-schemas-providers.esm.js +1 -1
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.dev.js +1 -1
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.prod.js +1 -1
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.esm.js +1 -1
|
@@ -1985,6 +1985,12 @@ var SUMSUB_DOC_TYPES = ["ID_CARD", "PASSPORT", "DRIVERS", "RESIDENCE_PERMIT", "U
|
|
|
1985
1985
|
var SumSubDocType = z["enum"](SUMSUB_DOC_TYPES);
|
|
1986
1986
|
var SUMSUB_FLOW_LEVEL = ["basic-kyc-level", "basic-kyc-level+aml", "liveness-level", "id+liveness", "kyc", "phone-level", "kyc_video", "nid-idscan-selfie-por", "NID - ID Scan + Selfie + POR", "nid-idscan-selfie", "NIDKYB", "selfie", "ID Scan", "kyc-video-id+selfie", "kyc-video-id+selfie+por"];
|
|
1987
1987
|
var SumSubFlowLevel = z["enum"](SUMSUB_FLOW_LEVEL);
|
|
1988
|
+
var SumSubRequiredIdDoc = z.object({
|
|
1989
|
+
docSets: z.array(z.object({
|
|
1990
|
+
idDocSetType: SumSubStep,
|
|
1991
|
+
types: z.array(SumSubDocType).nullish()
|
|
1992
|
+
})).nullish()
|
|
1993
|
+
});
|
|
1988
1994
|
|
|
1989
1995
|
var SumSubReviewResultSchema = z.object({
|
|
1990
1996
|
reviewAnswer: SumSubReviewAnswer.optional(),
|
|
@@ -2017,8 +2023,9 @@ var SumSubIndividualApplicantSchema = z.object({
|
|
|
2017
2023
|
inspectionId: z.string(),
|
|
2018
2024
|
externalUserId: z.string(),
|
|
2019
2025
|
info: SumSubApplicantInfo.nullish(),
|
|
2026
|
+
requiredIdDocs: SumSubRequiredIdDoc.nullish(),
|
|
2020
2027
|
fixedInfo: SumSubApplicantInfo.nullish(),
|
|
2021
|
-
applicantPlatform: z.string(),
|
|
2028
|
+
applicantPlatform: z.string().optional(),
|
|
2022
2029
|
ipCountry: z.string().optional(),
|
|
2023
2030
|
agreement: z.object({
|
|
2024
2031
|
createdAt: z.string(),
|
|
@@ -2027,20 +2034,22 @@ var SumSubIndividualApplicantSchema = z.object({
|
|
|
2027
2034
|
privacyNoticeUrl: z.string().nullish()
|
|
2028
2035
|
}).nullish(),
|
|
2029
2036
|
review: z.object({
|
|
2030
|
-
reviewId: z.string(),
|
|
2031
|
-
attemptId: z.string(),
|
|
2032
|
-
attemptCnt: z.number(),
|
|
2037
|
+
reviewId: z.string().optional(),
|
|
2038
|
+
attemptId: z.string().optional(),
|
|
2039
|
+
attemptCnt: z.number().optional(),
|
|
2033
2040
|
elapsedSincePendingMs: z.number().optional(),
|
|
2034
2041
|
elapsedSinceQueuedMs: z.number().optional(),
|
|
2035
2042
|
reprocessing: z["boolean"]().optional(),
|
|
2036
2043
|
levelName: z.string(),
|
|
2037
|
-
levelAutoCheckMode: z["null"](),
|
|
2038
|
-
createDate: z.
|
|
2044
|
+
levelAutoCheckMode: z["null"]().optional(),
|
|
2045
|
+
createDate: z.coerce.date().optional(),
|
|
2039
2046
|
reviewDate: z.coerce.date().optional(),
|
|
2040
2047
|
reviewResult: SumSubReviewResultSchema.optional(),
|
|
2041
2048
|
reviewStatus: SumSubReviewStatus.optional(),
|
|
2049
|
+
startDate: z.coerce.date().optional(),
|
|
2042
2050
|
confirmed: z["boolean"]().optional(),
|
|
2043
|
-
priority: z.number()
|
|
2051
|
+
priority: z.number(),
|
|
2052
|
+
autoChecked: z["boolean"]().optional()
|
|
2044
2053
|
}),
|
|
2045
2054
|
type: SumsubApplicantType
|
|
2046
2055
|
});
|
|
@@ -2179,13 +2188,14 @@ var SumsubKybSessionFlowSectionItem = z.object({
|
|
|
2179
2188
|
status: SumsubKybSessionFlowSectionStatus
|
|
2180
2189
|
});
|
|
2181
2190
|
var SumsubKybSessionFlowSection = z.array(SumsubKybSessionFlowSectionItem);
|
|
2191
|
+
var MatchType = z["enum"](["text", "image"]);
|
|
2182
2192
|
var SumSubSimilarApplicantSchema = z.object({
|
|
2183
2193
|
applicant: SumSubApplicantSchema.optional(),
|
|
2184
2194
|
matchedFields: z.array(z.string().optional()).optional(),
|
|
2185
2195
|
exactMatch: z["boolean"]().optional(),
|
|
2186
2196
|
blacklisted: z["boolean"]().optional(),
|
|
2187
2197
|
sameSource: z["boolean"]().optional(),
|
|
2188
|
-
types: z.array(
|
|
2198
|
+
types: z.array(MatchType).optional(),
|
|
2189
2199
|
originalImageId: z.number().optional(),
|
|
2190
2200
|
similaritySource: z.any().optional(),
|
|
2191
2201
|
similarityConfidence: z.any().optional()
|
|
@@ -2402,4 +2412,4 @@ var UpdateKybSessionOutput = z.string();
|
|
|
2402
2412
|
var CustomerDocumentMetaData = z.union([CompanyDocumentMetaData, ProofOfResidenceMetaData, VideoKycMetaData]);
|
|
2403
2413
|
var CustomerStatusResults = z.union([KybResult, KycResult]);
|
|
2404
2414
|
|
|
2405
|
-
export { LivenessMetadata as $, ANALYSIS_TYPES as A, BitRankVerifiedResponse as B, ChainalysisRiskAssessmentResponse as C, Status$1 as D, EmailVerificationAnalysisResponse as E, WebhookPayload as F, Session as G, SessionWithoutSteps as H, IpQualityServiceAnalysisResponse as I, StepTypes as J, StepType as K, ReasonCodes as L, MergedProviders as M, NestedSession as N, OBJECT_TYPES as O, PhoneVerificationAnalysisResponse as P, ReasonCode as Q, RiskSeverity as R, ScoringAnalysisResponse as S, File as T, DocumentIdTypes as U, DocumentIdType as V, WorkflowsScoringAnalysisRequest as W, DocumentIdMetadata as X, ProofOfAddressDocumentTypes as Y, ProofOfAddressDocumentType as Z, ProofOfAddressMetadata as _, MerkleAddressResponse as a, ComplyAdvantageUpdateSearchRequest as a$, PhoneMetadata as a0, EmailMetadata as a1, AMLMetadata as a2, Step as a3, SynapsSessionEvent as a4, SynapsStepEvent as a5, typeToHumanReadable as a6, SynapsSessionRequest as a7, SESSION_NOT_FOUND as a8, UNKNOWN_ERROR as a9, COMPLY_ADVANTAGE_NATIONALITY_FIELD_SOURCES as aA, ComplyAdvantageNationalityFieldSources as aB, COMPLY_ADVANTAGE_COUNTRY_FIELD_SOURCES as aC, ComplyAdvantageCountryFieldSources as aD, COMPLY_ADVANTAGE_DATE_OF_BIRTH_FIELD_SOURCES as aE, ComplyAdvantageDateOfBirthFieldSources as aF, CreateSearchInput as aG, MatchStatuses as aH, MatchStatus as aI, RiskLevels as aJ, RiskLevel as aK, UpdateSearchInput as aL, UpdateSearchEntitiesInput as aM, ComplyAdvantageUser as aN, MatchTypeDetail as aO, ComplyAdvantageMedia as aP, ComplyAdvantageSearchDataResponseHit as aQ, ComplyAdvantageSearchDataResponse as aR, ComplyAdvantageSearchSuccessResponse as aS, ComplyAdvantageSearchErrorResponse as aT, ComplyAdvantageKeyInformation as aU, ComplyAdvantageAmlItemSource as aV, ComplyAdvantageAmlFullListing as aW, ComplyAdvantageSearchEntitiesDataResponse as aX, ComplyAdvantageSearchEntitiesSuccessResponse as aY, ComplyAdvantageSearchEntitiesResponse as aZ, ComplyAdvantageSearchRequest as a_, RESULT_PARSER_ERROR as aa, SynapsSessionErrorResponse as ab, SynapsSessionResponse as ac, SynapsStepRequest as ad, STEP_NOT_FOUND as ae, SynapsStepErrorResponse as af, SynapsStepResponse as ag, CoerceDateUTC as ah, SEARCH_FILTER_SANCTION_TYPE as ai, SearchFilterSanctionType as aj, SEARCH_FILTER_PEP_TYPE as ak, SearchFilterPepType as al, SEARCH_FILTER_ADVERSE_MEDIA_TYPE as am, SearchFilterAdverseMediaType as an, HIGH_RISK_TYPES as ao, MEDIUM_RISK_TYPES as ap, COMPLY_ADVANTAGE_RESPONSE_MATCH_TYPE as aq, ComplyAdvantageResponseMatchType as ar, mappingMatchTypeToLabel as as, COMPLY_ADVANTAGE_RESPONSE_MATCH_STATUS as at, ComplyAdvantageReponseMatchStatus as au, SEARCH_FILTER_TYPES as av, SearchFilterType as aw, SearchEntityTypes as ax, SearchEntityType as ay, SearchFilters as az, ComplyAdvantageSearchResponse as b, BeneficiaryCompanyCustomerClaims as b$, ComplyAdvantageUpdateSearchEntitiesRequest as b0, ComplyAdvantageUpdateSearchEntitiesSuccessResponse as b1, ComplyAdvantageUpdateSearchEntitiesResponse as b2, ComplyAdvantageMonitorSearchDataResponse as b3, ComplyAdvantageMonitorSearchSuccessResponse as b4, ComplyAdvantageMonitorSearchResponse as b5, ComplyAdvantageMonitoredSearchUpdate as b6, ProviderWithoutConfig as b7, IdentityProviderOptions as b8, IdentityProviders as b9, GetProviderResponse as bA, CreateProviderInput as bB, CreateProviderResponse as bC, UpdateProviderInput as bD, UpdateProviderResponse as bE, ToggleProviderInput as bF, DeleteProviderInput as bG, DeleteProviderResponse as bH, WEBHOOK_TYPES as bI, WebhookType as bJ, ApplicantMemberOfSchema as bK, SumSubWebhookSchema as bL, BaseApplicantActionSchema as bM, SUMSUB_STEPS as bN, SumSubStep as bO, SUMSUB_APPLICANT_TYPES as bP, SumSubApplicantType as bQ, SUMSUB_REVIEW_ANSWERS as bR, SumSubReviewAnswer as bS, SUMSUB_REVIEW_REJECT_TYPES as bT, SumSubReviewRejectType as bU, SumSubAddress as bV, SumSubApplicantInfo as bW, INDIVIDUAL_BENEFICIARY_RELATIONS as bX, IndividualBeneficiaryRelation as bY, BENEFICIARY_TYPES as bZ, BeneficiaryType as b_, DataProviderOptions as ba, DataProviders as bb, MerkleScienceConfig as bc, ChainalysisConfig as bd, ScorechainConfig as be, WorkflowsScorechainConfig as bf, IpQualityConfig as bg, BigConfig as bh, ProviderIntegrationTypeOptions as bi, ProviderIntegrationType as bj, BaseProvider as bk, NexeraIdSSIDProvider as bl, NexeraIdKYBProvider as bm, BigProvider as bn, ScorechainProvider as bo, MerkleScienceProvider as bp, ChainalysisProvider as bq, IpqualityscoreProvider as br, ComplyAdvantageProviderConfigTypes as bs, ComplyAdvantageProviderConfigFilters as bt, ComplyAdvantageProviderConfigElement as bu, ComplyAdvantageProvider as bv, SynapsProvider as bw, ProviderData as bx, ProviderDataProject as by, GetProvidersResponse as bz, AnalysisType as c,
|
|
2415
|
+
export { LivenessMetadata as $, ANALYSIS_TYPES as A, BitRankVerifiedResponse as B, ChainalysisRiskAssessmentResponse as C, Status$1 as D, EmailVerificationAnalysisResponse as E, WebhookPayload as F, Session as G, SessionWithoutSteps as H, IpQualityServiceAnalysisResponse as I, StepTypes as J, StepType as K, ReasonCodes as L, MergedProviders as M, NestedSession as N, OBJECT_TYPES as O, PhoneVerificationAnalysisResponse as P, ReasonCode as Q, RiskSeverity as R, ScoringAnalysisResponse as S, File as T, DocumentIdTypes as U, DocumentIdType as V, WorkflowsScoringAnalysisRequest as W, DocumentIdMetadata as X, ProofOfAddressDocumentTypes as Y, ProofOfAddressDocumentType as Z, ProofOfAddressMetadata as _, MerkleAddressResponse as a, ComplyAdvantageUpdateSearchRequest as a$, PhoneMetadata as a0, EmailMetadata as a1, AMLMetadata as a2, Step as a3, SynapsSessionEvent as a4, SynapsStepEvent as a5, typeToHumanReadable as a6, SynapsSessionRequest as a7, SESSION_NOT_FOUND as a8, UNKNOWN_ERROR as a9, COMPLY_ADVANTAGE_NATIONALITY_FIELD_SOURCES as aA, ComplyAdvantageNationalityFieldSources as aB, COMPLY_ADVANTAGE_COUNTRY_FIELD_SOURCES as aC, ComplyAdvantageCountryFieldSources as aD, COMPLY_ADVANTAGE_DATE_OF_BIRTH_FIELD_SOURCES as aE, ComplyAdvantageDateOfBirthFieldSources as aF, CreateSearchInput as aG, MatchStatuses as aH, MatchStatus as aI, RiskLevels as aJ, RiskLevel as aK, UpdateSearchInput as aL, UpdateSearchEntitiesInput as aM, ComplyAdvantageUser as aN, MatchTypeDetail as aO, ComplyAdvantageMedia as aP, ComplyAdvantageSearchDataResponseHit as aQ, ComplyAdvantageSearchDataResponse as aR, ComplyAdvantageSearchSuccessResponse as aS, ComplyAdvantageSearchErrorResponse as aT, ComplyAdvantageKeyInformation as aU, ComplyAdvantageAmlItemSource as aV, ComplyAdvantageAmlFullListing as aW, ComplyAdvantageSearchEntitiesDataResponse as aX, ComplyAdvantageSearchEntitiesSuccessResponse as aY, ComplyAdvantageSearchEntitiesResponse as aZ, ComplyAdvantageSearchRequest as a_, RESULT_PARSER_ERROR as aa, SynapsSessionErrorResponse as ab, SynapsSessionResponse as ac, SynapsStepRequest as ad, STEP_NOT_FOUND as ae, SynapsStepErrorResponse as af, SynapsStepResponse as ag, CoerceDateUTC as ah, SEARCH_FILTER_SANCTION_TYPE as ai, SearchFilterSanctionType as aj, SEARCH_FILTER_PEP_TYPE as ak, SearchFilterPepType as al, SEARCH_FILTER_ADVERSE_MEDIA_TYPE as am, SearchFilterAdverseMediaType as an, HIGH_RISK_TYPES as ao, MEDIUM_RISK_TYPES as ap, COMPLY_ADVANTAGE_RESPONSE_MATCH_TYPE as aq, ComplyAdvantageResponseMatchType as ar, mappingMatchTypeToLabel as as, COMPLY_ADVANTAGE_RESPONSE_MATCH_STATUS as at, ComplyAdvantageReponseMatchStatus as au, SEARCH_FILTER_TYPES as av, SearchFilterType as aw, SearchEntityTypes as ax, SearchEntityType as ay, SearchFilters as az, ComplyAdvantageSearchResponse as b, BeneficiaryCompanyCustomerClaims as b$, ComplyAdvantageUpdateSearchEntitiesRequest as b0, ComplyAdvantageUpdateSearchEntitiesSuccessResponse as b1, ComplyAdvantageUpdateSearchEntitiesResponse as b2, ComplyAdvantageMonitorSearchDataResponse as b3, ComplyAdvantageMonitorSearchSuccessResponse as b4, ComplyAdvantageMonitorSearchResponse as b5, ComplyAdvantageMonitoredSearchUpdate as b6, ProviderWithoutConfig as b7, IdentityProviderOptions as b8, IdentityProviders as b9, GetProviderResponse as bA, CreateProviderInput as bB, CreateProviderResponse as bC, UpdateProviderInput as bD, UpdateProviderResponse as bE, ToggleProviderInput as bF, DeleteProviderInput as bG, DeleteProviderResponse as bH, WEBHOOK_TYPES as bI, WebhookType as bJ, ApplicantMemberOfSchema as bK, SumSubWebhookSchema as bL, BaseApplicantActionSchema as bM, SUMSUB_STEPS as bN, SumSubStep as bO, SUMSUB_APPLICANT_TYPES as bP, SumSubApplicantType as bQ, SUMSUB_REVIEW_ANSWERS as bR, SumSubReviewAnswer as bS, SUMSUB_REVIEW_REJECT_TYPES as bT, SumSubReviewRejectType as bU, SumSubAddress as bV, SumSubApplicantInfo as bW, INDIVIDUAL_BENEFICIARY_RELATIONS as bX, IndividualBeneficiaryRelation as bY, BENEFICIARY_TYPES as bZ, BeneficiaryType as b_, DataProviderOptions as ba, DataProviders as bb, MerkleScienceConfig as bc, ChainalysisConfig as bd, ScorechainConfig as be, WorkflowsScorechainConfig as bf, IpQualityConfig as bg, BigConfig as bh, ProviderIntegrationTypeOptions as bi, ProviderIntegrationType as bj, BaseProvider as bk, NexeraIdSSIDProvider as bl, NexeraIdKYBProvider as bm, BigProvider as bn, ScorechainProvider as bo, MerkleScienceProvider as bp, ChainalysisProvider as bq, IpqualityscoreProvider as br, ComplyAdvantageProviderConfigTypes as bs, ComplyAdvantageProviderConfigFilters as bt, ComplyAdvantageProviderConfigElement as bu, ComplyAdvantageProvider as bv, SynapsProvider as bw, ProviderData as bx, ProviderDataProject as by, GetProvidersResponse as bz, AnalysisType as c, KybResult as c$, BeneficiaryCompanyCustomerClaimsArray as c0, SumSubCompanyApplicantInfo as c1, SUMSUB_WEBHOOK_INTERNAL_STATUS as c2, SumsubWebhookInternalStatus as c3, SUMSUB_REVIEW_STATUSES as c4, SumSubReviewStatus as c5, SUMSUB_DOC_TYPES as c6, SumSubDocType as c7, SUMSUB_FLOW_LEVEL as c8, SumSubFlowLevel as c9, SumsubKybSessionFlowSection as cA, SumSubSimilarApplicantsSchema as cB, SUMSUB_REVIEW_REJECT_LABELS as cC, SumSubReviewRejectLabel as cD, SUMSUB_REVIEW_REJECT_LABELS_DESCRIPTION as cE, KYC_STEP_TYPES as cF, KycStep as cG, KYC_RESULTS as cH, KycResult as cI, KYC_SESSION_STATUSES as cJ, KycSessionStatus as cK, EmailVerificationResponse as cL, SelectKycSession as cM, SelectKycSessionStep as cN, GetKycSessionInput as cO, GetKycSessionResponse as cP, UpdateKycSessionOutput as cQ, VideoKycMetaData as cR, ProofOfResidenceMetaData as cS, ProofOfResidenceDocumentType as cT, GetCredentialsOutput as cU, CustomerContactInformationOutput as cV, CredentialMetadata as cW, GetKycSessionResponseWithCredentialsMetadata as cX, KYB_STEP_TYPES as cY, KybStep as cZ, KYB_RESULTS as c_, SumSubRequiredIdDoc as ca, SumSubReviewResultSchema as cb, SumSubImageReviewResultSchema as cc, SumsubApplicantTypes as cd, SumsubApplicantType as ce, SumSubIndividualApplicantSchema as cf, SumSubCompanyApplicantSchema as cg, SumSubImageId as ch, SUMSUB_COMPANY_BENEFICIARY_GROUP as ci, SumsubCompanyBeneficiaryGroup as cj, SumsubStepStatus as ck, SumSubVerificationStepSchema as cl, SumSubApplicantVerificationStepSchema as cm, SUMSUB_MEDIA_CONTENT_TYPES as cn, SumSubMediaContentType as co, DocumentMetadataSchema as cp, SumSubApplicantReviewStatusSchema as cq, SumSubApplicantResetSchema as cr, SumSubGenerateExternalWebSdkLinkSchema as cs, SumsubVideoCallData as ct, SumsubKycDataSchema as cu, SumsubKybDataSchema as cv, SumSubApplicantSchema as cw, SUMSUB_KYB_SESSION_FLOW_SECTION_STATUS as cx, SumsubKybSessionFlowSectionStatus as cy, SumsubKybSessionFlowSectionItem as cz, ObjectType as d, KYB_SESSION_STATUSES as d0, KybSessionStatus as d1, CompanyDocumentMetaData as d2, BeneficiaryVerificationStatus as d3, BeneficiaryVerificationStatusArray as d4, SelectKybSession as d5, GetKybSessionInput as d6, GetKybSessionResponse as d7, UpdateKybSessionOutput as d8, CustomerDocumentMetaData as d9, CustomerStatusResults as da, MerkleBlockChainTypes as db, MerkleBlockChainNames as dc, MerkleBlockChainCodes as dd, MerkleAddressRequest as de, MerkleAddressApiResponse as df, MerkleAddressApiError as dg, ChainalysisRequest as dh, ChainalysisRegisterApiResponse as di, ChainalysisRiskLevel as dj, ChainalysisErrorCodes as dk, ChainalysisRiskAssessmentApiResponse as dl, ChainalysisApiError as dm, ChainalysisRegisterResponse as dn, BLOCKCHAIN_TYPES as e, Blockchain as f, Coin as g, ScorechainErrorResponse as h, ScorechainError as i, ScorechainAnalysis as j, ScoringAnalysisRequest as k, IpQualityAnalysisRequest as l, IpQualityAnalysisResponse as m, IpQualityServiceAnalysis as n, IpQualityServiceErrorResponse as o, BigCryptoChain as p, BigPropertiesLiteral as q, BigProperties as r, BigProperty as s, RequestProperty as t, BigCSErrorCodes as u, BitRankRequest as v, BitRankVerified as w, BitRankVerifiedErrorResponse as x, BitRankVerifiedError as y, Statuses as z };
|
|
@@ -1987,6 +1987,12 @@ var SUMSUB_DOC_TYPES = ["ID_CARD", "PASSPORT", "DRIVERS", "RESIDENCE_PERMIT", "U
|
|
|
1987
1987
|
var SumSubDocType = zod.z["enum"](SUMSUB_DOC_TYPES);
|
|
1988
1988
|
var SUMSUB_FLOW_LEVEL = ["basic-kyc-level", "basic-kyc-level+aml", "liveness-level", "id+liveness", "kyc", "phone-level", "kyc_video", "nid-idscan-selfie-por", "NID - ID Scan + Selfie + POR", "nid-idscan-selfie", "NIDKYB", "selfie", "ID Scan", "kyc-video-id+selfie", "kyc-video-id+selfie+por"];
|
|
1989
1989
|
var SumSubFlowLevel = zod.z["enum"](SUMSUB_FLOW_LEVEL);
|
|
1990
|
+
var SumSubRequiredIdDoc = zod.z.object({
|
|
1991
|
+
docSets: zod.z.array(zod.z.object({
|
|
1992
|
+
idDocSetType: SumSubStep,
|
|
1993
|
+
types: zod.z.array(SumSubDocType).nullish()
|
|
1994
|
+
})).nullish()
|
|
1995
|
+
});
|
|
1990
1996
|
|
|
1991
1997
|
var SumSubReviewResultSchema = zod.z.object({
|
|
1992
1998
|
reviewAnswer: SumSubReviewAnswer.optional(),
|
|
@@ -2019,8 +2025,9 @@ var SumSubIndividualApplicantSchema = zod.z.object({
|
|
|
2019
2025
|
inspectionId: zod.z.string(),
|
|
2020
2026
|
externalUserId: zod.z.string(),
|
|
2021
2027
|
info: SumSubApplicantInfo.nullish(),
|
|
2028
|
+
requiredIdDocs: SumSubRequiredIdDoc.nullish(),
|
|
2022
2029
|
fixedInfo: SumSubApplicantInfo.nullish(),
|
|
2023
|
-
applicantPlatform: zod.z.string(),
|
|
2030
|
+
applicantPlatform: zod.z.string().optional(),
|
|
2024
2031
|
ipCountry: zod.z.string().optional(),
|
|
2025
2032
|
agreement: zod.z.object({
|
|
2026
2033
|
createdAt: zod.z.string(),
|
|
@@ -2029,20 +2036,22 @@ var SumSubIndividualApplicantSchema = zod.z.object({
|
|
|
2029
2036
|
privacyNoticeUrl: zod.z.string().nullish()
|
|
2030
2037
|
}).nullish(),
|
|
2031
2038
|
review: zod.z.object({
|
|
2032
|
-
reviewId: zod.z.string(),
|
|
2033
|
-
attemptId: zod.z.string(),
|
|
2034
|
-
attemptCnt: zod.z.number(),
|
|
2039
|
+
reviewId: zod.z.string().optional(),
|
|
2040
|
+
attemptId: zod.z.string().optional(),
|
|
2041
|
+
attemptCnt: zod.z.number().optional(),
|
|
2035
2042
|
elapsedSincePendingMs: zod.z.number().optional(),
|
|
2036
2043
|
elapsedSinceQueuedMs: zod.z.number().optional(),
|
|
2037
2044
|
reprocessing: zod.z["boolean"]().optional(),
|
|
2038
2045
|
levelName: zod.z.string(),
|
|
2039
|
-
levelAutoCheckMode: zod.z["null"](),
|
|
2040
|
-
createDate: zod.z.
|
|
2046
|
+
levelAutoCheckMode: zod.z["null"]().optional(),
|
|
2047
|
+
createDate: zod.z.coerce.date().optional(),
|
|
2041
2048
|
reviewDate: zod.z.coerce.date().optional(),
|
|
2042
2049
|
reviewResult: SumSubReviewResultSchema.optional(),
|
|
2043
2050
|
reviewStatus: SumSubReviewStatus.optional(),
|
|
2051
|
+
startDate: zod.z.coerce.date().optional(),
|
|
2044
2052
|
confirmed: zod.z["boolean"]().optional(),
|
|
2045
|
-
priority: zod.z.number()
|
|
2053
|
+
priority: zod.z.number(),
|
|
2054
|
+
autoChecked: zod.z["boolean"]().optional()
|
|
2046
2055
|
}),
|
|
2047
2056
|
type: SumsubApplicantType
|
|
2048
2057
|
});
|
|
@@ -2181,13 +2190,14 @@ var SumsubKybSessionFlowSectionItem = zod.z.object({
|
|
|
2181
2190
|
status: SumsubKybSessionFlowSectionStatus
|
|
2182
2191
|
});
|
|
2183
2192
|
var SumsubKybSessionFlowSection = zod.z.array(SumsubKybSessionFlowSectionItem);
|
|
2193
|
+
var MatchType = zod.z["enum"](["text", "image"]);
|
|
2184
2194
|
var SumSubSimilarApplicantSchema = zod.z.object({
|
|
2185
2195
|
applicant: SumSubApplicantSchema.optional(),
|
|
2186
2196
|
matchedFields: zod.z.array(zod.z.string().optional()).optional(),
|
|
2187
2197
|
exactMatch: zod.z["boolean"]().optional(),
|
|
2188
2198
|
blacklisted: zod.z["boolean"]().optional(),
|
|
2189
2199
|
sameSource: zod.z["boolean"]().optional(),
|
|
2190
|
-
types: zod.z.array(
|
|
2200
|
+
types: zod.z.array(MatchType).optional(),
|
|
2191
2201
|
originalImageId: zod.z.number().optional(),
|
|
2192
2202
|
similaritySource: zod.z.any().optional(),
|
|
2193
2203
|
similarityConfidence: zod.z.any().optional()
|
|
@@ -2628,6 +2638,7 @@ exports.SumSubImageId = SumSubImageId;
|
|
|
2628
2638
|
exports.SumSubImageReviewResultSchema = SumSubImageReviewResultSchema;
|
|
2629
2639
|
exports.SumSubIndividualApplicantSchema = SumSubIndividualApplicantSchema;
|
|
2630
2640
|
exports.SumSubMediaContentType = SumSubMediaContentType;
|
|
2641
|
+
exports.SumSubRequiredIdDoc = SumSubRequiredIdDoc;
|
|
2631
2642
|
exports.SumSubReviewAnswer = SumSubReviewAnswer;
|
|
2632
2643
|
exports.SumSubReviewRejectLabel = SumSubReviewRejectLabel;
|
|
2633
2644
|
exports.SumSubReviewRejectType = SumSubReviewRejectType;
|
package/dist/{customers.schema-8092edfa.cjs.prod.js → customers.schema-f5e00e4b.cjs.prod.js}
RENAMED
|
@@ -1987,6 +1987,12 @@ var SUMSUB_DOC_TYPES = ["ID_CARD", "PASSPORT", "DRIVERS", "RESIDENCE_PERMIT", "U
|
|
|
1987
1987
|
var SumSubDocType = zod.z["enum"](SUMSUB_DOC_TYPES);
|
|
1988
1988
|
var SUMSUB_FLOW_LEVEL = ["basic-kyc-level", "basic-kyc-level+aml", "liveness-level", "id+liveness", "kyc", "phone-level", "kyc_video", "nid-idscan-selfie-por", "NID - ID Scan + Selfie + POR", "nid-idscan-selfie", "NIDKYB", "selfie", "ID Scan", "kyc-video-id+selfie", "kyc-video-id+selfie+por"];
|
|
1989
1989
|
var SumSubFlowLevel = zod.z["enum"](SUMSUB_FLOW_LEVEL);
|
|
1990
|
+
var SumSubRequiredIdDoc = zod.z.object({
|
|
1991
|
+
docSets: zod.z.array(zod.z.object({
|
|
1992
|
+
idDocSetType: SumSubStep,
|
|
1993
|
+
types: zod.z.array(SumSubDocType).nullish()
|
|
1994
|
+
})).nullish()
|
|
1995
|
+
});
|
|
1990
1996
|
|
|
1991
1997
|
var SumSubReviewResultSchema = zod.z.object({
|
|
1992
1998
|
reviewAnswer: SumSubReviewAnswer.optional(),
|
|
@@ -2019,8 +2025,9 @@ var SumSubIndividualApplicantSchema = zod.z.object({
|
|
|
2019
2025
|
inspectionId: zod.z.string(),
|
|
2020
2026
|
externalUserId: zod.z.string(),
|
|
2021
2027
|
info: SumSubApplicantInfo.nullish(),
|
|
2028
|
+
requiredIdDocs: SumSubRequiredIdDoc.nullish(),
|
|
2022
2029
|
fixedInfo: SumSubApplicantInfo.nullish(),
|
|
2023
|
-
applicantPlatform: zod.z.string(),
|
|
2030
|
+
applicantPlatform: zod.z.string().optional(),
|
|
2024
2031
|
ipCountry: zod.z.string().optional(),
|
|
2025
2032
|
agreement: zod.z.object({
|
|
2026
2033
|
createdAt: zod.z.string(),
|
|
@@ -2029,20 +2036,22 @@ var SumSubIndividualApplicantSchema = zod.z.object({
|
|
|
2029
2036
|
privacyNoticeUrl: zod.z.string().nullish()
|
|
2030
2037
|
}).nullish(),
|
|
2031
2038
|
review: zod.z.object({
|
|
2032
|
-
reviewId: zod.z.string(),
|
|
2033
|
-
attemptId: zod.z.string(),
|
|
2034
|
-
attemptCnt: zod.z.number(),
|
|
2039
|
+
reviewId: zod.z.string().optional(),
|
|
2040
|
+
attemptId: zod.z.string().optional(),
|
|
2041
|
+
attemptCnt: zod.z.number().optional(),
|
|
2035
2042
|
elapsedSincePendingMs: zod.z.number().optional(),
|
|
2036
2043
|
elapsedSinceQueuedMs: zod.z.number().optional(),
|
|
2037
2044
|
reprocessing: zod.z["boolean"]().optional(),
|
|
2038
2045
|
levelName: zod.z.string(),
|
|
2039
|
-
levelAutoCheckMode: zod.z["null"](),
|
|
2040
|
-
createDate: zod.z.
|
|
2046
|
+
levelAutoCheckMode: zod.z["null"]().optional(),
|
|
2047
|
+
createDate: zod.z.coerce.date().optional(),
|
|
2041
2048
|
reviewDate: zod.z.coerce.date().optional(),
|
|
2042
2049
|
reviewResult: SumSubReviewResultSchema.optional(),
|
|
2043
2050
|
reviewStatus: SumSubReviewStatus.optional(),
|
|
2051
|
+
startDate: zod.z.coerce.date().optional(),
|
|
2044
2052
|
confirmed: zod.z["boolean"]().optional(),
|
|
2045
|
-
priority: zod.z.number()
|
|
2053
|
+
priority: zod.z.number(),
|
|
2054
|
+
autoChecked: zod.z["boolean"]().optional()
|
|
2046
2055
|
}),
|
|
2047
2056
|
type: SumsubApplicantType
|
|
2048
2057
|
});
|
|
@@ -2181,13 +2190,14 @@ var SumsubKybSessionFlowSectionItem = zod.z.object({
|
|
|
2181
2190
|
status: SumsubKybSessionFlowSectionStatus
|
|
2182
2191
|
});
|
|
2183
2192
|
var SumsubKybSessionFlowSection = zod.z.array(SumsubKybSessionFlowSectionItem);
|
|
2193
|
+
var MatchType = zod.z["enum"](["text", "image"]);
|
|
2184
2194
|
var SumSubSimilarApplicantSchema = zod.z.object({
|
|
2185
2195
|
applicant: SumSubApplicantSchema.optional(),
|
|
2186
2196
|
matchedFields: zod.z.array(zod.z.string().optional()).optional(),
|
|
2187
2197
|
exactMatch: zod.z["boolean"]().optional(),
|
|
2188
2198
|
blacklisted: zod.z["boolean"]().optional(),
|
|
2189
2199
|
sameSource: zod.z["boolean"]().optional(),
|
|
2190
|
-
types: zod.z.array(
|
|
2200
|
+
types: zod.z.array(MatchType).optional(),
|
|
2191
2201
|
originalImageId: zod.z.number().optional(),
|
|
2192
2202
|
similaritySource: zod.z.any().optional(),
|
|
2193
2203
|
similarityConfidence: zod.z.any().optional()
|
|
@@ -2628,6 +2638,7 @@ exports.SumSubImageId = SumSubImageId;
|
|
|
2628
2638
|
exports.SumSubImageReviewResultSchema = SumSubImageReviewResultSchema;
|
|
2629
2639
|
exports.SumSubIndividualApplicantSchema = SumSubIndividualApplicantSchema;
|
|
2630
2640
|
exports.SumSubMediaContentType = SumSubMediaContentType;
|
|
2641
|
+
exports.SumSubRequiredIdDoc = SumSubRequiredIdDoc;
|
|
2631
2642
|
exports.SumSubReviewAnswer = SumSubReviewAnswer;
|
|
2632
2643
|
exports.SumSubReviewRejectLabel = SumSubReviewRejectLabel;
|
|
2633
2644
|
exports.SumSubReviewRejectType = SumSubReviewRejectType;
|