@zyphe-sdk/core 0.10.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +29 -29
- package/dist/openapi.d.ts +23 -23
- package/dist/openapi.json +30 -30
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1470,7 +1470,7 @@ interface components {
|
|
|
1470
1470
|
* @description The action recorded by an audit log entry (e.g. `FLOW_CREATED`).
|
|
1471
1471
|
* @enum {string}
|
|
1472
1472
|
*/
|
|
1473
|
-
AuditAction: "VIEWED" | "CREATED" | "UPDATED" | "DELETED" | "AUTH_LOGIN" | "AUTH_LOGIN_FAILED" | "AUTH_LOGOUT" | "AUTH_PASSWORD_CHANGED" | "AUTH_PASSKEY_REGISTERED" | "AUTH_MAGIC_LINK_REQUESTED" | "AUTH_PASSWORD_RESET_REQUESTED" | "AUTH_EMAIL_VERIFIED" | "AUTH_TWO_FACTOR_CHALLENGED" | "AUTH_TWO_FACTOR_FAILED" | "AUTH_TWO_FACTOR_ENROLMENT_STARTED" | "AUTH_TWO_FACTOR_ENABLED" | "AUTH_TWO_FACTOR_DISABLED" | "AUTH_TWO_FACTOR_BACKUP_CODE_USED" | "AUTH_TWO_FACTOR_BACKUP_CODES_REGENERATED" | "AUTH_TWO_FACTOR_RESET" | "ORG_TWO_FACTOR_POLICY_UPDATED" | "IDENTITY_ROLE_CHANGED" | "IDENTITY_DEACTIVATED" | "IDENTITY_DELETED" | "ORG_CREATED" | "ORG_SETTINGS_UPDATED" | "SLA_TARGETS_UPDATED" | "ORG_MEMBER_INVITED" | "ORG_MEMBER_REMOVED" | "ORG_MEMBER_ROLE_CHANGED" | "ORG_INVITE_REVOKED" | "API_KEY_CREATED" | "API_KEY_UPDATED" | "API_KEY_DELETED" | "BOT_CREATED" | "BOT_DELETED" | "BOT_TOKEN_REGENERATED" | "FLOW_CREATED" | "FLOW_UPDATED" | "FLOW_LINK_CREATED" | "FLOW_DELETED" | "FLOW_STEP_ADDED" | "FLOW_STEP_UPDATED" | "FLOW_STEP_DELETED" | "FLOW_SHARED" | "FLOW_SHARE_REVOKED" | "FLOW_TEMPLATE_CREATED" | "FLOW_TEMPLATE_UPDATED" | "FLOW_TEMPLATE_STATUS_CHANGED" | "FLOW_TEMPLATES_SEEDED" | "FLOW_TEMPLATE_COPIED_TO_PRODUCTION" | "FLOW_DRAFT_CREATED" | "FLOW_DRAFT_DELETED" | "PARTNER_INVITED" | "PARTNER_INVITE_ACCEPTED" | "PARTNER_INVITE_REVOKED" | "PARTNER_INVITE_REJECTED" | "VR_CREATED" | "VR_STATUS_CHANGED" | "VR_MANUALLY_REVIEWED" | "DV_RESULT_REVIEW_REQUESTED" | "VR_CANCELLED" | "DV_RESULT_STATUS_CHANGED" | "DV_RESULT_MANUAL_REVIEW" | "DV_RESULT_REPLAYED" | "AML_RESULT_STATUS_CHANGED" | "AML_RESULT_MODERATED" | "AML_FIELD_REVIEWED" | "AML_AGENT_REVIEWED" | "AML_SCREENED" | "TIN_CHECK_RUN" | "POA_RESULT_STATUS_CHANGED" | "
|
|
1473
|
+
AuditAction: "VIEWED" | "CREATED" | "UPDATED" | "DELETED" | "AUTH_LOGIN" | "AUTH_LOGIN_FAILED" | "AUTH_LOGOUT" | "AUTH_PASSWORD_CHANGED" | "AUTH_PASSKEY_REGISTERED" | "AUTH_MAGIC_LINK_REQUESTED" | "AUTH_PASSWORD_RESET_REQUESTED" | "AUTH_EMAIL_VERIFIED" | "AUTH_TWO_FACTOR_CHALLENGED" | "AUTH_TWO_FACTOR_FAILED" | "AUTH_TWO_FACTOR_ENROLMENT_STARTED" | "AUTH_TWO_FACTOR_ENABLED" | "AUTH_TWO_FACTOR_DISABLED" | "AUTH_TWO_FACTOR_BACKUP_CODE_USED" | "AUTH_TWO_FACTOR_BACKUP_CODES_REGENERATED" | "AUTH_TWO_FACTOR_RESET" | "ORG_TWO_FACTOR_POLICY_UPDATED" | "IDENTITY_ROLE_CHANGED" | "IDENTITY_DEACTIVATED" | "IDENTITY_DELETED" | "ORG_CREATED" | "ORG_SETTINGS_UPDATED" | "SLA_TARGETS_UPDATED" | "ORG_MEMBER_INVITED" | "ORG_MEMBER_REMOVED" | "ORG_MEMBER_ROLE_CHANGED" | "ORG_INVITE_REVOKED" | "API_KEY_CREATED" | "API_KEY_UPDATED" | "API_KEY_DELETED" | "BOT_CREATED" | "BOT_DELETED" | "BOT_TOKEN_REGENERATED" | "FLOW_CREATED" | "FLOW_UPDATED" | "FLOW_LINK_CREATED" | "FLOW_DELETED" | "FLOW_STEP_ADDED" | "FLOW_STEP_UPDATED" | "FLOW_STEP_DELETED" | "FLOW_SHARED" | "FLOW_SHARE_REVOKED" | "FLOW_TEMPLATE_CREATED" | "FLOW_TEMPLATE_UPDATED" | "FLOW_TEMPLATE_STATUS_CHANGED" | "FLOW_TEMPLATES_SEEDED" | "FLOW_TEMPLATE_COPIED_TO_PRODUCTION" | "FLOW_DRAFT_CREATED" | "FLOW_DRAFT_DELETED" | "PARTNER_INVITED" | "PARTNER_INVITE_ACCEPTED" | "PARTNER_INVITE_REVOKED" | "PARTNER_INVITE_REJECTED" | "VR_CREATED" | "VR_STATUS_CHANGED" | "VR_MANUALLY_REVIEWED" | "DV_RESULT_REVIEW_REQUESTED" | "VR_CANCELLED" | "DV_RESULT_STATUS_CHANGED" | "DV_RESULT_MANUAL_REVIEW" | "DV_RESULT_REPLAYED" | "AML_RESULT_STATUS_CHANGED" | "AML_RESULT_MODERATED" | "AML_FIELD_REVIEWED" | "AML_AGENT_REVIEWED" | "AML_SCREENED" | "TIN_CHECK_RUN" | "POA_RESULT_STATUS_CHANGED" | "EID_RESULT_STATUS_CHANGED" | "FORM_RESULT_STATUS_CHANGED" | "FORM_RESULT_SUBMITTED" | "KYB_APPLICATION_SUBMITTED" | "KYB_DOCUMENT_REQUEST_CREATED" | "KYB_DOCUMENT_UPLOADED" | "KYB_CLARIFICATION_SUBMITTED" | "KYB_DOCUMENT_REQUEST_REVIEWED" | "KYB_ASSIGNED" | "KYB_STAGE_CHANGED" | "KYB_COMMUNICATION_SENT" | "KYB_MODERATION_STATUS_UPDATED" | "KYB_PEP_SANCTIONS_STATUS_UPDATED" | "KYB_REPORT_UPLOADED" | "KYB_AUTO_COMPLETED" | "KYB_APPROVED" | "KYB_MANUAL_REVIEW_DECISION" | "KYB_VERIFICATION_FIELD_OVERRIDDEN" | "KYB_DOCUMENT_CHECK_OVERRIDDEN" | "KYB_METADATA_PATCHED" | "KYB_SCREENING_STRATEGY_CHANGED" | "KYB_BUSINESS_INFORMATION_EDITED" | "KYB_UBOS_ADDED" | "KYB_UBO_REMOVED" | "KYB_DIRECTORS_ADDED" | "KYB_DIRECTOR_REMOVED" | "KYB_AGENT_REVIEWED" | "KYB_AGENT_RUN_ENDED" | "KYB_CASE_DOSSIER_EXPORTED" | "KYB_CASE_REPORT_DOWNLOADED" | "KYC_REPORT_DOWNLOADED" | "KYB_DOCUMENT_CATALOG_REFRESHED" | "KYB_DOCUMENTS_PURCHASED" | "KYB_CASE_MANIFEST_REVISED" | "KYB_CASE_RUN_COMPLETED" | "KYB_CASE_RUN_FAILED" | "KYB_CASE_RUN_REAPED" | "KYB_CASE_RUN_REQUEUED" | "KYB_CASE_RUN_SUPERSEDED" | "KYB_CASE_EFFECTS_ABANDONED" | "KYB_CASE_RETRY_FORCED" | "KYB_CASE_DECISION_REPORT_HELD" | "KYB_CASE_WAIVER_DECIDED" | "KYB_CASE_DECIDED" | "KYB_CASE_ANCHORED" | "KYB_CASE_OPENED_BY_OPERATOR" | "KYB_CASE_CONTACT_SET" | "KYB_CASE_UPLOAD_ADDED" | "KYB_CASE_UPLOAD_REMOVED" | "KYB_CASE_SUBMITTED_BY_OPERATOR" | "KYB_CASE_CANCELLED_BY_OPERATOR" | "KYB_CASE_EXCEPTION_RECORDED" | "KYB_CASE_EXCEPTION_WITHDRAWN" | "KYB_CASE_DECISION_PROPOSAL_WITHDRAWN" | "KYB_SCREENING_HIT_RESOLVED" | "KYB_SCREENING_HIT_PROPOSED" | "KYB_CASE_CHECK_CONFIRMED" | "KYB_CASE_REOPENED" | "KYB_CASE_QUALITY_REVIEW_RECORDED" | "KYB_OWNERSHIP_CONFIRMATION_SUBMITTED" | "KYB_SUBJECT_ASSIGNED" | "KYB_SUBJECT_RELEASED" | "KYB_REMINDERS_SENT" | "KYB_COMPANY_RATING_OVERRIDDEN" | "KYB_COMPANY_RATING_OVERRIDE_ENDED" | "COMPLIANCE_POLICY_UPDATED" | "COMPLIANCE_POLICY_DRAFT_SAVED" | "COMPLIANCE_POLICY_PUBLISHED" | "COMPLIANCE_POLICY_PUT_IN_FORCE" | "COMPLIANCE_POLICY_SOP_UPLOADED" | "COMPLIANCE_POLICY_SOP_REVIEWED" | "COMPLIANCE_POLICY_SOP_AUTO_ACCEPTED" | "KYB_CASE_AML_DISPOSITIONED" | "KYB_CASE_STEP_PROPOSAL_DECIDED" | "KYB_CASE_CLARIFICATION_PROPOSAL_DECIDED" | "KYB_CASE_FACT_RECORDED" | "KYB_CASE_INVITATION_SENT" | "KYB_CASE_INVITATION_FAILED" | "KYC_GRANT_CREATED" | "CONSENT_GRANTED" | "BLOCKLIST_ENTRY_CREATED" | "BLOCKLIST_ENTRY_DELETED" | "RISK_WEIGHT_UPDATED" | "RISK_FACTOR_UPDATED" | "DOCUMENT_DOWNLOADED" | "FLOW_RESULT_EXPORTED" | "FLOW_RISK_SCORE_CHANGED" | "FLOW_RISK_STATUS_CHANGED" | "RISK_TAG_ADDED" | "RISK_TAG_RETRACTED" | "TM_RULE_TRIGGERED" | "TM_ALERT_RAISED" | "TM_AGENT_REVIEWED" | "TM_AGENT_REVIEW_STARTED" | "TM_AGENT_RESOLVED" | "TM_ALERT_DISPOSITIONED" | "TM_ALERT_ASSIGNED" | "TM_ALERT_ESCALATED" | "TM_RULE_DISABLED" | "UNKNOWN";
|
|
1474
1474
|
/** @description A single entry in the audit log, returned by the query API. */
|
|
1475
1475
|
AuditLogEntry: {
|
|
1476
1476
|
action: components["schemas"]["AuditAction"];
|
|
@@ -1551,7 +1551,7 @@ interface components {
|
|
|
1551
1551
|
* not be determined (e.g. for some system operations).
|
|
1552
1552
|
* @enum {string}
|
|
1553
1553
|
*/
|
|
1554
|
-
AuditResourceType: "Search" | "Identity" | "Organization" | "OrganizationSettings" | "OrganizationTheme" | "OrganizationInvite" | "OrganizationBilling" | "SubscriptionPlan" | "KybJurisdictionPricing" | "TopupPack" | "ApiKey" | "Bot" | "McpClient" | "Flow" | "FlowStep" | "FlowResult" | "FlowPartnerInvite" | "VerificationRequest" | "DvResult" | "AmlResult" | "TinCheck" | "PoaResult" | "KybResult" | "KybCase" | "KybCaseRule" | "KybCompanyRating" | "KybSubjectAssignment" | "FormResult" | "Form" | "RiskWeight" | "ContextualFactor" | "ScoreDefinition" | "ScoreTag" | "ScoreRule" | "AuditLog" | "ChatMessage" | "DocumentSelection" | "GeolocationResult" | "PhoneVerification" | "
|
|
1554
|
+
AuditResourceType: "Search" | "Identity" | "Organization" | "OrganizationSettings" | "OrganizationTheme" | "OrganizationInvite" | "OrganizationBilling" | "SubscriptionPlan" | "KybJurisdictionPricing" | "TopupPack" | "ApiKey" | "Bot" | "McpClient" | "Flow" | "FlowStep" | "FlowResult" | "FlowPartnerInvite" | "VerificationRequest" | "DvResult" | "AmlResult" | "TinCheck" | "PoaResult" | "KybResult" | "KybCase" | "KybCaseRule" | "KybCompanyRating" | "KybSubjectAssignment" | "FormResult" | "Form" | "RiskWeight" | "ContextualFactor" | "ScoreDefinition" | "ScoreTag" | "ScoreRule" | "AuditLog" | "ChatMessage" | "DocumentSelection" | "GeolocationResult" | "PhoneVerification" | "EidResult" | "WalletVerification" | "Vault" | "KybUboData" | "DocumentDefinition" | "ConfigOverride" | "AgentReviewPolicy" | "ShortUrl" | "Cache" | "Transaction" | "TmRule" | "TmList" | "TmSettings" | "TmAlert" | "TmRuleTemplate" | "FlowTemplate" | "FlowDraft" | "BlockedEmailDomain" | "AllowedEmailAddress" | "RegistrationOffer" | "RegistrationOfferLink" | "WebhookEndpoint" | "WebhookOrganizationSecret" | "Unknown";
|
|
1555
1555
|
/** @description What triggered an audit event, identified by `type`:
|
|
1556
1556
|
* - `HTTP` — an API request (`method` and `path`).
|
|
1557
1557
|
* - `WORKER` — a background process (`workerType` and `scenario`).
|
|
@@ -2506,7 +2506,7 @@ interface components {
|
|
|
2506
2506
|
[key: string]: components["schemas"]["DocumentTypeFilter"];
|
|
2507
2507
|
} | null;
|
|
2508
2508
|
enabledGovernmentProviders: {
|
|
2509
|
-
[key: string]: components["schemas"]["
|
|
2509
|
+
[key: string]: components["schemas"]["EidDocumentType"][];
|
|
2510
2510
|
};
|
|
2511
2511
|
/** @example { "en_button_label": "Next step" } */
|
|
2512
2512
|
labels?: {
|
|
@@ -3057,7 +3057,7 @@ interface components {
|
|
|
3057
3057
|
* @description Composed global risk score for the flow (0–100). `None` if not yet scored.
|
|
3058
3058
|
*/
|
|
3059
3059
|
riskScorePercent?: number | null;
|
|
3060
|
-
|
|
3060
|
+
eidResults: components["schemas"]["EidResult"][];
|
|
3061
3061
|
status: components["schemas"]["VerificationRequestStatus"];
|
|
3062
3062
|
/** Format: date-time */
|
|
3063
3063
|
updatedAt?: string | null;
|
|
@@ -3161,7 +3161,7 @@ interface components {
|
|
|
3161
3161
|
/** Format: date-time */
|
|
3162
3162
|
updatedAt?: string | null;
|
|
3163
3163
|
} | {
|
|
3164
|
-
config: components["schemas"]["
|
|
3164
|
+
config: components["schemas"]["EidConfig"];
|
|
3165
3165
|
/** Format: date-time */
|
|
3166
3166
|
createdAt?: string | null;
|
|
3167
3167
|
failureUrl?: string | null;
|
|
@@ -3177,7 +3177,7 @@ interface components {
|
|
|
3177
3177
|
slug: string;
|
|
3178
3178
|
successUrl?: string | null;
|
|
3179
3179
|
/** @enum {string} */
|
|
3180
|
-
type: "
|
|
3180
|
+
type: "EID";
|
|
3181
3181
|
/** Format: date-time */
|
|
3182
3182
|
updatedAt?: string | null;
|
|
3183
3183
|
} | {
|
|
@@ -3408,9 +3408,9 @@ interface components {
|
|
|
3408
3408
|
stepType: "GEOLOCATION";
|
|
3409
3409
|
})) | ({
|
|
3410
3410
|
stepType: "FlowStepConfig";
|
|
3411
|
-
} & (components["schemas"]["
|
|
3411
|
+
} & (components["schemas"]["EidConfig"] & {
|
|
3412
3412
|
/** @enum {string} */
|
|
3413
|
-
stepType: "
|
|
3413
|
+
stepType: "EID";
|
|
3414
3414
|
})) | ({
|
|
3415
3415
|
stepType: "FlowStepConfig";
|
|
3416
3416
|
} & (components["schemas"]["PhoneConfig"] & {
|
|
@@ -3461,9 +3461,9 @@ interface components {
|
|
|
3461
3461
|
/** @enum {string} */
|
|
3462
3462
|
type: "POA";
|
|
3463
3463
|
} | {
|
|
3464
|
-
data: components["schemas"]["
|
|
3464
|
+
data: components["schemas"]["EidStepOutput"];
|
|
3465
3465
|
/** @enum {string} */
|
|
3466
|
-
type: "
|
|
3466
|
+
type: "EID";
|
|
3467
3467
|
} | {
|
|
3468
3468
|
data: components["schemas"]["WalletStepOutput"];
|
|
3469
3469
|
/** @enum {string} */
|
|
@@ -3514,7 +3514,7 @@ interface components {
|
|
|
3514
3514
|
type: "KYB_DIRECTORS";
|
|
3515
3515
|
};
|
|
3516
3516
|
/** @enum {string} */
|
|
3517
|
-
FlowStepType: "DV" | "FORM" | "POA" | "KYB" | "
|
|
3517
|
+
FlowStepType: "DV" | "FORM" | "POA" | "KYB" | "EID" | "PHONE" | "WALLET" | "LIVENESS" | "AUTO_ONE_CLICK_KYC" | "DOCUMENT_SELECTION" | "GEOLOCATION" | "KYB_DOCUMENTS" | "KYB_UBOS" | "KYB_DIRECTORS";
|
|
3518
3518
|
Form: {
|
|
3519
3519
|
/** Format: date-time */
|
|
3520
3520
|
createdAt?: string | null;
|
|
@@ -5287,7 +5287,7 @@ interface components {
|
|
|
5287
5287
|
verificationRequestId: string;
|
|
5288
5288
|
};
|
|
5289
5289
|
/** @enum {string} */
|
|
5290
|
-
ProductType: "UNKNOWN" | "DOCSCAN" | "LIVENESS" | "POA" | "KYB" | "KYC_PASSPORT" | "
|
|
5290
|
+
ProductType: "UNKNOWN" | "DOCSCAN" | "LIVENESS" | "POA" | "KYB" | "KYC_PASSPORT" | "EID" | "PHONE" | "WALLET" | "EXPORT_API" | "EXPORT_UI" | "BUSINESS_VERIFICATION" | "FLOW_BUILDER" | "GEOLOCATION" | "FORM" | "AML" | "TRANSACTION_MONITORING" | "TIN_CHECK";
|
|
5291
5291
|
/** @description Payload for `POST .../kyb-cases/{case_id}/documents/purchase`. */
|
|
5292
5292
|
PurchaseDocumentsPayload: {
|
|
5293
5293
|
/** @description Document ids from a freshly-refreshed catalogue. Between 1 and 25. */
|
|
@@ -5706,10 +5706,10 @@ interface components {
|
|
|
5706
5706
|
};
|
|
5707
5707
|
/** @enum {string} */
|
|
5708
5708
|
SiwxChain: "ETHEREUM" | "ETHEREUM_TESTNET" | "SOLANA" | "SOLANA_TESTNET";
|
|
5709
|
-
|
|
5709
|
+
EidConfig: {
|
|
5710
5710
|
/**
|
|
5711
5711
|
* Format: uuid
|
|
5712
|
-
* @description The ID of the document-selection step that precedes this
|
|
5712
|
+
* @description The ID of the document-selection step that precedes this eID step in the flow.
|
|
5713
5713
|
*/
|
|
5714
5714
|
documentSelectionStepId?: string;
|
|
5715
5715
|
/** @example { "default": "Next step" } */
|
|
@@ -5718,8 +5718,8 @@ interface components {
|
|
|
5718
5718
|
};
|
|
5719
5719
|
};
|
|
5720
5720
|
/** @enum {string} */
|
|
5721
|
-
|
|
5722
|
-
|
|
5721
|
+
EidDocumentType: "ITALIAN_SPID" | "AADHAAR";
|
|
5722
|
+
EidResult: {
|
|
5723
5723
|
/** Format: date-time */
|
|
5724
5724
|
createdAt?: string | null;
|
|
5725
5725
|
flowStep?: null | components["schemas"]["FlowStep"];
|
|
@@ -5735,7 +5735,7 @@ interface components {
|
|
|
5735
5735
|
/** Format: uuid */
|
|
5736
5736
|
verificationRequestId?: string | null;
|
|
5737
5737
|
};
|
|
5738
|
-
|
|
5738
|
+
EidResultDetails: {
|
|
5739
5739
|
address?: string | null;
|
|
5740
5740
|
companyName?: string | null;
|
|
5741
5741
|
companyVatNumber?: string | null;
|
|
@@ -5755,7 +5755,7 @@ interface components {
|
|
|
5755
5755
|
spidCode?: string | null;
|
|
5756
5756
|
username?: string | null;
|
|
5757
5757
|
};
|
|
5758
|
-
|
|
5758
|
+
EidStepOutput: {
|
|
5759
5759
|
status: components["schemas"]["ResultStatus"];
|
|
5760
5760
|
};
|
|
5761
5761
|
StartGeolocationVerificationRequest: Record<string, unknown>;
|
|
@@ -6368,7 +6368,7 @@ interface components {
|
|
|
6368
6368
|
poaResult?: null | components["schemas"]["PoaResult"];
|
|
6369
6369
|
reason?: string | null;
|
|
6370
6370
|
replayerZid?: string | null;
|
|
6371
|
-
|
|
6371
|
+
eidResult?: null | components["schemas"]["EidResult"];
|
|
6372
6372
|
status: components["schemas"]["VerificationRequestStatus"];
|
|
6373
6373
|
/** Format: date-time */
|
|
6374
6374
|
updatedAt?: string | null;
|
|
@@ -6450,7 +6450,7 @@ interface components {
|
|
|
6450
6450
|
* you do not recognise.
|
|
6451
6451
|
* @enum {string}
|
|
6452
6452
|
*/
|
|
6453
|
-
WebhookEventType: "verification.dv.completed" | "verification.dv.failed" | "verification.dv.review" | "verification.poa.completed" | "verification.poa.failed" | "verification.poa.review" | "verification.form.completed" | "verification.form.failed" | "verification.form.review" | "verification.
|
|
6453
|
+
WebhookEventType: "verification.dv.completed" | "verification.dv.failed" | "verification.dv.review" | "verification.poa.completed" | "verification.poa.failed" | "verification.poa.review" | "verification.form.completed" | "verification.form.failed" | "verification.form.review" | "verification.eid.completed" | "verification.eid.failed" | "verification.eid.review" | "verification.phone.completed" | "verification.phone.failed" | "verification.phone.review" | "verification.wallet.completed" | "verification.wallet.failed" | "verification.wallet.review" | "verification.kyb.completed" | "verification.kyb.failed" | "verification.kyb.review" | "verification.kyb.submitted" | "verification.geolocation.completed" | "verification.geolocation.failed" | "verification.geolocation.review" | "verification.aml.produced" | "verification.aml.refreshed" | "verification.aml.moderated" | "verification.document.expired" | "verification.kyc.expired" | "flow.risk.reevaluated" | "flow.completed" | "transaction.alert.created" | "transaction.alert.resolved" | "kyc_passport.verification.updated";
|
|
6454
6454
|
/**
|
|
6455
6455
|
* @description Which payload shape an endpoint receives.
|
|
6456
6456
|
* @enum {string}
|
|
@@ -6470,7 +6470,7 @@ interface components {
|
|
|
6470
6470
|
* AML screening).
|
|
6471
6471
|
* @enum {string}
|
|
6472
6472
|
*/
|
|
6473
|
-
WorkerType: "DV" | "LIVENESS" | "AML" | "POA" | "
|
|
6473
|
+
WorkerType: "DV" | "LIVENESS" | "AML" | "POA" | "EID" | "FORM" | "ONE_CLICK_DV" | "ONE_CLICK_FORM" | "MANUAL_REVIEW" | "TM" | "KYB_CASE";
|
|
6474
6474
|
/** @description Context data available to JDM rules during flow evaluation.
|
|
6475
6475
|
*
|
|
6476
6476
|
* This structure is serialized to JSON and passed to the Zen Engine for evaluation.
|
|
@@ -6508,8 +6508,8 @@ interface components {
|
|
|
6508
6508
|
phoneResults: components["schemas"]["PhoneResult"][];
|
|
6509
6509
|
/** @description Proof of address results */
|
|
6510
6510
|
poaResults: components["schemas"]["PoaResult"][];
|
|
6511
|
-
/** @description
|
|
6512
|
-
|
|
6511
|
+
/** @description eID verification results */
|
|
6512
|
+
eidResults: components["schemas"]["EidResult"][];
|
|
6513
6513
|
/** @description Wallet verification results */
|
|
6514
6514
|
walletResults: components["schemas"]["WalletResult"][];
|
|
6515
6515
|
};
|
|
@@ -10428,8 +10428,8 @@ declare function getFlowResult({ organizationId, flowResultId, isSandbox }: GetF
|
|
|
10428
10428
|
data: components["schemas"]["PoaStepOutput"];
|
|
10429
10429
|
type: "POA";
|
|
10430
10430
|
} | {
|
|
10431
|
-
data: components["schemas"]["
|
|
10432
|
-
type: "
|
|
10431
|
+
data: components["schemas"]["EidStepOutput"];
|
|
10432
|
+
type: "EID";
|
|
10433
10433
|
} | {
|
|
10434
10434
|
data: components["schemas"]["WalletStepOutput"];
|
|
10435
10435
|
type: "WALLET";
|
|
@@ -10513,7 +10513,7 @@ declare function getFlowResult({ organizationId, flowResultId, isSandbox }: GetF
|
|
|
10513
10513
|
}[] | undefined;
|
|
10514
10514
|
reviewSuggestion?: null | components["schemas"]["ReviewSuggestion"];
|
|
10515
10515
|
riskScorePercent?: number | null;
|
|
10516
|
-
|
|
10516
|
+
eidResults?: {
|
|
10517
10517
|
createdAt?: string | null;
|
|
10518
10518
|
flowStep?: null | components["schemas"]["FlowStep"];
|
|
10519
10519
|
flowStepId?: string | null;
|
|
@@ -10640,8 +10640,8 @@ declare function getFlowResult({ organizationId, flowResultId, isSandbox }: GetF
|
|
|
10640
10640
|
data: components["schemas"]["PoaStepOutput"];
|
|
10641
10641
|
type: "POA";
|
|
10642
10642
|
} | {
|
|
10643
|
-
data: components["schemas"]["
|
|
10644
|
-
type: "
|
|
10643
|
+
data: components["schemas"]["EidStepOutput"];
|
|
10644
|
+
type: "EID";
|
|
10645
10645
|
} | {
|
|
10646
10646
|
data: components["schemas"]["WalletStepOutput"];
|
|
10647
10647
|
type: "WALLET";
|
|
@@ -10725,7 +10725,7 @@ declare function getFlowResult({ organizationId, flowResultId, isSandbox }: GetF
|
|
|
10725
10725
|
}[] | undefined;
|
|
10726
10726
|
reviewSuggestion?: null | components["schemas"]["ReviewSuggestion"];
|
|
10727
10727
|
riskScorePercent?: number | null;
|
|
10728
|
-
|
|
10728
|
+
eidResults?: {
|
|
10729
10729
|
createdAt?: string | null;
|
|
10730
10730
|
flowStep?: null | components["schemas"]["FlowStep"];
|
|
10731
10731
|
flowStepId?: string | null;
|
package/dist/openapi.d.ts
CHANGED
|
@@ -1468,7 +1468,7 @@ export interface components {
|
|
|
1468
1468
|
* @description The action recorded by an audit log entry (e.g. `FLOW_CREATED`).
|
|
1469
1469
|
* @enum {string}
|
|
1470
1470
|
*/
|
|
1471
|
-
AuditAction: "VIEWED" | "CREATED" | "UPDATED" | "DELETED" | "AUTH_LOGIN" | "AUTH_LOGIN_FAILED" | "AUTH_LOGOUT" | "AUTH_PASSWORD_CHANGED" | "AUTH_PASSKEY_REGISTERED" | "AUTH_MAGIC_LINK_REQUESTED" | "AUTH_PASSWORD_RESET_REQUESTED" | "AUTH_EMAIL_VERIFIED" | "AUTH_TWO_FACTOR_CHALLENGED" | "AUTH_TWO_FACTOR_FAILED" | "AUTH_TWO_FACTOR_ENROLMENT_STARTED" | "AUTH_TWO_FACTOR_ENABLED" | "AUTH_TWO_FACTOR_DISABLED" | "AUTH_TWO_FACTOR_BACKUP_CODE_USED" | "AUTH_TWO_FACTOR_BACKUP_CODES_REGENERATED" | "AUTH_TWO_FACTOR_RESET" | "ORG_TWO_FACTOR_POLICY_UPDATED" | "IDENTITY_ROLE_CHANGED" | "IDENTITY_DEACTIVATED" | "IDENTITY_DELETED" | "ORG_CREATED" | "ORG_SETTINGS_UPDATED" | "SLA_TARGETS_UPDATED" | "ORG_MEMBER_INVITED" | "ORG_MEMBER_REMOVED" | "ORG_MEMBER_ROLE_CHANGED" | "ORG_INVITE_REVOKED" | "API_KEY_CREATED" | "API_KEY_UPDATED" | "API_KEY_DELETED" | "BOT_CREATED" | "BOT_DELETED" | "BOT_TOKEN_REGENERATED" | "FLOW_CREATED" | "FLOW_UPDATED" | "FLOW_LINK_CREATED" | "FLOW_DELETED" | "FLOW_STEP_ADDED" | "FLOW_STEP_UPDATED" | "FLOW_STEP_DELETED" | "FLOW_SHARED" | "FLOW_SHARE_REVOKED" | "FLOW_TEMPLATE_CREATED" | "FLOW_TEMPLATE_UPDATED" | "FLOW_TEMPLATE_STATUS_CHANGED" | "FLOW_TEMPLATES_SEEDED" | "FLOW_TEMPLATE_COPIED_TO_PRODUCTION" | "FLOW_DRAFT_CREATED" | "FLOW_DRAFT_DELETED" | "PARTNER_INVITED" | "PARTNER_INVITE_ACCEPTED" | "PARTNER_INVITE_REVOKED" | "PARTNER_INVITE_REJECTED" | "VR_CREATED" | "VR_STATUS_CHANGED" | "VR_MANUALLY_REVIEWED" | "DV_RESULT_REVIEW_REQUESTED" | "VR_CANCELLED" | "DV_RESULT_STATUS_CHANGED" | "DV_RESULT_MANUAL_REVIEW" | "DV_RESULT_REPLAYED" | "AML_RESULT_STATUS_CHANGED" | "AML_RESULT_MODERATED" | "AML_FIELD_REVIEWED" | "AML_AGENT_REVIEWED" | "AML_SCREENED" | "TIN_CHECK_RUN" | "POA_RESULT_STATUS_CHANGED" | "
|
|
1471
|
+
AuditAction: "VIEWED" | "CREATED" | "UPDATED" | "DELETED" | "AUTH_LOGIN" | "AUTH_LOGIN_FAILED" | "AUTH_LOGOUT" | "AUTH_PASSWORD_CHANGED" | "AUTH_PASSKEY_REGISTERED" | "AUTH_MAGIC_LINK_REQUESTED" | "AUTH_PASSWORD_RESET_REQUESTED" | "AUTH_EMAIL_VERIFIED" | "AUTH_TWO_FACTOR_CHALLENGED" | "AUTH_TWO_FACTOR_FAILED" | "AUTH_TWO_FACTOR_ENROLMENT_STARTED" | "AUTH_TWO_FACTOR_ENABLED" | "AUTH_TWO_FACTOR_DISABLED" | "AUTH_TWO_FACTOR_BACKUP_CODE_USED" | "AUTH_TWO_FACTOR_BACKUP_CODES_REGENERATED" | "AUTH_TWO_FACTOR_RESET" | "ORG_TWO_FACTOR_POLICY_UPDATED" | "IDENTITY_ROLE_CHANGED" | "IDENTITY_DEACTIVATED" | "IDENTITY_DELETED" | "ORG_CREATED" | "ORG_SETTINGS_UPDATED" | "SLA_TARGETS_UPDATED" | "ORG_MEMBER_INVITED" | "ORG_MEMBER_REMOVED" | "ORG_MEMBER_ROLE_CHANGED" | "ORG_INVITE_REVOKED" | "API_KEY_CREATED" | "API_KEY_UPDATED" | "API_KEY_DELETED" | "BOT_CREATED" | "BOT_DELETED" | "BOT_TOKEN_REGENERATED" | "FLOW_CREATED" | "FLOW_UPDATED" | "FLOW_LINK_CREATED" | "FLOW_DELETED" | "FLOW_STEP_ADDED" | "FLOW_STEP_UPDATED" | "FLOW_STEP_DELETED" | "FLOW_SHARED" | "FLOW_SHARE_REVOKED" | "FLOW_TEMPLATE_CREATED" | "FLOW_TEMPLATE_UPDATED" | "FLOW_TEMPLATE_STATUS_CHANGED" | "FLOW_TEMPLATES_SEEDED" | "FLOW_TEMPLATE_COPIED_TO_PRODUCTION" | "FLOW_DRAFT_CREATED" | "FLOW_DRAFT_DELETED" | "PARTNER_INVITED" | "PARTNER_INVITE_ACCEPTED" | "PARTNER_INVITE_REVOKED" | "PARTNER_INVITE_REJECTED" | "VR_CREATED" | "VR_STATUS_CHANGED" | "VR_MANUALLY_REVIEWED" | "DV_RESULT_REVIEW_REQUESTED" | "VR_CANCELLED" | "DV_RESULT_STATUS_CHANGED" | "DV_RESULT_MANUAL_REVIEW" | "DV_RESULT_REPLAYED" | "AML_RESULT_STATUS_CHANGED" | "AML_RESULT_MODERATED" | "AML_FIELD_REVIEWED" | "AML_AGENT_REVIEWED" | "AML_SCREENED" | "TIN_CHECK_RUN" | "POA_RESULT_STATUS_CHANGED" | "EID_RESULT_STATUS_CHANGED" | "FORM_RESULT_STATUS_CHANGED" | "FORM_RESULT_SUBMITTED" | "KYB_APPLICATION_SUBMITTED" | "KYB_DOCUMENT_REQUEST_CREATED" | "KYB_DOCUMENT_UPLOADED" | "KYB_CLARIFICATION_SUBMITTED" | "KYB_DOCUMENT_REQUEST_REVIEWED" | "KYB_ASSIGNED" | "KYB_STAGE_CHANGED" | "KYB_COMMUNICATION_SENT" | "KYB_MODERATION_STATUS_UPDATED" | "KYB_PEP_SANCTIONS_STATUS_UPDATED" | "KYB_REPORT_UPLOADED" | "KYB_AUTO_COMPLETED" | "KYB_APPROVED" | "KYB_MANUAL_REVIEW_DECISION" | "KYB_VERIFICATION_FIELD_OVERRIDDEN" | "KYB_DOCUMENT_CHECK_OVERRIDDEN" | "KYB_METADATA_PATCHED" | "KYB_SCREENING_STRATEGY_CHANGED" | "KYB_BUSINESS_INFORMATION_EDITED" | "KYB_UBOS_ADDED" | "KYB_UBO_REMOVED" | "KYB_DIRECTORS_ADDED" | "KYB_DIRECTOR_REMOVED" | "KYB_AGENT_REVIEWED" | "KYB_AGENT_RUN_ENDED" | "KYB_CASE_DOSSIER_EXPORTED" | "KYB_CASE_REPORT_DOWNLOADED" | "KYC_REPORT_DOWNLOADED" | "KYB_DOCUMENT_CATALOG_REFRESHED" | "KYB_DOCUMENTS_PURCHASED" | "KYB_CASE_MANIFEST_REVISED" | "KYB_CASE_RUN_COMPLETED" | "KYB_CASE_RUN_FAILED" | "KYB_CASE_RUN_REAPED" | "KYB_CASE_RUN_REQUEUED" | "KYB_CASE_RUN_SUPERSEDED" | "KYB_CASE_EFFECTS_ABANDONED" | "KYB_CASE_RETRY_FORCED" | "KYB_CASE_DECISION_REPORT_HELD" | "KYB_CASE_WAIVER_DECIDED" | "KYB_CASE_DECIDED" | "KYB_CASE_ANCHORED" | "KYB_CASE_OPENED_BY_OPERATOR" | "KYB_CASE_CONTACT_SET" | "KYB_CASE_UPLOAD_ADDED" | "KYB_CASE_UPLOAD_REMOVED" | "KYB_CASE_SUBMITTED_BY_OPERATOR" | "KYB_CASE_CANCELLED_BY_OPERATOR" | "KYB_CASE_EXCEPTION_RECORDED" | "KYB_CASE_EXCEPTION_WITHDRAWN" | "KYB_CASE_DECISION_PROPOSAL_WITHDRAWN" | "KYB_SCREENING_HIT_RESOLVED" | "KYB_SCREENING_HIT_PROPOSED" | "KYB_CASE_CHECK_CONFIRMED" | "KYB_CASE_REOPENED" | "KYB_CASE_QUALITY_REVIEW_RECORDED" | "KYB_OWNERSHIP_CONFIRMATION_SUBMITTED" | "KYB_SUBJECT_ASSIGNED" | "KYB_SUBJECT_RELEASED" | "KYB_REMINDERS_SENT" | "KYB_COMPANY_RATING_OVERRIDDEN" | "KYB_COMPANY_RATING_OVERRIDE_ENDED" | "COMPLIANCE_POLICY_UPDATED" | "COMPLIANCE_POLICY_DRAFT_SAVED" | "COMPLIANCE_POLICY_PUBLISHED" | "COMPLIANCE_POLICY_PUT_IN_FORCE" | "COMPLIANCE_POLICY_SOP_UPLOADED" | "COMPLIANCE_POLICY_SOP_REVIEWED" | "COMPLIANCE_POLICY_SOP_AUTO_ACCEPTED" | "KYB_CASE_AML_DISPOSITIONED" | "KYB_CASE_STEP_PROPOSAL_DECIDED" | "KYB_CASE_CLARIFICATION_PROPOSAL_DECIDED" | "KYB_CASE_FACT_RECORDED" | "KYB_CASE_INVITATION_SENT" | "KYB_CASE_INVITATION_FAILED" | "KYC_GRANT_CREATED" | "CONSENT_GRANTED" | "BLOCKLIST_ENTRY_CREATED" | "BLOCKLIST_ENTRY_DELETED" | "RISK_WEIGHT_UPDATED" | "RISK_FACTOR_UPDATED" | "DOCUMENT_DOWNLOADED" | "FLOW_RESULT_EXPORTED" | "FLOW_RISK_SCORE_CHANGED" | "FLOW_RISK_STATUS_CHANGED" | "RISK_TAG_ADDED" | "RISK_TAG_RETRACTED" | "TM_RULE_TRIGGERED" | "TM_ALERT_RAISED" | "TM_AGENT_REVIEWED" | "TM_AGENT_REVIEW_STARTED" | "TM_AGENT_RESOLVED" | "TM_ALERT_DISPOSITIONED" | "TM_ALERT_ASSIGNED" | "TM_ALERT_ESCALATED" | "TM_RULE_DISABLED" | "UNKNOWN";
|
|
1472
1472
|
/** @description A single entry in the audit log, returned by the query API. */
|
|
1473
1473
|
AuditLogEntry: {
|
|
1474
1474
|
action: components["schemas"]["AuditAction"];
|
|
@@ -1549,7 +1549,7 @@ export interface components {
|
|
|
1549
1549
|
* not be determined (e.g. for some system operations).
|
|
1550
1550
|
* @enum {string}
|
|
1551
1551
|
*/
|
|
1552
|
-
AuditResourceType: "Search" | "Identity" | "Organization" | "OrganizationSettings" | "OrganizationTheme" | "OrganizationInvite" | "OrganizationBilling" | "SubscriptionPlan" | "KybJurisdictionPricing" | "TopupPack" | "ApiKey" | "Bot" | "McpClient" | "Flow" | "FlowStep" | "FlowResult" | "FlowPartnerInvite" | "VerificationRequest" | "DvResult" | "AmlResult" | "TinCheck" | "PoaResult" | "KybResult" | "KybCase" | "KybCaseRule" | "KybCompanyRating" | "KybSubjectAssignment" | "FormResult" | "Form" | "RiskWeight" | "ContextualFactor" | "ScoreDefinition" | "ScoreTag" | "ScoreRule" | "AuditLog" | "ChatMessage" | "DocumentSelection" | "GeolocationResult" | "PhoneVerification" | "
|
|
1552
|
+
AuditResourceType: "Search" | "Identity" | "Organization" | "OrganizationSettings" | "OrganizationTheme" | "OrganizationInvite" | "OrganizationBilling" | "SubscriptionPlan" | "KybJurisdictionPricing" | "TopupPack" | "ApiKey" | "Bot" | "McpClient" | "Flow" | "FlowStep" | "FlowResult" | "FlowPartnerInvite" | "VerificationRequest" | "DvResult" | "AmlResult" | "TinCheck" | "PoaResult" | "KybResult" | "KybCase" | "KybCaseRule" | "KybCompanyRating" | "KybSubjectAssignment" | "FormResult" | "Form" | "RiskWeight" | "ContextualFactor" | "ScoreDefinition" | "ScoreTag" | "ScoreRule" | "AuditLog" | "ChatMessage" | "DocumentSelection" | "GeolocationResult" | "PhoneVerification" | "EidResult" | "WalletVerification" | "Vault" | "KybUboData" | "DocumentDefinition" | "ConfigOverride" | "AgentReviewPolicy" | "ShortUrl" | "Cache" | "Transaction" | "TmRule" | "TmList" | "TmSettings" | "TmAlert" | "TmRuleTemplate" | "FlowTemplate" | "FlowDraft" | "BlockedEmailDomain" | "AllowedEmailAddress" | "RegistrationOffer" | "RegistrationOfferLink" | "WebhookEndpoint" | "WebhookOrganizationSecret" | "Unknown";
|
|
1553
1553
|
/** @description What triggered an audit event, identified by `type`:
|
|
1554
1554
|
* - `HTTP` — an API request (`method` and `path`).
|
|
1555
1555
|
* - `WORKER` — a background process (`workerType` and `scenario`).
|
|
@@ -2504,7 +2504,7 @@ export interface components {
|
|
|
2504
2504
|
[key: string]: components["schemas"]["DocumentTypeFilter"];
|
|
2505
2505
|
} | null;
|
|
2506
2506
|
enabledGovernmentProviders: {
|
|
2507
|
-
[key: string]: components["schemas"]["
|
|
2507
|
+
[key: string]: components["schemas"]["EidDocumentType"][];
|
|
2508
2508
|
};
|
|
2509
2509
|
/** @example { "en_button_label": "Next step" } */
|
|
2510
2510
|
labels?: {
|
|
@@ -3055,7 +3055,7 @@ export interface components {
|
|
|
3055
3055
|
* @description Composed global risk score for the flow (0–100). `None` if not yet scored.
|
|
3056
3056
|
*/
|
|
3057
3057
|
riskScorePercent?: number | null;
|
|
3058
|
-
|
|
3058
|
+
eidResults: components["schemas"]["EidResult"][];
|
|
3059
3059
|
status: components["schemas"]["VerificationRequestStatus"];
|
|
3060
3060
|
/** Format: date-time */
|
|
3061
3061
|
updatedAt?: string | null;
|
|
@@ -3159,7 +3159,7 @@ export interface components {
|
|
|
3159
3159
|
/** Format: date-time */
|
|
3160
3160
|
updatedAt?: string | null;
|
|
3161
3161
|
} | {
|
|
3162
|
-
config: components["schemas"]["
|
|
3162
|
+
config: components["schemas"]["EidConfig"];
|
|
3163
3163
|
/** Format: date-time */
|
|
3164
3164
|
createdAt?: string | null;
|
|
3165
3165
|
failureUrl?: string | null;
|
|
@@ -3175,7 +3175,7 @@ export interface components {
|
|
|
3175
3175
|
slug: string;
|
|
3176
3176
|
successUrl?: string | null;
|
|
3177
3177
|
/** @enum {string} */
|
|
3178
|
-
type: "
|
|
3178
|
+
type: "EID";
|
|
3179
3179
|
/** Format: date-time */
|
|
3180
3180
|
updatedAt?: string | null;
|
|
3181
3181
|
} | {
|
|
@@ -3406,9 +3406,9 @@ export interface components {
|
|
|
3406
3406
|
stepType: "GEOLOCATION";
|
|
3407
3407
|
})) | ({
|
|
3408
3408
|
stepType: "FlowStepConfig";
|
|
3409
|
-
} & (components["schemas"]["
|
|
3409
|
+
} & (components["schemas"]["EidConfig"] & {
|
|
3410
3410
|
/** @enum {string} */
|
|
3411
|
-
stepType: "
|
|
3411
|
+
stepType: "EID";
|
|
3412
3412
|
})) | ({
|
|
3413
3413
|
stepType: "FlowStepConfig";
|
|
3414
3414
|
} & (components["schemas"]["PhoneConfig"] & {
|
|
@@ -3459,9 +3459,9 @@ export interface components {
|
|
|
3459
3459
|
/** @enum {string} */
|
|
3460
3460
|
type: "POA";
|
|
3461
3461
|
} | {
|
|
3462
|
-
data: components["schemas"]["
|
|
3462
|
+
data: components["schemas"]["EidStepOutput"];
|
|
3463
3463
|
/** @enum {string} */
|
|
3464
|
-
type: "
|
|
3464
|
+
type: "EID";
|
|
3465
3465
|
} | {
|
|
3466
3466
|
data: components["schemas"]["WalletStepOutput"];
|
|
3467
3467
|
/** @enum {string} */
|
|
@@ -3512,7 +3512,7 @@ export interface components {
|
|
|
3512
3512
|
type: "KYB_DIRECTORS";
|
|
3513
3513
|
};
|
|
3514
3514
|
/** @enum {string} */
|
|
3515
|
-
FlowStepType: "DV" | "FORM" | "POA" | "KYB" | "
|
|
3515
|
+
FlowStepType: "DV" | "FORM" | "POA" | "KYB" | "EID" | "PHONE" | "WALLET" | "LIVENESS" | "AUTO_ONE_CLICK_KYC" | "DOCUMENT_SELECTION" | "GEOLOCATION" | "KYB_DOCUMENTS" | "KYB_UBOS" | "KYB_DIRECTORS";
|
|
3516
3516
|
Form: {
|
|
3517
3517
|
/** Format: date-time */
|
|
3518
3518
|
createdAt?: string | null;
|
|
@@ -5285,7 +5285,7 @@ export interface components {
|
|
|
5285
5285
|
verificationRequestId: string;
|
|
5286
5286
|
};
|
|
5287
5287
|
/** @enum {string} */
|
|
5288
|
-
ProductType: "UNKNOWN" | "DOCSCAN" | "LIVENESS" | "POA" | "KYB" | "KYC_PASSPORT" | "
|
|
5288
|
+
ProductType: "UNKNOWN" | "DOCSCAN" | "LIVENESS" | "POA" | "KYB" | "KYC_PASSPORT" | "EID" | "PHONE" | "WALLET" | "EXPORT_API" | "EXPORT_UI" | "BUSINESS_VERIFICATION" | "FLOW_BUILDER" | "GEOLOCATION" | "FORM" | "AML" | "TRANSACTION_MONITORING" | "TIN_CHECK";
|
|
5289
5289
|
/** @description Payload for `POST .../kyb-cases/{case_id}/documents/purchase`. */
|
|
5290
5290
|
PurchaseDocumentsPayload: {
|
|
5291
5291
|
/** @description Document ids from a freshly-refreshed catalogue. Between 1 and 25. */
|
|
@@ -5704,10 +5704,10 @@ export interface components {
|
|
|
5704
5704
|
};
|
|
5705
5705
|
/** @enum {string} */
|
|
5706
5706
|
SiwxChain: "ETHEREUM" | "ETHEREUM_TESTNET" | "SOLANA" | "SOLANA_TESTNET";
|
|
5707
|
-
|
|
5707
|
+
EidConfig: {
|
|
5708
5708
|
/**
|
|
5709
5709
|
* Format: uuid
|
|
5710
|
-
* @description The ID of the document-selection step that precedes this
|
|
5710
|
+
* @description The ID of the document-selection step that precedes this eID step in the flow.
|
|
5711
5711
|
*/
|
|
5712
5712
|
documentSelectionStepId?: string;
|
|
5713
5713
|
/** @example { "default": "Next step" } */
|
|
@@ -5716,8 +5716,8 @@ export interface components {
|
|
|
5716
5716
|
};
|
|
5717
5717
|
};
|
|
5718
5718
|
/** @enum {string} */
|
|
5719
|
-
|
|
5720
|
-
|
|
5719
|
+
EidDocumentType: "ITALIAN_SPID" | "AADHAAR";
|
|
5720
|
+
EidResult: {
|
|
5721
5721
|
/** Format: date-time */
|
|
5722
5722
|
createdAt?: string | null;
|
|
5723
5723
|
flowStep?: null | components["schemas"]["FlowStep"];
|
|
@@ -5733,7 +5733,7 @@ export interface components {
|
|
|
5733
5733
|
/** Format: uuid */
|
|
5734
5734
|
verificationRequestId?: string | null;
|
|
5735
5735
|
};
|
|
5736
|
-
|
|
5736
|
+
EidResultDetails: {
|
|
5737
5737
|
address?: string | null;
|
|
5738
5738
|
companyName?: string | null;
|
|
5739
5739
|
companyVatNumber?: string | null;
|
|
@@ -5753,7 +5753,7 @@ export interface components {
|
|
|
5753
5753
|
spidCode?: string | null;
|
|
5754
5754
|
username?: string | null;
|
|
5755
5755
|
};
|
|
5756
|
-
|
|
5756
|
+
EidStepOutput: {
|
|
5757
5757
|
status: components["schemas"]["ResultStatus"];
|
|
5758
5758
|
};
|
|
5759
5759
|
StartGeolocationVerificationRequest: Record<string, unknown>;
|
|
@@ -6366,7 +6366,7 @@ export interface components {
|
|
|
6366
6366
|
poaResult?: null | components["schemas"]["PoaResult"];
|
|
6367
6367
|
reason?: string | null;
|
|
6368
6368
|
replayerZid?: string | null;
|
|
6369
|
-
|
|
6369
|
+
eidResult?: null | components["schemas"]["EidResult"];
|
|
6370
6370
|
status: components["schemas"]["VerificationRequestStatus"];
|
|
6371
6371
|
/** Format: date-time */
|
|
6372
6372
|
updatedAt?: string | null;
|
|
@@ -6448,7 +6448,7 @@ export interface components {
|
|
|
6448
6448
|
* you do not recognise.
|
|
6449
6449
|
* @enum {string}
|
|
6450
6450
|
*/
|
|
6451
|
-
WebhookEventType: "verification.dv.completed" | "verification.dv.failed" | "verification.dv.review" | "verification.poa.completed" | "verification.poa.failed" | "verification.poa.review" | "verification.form.completed" | "verification.form.failed" | "verification.form.review" | "verification.
|
|
6451
|
+
WebhookEventType: "verification.dv.completed" | "verification.dv.failed" | "verification.dv.review" | "verification.poa.completed" | "verification.poa.failed" | "verification.poa.review" | "verification.form.completed" | "verification.form.failed" | "verification.form.review" | "verification.eid.completed" | "verification.eid.failed" | "verification.eid.review" | "verification.phone.completed" | "verification.phone.failed" | "verification.phone.review" | "verification.wallet.completed" | "verification.wallet.failed" | "verification.wallet.review" | "verification.kyb.completed" | "verification.kyb.failed" | "verification.kyb.review" | "verification.kyb.submitted" | "verification.geolocation.completed" | "verification.geolocation.failed" | "verification.geolocation.review" | "verification.aml.produced" | "verification.aml.refreshed" | "verification.aml.moderated" | "verification.document.expired" | "verification.kyc.expired" | "flow.risk.reevaluated" | "flow.completed" | "transaction.alert.created" | "transaction.alert.resolved" | "kyc_passport.verification.updated";
|
|
6452
6452
|
/**
|
|
6453
6453
|
* @description Which payload shape an endpoint receives.
|
|
6454
6454
|
* @enum {string}
|
|
@@ -6468,7 +6468,7 @@ export interface components {
|
|
|
6468
6468
|
* AML screening).
|
|
6469
6469
|
* @enum {string}
|
|
6470
6470
|
*/
|
|
6471
|
-
WorkerType: "DV" | "LIVENESS" | "AML" | "POA" | "
|
|
6471
|
+
WorkerType: "DV" | "LIVENESS" | "AML" | "POA" | "EID" | "FORM" | "ONE_CLICK_DV" | "ONE_CLICK_FORM" | "MANUAL_REVIEW" | "TM" | "KYB_CASE";
|
|
6472
6472
|
/** @description Context data available to JDM rules during flow evaluation.
|
|
6473
6473
|
*
|
|
6474
6474
|
* This structure is serialized to JSON and passed to the Zen Engine for evaluation.
|
|
@@ -6506,8 +6506,8 @@ export interface components {
|
|
|
6506
6506
|
phoneResults: components["schemas"]["PhoneResult"][];
|
|
6507
6507
|
/** @description Proof of address results */
|
|
6508
6508
|
poaResults: components["schemas"]["PoaResult"][];
|
|
6509
|
-
/** @description
|
|
6510
|
-
|
|
6509
|
+
/** @description eID verification results */
|
|
6510
|
+
eidResults: components["schemas"]["EidResult"][];
|
|
6511
6511
|
/** @description Wallet verification results */
|
|
6512
6512
|
walletResults: components["schemas"]["WalletResult"][];
|
|
6513
6513
|
};
|
package/dist/openapi.json
CHANGED
|
@@ -6752,7 +6752,7 @@
|
|
|
6752
6752
|
"AML_SCREENED",
|
|
6753
6753
|
"TIN_CHECK_RUN",
|
|
6754
6754
|
"POA_RESULT_STATUS_CHANGED",
|
|
6755
|
-
"
|
|
6755
|
+
"EID_RESULT_STATUS_CHANGED",
|
|
6756
6756
|
"FORM_RESULT_STATUS_CHANGED",
|
|
6757
6757
|
"FORM_RESULT_SUBMITTED",
|
|
6758
6758
|
"KYB_APPLICATION_SUBMITTED",
|
|
@@ -7114,7 +7114,7 @@
|
|
|
7114
7114
|
"DocumentSelection",
|
|
7115
7115
|
"GeolocationResult",
|
|
7116
7116
|
"PhoneVerification",
|
|
7117
|
-
"
|
|
7117
|
+
"EidResult",
|
|
7118
7118
|
"WalletVerification",
|
|
7119
7119
|
"Vault",
|
|
7120
7120
|
"KybUboData",
|
|
@@ -9351,7 +9351,7 @@
|
|
|
9351
9351
|
"additionalProperties": {
|
|
9352
9352
|
"type": "array",
|
|
9353
9353
|
"items": {
|
|
9354
|
-
"$ref": "#/components/schemas/
|
|
9354
|
+
"$ref": "#/components/schemas/EidDocumentType"
|
|
9355
9355
|
}
|
|
9356
9356
|
},
|
|
9357
9357
|
"propertyNames": {
|
|
@@ -10968,7 +10968,7 @@
|
|
|
10968
10968
|
"amlResults",
|
|
10969
10969
|
"formResults",
|
|
10970
10970
|
"kybResults",
|
|
10971
|
-
"
|
|
10971
|
+
"eidResults",
|
|
10972
10972
|
"phoneResults",
|
|
10973
10973
|
"walletResults",
|
|
10974
10974
|
"jdmData",
|
|
@@ -11106,10 +11106,10 @@
|
|
|
11106
11106
|
"format": "int32",
|
|
11107
11107
|
"description": "Composed global risk score for the flow (0–100). `None` if not yet scored."
|
|
11108
11108
|
},
|
|
11109
|
-
"
|
|
11109
|
+
"eidResults": {
|
|
11110
11110
|
"type": "array",
|
|
11111
11111
|
"items": {
|
|
11112
|
-
"$ref": "#/components/schemas/
|
|
11112
|
+
"$ref": "#/components/schemas/EidResult"
|
|
11113
11113
|
}
|
|
11114
11114
|
},
|
|
11115
11115
|
"status": {
|
|
@@ -11494,7 +11494,7 @@
|
|
|
11494
11494
|
],
|
|
11495
11495
|
"properties": {
|
|
11496
11496
|
"config": {
|
|
11497
|
-
"$ref": "#/components/schemas/
|
|
11497
|
+
"$ref": "#/components/schemas/EidConfig"
|
|
11498
11498
|
},
|
|
11499
11499
|
"createdAt": {
|
|
11500
11500
|
"type": [
|
|
@@ -11543,7 +11543,7 @@
|
|
|
11543
11543
|
"type": {
|
|
11544
11544
|
"type": "string",
|
|
11545
11545
|
"enum": [
|
|
11546
|
-
"
|
|
11546
|
+
"EID"
|
|
11547
11547
|
]
|
|
11548
11548
|
},
|
|
11549
11549
|
"updatedAt": {
|
|
@@ -12420,7 +12420,7 @@
|
|
|
12420
12420
|
{
|
|
12421
12421
|
"allOf": [
|
|
12422
12422
|
{
|
|
12423
|
-
"$ref": "#/components/schemas/
|
|
12423
|
+
"$ref": "#/components/schemas/EidConfig"
|
|
12424
12424
|
},
|
|
12425
12425
|
{
|
|
12426
12426
|
"type": "object",
|
|
@@ -12431,7 +12431,7 @@
|
|
|
12431
12431
|
"stepType": {
|
|
12432
12432
|
"type": "string",
|
|
12433
12433
|
"enum": [
|
|
12434
|
-
"
|
|
12434
|
+
"EID"
|
|
12435
12435
|
]
|
|
12436
12436
|
}
|
|
12437
12437
|
}
|
|
@@ -12644,12 +12644,12 @@
|
|
|
12644
12644
|
],
|
|
12645
12645
|
"properties": {
|
|
12646
12646
|
"data": {
|
|
12647
|
-
"$ref": "#/components/schemas/
|
|
12647
|
+
"$ref": "#/components/schemas/EidStepOutput"
|
|
12648
12648
|
},
|
|
12649
12649
|
"type": {
|
|
12650
12650
|
"type": "string",
|
|
12651
12651
|
"enum": [
|
|
12652
|
-
"
|
|
12652
|
+
"EID"
|
|
12653
12653
|
]
|
|
12654
12654
|
}
|
|
12655
12655
|
}
|
|
@@ -12882,7 +12882,7 @@
|
|
|
12882
12882
|
"FORM",
|
|
12883
12883
|
"POA",
|
|
12884
12884
|
"KYB",
|
|
12885
|
-
"
|
|
12885
|
+
"EID",
|
|
12886
12886
|
"PHONE",
|
|
12887
12887
|
"WALLET",
|
|
12888
12888
|
"LIVENESS",
|
|
@@ -17634,7 +17634,7 @@
|
|
|
17634
17634
|
"POA",
|
|
17635
17635
|
"KYB",
|
|
17636
17636
|
"KYC_PASSPORT",
|
|
17637
|
-
"
|
|
17637
|
+
"EID",
|
|
17638
17638
|
"PHONE",
|
|
17639
17639
|
"WALLET",
|
|
17640
17640
|
"EXPORT_API",
|
|
@@ -18876,13 +18876,13 @@
|
|
|
18876
18876
|
"SOLANA_TESTNET"
|
|
18877
18877
|
]
|
|
18878
18878
|
},
|
|
18879
|
-
"
|
|
18879
|
+
"EidConfig": {
|
|
18880
18880
|
"type": "object",
|
|
18881
18881
|
"properties": {
|
|
18882
18882
|
"documentSelectionStepId": {
|
|
18883
18883
|
"type": "string",
|
|
18884
18884
|
"format": "uuid",
|
|
18885
|
-
"description": "The ID of the document-selection step that precedes this
|
|
18885
|
+
"description": "The ID of the document-selection step that precedes this eID step in the flow."
|
|
18886
18886
|
},
|
|
18887
18887
|
"labels": {
|
|
18888
18888
|
"type": "object",
|
|
@@ -18896,14 +18896,14 @@
|
|
|
18896
18896
|
}
|
|
18897
18897
|
}
|
|
18898
18898
|
},
|
|
18899
|
-
"
|
|
18899
|
+
"EidDocumentType": {
|
|
18900
18900
|
"type": "string",
|
|
18901
18901
|
"enum": [
|
|
18902
18902
|
"ITALIAN_SPID",
|
|
18903
18903
|
"AADHAAR"
|
|
18904
18904
|
]
|
|
18905
18905
|
},
|
|
18906
|
-
"
|
|
18906
|
+
"EidResult": {
|
|
18907
18907
|
"type": "object",
|
|
18908
18908
|
"required": [
|
|
18909
18909
|
"id",
|
|
@@ -18967,7 +18967,7 @@
|
|
|
18967
18967
|
}
|
|
18968
18968
|
}
|
|
18969
18969
|
},
|
|
18970
|
-
"
|
|
18970
|
+
"EidResultDetails": {
|
|
18971
18971
|
"type": "object",
|
|
18972
18972
|
"properties": {
|
|
18973
18973
|
"address": {
|
|
@@ -19080,7 +19080,7 @@
|
|
|
19080
19080
|
}
|
|
19081
19081
|
}
|
|
19082
19082
|
},
|
|
19083
|
-
"
|
|
19083
|
+
"EidStepOutput": {
|
|
19084
19084
|
"type": "object",
|
|
19085
19085
|
"required": [
|
|
19086
19086
|
"status"
|
|
@@ -20787,13 +20787,13 @@
|
|
|
20787
20787
|
"null"
|
|
20788
20788
|
]
|
|
20789
20789
|
},
|
|
20790
|
-
"
|
|
20790
|
+
"eidResult": {
|
|
20791
20791
|
"oneOf": [
|
|
20792
20792
|
{
|
|
20793
20793
|
"type": "null"
|
|
20794
20794
|
},
|
|
20795
20795
|
{
|
|
20796
|
-
"$ref": "#/components/schemas/
|
|
20796
|
+
"$ref": "#/components/schemas/EidResult"
|
|
20797
20797
|
}
|
|
20798
20798
|
]
|
|
20799
20799
|
},
|
|
@@ -21097,9 +21097,9 @@
|
|
|
21097
21097
|
"verification.form.completed",
|
|
21098
21098
|
"verification.form.failed",
|
|
21099
21099
|
"verification.form.review",
|
|
21100
|
-
"verification.
|
|
21101
|
-
"verification.
|
|
21102
|
-
"verification.
|
|
21100
|
+
"verification.eid.completed",
|
|
21101
|
+
"verification.eid.failed",
|
|
21102
|
+
"verification.eid.review",
|
|
21103
21103
|
"verification.phone.completed",
|
|
21104
21104
|
"verification.phone.failed",
|
|
21105
21105
|
"verification.phone.review",
|
|
@@ -21180,7 +21180,7 @@
|
|
|
21180
21180
|
"LIVENESS",
|
|
21181
21181
|
"AML",
|
|
21182
21182
|
"POA",
|
|
21183
|
-
"
|
|
21183
|
+
"EID",
|
|
21184
21184
|
"FORM",
|
|
21185
21185
|
"ONE_CLICK_DV",
|
|
21186
21186
|
"ONE_CLICK_FORM",
|
|
@@ -21198,7 +21198,7 @@
|
|
|
21198
21198
|
"amlResults",
|
|
21199
21199
|
"formResults",
|
|
21200
21200
|
"kybResults",
|
|
21201
|
-
"
|
|
21201
|
+
"eidResults",
|
|
21202
21202
|
"phoneResults",
|
|
21203
21203
|
"walletResults",
|
|
21204
21204
|
"customData"
|
|
@@ -21275,12 +21275,12 @@
|
|
|
21275
21275
|
},
|
|
21276
21276
|
"description": "Proof of address results"
|
|
21277
21277
|
},
|
|
21278
|
-
"
|
|
21278
|
+
"eidResults": {
|
|
21279
21279
|
"type": "array",
|
|
21280
21280
|
"items": {
|
|
21281
|
-
"$ref": "#/components/schemas/
|
|
21281
|
+
"$ref": "#/components/schemas/EidResult"
|
|
21282
21282
|
},
|
|
21283
|
-
"description": "
|
|
21283
|
+
"description": "eID verification results"
|
|
21284
21284
|
},
|
|
21285
21285
|
"walletResults": {
|
|
21286
21286
|
"type": "array",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zyphe-sdk/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "Simplifies interaction with the Zyphe platform for creating and managing digital identities and digital onboarding flows with ease",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Zyphe",
|