@sekyro/node 1.0.0-rc.19 → 1.0.0-rc.21
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/CHANGELOG.md +17 -0
- package/README.md +29 -8
- package/dist/chunk-TPQKBAO4.js +1 -0
- package/dist/{chunk-VO3VIX3L.js → chunk-VALZSRLO.js} +1 -1
- package/dist/{client-BSzMfacG.d.cts → client-C5lyl8iQ.d.cts} +137 -33
- package/dist/{client-BSzMfacG.d.ts → client-C5lyl8iQ.d.ts} +137 -33
- package/dist/connect/express/index.cjs +1 -1
- package/dist/connect/express/index.d.cts +3 -3
- package/dist/connect/express/index.d.ts +3 -3
- package/dist/connect/express/index.js +1 -1
- package/dist/connect/index.cjs +1 -1
- package/dist/connect/index.d.cts +2 -2
- package/dist/connect/index.d.ts +2 -2
- package/dist/connect/index.js +1 -1
- package/dist/connect/next/index.cjs +1 -1
- package/dist/connect/next/index.d.cts +3 -3
- package/dist/connect/next/index.d.ts +3 -3
- package/dist/connect/next/index.js +1 -1
- package/dist/{connector-D0CDGAOJ.d.ts → connector-BoksCP5p.d.cts} +24 -9
- package/dist/{connector-CyNFdiLv.d.cts → connector-CluvSk8L.d.ts} +24 -9
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +11 -3
- package/dist/index.d.ts +11 -3
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/sbom.cdx.json +7 -7
- package/dist/chunk-HQ4S5AND.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @sekyro/node
|
|
2
2
|
|
|
3
|
+
## 1.0.0-rc.21
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- c491b0b: Flow overrides: `settings.confirmDetails` (`enabled`, `retake`) replaces `services.summary_confirm`; session steps still report the `summary_confirm` service. `OverridableServiceId` names the services `FlowOverrides.services` accepts.
|
|
8
|
+
- 21d94d7: Levels are renumbered: 1 Contact, 2 Human, 3 Identity. A gate that says identity as `level: 2` must become `level: 3`, and a check for a real person as `level >= 1` must become `level >= 2`; left alone they accept weaker results. Corroborated is no longer a level: gate on `assurance`, for example `{ level: 3, assurance: ["registry_biometric"] }` for a registry match. The stored claim is version 2, and version 1 claims are no longer read: a stored version 1 claim is no claim, so the person reads as not verified (`no_claim`, action `verify`) until a new verification or re-check writes a version 2 claim.
|
|
9
|
+
|
|
10
|
+
- `VerificationAssurance` gains the four Contact values `device_only`, `contact_email`, `contact_phone` and `unbound_identity`.
|
|
11
|
+
- At the same level the claim keeps the stronger assurance: a registry match is never replaced by a document check, and a chip read is never replaced by a national eID sign-in.
|
|
12
|
+
- A gate that fails on the level answers `step_up` for a Human or Identity claim and `verify` for a Contact claim.
|
|
13
|
+
|
|
14
|
+
## 1.0.0-rc.20
|
|
15
|
+
|
|
16
|
+
### Minor Changes
|
|
17
|
+
|
|
18
|
+
- 5883be5: Proof of address and driver's license types: `person.address` on session create (`PersonAddressInput`), `identity.address` and `identity.proofOfAddress` on sessions, people and webhooks, the `poa` check type and its `PoaReason` codes, the `proof_of_address` service and its settings (`PoaRules`), the `address_document`, `address_document_file` and `holder_letter` media kinds (a PDF is `application/pdf`), and `drivers_license` as an identity number and document type, with the license's `categories` on `identity.document`. `verifyResultToken` returns `addressVerified` and `addressCountry` from the token's `address_verified` and `address_country` claims.
|
|
19
|
+
|
|
3
20
|
## 1.0.0-rc.19
|
|
4
21
|
|
|
5
22
|
### Major Changes
|
package/README.md
CHANGED
|
@@ -56,9 +56,12 @@ const created = await sekyro.sessions.create(
|
|
|
56
56
|
{
|
|
57
57
|
flow: "default",
|
|
58
58
|
locale: "ar",
|
|
59
|
-
|
|
59
|
+
// Your own stable id for the person: links their sessions and returning-person checks.
|
|
60
|
+
person: { externalRef: userId, idNumber: { type: "national_id", issuingCountry: "<ISO alpha-2>", number: "<id number>" } },
|
|
60
61
|
},
|
|
61
|
-
|
|
62
|
+
// One key per attempt (made when the person clicks, kept for a retry of this request).
|
|
63
|
+
// A key per user would hand back the same, possibly finished, session on the next attempt.
|
|
64
|
+
{ idempotencyKey: attemptId },
|
|
62
65
|
);
|
|
63
66
|
created.id; // `ses_…`: persist against your user before returning to the page
|
|
64
67
|
created.clientToken; // give this to the browser; it is returned ONCE
|
|
@@ -458,7 +461,7 @@ for await (const p of sekyro.people.iterate()) p.id; // every pag
|
|
|
458
461
|
await sekyro.sessions.create({ person: { reuse: { personId } } });
|
|
459
462
|
|
|
460
463
|
// The same in one call, with a mode: `recheck` (verify the same person again)
|
|
461
|
-
// or `step_up` (raise a
|
|
464
|
+
// or `step_up` (raise a Human person to Identity). A person id (`per_…`
|
|
462
465
|
// or 24 hexadecimal characters) names the person; anything else is your external reference.
|
|
463
466
|
await sekyro.people.createSession(userId, { mode: "step_up", flow: "identity" });
|
|
464
467
|
|
|
@@ -585,7 +588,7 @@ const result = await verifyResultToken(token, {
|
|
|
585
588
|
// Required. Set SEKYRO_ENV to "sandbox" while you integrate and to "live" at go-live.
|
|
586
589
|
env: process.env.SEKYRO_ENV as "live" | "sandbox",
|
|
587
590
|
});
|
|
588
|
-
result.level; // 0 | 1 | 2 | 3 | null (1
|
|
591
|
+
result.level; // 0 | 1 | 2 | 3 | null (1 Contact, 2 Human, 3 Identity)
|
|
589
592
|
result.assurance; // 'live_only' | 'document_biometric' | 'registry_biometric' | ...
|
|
590
593
|
result.status; // 'verified' (the sekyro.status claim)
|
|
591
594
|
result.personId; // the person id (per_…), when known
|
|
@@ -689,27 +692,45 @@ import { requireLevel } from "@sekyro/node/connect/express";
|
|
|
689
692
|
|
|
690
693
|
app.get(
|
|
691
694
|
"/payouts",
|
|
692
|
-
requireLevel(connector, { level:
|
|
695
|
+
requireLevel(connector, { level: 3, maxAgeDays: 365 }, { claims: (req) => (req as { auth?: Record<string, unknown> }).auth }),
|
|
693
696
|
handler,
|
|
694
697
|
);
|
|
695
698
|
// Fails with 403 { error: "sekyro_gate", reason, action }; action is verify | step_up | recheck | block.
|
|
696
699
|
// Next.js: sekyroGate() and gateRoute() from "@sekyro/node/connect/next".
|
|
697
700
|
```
|
|
698
701
|
|
|
702
|
+
Levels are 1 Contact, 2 Human (a live, real person) and 3 Identity (who the
|
|
703
|
+
person is). To require a particular proof of identity, add the assurances
|
|
704
|
+
that pass. There is no ordered scale of assurances; name the ones you accept:
|
|
705
|
+
|
|
706
|
+
```ts
|
|
707
|
+
// A registry match.
|
|
708
|
+
requireLevel(connector, { level: 3, assurance: ["registry_biometric"] }, { claims });
|
|
709
|
+
// A government record of any kind, with or without a face.
|
|
710
|
+
sekyroGate(connector, claims, { level: 3, assurance: ["registry_biometric", "eid_authenticated"] });
|
|
711
|
+
```
|
|
712
|
+
|
|
713
|
+
A failed assurance answers `assurance_not_allowed` with the action `step_up`.
|
|
714
|
+
|
|
699
715
|
The claim (unix seconds; never a name, a document number, a photo, a score, a birth date or an estimated age):
|
|
700
716
|
|
|
701
717
|
```json
|
|
702
|
-
{ "v":
|
|
718
|
+
{ "v": 2, "level": 3, "assurance": "document_biometric", "verified_at": 1790000000, "rechecked_at": 1790003600,
|
|
703
719
|
"session_id": "<session id>", "subject_id": "<person id>", "env": "live", "flags": ["face_mismatch"],
|
|
704
720
|
"age_over": 18, "age_method": "document" }
|
|
705
721
|
```
|
|
706
722
|
|
|
723
|
+
`v` is the claim format, always `2`. A stored claim of an older format is no
|
|
724
|
+
claim: the person reads as not verified (`no_claim`) until a new verification
|
|
725
|
+
or re-check writes a version 2 claim. A claim of a newer format is refused
|
|
726
|
+
(`unsupported_version`).
|
|
727
|
+
|
|
707
728
|
`age_over` and `age_method` appear once a session of a flow with a minimum age
|
|
708
729
|
proved it: the flow's minimum age and how (`estimated`, or `document`, `chip`,
|
|
709
730
|
`registry`, `eid`). The claim keeps the stronger proof of the same person (a
|
|
710
731
|
birth date from identity data beats an estimate, then the higher minimum age).
|
|
711
732
|
Gate on it with `minAge`, and `ageMethods` when the route needs a proven birth
|
|
712
|
-
date: `{ level:
|
|
733
|
+
date: `{ level: 2, minAge: 18, ageMethods: ["document", "chip", "registry", "eid"] }`
|
|
713
734
|
fails with `age_not_proven` (action `verify`) or `age_method_not_allowed`
|
|
714
735
|
(action `step_up`).
|
|
715
736
|
|
|
@@ -719,7 +740,7 @@ Trust rules:
|
|
|
719
740
|
- A key set outage while checking a result token throws `SekyroConnectError` with code `unavailable`: answer `503` so Sekyro retries, and `400` for every other refusal.
|
|
720
741
|
- Only `session.verified` writes a level. When it carries a result token, the token must verify too (audience, environment, same session, same user), and it is the source of the level, the assurance and the time. `session.not_verified` carries no token and never writes a level; with `reason: 'rejected'` and `personConflict` it adds the `face_mismatch` flag.
|
|
721
742
|
- The return URL is a hint: store the session id with your `state` at start and compare both on return; `sync` then reads the session and its signed result token with your API key, verifies the token (your app ids, your environment) and refuses a session of another user, of another app or created without one. On a `not_verified` session it writes nothing and returns the stored claim with rule `not_verified`.
|
|
722
|
-
- Every input goes through one merge: a failed attempt never erases a proof, a weaker proof never
|
|
743
|
+
- Every input goes through one merge: a failed attempt never erases a proof, a weaker proof never replaces a stronger one (a higher level wins; at the same level the stronger assurance wins), an older result never overwrites a newer one, and a result from the other environment is refused.
|
|
723
744
|
- Writes for one user are serialised: each one reads the stored claim, merges and writes it back through the adapter's optional `update` when it has one (the Firebase adapter does), otherwise under a lock per user inside the connector. That lock is per process: two server instances can still interleave for one user, and a re-check result read just before a revocation could write over it. When that matters, send the webhook route to one instance or queue its deliveries per user id.
|
|
724
745
|
- A revocation or deletion of the person (`person.updated` with `status: 'revoked'`, `person.deleted`) sets the level to 0 with the `revoked` flag (a claim stored without `subject_id` too, when the event's `externalRefs` include the user's id); the gate blocks `revoked` and `face_mismatch` by default. A revoked claim stays revoked: a later result of the same person, or one without a person id, is `revoked_ignored`; only a verified session of another person writes a level again.
|
|
725
746
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var ASSURANCE_ORDER=["device_only","contact_email","contact_phone","unbound_identity","live_only","live_unique","supplied_biometric","document_biometric","eid_authenticated","chip_biometric","registry_biometric"];function standingOf(assurance){return ASSURANCE_ORDER.indexOf(assurance)}var CLAIM_VERSION=2,KNOWN_FLAGS=["face_mismatch","duplicate","revoked"],AGE_METHODS=["estimated","document","chip","registry","eid"];function ageProofOf(over,method){if(!(typeof over!="number"||!Number.isInteger(over)||over<=0)&&!(typeof method!="string"||!AGE_METHODS.includes(method)))return{over,method}}var ageRank=a=>a.method==="estimated"?0:1;function strongerAge(stored,next){if(!stored)return next;if(!next)return stored;let r=ageRank(next)-ageRank(stored);return r!==0?r>0?next:stored:next.over>stored.over?next:stored}var sameAge=(a,b)=>a?.over===b?.over&&a?.method===b?.method;function canonicalId(id){return id.replace(/^(ses|per)_/,"")}function isRecord(v){return typeof v=="object"&&v!==null&&!Array.isArray(v)}function isFiniteNumber(v){return typeof v=="number"&&Number.isFinite(v)}function build(c){let out={v:CLAIM_VERSION,level:c.level,assurance:c.assurance,verified_at:c.verified_at};c.rechecked_at!==void 0&&(out.rechecked_at=c.rechecked_at),out.session_id=c.session_id,c.subject_id!==void 0&&(out.subject_id=canonicalId(c.subject_id)),out.env=c.env;let flags=new Set;for(let f of c.flags??[])KNOWN_FLAGS.includes(f)&&flags.add(f);flags.size>0&&(out.flags=[...flags].sort());let age=ageProofOf(c.age_over,c.age_method);return age&&(out.age_over=age.over,out.age_method=age.method),out}function ageFields(age){return{age_over:age?.over,age_method:age?.method}}function parseClaim(value){let v=value;if(typeof v=="string")try{v=JSON.parse(v)}catch{return null}return!isRecord(v)||!isFiniteNumber(v.v)?null:v.v>CLAIM_VERSION?v:v.v!==CLAIM_VERSION||v.level!==0&&v.level!==1&&v.level!==2&&v.level!==3||typeof v.assurance!="string"||!isFiniteNumber(v.verified_at)||typeof v.session_id!="string"||v.env!=="live"&&v.env!=="sandbox"?null:build({level:v.level,assurance:v.assurance,verified_at:v.verified_at,rechecked_at:isFiniteNumber(v.rechecked_at)?v.rechecked_at:void 0,session_id:v.session_id,subject_id:typeof v.subject_id=="string"?v.subject_id:void 0,env:v.env,flags:Array.isArray(v.flags)?v.flags:void 0,age_over:v.age_over,age_method:v.age_method})}function toUnix(isoTime,now){let ms=Date.parse(isoTime);return Math.floor((Number.isFinite(ms)?ms:now())/1e3)}var same=(claim,rule)=>({claim,changed:!1,rule}),wrote=(claim,rule)=>({claim,changed:!0,rule});function mergeClaim(previous,event,opts){let now=opts.now??Date.now,prev=parseClaim(previous);if(prev&&prev.v>CLAIM_VERSION)return same(prev,"unsupported_version");if(event.kind==="revoked"||event.kind==="deleted"){if(!prev)return same(null,"no_change");if(!(prev.subject_id===void 0?event.userInExternalRefs===!0:prev.subject_id===canonicalId(event.subjectId)))return same(prev,"subject_mismatch");if(prev.level===0&&prev.flags?.includes("revoked"))return same(prev,"no_change");let{rechecked_at:_cleared,age_over:_over,age_method:_method,...kept}=prev;return wrote(build({...kept,level:0,subject_id:event.subjectId,flags:["revoked"]}),"revoked")}let r=event.result;if(r.env!==opts.env)return same(prev,"env_mismatch");let t=toUnix(r.verifiedAt,now);if(prev&&t<prev.verified_at)return same(prev,"stale_ignored");let revokedPrev=prev?.flags?.includes("revoked")===!0;if(prev&&revokedPrev&&(r.subjectId===void 0||canonicalId(r.subjectId)===prev.subject_id))return same(prev,"revoked_ignored");if(r.status==="not_verified"&&r.reason==="rejected"&&r.subjectConflict===!0)return!prev||prev.flags?.includes("face_mismatch")?same(prev,"no_change"):wrote(build({...prev,flags:[...prev.flags??[],"face_mismatch"]}),"face_mismatch");if(r.status!=="verified"||r.level===null||r.level===0)return same(prev,"not_verified");let level=r.level,assurance=r.assurance??"none",duplicate=r.duplicates===!0?["duplicate"]:[],nextAge=r.age?ageProofOf(r.age.over,r.age.method):void 0;if(!prev)return wrote(build({level,assurance,verified_at:t,session_id:r.sessionId,subject_id:r.subjectId,env:r.env,flags:duplicate,...ageFields(nextAge)}),"created");let prevAge=ageProofOf(prev.age_over,prev.age_method),otherPerson=prev.subject_id!==void 0&&r.subjectId!==void 0&&canonicalId(r.subjectId)!==prev.subject_id,mergedAge=otherPerson?prevAge:strongerAge(prevAge,nextAge),stronger=level>prev.level||level===prev.level&&standingOf(assurance)>standingOf(prev.assurance);if(!revokedPrev&&(r.reuseMode==="recheck"||r.returning===!0&&!stronger))return prev.rechecked_at!==void 0&&t<=prev.rechecked_at?same(prev,t<prev.rechecked_at?"stale_ignored":"no_change"):wrote(build({...prev,rechecked_at:t,subject_id:prev.subject_id??r.subjectId,...ageFields(mergedAge)}),"rechecked");if(stronger){let kept=(prev.flags??[]).filter(f=>f!=="face_mismatch"&&f!=="revoked");return wrote(build({...prev,level,assurance,verified_at:t,session_id:r.sessionId,subject_id:r.subjectId??prev.subject_id,flags:[...kept,...duplicate],...ageFields(otherPerson?nextAge:mergedAge)}),"raised")}return level===prev.level&&standingOf(assurance)===standingOf(prev.assurance)&&t>prev.verified_at?wrote(build({...prev,assurance,verified_at:t,session_id:r.sessionId,subject_id:prev.subject_id??r.subjectId,flags:[...prev.flags??[],...duplicate],...ageFields(mergedAge)}),"renewed"):sameAge(mergedAge,prevAge)?same(prev,"no_change"):wrote(build({...prev,subject_id:prev.subject_id??r.subjectId,...ageFields(mergedAge)}),"age_proved")}var DEFAULT_DENY_FLAGS=["revoked","face_mismatch"],fail=(reason,action,claim)=>({ok:!1,reason,action,claim});function evaluateGate(claim,policy,nowSec=Math.floor(Date.now()/1e3)){let parsed=parseClaim(claim);if(!parsed)return fail("no_claim","verify",null);if(parsed.v>CLAIM_VERSION)return fail("unsupported_version","verify",parsed);if(policy.env!==void 0&&parsed.env!==policy.env)return fail("wrong_env","verify",parsed);let deny=policy.denyFlags??DEFAULT_DENY_FLAGS;if(parsed.flags?.some(f=>deny.includes(f)))return fail("flagged","block",parsed);if(parsed.level<policy.level)return fail("level_too_low",parsed.level>=2?"step_up":"verify",parsed);if(policy.maxAgeDays!==void 0&&nowSec-parsed.verified_at>policy.maxAgeDays*86400)return fail("stale","recheck",parsed);if(policy.maxRecheckAgeMinutes!==void 0&&nowSec-(parsed.rechecked_at??parsed.verified_at)>policy.maxRecheckAgeMinutes*60)return fail("recheck_stale","recheck",parsed);if(policy.assurance&&!policy.assurance.includes(parsed.assurance))return fail("assurance_not_allowed","step_up",parsed);if(policy.minAge!==void 0){if(parsed.age_over===void 0||parsed.age_over<policy.minAge)return fail("age_not_proven","verify",parsed);if(policy.ageMethods&&(parsed.age_method===void 0||!policy.ageMethods.includes(parsed.age_method)))return fail("age_method_not_allowed","step_up",parsed)}return{ok:!0,claim:parsed}}export{CLAIM_VERSION,canonicalId,parseClaim,mergeClaim,evaluateGate};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{evaluateGate}from"./chunk-
|
|
1
|
+
import{evaluateGate}from"./chunk-TPQKBAO4.js";function sekyroGate(source,tokenClaims,policy){let claims=tokenClaims??{};if("gate"in source)return source.gate(claims,policy);let effective=source.env!==void 0&&policy.env===void 0?{...policy,env:source.env}:policy;return evaluateGate(source.provider.readClaimFromToken(claims),effective)}function gateRoute(result,routes){if(result.ok)return null;switch(result.action){case"verify":return routes.verify;case"step_up":return routes.stepUp;case"recheck":return routes.recheck;case"block":return routes.block}}export{sekyroGate,gateRoute};
|
|
@@ -56,23 +56,26 @@ interface SessionDecidingStep {
|
|
|
56
56
|
service: string;
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
|
-
* What a finished session proved: `1` a
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
* rejected session.
|
|
59
|
+
* What a finished session proved: `1` Contact (a contact, a device check or
|
|
60
|
+
* identity data with no live person), `2` Human (a live, real person), `3`
|
|
61
|
+
* Identity (who the person is). `0` when nothing was proven.
|
|
63
62
|
* @public
|
|
64
63
|
*/
|
|
65
64
|
type VerificationLevel = 0 | 1 | 2 | 3;
|
|
66
65
|
/**
|
|
67
|
-
* How a session's {@link VerificationLevel} was proved
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
* `
|
|
72
|
-
*
|
|
66
|
+
* How a session's {@link VerificationLevel} was proved. Level 1:
|
|
67
|
+
* `device_only` (a device and network check), `contact_email`,
|
|
68
|
+
* `contact_phone` (a verified contact), `unbound_identity` (identity data
|
|
69
|
+
* with no live face matched to it). Level 2: `live_only` (liveness only),
|
|
70
|
+
* `live_unique` (liveness plus a duplicate search). Level 3: the
|
|
71
|
+
* `*_biometric` values, where a face match bound the person to
|
|
72
|
+
* partner-supplied identity data, a document, its chip or the registry
|
|
73
|
+
* record, and `eid_authenticated`, where the person signed in with a
|
|
74
|
+
* national digital identity. To require a particular proof, gate on a list
|
|
75
|
+
* of these values, for example `["registry_biometric"]`.
|
|
73
76
|
* @public
|
|
74
77
|
*/
|
|
75
|
-
type VerificationAssurance = "
|
|
78
|
+
type VerificationAssurance = "device_only" | "contact_email" | "contact_phone" | "unbound_identity" | "live_only" | "live_unique" | "supplied_biometric" | "document_biometric" | "eid_authenticated" | "chip_biometric" | "registry_biometric";
|
|
76
79
|
/** The one billing unit a finished session consumed. @public */
|
|
77
80
|
type VerificationUnit = "human_verification" | "identity_verification";
|
|
78
81
|
/** The lowest and highest {@link VerificationLevel} the session's flow can reach. @public */
|
|
@@ -285,7 +288,7 @@ interface SignalEventData {
|
|
|
285
288
|
/**
|
|
286
289
|
* How a `person.reuse` session runs: `recheck` verifies the same person
|
|
287
290
|
* again (liveness and face match against the stored photo), `step_up` raises
|
|
288
|
-
* the subject to identity level with a flow that proves level
|
|
291
|
+
* the subject to identity level with a flow that proves Identity (level 3) on every path.
|
|
289
292
|
* @public
|
|
290
293
|
*/
|
|
291
294
|
type SubjectReuseMode = "recheck" | "step_up";
|
|
@@ -308,7 +311,7 @@ interface SessionLinkInput {
|
|
|
308
311
|
*/
|
|
309
312
|
type IdentityMethod = "national_number" | "document_photo" | "document_chip" | "national_eid";
|
|
310
313
|
/** The verification checks a flow may contain. @public */
|
|
311
|
-
type CheckType = "liveness" | "face_match" | "doc_ocr" | "population_registry" | "phone_otp" | "nfc_chip" | "email_otp" | "portrait_icao" | "eid_auth" | "aml_screening";
|
|
314
|
+
type CheckType = "liveness" | "face_match" | "doc_ocr" | "population_registry" | "phone_otp" | "nfc_chip" | "email_otp" | "portrait_icao" | "eid_auth" | "aml_screening" | "poa";
|
|
312
315
|
/** Per-check execution state within a session. @public */
|
|
313
316
|
type CheckState = "pending" | "input_required" | "processing" | "passed" | "failed" | "review" | "skipped";
|
|
314
317
|
/**
|
|
@@ -637,7 +640,7 @@ interface DeliverOptions {
|
|
|
637
640
|
* @public
|
|
638
641
|
*/
|
|
639
642
|
interface SubjectIdNumber {
|
|
640
|
-
type: "national_id" | "passport" | "residence_permit";
|
|
643
|
+
type: "national_id" | "passport" | "residence_permit" | "drivers_license";
|
|
641
644
|
issuingCountry: string;
|
|
642
645
|
number: string;
|
|
643
646
|
}
|
|
@@ -671,10 +674,24 @@ interface PersonBirthPlaceInput {
|
|
|
671
674
|
* @public
|
|
672
675
|
*/
|
|
673
676
|
interface PersonDocumentInput {
|
|
674
|
-
type: "national_id" | "passport" | "residence_permit";
|
|
677
|
+
type: "national_id" | "passport" | "residence_permit" | "drivers_license";
|
|
675
678
|
issuingCountry: string;
|
|
676
679
|
number: string;
|
|
677
680
|
}
|
|
681
|
+
/**
|
|
682
|
+
* The person's address ({@link SessionPersonInput.address}).
|
|
683
|
+
* @public
|
|
684
|
+
*/
|
|
685
|
+
interface PersonAddressInput {
|
|
686
|
+
/** ISO 3166-1 alpha-2. */
|
|
687
|
+
country: string;
|
|
688
|
+
/** 1 to 80 characters. */
|
|
689
|
+
city: string;
|
|
690
|
+
/** Street lines, 1 to 4, each 1 to 120 characters. */
|
|
691
|
+
lines: string[];
|
|
692
|
+
/** 1 to 16 characters. */
|
|
693
|
+
postcode?: string;
|
|
694
|
+
}
|
|
678
695
|
/**
|
|
679
696
|
* What you already know about the person (`person` at session create). A
|
|
680
697
|
* closed object: unknown keys are refused (`400`). Every field is optional;
|
|
@@ -713,6 +730,12 @@ interface SessionPersonInput {
|
|
|
713
730
|
nationalities?: string[];
|
|
714
731
|
/** The person's identity document ({@link PersonDocumentInput}). */
|
|
715
732
|
document?: PersonDocumentInput;
|
|
733
|
+
/**
|
|
734
|
+
* The address you hold for the person ({@link PersonAddressInput}). A proof of
|
|
735
|
+
* address step compares the address it reads with it and fails
|
|
736
|
+
* `address_mismatch` on another country, city or street.
|
|
737
|
+
*/
|
|
738
|
+
address?: PersonAddressInput;
|
|
716
739
|
/**
|
|
717
740
|
* Base64 JPEG or PNG (optional data-URL prefix, at most 1 MB decoded): the
|
|
718
741
|
* face-match reference of a reference record. Refused in a flow that uses the
|
|
@@ -763,7 +786,7 @@ type SubjectReuseTarget = ({
|
|
|
763
786
|
}) & {
|
|
764
787
|
/**
|
|
765
788
|
* `recheck` (default) or `step_up` ({@link SubjectReuseMode}). `step_up` on
|
|
766
|
-
* a flow that does not prove level
|
|
789
|
+
* a flow that does not prove Identity (level 3) on every path answers
|
|
767
790
|
* `400 step_up_flow_too_weak`.
|
|
768
791
|
*/
|
|
769
792
|
mode?: SubjectReuseMode;
|
|
@@ -771,13 +794,21 @@ type SubjectReuseTarget = ({
|
|
|
771
794
|
/** A document type the backend reads (kyc-docs-v2 vocabulary; `carte_identite` = identity card of any issuer). @public */
|
|
772
795
|
type ProfileDocumentType = "carte_identite" | "passport" | "residence_permit";
|
|
773
796
|
/**
|
|
774
|
-
* The services a
|
|
775
|
-
*
|
|
776
|
-
*
|
|
777
|
-
*
|
|
797
|
+
* The services of a session's steps ({@link SessionStep.service}); one service
|
|
798
|
+
* may run several checks (e.g. `liveness` with an ICAO portrait).
|
|
799
|
+
* `summary_confirm` is the confirmation of details, which a flow turns on with
|
|
800
|
+
* its `confirmDetails` setting (see {@link OverridableServiceId}).
|
|
778
801
|
* @public
|
|
779
802
|
*/
|
|
780
|
-
type ServiceId = "device_network" | "phone_otp" | "email_otp" | "national_eid" | "document" | "nfc" | "population_registry" | "supplied_identity" | "summary_confirm" | "liveness" | "portrait" | "face_match" | "aml_screening" | "face_dedup" | "age_estimation";
|
|
803
|
+
type ServiceId = "device_network" | "phone_otp" | "email_otp" | "national_eid" | "document" | "nfc" | "proof_of_address" | "population_registry" | "supplied_identity" | "summary_confirm" | "liveness" | "portrait" | "face_match" | "aml_screening" | "face_dedup" | "age_estimation";
|
|
804
|
+
/**
|
|
805
|
+
* The services a Sekyro flow is built from, as {@link FlowOverrides.services}
|
|
806
|
+
* names them: every {@link ServiceId} except `summary_confirm` (the
|
|
807
|
+
* confirmation of details is the `confirmDetails` setting,
|
|
808
|
+
* {@link FlowOverridableSettings.confirmDetails}).
|
|
809
|
+
* @public
|
|
810
|
+
*/
|
|
811
|
+
type OverridableServiceId = Exclude<ServiceId, "summary_confirm">;
|
|
781
812
|
/**
|
|
782
813
|
* The general settings of a flow that a session may override (the flow's
|
|
783
814
|
* `link`, `language` and override policy are not overridable). Country codes
|
|
@@ -828,6 +859,15 @@ interface FlowOverridableSettings {
|
|
|
828
859
|
};
|
|
829
860
|
authenticity: "standard" | "off";
|
|
830
861
|
};
|
|
862
|
+
/**
|
|
863
|
+
* Ask the person to confirm the identity data read from them (`enabled`),
|
|
864
|
+
* and let them retake the identity step from there (`retake`). Turning it on
|
|
865
|
+
* narrows the flow, turning it off widens it; allowing a retake widens it.
|
|
866
|
+
*/
|
|
867
|
+
confirmDetails?: {
|
|
868
|
+
enabled: boolean;
|
|
869
|
+
retake: boolean;
|
|
870
|
+
};
|
|
831
871
|
}
|
|
832
872
|
/**
|
|
833
873
|
* Document substitution: the portrait a `document` or `nfc` step produces is
|
|
@@ -842,7 +882,7 @@ interface DocumentSubstitutionSettings {
|
|
|
842
882
|
failBelow?: number;
|
|
843
883
|
}
|
|
844
884
|
/**
|
|
845
|
-
* The per-service settings a session may override, by {@link
|
|
885
|
+
* The per-service settings a session may override, by {@link OverridableServiceId}.
|
|
846
886
|
* `attempts` limits are per step (absent = the platform default).
|
|
847
887
|
* @public
|
|
848
888
|
*/
|
|
@@ -916,6 +956,21 @@ interface FlowServiceSettings {
|
|
|
916
956
|
/** Compare the chip photo with the registry photo (absent = the platform default). */
|
|
917
957
|
documentSubstitution?: DocumentSubstitutionSettings;
|
|
918
958
|
};
|
|
959
|
+
/**
|
|
960
|
+
* Proof of address. `rules` absent = `{ default: 'presets' }`; `nameMatch` absent =
|
|
961
|
+
* `exact_person`; `addressMatch` absent = `when_supplied`; `source` absent = `choice`.
|
|
962
|
+
*/
|
|
963
|
+
proof_of_address: {
|
|
964
|
+
/** The accepted kinds, each with its max age in days (30 to 730), by default and per ISO2 country. */
|
|
965
|
+
rules?: PoaRules;
|
|
966
|
+
nameMatch?: "exact_person" | "family_name" | "third_party_letter";
|
|
967
|
+
addressMatch?: "when_supplied" | "off";
|
|
968
|
+
/** A driver's license read earlier in the session that carries an address passes the step. */
|
|
969
|
+
acceptLicenceAddress?: boolean;
|
|
970
|
+
source?: "camera" | "upload" | "choice";
|
|
971
|
+
attempts?: number;
|
|
972
|
+
strictness?: "relaxed" | "standard" | "strict";
|
|
973
|
+
};
|
|
919
974
|
population_registry: {
|
|
920
975
|
/** `'org'` (every registry the org can use, resolved at session create) or registry ids. */
|
|
921
976
|
sources: "org" | Array<"MR.anrpts">;
|
|
@@ -930,10 +985,6 @@ interface FlowServiceSettings {
|
|
|
930
985
|
attempts?: number;
|
|
931
986
|
};
|
|
932
987
|
supplied_identity: Record<string, never>;
|
|
933
|
-
summary_confirm: {
|
|
934
|
-
/** Offer « Reprendre » (re-open the identity source). */
|
|
935
|
-
retake: boolean;
|
|
936
|
-
};
|
|
937
988
|
liveness: {
|
|
938
989
|
/** `off`, selfie ICAO `alert` / `reject`, or `id_document` (ID-photo portrait, always rejects). */
|
|
939
990
|
icao: "off" | "alert" | "reject" | "id_document";
|
|
@@ -980,6 +1031,20 @@ interface FlowServiceSettings {
|
|
|
980
1031
|
showEstimatedAge?: boolean;
|
|
981
1032
|
};
|
|
982
1033
|
}
|
|
1034
|
+
/** One accepted kind of a proof of address rule and its maximum age (30 to 730 days). @public */
|
|
1035
|
+
interface PoaRuleKind {
|
|
1036
|
+
kind: PoaDocumentKind;
|
|
1037
|
+
maxAgeDays: number;
|
|
1038
|
+
}
|
|
1039
|
+
/** The kinds a proof of address accepts in one country (at least one, none twice). @public */
|
|
1040
|
+
interface PoaRule {
|
|
1041
|
+
kinds: PoaRuleKind[];
|
|
1042
|
+
}
|
|
1043
|
+
/** A proof of address step's rules ({@link FlowServiceSettings.proof_of_address}). @public */
|
|
1044
|
+
interface PoaRules {
|
|
1045
|
+
default: "presets" | PoaRule;
|
|
1046
|
+
byCountry?: Record<string, PoaRule>;
|
|
1047
|
+
}
|
|
983
1048
|
/**
|
|
984
1049
|
* `T` with every property optional, recursively. Arrays are replaced as a
|
|
985
1050
|
* whole, never merged element by element.
|
|
@@ -1017,7 +1082,7 @@ type DeepPartial<T> = T extends readonly unknown[] ? T : T extends object ? {
|
|
|
1017
1082
|
interface FlowOverrides {
|
|
1018
1083
|
settings?: DeepPartial<FlowOverridableSettings>;
|
|
1019
1084
|
services?: {
|
|
1020
|
-
[S in
|
|
1085
|
+
[S in OverridableServiceId]?: DeepPartial<FlowServiceSettings[S]> | "off";
|
|
1021
1086
|
};
|
|
1022
1087
|
}
|
|
1023
1088
|
/**
|
|
@@ -1519,7 +1584,7 @@ interface IdentityBirthPlace {
|
|
|
1519
1584
|
}
|
|
1520
1585
|
/** The holder's national number, when a per-country rule recognises it ({@link Identity.idNumber}). @public */
|
|
1521
1586
|
interface IdentityIdNumber {
|
|
1522
|
-
type: "national_id" | "passport" | "residence_permit";
|
|
1587
|
+
type: "national_id" | "passport" | "residence_permit" | "drivers_license";
|
|
1523
1588
|
/** ISO 3166-1 alpha-2. */
|
|
1524
1589
|
issuingCountry: string;
|
|
1525
1590
|
/** The number, normalised. */
|
|
@@ -1527,7 +1592,9 @@ interface IdentityIdNumber {
|
|
|
1527
1592
|
}
|
|
1528
1593
|
/** The document or chip that was read ({@link Identity.document}). @public */
|
|
1529
1594
|
interface IdentityDocument {
|
|
1530
|
-
type: "national_id" | "passport" | "residence_permit";
|
|
1595
|
+
type: "national_id" | "passport" | "residence_permit" | "drivers_license";
|
|
1596
|
+
/** A driver's licence's vehicle categories as printed (`B`, `C1E`, ...). */
|
|
1597
|
+
categories?: string[];
|
|
1531
1598
|
/** ISO 3166-1 alpha-2, or the ICAO code as read when it has no ISO equivalent. */
|
|
1532
1599
|
issuingCountry?: string;
|
|
1533
1600
|
/** The document number as read: upper case, no spaces. */
|
|
@@ -1541,6 +1608,36 @@ interface IdentityDocument {
|
|
|
1541
1608
|
/** The keys whose value a check digit protects. Never the names. */
|
|
1542
1609
|
mrzVerified?: Array<"number" | "birthDate" | "expiryDate" | "idNumber">;
|
|
1543
1610
|
}
|
|
1611
|
+
/** The address an identity carries ({@link Identity.address}). @public */
|
|
1612
|
+
interface IdentityAddress {
|
|
1613
|
+
lines: string[];
|
|
1614
|
+
city: string;
|
|
1615
|
+
region?: string;
|
|
1616
|
+
postcode?: string;
|
|
1617
|
+
/** ISO 3166-1 alpha-2. */
|
|
1618
|
+
country: string;
|
|
1619
|
+
source: "proof_of_address" | "drivers_license";
|
|
1620
|
+
}
|
|
1621
|
+
/** A document kind a proof of address step accepts. @public */
|
|
1622
|
+
type PoaDocumentKind = "utility_bill" | "telecom_bill" | "bank_statement" | "tax_notice" | "rental_agreement" | "government_certificate" | "insurance_statement";
|
|
1623
|
+
/** The passed proof of address step ({@link Identity.proofOfAddress}). @public */
|
|
1624
|
+
interface IdentityProofOfAddress {
|
|
1625
|
+
/** `drivers_license` when a driver's licence read earlier gave the address. */
|
|
1626
|
+
documentKind: PoaDocumentKind | "drivers_license";
|
|
1627
|
+
issuer?: string;
|
|
1628
|
+
/** `YYYY-MM-DD`. */
|
|
1629
|
+
issueDate: string;
|
|
1630
|
+
/** How the holder's name matched: the person, the family name, or a signed letter from another holder. */
|
|
1631
|
+
matchedBy: "person" | "family_name" | "third_party";
|
|
1632
|
+
/** ISO 8601: when the step passed. */
|
|
1633
|
+
verifiedAt: string;
|
|
1634
|
+
}
|
|
1635
|
+
/**
|
|
1636
|
+
* Why a proof of address step failed (`reasonCode`). `provider_unavailable`,
|
|
1637
|
+
* `unreadable`, `pdf_protected` and `holder_letter_required` are never billed.
|
|
1638
|
+
* @public
|
|
1639
|
+
*/
|
|
1640
|
+
type PoaReason = "provider_unavailable" | "unreadable" | "pdf_protected" | "document_kind_not_accepted" | "document_date_invalid" | "document_too_old" | "document_tampered" | "name_mismatch" | "holder_letter_required" | "holder_letter_missing" | "address_mismatch";
|
|
1544
1641
|
/**
|
|
1545
1642
|
* The scalar keys of {@link Identity} that {@link Identity.sources} reports on.
|
|
1546
1643
|
* @public
|
|
@@ -1587,6 +1684,13 @@ interface Identity {
|
|
|
1587
1684
|
country: string;
|
|
1588
1685
|
verifiedAt?: string;
|
|
1589
1686
|
};
|
|
1687
|
+
/**
|
|
1688
|
+
* The address a passed proof of address read (the newest pass), else the
|
|
1689
|
+
* address of a driver's licence the session accepted. Never in the result token.
|
|
1690
|
+
*/
|
|
1691
|
+
address?: IdentityAddress;
|
|
1692
|
+
/** The passed proof of address step. */
|
|
1693
|
+
proofOfAddress?: IdentityProofOfAddress;
|
|
1590
1694
|
/** ISO 8601: when the last identity step settled. */
|
|
1591
1695
|
verifiedAt?: string;
|
|
1592
1696
|
/** @deprecated Read {@link Identity.names}. The first Latin name as one string. */
|
|
@@ -1597,7 +1701,7 @@ interface Identity {
|
|
|
1597
1701
|
* `reference_portrait` is the photo the face match compared against.
|
|
1598
1702
|
* @public
|
|
1599
1703
|
*/
|
|
1600
|
-
type MediaKind = "icao_portrait" | "document_front" | "document_back" | "document_portrait" | "chip_portrait" | "reference_portrait" | "supplied_photo" | "selfie" | "liveness_clip";
|
|
1704
|
+
type MediaKind = "icao_portrait" | "document_front" | "document_back" | "document_portrait" | "chip_portrait" | "reference_portrait" | "supplied_photo" | "selfie" | "liveness_clip" | "address_document" | "address_document_file" | "holder_letter";
|
|
1601
1705
|
/**
|
|
1602
1706
|
* One media object of a session ({@link SessionsApi.media}). `url` is a
|
|
1603
1707
|
* download link valid 15 minutes, or the bytes route on this API
|
|
@@ -1619,7 +1723,7 @@ interface MediaItem {
|
|
|
1619
1723
|
reason?: string;
|
|
1620
1724
|
/** The attempt was set aside (for example a retake) and not counted. */
|
|
1621
1725
|
voided?: string;
|
|
1622
|
-
contentType: "image/jpeg" | "image/png" | "video/mp4" | "video/webm";
|
|
1726
|
+
contentType: "image/jpeg" | "image/png" | "video/mp4" | "video/webm" | "application/pdf";
|
|
1623
1727
|
/** `reference_portrait` and `supplied_photo`: where the photo came from (`stored`: kept from an earlier verification). */
|
|
1624
1728
|
source?: "registry" | "eid" | "chip" | "document" | "supplied" | "stored";
|
|
1625
1729
|
/** `reference_portrait`: the registry photo was fetched again for this match. */
|
|
@@ -2148,7 +2252,7 @@ interface BlockIdNumber {
|
|
|
2148
2252
|
number: string;
|
|
2149
2253
|
/** ISO 3166-1 alpha-2 or alpha-3 code of the issuer. */
|
|
2150
2254
|
issuingCountry: string;
|
|
2151
|
-
type: "national_id" | "passport" | "residence_permit";
|
|
2255
|
+
type: "national_id" | "passport" | "residence_permit" | "drivers_license";
|
|
2152
2256
|
}
|
|
2153
2257
|
/**
|
|
2154
2258
|
* What to block, with `sekyro.blocks.create`. `value` carries `external_ref`, `phone` and
|
|
@@ -2955,4 +3059,4 @@ declare class Sekyro {
|
|
|
2955
3059
|
readiness(): Promise<ReadinessReport>;
|
|
2956
3060
|
}
|
|
2957
3061
|
|
|
2958
|
-
export { type FlowSummary as $, type AgeMethod as A, type Block as B, type CreatedSession as C, type ConnectorIdentity as D, type CreateBlockInput as E, type FetchLike as F, type CreateSessionInput as G, DEFAULT_BASE_URL as H, DEFAULT_TIMEOUT_MS as I, type DecisionReason as J, type DeepPartial as K, type Locale as L, type DeletedPerson as M, type DeliverOptions as N, type Device as O, DevicesApi as P, type DocumentSubstitutionSettings as Q, type ReviewReason as R, type SessionReason as S, type EidResult as T, type EligibilityReason as U, type VerificationLevel as V, type WebhookEventType as W, type ExtendLinkInput as X, type FlowOverridableSettings as Y, type FlowOverrides as Z, type FlowServiceSettings as _, Sekyro as a, type
|
|
3062
|
+
export { type FlowSummary as $, type AgeMethod as A, type Block as B, type CreatedSession as C, type ConnectorIdentity as D, type CreateBlockInput as E, type FetchLike as F, type CreateSessionInput as G, DEFAULT_BASE_URL as H, DEFAULT_TIMEOUT_MS as I, type DecisionReason as J, type DeepPartial as K, type Locale as L, type DeletedPerson as M, type DeliverOptions as N, type Device as O, DevicesApi as P, type DocumentSubstitutionSettings as Q, type ReviewReason as R, type SessionReason as S, type EidResult as T, type EligibilityReason as U, type VerificationLevel as V, type WebhookEventType as W, type ExtendLinkInput as X, type FlowOverridableSettings as Y, type FlowOverrides as Z, type FlowServiceSettings as _, Sekyro as a, type ScreeningTrigger as a$, FlowsApi as a0, type IdNumberReason as a1, type Identity as a2, type IdentityAddress as a3, type IdentityBirthPlace as a4, type IdentityDocument as a5, type IdentityIdNumber as a6, type IdentityMethod as a7, type IdentityName as a8, type IdentityProofOfAddress as a9, type PersonRef as aA, type PersonSession as aB, type PersonSessionInput as aC, type PersonSessionTarget as aD, type PersonUpdatedEventData as aE, type PoaDocumentKind as aF, type PoaReason as aG, type PoaRule as aH, type PoaRuleKind as aI, type PoaRules as aJ, type PortraitReportEntry as aK, type PriorReviewReason as aL, type ProbeBindingReason as aM, type ProbeQuality as aN, type ProfileDocumentType as aO, type ReadinessProtection as aP, type ReadinessReport as aQ, type RequestOptions as aR, type ResultTokenResponse as aS, type ReviewOutcomeReason as aT, type RevokePersonInput as aU, type ScreenPersonInput as aV, type Screening as aW, type ScreeningHit as aX, type ScreeningHitSummary as aY, type ScreeningList as aZ, type ScreeningStatus as a_, type IdentityScalarKey as aa, type IdentitySource as ab, type IdentitySources as ac, type LevelTarget as ad, type LiftBlockInput as ae, type ListBlocksQuery as af, type ListPeopleQuery as ag, type ListScreeningsQuery as ah, type ListSessionsQuery as ai, type ListSignalsQuery as aj, type MatchReason as ak, type MediaBytes as al, type MediaBytesOptions as am, type MediaItem as an, type MediaKind as ao, type MediaList as ap, type NameForm as aq, type OverridableServiceId as ar, type Page as as, PeopleApi as at, type Person as au, type PersonAddressInput as av, type PersonBirthPlaceInput as aw, type PersonDeletedEventData as ax, type PersonDocumentInput as ay, type PersonEnrolledEventData as az, type ServiceId as b, type ScreeningUnavailableReason as b0, type SekyroOptions as b1, SekyroTestApi as b2, type Session as b3, type SessionClosedEventDataBase as b4, type SessionDecidingStep as b5, type SessionDevice as b6, type SessionEventDataBase as b7, type SessionEventStep as b8, type SessionFailureReason as b9, type SignalGrade as bA, type SignalKeyKind as bB, type SignalKind as bC, type SignalSeverity as bD, type SignalStatus as bE, SignalsApi as bF, type SimulateSessionInput as bG, type StepResult as bH, type SubjectAssurance as bI, type SubjectIdNumber as bJ, type SubjectName as bK, type SubjectReferenceSource as bL, type SubjectReuseTarget as bM, type SubjectStatus as bN, type UpdateSignalInput as bO, type UsageThresholdReachedEventData as bP, type VerifiedContacts as bQ, type WebhookEnvelopeOf as bR, type WebhookEventDataMap as bS, type WebhookTestInput as bT, type WebhookTestResult as bU, WebhooksApi as bV, type SessionFlowRef as ba, type SessionHandoff as bb, type SessionHandoffDevice as bc, type SessionLifecycleEventData as bd, type SessionLinkDelivery as be, type SessionLinkExpiry as bf, type SessionLinkInput as bg, type SessionNetwork as bh, type SessionNetworkEvent as bi, type SessionNotVerifiedEventData as bj, type SessionRetakeRequestedEventData as bk, type SessionReviewPendingEventData as bl, type SessionScreening as bm, type SessionStatus as bn, type SessionStep as bo, type SessionStepAttempts as bp, type SessionStepBand as bq, type SessionStepDecision as br, type SessionStepDocument as bs, type SessionStepPortrait as bt, SessionTestApi as bu, type SessionVerifiedEventData as bv, SessionsApi as bw, type Signal as bx, type SignalEventData as by, type SignalEvidence as bz, type SessionPersonInput as c, type WebhookEnvelope as d, type SekyroEnvironment as e, type VerificationAssurance as f, type VerificationUnit as g, type SubjectReuseMode as h, type ResultCheckProofs as i, type SessionSignal as j, type FailureIdentification as k, type AgeResult as l, type AmlMatchFlaggedEventData as m, type ApiKeyIdentity as n, type BlockCheck as o, type BlockCheckInput as p, type BlockDuration as q, type BlockIdNumber as r, type BlockKind as s, type BlockMatch as t, type BlockReason as u, BlocksApi as v, type CameraUnavailableCause as w, type CheckState as x, type CheckType as y, type ClosedBy as z };
|