squarefi-bff-api-module 1.36.30 → 1.36.32

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.
@@ -148,7 +148,7 @@ export interface paths {
148
148
  };
149
149
  get?: never;
150
150
  put?: never;
151
- /** Sign up new user with telegram data */
151
+ /** Sign up new user with Telegram data. Returns TelegramSessionDto for Supabase tenants, TelegramTicketDto for Clerk tenants. */
152
152
  post: operations["AuthTelegramController_signUp"];
153
153
  delete?: never;
154
154
  options?: never;
@@ -165,7 +165,7 @@ export interface paths {
165
165
  };
166
166
  get?: never;
167
167
  put?: never;
168
- /** Sign in user with telegram data */
168
+ /** Sign in user with Telegram data. Returns TelegramSessionDto for Supabase tenants, TelegramTicketDto for Clerk tenants. */
169
169
  post: operations["AuthTelegramController_signIn"];
170
170
  delete?: never;
171
171
  options?: never;
@@ -611,6 +611,40 @@ export interface paths {
611
611
  patch?: never;
612
612
  trace?: never;
613
613
  };
614
+ "/user/verification/init": {
615
+ parameters: {
616
+ query?: never;
617
+ header?: never;
618
+ path?: never;
619
+ cookie?: never;
620
+ };
621
+ get?: never;
622
+ put?: never;
623
+ /** Init user-level Sumsub verification (data / documents / face flow) */
624
+ post: operations["UserVerificationController_init"];
625
+ delete?: never;
626
+ options?: never;
627
+ head?: never;
628
+ patch?: never;
629
+ trace?: never;
630
+ };
631
+ "/user/verification/resume": {
632
+ parameters: {
633
+ query?: never;
634
+ header?: never;
635
+ path?: never;
636
+ cookie?: never;
637
+ };
638
+ get?: never;
639
+ put?: never;
640
+ /** Re-issue the WebSDK access token for the current level */
641
+ post: operations["UserVerificationController_resume"];
642
+ delete?: never;
643
+ options?: never;
644
+ head?: never;
645
+ patch?: never;
646
+ trace?: never;
647
+ };
614
648
  "/kyc/init/{wallet_id}/{type}": {
615
649
  parameters: {
616
650
  query?: never;
@@ -620,6 +654,10 @@ export interface paths {
620
654
  };
621
655
  get?: never;
622
656
  put?: never;
657
+ /**
658
+ * Init KYC data collection for a wallet. Deprecated: use POST /kyc/entities/{kyc_entity_id}/init
659
+ * @deprecated
660
+ */
623
661
  post: operations["KycController_initDataCollection"];
624
662
  delete?: never;
625
663
  options?: never;
@@ -636,6 +674,10 @@ export interface paths {
636
674
  };
637
675
  get?: never;
638
676
  put?: never;
677
+ /**
678
+ * Resume KYC data collection for a wallet. Deprecated: use POST /kyc/entities/{kyc_entity_id}/resume/{verification_ref}
679
+ * @deprecated
680
+ */
639
681
  post: operations["KycController_resumeDataCollection"];
640
682
  delete?: never;
641
683
  options?: never;
@@ -643,32 +685,33 @@ export interface paths {
643
685
  patch?: never;
644
686
  trace?: never;
645
687
  };
646
- "/kyc/{wallet_id}/entity": {
688
+ "/kyc/entities": {
647
689
  parameters: {
648
690
  query?: never;
649
691
  header?: never;
650
692
  path?: never;
651
693
  cookie?: never;
652
694
  };
653
- /** Return kyc entity */
654
- get: operations["KycEntitiesController_findOne"];
695
+ /** List KYC entities of the current user */
696
+ get: operations["KycEntitiesController_findMy"];
655
697
  put?: never;
656
- post?: never;
698
+ /** Create a KYC entity for the current user */
699
+ post: operations["KycEntitiesController_create"];
657
700
  delete?: never;
658
701
  options?: never;
659
702
  head?: never;
660
703
  patch?: never;
661
704
  trace?: never;
662
705
  };
663
- "/kyc/{wallet_id}/rails": {
706
+ "/kyc/entities/{kyc_entity_id}": {
664
707
  parameters: {
665
708
  query?: never;
666
709
  header?: never;
667
710
  path?: never;
668
711
  cookie?: never;
669
712
  };
670
- /** All kyc rails info */
671
- get: operations["WalletKycRailsController_findAll"];
713
+ /** Return a KYC entity by id */
714
+ get: operations["KycEntitiesController_findById"];
672
715
  put?: never;
673
716
  post?: never;
674
717
  delete?: never;
@@ -677,25 +720,24 @@ export interface paths {
677
720
  patch?: never;
678
721
  trace?: never;
679
722
  };
680
- "/kyc/{wallet_id}/rails/{rail_id}": {
723
+ "/kyc/entities/{kyc_entity_id}/init": {
681
724
  parameters: {
682
725
  query?: never;
683
726
  header?: never;
684
727
  path?: never;
685
728
  cookie?: never;
686
729
  };
687
- /** Single rail info */
688
- get: operations["WalletKycRailsController_findOne"];
730
+ get?: never;
689
731
  put?: never;
690
- /** Submit KYC verification */
691
- post: operations["WalletKycRailsController_update"];
732
+ /** Init KYC data collection for the entity via the tenant provider */
733
+ post: operations["KycEntitiesController_initDataCollection"];
692
734
  delete?: never;
693
735
  options?: never;
694
736
  head?: never;
695
737
  patch?: never;
696
738
  trace?: never;
697
739
  };
698
- "/kyc/{wallet_id}/rails/{rail_id}/terms-and-conditions": {
740
+ "/kyc/entities/{kyc_entity_id}/resume/{verification_ref}": {
699
741
  parameters: {
700
742
  query?: never;
701
743
  header?: never;
@@ -704,35 +746,67 @@ export interface paths {
704
746
  };
705
747
  get?: never;
706
748
  put?: never;
707
- /** Confirm terms and conditions for KYC rail */
708
- post: operations["WalletKycRailsController_confirmTermsAndConditions"];
749
+ /** Resume KYC data collection for the entity */
750
+ post: operations["KycEntitiesController_resumeDataCollection"];
709
751
  delete?: never;
710
752
  options?: never;
711
753
  head?: never;
712
754
  patch?: never;
713
755
  trace?: never;
714
756
  };
715
- "/persona/inquiries/init/{wallet_id}/{type}": {
757
+ "/kyc/{wallet_id}/entity": {
716
758
  parameters: {
717
759
  query?: never;
718
760
  header?: never;
719
761
  path?: never;
720
762
  cookie?: never;
721
763
  };
722
- get?: never;
764
+ /** Return kyc entity linked to a wallet */
765
+ get: operations["KycEntitiesController_findOne"];
723
766
  put?: never;
724
- /**
725
- * Deprecated. Use POST /kyc/init/{wallet_id}/{type} instead
726
- * @deprecated
727
- */
728
- post: operations["PersonaController_initInquiry"];
767
+ post?: never;
729
768
  delete?: never;
730
769
  options?: never;
731
770
  head?: never;
732
771
  patch?: never;
733
772
  trace?: never;
734
773
  };
735
- "/persona/inquiries/{wallet_id}/{inquiry_id}/resume": {
774
+ "/kyc/{wallet_id}/rails": {
775
+ parameters: {
776
+ query?: never;
777
+ header?: never;
778
+ path?: never;
779
+ cookie?: never;
780
+ };
781
+ /** All kyc rails info */
782
+ get: operations["WalletKycRailsController_findAll"];
783
+ put?: never;
784
+ post?: never;
785
+ delete?: never;
786
+ options?: never;
787
+ head?: never;
788
+ patch?: never;
789
+ trace?: never;
790
+ };
791
+ "/kyc/{wallet_id}/rails/{rail_id}": {
792
+ parameters: {
793
+ query?: never;
794
+ header?: never;
795
+ path?: never;
796
+ cookie?: never;
797
+ };
798
+ /** Single rail info */
799
+ get: operations["WalletKycRailsController_findOne"];
800
+ put?: never;
801
+ /** Submit KYC verification */
802
+ post: operations["WalletKycRailsController_update"];
803
+ delete?: never;
804
+ options?: never;
805
+ head?: never;
806
+ patch?: never;
807
+ trace?: never;
808
+ };
809
+ "/kyc/{wallet_id}/rails/{rail_id}/terms-and-conditions": {
736
810
  parameters: {
737
811
  query?: never;
738
812
  header?: never;
@@ -741,11 +815,8 @@ export interface paths {
741
815
  };
742
816
  get?: never;
743
817
  put?: never;
744
- /**
745
- * Deprecated. Use POST /kyc/resume/{wallet_id}/{verification_ref} instead
746
- * @deprecated
747
- */
748
- post: operations["PersonaController_resumeInquiry"];
818
+ /** Confirm terms and conditions for KYC rail */
819
+ post: operations["WalletKycRailsController_confirmTermsAndConditions"];
749
820
  delete?: never;
750
821
  options?: never;
751
822
  head?: never;
@@ -950,6 +1021,18 @@ export interface components {
950
1021
  * @enum {string|null}
951
1022
  */
952
1023
  kyc_status: "APPROVED" | "DECLINED" | "PENDING" | "PROCESSING" | "HOLD" | "DOUBLE" | "SOFT_REJECT" | "REJECT" | "UNVERIFIED" | "WAITING_ON_UBOS" | "WAITING_ON_REVIEW" | null;
1024
+ /**
1025
+ * @default UNVERIFIED
1026
+ * @enum {string}
1027
+ */
1028
+ identity_verification_status: "APPROVED" | "DECLINED" | "PENDING" | "PROCESSING" | "HOLD" | "DOUBLE" | "SOFT_REJECT" | "REJECT" | "UNVERIFIED" | "WAITING_ON_UBOS" | "WAITING_ON_REVIEW";
1029
+ /**
1030
+ * @default UNVERIFIED
1031
+ * @enum {string}
1032
+ */
1033
+ face_verification_status: "APPROVED" | "DECLINED" | "PENDING" | "PROCESSING" | "HOLD" | "DOUBLE" | "SOFT_REJECT" | "REJECT" | "UNVERIFIED" | "WAITING_ON_UBOS" | "WAITING_ON_REVIEW";
1034
+ readonly profile_source: string | null;
1035
+ readonly profile_synced_at: string | null;
953
1036
  referral_name: string | null;
954
1037
  tenant_id: string;
955
1038
  user_id: string;
@@ -1015,6 +1098,21 @@ export interface components {
1015
1098
  */
1016
1099
  readonly scope: "global" | "local" | "others";
1017
1100
  };
1101
+ TelegramSessionDto: {
1102
+ provider_token?: string | null;
1103
+ provider_refresh_token?: string | null;
1104
+ access_token: string;
1105
+ expires_in: number;
1106
+ expires_at?: number;
1107
+ token_type: string;
1108
+ refresh_token?: string | null;
1109
+ };
1110
+ TelegramTicketDto: {
1111
+ /** @description One-time Clerk sign-in ticket. Exchange via Clerk JS: signIn.create({ strategy: "ticket", ticket }). */
1112
+ ticket: string;
1113
+ /** @description Unix timestamp (seconds) when the ticket expires. */
1114
+ expires_at: number;
1115
+ };
1018
1116
  TelegramContactDto: {
1019
1117
  user_id: number;
1020
1118
  phone_number: string;
@@ -1028,15 +1126,6 @@ export interface components {
1028
1126
  invite_code?: string;
1029
1127
  referrer?: string;
1030
1128
  };
1031
- TelegramSessionDto: {
1032
- provider_token?: string | null;
1033
- provider_refresh_token?: string | null;
1034
- access_token: string;
1035
- expires_in: number;
1036
- expires_at?: number;
1037
- token_type: string;
1038
- refresh_token?: string | null;
1039
- };
1040
1129
  TelegramSignInByTgIdDto: {
1041
1130
  hash: string;
1042
1131
  init_data_raw: string;
@@ -1367,6 +1456,19 @@ export interface components {
1367
1456
  total: number;
1368
1457
  data: (components["schemas"]["CryptoCurrencyDto"] | components["schemas"]["FiatCurrencyDto"])[];
1369
1458
  };
1459
+ /** @enum {string} */
1460
+ UserVerificationFlow: "data" | "documents" | "face";
1461
+ InitUserVerificationRequestDto: {
1462
+ flow: components["schemas"]["UserVerificationFlow"];
1463
+ };
1464
+ InitUserVerificationResponseDto: {
1465
+ verificationId: string;
1466
+ verificationToken: string;
1467
+ };
1468
+ ResumeUserVerificationResponseDto: {
1469
+ verificationId: string;
1470
+ verificationToken: string;
1471
+ };
1370
1472
  InitKycDataCollectionResponseDto: {
1371
1473
  providerType: string;
1372
1474
  verificationId: string;
@@ -1377,6 +1479,13 @@ export interface components {
1377
1479
  verificationId: string;
1378
1480
  verificationToken?: string;
1379
1481
  };
1482
+ CreateKycEntityRequestDto: {
1483
+ /**
1484
+ * @example individual
1485
+ * @enum {string}
1486
+ */
1487
+ type: "individual" | "business" | "universal";
1488
+ };
1380
1489
  GeneralInfo: Record<string, never>;
1381
1490
  ContactPersonInfo: Record<string, never>;
1382
1491
  LegalRepresentativeInfo: Record<string, never>;
@@ -1481,6 +1590,8 @@ export interface components {
1481
1590
  address?: components["schemas"]["KycAddressDto"] | null;
1482
1591
  };
1483
1592
  KycEntityDto: {
1593
+ id: string;
1594
+ user_data_uuid: string;
1484
1595
  /** @enum {string} */
1485
1596
  type: "individual" | "business" | "universal";
1486
1597
  id_number?: string | null;
@@ -1580,7 +1691,7 @@ export interface components {
1580
1691
  */
1581
1692
  status: "APPROVED" | "DECLINED" | "PENDING" | "PROCESSING" | "HOLD" | "DOUBLE" | "SOFT_REJECT" | "REJECT" | "UNVERIFIED" | "WAITING_ON_UBOS" | "WAITING_ON_REVIEW";
1582
1693
  /** @enum {string|null} */
1583
- employment_status?: "EMPLOYEE" | "SELF_EMPLOYED" | "RETIRED" | "UNEMPLOYED" | "OTHER" | null;
1694
+ employment_status?: "EMPLOYEE" | "SELF_EMPLOYED" | "RETIRED" | "UNEMPLOYED" | "STUDENT" | "OTHER" | null;
1584
1695
  employment_description?: string | null;
1585
1696
  description_of_business_nature?: string | null;
1586
1697
  /** @enum {string|null} */
@@ -1617,6 +1728,20 @@ export interface components {
1617
1728
  business_proof_of_address_url?: string | null;
1618
1729
  /** @enum {string|null} */
1619
1730
  business_proof_of_address_type?: "UTILITY_BILL" | "BANK_STATEMENT" | "RENTAL_AGREEMENT" | "TAX_DOCUMENT" | null;
1731
+ invoices_url?: string[] | null;
1732
+ invoices_absence_reason?: string | null;
1733
+ contracts_url?: string[] | null;
1734
+ contracts_absence_reason?: string | null;
1735
+ financial_statements_url?: string | null;
1736
+ source_of_funds_url?: string | null;
1737
+ business_bank_statement_url?: string[] | null;
1738
+ professional_description?: string | null;
1739
+ source_of_accumulated?: string | null;
1740
+ send_and_receive?: string | null;
1741
+ employment_status_other?: string | null;
1742
+ purposes?: string[] | null;
1743
+ payment_flows?: string[] | null;
1744
+ source_of_funds_list?: string[] | null;
1620
1745
  address?: components["schemas"]["KycAddressDto"] | null;
1621
1746
  physical_address?: components["schemas"]["KycAddressDto"] | null;
1622
1747
  beneficial_owners?: components["schemas"]["KycBeneficialOwnerDto"][] | null;
@@ -1660,14 +1785,6 @@ export interface components {
1660
1785
  /** @description Has more data flag */
1661
1786
  readonly has_more: boolean;
1662
1787
  };
1663
- InitInquiryResponseDto: {
1664
- /** @example inq_E6U4KitBucNKpfrDMb997AaTkQTt */
1665
- inquiryId: string;
1666
- };
1667
- ResumeInquiryResponseDto: {
1668
- inquiryId: string;
1669
- sessionId: string;
1670
- };
1671
1788
  CounterpartiesFilter: {
1672
1789
  email?: string | null;
1673
1790
  /** @description Phone number */
@@ -1875,6 +1992,8 @@ export interface components {
1875
1992
  /** @enum {string} */
1876
1993
  kyc_data_provider: "persona" | "sumsub";
1877
1994
  readonly supported_locales?: components["schemas"]["SupportedLocalesEntity"] | null;
1995
+ /** @enum {string} */
1996
+ auth_provider: "supabase" | "clerk";
1878
1997
  base_currency: string;
1879
1998
  };
1880
1999
  SystemChainsResponseDto: {
@@ -2245,7 +2364,7 @@ export interface operations {
2245
2364
  [name: string]: unknown;
2246
2365
  };
2247
2366
  content: {
2248
- "application/json": components["schemas"]["TelegramSessionDto"];
2367
+ "application/json": components["schemas"]["TelegramSessionDto"] | components["schemas"]["TelegramTicketDto"];
2249
2368
  };
2250
2369
  };
2251
2370
  /** @description Invalid tenant */
@@ -2282,7 +2401,7 @@ export interface operations {
2282
2401
  [name: string]: unknown;
2283
2402
  };
2284
2403
  content: {
2285
- "application/json": components["schemas"]["TelegramSessionDto"];
2404
+ "application/json": components["schemas"]["TelegramSessionDto"] | components["schemas"]["TelegramTicketDto"];
2286
2405
  };
2287
2406
  };
2288
2407
  /** @description Invalid tenant */
@@ -2292,13 +2411,6 @@ export interface operations {
2292
2411
  };
2293
2412
  content?: never;
2294
2413
  };
2295
- /** @description SB tenants only */
2296
- 403: {
2297
- headers: {
2298
- [name: string]: unknown;
2299
- };
2300
- content?: never;
2301
- };
2302
2414
  };
2303
2415
  };
2304
2416
  AuthOmniController_signInOmniByEmail: {
@@ -3299,6 +3411,76 @@ export interface operations {
3299
3411
  };
3300
3412
  };
3301
3413
  };
3414
+ UserVerificationController_init: {
3415
+ parameters: {
3416
+ query?: never;
3417
+ header?: never;
3418
+ path?: never;
3419
+ cookie?: never;
3420
+ };
3421
+ requestBody: {
3422
+ content: {
3423
+ "application/json": components["schemas"]["InitUserVerificationRequestDto"];
3424
+ };
3425
+ };
3426
+ responses: {
3427
+ 200: {
3428
+ headers: {
3429
+ [name: string]: unknown;
3430
+ };
3431
+ content: {
3432
+ "application/json": components["schemas"]["InitUserVerificationResponseDto"];
3433
+ };
3434
+ };
3435
+ /** @description Unauthorized */
3436
+ 401: {
3437
+ headers: {
3438
+ [name: string]: unknown;
3439
+ };
3440
+ content?: never;
3441
+ };
3442
+ /** @description User verification is not enabled for the tenant */
3443
+ 404: {
3444
+ headers: {
3445
+ [name: string]: unknown;
3446
+ };
3447
+ content?: never;
3448
+ };
3449
+ };
3450
+ };
3451
+ UserVerificationController_resume: {
3452
+ parameters: {
3453
+ query?: never;
3454
+ header?: never;
3455
+ path?: never;
3456
+ cookie?: never;
3457
+ };
3458
+ requestBody?: never;
3459
+ responses: {
3460
+ 200: {
3461
+ headers: {
3462
+ [name: string]: unknown;
3463
+ };
3464
+ content: {
3465
+ "application/json": components["schemas"]["ResumeUserVerificationResponseDto"];
3466
+ };
3467
+ };
3468
+ /** @description Unauthorized */
3469
+ 401: {
3470
+ headers: {
3471
+ [name: string]: unknown;
3472
+ };
3473
+ content?: never;
3474
+ };
3475
+ /** @description Verification not initialized */
3476
+ 404: {
3477
+ headers: {
3478
+ [name: string]: unknown;
3479
+ };
3480
+ content?: never;
3481
+ };
3482
+ };
3483
+ };
3302
3484
  KycController_initDataCollection: {
3303
3485
  parameters: {
3304
3486
  query?: {
@@ -3322,6 +3504,13 @@ export interface operations {
3322
3504
  "application/json": components["schemas"]["InitKycDataCollectionResponseDto"];
3323
3505
  };
3324
3506
  };
3507
+ /** @description Wallet is linked to a KYC entity of a different type */
3508
+ 400: {
3509
+ headers: {
3510
+ [name: string]: unknown;
3511
+ };
3512
+ content?: never;
3513
+ };
3325
3514
  /** @description Unauthorized */
3326
3515
  401: {
3327
3516
  headers: {
@@ -3372,7 +3561,7 @@ export interface operations {
3372
3561
  };
3373
3562
  content?: never;
3374
3563
  };
3375
- /** @description Provider verification not found */
3564
+ /** @description Wallet has no linked KYC entity / verification not found */
3376
3565
  404: {
3377
3566
  headers: {
3378
3567
  [name: string]: unknown;
@@ -3381,12 +3570,68 @@ export interface operations {
3381
3570
  };
3382
3571
  };
3383
3572
  };
3384
- KycEntitiesController_findOne: {
3573
+ KycEntitiesController_findMy: {
3574
+ parameters: {
3575
+ query?: never;
3576
+ header?: never;
3577
+ path?: never;
3578
+ cookie?: never;
3579
+ };
3580
+ requestBody?: never;
3581
+ responses: {
3582
+ 200: {
3583
+ headers: {
3584
+ [name: string]: unknown;
3585
+ };
3586
+ content: {
3587
+ "application/json": components["schemas"]["KycEntityDto"][];
3588
+ };
3589
+ };
3590
+ /** @description Unauthorized */
3591
+ 401: {
3592
+ headers: {
3593
+ [name: string]: unknown;
3594
+ };
3595
+ content?: never;
3596
+ };
3597
+ };
3598
+ };
3599
+ KycEntitiesController_create: {
3600
+ parameters: {
3601
+ query?: never;
3602
+ header?: never;
3603
+ path?: never;
3604
+ cookie?: never;
3605
+ };
3606
+ requestBody: {
3607
+ content: {
3608
+ "application/json": components["schemas"]["CreateKycEntityRequestDto"];
3609
+ };
3610
+ };
3611
+ responses: {
3612
+ 201: {
3613
+ headers: {
3614
+ [name: string]: unknown;
3615
+ };
3616
+ content: {
3617
+ "application/json": components["schemas"]["KycEntityDto"];
3618
+ };
3619
+ };
3620
+ /** @description Unauthorized */
3621
+ 401: {
3622
+ headers: {
3623
+ [name: string]: unknown;
3624
+ };
3625
+ content?: never;
3626
+ };
3627
+ };
3628
+ };
3629
+ KycEntitiesController_findById: {
3385
3630
  parameters: {
3386
3631
  query?: never;
3387
3632
  header?: never;
3388
3633
  path: {
3389
- wallet_id: string;
3634
+ kyc_entity_id: string;
3390
3635
  };
3391
3636
  cookie?: never;
3392
3637
  };
@@ -3407,13 +3652,14 @@ export interface operations {
3407
3652
  };
3408
3653
  content?: never;
3409
3654
  };
3410
- /** @description You don`t have access to current wallet */
3655
+ /** @description You don`t have access to this KYC entity */
3411
3656
  403: {
3412
3657
  headers: {
3413
3658
  [name: string]: unknown;
3414
3659
  };
3415
3660
  content?: never;
3416
3661
  };
3662
+ /** @description KYC entity not found */
3417
3663
  404: {
3418
3664
  headers: {
3419
3665
  [name: string]: unknown;
@@ -3422,12 +3668,15 @@ export interface operations {
3422
3668
  };
3423
3669
  };
3424
3670
  };
3425
- WalletKycRailsController_findAll: {
3671
+ KycEntitiesController_initDataCollection: {
3426
3672
  parameters: {
3427
- query?: never;
3673
+ query?: {
3674
+ /** @description Whether to prefill the provider verification with the current user data (email, phone, name). Defaults to true. */
3675
+ prefill?: boolean;
3676
+ };
3428
3677
  header?: never;
3429
3678
  path: {
3430
- wallet_id: string;
3679
+ kyc_entity_id: string;
3431
3680
  };
3432
3681
  cookie?: never;
3433
3682
  };
@@ -3438,7 +3687,7 @@ export interface operations {
3438
3687
  [name: string]: unknown;
3439
3688
  };
3440
3689
  content: {
3441
- "application/json": components["schemas"]["GetWalletKycRailsResponseDto"];
3690
+ "application/json": components["schemas"]["InitKycDataCollectionResponseDto"];
3442
3691
  };
3443
3692
  };
3444
3693
  /** @description Unauthorized */
@@ -3448,13 +3697,14 @@ export interface operations {
3448
3697
  };
3449
3698
  content?: never;
3450
3699
  };
3451
- /** @description You don`t have access to current wallet */
3700
+ /** @description You don`t have access to this KYC entity */
3452
3701
  403: {
3453
3702
  headers: {
3454
3703
  [name: string]: unknown;
3455
3704
  };
3456
3705
  content?: never;
3457
3706
  };
3707
+ /** @description KYC entity not found */
3458
3708
  404: {
3459
3709
  headers: {
3460
3710
  [name: string]: unknown;
@@ -3463,13 +3713,13 @@ export interface operations {
3463
3713
  };
3464
3714
  };
3465
3715
  };
3466
- WalletKycRailsController_findOne: {
3716
+ KycEntitiesController_resumeDataCollection: {
3467
3717
  parameters: {
3468
3718
  query?: never;
3469
3719
  header?: never;
3470
3720
  path: {
3471
- wallet_id: string;
3472
- rail_id: string;
3721
+ kyc_entity_id: string;
3722
+ verification_ref: string;
3473
3723
  };
3474
3724
  cookie?: never;
3475
3725
  };
@@ -3480,7 +3730,7 @@ export interface operations {
3480
3730
  [name: string]: unknown;
3481
3731
  };
3482
3732
  content: {
3483
- "application/json": components["schemas"]["WalletKycRailTypeDto"];
3733
+ "application/json": components["schemas"]["ResumeKycDataCollectionResponseDto"];
3484
3734
  };
3485
3735
  };
3486
3736
  /** @description Unauthorized */
@@ -3490,13 +3740,14 @@ export interface operations {
3490
3740
  };
3491
3741
  content?: never;
3492
3742
  };
3493
- /** @description You don`t have access to current wallet */
3743
+ /** @description You don`t have access to this KYC entity */
3494
3744
  403: {
3495
3745
  headers: {
3496
3746
  [name: string]: unknown;
3497
3747
  };
3498
3748
  content?: never;
3499
3749
  };
3750
+ /** @description Provider verification not found */
3500
3751
  404: {
3501
3752
  headers: {
3502
3753
  [name: string]: unknown;
@@ -3505,34 +3756,66 @@ export interface operations {
3505
3756
  };
3506
3757
  };
3507
3758
  };
3508
- WalletKycRailsController_update: {
3759
+ KycEntitiesController_findOne: {
3509
3760
  parameters: {
3510
3761
  query?: never;
3511
3762
  header?: never;
3512
3763
  path: {
3513
3764
  wallet_id: string;
3514
- rail_id: string;
3515
3765
  };
3516
3766
  cookie?: never;
3517
3767
  };
3518
3768
  requestBody?: never;
3519
3769
  responses: {
3520
- /** @description KYC verification sent */
3521
3770
  200: {
3522
3771
  headers: {
3523
3772
  [name: string]: unknown;
3524
3773
  };
3525
3774
  content: {
3526
- "application/json": components["schemas"]["WalletKycRailTypeDto"];
3775
+ "application/json": components["schemas"]["KycEntityDto"];
3527
3776
  };
3528
3777
  };
3529
- /** @description KYC verification already processed */
3530
- 400: {
3778
+ /** @description Unauthorized */
3779
+ 401: {
3780
+ headers: {
3781
+ [name: string]: unknown;
3782
+ };
3783
+ content?: never;
3784
+ };
3785
+ /** @description You don`t have access to current wallet */
3786
+ 403: {
3531
3787
  headers: {
3532
3788
  [name: string]: unknown;
3533
3789
  };
3534
3790
  content?: never;
3535
3791
  };
3792
+ 404: {
3793
+ headers: {
3794
+ [name: string]: unknown;
3795
+ };
3796
+ content?: never;
3797
+ };
3798
+ };
3799
+ };
3800
+ WalletKycRailsController_findAll: {
3801
+ parameters: {
3802
+ query?: never;
3803
+ header?: never;
3804
+ path: {
3805
+ wallet_id: string;
3806
+ };
3807
+ cookie?: never;
3808
+ };
3809
+ requestBody?: never;
3810
+ responses: {
3811
+ 200: {
3812
+ headers: {
3813
+ [name: string]: unknown;
3814
+ };
3815
+ content: {
3816
+ "application/json": components["schemas"]["GetWalletKycRailsResponseDto"];
3817
+ };
3818
+ };
3536
3819
  /** @description Unauthorized */
3537
3820
  401: {
3538
3821
  headers: {
@@ -3555,7 +3838,7 @@ export interface operations {
3555
3838
  };
3556
3839
  };
3557
3840
  };
3558
- WalletKycRailsController_confirmTermsAndConditions: {
3841
+ WalletKycRailsController_findOne: {
3559
3842
  parameters: {
3560
3843
  query?: never;
3561
3844
  header?: never;
@@ -3567,7 +3850,6 @@ export interface operations {
3567
3850
  };
3568
3851
  requestBody?: never;
3569
3852
  responses: {
3570
- /** @description Terms and conditions confirmed */
3571
3853
  200: {
3572
3854
  headers: {
3573
3855
  [name: string]: unknown;
@@ -3598,25 +3880,33 @@ export interface operations {
3598
3880
  };
3599
3881
  };
3600
3882
  };
3601
- PersonaController_initInquiry: {
3883
+ WalletKycRailsController_update: {
3602
3884
  parameters: {
3603
3885
  query?: never;
3604
3886
  header?: never;
3605
3887
  path: {
3606
3888
  wallet_id: string;
3607
- type: "individual" | "business" | "universal";
3889
+ rail_id: string;
3608
3890
  };
3609
3891
  cookie?: never;
3610
3892
  };
3611
3893
  requestBody?: never;
3612
3894
  responses: {
3895
+ /** @description KYC verification sent */
3613
3896
  200: {
3614
3897
  headers: {
3615
3898
  [name: string]: unknown;
3616
3899
  };
3617
3900
  content: {
3618
- "application/json": components["schemas"]["InitInquiryResponseDto"];
3901
+ "application/json": components["schemas"]["WalletKycRailTypeDto"];
3902
+ };
3903
+ };
3904
+ /** @description KYC verification already processed */
3905
+ 400: {
3906
+ headers: {
3907
+ [name: string]: unknown;
3619
3908
  };
3909
+ content?: never;
3620
3910
  };
3621
3911
  /** @description Unauthorized */
3622
3912
  401: {
@@ -3632,26 +3922,33 @@ export interface operations {
3632
3922
  };
3633
3923
  content?: never;
3634
3924
  };
3925
+ 404: {
3926
+ headers: {
3927
+ [name: string]: unknown;
3928
+ };
3929
+ content?: never;
3930
+ };
3635
3931
  };
3636
3932
  };
3637
- PersonaController_resumeInquiry: {
3933
+ WalletKycRailsController_confirmTermsAndConditions: {
3638
3934
  parameters: {
3639
3935
  query?: never;
3640
3936
  header?: never;
3641
3937
  path: {
3642
3938
  wallet_id: string;
3643
- inquiry_id: string;
3939
+ rail_id: string;
3644
3940
  };
3645
3941
  cookie?: never;
3646
3942
  };
3647
3943
  requestBody?: never;
3648
3944
  responses: {
3945
+ /** @description Terms and conditions confirmed */
3649
3946
  200: {
3650
3947
  headers: {
3651
3948
  [name: string]: unknown;
3652
3949
  };
3653
3950
  content: {
3654
- "application/json": components["schemas"]["ResumeInquiryResponseDto"];
3951
+ "application/json": components["schemas"]["WalletKycRailTypeDto"];
3655
3952
  };
3656
3953
  };
3657
3954
  /** @description Unauthorized */
@@ -3668,7 +3965,6 @@ export interface operations {
3668
3965
  };
3669
3966
  content?: never;
3670
3967
  };
3671
- /** @description Persona reference or Inquiry not found */
3672
3968
  404: {
3673
3969
  headers: {
3674
3970
  [name: string]: unknown;