@zyphe-sdk/core 0.1.14 → 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.json CHANGED
@@ -19,12 +19,20 @@
19
19
  {
20
20
  "name": "sandbox",
21
21
  "in": "query",
22
- "description": "Whether to use sandbox mode",
22
+ "required": true,
23
+ "schema": {
24
+ "type": "boolean"
25
+ },
26
+ "style": "form"
27
+ },
28
+ {
29
+ "name": "locale",
30
+ "in": "query",
23
31
  "required": false,
24
32
  "schema": {
25
- "type": "boolean",
26
- "nullable": true
27
- }
33
+ "$ref": "#/components/schemas/Locale"
34
+ },
35
+ "style": "form"
28
36
  },
29
37
  {
30
38
  "name": "slug",
@@ -76,30 +84,36 @@
76
84
  ],
77
85
  "operationId": "get_verification_request",
78
86
  "parameters": [
79
- {
80
- "name": "sandbox",
81
- "in": "query",
82
- "description": "Whether to use sandbox mode",
83
- "required": false,
84
- "schema": {
85
- "type": "boolean",
86
- "nullable": true
87
- }
88
- },
89
87
  {
90
88
  "name": "flow_id",
91
89
  "in": "path",
90
+ "description": "Flow ID",
92
91
  "required": true,
93
92
  "schema": {
94
- "type": "string"
95
- }
93
+ "type": "string",
94
+ "format": "uuid"
95
+ },
96
+ "example": "123e4567-e89b-12d3-a456-426614174000"
96
97
  },
97
98
  {
98
99
  "name": "verification_request_id",
99
100
  "in": "path",
101
+ "description": "Verification Request ID",
100
102
  "required": true,
101
103
  "schema": {
102
- "type": "string"
104
+ "type": "string",
105
+ "format": "uuid"
106
+ },
107
+ "example": "123e4567-e89b-12d3-a456-426614174000"
108
+ },
109
+ {
110
+ "name": "sandbox",
111
+ "in": "query",
112
+ "description": "Whether to use sandbox mode",
113
+ "required": false,
114
+ "schema": {
115
+ "type": "boolean",
116
+ "nullable": true
103
117
  }
104
118
  }
105
119
  ],
@@ -152,20 +166,31 @@
152
166
  {
153
167
  "name": "sandbox",
154
168
  "in": "query",
155
- "description": "Whether to use sandbox mode",
169
+ "required": true,
170
+ "schema": {
171
+ "type": "boolean"
172
+ },
173
+ "style": "form"
174
+ },
175
+ {
176
+ "name": "locale",
177
+ "in": "query",
156
178
  "required": false,
157
179
  "schema": {
158
- "type": "boolean",
159
- "nullable": true
160
- }
180
+ "$ref": "#/components/schemas/Locale"
181
+ },
182
+ "style": "form"
161
183
  },
162
184
  {
163
185
  "name": "flow_id",
164
186
  "in": "path",
187
+ "description": "Flow ID",
165
188
  "required": true,
166
189
  "schema": {
167
- "type": "string"
168
- }
190
+ "type": "string",
191
+ "format": "uuid"
192
+ },
193
+ "example": "123e4567-e89b-12d3-a456-426614174000"
169
194
  }
170
195
  ],
171
196
  "requestBody": {
@@ -227,31 +252,136 @@
227
252
  ]
228
253
  }
229
254
  },
230
- "/flow/{flow_id}/vr/completed": {
255
+ "/sdk/flow/{flow_id}/vr/next-step": {
231
256
  "get": {
232
257
  "tags": [
233
- "Verification Requests"
258
+ "SDK: Verification Requests"
234
259
  ],
235
- "operationId": "get_completed_verification_requests",
260
+ "operationId": "sdk_get_next_step",
236
261
  "parameters": [
237
262
  {
238
263
  "name": "sandbox",
239
264
  "in": "query",
240
- "description": "Whether to use sandbox mode",
265
+ "required": true,
266
+ "schema": {
267
+ "type": "boolean"
268
+ },
269
+ "style": "form"
270
+ },
271
+ {
272
+ "name": "locale",
273
+ "in": "query",
241
274
  "required": false,
242
275
  "schema": {
243
- "type": "boolean",
244
- "nullable": true
276
+ "$ref": "#/components/schemas/Locale"
277
+ },
278
+ "style": "form"
279
+ },
280
+ {
281
+ "name": "email",
282
+ "in": "query",
283
+ "required": true,
284
+ "schema": {
285
+ "type": "string"
245
286
  }
246
287
  },
247
288
  {
248
289
  "name": "flow_id",
249
290
  "in": "path",
291
+ "description": "Flow ID",
250
292
  "required": true,
251
293
  "schema": {
252
- "type": "string"
294
+ "type": "string",
295
+ "format": "uuid"
296
+ },
297
+ "example": "123e4567-e89b-12d3-a456-426614174000"
298
+ }
299
+ ],
300
+ "responses": {
301
+ "200": {
302
+ "description": "",
303
+ "content": {
304
+ "application/json": {
305
+ "schema": {
306
+ "$ref": "#/components/schemas/GetNextStepResponse"
307
+ }
308
+ }
309
+ }
310
+ },
311
+ "400": {
312
+ "description": "",
313
+ "content": {
314
+ "application/json": {
315
+ "schema": {
316
+ "$ref": "#/components/schemas/BaxeError"
317
+ }
318
+ }
319
+ }
320
+ },
321
+ "404": {
322
+ "description": "",
323
+ "content": {
324
+ "application/json": {
325
+ "schema": {
326
+ "$ref": "#/components/schemas/BaxeError"
327
+ }
328
+ }
329
+ }
330
+ },
331
+ "500": {
332
+ "description": "",
333
+ "content": {
334
+ "application/json": {
335
+ "schema": {
336
+ "$ref": "#/components/schemas/BaxeError"
337
+ }
338
+ }
253
339
  }
254
340
  }
341
+ },
342
+ "security": [
343
+ {
344
+ "x-api-key": []
345
+ }
346
+ ]
347
+ }
348
+ },
349
+ "/flow/{flow_id}/vr/completed": {
350
+ "get": {
351
+ "tags": [
352
+ "Verification Requests"
353
+ ],
354
+ "operationId": "get_completed_verification_requests",
355
+ "parameters": [
356
+ {
357
+ "name": "flow_id",
358
+ "in": "path",
359
+ "description": "Flow ID",
360
+ "required": true,
361
+ "schema": {
362
+ "type": "string",
363
+ "format": "uuid"
364
+ },
365
+ "example": "123e4567-e89b-12d3-a456-426614174000"
366
+ },
367
+ {
368
+ "name": "sandbox",
369
+ "in": "query",
370
+ "required": true,
371
+ "schema": {
372
+ "type": "boolean"
373
+ },
374
+ "style": "form"
375
+ },
376
+ {
377
+ "name": "locale",
378
+ "in": "query",
379
+ "required": false,
380
+ "schema": {
381
+ "$ref": "#/components/schemas/Locale"
382
+ },
383
+ "style": "form"
384
+ }
255
385
  ],
256
386
  "responses": {
257
387
  "200": {
@@ -285,7 +415,7 @@
285
415
  ]
286
416
  }
287
417
  },
288
- "/sdk/organizations/{organization_id}/flow-results/{flow_result_id}/details": {
418
+ "/sdk/organizations/{organization_id}/flow-results/{flow_result_id}/flow/{flow_slug}/details": {
289
419
  "get": {
290
420
  "tags": [
291
421
  "SDK: Organizations"
@@ -295,28 +425,52 @@
295
425
  {
296
426
  "name": "sandbox",
297
427
  "in": "query",
298
- "description": "Whether to use sandbox mode",
428
+ "required": true,
429
+ "schema": {
430
+ "type": "boolean"
431
+ },
432
+ "style": "form"
433
+ },
434
+ {
435
+ "name": "locale",
436
+ "in": "query",
299
437
  "required": false,
300
438
  "schema": {
301
- "type": "boolean",
302
- "nullable": true
303
- }
439
+ "$ref": "#/components/schemas/Locale"
440
+ },
441
+ "style": "form"
304
442
  },
305
443
  {
306
444
  "name": "organization_id",
307
445
  "in": "path",
446
+ "description": "The ID of the organization",
308
447
  "required": true,
309
448
  "schema": {
310
- "type": "string"
311
- }
449
+ "type": "string",
450
+ "format": "uuid"
451
+ },
452
+ "example": "123e4567-e89b-12d3-a456-426614174000"
312
453
  },
313
454
  {
314
455
  "name": "flow_result_id",
315
456
  "in": "path",
457
+ "description": "The ID of the flow result",
458
+ "required": true,
459
+ "schema": {
460
+ "type": "string",
461
+ "format": "uuid"
462
+ },
463
+ "example": "123e4567-e89b-12d3-a456-426614174000"
464
+ },
465
+ {
466
+ "name": "flow_slug",
467
+ "in": "path",
468
+ "description": "The slug of the flow",
316
469
  "required": true,
317
470
  "schema": {
318
471
  "type": "string"
319
- }
472
+ },
473
+ "example": "kyc-flow"
320
474
  }
321
475
  ],
322
476
  "responses": {
@@ -378,7 +532,7 @@
378
532
  ]
379
533
  }
380
534
  },
381
- "/sdk/organizations/{organization_id}/flow-results/{flow_result_id}/dv/{dv_result_id}/details": {
535
+ "/sdk/organizations/{organization_id}/flow-results/{flow_result_id}/flow/{flow_slug}/dv/{dv_result_id}/details": {
382
536
  "get": {
383
537
  "tags": [
384
538
  "SDK: Organizations"
@@ -388,36 +542,63 @@
388
542
  {
389
543
  "name": "sandbox",
390
544
  "in": "query",
391
- "description": "Whether to use sandbox mode",
545
+ "required": true,
546
+ "schema": {
547
+ "type": "boolean"
548
+ },
549
+ "style": "form"
550
+ },
551
+ {
552
+ "name": "locale",
553
+ "in": "query",
392
554
  "required": false,
393
555
  "schema": {
394
- "type": "boolean",
395
- "nullable": true
396
- }
556
+ "$ref": "#/components/schemas/Locale"
557
+ },
558
+ "style": "form"
397
559
  },
398
560
  {
399
561
  "name": "organization_id",
400
562
  "in": "path",
563
+ "description": "The ID of the organization",
401
564
  "required": true,
402
565
  "schema": {
403
- "type": "string"
404
- }
566
+ "type": "string",
567
+ "format": "uuid"
568
+ },
569
+ "example": "123e4567-e89b-12d3-a456-426614174000"
405
570
  },
406
571
  {
407
572
  "name": "flow_result_id",
408
573
  "in": "path",
574
+ "description": "The ID of the flow result",
575
+ "required": true,
576
+ "schema": {
577
+ "type": "string",
578
+ "format": "uuid"
579
+ },
580
+ "example": "123e4567-e89b-12d3-a456-426614174000"
581
+ },
582
+ {
583
+ "name": "flow_slug",
584
+ "in": "path",
585
+ "description": "The slug of the flow",
409
586
  "required": true,
410
587
  "schema": {
411
588
  "type": "string"
412
- }
589
+ },
590
+ "example": "flow-slug"
413
591
  },
414
592
  {
415
593
  "name": "dv_result_id",
416
594
  "in": "path",
595
+ "description": "The ID of the DV result",
417
596
  "required": true,
418
597
  "schema": {
419
- "type": "string"
420
- }
598
+ "type": "string",
599
+ "format": "uuid"
600
+ },
601
+ "example": "123e4567-e89b-12d3-a456-426614174000"
421
602
  }
422
603
  ],
423
604
  "responses": {
@@ -458,39 +639,774 @@
458
639
  }
459
640
  ]
460
641
  }
461
- }
462
- },
463
- "components": {
464
- "schemas": {
465
- "AddressData": {
466
- "type": "object",
467
- "required": [
468
- "flat",
469
- "houseNumber",
470
- "building",
471
- "street",
472
- "city",
473
- "postalCode",
474
- "country"
642
+ },
643
+ "/sdk/organizations/{organization_id}/flow-results/{flow_result_id}/flow/{flow_slug}/poa/{poa_result_id}/details": {
644
+ "get": {
645
+ "tags": [
646
+ "SDK: Organizations"
475
647
  ],
476
- "properties": {
477
- "addressLine": {
478
- "type": "string",
479
- "nullable": true
648
+ "operationId": "get_sdk_poa_result_details",
649
+ "parameters": [
650
+ {
651
+ "name": "sandbox",
652
+ "in": "query",
653
+ "required": true,
654
+ "schema": {
655
+ "type": "boolean"
656
+ },
657
+ "style": "form"
480
658
  },
481
- "building": {
482
- "type": "string"
659
+ {
660
+ "name": "locale",
661
+ "in": "query",
662
+ "required": false,
663
+ "schema": {
664
+ "$ref": "#/components/schemas/Locale"
665
+ },
666
+ "style": "form"
483
667
  },
484
- "city": {
485
- "type": "string"
668
+ {
669
+ "name": "organization_id",
670
+ "in": "path",
671
+ "description": "The ID of the organization",
672
+ "required": true,
673
+ "schema": {
674
+ "type": "string",
675
+ "format": "uuid"
676
+ },
677
+ "example": "123e4567-e89b-12d3-a456-426614174000"
486
678
  },
487
- "country": {
488
- "type": "string"
679
+ {
680
+ "name": "flow_result_id",
681
+ "in": "path",
682
+ "description": "The ID of the flow result",
683
+ "required": true,
684
+ "schema": {
685
+ "type": "string",
686
+ "format": "uuid"
687
+ },
688
+ "example": "123e4567-e89b-12d3-a456-426614174000"
489
689
  },
490
- "flat": {
491
- "type": "string"
690
+ {
691
+ "name": "flow_slug",
692
+ "in": "path",
693
+ "description": "The slug of the flow",
694
+ "required": true,
695
+ "schema": {
696
+ "type": "string"
697
+ },
698
+ "example": "flow-slug"
492
699
  },
493
- "houseNumber": {
700
+ {
701
+ "name": "poa_result_id",
702
+ "in": "path",
703
+ "description": "The ID of the POA result",
704
+ "required": true,
705
+ "schema": {
706
+ "type": "string",
707
+ "format": "uuid"
708
+ },
709
+ "example": "123e4567-e89b-12d3-a456-426614174000"
710
+ }
711
+ ],
712
+ "responses": {
713
+ "200": {
714
+ "description": "",
715
+ "content": {
716
+ "application/x-protobuf-stream": {
717
+ "schema": {
718
+ "type": "string"
719
+ }
720
+ }
721
+ }
722
+ },
723
+ "404": {
724
+ "description": "",
725
+ "content": {
726
+ "application/json": {
727
+ "schema": {
728
+ "$ref": "#/components/schemas/BaxeError"
729
+ }
730
+ }
731
+ }
732
+ },
733
+ "500": {
734
+ "description": "",
735
+ "content": {
736
+ "application/json": {
737
+ "schema": {
738
+ "$ref": "#/components/schemas/BaxeError"
739
+ }
740
+ }
741
+ }
742
+ }
743
+ },
744
+ "security": [
745
+ {
746
+ "x-api-key": []
747
+ }
748
+ ]
749
+ }
750
+ },
751
+ "/sdk/organizations/{organization_id}/flow-results/{flow_result_id}/flow/{flow_slug}/wallet/{wallet_result_id}/details": {
752
+ "get": {
753
+ "tags": [
754
+ "SDK: Organizations"
755
+ ],
756
+ "operationId": "get_sdk_wallet_result_details",
757
+ "parameters": [
758
+ {
759
+ "name": "sandbox",
760
+ "in": "query",
761
+ "required": true,
762
+ "schema": {
763
+ "type": "boolean"
764
+ },
765
+ "style": "form"
766
+ },
767
+ {
768
+ "name": "locale",
769
+ "in": "query",
770
+ "required": false,
771
+ "schema": {
772
+ "$ref": "#/components/schemas/Locale"
773
+ },
774
+ "style": "form"
775
+ },
776
+ {
777
+ "name": "organization_id",
778
+ "in": "path",
779
+ "description": "The ID of the organization",
780
+ "required": true,
781
+ "schema": {
782
+ "type": "string",
783
+ "format": "uuid"
784
+ },
785
+ "example": "123e4567-e89b-12d3-a456-426614174000"
786
+ },
787
+ {
788
+ "name": "flow_result_id",
789
+ "in": "path",
790
+ "description": "The ID of the flow result",
791
+ "required": true,
792
+ "schema": {
793
+ "type": "string",
794
+ "format": "uuid"
795
+ },
796
+ "example": "123e4567-e89b-12d3-a456-426614174000"
797
+ },
798
+ {
799
+ "name": "flow_slug",
800
+ "in": "path",
801
+ "description": "The slug of the flow",
802
+ "required": true,
803
+ "schema": {
804
+ "type": "string"
805
+ },
806
+ "example": "flow-slug"
807
+ },
808
+ {
809
+ "name": "wallet_result_id",
810
+ "in": "path",
811
+ "description": "The ID of the wallet result",
812
+ "required": true,
813
+ "schema": {
814
+ "type": "string",
815
+ "format": "uuid"
816
+ },
817
+ "example": "123e4567-e89b-12d3-a456-426614174000"
818
+ }
819
+ ],
820
+ "responses": {
821
+ "200": {
822
+ "description": "",
823
+ "content": {
824
+ "application/json": {
825
+ "schema": {
826
+ "$ref": "#/components/schemas/WalletResult"
827
+ }
828
+ }
829
+ }
830
+ },
831
+ "404": {
832
+ "description": "",
833
+ "content": {
834
+ "application/json": {
835
+ "schema": {
836
+ "$ref": "#/components/schemas/BaxeError"
837
+ }
838
+ }
839
+ }
840
+ },
841
+ "500": {
842
+ "description": "",
843
+ "content": {
844
+ "application/json": {
845
+ "schema": {
846
+ "$ref": "#/components/schemas/BaxeError"
847
+ }
848
+ }
849
+ }
850
+ }
851
+ },
852
+ "security": [
853
+ {
854
+ "x-api-key": []
855
+ }
856
+ ]
857
+ }
858
+ },
859
+ "/sdk/organizations/{organization_id}/flow-results/{flow_result_id}/flow/{flow_slug}/phone/{phone_result_id}/details": {
860
+ "get": {
861
+ "tags": [
862
+ "SDK: Organizations"
863
+ ],
864
+ "operationId": "get_sdk_phone_result_details",
865
+ "parameters": [
866
+ {
867
+ "name": "sandbox",
868
+ "in": "query",
869
+ "required": true,
870
+ "schema": {
871
+ "type": "boolean"
872
+ },
873
+ "style": "form"
874
+ },
875
+ {
876
+ "name": "locale",
877
+ "in": "query",
878
+ "required": false,
879
+ "schema": {
880
+ "$ref": "#/components/schemas/Locale"
881
+ },
882
+ "style": "form"
883
+ },
884
+ {
885
+ "name": "organization_id",
886
+ "in": "path",
887
+ "description": "The ID of the organization",
888
+ "required": true,
889
+ "schema": {
890
+ "type": "string",
891
+ "format": "uuid"
892
+ },
893
+ "example": "123e4567-e89b-12d3-a456-426614174000"
894
+ },
895
+ {
896
+ "name": "flow_result_id",
897
+ "in": "path",
898
+ "description": "The ID of the flow result",
899
+ "required": true,
900
+ "schema": {
901
+ "type": "string",
902
+ "format": "uuid"
903
+ },
904
+ "example": "123e4567-e89b-12d3-a456-426614174000"
905
+ },
906
+ {
907
+ "name": "flow_slug",
908
+ "in": "path",
909
+ "description": "The slug of the flow",
910
+ "required": true,
911
+ "schema": {
912
+ "type": "string"
913
+ },
914
+ "example": "flow-slug"
915
+ },
916
+ {
917
+ "name": "phone_result_id",
918
+ "in": "path",
919
+ "description": "The ID of the phone result",
920
+ "required": true,
921
+ "schema": {
922
+ "type": "string",
923
+ "format": "uuid"
924
+ },
925
+ "example": "123e4567-e89b-12d3-a456-426614174000"
926
+ }
927
+ ],
928
+ "responses": {
929
+ "200": {
930
+ "description": "",
931
+ "content": {
932
+ "application/json": {
933
+ "schema": {
934
+ "$ref": "#/components/schemas/PhoneResult"
935
+ }
936
+ }
937
+ }
938
+ },
939
+ "404": {
940
+ "description": "",
941
+ "content": {
942
+ "application/json": {
943
+ "schema": {
944
+ "$ref": "#/components/schemas/BaxeError"
945
+ }
946
+ }
947
+ }
948
+ },
949
+ "500": {
950
+ "description": "",
951
+ "content": {
952
+ "application/json": {
953
+ "schema": {
954
+ "$ref": "#/components/schemas/BaxeError"
955
+ }
956
+ }
957
+ }
958
+ }
959
+ },
960
+ "security": [
961
+ {
962
+ "x-api-key": []
963
+ }
964
+ ]
965
+ }
966
+ },
967
+ "/sdk/organizations/{organization_id}/flow-results/{flow_result_id}/flow/{flow_slug}/form/{form_result_id}/details": {
968
+ "get": {
969
+ "tags": [
970
+ "SDK: Organizations"
971
+ ],
972
+ "operationId": "get_sdk_form_result_details",
973
+ "parameters": [
974
+ {
975
+ "name": "sandbox",
976
+ "in": "query",
977
+ "required": true,
978
+ "schema": {
979
+ "type": "boolean"
980
+ },
981
+ "style": "form"
982
+ },
983
+ {
984
+ "name": "locale",
985
+ "in": "query",
986
+ "required": false,
987
+ "schema": {
988
+ "$ref": "#/components/schemas/Locale"
989
+ },
990
+ "style": "form"
991
+ },
992
+ {
993
+ "name": "organization_id",
994
+ "in": "path",
995
+ "description": "The ID of the organization",
996
+ "required": true,
997
+ "schema": {
998
+ "type": "string",
999
+ "format": "uuid"
1000
+ },
1001
+ "example": "123e4567-e89b-12d3-a456-426614174000"
1002
+ },
1003
+ {
1004
+ "name": "flow_result_id",
1005
+ "in": "path",
1006
+ "description": "The ID of the flow result",
1007
+ "required": true,
1008
+ "schema": {
1009
+ "type": "string",
1010
+ "format": "uuid"
1011
+ },
1012
+ "example": "123e4567-e89b-12d3-a456-426614174000"
1013
+ },
1014
+ {
1015
+ "name": "flow_slug",
1016
+ "in": "path",
1017
+ "description": "The slug of the flow",
1018
+ "required": true,
1019
+ "schema": {
1020
+ "type": "string"
1021
+ },
1022
+ "example": "flow-slug"
1023
+ },
1024
+ {
1025
+ "name": "form_result_id",
1026
+ "in": "path",
1027
+ "description": "The ID of the form result",
1028
+ "required": true,
1029
+ "schema": {
1030
+ "type": "string",
1031
+ "format": "uuid"
1032
+ },
1033
+ "example": "123e4567-e89b-12d3-a456-426614174000"
1034
+ }
1035
+ ],
1036
+ "responses": {
1037
+ "200": {
1038
+ "description": "",
1039
+ "content": {
1040
+ "application/json": {
1041
+ "schema": {
1042
+ "$ref": "#/components/schemas/FormResult"
1043
+ }
1044
+ }
1045
+ }
1046
+ },
1047
+ "404": {
1048
+ "description": "",
1049
+ "content": {
1050
+ "application/json": {
1051
+ "schema": {
1052
+ "$ref": "#/components/schemas/BaxeError"
1053
+ }
1054
+ }
1055
+ }
1056
+ },
1057
+ "500": {
1058
+ "description": "",
1059
+ "content": {
1060
+ "application/json": {
1061
+ "schema": {
1062
+ "$ref": "#/components/schemas/BaxeError"
1063
+ }
1064
+ }
1065
+ }
1066
+ }
1067
+ },
1068
+ "security": [
1069
+ {
1070
+ "x-api-key": []
1071
+ }
1072
+ ]
1073
+ }
1074
+ },
1075
+ "/sdk/organizations/{organization_id}/flow-results/{flow_result_id}/details": {
1076
+ "get": {
1077
+ "tags": [
1078
+ "SDK: Organizations"
1079
+ ],
1080
+ "operationId": "get_sdk_flow_result_details_deprecated",
1081
+ "parameters": [
1082
+ {
1083
+ "name": "sandbox",
1084
+ "in": "query",
1085
+ "required": true,
1086
+ "schema": {
1087
+ "type": "boolean"
1088
+ },
1089
+ "style": "form"
1090
+ },
1091
+ {
1092
+ "name": "locale",
1093
+ "in": "query",
1094
+ "required": false,
1095
+ "schema": {
1096
+ "$ref": "#/components/schemas/Locale"
1097
+ },
1098
+ "style": "form"
1099
+ },
1100
+ {
1101
+ "name": "organization_id",
1102
+ "in": "path",
1103
+ "description": "The ID of the organization",
1104
+ "required": true,
1105
+ "schema": {
1106
+ "type": "string",
1107
+ "format": "uuid"
1108
+ },
1109
+ "example": "123e4567-e89b-12d3-a456-426614174000"
1110
+ },
1111
+ {
1112
+ "name": "flow_result_id",
1113
+ "in": "path",
1114
+ "description": "The ID of the flow result",
1115
+ "required": true,
1116
+ "schema": {
1117
+ "type": "string",
1118
+ "format": "uuid"
1119
+ },
1120
+ "example": "123e4567-e89b-12d3-a456-426614174000"
1121
+ }
1122
+ ],
1123
+ "responses": {
1124
+ "200": {
1125
+ "description": "",
1126
+ "content": {
1127
+ "application/json": {
1128
+ "schema": {
1129
+ "$ref": "#/components/schemas/FlowResult"
1130
+ }
1131
+ }
1132
+ }
1133
+ },
1134
+ "400": {
1135
+ "description": "",
1136
+ "content": {
1137
+ "application/json": {
1138
+ "schema": {
1139
+ "$ref": "#/components/schemas/BaxeError"
1140
+ }
1141
+ }
1142
+ }
1143
+ },
1144
+ "401": {
1145
+ "description": "",
1146
+ "content": {
1147
+ "application/json": {
1148
+ "schema": {
1149
+ "$ref": "#/components/schemas/BaxeError"
1150
+ }
1151
+ }
1152
+ }
1153
+ },
1154
+ "403": {
1155
+ "description": "",
1156
+ "content": {
1157
+ "application/json": {
1158
+ "schema": {
1159
+ "$ref": "#/components/schemas/BaxeError"
1160
+ }
1161
+ }
1162
+ }
1163
+ },
1164
+ "500": {
1165
+ "description": "",
1166
+ "content": {
1167
+ "application/json": {
1168
+ "schema": {
1169
+ "$ref": "#/components/schemas/BaxeError"
1170
+ }
1171
+ }
1172
+ }
1173
+ }
1174
+ },
1175
+ "security": [
1176
+ {
1177
+ "x-api-key": []
1178
+ }
1179
+ ]
1180
+ }
1181
+ },
1182
+ "/sdk/organizations/{organization_id}/flow-results/{flow_result_id}/dv/{dv_result_id}/details": {
1183
+ "get": {
1184
+ "tags": [
1185
+ "SDK: Organizations"
1186
+ ],
1187
+ "operationId": "get_sdk_dv_result_details_deprecated",
1188
+ "parameters": [
1189
+ {
1190
+ "name": "sandbox",
1191
+ "in": "query",
1192
+ "required": true,
1193
+ "schema": {
1194
+ "type": "boolean"
1195
+ },
1196
+ "style": "form"
1197
+ },
1198
+ {
1199
+ "name": "locale",
1200
+ "in": "query",
1201
+ "required": false,
1202
+ "schema": {
1203
+ "$ref": "#/components/schemas/Locale"
1204
+ },
1205
+ "style": "form"
1206
+ },
1207
+ {
1208
+ "name": "organization_id",
1209
+ "in": "path",
1210
+ "description": "The ID of the organization",
1211
+ "required": true,
1212
+ "schema": {
1213
+ "type": "string",
1214
+ "format": "uuid"
1215
+ },
1216
+ "example": "123e4567-e89b-12d3-a456-426614174000"
1217
+ },
1218
+ {
1219
+ "name": "flow_result_id",
1220
+ "in": "path",
1221
+ "description": "The ID of the flow result",
1222
+ "required": true,
1223
+ "schema": {
1224
+ "type": "string",
1225
+ "format": "uuid"
1226
+ },
1227
+ "example": "123e4567-e89b-12d3-a456-426614174000"
1228
+ },
1229
+ {
1230
+ "name": "dv_result_id",
1231
+ "in": "path",
1232
+ "description": "The ID of the DV result",
1233
+ "required": true,
1234
+ "schema": {
1235
+ "type": "string",
1236
+ "format": "uuid"
1237
+ },
1238
+ "example": "123e4567-e89b-12d3-a456-426614174000"
1239
+ }
1240
+ ],
1241
+ "responses": {
1242
+ "200": {
1243
+ "description": "",
1244
+ "content": {
1245
+ "application/x-protobuf-stream": {
1246
+ "schema": {
1247
+ "type": "string"
1248
+ }
1249
+ }
1250
+ }
1251
+ },
1252
+ "404": {
1253
+ "description": "",
1254
+ "content": {
1255
+ "application/json": {
1256
+ "schema": {
1257
+ "$ref": "#/components/schemas/BaxeError"
1258
+ }
1259
+ }
1260
+ }
1261
+ },
1262
+ "500": {
1263
+ "description": "",
1264
+ "content": {
1265
+ "application/json": {
1266
+ "schema": {
1267
+ "$ref": "#/components/schemas/BaxeError"
1268
+ }
1269
+ }
1270
+ }
1271
+ }
1272
+ },
1273
+ "security": [
1274
+ {
1275
+ "x-api-key": []
1276
+ }
1277
+ ]
1278
+ }
1279
+ },
1280
+ "/sdk/organizations/{organization_id}/flow-results/{flow_result_id}/poa/{poa_result_id}/details": {
1281
+ "get": {
1282
+ "tags": [
1283
+ "SDK: Organizations"
1284
+ ],
1285
+ "operationId": "get_sdk_poa_result_details_deprecated",
1286
+ "parameters": [
1287
+ {
1288
+ "name": "sandbox",
1289
+ "in": "query",
1290
+ "required": true,
1291
+ "schema": {
1292
+ "type": "boolean"
1293
+ },
1294
+ "style": "form"
1295
+ },
1296
+ {
1297
+ "name": "locale",
1298
+ "in": "query",
1299
+ "required": false,
1300
+ "schema": {
1301
+ "$ref": "#/components/schemas/Locale"
1302
+ },
1303
+ "style": "form"
1304
+ },
1305
+ {
1306
+ "name": "organization_id",
1307
+ "in": "path",
1308
+ "description": "The ID of the organization",
1309
+ "required": true,
1310
+ "schema": {
1311
+ "type": "string",
1312
+ "format": "uuid"
1313
+ },
1314
+ "example": "123e4567-e89b-12d3-a456-426614174000"
1315
+ },
1316
+ {
1317
+ "name": "flow_result_id",
1318
+ "in": "path",
1319
+ "description": "The ID of the flow result",
1320
+ "required": true,
1321
+ "schema": {
1322
+ "type": "string",
1323
+ "format": "uuid"
1324
+ },
1325
+ "example": "123e4567-e89b-12d3-a456-426614174000"
1326
+ },
1327
+ {
1328
+ "name": "poa_result_id",
1329
+ "in": "path",
1330
+ "description": "The ID of the POA result",
1331
+ "required": true,
1332
+ "schema": {
1333
+ "type": "string",
1334
+ "format": "uuid"
1335
+ },
1336
+ "example": "123e4567-e89b-12d3-a456-426614174000"
1337
+ }
1338
+ ],
1339
+ "responses": {
1340
+ "200": {
1341
+ "description": "",
1342
+ "content": {
1343
+ "application/x-protobuf-stream": {
1344
+ "schema": {
1345
+ "type": "string"
1346
+ }
1347
+ }
1348
+ }
1349
+ },
1350
+ "404": {
1351
+ "description": "",
1352
+ "content": {
1353
+ "application/json": {
1354
+ "schema": {
1355
+ "$ref": "#/components/schemas/BaxeError"
1356
+ }
1357
+ }
1358
+ }
1359
+ },
1360
+ "500": {
1361
+ "description": "",
1362
+ "content": {
1363
+ "application/json": {
1364
+ "schema": {
1365
+ "$ref": "#/components/schemas/BaxeError"
1366
+ }
1367
+ }
1368
+ }
1369
+ }
1370
+ },
1371
+ "security": [
1372
+ {
1373
+ "x-api-key": []
1374
+ }
1375
+ ]
1376
+ }
1377
+ }
1378
+ },
1379
+ "components": {
1380
+ "schemas": {
1381
+ "AddressData": {
1382
+ "type": "object",
1383
+ "required": [
1384
+ "flat",
1385
+ "houseNumber",
1386
+ "building",
1387
+ "street",
1388
+ "city",
1389
+ "postalCode",
1390
+ "country"
1391
+ ],
1392
+ "properties": {
1393
+ "addressLine": {
1394
+ "type": "string",
1395
+ "nullable": true
1396
+ },
1397
+ "building": {
1398
+ "type": "string"
1399
+ },
1400
+ "city": {
1401
+ "type": "string"
1402
+ },
1403
+ "country": {
1404
+ "type": "string"
1405
+ },
1406
+ "flat": {
1407
+ "type": "string"
1408
+ },
1409
+ "houseNumber": {
494
1410
  "type": "string"
495
1411
  },
496
1412
  "postalCode": {
@@ -501,80 +1417,81 @@
501
1417
  }
502
1418
  }
503
1419
  },
1420
+ "AmlCheckSummary": {
1421
+ "type": "object",
1422
+ "required": [
1423
+ "totalEntities",
1424
+ "highestRiskScore",
1425
+ "highestRiskLevel",
1426
+ "hasPep",
1427
+ "hasSanctions",
1428
+ "highRiskEntitiesCount"
1429
+ ],
1430
+ "properties": {
1431
+ "hasPep": {
1432
+ "type": "boolean"
1433
+ },
1434
+ "hasSanctions": {
1435
+ "type": "boolean"
1436
+ },
1437
+ "highRiskEntitiesCount": {
1438
+ "type": "integer",
1439
+ "minimum": 0
1440
+ },
1441
+ "highestRiskLevel": {
1442
+ "$ref": "#/components/schemas/RiskLevel"
1443
+ },
1444
+ "highestRiskScore": {
1445
+ "type": "integer",
1446
+ "format": "int32"
1447
+ },
1448
+ "totalEntities": {
1449
+ "type": "integer",
1450
+ "minimum": 0
1451
+ }
1452
+ }
1453
+ },
504
1454
  "AmlEntityResponse": {
505
1455
  "type": "object",
506
1456
  "properties": {
507
1457
  "address": {
508
- "type": "array",
509
- "items": {
510
- "type": "string"
511
- }
1458
+ "$ref": "#/components/schemas/FieldWithControl"
512
1459
  },
513
1460
  "birthCountry": {
514
- "type": "array",
515
- "items": {
516
- "type": "string"
517
- }
1461
+ "$ref": "#/components/schemas/FieldWithControl"
518
1462
  },
519
1463
  "birthDate": {
520
- "type": "array",
521
- "items": {
522
- "type": "string"
523
- }
1464
+ "$ref": "#/components/schemas/FieldWithControl"
524
1465
  },
525
1466
  "birthPlace": {
526
- "type": "array",
527
- "items": {
528
- "type": "string"
529
- }
1467
+ "$ref": "#/components/schemas/FieldWithControl"
530
1468
  },
531
1469
  "country": {
532
- "type": "array",
533
- "items": {
534
- "type": "string"
535
- }
1470
+ "$ref": "#/components/schemas/FieldWithControl"
536
1471
  },
537
1472
  "email": {
538
- "type": "array",
539
- "items": {
540
- "type": "string"
541
- }
1473
+ "$ref": "#/components/schemas/FieldWithControl"
542
1474
  },
543
1475
  "firstName": {
544
- "type": "array",
545
- "items": {
546
- "type": "string"
547
- }
1476
+ "$ref": "#/components/schemas/FieldWithControl"
548
1477
  },
549
1478
  "gender": {
550
- "type": "array",
551
- "items": {
552
- "type": "string"
553
- }
1479
+ "$ref": "#/components/schemas/FieldWithControl"
554
1480
  },
555
1481
  "lastName": {
556
- "type": "array",
557
- "items": {
558
- "type": "string"
559
- }
1482
+ "$ref": "#/components/schemas/FieldWithControl"
1483
+ },
1484
+ "match": {
1485
+ "type": "boolean"
560
1486
  },
561
1487
  "middleName": {
562
- "type": "array",
563
- "items": {
564
- "type": "string"
565
- }
1488
+ "$ref": "#/components/schemas/FieldWithControl"
566
1489
  },
567
1490
  "name": {
568
- "type": "array",
569
- "items": {
570
- "type": "string"
571
- }
1491
+ "$ref": "#/components/schemas/FieldWithControl"
572
1492
  },
573
1493
  "nationality": {
574
- "type": "array",
575
- "items": {
576
- "type": "string"
577
- }
1494
+ "$ref": "#/components/schemas/FieldWithControl"
578
1495
  },
579
1496
  "occupancies": {
580
1497
  "type": "array",
@@ -583,30 +1500,88 @@
583
1500
  }
584
1501
  },
585
1502
  "phone": {
1503
+ "$ref": "#/components/schemas/FieldWithControl"
1504
+ },
1505
+ "position": {
1506
+ "$ref": "#/components/schemas/FieldWithControl"
1507
+ },
1508
+ "sanctions": {
586
1509
  "type": "array",
587
1510
  "items": {
588
- "type": "string"
1511
+ "$ref": "#/components/schemas/AmlSanction"
589
1512
  }
590
1513
  },
591
- "position": {
1514
+ "score": {
1515
+ "type": "number",
1516
+ "format": "double"
1517
+ },
1518
+ "sources": {
1519
+ "type": "array",
1520
+ "items": {
1521
+ "$ref": "#/components/schemas/AmlSource"
1522
+ }
1523
+ },
1524
+ "title": {
1525
+ "$ref": "#/components/schemas/FieldWithControl"
1526
+ },
1527
+ "topics": {
1528
+ "$ref": "#/components/schemas/FieldWithControl"
1529
+ }
1530
+ }
1531
+ },
1532
+ "AmlEntityResult": {
1533
+ "type": "object",
1534
+ "required": [
1535
+ "entity",
1536
+ "matchScore",
1537
+ "match",
1538
+ "riskScore",
1539
+ "isPep",
1540
+ "hasSanctions",
1541
+ "riskTopics",
1542
+ "riskCountries",
1543
+ "riskPositions",
1544
+ "riskRelationships"
1545
+ ],
1546
+ "properties": {
1547
+ "entity": {
1548
+ "$ref": "#/components/schemas/AmlEntityResponse"
1549
+ },
1550
+ "hasSanctions": {
1551
+ "type": "boolean"
1552
+ },
1553
+ "isPep": {
1554
+ "type": "boolean"
1555
+ },
1556
+ "match": {
1557
+ "type": "boolean"
1558
+ },
1559
+ "matchScore": {
1560
+ "type": "number",
1561
+ "format": "double"
1562
+ },
1563
+ "riskCountries": {
592
1564
  "type": "array",
593
1565
  "items": {
594
1566
  "type": "string"
595
1567
  }
596
1568
  },
597
- "sanctions": {
1569
+ "riskPositions": {
598
1570
  "type": "array",
599
1571
  "items": {
600
- "$ref": "#/components/schemas/AmlSanction"
1572
+ "type": "string"
601
1573
  }
602
1574
  },
603
- "title": {
1575
+ "riskRelationships": {
604
1576
  "type": "array",
605
1577
  "items": {
606
1578
  "type": "string"
607
1579
  }
608
1580
  },
609
- "topics": {
1581
+ "riskScore": {
1582
+ "$ref": "#/components/schemas/RiskScore"
1583
+ },
1584
+ "riskTopics": {
610
1585
  "type": "array",
611
1586
  "items": {
612
1587
  "type": "string"
@@ -614,14 +1589,19 @@
614
1589
  }
615
1590
  }
616
1591
  },
1592
+ "AmlModerationStatus": {
1593
+ "type": "string",
1594
+ "enum": [
1595
+ "approved",
1596
+ "rejected",
1597
+ "escalated"
1598
+ ]
1599
+ },
617
1600
  "AmlOccupancy": {
618
1601
  "type": "object",
619
1602
  "properties": {
620
1603
  "endDate": {
621
- "type": "array",
622
- "items": {
623
- "type": "string"
624
- }
1604
+ "$ref": "#/components/schemas/FieldWithControl"
625
1605
  },
626
1606
  "post": {
627
1607
  "type": "array",
@@ -629,17 +1609,17 @@
629
1609
  "$ref": "#/components/schemas/AmlPosition"
630
1610
  }
631
1611
  },
632
- "startDate": {
1612
+ "sources": {
633
1613
  "type": "array",
634
1614
  "items": {
635
- "type": "string"
1615
+ "$ref": "#/components/schemas/AmlSource"
636
1616
  }
637
1617
  },
1618
+ "startDate": {
1619
+ "$ref": "#/components/schemas/FieldWithControl"
1620
+ },
638
1621
  "status": {
639
- "type": "array",
640
- "items": {
641
- "type": "string"
642
- }
1622
+ "$ref": "#/components/schemas/FieldWithControl"
643
1623
  }
644
1624
  }
645
1625
  },
@@ -647,28 +1627,16 @@
647
1627
  "type": "object",
648
1628
  "properties": {
649
1629
  "country": {
650
- "type": "array",
651
- "items": {
652
- "type": "string"
653
- }
1630
+ "$ref": "#/components/schemas/FieldWithControl"
654
1631
  },
655
1632
  "description": {
656
- "type": "array",
657
- "items": {
658
- "type": "string"
659
- }
1633
+ "$ref": "#/components/schemas/FieldWithControl"
660
1634
  },
661
1635
  "name": {
662
- "type": "array",
663
- "items": {
664
- "type": "string"
665
- }
1636
+ "$ref": "#/components/schemas/FieldWithControl"
666
1637
  },
667
1638
  "summary": {
668
- "type": "array",
669
- "items": {
670
- "type": "string"
671
- }
1639
+ "$ref": "#/components/schemas/FieldWithControl"
672
1640
  }
673
1641
  }
674
1642
  },
@@ -676,34 +1644,19 @@
676
1644
  "type": "object",
677
1645
  "properties": {
678
1646
  "country": {
679
- "type": "array",
680
- "items": {
681
- "type": "string"
682
- }
1647
+ "$ref": "#/components/schemas/FieldWithControl"
683
1648
  },
684
1649
  "description": {
685
- "type": "array",
686
- "items": {
687
- "type": "string"
688
- }
1650
+ "$ref": "#/components/schemas/FieldWithControl"
689
1651
  },
690
1652
  "dissolutionDate": {
691
- "type": "array",
692
- "items": {
693
- "type": "string"
694
- }
1653
+ "$ref": "#/components/schemas/FieldWithControl"
695
1654
  },
696
1655
  "inceptionDate": {
697
- "type": "array",
698
- "items": {
699
- "type": "string"
700
- }
1656
+ "$ref": "#/components/schemas/FieldWithControl"
701
1657
  },
702
1658
  "name": {
703
- "type": "array",
704
- "items": {
705
- "type": "string"
706
- }
1659
+ "$ref": "#/components/schemas/FieldWithControl"
707
1660
  },
708
1661
  "numberOfSeats": {
709
1662
  "type": "array",
@@ -719,22 +1672,13 @@
719
1672
  }
720
1673
  },
721
1674
  "subnationalArea": {
722
- "type": "array",
723
- "items": {
724
- "type": "string"
725
- }
1675
+ "$ref": "#/components/schemas/FieldWithControl"
726
1676
  },
727
1677
  "summary": {
728
- "type": "array",
729
- "items": {
730
- "type": "string"
731
- }
1678
+ "$ref": "#/components/schemas/FieldWithControl"
732
1679
  },
733
1680
  "topics": {
734
- "type": "array",
735
- "items": {
736
- "type": "string"
737
- }
1681
+ "$ref": "#/components/schemas/FieldWithControl"
738
1682
  }
739
1683
  }
740
1684
  },
@@ -758,7 +1702,8 @@
758
1702
  "additionalProperties": {}
759
1703
  },
760
1704
  "id": {
761
- "type": "string"
1705
+ "type": "string",
1706
+ "format": "uuid"
762
1707
  },
763
1708
  "pep": {
764
1709
  "type": "boolean"
@@ -772,91 +1717,112 @@
772
1717
  },
773
1718
  "verificationRequestId": {
774
1719
  "type": "string",
1720
+ "format": "uuid",
775
1721
  "nullable": true
776
1722
  }
777
1723
  }
778
1724
  },
779
- "AmlSanction": {
1725
+ "AmlRiskMetadata": {
780
1726
  "type": "object",
1727
+ "required": [
1728
+ "summary",
1729
+ "checkedAt",
1730
+ "controls"
1731
+ ],
781
1732
  "properties": {
782
- "authority": {
1733
+ "checkedAt": {
1734
+ "type": "string",
1735
+ "format": "date-time"
1736
+ },
1737
+ "controls": {
783
1738
  "type": "array",
784
1739
  "items": {
785
- "type": "string"
1740
+ "$ref": "#/components/schemas/ResultControlOperation"
786
1741
  }
787
1742
  },
788
- "authorityId": {
1743
+ "summary": {
1744
+ "$ref": "#/components/schemas/AmlCheckSummary"
1745
+ }
1746
+ }
1747
+ },
1748
+ "AmlRiskResult": {
1749
+ "type": "object",
1750
+ "required": [
1751
+ "entities",
1752
+ "metadata"
1753
+ ],
1754
+ "properties": {
1755
+ "entities": {
789
1756
  "type": "array",
790
1757
  "items": {
791
- "type": "string"
1758
+ "$ref": "#/components/schemas/AmlEntityResult"
792
1759
  }
793
1760
  },
1761
+ "metadata": {
1762
+ "$ref": "#/components/schemas/AmlRiskMetadata"
1763
+ }
1764
+ }
1765
+ },
1766
+ "AmlSanction": {
1767
+ "type": "object",
1768
+ "properties": {
1769
+ "authority": {
1770
+ "$ref": "#/components/schemas/FieldWithControl"
1771
+ },
1772
+ "authorityId": {
1773
+ "$ref": "#/components/schemas/FieldWithControl"
1774
+ },
794
1775
  "country": {
795
- "type": "array",
796
- "items": {
797
- "type": "string"
798
- }
1776
+ "$ref": "#/components/schemas/FieldWithControl"
799
1777
  },
800
1778
  "date": {
801
- "type": "array",
802
- "items": {
803
- "type": "string"
804
- }
1779
+ "$ref": "#/components/schemas/FieldWithControl"
805
1780
  },
806
1781
  "duration": {
807
- "type": "array",
808
- "items": {
809
- "type": "string"
810
- }
1782
+ "$ref": "#/components/schemas/FieldWithControl"
811
1783
  },
812
1784
  "endDate": {
813
- "type": "array",
814
- "items": {
815
- "type": "string"
816
- }
1785
+ "$ref": "#/components/schemas/FieldWithControl"
817
1786
  },
818
1787
  "listingDate": {
819
- "type": "array",
820
- "items": {
821
- "type": "string"
822
- }
1788
+ "$ref": "#/components/schemas/FieldWithControl"
823
1789
  },
824
1790
  "program": {
825
- "type": "array",
826
- "items": {
827
- "type": "string"
828
- }
1791
+ "$ref": "#/components/schemas/FieldWithControl"
829
1792
  },
830
1793
  "reason": {
1794
+ "$ref": "#/components/schemas/FieldWithControl"
1795
+ },
1796
+ "sources": {
831
1797
  "type": "array",
832
1798
  "items": {
833
- "type": "string"
1799
+ "$ref": "#/components/schemas/AmlSource"
834
1800
  }
835
1801
  },
836
1802
  "startDate": {
837
- "type": "array",
838
- "items": {
839
- "type": "string"
840
- }
1803
+ "$ref": "#/components/schemas/FieldWithControl"
841
1804
  },
842
1805
  "status": {
843
- "type": "array",
844
- "items": {
845
- "type": "string"
846
- }
1806
+ "$ref": "#/components/schemas/FieldWithControl"
847
1807
  },
848
1808
  "unscId": {
849
- "type": "array",
850
- "items": {
851
- "type": "string"
852
- }
1809
+ "$ref": "#/components/schemas/FieldWithControl"
853
1810
  }
854
1811
  }
855
1812
  },
856
- "AmlSearchResponse": {
857
- "type": "array",
858
- "items": {
859
- "$ref": "#/components/schemas/AmlEntityResponse"
1813
+ "AmlSource": {
1814
+ "type": "object",
1815
+ "properties": {
1816
+ "name": {
1817
+ "type": "string"
1818
+ },
1819
+ "title": {
1820
+ "type": "string"
1821
+ },
1822
+ "url": {
1823
+ "type": "string",
1824
+ "nullable": true
1825
+ }
860
1826
  }
861
1827
  },
862
1828
  "ApiKeyType": {
@@ -866,6 +1832,37 @@
866
1832
  "SECRET"
867
1833
  ]
868
1834
  },
1835
+ "AutoOneClickKycConfig": {
1836
+ "type": "object",
1837
+ "required": [
1838
+ "partnerFlowIds"
1839
+ ],
1840
+ "properties": {
1841
+ "labels": {
1842
+ "type": "object",
1843
+ "additionalProperties": {
1844
+ "type": "string"
1845
+ },
1846
+ "example": "{ \"en_title\": \"Verify with Partners\" }"
1847
+ },
1848
+ "partnerFlowIds": {
1849
+ "type": "array",
1850
+ "items": {
1851
+ "type": "string",
1852
+ "format": "uuid"
1853
+ },
1854
+ "description": "List of partner flow IDs to attempt one-click KYC with"
1855
+ },
1856
+ "partnerFlows": {
1857
+ "type": "array",
1858
+ "items": {
1859
+ "$ref": "#/components/schemas/Flow"
1860
+ },
1861
+ "description": "Full partner flow objects (populated by rehydrate_flow_step)",
1862
+ "nullable": true
1863
+ }
1864
+ }
1865
+ },
869
1866
  "BaxeError": {
870
1867
  "type": "object",
871
1868
  "required": [
@@ -958,7 +1955,6 @@
958
1955
  "CreateVerificationRequestPayload": {
959
1956
  "type": "object",
960
1957
  "required": [
961
- "email",
962
1958
  "flowStepId",
963
1959
  "termsAndConditionsAccepted",
964
1960
  "privacyPolicyAccepted",
@@ -978,10 +1974,12 @@
978
1974
  "nullable": true
979
1975
  },
980
1976
  "email": {
981
- "type": "string"
1977
+ "type": "string",
1978
+ "nullable": true
982
1979
  },
983
1980
  "flowStepId": {
984
- "type": "string"
1981
+ "type": "string",
1982
+ "format": "uuid"
985
1983
  },
986
1984
  "privacyPolicyAccepted": {
987
1985
  "type": "boolean"
@@ -994,14 +1992,63 @@
994
1992
  "CreateVerificationRequestResponse": {
995
1993
  "type": "object",
996
1994
  "required": [
997
- "websocketNamespace",
998
1995
  "verificationRequest"
999
1996
  ],
1000
1997
  "properties": {
1001
1998
  "verificationRequest": {
1002
1999
  "$ref": "#/components/schemas/VerificationRequest"
2000
+ }
2001
+ }
2002
+ },
2003
+ "CustomDocumentConfig": {
2004
+ "type": "object",
2005
+ "required": [
2006
+ "name",
2007
+ "id"
2008
+ ],
2009
+ "properties": {
2010
+ "enabled": {
2011
+ "type": "boolean"
2012
+ },
2013
+ "id": {
2014
+ "type": "string",
2015
+ "format": "uuid"
2016
+ },
2017
+ "name": {
2018
+ "type": "string"
2019
+ },
2020
+ "required": {
2021
+ "type": "boolean"
2022
+ }
2023
+ }
2024
+ },
2025
+ "DirectorDefinition": {
2026
+ "type": "object",
2027
+ "required": [
2028
+ "emailAddress",
2029
+ "firstName",
2030
+ "lastName",
2031
+ "dateOfBirth",
2032
+ "country",
2033
+ "gender"
2034
+ ],
2035
+ "properties": {
2036
+ "country": {
2037
+ "type": "string"
2038
+ },
2039
+ "dateOfBirth": {
2040
+ "type": "string"
2041
+ },
2042
+ "emailAddress": {
2043
+ "type": "string"
2044
+ },
2045
+ "firstName": {
2046
+ "type": "string"
2047
+ },
2048
+ "gender": {
2049
+ "type": "string"
1003
2050
  },
1004
- "websocketNamespace": {
2051
+ "lastName": {
1005
2052
  "type": "string"
1006
2053
  }
1007
2054
  }
@@ -1029,7 +2076,8 @@
1029
2076
  "nullable": true
1030
2077
  },
1031
2078
  "id": {
1032
- "type": "string"
2079
+ "type": "string",
2080
+ "format": "uuid"
1033
2081
  },
1034
2082
  "metadata": {},
1035
2083
  "path": {
@@ -1047,7 +2095,16 @@
1047
2095
  "format": "date-time"
1048
2096
  },
1049
2097
  "vaultId": {
1050
- "type": "string"
2098
+ "type": "string",
2099
+ "format": "uuid"
2100
+ }
2101
+ }
2102
+ },
2103
+ "DocumentConfig": {
2104
+ "type": "object",
2105
+ "properties": {
2106
+ "required": {
2107
+ "type": "boolean"
1051
2108
  }
1052
2109
  }
1053
2110
  },
@@ -1144,6 +2201,10 @@
1144
2201
  "presignedUrl": {
1145
2202
  "type": "string",
1146
2203
  "nullable": true
2204
+ },
2205
+ "s3Key": {
2206
+ "type": "string",
2207
+ "nullable": true
1147
2208
  }
1148
2209
  }
1149
2210
  },
@@ -1194,13 +2255,31 @@
1194
2255
  },
1195
2256
  "example": "{ \"en_button_label\": \"Next step\" }"
1196
2257
  },
2258
+ "maxAttempts": {
2259
+ "type": "integer",
2260
+ "format": "int32",
2261
+ "example": "5",
2262
+ "nullable": true,
2263
+ "minimum": 0
2264
+ },
1197
2265
  "minimumAge": {
1198
2266
  "type": "integer",
1199
2267
  "format": "int32",
1200
2268
  "minimum": 0
1201
2269
  },
1202
- "skipLiveness": {
1203
- "type": "boolean"
2270
+ "processImagesOverrides": {
2271
+ "allOf": [
2272
+ {
2273
+ "$ref": "#/components/schemas/ProcessImagesOverrides"
2274
+ }
2275
+ ],
2276
+ "nullable": true
2277
+ },
2278
+ "requiredDocumentFields": {
2279
+ "type": "array",
2280
+ "items": {
2281
+ "$ref": "#/components/schemas/RequiredDocumentField"
2282
+ }
1204
2283
  },
1205
2284
  "thresholds": {
1206
2285
  "type": "object",
@@ -1215,8 +2294,7 @@
1215
2294
  "DvConfigThreshold": {
1216
2295
  "type": "string",
1217
2296
  "enum": [
1218
- "documentScorePercent",
1219
- "portraitMatchPercent"
2297
+ "documentScorePercent"
1220
2298
  ]
1221
2299
  },
1222
2300
  "DvReason": {
@@ -1241,7 +2319,14 @@
1241
2319
  "LIVENESS_CHECK_FAILED",
1242
2320
  "DOCUMENT_NOT_FOUND",
1243
2321
  "DATE_OF_BIRTH_BELOW_MINIMUM_AGE",
1244
- "DOCUMENT_TYPE_CHECK"
2322
+ "DOCUMENT_TYPE_CHECK",
2323
+ "ELECTRONIC_DEVICE",
2324
+ "SECURITY_TEXT",
2325
+ "IMAGE_PATTERNS",
2326
+ "PHOTO_EMBEDDINGS",
2327
+ "BLACK_AND_WHITE_COPY",
2328
+ "UNIQUENESS_CHECK",
2329
+ "REQUIRED_FIELDS_MISMATCH"
1245
2330
  ]
1246
2331
  },
1247
2332
  "DvResult": {
@@ -1251,9 +2336,24 @@
1251
2336
  "status",
1252
2337
  "reasons",
1253
2338
  "data",
1254
- "processAdditionalData"
2339
+ "processAdditionalData",
2340
+ "authenticityChecks"
1255
2341
  ],
1256
2342
  "properties": {
2343
+ "adminComment": {
2344
+ "type": "string",
2345
+ "nullable": true
2346
+ },
2347
+ "authenticityChecks": {
2348
+ "type": "array",
2349
+ "items": {
2350
+ "type": "array",
2351
+ "items": {
2352
+ "type": "integer",
2353
+ "format": "int64"
2354
+ }
2355
+ }
2356
+ },
1257
2357
  "browser": {
1258
2358
  "type": "string",
1259
2359
  "nullable": true
@@ -1262,6 +2362,10 @@
1262
2362
  "type": "string",
1263
2363
  "nullable": true
1264
2364
  },
2365
+ "countryCode": {
2366
+ "type": "string",
2367
+ "nullable": true
2368
+ },
1265
2369
  "createdAt": {
1266
2370
  "type": "string",
1267
2371
  "format": "date-time",
@@ -1273,6 +2377,7 @@
1273
2377
  },
1274
2378
  "documentId": {
1275
2379
  "type": "string",
2380
+ "format": "uuid",
1276
2381
  "nullable": true
1277
2382
  },
1278
2383
  "documentScorePercent": {
@@ -1285,10 +2390,6 @@
1285
2390
  "format": "int32",
1286
2391
  "nullable": true
1287
2392
  },
1288
- "firstName": {
1289
- "type": "string",
1290
- "nullable": true
1291
- },
1292
2393
  "flowStep": {
1293
2394
  "allOf": [
1294
2395
  {
@@ -1297,13 +2398,38 @@
1297
2398
  ],
1298
2399
  "nullable": true
1299
2400
  },
2401
+ "flowStepId": {
2402
+ "type": "string",
2403
+ "format": "uuid",
2404
+ "nullable": true
2405
+ },
1300
2406
  "id": {
1301
- "type": "string"
2407
+ "type": "string",
2408
+ "format": "uuid"
1302
2409
  },
1303
- "lastName": {
2410
+ "manualReviewAt": {
2411
+ "type": "string",
2412
+ "format": "date-time",
2413
+ "nullable": true
2414
+ },
2415
+ "manualReviewNote": {
1304
2416
  "type": "string",
1305
2417
  "nullable": true
1306
2418
  },
2419
+ "manualReviewerId": {
2420
+ "type": "string",
2421
+ "format": "uuid",
2422
+ "nullable": true
2423
+ },
2424
+ "manualReviewerZid": {
2425
+ "type": "string",
2426
+ "nullable": true
2427
+ },
2428
+ "originalVrHistoryId": {
2429
+ "type": "string",
2430
+ "format": "uuid",
2431
+ "nullable": true
2432
+ },
1307
2433
  "platform": {
1308
2434
  "type": "string",
1309
2435
  "nullable": true
@@ -1317,6 +2443,10 @@
1317
2443
  "type": "object",
1318
2444
  "additionalProperties": {}
1319
2445
  },
2446
+ "provinceCode": {
2447
+ "type": "string",
2448
+ "nullable": true
2449
+ },
1320
2450
  "reasons": {
1321
2451
  "type": "array",
1322
2452
  "items": {
@@ -1333,6 +2463,7 @@
1333
2463
  },
1334
2464
  "verificationRequestId": {
1335
2465
  "type": "string",
2466
+ "format": "uuid",
1336
2467
  "nullable": true
1337
2468
  }
1338
2469
  }
@@ -1352,23 +2483,18 @@
1352
2483
  "open_session",
1353
2484
  "read_session",
1354
2485
  "close_session",
1355
- "authentication_request_not_found",
1356
- "invalid_magic_link",
1357
2486
  "user_disabled",
1358
- "invalid_verify_link",
1359
2487
  "missing_authorization_header",
1360
2488
  "invalid_authorization_header",
1361
2489
  "token_generation",
1362
2490
  "user_not_found",
1363
- "authentication_request_expired",
1364
- "authentication_request_already_used",
1365
- "verification_session_expired",
1366
2491
  "email_already_taken",
1367
2492
  "invalid_invite",
1368
2493
  "wrong_invite_user",
1369
2494
  "invite_not_found",
1370
2495
  "email_already_verified",
1371
2496
  "flow_not_found",
2497
+ "flow_step_not_found",
1372
2498
  "organization_not_found",
1373
2499
  "storage",
1374
2500
  "verification_request_not_found",
@@ -1383,12 +2509,14 @@
1383
2509
  "trigger_webhook",
1384
2510
  "too_many_invites",
1385
2511
  "invite_already_used",
2512
+ "invite_already_accepted",
2513
+ "invite_already_revoked",
1386
2514
  "invite_revoked",
1387
2515
  "invite_expired",
2516
+ "invite_already_exists",
1388
2517
  "form_not_found",
1389
2518
  "form_in_use",
1390
2519
  "flow_step_configuration_not_found",
1391
- "organization_product_not_active",
1392
2520
  "identity_not_found",
1393
2521
  "step_order_violation",
1394
2522
  "serialization",
@@ -1400,9 +2528,140 @@
1400
2528
  "missing_api_key",
1401
2529
  "invalid_api_key",
1402
2530
  "origin_not_allowed",
1403
- "step_already_completed"
2531
+ "step_already_completed",
2532
+ "send_sms",
2533
+ "parse_error",
2534
+ "inviter_organization_not_found",
2535
+ "forbidden",
2536
+ "passkey_authentication",
2537
+ "internal"
2538
+ ]
2539
+ },
2540
+ "FieldControlOperation": {
2541
+ "type": "object",
2542
+ "required": [
2543
+ "timestamp",
2544
+ "identityId",
2545
+ "zid",
2546
+ "operation"
2547
+ ],
2548
+ "properties": {
2549
+ "identityId": {
2550
+ "type": "string",
2551
+ "format": "uuid"
2552
+ },
2553
+ "operation": {
2554
+ "$ref": "#/components/schemas/FieldControlOperationType"
2555
+ },
2556
+ "timestamp": {
2557
+ "type": "string",
2558
+ "format": "date-time"
2559
+ },
2560
+ "zid": {
2561
+ "type": "string"
2562
+ }
2563
+ }
2564
+ },
2565
+ "FieldControlOperationType": {
2566
+ "oneOf": [
2567
+ {
2568
+ "type": "object",
2569
+ "required": [
2570
+ "markAsFalsePositive"
2571
+ ],
2572
+ "properties": {
2573
+ "markAsFalsePositive": {
2574
+ "type": "object",
2575
+ "required": [
2576
+ "comment"
2577
+ ],
2578
+ "properties": {
2579
+ "comment": {
2580
+ "type": "string"
2581
+ }
2582
+ }
2583
+ }
2584
+ }
2585
+ },
2586
+ {
2587
+ "type": "object",
2588
+ "required": [
2589
+ "unmarkAsFalsePositive"
2590
+ ],
2591
+ "properties": {
2592
+ "unmarkAsFalsePositive": {
2593
+ "type": "object",
2594
+ "required": [
2595
+ "comment"
2596
+ ],
2597
+ "properties": {
2598
+ "comment": {
2599
+ "type": "string"
2600
+ }
2601
+ }
2602
+ }
2603
+ }
2604
+ },
2605
+ {
2606
+ "type": "object",
2607
+ "required": [
2608
+ "comment"
2609
+ ],
2610
+ "properties": {
2611
+ "comment": {
2612
+ "type": "object",
2613
+ "required": [
2614
+ "comment"
2615
+ ],
2616
+ "properties": {
2617
+ "comment": {
2618
+ "type": "string"
2619
+ }
2620
+ }
2621
+ }
2622
+ }
2623
+ }
1404
2624
  ]
1405
2625
  },
2626
+ "FieldWithControl": {
2627
+ "type": "object",
2628
+ "required": [
2629
+ "value",
2630
+ "controls"
2631
+ ],
2632
+ "properties": {
2633
+ "controls": {
2634
+ "type": "array",
2635
+ "items": {
2636
+ "$ref": "#/components/schemas/FieldControlOperation"
2637
+ }
2638
+ },
2639
+ "value": {
2640
+ "type": "array",
2641
+ "items": {
2642
+ "type": "string"
2643
+ }
2644
+ }
2645
+ }
2646
+ },
2647
+ "FileOptions": {
2648
+ "type": "object",
2649
+ "required": [
2650
+ "accept",
2651
+ "expectedDocumentType"
2652
+ ],
2653
+ "properties": {
2654
+ "accept": {
2655
+ "type": "array",
2656
+ "items": {
2657
+ "type": "string"
2658
+ }
2659
+ },
2660
+ "expectedDocumentType": {
2661
+ "type": "string"
2662
+ }
2663
+ }
2664
+ },
1406
2665
  "FilterOperator": {
1407
2666
  "type": "string",
1408
2667
  "enum": [
@@ -1422,7 +2681,6 @@
1422
2681
  "slug",
1423
2682
  "webhookUrl",
1424
2683
  "successUrl",
1425
- "extendedWebhook",
1426
2684
  "steps"
1427
2685
  ],
1428
2686
  "properties": {
@@ -1431,15 +2689,13 @@
1431
2689
  "format": "date-time",
1432
2690
  "nullable": true
1433
2691
  },
1434
- "extendedWebhook": {
1435
- "type": "boolean"
1436
- },
1437
2692
  "failureUrl": {
1438
2693
  "type": "string",
1439
2694
  "nullable": true
1440
2695
  },
1441
2696
  "id": {
1442
- "type": "string"
2697
+ "type": "string",
2698
+ "format": "uuid"
1443
2699
  },
1444
2700
  "name": {
1445
2701
  "type": "string"
@@ -1478,6 +2734,8 @@
1478
2734
  "formResults",
1479
2735
  "kybResults",
1480
2736
  "spidResults",
2737
+ "phoneResults",
2738
+ "walletResults",
1481
2739
  "customData"
1482
2740
  ],
1483
2741
  "properties": {
@@ -1507,67 +2765,401 @@
1507
2765
  {
1508
2766
  "$ref": "#/components/schemas/Flow"
1509
2767
  }
1510
- ],
1511
- "nullable": true
1512
- },
1513
- "flowSlug": {
1514
- "type": "string"
1515
- },
1516
- "formResults": {
1517
- "type": "array",
1518
- "items": {
1519
- "$ref": "#/components/schemas/FormResult"
2768
+ ],
2769
+ "nullable": true
2770
+ },
2771
+ "flowSlug": {
2772
+ "type": "string"
2773
+ },
2774
+ "formResults": {
2775
+ "type": "array",
2776
+ "items": {
2777
+ "$ref": "#/components/schemas/FormResult"
2778
+ }
2779
+ },
2780
+ "id": {
2781
+ "type": "string",
2782
+ "format": "uuid"
2783
+ },
2784
+ "identity": {
2785
+ "allOf": [
2786
+ {
2787
+ "$ref": "#/components/schemas/Identity"
2788
+ }
2789
+ ],
2790
+ "nullable": true
2791
+ },
2792
+ "kybResults": {
2793
+ "type": "array",
2794
+ "items": {
2795
+ "$ref": "#/components/schemas/KybResult"
2796
+ }
2797
+ },
2798
+ "organization": {
2799
+ "allOf": [
2800
+ {
2801
+ "$ref": "#/components/schemas/Organization"
2802
+ }
2803
+ ],
2804
+ "nullable": true
2805
+ },
2806
+ "organizationId": {
2807
+ "type": "string",
2808
+ "format": "uuid"
2809
+ },
2810
+ "phoneResults": {
2811
+ "type": "array",
2812
+ "items": {
2813
+ "$ref": "#/components/schemas/PhoneResult"
2814
+ }
2815
+ },
2816
+ "poaResults": {
2817
+ "type": "array",
2818
+ "items": {
2819
+ "$ref": "#/components/schemas/PoaResult"
2820
+ }
2821
+ },
2822
+ "spidResults": {
2823
+ "type": "array",
2824
+ "items": {
2825
+ "$ref": "#/components/schemas/SpidResult"
2826
+ }
2827
+ },
2828
+ "updatedAt": {
2829
+ "type": "string",
2830
+ "format": "date-time",
2831
+ "nullable": true
2832
+ },
2833
+ "walletResults": {
2834
+ "type": "array",
2835
+ "items": {
2836
+ "$ref": "#/components/schemas/WalletResult"
2837
+ }
2838
+ }
2839
+ }
2840
+ },
2841
+ "FlowStep": {
2842
+ "oneOf": [
2843
+ {
2844
+ "type": "object",
2845
+ "required": [
2846
+ "id",
2847
+ "name",
2848
+ "slug",
2849
+ "config",
2850
+ "flowId",
2851
+ "order",
2852
+ "type"
2853
+ ],
2854
+ "properties": {
2855
+ "config": {
2856
+ "$ref": "#/components/schemas/DvConfig"
2857
+ },
2858
+ "createdAt": {
2859
+ "type": "string",
2860
+ "format": "date-time",
2861
+ "nullable": true
2862
+ },
2863
+ "failureUrl": {
2864
+ "type": "string",
2865
+ "nullable": true
2866
+ },
2867
+ "flowId": {
2868
+ "type": "string",
2869
+ "format": "uuid"
2870
+ },
2871
+ "gotoStepId": {
2872
+ "type": "string",
2873
+ "format": "uuid",
2874
+ "nullable": true
2875
+ },
2876
+ "id": {
2877
+ "type": "string",
2878
+ "format": "uuid"
2879
+ },
2880
+ "name": {
2881
+ "type": "string"
2882
+ },
2883
+ "order": {
2884
+ "type": "integer",
2885
+ "format": "int32"
2886
+ },
2887
+ "slug": {
2888
+ "type": "string"
2889
+ },
2890
+ "successUrl": {
2891
+ "type": "string",
2892
+ "nullable": true
2893
+ },
2894
+ "type": {
2895
+ "type": "string",
2896
+ "enum": [
2897
+ "DV"
2898
+ ]
2899
+ },
2900
+ "updatedAt": {
2901
+ "type": "string",
2902
+ "format": "date-time",
2903
+ "nullable": true
2904
+ }
2905
+ }
2906
+ },
2907
+ {
2908
+ "type": "object",
2909
+ "required": [
2910
+ "id",
2911
+ "name",
2912
+ "slug",
2913
+ "config",
2914
+ "flowId",
2915
+ "order",
2916
+ "type"
2917
+ ],
2918
+ "properties": {
2919
+ "config": {
2920
+ "$ref": "#/components/schemas/FormConfig"
2921
+ },
2922
+ "createdAt": {
2923
+ "type": "string",
2924
+ "format": "date-time",
2925
+ "nullable": true
2926
+ },
2927
+ "failureUrl": {
2928
+ "type": "string",
2929
+ "nullable": true
2930
+ },
2931
+ "flowId": {
2932
+ "type": "string",
2933
+ "format": "uuid"
2934
+ },
2935
+ "gotoStepId": {
2936
+ "type": "string",
2937
+ "format": "uuid",
2938
+ "nullable": true
2939
+ },
2940
+ "id": {
2941
+ "type": "string",
2942
+ "format": "uuid"
2943
+ },
2944
+ "name": {
2945
+ "type": "string"
2946
+ },
2947
+ "order": {
2948
+ "type": "integer",
2949
+ "format": "int32"
2950
+ },
2951
+ "slug": {
2952
+ "type": "string"
2953
+ },
2954
+ "successUrl": {
2955
+ "type": "string",
2956
+ "nullable": true
2957
+ },
2958
+ "type": {
2959
+ "type": "string",
2960
+ "enum": [
2961
+ "FORM"
2962
+ ]
2963
+ },
2964
+ "updatedAt": {
2965
+ "type": "string",
2966
+ "format": "date-time",
2967
+ "nullable": true
2968
+ }
2969
+ }
2970
+ },
2971
+ {
2972
+ "type": "object",
2973
+ "required": [
2974
+ "id",
2975
+ "name",
2976
+ "slug",
2977
+ "config",
2978
+ "flowId",
2979
+ "order",
2980
+ "type"
2981
+ ],
2982
+ "properties": {
2983
+ "config": {
2984
+ "$ref": "#/components/schemas/PoaConfig"
2985
+ },
2986
+ "createdAt": {
2987
+ "type": "string",
2988
+ "format": "date-time",
2989
+ "nullable": true
2990
+ },
2991
+ "failureUrl": {
2992
+ "type": "string",
2993
+ "nullable": true
2994
+ },
2995
+ "flowId": {
2996
+ "type": "string",
2997
+ "format": "uuid"
2998
+ },
2999
+ "gotoStepId": {
3000
+ "type": "string",
3001
+ "format": "uuid",
3002
+ "nullable": true
3003
+ },
3004
+ "id": {
3005
+ "type": "string",
3006
+ "format": "uuid"
3007
+ },
3008
+ "name": {
3009
+ "type": "string"
3010
+ },
3011
+ "order": {
3012
+ "type": "integer",
3013
+ "format": "int32"
3014
+ },
3015
+ "slug": {
3016
+ "type": "string"
3017
+ },
3018
+ "successUrl": {
3019
+ "type": "string",
3020
+ "nullable": true
3021
+ },
3022
+ "type": {
3023
+ "type": "string",
3024
+ "enum": [
3025
+ "POA"
3026
+ ]
3027
+ },
3028
+ "updatedAt": {
3029
+ "type": "string",
3030
+ "format": "date-time",
3031
+ "nullable": true
3032
+ }
1520
3033
  }
1521
3034
  },
1522
- "id": {
1523
- "type": "string"
1524
- },
1525
- "identity": {
1526
- "allOf": [
1527
- {
1528
- "$ref": "#/components/schemas/Identity"
1529
- }
3035
+ {
3036
+ "type": "object",
3037
+ "required": [
3038
+ "id",
3039
+ "name",
3040
+ "slug",
3041
+ "config",
3042
+ "flowId",
3043
+ "order",
3044
+ "type"
1530
3045
  ],
1531
- "nullable": true
1532
- },
1533
- "kybResults": {
1534
- "type": "array",
1535
- "items": {
1536
- "$ref": "#/components/schemas/KybResult"
1537
- }
1538
- },
1539
- "organization": {
1540
- "allOf": [
1541
- {
1542
- "$ref": "#/components/schemas/Organization"
3046
+ "properties": {
3047
+ "config": {
3048
+ "$ref": "#/components/schemas/KybConfig"
3049
+ },
3050
+ "createdAt": {
3051
+ "type": "string",
3052
+ "format": "date-time",
3053
+ "nullable": true
3054
+ },
3055
+ "failureUrl": {
3056
+ "type": "string",
3057
+ "nullable": true
3058
+ },
3059
+ "flowId": {
3060
+ "type": "string",
3061
+ "format": "uuid"
3062
+ },
3063
+ "gotoStepId": {
3064
+ "type": "string",
3065
+ "format": "uuid",
3066
+ "nullable": true
3067
+ },
3068
+ "id": {
3069
+ "type": "string",
3070
+ "format": "uuid"
3071
+ },
3072
+ "name": {
3073
+ "type": "string"
3074
+ },
3075
+ "order": {
3076
+ "type": "integer",
3077
+ "format": "int32"
3078
+ },
3079
+ "slug": {
3080
+ "type": "string"
3081
+ },
3082
+ "successUrl": {
3083
+ "type": "string",
3084
+ "nullable": true
3085
+ },
3086
+ "type": {
3087
+ "type": "string",
3088
+ "enum": [
3089
+ "KYB"
3090
+ ]
3091
+ },
3092
+ "updatedAt": {
3093
+ "type": "string",
3094
+ "format": "date-time",
3095
+ "nullable": true
1543
3096
  }
1544
- ],
1545
- "nullable": true
1546
- },
1547
- "organizationId": {
1548
- "type": "string"
1549
- },
1550
- "poaResults": {
1551
- "type": "array",
1552
- "items": {
1553
- "$ref": "#/components/schemas/PoaResult"
1554
3097
  }
1555
3098
  },
1556
- "spidResults": {
1557
- "type": "array",
1558
- "items": {
1559
- "$ref": "#/components/schemas/SpidResult"
3099
+ {
3100
+ "type": "object",
3101
+ "required": [
3102
+ "id",
3103
+ "name",
3104
+ "slug",
3105
+ "config",
3106
+ "flowId",
3107
+ "order",
3108
+ "type"
3109
+ ],
3110
+ "properties": {
3111
+ "config": {
3112
+ "$ref": "#/components/schemas/SpidConfig"
3113
+ },
3114
+ "createdAt": {
3115
+ "type": "string",
3116
+ "format": "date-time",
3117
+ "nullable": true
3118
+ },
3119
+ "failureUrl": {
3120
+ "type": "string",
3121
+ "nullable": true
3122
+ },
3123
+ "flowId": {
3124
+ "type": "string",
3125
+ "format": "uuid"
3126
+ },
3127
+ "gotoStepId": {
3128
+ "type": "string",
3129
+ "format": "uuid",
3130
+ "nullable": true
3131
+ },
3132
+ "id": {
3133
+ "type": "string",
3134
+ "format": "uuid"
3135
+ },
3136
+ "name": {
3137
+ "type": "string"
3138
+ },
3139
+ "order": {
3140
+ "type": "integer",
3141
+ "format": "int32"
3142
+ },
3143
+ "slug": {
3144
+ "type": "string"
3145
+ },
3146
+ "successUrl": {
3147
+ "type": "string",
3148
+ "nullable": true
3149
+ },
3150
+ "type": {
3151
+ "type": "string",
3152
+ "enum": [
3153
+ "SPID"
3154
+ ]
3155
+ },
3156
+ "updatedAt": {
3157
+ "type": "string",
3158
+ "format": "date-time",
3159
+ "nullable": true
3160
+ }
1560
3161
  }
1561
3162
  },
1562
- "updatedAt": {
1563
- "type": "string",
1564
- "format": "date-time",
1565
- "nullable": true
1566
- }
1567
- }
1568
- },
1569
- "FlowStep": {
1570
- "oneOf": [
1571
3163
  {
1572
3164
  "type": "object",
1573
3165
  "required": [
@@ -1581,7 +3173,7 @@
1581
3173
  ],
1582
3174
  "properties": {
1583
3175
  "config": {
1584
- "$ref": "#/components/schemas/DvConfig"
3176
+ "$ref": "#/components/schemas/PhoneConfig"
1585
3177
  },
1586
3178
  "createdAt": {
1587
3179
  "type": "string",
@@ -1593,14 +3185,17 @@
1593
3185
  "nullable": true
1594
3186
  },
1595
3187
  "flowId": {
1596
- "type": "string"
3188
+ "type": "string",
3189
+ "format": "uuid"
1597
3190
  },
1598
3191
  "gotoStepId": {
1599
3192
  "type": "string",
3193
+ "format": "uuid",
1600
3194
  "nullable": true
1601
3195
  },
1602
3196
  "id": {
1603
- "type": "string"
3197
+ "type": "string",
3198
+ "format": "uuid"
1604
3199
  },
1605
3200
  "name": {
1606
3201
  "type": "string"
@@ -1619,7 +3214,7 @@
1619
3214
  "type": {
1620
3215
  "type": "string",
1621
3216
  "enum": [
1622
- "DV"
3217
+ "PHONE"
1623
3218
  ]
1624
3219
  },
1625
3220
  "updatedAt": {
@@ -1642,7 +3237,7 @@
1642
3237
  ],
1643
3238
  "properties": {
1644
3239
  "config": {
1645
- "$ref": "#/components/schemas/FormConfig"
3240
+ "$ref": "#/components/schemas/WalletConfig"
1646
3241
  },
1647
3242
  "createdAt": {
1648
3243
  "type": "string",
@@ -1654,14 +3249,17 @@
1654
3249
  "nullable": true
1655
3250
  },
1656
3251
  "flowId": {
1657
- "type": "string"
3252
+ "type": "string",
3253
+ "format": "uuid"
1658
3254
  },
1659
3255
  "gotoStepId": {
1660
3256
  "type": "string",
3257
+ "format": "uuid",
1661
3258
  "nullable": true
1662
3259
  },
1663
3260
  "id": {
1664
- "type": "string"
3261
+ "type": "string",
3262
+ "format": "uuid"
1665
3263
  },
1666
3264
  "name": {
1667
3265
  "type": "string"
@@ -1680,7 +3278,7 @@
1680
3278
  "type": {
1681
3279
  "type": "string",
1682
3280
  "enum": [
1683
- "FORM"
3281
+ "WALLET"
1684
3282
  ]
1685
3283
  },
1686
3284
  "updatedAt": {
@@ -1703,7 +3301,7 @@
1703
3301
  ],
1704
3302
  "properties": {
1705
3303
  "config": {
1706
- "$ref": "#/components/schemas/PoaConfig"
3304
+ "$ref": "#/components/schemas/LivenessConfig"
1707
3305
  },
1708
3306
  "createdAt": {
1709
3307
  "type": "string",
@@ -1715,14 +3313,17 @@
1715
3313
  "nullable": true
1716
3314
  },
1717
3315
  "flowId": {
1718
- "type": "string"
3316
+ "type": "string",
3317
+ "format": "uuid"
1719
3318
  },
1720
3319
  "gotoStepId": {
1721
3320
  "type": "string",
3321
+ "format": "uuid",
1722
3322
  "nullable": true
1723
3323
  },
1724
3324
  "id": {
1725
- "type": "string"
3325
+ "type": "string",
3326
+ "format": "uuid"
1726
3327
  },
1727
3328
  "name": {
1728
3329
  "type": "string"
@@ -1741,7 +3342,7 @@
1741
3342
  "type": {
1742
3343
  "type": "string",
1743
3344
  "enum": [
1744
- "POA"
3345
+ "LIVENESS"
1745
3346
  ]
1746
3347
  },
1747
3348
  "updatedAt": {
@@ -1764,7 +3365,7 @@
1764
3365
  ],
1765
3366
  "properties": {
1766
3367
  "config": {
1767
- "$ref": "#/components/schemas/KybConfig"
3368
+ "$ref": "#/components/schemas/AutoOneClickKycConfig"
1768
3369
  },
1769
3370
  "createdAt": {
1770
3371
  "type": "string",
@@ -1776,14 +3377,17 @@
1776
3377
  "nullable": true
1777
3378
  },
1778
3379
  "flowId": {
1779
- "type": "string"
3380
+ "type": "string",
3381
+ "format": "uuid"
1780
3382
  },
1781
3383
  "gotoStepId": {
1782
3384
  "type": "string",
3385
+ "format": "uuid",
1783
3386
  "nullable": true
1784
3387
  },
1785
3388
  "id": {
1786
- "type": "string"
3389
+ "type": "string",
3390
+ "format": "uuid"
1787
3391
  },
1788
3392
  "name": {
1789
3393
  "type": "string"
@@ -1802,7 +3406,7 @@
1802
3406
  "type": {
1803
3407
  "type": "string",
1804
3408
  "enum": [
1805
- "KYB"
3409
+ "AUTO_ONE_CLICK_KYC"
1806
3410
  ]
1807
3411
  },
1808
3412
  "updatedAt": {
@@ -1825,7 +3429,7 @@
1825
3429
  ],
1826
3430
  "properties": {
1827
3431
  "config": {
1828
- "$ref": "#/components/schemas/SpidConfig"
3432
+ "$ref": "#/components/schemas/OrchestratorConfig"
1829
3433
  },
1830
3434
  "createdAt": {
1831
3435
  "type": "string",
@@ -1837,14 +3441,17 @@
1837
3441
  "nullable": true
1838
3442
  },
1839
3443
  "flowId": {
1840
- "type": "string"
3444
+ "type": "string",
3445
+ "format": "uuid"
1841
3446
  },
1842
3447
  "gotoStepId": {
1843
3448
  "type": "string",
3449
+ "format": "uuid",
1844
3450
  "nullable": true
1845
3451
  },
1846
3452
  "id": {
1847
- "type": "string"
3453
+ "type": "string",
3454
+ "format": "uuid"
1848
3455
  },
1849
3456
  "name": {
1850
3457
  "type": "string"
@@ -1863,7 +3470,7 @@
1863
3470
  "type": {
1864
3471
  "type": "string",
1865
3472
  "enum": [
1866
- "SPID"
3473
+ "ORCHESTRATOR"
1867
3474
  ]
1868
3475
  },
1869
3476
  "updatedAt": {
@@ -1880,6 +3487,9 @@
1880
3487
  },
1881
3488
  "FlowStepConfig": {
1882
3489
  "oneOf": [
3490
+ {
3491
+ "$ref": "#/components/schemas/AutoOneClickKycConfig"
3492
+ },
1883
3493
  {
1884
3494
  "$ref": "#/components/schemas/DvConfig"
1885
3495
  },
@@ -1892,9 +3502,97 @@
1892
3502
  {
1893
3503
  "$ref": "#/components/schemas/KybConfig"
1894
3504
  },
1895
- {
1896
- "$ref": "#/components/schemas/SpidConfig"
3505
+ {
3506
+ "$ref": "#/components/schemas/WalletConfig"
3507
+ },
3508
+ {
3509
+ "$ref": "#/components/schemas/LivenessConfig"
3510
+ },
3511
+ {
3512
+ "$ref": "#/components/schemas/OrchestratorConfig"
3513
+ },
3514
+ {
3515
+ "$ref": "#/components/schemas/SpidConfig"
3516
+ },
3517
+ {
3518
+ "$ref": "#/components/schemas/PhoneConfig"
3519
+ }
3520
+ ]
3521
+ },
3522
+ "FlowStepInfo": {
3523
+ "type": "object",
3524
+ "required": [
3525
+ "ID",
3526
+ "NAME",
3527
+ "SLUG",
3528
+ "ORDER",
3529
+ "CONFIG",
3530
+ "FLOW_ID",
3531
+ "STEP_TYPE"
3532
+ ],
3533
+ "properties": {
3534
+ "CONFIG": {
3535
+ "$ref": "#/components/schemas/FlowStepConfig"
3536
+ },
3537
+ "CREATED_AT": {
3538
+ "type": "string",
3539
+ "format": "date-time",
3540
+ "nullable": true
3541
+ },
3542
+ "FAILURE_URL": {
3543
+ "type": "string",
3544
+ "nullable": true
3545
+ },
3546
+ "FLOW_ID": {
3547
+ "type": "string",
3548
+ "format": "uuid"
3549
+ },
3550
+ "GOTO_STEP_ID": {
3551
+ "type": "string",
3552
+ "format": "uuid",
3553
+ "nullable": true
3554
+ },
3555
+ "ID": {
3556
+ "type": "string",
3557
+ "format": "uuid"
3558
+ },
3559
+ "NAME": {
3560
+ "type": "string"
3561
+ },
3562
+ "ORDER": {
3563
+ "type": "integer",
3564
+ "format": "int32"
3565
+ },
3566
+ "SLUG": {
3567
+ "type": "string"
3568
+ },
3569
+ "STEP_TYPE": {
3570
+ "$ref": "#/components/schemas/FlowStepType"
3571
+ },
3572
+ "SUCCESS_URL": {
3573
+ "type": "string",
3574
+ "nullable": true
3575
+ },
3576
+ "UPDATED_AT": {
3577
+ "type": "string",
3578
+ "format": "date-time",
3579
+ "nullable": true
1897
3580
  }
3581
+ }
3582
+ },
3583
+ "FlowStepType": {
3584
+ "type": "string",
3585
+ "enum": [
3586
+ "DV",
3587
+ "FORM",
3588
+ "POA",
3589
+ "KYB",
3590
+ "SPID",
3591
+ "PHONE",
3592
+ "WALLET",
3593
+ "LIVENESS",
3594
+ "AUTO_ONE_CLICK_KYC",
3595
+ "ORCHESTRATOR"
1898
3596
  ]
1899
3597
  },
1900
3598
  "Form": {
@@ -1916,13 +3614,15 @@
1916
3614
  "nullable": true
1917
3615
  },
1918
3616
  "id": {
1919
- "type": "string"
3617
+ "type": "string",
3618
+ "format": "uuid"
1920
3619
  },
1921
3620
  "name": {
1922
3621
  "type": "string"
1923
3622
  },
1924
3623
  "organizationId": {
1925
- "type": "string"
3624
+ "type": "string",
3625
+ "format": "uuid"
1926
3626
  },
1927
3627
  "sections": {
1928
3628
  "type": "array",
@@ -1968,7 +3668,8 @@
1968
3668
  "nullable": true
1969
3669
  },
1970
3670
  "formId": {
1971
- "type": "string"
3671
+ "type": "string",
3672
+ "format": "uuid"
1972
3673
  },
1973
3674
  "labels": {
1974
3675
  "type": "object",
@@ -2057,7 +3758,8 @@
2057
3758
  "nullable": true
2058
3759
  },
2059
3760
  "flowResultId": {
2060
- "type": "string"
3761
+ "type": "string",
3762
+ "format": "uuid"
2061
3763
  },
2062
3764
  "flowStep": {
2063
3765
  "allOf": [
@@ -2069,6 +3771,7 @@
2069
3771
  },
2070
3772
  "flowStepId": {
2071
3773
  "type": "string",
3774
+ "format": "uuid",
2072
3775
  "nullable": true
2073
3776
  },
2074
3777
  "form": {
@@ -2080,7 +3783,8 @@
2080
3783
  "nullable": true
2081
3784
  },
2082
3785
  "id": {
2083
- "type": "string"
3786
+ "type": "string",
3787
+ "format": "uuid"
2084
3788
  },
2085
3789
  "reason": {
2086
3790
  "allOf": [
@@ -2106,6 +3810,7 @@
2106
3810
  },
2107
3811
  "verificationRequestId": {
2108
3812
  "type": "string",
3813
+ "format": "uuid",
2109
3814
  "nullable": true
2110
3815
  }
2111
3816
  }
@@ -2172,6 +3877,7 @@
2172
3877
  "type": "object",
2173
3878
  "required": [
2174
3879
  "flow",
3880
+ "organizationId",
2175
3881
  "organizationName",
2176
3882
  "settings"
2177
3883
  ],
@@ -2179,6 +3885,17 @@
2179
3885
  "flow": {
2180
3886
  "$ref": "#/components/schemas/Flow"
2181
3887
  },
3888
+ "flowPartnerOrganizationsNames": {
3889
+ "type": "array",
3890
+ "items": {
3891
+ "type": "string"
3892
+ },
3893
+ "nullable": true
3894
+ },
3895
+ "organizationId": {
3896
+ "type": "string",
3897
+ "format": "uuid"
3898
+ },
2182
3899
  "organizationName": {
2183
3900
  "type": "string"
2184
3901
  },
@@ -2187,6 +3904,36 @@
2187
3904
  }
2188
3905
  }
2189
3906
  },
3907
+ "GetNextStepPayload": {
3908
+ "type": "object",
3909
+ "required": [
3910
+ "email"
3911
+ ],
3912
+ "properties": {
3913
+ "email": {
3914
+ "type": "string"
3915
+ }
3916
+ }
3917
+ },
3918
+ "GetNextStepResponse": {
3919
+ "type": "object",
3920
+ "required": [
3921
+ "isCompleted"
3922
+ ],
3923
+ "properties": {
3924
+ "isCompleted": {
3925
+ "type": "boolean"
3926
+ },
3927
+ "nextStep": {
3928
+ "allOf": [
3929
+ {
3930
+ "$ref": "#/components/schemas/FlowStep"
3931
+ }
3932
+ ],
3933
+ "nullable": true
3934
+ }
3935
+ }
3936
+ },
2190
3937
  "GetVerificationRequestResponse": {
2191
3938
  "type": "object",
2192
3939
  "required": [
@@ -2197,6 +3944,14 @@
2197
3944
  "identity": {
2198
3945
  "$ref": "#/components/schemas/Identity"
2199
3946
  },
3947
+ "passkey": {
3948
+ "allOf": [
3949
+ {
3950
+ "$ref": "#/components/schemas/VaultUnlockPasskeyData"
3951
+ }
3952
+ ],
3953
+ "nullable": true
3954
+ },
2200
3955
  "verificationRequest": {
2201
3956
  "$ref": "#/components/schemas/VerificationRequest"
2202
3957
  }
@@ -2210,7 +3965,8 @@
2210
3965
  "role",
2211
3966
  "email",
2212
3967
  "emailVerified",
2213
- "isActive"
3968
+ "isActive",
3969
+ "settings"
2214
3970
  ],
2215
3971
  "properties": {
2216
3972
  "createdAt": {
@@ -2220,6 +3976,7 @@
2220
3976
  },
2221
3977
  "defaultOrganizationId": {
2222
3978
  "type": "string",
3979
+ "format": "uuid",
2223
3980
  "nullable": true
2224
3981
  },
2225
3982
  "email": {
@@ -2229,7 +3986,8 @@
2229
3986
  "type": "boolean"
2230
3987
  },
2231
3988
  "id": {
2232
- "type": "string"
3989
+ "type": "string",
3990
+ "format": "uuid"
2233
3991
  },
2234
3992
  "isActive": {
2235
3993
  "type": "boolean"
@@ -2237,6 +3995,9 @@
2237
3995
  "role": {
2238
3996
  "$ref": "#/components/schemas/Role"
2239
3997
  },
3998
+ "settings": {
3999
+ "$ref": "#/components/schemas/IdentitySettings"
4000
+ },
2240
4001
  "updatedAt": {
2241
4002
  "type": "string",
2242
4003
  "format": "date-time",
@@ -2247,6 +4008,20 @@
2247
4008
  }
2248
4009
  }
2249
4010
  },
4011
+ "IdentitySettings": {
4012
+ "type": "object",
4013
+ "required": [
4014
+ "locale"
4015
+ ],
4016
+ "properties": {
4017
+ "lastEnvironmentIsSandbox": {
4018
+ "type": "boolean"
4019
+ },
4020
+ "locale": {
4021
+ "$ref": "#/components/schemas/Locale"
4022
+ }
4023
+ }
4024
+ },
2250
4025
  "Image": {
2251
4026
  "type": "object",
2252
4027
  "required": [
@@ -2278,48 +4053,251 @@
2278
4053
  }
2279
4054
  },
2280
4055
  "InputField": {
2281
- "type": "object",
2282
- "required": [
2283
- "type",
2284
- "required",
2285
- "label",
2286
- "name",
2287
- "options"
2288
- ],
2289
- "properties": {
2290
- "label": {
4056
+ "oneOf": [
4057
+ {
2291
4058
  "type": "object",
2292
- "additionalProperties": {
2293
- "type": "string"
4059
+ "required": [
4060
+ "required",
4061
+ "label",
4062
+ "name",
4063
+ "options",
4064
+ "type"
4065
+ ],
4066
+ "properties": {
4067
+ "label": {
4068
+ "type": "object",
4069
+ "additionalProperties": {
4070
+ "type": "string"
4071
+ }
4072
+ },
4073
+ "name": {
4074
+ "type": "string"
4075
+ },
4076
+ "options": {},
4077
+ "required": {
4078
+ "type": "boolean"
4079
+ },
4080
+ "type": {
4081
+ "type": "string",
4082
+ "enum": [
4083
+ "date"
4084
+ ]
4085
+ },
4086
+ "value": {
4087
+ "nullable": true
4088
+ }
2294
4089
  }
2295
4090
  },
2296
- "name": {
2297
- "type": "string"
4091
+ {
4092
+ "type": "object",
4093
+ "required": [
4094
+ "required",
4095
+ "label",
4096
+ "name",
4097
+ "options",
4098
+ "type"
4099
+ ],
4100
+ "properties": {
4101
+ "label": {
4102
+ "type": "object",
4103
+ "additionalProperties": {
4104
+ "type": "string"
4105
+ }
4106
+ },
4107
+ "name": {
4108
+ "type": "string"
4109
+ },
4110
+ "options": {},
4111
+ "required": {
4112
+ "type": "boolean"
4113
+ },
4114
+ "type": {
4115
+ "type": "string",
4116
+ "enum": [
4117
+ "text"
4118
+ ]
4119
+ },
4120
+ "value": {
4121
+ "nullable": true
4122
+ }
4123
+ }
2298
4124
  },
2299
- "options": {
4125
+ {
2300
4126
  "type": "object",
2301
- "additionalProperties": {
2302
- "type": "string"
4127
+ "required": [
4128
+ "required",
4129
+ "label",
4130
+ "name",
4131
+ "options",
4132
+ "type"
4133
+ ],
4134
+ "properties": {
4135
+ "label": {
4136
+ "type": "object",
4137
+ "additionalProperties": {
4138
+ "type": "string"
4139
+ }
4140
+ },
4141
+ "name": {
4142
+ "type": "string"
4143
+ },
4144
+ "options": {},
4145
+ "required": {
4146
+ "type": "boolean"
4147
+ },
4148
+ "type": {
4149
+ "type": "string",
4150
+ "enum": [
4151
+ "textarea"
4152
+ ]
4153
+ },
4154
+ "value": {
4155
+ "nullable": true
4156
+ }
2303
4157
  }
2304
4158
  },
2305
- "required": {
2306
- "type": "boolean"
4159
+ {
4160
+ "type": "object",
4161
+ "required": [
4162
+ "required",
4163
+ "label",
4164
+ "name",
4165
+ "options",
4166
+ "type"
4167
+ ],
4168
+ "properties": {
4169
+ "label": {
4170
+ "type": "object",
4171
+ "additionalProperties": {
4172
+ "type": "string"
4173
+ }
4174
+ },
4175
+ "name": {
4176
+ "type": "string"
4177
+ },
4178
+ "options": {},
4179
+ "required": {
4180
+ "type": "boolean"
4181
+ },
4182
+ "type": {
4183
+ "type": "string",
4184
+ "enum": [
4185
+ "checkbox"
4186
+ ]
4187
+ },
4188
+ "value": {
4189
+ "nullable": true
4190
+ }
4191
+ }
2307
4192
  },
2308
- "type": {
2309
- "$ref": "#/components/schemas/InputFieldType"
4193
+ {
4194
+ "type": "object",
4195
+ "required": [
4196
+ "required",
4197
+ "label",
4198
+ "name",
4199
+ "options",
4200
+ "type"
4201
+ ],
4202
+ "properties": {
4203
+ "label": {
4204
+ "type": "object",
4205
+ "additionalProperties": {
4206
+ "type": "string"
4207
+ }
4208
+ },
4209
+ "name": {
4210
+ "type": "string"
4211
+ },
4212
+ "options": {
4213
+ "$ref": "#/components/schemas/FileOptions"
4214
+ },
4215
+ "required": {
4216
+ "type": "boolean"
4217
+ },
4218
+ "type": {
4219
+ "type": "string",
4220
+ "enum": [
4221
+ "file"
4222
+ ]
4223
+ },
4224
+ "value": {
4225
+ "nullable": true
4226
+ }
4227
+ }
2310
4228
  },
2311
- "value": {
2312
- "nullable": true
4229
+ {
4230
+ "type": "object",
4231
+ "required": [
4232
+ "required",
4233
+ "label",
4234
+ "name",
4235
+ "options",
4236
+ "optionLabels",
4237
+ "type"
4238
+ ],
4239
+ "properties": {
4240
+ "label": {
4241
+ "type": "object",
4242
+ "additionalProperties": {
4243
+ "type": "string"
4244
+ }
4245
+ },
4246
+ "name": {
4247
+ "type": "string"
4248
+ },
4249
+ "optionLabels": {
4250
+ "type": "object",
4251
+ "description": "Option labels for select fields: maps option value/UUID to localized labels",
4252
+ "additionalProperties": {
4253
+ "type": "object",
4254
+ "additionalProperties": {
4255
+ "type": "string"
4256
+ }
4257
+ }
4258
+ },
4259
+ "options": {
4260
+ "$ref": "#/components/schemas/SelectOptions"
4261
+ },
4262
+ "required": {
4263
+ "type": "boolean"
4264
+ },
4265
+ "type": {
4266
+ "type": "string",
4267
+ "enum": [
4268
+ "select"
4269
+ ]
4270
+ },
4271
+ "value": {
4272
+ "nullable": true
4273
+ }
4274
+ }
2313
4275
  }
4276
+ ],
4277
+ "discriminator": {
4278
+ "propertyName": "type"
2314
4279
  }
2315
4280
  },
4281
+ "InputFieldOptions": {
4282
+ "oneOf": [
4283
+ {
4284
+ "$ref": "#/components/schemas/FileOptions"
4285
+ },
4286
+ {
4287
+ "$ref": "#/components/schemas/SelectOptions"
4288
+ },
4289
+ {}
4290
+ ]
4291
+ },
2316
4292
  "InputFieldType": {
2317
4293
  "type": "string",
2318
4294
  "enum": [
2319
4295
  "date",
2320
4296
  "text",
2321
4297
  "textarea",
2322
- "checkbox"
4298
+ "checkbox",
4299
+ "file",
4300
+ "select"
2323
4301
  ]
2324
4302
  },
2325
4303
  "KybConfig": {
@@ -2328,8 +4306,37 @@
2328
4306
  "kycFlowId"
2329
4307
  ],
2330
4308
  "properties": {
4309
+ "articlesOfAssociation": {
4310
+ "allOf": [
4311
+ {
4312
+ "$ref": "#/components/schemas/DocumentConfig"
4313
+ }
4314
+ ],
4315
+ "nullable": true
4316
+ },
4317
+ "certificateOfIncorporation": {
4318
+ "allOf": [
4319
+ {
4320
+ "$ref": "#/components/schemas/DocumentConfig"
4321
+ }
4322
+ ],
4323
+ "nullable": true
4324
+ },
4325
+ "collectDirectors": {
4326
+ "type": "boolean",
4327
+ "default": "false",
4328
+ "example": "false"
4329
+ },
4330
+ "customDocuments": {
4331
+ "type": "array",
4332
+ "items": {
4333
+ "$ref": "#/components/schemas/CustomDocumentConfig"
4334
+ },
4335
+ "nullable": true
4336
+ },
2331
4337
  "kycFlowId": {
2332
- "type": "string"
4338
+ "type": "string",
4339
+ "format": "uuid"
2333
4340
  },
2334
4341
  "labels": {
2335
4342
  "type": "object",
@@ -2338,6 +4345,13 @@
2338
4345
  },
2339
4346
  "example": "{ \"default\": \"Next step\" }"
2340
4347
  },
4348
+ "maxDirectors": {
4349
+ "type": "integer",
4350
+ "format": "int32",
4351
+ "default": "10",
4352
+ "example": "3",
4353
+ "minimum": 0
4354
+ },
2341
4355
  "maxFileUploads": {
2342
4356
  "type": "integer",
2343
4357
  "format": "int32",
@@ -2351,6 +4365,14 @@
2351
4365
  "default": "10",
2352
4366
  "example": "3",
2353
4367
  "minimum": 0
4368
+ },
4369
+ "organizationalStructureChart": {
4370
+ "allOf": [
4371
+ {
4372
+ "$ref": "#/components/schemas/DocumentConfig"
4373
+ }
4374
+ ],
4375
+ "nullable": true
2354
4376
  }
2355
4377
  }
2356
4378
  },
@@ -2375,6 +4397,13 @@
2375
4397
  "format": "date-time",
2376
4398
  "nullable": true
2377
4399
  },
4400
+ "directorDefinitions": {
4401
+ "type": "array",
4402
+ "items": {
4403
+ "$ref": "#/components/schemas/DirectorDefinition"
4404
+ },
4405
+ "nullable": true
4406
+ },
2378
4407
  "documentUploads": {
2379
4408
  "type": "array",
2380
4409
  "items": {
@@ -2390,8 +4419,14 @@
2390
4419
  ],
2391
4420
  "nullable": true
2392
4421
  },
4422
+ "flowStepId": {
4423
+ "type": "string",
4424
+ "format": "uuid",
4425
+ "nullable": true
4426
+ },
2393
4427
  "id": {
2394
- "type": "string"
4428
+ "type": "string",
4429
+ "format": "uuid"
2395
4430
  },
2396
4431
  "pepAndSanctionsStatus": {
2397
4432
  "$ref": "#/components/schemas/PepAndSanctionsStatus"
@@ -2421,14 +4456,69 @@
2421
4456
  },
2422
4457
  "verificationRequestId": {
2423
4458
  "type": "string",
4459
+ "format": "uuid",
4460
+ "nullable": true
4461
+ }
4462
+ }
4463
+ },
4464
+ "LivenessConfig": {
4465
+ "type": "object",
4466
+ "required": [
4467
+ "documentStepId"
4468
+ ],
4469
+ "properties": {
4470
+ "biometricCheckEnabled": {
4471
+ "type": "boolean",
4472
+ "description": "When `true` the liveness step also performs a biometric match against the stored portrait.\nSet to `false` to keep the liveness UX but skip biometric verification.",
4473
+ "nullable": true
4474
+ },
4475
+ "documentStepId": {
4476
+ "type": "string",
4477
+ "format": "uuid"
4478
+ },
4479
+ "labels": {
4480
+ "type": "object",
4481
+ "additionalProperties": {
4482
+ "type": "string"
4483
+ },
4484
+ "example": "{ \"en_button_label\": \"Next step\" }"
4485
+ },
4486
+ "maxAttempts": {
4487
+ "type": "integer",
4488
+ "format": "int32",
4489
+ "example": "5",
4490
+ "nullable": true,
4491
+ "minimum": 0
4492
+ },
4493
+ "thresholds": {
4494
+ "type": "object",
4495
+ "additionalProperties": {
4496
+ "type": "number",
4497
+ "format": "float"
4498
+ },
2424
4499
  "nullable": true
2425
4500
  }
2426
4501
  }
2427
4502
  },
4503
+ "LivenessConfigThreshold": {
4504
+ "type": "string",
4505
+ "enum": [
4506
+ "portraitMatchPercent",
4507
+ "biometricMatchPercent"
4508
+ ]
4509
+ },
2428
4510
  "Locale": {
2429
4511
  "type": "string",
4512
+ "description": "Locale identifier",
2430
4513
  "enum": [
2431
- "en"
4514
+ "en",
4515
+ "it",
4516
+ "de",
4517
+ "es",
4518
+ "fr",
4519
+ "hi",
4520
+ "id",
4521
+ "pt"
2432
4522
  ]
2433
4523
  },
2434
4524
  "ModerateKybResultPayload": {
@@ -2473,6 +4563,7 @@
2473
4563
  "enum": [
2474
4564
  "ACQUIRING",
2475
4565
  "PENDING_MODERATION",
4566
+ "REVIEW_REQUIRED",
2476
4567
  "SUCCESS",
2477
4568
  "FAILED"
2478
4569
  ]
@@ -2480,6 +4571,76 @@
2480
4571
  "ModerationResultStatusField": {
2481
4572
  "$ref": "#/components/schemas/ModerationResultStatus"
2482
4573
  },
4574
+ "OrchestratorCondition": {
4575
+ "type": "object",
4576
+ "required": [
4577
+ "countryCodes",
4578
+ "targetFlowId"
4579
+ ],
4580
+ "properties": {
4581
+ "countryCodes": {
4582
+ "type": "array",
4583
+ "items": {
4584
+ "type": "string"
4585
+ },
4586
+ "description": "Country codes to match (ISO Alpha-2), or [\"*\"] for any"
4587
+ },
4588
+ "documentTypes": {
4589
+ "type": "array",
4590
+ "items": {
4591
+ "$ref": "#/components/schemas/OrchestratorDocumentType"
4592
+ },
4593
+ "description": "Document types to match, or None for any",
4594
+ "nullable": true
4595
+ },
4596
+ "targetFlowId": {
4597
+ "type": "string",
4598
+ "format": "uuid",
4599
+ "description": "Target flow ID to redirect to"
4600
+ }
4601
+ }
4602
+ },
4603
+ "OrchestratorConfig": {
4604
+ "type": "object",
4605
+ "required": [
4606
+ "collectDocumentType"
4607
+ ],
4608
+ "properties": {
4609
+ "collectDocumentType": {
4610
+ "type": "boolean",
4611
+ "description": "Whether to collect document type from user (required field for untagged deserialization)"
4612
+ },
4613
+ "conditions": {
4614
+ "type": "array",
4615
+ "items": {
4616
+ "$ref": "#/components/schemas/OrchestratorCondition"
4617
+ },
4618
+ "description": "Ordered list of conditions (first match wins)"
4619
+ },
4620
+ "defaultFlowId": {
4621
+ "type": "string",
4622
+ "format": "uuid",
4623
+ "description": "Default fallback flow ID if no conditions match (the \"else\" case)",
4624
+ "nullable": true
4625
+ },
4626
+ "labels": {
4627
+ "type": "object",
4628
+ "description": "UI labels",
4629
+ "additionalProperties": {
4630
+ "type": "string"
4631
+ },
4632
+ "example": "{ \"en_title\": \"Select your country\" }"
4633
+ }
4634
+ }
4635
+ },
4636
+ "OrchestratorDocumentType": {
4637
+ "type": "string",
4638
+ "enum": [
4639
+ "ID_CARD",
4640
+ "DRIVER_LICENSE",
4641
+ "PASSPORT"
4642
+ ]
4643
+ },
2483
4644
  "Organization": {
2484
4645
  "type": "object",
2485
4646
  "required": [
@@ -2509,7 +4670,8 @@
2509
4670
  "type": "string"
2510
4671
  },
2511
4672
  "id": {
2512
- "type": "string"
4673
+ "type": "string",
4674
+ "format": "uuid"
2513
4675
  },
2514
4676
  "industry": {
2515
4677
  "type": "string",
@@ -2620,6 +4782,71 @@
2620
4782
  }
2621
4783
  }
2622
4784
  },
4785
+ "PhoneConfig": {
4786
+ "type": "object",
4787
+ "properties": {
4788
+ "labels": {
4789
+ "type": "object",
4790
+ "additionalProperties": {
4791
+ "type": "string"
4792
+ },
4793
+ "example": "{ \"default\": \"Next step\" }"
4794
+ }
4795
+ }
4796
+ },
4797
+ "PhoneResult": {
4798
+ "type": "object",
4799
+ "required": [
4800
+ "id",
4801
+ "status",
4802
+ "phoneNumberLast4",
4803
+ "flowResultId"
4804
+ ],
4805
+ "properties": {
4806
+ "createdAt": {
4807
+ "type": "string",
4808
+ "format": "date-time",
4809
+ "nullable": true
4810
+ },
4811
+ "flowResultId": {
4812
+ "type": "string",
4813
+ "format": "uuid"
4814
+ },
4815
+ "flowStep": {
4816
+ "allOf": [
4817
+ {
4818
+ "$ref": "#/components/schemas/FlowStep"
4819
+ }
4820
+ ],
4821
+ "nullable": true
4822
+ },
4823
+ "flowStepId": {
4824
+ "type": "string",
4825
+ "format": "uuid",
4826
+ "nullable": true
4827
+ },
4828
+ "id": {
4829
+ "type": "string",
4830
+ "format": "uuid"
4831
+ },
4832
+ "phoneNumberLast4": {
4833
+ "type": "string"
4834
+ },
4835
+ "status": {
4836
+ "$ref": "#/components/schemas/ResultStatus"
4837
+ },
4838
+ "updatedAt": {
4839
+ "type": "string",
4840
+ "format": "date-time",
4841
+ "nullable": true
4842
+ },
4843
+ "verificationRequestId": {
4844
+ "type": "string",
4845
+ "format": "uuid",
4846
+ "nullable": true
4847
+ }
4848
+ }
4849
+ },
2623
4850
  "Plaintext": {
2624
4851
  "type": "object",
2625
4852
  "required": [
@@ -2669,7 +4896,11 @@
2669
4896
  "FINANCIAL_DOCUMENT",
2670
4897
  "RECEIPT",
2671
4898
  "INVOICE",
2672
- "BANK_DOCUMENT"
4899
+ "BANK_DOCUMENT",
4900
+ "TAX_CLEARANCE_CERTIFICATE",
4901
+ "HOUSEHOLD_REGISTER",
4902
+ "CERTIFICATE_OF_RESIDENCE",
4903
+ "OTHER"
2673
4904
  ]
2674
4905
  },
2675
4906
  "PoaReason": {
@@ -2679,7 +4910,8 @@
2679
4910
  "DOCUMENT_TYPE_NOT_ALLOWED",
2680
4911
  "NAME_MISMATCH",
2681
4912
  "DATE_TOO_OLD",
2682
- "INVALID_DOCUMENT"
4913
+ "INVALID_DOCUMENT",
4914
+ "UNRECOGNIZED_ADDRESS"
2683
4915
  ]
2684
4916
  },
2685
4917
  "PoaResult": {
@@ -2702,6 +4934,7 @@
2702
4934
  },
2703
4935
  "documentId": {
2704
4936
  "type": "string",
4937
+ "format": "uuid",
2705
4938
  "nullable": true
2706
4939
  },
2707
4940
  "documentType": {
@@ -2720,8 +4953,14 @@
2720
4953
  ],
2721
4954
  "nullable": true
2722
4955
  },
4956
+ "flowStepId": {
4957
+ "type": "string",
4958
+ "format": "uuid",
4959
+ "nullable": true
4960
+ },
2723
4961
  "id": {
2724
- "type": "string"
4962
+ "type": "string",
4963
+ "format": "uuid"
2725
4964
  },
2726
4965
  "reason": {
2727
4966
  "allOf": [
@@ -2740,6 +4979,7 @@
2740
4979
  },
2741
4980
  "verificationRequestId": {
2742
4981
  "type": "string",
4982
+ "format": "uuid",
2743
4983
  "nullable": true
2744
4984
  }
2745
4985
  }
@@ -2760,18 +5000,33 @@
2760
5000
  "type": "object",
2761
5001
  "required": [
2762
5002
  "verificationRequestId",
2763
- "jobId",
2764
- "websocketNamespace"
5003
+ "jobId"
2765
5004
  ],
2766
5005
  "properties": {
2767
5006
  "jobId": {
2768
5007
  "type": "string"
2769
5008
  },
2770
5009
  "verificationRequestId": {
2771
- "type": "string"
5010
+ "type": "string",
5011
+ "format": "uuid"
5012
+ }
5013
+ }
5014
+ },
5015
+ "ProcessImagesOverrides": {
5016
+ "type": "object",
5017
+ "properties": {
5018
+ "authParams": {
5019
+ "type": "object",
5020
+ "additionalProperties": {},
5021
+ "nullable": true
2772
5022
  },
2773
- "websocketNamespace": {
2774
- "type": "string"
5023
+ "checkAuth": {
5024
+ "type": "boolean",
5025
+ "nullable": true
5026
+ },
5027
+ "scenario": {
5028
+ "type": "string",
5029
+ "nullable": true
2775
5030
  }
2776
5031
  }
2777
5032
  },
@@ -2781,25 +5036,160 @@
2781
5036
  "UNKNOWN",
2782
5037
  "KYC",
2783
5038
  "KYB",
2784
- "PRODUCTION_MODE",
5039
+ "KYC_PASSPORT",
2785
5040
  "SPID",
5041
+ "PHONE",
5042
+ "WALLET",
2786
5043
  "EXPORT_API",
2787
- "EXPORT_UI"
5044
+ "EXPORT_UI",
5045
+ "BUSINESS_VERIFICATION"
5046
+ ]
5047
+ },
5048
+ "RequiredDocumentField": {
5049
+ "type": "string",
5050
+ "enum": [
5051
+ "firstName",
5052
+ "middleName",
5053
+ "lastName",
5054
+ "dateOfBirth",
5055
+ "phone",
5056
+ "email",
5057
+ "street",
5058
+ "city",
5059
+ "state",
5060
+ "postcode",
5061
+ "country",
5062
+ "socialSecurityNumber"
5063
+ ]
5064
+ },
5065
+ "ResultControlOperation": {
5066
+ "type": "object",
5067
+ "required": [
5068
+ "timestamp",
5069
+ "identityId",
5070
+ "zid",
5071
+ "operation"
5072
+ ],
5073
+ "properties": {
5074
+ "identityId": {
5075
+ "type": "string",
5076
+ "format": "uuid"
5077
+ },
5078
+ "operation": {
5079
+ "$ref": "#/components/schemas/ResultControlOperationType"
5080
+ },
5081
+ "timestamp": {
5082
+ "type": "string",
5083
+ "format": "date-time"
5084
+ },
5085
+ "zid": {
5086
+ "type": "string"
5087
+ }
5088
+ }
5089
+ },
5090
+ "ResultControlOperationType": {
5091
+ "oneOf": [
5092
+ {
5093
+ "type": "object",
5094
+ "required": [
5095
+ "approve"
5096
+ ],
5097
+ "properties": {
5098
+ "approve": {
5099
+ "type": "object",
5100
+ "properties": {
5101
+ "reason": {
5102
+ "type": "string",
5103
+ "nullable": true
5104
+ }
5105
+ }
5106
+ }
5107
+ }
5108
+ },
5109
+ {
5110
+ "type": "object",
5111
+ "required": [
5112
+ "reject"
5113
+ ],
5114
+ "properties": {
5115
+ "reject": {
5116
+ "type": "object",
5117
+ "properties": {
5118
+ "reason": {
5119
+ "type": "string",
5120
+ "nullable": true
5121
+ }
5122
+ }
5123
+ }
5124
+ }
5125
+ },
5126
+ {
5127
+ "type": "object",
5128
+ "required": [
5129
+ "escalate"
5130
+ ],
5131
+ "properties": {
5132
+ "escalate": {
5133
+ "type": "object",
5134
+ "properties": {
5135
+ "reason": {
5136
+ "type": "string",
5137
+ "nullable": true
5138
+ }
5139
+ }
5140
+ }
5141
+ }
5142
+ }
2788
5143
  ]
2789
5144
  },
2790
5145
  "ResultStatus": {
2791
5146
  "type": "string",
2792
5147
  "enum": [
2793
5148
  "PASSED",
2794
- "FAILED"
5149
+ "FAILED",
5150
+ "PARTIAL",
5151
+ "REQUIRES_MANUAL_REVIEW",
5152
+ "REQUIRES_ADMIN_REVIEW"
5153
+ ]
5154
+ },
5155
+ "RiskLevel": {
5156
+ "type": "string",
5157
+ "enum": [
5158
+ "low",
5159
+ "medium",
5160
+ "high",
5161
+ "critical"
2795
5162
  ]
2796
5163
  },
5164
+ "RiskScore": {
5165
+ "type": "object",
5166
+ "required": [
5167
+ "riskScorePercent",
5168
+ "riskLevel",
5169
+ "sourcesCount"
5170
+ ],
5171
+ "properties": {
5172
+ "riskLevel": {
5173
+ "$ref": "#/components/schemas/RiskLevel"
5174
+ },
5175
+ "riskScorePercent": {
5176
+ "type": "integer",
5177
+ "format": "int32"
5178
+ },
5179
+ "sourcesCount": {
5180
+ "type": "integer",
5181
+ "minimum": 0
5182
+ }
5183
+ }
5184
+ },
2797
5185
  "Role": {
2798
5186
  "type": "string",
2799
5187
  "enum": [
5188
+ "ANONYMOUS",
2800
5189
  "GUEST",
2801
5190
  "USER",
2802
- "ADMIN"
5191
+ "ADMIN",
5192
+ "SDK"
2803
5193
  ]
2804
5194
  },
2805
5195
  "SdkCreateVerificationRequestPayload": {
@@ -2818,14 +5208,14 @@
2818
5208
  "type": "string"
2819
5209
  },
2820
5210
  "flowStepId": {
2821
- "type": "string"
5211
+ "type": "string",
5212
+ "format": "uuid"
2822
5213
  }
2823
5214
  }
2824
5215
  },
2825
5216
  "SdkCreateVerificationRequestResponse": {
2826
5217
  "type": "object",
2827
5218
  "required": [
2828
- "websocketNamespace",
2829
5219
  "verificationRequest",
2830
5220
  "zypheToken",
2831
5221
  "email",
@@ -2849,14 +5239,29 @@
2849
5239
  "verificationRequest": {
2850
5240
  "$ref": "#/components/schemas/VerificationRequest"
2851
5241
  },
2852
- "websocketNamespace": {
2853
- "type": "string"
2854
- },
2855
5242
  "zypheToken": {
2856
5243
  "type": "string"
2857
5244
  }
2858
5245
  }
2859
5246
  },
5247
+ "SelectOptions": {
5248
+ "type": "object",
5249
+ "required": [
5250
+ "values",
5251
+ "isOtherAllowed"
5252
+ ],
5253
+ "properties": {
5254
+ "isOtherAllowed": {
5255
+ "type": "boolean"
5256
+ },
5257
+ "values": {
5258
+ "type": "array",
5259
+ "items": {
5260
+ "type": "string"
5261
+ }
5262
+ }
5263
+ }
5264
+ },
2860
5265
  "Settings": {
2861
5266
  "type": "object",
2862
5267
  "properties": {
@@ -2892,6 +5297,15 @@
2892
5297
  }
2893
5298
  }
2894
5299
  },
5300
+ "SiwxChain": {
5301
+ "type": "string",
5302
+ "enum": [
5303
+ "ETHEREUM",
5304
+ "ETHEREUM_TESTNET",
5305
+ "SOLANA",
5306
+ "SOLANA_TESTNET"
5307
+ ]
5308
+ },
2895
5309
  "SpidConfig": {
2896
5310
  "type": "object",
2897
5311
  "properties": {
@@ -2925,8 +5339,14 @@
2925
5339
  ],
2926
5340
  "nullable": true
2927
5341
  },
5342
+ "flowStepId": {
5343
+ "type": "string",
5344
+ "format": "uuid",
5345
+ "nullable": true
5346
+ },
2928
5347
  "id": {
2929
- "type": "string"
5348
+ "type": "string",
5349
+ "format": "uuid"
2930
5350
  },
2931
5351
  "path": {
2932
5352
  "type": "string"
@@ -2945,6 +5365,7 @@
2945
5365
  },
2946
5366
  "verificationRequestId": {
2947
5367
  "type": "string",
5368
+ "format": "uuid",
2948
5369
  "nullable": true
2949
5370
  }
2950
5371
  }
@@ -3026,6 +5447,60 @@
3026
5447
  }
3027
5448
  }
3028
5449
  },
5450
+ "StartPhoneVerificationRequest": {
5451
+ "type": "object",
5452
+ "required": [
5453
+ "phoneNumberE164"
5454
+ ],
5455
+ "properties": {
5456
+ "phoneNumberE164": {
5457
+ "type": "string"
5458
+ }
5459
+ }
5460
+ },
5461
+ "StartPhoneVerificationResponse": {
5462
+ "type": "object",
5463
+ "required": [
5464
+ "verificationRequestId"
5465
+ ],
5466
+ "properties": {
5467
+ "verificationRequestId": {
5468
+ "type": "string",
5469
+ "format": "uuid"
5470
+ }
5471
+ }
5472
+ },
5473
+ "StartWalletVerificationRequest": {
5474
+ "type": "object",
5475
+ "required": [
5476
+ "address",
5477
+ "chain"
5478
+ ],
5479
+ "properties": {
5480
+ "address": {
5481
+ "type": "string"
5482
+ },
5483
+ "chain": {
5484
+ "$ref": "#/components/schemas/SiwxChain"
5485
+ }
5486
+ }
5487
+ },
5488
+ "StartWalletVerificationResponse": {
5489
+ "type": "object",
5490
+ "required": [
5491
+ "verificationRequestId",
5492
+ "message"
5493
+ ],
5494
+ "properties": {
5495
+ "message": {
5496
+ "type": "string"
5497
+ },
5498
+ "verificationRequestId": {
5499
+ "type": "string",
5500
+ "format": "uuid"
5501
+ }
5502
+ }
5503
+ },
3029
5504
  "UboDefinition": {
3030
5505
  "type": "object",
3031
5506
  "required": [
@@ -3057,6 +5532,11 @@
3057
5532
  }
3058
5533
  }
3059
5534
  },
5535
+ "Uuid": {
5536
+ "type": "string",
5537
+ "format": "uuid",
5538
+ "description": "A UUID string"
5539
+ },
3060
5540
  "ValidationMessages": {
3061
5541
  "type": "string",
3062
5542
  "enum": [
@@ -3083,9 +5563,46 @@
3083
5563
  "validation_password_no_lowercase",
3084
5564
  "validation_password_no_number",
3085
5565
  "validation_password_no_special_character",
3086
- "validation_password_contains_whitespace_or_control"
5566
+ "validation_password_contains_whitespace_or_control",
5567
+ "validation_emails_empty",
5568
+ "validation_email_invalid",
5569
+ "validation_emails_too_many",
5570
+ "validation_emails_duplicate",
5571
+ "validation_invite_to_self",
5572
+ "validation_e164_format",
5573
+ "validation_flow_step_already_has_reference",
5574
+ "validation_flow_not_found",
5575
+ "validation_empty_parameter",
5576
+ "validation_form_not_found"
3087
5577
  ]
3088
5578
  },
5579
+ "VaultUnlockPasskeyData": {
5580
+ "type": "object",
5581
+ "required": [
5582
+ "credentialId",
5583
+ "challenge",
5584
+ "options",
5585
+ "prfSalt"
5586
+ ],
5587
+ "properties": {
5588
+ "challenge": {
5589
+ "type": "string",
5590
+ "description": "Passkey challenge for vault unlock (base64url)"
5591
+ },
5592
+ "credentialId": {
5593
+ "type": "string",
5594
+ "description": "Credential ID for vault unlock (base64url-encoded)"
5595
+ },
5596
+ "options": {
5597
+ "type": "object",
5598
+ "description": "Passkey authentication options for vault unlock"
5599
+ },
5600
+ "prfSalt": {
5601
+ "type": "string",
5602
+ "description": "PRF salt for vault unlock (base64url)"
5603
+ }
5604
+ }
5605
+ },
3089
5606
  "VerificationRequest": {
3090
5607
  "type": "object",
3091
5608
  "required": [
@@ -3129,10 +5646,20 @@
3129
5646
  "nullable": true
3130
5647
  },
3131
5648
  "flowId": {
3132
- "type": "string"
5649
+ "type": "string",
5650
+ "format": "uuid"
5651
+ },
5652
+ "flowStep": {
5653
+ "allOf": [
5654
+ {
5655
+ "$ref": "#/components/schemas/FlowStep"
5656
+ }
5657
+ ],
5658
+ "nullable": true
3133
5659
  },
3134
5660
  "flowStepId": {
3135
- "type": "string"
5661
+ "type": "string",
5662
+ "format": "uuid"
3136
5663
  },
3137
5664
  "formResult": {
3138
5665
  "allOf": [
@@ -3143,7 +5670,8 @@
3143
5670
  "nullable": true
3144
5671
  },
3145
5672
  "id": {
3146
- "type": "string"
5673
+ "type": "string",
5674
+ "format": "uuid"
3147
5675
  },
3148
5676
  "identity": {
3149
5677
  "allOf": [
@@ -3154,7 +5682,8 @@
3154
5682
  "nullable": true
3155
5683
  },
3156
5684
  "identityId": {
3157
- "type": "string"
5685
+ "type": "string",
5686
+ "format": "uuid"
3158
5687
  },
3159
5688
  "kybResult": {
3160
5689
  "allOf": [
@@ -3165,7 +5694,16 @@
3165
5694
  "nullable": true
3166
5695
  },
3167
5696
  "organizationId": {
3168
- "type": "string"
5697
+ "type": "string",
5698
+ "format": "uuid"
5699
+ },
5700
+ "phoneResult": {
5701
+ "allOf": [
5702
+ {
5703
+ "$ref": "#/components/schemas/PhoneResult"
5704
+ }
5705
+ ],
5706
+ "nullable": true
3169
5707
  },
3170
5708
  "poaResult": {
3171
5709
  "allOf": [
@@ -3179,6 +5717,10 @@
3179
5717
  "type": "string",
3180
5718
  "nullable": true
3181
5719
  },
5720
+ "replayerZid": {
5721
+ "type": "string",
5722
+ "nullable": true
5723
+ },
3182
5724
  "spidResult": {
3183
5725
  "allOf": [
3184
5726
  {
@@ -3194,6 +5736,14 @@
3194
5736
  "type": "string",
3195
5737
  "format": "date-time",
3196
5738
  "nullable": true
5739
+ },
5740
+ "walletResult": {
5741
+ "allOf": [
5742
+ {
5743
+ "$ref": "#/components/schemas/WalletResult"
5744
+ }
5745
+ ],
5746
+ "nullable": true
3197
5747
  }
3198
5748
  }
3199
5749
  },
@@ -3205,9 +5755,160 @@
3205
5755
  "FAILED",
3206
5756
  "CANCELLED",
3207
5757
  "QUEUED",
3208
- "PROCESSING"
5758
+ "PROCESSING",
5759
+ "REQUIRES_MANUAL_REVIEW",
5760
+ "REQUIRES_ADMIN_REVIEW",
5761
+ "REJECTED"
3209
5762
  ]
3210
5763
  },
5764
+ "VerifyPhoneCodeRequest": {
5765
+ "type": "object",
5766
+ "required": [
5767
+ "code",
5768
+ "phoneNumberE164"
5769
+ ],
5770
+ "properties": {
5771
+ "code": {
5772
+ "type": "string"
5773
+ },
5774
+ "phoneNumberE164": {
5775
+ "type": "string"
5776
+ }
5777
+ }
5778
+ },
5779
+ "VerifyPhoneCodeResponse": {
5780
+ "type": "object",
5781
+ "required": [
5782
+ "verificationRequestId"
5783
+ ],
5784
+ "properties": {
5785
+ "verificationRequestId": {
5786
+ "type": "string",
5787
+ "format": "uuid"
5788
+ }
5789
+ }
5790
+ },
5791
+ "VerifyWalletSignatureRequest": {
5792
+ "type": "object",
5793
+ "required": [
5794
+ "signature",
5795
+ "address",
5796
+ "chain"
5797
+ ],
5798
+ "properties": {
5799
+ "address": {
5800
+ "type": "string"
5801
+ },
5802
+ "chain": {
5803
+ "$ref": "#/components/schemas/SiwxChain"
5804
+ },
5805
+ "signature": {
5806
+ "type": "string"
5807
+ }
5808
+ }
5809
+ },
5810
+ "VerifyWalletSignatureResponse": {
5811
+ "type": "object",
5812
+ "required": [
5813
+ "verificationRequestId"
5814
+ ],
5815
+ "properties": {
5816
+ "verificationRequestId": {
5817
+ "type": "string",
5818
+ "format": "uuid"
5819
+ }
5820
+ }
5821
+ },
5822
+ "WalletConfig": {
5823
+ "type": "object",
5824
+ "required": [
5825
+ "chains"
5826
+ ],
5827
+ "properties": {
5828
+ "chains": {
5829
+ "type": "array",
5830
+ "items": {
5831
+ "$ref": "#/components/schemas/SiwxChain"
5832
+ }
5833
+ },
5834
+ "labels": {
5835
+ "type": "object",
5836
+ "additionalProperties": {
5837
+ "type": "string"
5838
+ },
5839
+ "example": "{ \"default\": \"Next step\" }"
5840
+ }
5841
+ }
5842
+ },
5843
+ "WalletResult": {
5844
+ "type": "object",
5845
+ "required": [
5846
+ "id",
5847
+ "status",
5848
+ "message",
5849
+ "signature",
5850
+ "walletAddress",
5851
+ "walletChain",
5852
+ "flowResultId"
5853
+ ],
5854
+ "properties": {
5855
+ "createdAt": {
5856
+ "type": "string",
5857
+ "format": "date-time",
5858
+ "nullable": true
5859
+ },
5860
+ "flowResultId": {
5861
+ "type": "string",
5862
+ "format": "uuid"
5863
+ },
5864
+ "flowStep": {
5865
+ "allOf": [
5866
+ {
5867
+ "$ref": "#/components/schemas/FlowStep"
5868
+ }
5869
+ ],
5870
+ "nullable": true
5871
+ },
5872
+ "flowStepId": {
5873
+ "type": "string",
5874
+ "format": "uuid",
5875
+ "nullable": true
5876
+ },
5877
+ "id": {
5878
+ "type": "string",
5879
+ "format": "uuid"
5880
+ },
5881
+ "message": {
5882
+ "type": "string"
5883
+ },
5884
+ "reason": {
5885
+ "type": "string",
5886
+ "nullable": true
5887
+ },
5888
+ "signature": {
5889
+ "type": "string"
5890
+ },
5891
+ "status": {
5892
+ "$ref": "#/components/schemas/ResultStatus"
5893
+ },
5894
+ "updatedAt": {
5895
+ "type": "string",
5896
+ "format": "date-time",
5897
+ "nullable": true
5898
+ },
5899
+ "verificationRequestId": {
5900
+ "type": "string",
5901
+ "format": "uuid",
5902
+ "nullable": true
5903
+ },
5904
+ "walletAddress": {
5905
+ "type": "string"
5906
+ },
5907
+ "walletChain": {
5908
+ "type": "string"
5909
+ }
5910
+ }
5911
+ },
3211
5912
  "ZypheApiKey": {
3212
5913
  "type": "object",
3213
5914
  "required": [
@@ -3235,13 +5936,14 @@
3235
5936
  "nullable": true
3236
5937
  },
3237
5938
  "id": {
3238
- "type": "string"
5939
+ "type": "string",
5940
+ "format": "uuid"
3239
5941
  },
3240
5942
  "key": {
3241
5943
  "type": "string"
3242
5944
  },
3243
5945
  "keyType": {
3244
- "type": "string"
5946
+ "$ref": "#/components/schemas/ApiKeyType"
3245
5947
  },
3246
5948
  "name": {
3247
5949
  "type": "string",
@@ -3260,7 +5962,8 @@
3260
5962
  "nullable": true
3261
5963
  },
3262
5964
  "organizationId": {
3263
- "type": "string"
5965
+ "type": "string",
5966
+ "format": "uuid"
3264
5967
  },
3265
5968
  "updatedAt": {
3266
5969
  "type": "string",
@@ -3268,6 +5971,20 @@
3268
5971
  "nullable": true
3269
5972
  }
3270
5973
  }
5974
+ },
5975
+ "zyphe_shared.types.Locale": {
5976
+ "type": "string",
5977
+ "description": "Locale identifier",
5978
+ "enum": [
5979
+ "en",
5980
+ "it",
5981
+ "de",
5982
+ "es",
5983
+ "fr",
5984
+ "hi",
5985
+ "id",
5986
+ "pt"
5987
+ ]
3271
5988
  }
3272
5989
  },
3273
5990
  "securitySchemes": {