@zyphe-sdk/core 0.8.0 → 0.10.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 +633 -263
- package/dist/index.js +58 -3
- package/dist/index.js.map +1 -1
- package/dist/openapi.d.ts +504 -260
- package/dist/openapi.json +1078 -492
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -212,6 +212,32 @@ export interface paths {
|
|
|
212
212
|
patch?: never;
|
|
213
213
|
trace?: never;
|
|
214
214
|
};
|
|
215
|
+
"/sdk/organizations/{organization_id}/flow-results/search": {
|
|
216
|
+
parameters: {
|
|
217
|
+
query?: never;
|
|
218
|
+
header?: never;
|
|
219
|
+
path?: never;
|
|
220
|
+
cookie?: never;
|
|
221
|
+
};
|
|
222
|
+
get?: never;
|
|
223
|
+
put?: never;
|
|
224
|
+
/**
|
|
225
|
+
* Search flow results
|
|
226
|
+
* @description Tells whether a user passed a verification. Looks flow results up by the user's email, by the
|
|
227
|
+
* custom data attached when the verification request was created, or by both, and returns the
|
|
228
|
+
* status of each match, most recently updated first. `passed` is `true` once the user completed
|
|
229
|
+
* the flow successfully.
|
|
230
|
+
*
|
|
231
|
+
* At least one of `email` and `customData` is required. A user who never started a verification
|
|
232
|
+
* gives an empty page.
|
|
233
|
+
*/
|
|
234
|
+
post: operations["searchFlowResults"];
|
|
235
|
+
delete?: never;
|
|
236
|
+
options?: never;
|
|
237
|
+
head?: never;
|
|
238
|
+
patch?: never;
|
|
239
|
+
trace?: never;
|
|
240
|
+
};
|
|
215
241
|
"/sdk/organizations/{organization_id}/kyb-cases/{case_id}/reminders/ubo/{recipient_index}": {
|
|
216
242
|
parameters: {
|
|
217
243
|
query?: never;
|
|
@@ -583,6 +609,10 @@ export interface paths {
|
|
|
583
609
|
* @description Returns one flow result: who it belongs to, its status, and the result of every step the user
|
|
584
610
|
* completed (document verification, liveness, proof of address, screening, forms, KYB and the
|
|
585
611
|
* others). The per-step result endpoints return each step's full detail.
|
|
612
|
+
*
|
|
613
|
+
* The flow result is one of this organization's, or a KYC Passport result another organization
|
|
614
|
+
* shared with it: the result named by a `kyc_passport.verification.updated` notification. The
|
|
615
|
+
* same holds for the per-step result endpoints.
|
|
586
616
|
*/
|
|
587
617
|
get: operations["getFlowResultDetails"];
|
|
588
618
|
put?: never;
|
|
@@ -614,6 +644,30 @@ export interface paths {
|
|
|
614
644
|
patch?: never;
|
|
615
645
|
trace?: never;
|
|
616
646
|
};
|
|
647
|
+
"/sdk/organizations/{organization_id}/flow-results/{flow_result_id}/flow/{flow_slug}/dv/{dv_result_id}/report": {
|
|
648
|
+
parameters: {
|
|
649
|
+
query?: never;
|
|
650
|
+
header?: never;
|
|
651
|
+
path?: never;
|
|
652
|
+
cookie?: never;
|
|
653
|
+
};
|
|
654
|
+
/**
|
|
655
|
+
* Download the KYC report of a document verification result
|
|
656
|
+
* @description Returns the report of one document verification as a PDF: its outcome and every check it was
|
|
657
|
+
* held against, the data read from the document, the document images, the device and session,
|
|
658
|
+
* the person's AML screenings and an audit trail, with the verification data attached to the PDF
|
|
659
|
+
* as JSON. `locale` picks the language: `en`, `it`, `de`, `es`, `fr` or `pt`; any other prints in
|
|
660
|
+
* English. The report is generated on each request and states when it was generated.
|
|
661
|
+
*/
|
|
662
|
+
get: operations["getDocumentVerificationResultReport"];
|
|
663
|
+
put?: never;
|
|
664
|
+
post?: never;
|
|
665
|
+
delete?: never;
|
|
666
|
+
options?: never;
|
|
667
|
+
head?: never;
|
|
668
|
+
patch?: never;
|
|
669
|
+
trace?: never;
|
|
670
|
+
};
|
|
617
671
|
"/sdk/organizations/{organization_id}/flow-results/{flow_result_id}/flow/{flow_slug}/poa/{poa_result_id}/details": {
|
|
618
672
|
parameters: {
|
|
619
673
|
query?: never;
|
|
@@ -706,6 +760,7 @@ export interface paths {
|
|
|
706
760
|
};
|
|
707
761
|
/**
|
|
708
762
|
* Get flow result details (deprecated)
|
|
763
|
+
* @deprecated
|
|
709
764
|
* @description **Deprecated.** Use "Get flow result details", which also takes the flow slug.
|
|
710
765
|
*/
|
|
711
766
|
get: operations["getFlowResultDetailsDeprecated"];
|
|
@@ -726,6 +781,7 @@ export interface paths {
|
|
|
726
781
|
};
|
|
727
782
|
/**
|
|
728
783
|
* Get document verification result details (deprecated)
|
|
784
|
+
* @deprecated
|
|
729
785
|
* @description **Deprecated.** Use "Get document verification result details", which also takes the flow slug.
|
|
730
786
|
*/
|
|
731
787
|
get: operations["getDocumentVerificationResultDetailsDeprecated"];
|
|
@@ -746,6 +802,7 @@ export interface paths {
|
|
|
746
802
|
};
|
|
747
803
|
/**
|
|
748
804
|
* Get proof of address result details (deprecated)
|
|
805
|
+
* @deprecated
|
|
749
806
|
* @description **Deprecated.** Use "Get proof of address result details", which also takes the flow slug.
|
|
750
807
|
*/
|
|
751
808
|
get: operations["getProofOfAddressResultDetailsDeprecated"];
|
|
@@ -779,50 +836,6 @@ export interface paths {
|
|
|
779
836
|
patch?: never;
|
|
780
837
|
trace?: never;
|
|
781
838
|
};
|
|
782
|
-
"/organizations/{organization_id}/billing/topup-packs": {
|
|
783
|
-
parameters: {
|
|
784
|
-
query?: never;
|
|
785
|
-
header?: never;
|
|
786
|
-
path?: never;
|
|
787
|
-
cookie?: never;
|
|
788
|
-
};
|
|
789
|
-
/**
|
|
790
|
-
* List the top-up credit packs
|
|
791
|
-
* @description Lists the one-time credit packs the organization can purchase, with their price, the
|
|
792
|
-
* number of credits granted and any products they unlock. The catalog may be cached for up
|
|
793
|
-
* to 30 minutes.
|
|
794
|
-
*/
|
|
795
|
-
get: operations["get_topup_packs"];
|
|
796
|
-
put?: never;
|
|
797
|
-
post?: never;
|
|
798
|
-
delete?: never;
|
|
799
|
-
options?: never;
|
|
800
|
-
head?: never;
|
|
801
|
-
patch?: never;
|
|
802
|
-
trace?: never;
|
|
803
|
-
};
|
|
804
|
-
"/organizations/{organization_id}/billing/topup/checkout": {
|
|
805
|
-
parameters: {
|
|
806
|
-
query?: never;
|
|
807
|
-
header?: never;
|
|
808
|
-
path?: never;
|
|
809
|
-
cookie?: never;
|
|
810
|
-
};
|
|
811
|
-
get?: never;
|
|
812
|
-
put?: never;
|
|
813
|
-
/**
|
|
814
|
-
* Create a checkout session for a credit top-up
|
|
815
|
-
* @description The `priceId` must be one of the packs returned by `GET .../billing/topup-packs`. Redirect
|
|
816
|
-
* the user to the returned checkout URL; the credits are added to the organization once the
|
|
817
|
-
* payment completes.
|
|
818
|
-
*/
|
|
819
|
-
post: operations["create_topup_checkout"];
|
|
820
|
-
delete?: never;
|
|
821
|
-
options?: never;
|
|
822
|
-
head?: never;
|
|
823
|
-
patch?: never;
|
|
824
|
-
trace?: never;
|
|
825
|
-
};
|
|
826
839
|
"/sdk/organizations/{organization_id}/transactions": {
|
|
827
840
|
parameters: {
|
|
828
841
|
query?: never;
|
|
@@ -1229,6 +1242,9 @@ export interface components {
|
|
|
1229
1242
|
occupancies?: components["schemas"]["AmlOccupancy"][];
|
|
1230
1243
|
phone?: components["schemas"]["FieldWithControl"];
|
|
1231
1244
|
position?: components["schemas"]["FieldWithControl"];
|
|
1245
|
+
/** @description The PEPs this record is tied to as a relative or close associate, as the provider names them.
|
|
1246
|
+
* Absent when the provider named none. */
|
|
1247
|
+
relatedPeps?: components["schemas"]["AmlRelatedPep"][];
|
|
1232
1248
|
sanctions?: components["schemas"]["AmlSanction"][];
|
|
1233
1249
|
/** Format: double */
|
|
1234
1250
|
score?: number;
|
|
@@ -1239,6 +1255,8 @@ export interface components {
|
|
|
1239
1255
|
AmlEntityResult: {
|
|
1240
1256
|
entity: components["schemas"]["AmlEntityResponse"];
|
|
1241
1257
|
hasSanctions: boolean;
|
|
1258
|
+
/** @description A PEP match: the record is a politically exposed person, or a relative or close associate
|
|
1259
|
+
* of one. */
|
|
1242
1260
|
isPep: boolean;
|
|
1243
1261
|
match: boolean;
|
|
1244
1262
|
/** Format: double */
|
|
@@ -1264,6 +1282,11 @@ export interface components {
|
|
|
1264
1282
|
name?: components["schemas"]["FieldWithControl"];
|
|
1265
1283
|
summary?: components["schemas"]["FieldWithControl"];
|
|
1266
1284
|
};
|
|
1285
|
+
/**
|
|
1286
|
+
* @description How a record reaches a PEP it is related to.
|
|
1287
|
+
* @enum {string}
|
|
1288
|
+
*/
|
|
1289
|
+
AmlPepRelationKind: "family" | "associate";
|
|
1267
1290
|
AmlPosition: {
|
|
1268
1291
|
country?: components["schemas"]["FieldWithControl"];
|
|
1269
1292
|
description?: components["schemas"]["FieldWithControl"];
|
|
@@ -1286,13 +1309,35 @@ export interface components {
|
|
|
1286
1309
|
gender?: string | null;
|
|
1287
1310
|
lastName: string;
|
|
1288
1311
|
};
|
|
1312
|
+
/** @description A PEP that a relative or close associate is related to. */
|
|
1313
|
+
AmlRelatedPep: {
|
|
1314
|
+
/** @description The provider's id of the PEP's record. */
|
|
1315
|
+
entityId: string;
|
|
1316
|
+
kind: components["schemas"]["AmlPepRelationKind"];
|
|
1317
|
+
/** @description The PEP's names, as the provider lists them. */
|
|
1318
|
+
names: string[];
|
|
1319
|
+
/** @description The nature of the relationship, worded by the provider from the PEP's side ("spouse",
|
|
1320
|
+
* "business partner"): the record is the PEP's spouse. */
|
|
1321
|
+
relationship?: string[];
|
|
1322
|
+
};
|
|
1289
1323
|
AmlResult: {
|
|
1290
1324
|
/** @description Whether adverse-media screening for this subject returned a hit. `false` when there was no
|
|
1291
1325
|
* hit or adverse media was not screened. */
|
|
1292
1326
|
adverseMedia?: boolean;
|
|
1327
|
+
/**
|
|
1328
|
+
* Format: uuid
|
|
1329
|
+
* @description The KYB case the screening was ordered for, when it names one.
|
|
1330
|
+
*/
|
|
1331
|
+
caseId?: string | null;
|
|
1293
1332
|
/** Format: date-time */
|
|
1294
1333
|
createdAt: string;
|
|
1295
1334
|
data?: null | components["schemas"]["AmlRiskResult"];
|
|
1335
|
+
/**
|
|
1336
|
+
* Format: uuid
|
|
1337
|
+
* @description The flow result the screening belongs to. Absent for a screening of an operator-opened case
|
|
1338
|
+
* that has none.
|
|
1339
|
+
*/
|
|
1340
|
+
flowResultId?: string | null;
|
|
1296
1341
|
/** Format: uuid */
|
|
1297
1342
|
id: string;
|
|
1298
1343
|
/**
|
|
@@ -1423,7 +1468,7 @@ export interface components {
|
|
|
1423
1468
|
* @description The action recorded by an audit log entry (e.g. `FLOW_CREATED`).
|
|
1424
1469
|
* @enum {string}
|
|
1425
1470
|
*/
|
|
1426
|
-
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" | "IDENTITY_ROLE_CHANGED" | "IDENTITY_DEACTIVATED" | "IDENTITY_DELETED" | "ORG_CREATED" | "ORG_SETTINGS_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" | "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" | "SPID_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" | "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_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_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" | "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_ESCALATED" | "TM_RULE_DISABLED" | "UNKNOWN";
|
|
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" | "SPID_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";
|
|
1427
1472
|
/** @description A single entry in the audit log, returned by the query API. */
|
|
1428
1473
|
AuditLogEntry: {
|
|
1429
1474
|
action: components["schemas"]["AuditAction"];
|
|
@@ -1435,6 +1480,10 @@ export interface components {
|
|
|
1435
1480
|
/** Format: date-time */
|
|
1436
1481
|
createdAt: string;
|
|
1437
1482
|
details: unknown;
|
|
1483
|
+
/** @description The entry's hash on the chain: SHA-256 of the previous entry's hash and this entry's
|
|
1484
|
+
* canonical form. The chain is one for the whole platform, so the entry before this one may
|
|
1485
|
+
* belong to another organization. */
|
|
1486
|
+
entryHash: string;
|
|
1438
1487
|
/**
|
|
1439
1488
|
* Format: int64
|
|
1440
1489
|
* @description The entry's position on the audit log's hash chain. One entry is read back with the filter
|
|
@@ -1500,7 +1549,7 @@ export interface components {
|
|
|
1500
1549
|
* not be determined (e.g. for some system operations).
|
|
1501
1550
|
* @enum {string}
|
|
1502
1551
|
*/
|
|
1503
|
-
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" | "SpidResult" | "WalletVerification" | "Vault" | "KybUboData" | "DocumentDefinition" | "ConfigOverride" | "AgentReviewPolicy" | "ShortUrl" | "Cache" | "Transaction" | "TmRule" | "TmList" | "TmSettings" | "TmAlert" | "TmRuleTemplate" | "
|
|
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" | "SpidResult" | "WalletVerification" | "Vault" | "KybUboData" | "DocumentDefinition" | "ConfigOverride" | "AgentReviewPolicy" | "ShortUrl" | "Cache" | "Transaction" | "TmRule" | "TmList" | "TmSettings" | "TmAlert" | "TmRuleTemplate" | "FlowTemplate" | "FlowDraft" | "BlockedEmailDomain" | "AllowedEmailAddress" | "RegistrationOffer" | "RegistrationOfferLink" | "WebhookEndpoint" | "WebhookOrganizationSecret" | "Unknown";
|
|
1504
1553
|
/** @description What triggered an audit event, identified by `type`:
|
|
1505
1554
|
* - `HTTP` — an API request (`method` and `path`).
|
|
1506
1555
|
* - `WORKER` — a background process (`workerType` and `scenario`).
|
|
@@ -1590,6 +1639,15 @@ export interface components {
|
|
|
1590
1639
|
* @enum {string}
|
|
1591
1640
|
*/
|
|
1592
1641
|
BusinessInfoDisagreementSource: "submitted" | "document" | "catalog";
|
|
1642
|
+
/**
|
|
1643
|
+
* @description A business-information key a form field answers.
|
|
1644
|
+
*
|
|
1645
|
+
* The country (and the US state) come from the company lookup, and the contact email from the
|
|
1646
|
+
* applicant's own email, so no field is bound to them. The address is one place field, which
|
|
1647
|
+
* yields the street address, the city and the postcode.
|
|
1648
|
+
* @enum {string}
|
|
1649
|
+
*/
|
|
1650
|
+
BusinessInfoField: "companyName" | "registrationNumber" | "companyType" | "address" | "incorporationDate" | "businessActivity";
|
|
1593
1651
|
/** @description Per-field verification result comparing submitted business info against document-extracted values. */
|
|
1594
1652
|
BusinessInfoFieldVerification: {
|
|
1595
1653
|
/** @description The AI agent's one-sentence explanation of why this match classification was chosen.
|
|
@@ -1687,6 +1745,24 @@ export interface components {
|
|
|
1687
1745
|
*/
|
|
1688
1746
|
uncovered: number;
|
|
1689
1747
|
};
|
|
1748
|
+
/** @description The decision that stands on a case, as its list row shows it. */
|
|
1749
|
+
CaseDecisionSummary: {
|
|
1750
|
+
/** Format: date-time */
|
|
1751
|
+
decidedAt: string;
|
|
1752
|
+
/**
|
|
1753
|
+
* Format: uuid
|
|
1754
|
+
* @description The identity that took it: an analyst, or the agent's own identity.
|
|
1755
|
+
*/
|
|
1756
|
+
decidedBy: string;
|
|
1757
|
+
/** @description `PERSON` for an analyst, `BOT` for an agent such as Zyphe Agent, `API_KEY` for an integration and `SYSTEM` for
|
|
1758
|
+
* the platform itself. */
|
|
1759
|
+
decidedByKind: components["schemas"]["PrincipalKind"];
|
|
1760
|
+
/** @description The route it came through: the console, the SDK, an agent's MCP tool, and so on. */
|
|
1761
|
+
door: components["schemas"]["DecisionDoor"];
|
|
1762
|
+
/** Format: uuid */
|
|
1763
|
+
id: string;
|
|
1764
|
+
outcome: components["schemas"]["KybCaseDecisionOutcome"];
|
|
1765
|
+
};
|
|
1690
1766
|
/** @description One case as its own read answers.
|
|
1691
1767
|
*
|
|
1692
1768
|
* The list row, flattened so every key a client already binds against stays exactly where it was,
|
|
@@ -1736,18 +1812,27 @@ export interface components {
|
|
|
1736
1812
|
* risky its company is are what a reviewer sorts their day by. */
|
|
1737
1813
|
CaseSummaryResponse: {
|
|
1738
1814
|
assignment?: null | components["schemas"]["SubjectAssignmentResponse"];
|
|
1815
|
+
/** @description `ONBOARDING` for the first review of the company, `PERIODIC_REVIEW` for a later one: a case opened to verify an
|
|
1816
|
+
* earlier one again, or one its periodic review reopened. Derived from the case's history, never stored. */
|
|
1817
|
+
caseType: components["schemas"]["KybCaseType"];
|
|
1739
1818
|
/** @description The key the company's assignment and rating are kept under. Absent for a company with no
|
|
1740
1819
|
* registration number: it cannot be told from another in its country, so nothing is kept
|
|
1741
1820
|
* about it and it can be neither assigned nor rated. */
|
|
1742
1821
|
companyKey?: string | null;
|
|
1822
|
+
/** @description The address the case reaches the company at, once one is set: the contact an analyst gave a case they opened. */
|
|
1823
|
+
contactEmail?: string | null;
|
|
1743
1824
|
country: string;
|
|
1744
1825
|
/** @description How far the case has been checked, counted over its own steps. Present on every row: a case
|
|
1745
1826
|
* with nothing planned yet reads three zeros and `complete: false`, which is an answer. */
|
|
1746
1827
|
coverage: components["schemas"]["CaseCoverageSummary"];
|
|
1747
1828
|
/** Format: date-time */
|
|
1748
1829
|
createdAt: string;
|
|
1830
|
+
decision?: null | components["schemas"]["CaseDecisionSummary"];
|
|
1749
1831
|
dueDiligenceLevel: components["schemas"]["KybCaseDueDiligenceLevel"];
|
|
1750
1832
|
episode?: null | components["schemas"]["EpisodeRef"];
|
|
1833
|
+
/** @description What the Home page flags on the case, as the work board last read it, within seconds of the case changing. Empty
|
|
1834
|
+
* on a closed case. */
|
|
1835
|
+
flags: components["schemas"]["KybCaseFlag"][];
|
|
1751
1836
|
/** Format: uuid */
|
|
1752
1837
|
flowResultId?: string | null;
|
|
1753
1838
|
/** Format: uuid */
|
|
@@ -1755,6 +1840,12 @@ export interface components {
|
|
|
1755
1840
|
legalName?: string | null;
|
|
1756
1841
|
/** @description `CLIENT` | `RM` | `COMPLIANCE` | `SUPPORT` | `FUNDED` | `DENIED`, where set. */
|
|
1757
1842
|
nextAction?: string | null;
|
|
1843
|
+
/**
|
|
1844
|
+
* Format: uuid
|
|
1845
|
+
* @description The member of the organization who opened the case, for a case opened by hand. Absent for an applicant's case
|
|
1846
|
+
* and for one the migration made.
|
|
1847
|
+
*/
|
|
1848
|
+
openedByIdentityId?: string | null;
|
|
1758
1849
|
/** @description Who opened the case: `END_USER` (the business applicant, through a flow), `OPERATOR` (a member of your
|
|
1759
1850
|
* organization) or `MIGRATION` (created from a KYB result that predates KYB cases). */
|
|
1760
1851
|
origin: components["schemas"]["KybCaseOrigin"];
|
|
@@ -1780,10 +1871,6 @@ export interface components {
|
|
|
1780
1871
|
* @enum {string}
|
|
1781
1872
|
*/
|
|
1782
1873
|
CheckStatus: "passed" | "failed" | "not_performed" | "unknown";
|
|
1783
|
-
/** @description Response from creating a checkout session */
|
|
1784
|
-
CheckoutSessionResponse: {
|
|
1785
|
-
checkoutUrl: string;
|
|
1786
|
-
};
|
|
1787
1874
|
CloudflareTracePayload: {
|
|
1788
1875
|
colo?: string | null;
|
|
1789
1876
|
ip?: string | null;
|
|
@@ -1998,14 +2085,6 @@ export interface components {
|
|
|
1998
2085
|
sessionToken: string;
|
|
1999
2086
|
url: string;
|
|
2000
2087
|
};
|
|
2001
|
-
/** @description Request to create a checkout session for a one-time credit top-up purchase. */
|
|
2002
|
-
CreateTopupCheckoutRequest: {
|
|
2003
|
-
/** @description The price ID of the top-up pack to purchase, as returned in `priceId` by
|
|
2004
|
-
* `GET .../billing/topup-packs`. */
|
|
2005
|
-
priceId: string;
|
|
2006
|
-
/** @description Optional redirect URI after checkout. If not provided, redirects to the webapp root. */
|
|
2007
|
-
redirectUri?: string | null;
|
|
2008
|
-
};
|
|
2009
2088
|
CreateVerificationRequestPayload: components["schemas"]["VerificationIdentifier"] & {
|
|
2010
2089
|
continueUrl?: string | null;
|
|
2011
2090
|
cookiesPolicyAccepted: boolean;
|
|
@@ -2032,27 +2111,7 @@ export interface components {
|
|
|
2032
2111
|
*/
|
|
2033
2112
|
CreationSource: "SELF_SERVE" | "ADMIN" | "PARTNER";
|
|
2034
2113
|
/** @enum {string} */
|
|
2035
|
-
CredentialType: "PASSWORD" | "MAGIC_LINK" | "PASSKEY" | "BOT_TOKEN" | "WALLET" | "EXTERNAL_ID";
|
|
2036
|
-
/** @description When the credits granted by a subscription plan at each renewal expire. */
|
|
2037
|
-
CreditExpiryPolicy: {
|
|
2038
|
-
/** @enum {string} */
|
|
2039
|
-
type: "periodEnd";
|
|
2040
|
-
} | {
|
|
2041
|
-
/** @enum {string} */
|
|
2042
|
-
type: "never";
|
|
2043
|
-
} | {
|
|
2044
|
-
/** Format: int32 */
|
|
2045
|
-
months: number;
|
|
2046
|
-
/** @enum {string} */
|
|
2047
|
-
type: "monthsFromGrant";
|
|
2048
|
-
} | {
|
|
2049
|
-
/** Format: int32 */
|
|
2050
|
-
months: number;
|
|
2051
|
-
/** @enum {string} */
|
|
2052
|
-
type: "monthsFromSubscription";
|
|
2053
|
-
};
|
|
2054
|
-
/** @example usd */
|
|
2055
|
-
Currency: string;
|
|
2114
|
+
CredentialType: "PASSWORD" | "MAGIC_LINK" | "PASSKEY" | "BOT_TOKEN" | "WALLET" | "EXTERNAL_ID" | "TOTP";
|
|
2056
2115
|
/** @description A reviewer's decision on a case: the one immutable decision it gets. */
|
|
2057
2116
|
DecideCasePayload: {
|
|
2058
2117
|
/**
|
|
@@ -2099,6 +2158,18 @@ export interface components {
|
|
|
2099
2158
|
statusAfter?: null | components["schemas"]["KybCaseStatus"];
|
|
2100
2159
|
statusBefore?: null | components["schemas"]["KybCaseStatus"];
|
|
2101
2160
|
};
|
|
2161
|
+
/**
|
|
2162
|
+
* @description The door an act came through. Stored as TEXT, mirrored by the `door` CHECK constraints.
|
|
2163
|
+
*
|
|
2164
|
+
* Tier 1 puts one closing operation behind every door; the door stays on the row because the
|
|
2165
|
+
* operation is the same and the *route* is not — an integrator asking why a case closed wants to
|
|
2166
|
+
* know whether a person used the console or an SDK call did it.
|
|
2167
|
+
*
|
|
2168
|
+
* `Console` is the default: it is the door every decision taken before the column existed came
|
|
2169
|
+
* through, save the migrated ones, which the migration stamps `Migration` explicitly.
|
|
2170
|
+
* @enum {string}
|
|
2171
|
+
*/
|
|
2172
|
+
DecisionDoor: "CASE_ROUTE" | "CONSOLE" | "MANUAL_REVIEW" | "ADMIN" | "SDK" | "MCP" | "WORKER" | "MIGRATION";
|
|
2102
2173
|
/** @description The decision the organization's approval matrix turned into a *proposal*.
|
|
2103
2174
|
*
|
|
2104
2175
|
* The first signature is recorded and the case is NOT decided: someone holding one of
|
|
@@ -2300,12 +2371,23 @@ export interface components {
|
|
|
2300
2371
|
*/
|
|
2301
2372
|
verificationRequestId?: string | null;
|
|
2302
2373
|
};
|
|
2374
|
+
/**
|
|
2375
|
+
* @description The classes the API names a document with: the `documentClass` of a DV result, of the V2 webhook
|
|
2376
|
+
* and of the `DOCUMENT_EXPIRED` notification, and the `<step>.documentClass` of a flow rule.
|
|
2377
|
+
*
|
|
2378
|
+
* Served in the OpenAPI schema even though no response field carries one: the fields stay
|
|
2379
|
+
* strings, so a new class is not a breaking change for a client, but a client that lets an
|
|
2380
|
+
* operator author conditions on the class needs the exact value set, and generating it beats
|
|
2381
|
+
* transcribing it. The variants are in the order such a client offers them.
|
|
2382
|
+
* @enum {string}
|
|
2383
|
+
*/
|
|
2384
|
+
DocumentClassName: "IdentificationCard" | "DriversLicense" | "Passport" | "ResidenceDocument" | "Visa" | "TravelDocument" | "TaxIdentification" | "MedicalCard" | "AlienId" | "Unknown";
|
|
2303
2385
|
/**
|
|
2304
2386
|
* @description Named categories of identity documents.
|
|
2305
2387
|
*
|
|
2306
2388
|
* Served in the OpenAPI schema even though no response field carries one: the cluster is
|
|
2307
2389
|
* derived at flow-evaluation time from a result's numeric `documentType` and exposed to JDM
|
|
2308
|
-
* conditions as `<step>.
|
|
2390
|
+
* conditions as `<step>.documentCluster`. Clients that let an operator author those conditions
|
|
2309
2391
|
* need the exact value set, and generating it beats transcribing it.
|
|
2310
2392
|
* @enum {string}
|
|
2311
2393
|
*/
|
|
@@ -2457,8 +2539,17 @@ export interface components {
|
|
|
2457
2539
|
* `providesLiveness` and `providesAuthenticity` are `true` when the session itself performs the
|
|
2458
2540
|
* liveness check and the document-authenticity check. When `false`, the session does not: a check
|
|
2459
2541
|
* runs only if the flow has one of its own, a liveness step or the step's `docauthChecks`, which
|
|
2460
|
-
* are empty by default.
|
|
2542
|
+
* are empty by default.
|
|
2543
|
+
*
|
|
2544
|
+
* `acceptedCaptures` lists every submission `process-dv-document` takes for this attempt: the
|
|
2545
|
+
* capture mode above, plus `DIRECT` whenever the provider can process an uploaded image. The
|
|
2546
|
+
* capture mode is what Zyphe's own web app renders; `acceptedCaptures` is what a backend-only
|
|
2547
|
+
* integrator reads to learn it may post `images` against a `SESSION` attempt. The two flags
|
|
2548
|
+
* above describe the capture mode, not an upload: a `DIRECT` submission to a `SESSION` attempt
|
|
2549
|
+
* skips whatever selfie and capture-time checks that session performs (`providesLiveness`), so
|
|
2550
|
+
* the flow's own liveness step is the one that counts. */
|
|
2461
2551
|
DvCapture: {
|
|
2552
|
+
acceptedCaptures?: components["schemas"]["DvCaptureMode"][];
|
|
2462
2553
|
capture: components["schemas"]["DvCaptureMode"];
|
|
2463
2554
|
providesAuthenticity: boolean;
|
|
2464
2555
|
providesLiveness: boolean;
|
|
@@ -2538,6 +2629,13 @@ export interface components {
|
|
|
2538
2629
|
data: {
|
|
2539
2630
|
[key: string]: unknown;
|
|
2540
2631
|
};
|
|
2632
|
+
/** @description The class of the document, the same whichever provider read it: `Passport`, `DriversLicense`,
|
|
2633
|
+
* `IdentificationCard`, `ResidenceDocument`, `Visa`, `TravelDocument`, `TaxIdentification`,
|
|
2634
|
+
* `MedicalCard`, `AlienId` (a foreign-national registration id) or `Unknown`. Derived from
|
|
2635
|
+
* `documentType`, the type the result stores: for a failed result it can be the document the
|
|
2636
|
+
* holder picked rather than the one read. A `documentType` the types above do not cover, or of
|
|
2637
|
+
* 0 (none read), reads `Unknown`. `null` when the result has no `documentType`. */
|
|
2638
|
+
documentClass?: string | null;
|
|
2541
2639
|
/** Format: uuid */
|
|
2542
2640
|
documentId?: string | null;
|
|
2543
2641
|
/** Format: int32 */
|
|
@@ -2563,6 +2661,7 @@ export interface components {
|
|
|
2563
2661
|
processAdditionalData: components["schemas"]["ProcessAdditionalData"];
|
|
2564
2662
|
provinceCode?: string | null;
|
|
2565
2663
|
reasons: components["schemas"]["DvReason"][];
|
|
2664
|
+
reviewReason?: null | components["schemas"]["DvReviewReason"];
|
|
2566
2665
|
status: components["schemas"]["ResultStatus"];
|
|
2567
2666
|
/** Format: date-time */
|
|
2568
2667
|
updatedAt?: string | null;
|
|
@@ -2575,6 +2674,27 @@ export interface components {
|
|
|
2575
2674
|
/** Format: uuid */
|
|
2576
2675
|
verificationRequestId?: string | null;
|
|
2577
2676
|
};
|
|
2677
|
+
/** @description Why a DV or liveness verification was taken out of the user's hands and sent for review.
|
|
2678
|
+
*
|
|
2679
|
+
* Written by the attempt that ends the verification; the review that follows leaves it as it is.
|
|
2680
|
+
* It names the most recent escalation: a later escalation replaces it. */
|
|
2681
|
+
DvReviewReason: {
|
|
2682
|
+
/** Format: int32 */
|
|
2683
|
+
attempts: number;
|
|
2684
|
+
/** @enum {string} */
|
|
2685
|
+
kind: "ATTEMPTS_EXHAUSTED";
|
|
2686
|
+
/** Format: int32 */
|
|
2687
|
+
maxAttempts: number;
|
|
2688
|
+
} | {
|
|
2689
|
+
/** @enum {string} */
|
|
2690
|
+
kind: "BLOCKING_REASON";
|
|
2691
|
+
reasons: components["schemas"]["DvReason"][];
|
|
2692
|
+
} | {
|
|
2693
|
+
/** Format: int32 */
|
|
2694
|
+
attempts: number;
|
|
2695
|
+
/** @enum {string} */
|
|
2696
|
+
kind: "UNUSABLE_CAPTURES";
|
|
2697
|
+
};
|
|
2578
2698
|
DvStepOutput: {
|
|
2579
2699
|
/** @description Whether the subject's screening found adverse media — a routing signal beside `amlPep` and
|
|
2580
2700
|
* `amlSanctions`, so a flow can branch on it as it can on the other two. `None` until a
|
|
@@ -2627,7 +2747,7 @@ export interface components {
|
|
|
2627
2747
|
number: number;
|
|
2628
2748
|
};
|
|
2629
2749
|
/** @enum {string} */
|
|
2630
|
-
ErrorTags: "unexpected" | "bad_request" | "permission_denied" | "request_deserialization" | "database" | "invalid_email_or_password" | "user_not_confirmed" | "verify_password" | "send_email" | "
|
|
2750
|
+
ErrorTags: "unexpected" | "bad_request" | "permission_denied" | "request_deserialization" | "database" | "invalid_email_or_password" | "user_not_confirmed" | "verify_password" | "send_email" | "user_disabled" | "missing_authorization_header" | "invalid_authorization_header" | "token_generation" | "user_not_found" | "email_already_taken" | "invalid_invite" | "wrong_invite_user" | "invite_not_found" | "email_already_verified" | "flow_not_found" | "flow_step_not_found" | "organization_not_found" | "organization_under_retention" | "kyb_declaration_requires_discovery" | "storage" | "verification_request_not_found" | "document_reader" | "organization_settings_not_found" | "theme_not_found" | "start_job" | "result_not_found" | "kyc_grant_not_found" | "document_not_found" | "service_invocation" | "trigger_webhook" | "too_many_invites" | "invite_already_used" | "invite_already_accepted" | "invite_already_revoked" | "invite_revoked" | "invite_expired" | "invite_already_exists" | "share_already_revoked" | "form_not_found" | "form_in_use" | "flow_step_configuration_not_found" | "identity_not_found" | "step_order_violation" | "serialization" | "mock_data" | "api_key_not_found" | "not_implemented" | "access_grant" | "rate_limit_exceeded" | "missing_api_key" | "invalid_api_key" | "origin_not_allowed" | "step_already_completed" | "send_sms" | "send_notification" | "parse_error" | "inviter_organization_not_found" | "forbidden" | "passkey_authentication" | "internal" | "invalid_email" | "email_domain_not_allowed" | "work_email_required" | "graph_validation" | "external_api" | "share_already_has_write_access" | "share_does_not_have_write_access" | "write_access_already_revoked" | "invite_required" | "billing" | "billing_email_required" | "product_not_active" | "registration_offer_not_found" | "registration_offer_unavailable" | "registration_offer_invalid_terms" | "topup_pack_unlocks_unpriced" | "score_rule_not_found" | "score_rule_field_outside_scores" | "score_rule_unknown_score" | "score_rule_score_disabled" | "score_rule_score_not_yet_computed" | "score_rule_set_score_out_of_range" | "score_rule_effect_kind_mismatch" | "kyb_case_not_decidable" | "kyb_case_not_ready" | "kyb_case_exception_required" | "kyb_case_rejecting_hit" | "kyb_case_reason_required" | "kyb_case_decision_not_authorized" | "kyb_case_second_signature_required" | "kyb_case_contact_required" | "kyb_case_contact_locked" | "compliance_policy_open_questions" | "tin_check_invalid_tin" | "tin_check_unavailable" | "tin_check_ein_required" | "tin_check_mismatch" | "tin_check_attempts_exhausted" | "flow_template_not_found" | "flow_template_key_taken" | "flow_template_invalid_key" | "flow_template_source_is_template" | "flow_template_analyst_entry_invalid" | "flow_template_kyc_flow_invalid" | "flow_template_kyc_in_use" | "flow_template_empty" | "flow_template_kind_mismatch" | "flow_template_steps_invalid" | "flow_template_kyc_not_active" | "flow_template_kyc_not_available" | "flow_template_sandbox_only" | "flow_template_kyc_missing_in_production" | "flow_draft_not_found" | "flow_draft_version_conflict" | "flow_draft_name_invalid" | "flow_draft_incomplete" | "flow_draft_kyb_invalid" | "flow_draft_agent_research_invalid" | "flow_draft_business_info_form_invalid" | "flow_draft_documents_invalid" | "flow_draft_ubos_invalid" | "flow_draft_directors_invalid" | "two_factor_invalid_code" | "two_factor_locked" | "two_factor_already_enabled" | "two_factor_not_enabled" | "two_factor_required_by_organization" | "two_factor_required_by_platform" | "two_factor_reauthentication_required" | "two_factor_reauthentication_failed" | "two_factor_reauthentication_locked" | "company_website_analysis_not_found" | "company_website_analysis_invalid_url" | "company_website_analysis_limit_reached" | "company_website_analysis_not_completed" | "company_website_analysis_no_brand" | "company_website_analysis_disabled";
|
|
2631
2751
|
/**
|
|
2632
2752
|
* @description What an estimated cost represents. `fixedPrice` is a real quoted price; `variableCap` is only
|
|
2633
2753
|
* the maximum that may be charged, because the actual cost varies; `unknown` means pricing could
|
|
@@ -2645,6 +2765,10 @@ export interface components {
|
|
|
2645
2765
|
* @description The unique identifier of the action node.
|
|
2646
2766
|
*/
|
|
2647
2767
|
actionId: string;
|
|
2768
|
+
/** @description Where the user continues after a flow router action: a path on the hosted flow app, with
|
|
2769
|
+
* the query parameters that open the verification request created in the target flow. Only
|
|
2770
|
+
* returned to the user's own session. */
|
|
2771
|
+
redirectUrl?: string | null;
|
|
2648
2772
|
};
|
|
2649
2773
|
/** @description Whether one node of the ownership graph can be expanded, and at what estimated cost, as shown
|
|
2650
2774
|
* in the expansion preview. `countryCode` and pricing are always those of this node's own
|
|
@@ -2768,9 +2892,10 @@ export interface components {
|
|
|
2768
2892
|
expansions: components["schemas"]["ExpansionDecision"][];
|
|
2769
2893
|
/**
|
|
2770
2894
|
* Format: uuid
|
|
2771
|
-
* @description The KYB's anchor verification request — the websocket room for `discovery-update`.
|
|
2895
|
+
* @description The KYB's anchor verification request — the websocket room for `discovery-update`. Omitted for a case nobody
|
|
2896
|
+
* has been anchored to yet, which has no room to push to.
|
|
2772
2897
|
*/
|
|
2773
|
-
verificationRequestId
|
|
2898
|
+
verificationRequestId?: string | null;
|
|
2774
2899
|
};
|
|
2775
2900
|
/** @enum {string} */
|
|
2776
2901
|
ExtractionPromptScope: "PLATFORM" | "ORGANIZATION";
|
|
@@ -2864,11 +2989,17 @@ export interface components {
|
|
|
2864
2989
|
/** @enum {string} */
|
|
2865
2990
|
FilterOperator: "unfiltered" | "in" | "equals" | "not-in" | "not-equals" | "contains" | "gte" | "lte";
|
|
2866
2991
|
Flow: {
|
|
2992
|
+
/** @description Whether the verification failure screen offers the AI support chatbot. */
|
|
2993
|
+
aiChatbotEnabled: boolean;
|
|
2867
2994
|
/** Format: date-time */
|
|
2868
2995
|
createdAt?: string | null;
|
|
2869
2996
|
failureUrl?: string | null;
|
|
2870
2997
|
/** Format: uuid */
|
|
2871
2998
|
id: string;
|
|
2999
|
+
/** @description The flow backs a flow template: it is edited in the builder but never published, started or
|
|
3000
|
+
* listed, only copied. The dashboard shows it as a template and hides what only applies to a
|
|
3001
|
+
* live flow. */
|
|
3002
|
+
isTemplate: boolean;
|
|
2872
3003
|
jdm: components["schemas"]["WorkflowGraph"];
|
|
2873
3004
|
name: string;
|
|
2874
3005
|
slug: string;
|
|
@@ -2882,6 +3013,16 @@ export interface components {
|
|
|
2882
3013
|
/** Format: date-time */
|
|
2883
3014
|
updatedAt?: string | null;
|
|
2884
3015
|
};
|
|
3016
|
+
/** @description A flow's AML screening of the people it verifies (ENG-1542). Each person's first screening in a
|
|
3017
|
+
* flow result is charged at the organization's AML rate; ongoing monitoring re-screens them
|
|
3018
|
+
* periodically, billed per subject per year where the organization prices it. A company's KYB
|
|
3019
|
+
* keeps its case screening, which this does not govern. */
|
|
3020
|
+
FlowAmlScreening: {
|
|
3021
|
+
/** @description Whether the people the flow verifies are screened. */
|
|
3022
|
+
enabled: boolean;
|
|
3023
|
+
/** @description Whether they stay under ongoing monitoring. */
|
|
3024
|
+
ongoingMonitoring?: boolean;
|
|
3025
|
+
};
|
|
2885
3026
|
FlowResult: {
|
|
2886
3027
|
amlResults: components["schemas"]["AmlResult"][];
|
|
2887
3028
|
/** @description Custom risk tags conditionally assigned by the flow builder's AssignRiskTags action. */
|
|
@@ -2920,6 +3061,23 @@ export interface components {
|
|
|
2920
3061
|
updatedAt?: string | null;
|
|
2921
3062
|
walletResults: components["schemas"]["WalletResult"][];
|
|
2922
3063
|
};
|
|
3064
|
+
/** @description Where a user's verification stands, without any of the data collected from them. */
|
|
3065
|
+
FlowResultStatusSummary: {
|
|
3066
|
+
/** Format: date-time */
|
|
3067
|
+
createdAt: string;
|
|
3068
|
+
customData: Record<string, unknown>;
|
|
3069
|
+
email?: string | null;
|
|
3070
|
+
/** Format: uuid */
|
|
3071
|
+
flowId?: string | null;
|
|
3072
|
+
/** Format: uuid */
|
|
3073
|
+
flowResultId: string;
|
|
3074
|
+
flowSlug: string;
|
|
3075
|
+
/** @description `true` when the user passed the verification, that is when `status` is `COMPLETED`. */
|
|
3076
|
+
passed: boolean;
|
|
3077
|
+
status: components["schemas"]["VerificationRequestStatus"];
|
|
3078
|
+
/** Format: date-time */
|
|
3079
|
+
updatedAt: string;
|
|
3080
|
+
};
|
|
2923
3081
|
FlowStep: {
|
|
2924
3082
|
config: components["schemas"]["DvConfig"];
|
|
2925
3083
|
/** Format: date-time */
|
|
@@ -3636,7 +3794,13 @@ export interface components {
|
|
|
3636
3794
|
zid: string;
|
|
3637
3795
|
};
|
|
3638
3796
|
IdentitySettings: {
|
|
3797
|
+
/** @description The person's first name, as typed at registration. Only an account registered through
|
|
3798
|
+
* `/auth/register` (organization staff) has one: never set for a GUEST, the person being
|
|
3799
|
+
* verified. */
|
|
3800
|
+
firstName?: string | null;
|
|
3639
3801
|
lastEnvironmentIsSandbox?: boolean;
|
|
3802
|
+
/** @description The person's last name, as typed at registration. Same scope as the first name. */
|
|
3803
|
+
lastName?: string | null;
|
|
3640
3804
|
locale: components["schemas"]["Locale"];
|
|
3641
3805
|
/** @description `true` when this identity is demo/synthetic data (for example generated sample data in a
|
|
3642
3806
|
* sandbox) rather than a real end user. Never set for a real verified identity. */
|
|
@@ -3697,6 +3861,7 @@ export interface components {
|
|
|
3697
3861
|
startedAt: string;
|
|
3698
3862
|
};
|
|
3699
3863
|
InputField: {
|
|
3864
|
+
binding?: null | components["schemas"]["BusinessInfoField"];
|
|
3700
3865
|
label: {
|
|
3701
3866
|
[key: string]: string;
|
|
3702
3867
|
};
|
|
@@ -3709,6 +3874,7 @@ export interface components {
|
|
|
3709
3874
|
value?: unknown;
|
|
3710
3875
|
visibleWhen?: null | components["schemas"]["Condition"];
|
|
3711
3876
|
} | {
|
|
3877
|
+
binding?: null | components["schemas"]["BusinessInfoField"];
|
|
3712
3878
|
label: {
|
|
3713
3879
|
[key: string]: string;
|
|
3714
3880
|
};
|
|
@@ -3725,6 +3891,7 @@ export interface components {
|
|
|
3725
3891
|
value?: unknown;
|
|
3726
3892
|
visibleWhen?: null | components["schemas"]["Condition"];
|
|
3727
3893
|
} | {
|
|
3894
|
+
binding?: null | components["schemas"]["BusinessInfoField"];
|
|
3728
3895
|
label: {
|
|
3729
3896
|
[key: string]: string;
|
|
3730
3897
|
};
|
|
@@ -3739,6 +3906,7 @@ export interface components {
|
|
|
3739
3906
|
value?: unknown;
|
|
3740
3907
|
visibleWhen?: null | components["schemas"]["Condition"];
|
|
3741
3908
|
} | {
|
|
3909
|
+
binding?: null | components["schemas"]["BusinessInfoField"];
|
|
3742
3910
|
label: {
|
|
3743
3911
|
[key: string]: string;
|
|
3744
3912
|
};
|
|
@@ -3753,6 +3921,7 @@ export interface components {
|
|
|
3753
3921
|
value?: unknown;
|
|
3754
3922
|
visibleWhen?: null | components["schemas"]["Condition"];
|
|
3755
3923
|
} | {
|
|
3924
|
+
binding?: null | components["schemas"]["BusinessInfoField"];
|
|
3756
3925
|
label: {
|
|
3757
3926
|
[key: string]: string;
|
|
3758
3927
|
};
|
|
@@ -3765,6 +3934,7 @@ export interface components {
|
|
|
3765
3934
|
value?: unknown;
|
|
3766
3935
|
visibleWhen?: null | components["schemas"]["Condition"];
|
|
3767
3936
|
} | {
|
|
3937
|
+
binding?: null | components["schemas"]["BusinessInfoField"];
|
|
3768
3938
|
label: {
|
|
3769
3939
|
[key: string]: string;
|
|
3770
3940
|
};
|
|
@@ -3777,6 +3947,7 @@ export interface components {
|
|
|
3777
3947
|
value?: unknown;
|
|
3778
3948
|
visibleWhen?: null | components["schemas"]["Condition"];
|
|
3779
3949
|
} | {
|
|
3950
|
+
binding?: null | components["schemas"]["BusinessInfoField"];
|
|
3780
3951
|
label: {
|
|
3781
3952
|
[key: string]: string;
|
|
3782
3953
|
};
|
|
@@ -3795,6 +3966,7 @@ export interface components {
|
|
|
3795
3966
|
value?: unknown;
|
|
3796
3967
|
visibleWhen?: null | components["schemas"]["Condition"];
|
|
3797
3968
|
} | {
|
|
3969
|
+
binding?: null | components["schemas"]["BusinessInfoField"];
|
|
3798
3970
|
label: {
|
|
3799
3971
|
[key: string]: string;
|
|
3800
3972
|
};
|
|
@@ -3861,6 +4033,12 @@ export interface components {
|
|
|
3861
4033
|
* @enum {string}
|
|
3862
4034
|
*/
|
|
3863
4035
|
KybCaseDueDiligenceLevel: "SIMPLIFIED" | "STANDARD" | "ENHANCED";
|
|
4036
|
+
/**
|
|
4037
|
+
* @description A flag a KYB case carries on the Home page and in the Inbox: something about the file a reviewer should see
|
|
4038
|
+
* before anything else.
|
|
4039
|
+
* @enum {string}
|
|
4040
|
+
*/
|
|
4041
|
+
KybCaseFlag: "SANCTIONS_HIT" | "PEP" | "ADVERSE_MEDIA" | "REGISTER_MISMATCH" | "MISSING_DOCUMENTS" | "OWNER_KYC_PENDING";
|
|
3864
4042
|
/** @description A KYB case's officers: the ultimate beneficial owners and the directors the case screens and
|
|
3865
4043
|
* invites into KYC. What the case's officer routes answer — the roster as it stands after the act. */
|
|
3866
4044
|
KybCaseOfficersResponse: {
|
|
@@ -3903,6 +4081,15 @@ export interface components {
|
|
|
3903
4081
|
* @enum {string}
|
|
3904
4082
|
*/
|
|
3905
4083
|
KybCaseStatus: "OPEN" | "PROCESSING" | "WAITING_INPUT" | "ACTION_REQUIRED" | "READY_FOR_REVIEW" | "APPROVED" | "REJECTED" | "CANCELLED";
|
|
4084
|
+
/**
|
|
4085
|
+
* @description What kind of review a case is: the first look at a company, or a later one.
|
|
4086
|
+
*
|
|
4087
|
+
* Derived at read time, like the rest of this module, from whether the case re-verifies an
|
|
4088
|
+
* earlier one and from its transitions. There is no `EVENT_DRIVEN` yet: nothing opens a case on
|
|
4089
|
+
* an event.
|
|
4090
|
+
* @enum {string}
|
|
4091
|
+
*/
|
|
4092
|
+
KybCaseType: "ONBOARDING" | "PERIODIC_REVIEW";
|
|
3906
4093
|
KybCommunication: {
|
|
3907
4094
|
body: string;
|
|
3908
4095
|
/** Format: uuid */
|
|
@@ -3970,6 +4157,14 @@ export interface components {
|
|
|
3970
4157
|
* @example true
|
|
3971
4158
|
*/
|
|
3972
4159
|
autoSendUboKycEmail: boolean;
|
|
4160
|
+
businessInfoForm?: null | components["schemas"]["Form"];
|
|
4161
|
+
/**
|
|
4162
|
+
* Format: uuid
|
|
4163
|
+
* @description The form the company answers about itself, from the organization's form library. Its
|
|
4164
|
+
* fields bound to a business-information key are the company's business information; the
|
|
4165
|
+
* others are the organization's own questions. Omitted: the platform's standard form.
|
|
4166
|
+
*/
|
|
4167
|
+
businessInfoFormId?: string | null;
|
|
3973
4168
|
/**
|
|
3974
4169
|
* @default false
|
|
3975
4170
|
* @example false
|
|
@@ -4110,9 +4305,9 @@ export interface components {
|
|
|
4110
4305
|
KybDirectorsConfig: {
|
|
4111
4306
|
/**
|
|
4112
4307
|
* Format: uuid
|
|
4113
|
-
* @description The anchor KYB step this directors satellite belongs to.
|
|
4308
|
+
* @description The anchor KYB step this directors satellite belongs to. See `KybDocumentsConfig::kyb_step_id`.
|
|
4114
4309
|
*/
|
|
4115
|
-
kybStepId
|
|
4310
|
+
kybStepId?: string;
|
|
4116
4311
|
/**
|
|
4117
4312
|
* Format: uuid
|
|
4118
4313
|
* @description The KYC flow directors are invited into to verify their identity. Only used when
|
|
@@ -4282,9 +4477,10 @@ export interface components {
|
|
|
4282
4477
|
} | null;
|
|
4283
4478
|
/**
|
|
4284
4479
|
* Format: uuid
|
|
4285
|
-
* @description The anchor KYB step this documents satellite belongs to.
|
|
4480
|
+
* @description The anchor KYB step this documents satellite belongs to. May be omitted where the anchor
|
|
4481
|
+
* doesn't exist yet (a flow setup draft); a step can't be saved without one.
|
|
4286
4482
|
*/
|
|
4287
|
-
kybStepId
|
|
4483
|
+
kybStepId?: string;
|
|
4288
4484
|
/** @example { "default": "Next step" } */
|
|
4289
4485
|
labels?: {
|
|
4290
4486
|
[key: string]: string;
|
|
@@ -4305,9 +4501,26 @@ export interface components {
|
|
|
4305
4501
|
/** Format: int32 */
|
|
4306
4502
|
uploadedCount: number;
|
|
4307
4503
|
};
|
|
4504
|
+
/** @description The answer the case holds to one of the organization's own business-details questions. */
|
|
4505
|
+
KybFormAnswer: {
|
|
4506
|
+
/** @description The question as the form asks it: its labels, type and choices. Its own value is left
|
|
4507
|
+
* out: the answer is `value`. */
|
|
4508
|
+
field: components["schemas"]["InputField"];
|
|
4509
|
+
/** @description The key the cross-check, the clarifications and the edits name it by: `form.<name>`. */
|
|
4510
|
+
key: string;
|
|
4511
|
+
/** @description The answer as text, as the cross-check compares it: a select's choice by its label, a date
|
|
4512
|
+
* by its day. */
|
|
4513
|
+
text?: string | null;
|
|
4514
|
+
/** @description The answer as the case holds it now, an analyst's correction included; `None` unanswered. */
|
|
4515
|
+
value?: unknown;
|
|
4516
|
+
};
|
|
4308
4517
|
/** @description The KYB result metadata bag. Empty by default. */
|
|
4309
4518
|
KybMetadata: {
|
|
4310
4519
|
dueDiligenceLevel?: null | components["schemas"]["DueDiligenceLevel"];
|
|
4520
|
+
/** @description Whether this is the example case an organization is created with rather than a business
|
|
4521
|
+
* somebody submitted: fictional company, sample documents, no register queried and nothing
|
|
4522
|
+
* billed. Absent on every other result. */
|
|
4523
|
+
example?: boolean;
|
|
4311
4524
|
ownershipStructure?: null | components["schemas"]["OwnershipStructure"];
|
|
4312
4525
|
registryStatus?: null | components["schemas"]["CompanyStatus"];
|
|
4313
4526
|
screeningStrategy?: null | components["schemas"]["ScreeningStrategy"];
|
|
@@ -4338,6 +4551,10 @@ export interface components {
|
|
|
4338
4551
|
assignedAt?: string | null;
|
|
4339
4552
|
/** Format: uuid */
|
|
4340
4553
|
assignedToIdentityId?: string | null;
|
|
4554
|
+
/** @description The business information the case must have: the keys its KYB step's business-details form
|
|
4555
|
+
* required. `None` when not recorded, or not loaded: every field. Set by callers that read
|
|
4556
|
+
* the case, like `document_checks`. */
|
|
4557
|
+
businessInfoRequiredFields?: components["schemas"]["BusinessInfoField"][] | null;
|
|
4341
4558
|
businessInformation?: null | components["schemas"]["BusinessInformation"];
|
|
4342
4559
|
businessInformationVerification?: {
|
|
4343
4560
|
[key: string]: components["schemas"]["BusinessInfoFieldVerification"];
|
|
@@ -4360,13 +4577,18 @@ export interface components {
|
|
|
4360
4577
|
flowStep?: null | components["schemas"]["FlowStep"];
|
|
4361
4578
|
/** Format: uuid */
|
|
4362
4579
|
flowStepId?: string | null;
|
|
4580
|
+
/** @description The answers to the organization's own business-details questions, in the order its form
|
|
4581
|
+
* asks them: fields of the case like the business information, compared and clarified under
|
|
4582
|
+
* their key (`form.<name>`). `None` when not loaded; set by callers that read the case, like
|
|
4583
|
+
* `document_checks`. */
|
|
4584
|
+
formAnswers?: components["schemas"]["KybFormAnswer"][] | null;
|
|
4363
4585
|
/** Format: date-time */
|
|
4364
4586
|
fundedAt?: string | null;
|
|
4365
4587
|
/** Format: uuid */
|
|
4366
4588
|
id: string;
|
|
4367
4589
|
/** @description Admin-curated metadata. Organizations read it; only admins write it.
|
|
4368
4590
|
* Empty (`{}`) when nothing has been recorded. */
|
|
4369
|
-
metadata?: Record<string,
|
|
4591
|
+
metadata?: Record<string, unknown>;
|
|
4370
4592
|
nextAction?: null | components["schemas"]["NextAction"];
|
|
4371
4593
|
pepAndSanctionsStatus: components["schemas"]["PepAndSanctionsStatus"];
|
|
4372
4594
|
reason?: string | null;
|
|
@@ -4425,9 +4647,9 @@ export interface components {
|
|
|
4425
4647
|
autoSendUboKycEmail: boolean;
|
|
4426
4648
|
/**
|
|
4427
4649
|
* Format: uuid
|
|
4428
|
-
* @description The anchor KYB step this UBOs satellite belongs to.
|
|
4650
|
+
* @description The anchor KYB step this UBOs satellite belongs to. See `KybDocumentsConfig::kyb_step_id`.
|
|
4429
4651
|
*/
|
|
4430
|
-
kybStepId
|
|
4652
|
+
kybStepId?: string;
|
|
4431
4653
|
/**
|
|
4432
4654
|
* Format: uuid
|
|
4433
4655
|
* @description The KYC flow UBOs are invited into to verify their identity. Only used when `requireKyc`
|
|
@@ -4475,6 +4697,12 @@ export interface components {
|
|
|
4475
4697
|
/** Format: int32 */
|
|
4476
4698
|
uboCount: number;
|
|
4477
4699
|
};
|
|
4700
|
+
/**
|
|
4701
|
+
* Format: binary
|
|
4702
|
+
* @description A document verification result's KYC report: the PDF file itself, sent as the response body.
|
|
4703
|
+
* Described as binary so generated clients read it as a file rather than as JSON.
|
|
4704
|
+
*/
|
|
4705
|
+
KycReportPdf: Blob;
|
|
4478
4706
|
ListOrganizationFlowResultsResponse: {
|
|
4479
4707
|
page: components["schemas"]["FlowResult"][];
|
|
4480
4708
|
/** Format: int64 */
|
|
@@ -4898,6 +5126,20 @@ export interface components {
|
|
|
4898
5126
|
* provider and will be completed later; `false` when the prefill is already complete. */
|
|
4899
5127
|
pending: boolean;
|
|
4900
5128
|
};
|
|
5129
|
+
/**
|
|
5130
|
+
* @description What kind of principal took an act. Stored as TEXT, mirrored by the `actorKind` CHECK
|
|
5131
|
+
* constraints.
|
|
5132
|
+
*
|
|
5133
|
+
* Recorded, never enforced: Casbin remains the whole authorisation boundary, and an organization
|
|
5134
|
+
* that does not want its bot deciding restricts it by role and by the flow's agentic mode. What
|
|
5135
|
+
* this buys is that a sealed decision can say a bot took it, and whose bot — which no row could
|
|
5136
|
+
* say before, because a decision named one identity id and nothing else.
|
|
5137
|
+
*
|
|
5138
|
+
* `Person` is the default because it is the only kind an unmarked historical row can be: every
|
|
5139
|
+
* writer that is not a person learned to say so in the same change that added the column.
|
|
5140
|
+
* @enum {string}
|
|
5141
|
+
*/
|
|
5142
|
+
PrincipalKind: "PERSON" | "BOT" | "API_KEY" | "SYSTEM";
|
|
4901
5143
|
/** @description Typed representation of process_additional_data stored in DV results.
|
|
4902
5144
|
*
|
|
4903
5145
|
* This struct captures all the additional data associated with document
|
|
@@ -5060,9 +5302,10 @@ export interface components {
|
|
|
5060
5302
|
quotedCreditsTotal: number;
|
|
5061
5303
|
/**
|
|
5062
5304
|
* Format: uuid
|
|
5063
|
-
* @description The KYB's anchor verification request — the websocket room for `discovery-update`.
|
|
5305
|
+
* @description The KYB's anchor verification request — the websocket room for `discovery-update`. Omitted for a case nobody
|
|
5306
|
+
* has been anchored to yet, which has no room to push to.
|
|
5064
5307
|
*/
|
|
5065
|
-
verificationRequestId
|
|
5308
|
+
verificationRequestId?: string | null;
|
|
5066
5309
|
};
|
|
5067
5310
|
/** @description One purchased document, as reported by `GET .../kyb-cases/{case_id}/documents`. */
|
|
5068
5311
|
PurchasedDocument: {
|
|
@@ -5170,7 +5413,7 @@ export interface components {
|
|
|
5170
5413
|
subject?: string | null;
|
|
5171
5414
|
};
|
|
5172
5415
|
/** @enum {string} */
|
|
5173
|
-
RequiredDocumentField: "firstName" | "middleName" | "lastName" | "dateOfBirth" | "phone" | "email" | "street" | "city" | "state" | "postcode" | "country" | "socialSecurityNumber" | "expirationDate";
|
|
5416
|
+
RequiredDocumentField: "firstName" | "middleName" | "lastName" | "dateOfBirth" | "phone" | "email" | "street" | "city" | "state" | "postcode" | "country" | "socialSecurityNumber" | "expirationDate" | "documentNumber";
|
|
5174
5417
|
ResultControlOperation: {
|
|
5175
5418
|
/** Format: uuid */
|
|
5176
5419
|
identityId: string;
|
|
@@ -5381,6 +5624,36 @@ export interface components {
|
|
|
5381
5624
|
/** @description Last characters of the supplied secret, so the caller can confirm which one is in force. */
|
|
5382
5625
|
secretHint: string;
|
|
5383
5626
|
};
|
|
5627
|
+
/** @description What to look flow results up by. At least one of `email` and `customData` is required; when
|
|
5628
|
+
* several criteria are given, a flow result has to match all of them. */
|
|
5629
|
+
SearchFlowResultsRequest: {
|
|
5630
|
+
/** @description Custom data the flow result has to carry: every key given here has to be present with
|
|
5631
|
+
* the same value. Keys you leave out are not compared. */
|
|
5632
|
+
customData?: Record<string, unknown> | null;
|
|
5633
|
+
/**
|
|
5634
|
+
* @description Email address of the user, as given when the verification request was created. Matched
|
|
5635
|
+
* exactly, ignoring letter case.
|
|
5636
|
+
* @example jane.doe@example.com
|
|
5637
|
+
*/
|
|
5638
|
+
email?: string | null;
|
|
5639
|
+
/**
|
|
5640
|
+
* @description Limits the search to one flow. Without it, every flow of the organization is searched.
|
|
5641
|
+
* @example kyc-flow
|
|
5642
|
+
*/
|
|
5643
|
+
flowSlug?: string | null;
|
|
5644
|
+
/** Format: int32 */
|
|
5645
|
+
skip?: number;
|
|
5646
|
+
/**
|
|
5647
|
+
* Format: int32
|
|
5648
|
+
* @example 20
|
|
5649
|
+
*/
|
|
5650
|
+
take?: number;
|
|
5651
|
+
};
|
|
5652
|
+
SearchFlowResultsResponse: {
|
|
5653
|
+
page: components["schemas"]["FlowResultStatusSummary"][];
|
|
5654
|
+
/** Format: int64 */
|
|
5655
|
+
totalCount: number;
|
|
5656
|
+
};
|
|
5384
5657
|
/**
|
|
5385
5658
|
* @description Canonical security/authenticity check types.
|
|
5386
5659
|
* @enum {string}
|
|
@@ -5401,6 +5674,7 @@ export interface components {
|
|
|
5401
5674
|
*/
|
|
5402
5675
|
ServiceCredentialEnvironment: "LIVE" | "TEST";
|
|
5403
5676
|
Settings: {
|
|
5677
|
+
amlScreening?: null | components["schemas"]["FlowAmlScreening"];
|
|
5404
5678
|
/** @description When true (default), prompt users to create a passkey during the verification flow.
|
|
5405
5679
|
* When false, skip the passkey creation step.
|
|
5406
5680
|
* Optional so that patch requests only write this field when explicitly provided. */
|
|
@@ -5414,6 +5688,11 @@ export interface components {
|
|
|
5414
5688
|
* When false, skip vault unlock if an active KYC grant already exists for the organization.
|
|
5415
5689
|
* Optional so that patch requests only write this field when explicitly provided. */
|
|
5416
5690
|
oneClickAlwaysRequestUnlockVault?: boolean | null;
|
|
5691
|
+
/** @description When true, a returning holder is not asked which vault document to reuse: a document
|
|
5692
|
+
* they already shared with this organization is reused directly. Documents only ever
|
|
5693
|
+
* shared with other organizations still need the holder to pick them. Defaults to false.
|
|
5694
|
+
* Optional so that patch requests only write this field when explicitly provided. */
|
|
5695
|
+
oneClickSkipDocumentSelection?: boolean | null;
|
|
5417
5696
|
published?: boolean;
|
|
5418
5697
|
skipSignedAccess?: boolean;
|
|
5419
5698
|
slackNotifications?: string[] | null;
|
|
@@ -5477,7 +5756,7 @@ export interface components {
|
|
|
5477
5756
|
SpidStepOutput: {
|
|
5478
5757
|
status: components["schemas"]["ResultStatus"];
|
|
5479
5758
|
};
|
|
5480
|
-
StartGeolocationVerificationRequest: Record<string,
|
|
5759
|
+
StartGeolocationVerificationRequest: Record<string, unknown>;
|
|
5481
5760
|
StartGeolocationVerificationResponse: {
|
|
5482
5761
|
nonce: string;
|
|
5483
5762
|
/** Format: uuid */
|
|
@@ -5699,11 +5978,11 @@ export interface components {
|
|
|
5699
5978
|
* responses or webhooks. */
|
|
5700
5979
|
TmAgentReviewEvidence: {
|
|
5701
5980
|
/** @description The re-read case at actuation time, present only when it differed from the analytic one. */
|
|
5702
|
-
actuationCaseFile?: Record<string,
|
|
5703
|
-
caseFile: Record<string,
|
|
5704
|
-
findings: Record<string,
|
|
5705
|
-
mitigations: Record<string,
|
|
5706
|
-
verdict: Record<string,
|
|
5981
|
+
actuationCaseFile?: Record<string, unknown> | null;
|
|
5982
|
+
caseFile: Record<string, unknown>;
|
|
5983
|
+
findings: Record<string, unknown>;
|
|
5984
|
+
mitigations: Record<string, unknown>;
|
|
5985
|
+
verdict: Record<string, unknown>;
|
|
5707
5986
|
};
|
|
5708
5987
|
/** @description The API-facing projection of a stored `agentReview`.
|
|
5709
5988
|
*
|
|
@@ -5719,12 +5998,12 @@ export interface components {
|
|
|
5719
5998
|
evidence?: null | components["schemas"]["TmAgentReviewEvidence"];
|
|
5720
5999
|
/** @description The deterministic guard outcome that produced the enacted decision; `null` when the guard
|
|
5721
6000
|
* never ran (the model did not recommend approval). */
|
|
5722
|
-
guard?: Record<string,
|
|
6001
|
+
guard?: Record<string, unknown> | null;
|
|
5723
6002
|
/** Format: uuid */
|
|
5724
6003
|
id: string;
|
|
5725
6004
|
mode: components["schemas"]["KybAgenticMode"];
|
|
5726
6005
|
model: string;
|
|
5727
|
-
promptVersions: Record<string,
|
|
6006
|
+
promptVersions: Record<string, unknown>;
|
|
5728
6007
|
rationale: string;
|
|
5729
6008
|
recommendedStatus: components["schemas"]["TmAlertStatus"];
|
|
5730
6009
|
/** Format: date-time */
|
|
@@ -5920,50 +6199,6 @@ export interface components {
|
|
|
5920
6199
|
TmUpdateTransactionStatusRequest: {
|
|
5921
6200
|
status: components["schemas"]["TmTransactionStatus"];
|
|
5922
6201
|
};
|
|
5923
|
-
/** @description A top-up pack: a one-time purchase that adds credits to the organization's balance and
|
|
5924
|
-
* can optionally unlock products. */
|
|
5925
|
-
TopupPack: {
|
|
5926
|
-
/**
|
|
5927
|
-
* Format: int64
|
|
5928
|
-
* @description Price amount in the smallest currency unit (e.g. cents)
|
|
5929
|
-
*/
|
|
5930
|
-
amountCents: number;
|
|
5931
|
-
/**
|
|
5932
|
-
* Format: int64
|
|
5933
|
-
* @description Number of credits granted by this pack, from metadata `credits`
|
|
5934
|
-
*/
|
|
5935
|
-
credits: number;
|
|
5936
|
-
currency: components["schemas"]["Currency"];
|
|
5937
|
-
/** @description Products this pack enables in the production environment when it is purchased. Empty
|
|
5938
|
-
* when the pack grants credits only. */
|
|
5939
|
-
enabledProducts?: components["schemas"]["ProductType"][];
|
|
5940
|
-
/** @description `true` when the price carries `zyphe_visibility=private` metadata: a bespoke pack that
|
|
5941
|
-
* must never appear in the public catalog and is usable only by the organization named in
|
|
5942
|
-
* `organization_id`. Defaults to `false` so an untagged price stays public, and so cached
|
|
5943
|
-
* catalog entries serialized before this field existed still deserialize. */
|
|
5944
|
-
isPrivate?: boolean;
|
|
5945
|
-
/** @description Display name: nickname > product name > price ID */
|
|
5946
|
-
name: string;
|
|
5947
|
-
/** @description The organization a private pack belongs to, from price metadata `organization_id`.
|
|
5948
|
-
* Meaningless (and normally absent) on a public pack. A private pack WITHOUT this is
|
|
5949
|
-
* usable by nobody — failing closed beats leaking a bespoke price to every customer. */
|
|
5950
|
-
organizationId?: string | null;
|
|
5951
|
-
/** @description The pack's price ID. Pass it as `priceId` when creating a top-up checkout session. */
|
|
5952
|
-
priceId: string;
|
|
5953
|
-
/** @description Products this pack enables in the sandbox environment when it is purchased. Separate
|
|
5954
|
-
* from `enabledProducts` because an organization may be allowed to try a product in
|
|
5955
|
-
* sandbox without being able to use it in production. Empty when none. */
|
|
5956
|
-
sandboxEnabledProducts?: components["schemas"]["ProductType"][];
|
|
5957
|
-
/**
|
|
5958
|
-
* Format: int32
|
|
5959
|
-
* @description Optional validity window (in months) for the granted credits, from metadata `validity_months`
|
|
5960
|
-
*/
|
|
5961
|
-
validityMonths?: number | null;
|
|
5962
|
-
};
|
|
5963
|
-
/** @description Response for the top-up pack catalog endpoint (`GET .../billing/topup-packs`). */
|
|
5964
|
-
TopupPacksResponse: {
|
|
5965
|
-
packs: components["schemas"]["TopupPack"][];
|
|
5966
|
-
};
|
|
5967
6202
|
/** @description Summary of the automatic ownership discovery: the relevance threshold it uses, its credit
|
|
5968
6203
|
* budget, what it has spent so far and, once finished, how it ended. Returned to your
|
|
5969
6204
|
* organization only, never to the applicant. */
|
|
@@ -6063,7 +6298,7 @@ export interface components {
|
|
|
6063
6298
|
totalOwnershipPercentage?: number | null;
|
|
6064
6299
|
};
|
|
6065
6300
|
/** @enum {string} */
|
|
6066
|
-
ValidationMessages: "validation_unexpected" | "validation_invalid_file_format" | "validation_organization_slug_exists" | "validation_flow_slug_exists" | "validation_flow_id_mismatch" | "validation_flow_step_name_exists" | "validation_consents_not_granted" | "validation_kyb_config_match" | "validation_kyb_config_already_uses_this_kyc_flow_id" | "validation_kyb_require_kyc_needs_kyc_flow" | "validation_kyb_moderation_status_wrong" | "validation_kyb_missing_required_documents" | "validation_form_name_exists" | "validation_database_error" | "validation_flow_name_invalid" | "validation_flow_slug_name_invalid" | "validation_flow_step_name_invalid" | "validation_flow_step_order_duplicate" | "validation_flow_step_order_invalid" | "validation_flow_step_id_mismatch" | "validation_password_too_short" | "validation_password_no_uppercase" | "validation_password_no_lowercase" | "validation_password_no_number" | "validation_password_no_special_character" | "validation_password_contains_whitespace_or_control" | "validation_emails_empty" | "validation_email_invalid" | "validation_emails_too_many" | "validation_emails_duplicate" | "validation_invite_to_self" | "validation_e164_format" | "validation_flow_step_already_has_reference" | "validation_flow_step_config_invalid" | "validation_flow_not_found" | "validation_empty_parameter" | "validation_form_not_found" | "validation_organization_not_found" | "validation_workflow_graph_invalid" | "validation_invalid_role_for_invitation" | "validation_form_condition_forward_ref";
|
|
6301
|
+
ValidationMessages: "validation_unexpected" | "validation_invalid_file_format" | "validation_organization_slug_exists" | "validation_flow_slug_exists" | "validation_flow_id_mismatch" | "validation_flow_step_name_exists" | "validation_consents_not_granted" | "validation_kyb_config_match" | "validation_kyb_config_already_uses_this_kyc_flow_id" | "validation_kyb_require_kyc_needs_kyc_flow" | "validation_copy_flow_kyc_flow_not_mapped" | "validation_flow_backs_template" | "validation_flow_holds_example_case" | "validation_kyc_flow_is_template" | "validation_kyb_moderation_status_wrong" | "validation_kyb_missing_required_documents" | "validation_form_name_exists" | "validation_kyb_business_info_form_not_found" | "validation_kyb_business_info_form_invalid" | "validation_database_error" | "validation_flow_name_invalid" | "validation_flow_slug_name_invalid" | "validation_flow_step_name_invalid" | "validation_flow_step_order_duplicate" | "validation_flow_step_order_invalid" | "validation_flow_step_id_mismatch" | "validation_password_too_short" | "validation_password_no_uppercase" | "validation_password_no_lowercase" | "validation_password_no_number" | "validation_password_no_special_character" | "validation_password_contains_whitespace_or_control" | "validation_emails_empty" | "validation_email_invalid" | "validation_emails_too_many" | "validation_emails_duplicate" | "validation_invite_to_self" | "validation_e164_format" | "validation_flow_step_already_has_reference" | "validation_flow_step_config_invalid" | "validation_flow_not_found" | "validation_empty_parameter" | "validation_form_not_found" | "validation_organization_not_found" | "validation_workflow_graph_invalid" | "validation_invalid_role_for_invitation" | "validation_form_condition_forward_ref";
|
|
6067
6302
|
VaultUnlockPasskeyData: {
|
|
6068
6303
|
/** @description Passkey challenge for vault unlock (base64url) */
|
|
6069
6304
|
challenge: string;
|
|
@@ -6072,7 +6307,7 @@ export interface components {
|
|
|
6072
6307
|
/** @description Full WebAuthn `PublicKeyCredentialRequestOptions` for vault unlock.
|
|
6073
6308
|
* Frontends should pass `options.publicKey` directly to
|
|
6074
6309
|
* `navigator.credentials.get({ publicKey })`. */
|
|
6075
|
-
options: Record<string,
|
|
6310
|
+
options: Record<string, unknown>;
|
|
6076
6311
|
/** @description PRF salt for vault unlock (base64url) */
|
|
6077
6312
|
prfSalt: string;
|
|
6078
6313
|
};
|
|
@@ -6926,6 +7161,59 @@ export interface operations {
|
|
|
6926
7161
|
};
|
|
6927
7162
|
};
|
|
6928
7163
|
};
|
|
7164
|
+
searchFlowResults: {
|
|
7165
|
+
parameters: {
|
|
7166
|
+
query: {
|
|
7167
|
+
sandbox: boolean;
|
|
7168
|
+
locale?: components["schemas"]["Locale"];
|
|
7169
|
+
};
|
|
7170
|
+
header?: never;
|
|
7171
|
+
path: {
|
|
7172
|
+
/** @description Organization ID */
|
|
7173
|
+
organization_id: string;
|
|
7174
|
+
};
|
|
7175
|
+
cookie?: never;
|
|
7176
|
+
};
|
|
7177
|
+
requestBody: {
|
|
7178
|
+
content: {
|
|
7179
|
+
"application/json": components["schemas"]["SearchFlowResultsRequest"];
|
|
7180
|
+
};
|
|
7181
|
+
};
|
|
7182
|
+
responses: {
|
|
7183
|
+
200: {
|
|
7184
|
+
headers: {
|
|
7185
|
+
[name: string]: unknown;
|
|
7186
|
+
};
|
|
7187
|
+
content: {
|
|
7188
|
+
"application/json": components["schemas"]["SearchFlowResultsResponse"];
|
|
7189
|
+
};
|
|
7190
|
+
};
|
|
7191
|
+
400: {
|
|
7192
|
+
headers: {
|
|
7193
|
+
[name: string]: unknown;
|
|
7194
|
+
};
|
|
7195
|
+
content: {
|
|
7196
|
+
"application/json": components["schemas"]["BaxeError"];
|
|
7197
|
+
};
|
|
7198
|
+
};
|
|
7199
|
+
401: {
|
|
7200
|
+
headers: {
|
|
7201
|
+
[name: string]: unknown;
|
|
7202
|
+
};
|
|
7203
|
+
content: {
|
|
7204
|
+
"application/json": components["schemas"]["BaxeError"];
|
|
7205
|
+
};
|
|
7206
|
+
};
|
|
7207
|
+
500: {
|
|
7208
|
+
headers: {
|
|
7209
|
+
[name: string]: unknown;
|
|
7210
|
+
};
|
|
7211
|
+
content: {
|
|
7212
|
+
"application/json": components["schemas"]["BaxeError"];
|
|
7213
|
+
};
|
|
7214
|
+
};
|
|
7215
|
+
};
|
|
7216
|
+
};
|
|
6929
7217
|
sendUboKycReminder: {
|
|
6930
7218
|
parameters: {
|
|
6931
7219
|
query: {
|
|
@@ -8216,6 +8504,74 @@ export interface operations {
|
|
|
8216
8504
|
};
|
|
8217
8505
|
};
|
|
8218
8506
|
};
|
|
8507
|
+
getDocumentVerificationResultReport: {
|
|
8508
|
+
parameters: {
|
|
8509
|
+
query: {
|
|
8510
|
+
sandbox: boolean;
|
|
8511
|
+
locale?: components["schemas"]["Locale"];
|
|
8512
|
+
};
|
|
8513
|
+
header?: never;
|
|
8514
|
+
path: {
|
|
8515
|
+
/**
|
|
8516
|
+
* @description The ID of the organization
|
|
8517
|
+
* @example 123e4567-e89b-12d3-a456-426614174000
|
|
8518
|
+
*/
|
|
8519
|
+
organization_id: string;
|
|
8520
|
+
/**
|
|
8521
|
+
* @description The ID of the flow result
|
|
8522
|
+
* @example 123e4567-e89b-12d3-a456-426614174000
|
|
8523
|
+
*/
|
|
8524
|
+
flow_result_id: string;
|
|
8525
|
+
/**
|
|
8526
|
+
* @description The slug of the flow
|
|
8527
|
+
* @example flow-slug
|
|
8528
|
+
*/
|
|
8529
|
+
flow_slug: string;
|
|
8530
|
+
/**
|
|
8531
|
+
* @description The ID of the DV result
|
|
8532
|
+
* @example 123e4567-e89b-12d3-a456-426614174000
|
|
8533
|
+
*/
|
|
8534
|
+
dv_result_id: string;
|
|
8535
|
+
};
|
|
8536
|
+
cookie?: never;
|
|
8537
|
+
};
|
|
8538
|
+
requestBody?: never;
|
|
8539
|
+
responses: {
|
|
8540
|
+
/** @description The report PDF */
|
|
8541
|
+
200: {
|
|
8542
|
+
headers: {
|
|
8543
|
+
[name: string]: unknown;
|
|
8544
|
+
};
|
|
8545
|
+
content: {
|
|
8546
|
+
"application/pdf": components["schemas"]["KycReportPdf"];
|
|
8547
|
+
};
|
|
8548
|
+
};
|
|
8549
|
+
403: {
|
|
8550
|
+
headers: {
|
|
8551
|
+
[name: string]: unknown;
|
|
8552
|
+
};
|
|
8553
|
+
content: {
|
|
8554
|
+
"application/json": components["schemas"]["BaxeError"];
|
|
8555
|
+
};
|
|
8556
|
+
};
|
|
8557
|
+
404: {
|
|
8558
|
+
headers: {
|
|
8559
|
+
[name: string]: unknown;
|
|
8560
|
+
};
|
|
8561
|
+
content: {
|
|
8562
|
+
"application/json": components["schemas"]["BaxeError"];
|
|
8563
|
+
};
|
|
8564
|
+
};
|
|
8565
|
+
500: {
|
|
8566
|
+
headers: {
|
|
8567
|
+
[name: string]: unknown;
|
|
8568
|
+
};
|
|
8569
|
+
content: {
|
|
8570
|
+
"application/json": components["schemas"]["BaxeError"];
|
|
8571
|
+
};
|
|
8572
|
+
};
|
|
8573
|
+
};
|
|
8574
|
+
};
|
|
8219
8575
|
getProofOfAddressResultDetails: {
|
|
8220
8576
|
parameters: {
|
|
8221
8577
|
query: {
|
|
@@ -8742,118 +9098,6 @@ export interface operations {
|
|
|
8742
9098
|
};
|
|
8743
9099
|
};
|
|
8744
9100
|
};
|
|
8745
|
-
get_topup_packs: {
|
|
8746
|
-
parameters: {
|
|
8747
|
-
query?: never;
|
|
8748
|
-
header?: never;
|
|
8749
|
-
path: {
|
|
8750
|
-
/** @description Organization ID */
|
|
8751
|
-
organization_id: string;
|
|
8752
|
-
};
|
|
8753
|
-
cookie?: never;
|
|
8754
|
-
};
|
|
8755
|
-
requestBody?: never;
|
|
8756
|
-
responses: {
|
|
8757
|
-
200: {
|
|
8758
|
-
headers: {
|
|
8759
|
-
[name: string]: unknown;
|
|
8760
|
-
};
|
|
8761
|
-
content: {
|
|
8762
|
-
"application/json": components["schemas"]["TopupPacksResponse"];
|
|
8763
|
-
};
|
|
8764
|
-
};
|
|
8765
|
-
401: {
|
|
8766
|
-
headers: {
|
|
8767
|
-
[name: string]: unknown;
|
|
8768
|
-
};
|
|
8769
|
-
content: {
|
|
8770
|
-
"application/json": components["schemas"]["BaxeError"];
|
|
8771
|
-
};
|
|
8772
|
-
};
|
|
8773
|
-
403: {
|
|
8774
|
-
headers: {
|
|
8775
|
-
[name: string]: unknown;
|
|
8776
|
-
};
|
|
8777
|
-
content: {
|
|
8778
|
-
"application/json": components["schemas"]["BaxeError"];
|
|
8779
|
-
};
|
|
8780
|
-
};
|
|
8781
|
-
500: {
|
|
8782
|
-
headers: {
|
|
8783
|
-
[name: string]: unknown;
|
|
8784
|
-
};
|
|
8785
|
-
content: {
|
|
8786
|
-
"application/json": components["schemas"]["BaxeError"];
|
|
8787
|
-
};
|
|
8788
|
-
};
|
|
8789
|
-
};
|
|
8790
|
-
};
|
|
8791
|
-
create_topup_checkout: {
|
|
8792
|
-
parameters: {
|
|
8793
|
-
query?: never;
|
|
8794
|
-
header?: never;
|
|
8795
|
-
path: {
|
|
8796
|
-
/** @description Organization ID */
|
|
8797
|
-
organization_id: string;
|
|
8798
|
-
};
|
|
8799
|
-
cookie?: never;
|
|
8800
|
-
};
|
|
8801
|
-
requestBody: {
|
|
8802
|
-
content: {
|
|
8803
|
-
"application/json": components["schemas"]["CreateTopupCheckoutRequest"];
|
|
8804
|
-
};
|
|
8805
|
-
};
|
|
8806
|
-
responses: {
|
|
8807
|
-
200: {
|
|
8808
|
-
headers: {
|
|
8809
|
-
[name: string]: unknown;
|
|
8810
|
-
};
|
|
8811
|
-
content: {
|
|
8812
|
-
"application/json": components["schemas"]["CheckoutSessionResponse"];
|
|
8813
|
-
};
|
|
8814
|
-
};
|
|
8815
|
-
400: {
|
|
8816
|
-
headers: {
|
|
8817
|
-
[name: string]: unknown;
|
|
8818
|
-
};
|
|
8819
|
-
content: {
|
|
8820
|
-
"application/json": components["schemas"]["BaxeError"];
|
|
8821
|
-
};
|
|
8822
|
-
};
|
|
8823
|
-
401: {
|
|
8824
|
-
headers: {
|
|
8825
|
-
[name: string]: unknown;
|
|
8826
|
-
};
|
|
8827
|
-
content: {
|
|
8828
|
-
"application/json": components["schemas"]["BaxeError"];
|
|
8829
|
-
};
|
|
8830
|
-
};
|
|
8831
|
-
403: {
|
|
8832
|
-
headers: {
|
|
8833
|
-
[name: string]: unknown;
|
|
8834
|
-
};
|
|
8835
|
-
content: {
|
|
8836
|
-
"application/json": components["schemas"]["BaxeError"];
|
|
8837
|
-
};
|
|
8838
|
-
};
|
|
8839
|
-
404: {
|
|
8840
|
-
headers: {
|
|
8841
|
-
[name: string]: unknown;
|
|
8842
|
-
};
|
|
8843
|
-
content: {
|
|
8844
|
-
"application/json": components["schemas"]["BaxeError"];
|
|
8845
|
-
};
|
|
8846
|
-
};
|
|
8847
|
-
500: {
|
|
8848
|
-
headers: {
|
|
8849
|
-
[name: string]: unknown;
|
|
8850
|
-
};
|
|
8851
|
-
content: {
|
|
8852
|
-
"application/json": components["schemas"]["BaxeError"];
|
|
8853
|
-
};
|
|
8854
|
-
};
|
|
8855
|
-
};
|
|
8856
|
-
};
|
|
8857
9101
|
sdkIngestTransaction: {
|
|
8858
9102
|
parameters: {
|
|
8859
9103
|
query: {
|