squarefi-bff-api-module 1.34.14 → 1.34.16
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/api/auth.js +2 -2
- package/dist/api/types/autogen/apiV2.types.d.ts +431 -240
- package/package.json +1 -1
package/dist/api/auth.js
CHANGED
|
@@ -42,7 +42,7 @@ export const auth = {
|
|
|
42
42
|
headers: { captcha },
|
|
43
43
|
context: { bypassUnauthorizedHandler: true },
|
|
44
44
|
}),
|
|
45
|
-
telegram: (data) => apiClientV2.postRequest(telegramSignInPath, { data }),
|
|
45
|
+
telegram: (data) => apiClientV2.postRequest(telegramSignInPath, { data, context: { bypassUnauthorizedHandler: true } }),
|
|
46
46
|
password: (email, password, captcha) => apiClientV2.postRequest('/auth/sign-in/password/email', {
|
|
47
47
|
data: { email, password },
|
|
48
48
|
headers: { captcha },
|
|
@@ -60,7 +60,7 @@ export const auth = {
|
|
|
60
60
|
headers: { captcha },
|
|
61
61
|
context: { bypassUnauthorizedHandler: true },
|
|
62
62
|
}),
|
|
63
|
-
telegram: (data) => apiClientV2.postRequest(telegramSignUpPath, { data }),
|
|
63
|
+
telegram: (data) => apiClientV2.postRequest(telegramSignUpPath, { data, context: { bypassUnauthorizedHandler: true } }),
|
|
64
64
|
},
|
|
65
65
|
refresh: {
|
|
66
66
|
refresh_token: (data) => apiClientV2.postRequest(refreshTokenPath, { data }),
|
|
@@ -566,10 +566,7 @@ export interface paths {
|
|
|
566
566
|
path?: never;
|
|
567
567
|
cookie?: never;
|
|
568
568
|
};
|
|
569
|
-
/**
|
|
570
|
-
* List of currencies
|
|
571
|
-
* @deprecated
|
|
572
|
-
*/
|
|
569
|
+
/** List of currencies */
|
|
573
570
|
get: operations["CurrenciesController_all"];
|
|
574
571
|
put?: never;
|
|
575
572
|
post?: never;
|
|
@@ -579,6 +576,24 @@ export interface paths {
|
|
|
579
576
|
patch?: never;
|
|
580
577
|
trace?: never;
|
|
581
578
|
};
|
|
579
|
+
"/currencies/{currency_id}/pin": {
|
|
580
|
+
parameters: {
|
|
581
|
+
query?: never;
|
|
582
|
+
header?: never;
|
|
583
|
+
path?: never;
|
|
584
|
+
cookie?: never;
|
|
585
|
+
};
|
|
586
|
+
get?: never;
|
|
587
|
+
put?: never;
|
|
588
|
+
/** Pin a currency */
|
|
589
|
+
post: operations["CurrenciesController_pin"];
|
|
590
|
+
/** Unpin a currency */
|
|
591
|
+
delete: operations["CurrenciesController_unpin"];
|
|
592
|
+
options?: never;
|
|
593
|
+
head?: never;
|
|
594
|
+
patch?: never;
|
|
595
|
+
trace?: never;
|
|
596
|
+
};
|
|
582
597
|
"/exchange/rates": {
|
|
583
598
|
parameters: {
|
|
584
599
|
query?: never;
|
|
@@ -599,6 +614,38 @@ export interface paths {
|
|
|
599
614
|
patch?: never;
|
|
600
615
|
trace?: never;
|
|
601
616
|
};
|
|
617
|
+
"/kyc/init/{wallet_id}/{type}": {
|
|
618
|
+
parameters: {
|
|
619
|
+
query?: never;
|
|
620
|
+
header?: never;
|
|
621
|
+
path?: never;
|
|
622
|
+
cookie?: never;
|
|
623
|
+
};
|
|
624
|
+
get?: never;
|
|
625
|
+
put?: never;
|
|
626
|
+
post: operations["KycController_initDataCollection"];
|
|
627
|
+
delete?: never;
|
|
628
|
+
options?: never;
|
|
629
|
+
head?: never;
|
|
630
|
+
patch?: never;
|
|
631
|
+
trace?: never;
|
|
632
|
+
};
|
|
633
|
+
"/kyc/resume/{wallet_id}/{verification_ref}": {
|
|
634
|
+
parameters: {
|
|
635
|
+
query?: never;
|
|
636
|
+
header?: never;
|
|
637
|
+
path?: never;
|
|
638
|
+
cookie?: never;
|
|
639
|
+
};
|
|
640
|
+
get?: never;
|
|
641
|
+
put?: never;
|
|
642
|
+
post: operations["KycController_resumeDataCollection"];
|
|
643
|
+
delete?: never;
|
|
644
|
+
options?: never;
|
|
645
|
+
head?: never;
|
|
646
|
+
patch?: never;
|
|
647
|
+
trace?: never;
|
|
648
|
+
};
|
|
602
649
|
"/kyc/forms/{rail_id}": {
|
|
603
650
|
parameters: {
|
|
604
651
|
query?: never;
|
|
@@ -705,6 +752,55 @@ export interface paths {
|
|
|
705
752
|
patch?: never;
|
|
706
753
|
trace?: never;
|
|
707
754
|
};
|
|
755
|
+
"/persona/inquiries/init/{wallet_id}/{type}": {
|
|
756
|
+
parameters: {
|
|
757
|
+
query?: never;
|
|
758
|
+
header?: never;
|
|
759
|
+
path?: never;
|
|
760
|
+
cookie?: never;
|
|
761
|
+
};
|
|
762
|
+
get?: never;
|
|
763
|
+
put?: never;
|
|
764
|
+
post: operations["PersonaController_initInquiry"];
|
|
765
|
+
delete?: never;
|
|
766
|
+
options?: never;
|
|
767
|
+
head?: never;
|
|
768
|
+
patch?: never;
|
|
769
|
+
trace?: never;
|
|
770
|
+
};
|
|
771
|
+
"/persona/inquiries/{wallet_id}/{inquiry_id}/resume": {
|
|
772
|
+
parameters: {
|
|
773
|
+
query?: never;
|
|
774
|
+
header?: never;
|
|
775
|
+
path?: never;
|
|
776
|
+
cookie?: never;
|
|
777
|
+
};
|
|
778
|
+
get?: never;
|
|
779
|
+
put?: never;
|
|
780
|
+
post: operations["PersonaController_resumeInquiry"];
|
|
781
|
+
delete?: never;
|
|
782
|
+
options?: never;
|
|
783
|
+
head?: never;
|
|
784
|
+
patch?: never;
|
|
785
|
+
trace?: never;
|
|
786
|
+
};
|
|
787
|
+
"/kyc/integration-persona-templates": {
|
|
788
|
+
parameters: {
|
|
789
|
+
query?: never;
|
|
790
|
+
header?: never;
|
|
791
|
+
path?: never;
|
|
792
|
+
cookie?: never;
|
|
793
|
+
};
|
|
794
|
+
/** Get KYC integration Persona templates */
|
|
795
|
+
get: operations["IntegrationPersonaTemplateController_findAll"];
|
|
796
|
+
put?: never;
|
|
797
|
+
post?: never;
|
|
798
|
+
delete?: never;
|
|
799
|
+
options?: never;
|
|
800
|
+
head?: never;
|
|
801
|
+
patch?: never;
|
|
802
|
+
trace?: never;
|
|
803
|
+
};
|
|
708
804
|
"/counterparties/{wallet_id}": {
|
|
709
805
|
parameters: {
|
|
710
806
|
query?: never;
|
|
@@ -881,55 +977,6 @@ export interface paths {
|
|
|
881
977
|
patch?: never;
|
|
882
978
|
trace?: never;
|
|
883
979
|
};
|
|
884
|
-
"/persona/inquiries/init/{wallet_id}/{type}": {
|
|
885
|
-
parameters: {
|
|
886
|
-
query?: never;
|
|
887
|
-
header?: never;
|
|
888
|
-
path?: never;
|
|
889
|
-
cookie?: never;
|
|
890
|
-
};
|
|
891
|
-
get?: never;
|
|
892
|
-
put?: never;
|
|
893
|
-
post: operations["PersonaController_initInquiry"];
|
|
894
|
-
delete?: never;
|
|
895
|
-
options?: never;
|
|
896
|
-
head?: never;
|
|
897
|
-
patch?: never;
|
|
898
|
-
trace?: never;
|
|
899
|
-
};
|
|
900
|
-
"/persona/inquiries/{wallet_id}/{inquiry_id}/resume": {
|
|
901
|
-
parameters: {
|
|
902
|
-
query?: never;
|
|
903
|
-
header?: never;
|
|
904
|
-
path?: never;
|
|
905
|
-
cookie?: never;
|
|
906
|
-
};
|
|
907
|
-
get?: never;
|
|
908
|
-
put?: never;
|
|
909
|
-
post: operations["PersonaController_resumeInquiry"];
|
|
910
|
-
delete?: never;
|
|
911
|
-
options?: never;
|
|
912
|
-
head?: never;
|
|
913
|
-
patch?: never;
|
|
914
|
-
trace?: never;
|
|
915
|
-
};
|
|
916
|
-
"/kyc/integration-persona-templates": {
|
|
917
|
-
parameters: {
|
|
918
|
-
query?: never;
|
|
919
|
-
header?: never;
|
|
920
|
-
path?: never;
|
|
921
|
-
cookie?: never;
|
|
922
|
-
};
|
|
923
|
-
/** Get KYC integration Persona templates */
|
|
924
|
-
get: operations["IntegrationPersonaTemplateController_findAll"];
|
|
925
|
-
put?: never;
|
|
926
|
-
post?: never;
|
|
927
|
-
delete?: never;
|
|
928
|
-
options?: never;
|
|
929
|
-
head?: never;
|
|
930
|
-
patch?: never;
|
|
931
|
-
trace?: never;
|
|
932
|
-
};
|
|
933
980
|
"/persona-admin/{wallet_id}": {
|
|
934
981
|
parameters: {
|
|
935
982
|
query?: never;
|
|
@@ -1267,20 +1314,20 @@ export interface components {
|
|
|
1267
1314
|
};
|
|
1268
1315
|
ReferralLevelRewardDto: {
|
|
1269
1316
|
/**
|
|
1270
|
-
* @example
|
|
1317
|
+
* @example rev_share_percent
|
|
1271
1318
|
* @enum {string}
|
|
1272
1319
|
*/
|
|
1273
|
-
type: "
|
|
1320
|
+
type: "rev_share_percent";
|
|
1274
1321
|
/**
|
|
1275
|
-
* @description
|
|
1276
|
-
* @example
|
|
1322
|
+
* @description Rev share percent of platform fee that goes to the referrer.
|
|
1323
|
+
* @example 15
|
|
1277
1324
|
*/
|
|
1278
1325
|
value: number;
|
|
1279
1326
|
};
|
|
1280
1327
|
ReferralLevelDto: {
|
|
1281
1328
|
/** @example 0 */
|
|
1282
1329
|
from: number;
|
|
1283
|
-
/** @example
|
|
1330
|
+
/** @example 10000 */
|
|
1284
1331
|
to?: Record<string, never> | null;
|
|
1285
1332
|
/** @example Level 1 */
|
|
1286
1333
|
title: string;
|
|
@@ -1494,6 +1541,8 @@ export interface components {
|
|
|
1494
1541
|
type: "token" | "native" | null;
|
|
1495
1542
|
meta: components["schemas"]["CryptoCurrencyMetaDto"];
|
|
1496
1543
|
is_enabled: boolean;
|
|
1544
|
+
/** @description Present only when user is authenticated */
|
|
1545
|
+
is_pinned?: boolean;
|
|
1497
1546
|
/** @example true */
|
|
1498
1547
|
is_crypto: Record<string, never>;
|
|
1499
1548
|
};
|
|
@@ -1516,6 +1565,8 @@ export interface components {
|
|
|
1516
1565
|
type: "token" | "native" | null;
|
|
1517
1566
|
meta: components["schemas"]["FiatCurrencyMetaDto"];
|
|
1518
1567
|
is_enabled: boolean;
|
|
1568
|
+
/** @description Present only when user is authenticated */
|
|
1569
|
+
is_pinned?: boolean;
|
|
1519
1570
|
/** @example false */
|
|
1520
1571
|
is_crypto: Record<string, never>;
|
|
1521
1572
|
};
|
|
@@ -1533,6 +1584,15 @@ export interface components {
|
|
|
1533
1584
|
to: string;
|
|
1534
1585
|
to_uuid: string | null;
|
|
1535
1586
|
};
|
|
1587
|
+
InitKycDataCollectionResponseDto: {
|
|
1588
|
+
providerType: string;
|
|
1589
|
+
verificationId: string;
|
|
1590
|
+
};
|
|
1591
|
+
ResumeKycDataCollectionResponseDto: {
|
|
1592
|
+
providerType: string;
|
|
1593
|
+
verificationId: string;
|
|
1594
|
+
verificationToken?: string;
|
|
1595
|
+
};
|
|
1536
1596
|
KycFormFieldOptionDto: {
|
|
1537
1597
|
label: string;
|
|
1538
1598
|
value: string;
|
|
@@ -1961,6 +2021,23 @@ export interface components {
|
|
|
1961
2021
|
translations: components["schemas"]["CountryTranslations"][] | null;
|
|
1962
2022
|
wikiDataId: string | null;
|
|
1963
2023
|
};
|
|
2024
|
+
InitInquiryResponseDto: {
|
|
2025
|
+
/** @example inq_E6U4KitBucNKpfrDMb997AaTkQTt */
|
|
2026
|
+
inquiryId: string;
|
|
2027
|
+
};
|
|
2028
|
+
ResumeInquiryResponseDto: {
|
|
2029
|
+
inquiryId: string;
|
|
2030
|
+
sessionId: string;
|
|
2031
|
+
};
|
|
2032
|
+
IntegrationPersonaTemplateEntityDto: Record<string, never>;
|
|
2033
|
+
FindAllIntegrationPersonaTemplatesResponseDto: {
|
|
2034
|
+
/** @example 20 */
|
|
2035
|
+
total: number;
|
|
2036
|
+
/** @description Data */
|
|
2037
|
+
data: components["schemas"]["IntegrationPersonaTemplateEntityDto"][];
|
|
2038
|
+
/** @description Has more data flag */
|
|
2039
|
+
readonly has_more: boolean;
|
|
2040
|
+
};
|
|
1964
2041
|
CounterpartiesFilter: {
|
|
1965
2042
|
email?: string;
|
|
1966
2043
|
/** @description Phone number */
|
|
@@ -2191,23 +2268,6 @@ export interface components {
|
|
|
2191
2268
|
total: number;
|
|
2192
2269
|
data: components["schemas"]["ExchangeRateDto"][];
|
|
2193
2270
|
};
|
|
2194
|
-
InitInquiryResponseDto: {
|
|
2195
|
-
/** @example inq_E6U4KitBucNKpfrDMb997AaTkQTt */
|
|
2196
|
-
inquiryId: string;
|
|
2197
|
-
};
|
|
2198
|
-
ResumeInquiryResponseDto: {
|
|
2199
|
-
inquiryId: string;
|
|
2200
|
-
sessionId: string;
|
|
2201
|
-
};
|
|
2202
|
-
IntegrationPersonaTemplateEntityDto: Record<string, never>;
|
|
2203
|
-
FindAllIntegrationPersonaTemplatesResponseDto: {
|
|
2204
|
-
/** @example 20 */
|
|
2205
|
-
total: number;
|
|
2206
|
-
/** @description Data */
|
|
2207
|
-
data: components["schemas"]["IntegrationPersonaTemplateEntityDto"][];
|
|
2208
|
-
/** @description Has more data flag */
|
|
2209
|
-
readonly has_more: boolean;
|
|
2210
|
-
};
|
|
2211
2271
|
WalletUserInfoDto: {
|
|
2212
2272
|
/** @deprecated */
|
|
2213
2273
|
id: number;
|
|
@@ -3496,26 +3556,22 @@ export interface operations {
|
|
|
3496
3556
|
};
|
|
3497
3557
|
};
|
|
3498
3558
|
};
|
|
3499
|
-
|
|
3559
|
+
CurrenciesController_pin: {
|
|
3500
3560
|
parameters: {
|
|
3501
|
-
query
|
|
3502
|
-
order_type: "TRANSFER_CARD_SUBACCOUNT" | "TRANSFER_CARD_PREPAID" | "WITHDRAWAL_CRYPTO" | "DEPOSIT_CRYPTO" | "DEPOSIT_FIAT_SEPA" | "DEPOSIT_FIAT_SWIFT" | "EXCHANGE_CRYPTO_INTERNAL" | "WITHDRAWAL_FIAT_SEPA" | "TRANSFER_INTERNAL" | "TRANSFER_CARD_WHOLESALE" | "CARD_ISSUING_FEE";
|
|
3503
|
-
from_uuid?: string;
|
|
3504
|
-
to_uuid?: string;
|
|
3505
|
-
};
|
|
3561
|
+
query?: never;
|
|
3506
3562
|
header?: never;
|
|
3507
|
-
path
|
|
3563
|
+
path: {
|
|
3564
|
+
currency_id: string;
|
|
3565
|
+
};
|
|
3508
3566
|
cookie?: never;
|
|
3509
3567
|
};
|
|
3510
3568
|
requestBody?: never;
|
|
3511
3569
|
responses: {
|
|
3512
|
-
|
|
3570
|
+
204: {
|
|
3513
3571
|
headers: {
|
|
3514
3572
|
[name: string]: unknown;
|
|
3515
3573
|
};
|
|
3516
|
-
content
|
|
3517
|
-
"application/json": components["schemas"]["ExchangeRateDto"][];
|
|
3518
|
-
};
|
|
3574
|
+
content?: never;
|
|
3519
3575
|
};
|
|
3520
3576
|
/** @description Unauthorized */
|
|
3521
3577
|
401: {
|
|
@@ -3526,34 +3582,41 @@ export interface operations {
|
|
|
3526
3582
|
};
|
|
3527
3583
|
};
|
|
3528
3584
|
};
|
|
3529
|
-
|
|
3585
|
+
CurrenciesController_unpin: {
|
|
3530
3586
|
parameters: {
|
|
3531
3587
|
query?: never;
|
|
3532
3588
|
header?: never;
|
|
3533
3589
|
path: {
|
|
3534
|
-
|
|
3590
|
+
currency_id: string;
|
|
3535
3591
|
};
|
|
3536
3592
|
cookie?: never;
|
|
3537
3593
|
};
|
|
3538
3594
|
requestBody?: never;
|
|
3539
3595
|
responses: {
|
|
3540
|
-
|
|
3596
|
+
204: {
|
|
3541
3597
|
headers: {
|
|
3542
3598
|
[name: string]: unknown;
|
|
3543
3599
|
};
|
|
3544
|
-
content
|
|
3545
|
-
|
|
3600
|
+
content?: never;
|
|
3601
|
+
};
|
|
3602
|
+
/** @description Unauthorized */
|
|
3603
|
+
401: {
|
|
3604
|
+
headers: {
|
|
3605
|
+
[name: string]: unknown;
|
|
3546
3606
|
};
|
|
3607
|
+
content?: never;
|
|
3547
3608
|
};
|
|
3548
3609
|
};
|
|
3549
3610
|
};
|
|
3550
|
-
|
|
3611
|
+
ExchangeRatesController_findAll: {
|
|
3551
3612
|
parameters: {
|
|
3552
|
-
query
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3613
|
+
query: {
|
|
3614
|
+
order_type: "TRANSFER_CARD_SUBACCOUNT" | "TRANSFER_CARD_PREPAID" | "WITHDRAWAL_CRYPTO" | "DEPOSIT_CRYPTO" | "DEPOSIT_FIAT_SEPA" | "DEPOSIT_FIAT_SWIFT" | "EXCHANGE_CRYPTO_INTERNAL" | "WITHDRAWAL_FIAT_SEPA" | "TRANSFER_INTERNAL" | "TRANSFER_CARD_WHOLESALE" | "CARD_ISSUING_FEE";
|
|
3615
|
+
from_uuid?: string;
|
|
3616
|
+
to_uuid?: string;
|
|
3556
3617
|
};
|
|
3618
|
+
header?: never;
|
|
3619
|
+
path?: never;
|
|
3557
3620
|
cookie?: never;
|
|
3558
3621
|
};
|
|
3559
3622
|
requestBody?: never;
|
|
@@ -3563,7 +3626,7 @@ export interface operations {
|
|
|
3563
3626
|
[name: string]: unknown;
|
|
3564
3627
|
};
|
|
3565
3628
|
content: {
|
|
3566
|
-
"application/json": components["schemas"]["
|
|
3629
|
+
"application/json": components["schemas"]["ExchangeRateDto"][];
|
|
3567
3630
|
};
|
|
3568
3631
|
};
|
|
3569
3632
|
/** @description Unauthorized */
|
|
@@ -3573,42 +3636,26 @@ export interface operations {
|
|
|
3573
3636
|
};
|
|
3574
3637
|
content?: never;
|
|
3575
3638
|
};
|
|
3576
|
-
/** @description You don't have access to current wallet. Allowed roles: owner, admin, user */
|
|
3577
|
-
403: {
|
|
3578
|
-
headers: {
|
|
3579
|
-
[name: string]: unknown;
|
|
3580
|
-
};
|
|
3581
|
-
content?: never;
|
|
3582
|
-
};
|
|
3583
|
-
404: {
|
|
3584
|
-
headers: {
|
|
3585
|
-
[name: string]: unknown;
|
|
3586
|
-
};
|
|
3587
|
-
content?: never;
|
|
3588
|
-
};
|
|
3589
3639
|
};
|
|
3590
3640
|
};
|
|
3591
|
-
|
|
3641
|
+
KycController_initDataCollection: {
|
|
3592
3642
|
parameters: {
|
|
3593
3643
|
query?: never;
|
|
3594
3644
|
header?: never;
|
|
3595
3645
|
path: {
|
|
3596
3646
|
wallet_id: string;
|
|
3647
|
+
type: "individual" | "business" | "universal";
|
|
3597
3648
|
};
|
|
3598
3649
|
cookie?: never;
|
|
3599
3650
|
};
|
|
3600
|
-
requestBody
|
|
3601
|
-
content: {
|
|
3602
|
-
"application/json": components["schemas"]["CreateOrUpdateKycEntityDto"];
|
|
3603
|
-
};
|
|
3604
|
-
};
|
|
3651
|
+
requestBody?: never;
|
|
3605
3652
|
responses: {
|
|
3606
3653
|
200: {
|
|
3607
3654
|
headers: {
|
|
3608
3655
|
[name: string]: unknown;
|
|
3609
3656
|
};
|
|
3610
3657
|
content: {
|
|
3611
|
-
"application/json": components["schemas"]["
|
|
3658
|
+
"application/json": components["schemas"]["InitKycDataCollectionResponseDto"];
|
|
3612
3659
|
};
|
|
3613
3660
|
};
|
|
3614
3661
|
/** @description Unauthorized */
|
|
@@ -3625,20 +3672,15 @@ export interface operations {
|
|
|
3625
3672
|
};
|
|
3626
3673
|
content?: never;
|
|
3627
3674
|
};
|
|
3628
|
-
404: {
|
|
3629
|
-
headers: {
|
|
3630
|
-
[name: string]: unknown;
|
|
3631
|
-
};
|
|
3632
|
-
content?: never;
|
|
3633
|
-
};
|
|
3634
3675
|
};
|
|
3635
3676
|
};
|
|
3636
|
-
|
|
3677
|
+
KycController_resumeDataCollection: {
|
|
3637
3678
|
parameters: {
|
|
3638
3679
|
query?: never;
|
|
3639
3680
|
header?: never;
|
|
3640
3681
|
path: {
|
|
3641
3682
|
wallet_id: string;
|
|
3683
|
+
verification_ref: string;
|
|
3642
3684
|
};
|
|
3643
3685
|
cookie?: never;
|
|
3644
3686
|
};
|
|
@@ -3649,7 +3691,7 @@ export interface operations {
|
|
|
3649
3691
|
[name: string]: unknown;
|
|
3650
3692
|
};
|
|
3651
3693
|
content: {
|
|
3652
|
-
"application/json": components["schemas"]["
|
|
3694
|
+
"application/json": components["schemas"]["ResumeKycDataCollectionResponseDto"];
|
|
3653
3695
|
};
|
|
3654
3696
|
};
|
|
3655
3697
|
/** @description Unauthorized */
|
|
@@ -3659,13 +3701,14 @@ export interface operations {
|
|
|
3659
3701
|
};
|
|
3660
3702
|
content?: never;
|
|
3661
3703
|
};
|
|
3662
|
-
/** @description You don't have access to current wallet. Allowed roles: owner
|
|
3704
|
+
/** @description You don't have access to current wallet. Allowed roles: owner */
|
|
3663
3705
|
403: {
|
|
3664
3706
|
headers: {
|
|
3665
3707
|
[name: string]: unknown;
|
|
3666
3708
|
};
|
|
3667
3709
|
content?: never;
|
|
3668
3710
|
};
|
|
3711
|
+
/** @description Provider verification not found */
|
|
3669
3712
|
404: {
|
|
3670
3713
|
headers: {
|
|
3671
3714
|
[name: string]: unknown;
|
|
@@ -3674,12 +3717,11 @@ export interface operations {
|
|
|
3674
3717
|
};
|
|
3675
3718
|
};
|
|
3676
3719
|
};
|
|
3677
|
-
|
|
3720
|
+
KycFormsController_getFormConfigByType: {
|
|
3678
3721
|
parameters: {
|
|
3679
3722
|
query?: never;
|
|
3680
3723
|
header?: never;
|
|
3681
3724
|
path: {
|
|
3682
|
-
wallet_id: string;
|
|
3683
3725
|
rail_id: string;
|
|
3684
3726
|
};
|
|
3685
3727
|
cookie?: never;
|
|
@@ -3691,7 +3733,156 @@ export interface operations {
|
|
|
3691
3733
|
[name: string]: unknown;
|
|
3692
3734
|
};
|
|
3693
3735
|
content: {
|
|
3694
|
-
"application/json": components["schemas"]["
|
|
3736
|
+
"application/json": components["schemas"]["KycFormFieldContainerDto"][];
|
|
3737
|
+
};
|
|
3738
|
+
};
|
|
3739
|
+
};
|
|
3740
|
+
};
|
|
3741
|
+
KycEntitiesController_findOne: {
|
|
3742
|
+
parameters: {
|
|
3743
|
+
query?: never;
|
|
3744
|
+
header?: never;
|
|
3745
|
+
path: {
|
|
3746
|
+
wallet_id: string;
|
|
3747
|
+
};
|
|
3748
|
+
cookie?: never;
|
|
3749
|
+
};
|
|
3750
|
+
requestBody?: never;
|
|
3751
|
+
responses: {
|
|
3752
|
+
200: {
|
|
3753
|
+
headers: {
|
|
3754
|
+
[name: string]: unknown;
|
|
3755
|
+
};
|
|
3756
|
+
content: {
|
|
3757
|
+
"application/json": components["schemas"]["KycEntityDto"];
|
|
3758
|
+
};
|
|
3759
|
+
};
|
|
3760
|
+
/** @description Unauthorized */
|
|
3761
|
+
401: {
|
|
3762
|
+
headers: {
|
|
3763
|
+
[name: string]: unknown;
|
|
3764
|
+
};
|
|
3765
|
+
content?: never;
|
|
3766
|
+
};
|
|
3767
|
+
/** @description You don't have access to current wallet. Allowed roles: owner, admin, user */
|
|
3768
|
+
403: {
|
|
3769
|
+
headers: {
|
|
3770
|
+
[name: string]: unknown;
|
|
3771
|
+
};
|
|
3772
|
+
content?: never;
|
|
3773
|
+
};
|
|
3774
|
+
404: {
|
|
3775
|
+
headers: {
|
|
3776
|
+
[name: string]: unknown;
|
|
3777
|
+
};
|
|
3778
|
+
content?: never;
|
|
3779
|
+
};
|
|
3780
|
+
};
|
|
3781
|
+
};
|
|
3782
|
+
KycEntitiesController_update: {
|
|
3783
|
+
parameters: {
|
|
3784
|
+
query?: never;
|
|
3785
|
+
header?: never;
|
|
3786
|
+
path: {
|
|
3787
|
+
wallet_id: string;
|
|
3788
|
+
};
|
|
3789
|
+
cookie?: never;
|
|
3790
|
+
};
|
|
3791
|
+
requestBody: {
|
|
3792
|
+
content: {
|
|
3793
|
+
"application/json": components["schemas"]["CreateOrUpdateKycEntityDto"];
|
|
3794
|
+
};
|
|
3795
|
+
};
|
|
3796
|
+
responses: {
|
|
3797
|
+
200: {
|
|
3798
|
+
headers: {
|
|
3799
|
+
[name: string]: unknown;
|
|
3800
|
+
};
|
|
3801
|
+
content: {
|
|
3802
|
+
"application/json": components["schemas"]["KycEntityDto"];
|
|
3803
|
+
};
|
|
3804
|
+
};
|
|
3805
|
+
/** @description Unauthorized */
|
|
3806
|
+
401: {
|
|
3807
|
+
headers: {
|
|
3808
|
+
[name: string]: unknown;
|
|
3809
|
+
};
|
|
3810
|
+
content?: never;
|
|
3811
|
+
};
|
|
3812
|
+
/** @description You don't have access to current wallet. Allowed roles: owner */
|
|
3813
|
+
403: {
|
|
3814
|
+
headers: {
|
|
3815
|
+
[name: string]: unknown;
|
|
3816
|
+
};
|
|
3817
|
+
content?: never;
|
|
3818
|
+
};
|
|
3819
|
+
404: {
|
|
3820
|
+
headers: {
|
|
3821
|
+
[name: string]: unknown;
|
|
3822
|
+
};
|
|
3823
|
+
content?: never;
|
|
3824
|
+
};
|
|
3825
|
+
};
|
|
3826
|
+
};
|
|
3827
|
+
WalletKycRailsController_findAll: {
|
|
3828
|
+
parameters: {
|
|
3829
|
+
query?: never;
|
|
3830
|
+
header?: never;
|
|
3831
|
+
path: {
|
|
3832
|
+
wallet_id: string;
|
|
3833
|
+
};
|
|
3834
|
+
cookie?: never;
|
|
3835
|
+
};
|
|
3836
|
+
requestBody?: never;
|
|
3837
|
+
responses: {
|
|
3838
|
+
200: {
|
|
3839
|
+
headers: {
|
|
3840
|
+
[name: string]: unknown;
|
|
3841
|
+
};
|
|
3842
|
+
content: {
|
|
3843
|
+
"application/json": components["schemas"]["GetWalletKycRailsResponseDto"];
|
|
3844
|
+
};
|
|
3845
|
+
};
|
|
3846
|
+
/** @description Unauthorized */
|
|
3847
|
+
401: {
|
|
3848
|
+
headers: {
|
|
3849
|
+
[name: string]: unknown;
|
|
3850
|
+
};
|
|
3851
|
+
content?: never;
|
|
3852
|
+
};
|
|
3853
|
+
/** @description You don't have access to current wallet. Allowed roles: owner, admin, user */
|
|
3854
|
+
403: {
|
|
3855
|
+
headers: {
|
|
3856
|
+
[name: string]: unknown;
|
|
3857
|
+
};
|
|
3858
|
+
content?: never;
|
|
3859
|
+
};
|
|
3860
|
+
404: {
|
|
3861
|
+
headers: {
|
|
3862
|
+
[name: string]: unknown;
|
|
3863
|
+
};
|
|
3864
|
+
content?: never;
|
|
3865
|
+
};
|
|
3866
|
+
};
|
|
3867
|
+
};
|
|
3868
|
+
WalletKycRailsController_findOne: {
|
|
3869
|
+
parameters: {
|
|
3870
|
+
query?: never;
|
|
3871
|
+
header?: never;
|
|
3872
|
+
path: {
|
|
3873
|
+
wallet_id: string;
|
|
3874
|
+
rail_id: string;
|
|
3875
|
+
};
|
|
3876
|
+
cookie?: never;
|
|
3877
|
+
};
|
|
3878
|
+
requestBody?: never;
|
|
3879
|
+
responses: {
|
|
3880
|
+
200: {
|
|
3881
|
+
headers: {
|
|
3882
|
+
[name: string]: unknown;
|
|
3883
|
+
};
|
|
3884
|
+
content: {
|
|
3885
|
+
"application/json": components["schemas"]["WalletKycRailTypeDto"];
|
|
3695
3886
|
};
|
|
3696
3887
|
};
|
|
3697
3888
|
/** @description Unauthorized */
|
|
@@ -3835,6 +4026,117 @@ export interface operations {
|
|
|
3835
4026
|
};
|
|
3836
4027
|
};
|
|
3837
4028
|
};
|
|
4029
|
+
PersonaController_initInquiry: {
|
|
4030
|
+
parameters: {
|
|
4031
|
+
query?: never;
|
|
4032
|
+
header?: never;
|
|
4033
|
+
path: {
|
|
4034
|
+
wallet_id: string;
|
|
4035
|
+
type: "individual" | "business" | "universal";
|
|
4036
|
+
};
|
|
4037
|
+
cookie?: never;
|
|
4038
|
+
};
|
|
4039
|
+
requestBody?: never;
|
|
4040
|
+
responses: {
|
|
4041
|
+
200: {
|
|
4042
|
+
headers: {
|
|
4043
|
+
[name: string]: unknown;
|
|
4044
|
+
};
|
|
4045
|
+
content: {
|
|
4046
|
+
"application/json": components["schemas"]["InitInquiryResponseDto"];
|
|
4047
|
+
};
|
|
4048
|
+
};
|
|
4049
|
+
/** @description Unauthorized */
|
|
4050
|
+
401: {
|
|
4051
|
+
headers: {
|
|
4052
|
+
[name: string]: unknown;
|
|
4053
|
+
};
|
|
4054
|
+
content?: never;
|
|
4055
|
+
};
|
|
4056
|
+
/** @description You don't have access to current wallet. Allowed roles: owner */
|
|
4057
|
+
403: {
|
|
4058
|
+
headers: {
|
|
4059
|
+
[name: string]: unknown;
|
|
4060
|
+
};
|
|
4061
|
+
content?: never;
|
|
4062
|
+
};
|
|
4063
|
+
};
|
|
4064
|
+
};
|
|
4065
|
+
PersonaController_resumeInquiry: {
|
|
4066
|
+
parameters: {
|
|
4067
|
+
query?: never;
|
|
4068
|
+
header?: never;
|
|
4069
|
+
path: {
|
|
4070
|
+
wallet_id: string;
|
|
4071
|
+
inquiry_id: string;
|
|
4072
|
+
};
|
|
4073
|
+
cookie?: never;
|
|
4074
|
+
};
|
|
4075
|
+
requestBody?: never;
|
|
4076
|
+
responses: {
|
|
4077
|
+
200: {
|
|
4078
|
+
headers: {
|
|
4079
|
+
[name: string]: unknown;
|
|
4080
|
+
};
|
|
4081
|
+
content: {
|
|
4082
|
+
"application/json": components["schemas"]["ResumeInquiryResponseDto"];
|
|
4083
|
+
};
|
|
4084
|
+
};
|
|
4085
|
+
/** @description Unauthorized */
|
|
4086
|
+
401: {
|
|
4087
|
+
headers: {
|
|
4088
|
+
[name: string]: unknown;
|
|
4089
|
+
};
|
|
4090
|
+
content?: never;
|
|
4091
|
+
};
|
|
4092
|
+
/** @description You don't have access to current wallet. Allowed roles: owner */
|
|
4093
|
+
403: {
|
|
4094
|
+
headers: {
|
|
4095
|
+
[name: string]: unknown;
|
|
4096
|
+
};
|
|
4097
|
+
content?: never;
|
|
4098
|
+
};
|
|
4099
|
+
/** @description Persona reference or Inquiry not found */
|
|
4100
|
+
404: {
|
|
4101
|
+
headers: {
|
|
4102
|
+
[name: string]: unknown;
|
|
4103
|
+
};
|
|
4104
|
+
content?: never;
|
|
4105
|
+
};
|
|
4106
|
+
};
|
|
4107
|
+
};
|
|
4108
|
+
IntegrationPersonaTemplateController_findAll: {
|
|
4109
|
+
parameters: {
|
|
4110
|
+
query?: never;
|
|
4111
|
+
header?: never;
|
|
4112
|
+
path?: never;
|
|
4113
|
+
cookie?: never;
|
|
4114
|
+
};
|
|
4115
|
+
requestBody?: never;
|
|
4116
|
+
responses: {
|
|
4117
|
+
200: {
|
|
4118
|
+
headers: {
|
|
4119
|
+
[name: string]: unknown;
|
|
4120
|
+
};
|
|
4121
|
+
content: {
|
|
4122
|
+
"application/json": components["schemas"]["FindAllIntegrationPersonaTemplatesResponseDto"];
|
|
4123
|
+
};
|
|
4124
|
+
};
|
|
4125
|
+
/** @description Unauthorized */
|
|
4126
|
+
401: {
|
|
4127
|
+
headers: {
|
|
4128
|
+
[name: string]: unknown;
|
|
4129
|
+
};
|
|
4130
|
+
content?: never;
|
|
4131
|
+
};
|
|
4132
|
+
404: {
|
|
4133
|
+
headers: {
|
|
4134
|
+
[name: string]: unknown;
|
|
4135
|
+
};
|
|
4136
|
+
content?: never;
|
|
4137
|
+
};
|
|
4138
|
+
};
|
|
4139
|
+
};
|
|
3838
4140
|
CounterpartyAccountsController_findAll: {
|
|
3839
4141
|
parameters: {
|
|
3840
4142
|
query?: {
|
|
@@ -4454,117 +4756,6 @@ export interface operations {
|
|
|
4454
4756
|
};
|
|
4455
4757
|
};
|
|
4456
4758
|
};
|
|
4457
|
-
PersonaController_initInquiry: {
|
|
4458
|
-
parameters: {
|
|
4459
|
-
query?: never;
|
|
4460
|
-
header?: never;
|
|
4461
|
-
path: {
|
|
4462
|
-
wallet_id: string;
|
|
4463
|
-
type: "individual" | "business" | "universal";
|
|
4464
|
-
};
|
|
4465
|
-
cookie?: never;
|
|
4466
|
-
};
|
|
4467
|
-
requestBody?: never;
|
|
4468
|
-
responses: {
|
|
4469
|
-
200: {
|
|
4470
|
-
headers: {
|
|
4471
|
-
[name: string]: unknown;
|
|
4472
|
-
};
|
|
4473
|
-
content: {
|
|
4474
|
-
"application/json": components["schemas"]["InitInquiryResponseDto"];
|
|
4475
|
-
};
|
|
4476
|
-
};
|
|
4477
|
-
/** @description Unauthorized */
|
|
4478
|
-
401: {
|
|
4479
|
-
headers: {
|
|
4480
|
-
[name: string]: unknown;
|
|
4481
|
-
};
|
|
4482
|
-
content?: never;
|
|
4483
|
-
};
|
|
4484
|
-
/** @description You don't have access to current wallet. Allowed roles: owner */
|
|
4485
|
-
403: {
|
|
4486
|
-
headers: {
|
|
4487
|
-
[name: string]: unknown;
|
|
4488
|
-
};
|
|
4489
|
-
content?: never;
|
|
4490
|
-
};
|
|
4491
|
-
};
|
|
4492
|
-
};
|
|
4493
|
-
PersonaController_resumeInquiry: {
|
|
4494
|
-
parameters: {
|
|
4495
|
-
query?: never;
|
|
4496
|
-
header?: never;
|
|
4497
|
-
path: {
|
|
4498
|
-
wallet_id: string;
|
|
4499
|
-
inquiry_id: string;
|
|
4500
|
-
};
|
|
4501
|
-
cookie?: never;
|
|
4502
|
-
};
|
|
4503
|
-
requestBody?: never;
|
|
4504
|
-
responses: {
|
|
4505
|
-
200: {
|
|
4506
|
-
headers: {
|
|
4507
|
-
[name: string]: unknown;
|
|
4508
|
-
};
|
|
4509
|
-
content: {
|
|
4510
|
-
"application/json": components["schemas"]["ResumeInquiryResponseDto"];
|
|
4511
|
-
};
|
|
4512
|
-
};
|
|
4513
|
-
/** @description Unauthorized */
|
|
4514
|
-
401: {
|
|
4515
|
-
headers: {
|
|
4516
|
-
[name: string]: unknown;
|
|
4517
|
-
};
|
|
4518
|
-
content?: never;
|
|
4519
|
-
};
|
|
4520
|
-
/** @description You don't have access to current wallet. Allowed roles: owner */
|
|
4521
|
-
403: {
|
|
4522
|
-
headers: {
|
|
4523
|
-
[name: string]: unknown;
|
|
4524
|
-
};
|
|
4525
|
-
content?: never;
|
|
4526
|
-
};
|
|
4527
|
-
/** @description Persona reference or Inquiry not found */
|
|
4528
|
-
404: {
|
|
4529
|
-
headers: {
|
|
4530
|
-
[name: string]: unknown;
|
|
4531
|
-
};
|
|
4532
|
-
content?: never;
|
|
4533
|
-
};
|
|
4534
|
-
};
|
|
4535
|
-
};
|
|
4536
|
-
IntegrationPersonaTemplateController_findAll: {
|
|
4537
|
-
parameters: {
|
|
4538
|
-
query?: never;
|
|
4539
|
-
header?: never;
|
|
4540
|
-
path?: never;
|
|
4541
|
-
cookie?: never;
|
|
4542
|
-
};
|
|
4543
|
-
requestBody?: never;
|
|
4544
|
-
responses: {
|
|
4545
|
-
200: {
|
|
4546
|
-
headers: {
|
|
4547
|
-
[name: string]: unknown;
|
|
4548
|
-
};
|
|
4549
|
-
content: {
|
|
4550
|
-
"application/json": components["schemas"]["FindAllIntegrationPersonaTemplatesResponseDto"];
|
|
4551
|
-
};
|
|
4552
|
-
};
|
|
4553
|
-
/** @description Unauthorized */
|
|
4554
|
-
401: {
|
|
4555
|
-
headers: {
|
|
4556
|
-
[name: string]: unknown;
|
|
4557
|
-
};
|
|
4558
|
-
content?: never;
|
|
4559
|
-
};
|
|
4560
|
-
404: {
|
|
4561
|
-
headers: {
|
|
4562
|
-
[name: string]: unknown;
|
|
4563
|
-
};
|
|
4564
|
-
content?: never;
|
|
4565
|
-
};
|
|
4566
|
-
};
|
|
4567
|
-
};
|
|
4568
4759
|
PersonaAdminController_syncKycEntityWithPersona: {
|
|
4569
4760
|
parameters: {
|
|
4570
4761
|
query?: never;
|