@zyphe-sdk/core 0.1.15 → 0.1.17

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/openapi.d.ts CHANGED
@@ -47,6 +47,22 @@ export interface paths {
47
47
  patch?: never;
48
48
  trace?: never;
49
49
  };
50
+ "/sdk/flow/{flow_id}/vr/next-step": {
51
+ parameters: {
52
+ query?: never;
53
+ header?: never;
54
+ path?: never;
55
+ cookie?: never;
56
+ };
57
+ get: operations["sdk_get_next_step"];
58
+ put?: never;
59
+ post?: never;
60
+ delete?: never;
61
+ options?: never;
62
+ head?: never;
63
+ patch?: never;
64
+ trace?: never;
65
+ };
50
66
  "/flow/{flow_id}/vr/completed": {
51
67
  parameters: {
52
68
  query?: never;
@@ -63,7 +79,7 @@ export interface paths {
63
79
  patch?: never;
64
80
  trace?: never;
65
81
  };
66
- "/sdk/organizations/{organization_id}/flow-results/{flow_result_id}/details": {
82
+ "/sdk/organizations/{organization_id}/flow-results/{flow_result_id}/flow/{flow_slug}/details": {
67
83
  parameters: {
68
84
  query?: never;
69
85
  header?: never;
@@ -79,7 +95,7 @@ export interface paths {
79
95
  patch?: never;
80
96
  trace?: never;
81
97
  };
82
- "/sdk/organizations/{organization_id}/flow-results/{flow_result_id}/dv/{dv_result_id}/details": {
98
+ "/sdk/organizations/{organization_id}/flow-results/{flow_result_id}/flow/{flow_slug}/dv/{dv_result_id}/details": {
83
99
  parameters: {
84
100
  query?: never;
85
101
  header?: never;
@@ -95,6 +111,118 @@ export interface paths {
95
111
  patch?: never;
96
112
  trace?: never;
97
113
  };
114
+ "/sdk/organizations/{organization_id}/flow-results/{flow_result_id}/flow/{flow_slug}/poa/{poa_result_id}/details": {
115
+ parameters: {
116
+ query?: never;
117
+ header?: never;
118
+ path?: never;
119
+ cookie?: never;
120
+ };
121
+ get: operations["get_sdk_poa_result_details"];
122
+ put?: never;
123
+ post?: never;
124
+ delete?: never;
125
+ options?: never;
126
+ head?: never;
127
+ patch?: never;
128
+ trace?: never;
129
+ };
130
+ "/sdk/organizations/{organization_id}/flow-results/{flow_result_id}/flow/{flow_slug}/wallet/{wallet_result_id}/details": {
131
+ parameters: {
132
+ query?: never;
133
+ header?: never;
134
+ path?: never;
135
+ cookie?: never;
136
+ };
137
+ get: operations["get_sdk_wallet_result_details"];
138
+ put?: never;
139
+ post?: never;
140
+ delete?: never;
141
+ options?: never;
142
+ head?: never;
143
+ patch?: never;
144
+ trace?: never;
145
+ };
146
+ "/sdk/organizations/{organization_id}/flow-results/{flow_result_id}/flow/{flow_slug}/phone/{phone_result_id}/details": {
147
+ parameters: {
148
+ query?: never;
149
+ header?: never;
150
+ path?: never;
151
+ cookie?: never;
152
+ };
153
+ get: operations["get_sdk_phone_result_details"];
154
+ put?: never;
155
+ post?: never;
156
+ delete?: never;
157
+ options?: never;
158
+ head?: never;
159
+ patch?: never;
160
+ trace?: never;
161
+ };
162
+ "/sdk/organizations/{organization_id}/flow-results/{flow_result_id}/flow/{flow_slug}/form/{form_result_id}/details": {
163
+ parameters: {
164
+ query?: never;
165
+ header?: never;
166
+ path?: never;
167
+ cookie?: never;
168
+ };
169
+ get: operations["get_sdk_form_result_details"];
170
+ put?: never;
171
+ post?: never;
172
+ delete?: never;
173
+ options?: never;
174
+ head?: never;
175
+ patch?: never;
176
+ trace?: never;
177
+ };
178
+ "/sdk/organizations/{organization_id}/flow-results/{flow_result_id}/details": {
179
+ parameters: {
180
+ query?: never;
181
+ header?: never;
182
+ path?: never;
183
+ cookie?: never;
184
+ };
185
+ get: operations["get_sdk_flow_result_details_deprecated"];
186
+ put?: never;
187
+ post?: never;
188
+ delete?: never;
189
+ options?: never;
190
+ head?: never;
191
+ patch?: never;
192
+ trace?: never;
193
+ };
194
+ "/sdk/organizations/{organization_id}/flow-results/{flow_result_id}/dv/{dv_result_id}/details": {
195
+ parameters: {
196
+ query?: never;
197
+ header?: never;
198
+ path?: never;
199
+ cookie?: never;
200
+ };
201
+ get: operations["get_sdk_dv_result_details_deprecated"];
202
+ put?: never;
203
+ post?: never;
204
+ delete?: never;
205
+ options?: never;
206
+ head?: never;
207
+ patch?: never;
208
+ trace?: never;
209
+ };
210
+ "/sdk/organizations/{organization_id}/flow-results/{flow_result_id}/poa/{poa_result_id}/details": {
211
+ parameters: {
212
+ query?: never;
213
+ header?: never;
214
+ path?: never;
215
+ cookie?: never;
216
+ };
217
+ get: operations["get_sdk_poa_result_details_deprecated"];
218
+ put?: never;
219
+ post?: never;
220
+ delete?: never;
221
+ options?: never;
222
+ head?: never;
223
+ patch?: never;
224
+ trace?: never;
225
+ };
98
226
  }
99
227
  export type webhooks = Record<string, never>;
100
228
  export interface components {
@@ -109,49 +237,78 @@ export interface components {
109
237
  postalCode: string;
110
238
  street: string;
111
239
  };
240
+ AmlCheckSummary: {
241
+ hasPep: boolean;
242
+ hasSanctions: boolean;
243
+ highRiskEntitiesCount: number;
244
+ highestRiskLevel: components["schemas"]["RiskLevel"];
245
+ /** Format: int32 */
246
+ highestRiskScore: number;
247
+ totalEntities: number;
248
+ };
112
249
  AmlEntityResponse: {
113
- address?: string[];
114
- birthCountry?: string[];
115
- birthDate?: string[];
116
- birthPlace?: string[];
117
- country?: string[];
118
- email?: string[];
119
- firstName?: string[];
120
- gender?: string[];
121
- lastName?: string[];
122
- middleName?: string[];
123
- name?: string[];
124
- nationality?: string[];
250
+ address?: components["schemas"]["FieldWithControl"];
251
+ birthCountry?: components["schemas"]["FieldWithControl"];
252
+ birthDate?: components["schemas"]["FieldWithControl"];
253
+ birthPlace?: components["schemas"]["FieldWithControl"];
254
+ country?: components["schemas"]["FieldWithControl"];
255
+ email?: components["schemas"]["FieldWithControl"];
256
+ firstName?: components["schemas"]["FieldWithControl"];
257
+ gender?: components["schemas"]["FieldWithControl"];
258
+ lastName?: components["schemas"]["FieldWithControl"];
259
+ match?: boolean;
260
+ middleName?: components["schemas"]["FieldWithControl"];
261
+ name?: components["schemas"]["FieldWithControl"];
262
+ nationality?: components["schemas"]["FieldWithControl"];
125
263
  occupancies?: components["schemas"]["AmlOccupancy"][];
126
- phone?: string[];
127
- position?: string[];
264
+ phone?: components["schemas"]["FieldWithControl"];
265
+ position?: components["schemas"]["FieldWithControl"];
128
266
  sanctions?: components["schemas"]["AmlSanction"][];
129
- title?: string[];
130
- topics?: string[];
267
+ /** Format: double */
268
+ score?: number;
269
+ sources?: components["schemas"]["AmlSource"][];
270
+ title?: components["schemas"]["FieldWithControl"];
271
+ topics?: components["schemas"]["FieldWithControl"];
272
+ };
273
+ AmlEntityResult: {
274
+ entity: components["schemas"]["AmlEntityResponse"];
275
+ hasSanctions: boolean;
276
+ isPep: boolean;
277
+ match: boolean;
278
+ /** Format: double */
279
+ matchScore: number;
280
+ riskCountries: string[];
281
+ riskPositions: string[];
282
+ riskRelationships: string[];
283
+ riskScore: components["schemas"]["RiskScore"];
284
+ riskTopics: string[];
131
285
  };
286
+ /** @enum {string} */
287
+ AmlModerationStatus: "approved" | "rejected" | "escalated";
132
288
  AmlOccupancy: {
133
- endDate?: string[];
289
+ endDate?: components["schemas"]["FieldWithControl"];
134
290
  post?: components["schemas"]["AmlPosition"][];
135
- startDate?: string[];
136
- status?: string[];
291
+ sources?: components["schemas"]["AmlSource"][];
292
+ startDate?: components["schemas"]["FieldWithControl"];
293
+ status?: components["schemas"]["FieldWithControl"];
137
294
  };
138
295
  AmlOrganization: {
139
- country?: string[];
140
- description?: string[];
141
- name?: string[];
142
- summary?: string[];
296
+ country?: components["schemas"]["FieldWithControl"];
297
+ description?: components["schemas"]["FieldWithControl"];
298
+ name?: components["schemas"]["FieldWithControl"];
299
+ summary?: components["schemas"]["FieldWithControl"];
143
300
  };
144
301
  AmlPosition: {
145
- country?: string[];
146
- description?: string[];
147
- dissolutionDate?: string[];
148
- inceptionDate?: string[];
149
- name?: string[];
302
+ country?: components["schemas"]["FieldWithControl"];
303
+ description?: components["schemas"]["FieldWithControl"];
304
+ dissolutionDate?: components["schemas"]["FieldWithControl"];
305
+ inceptionDate?: components["schemas"]["FieldWithControl"];
306
+ name?: components["schemas"]["FieldWithControl"];
150
307
  numberOfSeats?: number[];
151
308
  organization?: components["schemas"]["AmlOrganization"][];
152
- subnationalArea?: string[];
153
- summary?: string[];
154
- topics?: string[];
309
+ subnationalArea?: components["schemas"]["FieldWithControl"];
310
+ summary?: components["schemas"]["FieldWithControl"];
311
+ topics?: components["schemas"]["FieldWithControl"];
155
312
  };
156
313
  AmlResult: {
157
314
  /** Format: date-time */
@@ -159,30 +316,57 @@ export interface components {
159
316
  data: {
160
317
  [key: string]: unknown;
161
318
  };
319
+ /** Format: uuid */
162
320
  id: string;
163
321
  pep: boolean;
164
322
  sanctions: boolean;
165
323
  /** Format: date-time */
166
324
  updatedAt: string;
325
+ /** Format: uuid */
167
326
  verificationRequestId?: string | null;
168
327
  };
328
+ AmlRiskMetadata: {
329
+ /** Format: date-time */
330
+ checkedAt: string;
331
+ controls: components["schemas"]["ResultControlOperation"][];
332
+ summary: components["schemas"]["AmlCheckSummary"];
333
+ };
334
+ AmlRiskResult: {
335
+ entities: components["schemas"]["AmlEntityResult"][];
336
+ metadata: components["schemas"]["AmlRiskMetadata"];
337
+ };
169
338
  AmlSanction: {
170
- authority?: string[];
171
- authorityId?: string[];
172
- country?: string[];
173
- date?: string[];
174
- duration?: string[];
175
- endDate?: string[];
176
- listingDate?: string[];
177
- program?: string[];
178
- reason?: string[];
179
- startDate?: string[];
180
- status?: string[];
181
- unscId?: string[];
182
- };
183
- AmlSearchResponse: components["schemas"]["AmlEntityResponse"][];
339
+ authority?: components["schemas"]["FieldWithControl"];
340
+ authorityId?: components["schemas"]["FieldWithControl"];
341
+ country?: components["schemas"]["FieldWithControl"];
342
+ date?: components["schemas"]["FieldWithControl"];
343
+ duration?: components["schemas"]["FieldWithControl"];
344
+ endDate?: components["schemas"]["FieldWithControl"];
345
+ listingDate?: components["schemas"]["FieldWithControl"];
346
+ program?: components["schemas"]["FieldWithControl"];
347
+ reason?: components["schemas"]["FieldWithControl"];
348
+ sources?: components["schemas"]["AmlSource"][];
349
+ startDate?: components["schemas"]["FieldWithControl"];
350
+ status?: components["schemas"]["FieldWithControl"];
351
+ unscId?: components["schemas"]["FieldWithControl"];
352
+ };
353
+ AmlSource: {
354
+ name?: string;
355
+ title?: string;
356
+ url?: string | null;
357
+ };
184
358
  /** @enum {string} */
185
359
  ApiKeyType: "PUBLISHABLE" | "SECRET";
360
+ AutoOneClickKycConfig: {
361
+ /** @example { "en_title": "Verify with Partners" } */
362
+ labels?: {
363
+ [key: string]: string;
364
+ };
365
+ /** @description List of partner flow IDs to attempt one-click KYC with */
366
+ partnerFlowIds: string[];
367
+ /** @description Full partner flow objects (populated by rehydrate_flow_step) */
368
+ partnerFlows?: components["schemas"]["Flow"][] | null;
369
+ };
186
370
  BaxeError: {
187
371
  /** Format: int32 */
188
372
  code: number;
@@ -211,20 +395,36 @@ export interface components {
211
395
  customData?: {
212
396
  [key: string]: unknown;
213
397
  } | null;
214
- email: string;
398
+ email?: string | null;
399
+ /** Format: uuid */
215
400
  flowStepId: string;
216
401
  privacyPolicyAccepted: boolean;
217
402
  termsAndConditionsAccepted: boolean;
218
403
  };
219
404
  CreateVerificationRequestResponse: {
220
405
  verificationRequest: components["schemas"]["VerificationRequest"];
221
- websocketNamespace: string;
406
+ };
407
+ CustomDocumentConfig: {
408
+ enabled?: boolean;
409
+ /** Format: uuid */
410
+ id: string;
411
+ name: string;
412
+ required?: boolean;
413
+ };
414
+ DirectorDefinition: {
415
+ country: string;
416
+ dateOfBirth: string;
417
+ emailAddress: string;
418
+ firstName: string;
419
+ gender: string;
420
+ lastName: string;
222
421
  };
223
422
  Document: {
224
423
  /** Format: date-time */
225
424
  createdAt: string;
226
425
  /** Format: date-time */
227
426
  expiresAt?: string | null;
427
+ /** Format: uuid */
228
428
  id: string;
229
429
  metadata: unknown;
230
430
  path: string;
@@ -233,8 +433,12 @@ export interface components {
233
433
  typeName: string;
234
434
  /** Format: date-time */
235
435
  updatedAt: string;
436
+ /** Format: uuid */
236
437
  vaultId: string;
237
438
  };
439
+ DocumentConfig: {
440
+ required?: boolean;
441
+ };
238
442
  DocumentData: {
239
443
  documentCan?: string;
240
444
  documentClassCode?: string;
@@ -260,6 +464,7 @@ export interface components {
260
464
  DocumentUpload: {
261
465
  filename: string;
262
466
  presignedUrl?: string | null;
467
+ s3Key?: string | null;
263
468
  };
264
469
  DvConfig: {
265
470
  allowedDocumentsPerCountry?: {
@@ -272,56 +477,105 @@ export interface components {
272
477
  labels?: {
273
478
  [key: string]: string;
274
479
  };
480
+ /**
481
+ * Format: int32
482
+ * @example 5
483
+ */
484
+ maxAttempts?: number | null;
275
485
  /** Format: int32 */
276
486
  minimumAge: number;
277
- skipLiveness?: boolean;
487
+ processImagesOverrides?: components["schemas"]["ProcessImagesOverrides"] | null;
488
+ requiredDocumentFields?: components["schemas"]["RequiredDocumentField"][];
278
489
  thresholds?: {
279
490
  documentScorePercent?: number;
280
- portraitMatchPercent?: number;
281
491
  } | null;
282
492
  };
283
493
  /** @enum {string} */
284
- DvConfigThreshold: "documentScorePercent" | "portraitMatchPercent";
494
+ DvConfigThreshold: "documentScorePercent";
285
495
  /** @enum {string} */
286
- DvReason: "UNKNOWN" | "WRONG_DOCUMENT_TYPE" | "COUNTRY_FILTER" | "FACE_MATCH_CHECK" | "FACE_MATCH_CHECK_ONE_CLICK" | "OVERALL_STATUS" | "DOCUMENT_COUNTRY_MISMATCH" | "DOCUMENT_COUNTRY_MISSING" | "DATE_OF_EXPIRY_NOT_VALID" | "DATE_OF_EXPIRY_NOT_READABLE" | "DATE_OF_EXPIRY_FIELD_MISSING" | "DOCUMENT_ALREADY_USED_BY_ANOTHER_USER" | "DOCUMENT_FINGERPRINT_COMPUTATION" | "SECURITY_CHECK_FAILED" | "DOCUMENT_SCORE_BELOW_THRESHOLD" | "DOCUMENT_TYPE_NOT_DEFINED" | "LIVENESS_CHECK_FAILED" | "DOCUMENT_NOT_FOUND" | "DATE_OF_BIRTH_BELOW_MINIMUM_AGE" | "DOCUMENT_TYPE_CHECK";
496
+ DvReason: "UNKNOWN" | "WRONG_DOCUMENT_TYPE" | "COUNTRY_FILTER" | "FACE_MATCH_CHECK" | "FACE_MATCH_CHECK_ONE_CLICK" | "OVERALL_STATUS" | "DOCUMENT_COUNTRY_MISMATCH" | "DOCUMENT_COUNTRY_MISSING" | "DATE_OF_EXPIRY_NOT_VALID" | "DATE_OF_EXPIRY_NOT_READABLE" | "DATE_OF_EXPIRY_FIELD_MISSING" | "DOCUMENT_ALREADY_USED_BY_ANOTHER_USER" | "DOCUMENT_FINGERPRINT_COMPUTATION" | "SECURITY_CHECK_FAILED" | "DOCUMENT_SCORE_BELOW_THRESHOLD" | "DOCUMENT_TYPE_NOT_DEFINED" | "LIVENESS_CHECK_FAILED" | "DOCUMENT_NOT_FOUND" | "DATE_OF_BIRTH_BELOW_MINIMUM_AGE" | "DOCUMENT_TYPE_CHECK" | "ELECTRONIC_DEVICE" | "SECURITY_TEXT" | "IMAGE_PATTERNS" | "PHOTO_EMBEDDINGS" | "BLACK_AND_WHITE_COPY" | "UNIQUENESS_CHECK" | "REQUIRED_FIELDS_MISMATCH";
287
497
  DvResult: {
498
+ adminComment?: string | null;
499
+ authenticityChecks: number[][];
288
500
  browser?: string | null;
289
501
  class?: string | null;
502
+ countryCode?: string | null;
290
503
  /** Format: date-time */
291
504
  createdAt?: string | null;
292
505
  data: {
293
506
  [key: string]: unknown;
294
507
  };
508
+ /** Format: uuid */
295
509
  documentId?: string | null;
296
510
  /** Format: int32 */
297
511
  documentScorePercent?: number | null;
298
512
  /** Format: int32 */
299
513
  documentType?: number | null;
300
- firstName?: string | null;
301
514
  flowStep?: Omit<components["schemas"]["FlowStep"], "type"> | null;
515
+ /** Format: uuid */
516
+ flowStepId?: string | null;
517
+ /** Format: uuid */
302
518
  id: string;
303
- lastName?: string | null;
519
+ /** Format: date-time */
520
+ manualReviewAt?: string | null;
521
+ manualReviewNote?: string | null;
522
+ /** Format: uuid */
523
+ manualReviewerId?: string | null;
524
+ manualReviewerZid?: string | null;
525
+ /** Format: uuid */
526
+ originalVrHistoryId?: string | null;
304
527
  platform?: string | null;
305
528
  /** Format: int32 */
306
529
  portraitMatchPercent?: number | null;
307
530
  processAdditionalData: {
308
531
  [key: string]: unknown;
309
532
  };
533
+ provinceCode?: string | null;
310
534
  reasons: components["schemas"]["DvReason"][];
311
535
  status: components["schemas"]["ResultStatus"];
312
536
  /** Format: date-time */
313
537
  updatedAt?: string | null;
538
+ /** Format: uuid */
314
539
  verificationRequestId?: string | null;
315
540
  };
316
541
  /** @enum {string} */
317
- ErrorTags: "unexpected" | "bad_request" | "permission_denied" | "request_deserialization" | "database" | "invalid_email_or_password" | "user_not_confirmed" | "verify_password" | "send_email" | "open_session" | "read_session" | "close_session" | "authentication_request_not_found" | "invalid_magic_link" | "user_disabled" | "invalid_verify_link" | "missing_authorization_header" | "invalid_authorization_header" | "token_generation" | "user_not_found" | "authentication_request_expired" | "authentication_request_already_used" | "verification_session_expired" | "email_already_taken" | "invalid_invite" | "wrong_invite_user" | "invite_not_found" | "email_already_verified" | "flow_not_found" | "organization_not_found" | "storage" | "verification_request_not_found" | "document_reader" | "websocket" | "organization_settings_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_revoked" | "invite_expired" | "form_not_found" | "form_in_use" | "flow_step_configuration_not_found" | "organization_product_not_active" | "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";
542
+ ErrorTags: "unexpected" | "bad_request" | "permission_denied" | "request_deserialization" | "database" | "invalid_email_or_password" | "user_not_confirmed" | "verify_password" | "send_email" | "open_session" | "read_session" | "close_session" | "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" | "storage" | "verification_request_not_found" | "document_reader" | "websocket" | "organization_settings_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" | "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" | "parse_error" | "inviter_organization_not_found" | "forbidden" | "passkey_authentication" | "internal";
543
+ FieldControlOperation: {
544
+ /** Format: uuid */
545
+ identityId: string;
546
+ operation: components["schemas"]["FieldControlOperationType"];
547
+ /** Format: date-time */
548
+ timestamp: string;
549
+ zid: string;
550
+ };
551
+ FieldControlOperationType: {
552
+ markAsFalsePositive: {
553
+ comment: string;
554
+ };
555
+ } | {
556
+ unmarkAsFalsePositive: {
557
+ comment: string;
558
+ };
559
+ } | {
560
+ comment: {
561
+ comment: string;
562
+ };
563
+ };
564
+ FieldWithControl: {
565
+ controls: components["schemas"]["FieldControlOperation"][];
566
+ value: string[];
567
+ };
568
+ FileOptions: {
569
+ accept: string[];
570
+ expectedDocumentType: string;
571
+ };
318
572
  /** @enum {string} */
319
573
  FilterOperator: "unfiltered" | "in" | "equals" | "not-in" | "not-equals" | "contains";
320
574
  Flow: {
321
575
  /** Format: date-time */
322
576
  createdAt?: string | null;
323
- extendedWebhook: boolean;
324
577
  failureUrl?: string | null;
578
+ /** Format: uuid */
325
579
  id: string;
326
580
  name: string;
327
581
  slug: string;
@@ -342,23 +596,30 @@ export interface components {
342
596
  flow?: components["schemas"]["Flow"] | null;
343
597
  flowSlug: string;
344
598
  formResults: components["schemas"]["FormResult"][];
599
+ /** Format: uuid */
345
600
  id: string;
346
601
  identity?: components["schemas"]["Identity"] | null;
347
602
  kybResults: components["schemas"]["KybResult"][];
348
603
  organization?: components["schemas"]["Organization"] | null;
604
+ /** Format: uuid */
349
605
  organizationId: string;
606
+ phoneResults: components["schemas"]["PhoneResult"][];
350
607
  poaResults: components["schemas"]["PoaResult"][];
351
608
  spidResults: components["schemas"]["SpidResult"][];
352
609
  /** Format: date-time */
353
610
  updatedAt?: string | null;
611
+ walletResults: components["schemas"]["WalletResult"][];
354
612
  };
355
613
  FlowStep: {
356
614
  config: components["schemas"]["DvConfig"];
357
615
  /** Format: date-time */
358
616
  createdAt?: string | null;
359
617
  failureUrl?: string | null;
618
+ /** Format: uuid */
360
619
  flowId: string;
620
+ /** Format: uuid */
361
621
  gotoStepId?: string | null;
622
+ /** Format: uuid */
362
623
  id: string;
363
624
  name: string;
364
625
  /** Format: int32 */
@@ -374,8 +635,11 @@ export interface components {
374
635
  /** Format: date-time */
375
636
  createdAt?: string | null;
376
637
  failureUrl?: string | null;
638
+ /** Format: uuid */
377
639
  flowId: string;
640
+ /** Format: uuid */
378
641
  gotoStepId?: string | null;
642
+ /** Format: uuid */
379
643
  id: string;
380
644
  name: string;
381
645
  /** Format: int32 */
@@ -391,8 +655,11 @@ export interface components {
391
655
  /** Format: date-time */
392
656
  createdAt?: string | null;
393
657
  failureUrl?: string | null;
658
+ /** Format: uuid */
394
659
  flowId: string;
660
+ /** Format: uuid */
395
661
  gotoStepId?: string | null;
662
+ /** Format: uuid */
396
663
  id: string;
397
664
  name: string;
398
665
  /** Format: int32 */
@@ -408,8 +675,11 @@ export interface components {
408
675
  /** Format: date-time */
409
676
  createdAt?: string | null;
410
677
  failureUrl?: string | null;
678
+ /** Format: uuid */
411
679
  flowId: string;
680
+ /** Format: uuid */
412
681
  gotoStepId?: string | null;
682
+ /** Format: uuid */
413
683
  id: string;
414
684
  name: string;
415
685
  /** Format: int32 */
@@ -425,8 +695,11 @@ export interface components {
425
695
  /** Format: date-time */
426
696
  createdAt?: string | null;
427
697
  failureUrl?: string | null;
698
+ /** Format: uuid */
428
699
  flowId: string;
700
+ /** Format: uuid */
429
701
  gotoStepId?: string | null;
702
+ /** Format: uuid */
430
703
  id: string;
431
704
  name: string;
432
705
  /** Format: int32 */
@@ -437,14 +710,138 @@ export interface components {
437
710
  type: "SPID";
438
711
  /** Format: date-time */
439
712
  updatedAt?: string | null;
713
+ } | {
714
+ config: components["schemas"]["PhoneConfig"];
715
+ /** Format: date-time */
716
+ createdAt?: string | null;
717
+ failureUrl?: string | null;
718
+ /** Format: uuid */
719
+ flowId: string;
720
+ /** Format: uuid */
721
+ gotoStepId?: string | null;
722
+ /** Format: uuid */
723
+ id: string;
724
+ name: string;
725
+ /** Format: int32 */
726
+ order: number;
727
+ slug: string;
728
+ successUrl?: string | null;
729
+ /** @enum {string} */
730
+ type: "PHONE";
731
+ /** Format: date-time */
732
+ updatedAt?: string | null;
733
+ } | {
734
+ config: components["schemas"]["WalletConfig"];
735
+ /** Format: date-time */
736
+ createdAt?: string | null;
737
+ failureUrl?: string | null;
738
+ /** Format: uuid */
739
+ flowId: string;
740
+ /** Format: uuid */
741
+ gotoStepId?: string | null;
742
+ /** Format: uuid */
743
+ id: string;
744
+ name: string;
745
+ /** Format: int32 */
746
+ order: number;
747
+ slug: string;
748
+ successUrl?: string | null;
749
+ /** @enum {string} */
750
+ type: "WALLET";
751
+ /** Format: date-time */
752
+ updatedAt?: string | null;
753
+ } | {
754
+ config: components["schemas"]["LivenessConfig"];
755
+ /** Format: date-time */
756
+ createdAt?: string | null;
757
+ failureUrl?: string | null;
758
+ /** Format: uuid */
759
+ flowId: string;
760
+ /** Format: uuid */
761
+ gotoStepId?: string | null;
762
+ /** Format: uuid */
763
+ id: string;
764
+ name: string;
765
+ /** Format: int32 */
766
+ order: number;
767
+ slug: string;
768
+ successUrl?: string | null;
769
+ /** @enum {string} */
770
+ type: "LIVENESS";
771
+ /** Format: date-time */
772
+ updatedAt?: string | null;
773
+ } | {
774
+ config: components["schemas"]["AutoOneClickKycConfig"];
775
+ /** Format: date-time */
776
+ createdAt?: string | null;
777
+ failureUrl?: string | null;
778
+ /** Format: uuid */
779
+ flowId: string;
780
+ /** Format: uuid */
781
+ gotoStepId?: string | null;
782
+ /** Format: uuid */
783
+ id: string;
784
+ name: string;
785
+ /** Format: int32 */
786
+ order: number;
787
+ slug: string;
788
+ successUrl?: string | null;
789
+ /** @enum {string} */
790
+ type: "AUTO_ONE_CLICK_KYC";
791
+ /** Format: date-time */
792
+ updatedAt?: string | null;
793
+ } | {
794
+ config: components["schemas"]["OrchestratorConfig"];
795
+ /** Format: date-time */
796
+ createdAt?: string | null;
797
+ failureUrl?: string | null;
798
+ /** Format: uuid */
799
+ flowId: string;
800
+ /** Format: uuid */
801
+ gotoStepId?: string | null;
802
+ /** Format: uuid */
803
+ id: string;
804
+ name: string;
805
+ /** Format: int32 */
806
+ order: number;
807
+ slug: string;
808
+ successUrl?: string | null;
809
+ /** @enum {string} */
810
+ type: "ORCHESTRATOR";
811
+ /** Format: date-time */
812
+ updatedAt?: string | null;
813
+ };
814
+ FlowStepConfig: components["schemas"]["AutoOneClickKycConfig"] | components["schemas"]["DvConfig"] | components["schemas"]["FormConfig"] | components["schemas"]["PoaConfig"] | components["schemas"]["KybConfig"] | components["schemas"]["WalletConfig"] | components["schemas"]["LivenessConfig"] | components["schemas"]["OrchestratorConfig"] | components["schemas"]["SpidConfig"] | components["schemas"]["PhoneConfig"];
815
+ FlowStepInfo: {
816
+ CONFIG: components["schemas"]["FlowStepConfig"];
817
+ /** Format: date-time */
818
+ CREATED_AT?: string | null;
819
+ FAILURE_URL?: string | null;
820
+ /** Format: uuid */
821
+ FLOW_ID: string;
822
+ /** Format: uuid */
823
+ GOTO_STEP_ID?: string | null;
824
+ /** Format: uuid */
825
+ ID: string;
826
+ NAME: string;
827
+ /** Format: int32 */
828
+ ORDER: number;
829
+ SLUG: string;
830
+ STEP_TYPE: components["schemas"]["FlowStepType"];
831
+ SUCCESS_URL?: string | null;
832
+ /** Format: date-time */
833
+ UPDATED_AT?: string | null;
440
834
  };
441
- FlowStepConfig: components["schemas"]["DvConfig"] | components["schemas"]["FormConfig"] | components["schemas"]["PoaConfig"] | components["schemas"]["KybConfig"] | components["schemas"]["SpidConfig"];
835
+ /** @enum {string} */
836
+ FlowStepType: "DV" | "FORM" | "POA" | "KYB" | "SPID" | "PHONE" | "WALLET" | "LIVENESS" | "AUTO_ONE_CLICK_KYC" | "ORCHESTRATOR";
442
837
  Form: {
443
838
  /** Format: date-time */
444
839
  createdAt?: string | null;
445
840
  description?: string | null;
841
+ /** Format: uuid */
446
842
  id: string;
447
843
  name: string;
844
+ /** Format: uuid */
448
845
  organizationId: string;
449
846
  sections: components["schemas"]["FormSection"][];
450
847
  /** Format: date-time */
@@ -458,6 +855,7 @@ export interface components {
458
855
  };
459
856
  FormConfig: {
460
857
  form?: components["schemas"]["Form"] | null;
858
+ /** Format: uuid */
461
859
  formId: string;
462
860
  /** @example { "default": "Next step" } */
463
861
  labels?: {
@@ -481,16 +879,20 @@ export interface components {
481
879
  FormResult: {
482
880
  /** Format: date-time */
483
881
  createdAt?: string | null;
882
+ /** Format: uuid */
484
883
  flowResultId: string;
485
884
  flowStep?: Omit<components["schemas"]["FlowStep"], "type"> | null;
885
+ /** Format: uuid */
486
886
  flowStepId?: string | null;
487
887
  form?: components["schemas"]["Form"] | null;
888
+ /** Format: uuid */
488
889
  id: string;
489
890
  reason?: components["schemas"]["FormReason"] | null;
490
891
  sections: components["schemas"]["FormSection"][];
491
892
  status: components["schemas"]["ResultStatus"];
492
893
  /** Format: date-time */
493
894
  updatedAt?: string | null;
895
+ /** Format: uuid */
494
896
  verificationRequestId?: string | null;
495
897
  };
496
898
  FormSection: {
@@ -511,26 +913,44 @@ export interface components {
511
913
  };
512
914
  GetFullFlowResponse: {
513
915
  flow: components["schemas"]["Flow"];
916
+ flowPartnerOrganizationsNames?: string[] | null;
917
+ /** Format: uuid */
918
+ organizationId: string;
514
919
  organizationName: string;
515
920
  settings: components["schemas"]["Settings"];
516
921
  };
922
+ GetNextStepPayload: {
923
+ email: string;
924
+ };
925
+ GetNextStepResponse: {
926
+ isCompleted: boolean;
927
+ nextStep?: Omit<components["schemas"]["FlowStep"], "type"> | null;
928
+ };
517
929
  GetVerificationRequestResponse: {
518
930
  identity: components["schemas"]["Identity"];
931
+ passkey?: components["schemas"]["VaultUnlockPasskeyData"] | null;
519
932
  verificationRequest: components["schemas"]["VerificationRequest"];
520
933
  };
521
934
  Identity: {
522
935
  /** Format: date-time */
523
936
  createdAt?: string | null;
937
+ /** Format: uuid */
524
938
  defaultOrganizationId?: string | null;
525
939
  email: string;
526
940
  emailVerified: boolean;
941
+ /** Format: uuid */
527
942
  id: string;
528
943
  isActive: boolean;
529
944
  role: components["schemas"]["Role"];
945
+ settings: components["schemas"]["IdentitySettings"];
530
946
  /** Format: date-time */
531
947
  updatedAt?: string | null;
532
948
  zid: string;
533
949
  };
950
+ IdentitySettings: {
951
+ lastEnvironmentIsSandbox?: boolean;
952
+ locale: components["schemas"]["Locale"];
953
+ };
534
954
  Image: {
535
955
  /** Format: int32 */
536
956
  containerType: number;
@@ -546,21 +966,92 @@ export interface components {
546
966
  [key: string]: string;
547
967
  };
548
968
  name: string;
549
- options: {
969
+ options: unknown;
970
+ required: boolean;
971
+ /** @enum {string} */
972
+ type: "date";
973
+ value?: unknown;
974
+ } | {
975
+ label: {
550
976
  [key: string]: string;
551
977
  };
978
+ name: string;
979
+ options: unknown;
552
980
  required: boolean;
553
- type: components["schemas"]["InputFieldType"];
981
+ /** @enum {string} */
982
+ type: "text";
554
983
  value?: unknown;
555
- };
556
- /** @enum {string} */
557
- InputFieldType: "date" | "text" | "textarea" | "checkbox";
558
- KybConfig: {
984
+ } | {
985
+ label: {
986
+ [key: string]: string;
987
+ };
988
+ name: string;
989
+ options: unknown;
990
+ required: boolean;
991
+ /** @enum {string} */
992
+ type: "textarea";
993
+ value?: unknown;
994
+ } | {
995
+ label: {
996
+ [key: string]: string;
997
+ };
998
+ name: string;
999
+ options: unknown;
1000
+ required: boolean;
1001
+ /** @enum {string} */
1002
+ type: "checkbox";
1003
+ value?: unknown;
1004
+ } | {
1005
+ label: {
1006
+ [key: string]: string;
1007
+ };
1008
+ name: string;
1009
+ options: components["schemas"]["FileOptions"];
1010
+ required: boolean;
1011
+ /** @enum {string} */
1012
+ type: "file";
1013
+ value?: unknown;
1014
+ } | {
1015
+ label: {
1016
+ [key: string]: string;
1017
+ };
1018
+ name: string;
1019
+ /** @description Option labels for select fields: maps option value/UUID to localized labels */
1020
+ optionLabels: {
1021
+ [key: string]: {
1022
+ [key: string]: string;
1023
+ };
1024
+ };
1025
+ options: components["schemas"]["SelectOptions"];
1026
+ required: boolean;
1027
+ /** @enum {string} */
1028
+ type: "select";
1029
+ value?: unknown;
1030
+ };
1031
+ InputFieldOptions: components["schemas"]["FileOptions"] | components["schemas"]["SelectOptions"] | unknown;
1032
+ /** @enum {string} */
1033
+ InputFieldType: "date" | "text" | "textarea" | "checkbox" | "file" | "select";
1034
+ KybConfig: {
1035
+ articlesOfAssociation?: components["schemas"]["DocumentConfig"] | null;
1036
+ certificateOfIncorporation?: components["schemas"]["DocumentConfig"] | null;
1037
+ /**
1038
+ * @default false
1039
+ * @example false
1040
+ */
1041
+ collectDirectors: boolean;
1042
+ customDocuments?: components["schemas"]["CustomDocumentConfig"][] | null;
1043
+ /** Format: uuid */
559
1044
  kycFlowId: string;
560
1045
  /** @example { "default": "Next step" } */
561
1046
  labels?: {
562
1047
  [key: string]: string;
563
1048
  };
1049
+ /**
1050
+ * Format: int32
1051
+ * @default 10
1052
+ * @example 3
1053
+ */
1054
+ maxDirectors: number;
564
1055
  /**
565
1056
  * Format: int32
566
1057
  * @default 10
@@ -573,13 +1064,18 @@ export interface components {
573
1064
  * @example 3
574
1065
  */
575
1066
  maxUbos: number;
1067
+ organizationalStructureChart?: components["schemas"]["DocumentConfig"] | null;
576
1068
  };
577
1069
  KybResult: {
578
1070
  businessInformation?: components["schemas"]["BusinessInformation"] | null;
579
1071
  /** Format: date-time */
580
1072
  createdAt?: string | null;
1073
+ directorDefinitions?: components["schemas"]["DirectorDefinition"][] | null;
581
1074
  documentUploads?: components["schemas"]["DocumentUpload"][] | null;
582
1075
  flowStep?: Omit<components["schemas"]["FlowStep"], "type"> | null;
1076
+ /** Format: uuid */
1077
+ flowStepId?: string | null;
1078
+ /** Format: uuid */
583
1079
  id: string;
584
1080
  pepAndSanctionsStatus: components["schemas"]["PepAndSanctionsStatus"];
585
1081
  reason?: string | null;
@@ -588,10 +1084,35 @@ export interface components {
588
1084
  uboDefinitions?: components["schemas"]["UboDefinition"][] | null;
589
1085
  /** Format: date-time */
590
1086
  updatedAt?: string | null;
1087
+ /** Format: uuid */
591
1088
  verificationRequestId?: string | null;
592
1089
  };
1090
+ LivenessConfig: {
1091
+ /** @description When `true` the liveness step also performs a biometric match against the stored portrait.
1092
+ * Set to `false` to keep the liveness UX but skip biometric verification. */
1093
+ biometricCheckEnabled?: boolean | null;
1094
+ /** Format: uuid */
1095
+ documentStepId: string;
1096
+ /** @example { "en_button_label": "Next step" } */
1097
+ labels?: {
1098
+ [key: string]: string;
1099
+ };
1100
+ /**
1101
+ * Format: int32
1102
+ * @example 5
1103
+ */
1104
+ maxAttempts?: number | null;
1105
+ thresholds?: {
1106
+ [key: string]: number;
1107
+ } | null;
1108
+ };
593
1109
  /** @enum {string} */
594
- Locale: "en";
1110
+ LivenessConfigThreshold: "portraitMatchPercent" | "biometricMatchPercent";
1111
+ /**
1112
+ * @description Locale identifier
1113
+ * @enum {string}
1114
+ */
1115
+ Locale: "en" | "it" | "de" | "es" | "fr" | "hi" | "id" | "pt";
595
1116
  ModerateKybResultPayload: {
596
1117
  pepAndSanctionsStatus?: components["schemas"]["PepAndSanctionsStatusField"] | null;
597
1118
  /** Format: binary */
@@ -602,14 +1123,46 @@ export interface components {
602
1123
  success: boolean;
603
1124
  };
604
1125
  /** @enum {string} */
605
- ModerationResultStatus: "ACQUIRING" | "PENDING_MODERATION" | "SUCCESS" | "FAILED";
1126
+ ModerationResultStatus: "ACQUIRING" | "PENDING_MODERATION" | "REVIEW_REQUIRED" | "SUCCESS" | "FAILED";
606
1127
  ModerationResultStatusField: components["schemas"]["ModerationResultStatus"];
1128
+ OrchestratorCondition: {
1129
+ /** @description Country codes to match (ISO Alpha-2), or ["*"] for any */
1130
+ countryCodes: string[];
1131
+ /** @description Document types to match, or None for any */
1132
+ documentTypes?: components["schemas"]["OrchestratorDocumentType"][] | null;
1133
+ /**
1134
+ * Format: uuid
1135
+ * @description Target flow ID to redirect to
1136
+ */
1137
+ targetFlowId: string;
1138
+ };
1139
+ OrchestratorConfig: {
1140
+ /** @description Whether to collect document type from user (required field for untagged deserialization) */
1141
+ collectDocumentType: boolean;
1142
+ /** @description Ordered list of conditions (first match wins) */
1143
+ conditions?: components["schemas"]["OrchestratorCondition"][];
1144
+ /**
1145
+ * Format: uuid
1146
+ * @description Default fallback flow ID if no conditions match (the "else" case)
1147
+ */
1148
+ defaultFlowId?: string | null;
1149
+ /**
1150
+ * @description UI labels
1151
+ * @example { "en_title": "Select your country" }
1152
+ */
1153
+ labels?: {
1154
+ [key: string]: string;
1155
+ };
1156
+ };
1157
+ /** @enum {string} */
1158
+ OrchestratorDocumentType: "ID_CARD" | "DRIVER_LICENSE" | "PASSPORT";
607
1159
  Organization: {
608
1160
  address: string;
609
1161
  country: string;
610
1162
  /** Format: date-time */
611
1163
  createdAt?: string | null;
612
1164
  email: string;
1165
+ /** Format: uuid */
613
1166
  id: string;
614
1167
  industry?: string | null;
615
1168
  name: string;
@@ -650,6 +1203,29 @@ export interface components {
650
1203
  placeOfBirth?: string;
651
1204
  surname: string;
652
1205
  };
1206
+ PhoneConfig: {
1207
+ /** @example { "default": "Next step" } */
1208
+ labels?: {
1209
+ [key: string]: string;
1210
+ };
1211
+ };
1212
+ PhoneResult: {
1213
+ /** Format: date-time */
1214
+ createdAt?: string | null;
1215
+ /** Format: uuid */
1216
+ flowResultId: string;
1217
+ flowStep?: Omit<components["schemas"]["FlowStep"], "type"> | null;
1218
+ /** Format: uuid */
1219
+ flowStepId?: string | null;
1220
+ /** Format: uuid */
1221
+ id: string;
1222
+ phoneNumberLast4: string;
1223
+ status: components["schemas"]["ResultStatus"];
1224
+ /** Format: date-time */
1225
+ updatedAt?: string | null;
1226
+ /** Format: uuid */
1227
+ verificationRequestId?: string | null;
1228
+ };
653
1229
  Plaintext: {
654
1230
  text: {
655
1231
  [key: string]: string;
@@ -668,22 +1244,27 @@ export interface components {
668
1244
  maxAgeDays?: number;
669
1245
  };
670
1246
  /** @enum {string} */
671
- PoaDocumentType: "PAY_SLIP" | "UTILITY_BILL" | "FINANCIAL_DOCUMENT" | "RECEIPT" | "INVOICE" | "BANK_DOCUMENT";
1247
+ PoaDocumentType: "PAY_SLIP" | "UTILITY_BILL" | "FINANCIAL_DOCUMENT" | "RECEIPT" | "INVOICE" | "BANK_DOCUMENT" | "TAX_CLEARANCE_CERTIFICATE" | "HOUSEHOLD_REGISTER" | "CERTIFICATE_OF_RESIDENCE" | "OTHER";
672
1248
  /** @enum {string} */
673
- PoaReason: "UNKNOWN" | "DOCUMENT_TYPE_NOT_ALLOWED" | "NAME_MISMATCH" | "DATE_TOO_OLD" | "INVALID_DOCUMENT";
1249
+ PoaReason: "UNKNOWN" | "DOCUMENT_TYPE_NOT_ALLOWED" | "NAME_MISMATCH" | "DATE_TOO_OLD" | "INVALID_DOCUMENT" | "UNRECOGNIZED_ADDRESS";
674
1250
  PoaResult: {
675
1251
  /** Format: date-time */
676
1252
  checkedAt?: string | null;
677
1253
  /** Format: date-time */
678
1254
  createdAt: string;
1255
+ /** Format: uuid */
679
1256
  documentId?: string | null;
680
1257
  documentType?: components["schemas"]["PoaDocumentType"] | null;
681
1258
  flowStep?: Omit<components["schemas"]["FlowStep"], "type"> | null;
1259
+ /** Format: uuid */
1260
+ flowStepId?: string | null;
1261
+ /** Format: uuid */
682
1262
  id: string;
683
1263
  reason?: components["schemas"]["PoaReason"] | null;
684
1264
  status: components["schemas"]["ResultStatus"];
685
1265
  /** Format: date-time */
686
1266
  updatedAt: string;
1267
+ /** Format: uuid */
687
1268
  verificationRequestId?: string | null;
688
1269
  };
689
1270
  ProcessAddressDocumentRequest: {
@@ -692,20 +1273,59 @@ export interface components {
692
1273
  };
693
1274
  ProcessAddressDocumentResponse: {
694
1275
  jobId: string;
1276
+ /** Format: uuid */
695
1277
  verificationRequestId: string;
696
- websocketNamespace: string;
1278
+ };
1279
+ ProcessImagesOverrides: {
1280
+ authParams?: {
1281
+ [key: string]: unknown;
1282
+ } | null;
1283
+ checkAuth?: boolean | null;
1284
+ scenario?: string | null;
697
1285
  };
698
1286
  /** @enum {string} */
699
- ProductType: "UNKNOWN" | "KYC" | "KYB" | "PRODUCTION_MODE" | "SPID" | "EXPORT_API" | "EXPORT_UI";
1287
+ ProductType: "UNKNOWN" | "KYC" | "KYB" | "KYC_PASSPORT" | "SPID" | "PHONE" | "WALLET" | "EXPORT_API" | "EXPORT_UI" | "BUSINESS_VERIFICATION";
700
1288
  /** @enum {string} */
701
- ResultStatus: "PASSED" | "FAILED";
1289
+ RequiredDocumentField: "firstName" | "middleName" | "lastName" | "dateOfBirth" | "phone" | "email" | "street" | "city" | "state" | "postcode" | "country" | "socialSecurityNumber";
1290
+ ResultControlOperation: {
1291
+ /** Format: uuid */
1292
+ identityId: string;
1293
+ operation: components["schemas"]["ResultControlOperationType"];
1294
+ /** Format: date-time */
1295
+ timestamp: string;
1296
+ zid: string;
1297
+ };
1298
+ ResultControlOperationType: {
1299
+ approve: {
1300
+ reason?: string | null;
1301
+ };
1302
+ } | {
1303
+ reject: {
1304
+ reason?: string | null;
1305
+ };
1306
+ } | {
1307
+ escalate: {
1308
+ reason?: string | null;
1309
+ };
1310
+ };
1311
+ /** @enum {string} */
1312
+ ResultStatus: "PASSED" | "FAILED" | "PARTIAL" | "REQUIRES_MANUAL_REVIEW" | "REQUIRES_ADMIN_REVIEW";
702
1313
  /** @enum {string} */
703
- Role: "GUEST" | "USER" | "ADMIN";
1314
+ RiskLevel: "low" | "medium" | "high" | "critical";
1315
+ RiskScore: {
1316
+ riskLevel: components["schemas"]["RiskLevel"];
1317
+ /** Format: int32 */
1318
+ riskScorePercent: number;
1319
+ sourcesCount: number;
1320
+ };
1321
+ /** @enum {string} */
1322
+ Role: "ANONYMOUS" | "GUEST" | "USER" | "ADMIN" | "SDK";
704
1323
  SdkCreateVerificationRequestPayload: {
705
1324
  customData?: {
706
1325
  [key: string]: unknown;
707
1326
  } | null;
708
1327
  email: string;
1328
+ /** Format: uuid */
709
1329
  flowStepId: string;
710
1330
  };
711
1331
  SdkCreateVerificationRequestResponse: {
@@ -714,9 +1334,12 @@ export interface components {
714
1334
  flowStepSlug: string;
715
1335
  isSandbox: boolean;
716
1336
  verificationRequest: components["schemas"]["VerificationRequest"];
717
- websocketNamespace: string;
718
1337
  zypheToken: string;
719
1338
  };
1339
+ SelectOptions: {
1340
+ isOtherAllowed: boolean;
1341
+ values: string[];
1342
+ };
720
1343
  Settings: {
721
1344
  /** Format: date-time */
722
1345
  createdAt?: string | null;
@@ -728,6 +1351,8 @@ export interface components {
728
1351
  updatedAt?: string | null;
729
1352
  webhookSecret?: string | null;
730
1353
  };
1354
+ /** @enum {string} */
1355
+ SiwxChain: "ETHEREUM" | "ETHEREUM_TESTNET" | "SOLANA" | "SOLANA_TESTNET";
731
1356
  SpidConfig: {
732
1357
  /** @example { "default": "Next step" } */
733
1358
  labels?: {
@@ -738,12 +1363,16 @@ export interface components {
738
1363
  /** Format: date-time */
739
1364
  createdAt?: string | null;
740
1365
  flowStep?: Omit<components["schemas"]["FlowStep"], "type"> | null;
1366
+ /** Format: uuid */
1367
+ flowStepId?: string | null;
1368
+ /** Format: uuid */
741
1369
  id: string;
742
1370
  path: string;
743
1371
  reason?: string | null;
744
1372
  status: components["schemas"]["ResultStatus"];
745
1373
  /** Format: date-time */
746
1374
  updatedAt?: string | null;
1375
+ /** Format: uuid */
747
1376
  verificationRequestId?: string | null;
748
1377
  };
749
1378
  SpidResultDetails: {
@@ -766,6 +1395,22 @@ export interface components {
766
1395
  spidCode?: string | null;
767
1396
  username?: string | null;
768
1397
  };
1398
+ StartPhoneVerificationRequest: {
1399
+ phoneNumberE164: string;
1400
+ };
1401
+ StartPhoneVerificationResponse: {
1402
+ /** Format: uuid */
1403
+ verificationRequestId: string;
1404
+ };
1405
+ StartWalletVerificationRequest: {
1406
+ address: string;
1407
+ chain: components["schemas"]["SiwxChain"];
1408
+ };
1409
+ StartWalletVerificationResponse: {
1410
+ message: string;
1411
+ /** Format: uuid */
1412
+ verificationRequestId: string;
1413
+ };
769
1414
  UboDefinition: {
770
1415
  country: string;
771
1416
  dateOfBirth: string;
@@ -774,8 +1419,23 @@ export interface components {
774
1419
  gender: string;
775
1420
  lastName: string;
776
1421
  };
1422
+ /**
1423
+ * Format: uuid
1424
+ * @description A UUID string
1425
+ */
1426
+ Uuid: string;
777
1427
  /** @enum {string} */
778
- 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_moderation_status_wrong" | "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";
1428
+ 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_moderation_status_wrong" | "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_not_found" | "validation_empty_parameter" | "validation_form_not_found";
1429
+ VaultUnlockPasskeyData: {
1430
+ /** @description Passkey challenge for vault unlock (base64url) */
1431
+ challenge: string;
1432
+ /** @description Credential ID for vault unlock (base64url-encoded) */
1433
+ credentialId: string;
1434
+ /** @description Passkey authentication options for vault unlock */
1435
+ options: Record<string, never>;
1436
+ /** @description PRF salt for vault unlock (base64url) */
1437
+ prfSalt: string;
1438
+ };
779
1439
  VerificationRequest: {
780
1440
  amlResult?: components["schemas"]["AmlResult"] | null;
781
1441
  /** Format: int32 */
@@ -786,40 +1446,101 @@ export interface components {
786
1446
  [key: string]: unknown;
787
1447
  };
788
1448
  dvResult?: components["schemas"]["DvResult"] | null;
1449
+ /** Format: uuid */
789
1450
  flowId: string;
1451
+ flowStep?: Omit<components["schemas"]["FlowStep"], "type"> | null;
1452
+ /** Format: uuid */
790
1453
  flowStepId: string;
791
1454
  formResult?: components["schemas"]["FormResult"] | null;
1455
+ /** Format: uuid */
792
1456
  id: string;
793
1457
  identity?: components["schemas"]["Identity"] | null;
1458
+ /** Format: uuid */
794
1459
  identityId: string;
795
1460
  kybResult?: components["schemas"]["KybResult"] | null;
1461
+ /** Format: uuid */
796
1462
  organizationId: string;
1463
+ phoneResult?: components["schemas"]["PhoneResult"] | null;
797
1464
  poaResult?: components["schemas"]["PoaResult"] | null;
798
1465
  reason?: string | null;
1466
+ replayerZid?: string | null;
799
1467
  spidResult?: components["schemas"]["SpidResult"] | null;
800
1468
  status: components["schemas"]["VerificationRequestStatus"];
801
1469
  /** Format: date-time */
802
1470
  updatedAt?: string | null;
1471
+ walletResult?: components["schemas"]["WalletResult"] | null;
803
1472
  };
804
1473
  /** @enum {string} */
805
- VerificationRequestStatus: "PENDING" | "COMPLETED" | "FAILED" | "CANCELLED" | "QUEUED" | "PROCESSING";
1474
+ VerificationRequestStatus: "PENDING" | "COMPLETED" | "FAILED" | "CANCELLED" | "QUEUED" | "PROCESSING" | "REQUIRES_MANUAL_REVIEW" | "REQUIRES_ADMIN_REVIEW" | "REJECTED";
1475
+ VerifyPhoneCodeRequest: {
1476
+ code: string;
1477
+ phoneNumberE164: string;
1478
+ };
1479
+ VerifyPhoneCodeResponse: {
1480
+ /** Format: uuid */
1481
+ verificationRequestId: string;
1482
+ };
1483
+ VerifyWalletSignatureRequest: {
1484
+ address: string;
1485
+ chain: components["schemas"]["SiwxChain"];
1486
+ signature: string;
1487
+ };
1488
+ VerifyWalletSignatureResponse: {
1489
+ /** Format: uuid */
1490
+ verificationRequestId: string;
1491
+ };
1492
+ WalletConfig: {
1493
+ chains: components["schemas"]["SiwxChain"][];
1494
+ /** @example { "default": "Next step" } */
1495
+ labels?: {
1496
+ [key: string]: string;
1497
+ };
1498
+ };
1499
+ WalletResult: {
1500
+ /** Format: date-time */
1501
+ createdAt?: string | null;
1502
+ /** Format: uuid */
1503
+ flowResultId: string;
1504
+ flowStep?: Omit<components["schemas"]["FlowStep"], "type"> | null;
1505
+ /** Format: uuid */
1506
+ flowStepId?: string | null;
1507
+ /** Format: uuid */
1508
+ id: string;
1509
+ message: string;
1510
+ reason?: string | null;
1511
+ signature: string;
1512
+ status: components["schemas"]["ResultStatus"];
1513
+ /** Format: date-time */
1514
+ updatedAt?: string | null;
1515
+ /** Format: uuid */
1516
+ verificationRequestId?: string | null;
1517
+ walletAddress: string;
1518
+ walletChain: string;
1519
+ };
806
1520
  ZypheApiKey: {
807
1521
  allowedOrigins: string[];
808
1522
  /** Format: date-time */
809
1523
  createdAt?: string | null;
810
1524
  description?: string | null;
1525
+ /** Format: uuid */
811
1526
  id: string;
812
1527
  key: string;
813
- keyType: string;
1528
+ keyType: components["schemas"]["ApiKeyType"];
814
1529
  name?: string | null;
815
1530
  options: {
816
1531
  [key: string]: unknown;
817
1532
  };
818
1533
  organization?: components["schemas"]["Organization"] | null;
1534
+ /** Format: uuid */
819
1535
  organizationId: string;
820
1536
  /** Format: date-time */
821
1537
  updatedAt?: string | null;
822
1538
  };
1539
+ /**
1540
+ * @description Locale identifier
1541
+ * @enum {string}
1542
+ */
1543
+ "zyphe_shared.types.Locale": "en" | "it" | "de" | "es" | "fr" | "hi" | "id" | "pt";
823
1544
  };
824
1545
  responses: never;
825
1546
  parameters: never;
@@ -831,9 +1552,9 @@ export type $defs = Record<string, never>;
831
1552
  export interface operations {
832
1553
  get_full_flow_details: {
833
1554
  parameters: {
834
- query?: {
835
- /** @description Whether to use sandbox mode */
836
- sandbox?: boolean | null;
1555
+ query: {
1556
+ sandbox: boolean;
1557
+ locale?: components["schemas"]["Locale"];
837
1558
  };
838
1559
  header?: never;
839
1560
  path: {
@@ -877,7 +1598,15 @@ export interface operations {
877
1598
  };
878
1599
  header?: never;
879
1600
  path: {
1601
+ /**
1602
+ * @description Flow ID
1603
+ * @example 123e4567-e89b-12d3-a456-426614174000
1604
+ */
880
1605
  flow_id: string;
1606
+ /**
1607
+ * @description Verification Request ID
1608
+ * @example 123e4567-e89b-12d3-a456-426614174000
1609
+ */
881
1610
  verification_request_id: string;
882
1611
  };
883
1612
  cookie?: never;
@@ -912,12 +1641,16 @@ export interface operations {
912
1641
  };
913
1642
  sdk_create_verification_request: {
914
1643
  parameters: {
915
- query?: {
916
- /** @description Whether to use sandbox mode */
917
- sandbox?: boolean | null;
1644
+ query: {
1645
+ sandbox: boolean;
1646
+ locale?: components["schemas"]["Locale"];
918
1647
  };
919
1648
  header?: never;
920
1649
  path: {
1650
+ /**
1651
+ * @description Flow ID
1652
+ * @example 123e4567-e89b-12d3-a456-426614174000
1653
+ */
921
1654
  flow_id: string;
922
1655
  };
923
1656
  cookie?: never;
@@ -962,14 +1695,71 @@ export interface operations {
962
1695
  };
963
1696
  };
964
1697
  };
1698
+ sdk_get_next_step: {
1699
+ parameters: {
1700
+ query: {
1701
+ sandbox: boolean;
1702
+ locale?: components["schemas"]["Locale"];
1703
+ email: string;
1704
+ };
1705
+ header?: never;
1706
+ path: {
1707
+ /**
1708
+ * @description Flow ID
1709
+ * @example 123e4567-e89b-12d3-a456-426614174000
1710
+ */
1711
+ flow_id: string;
1712
+ };
1713
+ cookie?: never;
1714
+ };
1715
+ requestBody?: never;
1716
+ responses: {
1717
+ 200: {
1718
+ headers: {
1719
+ [name: string]: unknown;
1720
+ };
1721
+ content: {
1722
+ "application/json": components["schemas"]["GetNextStepResponse"];
1723
+ };
1724
+ };
1725
+ 400: {
1726
+ headers: {
1727
+ [name: string]: unknown;
1728
+ };
1729
+ content: {
1730
+ "application/json": components["schemas"]["BaxeError"];
1731
+ };
1732
+ };
1733
+ 404: {
1734
+ headers: {
1735
+ [name: string]: unknown;
1736
+ };
1737
+ content: {
1738
+ "application/json": components["schemas"]["BaxeError"];
1739
+ };
1740
+ };
1741
+ 500: {
1742
+ headers: {
1743
+ [name: string]: unknown;
1744
+ };
1745
+ content: {
1746
+ "application/json": components["schemas"]["BaxeError"];
1747
+ };
1748
+ };
1749
+ };
1750
+ };
965
1751
  get_completed_verification_requests: {
966
1752
  parameters: {
967
- query?: {
968
- /** @description Whether to use sandbox mode */
969
- sandbox?: boolean | null;
1753
+ query: {
1754
+ sandbox: boolean;
1755
+ locale?: components["schemas"]["Locale"];
970
1756
  };
971
1757
  header?: never;
972
1758
  path: {
1759
+ /**
1760
+ * @description Flow ID
1761
+ * @example 123e4567-e89b-12d3-a456-426614174000
1762
+ */
973
1763
  flow_id: string;
974
1764
  };
975
1765
  cookie?: never;
@@ -996,14 +1786,27 @@ export interface operations {
996
1786
  };
997
1787
  get_sdk_flow_result_details: {
998
1788
  parameters: {
999
- query?: {
1000
- /** @description Whether to use sandbox mode */
1001
- sandbox?: boolean | null;
1789
+ query: {
1790
+ sandbox: boolean;
1791
+ locale?: components["schemas"]["Locale"];
1002
1792
  };
1003
1793
  header?: never;
1004
1794
  path: {
1795
+ /**
1796
+ * @description The ID of the organization
1797
+ * @example 123e4567-e89b-12d3-a456-426614174000
1798
+ */
1005
1799
  organization_id: string;
1800
+ /**
1801
+ * @description The ID of the flow result
1802
+ * @example 123e4567-e89b-12d3-a456-426614174000
1803
+ */
1006
1804
  flow_result_id: string;
1805
+ /**
1806
+ * @description The slug of the flow
1807
+ * @example kyc-flow
1808
+ */
1809
+ flow_slug: string;
1007
1810
  };
1008
1811
  cookie?: never;
1009
1812
  };
@@ -1053,14 +1856,31 @@ export interface operations {
1053
1856
  };
1054
1857
  get_sdk_dv_result_details: {
1055
1858
  parameters: {
1056
- query?: {
1057
- /** @description Whether to use sandbox mode */
1058
- sandbox?: boolean | null;
1859
+ query: {
1860
+ sandbox: boolean;
1861
+ locale?: components["schemas"]["Locale"];
1059
1862
  };
1060
1863
  header?: never;
1061
1864
  path: {
1865
+ /**
1866
+ * @description The ID of the organization
1867
+ * @example 123e4567-e89b-12d3-a456-426614174000
1868
+ */
1062
1869
  organization_id: string;
1870
+ /**
1871
+ * @description The ID of the flow result
1872
+ * @example 123e4567-e89b-12d3-a456-426614174000
1873
+ */
1063
1874
  flow_result_id: string;
1875
+ /**
1876
+ * @description The slug of the flow
1877
+ * @example flow-slug
1878
+ */
1879
+ flow_slug: string;
1880
+ /**
1881
+ * @description The ID of the DV result
1882
+ * @example 123e4567-e89b-12d3-a456-426614174000
1883
+ */
1064
1884
  dv_result_id: string;
1065
1885
  };
1066
1886
  cookie?: never;
@@ -1093,4 +1913,413 @@ export interface operations {
1093
1913
  };
1094
1914
  };
1095
1915
  };
1916
+ get_sdk_poa_result_details: {
1917
+ parameters: {
1918
+ query: {
1919
+ sandbox: boolean;
1920
+ locale?: components["schemas"]["Locale"];
1921
+ };
1922
+ header?: never;
1923
+ path: {
1924
+ /**
1925
+ * @description The ID of the organization
1926
+ * @example 123e4567-e89b-12d3-a456-426614174000
1927
+ */
1928
+ organization_id: string;
1929
+ /**
1930
+ * @description The ID of the flow result
1931
+ * @example 123e4567-e89b-12d3-a456-426614174000
1932
+ */
1933
+ flow_result_id: string;
1934
+ /**
1935
+ * @description The slug of the flow
1936
+ * @example flow-slug
1937
+ */
1938
+ flow_slug: string;
1939
+ /**
1940
+ * @description The ID of the POA result
1941
+ * @example 123e4567-e89b-12d3-a456-426614174000
1942
+ */
1943
+ poa_result_id: string;
1944
+ };
1945
+ cookie?: never;
1946
+ };
1947
+ requestBody?: never;
1948
+ responses: {
1949
+ 200: {
1950
+ headers: {
1951
+ [name: string]: unknown;
1952
+ };
1953
+ content: {
1954
+ "application/x-protobuf-stream": string;
1955
+ };
1956
+ };
1957
+ 404: {
1958
+ headers: {
1959
+ [name: string]: unknown;
1960
+ };
1961
+ content: {
1962
+ "application/json": components["schemas"]["BaxeError"];
1963
+ };
1964
+ };
1965
+ 500: {
1966
+ headers: {
1967
+ [name: string]: unknown;
1968
+ };
1969
+ content: {
1970
+ "application/json": components["schemas"]["BaxeError"];
1971
+ };
1972
+ };
1973
+ };
1974
+ };
1975
+ get_sdk_wallet_result_details: {
1976
+ parameters: {
1977
+ query: {
1978
+ sandbox: boolean;
1979
+ locale?: components["schemas"]["Locale"];
1980
+ };
1981
+ header?: never;
1982
+ path: {
1983
+ /**
1984
+ * @description The ID of the organization
1985
+ * @example 123e4567-e89b-12d3-a456-426614174000
1986
+ */
1987
+ organization_id: string;
1988
+ /**
1989
+ * @description The ID of the flow result
1990
+ * @example 123e4567-e89b-12d3-a456-426614174000
1991
+ */
1992
+ flow_result_id: string;
1993
+ /**
1994
+ * @description The slug of the flow
1995
+ * @example flow-slug
1996
+ */
1997
+ flow_slug: string;
1998
+ /**
1999
+ * @description The ID of the wallet result
2000
+ * @example 123e4567-e89b-12d3-a456-426614174000
2001
+ */
2002
+ wallet_result_id: string;
2003
+ };
2004
+ cookie?: never;
2005
+ };
2006
+ requestBody?: never;
2007
+ responses: {
2008
+ 200: {
2009
+ headers: {
2010
+ [name: string]: unknown;
2011
+ };
2012
+ content: {
2013
+ "application/json": components["schemas"]["WalletResult"];
2014
+ };
2015
+ };
2016
+ 404: {
2017
+ headers: {
2018
+ [name: string]: unknown;
2019
+ };
2020
+ content: {
2021
+ "application/json": components["schemas"]["BaxeError"];
2022
+ };
2023
+ };
2024
+ 500: {
2025
+ headers: {
2026
+ [name: string]: unknown;
2027
+ };
2028
+ content: {
2029
+ "application/json": components["schemas"]["BaxeError"];
2030
+ };
2031
+ };
2032
+ };
2033
+ };
2034
+ get_sdk_phone_result_details: {
2035
+ parameters: {
2036
+ query: {
2037
+ sandbox: boolean;
2038
+ locale?: components["schemas"]["Locale"];
2039
+ };
2040
+ header?: never;
2041
+ path: {
2042
+ /**
2043
+ * @description The ID of the organization
2044
+ * @example 123e4567-e89b-12d3-a456-426614174000
2045
+ */
2046
+ organization_id: string;
2047
+ /**
2048
+ * @description The ID of the flow result
2049
+ * @example 123e4567-e89b-12d3-a456-426614174000
2050
+ */
2051
+ flow_result_id: string;
2052
+ /**
2053
+ * @description The slug of the flow
2054
+ * @example flow-slug
2055
+ */
2056
+ flow_slug: string;
2057
+ /**
2058
+ * @description The ID of the phone result
2059
+ * @example 123e4567-e89b-12d3-a456-426614174000
2060
+ */
2061
+ phone_result_id: string;
2062
+ };
2063
+ cookie?: never;
2064
+ };
2065
+ requestBody?: never;
2066
+ responses: {
2067
+ 200: {
2068
+ headers: {
2069
+ [name: string]: unknown;
2070
+ };
2071
+ content: {
2072
+ "application/json": components["schemas"]["PhoneResult"];
2073
+ };
2074
+ };
2075
+ 404: {
2076
+ headers: {
2077
+ [name: string]: unknown;
2078
+ };
2079
+ content: {
2080
+ "application/json": components["schemas"]["BaxeError"];
2081
+ };
2082
+ };
2083
+ 500: {
2084
+ headers: {
2085
+ [name: string]: unknown;
2086
+ };
2087
+ content: {
2088
+ "application/json": components["schemas"]["BaxeError"];
2089
+ };
2090
+ };
2091
+ };
2092
+ };
2093
+ get_sdk_form_result_details: {
2094
+ parameters: {
2095
+ query: {
2096
+ sandbox: boolean;
2097
+ locale?: components["schemas"]["Locale"];
2098
+ };
2099
+ header?: never;
2100
+ path: {
2101
+ /**
2102
+ * @description The ID of the organization
2103
+ * @example 123e4567-e89b-12d3-a456-426614174000
2104
+ */
2105
+ organization_id: string;
2106
+ /**
2107
+ * @description The ID of the flow result
2108
+ * @example 123e4567-e89b-12d3-a456-426614174000
2109
+ */
2110
+ flow_result_id: string;
2111
+ /**
2112
+ * @description The slug of the flow
2113
+ * @example flow-slug
2114
+ */
2115
+ flow_slug: string;
2116
+ /**
2117
+ * @description The ID of the form result
2118
+ * @example 123e4567-e89b-12d3-a456-426614174000
2119
+ */
2120
+ form_result_id: string;
2121
+ };
2122
+ cookie?: never;
2123
+ };
2124
+ requestBody?: never;
2125
+ responses: {
2126
+ 200: {
2127
+ headers: {
2128
+ [name: string]: unknown;
2129
+ };
2130
+ content: {
2131
+ "application/json": components["schemas"]["FormResult"];
2132
+ };
2133
+ };
2134
+ 404: {
2135
+ headers: {
2136
+ [name: string]: unknown;
2137
+ };
2138
+ content: {
2139
+ "application/json": components["schemas"]["BaxeError"];
2140
+ };
2141
+ };
2142
+ 500: {
2143
+ headers: {
2144
+ [name: string]: unknown;
2145
+ };
2146
+ content: {
2147
+ "application/json": components["schemas"]["BaxeError"];
2148
+ };
2149
+ };
2150
+ };
2151
+ };
2152
+ get_sdk_flow_result_details_deprecated: {
2153
+ parameters: {
2154
+ query: {
2155
+ sandbox: boolean;
2156
+ locale?: components["schemas"]["Locale"];
2157
+ };
2158
+ header?: never;
2159
+ path: {
2160
+ /**
2161
+ * @description The ID of the organization
2162
+ * @example 123e4567-e89b-12d3-a456-426614174000
2163
+ */
2164
+ organization_id: string;
2165
+ /**
2166
+ * @description The ID of the flow result
2167
+ * @example 123e4567-e89b-12d3-a456-426614174000
2168
+ */
2169
+ flow_result_id: string;
2170
+ };
2171
+ cookie?: never;
2172
+ };
2173
+ requestBody?: never;
2174
+ responses: {
2175
+ 200: {
2176
+ headers: {
2177
+ [name: string]: unknown;
2178
+ };
2179
+ content: {
2180
+ "application/json": components["schemas"]["FlowResult"];
2181
+ };
2182
+ };
2183
+ 400: {
2184
+ headers: {
2185
+ [name: string]: unknown;
2186
+ };
2187
+ content: {
2188
+ "application/json": components["schemas"]["BaxeError"];
2189
+ };
2190
+ };
2191
+ 401: {
2192
+ headers: {
2193
+ [name: string]: unknown;
2194
+ };
2195
+ content: {
2196
+ "application/json": components["schemas"]["BaxeError"];
2197
+ };
2198
+ };
2199
+ 403: {
2200
+ headers: {
2201
+ [name: string]: unknown;
2202
+ };
2203
+ content: {
2204
+ "application/json": components["schemas"]["BaxeError"];
2205
+ };
2206
+ };
2207
+ 500: {
2208
+ headers: {
2209
+ [name: string]: unknown;
2210
+ };
2211
+ content: {
2212
+ "application/json": components["schemas"]["BaxeError"];
2213
+ };
2214
+ };
2215
+ };
2216
+ };
2217
+ get_sdk_dv_result_details_deprecated: {
2218
+ parameters: {
2219
+ query: {
2220
+ sandbox: boolean;
2221
+ locale?: components["schemas"]["Locale"];
2222
+ };
2223
+ header?: never;
2224
+ path: {
2225
+ /**
2226
+ * @description The ID of the organization
2227
+ * @example 123e4567-e89b-12d3-a456-426614174000
2228
+ */
2229
+ organization_id: string;
2230
+ /**
2231
+ * @description The ID of the flow result
2232
+ * @example 123e4567-e89b-12d3-a456-426614174000
2233
+ */
2234
+ flow_result_id: string;
2235
+ /**
2236
+ * @description The ID of the DV result
2237
+ * @example 123e4567-e89b-12d3-a456-426614174000
2238
+ */
2239
+ dv_result_id: string;
2240
+ };
2241
+ cookie?: never;
2242
+ };
2243
+ requestBody?: never;
2244
+ responses: {
2245
+ 200: {
2246
+ headers: {
2247
+ [name: string]: unknown;
2248
+ };
2249
+ content: {
2250
+ "application/x-protobuf-stream": string;
2251
+ };
2252
+ };
2253
+ 404: {
2254
+ headers: {
2255
+ [name: string]: unknown;
2256
+ };
2257
+ content: {
2258
+ "application/json": components["schemas"]["BaxeError"];
2259
+ };
2260
+ };
2261
+ 500: {
2262
+ headers: {
2263
+ [name: string]: unknown;
2264
+ };
2265
+ content: {
2266
+ "application/json": components["schemas"]["BaxeError"];
2267
+ };
2268
+ };
2269
+ };
2270
+ };
2271
+ get_sdk_poa_result_details_deprecated: {
2272
+ parameters: {
2273
+ query: {
2274
+ sandbox: boolean;
2275
+ locale?: components["schemas"]["Locale"];
2276
+ };
2277
+ header?: never;
2278
+ path: {
2279
+ /**
2280
+ * @description The ID of the organization
2281
+ * @example 123e4567-e89b-12d3-a456-426614174000
2282
+ */
2283
+ organization_id: string;
2284
+ /**
2285
+ * @description The ID of the flow result
2286
+ * @example 123e4567-e89b-12d3-a456-426614174000
2287
+ */
2288
+ flow_result_id: string;
2289
+ /**
2290
+ * @description The ID of the POA result
2291
+ * @example 123e4567-e89b-12d3-a456-426614174000
2292
+ */
2293
+ poa_result_id: string;
2294
+ };
2295
+ cookie?: never;
2296
+ };
2297
+ requestBody?: never;
2298
+ responses: {
2299
+ 200: {
2300
+ headers: {
2301
+ [name: string]: unknown;
2302
+ };
2303
+ content: {
2304
+ "application/x-protobuf-stream": string;
2305
+ };
2306
+ };
2307
+ 404: {
2308
+ headers: {
2309
+ [name: string]: unknown;
2310
+ };
2311
+ content: {
2312
+ "application/json": components["schemas"]["BaxeError"];
2313
+ };
2314
+ };
2315
+ 500: {
2316
+ headers: {
2317
+ [name: string]: unknown;
2318
+ };
2319
+ content: {
2320
+ "application/json": components["schemas"]["BaxeError"];
2321
+ };
2322
+ };
2323
+ };
2324
+ };
1096
2325
  }